:root {
    --bg: linear-gradient(135deg, #ffffff, #ffe4f0, #ffd1e3, #ffffff);
    --a1: #ff1493;
    --a2: #ff69b4;
    --white: #fff;
    --shadow: 0 8px 32px rgba(255,20,147,.3);
    --text-dark: #333;
    --text-medium: #555;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global button styles to ensure clickability */
button {
    cursor: pointer;
    position: relative;
}

button:active {
    transform: scale(0.98);
}

/* Ensure ALL elements in inactive screens are completely non-interactive */
.screen:not(.active),
.screen:not(.active) * {
    pointer-events: none !important;
    cursor: default !important;
    user-select: none !important;
}

body {
    width: 100vw;
    height: 100vh;
    background: var(--bg);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    color: var(--text-dark);
    overflow: hidden;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

#app {
    width: 100%;
    max-width: 424px;
    height: 100%;
    max-height: 695px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Screen transitions */
.screen {
    position: absolute;
    width: 100%;
    max-width: 424px;
    height: 100%;
    max-height: 695px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    overflow: hidden;
    z-index: 1;
    visibility: hidden;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    z-index: 100;
    visibility: visible;
}

/* Ensure active screen blocks all clicks to screens below */
.screen.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: auto;
    background: transparent;
}

/* Loading Screen Styles */
.loader-container {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-container {
    position: relative;
    margin-bottom: 60px;
}

.liquidity-ranger {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(45deg, var(--a1), var(--a2), var(--a1));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 1rem;
}

.loading-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 20, 147, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
    animation: loadingBarSlideIn 1s ease-out 1.5s both;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--a1), var(--a2));
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 3s ease-in-out 2s forwards;
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--a1);
    font-weight: 600;
    opacity: 0;
    animation: loadingTextFadeIn 1s ease-out 2.5s both;
}

.powered-by {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #999;
    opacity: 0;
    animation: poweredByFadeIn 1s ease-out 3s both;
    letter-spacing: 0.1em;
}

.powered-by .company {
    color: var(--a1);
    font-weight: 700;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes loadingBarSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes loadingTextFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes poweredByFadeIn {
    from { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px);
    }
    to { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0);
    }
}

/* Wallet Connection Card */
.wallet-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 28px 21px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 20, 147, 0.2);
    text-align: center;
    max-width: 280px;
    width: 90%;
    margin: 0 auto;
}

.wallet-header {
    margin-bottom: 21px;
}

.wallet-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.26rem;
    color: var(--a1);
    margin-bottom: 7px;
    font-weight: 700;
}

.wallet-header p {
    color: #666;
    font-size: 0.7rem;
    line-height: 1.5;
}

.connect-btn {
    background: linear-gradient(90deg, var(--a1), var(--a2));
    border: none;
    padding: 10px 21px;
    border-radius: 10px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 auto;
    min-width: 140px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-color: #ff1493 !important;
    border: 2px solid #fff !important;
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.connect-btn:active {
    transform: translateY(0);
}

.connecting-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--a1);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.connecting-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 20, 147, 0.3);
    border-top: 2px solid var(--a1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lobby/Home Screen - Refined Design */
#lobby-screen {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.lobby-container {
    width: 100%;
    max-width: 424px;
    height: 695px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: relative;
    overflow-y: auto;
}

/* Header */
.lobby-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

/* User Profile Menu */
.user-profile-menu {
    position: relative;
    z-index: 1000;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 20, 147, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.user-profile-trigger:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    border-color: rgba(255, 20, 147, 0.4);
    transform: translateY(-1px);
}

.user-profile-trigger.active {
    background: rgba(255, 20, 147, 0.15);
    border-color: var(--a1);
}

.user-avatar,
#profile-picture {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--a1);
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(255, 105, 180, 0.05));
}

.username-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--text-medium);
    transition: transform 0.3s ease;
}

