@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-hebrew-wght-normal-DdnsCkLr.woff2)format("woff2-variations");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-latin-ext-wght-normal-CYrqKuxd.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-latin-wght-normal-DM6njrJ3.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font:"Fredoka Variable", ui-rounded, "Segoe UI", system-ui, sans-serif;--radius:20px;--gutter:16px;--accent-ink:var(--accent)}[data-theme=night]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14162b;--surface:#20233f;--surface-2:#2b2f52;--edge:#0d0f20;--ink:#f6f3ec;--muted:#aeb1cf;--x:#ff6b6b;--o:#3ddbc0;--accent:#ffc94d;--on-accent:#2a1f00;--good:#3ddbc0;--bad:#ff8a8a}[data-theme=paper]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6efe0;--surface:#fffaf0;--surface-2:#efe5d0;--edge:#d9cdb4;--ink:#2b2a33;--muted:#686472;--x:#d43d3a;--o:#14806f;--accent:#f2a71b;--on-accent:#2a1f00;--accent-ink:#8a5a00;--good:#14806f;--bad:#c0322f}[data-theme=neon]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0a0614;--surface:#1a1030;--surface-2:#2a1c4a;--edge:#05020c;--ink:#f5efff;--muted:#b3a6d6;--x:#ff2bd6;--o:#2bf0ff;--accent:#c6ff3d;--on-accent:#142000;--good:#2bf0ff;--bad:#ff7ae5}[data-theme=candy]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#ffe9f3;--surface:#fff7fb;--surface-2:#ffd9ea;--edge:#f5bcd6;--ink:#3d1d3a;--muted:#80587c;--x:#e0267f;--o:#5b4bd6;--accent:#ffb020;--on-accent:#2a1f00;--accent-ink:#8f5500;--good:#5b4bd6;--bad:#c21869}[data-theme=forest]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#10231b;--surface:#1a342a;--surface-2:#26483a;--edge:#09150f;--ink:#f0f5e8;--muted:#a5bda9;--x:#ffb454;--o:#8fe36b;--accent:#ffe08a;--on-accent:#2a2200;--good:#8fe36b;--bad:#ffa58a}[data-theme=retro]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1b1b1b;--surface:#2a2a2a;--surface-2:#3a3a3a;--edge:#0b0b0b;--ink:#f4f4e8;--muted:#b5b5a5;--x:#ffe14d;--o:#57e389;--accent:#ff7a59;--on-accent:#2a0d00;--good:#57e389;--bad:#ff9c85}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--ink);font-family:var(--font);margin:0}body{overscroll-behavior-y:none;min-height:100dvh}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0}button:disabled{cursor:default}h1,h2,p{margin:0}small{color:var(--muted);font-size:.82rem;font-weight:400;line-height:1.3;display:block}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:8px}.screen{max-width:460px;min-height:100dvh;padding:calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.topbar{grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;display:grid}.topbar h1{text-align:center;font-size:1.2rem;font-weight:600}.topbar-right{justify-content:flex-end;display:flex}.icon-btn{background:var(--surface);border-radius:14px;width:44px;height:44px;font-size:1.3rem}.home-top{justify-content:space-between;align-items:center;display:flex}.brand h1{letter-spacing:-.02em;font-size:2.3rem;font-weight:700;line-height:1}.brand span{color:var(--muted);font-size:.95rem}.brand-big{text-align:center;margin-bottom:8px}.brand-big h1{font-size:3.4rem}.avatar-btn{background:var(--surface);border-radius:50%;width:50px;height:50px;font-size:1.5rem}.hero{background:var(--surface);border-radius:var(--radius);flex-direction:column;align-items:stretch;gap:12px;padding:16px;display:flex}.segmented{background:var(--surface-2);border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.segmented button{min-height:42px;color:var(--muted);border-radius:11px;font-weight:500;transition:background .15s}.segmented button.on{background:var(--bg);color:var(--ink)}.hint{color:var(--muted);font-size:.88rem;line-height:1.35}.center{text-align:center}.btn{border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 18px;font-size:1.02rem;font-weight:600;transition:transform 80ms,box-shadow 80ms,opacity .15s;display:flex}.btn:disabled{opacity:.55}.btn-primary{background:var(--accent);color:var(--on-accent);box-shadow:0 5px 0 color-mix(in srgb, var(--accent) 60%, black)}.btn-primary:active:not(:disabled){box-shadow:0 1px 0 color-mix(in srgb, var(--accent) 60%, black);transform:translateY(4px)}.btn-big{min-height:64px;font-size:1.35rem}.btn-ghost{background:var(--surface-2)}.btn-link{color:var(--muted);text-underline-offset:3px;background:0 0;min-height:44px;font-weight:500;text-decoration:underline}.btn-social{color:#1f1f1f;background:#fff;border:1px solid #dadce0}.btn-facebook{color:#fff;background:#1877f2;border-color:#1877f2}.danger{color:var(--bad)}.chip{background:var(--surface-2);border-radius:999px;align-self:center;min-height:40px;padding:6px 14px;font-size:.92rem}.chip strong{font-weight:600}.grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.grid>:only-child{grid-column:1/-1}.tile{background:var(--surface);border-radius:var(--radius);text-align:left;flex-direction:column;gap:2px;min-height:104px;padding:14px;display:flex}.tile strong{font-weight:600}.tile-accent{background:var(--surface-2)}.resume{background:var(--accent);color:var(--on-accent);border-radius:14px;padding:12px 14px;font-size:.95rem}.gate{justify-content:center;gap:18px}.field{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.field select,.field input,.join input{background:var(--surface);border:2px solid var(--surface-2);border-radius:14px;width:100%;min-height:48px;padding:8px 12px}.seats{grid-template-columns:1fr 1fr;gap:10px;display:grid}.seat{background:var(--surface);border:2px solid #0000;border-radius:16px;align-items:center;gap:8px;min-width:0;padding:8px 10px;transition:border-color .2s;display:flex}.seat.active{border-color:var(--accent)}.seat-mark{flex:none;place-items:center;width:28px;height:28px;font-size:1.2rem;display:grid}.seat-mark .piece line,.seat-mark .piece circle{stroke-dashoffset:0;animation:none}.seat-text{flex:1;min-width:0}.seat-text strong{overflow-wrap:anywhere;font-size:.9rem;font-weight:500;line-height:1.2;display:block}.seat-score{font-size:1.3rem;font-weight:700}.status{text-align:center;min-height:1.6em;font-size:1.25rem;font-weight:600}.status strong{color:var(--accent-ink)}.timer-track{background:var(--surface);border-radius:3px;height:6px;margin-top:-6px;overflow:hidden}.timer-fill{background:var(--o);height:100%;transition:width .2s linear}.timer-fill.low{background:var(--x)}.board{aspect-ratio:1;touch-action:manipulation;flex:none;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;display:grid;position:relative}.cell{background:var(--surface);box-shadow:0 5px 0 var(--edge);border-radius:18px;place-items:center;min-width:0;min-height:0;padding:0;transition:transform 80ms,box-shadow 80ms,background .15s;display:grid;position:relative}@media (hover:hover){.cell:not(.filled):not(:disabled):hover{background:var(--surface-2)}}.cell:not(.filled):not(:disabled):active{box-shadow:0 1px 0 var(--edge);transform:translateY(4px)}.cell.last{background:var(--surface-2)}.cell.winning{background:color-mix(in srgb, var(--accent) 25%, var(--surface))}.cell.hint-cell{outline:3px dashed var(--accent);outline-offset:-6px;animation:1s ease-in-out infinite alternate glow}.cell.wrong{background:color-mix(in srgb, var(--bad) 35%, var(--surface));animation:.4s shake}.cell.fading .piece,.cell.fading .piece-emoji{animation:1.1s ease-in-out infinite fade-pulse}.piece{fill:none;stroke-width:15px;stroke-linecap:round;width:88%;height:88%}.piece-x{stroke:var(--x)}.piece-o{stroke:var(--o)}.piece line,.piece circle{stroke-dasharray:1;stroke-dashoffset:1px;animation:.22s ease-out forwards draw}.piece line:nth-child(2){animation-delay:.1s}.piece-emoji{font-size:clamp(2.6rem,17vw,5rem);line-height:1;animation:.2s ease-out pop}.seat-mark .piece-emoji{font-size:1.2rem;animation:none}.win-line{pointer-events:none;fill:none;stroke-width:2.6px;stroke-linecap:round;position:absolute;inset:0}.win-line line{stroke-dasharray:1;stroke-dashoffset:1px;stroke:var(--accent);animation:.35s ease-out .15s forwards draw}.tools{flex-direction:column;align-items:center;gap:8px;min-height:44px;display:flex}.reactions{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.reactions button{background:var(--surface);border-radius:12px;width:44px;height:44px;font-size:1.3rem}.resign-confirm{align-items:center;gap:12px;display:flex}.resign-confirm .btn{width:auto;padding:4px 8px}.bubble{pointer-events:none;z-index:5;font-size:3.4rem;animation:1.6s ease-out forwards float;position:fixed;top:22%}.bubble.mine{left:24%}.bubble.theirs{right:24%}.sheet-wrap{background:color-mix(in srgb, var(--bg) 55%, transparent);z-index:10;justify-content:center;align-items:flex-end;animation:.25s .5s both fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:460px;padding:22px var(--gutter) calc(18px + env(safe-area-inset-bottom));text-align:center;border-radius:26px 26px 0 0;flex-direction:column;gap:12px;max-height:92dvh;animation:.3s cubic-bezier(.2,.9,.3,1.2) .5s both rise;display:flex;overflow-y:auto}.sheet h2{font-size:2rem;font-weight:700}.sheet-win h2{color:var(--accent-ink)}.sheet-lose h2{color:var(--x)}.sheet-detail{color:var(--muted)}.sheet-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.sheet-actions .btn-primary{grid-column:1/-1}.sheet-actions .btn{padding-inline:8px;font-size:.95rem}.sheet-actions .btn-primary{font-size:1.1rem}.up{color:var(--good);font-size:1.15rem;font-weight:600}.down{color:var(--bad);font-size:1.15rem;font-weight:600}.confetti{pointer-events:none;z-index:11;width:100%;height:100%;position:fixed;inset:0}.panel{background:var(--surface);border-radius:var(--radius);flex-direction:column;gap:10px;padding:16px;display:flex}.panel h2{font-size:1.1rem;font-weight:600}.panel .panel h2{margin-top:8px}.stack{flex-direction:column;gap:10px;display:flex}.callout{background:var(--surface);text-align:center;border-radius:14px;padding:12px}.join{grid-template-columns:1fr auto;gap:8px;display:grid}.join input{text-align:center;letter-spacing:.25em;text-transform:uppercase;min-width:0;font-weight:600}.join input::placeholder{letter-spacing:.1em;color:var(--muted);font-weight:400}.join .btn{width:auto}.option-card{text-align:left;background:var(--surface);border-radius:var(--radius);align-items:center;gap:14px;padding:16px;display:flex}.option-card>span{font-size:2rem}.option-card strong{font-size:1.1rem;font-weight:600}.empty{text-align:center;flex-direction:column;align-items:center;gap:12px;margin:auto 0;padding:28px 8px;display:flex}.empty>span{font-size:3.2rem}.empty h2{font-size:1.3rem;font-weight:600}.empty p{color:var(--muted)}.pulse{animation:1.2s ease-in-out infinite pulse}.pulse-text{animation:1.6s ease-in-out infinite pulse-op}.room-code{letter-spacing:.14em;color:var(--accent-ink);-webkit-user-select:all;user-select:all;font-size:2.8rem;font-weight:700}.attempts{justify-content:center;gap:8px;display:flex}.attempts span{background:var(--surface-2);border-radius:4px;width:30px;height:8px}.attempts span.used{background:var(--x)}.attempts span.good{background:var(--good)}.accuracy{text-align:center;justify-content:center;gap:28px;display:flex}.accuracy strong{color:var(--accent-ink);font-size:2rem;font-weight:700;line-height:1}.review-card{background:var(--surface);border-left:5px solid var(--muted);border-radius:16px;min-height:86px;padding:12px 14px}.review-card strong{font-weight:600}.review-card p{color:var(--muted);margin-top:2px;line-height:1.35}.review-card.tone-good{border-color:var(--good)}.review-card.tone-bad{border-color:var(--bad)}.stepper{grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;display:grid}.move-dots{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.dot{background:var(--surface);border-bottom:3px solid var(--muted);border-radius:10px;width:34px;height:34px;font-size:.82rem;font-weight:600}.dot.tone-good{border-color:var(--good)}.dot.tone-bad{border-color:var(--bad)}.dot.on{background:var(--surface-2);outline:2px solid var(--accent)}.my-rank{background:var(--surface);border:2px solid var(--accent);border-radius:var(--radius);align-items:center;gap:12px;padding:12px 14px;display:flex}.my-rank-avatar{font-size:2rem}.my-rank div{flex:1;min-width:0}.my-rank strong{font-weight:600}.my-rank b{font-size:1.4rem}.ranking{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ranking li{background:var(--surface);border-radius:14px;align-items:center;gap:10px;padding:8px 12px;display:flex}.ranking li.me{outline:2px solid var(--accent)}.ranking li>b{text-align:center;width:24px;color:var(--muted)}.ranking li>span{font-size:1.4rem}.ranking li>div{flex:1;min-width:0}.ranking strong{font-weight:500}.ranking em{white-space:nowrap;font-style:normal;font-weight:600}.profile-head{align-items:center;gap:12px;display:flex}.profile-head>span{font-size:2.4rem}.profile-head strong{font-size:1.1rem;font-weight:600}.nick-row{gap:10px;display:flex}.avatar-grid{grid-template-columns:repeat(8,1fr);gap:4px;display:grid}.avatar-grid button{aspect-ratio:1;border-radius:10px;min-width:0;padding:0;font-size:1.15rem}.avatar-grid button.on{background:var(--surface-2);outline:2px solid var(--accent)}.stats{text-align:center;grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.stats strong{font-size:1.3rem;font-weight:600}.themes{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.theme{border:2px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:6px;display:flex}.theme.on{border-color:var(--accent)}.swatch{border-radius:10px;justify-content:center;align-items:center;gap:6px;width:100%;height:48px;font-size:1.05rem;font-weight:700;display:flex}.swatch i{font-style:normal}.swatch-plain{background:var(--surface-2)}.toggle{justify-content:space-between;align-items:center;min-height:44px;display:flex}.toggle input{width:22px;height:22px;accent-color:var(--accent)}.legal{justify-content:center;gap:20px;display:flex}.legal a{color:var(--muted);padding:8px}.danger-zone{background:0 0;padding:0 0 8px}.premium-head{text-align:center;padding:8px 0}.premium-head>span{font-size:3rem}.premium-head h2{font-size:1.7rem;font-weight:700}.premium-head p{color:var(--muted)}.benefits{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.benefits li{background:var(--surface);border-radius:14px;align-items:center;gap:12px;padding:10px 14px;display:flex}.benefits li>span{font-size:1.5rem}.benefits strong{font-weight:600}.house-ad{background:var(--surface-2);text-align:left;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:.92rem;display:flex}.house-ad strong{white-space:nowrap;color:var(--accent-ink)}.ad-box small{text-align:center;margin-bottom:4px;display:none}.ad-box:has(ins[data-ad-status=filled]) small{display:block}.sheet .ad-box{margin-top:18px}.ad-box:has(ins[data-ad-status=unfilled]){display:none}.toast{left:50%;bottom:calc(22px + env(safe-area-inset-bottom));background:var(--ink);width:min(92vw,420px);color:var(--bg);text-align:center;z-index:20;border-radius:14px;padding:12px 16px;animation:.2s both rise;position:fixed;transform:translate(-50%)}@keyframes draw{to{stroke-dashoffset:0}}@keyframes pop{0%{transform:scale(.4)}to{transform:scale(1)}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(40px)}}@keyframes fade-pulse{0%,to{opacity:.85}50%{opacity:.25}}@keyframes glow{to{outline-color:var(--ink)}}@keyframes pulse{50%{transform:scale(1.15)}}@keyframes pulse-op{50%{opacity:.45}}@keyframes shake{20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}@keyframes float{0%{opacity:0;transform:translateY(20px)scale(.5)}20%{opacity:1;transform:translateY(0)scale(1.1)}to{opacity:0;transform:translateY(-50px)scale(1)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}.cell.fading .piece,.cell.fading .piece-emoji{opacity:.45;animation:none}}.game-grid,.game-info,.game-tools{flex-direction:column;gap:14px;display:flex}.timer-track{margin-top:0}html{touch-action:manipulation;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input{-webkit-user-select:text;user-select:text;font-size:16px}select{font-size:16px}.bonus{text-align:left;background:var(--accent);color:var(--on-accent);border-radius:16px;align-items:center;gap:12px;padding:12px 14px;animation:.3s both rise;display:flex}.bonus>span{font-size:1.8rem}.bonus div{flex:1;min-width:0}.bonus strong{font-weight:700}.bonus small{color:inherit;opacity:.85}.bonus em{text-underline-offset:3px;font-style:normal;font-weight:700;text-decoration:underline}.player-level{flex-direction:column;gap:2px;min-width:46px;display:flex}.player-level b{color:var(--accent-ink);font-size:.78rem;font-weight:700;line-height:1}.player-level i{background:var(--surface-2);border-radius:2px;height:4px;display:block;overflow:hidden}.player-level u{background:var(--accent);height:100%;display:block}.coin-btn{align-items:center;gap:10px;display:flex}.adventure-total{font-size:1.2rem;font-weight:600}.levels{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;display:grid}.level{background:var(--surface-2);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:10px 6px;display:flex}.level strong{font-size:.86rem;font-weight:500;line-height:1.2}.level.locked{opacity:.5}.level.done{outline:2px solid var(--good);outline-offset:-2px}.level-avatar{font-size:1.8rem}.level-stars{min-height:1.2em}.taunt{text-align:center;color:var(--muted);font-style:italic}.tip-steps{text-align:left;flex-direction:column;gap:10px;line-height:1.4;display:flex}.sheet-now,.sheet-now .sheet{animation-delay:0s}.install{position:relative}.install strong{padding-right:34px;font-weight:600}.install ol{color:var(--muted);flex-direction:column;gap:4px;margin:0;padding-left:20px;line-height:1.35;display:flex}.install b{color:var(--ink);font-weight:600}.install-close{background:0 0;width:36px;height:36px;font-size:1rem;position:absolute;top:8px;right:8px}.coins{white-space:nowrap;font-weight:600}.coin-btn{background:var(--surface);border-radius:999px;min-height:44px;padding:0 14px}.home-top-right{align-items:center;gap:8px;display:flex}.home-grid,.home-side{flex-direction:column;gap:14px;display:flex}.tile{position:relative}.badge{background:var(--accent);min-width:24px;height:24px;color:var(--on-accent);border-radius:12px;place-items:center;padding:0 6px;font-size:.85rem;font-style:normal;font-weight:700;display:grid;position:absolute;top:10px;right:10px}.premium-strip{background:var(--surface-2);text-align:left;border-radius:14px;padding:12px 14px}.premium-strip strong{color:var(--accent-ink);font-weight:600}.consent p{line-height:1.35}.consent-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.segmented-3{grid-template-columns:repeat(3,1fr)}.missions{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.missions li{align-items:center;gap:12px;display:flex}.mission-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.mission-text strong{font-weight:500;line-height:1.25}.progress{background:var(--surface-2);border-radius:3px;height:6px;overflow:hidden}.progress i{background:var(--good);height:100%;transition:width .3s;display:block}.btn-small{white-space:nowrap;flex:none;width:auto;min-height:42px;padding:6px 14px;font-size:.92rem}.claimed{color:var(--good);white-space:nowrap;font-weight:600}.power-icon{font-size:1.7rem}.owned-count{color:var(--muted);font-weight:400}.price{color:var(--ink);font-weight:500}.powers{grid-template-columns:repeat(3,1fr);gap:8px;width:100%;display:grid}.power{background:var(--surface);text-align:left;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;min-width:0;min-height:48px;padding:6px 10px;display:grid}.power:disabled{opacity:.45}.power.on{outline:3px solid var(--accent)}.power small{color:var(--ink);text-overflow:ellipsis;overflow:hidden}.power b{color:var(--accent-ink);font-weight:700}.shield-mark{font-size:1.4rem;position:absolute;top:6px;right:8px}.cell.shielded{outline:3px solid var(--o);outline-offset:-6px}.btn-accent-outline{border:2px solid var(--accent);grid-column:1/-1;font-size:.95rem}.plans{gap:12px;display:grid}.plan{background:var(--surface);border-radius:var(--radius);border:2px solid #0000;flex-direction:column;gap:8px;padding:16px;display:flex;position:relative}.plan-best{border-color:var(--accent)}.plan em{background:var(--accent);color:var(--on-accent);border-radius:999px;padding:2px 10px;font-size:.78rem;font-style:normal;font-weight:600;position:absolute;top:-11px;left:16px}.plan h3{margin:0;font-size:1.05rem;font-weight:600}.plan-price{font-size:1.7rem;font-weight:700}.plan-price small{font-size:.9rem;display:inline}.btn{text-decoration:none}.panels{flex-direction:column;gap:14px;display:flex}body.has-banner .screen{padding-bottom:80px}@media (width>=620px){:root{--gutter:24px}.screen{max-width:680px}.game-board .board{max-width:520px;margin:0 auto}.plans{grid-template-columns:repeat(2,1fr);align-items:stretch}.plan .btn:first-of-type{margin-top:auto}.benefits{grid-template-columns:1fr 1fr;display:grid}.themes{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}}@media (width>=900px){.screen{max-width:760px;padding-top:28px}.screen-wide,.screen-home{max-width:1040px}.screen-home{justify-content:center}.screen:has(.game-grid){max-width:1080px}.home-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start;gap:20px;display:grid}.hero{padding:24px;position:sticky;top:20px}.brand h1{font-size:2.8rem}.panels{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.tile:hover,.mode-row:hover,.option-card:hover,.premium-strip:hover,.power:hover:not(:disabled){filter:brightness(1.12)}.btn:hover:not(:disabled){filter:brightness(1.08)}.game-grid{grid-template:"board info""board tools"1fr/minmax(0,1fr) 340px;align-items:start;gap:16px 28px;display:grid}.game-info{flex-direction:column;grid-area:info;gap:14px;display:flex}.game-board{grid-area:board;justify-content:center;display:flex}.game-board .board{width:min(100%,100dvh - 130px);max-width:none;margin:0}.game-tools{flex-direction:column;grid-area:tools;gap:12px;display:flex}.seats,.powers{grid-template-columns:1fr}.status{text-align:left}.sheet-wrap{align-items:center}.sheet{border-radius:26px;max-width:440px;padding:28px}.ranking,.my-rank{max-width:680px}}@media (orientation:landscape) and (height<=520px){.screen{gap:8px;max-width:none;padding-top:8px;padding-bottom:8px}.topbar{grid-template-columns:40px 1fr 40px}.icon-btn{width:40px;height:40px}.game-grid{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"board info""board tools";align-items:start;gap:8px 16px;display:grid}.game-info{flex-direction:column;grid-area:info;gap:8px;display:flex}.game-board{grid-area:board}.game-board .board{gap:6px;width:calc(100dvh - 76px)}.game-tools{grid-area:tools}.cell{box-shadow:0 3px 0 var(--edge);border-radius:12px}.status{min-height:0;font-size:1.05rem}.home-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.sheet-wrap{align-items:center}.sheet{border-radius:20px;max-width:520px;max-height:96dvh;padding:14px}.sheet h2{font-size:1.4rem}}.bonus{padding:10px 14px}.bonus>strong{flex:1;min-width:0;font-weight:700}.hero{gap:14px}.segmented+.hint{min-height:0;margin-top:6px}.grid{gap:10px}.tile{flex-direction:row;align-items:center;gap:10px;min-height:58px;padding:10px 12px}.tile span{font-size:1.35rem}.tile strong{font-size:.95rem;line-height:1.15}.badge{flex:none;margin-left:auto;position:static}.seat-text strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.status{min-height:1.4em}.sheet-wrap{background:color-mix(in srgb, var(--bg) 25%, transparent)}.sheet{gap:10px;padding-top:16px}.sheet h2{font-size:1.6rem}.result-stars{letter-spacing:2px;font-size:1.5rem}.sheet-detail{flex-direction:column;gap:2px;font-size:.95rem;display:flex}.sheet-detail .up,.sheet-detail .down{font-size:1.05rem}.sheet-actions .btn{min-height:44px}@media (width>=900px){.tile{min-height:72px}}.picker{flex-direction:column;gap:6px;display:flex}.picker-label{color:var(--muted);font-size:.82rem;font-weight:600}.hero-title{font-size:1.1rem;font-weight:600}.segmented-4{grid-template-columns:repeat(4,minmax(0,1fr))}.segmented-4 button{padding:0 2px;font-size:.86rem}.section-title{margin-top:2px;font-size:1rem;font-weight:600}.modes{flex-direction:column;gap:8px;display:flex}.mode-row{background:var(--surface);text-align:left;border-radius:16px;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 14px;display:flex}.mode-row>span{text-align:center;flex:none;width:36px;font-size:1.8rem;line-height:1}.mode-row div{flex:1;min-width:0}.mode-row strong{font-size:1.02rem;font-weight:600;line-height:1.25;display:block}.mode-row>i{color:var(--muted);flex:none;font-size:1.4rem;font-style:normal}.panel .option-card{background:var(--surface-2);width:100%;padding:14px}.option-card>div{flex:1;min-width:0}.option-card small{margin-top:2px}.option-go{background:var(--accent);color:var(--on-accent);border-radius:999px;flex:none;padding:6px 12px;font-size:.9rem;font-style:normal;font-weight:600}@media (width>=900px){.modes{grid-template-columns:1fr 1fr;gap:10px;display:grid}}.segmented button.on{background:var(--surface);box-shadow:inset 0 0 0 2px var(--accent);font-weight:600}.grant-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.grant-actions .btn{padding-inline:6px}.grant-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.grant-list li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.grant-list .btn{overflow-wrap:anywhere;text-align:left;width:auto;min-width:0;padding-inline:0}
