/* O'yinlar qismi */
.play__lab {
    max-width: 640px;
    margin: 0 auto;
    padding: 26px 20px 100px;
    display: none;
}

.play__lab.state--active {
    display: block;
}

/* Terish qismi */
.typing__lab {
    max-width: 640px;
    margin: 0 auto;
    padding: 26px 20px 100px;
    display: none;
}

.typing__lab.state--active {
    display: block;
}

/* Tinglash qismi */
.listening__lab {
    max-width: 640px;
    margin: 0 auto;
    padding: 26px 20px 100px;
    display: none;
}

.listening__lab.state--active {
    display: block;
}

/* Lug'at qismi */
.word__vault {
    max-width: 640px;
    margin: 0 auto;
    padding: 26px 20px 100px;
    display: none;
}

.word__vault.state--active {
    display: block;
}

/* Tarjimon qismi */
.language__bridge {
    max-width: 760px;
    margin: 0 auto;
    padding: 26px 20px 100px;
    display: none;
}

.language__bridge.state--active {
    display: block;
}

/* Do'kon qismi */
.reward__market {
    max-width: 760px;
    margin: 0 auto;
    padding: 26px 20px 100px;
    display: none;
}

.reward__market.state--active {
    display: block;
}

/* ---------- TARJIMON (Translator) qismi — zamonaviylashtirilgan dizayn ---------- */
.translator__card {
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.08), transparent 40%),
        linear-gradient(150deg, rgba(var(--overlay-rgb), 0.05), rgba(var(--overlay-rgb), 0.015));
    border: 1px solid rgba(var(--overlay-rgb), 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    animation: fadeInUp .35s ease backwards;
}

.translator__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(var(--overlay-rgb), 0.03);
    border-bottom: 1px solid rgba(var(--overlay-rgb), 0.08);
    position: relative;
}

.translator__dd-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.translator__dd-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--overlay-rgb), 0.05);
    border: 1px solid rgba(var(--overlay-rgb), 0.09);
    color: var(--fg);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 14px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    border-radius: 14px;
    transition: background .18s, border-color .18s, transform .18s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.translator__dd-btn:hover {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: rgba(var(--accent-rgb), 0.28);
}

.translator__dd-btn span:first-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
}

.translator__chev {
    margin-left: auto;
    font-size: 10px;
    color: var(--muted);
    flex: none;
    transition: transform .2s ease;
}

.translator__dd-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 190px;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: none;
    background: linear-gradient(160deg, rgba(20, 28, 46, 0.98), rgba(10, 15, 26, 0.98));
    border: 1px solid rgba(var(--overlay-rgb), 0.14);
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
    z-index: 20;
    padding: 7px;
}

.translator__dd-panel::-webkit-scrollbar {
    display: none;
}

.translator__dd-panel.state--open {
    display: block;
    animation: fadeInUp .18s ease;
}

.translator__dd-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--fg);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: background .15s;
}

.translator__dd-item:hover {
    background: rgba(var(--overlay-rgb), 0.1);
}

.translator__dd-item.state--active {
    background: linear-gradient(100deg, var(--accent), var(--purple));
    color: #fff;
}

.translator__charcount {
    font-size: 11px;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    margin-right: auto;
}

.translator__swap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.16), rgba(var(--purple-rgb), 0.1));
    color: var(--fg);
    font-size: 17px;
    cursor: pointer;
    flex: none;
    box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.18);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}

.translator__swap:hover {
    transform: rotate(180deg) scale(1.06);
    box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.3);
}

.translator__swap:active {
    transform: rotate(180deg) scale(0.94);
}

.translator__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

@media (max-width:560px) {
    .translator__body {
        grid-template-columns: 1fr;
    }
}

.translator__pane {
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 190px;
    transition: background .15s ease;
}

.translator__pane:focus-within {
    background: rgba(var(--accent-rgb), 0.035);
}

.translator__pane-result {
    border-left: 1px solid rgba(var(--overlay-rgb), 0.08);
    background: rgba(var(--overlay-rgb), 0.015);
}

