:root {
    --bg-color: #0d0e12;
    --text-primary: #e0e0e0;
    --text-secondary: #8b9bb4;
    --accent-gold: #ffc107;
    --accent-orange: #ff9800;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-container {
    width: 100%;
    height: 100%;
    max-width: 480px;
    position: relative;
    background: radial-gradient(circle at center, #1a1f2e 0%, #0d0e12 100%);
    overflow: hidden;
}

/* SCREEN MANAGEMENT */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    /* Enable Scroll */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    opacity: 1;
    pointer-events: all;
    z-index: 10;
}

.screen.hidden {
    display: none;
}

.screen.fade-out {
    opacity: 0;
}

.content-wrapper {
    min-height: 100%;
    /* Allow grow */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 24px;
    text-align: center;
}

/* --- WELCOME SCREEN STYLES --- */
.welcome-wrapper {
    justify-content: center;
    /* Center content vertically */
    gap: 30px;
    background: url('assets/pattern_bg.png') repeat;
    /* Optional texture placeholder */
}

.logo-small {
    width: 180px;
    /* Increased from 120px */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

.welcome-card {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 10px 20px;
    width: 100%;
}

.welcome-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Optional: text-shadow for better readability against new transparent bg */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-gold {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.welcome-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    opacity: 0.9;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    /* text-transform: uppercase; Removed to match welcome-text */
    letter-spacing: 0.5px;
    /* Slight tracking for readability */
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    /* Less bright: darker gold/orange gradient */
    background: linear-gradient(135deg, #c5a005 0%, #cc8400 100%);
    color: #0d0e12;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(204, 132, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(204, 132, 0, 0.4);
    background: linear-gradient(135deg, #d4af06 0%, #e69500 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Rules Button - Slight Yellow Tint */
.btn-rules {
    color: #e6dbb0;
    /* warm off-white */
    border-color: rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.05);
}

.btn-rules:hover {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.1);
    color: #ffed4a;
}

/* Support Button - Slight Green Tint */
.btn-support {
    color: #b0e6b8;
    /* cool off-white */
    border-color: rgba(76, 175, 80, 0.15);
    background: rgba(76, 175, 80, 0.05);
}

.btn-support:hover {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

/* Logo Section */
.logo-container {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

.slogan {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

/* Loader Section */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 5vh;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 193, 7, 0.1);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

.spinner::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 3s linear infinite reverse;
}

.loading-text {
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Footer check */
.footer {
    opacity: 0.5;
    font-size: 10px;
    color: #556677;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- HOW TO WIN SCREEN STYLES --- */
.how-to-win-wrapper {
    /* Need slightly different padding/justification */
    justify-content: flex-start;
    padding-top: 60px;
    gap: 20px;
}

.header-section {
    margin-bottom: 10px;
}

.screen-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.screen-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 300;
}

.info-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    flex-grow: 1;
    /* Push footer down */
}

.info-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 16px;
    text-align: left;
    align-items: flex-start;
}

/* Old text icon style replaced */
/*
.info-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}
*/

.info-icon-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    /* Prevent shrinking */
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.4));
    /* animation: float 5s ease-in-out infinite; */
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 2px;
}

