/* ===================================================================
   premium.css owns page-level premium treatments: imagery, cards,
   shadows, culture visuals, games, auth pages, and page enhancements.
   Standard app shell rules live in shell.css; global tokens live in site.css.
   =================================================================== */

/* ===================================================================
   Premium Shop + Leaderboards refresh
   =================================================================== */

.shop-command,
.leaderboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    align-items: stretch;
    gap: clamp(18px, 2vw, 28px);
    margin-bottom: 18px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(8, 120, 95, 0.08), rgba(216, 137, 31, 0.07)),
        var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.shop-command__copy,
.leaderboard-hero__copy {
    padding: clamp(28px, 4vw, 48px);
}

.shop-command__label,
.leaderboard-hero__label,
.shop-command__rec-label {
    display: block;
    margin-bottom: 14px;
    color: var(--premium-green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shop-command__title,
.leaderboard-hero__title {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 0.94;
    color: var(--premium-ink);
}

.shop-command__desc,
.leaderboard-hero__desc {
    max-width: 640px;
    margin: 18px 0 0;
    color: #5f6b66;
    font-size: 1.02rem;
    line-height: 1.72;
}

.shop-command__actions,
.leaderboard-hero__actions,
.shop-command__rec-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.shop-command__link,
.leaderboard-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--premium-green);
    border-radius: 8px;
    background: linear-gradient(180deg, #119171, var(--premium-green));
    color: #fffdf8;
    text-decoration: none;
    font-weight: 800;
}

.shop-command__link:hover,
.leaderboard-tab:hover {
    color: #fffdf8;
    transform: translateY(-1px);
    box-shadow: var(--premium-shadow-soft);
}

.shop-command__link--ghost,
.leaderboard-tab:not(.leaderboard-tab--active) {
    background: rgba(255, 253, 248, 0.72);
    color: var(--premium-green);
    border-color: rgba(8, 120, 95, 0.24);
}

.shop-command__link--ghost:hover,
.leaderboard-tab:not(.leaderboard-tab--active):hover {
    color: var(--premium-green-dark);
}

.shop-command__rec-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(8, 120, 95, 0.2);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.84);
    color: var(--premium-green);
}

.shop-command__rec-footer {
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(16, 24, 23, 0.12);
}

.shop-command__rec-footer > span,
.shop-card__price {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--premium-amber);
    font-weight: 900;
}

.shop-command__rec-btn {
    min-height: 42px;
    padding: 0 16px;
}

.shop-wallet {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 243, 235, 0.96)),
        var(--premium-paper);
}

.shop-wallet__stat {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    background: #f8f3eb;
}

.shop-wallet__stat-value,
.shop-wallet__stat-label {
    display: block;
}

.shop-wallet__stat-value {
    color: var(--premium-ink);
    font-size: 1.18rem;
    font-weight: 900;
}

.shop-wallet__stat-label {
    color: #68736f;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-section,
.leaderboard-podium-shell,
.leaderboard-table-shell {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 10px;
}

.shop-section__header,
.leaderboard-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.shop-section__title,
.leaderboard-section-header h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 500;
}

.shop-section__desc,
.leaderboard-section-header p {
    max-width: 560px;
    margin: 6px 0 0;
    color: #68736f;
    line-height: 1.55;
}

.shop-section__header-icon,
.leaderboard-section-header > .fas {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 10px;
    background: #eff7f3;
    color: var(--premium-green);
}

.shop-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 218px;
    padding: 22px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 245, 236, 0.96)),
        var(--premium-paper);
}

.shop-card--featured {
    min-height: 242px;
}

.shop-card--recommended {
    border-color: rgba(8, 120, 95, 0.46);
}

.shop-card__icon {
    margin: 0 0 18px;
}

.shop-card__name {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.shop-card__desc {
    margin: 0;
    line-height: 1.58;
}

.shop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.shop-card__buy {
    min-height: 40px;
    padding: 0 14px;
    font-weight: 900;
}

.shop-card__buy--disabled {
    box-shadow: none;
}

.shop-nudge {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 10px;
}

.leaderboard-hero__champion {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px;
    border: 1px solid rgba(16, 24, 23, 0.12);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.76);
}

.leaderboard-hero__champion > span,
.lb-podium__avatar,
.lb-table__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.1), rgba(216, 137, 31, 0.1));
    color: var(--premium-green);
    font-weight: 900;
}

.leaderboard-hero__champion > span {
    width: 44px;
    height: 44px;
}

.leaderboard-hero__champion strong,
.leaderboard-hero__champion small {
    display: block;
}

.leaderboard-hero__champion small {
    color: #68736f;
}

.leaderboard-podium-shell,
.leaderboard-table-shell {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 235, 0.96)),
        var(--premium-paper);
    border: 1px solid var(--premium-line);
    box-shadow: var(--premium-shadow-soft);
}

.lb-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    margin: 0;
}

.lb-podium__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 230px;
    padding: 22px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 245, 236, 0.96)),
        var(--premium-paper);
}

.lb-podium__first {
    border-color: rgba(216, 137, 31, 0.48);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 246, 226, 0.98)),
        var(--premium-paper);
}

.lb-podium__medal {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7b24a, #f6d27d);
    color: #3c2b0c;
    font-size: 0.9rem;
    font-weight: 900;
}

.lb-podium__medal::before {
    display: none;
}

.lb-podium__avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
}

.lb-podium__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--premium-ink);
}

.lb-podium__stat {
    margin-top: 7px;
    color: var(--premium-green);
    font-weight: 900;
}

.lb-podium__level {
    margin-top: auto;
    padding-top: 18px;
    color: #68736f;
    font-weight: 800;
}

.lb-table-wrap {
    overflow: hidden;
}

.lb-table {
    width: 100%;
    border-collapse: collapse;
}

.lb-table th {
    padding: 13px 14px;
    border-bottom: 1px solid var(--premium-line);
    color: #68736f;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lb-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(222, 214, 200, 0.72);
    vertical-align: middle;
}

.lb-table tbody tr:last-child td {
    border-bottom: 0;
}

.lb-table tbody tr:hover {
    background: rgba(239, 247, 243, 0.58);
}

.lb-table__rank {
    width: 56px;
    color: var(--premium-green);
    font-weight: 900;
    text-align: center;
}

.lb-table__player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-table__avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.lb-table__name {
    color: var(--premium-ink);
    font-weight: 800;
}

.lb-table__score {
    color: var(--premium-green);
    font-weight: 900;
}

.lb-table__row--you {
    background: rgba(239, 247, 243, 0.72);
}

@media (max-width: 1100px) {
    .shop-command,
    .leaderboard-hero {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .shop-command__copy,
    .leaderboard-hero__copy {
        padding: 22px;
    }

    .shop-command__title,
    .leaderboard-hero__title {
        font-size: clamp(2.4rem, 14vw, 3.2rem);
    }

    .shop-command__actions,
    .leaderboard-hero__actions,
    .shop-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-command__link,
    .leaderboard-tab,
    .shop-command__rec-btn,
    .shop-card__buy,
    .shop-nudge__btn {
        width: 100%;
    }

    .shop-wallet,
    .shop-featured-grid,
    .shop-grid,
    .lb-podium {
        grid-template-columns: 1fr;
    }

    .shop-nudge {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .leaderboard-table-shell {
        padding: 14px;
    }

    .lb-table {
        min-width: 560px;
    }
}

/* Final cascade lock for Learn village map. Keep this after all page overrides. */

/* Learn village map overhaul: dense progression board with real asset art. */

/* Premium auth shell */
.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(142, 209, 58, 0.16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(216, 137, 31, 0.14), transparent 32%),
        linear-gradient(135deg, #f6f1e8 0%, #edf4ee 48%, #f8f3eb 100%);
    color: var(--premium-ink);
}

.auth-language-card {
    position: absolute;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    min-width: 168px;
    padding: 10px;
    border: 1px solid rgba(255, 253, 248, 0.32);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.82);
    color: var(--premium-ink);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.auth-language-card span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 120, 95, 0.2);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.12), rgba(216, 137, 31, 0.1));
    color: var(--premium-green);
    font-weight: 900;
}

.auth-language-card strong {
    align-self: end;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1;
}

.auth-language-card small {
    color: #5f6b66;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
}

.auth-language-card--primary {
    left: 4%;
    top: 12%;
}

.auth-language-card--secondary {
    right: 2%;
    top: 34%;
    transform: rotate(3deg);
}

.auth-language-card--tertiary {
    left: 18%;
    bottom: 4%;
    transform: rotate(-3deg);
}

.auth-check a {
    color: var(--premium-green);
    font-weight: 900;
    text-decoration: none;
}

.auth-label {
    display: block;
    margin-bottom: 4px;
    color: #39443f;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 17px;
    z-index: 1;
    color: rgba(8, 120, 95, 0.72);
    font-size: 0.95rem;
}

.auth-input {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(222, 214, 200, 0.95);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 253, 248, 0.9);
    color: var(--premium-ink);
    font-size: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.auth-input--icon {
    padding-left: 46px;
}

.auth-input::placeholder {
    color: #8a938f;
}

.auth-input:focus {
    border-color: rgba(8, 120, 95, 0.48);
    background: #fffdf8;
    box-shadow: 0 0 0 4px rgba(8, 120, 95, 0.1);
}

.auth-input--error {
    border-color: rgba(185, 65, 55, 0.68);
    box-shadow: 0 0 0 4px rgba(185, 65, 55, 0.1);
}

.auth-password-toggle {
    position: absolute;
    right: 9px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 8px;
    background: rgba(8, 120, 95, 0.07);
    color: var(--premium-green);
}

.auth-password-toggle:hover {
    background: rgba(8, 120, 95, 0.12);
}

.auth-input-wrap .auth-input[type="password"],
.auth-input-wrap .auth-input[type="text"] {
    padding-right: 56px;
}

.auth-check,
.auth-check span {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
    color: #5f6b66;
    font-size: 0.84rem;
}

.auth-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--premium-green);
}

.auth-submit {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #119171, var(--premium-green));
    color: #fffdf8;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(8, 120, 95, 0.22);
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(8, 120, 95, 0.28);
}

.auth-submit__spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 253, 248, 0.4);
    border-top-color: #fffdf8;
    border-radius: 50%;
    animation: auth-spin 0.7s linear infinite;
}

.auth-submit--loading .auth-submit__spinner {
    display: inline-block;
}

.auth-submit--loading {
    pointer-events: none;
    opacity: 0.88;
}

.auth-field-error {
    min-height: 10px;
    display: block;
    margin-top: 2px;
    color: #b94137;
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0;
}

.auth-field-error--visible {
    opacity: 1;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.auth-alert--error {
    border: 1px solid rgba(185, 65, 55, 0.22);
    background: rgba(185, 65, 55, 0.08);
    color: #8e3028;
}

.auth-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 253, 248, 0.76);
    backdrop-filter: blur(16px);
}

.auth-loading--visible {
    display: flex;
}