@media (max-width:560px) {
    .translator__pane-result {
        border-left: none;
        border-top: 1px solid rgba(var(--overlay-rgb), 0.08);
    }
}

.translator__textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: var(--fg);
    font-family: 'Manrope', sans-serif;
    font-size: 16.5px;
    line-height: 1.6;
}

.translator__textarea::placeholder {
    color: var(--muted);
}

.translator__output {
    flex: 1;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--fg);
    white-space: pre-wrap;
}

.translator__placeholder {
    color: var(--muted);
}

.translator__loading {
    color: var(--muted);
    font-style: italic;
}

.translator__error {
    color: var(--error);
    font-size: 13.5px;
}

.translator__pane-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(var(--overlay-rgb), 0.08);
    justify-content: flex-end;
}

.translator__icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(var(--overlay-rgb), 0.1);
    background: rgba(var(--overlay-rgb), 0.05);
    color: var(--fg);
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s, background .15s, border-color .15s;
}

.translator__icon-btn:hover {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.3);
    transform: scale(1.08);
}

.translator__icon-btn:active {
    transform: scale(0.92);
}

.essential__card {
    background: var(--bg2);
    border: 1px solid rgba(var(--overlay-rgb), 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: border-color .15s, transform .15s, box-shadow .15s;
    animation: fadeInUp .35s ease backwards;
}

.essential__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.essential__num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex: none;
    font-family: 'JetBrains Mono', monospace;
}

.essential__info h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--fg);
}

.essential__info p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.listen__back {
    background: none;
    border: none;
    color: var(--fg);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.page__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--fg);
    background: rgba(var(--overlay-rgb), 0.05);
    border: 1px solid rgba(var(--overlay-rgb), 0.08);
    margin-bottom: 8px;
    transition: background .15s, transform .15s;
    animation: fadeInUp .3s ease backwards;
}

.page__row:hover {
    background: rgba(var(--overlay-rgb), 0.1);
    transform: translateX(2px);
}

.page__row .pnum {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(var(--overlay-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex: none;
    font-family: 'JetBrains Mono', monospace;
}

.page__row .ptitle {
    font-size: 13.5px;
    font-weight: 600;
}

.listen__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--fg);
    margin: 0 0 18px;
    font-family: 'Fraunces', serif;
}

.now-playing__card {
    background: linear-gradient(160deg, var(--teal-dark), var(--purple) 140%);
    border-radius: 22px;
    padding: 28px 22px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s;
}

.now-playing__card.now-playing__playing {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.now-playing__eq {
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: flex-end;
    height: 16px;
    margin-top: 12px;
}

.now-playing__eq span {
    width: 3px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    height: 4px;
}

.now-playing__card.now-playing__playing .now-playing__eq span {
    animation: eqBounce .9s ease-in-out infinite;
}

.now-playing__eq span:nth-child(1) {
    animation-delay: 0s;
}

.now-playing__eq span:nth-child(2) {
    animation-delay: .15s;
}

.now-playing__eq span:nth-child(3) {
    animation-delay: .3s;
}

.now-playing__eq span:nth-child(4) {
    animation-delay: .45s;
}

.now-playing__eq span:nth-child(5) {
    animation-delay: .2s;
}

@keyframes eqBounce {

    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 16px;
    }
}

.now-playing__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    margin-bottom: 12px;
}

.now-playing__en {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.15;
}

.now-playing__uz {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    margin-bottom: 18px;
}

.now-playing__progress-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.now-playing__progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 6px;
    transition: width .4s ease;
}

.now-playing__progress-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
}

.listen__word-list {
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 18px;
}

.listen__word-list::-webkit-scrollbar {
    display: none;
}


/* ---------- O'yin kartalari joylashuvi — yakuniy tuzatish (avvalgi
   reference-ui-fix.css dan). Kartalar bir-biriga yopishib qolmasligi
   va barcha ekranlarda bir xil, aniq grid tartibida ko'rinishi uchun. ---------- */
.play__lab,
.typing__lab {
    align-items: stretch !important
}

.play__lab .play__tile,
.typing__lab .play__tile {
    margin: 0 !important
}