.info-text {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.info-subtext {
    font-size: 11px;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.8;
}

.footer-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-note {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.btn-large {
    font-size: 18px;
    padding: 20px;
}

.btn-back {
    padding: 12px;
    font-size: 14px;
    opacity: 0.7;
    background: transparent;
    border: none;
    color: var(--text-secondary);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

/* --- CLASS SELECTION SCREEN --- */
.class-selection-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}

.class-slider-container {
    position: relative;
    width: 100%;
    min-height: 100%;
    /* Allow grow */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev {
    left: 0;
}

.nav-next {
    right: 0;
}

/* Utility */
.hidden {
    display: none !important;
}

.nav-arrow.hidden {
    display: none;
}

.class-slider {
    width: 100%;
    height: auto;
    position: relative;
    /* Use Grid to stack cards without absolute positioning jitter */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    overflow: hidden;
    /* Keep overflow hidden for slide effect? */
}

.class-card {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    /* Remove absolute handling */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateX(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    z-index: 5;
    box-sizing: border-box;
    /* Ensure height is respected by grid parent */
}

.class-card.active {
    opacity: 1 !important;
    pointer-events: all;
    transform: translateX(0);
    z-index: 10;
    position: relative;
}

.character-preview {
    width: 100%;
    height: 300px;
    /* Removed background and border as requested */
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent;
    /* Hide text */
    overflow: hidden;
    flex-shrink: 0;
}

.class-name {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.class-role {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2px;
}

.stat-val {
    color: var(--accent-gold);
    font-weight: normal;
}

/* New Navigation Controls */
.nav-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
    /* Space from slider */
    margin-bottom: 10px;
    z-index: 20;
}

.btn-nav {
    width: 60px;
}

/* --- Screen 5: Character Creation --- */
#screen-character-creation {
    padding: 10px;
    box-sizing: border-box;
    /* Maintain width */
}

#screen-character-creation .content-scroll {
    padding-bottom: 80px;
}

/* Glass Panel Standard */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    /* Reduced padding */
    backdrop-filter: blur(5px);
}

.panel-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    padding-bottom: 8px;
    font-weight: normal;

}

/* Info Compact Block */
.info-compact {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 15px;
    margin-bottom: 10px;
    font-size: 12px;
}

.info-compact .val {
    color: var(--accent-gold);
    font-weight: bold;
    margin-left: 5px;
}

/* Tab Buttons (Flat 50% Width) */
.tabs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
}

.btn-tab {
    flex: 1;
    /* 50% width each */
    height: 40px;
    border: none;
    background: transparent;
    /* No fill by default */
    border-radius: 8px;
    color: #fff;
    /* White icons */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 20px;
}

.btn-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    /* Disable scale */
}

.btn-tab.active {
    background: rgba(255, 255, 255, 0.15);
    /* Subtle highlight */
    color: #fff;
    box-shadow: none;
    transform: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar for Sprite Grid */
.sprite-grid {
    height: 150px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 5px;
}



/* Custom Scrollbar for Sprite Grid */
.sprite-grid {
    height: 150px !important;
    /* Force compacted height */
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 items per row = smaller items */
    gap: 8px;
}

/* Sprite Item Styles */
.sprite-item {
    aspect-ratio: 1;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    /* Allow checkmark to pop out */
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sprite-item img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.sprite-item.active {
    border: 2px solid #2ecc71;
    /* Green Border */
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
    /* Green Glow */
}

/* Checkmark Badge */
.sprite-item.active::after {
    content: '✔';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #000;
    /* Black background */
    color: #2ecc71;
    /* Green Tick */
    border: 1px solid #2ecc71;
    /* Green Border for badge */
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.sprite-grid::-webkit-scrollbar {
    width: 4px;
}

.sprite-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
}

.sprite-grid::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 2px;
    opacity: 0.5;
}

.sprite-grid::-webkit-scrollbar-thumb:hover {
    background: #fff;
}


/* Screen 5 Header - Slogan Style */
#screen-character-creation .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
    /* Reduced margin */
    text-align: center;
}

#screen-character-creation .header .title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    margin-bottom: 4px;
}

#screen-character-creation .header .subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
    margin: 0;
    font-weight: 300;
}

#screen-character-creation .character-preview {
    height: 220px;
    /* Reduced Height for Compact View */
    position: relative;
    margin-bottom: 10px;
}

/* Hide Spine Loading Spinner */
.spine-player-loading {
    display: none !important;
}

/* Nickname Input */
#nickname-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

#nickname-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

#nickname-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: background 0.3s;
}





/* Info Panel */
.info-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-val {
    color: var(--accent-gold);
    font-weight: bold;
}



/* Hide old arrows if any remain */


.class-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
    /* Reduced gap to Nav Buttons */
}

/* Specific button positioning for class card */
.class-card .btn {
    width: 100%;
    margin-top: auto;
    /* Push Select button to bottom */
    margin-bottom: 40px;
    /* Add space from bottom edge */
}