.auth-loading__text {
    margin: 0;
    color: var(--premium-ink);
    font-weight: 900;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 981px) and (max-height: 760px) {

    .auth-language-card {
        min-width: 150px;
        padding: 9px;
        gap: 2px 9px;
    }

    .auth-language-card span {
        width: 31px;
        height: 31px;
        font-size: 0.76rem;
    }

    .auth-language-card strong {
        font-size: 1.08rem;
    }

    .auth-language-card small {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .auth-language-card--primary {
        left: 6%;
        top: 0;
    }

    .auth-language-card--secondary {
        right: 2%;
        top: 30%;
    }

    .auth-language-card--tertiary {
        left: 16%;
        bottom: 0;
    }

    .auth-label {
        margin-bottom: 3px;
        font-size: 0.64rem;
    }

    .auth-input {
        min-height: 38px;
        font-size: 0.86rem;
    }

    .auth-input-icon {
        left: 14px;
        font-size: 0.82rem;
    }

    .auth-input--icon {
        padding-left: 38px;
    }

    .auth-password-toggle {
        width: 28px;
        height: 28px;
    }

    .auth-field-error {
        min-height: 8px;
        margin-top: 1px;
        font-size: 0.68rem;
    }

    .auth-check,
    .auth-check span {
        font-size: 0.78rem;
        gap: 8px;
    }

    .auth-check input[type="checkbox"] {
        width: 15px;
        height: 15px;
    }

    .auth-submit {
        min-height: 38px;
    }
}

@media (max-width: 680px) {

    .auth-language-card {
        min-width: 178px;
        padding: 12px;
    }

    .auth-language-card strong {
        font-size: 1.25rem;
    }

    .auth-language-card--secondary {
        right: -6px;
    }

    .auth-language-card--tertiary {
        left: 6px;
    }
}

/* Leaderboards repair: tighter hero, no champion overflow, real podium shape. */
.leaderboard-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.74fr);
    min-height: 318px;
}

.leaderboard-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4.2vw, 54px);
}

.leaderboard-hero__title {
    font-size: clamp(3.4rem, 5.4vw, 5.9rem);
}

.leaderboard-hero__desc {
    max-width: 680px;
    margin-top: 18px;
}

.leaderboard-hero__champion {
    width: min(100%, 300px);
    max-width: 100%;
    min-width: 0;
    margin-top: 22px;
    padding: 12px;
    overflow: hidden;
    background: rgba(255, 253, 248, 0.84);
    backdrop-filter: blur(8px);
}

.leaderboard-hero__champion > div {
    min-width: 0;
}

.leaderboard-hero__champion strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--premium-ink);
    font-family: var(--font-family);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-hero__champion small {
    margin-top: 2px;
    font-size: 0.78rem;
}

.leaderboard-podium-shell {
    padding: 28px 26px 42px;
}

.leaderboard-section-header {
    margin-bottom: 34px;
}

.lb-podium {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
    align-items: end;
    gap: 16px;
    padding-top: 18px;
}

.lb-podium__card {
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    border-radius: 10px 10px 4px 4px;
}

.lb-podium__card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 9px;
    background: linear-gradient(90deg, var(--premium-green), var(--premium-amber));
    opacity: 0.85;
}

.lb-podium__first {
    order: 2;
    min-height: 318px;
    transform: translateY(-24px);
    border-color: rgba(216, 137, 31, 0.58);
    box-shadow: 0 24px 52px rgba(26, 20, 13, 0.12);
}

.lb-podium__first::before {
    content: "Champion";
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 9px;
    border: 1px solid rgba(216, 137, 31, 0.28);
    border-radius: 999px;
    background: rgba(255, 246, 226, 0.88);
    color: #8a5a08;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lb-podium__second {
    order: 1;
    min-height: 268px;
}

.lb-podium__third {
    order: 3;
    min-height: 238px;
}

.lb-podium__first .lb-podium__medal {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #d8891f, #ffd782);
    font-size: 1rem;
}

.lb-podium__avatar {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.lb-podium__first .lb-podium__avatar {
    width: 70px;
    height: 70px;
}

.lb-podium__name {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.12;
}

.lb-podium__stat {
    margin-top: 12px;
}

.lb-podium__level {
    margin-top: auto;
    padding-bottom: 8px;
}

@media (max-width: 1100px) {
    .leaderboard-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .leaderboard-hero__title {
        font-size: clamp(2.8rem, 16vw, 4rem);
    }

    .lb-podium {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .lb-podium__first,
    .lb-podium__second,
    .lb-podium__third {
        order: initial;
        min-height: 220px;
        transform: none;
    }
}

.culture-romance {
    --culture-accent: #08785f;
    --culture-accent-2: #c95b46;
}

.culture-germanic {
    --culture-accent: #234f63;
    --culture-accent-2: #c79b2f;
}

.culture-slavic {
    --culture-accent: #345f8f;
    --culture-accent-2: #a63845;
}

.culture-east-asia {
    --culture-accent: #0f6b58;
    --culture-accent-2: #d76f4f;
}

.culture-arabic-indic {
    --culture-accent: #0d6a61;
    --culture-accent-2: #b98225;
}

.page-banner {
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
    padding: 26px 28px;
    margin-bottom: 18px;
    min-height: 132px;
}

.page-banner {
    position: relative;
    overflow: hidden;
}

.page-banner__text {
    position: relative;
    z-index: 2;
    max-width: min(62%, 760px);
}

.page-banner__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1;
    font-weight: 500;
    color: var(--premium-ink);
    margin-bottom: 10px;
}

.page-banner__desc {
    max-width: 620px;
    color: #52605c;
    font-size: 1rem;
    line-height: 1.65;
}

.page-banner__icon,
.ranking-card__icon,
.meet-mode-toggle__icon,
.learn-practice-choice__icon,
.learn-complete__icon,
.meet-video__placeholder-icon,
.meet-start-btn__icon {
    color: transparent !important;
    text-shadow: none !important;
    font-size: 0 !important;
}

.page-banner__icon {
    display: none;
}

.home-action-card__icon,
.home-learn-cta__icon,
.game-card__icon,
.meet-tip__icon,
.shop-card__icon,
.shop-wallet__stat-icon,
.shop-nudge__icon,
.shop-modal__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.09), rgba(216, 137, 31, 0.1));
    color: var(--premium-green) !important;
    font-size: 0.95rem !important;
    line-height: 1;
    text-shadow: none !important;
}

.shop-section__title .fas {
    margin-right: 8px;
    color: var(--premium-green);
    font-size: 0.86em;
}

.content-primary > .shop-section:first-of-type .shop-section__title {
    font-size: 0;
}

.content-primary > .shop-section:first-of-type .shop-section__title::before {
    content: "\f005  Featured";
    font-family: "Font Awesome 6 Free", Inter, "Segoe UI", system-ui, sans-serif;
    font-size: 1.42rem;
    font-weight: 900;
    color: var(--premium-ink);
}

.home-action-card__icon,
.game-card__icon,
.shop-card__icon {
    margin-bottom: 18px;
}

.shop-wallet__stat-icon,
.meet-tip__icon {
    margin-right: 10px;
}

.card-panel,
.ranking-panel,
.settings-section,
.home-action-card,
.home-learn-cta,
.learn-review,
.meet-section,
.meet-mode-toggle,
.meet-searching__content,
.meet-room__topbar,
.meet-video,
.meet-chat-panel,
.meet-peer-bar,
.shop-wallet,
.shop-section,
.shop-card,
.shop-nudge,
.lb-table-wrap,
.lb-podium__card,
.profile-follow-panel,
.fr-modal {
    background: var(--premium-paper);
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-soft);
}

.card-panel {
    padding: 18px;
    margin-bottom: 16px;
}