.play__lab.state--active {
    width: min(100%, 1180px) !important;
    margin: 0 auto !important;
    padding: 28px 0 72px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

.play__lab.state--active .games__intro {
    grid-column: 1/-1 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.play__lab.state--active .play__tile {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 132px !important;
    margin: 0 !important;
    padding: 22px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    border-radius: 22px !important;
    position: relative !important;
    overflow: hidden !important;
}

.play__lab.state--active .play__tile:first-of-type {
    grid-column: auto !important;
}

.play__lab.state--active .play__tile::after {
    content: '›';
    margin-left: auto;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(var(--overlay-rgb), .12);
    color: var(--fg);
    background: rgba(var(--overlay-rgb), .04);
    font-size: 28px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

.play__lab.state--active .play__tile:hover::after {
    transform: translateX(3px);
    background: rgba(var(--overlay-rgb), .08)
}

.play__lab.state--active .play__tile__content {
    min-width: 0 !important;
    flex: 1 !important
}

.play__lab.state--active .play__tile__content h3 {
    font-size: 17px !important;
    line-height: 1.25 !important
}

.play__lab.state--active .play__tile__content p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    max-width: 42ch !important
}

.play__lab.state--active~.typing__lab,
.play__lab.state--active~.listening__lab {
    position: relative
}

#pathWrap[style*="display: none"] {
    overflow: hidden !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important
}

@media(max-width:899px) {
    .play__lab.state--active {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 20px 0 56px !important
    }

    .play__lab.state--active .play__tile {
        min-height: 112px !important;
        padding: 18px !important;
        border-radius: 18px !important
    }
}

@media(max-width:480px) {
    .play__lab.state--active .play__tile {
        gap: 13px !important;
        min-height: 104px !important
    }

    .play__lab.state--active .play__tile__visual {
        width: 52px !important;
        height: 52px !important;
        border-radius: 15px !important
    }

    .play__lab.state--active .play__tile::after {
        width: 34px;
        height: 34px;
        font-size: 24px
    }

    .play__lab.state--active .play__tile__content h3 {
        font-size: 15px !important
    }

    .play__lab.state--active .play__tile__content p {
        font-size: 12px !important
    }
}

/* ---------- O'yinlar: yakuniy "polish" (avvalgi final-ui-polish.css dan) ---------- */
.play__lab,
.typing__lab {
    gap: 14px !important
}

.play__tile {
    position: relative !important;
    min-height: 142px !important;
    padding: 20px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, #10192c, #0b1220) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18) !important;
    overflow: hidden !important;
}

.play__tile::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(156, 92, 255, .09);
    filter: blur(12px);
    pointer-events: none
}

.play__tile:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(77, 225, 255, .34) !important;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .26) !important
}

.play__tile__visual {
    width: 60px !important;
    height: 60px !important;
    border-radius: 17px !important
}

.play__tile__content h3,
.play__tile__content strong {
    color: #f7f9ff !important
}

.level__grid {
    gap: 10px !important
}

.level__btn,
.diff__btn {
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, #141e33, #0c1424) !important;
    color: #eaf0ff !important;
}

.level__btn:hover,
.diff__btn:hover,
.level__btn.state--active,
.diff__btn.state--active {
    border-color: rgba(77, 225, 255, .48) !important;
    background: linear-gradient(145deg, #192942, #111c31) !important
}

/* ---------- O'yin kartasi (avvalgi ultimate-polish.css dan) ---------- */
.play__tile {
    border-radius: 18px !important;
    min-height: 88px !important;
    background: linear-gradient(145deg, rgba(20, 31, 52, .88), rgba(10, 17, 31, .88)) !important;
    border-color: rgba(139, 169, 214, .12) !important;
}

.play__tile__visual {
    border-radius: 15px !important;
}

.play__tile__content h3 {
    font-size: 15px !important;
    letter-spacing: -.015em;
}

.play__tile__content p {
    color: #8795b2 !important;
    line-height: 1.55 !important;
}

.play__tile:hover {
    border-color: rgba(77, 225, 255, .35) !important;
}

.diff__btn,
.duration-chip {
    border: 1px solid var(--ui-line) !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, #151f34, #0c1424) !important;
    color: #dbe5f8 !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .15) !important;
}

.diff__btn:hover:not(:disabled),
.duration-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(77, 225, 255, .36) !important;
    background: linear-gradient(145deg, rgba(77, 225, 255, .08), rgba(157, 92, 255, .09)) !important;
}

