/*! chessboard.js v1.0.0 | (c) 2019 Chris Oakman | MIT License chessboardjs.com/license */.clearfix-7da63{clear:both}.board-b72b1{border:2px solid #404040;box-sizing:content-box}.square-55d63{float:left;position:relative;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.white-1e1d7{background-color:#f0d9b5;color:#b58863}.black-3c85d{background-color:#b58863;color:#f0d9b5}.highlight1-32417,.highlight2-9c5d2{box-shadow:inset 0 0 3px 3px #ff0}.notation-322f9{cursor:default;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;position:absolute}.alpha-d2270{bottom:1px;right:3px}.numeric-fc462{top:2px;left:2px}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--page: #312e2b;--surface: #262421;--surface-raised: #2f2c29;--surface-hover: #403d3a;--line: #45423f;--text: #f0f0f0;--muted: #a5a29e;--dim: #8d8a86;--radius: 6px;color:var(--text);background:var(--page);font-family:Inter Variable,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:90%;--board-size: clamp(360px, min( calc(100vh - 160px) , calc(100vw - 680px) ), 720px);scrollbar-gutter:stable}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{min-height:38px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);cursor:pointer;padding:0 13px;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}button:hover{background:var(--surface-hover)}button:active:not(:disabled){filter:brightness(.93)}button:focus-visible,input:focus-visible{outline:3px solid rgba(31,111,88,.22);outline-offset:2px}button:disabled{cursor:default;opacity:.65}input{width:100%;min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);padding:9px 11px;transition:border-color .16s ease,box-shadow .16s ease}input:focus{border-color:#508b79;box-shadow:0 0 0 3px #1f6f5817}.app-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;gap:16px;padding:22px}.auth-shell{justify-content:flex-start;align-items:stretch;gap:0;background:var(--auth-band-a);color:#f0f0f0;--auth-band-a: #312e2b;--auth-band-b: #3c3935;--auth-band-line: #494540}.app-shell.auth-shell{padding:0}.auth-band{width:100%}.auth-band-inner{width:min(100%,1104px);margin-inline:auto;padding-inline:22px}.auth-shell{--board-size: clamp(300px, min( calc(100vh - 430px) , calc(100vw - 700px) ), 430px)}.auth-header{width:100%;display:flex;align-items:center;background:var(--auth-band-a);padding:34px 22px 0;padding-left:min(max(22px,4.8%),calc(22px + max(0px,(100% - 1104px) / 2)))}.auth-header .auth-brand{font-size:2rem}.auth-band-hero{flex:1 0 auto;display:flex;flex-direction:column;padding-block:clamp(20px,4vh,48px) clamp(44px,8vh,88px)}.auth-band-hero .auth-band-inner{margin-block:auto}.auth-panel{display:grid;grid-template-columns:minmax(320px,1fr) minmax(0,var(--board-size));gap:clamp(28px,4vw,60px);align-items:center}.auth-board-section{display:grid;gap:10px;justify-items:center}.auth-shell .board-frame{container-type:inline-size}.auth-board-label{margin:0;color:#8d8a86;font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.auth-copy{max-width:480px;display:grid;justify-items:start;gap:20px}.auth-copy h1{margin:0;font-size:clamp(2.4rem,4vw,3.5rem);line-height:1.05;letter-spacing:-.035em}.auth-copy p{margin:0;color:#b7b7b7;line-height:1.5}.auth-tagline{max-width:46ch;font-size:1.12rem}.auth-brand,.home-header-brand{display:flex;align-items:center;gap:.5em;font-size:1.12rem}.auth-brand>strong,.home-header-brand>strong{font-size:inherit;font-weight:700;line-height:1;letter-spacing:-.02em}.brand-logo-mark{width:auto;height:1.36em;flex:0 0 auto}.auth-feature-list{margin:0;padding:0;list-style:none;display:grid}.auth-feature-list li{padding-block:clamp(30px,5vh,56px);border-top:1px solid var(--auth-band-line)}.auth-feature-list li:nth-child(odd){background:var(--auth-band-b)}.auth-feature-list li:nth-child(2n){background:var(--auth-band-a)}.auth-feature-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(28px,4vw,60px);align-items:center}.auth-feature-list li:nth-child(2n) .auth-feature-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.auth-feature-list li:nth-child(2n) .feature-copy{grid-column:2;grid-row:1;justify-self:end}.auth-feature-list li:nth-child(2n) .platform-preview{grid-column:1;grid-row:1}.feature-copy{max-width:470px;display:grid;gap:14px}.auth-feature-list h2{margin:0;font-size:clamp(1.55rem,2.5vw,2.05rem);font-weight:600;line-height:1.15;letter-spacing:-.03em}.auth-feature-list p{margin:0;color:#b0adaa;font-size:1.12rem;line-height:1.55}.auth-google-button{width:min(100%,330px);min-height:52px;position:relative;display:grid;place-items:center;align-items:center;border:0;border-radius:5px;background:#f0ede8;color:#262421;padding-inline:48px;font-weight:600;box-shadow:0 2px #00000059}.auth-google-button:hover{background:#fff}.google-button-label{width:100%;display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:center;text-align:center}.google-mark{width:18px;height:18px;flex:0 0 auto;color:inherit}.profile-menu{width:min(100%,calc(var(--board-size) + 630px));display:flex;gap:7px;align-items:center;justify-content:end;border-bottom:1px solid transparent;padding-bottom:12px}.profile-menu.home-header{justify-content:space-between;border-bottom-color:#44413e}.home-header-brand{color:#f0f0f0;font-size:1.2rem}.profile-actions{display:flex;gap:7px;align-items:center;justify-content:end}.profile-name{max-width:min(42vw,234px);overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:8px 11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.account-menu{position:relative}.account-menu-button{min-height:38px;display:inline-flex;gap:8px;align-items:center}.account-menu-button .connection-dot{margin-right:0;flex:0 0 auto;vertical-align:baseline}.account-menu-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu-caret{width:10px;height:6px;flex:0 0 auto;color:#a6a3a0;transition:transform .16s ease}.account-menu-button.is-open .account-menu-caret{transform:rotate(180deg)}.account-menu-button.is-open{background:var(--surface-hover)}.account-menu-panel{position:absolute;top:calc(100% + 8px);right:0;min-width:100%;width:max-content;z-index:30;display:grid;gap:2px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:5px;box-shadow:0 18px 44px #00000080}.account-menu-panel button{min-height:34px;display:block;width:100%;border:0;border-radius:5px;background:transparent;color:#e8e6e3;padding:0 12px;font-size:.9rem;font-weight:500;text-align:left}.account-menu-panel button:hover,.account-menu-panel button:focus-visible{background:var(--surface-hover);color:#fff}.connection-dot{width:7px;height:7px;display:inline-block;margin-right:7px;border-radius:50%;background:#b7afa5;vertical-align:.08em}.connection-dot.is-online{background:#23a46d;box-shadow:0 0 0 3px #23a46d1f}.player-name-with-tag{min-width:0;display:inline-flex;gap:5px;align-items:center;max-width:100%;vertical-align:middle}.player-tag{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:5px;padding:4px 5px;font-size:.68em;font-weight:700;line-height:1;letter-spacing:0}.player-tag-title{background:#8f184c;color:#efe7eb}.player-tag-dev{background:#23548f;color:#e7edf8}.player-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.settings-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;background:#100f0e94;padding:16px}.settings-dialog{width:min(100%,486px);max-height:80vh;display:grid;grid-auto-rows:max-content;gap:13px;overflow:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 16px 45px #2021243d;padding:16px}.settings-dialog h2{margin:0;font-size:1.25rem;line-height:1.2}.settings-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.settings-section{display:grid;grid-auto-rows:max-content;gap:11px;border-top:1px solid var(--line);padding-top:13px}.settings-section-header{display:flex;gap:9px;align-items:baseline;justify-content:space-between}.settings-section-header span{color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase}.settings-reset{min-height:0;border:none;background:none;color:var(--muted);padding:0;font-size:.8rem;text-decoration:underline}.settings-reset:hover:not(:disabled){background:none;color:var(--text)}.settings-reset:disabled{opacity:.45;text-decoration:none}.sensitivity{display:grid;grid-auto-rows:max-content;gap:9px}.sensitivity-value{display:flex;gap:7px;align-items:baseline;justify-content:center;font-size:1.05rem}.sensitivity-value span{color:var(--muted);font-size:.82rem}.sensitivity-track{position:relative;height:6px;border-radius:999px;background:var(--surface-hover);margin:11px 12px}.sensitivity-zero{position:absolute;top:-5px;bottom:-5px;width:1px;background:var(--dim)}.sensitivity-fill{position:absolute;top:0;bottom:0;border-radius:999px;background:#1f6f58}.sensitivity-handle{position:absolute;top:50%;width:20px;height:20px;min-height:0;border:2px solid #1f6f58;border-radius:50%;background:var(--text);padding:0;transform:translate(-50%,-50%);cursor:grab;touch-action:none}.sensitivity-handle:hover,.sensitivity-handle.is-dragging{background:#fff;box-shadow:0 0 0 5px #1f6f5840}.sensitivity-handle.is-dragging{cursor:grabbing}.sensitivity-scale{display:flex;justify-content:space-between;color:var(--dim);font-size:.72rem}.player-picker{display:grid;grid-auto-rows:max-content;gap:7px}.player-chips{display:flex;flex-wrap:wrap;gap:5px}.player-chip{min-height:0;display:inline-flex;gap:6px;align-items:center;border-radius:999px;background:var(--surface-hover);padding:4px 10px;font-size:.85rem}.player-chip span{color:var(--muted)}.player-results{display:grid;grid-auto-rows:max-content;max-height:190px;overflow:auto;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised)}.player-results-note{margin:0;color:var(--muted);padding:9px 11px;font-size:.85rem}.player-result{min-height:0;display:flex;gap:8px;align-items:baseline;border:none;border-radius:0;background:none;padding:8px 11px;text-align:left}.player-result+.player-result{border-top:1px solid var(--line)}.player-result-title{color:#d9a441;font-size:.72rem;font-weight:700}.player-result-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-result-real{color:var(--dim);overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.workspace{width:min(100%,calc(var(--board-size) + 630px));display:grid;grid-template-columns:288px minmax(0,1fr);gap:25px;align-items:start;margin-block:auto}.home-shell{background:var(--page);color:var(--text)}.home-shell .workspace{grid-template-columns:288px minmax(0,1fr);gap:25px;margin-block:auto}.sidebar{display:grid;gap:16px}.home-shell .sidebar{gap:20px;max-height:var(--board-size);overflow-y:auto;scrollbar-gutter:stable;display:flex;flex-direction:column}.home-shell .sidebar>.controls,.home-shell .controls>.friends-section{min-height:0;display:flex;flex-direction:column}.home-shell .friends-section>.friends-list{min-height:82px;overflow-y:auto}.brand-block{display:grid;gap:4px}.home-shell .brand-block{gap:7px}.tagline{margin:0;color:var(--muted);font-size:.9rem;line-height:1.4}.home-shell .tagline{color:#aaa8a6;font-size:.95rem;line-height:1.45}.home-headline{font-size:2rem;line-height:1.1;letter-spacing:-.025em}.controls .primary-button{min-height:46px;font-weight:700}.eyebrow{margin:0;color:#8a4b38;font-size:.78rem;font-weight:700;letter-spacing:0;text-transform:uppercase}h1{margin:0;font-size:2rem;line-height:1.1}.brand-title-button{min-height:0;border-radius:0;background:transparent;color:inherit;padding:0;font:inherit;line-height:inherit;text-align:left}.brand-title-button:hover,.brand-title-button:focus-visible{background:transparent;color:#1f6f58}.controls{display:grid;gap:9px}.home-shell .controls{gap:14px}.play-menu{display:grid;gap:8px}.play-menu-button{min-height:68px;display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:center;border-radius:var(--radius);padding:12px 16px;text-align:left}.play-menu-button.primary-button{background:#81b64c;box-shadow:0 4px #5d8d32}.play-menu-button.primary-button:hover{background:#8ec653}.play-menu-button.friend-button{background:#4b4845;box-shadow:0 4px #363432}.play-menu-button.friend-button:hover{background:#57534f}.play-menu-icon{font-size:1.75rem;line-height:1;text-align:center}.play-menu-button>span:last-child{display:grid;gap:4px}.play-menu-button strong{font-size:1.08rem}.play-menu-button small{color:#ffffffc7;font-size:.76rem}.join-room-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding-top:6px}.join-room-form .field>span{color:#9a9794;font-size:.82rem}.join-room-form input{min-height:40px;border-color:var(--line);border-radius:var(--radius);background:#312e2b;color:#f0f0f0}.join-room-form button{min-height:40px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:#d0cfcd;padding-inline:18px}.join-room-form button:hover:not(:disabled){background:var(--surface-hover);color:#fff}.online-section{display:grid;gap:8px;margin-top:13px}.home-shell .friends-section{border-top:1px solid var(--line);padding-top:16px}.home-shell .online-section{margin-top:0}.section-label-row{display:flex;gap:10px;align-items:baseline;justify-content:space-between;color:#e8e6e3;font-size:.95rem;font-weight:600;letter-spacing:-.01em}.section-label-meta,.server-status{color:#8d8a86;font-size:.8rem;font-weight:500}.server-status{display:inline-flex;gap:5px;align-items:center}.server-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#b7afa5}.server-status.is-online:before{background:#81b64c}.home-shell .profile-name,.home-shell .neutral-button{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:#d0cfcd}.home-shell .neutral-button:hover{background:var(--surface-hover);color:#fff}.online-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.online-stats div,.playing-dropdown-button{border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);padding:9px;text-align:left}.playing-dropdown-button{min-height:0}.playing-dropdown-button:hover{background:var(--surface-hover)}.online-stat-label{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:.86rem;font-weight:700}.online-stat-label:before{content:"";width:7px;height:7px;flex:0 0 auto;border-radius:999px}.online-dot:before{background:#81b64c}.playing-dot:before{background:#2374c6}.online-stats strong{display:block;margin-top:3px}.home-shell .online-stats div,.home-shell .playing-dropdown-button{border-color:var(--line);border-radius:var(--radius);background:var(--surface);color:#f0f0f0;padding:10px 12px}.home-shell .playing-dropdown-button:hover{background:var(--surface-hover)}.home-shell .online-stat-label{color:#9a9794;font-size:.82rem;font-weight:500}.home-shell .online-stats strong{margin-top:1px;font-size:1.08rem;line-height:1.2}.active-game-list{display:grid;gap:7px}.active-game-list p{margin:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);padding:11px}.active-game-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:9px}.home-shell .active-game-list p,.home-shell .active-game-row{border-color:#464441;background:#262421;color:#f0f0f0}.home-shell .active-game-row>div>span,.home-shell .active-game-list p{color:#aaa8a6}.active-game-row div{min-width:0;display:grid;gap:3px}.active-game-row strong,.active-game-row span{overflow-wrap:anywhere}.active-game-row strong{line-height:1.25}.active-game-row>div>span{color:var(--muted);font-size:.86rem}.active-game-row .player-name-with-tag,.active-game-row .player-tag,.active-game-row .player-name-text{display:inline-flex;line-height:inherit;text-transform:none}.active-game-row .player-name-with-tag{align-items:center;color:inherit;font-size:inherit;vertical-align:middle}.active-game-row .player-name-text{color:inherit;font-size:inherit}.active-game-row .player-tag{color:#efe7eb;font-size:.72rem;line-height:1;overflow-wrap:normal;padding:3px 6px}.active-game-row .player-tag-dev{color:#e7edf8}.primary-button{border-color:transparent;background:#5d8d32;color:#fff}.primary-button:hover{background:#6b9f3a}.secondary-button{border-color:transparent;background:#4b4845;color:#fff}.secondary-button:hover{background:#57534f}.neutral-button{background:var(--surface)}.neutral-button:hover{background:#5f6467}.home-button{background:#2f3437}.home-button:hover{background:var(--text)}.field{display:grid;gap:5px}.field span{color:#5c6266;font-size:.9rem}.status-block{display:grid;gap:7px}.status-block div{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:11px}.clock{border:1px solid #d8d0c5;border-radius:5px;background:#fffaf2;color:#202124;padding:11px}.status-block span,.clock span{display:block;font-size:.78rem;font-weight:700;text-transform:uppercase}.status-block span{color:var(--dim)}.clock span{color:#68625b}.status-block strong,.clock strong{display:block;margin-top:4px;overflow-wrap:anywhere}.clock-player-name{color:inherit;font-size:1rem;font-weight:700;line-height:1.2;margin-top:4px;overflow-wrap:anywhere;text-transform:none}.clock .player-name-with-tag,.clock .player-tag,.clock .player-name-text{display:inline-flex;font-weight:inherit;line-height:inherit;text-transform:none}.clock .player-name-with-tag{align-items:center;font-size:inherit}.clock .player-name-text{font-size:inherit}.clock .player-tag{font-size:.75rem;line-height:1}.clock .player-tag-dev{color:#e7edf8}.clock .player-tag-title{color:#efe7eb}.clock-time{line-height:1.1}.share-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.rematch-actions{display:grid;gap:7px}.rematch-actions p{margin:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);padding:11px}.incoming-rematch-panel{display:grid;gap:7px;border:1px solid #b7cfc4;border-radius:5px;padding:9px}.incoming-rematch-panel p{border:0;background:transparent;color:#244d42;padding:0;font-weight:700}.incoming-rematch-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.active-game-actions{display:grid;gap:7px}.draw-offer-message{margin:0;border:1px solid #b7cfc4;border-radius:5px;background:var(--surface-hover);color:#244d42;padding:11px;opacity:0;visibility:hidden}.draw-offer-message.visible{opacity:1;visibility:visible}.active-game-button-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(79px,1fr));gap:7px}.danger-button{background:#9f3d32}.danger-button:hover{background:#7e3028}.error-message{margin:0;border:1px solid #e09a84;border-radius:5px;background:#ffe9df;color:#8b2f1d;padding:11px}.sidebar-message-slot{min-height:42px;display:grid;align-items:start}.loading-message{margin:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);padding:11px}.board-section{display:grid;gap:13px}.play-area{position:relative;display:grid;grid-template-columns:minmax(0,var(--board-size)) 180px;gap:13px;align-items:start}.spectator-play-area{grid-template-columns:40px minmax(0,var(--board-size)) 180px}.spectator-play-area .evaluation-bar{grid-column:1;grid-row:1}.spectator-play-area .board-frame{grid-column:2;grid-row:1}.spectator-play-area .clock-row{grid-column:3;grid-row:1}.home-play-area{min-height:min(var(--board-size),calc(100vw - 43px));grid-template-columns:minmax(0,var(--board-size))}.analysis-play-area{grid-template-columns:minmax(0,var(--board-size)) 40px}.home-play-area .board-frame{grid-column:1;grid-row:1}.home-play-area .evaluation-bar{grid-column:2;grid-row:1}.game-over-area .board-frame,.game-over-area .evaluation-bar,.game-over-area .clock-row{filter:blur(4px);pointer-events:none}.clock-row{width:100%;min-height:min(var(--board-size),calc(100vw - 43px));display:grid;grid-template-columns:1fr;gap:11px;align-content:space-between}.clock-stack{position:relative;display:grid}.clock{border-color:#cfc6b8;background:#fff;box-shadow:inset 0 0 0 1px #ffffffb8,0 7px 16px #20212414;padding:13px 14px}.clock-player-name{font-size:1.05rem}.captured-material{min-height:26px;display:flex;flex-wrap:nowrap;width:max-content;max-width:100%;gap:6px;align-items:center;align-self:start;justify-self:start;border-radius:999px;background:#ffffff12;padding:3px 9px}.captured-material.is-empty{background:none}.clock-stack .captured-material:first-child{margin-bottom:2px}.clock-stack .captured-material:last-child{margin-top:2px}.captured-group{display:flex;align-items:center}.captured-group .captured-piece+.captured-piece{margin-left:-8px}.captured-piece{width:21px;height:21px;flex:0 0 auto;display:block;filter:drop-shadow(0 0 1px rgba(32,33,36,.65))}.captured-advantage{color:var(--text);font-size:.92rem;font-weight:700;white-space:nowrap}.status-block div{padding:12px 13px}.status-block strong{font-size:1.05rem}.black-clock{border-color:#2f3a3d;background:#202124;color:#fffaf2;box-shadow:inset 0 0 0 1px #fffaf214,0 7px 16px #20212424}.black-clock span{color:#c8c1b8}.clock.active{border-color:#2f9475;box-shadow:inset 0 0 0 4px #2f9475,0 0 0 3px #2f94752e,0 0 22px #2f947552,0 9px 20px #1f6f582e}.black-clock.active{border-color:#7fd0b7;box-shadow:inset 0 0 0 4px #7fd0b7,0 0 0 3px #7fd0b729,0 0 22px #7fd0b757,0 9px 20px #1f6f5838}.clock-time{font-size:2.1rem}.board-frame{width:min(100%,var(--board-size));touch-action:none;-webkit-user-select:none;user-select:none}.chessboard-js-board-wrap{position:relative}.chessboard-js-board{width:100%;border-radius:4px;box-shadow:0 14px 36px #2021242e;overflow:hidden;touch-action:none}.chessboard-js-board .square-55d63,.chessboard-js-board .piece-417db{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.home-board-carousel{width:100%}.home-board-carousel-players{margin:14px 0 0;display:flex;justify-content:center;align-items:center;gap:.45em;color:var(--text);font-size:1.2rem;font-weight:600;line-height:1;white-space:nowrap;transition:opacity .45s ease}.home-board-carousel-players.is-hidden{opacity:0}.home-board-carousel-players.is-visible{opacity:1}.auth-shell .home-board-carousel-players{color:#c8c7c5;font-size:min(1.2rem,4cqi)}.auth-shell .chessboard-js-board,.home-shell .chessboard-js-board{box-shadow:0 8px 24px #00000061}.chessboard-js-board .square-55d63{position:relative}.playable-board .piece-417db,.playable-board .square-55d63{cursor:pointer!important}.chessboard-js-board .highlight1-32417,.chessboard-js-board .highlight2-9c5d2{box-shadow:none}.legal-dot-square:after{content:"";position:absolute;top:50%;left:50%;width:30%;height:30%;z-index:3;border-radius:999px;background:#5b7f3761;transform:translate(-50%,-50%);pointer-events:none}.legal-hover-square.legal-dot-square:after,.legal-hover-square.legal-capture-square:after{display:none}.legal-capture-square{overflow:hidden}.legal-capture-square:after{content:"";position:absolute;top:50%;left:50%;width:153%;height:153%;z-index:0;box-sizing:border-box;background:transparent;border:13px solid rgba(91,127,55,.38);border-radius:999px;transform:translate(-50%,-50%);pointer-events:none}.legal-capture-square .piece-417db{position:relative;z-index:1}.legal-hover-square.white-1e1d7,.legal-hover-square.black-3c85d{background-color:#5b7f3761!important}body>img.piece-417db{z-index:20!important}.last-move-square{box-shadow:inset 0 0 0 999px #f7f7645c}.quality-square.quality-best{box-shadow:inset 0 0 0 999px #57bd838c}.quality-square.quality-excellent{box-shadow:inset 0 0 0 999px #6aabde8c}.quality-square.quality-good{box-shadow:inset 0 0 0 999px #a8b84b8c}.quality-square.quality-inaccuracy{box-shadow:inset 0 0 0 999px #d9a4418c}.quality-square.quality-mistake{box-shadow:inset 0 0 0 999px #e08a5c8c}.quality-square.quality-blunder{box-shadow:inset 0 0 0 999px #e2717f8c}.premove-from-square,.premove-to-square{box-shadow:inset 0 0 0 999px #b42d2d61}.game-over-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;z-index:5;padding:16px}.game-over-dialog{width:min(100%,288px);display:grid;gap:11px;border:1px solid var(--line);border-radius:7px;background:#262421f7;box-shadow:0 16px 45px #00000073;padding:14px}.game-over-dialog h2{margin:0;font-size:1.2rem;line-height:1.2;text-transform:capitalize}.review-layout{display:grid;grid-template-columns:minmax(0,calc(var(--board-size) + 50px)) 234px;gap:13px;align-items:start}.review-board-panel{display:grid;gap:11px;justify-items:center}.review-board-row{width:min(100%,calc(var(--board-size) + 50px));max-width:100%;display:grid;grid-template-columns:40px minmax(0,var(--board-size));gap:11px;align-items:stretch;justify-content:center}.evaluation-bar{position:relative;width:40px;height:min(var(--board-size),calc(100vw - 43px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #2f3437;border-radius:4px;background:#fffaf2}.evaluation-bar-fill{flex:0 0 auto;transition:height .7s ease-in-out}.evaluation-bar-white{background:#fffaf2}.evaluation-bar-black{background:#202124}.evaluation-bar-label{position:absolute;left:0;width:100%;font-size:.76rem;font-weight:800;line-height:1;text-align:center;pointer-events:none}.evaluation-bar-label-white,.evaluation-bar-label-equal{color:#202124;text-shadow:0 1px 0 rgba(255,255,255,.85)}.evaluation-bar-label-black{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.7)}.evaluation-bar-top{top:5px}.evaluation-bar-bottom{bottom:5px}.evaluation-bar-middle{top:50%;transform:translateY(-50%)}.review-board-wrap{position:relative;width:min(100%,var(--board-size));-webkit-user-select:none;user-select:none}.review-board-quality{position:absolute;z-index:2;transform:translate(-50%,-50%);pointer-events:none;font-size:calc(var(--board-size) / 34);filter:drop-shadow(0 1px 3px rgba(0,0,0,.45))}.review-controls{width:min(100%,calc(var(--board-size) + 50px));display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:7px;align-items:center}.review-ply-status{min-height:38px;display:grid;align-content:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:5px 9px;text-align:center}.review-ply-status span,.review-panel-header span,.evaluation-box span{color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase}.review-ply-status strong,.review-panel-header strong,.evaluation-box strong{display:block;margin-top:2px}.review-panel{max-height:min(var(--board-size),calc(100vh - 43px));display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:9px}.review-panel-header,.evaluation-box{border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:11px}.review-panel-header{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:space-between}.review-panel-title{flex:1 1 130px;min-width:0;display:grid;gap:3px}.review-panel-actions{flex:0 1 auto;display:flex;gap:6px;align-items:center}.review-panel-actions button{white-space:nowrap}.review-panel-header strong,.review-panel-title span{overflow-wrap:anywhere}.review-panel-title span{color:var(--muted);font-size:.86rem;line-height:1.25}.review-panel-header .review-player-names,.review-overview .review-player-names{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;line-height:1.1}.review-panel-header .review-player-names .review-player-separator,.review-overview .review-player-names .review-player-separator{color:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:none}.review-panel-header .player-name-with-tag,.review-panel-header .player-tag,.review-panel-header .player-name-text,.review-overview .player-name-with-tag,.review-overview .player-tag,.review-overview .player-name-text{display:inline-flex;line-height:inherit;text-transform:none}.review-panel-header .player-name-with-tag,.review-overview .player-name-with-tag{align-items:center;color:inherit;font-size:inherit;vertical-align:middle}.review-panel-header .player-name-text,.review-overview .player-name-text{color:inherit;font-size:inherit}.review-panel-header .player-tag,.review-overview .player-tag{color:#efe7eb;font-size:.72rem;line-height:1;overflow-wrap:normal;padding:3px 6px}.review-panel-header .player-tag-dev,.review-overview .player-tag-dev{color:#e7edf8}.review-panel-header strong .player-name-with-tag,.review-overview strong .player-name-with-tag,.review-comparison-table strong .player-name-with-tag{max-width:min(100%,16ch)}.review-comparison-table strong .player-name-with-tag{justify-content:flex-end}.review-comparison-table>strong{overflow-wrap:anywhere}.evaluation-box{background:var(--surface)}.evaluation-box p{margin:6px 0 0;color:var(--muted);font-size:.92rem;line-height:1.35}.best-move-button{min-height:0;border:0;border-radius:0;background:transparent;color:#1f6f58;padding:1px 0;font:inherit;font-weight:800}.best-move-button:hover,.best-move-button:focus-visible{background:var(--surface-hover);color:#164f3f}.move-quality-icon{display:inline-flex;align-items:center;justify-content:center;width:1.62em;height:1.62em;flex:0 0 auto;border-radius:50%;font-size:.68em;font-weight:700;line-height:1;letter-spacing:-.05em;text-indent:-.025em;color:#201e1c}.move-quality-icon.quality-best{background:#57bd83}.move-quality-icon.quality-excellent{background:#6aabde}.move-quality-icon.quality-good{background:#a8b84b}.move-quality-icon.quality-inaccuracy{background:#d9a441}.move-quality-icon.quality-mistake{background:#e08a5c}.move-quality-icon.quality-blunder{background:#e2717f}.evaluation-box .annotation-title,.review-stat-label,.move-button{display:inline-flex;align-items:center;gap:.42em}.annotation-title.quality-best,.review-stat-label.quality-best{color:#008f5a}.annotation-title.quality-excellent,.review-stat-label.quality-excellent{color:#07c}.annotation-title.quality-good,.review-stat-label.quality-good{color:#64751f}.annotation-title.quality-inaccuracy,.review-stat-label.quality-inaccuracy{color:#966813}.annotation-title.quality-mistake,.review-stat-label.quality-mistake{color:#9b4522}.annotation-title.quality-blunder,.review-stat-label.quality-blunder{color:#982828}.review-overview{display:grid;gap:13px;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:11px}.review-overview-header{display:block}.review-overview-header span,.review-meta-list span,.review-player-header span{color:var(--muted);font-size:.78rem;font-weight:700;text-transform:uppercase}.review-meta-list{display:grid;gap:11px;border-bottom:1px solid #e5ddd2;padding-bottom:13px}.review-meta-list div{display:grid;gap:4px}.review-meta-list strong{line-height:1.25;overflow-wrap:anywhere}.review-meta-list .review-game-id-row{display:flex;gap:7px;align-items:center;justify-content:flex-start}.review-save-button{position:relative;width:29px;min-width:29px;min-height:29px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--muted);padding:0}.review-save-button:hover{background:var(--surface-hover)}.review-save-button.copied{background:var(--surface);color:#1f6f58}.review-save-button:before{content:"";position:absolute;top:50%;left:50%;width:16px;height:18px;border:2px solid currentColor;border-radius:2px;box-sizing:border-box;transform:translate(-50%,-50%)}.review-save-button:after{content:"";position:absolute;top:50%;left:50%;width:8px;height:4px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;transform:translate(-50%,-30%)}.review-save-button.copied:before{top:50%;left:50%;width:13px;height:8px;border:0;border-left:3px solid currentColor;border-bottom:3px solid currentColor;border-radius:0;transform:translate(-50%,-60%) rotate(-45deg)}.review-save-button.copied:after{display:none}.review-comparison-table{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px 13px;align-items:center}.review-comparison-row{display:contents}.review-comparison-table>span{color:var(--muted);line-height:1.2}.review-label-with-info{display:inline-flex;gap:5px;align-items:center}.review-info-icon{position:relative;width:15px;height:15px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid #9aa09d;border-radius:999px;color:var(--muted);font-size:.72rem;font-weight:800;line-height:1;cursor:help}.review-info-tooltip{position:absolute;left:50%;bottom:calc(100% + 7px);width:207px;display:none;transform:translate(-50%);z-index:8;border:1px solid var(--line);border-radius:5px;background:var(--surface);box-shadow:0 10px 24px #20212429;color:var(--muted);padding:7px 9px;font-size:.82rem;font-weight:600;line-height:1.3;text-transform:none}.review-info-icon:hover .review-info-tooltip,.review-info-icon:focus .review-info-tooltip{display:block}.review-comparison-table>strong,.review-comparison-row>strong{text-align:right}.review-comparison-table>strong{color:var(--text);font-size:.95rem}.review-comparison-row>.quality-best{color:#008f5a}.review-comparison-row>.quality-excellent{color:#07c}.review-comparison-row>.quality-good{color:#64751f}.review-comparison-row>.quality-inaccuracy{color:#966813}.review-comparison-row>.quality-mistake{color:#9b4522}.review-comparison-row>.quality-blunder{color:#982828}.review-table-divider{grid-column:1 / -1;height:1px;margin:4px 0 2px;background:#e5ddd2}.review-stat-list{display:grid;gap:5px}.review-stat-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.review-stat-label{font-weight:700}.move-list{min-height:0;display:grid;align-content:start;gap:4px;overflow:auto;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:7px}.move-row{display:grid;grid-template-columns:31px minmax(0,1fr) minmax(0,1fr);gap:4px;align-items:center}.move-number{color:var(--muted);font-size:.86rem;font-weight:700}.move-button{min-height:31px;min-width:0;overflow:hidden;background:transparent;color:var(--muted);padding:0 7px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.move-button:hover,.move-button.current-move{background:var(--surface-hover)}.move-button.current-move{box-shadow:inset 0 0 0 1px #1f6f58}.move-button.scramble-start-move{background:#d9a44124;box-shadow:inset 2px 0 #d9a441}.move-button.scramble-start-move.current-move{box-shadow:inset 2px 0 #d9a441,inset 0 0 0 1px #1f6f58}.move-button.quality-best,.move-button.quality-excellent,.move-button.quality-good{color:var(--muted)}.move-button.quality-inaccuracy{color:#d9a441;font-weight:700}.move-button.quality-mistake{color:#e08a5c;font-weight:700}.move-button.quality-blunder{color:#e2717f;font-weight:700}.move-button.current-move.quality-best,.move-button.current-move.quality-excellent,.move-button.current-move.quality-good{background:var(--surface-hover);box-shadow:inset 0 0 0 1px #1f6f58}.move-button.current-move.quality-inaccuracy{background:#d9a44129;box-shadow:inset 0 0 0 1px #a9791f}.move-button.current-move.quality-mistake{background:#e08a5c29;box-shadow:inset 0 0 0 1px #ad5c33}.move-button.current-move.quality-blunder{background:#e2717f29;box-shadow:inset 0 0 0 1px #b8434f}.move-placeholder{min-height:31px}@media (max-width: 860px){:root,.auth-shell{--board-size: 486px}.app-shell{padding:14px}.auth-header{padding:14px 14px 0}.auth-band-inner{padding-inline:14px}.workspace{margin-block:0}.auth-panel{grid-template-columns:1fr;width:min(100%,var(--board-size));gap:30px}.auth-board-section{order:0}.auth-board-section .board-frame{width:100%}.auth-shell .home-board-carousel-players{font-size:min(1rem,4cqi)}.auth-copy{order:-1;padding:26px}.auth-copy h1{font-size:clamp(2.35rem,9vw,3.5rem)}.profile-name{max-width:min(58vw,234px)}.profile-menu.home-header{align-items:flex-start}.profile-actions{flex-wrap:wrap}.workspace,.home-shell .workspace{grid-template-columns:1fr}.sidebar{gap:13px}h1{font-size:1.65rem}.play-area{grid-template-columns:1fr}.spectator-play-area{grid-template-columns:36px minmax(0,var(--board-size));align-items:stretch}.analysis-play-area{grid-template-columns:36px minmax(0,var(--board-size))}.analysis-play-area .evaluation-bar{grid-column:1;grid-row:1}.analysis-play-area .board-frame,.spectator-play-area .board-frame{grid-column:2;grid-row:1}.spectator-play-area .evaluation-bar{grid-column:1;grid-row:1}.clock-row{width:min(100%,var(--board-size));min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));order:-1}.captured-material.is-empty{min-height:0}.captured-material{min-height:0;gap:4px;padding:2px 6px}.captured-piece{width:17px;height:17px}.spectator-play-area .clock-row{grid-column:1 / -1;grid-row:2;order:0}.review-layout{grid-template-columns:1fr}.review-board-row{width:100%;grid-template-columns:36px minmax(0,var(--board-size));gap:9px}.evaluation-bar{width:36px;height:min(var(--board-size),calc(100vw - 74px))}.review-board-wrap{width:min(100%,var(--board-size))}.evaluation-bar-label{font-size:.7rem}.review-panel{max-height:none}.review-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.review-ply-status{grid-column:1 / -1;grid-row:1}}@media (max-width: 560px){.app-shell{padding:12px}.home-header-brand>strong{display:none}.home-header-brand .brand-logo-mark{width:auto;height:32px}.profile-menu.home-header{align-items:center}.profile-actions{flex-wrap:nowrap}.profile-actions .profile-name{max-width:42vw}.profile-actions button{padding-inline:9px;font-size:.78rem}}@media (max-width: 430px){.home-header .profile-actions .account-menu-name{display:none}.home-header .profile-actions .account-menu-button{padding-inline:8px}.home-header .profile-actions .profile-name:not(.account-menu-button){display:none}}.player-name-with-tag.player-name-with-tag{min-width:0;max-width:100%;display:inline-flex;gap:.38em;align-items:center;justify-content:flex-start;color:inherit;font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;overflow-wrap:inherit;text-transform:none;vertical-align:middle}.player-name-with-tag.player-name-with-tag .player-tag{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:.45em;padding:.28em .5em;color:#efe7eb;font-size:.72em;font-weight:700;letter-spacing:0;line-height:1;overflow-wrap:normal;text-transform:uppercase}.player-name-with-tag.player-name-with-tag .player-tag-dev{color:#e7edf8}@media (max-width: 940px){.auth-panel{grid-template-columns:minmax(0,1fr);justify-items:center}.auth-board-section{width:100%}.auth-copy{justify-items:center;text-align:center}}.platform-preview{display:grid;gap:14px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#262421;color:var(--text);padding:14px;font-size:.92rem;box-shadow:0 12px 30px #00000038}.preview-board{width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,1fr);overflow:hidden;border-radius:3px;box-shadow:0 6px 16px #2021242e}.preview-square{background:#f0d9b5}.preview-square.is-dark{background:#b58863}.preview-square img{width:100%;height:100%;display:block}.preview-play{grid-template-columns:26px minmax(0,1.3fr) minmax(0,1fr)}.preview-play .evaluation-bar{width:26px;height:auto;border-radius:3px}.preview-play .evaluation-bar-label{font-size:.6rem}.preview-play .clock-row{min-height:0;gap:10px}.preview-play .clock{border-radius:7px;box-shadow:none;padding:10px 12px}.preview-play .clock.active{box-shadow:inset 0 0 0 3px #2f9475}.preview-play .clock-player-name{font-size:.88rem}.preview-play .clock-time{font-size:1.32rem}.preview-lobby{align-content:start;gap:10px}.preview-lobby .play-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preview-lobby .play-menu-button{min-height:0;grid-template-columns:24px minmax(0,1fr);gap:10px;border-radius:7px;box-shadow:none;padding:9px 11px}.preview-lobby .play-menu-icon{font-size:1.3rem}.preview-lobby .play-menu-button strong{font-size:.92rem}.preview-lobby .play-menu-button small{font-size:.7rem}.preview-lobby .active-game-row button{min-height:0;border-radius:6px;padding:6px 11px;font-size:.78rem}.preview-lobby .online-stats{gap:8px}.preview-lobby .online-stats div,.preview-lobby .playing-dropdown-button{border-radius:7px;padding:7px 10px}.preview-lobby .playing-dropdown-button{display:block;text-align:left}.preview-lobby .online-stat-label{font-size:.68rem}.preview-lobby .online-stats strong{font-size:1.05rem}.preview-lobby .active-game-list{align-content:start;gap:6px}.preview-lobby .active-game-row,.preview-lobby .online-stats div,.preview-review .evaluation-box,.preview-review .move-list{background:#1f1d1b}.preview-lobby .active-game-row{border-radius:7px;padding:7px 10px}.preview-lobby .active-game-row strong{display:block;font-size:.88rem}.preview-lobby .active-game-row>div>span{color:var(--muted);font-size:.76rem}.preview-review{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.preview-review .review-panel{min-height:0;max-height:none;grid-template-rows:auto minmax(0,1fr);gap:8px}.preview-review .evaluation-box{border-radius:7px;padding:9px 11px}.preview-review .annotation-title{font-size:.88rem}.preview-review .evaluation-box p{margin:2px 0 0;font-size:.82rem;line-height:1.4}.preview-review .move-list{align-content:start;overflow:hidden;border-radius:7px;padding:6px}.preview-review .move-row{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr)}.preview-review .move-number{font-size:.8rem}.preview-review .move-button{min-height:28px;border-radius:5px;padding:0 8px;font-size:.86rem}@media (max-width: 940px){.auth-feature-row,.auth-feature-list li:nth-child(2n) .auth-feature-row{grid-template-columns:minmax(0,1fr);gap:18px;justify-items:center}.auth-feature-list li:nth-child(2n) .feature-copy,.auth-feature-list li:nth-child(2n) .platform-preview{grid-column:1;grid-row:auto;justify-self:auto}.feature-copy{justify-items:center;text-align:center}.platform-preview{width:100%}.preview-play{grid-template-columns:22px minmax(0,1fr)}.preview-play .clock-row{grid-column:1 / -1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))}.preview-review{grid-template-columns:minmax(0,1fr)}}.notifications{position:relative}.notifications-button{width:38px;min-height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:#d0cfcd;padding:0}.notifications-button:hover,.notifications-button[aria-expanded=true]{background:var(--surface-hover);color:#fff}.notifications-icon{width:19px;height:19px}.notifications-badge{position:absolute;top:-5px;right:-5px;min-width:17px;display:grid;place-items:center;border-radius:999px;background:#81b64c;color:#1c1a19;padding:0 5px;font-size:.68rem;font-weight:700;line-height:17px}.notifications-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(88vw,330px);z-index:30;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 18px 44px #00000080;text-align:left}.notifications-panel-header{border-bottom:1px solid var(--line);padding:11px 14px;color:var(--dim);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.notifications-empty{margin:0;padding:16px 14px;color:var(--muted);font-size:.88rem}.notifications-list{margin:0;padding:0;list-style:none;max-height:340px;overflow-y:auto}.notifications-list li{display:grid;gap:9px;padding:12px 14px}.notifications-list li+li{border-top:1px solid var(--line)}.notification-copy{display:grid;gap:2px}.notification-copy strong{font-size:.92rem}.notification-copy span{color:var(--muted);font-size:.82rem}.notification-actions{display:flex;gap:7px}.notification-actions button{min-height:32px;flex:1;padding:0 10px;font-size:.86rem}.friends-section{display:grid;gap:8px}.friends-empty{margin:0;color:#8d8a86;font-size:.85rem;line-height:1.5}.friends-list{margin:0;padding:0;list-style:none;display:grid;gap:4px}.friends-list li{display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:9px;align-items:center;border-radius:var(--radius);padding:6px 8px}.controls .friends-list li{padding-inline:0}.friends-list li:hover{background:var(--surface)}.friends-list li.is-pending{opacity:.65}.friend-dot{width:7px;height:7px;border-radius:50%;background:#55524f}.friend-dot.is-online{background:#81b64c}.friend-name{overflow:hidden;font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.friend-status{color:#8d8a86;font-size:.8rem}.friend-challenge,.friend-remove{min-height:27px;border-radius:5px;padding:0 10px;font-size:.8rem}.friend-remove{border-color:transparent;background:transparent;color:var(--dim)}.friend-remove:hover{background:var(--surface-hover);color:var(--text)}.clock-player-button{width:100%;min-height:0;display:grid;justify-items:start;gap:1px;border:0;border-radius:4px;background:transparent;color:inherit;padding:2px 4px;margin-left:-4px;font:inherit;text-align:left}.clock-player-button.is-none:hover{background:#81b64c29}.clock-player-button:disabled{cursor:default;opacity:1}.clock .clock-friend-hint{color:#68625b;font-size:.68rem;font-weight:600;letter-spacing:.02em;text-transform:none;opacity:0;transition:opacity .14s ease}.black-clock .clock-friend-hint{color:#b7b0a6}.clock-player-button.is-none .clock-friend-hint,.clock-player-button:focus-visible .clock-friend-hint{opacity:.85}.clock-player-button.is-requested .clock-friend-hint,.clock-player-button.is-incoming .clock-friend-hint{opacity:.85}.play-friend-dialog{width:min(92vw,380px);gap:10px}.play-friend-hint{margin:0;color:var(--muted);font-size:.82rem}.play-friend-divider{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin-top:4px;color:var(--dim);font-size:.74rem;letter-spacing:.04em;text-transform:uppercase}.play-friend-divider:before,.play-friend-divider:after{content:"";height:1px;background:var(--line)}.play-friend-dialog .friends-list{max-height:210px;overflow-y:auto}