.card-panel__title,
.ranking-panel__title,
.settings-section__title,
.profile-section__title,
.shop-section__title,
.meet-section__title {
    color: var(--premium-ink);
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary,
.btn-accent,
.settings-save-btn,
.meet-start-btn,
.shop-card__buy,
.shop-modal__btn--confirm,
.learn-continue__btn,
.home-learn-cta,
.meet-searching__cancel,
.shop-nudge__btn {
    background: linear-gradient(180deg, #119171, var(--premium-green));
    border: 1px solid var(--premium-green);
    color: #fffdf8;
    border-radius: 7px;
    box-shadow: 0 10px 22px rgba(8, 120, 95, 0.18);
}

.btn-primary:hover,
.btn-accent:hover,
.settings-save-btn:hover,
.meet-start-btn:hover:not(:disabled),
.shop-card__buy:hover:not(:disabled),
.shop-modal__btn--confirm:hover,
.learn-continue__btn:hover,
.home-learn-cta:hover,
.meet-searching__cancel:hover,
.shop-nudge__btn:hover {
    background: linear-gradient(180deg, var(--premium-green), var(--premium-green-dark));
    border-color: var(--premium-green-dark);
    color: #fffdf8;
    transform: translateY(-1px);
}

.home-learn-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    color: #fffdf8;
    text-decoration: none;
}

.home-learn-cta__label {
    color: rgba(255, 253, 248, 0.78);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-learn-cta__title {
    color: #fffdf8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.home-learn-cta__desc {
    color: rgba(255, 253, 248, 0.78);
}

.home-learn-cta__arrow {
    color: #fffdf8;
    font-size: 1.4rem;
}

.home-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-action-card {
    align-items: flex-start;
    text-align: left;
    padding: 22px;
}

.home-action-card:hover,
.game-card:hover,
.shop-card:hover,
.learn-lang-card:hover {
    border-color: rgba(8, 120, 95, 0.42);
    background: #fffaf2;
    box-shadow: var(--premium-shadow);
}

.home-action-card__title,
.game-card__title,
.shop-card__name {
    color: var(--premium-ink);
    font-size: 1.05rem;
}

.home-action-card__desc,
.game-card__desc,
.shop-card__desc,
.ranking-card__link,
.settings-field__hint {
    color: #68736f;
}

.learn-sidebar__track,
.tq-round__timer,
.ws-round__timer {
    background: #ebe4d8;
    border-radius: 999px;
}

.learn-sidebar__track-fill,
.tq-round__timer-bar {
    background: linear-gradient(90deg, var(--premium-green), #37a987);
}

.learn-lang-grid {
    grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
    gap: 14px;
}

.learn-lang-card {
    background: var(--premium-paper);
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    padding: 18px;
    color: var(--premium-ink);
    box-shadow: var(--premium-shadow-soft);
}

.shop-card__badge,
.meet-shared-tag,
.lb-tab {
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.learn-sidebar__freeplay-desc {
    color: #64706c;
}

.learn-active-step,
.pron-card,
.spell-card,
.tq-question,
.ws-round {
    background: var(--premium-paper);
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-soft);
}

.meet-lobby,
.meet-room {
    display: grid;
    gap: 16px;
}

.meet-section {
    padding: 20px;
}

.meet-section__title {
    margin: 0 0 14px;
    line-height: 1.2;
}

.meet-mode-toggle {
    display: inline-flex;
    justify-content: flex-start;
    padding: 5px;
    width: fit-content;
}

.meet-mode-toggle__btn,
.meet-tag,
.lb-tab,
.profile-tabs__tab,
.pron-actions__btn,
.pron-nav__btn,
.shop-modal__btn--cancel {
    background: #f7f2e9;
    border: 1px solid var(--premium-line);
    border-radius: 7px;
    color: var(--premium-ink);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.meet-mode-toggle__btn--active,
.meet-tag--active,
.lb-tab--active,
.profile-tabs__tab--active {
    background: var(--premium-ink);
    border-color: var(--premium-ink);
    color: #fffdf8;
}

.meet-tags {
    gap: 8px;
}

.meet-tag {
    padding: 9px 12px;
}

.meet-start-btn {
    width: fit-content;
    min-width: 230px;
    padding: 14px 22px;
}

/* Meet and auth full-screen loading overlays */
.meet-searching__content.meet-waiting {
    position: fixed;
    inset: 0;
    z-index: 3500;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(22px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    background: var(--premium-navy);
    box-shadow: none;
    color: #fffdf8;
    text-align: center;
}

.meet-waiting__inner,
.auth-loading__inner {
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.meet-waiting__back {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    left: max(18px, env(safe-area-inset-left));
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 253, 248, 0.2);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.08);
    color: #fffdf8;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.meet-waiting__back:hover {
    background: rgba(255, 253, 248, 0.14);
}

.meet-waiting__eyebrow,
.auth-loading__eyebrow {
    margin: 8px 0 0;
    color: #8ed13a;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.meet-waiting__title {
    max-width: 640px;
    margin: 0;
    color: #fffdf8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 7vw, 4.4rem);
    font-weight: 500;
    line-height: 0.98;
}

.meet-waiting__desc,
.auth-loading__text {
    max-width: 440px;
    margin: 0;
    color: rgba(255, 253, 248, 0.74);
    font-size: 1rem;
    line-height: 1.55;
}

.meet-waiting .loader {
    --color-1: #fff;
    --color-2: var(--premium-navy);
    --size: 1.25px;
    position: relative;
    width: calc(108 * var(--size));
    height: calc(48 * var(--size));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meet-waiting .loader::after,
.meet-waiting .loader::before {
    content: "";
    display: inline-block;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    background-color: var(--color-1);
    background-image: radial-gradient(circle calc(14 * var(--size)), var(--color-2) 100%, transparent 0);
    background-repeat: no-repeat;
    border-radius: 50%;
    transform-origin: 50% 50%;
    animation: meet-eye-move 10s infinite, meet-eye-blink 10s infinite;
}

@keyframes meet-eye-move {
    0%, 10% {
        background-position: 0 0;
    }
    13%, 40% {
        background-position: calc(-15 * var(--size)) 0;
    }
    43%, 70% {
        background-position: calc(15 * var(--size)) 0;
    }
    73%, 90% {
        background-position: 0 calc(15 * var(--size));
    }
    93%, 100% {
        background-position: 0 0;
    }
}

@keyframes meet-eye-blink {
    0%, 10%, 12%, 20%, 22%, 40%, 42%, 60%, 62%, 70%, 72%, 90%, 92%, 98%, 100% {
        transform: scaleY(1);
    }
    11%, 21%, 41%, 61%, 71%, 91%, 99% {
        transform: scaleY(0.38);
    }
}

.auth-loading {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(22px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    background: var(--premium-navy);
    color: #fffdf8;
    text-align: center;
    backdrop-filter: none;
}

.auth-loading--visible {
    display: flex;
}

@media (max-width: 768px) {
    .meet-waiting .loader {
        --size: 1px;
    }

    .meet-waiting__back {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.86rem;
    }

    .meet-waiting__desc,
    .auth-loading__text {
        font-size: 0.92rem;
    }
}

.meet-start-card {
    display: flex;
    justify-content: flex-start;
}

.meet-mobile-summary {
    display: none;
}

.meet-setup-modal[hidden] {
    display: none;
}

body.meet-setup-open {
    overflow: hidden;
}

.meet-setup-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.meet-setup-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 19, 26, 0.58);
    backdrop-filter: blur(6px);
}

.meet-setup-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(520px, 100%);
    height: auto;
    max-height: calc(100dvh - 40px);
    overflow: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--premium-paper);
    box-shadow: 0 28px 78px rgba(7, 19, 26, 0.28);
}

.meet-setup-modal__dialog > * {
    width: 100%;
    margin-inline: 0;
}

.meet-setup-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.meet-setup-modal__title {
    margin: 0;
    color: var(--premium-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1;
}

.meet-setup-modal__desc,
.meet-mobile-summary__text {
    margin: 8px 0 0;
    color: #5f6b66;
    line-height: 1.55;
}

.meet-setup-modal__close {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid var(--premium-line);
    border-radius: 50%;
    background: #f7f2e9;
    color: var(--premium-ink);
}

.meet-setup-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0;
    padding-top: 14px;
}

.meet-setup-modal__btn {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--premium-line);
    border-radius: 7px;
    background: #f7f2e9;
    color: var(--premium-ink);
    font-weight: 800;
}

.meet-setup-modal__confirm {
    min-width: 180px;
}

.meet-picker {
    position: relative;
}

.meet-picker + .meet-picker {
    margin-top: 10px;
}

.meet-picker__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #f7f2e9;
    color: var(--premium-ink);
    cursor: pointer;
    list-style: none;
}

.meet-picker__summary::-webkit-details-marker {
    display: none;
}

.meet-picker__summary::after {
    content: "\f107";
    flex: 0 0 auto;
    color: var(--premium-green);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.meet-picker[open] .meet-picker__summary::after {
    transform: rotate(180deg);
}

.meet-picker__summary span {
    color: #68736f;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meet-picker__summary strong {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-left: auto;
    overflow: hidden;
    color: var(--premium-ink);
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meet-picker__flag {
    width: 24px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 3px;
    object-fit: cover;
}

.meet-picker__panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 110px;
    margin-top: 8px;
    padding: 8px;
    overflow-y: auto;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: var(--premium-shadow-soft);
}

.meet-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--premium-line);
    border-radius: 7px;
    background: #f7f2e9;
    color: var(--premium-ink);
    font-size: 0.9rem;
    font-weight: 650;
}

.meet-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--premium-green);
}

.meet-check--active {
    border-color: rgba(8, 120, 95, 0.38);
    background: rgba(8, 120, 95, 0.08);
    color: var(--premium-green);
}

.meet-start-btn:disabled,
.shop-card__buy--disabled {
    background: #e9e1d4;
    border-color: #e0d7c9;
    color: #8a8175;
    box-shadow: none;
}

.meet-videos {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 14px;
}

.meet-video {
    background: #111b20;
    min-height: 360px;
    overflow: hidden;
}

.meet-video--self {
    min-height: 180px;
}

.meet-video__label {
    background: rgba(255, 253, 248, 0.92);
    color: var(--premium-ink);
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.meet-controls {
    justify-content: center;
}

.meet-ctrl-btn {
    background: var(--premium-paper);
    border: 1px solid var(--premium-line);
    border-radius: 50%;
    color: var(--premium-ink);
}

.meet-ctrl-btn--danger {
    background: #fff2ee;
    border-color: #e8b7aa;
    color: #a43f2c;
}

.meet-chat-toggle,
.meet-mobile-chat-header {
    display: none;
}

.meet-chat-toggle {
    position: relative;
}

.meet-chat-toggle__dot {
    position: absolute;
    top: 6px;
    right: 6px;
    display: none;
    width: 8px;
    height: 8px;
    border: 2px solid var(--premium-paper);
    border-radius: 50%;
    background: #d93f3f;
}

.meet-chat-toggle--unread .meet-chat-toggle__dot,
body.meet-chat-unread .meet-chat-toggle__dot {
    display: block;
}

.meet-video__placeholder--loading {
    flex-direction: column;
    gap: 12px;
    color: var(--premium-green);
    font-weight: 800;
}

.meet-video__spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(8, 120, 95, 0.16);
    border-top-color: var(--premium-green);
    border-radius: 50%;
    animation: meet-spin 0.85s linear infinite;
}

.meet-video__loading-text {
    color: #5f6b66;
    font-size: 0.9rem;
}

.meet-room__dot--searching {
    animation: meet-pulse-dot 1s ease-in-out infinite;
}

@keyframes meet-pulse-dot {
    0%, 100% { opacity: 0.45; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.12); }
}

.meet-searching__visual {
    width: min(420px, 100%);
    margin: 0 auto 18px;
}

.meet-searching[data-mode="video"] .meet-searching__visual--text,
.meet-searching[data-mode="text"] .meet-searching__visual--video {
    display: none;
}

.meet-searching__video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34%;
    gap: 10px;
    align-items: end;
}

.meet-searching__video-block,
.meet-searching__chat-card {
    display: block;
    min-height: 190px;
    border: 1px solid rgba(104, 194, 165, 0.18);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(255, 253, 248, 0.05), rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.05)),
        #111b20;
    background-size: 220% 100%;
    animation: meet-loading-sheen 1.5s ease-in-out infinite;
}

.meet-searching__video-block--small {
    min-height: 112px;
}

.meet-searching__chat-card {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 22px;
    min-height: 220px;
}

.meet-searching__chat-card span {
    display: block;
    width: 82%;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.2);
}

.meet-searching__chat-card span:nth-child(2) {
    width: 62%;
    margin-left: auto;
}

.meet-searching__chat-card span:nth-child(3) {
    width: 72%;
}

