/* Approved Derbyo foundation shared by the catalogue, room, match and documents. */
:root{--bg:var(--dy-bg);--ink:var(--dy-text);--text:var(--dy-text);--panel:var(--dy-panel);--muted:var(--dy-muted);--stroke:var(--dy-border);--line:var(--dy-border);--mint:var(--dy-primary);--lime:var(--dy-primary);--red:var(--dy-primary);--coral:var(--dy-primary);--mint-deep:#d74156}
body{background:radial-gradient(ellipse at 80% 0,#10283e 0,transparent 45%),var(--dy-bg);color:var(--dy-text)}
.shell{width:min(1300px,calc(100% - 64px))}.header{border-bottom-color:#2c4057;height:100px}.brand-ball{display:none}.brand b{font-size:30px;letter-spacing:-1.5px}.brand-period{color:var(--dy-primary)}.brand small{font-size:7px;letter-spacing:2px}.beta-badge{color:var(--dy-muted);border-color:#38516b}.icon-button{min-height:42px}.dh-header-menu summary{min-width:42px;min-height:42px}
.dy-icon{width:28px;height:28px;object-fit:contain;flex:0 0 28px;filter:saturate(.3) contrast(.82) brightness(.94);opacity:.94;vertical-align:middle}.ui-art{object-fit:contain;filter:saturate(.45);background:transparent}.button .ui-art{mix-blend-mode:luminosity}
.button,.dh-play,.dh-header-join{isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:14px;border:1px solid #ffffff24;font-weight:750;box-shadow:inset 0 1px 1px #ffffff45,inset 0 -3px 2px #0002,0 3px 0 #02081066,0 7px 16px #0002}
.button.lime,.button.primary,.dh-play.primary,.dh-play.default,.button.lime:hover:not(:disabled),.dh-play.primary:hover,.dh-play.default:hover{background:linear-gradient(165deg,#ff8993,#ff6475 40%,#e9465a);color:#07131e;border-color:#ffffff24;box-shadow:inset 0 1px 1px #ffffff45,inset 0 -3px 2px #0002,0 3px 0 #02081066,0 7px 16px #0002}
.dh-header-join,.dh-header-join:hover,.button.join-code,.button.join-code:hover,#entry-form:has(input[name=code]) .entry-submit{background:linear-gradient(165deg,#84f2c5,#40dfaa 42%,#20bf91);color:#07131e;border-color:#ffffff35}
.button.outline,.dh-play.secondary{background:linear-gradient(165deg,#30485f,#1d3044 45%,#142337);color:var(--dy-text);border-color:#496079}
.button.ghost{box-shadow:none;background:transparent;color:#b9cadd}.button.ghost:hover{background:#182c40}.button.small{min-height:42px}.button:disabled,.dh-play:disabled{background:#152031;color:#8f9fb0;box-shadow:none;border-color:#2b3b4e;opacity:.65}.button .dy-icon,.dh-header-join .dy-icon,.dh-play.primary .dy-icon,.dh-play.default .dy-icon{mix-blend-mode:luminosity}.dh-play .dy-icon{margin-left:auto}.dh-play.default{font-size:13px}.dh-card-actions{gap:8px}
:focus-visible{outline:3px solid var(--dy-focus);outline-offset:4px}input,select,textarea{font-size:16px!important;accent-color:var(--dy-primary)}
.dh-hero{min-height:410px;gap:36px;padding:32px 0 38px}.dh-hero h1{font-size:clamp(38px,4.5vw,62px);font-weight:900;line-height:1.02;letter-spacing:-2.4px}.dh-hero h1 em{color:var(--dy-primary)}.dh-kicker,.eyebrow{color:#a8b8ca}.dh-kicker>span{background:var(--dy-primary)}.dh-lead{color:#bdcad9}.lab-hero-art{height:360px;background:transparent;box-shadow:none;overflow:visible}.hero-ball{mask-image:radial-gradient(ellipse,#000 30%,transparent 72%);object-fit:cover;opacity:1}.lab-hero-art:after{display:none}.hero-tag{color:#b8c9dc;left:32px}.hero-tag b{color:#f4f7fc}.lab-hero-actions{margin-top:26px}.data-stamp{color:#9eb1c6}
.dh-card,.entry-aside,.preset-card,.join-ticket,.seat-card,.lobby-controls,.spectator-panel,.answer-panel,.round-result,.event-log,.manual-settings{background:linear-gradient(155deg,#182c40,#102031 42%,#0d1927);border-color:#2c4057;border-top-color:#415469;box-shadow:inset 0 1px #ffffff09,inset 0 -1px #0003,0 16px 36px #0003;border-radius:18px}
.dh-card:hover{border-color:#59748e;box-shadow:0 18px 36px #0004}.dh-card-body{padding:22px}.dh-card h2{font-size:23px}.dh-card-body>p{color:#b8c8d9}.dh-cover{height:190px}.dh-card-type{background:#071321dc;color:#e3edf7}.dh-online-tag{background:#132b40;color:#cee7fc}.dh-online-tag i{background:#85c7f4}.dh-filter{min-height:46px;border-color:#344b62;color:#c1d0df;background:#101e2e}.dh-filter[aria-pressed=true]{background:linear-gradient(165deg,#ff8993,#ff6475 40%,#e9465a);color:#07131e;border-color:#ff9aa4;box-shadow:inset 0 1px #ffffff44,0 3px #0003}.dh-filter[aria-pressed=true] span{background:#57152b22;color:#35121a}
.preset-card.selected{border-color:#ff6a7a;background:linear-gradient(145deg,#332738,#172337);box-shadow:inset 0 0 0 1px #ff647544}.preset-card.selected:after{color:#ff8b98}.form-label input,.manual-settings select,.join-ticket>input,#answer-input{background:#07121f;border-color:#425c76;color:var(--dy-text)}.join-ticket>input{font-size:clamp(30px,4vw,48px)!important;color:#e6f5ff}.join-ticket input::placeholder{color:#6c8299}.bot-consent{background:#192d41}.room-invite{background:linear-gradient(155deg,#233a4e,#102031);border-color:#46627d}.room-code{color:#e8f2ff}.seat-card.mine{background:linear-gradient(120deg,#203b50,#102031);border-color:#78aace}.seat-card.side-0.mine{background:linear-gradient(120deg,#3d2936,#102031);border-color:#dc7a8b}.seat-card.empty{background:#0d1927}.member-avatar{background:linear-gradient(145deg,#42617e,#1c324a);color:#e0efff;border-color:#5c7c9b}.side-0 .member-avatar{background:linear-gradient(145deg,#875061,#3f293b);color:#ffe5e9;border-color:#a9697d}.match-player.turn{background:linear-gradient(120deg,#23445a,#112438);border-color:#81bdeb}.match-player.turn.side-0{background:linear-gradient(120deg,#452a3c,#172237);border-color:#ed8595}.match-timer{background:#102337;border-color:#496780}.match-timer>span{color:#e0efff}.board-cell{background:linear-gradient(155deg,#21394f,#0b192b);border-color:#38516b;color:#b9cee2;box-shadow:inset 0 1px #ffffff0b}.board-cell:hover:not(:disabled):not(.claimed){background:#243c53;border-color:#799cba}.board-cell.selected{border-color:#ff7c8e;background:linear-gradient(155deg,#3a2b40,#172437);color:#ffdce3;box-shadow:0 0 0 2px #ff647530}.cell-open-mark{color:#8ba6bf}.board-cell.selected .cell-open-mark{color:#ffc2ce}.board-cell.owner-0{background:linear-gradient(145deg,#492e40,#1b2235);border-color:#be778c;color:#ffe2e9}.board-cell.owner-1{background:linear-gradient(145deg,#27465d,#142438);border-color:#719ec3;color:#d9efff}.board-cell.winning{box-shadow:inset 0 0 0 2px #ffc3d0,0 0 25px #ff657527}.cell-face{width:76px;height:82px}.football-face{background:linear-gradient(145deg,#324c65,#192b40);border-color:#4e6a86}.football-face>span{color:#d9e7f7}.hint-shop,.revealed-clue{background:#111f30;border-color:#354b64}.player-options,.suggestion{background:#122237;border-color:#3a5672}.suggestion.highlight,.suggestion:hover{background:#29425b}.bot-tag{background:#293d55;color:#d3e6fa}.entry-icon{background:#15283a;border-color:#3b556e;object-fit:contain}.toast{background:#203a52;color:#f4f7fc;border:1px solid #668baa}.site-footer{border-color:#2c4057}.brand,.header-right{min-width:0}
@media(max-width:800px){.dh-hero{min-height:350px}.lab-hero-art{height:280px}.header{height:86px}.shell{width:calc(100% - 40px)}}
@media(max-width:600px){.shell{width:calc(100% - 32px)}.header{height:auto;min-height:82px;flex-wrap:wrap;padding:14px 0;gap:12px}.brand b{font-size:25px}.brand small{font-size:6px}.beta-badge{display:none}.header-right{margin-left:auto;gap:6px}.dh-header-join{font-size:11px;padding:8px 10px;min-height:44px}.dh-header-join .dy-icon{width:24px;height:24px;flex-basis:24px}.icon-button{min-width:32px}.dh-hero{padding-top:20px;gap:20px}.dh-hero h1{font-size:40px;letter-spacing:-1.7px}.lab-hero-art{height:190px}.lab-hero-actions{gap:10px}.lab-hero-actions .button{font-size:12px}.cell-face{width:48px;height:54px}.board-cell{min-height:113px}.dh-cover{height:205px}.match-top{flex-wrap:wrap}.match-top>div:first-child{flex:1}.match-code{order:3;width:100%}.seat-card{min-width:0}.seat-text h3{font-size:18px}.button{font-size:13px}.room-invite{min-width:0}.join-ticket{padding:24px}.preset-values{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.dh-hero h1 em{font-family:inherit;font-style:normal;font-weight:900}.match-code{max-width:none}.dy-icon.back{transform:rotate(180deg)}

@media(max-width:600px){.match-code{max-width:none;flex-wrap:wrap}.dh-hero h1{font-size:clamp(30px,9.5vw,40px)}.header-right .dh-header-join{white-space:nowrap}.lab-viewtop{flex-wrap:wrap}}
/* Room clarity, shared chat and header status. */
.net i{background:#32e5a1!important;box-shadow:0 0 10px #32e5a12e}.net.lost i{background:#ff6475!important;box-shadow:none}
#sound{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:46px;height:46px;padding:8px;background:linear-gradient(155deg,#233b50,#112135);border:1px solid #405a72;border-radius:13px}#sound img,.dh-header-menu summary img{width:28px;height:28px;object-fit:contain;filter:saturate(.4) contrast(.9)}#sound:after{content:none!important}.sound-off-mark{position:absolute;width:27px;height:3px;border-radius:3px;background:#a5b9ca;transform:rotate(-45deg);box-shadow:0 0 0 2px #152639}#sound[aria-pressed=true]{border-color:#8ab4d5}.dh-header-menu summary{list-style:none;display:grid;place-items:center;width:46px;height:46px;padding:8px;background:linear-gradient(155deg,#233b50,#112135);border-radius:13px;border:1px solid #405a72}.dh-header-menu summary::-webkit-details-marker{display:none}
.room-invite{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:24px;min-width:350px;max-width:440px}.invite-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.invite-heading>span{font-size:10px;letter-spacing:1.8px;color:#a8b8ca}.invite-heading small{font-size:10px;color:#a8b8ca}.room-code{font-size:42px;letter-spacing:5px;text-align:left;line-height:1.15;padding:4px 0}.room-code small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#a8b8ca;margin-top:10px}.invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.invite-actions .button{font-size:11px;padding:11px 10px;min-height:44px}
.seat-card{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;padding:24px;gap:16px;min-height:200px}.seat-sign{right:18px;top:16px;font-size:24px}.seat-buttons{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;max-width:none;width:100%;align-items:stretch}.seat-buttons .button{flex:1;white-space:normal;min-height:44px}.seat-text{padding-right:24px}.seat-text h3{max-width:none}.seat-card.empty .member-avatar{background:#132538;border-style:dashed;border-color:#526b82}.seat-card.empty .member-avatar .dy-icon{width:36px;height:36px;opacity:.65}
.room-chat{margin-top:24px;padding:24px;background:linear-gradient(155deg,#182c40,#0d1927);border:1px solid #38516b;border-radius:18px}.chat-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.chat-heading h2{font-size:22px;margin:5px 0 0}.chat-heading>small{font-size:10px;color:#a8b8ca}.chat-messages{max-height:300px;min-height:100px;overflow:auto;overscroll-behavior:contain;margin:20px 0;scrollbar-color:#49647d #0d1927}.chat-message{padding:12px 14px;background:#102133;border-radius:12px;margin:8px 0}.chat-message>div{display:flex;gap:12px;justify-content:space-between}.chat-message b{font-size:12px;overflow-wrap:anywhere}.chat-message small{font-size:10px;color:#a8b8ca;flex-shrink:0}.chat-message p{margin:7px 0 0;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.chat-empty{font-size:13px;color:#a8b8ca;padding:20px 0}#chat-form{display:flex;gap:10px}#chat-input{min-width:0;flex:1;padding:13px 15px;border:1px solid #425c76;border-radius:12px;background:#07121f;color:#f4f7fc;font-size:16px}.chat-error{color:#ffb1bd;font-size:12px;margin:8px 0 0;min-height:18px}
@media(max-width:700px){.room-invite{min-width:0;width:100%;max-width:none}.lobby-title{align-items:stretch}.room-code{font-size:38px}.seat-card{display:grid;grid-template-columns:44px minmax(0,1fr);padding:18px;gap:12px}.seat-card .member-avatar{width:44px;height:48px}.seat-text{padding-right:0}.seat-sign{display:none}.seat-buttons{flex-direction:column}.seat-text h3{font-size:17px;max-width:none}.chat-heading>small{display:none}.room-chat{padding:18px}.chat-message>div{flex-wrap:wrap;gap:4px 12px}}
@media(max-width:440px){.header{gap:10px}.header-right{width:100%;justify-content:space-between}.header-right .net{display:flex;font-size:10px}.header .brand{margin-bottom:0}.header-right .dh-header-join{margin-left:auto}.dh-header-menu summary,#sound{width:40px;height:42px}.seat-cards{grid-template-columns:1fr}.seat-buttons{flex-direction:row}.room-code{font-size:36px}.invite-heading{align-items:start}.invite-heading small{max-width:105px;text-align:right}#chat-form{flex-wrap:wrap}#chat-form .button{width:100%}}

/* Feedback follows the existing secondary controls; red stays the send action. */
.feedback-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;flex-shrink:0;padding:10px 12px;border:1px solid #405a72;border-radius:13px;background:#142638;color:#dce8f5;font-size:12px;font-weight:650}
.feedback-trigger:hover,.footer-feedback:hover{background:#233b50;color:#fff}
.feedback-trigger img{width:24px;height:24px;object-fit:contain;flex-shrink:0}
.home-footer-links{align-items:center;flex-wrap:wrap}
.home-footer-links .footer-feedback{min-height:44px;padding:8px 12px;border:1px solid #405a72;border-radius:11px;background:#142638;color:#dce8f5;font-size:12px}
.feedback-dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;background:#112135;color:#e9f2fc;border:1px solid #49647d;border-radius:20px;padding:24px}
.feedback-dialog h2{font-size:24px;line-height:1.2;margin-bottom:10px}
.feedback-dialog>p{font-size:14px;color:#b9cadd}
.feedback-dialog textarea{width:100%;height:136px;min-height:90px;padding:12px;margin-top:8px;resize:vertical;background:#07121f;color:#e9f2fc;border:1px solid #58728c;border-radius:12px;font-size:16px;line-height:1.5}
.feedback-dialog textarea:focus-visible{outline:3px solid #9ec9ec;outline-offset:3px}
.feedback-dialog .form-note{font-size:12px;line-height:1.5;color:#b9cadd}
.feedback-dialog .buttons button{min-height:44px;font-size:14px}
.feedback-dialog::backdrop{background:#020812bf}
@media(max-width:1000px){.feedback-trigger{width:44px;padding:10px}.feedback-trigger span{display:none}}
@media(max-width:440px){.feedback-dialog{padding:20px}.header-right{gap:5px}.header-right .dh-header-join{padding-inline:8px;gap:6px}.feedback-dialog .buttons{display:grid;grid-template-columns:1fr 1fr}.feedback-dialog .feedback-meta{font-size:10px}}

/* Captured blue squares must stand apart from empty navy squares. */
.board-cell.owner-1{background:linear-gradient(140deg,#246fa1,#154568);border-color:#8bdcff;color:#f0fbff;box-shadow:inset 0 0 0 2px #63cafa66,0 0 16px #43b6f023}
.board-cell.owner-1 .football-face{background:linear-gradient(145deg,#4586ad,#215477);border-color:#9ed9f5}
.board-cell.claimed .captured-symbol{opacity:1;font-weight:800;text-shadow:0 2px 5px #07121f88}
.board-cell.owner-1 .captured-symbol{color:#c1efff}
.board-cell.owner-1.winning{box-shadow:inset 0 0 0 3px #d2f5ff,0 0 25px #58cbff66}
.axis-position img{width:100%;height:100%;object-fit:contain}/* Coach and teammate columns: the person's photo sits in the round window of a baked frame (window centre 50% 45.9%, diameter 54.7% of the frame). */.axis-person{position:relative;display:inline-block;width:72px;height:72px}.axis-person .football-face{position:absolute;left:50%;top:45.9%;width:57%;height:57%;flex-basis:auto;border-radius:50%;border:0;transform:translate(-50%,-50%)}.axis-person .football-face img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}.axis-person-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.axis-position{display:inline-flex;width:60px;height:60px;align-items:center;justify-content:center}
.room-community,.match-after.room-community{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:28px}.room-community .room-chat{margin:0}.room-lobby .lobby-bottom{grid-template-columns:minmax(0,1fr)}
.chat-notice{position:fixed;right:24px;bottom:24px;z-index:90;background:linear-gradient(145deg,#ff7a8b,#df3e59);color:#07121f;box-shadow:0 6px 0 #531e2c,0 12px 30px #0008;min-height:52px}.chat-notice[hidden]{display:none}
@media(max-width:600px){.axis-position{width:44px;height:44px}.axis-person{width:54px;height:54px}.chat-notice{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.room-community{gap:16px}}

/* Emerald is the second player's identity, not the general interface theme. */
.board-cell.owner-1{background:linear-gradient(140deg,#167957,#104535);border-color:#7ef1bd;color:#effff6;box-shadow:inset 0 0 0 2px #6cebb266,0 0 18px #35c58c24}
.board-cell.owner-1 .football-face,.side-1 .member-avatar{background:linear-gradient(145deg,#347f65,#164d3a);border-color:#83d8b0}
.board-cell.owner-1 .captured-symbol{color:#afffd3}.board-cell.owner-1.winning{box-shadow:inset 0 0 0 3px #caffdf,0 0 25px #58ffa566}
.seat-card.side-1.mine,.match-player.side-1.turn{background:linear-gradient(120deg,#245a45,#10271f);border-color:#78dfad}
.board-cell.claimed{padding-top:58px}.board-cell.claimed .captured-symbol{display:flex;align-items:center;justify-content:center;width:46px;height:46px;top:8px;right:10px;font-size:48px;line-height:1;border-radius:12px;background:#07121f66;border:1px solid currentColor;font-weight:900}
.axis-badge{background:transparent;border:0;box-shadow:none;overflow:visible}.axis-badge img{object-fit:contain;width:100%;height:100%}.axis-badge.badge-loaded .badge-fallback{visibility:hidden}
.seat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.spectator-seat{text-align:left;color:var(--dy-text);font:inherit;cursor:pointer}.spectator-seat:disabled{opacity:1;cursor:default}.spectator-seat.mine{border-color:#c5d4e5;background:linear-gradient(140deg,#304359,#172537)}.spectator-seat:not(:disabled):hover{border-color:#a9bfd8}.seat-choice{grid-column:1/-1;font-weight:700;padding:14px;border-radius:12px;background:#ffffff0c;text-align:center}.spectator-seat .member-avatar img{width:44px;height:44px;object-fit:contain}.seat-card .seat-text h3{overflow-wrap:anywhere}.seat-card .seat-text{padding-right:0}.seat-sign{font-weight:800}
@media(max-width:1000px){.seat-cards{grid-template-columns:1fr;gap:10px}.seat-card{min-height:0;padding:16px;gap:10px 12px;border-radius:16px}.seat-card .seat-buttons:empty{display:none}.seat-card .seat-text small{font-size:9px;letter-spacing:.7px}.seat-card .seat-text h3{margin:4px 0;font-size:18px;line-height:1.25}.seat-card .seat-text p{font-size:12px;line-height:1.4}.seat-card .seat-buttons{margin:0;gap:8px}.seat-card .seat-buttons .button{min-height:44px;font-size:12px}.spectator-seat .seat-choice{min-height:44px}.room-lobby .lobby-title{gap:16px;margin-bottom:20px}.room-lobby .room-invite{gap:10px;padding:16px;border-radius:16px}.room-invite .invite-heading>span{max-width:none;font-size:10px;line-height:1.4}.room-invite .invite-actions{gap:8px}.room-invite .invite-actions .button{min-height:44px;font-size:12px}.room-lobby .room-code{font-size:34px;letter-spacing:3px;padding:0}.room-lobby .lobby-bottom{margin-top:16px}.room-lobby .lobby-controls{padding:18px;border-radius:16px}.room-lobby .scenario-summary{margin-bottom:16px}.room-lobby .room-community{gap:16px;margin-top:16px}}
@media(max-width:600px){.board-cell.claimed{padding-top:40px;min-height:142px}.board-cell.claimed .captured-symbol{width:30px;height:30px;top:4px;right:5px;font-size:32px;border-radius:8px}}

/* Dedicated raster artwork; button geometry stays shared across all three roles. */
.spectator-seat{cursor:default}.spectator-seat:not(:disabled):hover{border-color:#2c4057}.spectator-seat.mine:hover{border-color:#c5d4e5}.seat-choice{display:none}.seat-buttons{align-self:end}
.inline-icon{display:inline-block;object-fit:contain;width:26px;height:26px;vertical-align:middle;flex-shrink:0}.chat-heading .inline-icon{width:34px;height:34px;margin-right:6px}.chat-notice{display:flex;align-items:center;gap:8px}.chat-notice .inline-icon{width:30px;height:30px}.hint-shop h3{display:flex;align-items:center;gap:5px}.match-wallet>b{display:flex;align-items:center;gap:5px;justify-content:end}
.game-mark{display:block;width:100%;height:100%;object-fit:contain}.board-cell.claimed .captured-symbol{width:58px;height:58px;top:6px;right:8px;border:0;background:none;box-shadow:none;text-shadow:none}.seat-sign{display:block;width:36px;height:36px;top:12px;right:14px}.cell-open-icon{display:block;width:40px;height:40px;object-fit:contain;opacity:.75}.cell-open-mark{line-height:1}.seat-card .member-avatar img{object-fit:contain}.spectator-seat .member-avatar{background:transparent;border:0}.seat-card.empty .member-avatar{background:transparent;border:0}.seat-card.empty .member-avatar .dy-icon{width:44px;height:44px;opacity:1}.cell-hint-dot .inline-icon{width:22px;height:22px}
@media(max-width:700px){.seat-sign{display:block;width:30px;height:30px;right:10px;top:8px}.seat-card .seat-text{padding-right:25px}}
@media(max-width:600px){.board-cell.claimed .captured-symbol{width:38px;height:38px;top:3px;right:3px}.cell-open-icon{width:30px;height:30px}.inline-icon{width:20px;height:20px}}

/* A captured square becomes a photograph-backed match card. */
.board-cell.claimed{min-height:176px;padding:100px 12px 14px;gap:5px;border-width:2px;isolation:isolate}
.cell-photo{position:absolute;inset:0;z-index:-3;overflow:hidden;background:radial-gradient(ellipse at 65% 15%,#d88d9e66,transparent 70%),#372232}
.owner-1 .cell-photo{background:radial-gradient(ellipse at 65% 15%,#75d6b288,transparent 70%),#123e32}
.cell-monogram{position:absolute;inset:0;display:grid;place-items:center;font-size:86px;font-weight:900;letter-spacing:-5px;opacity:.15;filter:blur(3px);transform:rotate(-12deg)}
.cell-photo img{position:absolute;inset:-6%;width:112%;height:112%;object-fit:cover;object-position:center 30%;filter:blur(2.5px) saturate(.55);opacity:.75}
.cell-photo img[hidden]{display:none}.cell-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(0deg,#20101de8 4%,#422234bb 43%,#6c36415c);pointer-events:none}
.owner-1 .cell-shade{background:linear-gradient(0deg,#09281ff0 4%,#114934b8 43%,#25886355)}
.board-cell.claimed .captured-symbol{position:absolute;width:76px;height:76px;top:14px;left:calc(50% - 38px);right:auto;filter:drop-shadow(0 5px 7px #0007);z-index:1}
.board-cell.claimed>.cell-name{font-size:15px;font-weight:650;letter-spacing:.05px;line-height:1.3;color:#fff9fb;text-shadow:0 2px 5px #0009;text-wrap:balance;width:100%;position:relative;z-index:1;overflow-wrap:anywhere}
.board-cell.claimed>small{position:relative;top:auto;left:auto;font-size:8px;color:#efd7df;z-index:1}.board-cell.owner-1>small{color:#cdecdc}
.board-cell.owner-0{border-color:#f58c9e;box-shadow:inset 0 0 0 1px #ffb3c126,0 5px 20px #0003}.board-cell.owner-1{border-color:#64dba5;box-shadow:inset 0 0 0 1px #91ffd331,0 5px 20px #0003}
.board-cell.winning{border-color:#ffe0e7;box-shadow:0 0 0 2px #ff829f88,0 0 26px #ff6c8340}.board-cell.owner-1.winning{border-color:#c4ffe3;box-shadow:0 0 0 2px #67e8af99,0 0 26px #42e89d40}
.match-timer[hidden]{display:none}.round-finished-label{display:block;margin-top:10px;font-size:12px;font-weight:650;color:#eff6ff}
.round-end-panel.round-result{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:27px;margin:0;border:1px solid #76899f;position:sticky;top:20px;background:linear-gradient(160deg,#293c52,#142334 65%)}
.round-end-panel.round-result>div{flex:initial}.round-end-panel .eyebrow{line-height:1.5;font-size:10px;letter-spacing:1px}.round-result-heading{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:center}.round-result-heading>h2,.round-result-heading>p{grid-column:2;min-width:0}.round-result-heading>.round-winner-mark{grid-column:1;grid-row:1/3}.round-end-panel h2{margin:0;font-size:28px;text-wrap:balance;overflow-wrap:anywhere}.round-end-panel p{margin:0;line-height:1.65;color:#c6d4e3;font-size:12px}.round-end-panel .round-winner-mark{width:56px;height:56px;align-self:center;margin:0}.round-winner-mark img{width:100%;height:100%;object-fit:contain}
.round-end-panel .last-round-answer{display:flex;flex-direction:column;gap:8px;background:#07132080;border:1px solid #67849d66;border-radius:13px;padding:16px;margin:5px 0}.last-round-answer>strong{font-size:20px;line-height:1.25;color:#fff;text-wrap:balance}.last-round-answer>span{font-size:11px;line-height:1.55;color:#d7e3ee}.last-round-answer .photo-credit{font-size:9px}
.round-end-panel .button{width:100%;margin:0;white-space:normal}.round-end-panel .round-next-note{font-size:10px;color:#a7bbcf}.round-end-panel .round-series-score{font-size:11px}.round-roles,.answer-review-list{margin-top:24px;padding:20px;border:1px solid #38516b;border-radius:16px;background:#101f2f}.round-roles-reveal:not([open]){display:none}.round-roles>summary{cursor:pointer;font-size:15px;font-weight:650;padding:5px}.round-roles[open]>summary{margin-bottom:20px}.answer-review-list h2{font-size:22px;margin-bottom:20px}.answer-review-list details{padding:12px 0;font-size:13px;line-height:1.7}.answer-review-list summary{cursor:pointer;color:#dbe7f3}.answer-review-list p{color:#a9bdcf}
.round-atmosphere{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:4;user-select:none}.round-atmosphere img{position:absolute;width:clamp(130px,22vw,320px);height:auto;filter:blur(7px);opacity:0}.round-finished{position:relative;z-index:5}.round-end-panel .lab-error{color:#ffc0ca}
@media(max-width:1120px){.board-cell.claimed{min-height:157px;padding:83px 8px 11px}.board-cell.claimed .captured-symbol{width:66px;height:66px;left:calc(50% - 33px);top:11px}.board-cell.claimed>.cell-name{font-size:12px}.round-end-panel.round-result{padding:22px}.round-end-panel h2{font-size:24px}}
@media(max-width:740px){.board-cell.claimed{min-height:151px}.answer-panel .player-options{position:static;max-height:min(240px,35svh);margin-top:8px}.round-end-panel.round-result{position:static;display:flex;gap:12px;padding:18px;border-radius:18px}.round-result-heading{grid-template-columns:48px minmax(0,1fr);column-gap:12px}.round-end-panel .round-winner-mark{width:48px;height:48px}.round-end-panel h2{font-size:23px;line-height:1.2;text-wrap:pretty}.round-end-panel .last-round-answer{padding:12px;margin:0;gap:5px}.round-end-panel .last-round-answer>strong{font-size:18px}.round-end-panel .last-round-answer>small{font-size:9px;letter-spacing:1px}.round-end-panel .round-next-note{font-size:11px}.round-end-panel .round-series-score{font-size:12px;line-height:1.6}.round-end-panel .button{min-height:44px}.round-finished-label{font-size:11px}.round-roles{padding:15px}}
@media(max-width:500px){.board-cell.claimed{min-height:134px;padding:75px 5px 10px}.board-cell.claimed .captured-symbol{width:58px;height:58px;left:calc(50% - 29px);top:10px}.board-cell.claimed>.cell-name{font-size:10px;line-height:1.32;letter-spacing:0}.cell-monogram{font-size:66px}.board-cell.claimed>small{display:none}.round-end-panel h2{font-size:23px}.round-end-panel .last-round-answer>strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.round-atmosphere{display:none}}

/* Let the portrait lead; the ownership chip sits beside the lower photo area. */
.board-cell.claimed .captured-symbol{width:44px;height:44px;left:auto;right:9px;top:auto;bottom:60px;filter:drop-shadow(0 3px 4px #0009)}
.board-cell.claimed>.cell-name{min-height:38px;display:flex;align-items:flex-end;justify-content:center}
.cell-photo img{object-position:center 22%}.board-cell.claimed>small{display:none}
.scout-shop.hint-shop{margin-top:20px;padding:20px 0 0;border:0;border-top:1px solid #3b526a;border-radius:0;background:none}
.scout-shop .scout-shop-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.scout-shop h3{font-size:18px;color:#f3f7ff;margin:0;gap:10px}.scout-shop h3 .inline-icon{width:34px;height:34px}.scout-balance{display:flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #435b72;background:#182b3e;border-radius:11px;color:#f3f7ff;font-size:16px;font-weight:700}.scout-balance .inline-icon{width:22px;height:22px}
.scout-shop>p{font-size:12px;line-height:1.65;color:#bed0e2;margin:10px 0 15px}.scout-shop .hint-products{display:flex;flex-direction:column;gap:10px;margin-top:16px}.scout-shop .hint-products .scout-choice{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #55718b;border-top-color:#7b94aa;border-radius:14px;text-align:left;min-height:76px;color:#f3f7ff;background:linear-gradient(150deg,#294259,#16283c);box-shadow:inset 0 1px #ffffff19,0 3px 0 #060d16,0 6px 12px #0002}
.scout-shop .hint-products .scout-choice:hover:not(:disabled){border-color:#a2c1d9;background:linear-gradient(150deg,#35556e,#1c3048)}.scout-shop .hint-products .scout-choice:disabled{opacity:.55;box-shadow:none;cursor:not-allowed}.scout-choice-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.scout-choice-copy b{font-size:14px;font-weight:700}.scout-choice-copy small{font-size:10px;line-height:1.5;color:#c0d1e1}.scout-choice-copy em{font-style:normal;font-size:10px;color:#d5e0eb}
.scout-shop .hint-products .scout-price{display:flex;flex-direction:row;align-items:center;gap:4px;flex-shrink:0;color:#f5f8fd;font-size:19px;font-weight:750}.scout-price .inline-icon{width:25px;height:25px}.scout-shop>p.scout-fair{font-size:10px;margin:15px 0 12px;color:#a4bad0}.scout-shop .scout-bonus{display:block;font-size:10px;line-height:1.7;padding:12px 0 0;border-top:1px solid #344a60;color:#a8bfd3}.scout-shop .scout-locked{padding:13px 15px;background:#1d3345;border:1px solid #43607a;border-radius:12px;color:#d0dfeb}
.scout-reveal.revealed-clue{padding:19px;margin-top:20px;border:1px solid #567089;border-top-color:#7891a8;border-radius:16px;background:linear-gradient(145deg,#243a50,#15273b);box-shadow:inset 0 1px #ffffff10,0 9px 20px #0002}.scout-reveal-heading{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.scout-reveal-heading .eyebrow{font-size:8px;letter-spacing:1.4px;color:#b0c4d7}.scout-reveal b{color:#f3f7ff}.scout-reveal-heading>b{font-size:18px}.scout-fact{padding:13px 14px;background:#0d1b2b66;border-radius:11px;margin:8px 0;border:1px solid #3d556c}.scout-fact>span{display:flex;flex-direction:column;gap:7px}.scout-fact small{font-size:10px;color:#b4c8d9}.scout-fact b{font-size:15px;line-height:1.35}.scout-reveal .name-mask{display:flex;flex-wrap:wrap;gap:10px 12px;padding:17px 14px;border:1px solid #516e85;border-radius:12px;background:#0e1e30;font-size:23px;line-height:1.3;letter-spacing:1px;color:#f3f7ff;font-weight:650}.scout-reveal .name-mask>span{overflow-wrap:anywhere;max-width:100%;color:inherit}.scout-reveal .scout-reveal-note{display:block;font-size:10px;line-height:1.6;color:#c0d0df;margin:12px 0 0}
.scout-reveal .four-options{gap:9px;margin-top:14px}.scout-reveal .four-options .button{display:flex;align-items:center;gap:10px;background:linear-gradient(155deg,#314c64,#1b3046);border-color:#57758f;color:#f3f7ff;border-radius:12px;padding:12px;min-height:48px;text-align:left;white-space:normal}.scout-reveal .four-options .button:disabled{opacity:.5}.scout-reveal .four-options b{font-size:12px;line-height:1.4}.scout-option-index{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;font-size:11px;border:1px solid #6a869d;border-radius:8px;background:#0e223599;color:#dce9f3}
@media(max-width:1120px){.board-cell.claimed .captured-symbol{width:38px;height:38px;top:auto;left:auto;right:7px;bottom:56px}}
@media(max-width:500px){.board-cell.claimed .captured-symbol{width:30px;height:30px;right:5px;bottom:51px}.board-cell.claimed>.cell-name{min-height:34px}.scout-shop h3{font-size:19px}.scout-shop .hint-products .scout-choice{min-height:78px;padding:15px}.scout-choice-copy b{font-size:15px}.scout-choice-copy small{font-size:11px}}

/* Match overview and room connection: the same tactile navy foundation as the board. */
.connection-status{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;letter-spacing:0;color:#afc8cb;white-space:nowrap}
.connection-status i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#43e2a4;box-shadow:0 0 9px #43e2a438}.connection-status.lost{color:#c5b9bf}.connection-status.lost i{background:#ff7182;box-shadow:none}
.room-viewtop{gap:16px;margin:24px 0}.room-context{margin-left:auto;display:flex;align-items:center;gap:18px;color:#adbed0;font-size:12px}.room-viewtop .finish-button{margin-left:4px;padding:9px 15px;font-size:12px}.finish-button .inline-icon{width:23px;height:23px}
.dh-resume{padding:23px 26px;border-radius:23px;border-color:#3d5a72;background:linear-gradient(120deg,#20364a,#0d1c2a);box-shadow:inset 0 1px #a3cae41c;gap:20px}.dh-resume .resume-icon{width:46px;height:46px;object-fit:contain}.dh-resume .resume-copy{flex:1;min-width:0}.dh-resume strong{font-size:16px}.dh-resume p{font-size:12px;line-height:1.6;margin:6px 0}.resume-actions{display:flex;align-items:center;gap:12px}.dh-resume .resume-actions .dh-play{margin:0;min-height:48px;font-size:13px}.resume-actions .button{font-size:13px}
.match-top.match-overview{display:flex;align-items:center;gap:24px;margin:20px 0 16px;padding:25px 28px;background:linear-gradient(125deg,#1a3043,#0d1c2c);border:1px solid #36536c;border-radius:25px;box-shadow:inset 0 1px #aecfe91c}
.match-overview .match-heading{flex:1;min-width:0}.match-overview .eyebrow{font-size:9px;letter-spacing:1.8px;max-width:none}.match-overview h1{margin:9px 0 12px;font-size:36px;font-weight:800;line-height:1.1;letter-spacing:-1px}.match-overview h1 small{font-size:20px;font-weight:500;color:#8ea8be;letter-spacing:0}.round-progress{display:flex;gap:5px;max-width:140px;margin:3px 0 12px}.round-progress>.round-step{height:6px;flex:1;border-radius:3px;background:#354a5d}.round-progress>.winner-0{background:#ff8998}.round-progress>.winner-1{background:#7ee5b8}.round-progress>.current{outline:1px solid #a4b9cb;outline-offset:2px}.match-overview .round-finished-label{display:block;font-size:12px;font-weight:500;color:#c2d4e2;line-height:1.5}
.match-overview .match-code{display:flex;flex-direction:row;align-items:center;gap:16px;width:auto;max-width:none;order:0;font-size:12px;margin-left:auto}.match-code>div{display:flex;flex-direction:column;gap:8px}.match-code>div>span{font-size:8px;letter-spacing:1.5px;color:#95aec3}.match-code>div>button{background:transparent;color:#e6f2ff;padding:0;border:0;font-size:25px;letter-spacing:2px;font-weight:750;text-align:left;cursor:pointer;white-space:nowrap}.match-overview .match-code>.button{min-height:46px;font-size:12px;padding:10px 14px}.match-code .inline-icon{width:25px;height:25px}.match-overview .match-timer{min-width:96px;padding:12px 16px;background:#081625;border:1px solid #41607a;border-radius:17px;margin:0}.match-overview .match-timer>span{font-size:37px}.match-overview .match-timer>small{font-size:7px;letter-spacing:.9px}
.match-players{gap:16px;margin:0 0 28px}.match-player{position:relative;display:flex;align-items:center;gap:12px;padding:19px 20px;border-radius:22px;border:1px solid #4e465c;background:linear-gradient(125deg,#322a3d,#152235);box-shadow:inset 0 1px #ffffff17}.match-player.side-1{border-color:#355c54;background:linear-gradient(125deg,#173d34,#102732)}.match-player.side-0.turn{border-color:#ff8998;box-shadow:inset 0 1px #ffffff2b,0 0 0 2px #ff7b8526}.match-player.side-1.turn{border-color:#7ee5b8;box-shadow:inset 0 1px #ffffff2b,0 0 0 2px #63deb026}.match-side-mark{display:flex;align-items:center;justify-content:center;flex:0 0 32px}.match-side-mark .game-mark{width:32px;height:32px;object-fit:contain}.match-player>.member-avatar{width:42px;height:46px;flex:0 0 42px;border-radius:13px;font-size:14px}.match-player>.member-avatar.bot .ui-art{width:40px;height:42px;flex-basis:40px}.match-player-copy{min-width:0;flex:1}.match-player-copy>b{font-size:15px;line-height:1.45;overflow-wrap:anywhere}.match-player-copy>b small{font-size:10px;color:#b3c6d7;font-weight:500}.match-player-copy>p{color:#b2c4d3;font-size:10px;line-height:1.5;margin:4px 0 0}.match-wallet{flex-shrink:0;margin-left:auto;text-align:right;padding:8px 11px;background:#0714236b;border:1px solid #ffffff10;border-radius:12px}.match-wallet>b{font-size:21px;color:#eef5ff;display:flex;align-items:center;justify-content:flex-end;gap:6px;line-height:1.2}.match-wallet .inline-icon{width:24px;height:24px}.match-wallet>small{font-size:8px;color:#acbed0}.scout-shop .hint-products .scout-choice.owned:disabled{opacity:1;cursor:default;background:#122b33;color:#cbe6db;border-color:#3c625e}.scout-choice.owned .scout-price{font-size:12px;color:#bde9d7}
@media(max-width:850px){.match-overview .match-code{gap:10px}.match-overview .match-code>.button{font-size:11px;padding:9px}.match-overview .match-timer{min-width:77px}.match-player{padding:16px 14px;gap:9px}.match-player>.member-avatar{display:none}.room-context{gap:12px}.match-wallet{padding:7px 8px}}
@media(max-width:600px){.room-viewtop{display:flex;align-items:center;flex-wrap:wrap;margin:17px 0;gap:10px}.room-viewtop>.button{min-height:42px;font-size:11px;padding:9px 11px}.room-viewtop>.finish-button{margin-left:auto}.room-context{order:3;flex-basis:100%;justify-content:space-between;margin:0 3px;font-size:10px}.connection-status{font-size:10px}.dh-resume{padding:19px;gap:13px}.dh-resume .resume-icon{width:34px;height:34px}.dh-resume .resume-copy{min-width:0;flex-basis:calc(100% - 50px)}.dh-resume strong{font-size:14px}.dh-resume p{font-size:11px}.dh-resume .resume-actions{min-width:0;flex-basis:100%;display:flex;gap:10px}.resume-actions>*{flex:1}.dh-resume .resume-actions .dh-play,.resume-actions .button{font-size:12px;padding:10px;min-height:46px}.match-top.match-overview{padding:19px;border-radius:21px;gap:16px;flex-wrap:wrap}.match-overview h1{font-size:30px;margin:8px 0 10px}.match-overview h1 small{font-size:18px}.match-overview .eyebrow{font-size:8px;line-height:1.5;letter-spacing:1px}.match-overview .round-finished-label{font-size:11px}.match-overview .match-timer{order:1;padding:10px;min-width:77px}.match-overview .match-timer>span{font-size:32px}.match-overview .match-code{order:2;flex-basis:100%;width:100%;justify-content:space-between;border-top:1px solid #a0bfd31f;padding-top:15px;margin:0}.match-code>div>button{font-size:23px;letter-spacing:1.5px}.match-code>div{gap:5px}.match-overview .match-code>.button{font-size:11px;min-height:43px;padding:10px 13px}.match-players{gap:10px;margin-bottom:22px}.match-player{display:grid;grid-template-columns:25px minmax(0,1fr);gap:9px;padding:14px 12px;border-radius:18px}.match-side-mark{align-self:start}.match-side-mark .game-mark{width:25px;height:25px}.match-player-copy>b{font-size:12px}.match-player-copy>p{font-size:9px}.match-wallet{grid-column:1 / -1;width:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;margin:2px 0 0;padding:7px 9px}.match-wallet>b{font-size:18px}.match-wallet .inline-icon{width:22px;height:22px}.match-wallet>small{font-size:8px}.match-player-copy .bot-tag{font-size:7px}}

.dh-resume .resume-actions .dh-play,.dh-resume .resume-actions .button{height:50px;min-height:50px;box-sizing:border-box}
/* Compact entry: progressive help replaces repeated copy and acknowledgement. */
/* Difficulty is also written out: colour is a supporting cue, never the only one. */
.difficulty-easy{--level-color:#80e6b6;--level-surface:#193e35;--level-ink:#dbffed}
.difficulty-amateur{--level-color:#89c9f5;--level-surface:#203c50;--level-ink:#deefff}
.difficulty-coming{--level-color:#bc8cff;--level-surface:#4c286f;--level-ink:#eee0ff;opacity:.78;cursor:default}
.difficulty-encyclopedia{--level-color:#bc8cff;--level-surface:#4c286f;--level-ink:#eee0ff}
.quick-level.is-locked{opacity:.55}.quick-level.is-locked input{cursor:not-allowed}
.difficulty-medium{--level-color:#e4ee54;--level-surface:#343e22;--level-ink:#f4f8be}
.difficulty-hard{--level-color:#ff8594;--level-surface:#482a39;--level-ink:#ffe4e8}
.lab-entry .difficulty-grid,.room-settings-panel .difficulty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lab-entry .preset-card.difficulty-card,.room-settings-panel .difficulty-card{min-height:215px;padding:22px;background:linear-gradient(145deg,var(--level-surface),#102031 85%);border:1px solid color-mix(in srgb,var(--level-color) 45%,#25394c);color:var(--dy-text)}
.lab-entry .preset-card.difficulty-card.selected,.room-settings-panel .difficulty-card.selected{border-color:var(--level-color);box-shadow:inset 0 0 0 1px var(--level-color),inset 0 1px #fff2,0 12px 28px #0003;background:linear-gradient(145deg,var(--level-surface),#172838)}
.difficulty-card.selected:after{color:var(--level-color)}.difficulty-card>b{color:var(--level-ink);font-size:22px}
.difficulty-card .preset-top .ui-art{width:46px;height:46px;filter:none}
.difficulty-card p{font-size:12px;line-height:1.55;margin:10px 0 20px;min-height:36px}
.difficulty-wallet{display:flex;align-items:center;gap:8px;color:var(--level-ink);font-size:14px;font-weight:700}.difficulty-wallet .inline-icon{width:27px;height:27px}
.format-summary{color:var(--dy-muted);font-size:12px;line-height:1.7;margin:18px 2px}
.setup-label{gap:16px;flex-wrap:wrap}.setup-label .manual-button{min-height:48px;padding:10px 16px;border-color:#7490a9;color:#eef6ff;gap:9px}
.manual-toggle{display:flex!important;flex-direction:row!important;align-items:start;gap:12px;cursor:pointer;line-height:1.6}.manual-toggle input{width:20px;height:20px;flex-shrink:0;margin-top:2px}.manual-toggle small{display:block;font-size:11px;color:var(--dy-muted);font-weight:400}
.manual-settings select:disabled{opacity:.45}
.quick-entry{max-width:850px;margin:auto}.quick-levels{border:0;padding:0;margin:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.quick-level{position:relative;padding:24px 18px;border:1px solid #415971;border-radius:20px;background:linear-gradient(145deg,var(--level-surface),#102031);cursor:pointer;color:var(--level-ink)}
.quick-level>input{position:absolute;right:18px;top:20px;width:22px;height:22px;accent-color:var(--level-color)}
.quick-level>span{display:flex;flex-direction:column;gap:14px}.quick-level .ui-art{width:42px;height:42px}.quick-level b{font-size:22px}.quick-level small{color:var(--dy-muted);font-size:13px}
.quick-level:has(input:checked){border-color:var(--level-color);box-shadow:inset 0 0 0 1px var(--level-color),inset 0 1px #fff2}.quick-level:focus-within{outline:3px solid var(--dy-focus);outline-offset:4px}
.quick-submit{min-height:56px;min-width:260px;margin:10px 0 32px}
.room-settings-panel{border:1px solid #52718d;border-radius:24px;background:linear-gradient(145deg,#1d344a,#0c1b2a);padding:26px;margin:24px 0 32px;scroll-margin-top:20px;box-shadow:0 20px 50px #0004}
.room-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.room-settings-heading h2{font-size:24px}.room-settings-panel .setup-label h2{font-size:16px}.room-settings-panel .manual-settings{margin-bottom:20px}.room-settings-panel .preset-card p{min-height:36px}.room-settings-panel .button[type=submit]{margin-top:10px;min-width:220px}
.next-mode-note,.round-difficulty{color:#c6d7e8;font-size:12px;line-height:1.6}.round-difficulty{margin:8px 0}.round-end-panel .next-mode-note{grid-column:1/-1}
@media(max-width:620px){.lab-entry .difficulty-grid,.room-settings-panel .difficulty-grid{grid-template-columns:1fr;gap:10px}.lab-entry .preset-card.difficulty-card,.room-settings-panel .difficulty-card{min-height:90px;padding:16px 20px;display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:18px;align-items:center}.difficulty-card .preset-top{grid-row:1/3;margin:0}.difficulty-card>b{font-size:21px}.difficulty-card p{display:none}.difficulty-wallet{font-size:13px}.difficulty-wallet .inline-icon{width:22px;height:22px}.setup-label .manual-button{font-size:12px}.format-summary{font-size:12px}.quick-levels{grid-template-columns:1fr;gap:10px}.quick-level{padding:20px}.quick-level>span{display:grid;grid-template-columns:42px 1fr;gap:4px 16px}.quick-level .ui-art{grid-row:1/3}.quick-level b{font-size:21px;padding-right:25px}.quick-level>input{top:32px}.quick-submit{width:100%}.room-settings-panel{padding:18px}.room-settings-heading h2{font-size:21px}.room-settings-panel .button[type=submit]{width:100%}.manual-toggle span{font-size:12px}}
.entry-aside .entry-submit{margin-top:24px}
.entry-details{margin-top:20px;color:var(--dy-muted);font-size:12px;line-height:1.65}
.entry-details summary{cursor:pointer;padding:8px 0;color:#c2d2e3;min-height:36px}
.entry-details p{margin:10px 0}.entry-details a{display:inline-block;margin-top:4px;color:#b9d8ef;text-decoration:underline}
.lab-entry .preset-card{min-height:192px}.lab-entry .preset-top{margin-bottom:12px}
.lab-entry .preset-card p{min-height:0}.lab-entry .entry-heading{margin-top:12px}
.room-invite .room-code{padding:8px 0}.room-chat .chat-empty{min-height:84px}
@media(max-width:500px){.lab-entry .preset-card{min-height:190px}.lab-entry .preset-values{font-size:11px}.lab-entry .preset-card p{font-size:11px}.entry-details{font-size:12px}}

/* A decorative twenty-second derby while the real matchmaking queue runs. */
.queue-screen{padding-top:34px;gap:14px}
.queue-football{width:min(100%,540px);aspect-ratio:2.05;position:relative;isolation:isolate;pointer-events:none;margin:10px 0 22px;border-radius:32px;background:radial-gradient(ellipse at 25% 70%,#ff647413,transparent 50%),radial-gradient(ellipse at 80% 30%,#4fe3b51a,transparent 50%),linear-gradient(145deg,#203b50,#0b1928 75%);border:1px solid #466176;box-shadow:inset 0 1px #c2e8ff22,inset 0 -8px 18px #0003,0 20px 35px #0004;contain:paint}
.queue-pitch{position:absolute;inset:14% 8%;border:1px solid #acc9db30;border-radius:3px;background:repeating-linear-gradient(90deg,#abcfe904 0 16.66%,transparent 16.66% 33.33%)}
.queue-pitch:before{content:'';position:absolute;left:50%;top:0;bottom:0;border-left:1px solid #acc9db30}
.queue-pitch:after{content:'';position:absolute;width:20%;aspect-ratio:1;left:40%;top:50%;transform:translateY(-50%);border:1px solid #acc9db30;border-radius:50%;background:radial-gradient(circle,#acc9db55 0 2px,transparent 3px)}
.queue-box{position:absolute;top:29%;height:42%;width:14%;border:1px solid #acc9db30}.queue-box.left{left:0;border-left:0}.queue-box.right{right:0;border-right:0}
.queue-goal{position:absolute;top:36%;width:6%;height:28%;z-index:1;background:repeating-linear-gradient(0deg,transparent 0 7px,#c5e6f526 7px 8px),repeating-linear-gradient(90deg,#081727 0 7px,#c5e6f526 7px 8px);border:2px solid #bfd5e2aa;border-radius:4px;box-shadow:0 5px 7px #0005,inset 0 0 8px #0005}
.queue-goal.left{left:3%;transform:skewY(-8deg);--goal-color:#56eab7;animation:queue-goal-left 20s infinite}.queue-goal.right{right:3%;transform:skewY(8deg);--goal-color:#ff7183;animation:queue-goal-right 20s infinite}
.queue-goal:after{content:'';position:absolute;inset:-22px;background:radial-gradient(ellipse,var(--goal-color),transparent 68%);opacity:0;animation:inherit;animation-name:queue-goal-glow-left;z-index:-1}.queue-goal.right:after{animation-name:queue-goal-glow-right}
.queue-runner,.queue-ball-runner{position:absolute;inset:0;pointer-events:none;animation-duration:20s;animation-iteration-count:infinite;animation-timing-function:linear}
.queue-piece{position:absolute;left:0;top:0;width:clamp(38px,10.3vw,55px);height:clamp(38px,10.3vw,55px);transform:translate(-50%,-62%)}
.queue-piece:after{content:'';position:absolute;left:12%;right:12%;height:15%;bottom:-6%;border-radius:50%;background:#0005;filter:blur(2px);z-index:-1}
.queue-piece img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 2px #0004);animation:queue-stride .65s ease-in-out infinite alternate}
.queue-red-one{transform:translate(23%,66%);animation-name:queue-red-one}.queue-red-two{transform:translate(46%,30%);animation-name:queue-red-two}.queue-green{transform:translate(68%,58%);animation-name:queue-green}
.queue-red-two img{animation-delay:-.25s}.queue-green img{animation-delay:-.4s}
.queue-ball-runner{transform:translate(29%,64%);animation-name:queue-ball;z-index:3}
.queue-ball{position:absolute;left:0;top:0;width:clamp(15px,4.4vw,23px);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 50% 45%,#243240 0 18%,transparent 20%),radial-gradient(circle at 7% 23%,#243240 0 13%,transparent 15%),radial-gradient(circle at 88% 20%,#243240 0 15%,transparent 17%),radial-gradient(circle at 25% 90%,#243240 0 16%,transparent 18%),radial-gradient(circle at 95% 78%,#243240 0 16%,transparent 18%),#edf4f8;box-shadow:inset -3px -4px 5px #12283980,inset 2px 2px 4px #fff,0 4px 4px #0007;animation:queue-ball-spin 2s linear infinite}
.queue-football .queue-celebrate{position:absolute;top:15%;font-size:10px;letter-spacing:3px;font-weight:800;opacity:0;transform:translateY(6px);animation:queue-celebrate-left 20s infinite;color:#9affd9;left:12%}.queue-football .queue-celebrate.right{left:auto;right:12%;color:#ffadb8;animation-name:queue-celebrate-right}
@keyframes queue-stride{from{transform:translateY(0) rotate(-4deg)}to{transform:translateY(-4px) rotate(4deg)}}
@keyframes queue-red-one{0%,5%,60%,100%{transform:translate(23%,66%)}10%{transform:translate(25%,62%)}20%{transform:translate(33%,69%)}30%{transform:translate(43%,66%)}42%,51%{transform:translate(28%,63%)}65%{transform:translate(28%,65%)}73%{transform:translate(50%,68%)}80%{transform:translate(65%,59%)}84%{transform:translate(71%,57%)}88%{transform:translate(75%,53%)}90%{transform:translate(75%,48%)}92%{transform:translate(75%,53%)}95%{transform:translate(49%,65%)}}
@keyframes queue-red-two{0%,8%,60%,100%{transform:translate(46%,30%)}17%,21%{transform:translate(46%,29%)}26%{transform:translate(55%,32%)}35%{transform:translate(45%,36%)}44%,52%{transform:translate(32%,33%)}68%,72%{transform:translate(48%,29%)}80%{transform:translate(62%,31%)}88%,93%{transform:translate(75%,30%)}}
@keyframes queue-green{0%,10%,60%,100%{transform:translate(68%,58%)}20%{transform:translate(63%,51%)}25%{transform:translate(58%,43%)}30%{transform:translate(48%,50%)}36%{transform:translate(32%,50%)}42%{transform:translate(23%,46%)}46%{transform:translate(20%,46%)}49%{transform:translate(20%,39%)}52%{transform:translate(20%,46%)}54%{transform:translate(20%,41%)}56%{transform:translate(20%,46%)}66%{transform:translate(59%,57%)}73%{transform:translate(51%,44%)}80%{transform:translate(65%,45%)}85%,91%{transform:translate(82%,43%)}95%{transform:translate(75%,52%)}}
@keyframes queue-ball{0%,5%,59%,60%,100%{transform:translate(29%,64%);opacity:1}10%{transform:translate(30%,59%)}17%{transform:translate(43%,35%)}21%{transform:translate(46%,36%)}25%{transform:translate(57%,46%)}30%{transform:translate(50%,54%)}36%{transform:translate(34%,54%)}42%{transform:translate(24%,51%)}46%,50%{transform:translate(7%,50%);opacity:1}53%{transform:translate(7%,50%);opacity:0}56%{transform:translate(29%,64%);opacity:0}65%{transform:translate(34%,64%)}70%{transform:translate(47%,34%)}74%{transform:translate(50%,38%)}80%{transform:translate(69%,58%)}84%{transform:translate(75%,55%)}87%,91%{transform:translate(93%,50%);opacity:1}94%{transform:translate(93%,50%);opacity:0}97%{transform:translate(29%,64%);opacity:0}}
@keyframes queue-ball-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes queue-goal-left{0%,44%,55%,100%{transform:skewY(-8deg)}47%{transform:skewY(-8deg) scaleX(1.18)}50%{transform:skewY(-8deg) scaleX(.96)}}
@keyframes queue-goal-right{0%,85%,94%,100%{transform:skewY(8deg)}88%{transform:skewY(8deg) scaleX(1.18)}91%{transform:skewY(8deg) scaleX(.96)}}
@keyframes queue-goal-glow-left{0%,44%,57%,100%{opacity:0}48%,51%{opacity:.4}}
@keyframes queue-goal-glow-right{0%,85%,96%,100%{opacity:0}89%,92%{opacity:.4}}
@keyframes queue-celebrate-left{0%,45%,58%,100%{opacity:0;transform:translateY(6px)}48%,53%{opacity:1;transform:translateY(0)}}
@keyframes queue-celebrate-right{0%,86%,98%,100%{opacity:0;transform:translateY(6px)}89%,93%{opacity:1;transform:translateY(0)}}
@media(max-width:500px){.queue-screen{padding:28px 0;min-height:65vh}.queue-football{border-radius:23px;margin-bottom:16px}.queue-screen h1{font-size:29px;letter-spacing:-1px}.queue-screen>p{font-size:12px;line-height:1.8}.queue-goal{border-width:1.5px}.queue-football .queue-celebrate{font-size:8px}}
@media(prefers-reduced-motion:reduce){.queue-football *,.queue-football :after{animation:none!important}.queue-football .queue-celebrate{display:none}}

/* Confirmed rewards stay legible even when motion is disabled. */
.time-reward-badge{display:inline-block;margin-top:5px;color:#ffe1a5;font-size:10px;line-height:1.5;font-weight:650}
.speed-rule{color:#9eb5c8;font-size:11px;line-height:1.5;margin:14px 0 5px}
.game-reward{position:fixed;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:60;pointer-events:none;display:flex;flex-direction:column;gap:5px;text-align:center;padding:17px 26px;border:1px solid #bca77470;border-radius:20px;background:linear-gradient(125deg,#30404cfa,#122434fa);box-shadow:0 12px 45px #0007,inset 0 1px #ffe4ab24;width:max-content;max-width:calc(100vw - 40px);box-sizing:border-box}
.game-reward strong{font-size:20px;color:#ffe3ad}.game-reward span{font-size:12px;line-height:1.4;color:#dde8f2}
.token-atmosphere{position:fixed;inset:0;overflow:hidden;z-index:4;pointer-events:none}.token-atmosphere img{position:absolute;width:clamp(80px,15vw,210px);height:auto;filter:blur(5px);opacity:0}
@media(prefers-reduced-motion:reduce){.token-atmosphere{display:none}}

/* Keep the clock beside the field and visible while choosing an answer. */
.match-clockbar{position:sticky;top:10px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:12px 22px;border:1px solid #48657c;border-radius:20px;background:#102337f5;box-shadow:0 6px 22px #020a1480;backdrop-filter:blur(12px)}
.clock-turn{display:flex;align-items:center;gap:12px;min-width:0}.clock-turn>div{min-width:0}.clock-turn-mark{display:flex;flex-shrink:0}.clock-turn-mark .game-mark{width:34px;height:34px}.clock-turn small{display:block;font-size:9px;letter-spacing:1.2px;color:#b4c9da}.clock-turn b{display:block;margin-top:4px;font-size:16px;overflow-wrap:anywhere;line-height:1.3}
.match-clockbar .match-timer{display:flex;align-items:center;gap:12px;flex-shrink:0;min-width:0;margin:0;padding:0 0 0 22px;border:0;border-left:1px solid #426078;border-radius:0;background:none;box-shadow:none;text-align:left}
.match-clockbar .match-timer>span{font-size:48px;font-weight:800;color:#f2f7ff;min-width:2.1ch}.match-clockbar .match-timer>small{max-width:65px;font-size:8px;line-height:1.6;letter-spacing:1px;margin:0;color:#bdd0df}
.match-clockbar .match-timer>span.urgent{color:#ff8998}.match-clockbar:has(.urgent){border-color:#ff8998;background:#302334f5}
.board-cell.free.selected,.board-cell.free.selected:hover:not(:disabled){border-color:#ffd85b;background:linear-gradient(155deg,#3a392a,#172637);box-shadow:inset 0 0 0 2px #ffd85b,0 0 14px #ffd85b24;color:#ffe9a0;transform:none}
.board-cell.free.selected>small{color:#ffe28a;font-weight:700}.board-cell.free.selected .cell-open-mark{color:#ffe28a}.board-cell.free.selected:disabled{opacity:1}
@media(max-width:740px){.answer-panel{scroll-margin-top:110px}.match-clockbar{top:6px;padding:11px 14px;gap:12px;border-radius:16px}.clock-turn{gap:9px}.clock-turn b{font-size:14px}.clock-turn small{font-size:8px;letter-spacing:.6px}.clock-turn-mark .game-mark{width:28px;height:28px}.match-clockbar .match-timer{padding-left:13px;gap:8px}.match-clockbar .match-timer>span{font-size:40px}.match-clockbar .match-timer>small{font-size:7px;max-width:54px;letter-spacing:.5px}}
@media(max-width:380px){.clock-turn b{font-size:12px}.match-clockbar{gap:8px;padding:10px}.match-clockbar .match-timer{padding-left:10px;gap:6px}.match-clockbar .match-timer>span{font-size:36px}.clock-turn-mark .game-mark{width:23px;height:23px}}
/* Upcoming difficulty stays visibly violet while its native disabled state blocks selection. */
.lab-entry .preset-card.difficulty-coming:disabled,.room-settings-panel .preset-card.difficulty-coming:disabled{opacity:.82;filter:none;cursor:default}
.quick-level .ui-art{filter:none}

/* One short lobby entrance; server state can remove it immediately. */
.stadium-entrance{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden;background:#07111d url('/assets/stadium-hero-mobile.webp?v=2') center 58%/cover no-repeat;animation:entrance-reveal 1.05s ease both}
.stadium-entrance:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#040b14f0,transparent 80%),linear-gradient(90deg,#07111d88,#07111d22)}
.entrance-beams{position:absolute;inset:-12%;background:conic-gradient(from 145deg at 15% 8%,transparent 0deg,#b9defa44 13deg,transparent 28deg),conic-gradient(from 193deg at 88% 8%,transparent 0deg,#d5efff55 13deg,transparent 27deg);filter:blur(8px);animation:entrance-lights .95s ease-out both}
.entrance-copy{position:absolute;inset:auto 24px 23%;text-align:center;color:#f3f6ff;animation:entrance-title .9s ease both;text-shadow:0 3px 28px #0009}
.entrance-copy span{display:block;font-size:10px;font-weight:700;letter-spacing:3px;margin-bottom:16px;color:#bbcddd}.entrance-copy strong{display:block;font-size:clamp(30px,6vw,64px);font-weight:850;letter-spacing:-1.6px;line-height:1.1}
@keyframes entrance-reveal{0%{opacity:0}18%,68%{opacity:1}100%{opacity:0}}
@keyframes entrance-title{0%{opacity:0;transform:translateY(18px)}28%,75%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-6px)}}
@keyframes entrance-lights{from{opacity:0;transform:rotate(-7deg) scale(1.06)}45%{opacity:.8}to{opacity:.1;transform:rotate(7deg) scale(1)}}
.stadium-entrance.still{animation:none;background-image:none;background:#07111d99}.stadium-entrance.still .entrance-beams{display:none}.stadium-entrance.still .entrance-copy{animation:none}
@media(prefers-reduced-motion:reduce){.stadium-entrance,.entrance-copy,.entrance-beams{animation:none}.entrance-beams{display:none}}

/* Decorative loops pause while the page is hidden. */
.motion-paused .stadium-light,.motion-paused .queue-football *,.motion-paused .queue-football :after{animation-play-state:paused!important}

/* Opt-in double-threat defence. Decorative motion never owns the turn clock. */
.guard-setting{margin-top:20px;padding:18px;border:1px solid #49647a;border-radius:18px;background:linear-gradient(135deg,#20364a,#101f30)}
.guard-setting>label{display:flex;align-items:center;gap:12px;cursor:pointer}.guard-setting input{accent-color:#ff6379;width:20px;height:20px}.guard-setting .inline-icon{width:37px;height:40px}.guard-setting b,.guard-setting small{display:block}.guard-setting small{color:#aabed0;font-size:12px;margin-top:3px}.guard-setting details{color:#aabed0;font-size:12px;margin:12px 0 0 32px}.guard-setting summary{cursor:pointer}.guard-setting p{margin-top:10px;line-height:1.6}
.guard-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #d3b26880;background:linear-gradient(120deg,#383229,#152a3d);border-radius:17px;padding:14px 17px;margin:0 0 16px}.guard-notice>div{display:flex;align-items:center;gap:12px}.guard-notice .inline-icon{width:39px;height:43px}.guard-notice b,.guard-notice small{display:block}.guard-notice b{color:#ffdf9c;font-size:17px}.guard-notice small,.guard-notice-status{font-size:11px;color:#d0c9b8}.guard-notice .button{flex-shrink:0}
.board-cell.double-threat{position:relative;isolation:isolate;overflow:hidden;border-color:#e8c883!important;animation:guard-border 5.2s ease-in-out infinite;animation-delay:var(--threat-phase,0s)}
.board-cell.double-threat::after{content:"";position:absolute;inset:-80% -140%;z-index:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,#f9dc9540 46%,#e7f8ff7a 50%,#fbd29c36 54%,transparent 65%);transform:translateX(-35%);animation:guard-shimmer 5.2s ease-in-out infinite;animation-delay:var(--threat-phase,0s)}
.board-cell.double-threat>*{position:relative;z-index:1}.board-cell.double-threat:disabled{opacity:1}.board-cell.double-threat .threat-label{color:#ffe3a8;font-weight:650;letter-spacing:.04em}.board-cell.guard-shielded{background:radial-gradient(ellipse at 50% 32%,#466b8277,transparent 70%),linear-gradient(145deg,#213b4e,#122335)}
.guard-cell-shield{width:clamp(46px,6.5vw,92px);height:clamp(50px,7vw,100px);object-fit:contain;filter:drop-shadow(0 7px 8px #0008);animation:guard-seal .45s ease-out both}.board-cell.guard-shielded>small{margin-top:8px;color:#d8eaf5;font-weight:650}
.board-cell.guard-sealed{cursor:not-allowed;border-color:#88a9bd!important;background:radial-gradient(ellipse at 50% 34%,#42647c88,transparent 68%),linear-gradient(145deg,#1d3447,#101d2a);box-shadow:inset 0 0 24px #8fb6cf18}.board-cell.guard-sealed .guard-cell-shield{width:clamp(42px,5.5vw,76px);height:clamp(46px,6vw,82px);animation:guard-seal .5s ease-out both}.board-cell.guard-sealed .cell-name{font-size:clamp(10px,1vw,14px);color:#d8eaf5;text-shadow:0 1px 5px #07111dcc}
.guard-panel h2{display:flex;align-items:center;gap:10px}.guard-panel h2 .inline-icon{width:38px;height:42px}.guard-target-list{display:grid;gap:9px;margin:18px 0}.guard-target-list .button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px}.guard-target-list .button.selected{border-color:#e6cc8c;box-shadow:inset 0 0 0 1px #e6cc8c44}.guard-target-list .button:disabled{opacity:.75}.guard-target-list small{color:#b5cddd;font-size:11px}.guard-panel>small{display:block;margin-top:16px;color:#aabdd0}
@keyframes guard-shimmer{0%,12%{transform:translateX(-35%);opacity:.15}48%{opacity:.8}85%,100%{transform:translateX(35%);opacity:.15}}
@keyframes guard-border{0%,100%{box-shadow:inset 0 0 14px #f6c77522,0 0 8px #f6c77522}50%{box-shadow:inset 0 0 22px #ffe1a33d,0 0 19px #c2e8ff44}}
@keyframes guard-seal{from{opacity:0;transform:scale(.75) translateY(8px)}to{opacity:1;transform:none}}
.guard-paused .double-threat,.guard-paused .double-threat::after{animation-play-state:paused}
@media(max-width:600px){.guard-notice{flex-wrap:wrap;padding:13px}.guard-notice .button{width:100%}.guard-notice b{font-size:15px}.guard-notice small{font-size:10px}.guard-setting{padding:14px}.board-cell.guard-shielded>small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.board-cell.double-threat,.board-cell.double-threat::after,.guard-cell-shield{animation:none!important}.board-cell.double-threat::after{opacity:.22;transform:none}}

/* A provisional winning line: slow danger pulse, never a full-screen flash. */
.last-chance-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:17px 20px;margin-bottom:16px;border:1px solid #ff715e;border-radius:17px;background:linear-gradient(115deg,#58222d,#202336);box-shadow:inset 4px 0 #ff725f}.last-chance-banner b{font-size:19px;color:#fff1dc}.last-chance-banner span{font-size:12px;color:#efc2bf;line-height:1.5}
.board-cell.line-danger{isolation:isolate;border-color:#ff826e!important;animation:line-danger-pulse 2.6s ease-in-out infinite}.board-cell.line-danger:after,.board-cell.winning:not(.line-danger):after{content:"";pointer-events:none;position:absolute;inset:-100%;z-index:2;background:linear-gradient(115deg,transparent 40%,#ffcf9855 48%,#fff1cc88 50%,transparent 57%);animation:line-danger-sheen 4s ease-in-out infinite}.board-cell.line-danger .cell-name{z-index:4}.board-cell.last-chance-target{border-color:#ffdca3;box-shadow:0 0 12px #ffdca330}.capture-echo{position:absolute!important;pointer-events:none;inset:6px;z-index:5;border:2px solid #ffd6d0;border-radius:inherit;box-shadow:0 0 18px #ff797755,inset 0 0 15px #ffb0a644}.owner-1 .capture-echo{border-color:#b2ffe0;box-shadow:0 0 18px #7cffbb55,inset 0 0 15px #9cffe244}.guard-setting .last-chance-option{margin-top:16px;padding-top:16px;border-top:1px solid #ffffff18}
@keyframes line-danger-pulse{0%,100%{box-shadow:inset 0 0 16px #ff533f25,0 0 7px #ff674540}50%{box-shadow:inset 0 0 32px #ff533f50,0 0 22px #ff674575}}
@keyframes line-danger-sheen{0%,15%{transform:translateX(-50%);opacity:0}45%{opacity:1}85%,100%{transform:translateX(50%);opacity:0}}
.guard-paused .line-danger,.guard-paused .line-danger:after,.motion-paused .line-danger,.motion-paused .line-danger:after,.motion-paused .winning:after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.board-cell.line-danger,.board-cell.winning:after{animation:none!important}.board-cell.winning:after{display:none}.board-cell.line-danger{box-shadow:inset 0 0 16px #ff533f30}.capture-echo{display:none}}

.capture-echo{animation:capture-frame-echo .8s ease-out both}@keyframes capture-frame-echo{from{transform:scale(.8);opacity:.85}to{transform:scale(1.15);opacity:0}}.board-cell.line-danger{animation-delay:var(--danger-phase,0s)}.board-cell.winning:after{animation-delay:var(--line-phase,0s)}

/* Live rooms use the same tactile surfaces as the match lobby. */
.room-directory{margin:32px 0 64px;scroll-margin-top:24px}.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.directory-heading h2{font-size:clamp(24px,3vw,36px);letter-spacing:-.04em;margin:8px 0 0}.directory-heading .eyebrow{font-size:10px;color:#92aabe;letter-spacing:.2em}.directory-heading h2>span{font-size:16px;vertical-align:middle;color:#a3b9ca;background:#213449;border-radius:10px;padding:5px 10px}.directory-heading h2>span:empty{display:none}.directory-status{color:#9eb2c4;font-size:14px;line-height:1.6}.directory-status:empty{display:none}.directory-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.directory-room{--room-accent:#8ee6b1;padding:24px;border-radius:26px;border:1px solid #39536b;background:radial-gradient(ellipse at top right,#54748d20,transparent 65%),linear-gradient(145deg,#1c3042,#0c1926);box-shadow:inset 0 1px 0 #b6d7ff12,0 12px 24px #0002;min-width:0}.directory-room.difficulty-amateur{--room-accent:#9ecdf2}.directory-room.difficulty-medium{--room-accent:#dbe46b}.directory-room.difficulty-hard{--room-accent:#ff8493}.directory-room-top,.directory-room-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.directory-room-top{font-size:11px;color:#b6c7d7}.directory-state{display:flex;align-items:center;gap:7px;white-space:nowrap}.directory-state i{height:7px;width:7px;border-radius:50%;background:#74d9a5;box-shadow:0 0 9px #74d9a533}.directory-state.is-playing i{background:#ff788a;box-shadow:0 0 9px #ff788a33}.directory-access{color:#aabed0;white-space:nowrap}.directory-game{display:flex;align-items:center;gap:15px;margin:23px 0 18px}.directory-game img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 4px 6px #0004)}.directory-game>div{min-width:0}.directory-game h3{font-size:20px;letter-spacing:-.025em;margin:0 0 5px}.directory-game p{color:#a7bbce;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.directory-tags{display:flex;gap:7px;flex-wrap:wrap;align-items:center;font-size:11px;color:#a9bfd2}.directory-tags span{padding:6px 9px;background:#0916226b;border:1px solid #adccec18;border-radius:9px}.directory-tags .directory-level{color:var(--room-accent);border-color:color-mix(in srgb,var(--room-accent) 30%,transparent)}.directory-players{display:flex;align-items:center;gap:9px;margin:21px 0;padding-top:16px;border-top:1px solid #b4c7db18;font-size:12px;color:#dde9f4}.directory-players>span:not(.directory-vs){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory-players>.vacant{color:#819bb2}.directory-vs{color:#718a9f}.directory-room-bottom>span{font-size:11px;color:#8ea9be}.directory-room-bottom .button{min-height:44px;font-size:12px;padding:12px 16px}.directory-more{display:block;margin:24px auto 0}.directory-more[hidden]{display:none}.entry-access{margin:22px 0}.room-access-options{margin:0 0 12px;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.room-access-options legend{font-size:13px;font-weight:650;margin-bottom:12px;color:#c4d3e0}.room-access-options label{position:relative;display:block;cursor:pointer}.room-access-options input{position:absolute;opacity:0;width:1px;height:1px}.room-access-options span{display:flex;align-items:center;justify-content:center;padding:13px 8px;border:1px solid #425d75;border-radius:13px;background:linear-gradient(#24394b,#142535);font-size:13px;color:#c5d3e0}.room-access-options input:checked+span{border-color:#ff8093;background:linear-gradient(#51323f,#302335);color:#fff0f3;box-shadow:inset 0 1px #ffd9e433}.room-access-options input:focus-visible+span{outline:3px solid #d6e9ff;outline-offset:3px}.access-note,.entry-access>small{font-size:12px;line-height:1.5;color:#9fb3c6}.entry-access .form-label{margin-top:15px}.entry-access .form-label small{font-weight:400;color:#90a8bd}
@media(max-width:1080px){.directory-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.directory-cards{grid-template-columns:1fr}.directory-room{padding:20px}.directory-heading{align-items:flex-start;gap:10px}.directory-heading>.button{font-size:11px;padding:10px;min-height:40px}.directory-heading h2{font-size:25px}.directory-room-bottom .button{font-size:13px}.room-directory{margin-top:24px}}

/* Newest-first chat: composer stays above the scrollable history. */
.room-chat #chat-form{margin-top:18px}.room-chat .chat-error:empty{display:none}.room-chat .chat-messages{margin:16px 0 0}.room-chat .chat-message:first-child{margin-top:0;border:1px solid #45617c;background:#183047}.room-chat .chat-message:not(:first-child){opacity:.68}.room-chat .chat-message:nth-child(n+5){opacity:.54}.room-chat .chat-message:hover,.room-chat .chat-message:focus-within{opacity:1}

/* Shared reactions: tactile badge and a short, silent echo. */
.chat-message{position:relative}.message-like{display:block;margin:9px 0 0 auto;border:1px solid #5d7185;border-radius:20px;background:#243747;color:#c7d6e2;padding:4px 10px;min-height:30px;cursor:pointer}.message-like.is-liked{color:#ff8198;background:#4b2939;border-color:#bc637c}.message-like:disabled{cursor:default}.message-like:disabled:not(.is-liked):has(span:empty){display:none}.respect-badge{position:absolute;z-index:5;right:10px;top:10px;padding:6px 10px;border:1px solid #d1af77;border-radius:20px;background:#24313cdb;color:#ffdda6;font-size:12px;box-shadow:0 3px 12px #0005}.reaction-echo{position:absolute;z-index:20;pointer-events:none;inset:0;display:grid;place-items:center;color:#ff718b;font-size:46px}.reaction-echo i,.reaction-echo b{grid-area:1/1;font-style:normal;animation:reaction-pop .9s ease-out both}.reaction-echo i{animation-name:reaction-wave}.reaction-echo i:nth-child(2){animation-delay:.12s}.chat-message:has(.reaction-echo){opacity:1}.message-like:focus-visible{outline:2px solid #fff;outline-offset:3px}.board-cell:has(.respect-badge){touch-action:manipulation}
@keyframes reaction-pop{0%{opacity:0;transform:scale(.4)}25%{opacity:1;transform:scale(1.2)}50%{opacity:1;transform:scale(1)}100%{opacity:0;transform:translateY(-16px) scale(1)}}
@keyframes reaction-wave{0%{opacity:.7;transform:scale(.7);filter:blur(0)}100%{opacity:0;transform:scale(2.8);filter:blur(9px)}}
@media(prefers-reduced-motion:reduce){.reaction-echo i{display:none}.reaction-echo b{animation:none}}

.chat-message{touch-action:manipulation}

/* Keep short messages compact; reactions share the text row. */
.room-chat .chat-message{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:start}.room-chat .chat-message>div{grid-column:1 / -1}.room-chat .chat-message p{grid-column:1;margin:0;min-width:0}.room-chat .chat-message .message-like{grid-column:2;grid-row:2;margin:0;align-self:end;font-size:12px;line-height:18px;min-height:26px;padding:3px 9px}

/* Phone match: spend the screen on the board and the current answer. */
.answer-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mobile-board-return{display:none}
@media(max-width:740px){
 body[data-match-live=true] main{padding-top:0}
 body[data-match-live=true] .dh-site-header{min-height:56px;padding-block:6px}
 body[data-match-live=true] .room-viewtop{margin:8px 0;gap:6px}
 body[data-match-live=true] .room-viewtop>.button{min-height:44px;padding:8px 10px}
 .match-playing .match-top.match-overview{display:grid;grid-template-columns:minmax(0,1fr) 108px;align-items:center;padding:12px;border-radius:16px;gap:8px;margin:10px 0}
 .match-playing .match-overview h1{font-size:23px;margin:4px 0 6px;line-height:1.15}
 .match-playing .match-overview h1 small{display:block;font-size:13px;line-height:1.35;margin-top:4px}
 .match-playing .match-overview .eyebrow{font-size:9px;letter-spacing:.6px}
 .match-playing .round-progress{margin:4px 0 0}
 .match-playing .round-difficulty{margin:4px 0;font-size:11px}
 .match-playing .match-overview .match-code{padding-top:0;border:0;gap:4px;flex-basis:auto;width:108px;margin:0;flex-direction:column;align-items:stretch}
 .match-playing .match-code>div{gap:2px}
 .match-playing .match-code>div>span{font-size:8px;letter-spacing:.5px}
 .match-playing .match-code>div>button{min-height:44px;font-size:17px;letter-spacing:1px}
 .match-playing .match-overview .match-code>.button{min-height:44px;padding:8px;font-size:11px}
 .match-playing .match-code .inline-icon{width:22px;height:22px}
 .match-playing .match-players{gap:8px;margin-bottom:10px}
 .match-playing .match-player{grid-template-columns:22px minmax(0,1fr);padding:10px;gap:4px 7px;border-radius:14px}
 .match-playing .match-side-mark .game-mark{width:22px;height:22px}
 .match-playing .match-player-copy>b{font-size:12px;line-height:1.3}
 .match-playing .match-player-copy>p{font-size:10px;margin-top:3px}
 .match-playing .match-wallet{grid-column:2;padding:0;margin:0;gap:5px;justify-content:flex-start;border:0;border-radius:0;background:none}
 .match-playing .match-wallet>b{font-size:15px;gap:3px}
 .match-playing .match-wallet .inline-icon{width:19px;height:19px}
 .match-playing .match-wallet>small{font-size:9px}
 .match-playing .match-clockbar{padding:8px 12px;gap:10px;margin-bottom:10px;border-radius:14px}
 .match-playing .match-timer>span{font-size:32px}
 .match-playing .clock-turn b{font-size:13px;margin-top:2px}
 .match-playing .match-layout{gap:12px}
 .match-playing .lab-board{grid-template-columns:56px repeat(3,minmax(0,1fr));gap:5px;scroll-margin-top:86px}
 .match-playing .col-axis{min-height:64px;padding:0 0 6px;gap:4px}
 .match-playing .row-axis{padding:3px 0;gap:4px}
 .match-playing .board-axis>span:last-child{font-size:9px;line-height:1.3}
 .match-playing .axis-badge{width:30px;height:30px;flex-basis:30px}
 .match-playing .axis-flag,.match-playing .axis-position{min-height:30px;font-size:26px}
 .match-playing .board-cell{height:clamp(92px,25vw,110px);min-height:0;padding:8px 4px}
 .match-playing .board-cell.claimed{padding:46px 4px 7px;gap:0}
 .match-playing .board-cell.claimed>.cell-name{font-size:10px;line-height:1.25;min-height:28px}
 .match-playing .board-cell.claimed .captured-symbol{width:26px;height:26px;bottom:auto;top:8px;right:5px}
 .match-playing .board-under{margin-top:8px;gap:6px}
 .match-playing .board-under .button{min-height:44px;padding:8px 10px;font-size:12px}
 .match-playing .answer-panel{padding:16px;scroll-margin-top:90px}
 .match-playing .answer-panel .mobile-board-return{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;margin:0;flex-shrink:0;font-size:12px}
 .match-playing .answer-panel h2{font-size:22px;margin:8px 0;line-height:1.25}
 .match-playing .answer-panel>p{font-size:12px;margin:8px 0}
 .match-playing #answer-input{min-height:48px;font-size:16px}
 .match-playing .check-answer{min-height:48px;font-size:14px}
 .match-playing .scout-shop.hint-shop{margin-top:16px;padding-top:16px}
 .match-playing .scout-shop .hint-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
 .match-playing .scout-shop .hint-products .scout-choice{flex-direction:column;align-items:stretch;gap:8px;min-height:112px;padding:10px 7px;border-radius:12px}
 .match-playing .scout-choice-copy{gap:4px}
 .match-playing .scout-choice-copy b{font-size:12px}
 .match-playing .scout-choice-copy small{font-size:10px;line-height:1.35}
 .match-playing .scout-choice-copy em{font-size:10px}
 .match-playing .scout-shop .hint-products .scout-price{justify-content:flex-start;margin-top:auto;font-size:16px}
 .match-playing .scout-price .inline-icon{width:20px;height:20px}
 .match-playing .scout-shop .hint-products .scout-choice.owned .scout-price{font-size:11px}
}

/* Phone app layout: primary play stays on screen; secondary content uses sheets. */
.mobile-sheet-heading,.mobile-match-toolbar,.mobile-hints-toggle{display:none}
@media(max-width:740px){
 .mobile-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
 .mobile-sheet-heading h2{font-size:18px;line-height:1.3;margin:0;letter-spacing:-.4px}
 .mobile-sheet-heading>button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #51697f;border-radius:13px;background:#20374b;color:#fff}
 .mobile-sheet-heading>button img{width:20px;height:20px;object-fit:contain}
 .directory-panel[popover],[data-mobile-sheet][popover]{position:fixed;inset:auto 12px var(--sheet-bottom,max(12px,env(safe-area-inset-bottom)));box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:min(var(--sheet-height,76dvh),calc(100dvh - 32px));margin:0 auto;padding:16px;border:1px solid #66829b99;border-radius:22px;background:rgba(12,29,45,.94);color:var(--dy-text);box-shadow:0 12px 60px #0009,inset 0 1px #eff8ff16;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .directory-panel[popover]::backdrop,[data-mobile-sheet][popover]::backdrop{background:#020a1340}
 .directory-panel[popover]:popover-open,[data-mobile-sheet][popover]:popover-open{animation:phone-sheet-in .18s ease-out}
 [data-mobile-sheet][popover]:not(:popover-open),.directory-panel[popover]:not(:popover-open){display:none!important}
 .quick-entry{width:100%;max-width:540px;margin:0 auto;padding:0}
 body[data-view="quick"] #app{padding:8px 0 0;flex:1;min-height:0}
 body[data-view="quick"] .shell{display:flex;flex-direction:column;min-height:calc(100dvh - 28px)}
 body[data-view="quick"] .header{min-height:64px;padding:8px 0}
 .quick-entry .lab-viewtop{margin:0 0 18px;min-height:44px}
 .quick-entry .entry-heading{margin:0 0 22px;gap:12px}
 .quick-entry .entry-heading h1{font-size:28px}
 .quick-entry .entry-heading p{font-size:13px;margin-top:5px}
 .quick-entry .quick-name{max-width:none;margin:0 0 18px;gap:8px}
 .quick-entry .quick-name input{min-height:48px}
 .quick-difficulty-panel .quick-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .quick-difficulty-panel .quick-level{padding:14px 10px;min-height:116px;border-radius:15px}
 .quick-difficulty-panel .quick-level>span{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
 .quick-difficulty-panel .quick-level .ui-art{width:32px;height:32px;margin-bottom:4px}
 .quick-difficulty-panel .quick-level b{font-size:17px;padding:0}.quick-difficulty-panel .quick-level small{font-size:12px}
 .quick-difficulty-panel .quick-level>input{right:10px;top:12px;width:22px;height:22px;margin:0}
 .quick-entry .format-summary{font-size:12px;line-height:1.5;margin:14px 0}
 .quick-entry .quick-submit{display:flex;width:100%;min-width:0;min-height:56px;margin:0;justify-content:center;font-size:16px}
 body:is([data-match-live="true"],[data-match-result="true"]) .shell{height:100dvh;min-height:540px;width:calc(100% - 24px);display:flex;flex-direction:column;padding-bottom:max(6px,env(safe-area-inset-bottom))}
 body:is([data-match-live="true"],[data-match-result="true"]) .shell>.header,body:is([data-match-live="true"],[data-match-result="true"]) .site-footer,body:is([data-match-live="true"],[data-match-result="true"])>.rights-notice{display:none}
 body:is([data-match-live="true"],[data-match-result="true"]) #app{padding:0;flex:1;min-height:0;display:flex;flex-direction:column}
 body:is([data-match-live="true"],[data-match-result="true"]) .room-viewtop{min-height:44px;margin:0 0 4px;padding:0;gap:4px;flex-shrink:0;flex-wrap:nowrap}
 body:is([data-match-live="true"],[data-match-result="true"]) .room-viewtop>.button{min-height:44px;font-size:11px;padding:6px}
 body:is([data-match-live="true"],[data-match-result="true"]) .room-context{font-size:9px;min-width:0}.room-context .connection-status{font-size:10px}
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished){padding:0;flex:1;min-height:0;display:flex;flex-direction:column;gap:6px}
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished) .match-overview{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0;min-height:38px;flex-shrink:0}
 :is(.match-playing,.round-finished) .match-overview .match-heading{min-width:0;flex:1}:is(.match-playing,.round-finished) .match-overview .match-heading>.eyebrow{display:none}
 :is(.match-playing,.round-finished) .match-overview h1{font-size:17px;margin:0;line-height:1.3}:is(.match-playing,.round-finished) .match-overview h1 small{font-size:11px}
 :is(.match-playing,.round-finished) .match-overview .round-progress,:is(.match-playing,.round-finished) .match-overview .round-difficulty{font-size:10px;margin:3px 0 0;line-height:1.3}
 :is(.match-playing,.round-finished) .match-overview .match-code{width:auto;max-width:none;order:0;display:flex;align-items:center;gap:4px;padding:0}
 :is(.match-playing,.round-finished) .match-overview .match-code>div>span{display:none}:is(.match-playing,.round-finished) .match-overview .match-code>div>button{min-height:44px;font-size:16px;padding:4px 8px;letter-spacing:.06em}
 :is(.match-playing,.round-finished) .match-overview .match-code>.button{font-size:0;padding:8px;min-height:44px;min-width:44px;gap:0}
 :is(.match-playing,.round-finished) .match-overview .match-code>.button .inline-icon{width:24px;height:24px}
 :is(.match-playing,.round-finished) .match-players{margin:0;gap:6px;flex-shrink:0}
 :is(.match-playing,.round-finished) .match-players .match-player{grid-template-columns:20px minmax(0,1fr) auto;gap:3px 5px;padding:7px 8px;border-radius:12px;min-height:52px}
 :is(.match-playing,.round-finished) .match-players .match-player>.member-avatar{display:none}
 :is(.match-playing,.round-finished) .match-players .match-wallet{grid-column:3;grid-row:1;padding:0;margin:0}:is(.match-playing,.round-finished) .match-players .match-wallet>small{display:none}
 :is(.match-playing,.round-finished) .match-players .match-wallet>b{font-size:15px}:is(.match-playing,.round-finished) .match-players .inline-icon{width:18px;height:18px}
 :is(.match-playing,.round-finished) .match-player-copy>b{font-size:11px;overflow-wrap:anywhere}:is(.match-playing,.round-finished) .match-player-copy>p{font-size:9px;margin:2px 0 0;line-height:1.3}
 :is(.match-playing,.round-finished) .match-clockbar{position:relative;top:auto;margin:0;min-height:50px;padding:6px 12px;border-radius:12px;flex-shrink:0}
 :is(.match-playing,.round-finished) .match-clockbar .clock-turn-mark .game-mark{width:24px;height:24px}:is(.match-playing,.round-finished) .match-clockbar .clock-turn{gap:8px}
 :is(.match-playing,.round-finished) .match-clockbar .clock-turn small{font-size:9px}:is(.match-playing,.round-finished) .match-clockbar .clock-turn b{font-size:12px}
 :is(.match-playing,.round-finished) .match-clockbar .match-timer{display:flex;align-items:center;gap:8px;padding:0;min-width:0}:is(.match-playing,.round-finished) .match-clockbar .match-timer>span{font-size:29px;line-height:1}:is(.match-playing,.round-finished) .match-clockbar .match-timer>small{font-size:8px;max-width:52px;line-height:1.3}
 body:is([data-match-live="true"],[data-match-result="true"]) .match-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:6px}
 body:is([data-match-live="true"],[data-match-result="true"]) .board-area{display:flex;flex-direction:column;flex:1;min-height:180px}
 :is(.match-playing,.round-finished) .board-area>.lab-board{flex:1;min-height:180px;grid-template-columns:48px repeat(3,minmax(0,1fr));grid-template-rows:44px repeat(3,minmax(44px,1fr));gap:4px}
 :is(.match-playing,.round-finished) .lab-board .board-cell{height:auto;min-height:44px;padding:5px 3px;border-radius:11px;overflow:hidden}
 :is(.match-playing,.round-finished) .lab-board .board-cell.claimed{padding:36px 3px 4px;justify-content:flex-end;gap:0}
 :is(.match-playing,.round-finished) .lab-board .cell-face{width:32px;height:34px;top:3px;left:5px;transform:none}
 :is(.match-playing,.round-finished) .lab-board .board-cell.claimed>.cell-name{font-size:9px;line-height:1.2;min-height:0;position:relative;z-index:3;text-align:center}
 :is(.match-playing,.round-finished) .lab-board .board-cell.claimed .captured-symbol{width:20px;height:20px;top:4px;right:4px}
 :is(.match-playing,.round-finished) .lab-board .col-axis{min-height:0;padding:0;gap:2px}:is(.match-playing,.round-finished) .lab-board .row-axis{padding:0;gap:2px}
 :is(.match-playing,.round-finished) .lab-board .axis-badge{width:24px;height:24px;flex-basis:24px}:is(.match-playing,.round-finished) .lab-board .axis-position,:is(.match-playing,.round-finished) .lab-board .axis-flag{min-height:24px;font-size:24px;width:28px;height:24px}
 :is(.match-playing,.round-finished) .lab-board .board-axis>span:last-child{font-size:8px;line-height:1.2}:is(.match-playing,.round-finished) .lab-board .board-corner{font-size:6px;letter-spacing:.2px}
 :is(.match-playing,.round-finished) .lab-board .cell-open-icon{width:22px;height:22px}:is(.match-playing,.round-finished) .lab-board .board-cell.free>small{font-size:8px}
 body:is([data-match-live="true"],[data-match-result="true"]) .answer-panel{flex-shrink:0;padding:10px 12px;border-radius:14px;margin:0}
 body:is([data-match-live="true"],[data-match-result="true"]) .answer-panel-top{min-height:0;gap:8px}
 :is(.match-playing,.round-finished) .answer-panel .mobile-board-return{display:none}
 :is(.match-playing,.round-finished) .answer-panel .mobile-hints-toggle{display:flex;min-height:44px;font-size:12px;padding:6px 10px;margin-left:auto;gap:5px}
 :is(.match-playing,.round-finished) .answer-panel .mobile-hints-toggle .inline-icon{width:24px;height:24px}
 :is(.match-playing,.round-finished) .answer-panel-top>.eyebrow{font-size:9px;letter-spacing:.1em}
 body:is([data-match-live="true"],[data-match-result="true"]) .answer-panel>h2{font-size:16px;line-height:1.3;margin:3px 0 8px}
 body:is([data-match-live="true"],[data-match-result="true"]) .answer-panel>p{font-size:11px;line-height:1.4;margin:4px 0}
 :is(.match-playing,.round-finished) .answer-panel:has(#answer-form)>p:not(.lab-error){display:none}
 :is(.match-playing,.round-finished) .answer-panel .choose-art,:is(.match-playing,.round-finished) .answer-panel .opponent-thinking{display:none}
 :is(.match-playing,.round-finished) #answer-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;margin:0}
 :is(.match-playing,.round-finished) #answer-input{width:100%;min-height:44px;height:44px;padding:10px;font-size:16px}
 :is(.match-playing,.round-finished) #answer-form>.check-answer{min-height:44px;padding:10px;font-size:0;margin:0;gap:0}
 :is(.match-playing,.round-finished) #answer-form>.check-answer:after{content:'Ответить';font-size:13px}
 :is(.match-playing,.round-finished) .player-combobox{min-width:0}:is(.match-playing,.round-finished) .player-options{position:absolute;top:auto;bottom:calc(100% + 6px);left:0;right:0;max-height:min(240px,38dvh);overflow:auto;z-index:30;background:#0c1c2c;border:1px solid #647b93;box-shadow:0 -8px 25px #0008}
 :is(.match-playing,.round-finished) .player-options .suggestion{min-height:44px}:is(.match-playing,.round-finished) .player-options .suggestion em{display:none}
 body:is([data-match-live="true"],[data-match-result="true"]) .mobile-match-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex-shrink:0;padding-top:0}
 .mobile-match-toolbar>.button{min-height:44px;padding:6px 12px;font-size:12px;gap:7px;border-radius:12px}
 .mobile-match-toolbar .inline-icon{width:24px;height:24px}
 :is(.match-playing,.round-finished) .match-tools[popover]:popover-open{display:block}:is(.match-playing,.round-finished) .match-tools .board-under{display:flex;align-items:stretch;flex-direction:column;margin-top:12px}:is(.match-playing,.round-finished) .match-tools .board-under>div{display:grid;gap:8px;grid-template-columns:1fr}:is(.match-playing,.round-finished) .match-tools .board-under>span{font-size:12px}:is(.match-playing,.round-finished) .match-tools .button{min-height:44px}
 :is(.match-playing,.round-finished) .answer-hints[popover]{padding:16px}:is(.match-playing,.round-finished) .answer-hints .scout-shop.hint-shop{margin-top:12px;padding-top:12px}:is(.match-playing,.round-finished) .answer-hints .scout-shop>small{display:block;font-size:11px;margin-top:12px}
 :is(.match-playing,.round-finished) .answer-hints .scout-shop .hint-products{margin-top:10px}:is(.match-playing,.round-finished) .answer-hints .scout-choice{font-size:12px}:is(.match-playing,.round-finished) .answer-hints .scout-shop .hint-products .scout-choice{min-height:100px}
 :is(.match-playing,.round-finished) .match-after[popover]:popover-open{display:block;margin:0}:is(.match-playing,.round-finished) .match-after .room-chat{margin:0;padding:0;border:0;background:none}:is(.match-playing,.round-finished) .match-after .chat-heading{display:none}:is(.match-playing,.round-finished) .match-after .chat-messages{max-height:32dvh;min-height:60px}:is(.match-playing,.round-finished) .match-after .spectator-panel{padding:14px;margin-top:16px}:is(.match-playing,.round-finished) .match-after .room-events{margin-top:16px}
 :is(.match-playing,.round-finished) .capture-celebration{position:absolute;left:12px;right:12px;bottom:150px;z-index:15;pointer-events:none;padding:10px;background:#102638ee;border-radius:14px}:is(.match-playing,.round-finished) .capture-celebration .celebration-face{width:38px;height:42px}:is(.match-playing,.round-finished) .capture-celebration h3{font-size:14px}:is(.match-playing,.round-finished) .capture-celebration p{font-size:10px}
 body:is([data-match-live="true"],[data-match-result="true"]) #chat-notice{display:none}
 @keyframes phone-sheet-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:740px) and (max-height:650px){
 :is(.match-playing,.round-finished) .match-overview .round-progress,:is(.match-playing,.round-finished) .match-overview .round-difficulty{display:none}
 :is(.match-playing,.round-finished) .answer-panel-top{position:relative;min-height:32px}:is(.match-playing,.round-finished) .answer-panel .mobile-hints-toggle{position:absolute;right:0;top:0;transform:translateY(-4px);min-height:44px;font-size:11px;background:#142c40}
 :is(.match-playing,.round-finished) .answer-panel-top>.eyebrow{padding-right:105px}:is(.match-playing,.round-finished) .answer-panel>h2{padding-right:96px;font-size:13px}
 :is(.match-playing,.round-finished) .lab-board .cell-face{width:24px;height:25px;left:4px}:is(.match-playing,.round-finished) .lab-board .board-cell.claimed{padding-top:28px}
 .quick-entry .lab-viewtop{margin-bottom:10px}.quick-entry .entry-heading{margin-bottom:14px}.quick-entry .entry-heading h1{font-size:24px}.quick-entry .entry-heading p{font-size:12px}.quick-entry .quick-name{margin-bottom:12px}
}
@media(prefers-reduced-motion:reduce){.directory-panel[popover]:popover-open,[data-mobile-sheet][popover]:popover-open{animation:none}}
@media(max-width:740px){
 body:is([data-match-live="true"],[data-match-result="true"]) .shell{height:var(--phone-height,100dvh)}
 body:is([data-match-live="true"],[data-match-result="true"])[data-phone-keyboard="true"] .shell{min-height:0}
 body:is([data-match-live="true"],[data-match-result="true"])[data-phone-keyboard="true"] .match-overview,body:is([data-match-live="true"],[data-match-result="true"])[data-phone-keyboard="true"] .match-players,body:is([data-match-live="true"],[data-match-result="true"])[data-phone-keyboard="true"] .board-area{display:none}
 body:is([data-match-live="true"],[data-match-result="true"])[data-phone-keyboard="true"] .match-layout{justify-content:flex-end}
}
@media(max-width:740px){
 body[data-view="quick"] #app{display:flex;flex-direction:column}
 body[data-view="quick"] .quick-entry{flex:1;display:flex;flex-direction:column}
 body[data-view="quick"] #quick-form{display:flex;flex-direction:column;flex:1}
 body[data-view="quick"] .quick-submit{margin-bottom:12px;flex-shrink:0}
 body[data-view="quick"] .site-footer{display:none}
 .quick-difficulty-panel .quick-level{min-height:96px;padding:10px}
 .quick-difficulty-panel .quick-level .ui-art{width:26px;height:26px;margin-bottom:2px}
 .quick-difficulty-panel .quick-level b{font-size:16px}
}
@media(max-width:740px){
 body:is([data-match-live="true"],[data-match-result="true"]) .room-context{order:0;flex:1 1 0;justify-content:center;flex-direction:column;margin:0;gap:2px;line-height:1.3;text-align:center}
 body:is([data-match-live="true"],[data-match-result="true"]) .room-context>span:first-child{display:none}
 body:is([data-match-live="true"],[data-match-result="true"]) .room-viewtop>.finish-button{margin:0}
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished) .match-top.match-overview{padding:0 8px;border-radius:12px;min-height:44px}
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished) .match-overview .match-code{flex-direction:row;flex-basis:auto;flex-shrink:0;border:0;justify-content:flex-end;align-items:center}
 body:is([data-match-live="true"],[data-match-result="true"]) .match-layout{align-items:stretch}
 body:is([data-match-live="true"],[data-match-result="true"]) .board-area{width:100%}
 :is(.match-playing,.round-finished) .answer-panel:has(.choose-art)>h2{font-size:14px;margin-bottom:3px}
 :is(.match-playing,.round-finished) .answer-panel:has(.choose-art) .answer-panel-top{display:none}
}
@media(max-width:740px){
 :is(.match-playing,.round-finished) .match-players .match-player{grid-template-rows:1fr;min-height:48px}
 :is(.match-playing,.round-finished) .match-players .match-side-mark{grid-column:1;grid-row:1}
 :is(.match-playing,.round-finished) .match-players .match-player-copy{grid-column:2;grid-row:1;min-width:0}
 :is(.match-playing,.round-finished) .match-players .match-wallet{grid-column:3;grid-row:1;width:auto;display:flex;align-items:center;justify-content:flex-end}
 :is(.match-playing,.round-finished) #answer-form>.check-answer:disabled:after{content:'Проверяем…'}
}
@media(max-width:740px){
 :is(.match-playing,.round-finished) .match-players .match-player{position:relative;grid-template-columns:20px minmax(0,1fr);height:52px;padding:6px 8px}
 :is(.match-playing,.round-finished) .match-players .match-player-copy>b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
 :is(.match-playing,.round-finished) .match-player-copy>b small{display:inline;font-size:8px}
 :is(.match-playing,.round-finished) .match-player-copy>p{max-width:calc(100% - 28px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 :is(.match-playing,.round-finished) .match-players .match-wallet{position:absolute;right:7px;bottom:5px;grid-column:auto;grid-row:auto}
 :is(.match-playing,.round-finished) .match-players .match-wallet>b{font-size:13px}:is(.match-playing,.round-finished) .match-players .match-wallet .inline-icon{width:16px;height:16px}
 :is(.match-playing,.round-finished) .guard-panel,:is(.match-playing,.round-finished) .review-panel{max-height:38dvh;overflow:auto;overscroll-behavior:contain}
 :is(.match-playing,.round-finished) .name-choices{max-height:100px;overflow:auto;overscroll-behavior:contain}
}
.mobile-match-extras,.mobile-round-label{display:none}
@media(max-width:740px){
 .mobile-match-extras{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;border-top:1px solid #53718955;padding-top:14px}
 .mobile-match-extras>p{grid-column:1/-1;font-size:12px;color:var(--dy-muted);margin-bottom:4px}
 :is(.match-playing,.round-finished) .mobile-match-extras .button{min-height:44px;padding:8px;font-size:12px;text-align:center;justify-content:center}
}
@media(max-width:740px) and (max-height:600px){
 body:is([data-match-live="true"],[data-match-result="true"]) .shell{min-height:480px}
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished) .match-top.match-overview{display:none}
 body:is([data-match-live="true"],[data-match-result="true"]) .mobile-round-label{display:block;font-size:10px}
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished),body:is([data-match-live="true"],[data-match-result="true"]) .match-layout{gap:4px}
}

/* Quick difficulty is an immediate choice, rather than another disclosure. */
.quick-levels-title{font-size:13px;font-weight:650;color:var(--dy-muted);margin-bottom:12px;padding:0}
@media(max-width:740px){
 body[data-view="quick"] #quick-form{flex:0 0 auto}
 .quick-levels-inline{margin:0}
 .quick-levels-inline .quick-levels{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-levels-inline .quick-level{min-height:104px;padding:12px}
 .quick-entry .quick-name{margin-bottom:16px}
 .quick-entry .format-summary{margin:12px 0}
}
@media(max-width:740px) and (max-height:700px){
 body[data-view="quick"] .header{min-height:56px;padding:6px 0}
 body[data-view="quick"] #app{padding-top:4px}
 .quick-entry .lab-viewtop{margin-bottom:6px}
 .quick-entry .entry-heading{margin-bottom:12px;min-height:36px}
 .quick-entry .entry-heading .entry-icon{width:36px;height:36px}
 .quick-entry .entry-heading h1{font-size:23px}
 .quick-entry .entry-heading p{display:none}
 .quick-entry .quick-name{gap:4px;margin-bottom:12px;font-size:12px}
 .quick-entry .quick-name input{min-height:44px;height:44px;padding:10px 12px}
 .quick-levels-inline .quick-level{min-height:82px;padding:8px 10px}
 .quick-levels-inline .quick-level>span{gap:2px}
 .quick-levels-inline .quick-level .ui-art{width:24px;height:24px;margin:0}
 .quick-levels-inline .quick-level b{font-size:15px}
 .quick-levels-inline .quick-level small{font-size:11px}
 .quick-levels-inline .quick-level>input{top:10px}
 .quick-levels-title{font-size:12px;margin-bottom:8px}
 .quick-entry .format-summary{font-size:11px;margin:8px 0;line-height:1.4}
 .quick-entry .quick-submit{min-height:48px;font-size:15px}
}
@media(max-width:740px) and (max-height:700px){
 .quick-entry .entry-heading{margin-bottom:8px}
 .quick-entry .quick-name{margin-bottom:8px}
 .quick-levels-title{margin-bottom:6px}
 .quick-levels-inline .quick-level{min-height:74px;padding:6px 10px}
 .quick-levels-inline .quick-level>span{gap:2px;line-height:1.2}
 .quick-levels-inline .quick-level .ui-art{width:22px;height:22px}
 .quick-levels-inline .quick-level b{font-size:14px;line-height:18px}
 .quick-levels-inline .quick-level small{font-size:11px;line-height:14px}
 .quick-entry .format-summary{margin:6px 0}
 .quick-entry .quick-submit{padding:10px 12px;min-height:48px;line-height:1.2}
}
@media(max-width:740px) and (max-height:700px){
 .quick-levels-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}

/* Between rounds keeps the same phone canvas and one visible next action. */
.round-series-tally{display:none}
.round-result-details,.round-places{display:contents}
@media(max-width:740px){
 body[data-match-result="true"] .round-finished{padding:0;display:flex;flex-direction:column;flex:1;min-height:0;gap:6px}
 body[data-match-result="true"] .round-finished .round-finished-label{display:none}
 body[data-match-result="true"] .round-finished .match-player-copy>p{display:none}
 body[data-match-result="true"] .round-finished .match-player{height:42px;min-height:42px}
 body[data-match-result="true"] .round-finished .round-end-panel{position:static;flex:0 0 auto;display:flex;gap:6px;padding:10px 12px;border-radius:14px;min-width:0}
 .round-finished .round-end-panel>.eyebrow{font-size:9px;line-height:1.3;letter-spacing:.6px}
 .round-finished .round-result-heading{grid-template-columns:32px minmax(0,1fr);gap:2px 8px}
 .round-finished .round-end-panel .round-winner-mark{width:32px;height:32px}
 .round-finished .round-result-heading h2{font-size:18px;line-height:1.2;margin:0;text-wrap:pretty}
 .round-finished .round-result-heading p{font-size:10px;line-height:1.3}
 .round-finished .round-end-panel .round-rating-result{font-size:11px;line-height:1.3;margin:0}
 .round-finished .round-rating-result>span{font-size:10px;margin-left:8px}
 .round-finished .round-end-panel>.round-series-score,.round-finished .round-end-panel>.round-next-note{display:none}
 .round-series-tally{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .round-series-tally>div{display:flex;align-items:center;gap:6px;padding:5px 8px;min-width:0;border-radius:9px;background:#07152588;border:1px solid #59738b55}
 .round-series-tally .game-mark{width:18px;height:18px;flex-shrink:0}
 .round-series-tally span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.3}
 .round-series-tally strong{font-size:17px;line-height:1.2;margin-left:auto}
 .round-finished .round-end-panel>.ready-btn{min-height:44px;padding:9px 12px;font-size:14px;line-height:1.3}
 .round-finished .round-end-panel>.round-wait-state,.round-finished .round-end-panel>.next-mode-note{font-size:11px;line-height:1.3;margin:0}
 body[data-match-result="true"] .mobile-match-toolbar.result-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .result-toolbar>.button{min-width:0;gap:5px;padding:6px;font-size:11px}
 .result-toolbar .inline-icon{width:22px;height:22px}
 .round-finished .board-cell.claimed .captured-symbol{left:auto;right:4px;top:4px;width:22px;height:22px}
 .round-result-details[popover]:popover-open,.round-places[popover]:popover-open{display:block}
 .round-result-details[popover] .last-round-answer{margin:0 0 14px;padding:12px}
 .round-result-details[popover] .button{min-height:44px;margin-top:8px;font-size:13px}
 .round-places[popover] .round-roles{display:block;margin:0;padding:0;border:0;background:none}
 .round-places[popover] .round-roles>summary{display:none}
 .round-places[popover] .seat-cards{margin:0}
 .round-places[popover] .seat-card{min-height:0;padding:14px}
 .round-places[popover] .seat-card .seat-buttons{flex-wrap:wrap;gap:6px}
 .round-finished .answer-review-list[popover]{margin:0}
 .round-finished .answer-review-list[popover]>h2{display:none}
 .round-finished .answer-review-list[popover] details{padding:10px 0}
 .round-finished .round-draw-offer{padding:8px;margin:0;gap:6px}
 .round-finished .round-draw-offer p{font-size:11px;line-height:1.3}
 .round-finished .round-draw-offer .button{min-height:44px;font-size:12px;padding:8px}
 body[data-match-result="true"] #chat-notice{display:none}
}
@media(max-width:740px) and (max-height:650px){
 .round-finished .round-end-panel>.eyebrow{display:none}
 .round-finished .round-result-heading h2{font-size:16px}
 .round-finished .round-end-panel{gap:5px;padding:8px 10px}
}
@media(max-width:740px){
 body[data-match-result="true"] .game-reward{display:none}
 body[data-match-result="true"] .mobile-match-toolbar.result-toolbar.has-draw{grid-template-columns:repeat(4,minmax(0,1fr))}
 .result-toolbar.has-draw>.button{flex-direction:column;gap:2px;font-size:10px;padding:4px 2px}
 .result-toolbar.has-draw .inline-icon{width:20px;height:20px}
 .round-result-details .round-draw-offer{margin-bottom:14px}
}
@media(max-width:740px){
 body[data-match-result="true"] #toast{top:48px;bottom:auto}
}

/* Compact phone scoreboard: context once, actions in the existing Match sheet. */
.phone-round-meta,.match-series-points,.match-network-notice{display:none}
@media(max-width:740px){
 body:is([data-match-live="true"],[data-match-result="true"]) .shell{padding-top:max(8px,env(safe-area-inset-top))}
 body:is([data-match-live="true"],[data-match-result="true"]) .room-navigation,
 body:is([data-match-live="true"],[data-match-result="true"]) :is(.match-playing,.round-finished) .match-top.match-overview{display:none}
 :is(.match-playing,.round-finished) .match-network-notice.lost{display:flex;justify-content:center;flex-shrink:0;font-size:11px;padding:4px 8px}
 .match-playing .match-players{gap:0;border:1px solid #36536c;border-radius:14px 14px 0 0;background:#102337;overflow:hidden}
 .match-playing .match-players .match-player{grid-template-columns:20px minmax(0,1fr) 20px;border:0;border-radius:0;background:none;box-shadow:none;height:52px;min-height:52px;padding:6px 10px}
 .match-playing .match-players .match-player+.match-player{border-left:1px solid #36536c}
 .match-playing .match-players .match-player.turn{box-shadow:inset 0 -2px #ff8998}
 .match-playing .match-players .side-1.turn{box-shadow:inset 0 -2px #7ee5b8}
 .match-playing .match-players .match-player-copy>b{font-size:11px}
 .match-playing .match-series-points{display:block;grid-column:3;grid-row:1;align-self:start;text-align:right;font-size:17px;line-height:20px;font-variant-numeric:tabular-nums}
 .match-playing .match-players .match-wallet{right:10px;bottom:5px}
 .match-playing .match-players .match-wallet.score-only{display:none}
 .match-playing .match-players .match-player-copy>p{max-width:calc(100% - 12px)}
 .match-playing .match-clockbar{min-height:34px;border:1px solid #36536c;border-top:0;border-radius:0 0 14px 14px;margin-top:-6px;padding:4px 10px;box-shadow:none;background:#102337}
 .match-playing .phone-round-meta{display:inline;font-size:10px;color:#a7bdce;white-space:nowrap;padding-right:8px;border-right:1px solid #496074}
 .match-playing .clock-turn{min-width:0;gap:8px}
 .match-playing .clock-turn-mark,.match-playing .clock-turn b{display:none}
 .match-playing .clock-turn small{font-size:10px;letter-spacing:.2px;line-height:1.3}
 .match-playing .match-clockbar .match-timer{gap:4px;border:0}
 .match-playing .match-clockbar .match-timer>span{font-size:24px;line-height:1;font-variant-numeric:tabular-nums}
 .match-playing .match-clockbar .match-timer>small{font-size:7px;line-height:1.15;max-width:40px;letter-spacing:.1px}
 .match-playing .match-clockbar:has(.urgent){border-color:#ff8998;background:#302334}
 body[data-match-result="true"] .round-finished>.match-players{display:none}
 body[data-phone-keyboard="true"] .match-playing .match-clockbar{margin-top:0;border-top:1px solid #36536c;border-radius:12px}
}
@media(max-width:740px) and (max-height:600px){
 .match-playing .match-clockbar{margin-top:-4px}
}

.hide-budget{display:grid;gap:6px;border:1px solid #2c3a5c;background:#111a2e;border-radius:14px;padding:10px 14px;margin:0 0 14px;font-size:13px}.hide-budget-row{display:flex;justify-content:space-between;gap:12px;color:#aab6d0}.hide-budget-row b{color:#e9eef8;font-variant-numeric:tabular-nums}.hide-budget-bar{height:6px;border-radius:6px;background:#1d2945;overflow:hidden}.hide-budget-bar i{display:block;height:100%;background:#8e9bb8;transition:width .3s linear}.hide-budget small{color:#aab6d0;font-size:12px}.hide-budget.low{border-color:#ffb02080}.hide-budget.low .hide-budget-bar i{background:#ffb020}.hide-budget.low b{color:#ffb020}.hide-budget.out{border-color:#ff3b4f}.hide-budget.out .hide-budget-bar i{background:#ff3b4f}.hide-budget.out b,.hide-budget.out small:first-of-type{color:#ff8a96}@media(prefers-reduced-motion:reduce){.hide-budget-bar i{transition:none}}
.hide-rule-note{display:block;margin:8px 0 0;font-size:12px;color:#aab6d0}
.match-clockbar+.hide-budget{margin:-8px 0 18px}
/* League and award criteria: flag with a ball marker, trophy icon, short rules under the board. */
.axis-league{position:relative}.axis-league i{position:absolute;right:-4px;bottom:-4px;font-size:.45em;font-style:normal;line-height:1}
.axis-notes{display:flex;flex-direction:column;gap:3px;color:#9eb5c8;font-size:11px;line-height:1.5;margin:12px 0 0}.axis-notes b{color:#d6e2ec;font-weight:650}

.whats-new{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #2c3a5c;border-radius:20px;background:#0f1729;color:#e9eef8;padding:22px 20px 18px;box-shadow:0 24px 60px #000a}
.whats-new::backdrop{background:#03060ccc}
.whats-new h2{margin:0 0 14px;font-size:22px;line-height:1.2}
.whats-new ul{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:14px}
.whats-new li{display:grid;gap:3px}.whats-new li b{font-size:15px}.whats-new li span{font-size:14px;line-height:1.45;color:#aab6d0}
.whats-new .whats-new-ok{width:100%;min-height:44px;background:#ff3b4f;color:#fff;border:0;border-radius:14px;font-weight:650}
.footer-whats-new{background:none;border:0;color:inherit;font:inherit;padding:0;cursor:pointer}.footer-whats-new:focus-visible{outline:2px solid #ffb020;outline-offset:2px}