.user-profile-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--a1);
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(255, 20, 147, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    min-width: 240px;
    box-shadow: 0 12px 32px rgba(255, 20, 147, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-username {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.token-balance {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.token-balance:hover {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.12), rgba(255, 105, 180, 0.08));
    border-color: rgba(255, 20, 147, 0.4);
    transform: scale(1.02);
}

.balance-symbol {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.balance-amount {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--a1);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 20, 147, 0.2);
    margin: 0.5rem 0;
}

.dropdown-menu-items {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 20, 147, 0.1);
    color: var(--a1);
}

.dropdown-item.logout-item {
    color: rgba(255, 100, 100, 0.8);
}

.dropdown-item.logout-item:hover {
    background: rgba(255, 100, 100, 0.1);
    color: #ff6464;
}

.item-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.item-text {
    flex: 1;
}

/* Main Content */
.lobby-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

/* Game Title */
.game-title-section {
    text-align: center;
    margin-bottom: 1rem;
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--a1), var(--a2), var(--a1));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    margin: 0;
    text-shadow: 0 0 30px rgba(255, 20, 147, 0.3);
}

.game-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-medium);
    letter-spacing: 0.2em;
    margin: 0.5rem 0 0 0;
    text-transform: uppercase;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.3);
    border-radius: 16px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.15);
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
    border-color: var(--a1);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 20, 147, 0.25);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--a1);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.btn-play {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 8px 24px rgba(255, 20, 147, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-play:hover::before {
    left: 100%;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 20, 147, 0.5);
}

.btn-play:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.1rem;
    display: inline-block;
}

.button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 1.5px solid rgba(255, 20, 147, 0.3);
    padding: 1rem 1.25rem;
    border-radius: 14px;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 20, 147, 0.15);
    border-color: var(--a1);
    color: var(--a1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 20, 147, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}