@keyframes meet-loading-sheen {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

body.meet-view-room.meet-mode-text .meet-videos,
body.meet-view-room.meet-mode-text .meet-controls {
    display: none;
}

body.meet-view-room.meet-mode-text .meet-chat-panel {
    min-height: min(620px, 68vh);
}

@media (min-width: 769px) {
    body.shell-page--meet.meet-view-searching .meet-searching,
    body.shell-page--meet.meet-view-room .meet-room {
        width: 100%;
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-searching .meet-searching__content {
        width: 100%;
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-self: stretch;
        gap: 14px;
        overflow: hidden;
        text-align: left;
    }

    body.shell-page--meet.meet-view-searching .meet-room__topbar,
    body.shell-page--meet.meet-view-room .meet-room__topbar {
        flex: 0 0 auto;
        margin: 0;
        padding: 0.75rem 1rem;
    }

    body.shell-page--meet.meet-view-searching .meet-videos,
    body.shell-page--meet.meet-view-room .meet-videos {
        position: relative;
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        margin: 0;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-searching .meet-video,
    body.shell-page--meet.meet-view-room .meet-video {
        min-height: 0;
        border-radius: 10px;
    }

    body.shell-page--meet.meet-view-searching .meet-video--partner,
    body.shell-page--meet.meet-view-room .meet-video--partner {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }

    body.shell-page--meet.meet-view-searching .meet-video--self,
    body.shell-page--meet.meet-view-room .meet-video--self {
        position: absolute;
        right: 18px;
        bottom: 18px;
        z-index: 2;
        width: clamp(180px, 18vw, 280px);
        height: clamp(102px, 11vw, 158px);
        min-height: 0;
        aspect-ratio: auto;
        border-color: rgba(255, 253, 248, 0.5);
        box-shadow: 0 18px 40px rgba(7, 19, 26, 0.28);
    }

    body.shell-page--meet.meet-view-searching .meet-video--self .meet-video__label,
    body.shell-page--meet.meet-view-room .meet-video--self .meet-video__label {
        display: none;
    }

    body.shell-page--meet.meet-view-room .meet-controls {
        flex: 0 0 auto;
        margin: 0;
    }

    body.shell-page--meet.meet-view-searching .meet-searching__cancel {
        width: auto;
        min-height: 34px;
        padding: 0.4rem 0.9rem;
        border-width: 1px;
        border-radius: 999px;
        background: #fffdf8;
    }

    body.shell-page--meet.meet-view-room .meet-sidebar-room {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-room .meet-peer-bar {
        flex: 0 0 auto;
    }

    body.shell-page--meet.meet-view-room .meet-chat-panel {
        height: auto;
        min-height: 0;
        flex: 1 1 auto;
    }
}

.meet-chat__input,
.settings-field__input,
.spell-input,
.game-page__lang-select,
.fr-search-input,
.fr-invite-link-input {
    background: #fffdf8;
    color: var(--premium-ink);
    border: 1px solid var(--premium-line);
    border-radius: 7px;
}

.meet-chat__input:focus,
.settings-field__input:focus,
.spell-input:focus,
.fr-search-input:focus {
    border-color: rgba(8, 120, 95, 0.55);
    box-shadow: 0 0 0 4px rgba(8, 120, 95, 0.1);
    outline: none;
}

.meet-chat__send {
    width: auto;
    min-width: 52px;
    height: 38px;
    padding: 0 0.85rem;
    background: var(--premium-green);
    border: 1px solid var(--premium-green-dark);
    border-radius: 9px;
    box-shadow: 0 0 0 3px rgba(8, 120, 95, 0.1);
    font-size: 0.86rem;
    font-weight: 800;
}

.meet-chat__send:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(8, 120, 95, 0.14), 0 10px 18px rgba(8, 120, 95, 0.18);
}

.games-section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: var(--premium-ink);
    letter-spacing: 0;
}

.games-section-desc {
    color: #5e6965;
    line-height: 1.65;
}

.games-signal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.games-signal {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    background: rgba(255, 253, 248, 0.78);
    box-shadow: var(--premium-shadow-soft);
}

.games-signal__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #eff7f3;
    color: var(--premium-green);
    font-size: 0.86rem;
    line-height: 1;
    text-align: center;
}

.games-signal__icon::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.games-signal strong,
.games-signal span:not(.games-signal__icon) {
    display: block;
}

.games-signal strong {
    color: var(--premium-ink);
    font-size: 0.93rem;
}

.games-signal span {
    color: #68736f;
    font-size: 0.8rem;
}

.games-featured,
.games-library {
    margin-top: 24px;
}

.games-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.games-section-title {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.games-section-desc {
    max-width: 520px;
    margin: 0;
    text-align: right;
    font-size: 0.94rem;
}

.games-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.game-grid,
.shop-featured-grid,
.shop-grid {
    gap: 14px;
}

.game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.game-card {
    min-height: 206px;
    padding: 22px;
    border-radius: var(--premium-radius);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 245, 236, 0.94)),
        var(--premium-paper);
    color: var(--premium-ink);
    border: 1px solid var(--premium-line);
    box-shadow: var(--premium-shadow-soft);
    overflow: hidden;
}

.game-card--featured {
    min-height: 242px;
    padding: 24px;
}

.game-card--playable {
    border-color: rgba(8, 120, 95, 0.28);
}

.game-card--locked {
    background:
        linear-gradient(180deg, rgba(245, 246, 243, 0.96), rgba(237, 239, 235, 0.94)),
        #f1f3ef;
    border-color: rgba(115, 124, 119, 0.22);
    box-shadow: none;
    color: #66716c;
    cursor: not-allowed;
}

.game-card--locked:hover {
    background:
        linear-gradient(180deg, rgba(245, 246, 243, 0.96), rgba(237, 239, 235, 0.94)),
        #f1f3ef;
    border-color: rgba(115, 124, 119, 0.22);
    color: #66716c;
    transform: none;
}

.game-card::after,
.home-action-card::before,
.shop-card::after {
    display: none;
}

.game-card__badge,
.shop-card__badge {
    background: #eff7f3;
    border: 1px solid rgba(8, 120, 95, 0.18);
    color: var(--premium-green);
    font-size: 0.68rem;
    top: 14px;
    right: 14px;
    left: auto;
}

.game-card__badge--new {
    background: #eff7f3;
    color: var(--premium-green);
}

.game-card__badge--soon {
    background: #f2f3ef;
    border-color: rgba(115, 124, 119, 0.22);
    color: #66716c;
}

.game-card__icon,
.ranking-card__icon {
    position: static !important;
    transform: none !important;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.09), rgba(216, 137, 31, 0.1));
    color: var(--premium-green) !important;
    font-size: 1rem !important;
    line-height: 1;
    margin: 0 0 20px;
    opacity: 1;
    text-shadow: none !important;
}

.game-card__lock {
    color: #7b8580;
    font-size: 0.95rem;
}

.game-card--locked .game-card__icon {
    background: #eef0ec;
    border-color: rgba(115, 124, 119, 0.22);
    color: #727c77 !important;
}

.game-card--locked .game-card__meta,
.game-card--locked .game-card__action {
    color: #707a75;
}

.game-card__action--locked {
    min-height: 1.25rem;
    padding-top: 18px;
}

.game-card__meta {
    display: block;
    margin-bottom: 10px;
    color: var(--premium-green);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-card__title {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.game-card__desc {
    max-width: 36rem;
    line-height: 1.58;
}

.game-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--premium-green);
    font-weight: 800;
    font-size: 0.9rem;
}

.ranking-card,
.profile-follow-item,
.fr-pending-item,
.settings-info-row {
    border-color: var(--premium-line);
}

.ranking-panel--games {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 243, 235, 0.96)),
        var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.ranking-panel--games .ranking-panel__viewall {
    text-transform: none;
    letter-spacing: 0;
}

.ranking-panel--games .ranking-card {
    gap: 12px;
    padding: 14px 0;
}

.ranking-panel--games .ranking-card__icon {
    width: 34px;
    height: 34px;
    margin: 0;
}

.ranking-panel--games .ranking-card__name {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.lb-tabs {
    gap: 8px;
}

.lb-tab {
    color: var(--premium-ink);
    padding: 10px 14px;
}

.lb-podium {
    gap: 14px;
    margin-top: 18px;
}

.lb-podium__first {
    transform: none;
}

.lb-podium__card {
    color: var(--premium-ink);
}

.lb-podium__medal {
    color: transparent;
    text-shadow: none;
    font-size: 0;
}

.lb-podium__medal::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7b24a, #f6d27d);
}

.lb-table {
    color: var(--premium-ink);
}

.lb-table th {
    background: #f5efe5;
    color: #5a655f;
    text-transform: none;
    letter-spacing: 0;
}

.lb-table td {
    color: var(--premium-ink);
}

.lb-table__avatar,
.lb-podium__avatar,
.profile-follow-item__avatar,
.fr-pending-item__avatar,
.meet-peer-bar__avatar {
    background: #f0e6d8;
    color: var(--premium-green);
    border: 1px solid rgba(8, 120, 95, 0.18);
}

.profile-follow-item__xp,
.fr-pending-item__xp,
.settings-info-row__label {
    color: #66716c;
}

.profile-tabs {
    background: #f7f2e9;
    border-radius: 8px;
    padding: 4px;
}

.profile-action-link,
.settings-quick-link,
.learn-sidebar__game-link {
    background: transparent;
    color: var(--premium-ink);
    border-top: 1px solid var(--premium-line);
}

.profile-action-link:hover,
.settings-quick-link:hover,
.learn-sidebar__game-link:hover {
    color: var(--premium-green);
    background: #faf5ec;
}

.shop-wallet__stat {
    background: #f8f3eb;
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
}

.shop-wallet {
    padding: 10px;
}

.shop-wallet__stat {
    padding: 14px;
}

.shop-card {
    padding: 20px;
}

.shop-card::before {
    display: none;
}

.shop-card::after {
    margin-bottom: 14px;
}

.shop-card__price {
    color: var(--premium-amber);
}

.shop-nudge {
    padding: 18px;
}

.settings-section {
    padding: 22px;
}

.settings-form {
    gap: 16px;
}

.settings-field__label {
    color: var(--premium-ink);
    text-transform: none;
    letter-spacing: 0;
}

.settings-save-btn {
    width: fit-content;
    padding: 11px 18px;
}

.fr-modal,
.shop-modal {
    background: var(--premium-paper);
    border-color: var(--premium-line);
    border-radius: 10px;
    color: var(--premium-ink);
}

.coming-soon {
    background: var(--premium-paper);
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    color: var(--premium-ink);
    box-shadow: var(--premium-shadow-soft);
}

.coming-soon__icon {
    color: transparent;
    font-size: 0;
}

.coming-soon__icon::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 42px;
    border: 2px solid var(--premium-green);
    border-radius: 10px;
}

.home-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
    align-items: stretch;
    min-height: 360px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(8, 120, 95, 0.08), rgba(216, 137, 31, 0.07)),
        var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.home-dashboard__copy {
    padding: clamp(28px, 4vw, 48px);
}

.home-dashboard__label,
.home-path-panel__status,
.home-path-panel__cta,
.home-practice-row strong {
    font-weight: 800;
}

.home-dashboard__label {
    display: block;
    margin-bottom: 14px;
    color: var(--premium-green);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home-dashboard__title {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 4.2vw, 4.65rem);
    font-weight: 500;
    line-height: 0.96;
    color: var(--premium-ink);
}

.home-dashboard__desc {
    max-width: 620px;
    margin: 18px 0 0;
    color: #5c6864;
    font-size: 1.04rem;
    line-height: 1.7;
}

.home-dashboard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.home-dashboard__primary,
.home-dashboard__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.home-dashboard__primary {
    border: 1px solid var(--premium-green);
    background: linear-gradient(180deg, #119171, var(--premium-green));
    color: #fffdf8;
}

.home-dashboard__primary:hover {
    color: #fffdf8;
    box-shadow: var(--premium-shadow-soft);
}

.home-dashboard__secondary {
    border: 1px solid var(--premium-line);
    background: rgba(255, 253, 248, 0.72);
    color: var(--premium-ink);
}

.home-dashboard__secondary:hover {
    color: var(--premium-green);
    border-color: rgba(8, 120, 95, 0.28);
}

.home-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 26px;
}