/* --- MODAL --- */
.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: #1a1f2e;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--accent-gold);
    width: 85%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(1);
    transition: transform 0.3s;
}

.modal.hidden .modal-content {
    transform: scale(0.9);
}

#modal-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

#modal-text {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- RESPONSIVE ADAPTATION --- */

/* Small Phones (Width < 360px) */
@media screen and (max-width: 360px) {
    .content-wrapper {
        padding: 20px 16px;
        /* Reduce padding side/top */
    }

    /* Screen 2: Welcome */
    .logo-small {
        width: 150px;
        /* Smaller Logo */
        margin-bottom: 10px;
    }

    .welcome-title {
        font-size: 20px;
    }

    .welcome-text {
        font-size: 13px;
    }

    /* Screen 4: Class Selection */
    .class-name {
        font-size: 22px;
    }

    .stats-grid {
        gap: 4px 10px;
        padding: 8px;
    }

    .stat-row {
        font-size: 12px;
    }

    /* Screen 5: Character Creation */
    .sprite-grid {
        gap: 5px;
        /* Tighter gap */
        padding: 5px;
    }
}

/* Short Screens (Height < 700px) - Critical for fitting content without scroll jumping */
@media screen and (max-height: 700px) {

    /* Global vertical spacing reduction */
    .content-wrapper {
        padding: 20px 24px;
        justify-content: flex-start;
        /* Prevent spreading too wide */
        gap: 10px;
    }

    /* Screen 2: Welcome */
    .logo-container {
        margin-top: 5vh;
        /* Use less top space */
    }

    .logo-small {
        width: 140px;
        margin-bottom: 10px;
    }

    .button-group {
        margin-top: 10px;
    }


    /* Screen 3: How To Win - Adapting for Vertical Fit */
    .how-to-win-wrapper {
        padding-top: 20px;
        justify-content: space-between;
        gap: 10px;
    }

    .info-blocks-container {
        gap: 8px;
        /* Tighter items */
        overflow-y: auto;
        /* Allow internal scroll if absolutely needed */
    }

    .info-block {
        padding: 10px;
        gap: 10px;
        min-height: 0;
        /* Allow shrink */
    }

    .info-icon-img {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }

    .info-title {
        font-size: 14px;
        margin-bottom: 0;
    }

    .info-text {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .info-subtext {
        display: none;
        /* Hide subtext on very short screens to save space? Or just make tiny */
        /* font-size: 10px; */
    }

    /* Let's keep subtext but tiny, or hide if height < 600 */

    .footer-section {
        gap: 8px;
        margin-bottom: 10px;
    }

    .btn-large {
        padding: 12px;
        font-size: 16px;
    }

    .footer-note {
        font-size: 10px;
        line-height: 1.2;
    }

    /* Screen 4: Class Selection */
    .character-preview {
        height: 220px;
        /* Reduced to ensure fit */
    }

    .class-card {
        padding: 0 15px;
        justify-content: flex-start;
    }

    .class-name {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .class-role {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .stats-grid {
        padding: 6px;
        margin-bottom: 5px;
        gap: 2px 10px;
    }

    .stat-row {
        font-size: 11px;
    }

    .nav-controls {
        margin: 5px 0;
    }

    .class-desc {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .class-card .btn {
        margin-bottom: 10px;
        /* Minimal bottom space */
        padding: 10px;
    }

    /* Screen 5: Character Creation */
    #screen-character-creation .character-preview {
        height: 180px;
        /* Even smaller for short screens on creation */
    }

    .sprite-grid {
        height: 120px !important;
        /* Shorter grid */
    }

    #screen-character-creation .content-scroll {
        padding-bottom: 40px;
        /* Less bottom padding */
    }
}

/* Very Short Screens (Height < 600px - older iPhones, landscape) */
@media screen and (max-height: 600px) {

    .logo-small,
    .logo {
        width: 100px;
        /* Tiny logo */
    }

    .character-preview {
        height: 200px;
    }

    #screen-character-creation .character-preview {
        height: 160px;
    }
}