/* Footer */
.lobby-footer {
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

.btn-how-to-play {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    color: var(--text-medium);
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
}

.btn-how-to-play:hover {
    background: rgba(255, 20, 147, 0.1);
    border-color: rgba(255, 20, 147, 0.4);
    color: var(--a1);
    transform: translateY(-1px);
}

/* Hidden by default */
.hidden {
    display: none !important;
}

/* Responsive Design - All Mobile Devices */

/* Extra Small Devices - iPhone SE, older phones (320px - 374px) */
@media (max-width: 374px) {
    .title-container {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .liquidity-ranger {
        font-size: clamp(1.2rem, 8vw, 1.8rem);
        letter-spacing: 0.05em;
    }
    
    .loading-bar-container {
        width: 80%;
        max-width: 240px;
        min-width: 180px;
    }
    
    .loading-text {
        font-size: 0.75rem;
    }
    
    .powered-by {
        font-size: 0.65rem;
        bottom: 20px;
    }
}

/* Small Devices - iPhone 6/7/8, standard phones (375px - 413px) */
@media (min-width: 375px) and (max-width: 413px) {
    .title-container {
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .liquidity-ranger {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    
    .loading-bar-container {
        width: 85%;
        max-width: 280px;
    }
    
    .loading-text {
        font-size: 0.85rem;
    }
    
    .powered-by {
        font-size: 0.7rem;
        bottom: 25px;
    }
}

/* Medium Devices - iPhone Plus, larger phones (414px - 767px) */
@media (min-width: 414px) and (max-width: 767px) {
    .title-container {
        margin-bottom: 55px;
    }
    
    .liquidity-ranger {
        font-size: clamp(1.6rem, 6vw, 2.3rem);
    }
    
    .loading-bar-container {
        width: 90%;
        max-width: 320px;
    }
    
    .loading-text {
        font-size: 0.95rem;
    }
    
    .powered-by {
        font-size: 0.75rem;
        bottom: 30px;
    }
}

/* Tablets - iPad, Android tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .title-container {
        margin-bottom: 70px;
    }
    
    .liquidity-ranger {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    
    .loading-bar-container {
        width: 400px;
    }
    
    .loading-text {
        font-size: 1.1rem;
    }
    
    .powered-by {
        font-size: 0.85rem;
        bottom: 40px;
    }
}

/* Safe Area for notched phones (iPhone X and newer) */
@supports (padding: max(0px)) {
    .loader-container {
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
    
    .powered-by {
        bottom: max(30px, calc(30px + env(safe-area-inset-bottom)));
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .title-container {
        margin-bottom: 20px;
    }
    
    .liquidity-ranger {
        font-size: clamp(1.2rem, 4vh, 1.8rem);
    }
    
    .loading-bar-container {
        margin-bottom: 15px;
    }
    
    .loading-text {
        font-size: 0.8rem;
    }
    
    .powered-by {
        bottom: 15px;
        font-size: 0.7rem;
    }
}

/* Lobby Screen Responsive Design */
@media (max-width: 768px) {
    .lobby-container {
        padding: 1.25rem;
    }

    .game-title {
        font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    }

    .game-subtitle {
        font-size: 0.8rem;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-text {
        font-size: 0.65rem;
    }

    .btn-play {
        padding: 1.1rem 1.75rem;
        font-size: 1rem;
    }

    .btn-secondary {
        padding: 0.9rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lobby-container {
        padding: 1rem;
    }

    .user-avatar,
    #profile-picture {
        width: 32px;
        height: 32px;
    }

    .username-text {
        font-size: 0.75rem;
    }

    .token-balance {
        padding: 0.4rem 0.6rem;
        gap: 0.3rem;
    }

    .balance-amount {
        font-size: 0.8rem;
    }

    .balance-symbol {
        font-size: 0.65rem;
    }

    .game-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        letter-spacing: 0.1em;
    }

    .game-subtitle {
        font-size: 0.75rem;
    }

    .stats-grid {
        gap: 0.5rem;
    }

    .stat-card {
        padding: 0.85rem 0.4rem;
    }


    .stat-number {
        font-size: 1.15rem;
    }

    .stat-text {
        font-size: 0.6rem;
    }

    .action-buttons {
        gap: 0.75rem;
    }

    .btn-play {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .button-row {
        gap: 0.75rem;
    }

    .btn-secondary {
        padding: 0.85rem 0.75rem;
        font-size: 0.75rem;
    }

    .btn-how-to-play {
        padding: 0.55rem 1.25rem;
        font-size: 0.7rem;
    }

    .wallet-label,
    .wallet-value {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .game-title {
        font-size: clamp(1.3rem, 8vw, 1.8rem);
    }

    .stats-grid {
        gap: 0.4rem;
    }

    .stat-card {
        padding: 0.75rem 0.3rem;
    }

    .btn-play {
        padding: 0.9rem 1.25rem;
        font-size: 0.85rem;
    }

    .btn-secondary {
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Farcaster Mini App Frame - Web (424px × 695px) */
@media (min-width: 424px) and (min-height: 695px) {
    #app {
        max-width: 424px;
        max-height: 695px;
    }
    
    .screen {
        max-width: 424px;
        max-height: 695px;
    }
    
    .lobby-container {
        max-width: 424px;
        height: 695px;
    }
}

/* Mobile - Full Screen (Farcaster Native) */
@media (max-width: 423px), (max-height: 694px) {
    #app {
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .screen {
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .lobby-container {
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
    }
}

/* ======================
   CHALLENGE SCREEN STYLES
   ====================== */

.challenge-container {
    width: 100%;
    max-width: 424px;
    height: 695px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    pointer-events: auto;
    touch-action: pan-y;
}

/* Challenge Header */
.challenge-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.btn-back {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 20, 147, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.btn-back:hover {
    background: rgba(255, 20, 147, 0.1);
    border-color: var(--a1);
    transform: translateX(-2px);
}

.challenge-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--a1);
    margin: 0;
    letter-spacing: 0.05em;
}

/* Search Section */
.search-section {
    width: 100%;
}

.search-wrapper {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    user-select: text;
    pointer-events: auto;
    cursor: text;
}

.search-input:focus {
    outline: none;
    border-color: var(--a1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.search-input::placeholder {
    color: var(--text-light);
}

.btn-search {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Suggested Players */
.suggested-section {
    width: 100%;
}

.suggested-players {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.player-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.1);
}

.player-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
    border-color: var(--a1);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--a1);
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.player-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.player-stats {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--text-medium);
}

.btn-select {
    background: rgba(255, 20, 147, 0.1);
    border: 1px solid var(--a1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--a1);
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select:hover {
    background: var(--a1);
    color: white;
}

/* Challenge Setup */
.challenge-setup {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selected-player-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 2px solid var(--a1);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.selected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.selected-header .label {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-change {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.selected-player {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selected-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--a1);
}

.selected-username {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

/* Stake Section */
.stake-section {
    width: 100%;
}

.stake-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.stake-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    padding: 0.85rem;
    border-radius: 10px;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stake-btn:hover {
    background: rgba(255, 20, 147, 0.1);
    border-color: var(--a1);
    color: var(--a1);
}

.stake-btn.active {
    background: var(--a1);
    border-color: var(--a1);
    color: white;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.custom-stake {
    width: 100%;
    margin-bottom: 1rem;
}

.custom-stake-input {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    user-select: text;
    pointer-events: auto;
    cursor: text;
}

.custom-stake-input:focus {
    outline: none;
    border-color: var(--a1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.custom-stake-input::placeholder {
    color: var(--text-light);
}

/* Stake Summary */
.stake-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--text-medium);
    font-weight: 500;
}

.summary-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 700;
}

.summary-value.winner-amount {
    color: var(--a1);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

/* Send Challenge Button */
.btn-send-challenge {
    width: 100%;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: none;
    padding: 1.1rem;
    border-radius: 12px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 20, 147, 0.3);
}

.btn-send-challenge:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 20, 147, 0.5);
}

.btn-send-challenge:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Active Challenges */
.active-challenges-section {
    width: 100%;
}

.challenges-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
}

.challenge-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 12px;
    padding: 1rem;
}

.challenge-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.challenge-opponent {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.challenge-amount {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--a1);
    font-weight: 700;
}

.challenge-status {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.challenge-status.sent {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.challenge-status.received {
    background: rgba(0, 255, 0, 0.1);
    color: #00FF00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

/* Responsive */
@media (max-width: 423px), (max-height: 694px) {
    .challenge-container {
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 1rem;
        gap: 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .challenge-title {
        font-size: 1.2rem;
    }

    .stake-options {
        gap: 0.5rem;
    }

    .stake-btn {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}

/* ======================
   LEADERBOARD SCREEN STYLES
   ====================== */

.leaderboard-container {
    width: 100%;
    max-width: 424px;
    height: 695px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    touch-action: pan-y;
}

/* Leaderboard Header */
.leaderboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.leaderboard-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--a1);
    margin: 0;
    letter-spacing: 0.05em;
}

/* Info Section */
.leaderboard-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 700;
}

.countdown {
    color: var(--a1);
    font-weight: 800;
}

/* Reward Pool */
.reward-pool {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(255, 105, 180, 0.1));
    border: 1px solid var(--a1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.pool-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.pool-amount {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: var(--a1);
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
    margin-bottom: 0.25rem;
}

.pool-usd {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pool-distribution {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.prize-item {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* Podium Section */
.podium-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    align-items: flex-end;
    margin: 1rem 0;
}

.podium-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Rank 1 - Largest */
.podium-card.rank-1 {
    order: 2;
    padding: 1.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.2), rgba(138, 43, 226, 0.1));
    border-color: var(--a1);
    box-shadow: 0 8px 24px rgba(255, 20, 147, 0.4);
}

/* Rank 2 - Medium */
.podium-card.rank-2 {
    order: 1;
    padding: 1.25rem 0.6rem;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(138, 43, 226, 0.08));
    border-color: rgba(255, 20, 147, 0.7);
    box-shadow: 0 6px 18px rgba(255, 20, 147, 0.3);
}

/* Rank 3 - Smaller */
.podium-card.rank-3 {
    order: 3;
    padding: 1rem 0.5rem;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.12), rgba(138, 43, 226, 0.06));
    border-color: rgba(255, 20, 147, 0.5);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.25);
}

.rank-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 20, 0.95);
    border: 2px solid;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 40px;
}

.rank-1 .rank-badge {
    border-color: var(--a1);
    background: linear-gradient(135deg, var(--a1), var(--a2));
}

.rank-2 .rank-badge {
    border-color: rgba(255, 20, 147, 0.8);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.9), rgba(138, 43, 226, 0.9));
}

.rank-3 .rank-badge {
    border-color: rgba(255, 20, 147, 0.6);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.8), rgba(138, 43, 226, 0.8));
}

.rank-number {
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.podium-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0.75rem auto 0.5rem;
    border: 3px solid;
}

.rank-1 .podium-avatar {
    width: 60px;
    height: 60px;
    border-color: var(--a1);
}

.rank-2 .podium-avatar {
    border-color: rgba(255, 20, 147, 0.7);
}

.rank-3 .podium-avatar {
    border-color: rgba(255, 20, 147, 0.5);
}

.podium-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.rank-1 .podium-name {
    font-size: 0.9rem;
    color: var(--a1);
    font-weight: 900;
}

.rank-2 .podium-name {
    color: rgba(255, 20, 147, 0.85);
    font-weight: 800;
}

.rank-3 .podium-name {
    color: rgba(255, 20, 147, 0.7);
    font-weight: 800;
}

.podium-score {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.rank-1 .podium-score {
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255, 20, 147, 0.8);
}

.rank-2 .podium-score {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.7);
}

.rank-3 .podium-score {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.65);
}

