.game-play-section {
        background:
            linear-gradient(90deg, rgba(36, 106, 115, 0.04) 1px, transparent 1px),
            linear-gradient(180deg, rgba(36, 106, 115, 0.04) 1px, transparent 1px),
            #f7f9fb;
        background-size: 40px 40px;
    }

    .game-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 1.25rem;
        align-items: start;
    }

    .game-header,
    .game-panel,
    .leaderboard-panel,
    .tips-panel {
        background: #fff;
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
    }

    .game-header {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .best-score {
        min-width: 150px;
        padding: 0.85rem;
        border-radius: 8px;
        background: #e6f6f4;
        text-align: center;
    }

    .best-score strong,
    .best-score small {
        display: block;
    }

    .best-score strong {
        font-size: 2rem;
        line-height: 1;
        color: #246a73;
    }

    .game-panel {
        padding: 1.25rem;
    }

    .rules-grid,
    .final-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .rules-grid div,
    .final-stats div {
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        padding: 0.85rem;
        min-height: 94px;
    }

    .rules-grid i,
    .rules-grid strong,
    .rules-grid span,
    .final-stats span,
    .final-stats strong {
        display: block;
    }

    .rules-grid i {
        font-size: 1.25rem;
        margin-bottom: 0.45rem;
    }

    .rules-grid span,
    .final-stats span {
        color: #697586;
        font-size: 0.9rem;
    }

    .final-stats strong {
        color: #16324f;
        font-size: 1.65rem;
        line-height: 1.1;
    }

    .hud {
        display: grid;
        grid-template-columns: 1.3fr repeat(3, 1fr);
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .hud > div {
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        padding: 0.8rem;
        min-height: 72px;
        background: #fbfdff;
    }

    .hud strong {
        display: block;
        font-size: 1.45rem;
        line-height: 1;
    }

    .lives {
        color: #d64545;
        display: flex;
        gap: 0.35rem;
        font-size: 1.2rem;
        min-height: 24px;
    }

    .timer-track {
        height: 10px;
        background: #d9e2ec;
        border-radius: 999px;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    #timerBar {
        width: 100%;
        height: 100%;
        background: #2f9e8f;
        transition: width 0.1s linear, background 0.2s ease;
    }

    #timerBar.danger {
        background: #d64545;
    }

    .question-card {
        border: 0;
        border-radius: 8px;
        padding: 1.25rem;
        min-height: 430px;
        background:
            linear-gradient(180deg, #fbfdff 0%, #f3f7fa 100%);
    }

    .question-topline {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .question-prompt {
        font-weight: 800;
        font-size: 1.45rem;
        color: #16324f;
        margin-bottom: 0.6rem;
    }

    .question-hint {
        font-size: 1.2rem;
        color: #334e68;
        min-height: 36px;
        margin-bottom: 1rem;
    }

    .masked-answer {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 1.65rem;
        line-height: 1.35;
        letter-spacing: 0;
        background: #f0f4f8;
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
        overflow-wrap: anywhere;
    }

    .letter-area {
        display: grid;
        gap: 0.85rem;
        margin-top: 1rem;
    }

    .letter-bank {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        align-items: center;
    }

    .answer-char,
    .letter-slot {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.1ch;
        height: 38px;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 1.2rem;
        line-height: 1;
    }

    .letter-slot {
        min-width: 38px;
        border: 2px solid #2f9e8f;
        border-radius: 8px;
        background: #fff;
        color: #16324f;
        font-weight: 800;
        cursor: pointer;
    }

    .letter-slot:empty::after {
        content: "";
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: #9fb3c8;
    }

    .letter-bank {
        padding: 0.85rem;
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        background: #f8fafc;
    }

    .letter-tile {
        width: 42px;
        height: 42px;
        border: 1px solid #bcccdc;
        border-radius: 8px;
        background: #fff;
        color: #16324f;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 3px 0 #d9e2ec;
        transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    }

    .letter-tile:hover {
        border-color: #246a73;
        transform: translateY(-1px);
        box-shadow: 0 4px 0 #c8d7e1;
    }

    .letter-tile:disabled {
        opacity: 0.35;
        cursor: default;
        transform: none;
        box-shadow: none;
    }

    .letter-actions {
        display: flex;
        gap: 0.65rem;
        justify-content: flex-end;
    }

    .options-area {
        display: grid;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .option-button {
        justify-content: flex-start;
        white-space: normal;
        min-height: 58px;
        height: auto;
        text-align: left;
        border-color: #bcccdc;
        background: #fff;
        box-shadow: 0 2px 0 #d9e2ec;
        transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    }

    .option-button:hover {
        border-color: #246a73;
        color: #16324f;
        transform: translateY(-1px);
        box-shadow: 0 3px 0 #c8d7e1;
    }

    .typing-area {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .feedback {
        margin-top: 1rem;
        border-radius: 8px;
        padding: 0.9rem;
        font-weight: 700;
    }

    .feedback.is-correct {
        background: #e3fcec;
        color: #0f5132;
    }

    .feedback.is-wrong {
        background: #ffe3e3;
        color: #842029;
    }

    .game-side {
        position: sticky;
        top: 1rem;
        display: grid;
        gap: 1rem;
    }

    .leaderboard-panel,
    .tips-panel {
        padding: 1rem;
    }

    .leaderboard-row {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.65rem;
        padding: 0.62rem 0;
        border-bottom: 1px solid #e4e7eb;
    }

    .leaderboard-row:last-child {
        border-bottom: 0;
    }

    .leaderboard-row .rank {
        color: #246a73;
        font-weight: 800;
    }

    .leaderboard-row .name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .select-input {
        border: 1px solid #bcccdc;
        border-radius: 6px;
        padding: 0.35rem 0.5rem;
        background: #fff;
    }

    .game-over-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 1rem;
    }

    .game-eyebrow {
        color: #d97706;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0;
    }

    .tips-panel ul {
        margin-left: 1rem;
    }

    .game-seo-content {
        max-width: 880px;
        font-size: 1.05rem;
    }

    @media screen and (max-width: 1080px) {
        .game-layout,
        .game-over-grid {
            grid-template-columns: 1fr;
        }

        .game-side {
            position: static;
        }
    }

    @media screen and (max-width: 768px) {
        .game-header {
            display: block;
        }

        .best-score {
            margin-top: 1rem;
            text-align: left;
        }

        .rules-grid,
        .typing-area {
            grid-template-columns: 1fr;
        }

        .hud {
            grid-template-columns: 1.35fr repeat(3, minmax(0, 0.85fr));
            gap: 0.35rem;
        }

        .hud > div {
            min-height: 54px;
            padding: 0.45rem 0.35rem;
            min-width: 0;
        }

        .hud .heading {
            font-size: 0.62rem;
            line-height: 1;
            white-space: nowrap;
        }

        .hud strong {
            font-size: 1rem;
            line-height: 1.1;
        }

        .lives {
            gap: 0.1rem;
            font-size: 0.78rem;
            white-space: nowrap;
        }

        .final-stats {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0.4rem;
        }

        .final-stats div {
            min-height: 60px;
            padding: 0.55rem 0.4rem;
        }

        .final-stats strong {
            font-size: 1rem;
        }

        .question-card {
            min-height: 380px;
        }

        .question-prompt {
            font-size: 1.25rem;
        }

        .masked-answer {
            font-size: 1.3rem;
        }

        .answer-char,
        .letter-slot {
            height: 34px;
            font-size: 1rem;
        }

        .letter-slot {
            min-width: 34px;
        }

        .letter-tile {
            width: 38px;
            height: 38px;
        }

        .letter-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
    }
