@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;500;700;800&display=swap');

:root{
    --game-header-logo-height:96px;
    --blue-1:#eef8ff;
    --blue-2:#d7efff;
    --blue-3:#74c7ff;
    --blue-4:#2196f3;
    --blue-5:#1665c1;
    --orange-1:#fff4d8;
    --orange-2:#ffcc58;
    --orange-3:#ff9d00;
    --orange-4:#da5c00;
    --green-1:#39c95a;
    --green-2:#24aa44;
    --text:#203248;
    --muted:#6e8094;
    --card:#ffffff;
    --border:#d9e9f6;
    --shadow:0 10px 28px rgba(20, 85, 140, 0.08);
    --gold-1:#fff8d8;
    --gold-2:#ffd86a;
    --line:#d4e7f5;
    --game-width:900px;
    --game-play-width:800px;
    --review-width:750px;
}

*{box-sizing:border-box}

body{
    margin:0;
    background:linear-gradient(180deg,#f7fbff 0%, #ffffff 55%);
    color:var(--text);
    font-family:"Arimo", Arial, sans-serif;
}

button,input{
    font:inherit;
    font-family:"Arimo", Arial, sans-serif;
}

#main_container{
    width:auto;
    max-width:100%;
    margin:0 auto;
}

.game-layout{
    display:flex;
    flex-direction:row;
    direction:ltr;
    align-items:flex-start;
    justify-content:center;
    gap:36px;
    width:auto;
    max-width:100%;
    margin:0 auto;
    padding:0 12px;
}

.game-ad-left,
.game-ad-right{
    width:160px;
    height:600px;
    flex-shrink:0;
    margin-top:calc(-1 * var(--game-header-logo-height) + 30px);
}

.game-header-logo{
    text-align:center;
    margin:0 0 8px;
}

.game-header-logo img{
    display:inline-block;
    max-width:300px;
    width:100%;
    height:auto;
}

body.is-finish-screen .game-header-logo{
    margin-bottom:0;
}

body.is-game-screen .game-header-logo,
body.is-game-screen #gameHeaderLogo{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    margin:0 !important;
    overflow:hidden !important;
}

body.is-game-screen .game-ad-left,
body.is-game-screen .game-ad-right{
    margin-top:calc(-1 * var(--game-header-logo-height) + 30px + var(--game-header-logo-height) + 8px);
}

body.is-game-screen .game-screen .panel{
    max-width:var(--game-play-width);
    margin:0 auto;
}

body.is-game-screen .player-line{
    display:none;
}

.game-center{
    width:100%;
    max-width:var(--game-width);
    flex:0 1 var(--game-width);
    direction:rtl;
}

.app{
    width:100%;
    margin:0 0 28px;
    direction:rtl;
}

.panel{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    box-shadow:var(--shadow);
    padding:18px;
}

.hidden{
    display:none !important;
}

/* start screen */
.start-screen .panel{
    max-width:560px;
    margin:0 auto;
    padding:24px 20px 20px;
}

.main-title{
    margin:0 0 6px;
    text-align:center;
    color:#1474c9;
    font-size:34px;
    font-weight:800;
    letter-spacing:-0.5px;
}

.sub-title{
    margin:0 0 20px;
    text-align:center;
    color:var(--muted);
    font-size:16px;
}

.start-card{
    background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
    border:1px solid #e7f0f8;
    border-radius:18px;
    padding:18px 16px 16px;
}

.field-label{
    display:block;
    margin-bottom:8px;
    text-align:center;
    font-size:18px;
    font-weight:700;
    color:#32506d;
}

.name-input{
    width:100%;
    max-width:270px;
    height:42px;
    display:block;
    margin:0 auto 16px;
    padding:8px 14px;
    border:2px solid #bfd8ea;
    border-radius:14px;
    background:#fff;
    color:#143451;
    font-size:17px;
    font-weight:500;
    text-align:center;
    outline:none;
    transition:.16s ease;
}

.name-input:focus{
    border-color:var(--blue-4);
    box-shadow:0 0 0 4px rgba(33,150,243,.10);
}

.difficulty-title{
    margin:0 0 10px;
    text-align:center;
    color:#32506d;
    font-size:18px;
    font-weight:700;
}

