.game-screen{width:100%;min-height:100dvh;color:var(--tg-text);background:radial-gradient(ellipse at 50% 0, #25382865 0, transparent 58%), var(--tg-bg);font-family:var(--tg-font-body);padding:0 clamp(16px,3.5vw,56px) 32px}.game-screen,.game-screen *{box-sizing:border-box}.game-screen :is(a,button,input,select):focus-visible{outline:3px solid var(--tg-lime);outline-offset:4px}.game-screen-nav{border-bottom:1px solid var(--tg-line);justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:1360px;min-height:80px;margin:0 auto;display:flex}.game-screen-back,.game-screen-space{color:#bdc7bb;border-radius:9px;align-items:center;gap:9px;min-height:44px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.game-screen-back:hover,.game-screen-space:hover{color:var(--tg-lime)}.game-screen-space,.game-screen-nav-spacer{justify-content:flex-end;min-width:100px}.game-screen-back{min-width:100px}.game-screen-brand{direction:ltr;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:9px;min-height:44px;text-decoration:none;display:inline-flex}.game-screen-brand>svg{width:34px;height:34px}.game-screen-heading{justify-content:space-between;align-items:flex-end;gap:18px;width:100%;max-width:1200px;margin:0 auto;padding:clamp(22px,3vw,36px) 0 22px;display:flex}.game-screen-heading>div{min-width:0}.game-screen-heading>div>span{color:#abc29d;text-transform:uppercase;letter-spacing:1.5px;font:600 10px var(--tg-font-mono);align-items:center;gap:7px;display:flex}.game-screen-heading h1{color:var(--tg-text);font-family:var(--tg-font-display);letter-spacing:-.045em;overflow-wrap:anywhere;margin:9px 0 0;font-size:clamp(28px,3.5vw,46px);font-weight:800;line-height:1.15}.game-screen-heading>p{color:var(--tg-muted);flex-shrink:0;margin:0 0 5px;font-size:12px}.game-screen-stage{background:var(--tg-surface);border:1px solid #354333;border-radius:24px;width:100%;min-width:0;max-width:1200px;margin:0 auto;overflow:clip}.game-screen .game-player,.game-screen .generated-player{width:100%;max-width:none;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:clamp(18px,3vw,32px)}.game-screen .gp-header,.game-screen .generated-player-header{min-height:42px;margin-bottom:22px}.game-screen .gp-header h2,.game-screen .generated-player-header h2{display:none}.game-screen .generated-player-header{align-items:center}.game-screen .generated-player-header>div>span{font-size:11px}.game-screen .gp-stats{max-width:820px;margin:0 auto}.game-screen .gp-instructions{text-align:center}.game-screen .gp-card-grid{gap:clamp(9px,1.5vw,15px);width:100%;max-width:680px}.game-screen .gp-memory-card{aspect-ratio:1.35}.game-screen .gp-game-footer{width:100%;max-width:900px;margin-inline:auto}.game-screen .gp-bowling-scene{width:100%;max-width:900px;height:clamp(290px,40dvh,480px);margin-inline:auto}.game-screen .gp-aim-control{max-width:900px;margin-inline:auto}.game-screen .generated-player-stage{border-radius:16px;height:max(430px,100dvh - 340px);min-height:430px}.game-screen .generated-player-instructions{max-height:100px}.game-screen .generated-player-exit{color:var(--tg-violet);cursor:pointer;background:0 0;border:0;padding:0}.game-screen .generated-player-header .icon-button{border:1px solid var(--tg-line);background:var(--tg-surface-raised);border-radius:12px;min-width:42px;min-height:42px}.game-screen--durak .game-screen-stage{max-width:1040px}.game-screen--flux{background:#111019}.game-screen--flux .game-screen-heading{padding-block:22px 16px}.game-screen--flux .game-screen-heading h1{font-size:22px}.game-screen--flux .game-screen-stage{background:#191621;border-color:#373141}.game-screen.game-screen--flux .game-player.game-player--flux{padding:0}.game-screen-scores{gap:10px;width:100%;max-width:1200px;margin:18px auto 0;display:grid}.game-screen-scores>h2{color:var(--tg-muted);margin:0;font-size:13px;font-weight:600;line-height:1.6}.game-screen-score{color:#c8e5af;background:#1d2a1d;border:1px solid #354431;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:16px 19px;display:flex}.game-screen-score--saving{color:#bcc8b7;border-color:var(--tg-line);background:#1c251f}.game-screen-score--error{color:#e9cda3;background:#302a20;border-color:#695536}.game-screen-score-copy{align-items:flex-start;gap:11px;min-width:0;display:flex}.game-screen-score-copy>svg{flex-shrink:0;margin-top:1px}.game-screen-score-copy p{margin:0;font-size:13px;line-height:1.6}.game-screen-score-copy small{color:#ceba9a;margin-top:5px;font-size:12px;line-height:1.65;display:block}.game-screen-score-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:14px;display:flex}.game-screen-score-actions a,.game-screen-saved-link{text-underline-offset:3px;border-radius:3px;font-size:12px;text-decoration:underline}.game-screen-score-actions button{min-height:42px;color:var(--tg-text);font:600 12px var(--tg-font-body);cursor:pointer;background:#3c362a;border:1px solid #7b684c;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.game-screen-saved-link{flex-shrink:0}.game-screen-gate{text-align:center;flex-direction:column;justify-content:center;align-items:center;max-width:520px;min-height:calc(100dvh - 120px);margin:0 auto;padding:48px 0;display:flex}.game-screen-gate-icon{width:78px;height:78px;color:var(--tg-lime);background:#293720;border:1px solid #52683f;border-radius:24px;place-items:center;display:grid}.game-screen-gate h1{letter-spacing:-.04em;margin:25px 0 12px;font-size:clamp(27px,5vw,38px);line-height:1.2}.game-screen-gate p{color:var(--tg-muted);margin:0 0 25px;font-size:14px;line-height:1.7}.game-screen-primary{color:#182110;background:var(--tg-lime);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;min-height:48px;padding:12px 25px;font-family:inherit;font-size:14px;font-weight:750;text-decoration:none;display:inline-flex}.game-screen-heading--overview,.game-overview{max-width:820px}.game-overview{margin-inline:auto;padding-bottom:40px}.game-overview-hero{gap:18px;display:grid}.game-overview-hero>.game-share{margin:0}.game-overview-play{color:#172511;text-align:center;background:linear-gradient(#d9ff99 0%,#c6f96a 50%,#a9df4d 100%);border:1px solid #e2ffa8;border-radius:20px;gap:15px;width:100%;min-height:76px;padding:12px 24px;font-size:clamp(1.2rem,3vw,1.65rem);line-height:1.2;box-shadow:inset 0 2px #f1ffce,inset 0 -3px #8bba3f,0 5px #425d24,0 9px 18px #0005}.game-overview-play-icon{background:#243a1d;border-radius:15px;flex:0 0 46px;place-items:center;height:46px;display:grid;box-shadow:inset 0 1px 3px #0009,0 1px #f0ffc8}.game-overview-play:hover{background:linear-gradient(#eaffbd,#c6f96a 70%,#b4eb58)}.game-overview-play:active{box-shadow:inset 0 2px 4px #5f7d3c66,0 2px #425d24}.game-overview-upcoming{color:var(--tg-muted);margin:0}@media (forced-colors:active){.game-overview-play,.game-overview-play-icon{border:1px solid buttontext}}.game-overview-cover{aspect-ratio:3/2;object-fit:cover;border:1px solid var(--tg-line);border-radius:24px;width:100%;height:auto;display:block}.game-overview-copy{overflow-wrap:anywhere;min-width:0;margin-top:32px}.game-overview-copy p{color:var(--tg-muted);margin:0 0 24px;line-height:1.8}.game-overview-copy h2{margin:16px 0;font-size:21px}.game-overview-guide{width:fit-content;color:var(--tg-lime);text-underline-offset:4px;margin-bottom:24px;display:block}.workspace-preview{max-width:1200px;margin:0 auto;padding-block:0 40px}.workspace-preview>p{max-width:760px;color:var(--tg-muted);font-size:16px;line-height:1.8}.workspace-preview nav{flex-wrap:wrap;gap:20px;margin-top:40px;display:flex}.workspace-preview nav a{color:var(--tg-lime);text-underline-offset:4px}.game-screen-spin{animation:1.2s linear infinite game-screen-spin}@keyframes game-screen-spin{to{transform:rotate(360deg)}}html[dir=rtl] .game-screen-directional{transform:scaleX(-1)}@media (max-width:600px){.game-screen{padding:0 14px 24px}.game-screen-nav{gap:10px;min-height:68px}.game-screen-brand{gap:6px}.game-screen-brand>svg{width:28px;height:28px}.game-screen-back,.game-screen-space{gap:6px;min-width:auto;font-size:11px}.game-screen-nav-spacer{min-width:70px}.game-screen-heading{align-items:flex-start;padding:24px 3px 18px}.game-screen-heading>p{margin-top:5px;font-size:10px}.game-screen-stage{border-radius:18px}.game-screen .game-player,.game-screen .generated-player{padding:17px}.game-screen .gp-header{gap:10px}.game-screen .gp-eyebrow{letter-spacing:.8px;font-size:9px;line-height:1.6}.game-screen .gp-close{flex-shrink:0}.game-screen .gp-stats>div{padding-inline:9px}.game-screen .gp-stats span{font-size:9px}.game-screen .gp-stats strong{font-size:24px}.game-screen .gp-stats .gp-small-stat{font-size:11px}.game-screen .gp-memory-card{aspect-ratio:.82}.game-screen .gp-card-grid{gap:8px}.game-screen .gp-card-face{font-size:30px}.game-screen .gp-bowling-scene{height:clamp(290px,38dvh,390px)}.game-screen .generated-player-header>div>span{letter-spacing:.08em;font-size:9px}.game-screen .generated-player-stage{border-radius:12px;height:max(380px,100dvh - 280px);min-height:380px}.game-screen-score{flex-direction:column;align-items:flex-start;gap:12px;padding:15px}.game-screen-score-actions{justify-content:flex-end;width:100%}.game-screen-saved-link{margin-inline-start:30px}}@media (max-width:360px){.game-screen{padding-inline:10px}.game-screen-back,.game-screen-space{gap:4px;font-size:10px}.game-screen .game-player,.game-screen .generated-player{padding:13px}.game-screen-heading>p{text-align:end;max-width:75px}}@media (prefers-reduced-motion:reduce){.game-screen-spin{animation:none}}.game-screen .game-player--table{padding:clamp(10px,2vw,24px)}.game-screen--play{--game-gutter:clamp(16px, 2vw, 48px);--game-inset:clamp(16px, 2vw, 36px);--game-gap:clamp(24px, 2.5vw, 48px);max-width:none;padding-inline:var(--game-gutter);padding-bottom:var(--game-gap);margin-inline:0}.game-screen.game-screen--play :is(.game-screen-nav,.game-screen-heading,.game-screen-stage,.game-screen-scores){max-width:none}.game-screen--play .game-screen-stage{padding:var(--game-inset)}.game-screen--play .game-player,.game-screen--play .generated-player{padding:0!important}.game-screen--play :is(.harbor-game,.flux-game,.chess-game,.holdem-game,.solitaire,.wr-game){width:100%;min-width:0;max-width:none}@media (min-width:1100px){.game-screen--play :is(.harbor-layout,.hero-layout,.mp-layout,.pool-layout,.holdem-layout,.flux-layout,.prism-layout){gap:var(--game-gap);grid-template-columns:minmax(0,1fr) clamp(320px,24vw,420px)}.game-screen--play :is(.harbor-bottom,.mp-bottom,.harbor-scoreboard,.harbor-command){gap:var(--game-gap)}.game-screen--play .harbor-bottom{margin-block:var(--game-gap)}.game-screen--play .harbor-panel{padding:clamp(22px,2vw,32px)}.game-screen--play .hero-command{border-radius:18px}.game-screen--play .chess-layout{gap:var(--game-gap);grid-template-columns:minmax(0,1fr) clamp(320px,26vw,460px);align-items:start}.game-screen--play .chess-arena{justify-self:center;width:100%;max-width:840px}.game-screen--play .flux-board-wrap{max-width:760px}.game-screen--play .gp-card-grid{gap:20px;max-width:880px}.game-screen--play :is(.gp-stats,.gp-game-footer,.gp-bowling-scene,.gp-aim-control){max-width:none}.game-screen--play .gp-stats{padding-block:28px}.game-screen--play .gp-header{margin-bottom:30px}.game-screen--play :is(.sol-top,.sol-tableau){column-gap:clamp(16px,2vw,32px);width:100%;max-width:900px;margin-inline:auto}}@media (max-width:600px){.game-screen--play{--game-gutter:14px;--game-inset:12px}}@media (max-width:360px){.game-screen--play{--game-gutter:10px;--game-inset:8px}}@keyframes game-cab-bulb-a{0%{opacity:1}50%{opacity:.18}to{opacity:1}}@keyframes game-cab-bulb-b{0%{opacity:.18}50%{opacity:1}to{opacity:.18}}@keyframes game-cab-blink{0%,55%{opacity:1}56%,to{opacity:.15}}.game-cab{background:linear-gradient(#202b23,#111713);border:1px solid #34443a;border-radius:clamp(20px,2.4vw,34px);width:100%;margin:clamp(14px,2vw,26px) auto 0;padding:clamp(6px,1vw,14px);box-shadow:0 50px 90px -40px #000,0 0 0 1px #000a,inset 0 1px #ffffff14}.game-cab-marquee{background:radial-gradient(55% 120% at 50% 120%,#ffcf7a30,#0000 72%),linear-gradient(#1c2c1d,#121d17);border:1px solid #4b6a3b;border-radius:clamp(14px,1.8vw,22px) clamp(14px,1.8vw,22px) 10px 10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-bottom:clamp(6px,1vw,10px);padding:20px clamp(14px,2vw,26px) 14px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 34px #000b}.game-cab-bulbs{pointer-events:none;position:absolute;inset:0}.game-cab-bulbs i{background:radial-gradient(circle,#efffc0 0 2.4px,#c6f96a66 3px,#0000 5.5px) 0 0/28px 10px;height:10px;animation:1.3s step-end infinite game-cab-bulb-a;position:absolute;top:5px;left:14px;right:14px}.game-cab-bulbs i+i{background-position:14px 0;animation-name:game-cab-bulb-b}.game-cab-id{align-items:center;gap:12px;min-width:0;display:flex;position:relative}.game-cab-id>img{filter:drop-shadow(0 6px 8px #000a)}.game-cab-id>div{min-width:0}.game-cab-id span{color:#c6f96a;text-transform:uppercase;letter-spacing:.16em;font:700 10px var(--tg-font-mono);align-items:center;gap:7px;display:flex}.game-cab-id h1{color:var(--tg-text);font:800 clamp(22px, 2.6vw, 34px)/1.12 var(--tg-font-display);letter-spacing:-.04em;overflow-wrap:anywhere;text-shadow:0 0 24px #c6f96a40;margin:4px 0 0}.game-cab-chips{flex-wrap:wrap;gap:8px;display:flex;position:relative}.game-cab-chip{color:#c6f96a;min-height:32px;font:700 11px var(--tg-font-mono);letter-spacing:.1em;text-transform:uppercase;background:#0a0f0cd9;border:1px solid #c6f96a55;border-radius:9px;align-items:center;padding:5px 11px;text-decoration:none;display:inline-flex}.game-cab-chip--link{color:#d9cffc;border-color:#c4b5fa66;transition:background .15s,transform .15s}.game-cab-chip--link:hover{background:#2a2340;transform:translateY(-1px)}.game-cab-fullscreen{cursor:pointer;min-height:44px}.game-cab-fullscreen:hover{background:#263620}.game-cab-fullscreen-status{color:var(--tg-text);margin:0 0 8px;font-size:13px}.game-cab:fullscreen{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:0;border-radius:0;flex-direction:column;margin:0;padding:clamp(6px,1vw,14px);display:flex}.game-cab:fullscreen .game-cab-marquee{flex:none;padding-block:6px}.game-cab:fullscreen :is(.game-cab-bulbs,.game-cab-id>img,.game-cab-id span,.game-cab-strip,.game-cab-chip:not(.game-cab-fullscreen)){display:none}.game-cab:fullscreen .game-cab-id h1{margin:0}.game-cab:fullscreen .game-screen-stage{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.game-screen .game-cab:fullscreen .generated-player-stage{height:max(300px,100dvh - 200px);min-height:300px}.game-cab .game-screen-stage{border:6px solid #090c0a;border-radius:clamp(12px,1.6vw,18px);box-shadow:0 0 0 2px #2c3d31,inset 0 0 50px #0008}.game-cab-strip{color:#8c968f;font:600 11px var(--tg-font-mono);letter-spacing:.16em;text-transform:uppercase;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 8px 2px;display:flex}.game-cab-strip>span:first-child{color:#c6f96a;animation:1.6s step-end infinite game-cab-blink}.game-screen--play .game-screen-score{color:#c6f96a;font-family:var(--tg-font-mono);background:#0b0f0d;border-color:#2f3b31;border-radius:16px;box-shadow:inset 0 0 40px #000}.game-screen--play .game-screen-score--error{color:#e9cda3;background:#1c1610;border-color:#695536}.game-screen--play .game-page-content{margin-top:clamp(28px,4vw,52px)}.game-screen--play .game-page-jump{border:0;gap:8px;padding:0}.game-screen--play .game-page-jump a{color:#c9d0c8;background:#171c1a;border:1.5px solid #2f3a32;border-radius:13px;align-items:center;min-height:42px;padding:0 16px;font-weight:700;text-decoration:none;transition:border-color .15s,color .15s,transform .15s;display:inline-flex}.game-screen--play .game-page-jump a:hover{color:#c6f96a;border-color:#c6f96a;transform:translateY(-1px)}.game-screen--play .game-page-panel{background:radial-gradient(at 50% 0,#2a3b2733 0,#0000 62%),#171c1a;border-color:#2f3b31;border-radius:26px}.game-screen--play .game-page-panel h2{font-family:var(--tg-font-display);letter-spacing:-.035em;font-weight:800}.game-screen--play .game-page-content .game-page-button{color:#172511;background:linear-gradient(#d9ff99,#c6f96a 50%,#a9df4d);border:1px solid #e2ffa8;border-radius:14px;font-weight:800;transition:transform .12s,box-shadow .12s;box-shadow:inset 0 2px #f1ffce,inset 0 -3px #8bba3f,0 4px #425d24}.game-screen--play .game-page-content .game-page-button:hover{transform:translateY(-2px)}.game-screen--play .game-page-content .game-page-button:active{transform:translateY(3px);box-shadow:inset 0 2px #f1ffce,0 1px #425d24}.game-screen--play .game-scoreboard table{font-family:var(--tg-font-mono)}.game-screen--play .game-scoreboard td:last-child{color:#c6f96a;text-shadow:0 0 12px #c6f96a66;font-weight:800}@media (max-width:600px){.game-cab{border-radius:18px;padding:5px}.game-cab-marquee{padding:18px 12px 10px}.game-cab-id>img{flex-basis:36px!important;width:36px!important;height:36px!important}.game-cab .game-screen-stage{border-width:3px}.game-cab-strip{padding-inline:4px;font-size:9px}}@media (forced-colors:active){.game-cab,.game-cab-marquee,.game-cab-chip{border:1px solid canvastext}}@media (prefers-reduced-motion:reduce){.game-cab-bulbs i,.game-cab-strip>span:first-child{animation:none}.game-cab-chip--link{transition:none}}