.podium-reward {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 20, 147, 0.1);
    color: var(--a1);
    border: 1px solid var(--a1);
}

.rank-1 .podium-reward {
    font-size: 0.8rem;
    background: rgba(255, 20, 147, 0.2);
    color: var(--a1);
    border-color: var(--a1);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.4);
    font-weight: 900;
}

.rank-2 .podium-reward {
    background: rgba(255, 20, 147, 0.18);
    color: #FF1493;
    border-color: rgba(255, 20, 147, 0.8);
    font-weight: 900;
}

.rank-3 .podium-reward {
    background: rgba(255, 20, 147, 0.15);
    color: rgba(255, 20, 147, 0.95);
    border-color: rgba(255, 20, 147, 0.6);
    font-weight: 900;
}

/* Rankings Section */
.rankings-section {
    width: 100%;
}

.rankings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-color: rgba(255, 20, 147, 0.2);
}

.rank-position {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-light);
    min-width: 30px;
    text-align: center;
}

.ranking-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 20, 147, 0.3);
}

.ranking-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ranking-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.ranking-score {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-medium);
}

/* Responsive */
@media (max-width: 423px), (max-height: 694px) {
    .leaderboard-container {
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 1rem;
        gap: 0.75rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .leaderboard-title {
        font-size: 1.2rem;
    }

    .podium-section {
        gap: 0.35rem;
    }

    .podium-card {
        padding: 0.75rem 0.4rem;
    }

    .rank-1 {
        padding: 1rem 0.5rem;
    }

    .podium-avatar {
        width: 40px;
        height: 40px;
    }

    .rank-1 .podium-avatar {
        width: 50px;
        height: 50px;
    }

    .pool-amount {
        font-size: 1.2rem;
    }
}

/* ======================
   HOW TO PLAY SCREEN STYLES
   ====================== */

.instructions-container {
    width: 100%;
    max-width: 424px;
    height: 695px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    touch-action: pan-y;
}

/* Instructions Header */
.instructions-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instructions-main-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--a1);
    margin: 0;
    letter-spacing: 0.05em;
}