.diff__icon {
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 13px !important;
    background: rgba(77, 225, 255, .07) !important;
    border: 1px solid rgba(77, 225, 255, .12) !important;
    font-size: 18px !important;
}

.game-title-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: 7px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(77, 225, 255, .11), rgba(157, 92, 255, .16));
    border: 1px solid rgba(77, 225, 255, .14);
    font-size: 17px;
    vertical-align: -7px;
}

.kb-key {
    border: 1px solid var(--ui-line) !important;
    border-radius: 10px !important;
    background: #121d31 !important;
    color: #dbe7fa !important;
}

.kb-key:not(:disabled):hover {
    border-color: rgba(77, 225, 255, .4) !important;
    background: rgba(77, 225, 255, .08) !important;
}

.rain-game__word {
    border: 1px solid rgba(77, 225, 255, .18) !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, rgba(77, 225, 255, .12), rgba(157, 92, 255, .13)) !important;
    color: #eff7ff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22) !important;
}

/* ---------- O'yin qiyinlik darajasi (avvalgi quality-polish.css dan) ---------- */
.diff__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.diff__btn {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(164, 177, 214, .15);
    background: linear-gradient(145deg, rgba(22, 32, 54, .96), rgba(10, 17, 31, .96));
    color: #f3f7ff;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.diff__btn:hover:not(:disabled) {
    transform: translateY(-3px);
    border-color: rgba(56, 216, 255, .36);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .24)
}

.diff__btn:disabled {
    opacity: .42;
    cursor: not-allowed;
    filter: saturate(.55)
}

.diff__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(56, 216, 255, .12), rgba(168, 85, 247, .18));
    font-size: 23px
}

.diff__label {
    font-weight: 800;
    color: #f8fbff
}

.diff__desc {
    display: block;
    margin-top: 3px;
    color: #8f9ab7;
    font-size: 11px;
    line-height: 1.35
}

.diff__stars {
    font-size: 11px;
    white-space: nowrap
}

@media (max-width: 700px) {
    .diff__grid {
        grid-template-columns: 1fr
    }
}

@media (prefers-reduced-motion: reduce) {
    .diff__btn {
        transition: none
    }
}

/* ==========================================================================
   "VAQT TUGADI" / "JON TUGADI" — davom etish oynalari (avvalgi
   game-feedback-fix.css dan). MUHIM: bu funksiyalarning JS qismi
   (render-path.js) TO'G'RI yozilgan edi, LEKIN ularning CSS'i
   BUTUNLAY yo'q edi — shuning uchun bu oynalar chiqqanda
   markazlashtirilmagan, fonsiz, "buzilgan" ko'rinishda chiqar edi.
   ========================================================================== */
.life-buy__overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 7, 14, 0);
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
    pointer-events: none;
}