.difficulty-grid{
    width:min(100%, 340px);
    margin:0 auto 16px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    padding:5px;
    background:#edf7ff;
    border:1px solid #d4e8f7;
    border-radius:16px;
}

.diff-option{position:relative}

.diff-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.diff-card{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:transparent;
    color:#547088;
    cursor:pointer;
    transition:.16s ease;
}

.diff-card strong{
    font-size:16px;
    font-weight:700;
}

.diff-option input:checked + .diff-card{
    color:#fff;
    background:linear-gradient(180deg,#58c7ff,#1f92f1);
    box-shadow:0 4px 0 rgba(21,109,188,.24),0 8px 14px rgba(33,150,243,.14);
    transform:translateY(-1px);
}

.start-btn{
    width:100%;
    max-width:210px;
    min-height:46px;
    display:block;
    margin:0 auto;
    border:0;
    border-radius:15px;
    background:linear-gradient(180deg,var(--green-1),var(--green-2));
    color:#fff;
    font-size:21px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 6px 0 rgba(18,132,50,.24),0 10px 18px rgba(41,168,72,.18);
    transition:.16s ease;
}

.start-btn:hover{transform:translateY(-1px)}
.start-btn:active{transform:translateY(1px)}

.start-note{
    margin:12px 0 0;
    text-align:center;
    color:#8a9aab;
    font-size:14px;
}

.more-versions{
    width:100%;
    max-width:640px;
    margin:48px auto 8px;
    text-align:center;
}

.more-versions-title{
    margin:0 0 22px;
    font-size:22px;
    font-weight:900;
    color:#075fae;
    letter-spacing:-0.3px;
}

.games-strip{
    width:100%;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:28px;
}

.game-card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border:2px solid #bfe4ff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 8px 18px rgba(0, 94, 180, 0.11);
    transition:transform 0.15s ease, box-shadow 0.15s ease;
}

.game-card:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(0, 94, 180, 0.16);
}

.game-info{
    min-height:86px;
    padding:12px 12px 0;
    text-align:center;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.85), transparent 30%),
        #f5fbff;
    order:1;
}

.game-title{
    margin:0 0 7px;
    font-size:19px;
    line-height:1.15;
    font-weight:900;
    color:#075fae;
}

.game-desc{
    margin:0;
    font-size:13.5px;
    line-height:1.28;
    font-weight:700;
    color:#526d82;
}

.game-img-wrap{
    position:relative;
    padding:0 0 10px;
    margin-top:-12px;
    background:#fff;
    order:2;
}

.game-img{
    display:block;
    width:92%;
    max-width:235px;
    margin:0 auto;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 6px 14px rgba(0, 94, 180, 0.13);
}

.solo-guide{
    width:100%;
    max-width:640px;
    margin:40px auto 8px;
    text-align:right;
    direction:rtl;
}

.solo-guide-title{
    margin:0 0 16px;
    text-align:center;
    font-size:22px;
    font-weight:900;
    color:#075fae;
    letter-spacing:-0.3px;
}

.solo-guide-card{
    margin:0;
    padding:20px 22px;
    border:2px solid #d5ecfc;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 18px rgba(0, 94, 180, 0.08);
    color:#183c58;
    line-height:1.8;
}

.solo-guide-card p{
    margin:0 0 12px;
    font-size:16px;
}

.solo-guide-card p:last-child{
    margin-bottom:0;
}

/* lottery */
.lottery-screen .panel{
    max-width:620px;
    margin:0 auto;
    padding:10px 8px 14px;
    overflow:visible;
    background:transparent;
    border:0;
    box-shadow:none;
}

.lottery-title{
    margin:0 0 10px;
    text-align:center;
    color:#1577ce;
    font-size:30px;
    font-weight:900;
}

.lottery-stage{
    width:min(430px,100%);
    margin:0 auto 12px;
    position:relative;
}