/* Slide Container */
.instructions-slide-container {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(255, 20, 147, 0.25);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.instructions-slide {
    width: 100%;
    text-align: center;
    animation: slideIn 0.4s ease-out;
}

.instructions-slide h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--a1);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.instructions-slide p {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.instructions-slide ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.instructions-slide li {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.instructions-slide li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--a1);
    font-weight: 700;
    font-size: 1.1rem;
}

.instructions-slide .highlight {
    color: var(--a1);
    font-weight: 700;
}

/* Navigation */
.instructions-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.btn-instructions-nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 20, 147, 0.3);
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    color: var(--text-dark);
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.btn-instructions-nav:hover {
    background: rgba(255, 20, 147, 0.15);
    border-color: var(--a1);
    transform: translateY(-2px);
}

.btn-instructions-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Slide Indicators (Dots) */
.slide-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slide-indicator.active {
    background: var(--a1);
    border-color: var(--a1);
    width: 24px;
    border-radius: 4px;
}

.slide-indicator:hover {
    background: rgba(255, 20, 147, 0.5);
}

/* Footer */
.instructions-footer {
    display: flex;
    justify-content: center;
}

.btn-skip {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.65rem 2rem;
    border-radius: 50px;
    color: var(--text-medium);
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-skip:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    color: var(--text-dark);
}