.life-buy__overlay.state--visible {
    opacity: 1;
    background: rgba(4, 7, 14, .6);
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.life__buy-card,
.time-extension__card {
    width: 100%;
    max-width: 340px;
    padding: 30px 26px 26px;
    border-radius: 24px;
    background: linear-gradient(150deg, #101a2c, #0a0f1a);
    border: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    transform: translateY(14px) scale(.96);
    transition: transform .22s cubic-bezier(.2, .9, .3, 1.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.life-buy__overlay.state--visible .life__buy-card,
.life-buy__overlay.state--visible .time-extension__card {
    transform: translateY(0) scale(1);
}

.life__buy-heart {
    font-size: 36px;
    margin-bottom: 8px;
}

.life__buy-card h3,
.time-extension__card h3 {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    margin: 0 0 8px;
    color: #fff;
}

.life__buy-card p,
.time-extension__card p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #8f9ab7;
    margin: 0 0 18px;
}

.life__buy-card .big__btn {
    width: 100%;
}

.time-extension__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 4px;
}

.time-ext-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 12px 8px;
    border-radius: 14px;
    border: 1.5px solid rgba(var(--accent-rgb, 255, 43, 157), .25);
    background: rgba(var(--accent-rgb, 255, 43, 157), .08);
    color: #fff;
    cursor: pointer;
    transition: transform .16s cubic-bezier(.2, .8, .2, 1), border-color .16s ease;
}

.time-ext-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.time-ext-btn:active {
    transform: translateY(0) scale(.96);
}

.time-ext-btn.state--unaffordable {
    opacity: .45;
}

.time-extension__sec {
    font-weight: 900;
    font-size: 15px;
}

.time-extension__cost {
    font-size: 11px;
    color: #ffcb4d;
    font-weight: 700;
}

.time-extension__bonus {
    font-size: 10px;
    color: #8f9ab7;
}

body.theme-picker--light .life__buy-card,
body.theme-picker--light .time-extension__card {
    background: #ffffff;
    border-color: #e6eaf2;
}

body.theme-picker--light .life__buy-card h3,
body.theme-picker--light .time-extension__card h3 {
    color: #14192b;
}

@media (prefers-reduced-motion: reduce) {

    .life-buy__overlay,
    .life__buy-card,
    .time-extension__card,
    .time-ext-btn {
        transition: none;
    }
}

/* ---------- O'yin javob holati: to'g'ri/xato ko'rsatkichlari
   (avvalgi game-feedback-fix.css dan). Bir nechta o'yin JS orqali
   ".state--correct"/".state--wrong" klasslarini to'g'ri qo'shar edi,
   lekin bu klasslar uchun CSS mavjud emas edi. ---------- */
.quiz__opt.state--correct {
    background: linear-gradient(135deg, rgba(57, 255, 136, .22), rgba(57, 255, 136, .08)) !important;
    border-color: var(--success, #39FF88) !important;
    color: #eafff2 !important;
    box-shadow: 0 0 0 2px rgba(57, 255, 136, .25) !important;
}

.quiz__opt.state--correct::after {
    content: "✓";
    float: right;
    font-weight: 900;
    color: var(--success, #39FF88);
}

.quiz__opt.state--wrong {
    background: linear-gradient(135deg, rgba(255, 56, 96, .2), rgba(255, 56, 96, .07)) !important;
    border-color: var(--error, #ff3860) !important;
    color: #ffeaef !important;
    animation: gameOptWrongShake .4s cubic-bezier(.36, .07, .19, .97);
}

.quiz__opt.state--wrong::after {
    content: "✕";
    float: right;
    font-weight: 900;
    color: var(--error, #ff3860);
}

@keyframes gameOptWrongShake {

    10%,
    90% {
        transform: translateX(-1px);
    }

    20%,
    80% {
        transform: translateX(2px);
    }

    30%,
    50%,
    70% {
        transform: translateX(-4px);
    }

    40%,
    60% {
        transform: translateX(4px);
    }
}

.kb-key.state--correct {
    background: linear-gradient(135deg, rgba(57, 255, 136, .28), rgba(57, 255, 136, .1)) !important;
    border-color: var(--success, #39FF88) !important;
    color: #eafff2 !important;
}

.kb-key.state--wrong {
    background: linear-gradient(135deg, rgba(255, 56, 96, .26), rgba(255, 56, 96, .08)) !important;
    border-color: var(--error, #ff3860) !important;
    color: #ffeaef !important;
    opacity: .75;
}

.lg__btn.state--correct {
    background: linear-gradient(135deg, #39FF88, #1e9e5f) !important;
    border-color: transparent !important;
    color: #06210f !important;
    box-shadow: 0 0 0 3px rgba(57, 255, 136, .25) !important;
}

.lg__btn.state--wrong {
    background: linear-gradient(135deg, #ff3860, #c4123c) !important;
    border-color: transparent !important;
    color: #fff !important;
    animation: gameOptWrongShake .4s cubic-bezier(.36, .07, .19, .97);
}

.lg__btn:disabled {
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {

    .quiz__opt.state--wrong,
    .lg__btn.state--wrong {
        animation: none;
    }
}