.home-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    background: rgba(255, 253, 248, 0.8);
    box-shadow: var(--premium-shadow-soft);
}

.home-metric__icon,
.home-path-panel__icon,
.home-practice-row__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 9px;
    background: #eff7f3;
    color: var(--premium-green);
}

.home-metric strong,
.home-metric span {
    display: block;
}

.home-metric strong {
    color: var(--premium-ink);
    font-size: 1.05rem;
}

.home-metric span {
    color: #68736f;
    font-size: 0.82rem;
}

.home-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
    gap: 18px;
}

.home-path-panel,
.home-practice-panel {
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.home-path-panel {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 24px;
    color: var(--premium-ink);
    text-decoration: none;
    background:
        linear-gradient(135deg, rgba(8, 120, 95, 0.08), transparent 48%),
        var(--premium-paper);
}

.home-path-panel:hover {
    color: var(--premium-ink);
    border-color: rgba(8, 120, 95, 0.34);
    box-shadow: var(--premium-shadow);
}

.home-path-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.home-path-panel__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--premium-green);
    font-size: 0.84rem;
}

.home-path-panel__flag {
    border-radius: 3px;
    object-fit: cover;
}

.home-path-panel__title,
.home-section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: var(--premium-ink);
}

.home-path-panel__title {
    max-width: 560px;
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
}

.home-path-panel__desc {
    max-width: 620px;
    color: #61706b;
    line-height: 1.65;
}

.home-path-panel__progress {
    height: 8px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 999px;
    background: #ebe4d8;
}

.home-path-panel__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--premium-green), #37a987);
}

.home-path-panel__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--premium-green);
}

.home-practice-panel {
    padding: 20px;
}

.home-section-heading {
    margin-bottom: 16px;
}

.home-section-heading h2 {
    margin: 0;
    font-size: 1.62rem;
}

.home-section-heading p {
    color: #68736f;
    line-height: 1.6;
}

.home-section-heading p {
    margin: 6px 0 0;
    font-size: 0.93rem;
}

.home-practice-list {
    display: grid;
    gap: 10px;
}

.home-practice-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    color: var(--premium-ink);
    text-decoration: none;
    background: #fbf7ef;
}

.home-practice-row:hover {
    color: var(--premium-ink);
    border-color: rgba(8, 120, 95, 0.3);
    background: #fffaf2;
}

.home-practice-row span:not(.home-practice-row__icon, .fas) {
    display: block;
    color: #68736f;
    font-size: 0.84rem;
}

.game-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(246, 242, 234, 0.94)),
        var(--premium-canvas);
    color: var(--premium-ink);
}

.game-page__header {
    min-height: 72px;
    padding: 12px clamp(16px, 2.4vw, 34px);
    background: rgba(255, 253, 248, 0.9);
    border-bottom: 1px solid var(--premium-line);
    backdrop-filter: blur(16px);
}

.game-page__close,
.game-page__help-btn,
.game-page__drawer-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #fbf7ef;
    color: var(--premium-ink);
    text-decoration: none;
    font-size: 1rem;
}

.game-page__close:hover,
.game-page__help-btn:hover,
.game-page__drawer-close:hover {
    color: var(--premium-green);
    border-color: rgba(8, 120, 95, 0.28);
    background: #fffaf2;
}

.game-page__title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--premium-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.game-page__title .fas {
    color: var(--premium-green);
    font-size: 0.8em;
}

.game-page__body {
    padding: clamp(18px, 3vw, 34px);
}

.game-page__content {
    max-width: 1180px;
    margin: 0 auto;
}

.game-page__lang-picker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.game-page__lang-label {
    color: #68736f;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-page__lang-flag {
    display: none;
}

.game-page__lang-trigger {
    min-width: 74px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #fbf7ef;
    color: var(--premium-ink);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.game-page__lang-trigger:hover,
.game-page__lang-trigger:focus-visible {
    border-color: rgba(8, 120, 95, 0.34);
    background: #fffaf2;
    color: var(--premium-green);
    outline: none;
}

.game-page__lang-trigger-flag,
.game-page__language-option-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.game-page__lang-trigger-flag img,
.game-page__language-option-flag img {
    display: block;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(26, 20, 13, 0.08);
}

.game-page__lang-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.game-page__language-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    width: min(420px, 100vw);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--premium-line);
    background: var(--premium-paper);
    box-shadow: -18px 0 44px rgba(26, 20, 13, 0.16);
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

.game-page__language-drawer--open {
    transform: translateX(0);
}

.game-page__language-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--premium-line);
    background: rgba(255, 253, 248, 0.94);
}

.game-page__language-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--premium-ink);
}

.game-page__language-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #fbf7ef;
    color: var(--premium-ink);
    cursor: pointer;
}

.game-page__language-close:hover,
.game-page__language-close:focus-visible {
    border-color: rgba(8, 120, 95, 0.34);
    background: #fffaf2;
    color: var(--premium-green);
    outline: none;
}

.game-page__language-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
    overflow-y: auto;
}

.game-page__language-option {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.78);
    color: var(--premium-ink);
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.game-page__language-option:hover,
.game-page__language-option:focus-visible {
    border-color: rgba(8, 120, 95, 0.34);
    background: #fffdf8;
    outline: none;
    transform: translateX(-2px);
}

.game-page__language-option--selected {
    border-color: rgba(8, 120, 95, 0.5);
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.1), rgba(255, 253, 248, 0.96));
    color: var(--premium-green);
}

.game-page__language-option-name {
    flex: 1;
    min-width: 0;
}

.game-page__language-option-check {
    opacity: 0;
    color: var(--premium-green);
}

.game-page__language-option--selected .game-page__language-option-check {
    opacity: 1;
}

.game-page__drawer {
    background: var(--premium-paper);
    border-left: 1px solid var(--premium-line);
    box-shadow: -18px 0 44px rgba(26, 20, 13, 0.12);
}

.game-page__drawer-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: var(--premium-ink);
}

.premium-game-shell {
    display: grid;
    gap: 18px;
}

.premium-game-start {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.74fr);
    align-items: stretch;
    min-height: 560px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
    text-align: left;
}

.ws-start.premium-game-start {
    max-width: none;
    margin: 0;
}

.ws-start.premium-game-start::before {
    content: none;
}

.premium-game-start__media {
    min-height: 460px;
}

.premium-game-start__content,
.ws-start__card.premium-game-start__content,
.tq-start__card.premium-game-start__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    padding: clamp(28px, 4vw, 48px);
    border: 0;
    background:
        linear-gradient(135deg, rgba(8, 120, 95, 0.08), rgba(216, 137, 31, 0.08)),
        var(--premium-paper);
    box-shadow: none;
}

.ws-start__card,
.tq-start__card {
    text-align: center;
}

.premium-game-kicker {
    color: var(--premium-green);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.premium-game-start__icon,
.ws-start__icon,
.tq-start__icon,
.ws-summary__icon,
.tq-summary__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 10px;
    background: #eff7f3;
    color: var(--premium-green);
    font-size: 1.1rem;
    text-shadow: none;
}

.premium-game-start__title,
.ws-start__title,
.tq-start__title,
.ws-summary__title,
.tq-summary__title {
    max-width: 620px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4vw, 4.25rem);
    font-weight: 500;
    line-height: 0.96;
    color: var(--premium-ink);
}

.premium-game-start__desc,
.ws-start__desc,
.tq-start__desc {
    max-width: 560px;
    margin: 18px 0 0;
    color: #5f6b66;
    font-size: 1rem;
    line-height: 1.72;
}

.premium-game-start__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.premium-game-start__signals span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.7);
    color: #52605c;
    font-size: 0.82rem;
    font-weight: 700;
}

.premium-game-start__signals .fas {
    color: var(--premium-green);
}

.premium-game-start__btn,
.ws-start__btn,
.tq-start__btn,
.ws-round__submit,
.ws-summary__btn--primary {
    width: fit-content;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--premium-green);
    border-radius: 8px;
    background: linear-gradient(180deg, #119171, var(--premium-green));
    color: #fffdf8;
    font-weight: 800;
    text-decoration: none;
    box-shadow: none;
}

.premium-game-start__btn:hover,
.ws-start__btn:hover,
.tq-start__btn:hover,
.ws-round__submit:hover,
.ws-summary__btn--primary:hover {
    transform: translateY(-1px);
    color: #fffdf8;
    box-shadow: var(--premium-shadow-soft);
}

.premium-game-round,
.ws-round,
.tq-round,
.premium-game-summary,
.ws-summary,
.tq-summary,
.premium-game-loading,
.tq-loading {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(8, 120, 95, 0.06), transparent 46%),
        var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.premium-game-loading {
    position: relative;
    overflow: hidden;
}

.premium-game-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 32%, rgba(8, 120, 95, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.54), transparent 42%);
    pointer-events: none;
}