.btn-got-it {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: none;
    padding: 1rem 3rem;
    border-radius: 12px;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 20, 147, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-got-it:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 20, 147, 0.5);
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 423px), (max-height: 694px) {
    .instructions-container {
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 1rem;
        gap: 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .instructions-main-title {
        font-size: 1.2rem;
    }

    .instructions-slide-container {
        padding: 1.5rem 1rem;
        min-height: 250px;
    }

    .instructions-slide h3 {
        font-size: 1.1rem;
    }

    .instructions-slide p,
    .instructions-slide li {
        font-size: 0.8rem;
    }
}

/* ======================
   GAME SCREEN STYLES
   ====================== */

.game-container {
    width: 100%;
    max-width: 424px;
    height: 695px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* 🎮 LANDSCAPE GAME CANVAS - Landscape-native gameplay */
#gameCanvas {
    display: block;
    background: linear-gradient(135deg, #ffffff, #ffe4f0, #ffd1e3, #ffffff);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    border-radius: 0;
    touch-action: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}

/* Portrait mode (Farcaster frame) - Rotate landscape canvas to fit */
@media (orientation: portrait) {
    #gameCanvas {
        width: 695px;
        height: 424px;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

/* Landscape mode (Device rotated) - Fill entire screen */
@media (orientation: landscape) {
    #game-screen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        z-index: 9999 !important;
        background: #000;
    }
    
    .game-container {
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
    }
    
    #gameCanvas {
        width: 100vw !important;
        height: 100vh !important;
        transform: translate(-50%, -50%) rotate(0deg) !important;
    }
    
    .game-top-bar {
        width: 100vw;
        height: 60px;
        transform: none !important;
        top: 0;
        left: 0;
        position: fixed;
    }
    
    .game-bottom-bar {
        width: 100vw;
        height: 70px;
        transform: none !important;
        bottom: 0;
        top: auto;
        left: 0;
        position: fixed;
    }
    
    .game-overlay {
        width: 100vw;
        height: 100vh;
        transform: translate(-50%, -50%) rotate(0deg) !important;
    }
}

/* Top Bar - Modern Header */
.game-top-bar {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 20, 147, 0.18);
    border-radius: 16px;
    padding: 0.4rem 0.8rem 0.4rem 0.6rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 14px rgba(255, 20, 147, 0.16);
    z-index: 20;
}

/* Portrait mode - Rotate with canvas */
@media (orientation: portrait) {
    .game-top-bar {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg) translateY(-182px);
        transform-origin: center center;
    }
}

.game-menu-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    border: 1.2px solid rgba(255, 20, 147, 0.28);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--a1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 3px 10px rgba(255, 20, 147, 0.15);
}

.game-menu-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 20, 147, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 20, 147, 0.22);
}

.game-title-compact {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--a1);
    text-shadow: 0 0 6px rgba(255, 20, 147, 0.22);
    display: none;
}

.game-lives-display {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.life-circle {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 6px rgba(255, 20, 147, 0.45), 0 1px 3px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.life-circle.lost {
    background: rgba(200, 200, 200, 0.3);
    border-color: rgba(150, 150, 150, 0.5);
    box-shadow: none;
    transform: scale(0.7);
}

.game-bottom-bar {
    position: absolute;
    bottom: 1.4rem;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
    z-index: 20;
}

/* Portrait mode - Rotate with canvas */
@media (orientation: portrait) {
    .game-bottom-bar {
        top: 50%;
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) rotate(90deg) translateY(180px);
        transform-origin: center center;
    }
}

.score-chip {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.55rem 1.35rem;
    background: rgba(255, 255, 255, 0.32);
    border: 1.2px solid rgba(255, 20, 147, 0.28);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.18);
}