.letter-frame{
    position:relative;
    width:84%;
    max-width:382px;
    height:208px;
    margin:0 auto;
    border-radius:34px;
    background:linear-gradient(180deg,#ffffff 0%,#fff8f0 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    border:4px solid rgba(255,255,255,.95);
    box-shadow:
        0 10px 0 rgba(205,183,163,.52),
        0 20px 30px rgba(35,35,125,.14),
        0 0 0 3px rgba(235,240,255,.80),
        inset 0 3px 0 rgba(255,255,255,1),
        inset 0 -2px 10px rgba(230,220,210,.28);
    overflow:hidden;
}

.letter-frame.rolling{
    animation:heroPulse .55s ease-in-out infinite alternate;
}

@keyframes heroPulse{
    from{transform:scale(1)}
    to{transform:scale(1.012)}
}

.letter-value{
    position:relative;
    z-index:2;
    color:#ffcf00;
    font-size:160px;
    line-height:1;
    font-weight:900;
    text-shadow:
        0 7px 0 #c95500,
        0 11px 16px rgba(105,45,0,.24),
        0 2px 0 rgba(255,255,255,.70);
    transform:translateY(-12px);
}

.letter-value.spinning{
    animation:textPop .12s ease-in-out infinite alternate;
}

@keyframes textPop{
    from{transform:translateY(-4px) scale(.96)}
    to{transform:translateY(-4px) scale(1.03)}
}

.lottery-status{
    min-height:32px;
    margin-top:10px;
    text-align:center;
    color:#16608d;
    font-size:23px;
    font-weight:900;
}

/* game */
.player-line{
    margin-bottom:10px;
    text-align:center;
    color:#708397;
    font-size:17px;
    font-weight:700;
}

.letter-box{
    width:100%;
    min-height:106px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
    padding:14px 16px;
    border:2px solid #9fd4f7;
    border-radius:18px;
    background:linear-gradient(135deg,#e7f6ff,#c8ebff);
    color:#114d74;
    font-size:52px;
    font-weight:800;
    text-align:center;
}

.timer-track{
    width:100%;
    height:54px;
    position:relative;
    overflow:hidden;
    margin-bottom:16px;
    border:1px solid #efa73f;
    border-radius:14px;
    background:#fff0d5;
}

.timer-fill{
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:100%;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    white-space:nowrap;
    background:linear-gradient(90deg,#ff7b00,#ffb100);
    color:#fff;
    font-size:24px;
    font-weight:800;
    transition:width 1s linear;
}

.timer-icon{
    font-size:22px;
    line-height:1;
}

.categories-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}

.category-card{
    min-width:0;
    padding:10px;
    border:2px solid #d8eafa;
    border-radius:15px;
    background:#f9fcff;
    transition:.16s ease;
}

.category-card:focus-within{
    border-color:#1599f1;
    background:#eef8ff;
    box-shadow:0 5px 14px rgba(21,153,241,.12);
}

.category-card label{
    display:block;
    margin-bottom:6px;
    text-align:center;
    font-size:20px;
    font-weight:700;
}

.category-card input{
    width:100%;
    height:52px;
    padding:8px 10px;
    border:2px solid #9caab4;
    border-radius:10px;
    background:#fff;
    color:#102b43;
    outline:none;
    text-align:center;
    font-size:21px;
}

.category-card input::placeholder{color:#aab3bb}

.category-card input:focus{
    border-color:#078fee;
    box-shadow:0 0 0 4px rgba(7,143,238,.14);
}

.category-card input.input-correct{background:#41a73a;color:#fff;border-color:#41a73a}
.category-card input.input-wrong{background:#ff7070;color:#fff;border-color:#ff7070}

.finish-btn{
    width:100%;
    min-height:60px;
    margin-top:14px;
    border:0;
    border-radius:15px;
    background:linear-gradient(180deg,var(--green-1),var(--green-2));
    color:#fff;
    font-size:27px;
    font-weight:800;
    cursor:pointer;
}

/* review — ee-1 */
.review-screen .panel.review-panel{
    max-width:var(--review-width);
    margin:0 auto;
    padding:14px;
}

.review-topbar{
    display:flex;
    justify-content:center;
    margin-bottom:12px;
}

.score-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    margin-bottom:12px;
}

.summary-box{
    padding:9px 7px;
    border:1px solid #d8e9f6;
    border-radius:14px;
    background:#fbfdff;
    text-align:center;
}

.summary-box.total{
    background:linear-gradient(180deg,#fff9df,#fff3bb);
    border-color:#f2d97a;
}

.summary-label{
    display:block;
    margin-bottom:3px;
    font-size:14px;
    font-weight:800;
    color:#5d7488;
}

.summary-value{
    display:block;
    font-size:20px;
    font-weight:800;
    color:#0f7cc8;
}

.stage-switcher{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin:6px 0 14px;
}

.switch-btn{
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:linear-gradient(180deg,#43b8f2,#1490de);
    color:#fff;
    font-size:23px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 4px 0 rgba(14,105,170,.18);
}

.switch-btn:disabled{
    opacity:.35;
    cursor:default;
}

.switch-label{
    min-width:210px;
    text-align:center;
    color:#155d8c;
    font-size:22px;
    font-weight:900;
}

.answers-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
}

.answers-grid .answer-row{
    min-height:65px;
    display:grid;
    grid-template-columns:79px minmax(0,1fr) 53px;
    grid-template-areas:"cat ans review";
    align-items:stretch;
    direction:rtl;
    border:1px solid #d6e8f5;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
}

.answers-grid .category-cell{
    grid-area:cat;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7px 5px;
    background:#eaf6ff;
    color:#173e5c;
    font-size:18px;
    font-weight:900;
    border-left:1px solid #d6e8f5;
}

.answers-grid .answer-cell{
    grid-area:ans;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 7px;
    background:#fff;
    min-width:0;
}

.answers-grid .answer-box{
    width:100%;
    max-width:200px;
    min-height:41px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border-radius:12px;
    padding:7px 11px;
    font-size:20px;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
}

.answers-grid .answer-row.ok .answer-box{
    border:1px solid #bde8c6;
    background:#f2fcf4;
}

.answers-grid .answer-row.bad .answer-box{
    border:1px solid #f4c0c4;
    background:#fff4f5;
}

.answers-grid .answer-word{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
}

.answers-grid .mark{
    flex:0 0 auto;
    font-size:21px;
    font-weight:900;
    line-height:1;
}

.answers-grid .mark.ok{color:#20ae43}
.answers-grid .mark.bad{color:#ef5a62}

.answers-grid .review-cell{
    grid-area:review;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:4px 3px;
    background:#fff;
}

.review-link{
    border:0;
    background:none;
    color:#ef5a62;
    font-size:11px;
    font-weight:800;
    line-height:1.08;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
    padding:0;
}

.review-link:hover{text-decoration:underline}

.next-round-btn{
    min-height:48px;
    padding:8px 24px;
    border:0;
    border-radius:14px;
    background:linear-gradient(180deg,#24c545,#0b9e28);
    color:#fff;
    font-size:19px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 5px 0 rgba(5,119,24,.18);
}

.review-note{
    margin-top:12px;
    padding:11px 14px;
    border:1px solid #cfe5f5;
    border-radius:14px;
    background:#f5fbff;
    color:#35566e;
    font-size:14px;
    font-weight:700;
    line-height:1.55;
    text-align:center;
}

.review-note strong{
    color:#155d8c;
    font-weight:900;
}

/* finish screen */
.finish-page{
    width:calc(100% - 20px);
    max-width:560px;
    margin:4px auto 36px;
}

.finish-card{
    background:#fff;
    border:1px solid #d9eaf6;
    border-radius:22px;
    box-shadow:var(--shadow);
    padding:16px;
}

.finish-banner{
    width:100%;
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    padding:12px 18px;
    border-radius:18px;
    background:linear-gradient(180deg,#45b8f3,#168fdf);
    color:#fff;
    text-align:center;
    font-size:26px;
    font-weight:800;
    box-shadow:0 6px 0 rgba(18,110,180,.20),0 12px 20px rgba(22,143,223,.15);
}

.player-summary{
    text-align:center;
    margin-bottom:18px;
}

.player-main{
    margin:0 0 10px;
    color:#23384d;
    font-size:30px;
    font-weight:700;
}

.player-main strong{font-weight:800}

.rank-lines{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-bottom:16px;
    color:#30475c;
    font-size:20px;
    font-weight:700;
}

.rank-lines strong{color:#0f77bd}

.play-again-btn{
    min-height:52px;
    padding:10px 24px;
    border:0;
    border-radius:15px;
    background:linear-gradient(180deg,var(--green-1),var(--green-2));
    color:#fff;
    font-size:22px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 5px 0 rgba(8,120,29,.22),0 10px 18px rgba(16,165,44,.14);
    text-decoration:none;
    display:inline-block;
}

.play-again-btn:hover{transform:translateY(-1px)}

.leaderboard{margin-top:20px}

.leaderboard-title{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:16px 16px 0 0;
    background:linear-gradient(180deg,#43b8f2,#1490de);
    color:#fff;
    font-size:22px;
    font-weight:800;
    text-align:center;
}

.leaderboard-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    overflow:hidden;
    border-radius:0 0 16px 16px;
    box-shadow:0 8px 22px rgba(20,85,140,.10);
}

.leaderboard-table th,
.leaderboard-table td{
    border:1px solid #d5e7f5;
    padding:8px 6px;
    text-align:center;
    font-size:18px;
}

.leaderboard-table th{
    background:#eaf5fd;
    color:#335269;
    font-weight:800;
}

.leaderboard-table td{background:#fff}

.leaderboard-table tr:nth-child(even) td{background:#f8fcff}

.place-cell{
    width:70px;
    font-weight:800;
    color:#0d72b5;
}

.name-cell{font-weight:700}

.score-cell{
    font-weight:800;
    color:#1e3f59;
}

.leaderboard-table .top-1 td{
    background:linear-gradient(180deg,#fff9dc,#fff4bd) !important;
}

.leaderboard-table .top-2 td{
    background:linear-gradient(180deg,#f7f9fc,#edf1f5) !important;
}

.leaderboard-table .top-3 td{
    background:linear-gradient(180deg,#fff0e3,#ffe3cb) !important;
}

.leaderboard-table .current-player td{
    background:#e5f6ff !important;
    border-color:#91d0f5;
}

.medal{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:50%;
    margin-inline-start:4px;
    font-size:16px;
    font-weight:800;
}

.medal.gold{background:#ffd84a;color:#7d5600}
.medal.silver{background:#d7dee6;color:#52606d}
.medal.bronze{background:#e8a16c;color:#6b3414}

.finish-note{
    margin-top:14px;
    text-align:center;
    color:#8393a3;
    font-size:14px;
}

/* game alert modal */
.game-alert-overlay{
    position:fixed;
    inset:0;
    z-index:100000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    background:rgba(15, 35, 55, 0.72);
}

.game-alert-box{
    width:min(100%, 380px);
    padding:22px 20px 18px;
    border-radius:20px;
    background:#fff;
    border:1px solid #d9eaf6;
    box-shadow:0 16px 36px rgba(20,85,140,.18);
    text-align:center;
    animation:alertPop .22s ease;
}

@keyframes alertPop{
    from{transform:scale(.94);opacity:0}
    to{transform:scale(1);opacity:1}
}

.game-alert-icon{
    width:54px;
    height:54px;
    margin:0 auto 12px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg,#ff8a8a,#ff5c65);
    color:#fff;
    font-size:30px;
    font-weight:900;
    box-shadow:0 6px 0 rgba(180,40,48,.22);
}

.game-alert-box.is-success .game-alert-icon{
    background:linear-gradient(180deg,var(--green-1),var(--green-2));
    box-shadow:0 6px 0 rgba(8,120,29,.22);
    font-size:32px;
}

.game-alert-title{
    margin:0 0 8px;
    color:#1f3b57;
    font-size:24px;
    font-weight:800;
}

.game-alert-message{
    margin:0 0 16px;
    color:#4d647a;
    font-size:18px;
    font-weight:700;
    line-height:1.45;
}

.game-alert-btn{
    width:100%;
    min-height:48px;
    border:0;
    border-radius:14px;
    background:linear-gradient(180deg,#3db6ff,#118fe9);
    color:#fff;
    font-size:20px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 5px 0 rgba(12,112,190,.22);
}

.game-alert-btn:hover{transform:translateY(-1px)}

/* adBreak loading */
#adLoading{
    display:none;
    position:fixed;
    inset:0;
    z-index:100001;
    background:rgba(15,23,42,.82);
    backdrop-filter:blur(4px);
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
}

#adLoading.show{display:flex}

#adLoading p{
    margin:0;
    color:#fff;
    font-weight:800;
    font-size:17px;
    font-family:"Arimo",Arial,sans-serif;
}

.ad-ring{
    width:54px;
    height:54px;
    border:5px solid rgba(147,197,253,.32);
    border-top-color:#3b82f6;
    border-radius:50%;
    transform-origin:center center;
    will-change:transform;
}

@media (max-width:1320px){
    .game-ad-left,
    .game-ad-right{display:none}
    .game-layout{
        display:block;
        padding:0;
    }
    #main_container{width:100%}
    .app{
        width:calc(100% - 10px);
        margin:14px auto 28px;
    }
}

@media (max-width:640px){
    .app{
        width:calc(100% - 10px);
        margin-top:8px;
    }

    .panel{
        border-radius:15px;
        padding:10px;
    }

    .start-screen .panel,
    .lottery-screen .panel{
        padding:16px 12px 14px;
    }

    .more-versions{
        margin-top:36px;
        max-width:100%;
    }

    .more-versions-title{
        font-size:19px;
        margin-bottom:16px;
    }

    .games-strip{
        gap:14px;
    }

    .game-info{
        min-height:92px;
        padding:10px 7px 0;
    }

    .game-title{
        font-size:16px;
    }

    .game-desc{
        font-size:12px;
    }

    .game-img{
        width:88%;
        max-width:170px;
        border-radius:14px;
    }

    .solo-guide{
        margin-top:32px;
        max-width:100%;
    }

    .solo-guide-title{
        font-size:19px;
        margin-bottom:14px;
    }

    .solo-guide-card{
        padding:17px 15px;
    }

    .solo-guide-card p{
        font-size:15px;
    }

    .main-title{font-size:27px}

    .sub-title{
        margin-bottom:14px;
        font-size:15px;
    }

    .start-card{
        padding:14px 10px 12px;
        border-radius:14px;
    }

    .field-label,
    .difficulty-title{font-size:17px}

    .name-input{
        height:48px;
        max-width:none;
        margin-bottom:12px;
        font-size:18px;
    }

    .start-btn{
        min-height:48px;
        max-width:none;
        font-size:22px;
    }

    .lottery-title{
        font-size:25px;
        margin-bottom:7px;
    }

    .letter-frame{
        width:86%;
        height:186px;
        border-radius:30px;
    }

    .letter-value{
        font-size:138px;
        transform:translateY(-8px);
    }

    .lottery-status{font-size:20px}

    .letter-box{
        min-height:86px;
        margin-bottom:10px;
        font-size:40px;
    }

    .timer-track{
        height:48px;
        margin-bottom:10px;
    }

    .timer-fill{font-size:21px}

    .categories-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .category-card{
        padding:8px;
        border-radius:11px;
    }

    .category-card label{
        margin-bottom:5px;
        font-size:18px;
    }

    .category-card input{
        height:48px;
        padding:6px;
        font-size:19px;
    }

    .finish-btn{
        min-height:56px;
        font-size:24px;
    }

    .next-round-btn{
        width:100%;
        min-height:46px;
        font-size:17px;
    }

    .score-summary{gap:5px}

    .summary-box{padding:7px 4px}

    .summary-label{font-size:12px}

    .summary-value{font-size:17px}

    .switch-label{
        min-width:160px;
        font-size:19px;
    }

    .switch-btn{
        width:39px;
        height:39px;
        font-size:21px;
    }

    .answers-grid{
        grid-template-columns:1fr;
        gap:7px;
    }

    .answers-grid .answer-row{
        grid-template-columns:73px minmax(0,1fr) 49px;
        min-height:57px;
    }

    .answers-grid .category-cell{font-size:16px}

    .answers-grid .answer-box{
        max-width:205px;
        min-height:37px;
        font-size:18px;
        padding:6px 9px;
        gap:7px;
    }

    .answers-grid .mark{font-size:19px}

    .review-link{font-size:10px}

    .review-note{
        margin-top:10px;
        padding:10px 11px;
        font-size:13px;
        line-height:1.5;
    }

    .finish-page{
        width:calc(100% - 10px);
        margin-top:0;
    }

    .finish-card{
        padding:10px;
        border-radius:15px;
    }

    .finish-banner{
        min-height:54px;
        margin-bottom:14px;
        border-radius:14px;
        font-size:24px;
    }

    .player-main{font-size:27px}

    .rank-lines{font-size:18px}

    .play-again-btn{
        width:100%;
        min-height:48px;
        font-size:20px;
    }

    .leaderboard-title{
        min-height:48px;
        font-size:21px;
    }

    .leaderboard-table th,
    .leaderboard-table td{
        padding:8px 5px;
        font-size:16px;
    }

    .place-cell{width:56px}
}