.premium-game-loading__inner {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    min-height: min(340px, 58vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: clamp(18px, 4vw, 34px);
    text-align: center;
}

.premium-game-loading__kicker {
    margin: 0;
}

.premium-game-loading__hourglass {
    --ui-hourglass-size: 1.05px;
    margin: 2px 0 4px;
    filter: drop-shadow(0 10px 18px rgba(8, 120, 95, 0.16));
}

.premium-game-loading__title {
    margin: 0;
    color: var(--premium-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.02;
    text-wrap: balance;
}

.premium-game-loading__text.ui-loader__text {
    max-width: 320px;
    color: #68736f;
    font-size: 0.95rem;
    line-height: 1.45;
}

.ws-round,
.tq-round,
.ws-summary,
.tq-summary {
    padding: clamp(22px, 3vw, 36px);
}

.ws-round::before,
.ws-summary::before,
.tq-question::before,
.tq-summary::before,
.tq-start__card::before {
    display: none;
}

.ws-round__header,
.tq-round__header {
    margin-bottom: 14px;
}

.ws-round__progress,
.tq-round__counter,
.tq-round__score {
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: #f8f3eb;
    color: var(--premium-ink);
    font-weight: 800;
}

.ws-round__timer-wrap {
    background: #f8f3eb;
    border: 1px solid var(--premium-line);
}

.ws-round__timer-fill,
.tq-round__progress-fill,
.ws-round__progress-fill {
    stroke: var(--premium-green);
    background: linear-gradient(90deg, var(--premium-green), #37a987);
}

.ws-round__hint,
.tq-question {
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: #fbf7ef;
}

.ws-round__hint-badge,
.tq-question__badge,
.ws-round__zone-label {
    color: var(--premium-green);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ws-round__hint-text,
.tq-question__word {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--premium-ink);
    font-weight: 500;
}

.ws-round__hint-text {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.tq-question__word {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.ws-round__category,
.tq-question__hint {
    color: #68736f;
}

.ws-round__letters,
.ws-round__answer,
.tq-choices {
    gap: 10px;
}

.ws-round__letter,
.ws-round__answer-letter {
    min-width: 54px;
    height: 58px;
    border: 1px solid var(--premium-line-strong);
    border-radius: 8px;
    background: #fffdf8;
    color: var(--premium-ink);
    box-shadow: 0 8px 18px rgba(26, 20, 13, 0.08);
}

.ws-round__letter:hover:not(.ws-round__letter--used),
.ws-round__answer-letter:hover {
    border-color: rgba(8, 120, 95, 0.36);
    background: #fffaf2;
}

.ws-round__letter--used {
    opacity: 0.32;
    transform: none;
}

.ws-round__answer {
    min-height: 76px;
    border: 1px dashed var(--premium-line-strong);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.72);
}

.tq-choice {
    min-height: 64px;
    border: 1px solid var(--premium-line);
    border-radius: 9px;
    background: #fffdf8;
    color: var(--premium-ink);
    box-shadow: none;
}

.tq-choice:hover:not(:disabled) {
    border-color: rgba(8, 120, 95, 0.32);
    background: #fffaf2;
    transform: translateY(-1px);
}

.tq-choice__key {
    background: #eff7f3;
    color: var(--premium-green);
}

.tq-choice--correct,
.ws-round__answer--correct,
.ws-feedback--correct,
.tq-feedback--correct {
    border-color: rgba(8, 120, 95, 0.36);
    background: #eff7f3;
}

.tq-choice--wrong,
.ws-round__answer--wrong,
.ws-feedback--wrong,
.tq-feedback--wrong {
    border-color: rgba(201, 91, 70, 0.35);
    background: #fff1ee;
}

.ws-feedback,
.tq-feedback,
.tq-summary__rewards,
.ws-summary__rewards {
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    box-shadow: none;
}

.ws-feedback__icon:not(.fas) {
    display: none;
}

.ws-feedback__icon.fas,
.tq-feedback__icon.fas,
.ws-summary__reward-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eff7f3;
    color: var(--premium-green);
    font-size: 0.95rem;
}

.ws-summary__stats,
.tq-summary__stats {
    gap: 12px;
}

.ws-summary__stat,
.tq-summary__stat {
    border: 1px solid var(--premium-line);
    border-radius: 9px;
    background: #fbf7ef;
    padding: 16px;
}

.ws-summary__stat-value,
.tq-summary__stat-value {
    color: var(--premium-green);
}

.ws-summary__btn--secondary,
.tq-summary__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #fbf7ef;
    color: var(--premium-ink);
    font-weight: 800;
    text-decoration: none;
}

.ws-summary__btn--secondary:hover,
.tq-summary__btn-secondary:hover {
    color: var(--premium-green);
    border-color: rgba(8, 120, 95, 0.3);
}

.practice-round,
.practice-summary {
    padding: clamp(22px, 3vw, 36px);
}

.practice-game__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.practice-game__eyebrow,
.practice-prompt span,
.practice-subtle {
    color: var(--premium-green);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.practice-game__top h2 {
    margin: 4px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 500;
    color: var(--premium-ink);
}

.practice-game__score {
    min-width: 92px;
    padding: 12px;
    border: 1px solid var(--premium-line);
    border-radius: 9px;
    background: #fbf7ef;
    text-align: center;
}

.practice-game__score strong,
.practice-game__score span {
    display: block;
}

.practice-game__score strong {
    color: var(--premium-green);
    font-size: 1.35rem;
}

.practice-game__score span,
.practice-subtle {
    color: #68736f;
}

.practice-prompt {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: #fbf7ef;
}

.practice-prompt strong {
    display: block;
    margin: 8px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--premium-ink);
}

.practice-prompt p {
    margin: 0;
    color: #68736f;
    line-height: 1.6;
}

.practice-choice-grid,
.practice-letter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.practice-choice,
.practice-letter,
.practice-primary,
.practice-secondary,
.practice-match-card,
.practice-word-list button {
    border: 1px solid var(--premium-line);
    border-radius: 9px;
    background: #fffdf8;
    color: var(--premium-ink);
    font-weight: 800;
}

.practice-choice,
.practice-letter,
.practice-match-card {
    min-height: 58px;
    padding: 12px;
}

.practice-choice:hover,
.practice-letter:hover,
.practice-match-card:hover,
.practice-word-list button:hover {
    border-color: rgba(8, 120, 95, 0.34);
    background: #fffaf2;
}

.practice-choice--correct,
.practice-answer--correct,
.practice-match-card--matched,
.practice-word-list .is-found {
    border-color: rgba(8, 120, 95, 0.38) !important;
    background: #eff7f3 !important;
    color: var(--premium-green) !important;
}

.practice-choice--wrong,
.practice-answer--wrong {
    border-color: rgba(201, 91, 70, 0.36) !important;
    background: #fff1ee !important;
    color: var(--premium-coral) !important;
}

.practice-answer {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px dashed var(--premium-line-strong);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.72);
    color: var(--premium-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.practice-letter {
    min-height: 56px;
    font-size: 1.25rem;
}

.practice-letter:disabled {
    opacity: 0.35;
}

.practice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.practice-primary,
.practice-secondary {
    min-height: 42px;
    padding: 0 16px;
}

.practice-primary {
    border-color: var(--premium-green);
    background: linear-gradient(180deg, #119171, var(--premium-green));
    color: #fffdf8;
}

.practice-match-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.practice-match-card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
}

.practice-match-card span {
    color: #68736f;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.practice-match-card strong {
    min-height: 1.4em;
    color: var(--premium-ink);
}

.practice-match-card:not(.practice-match-card--open):not(.practice-match-card--matched) strong::before {
    content: "";
    display: block;
    width: 34px;
    height: 8px;
    border-radius: 999px;
    background: var(--premium-line);
}

.practice-word-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
}

.practice-word-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5px;
}

.practice-word-cell {
    aspect-ratio: 1;
    border: 1px solid var(--premium-line);
    border-radius: 6px;
    background: #fffdf8;
    color: var(--premium-ink);
    font-size: 0.84rem;
    font-weight: 900;
}

.practice-word-cell.is-selected {
    background: #eff7f3;
    border-color: rgba(8, 120, 95, 0.36);
    color: var(--premium-green);
}

.practice-word-list {
    display: grid;
    align-content: start;
    gap: 8px;
}

.practice-word-list button {
    min-height: 40px;
    padding: 8px 10px;
    text-align: left;
}

.practice-error {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(201, 91, 70, 0.32);
    border-radius: 10px;
    background: #fff1ee;
    color: var(--premium-ink);
}

@media (max-width: 1180px) {
    .home-dashboard,
    .home-workbench,
    .premium-game-start {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-game-start__media {
        min-height: 260px;
        order: -1;
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .practice-match-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .practice-word-search {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (max-width: 768px) {
    .home-dashboard__copy,
    .premium-game-start__content,
    .ws-start__card.premium-game-start__content,
    .tq-start__card.premium-game-start__content {
        padding: 22px;
    }

    .premium-game-start__media {
        min-height: 220px;
    }

    .home-dashboard__actions,
    .home-metrics,
    .home-workbench {
        grid-template-columns: 1fr;
    }

    .home-dashboard__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-dashboard__primary,
    .home-dashboard__secondary,
    .premium-game-start__btn,
    .ws-start__btn,
    .tq-start__btn {
        width: 100%;
    }

    .game-page__header {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .game-page__actions {
        width: 100%;
        justify-content: space-between;
    }

    .game-page__lang-picker {
        flex: 1;
    }

    .game-page__lang-select {
        min-width: 0;
        width: 100%;
    }

    .practice-game__top,
    .practice-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .practice-choice-grid,
    .practice-letter-grid,
    .practice-match-grid {
        grid-template-columns: 1fr;
    }

    .practice-word-grid {
        gap: 3px;
    }

    .practice-word-cell {
        font-size: 0.68rem;
    }

    .games-section-header {
        align-items: stretch;
        flex-direction: column;
    }

    .games-section-desc {
        max-width: none;
        text-align: left;
    }

    .home-actions,
    .game-grid,
    .games-featured-grid,
    .games-signal-strip,
    .shop-featured-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .meet-videos {
        grid-template-columns: 1fr;
    }

    body.shell-page--meet.meet-view-searching .meet-searching {
        height: 100%;
        min-height: 0;
        display: grid;
        place-items: center;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-searching .meet-searching__content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 100%;
        overflow: hidden;
        padding: 0;
        text-align: left;
    }

    body.shell-page--meet.meet-view-searching .meet-room__topbar {
        flex: 0 0 auto;
        min-height: 38px;
        margin: 0;
        padding: 6px 8px;
        flex-wrap: nowrap;
        gap: 8px;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-searching .meet-room__connection {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.shell-page--meet.meet-view-searching .meet-room__status {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.shell-page--meet.meet-view-searching .meet-searching__cancel {
        width: auto;
        min-width: 92px;
        max-width: 46%;
        min-height: 38px;
        flex: 0 0 auto;
        justify-content: center;
        padding: 0.35rem 0.65rem;
        border-width: 1px;
        font-size: 0.76rem;
        line-height: 1;
        white-space: nowrap;
    }

    body.shell-page--meet.meet-view-searching .meet-videos {
        position: relative;
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        margin: 0;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-searching .meet-video {
        min-height: 0;
        border-radius: 10px;
    }

    body.shell-page--meet.meet-view-searching .meet-video--partner {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }

    body.shell-page--meet.meet-view-searching .meet-video--self {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 2;
        width: clamp(78px, 28vw, 116px);
        height: clamp(58px, 20vw, 84px);
        min-height: 0;
        aspect-ratio: auto;
        border-color: rgba(255, 253, 248, 0.42);
        box-shadow: 0 12px 26px rgba(7, 19, 26, 0.26);
    }

    body.shell-page--meet.meet-view-searching .meet-video--self .meet-video__label {
        display: none;
    }

    body.shell-page--meet.meet-view-room .meet-room {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-room .meet-room__topbar {
        flex: 0 0 auto;
        min-height: 38px;
        margin: 0;
        padding: 6px 8px;
        flex-wrap: nowrap;
        gap: 8px;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-room .meet-room__connection {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.shell-page--meet.meet-view-room .meet-room__status {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.shell-page--meet.meet-view-room .meet-room__next {
        width: auto;
        max-width: 54%;
        min-height: 30px;
        flex: 0 0 auto;
        justify-content: center;
        padding: 0.35rem 0.65rem;
        border-width: 1px;
        font-size: 0.76rem;
        line-height: 1;
        white-space: nowrap;
    }

    body.shell-page--meet.meet-view-room .meet-room__next kbd {
        display: none;
    }

    body.shell-page--meet.meet-view-room .meet-videos {
        position: relative;
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        margin: 0;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-room .meet-video {
        min-height: 0;
        border-radius: 10px;
    }

    body.shell-page--meet.meet-view-room .meet-video--partner {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }

    body.shell-page--meet.meet-view-room .meet-video--self {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 2;
        width: clamp(78px, 28vw, 116px);
        height: clamp(58px, 20vw, 84px);
        min-height: 0;
        aspect-ratio: auto;
        border-color: rgba(255, 253, 248, 0.42);
        box-shadow: 0 12px 26px rgba(7, 19, 26, 0.26);
    }

    body.shell-page--meet.meet-view-room .meet-video__label {
        right: 8px;
        bottom: 8px;
        left: auto;
        max-width: calc(100% - 16px);
        padding: 0.16rem 0.55rem;
        font-size: 0.72rem;
        transform: none;
    }

    body.shell-page--meet.meet-view-room .meet-video--self .meet-video__label {
        display: none;
    }

    body.shell-page--meet.meet-view-room .meet-controls {
        flex: 0 0 auto;
        min-height: 42px;
        gap: 10px;
        flex-wrap: nowrap;
        margin: 0;
    }

    body.shell-page--meet.meet-view-room .meet-ctrl-btn {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    body.shell-page--meet.meet-view-room .meet-ctrl-btn__icon {
        font-size: 0.78rem;
    }

    body.shell-page--meet.meet-view-room.meet-mode-text .meet-room {
        height: auto;
    }

    body.shell-page--meet.meet-view-room.meet-mode-text .meet-sidebar-room {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.shell-page--meet.meet-view-room.meet-mode-text .meet-peer-bar {
        flex: 0 0 auto;
        margin-bottom: 8px;
        padding: 8px 10px;
    }

    body.shell-page--meet.meet-view-room.meet-mode-text .meet-chat-panel {
        height: auto;
        min-height: 0;
        flex: 1 1 auto;
    }

    body.shell-page--meet.meet-view-room.meet-mode-text .meet-chat__messages {
        min-height: 0;
    }

    .meet-chat-toggle {
        display: flex;
    }

    body.shell-page--meet.meet-view-room #roomSidebar {
        position: fixed;
        inset: 0;
        z-index: 1200;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: none;
        padding:
            calc(12px + env(safe-area-inset-top))
            calc(12px + env(safe-area-inset-right))
            calc(12px + env(safe-area-inset-bottom))
            calc(12px + env(safe-area-inset-left));
        overflow: hidden;
        background: var(--premium-paper);
    }

    .meet-mobile-chat-header {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 44px;
    }

    .meet-mobile-chat-header__title {
        margin: 0;
        color: var(--premium-ink);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.45rem;
        font-weight: 500;
    }

    .meet-mobile-chat-header__close {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        border: 1px solid var(--premium-line);
        border-radius: 50%;
        background: #f7f2e9;
        color: var(--premium-ink);
    }

    body.shell-page--meet.meet-view-room #roomSidebar .meet-peer-bar {
        flex: 0 0 auto;
        margin-bottom: 0;
    }

    body.shell-page--meet.meet-view-room #roomSidebar .meet-chat-panel {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        border-radius: 10px;
    }

    body.shell-page--meet.meet-view-room #roomSidebar .meet-chat__messages {
        min-height: 0;
    }

    .meet-start-card {
        width: 100%;
    }

    .meet-start-card .meet-start-btn {
        width: 100%;
        min-width: 0;
    }

    .meet-mobile-summary {
        display: block;
        margin-bottom: 0;
    }

    .meet-sidebar-card--online,
    .meet-sidebar-card--guidelines,
    .meet-sidebar-card--tips {
        display: none;
    }

    .meet-setup-modal {
        padding: 12px;
    }

    .meet-setup-modal__dialog {
        width: min(520px, 100%);
        height: auto;
        max-height: calc(100dvh - 24px);
        padding: 0;
    }

    .meet-setup-modal__header {
        gap: 12px;
        margin-bottom: 14px;
    }

    .meet-setup-modal__desc {
        margin-top: 6px;
    }

    .meet-setup-modal .meet-mode-toggle {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .meet-setup-modal .meet-section {
        padding: 12px;
    }

    .meet-setup-modal .meet-section__title {
        margin-bottom: 8px;
        font-size: 0.98rem;
    }

    .meet-picker__panel {
        grid-template-columns: 1fr;
        max-height: 110px;
    }

    .meet-setup-modal__actions {
        margin-top: 10px;
        flex-direction: column-reverse;
    }

    .meet-setup-modal__btn,
    .meet-setup-modal__confirm {
        width: 100%;
        justify-content: center;
    }

    .meet-searching__video-grid {
        grid-template-columns: 1fr;
    }

    .meet-searching__video-block {
        min-height: 170px;
    }

    .meet-searching__video-block--small {
        min-height: 120px;
    }

    body.meet-view-room.meet-mode-text .meet-chat-panel {
        min-height: min(560px, 62vh);
    }

    .page-banner {
        padding: 20px;
    }

    .page-banner__text {
        max-width: none;
    }

    .page-banner__icon {
        display: none;
    }
}

/* Final page overrides: shop and leaderboards must win older cascade rules. */
.shop-command,
.leaderboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(18px, 2vw, 28px);
    margin-bottom: 18px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.08), rgba(216, 137, 31, 0.07)), var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.shop-command__copy,
.leaderboard-hero__copy {
    padding: clamp(28px, 4vw, 48px);
}

.shop-command__title,
.leaderboard-hero__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 0.94;
}

.shop-command__desc,
.leaderboard-hero__desc,
.shop-section__desc,
.leaderboard-section-header p {
    color: #5f6b66;
    line-height: 1.65;
}

.shop-command__actions,
.leaderboard-hero__actions,
.shop-command__rec-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.shop-command__link,
.leaderboard-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--premium-green);
    border-radius: 8px;
    background: linear-gradient(180deg, #119171, var(--premium-green));
    color: #fffdf8;
    text-decoration: none;
    font-weight: 800;
}

.shop-command__link--ghost,
.leaderboard-tab:not(.leaderboard-tab--active) {
    background: rgba(255, 253, 248, 0.72);
    color: var(--premium-green);
    border-color: rgba(8, 120, 95, 0.24);
}

.shop-wallet {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 10px;
}

.shop-section,
.leaderboard-podium-shell,
.leaderboard-table-shell {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 235, 0.96)), var(--premium-paper);
    box-shadow: var(--premium-shadow-soft);
}

.shop-section__header,
.leaderboard-section-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.shop-section__title,
.leaderboard-section-header h2,
.shop-card__name,
.lb-podium__name {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.shop-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.shop-card {
    min-height: 218px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 10px;
}

.shop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.shop-card__price {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--premium-amber);
    font-weight: 900;
}

.shop-nudge {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 10px;
}

.lb-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.lb-podium__card {
    min-height: 230px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 10px;
}

.lb-podium__medal {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7b24a, #f6d27d);
    color: #3c2b0c;
    font-size: 0.9rem;
    font-weight: 900;
}

.lb-podium__medal::before {
    display: none;
}

.leaderboard-hero__champion,
.lb-table__player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.leaderboard-hero__champion > span,
.lb-podium__avatar,
.lb-table__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 120, 95, 0.18);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(8, 120, 95, 0.1), rgba(216, 137, 31, 0.1));
    color: var(--premium-green);
    font-weight: 900;
}

.lb-table {
    width: 100%;
    border-collapse: collapse;
}

.lb-table th,
.lb-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(222, 214, 200, 0.72);
}

.lb-table th {
    color: #68736f;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lb-table__rank,
.lb-table__score {
    color: var(--premium-green);
    font-weight: 900;
}

@media (max-width: 1100px) {
    .shop-command,
    .leaderboard-hero {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .shop-featured-grid,
    .shop-grid,
    .shop-wallet,
    .lb-podium {
        grid-template-columns: 1fr;
    }

    .shop-card__footer,
    .shop-command__actions,
    .leaderboard-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-command__link,
    .leaderboard-tab,
    .shop-card__buy,
    .shop-nudge__btn {
        width: 100%;
    }

    .leaderboard-table-shell {
        overflow-x: auto;
    }

    .lb-table {
        min-width: 560px;
    }
}

/* Meet active-state refinements */
.meet-room__next:disabled,
.meet-room__next[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.58;
    background: #fffdf8;
    color: #68736f;
    box-shadow: none;
}

.meet-room__next:disabled:hover,
.meet-room__next[aria-disabled="true"]:hover {
    background: #fffdf8;
    color: #68736f;
    transform: none;
}

@media (min-width: 769px) {
    body.shell-page--meet.meet-view-searching .meet-controls,
    body.shell-page--meet.meet-view-room .meet-controls {
        flex: 0 0 auto;
        margin: 0;
    }
}

@media (max-width: 768px) {
    body.shell-page--meet.meet-view-searching .meet-room__next,
    body.shell-page--meet.meet-view-room .meet-room__next {
        width: auto;
        max-width: 54%;
        min-height: 30px;
        flex: 0 0 auto;
        justify-content: center;
        padding: 0.35rem 0.65rem;
        border-width: 1px;
        font-size: 0.76rem;
        line-height: 1;
        white-space: nowrap;
    }

    body.shell-page--meet.meet-view-searching .meet-room__next kbd,
    body.shell-page--meet.meet-view-room .meet-room__next kbd {
        display: none;
    }

    body.shell-page--meet.meet-view-searching .meet-controls,
    body.shell-page--meet.meet-view-room .meet-controls {
        flex: 0 0 auto;
        min-height: 42px;
        gap: 10px;
        flex-wrap: nowrap;
        margin: 0;
    }

    body.shell-page--meet.meet-view-searching .meet-ctrl-btn,
    body.shell-page--meet.meet-view-room .meet-ctrl-btn {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    body.shell-page--meet.meet-view-searching .meet-ctrl-btn__icon,
    body.shell-page--meet.meet-view-room .meet-ctrl-btn__icon {
        font-size: 0.78rem;
    }

    body.shell-page--meet.meet-view-room .meet-room {
        position: relative;
    }

    body.shell-page--meet.meet-view-room .meet-peer-disconnected {
        position: absolute;
        right: 10px;
        bottom: 52px;
        left: 10px;
        z-index: 5;
        margin: 0;
        padding: 10px;
        border-color: rgba(255, 253, 248, 0.16);
        border-radius: 10px;
        background: rgba(7, 19, 26, 0.9);
        color: #fffdf8;
        text-align: left;
        box-shadow: 0 16px 32px rgba(7, 19, 26, 0.24);
    }

    body.shell-page--meet.meet-view-room .meet-peer-disconnected__content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    body.shell-page--meet.meet-view-room .meet-peer-disconnected__icon {
        display: none;
    }

    body.shell-page--meet.meet-view-room .meet-peer-disconnected__text {
        margin: 0;
        color: rgba(255, 253, 248, 0.78);
        font-size: 0.82rem;
        line-height: 1.25;
    }

    body.shell-page--meet.meet-view-room .meet-peer-disconnected__actions {
        display: flex;
        gap: 6px;
        justify-content: flex-end;
    }

    body.shell-page--meet.meet-view-room .meet-peer-disconnected__btn {
        width: auto;
        min-height: 32px;
        padding: 0 9px;
        border-width: 1px;
        border-radius: 8px;
        color: #fffdf8;
        font-size: 0.72rem;
        white-space: nowrap;
    }
}

/* Selected game pages: mobile viewport fit */
@media (max-width: 768px) {
    body.game-culture-shell {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    body.game-culture-shell .game-page {
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
    }

    body.game-culture-shell .game-page__header {
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
        gap: 8px;
        min-height: 44px;
        padding: 5px 8px;
    }

    body.game-culture-shell .game-page__close,
    body.game-culture-shell .game-page__help-btn {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    body.game-culture-shell .game-page__title {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 0.92rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.game-culture-shell .game-page__actions {
        width: auto;
        flex: 0 1 auto;
        justify-content: flex-end;
        gap: 5px;
        margin-left: auto;
    }

    body.game-culture-shell .game-page__lang-picker {
        position: relative;
        width: 42px;
        height: 34px;
        flex: 0 0 42px;
        min-width: 0;
        gap: 0;
    }

    body.game-culture-shell .game-page__lang-label {
        display: none;
    }

    body.game-culture-shell .game-page__lang-flag {
        display: none;
    }

    body.game-culture-shell .game-page__lang-trigger {
        width: 42px;
        height: 34px;
        min-width: 0;
        min-height: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--premium-line);
        border-radius: 8px;
        background: rgba(255, 253, 248, 0.9);
        box-shadow: 0 4px 12px rgba(26, 20, 13, 0.05);
    }

    body.game-culture-shell .game-page__lang-flag img {
        width: 24px;
        height: 18px;
        display: block;
        border-radius: 3px;
        object-fit: cover;
    }

    body.game-culture-shell .game-page__lang-trigger-flag img {
        width: 24px;
        height: 18px;
    }

    body.game-culture-shell .game-page__lang-trigger-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body.game-culture-shell .game-page__lang-select {
        position: absolute;
        width: 1px;
        min-width: 0;
        height: 1px;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }

    body.game-culture-shell .game-page__language-drawer {
        inset: 0;
        z-index: 2600;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        border-left: 0;
        border-radius: 0;
        background:
            linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 242, 234, 0.98)),
            var(--premium-canvas);
    }

    body.game-culture-shell .game-page__language-header {
        min-height: 58px;
        padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
    }

    body.game-culture-shell .game-page__language-title {
        font-size: 1.45rem;
    }

    body.game-culture-shell .game-page__language-close {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    body.game-culture-shell .game-page__language-list {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px max(12px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }

    body.game-culture-shell .game-page__language-option {
        min-height: 52px;
        padding: 8px 10px;
        border-radius: 8px;
    }

    body.game-culture-shell .game-page__language-option-flag img {
        width: 34px;
        height: 25px;
    }

    body.game-culture-shell .game-page__body {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        padding: 10px;
        overflow: hidden;
    }

    body.game-culture-shell .game-page__content {
        display: flex;
        align-items: stretch;
        justify-content: center;
        height: 100%;
        min-height: 0;
        width: 100%;
        max-width: none;
        padding: 0;
        overflow: hidden;
    }

    body.game-culture-shell .premium-game-shell,
    body.game-culture-shell .ws-game,
    body.game-culture-shell .tq-game,
    body.game-culture-shell .practice-game {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    body.game-culture-shell #wsScorePanel {
        display: none !important;
    }

    body.game-culture-shell .game-page[data-game-state="start"] .premium-game-start {
        height: 100%;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    body.game-culture-shell .game-page[data-game-state="start"] .premium-game-start__media {
        display: none;
    }

    body.game-culture-shell .game-page[data-game-state="start"] .premium-game-start__content,
    body.game-culture-shell .game-page[data-game-state="start"] .ws-start__card.premium-game-start__content,
    body.game-culture-shell .game-page[data-game-state="start"] .tq-start__card.premium-game-start__content {
        justify-content: center;
        min-height: 0;
        padding: 14px;
        overflow: hidden;
    }

    body.game-culture-shell .premium-game-start__title,
    body.game-culture-shell .ws-start__title,
    body.game-culture-shell .tq-start__title {
        font-size: clamp(1.75rem, 9vw, 2.55rem);
        line-height: 0.98;
    }

    body.game-culture-shell .premium-game-start__desc,
    body.game-culture-shell .ws-start__desc,
    body.game-culture-shell .tq-start__desc {
        margin-top: 10px;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    body.game-culture-shell .premium-game-start__signals {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        margin: 12px 0;
    }

    body.game-culture-shell .premium-game-start__signals span {
        min-width: 0;
        justify-content: center;
        gap: 4px;
        padding: 5px 5px;
        overflow: hidden;
        font-size: clamp(0.54rem, 2.4vw, 0.66rem);
        line-height: 1.05;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    body.game-culture-shell .premium-game-start__signals .fas {
        width: 19px;
        height: 19px;
        flex: 0 0 19px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(8, 120, 95, 0.12);
        border-radius: 999px;
        background: #eff7f3;
        font-size: 0.62rem;
    }

    body.game-culture-shell .game-page[data-game-state="loading"] .premium-game-loading,
    body.game-culture-shell .game-page[data-game-state="loading"] .tq-loading,
    body.game-culture-shell .game-page[data-game-state="round"] .premium-game-round,
    body.game-culture-shell .game-page[data-game-state="round"] .ws-round,
    body.game-culture-shell .game-page[data-game-state="round"] .tq-round,
    body.game-culture-shell .game-page[data-game-state="round"] .practice-round,
    body.game-culture-shell .game-page[data-game-state="summary"] .premium-game-summary,
    body.game-culture-shell .game-page[data-game-state="summary"] .ws-summary,
    body.game-culture-shell .game-page[data-game-state="summary"] .tq-summary,
    body.game-culture-shell .game-page[data-game-state="summary"] .practice-summary {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: 100%;
        min-height: 0;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    body.game-culture-shell .game-page[data-game-state="loading"] .premium-game-loading,
    body.game-culture-shell .game-page[data-game-state="loading"] .tq-loading {
        display: grid;
        place-items: center;
        place-content: center;
    }

    body.game-culture-shell .premium-game-loading__inner {
        width: min(360px, 100%);
        min-height: 0;
        gap: 12px;
        padding: 12px;
    }

    body.game-culture-shell .premium-game-loading__hourglass {
        --ui-hourglass-size: clamp(0.86px, 0.28vw, 1px);
        margin-bottom: 2px;
    }

    body.game-culture-shell .premium-game-loading__title {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
        line-height: 1.02;
    }

    body.game-culture-shell .premium-game-loading__text.ui-loader__text {
        max-width: 270px;
        font-size: 0.86rem;
        line-height: 1.4;
    }

    body.game-culture-shell .ws-round,
    body.game-culture-shell .tq-round,
    body.game-culture-shell .practice-round,
    body.game-culture-shell .ws-summary,
    body.game-culture-shell .tq-summary,
    body.game-culture-shell .practice-summary {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    body.game-culture-shell .ws-round__header,
    body.game-culture-shell .tq-round__header,
    body.game-culture-shell .practice-game__top {
        flex: 0 0 auto;
        margin-bottom: 8px;
    }

    body.game-culture-shell .ws-round__progress-bar,
    body.game-culture-shell .tq-round__progress-bar,
    body.game-culture-shell .tq-round__timer {
        flex: 0 0 auto;
        margin-bottom: 7px;
    }

    body.game-culture-shell .ws-round__hint,
    body.game-culture-shell .tq-question,
    body.game-culture-shell .practice-prompt {
        flex: 0 0 auto;
        margin-bottom: 8px;
        padding: 10px;
    }

    body.game-culture-shell .ws-round__hint-text,
    body.game-culture-shell .tq-question__word,
    body.game-culture-shell .practice-prompt strong {
        font-size: clamp(1.35rem, 7vw, 1.85rem);
        line-height: 1.05;
    }

    body.game-culture-shell .ws-round__category,
    body.game-culture-shell .practice-prompt p,
    body.game-culture-shell .tq-question__hint {
        margin-bottom: 6px;
        font-size: 0.78rem;
        line-height: 1.3;
    }

    body.game-culture-shell .ws-round__scrambled,
    body.game-culture-shell .ws-round__answer-zone {
        flex: 0 0 auto;
        margin-bottom: 8px;
    }

    body.game-culture-shell .ws-round__letters,
    body.game-culture-shell .ws-round__answer {
        gap: 5px;
    }

    body.game-culture-shell .ws-round__letter,
    body.game-culture-shell .ws-round__answer-letter {
        width: 2.2rem;
        height: 2.45rem;
        min-width: 0;
        font-size: 1rem;
    }

    body.game-culture-shell .ws-round__answer {
        min-height: 2.8rem;
        padding: 0.35rem;
    }

    body.game-culture-shell .ws-round__input-row,
    body.game-culture-shell .practice-actions {
        flex: 0 0 auto;
        margin-top: auto;
    }

    body.game-culture-shell .tq-choices,
    body.game-culture-shell .practice-choice-grid,
    body.game-culture-shell .practice-letter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-height: 0;
    }

    body.game-culture-shell .tq-choice,
    body.game-culture-shell .practice-choice,
    body.game-culture-shell .practice-letter {
        min-height: 44px;
        padding: 8px;
        font-size: 0.86rem;
    }

    body.game-culture-shell .practice-match-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        min-height: 0;
    }

    body.game-culture-shell .practice-match-card {
        min-height: 56px;
        padding: 6px;
        font-size: 0.72rem;
    }

    body.game-culture-shell .practice-word-search {
        grid-template-columns: minmax(0, 1fr) minmax(86px, 32%);
        gap: 8px;
        min-height: 0;
        overflow: hidden;
    }

    body.game-culture-shell .practice-word-grid {
        gap: 2px;
    }

    body.game-culture-shell .practice-word-cell {
        border-radius: 4px;
        font-size: 0.58rem;
    }

    body.game-culture-shell .practice-word-list {
        min-height: 0;
        max-height: 100%;
        overflow-y: auto;
        gap: 5px;
    }

    body.game-culture-shell .practice-word-list button {
        min-height: 30px;
        padding: 5px 6px;
        font-size: 0.7rem;
    }

    body.game-culture-shell .ws-summary,
    body.game-culture-shell .tq-summary,
    body.game-culture-shell .practice-summary {
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    body.game-culture-shell .ws-summary__stats,
    body.game-culture-shell .tq-summary__stats {
        gap: 8px;
    }

    body.game-culture-shell .ws-summary__stat,
    body.game-culture-shell .tq-summary__stat {
        padding: 10px;
    }
}

/* Mobile auth composition: single viewport, centered form over brand image. */
@media (max-width: 680px) {
    .auth-body {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        overflow: hidden;
        background: var(--premium-navy);
    }

    .auth-input {
        min-height: 40px;
        font-size: 0.88rem;
    }

    .auth-field-error {
        min-height: 8px;
        font-size: 0.66rem;
    }

    .auth-check,
    .auth-check span {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .auth-submit {
        min-height: 40px;
    }
}