.chip-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-medium);
}

.chip-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--a1);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
    line-height: 1;
}

.meta-chips {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mini-chip {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.26);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 14px rgba(255, 20, 147, 0.14);
}

.mini-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-medium);
}

.mini-value {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--a1);
}

.status-chip .mini-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mini-separator {
    font-size: 0.75rem;
    color: rgba(255, 20, 147, 0.45);
}

.mini-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* Game Overlays */
.game-overlay {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 228, 240, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 200;
    transition: opacity 0.5s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    padding: 1.25rem;
    max-width: min(520px, 80vw);
    max-height: 85vh;
}

/* Portrait mode - Rotate with canvas */
@media (orientation: portrait) {
    .game-overlay {
        width: 695px;
        height: 424px;
        max-width: none;
        max-height: none;
        padding: 1.5rem;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

.game-overlay-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border: 3px solid rgba(255, 20, 147, 0.6);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 12px 40px rgba(255, 20, 147, 0.4), 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(25px);
    min-width: 280px;
    max-width: min(360px, 75vw);
    text-align: center;
    color: #333;
    position: relative;
    overflow: hidden;
}

.game-overlay-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 20, 147, 0.03), transparent);
    pointer-events: none;
}

.game-overlay-content.modern {
    padding: 1.25rem 1.5rem;
    max-width: min(340px, 70vw);
}

.overlay-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0.5rem 0 1.25rem;
    font-weight: 600;
}

.game-rules {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.05), rgba(255, 105, 180, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(255, 20, 147, 0.15);
}

.rule-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a1);
    margin-top: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 4px rgba(255, 20, 147, 0.5);
}

.rule-text {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
    flex: 1;
}

.final-stats-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.new-highscore-badge {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 16px rgba(255, 20, 147, 0.4);
    animation: highScorePulse 1.5s ease-in-out infinite;
}

@keyframes highScorePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(255, 20, 147, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(255, 20, 147, 0.6);
    }
}

.final-stats-modern .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.08), rgba(255, 105, 180, 0.04));
    border-radius: 12px;
    border: 1px solid rgba(255, 20, 147, 0.2);
}

.final-stats-modern .stat-row.score-row {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.18), rgba(255, 105, 180, 0.12));
    border: 1px solid rgba(255, 20, 147, 0.35);
}

.final-stats-modern .stat-row.highscore-row {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.04), rgba(255, 105, 180, 0.02));
    border: 1px solid rgba(255, 20, 147, 0.12);
}

.final-stats-modern .stat-row .label {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 600;
}

.final-stats-modern .stat-row .value {
    font-size: 1.1rem;
    color: var(--a1);
    font-weight: 800;
}

.final-stats-modern .stat-row.score-row .value {
    font-size: 1.25rem;
}

.final-stats-modern .stat-row.highscore-row .label {
    color: var(--text-soft);
}

.final-stats-modern .stat-row.highscore-row .value {
    color: var(--text-dark);
    font-weight: 700;
}

@media (orientation: landscape) {
    .game-overlay {
        max-width: min(460px, 65vw);
        padding: 1rem 1.25rem;
    }

    .game-overlay-content {
        min-width: 0;
        width: 100%;
        max-width: none;
    }

    .game-overlay-content.modern {
        width: 100%;
        max-width: 320px;
        padding: 1.1rem 1.35rem;
    }

    .final-stats-modern {
        gap: 0.85rem;
        margin: 1.1rem 0 1.6rem;
    }

    .final-stats-modern .stat-row {
        padding: 0.65rem 0.9rem;
    }

    .final-stats-modern .stat-row .label {
        font-size: 0.8rem;
    }

    .final-stats-modern .stat-row .value {
        font-size: 1rem;
    }
}

.game-overlay-content h2 {
    color: var(--a1);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.05em;
    font-weight: 900;
}

.game-overlay-content ul {
    text-align: left;
    margin: 0 auto 1rem;
    padding-left: 1.5rem;
    max-width: 300px;
}

.game-overlay-content li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
}

.game-btn-group {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-game-action {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border: 2px solid rgba(255, 20, 147, 0.5);
    padding: 1rem 2.5rem;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-game-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-game-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(255, 20, 147, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 20, 147, 0.8);
}

.btn-game-action:hover::before {
    left: 100%;
}

.btn-game-action:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-game-action.pulse {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 28px rgba(255, 20, 147, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

.btn-game-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 2px solid rgba(255, 20, 147, 0.4);
    padding: 0.8rem 2rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.btn-game-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(255, 105, 180, 0.08));
    border-color: var(--a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 20, 147, 0.4);
}

#game-final-stats {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

#game-final-stats div {
    color: #333;
    margin-bottom: 0.5rem;
}

#game-final-stats b {
    color: var(--a1);
    font-weight: 700;
}

/* Mobile Joystick */
.game-joystick-container {
    position: fixed;
    right: max(4vw, env(safe-area-inset-right, 4vw));
    bottom: max(12vw, env(safe-area-inset-bottom, 12vw));
    z-index: 20;
    width: 22vw;
    height: 22vw;
    max-width: 120px;
    max-height: 120px;
    min-width: 80px;
    min-height: 80px;
    display: none;
    align-items: center;
    justify-content: center;
}

.game-joystick-base {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(255, 105, 180, 0.05));
    border: 3px solid rgba(255, 20, 147, 0.7);
    border-radius: 50%;
    position: relative;
    pointer-events: auto;
    touch-action: none;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 16px rgba(255, 20, 147, 0.3), inset 0 2px 8px rgba(255, 20, 147, 0.1);
}

.game-joystick-knob {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42%;
    height: 42%;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.8), rgba(255, 105, 180, 0.6));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.9), 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

/* Responsive Game Styles */
@media (max-width: 768px) {
    .game-top-bar {
        top: 1rem;
        left: 1rem;
        padding: 0.35rem 0.6rem 0.35rem 0.45rem;
        gap: 0.6rem;
    }

    .game-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .game-title-compact {
        font-size: 0.7rem;
    }

    .life-circle {
        width: 10px;
        height: 10px;
    }

    .game-bottom-bar {
        bottom: 1.05rem;
        gap: 0.75rem;
        padding: 0 1.1rem;
    }

    .score-chip {
        padding: 0.5rem 1.1rem;
    }

    .chip-value {
        font-size: 1.4rem;
    }

    .mini-chip {
        padding: 0.4rem 0.7rem;
        gap: 0.1rem;
    }

    .mini-label {
        font-size: 0.55rem;
    }

    .mini-value {
        font-size: 0.85rem;
    }

    .mini-tag {
        font-size: 0.7rem;
    }

    .mini-separator {
        font-size: 0.65rem;
    }

    .game-joystick-container {
        display: flex;
    }

    .game-overlay-content.modern {
        padding: 1.75rem 1.25rem;
    }

    .game-overlay-content h2 {
        font-size: 1.6rem;
    }

    .overlay-description {
        font-size: 0.85rem;
    }

    .rule-text {
        font-size: 0.75rem;
    }

    .btn-game-action,
    .btn-game-secondary {
        padding: 0.7rem 1.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .game-top-bar {
        top: 0.85rem;
        left: 0.85rem;
        padding: 0.3rem 0.5rem 0.3rem 0.4rem;
        gap: 0.5rem;
    }

    .game-title-compact {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    .life-circle {
        width: 9px;
        height: 9px;
    }

    .game-bottom-bar {
        bottom: 0.9rem;
        gap: 0.6rem;
        padding: 0 0.9rem;
    }

    .score-chip {
        padding: 0.42rem 0.95rem;
    }

    .chip-label {
        font-size: 0.55rem;
    }

    .chip-value {
        font-size: 1.25rem;
    }

    .mini-chip {
        padding: 0.35rem 0.6rem;
    }

    .mini-label {
        font-size: 0.5rem;
    }

    .mini-value {
        font-size: 0.78rem;
    }

    .mini-tag {
        font-size: 0.64rem;
    }

    .mini-separator {
        font-size: 0.6rem;
    }

    .game-joystick-container {
        width: 26vw;
        height: 26vw;
        right: 2vw;
        bottom: 15vw;
    }
}
