/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#f2f0eb;font-synthesis:none;--canvas:#1a1c1c;--panel:#1d1f1f;--muted:#a9acab;--border:#393c3b;--amber:#edb347;--wood-grain:repeating-linear-gradient(91deg,#ffffff07 0px,#311c0906 1px,transparent 3px,transparent 8px);background:#1a1c1c;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:0;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button,input,select{transition:background .15s,border-color .15s,color .15s,box-shadow .15s}button:focus-visible,a:focus-visible{outline:2px solid var(--amber);outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}button{background:0 0;border:0}a{color:inherit}input,select{color:#eceeeb;background:#242626;border:1px solid #444746;border-radius:6px;outline:none;width:100%;padding:13px 15px;font-size:14px;display:block}input::placeholder{color:#929694}input:focus,select:focus{border-color:var(--amber);box-shadow:0 0 0 3px #edb34712}select{cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;height:47px}label,legend{font-size:14px;font-weight:550}label>select{margin-top:9px}fieldset{border:0;margin:0;padding:0}legend{margin-bottom:11px}h2{letter-spacing:-.35px;font-size:20px;font-weight:630}h3{font-size:16px;font-weight:600}button svg{flex-shrink:0}.muted{color:var(--muted);font-size:14px;line-height:1.6}.app-shell{background:radial-gradient(at 46% 28%,#24272755,#0000 68%);min-height:100vh}.topbar{border-bottom:1px solid var(--border);background:#202222a6;align-items:center;gap:25px;height:72px;padding:0 36px;display:flex}.brand{align-items:center;gap:11px;padding:0;display:flex}.brand strong{letter-spacing:-.6px;font-size:23px;font-weight:650}.brand-knight{color:#f1efe9;font-family:Georgia,serif;font-size:39px;line-height:1}.header-divider{background:#4b4d4b;width:1px;height:24px}.breadcrumb{color:#c0c3c0;font-size:14px}.breadcrumb span{color:#69706c;margin:0 9px}.header-actions{align-items:center;gap:25px;margin-left:auto;display:flex}.connection{color:#c1c6c2;align-items:center;gap:9px;font-size:13px;display:flex}.connection i,.presence-dot{background:#646a66;border-radius:100%;width:8px;height:8px;display:inline-block}.connection.online i,.presence-dot.present{background:#6dc487}.connection.connecting i{background:var(--amber)}.profile{border:1px solid #464a47;border-radius:7px;align-items:center;gap:12px;padding:7px 12px 7px 7px;font-size:14px;display:flex}.avatar{background:linear-gradient(140deg,#3f4240,#292c2b);border:1px solid #4b4d4b;border-radius:100%;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:19px;font-weight:500;display:inline-flex}.avatar.small{width:33px;height:33px;font-size:14px}.avatar.tiny{width:25px;height:25px;font-size:11px}.button{border-radius:6px;justify-content:center;align-items:center;gap:11px;width:100%;min-height:47px;padding:11px 17px;font-size:14px;font-weight:620;display:flex}.button.primary{color:#191b17;background:var(--amber);border:1px solid #f6c96a;box-shadow:0 2px 4px #0002}.button.primary:hover:not(:disabled){background:#f7c15a}.button.outline{background:0 0;border:1px solid #555a56}.button.outline:hover:not(:disabled){background:#ffffff08;border-color:#858c86}.button.compact{width:auto;min-height:37px;padding:7px 14px;font-size:13px;font-weight:450}.button.accent-border{border-color:#c99639}.button.danger{background:#ad483c}.icon-button{color:#bbc0bb;border-radius:5px;justify-content:center;align-items:center;width:33px;height:33px;display:inline-flex}.icon-button:hover:not(:disabled){color:#fff;background:#ffffff0b}.text-button{color:#b9beba;justify-content:center;align-items:center;gap:8px;padding:0;font-size:12px;display:inline-flex}.text-button:hover:not(:disabled){color:var(--amber)}.panel{border:1px solid var(--border);background:#1c1e1ec4;border-radius:9px}.panel-heading{align-items:center;gap:14px;margin-bottom:25px;display:flex}.heading-icon{background:linear-gradient(135deg,#414441,#2b2e2b);border:1px solid #414541;border-radius:100%;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:39px;display:flex}.question-mark{font-size:23px;font-weight:500}.eyebrow{letter-spacing:1.8px;color:#9baba0;font-size:11px;font-weight:500}.home{max-width:1256px;margin:0 auto;padding:36px 34px 20px}.home-intro{text-align:center;margin-bottom:29px}.home-intro .eyebrow{letter-spacing:2.2px;color:#939b94;font-size:10px}.home-intro h1{letter-spacing:-1.8px;margin:9px 0;font-size:42px;font-weight:650;line-height:1.1}.home-intro h1 span{color:var(--amber)}.home-intro>p{color:#adb6af;font-size:15px;line-height:1.6}.home-columns{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);align-items:start;gap:22px;display:grid}.create-panel{padding:24px}.privacy-badge{color:#a7b3aa;border:1px solid #3d453e;border-radius:4px;align-items:center;gap:5px;margin-left:auto;padding:4px 6px;font-size:10px;font-weight:450;display:flex}.mode-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.mode-card{text-align:left;background:#202322;border:1px solid #454945;border-radius:7px;padding:8px;overflow:hidden}.mode-card:hover{border-color:#8c8668}.mode-card.selected{border-color:var(--amber);box-shadow:0 0 0 1px var(--amber);background:#282720}.mode-art{background-color:#dfc397;background-image:var(--wood-grain),conic-gradient(#b28b65 25%,transparent 0 50%,#b28b65 0 75%,transparent 0);background-size:auto,110px 110px;border-radius:3px;justify-content:center;align-items:center;height:110px;display:flex;position:relative;overflow:hidden}.piece-art{filter:drop-shadow(0 4px 2px #513b2420);width:79px;height:79px;display:inline-block}.piece-art svg{width:100%;height:100%}.freestyle-art .piece-art{width:73px;height:73px}.selected-check{background:var(--amber);color:#242520;border-radius:50%;place-items:center;width:25px;height:25px;display:grid;position:absolute;top:8px;right:8px}.mode-copy{padding:12px 4px 8px}.mode-copy p{color:#bcc0bb;margin-top:7px;font-size:12px}.mini-tag{vertical-align:middle;color:#c4cbbd;background:#3f443c;border-radius:3px;margin-left:4px;padding:2px 5px;font-size:9px;font-weight:500}.opponent-field{margin-top:25px}.segmented{border:1px solid #454945;border-radius:6px;grid-template-columns:1fr 1fr;height:47px;display:grid;overflow:hidden}.segmented button{color:#c3c8c2;background:#2629276b;border:1px solid #0000;justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex}.segmented button.active{color:var(--amber);background:#b28b3220;border-color:#dca944}.field-help{color:#a6aea7;margin-top:9px;font-size:11px;line-height:1.5}.form-row{grid-template-columns:1fr 1fr;gap:23px;margin-top:23px;display:grid}.bot-level{margin-top:20px;display:block}.create-summary{border-top:1px solid #353c36;justify-content:space-between;align-items:center;gap:10px;margin:25px 0 18px;padding-top:19px;display:flex}.create-summary>span{color:#a6b0a8;align-items:center;gap:9px;font-size:11px;display:flex}.create-summary .text-button{font-size:10px}.create-button{min-height:48px;font-size:15px}.under-button{text-align:center;color:#9da79f;margin-top:12px;font-size:10px;line-height:1.4}.home-aside{flex-direction:column;gap:17px;display:flex}.join-panel{padding:24px}.join-panel .panel-heading{margin-bottom:24px}.join-panel h2,.how-panel h2{font-size:18px}.join-panel label{color:#c7cdc6;margin-bottom:12px;font-size:12px;font-weight:400;display:block}.join-panel input{margin-bottom:13px;font-size:13px}.how-panel{padding:23px}.how-panel .panel-heading{margin-bottom:25px}.steps{margin:0;padding:0;list-style:none}.steps li{gap:17px;padding-bottom:30px;display:flex;position:relative}.steps li:last-child{padding-bottom:0}.steps li:not(:last-child):after{content:"";background:#424a43;width:1px;position:absolute;top:39px;bottom:7px;left:16px}.step-number{color:#d1d9ce;border:1px solid #677168;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:16px;display:grid}.steps h3{margin:2px 0 7px;font-size:13px}.steps p{color:#aab4ac;max-width:220px;font-size:11px;line-height:1.5}.bot-note{color:#aeb8b0;border-top:1px solid #394239;align-items:center;gap:13px;margin-top:27px;padding-top:19px;font-size:11px;line-height:1.5;display:flex}.bot-note svg{flex-shrink:0}.resume-link{color:#a0aea2;justify-content:center;align-items:center;gap:9px;padding:5px;font-size:11px;display:flex}.resume-link:hover{color:var(--amber)}.resume-link svg:last-child{margin-left:auto}.home-footer{color:#778579;justify-content:space-between;margin:22px 1px 0;font-size:10px;display:flex}.footer-dot{margin:0 7px}.game-layout{grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:29px;max-width:1210px;margin:0 auto;padding:20px 28px 28px;display:grid}.board-toolbar{justify-content:space-between;align-items:center;margin:-2px 0 10px;display:flex}.board-toolbar>span{color:#818d84;letter-spacing:.3px;font-size:10px}.board-toolbar b{color:#acb6ad;font-weight:400}.player-strip{background:#1d201e;border:1px solid #3e4540;border-radius:8px;align-items:center;gap:13px;min-height:71px;padding:10px 13px;display:flex}.player-detail strong{align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.player-detail>span{color:#a7b3a9;margin-top:5px;font-size:11px;display:block}.presence-dot{flex-shrink:0;width:7px;height:7px}.clock{font-variant-numeric:tabular-nums;letter-spacing:.5px;color:#919b92;text-align:center;background:#121714;border-radius:6px;min-width:122px;margin-left:auto;padding:6px 15px;font-size:31px;font-weight:650;line-height:1.3}.clock.active-clock{color:#23291f;background:#e8e2d4}.clock.low-clock.active-clock{color:#fff;background:#d96c52}.active-player{border-color:#686650}.bot-avatar{color:#b9cbb9}.board-wrap{border:1px solid #846c4c;margin:12px 0;position:relative;overflow:hidden;box-shadow:0 6px 26px #0003}.board-wrap [data-square]{cursor:pointer}.board-status{color:#c2cbc2;align-items:center;gap:10px;min-height:22px;margin-top:13px;font-size:12px;display:flex}.status-dot{background:#7a867b;border-radius:50%;width:8px;height:8px}.status-dot.live{background:var(--amber)}.check-label{color:#ffd6c9;background:#753f31;border-radius:4px;margin-left:auto;padding:3px 8px;font-size:10px}.castling-help{color:#9daa9f;margin-top:5px;font-size:10px}.game-aside{border-left:1px solid #343e36;padding-top:16px;padding-left:27px}.game-heading .eyebrow{letter-spacing:1px;color:#aab5ac;font-size:11px}.game-heading h1{letter-spacing:-.6px;align-items:center;gap:13px;margin:8px 0;font-size:28px;font-weight:620;display:flex}.game-heading h1 svg{color:#c8d1c4}.game-heading p{color:#b5c0b5;font-size:12px}.live-notice{color:#bacab8;background:#29402b22;border:1px solid #394a3b;border-radius:5px;align-items:center;gap:9px;margin:23px 0 16px;padding:11px 12px;font-size:11px;display:flex}.live-dot{background:#7bbb87;border-radius:50%;width:6px;height:6px}.game-ply{color:#d0d9c7;margin-left:auto}.game-ply small{color:#a0af9e;font-size:9px}.waiting-panel{text-align:center;background:#37301c28;border-color:#645b3e;margin:23px 0 17px;padding:20px}.waiting-icon{color:var(--amber);justify-content:center;align-items:center;margin-bottom:10px;display:inline-flex}.waiting-panel h2{margin-bottom:9px;font-size:20px}.waiting-panel p{color:#b8bfae;margin-bottom:17px;font-size:12px;line-height:1.6}.waiting-panel .button{min-height:42px;font-size:12px}.invite-bot{width:100%;margin-top:15px}.section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-title h2{font-size:16px}.section-title>span{color:#8c9b8e;align-items:center;gap:6px;font-size:10px;display:flex}.moves-panel{padding:18px 17px 7px}.moves-panel .section-title{border-bottom:1px solid #343d34;padding-bottom:15px}.move-list{scrollbar-width:thin;scrollbar-color:#4c5a4d transparent;height:180px;padding:8px 0;overflow-y:auto}.empty-moves{text-align:left;color:#869484;justify-content:center;align-items:center;gap:13px;height:100%;display:flex}.empty-moves>span{color:#738170;font-size:36px}.empty-moves p{font-size:12px;line-height:1.7}.move-row{font-variant-numeric:tabular-nums;grid-template-columns:36px 1fr 1fr;align-items:center;gap:5px;min-height:33px;display:grid}.move-row>span{color:#919f8f;padding-left:8px;font-size:12px}.move-row>button{text-align:left;border-radius:4px;padding:7px 9px;font-size:13px}.move-row>button:hover{background:#ffffff08}.move-row>button.current-move{color:#ead8b1;background:#b9913330}.history-controls{border-top:1px solid #394138;justify-content:space-between;align-items:center;margin-top:7px;padding-top:7px;display:flex}.history-controls .text-button{font-size:10px}.participants{margin-top:17px;padding:18px 17px 8px}.participants .section-title{margin-bottom:10px}.participant{border-bottom:1px solid #333c32;align-items:center;gap:10px;padding:10px 0;font-size:12px;display:flex}.participant:last-child{border-bottom:0}.participant>span:nth-child(2){align-items:center;gap:8px;display:flex}.participant small{color:#a4b09f;margin-left:auto;font-size:10px}.no-spectators{color:#83917f;align-items:center;gap:7px;margin:10px 0 9px;font-size:10px;display:flex}.game-actions{justify-content:space-between;align-items:center;gap:8px;margin-top:22px;display:flex}.game-actions>span{background:#444e40;width:1px;height:18px}.game-actions .text-button{font-size:11px}.claim-draw{color:#84917f;margin:17px auto 0;font-size:9px;display:flex}.notice{color:#d1c9a9;background:#473a1c33;border:1px solid #655d3e;border-radius:6px;align-items:flex-start;gap:12px;margin:17px 0;padding:14px;display:flex}.notice strong{font-size:12px}.notice p{margin:5px 0 10px;font-size:11px;line-height:1.5}.notice svg{flex-shrink:0}.draw-buttons{gap:16px;margin-top:10px;display:flex}.draw-buttons button{color:var(--amber);font-size:12px}.result-panel{text-align:center;border-color:#874;margin-top:22px;margin-bottom:18px;padding:22px}.result-panel>svg{color:var(--amber);margin:0 auto 14px;display:block}.result-panel .eyebrow{font-size:9px}.result-panel h2{margin:9px 0;font-size:21px}.result-panel p{color:#b9c3b1;margin-bottom:19px;font-size:12px}.result-panel .button{font-size:12px}.error-banner{color:#f2cebd;background:#422821;border:1px solid #784738;border-radius:6px;justify-content:space-between;align-items:center;max-width:1154px;margin:13px auto 0;padding:9px 14px;font-size:13px;display:flex}.toast{z-index:70;color:#e1ead9;background:#303a2c;border:1px solid #65775a;border-radius:7px;align-items:center;gap:11px;padding:14px 23px;font-size:13px;display:flex;position:fixed;bottom:27px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0005}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0b100cbd;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#232922;border:1px solid #505c49;border-radius:12px;flex-direction:column;gap:18px;width:390px;padding:28px;display:flex;box-shadow:0 20px 80px #0008}.modal h2{font-size:22px}.modal>svg{color:var(--amber)}.board-dialog{z-index:20;background:#141a12a0;place-items:center;display:grid;position:absolute;inset:0}.promotion-picker{text-align:center;background:#232a21;border:1px solid #7e8467;border-radius:10px;padding:23px;box-shadow:0 10px 40px #0008}.promotion-picker h3{margin-bottom:16px;font-size:15px}.promotion-picker>div{gap:8px;display:flex}.promotion-picker>div>button{background:#ddc297;border-radius:4px}.promotion-picker .piece-art{width:60px;height:60px}.promotion-picker .text-button{margin-top:15px}.loading-screen{flex-direction:column;justify-content:center;align-items:center;gap:22px;min-height:70vh;display:flex}.loading-screen h1{font-size:24px}.loading-screen .button{width:auto}.loading-screen .brand-knight{color:var(--amber);font-size:80px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1440px){.home{max-width:1340px;padding-top:48px}.home-intro{margin-bottom:35px}.home-intro h1{font-size:48px}.create-panel,.join-panel,.how-panel{padding:28px}.mode-art{background-size:auto,132px 132px;height:132px}.mode-art .piece-art{width:90px;height:90px}.game-layout{grid-template-columns:minmax(0,1.75fr) minmax(340px,1fr);gap:35px;max-width:1350px}.game-aside{padding-left:32px}.move-list{height:230px}.game-heading h1{font-size:31px}}@media (width<=1050px){.topbar{gap:18px;padding:0 24px}.home{padding:29px 24px 20px}.home-columns{grid-template-columns:minmax(0,1.5fr) minmax(275px,1fr);gap:18px}.create-panel,.join-panel,.how-panel{padding:20px}.panel-heading{gap:10px}.panel-heading h2{font-size:17px}.mode-copy p{font-size:10px}.mode-copy h3{font-size:13px}.game-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px;padding:14px 20px}.game-aside{padding-left:17px}.game-heading h1{font-size:25px}.clock{min-width:105px;font-size:26px}.player-strip{padding:9px 10px}.player-strip .avatar{width:36px;height:36px}.game-actions .text-button{gap:4px;font-size:10px}.create-summary{flex-wrap:wrap}.home-intro h1{font-size:38px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.game-layout{--board-size:min(740px,calc(100dvh - 308px),calc(100vw - 455px));grid-template-columns:var(--board-size) 355px;gap:26px;width:max-content;max-width:100%;padding:16px 24px}.board-toolbar{height:22px;margin:0 0 8px}.player-strip{min-height:60px;padding:8px 12px}.player-strip .avatar{width:38px;height:38px}.clock{min-width:109px;padding:6px 13px;font-size:27px;line-height:1.15}.board-wrap{margin:10px 0}.board-status{min-height:22px;margin-top:10px}.game-aside{padding-top:8px;padding-left:24px}.game-heading h1{font-size:27px}.move-list{height:clamp(120px,23vh,230px)}.game-aside:has(.waiting-panel) .move-list{height:110px}.castling-help{margin-top:2px}.home{padding-top:35px}.home-intro{margin-bottom:29px}.mode-art{background-size:auto,116px 116px;height:116px}@media (height<=920px){.home{padding-top:25px}.home-intro h1{font-size:38px}.home-intro{margin-bottom:22px}.home-intro .eyebrow{font-size:9px}.create-panel,.join-panel,.how-panel{padding:22px}.mode-art{background-size:auto,90px 90px;height:90px}.mode-art .piece-art{width:73px;height:73px}.panel-heading{margin-bottom:19px}.opponent-field{margin-top:20px}.form-row{margin-top:18px}.create-summary{margin-top:20px;padding-top:15px}.steps li{padding-bottom:23px}.bot-note{margin-top:21px}.home-footer{margin-top:17px}}.swap-history-row{text-align:left;color:#dab76c;background:#ba8f2720;border:1px solid #705c334d;border-radius:5px;align-items:center;gap:10px;width:100%;margin:5px 0;padding:10px;display:flex}.swap-history-row>span{flex-direction:column;gap:4px;display:flex}.swap-history-row strong{font-size:11px;font-weight:500}.swap-history-row small{color:#aab6a4;font-size:10px}.swap-history-row.current-event{background:#b78b3535;border-color:#c39746}.swap-history-row:hover{border-color:#d0a04b}.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mode-copy h3{font-size:14px}.mode-copy p{min-height:32px;font-size:11px;line-height:1.5}.freestyle-art .piece-art,.swap-art .piece-art{aspect-ratio:1;max-width:46%;height:auto}.swap-art>svg{color:#fff8e1;filter:drop-shadow(0 1px 3px #332919);z-index:1;width:26px;position:absolute}.swap-art .piece-art:last-of-type{transform:translateY(9px)}.swap-art .piece-art:first-child{transform:translateY(-7px)}.mini-tag{display:none}.swap-settings{background:#aa83330b;border:1px solid #76613c;border-radius:6px;margin-top:20px;padding:16px}.swap-settings h3,.swap-panel h2{align-items:center;gap:9px;display:flex}.swap-settings h3{color:#e6c483;font-size:13px}.swap-settings .form-row{gap:16px;margin-top:13px}.swap-settings label{font-size:12px}.swap-settings select{height:40px;margin-top:7px;padding:8px 10px;font-size:12px}.swap-settings .section-title>span{font-size:10px}.swap-rules{color:#aeb7ac;margin-top:11px;font-size:11px}.swap-rules summary{cursor:pointer;color:#d5c392;width:max-content}.swap-rules summary:hover{color:var(--amber)}.swap-rules ul{margin:10px 0 0;padding-left:17px;line-height:1.65}.swap-rules li+li{margin-top:6px}.swap-panel{background:linear-gradient(150deg,#9f792014,#1c201e);border-color:#6f603e;margin-bottom:15px;padding:16px}.swap-panel .section-title{margin-bottom:12px}.swap-panel h2{color:#eac17a;font-size:15px}.swap-reserves{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;display:grid}.swap-reserves>div{background:#171b1866;border:1px solid #484a3e;border-radius:5px;justify-content:space-between;align-items:center;gap:6px;padding:8px 11px;display:flex}.swap-reserves>div>span{align-items:center;gap:5px;font-size:10px;display:flex}.color-dot{border:1px solid #aaa799;border-radius:50%;width:8px;height:8px;display:inline-block}.color-dot.white{background:#e7ddc8}.color-dot.black{background:#252820}.swap-reserves>div>span small{color:#aaa998;font-size:9px}.swap-reserves strong{font-variant-numeric:tabular-nums;color:#eee2c3;font-size:20px;font-weight:600}.swap-reserves strong small{color:#919782;font-size:10px;font-weight:400}.swap-panel .button{min-height:39px;padding:8px;font-size:12px}.swap-help{color:#aab5a4;margin-top:7px;font-size:10px;line-height:1.5}.swap-countdown{border-top:1px solid #494d3c;margin-top:12px;padding-top:10px}.swap-countdown>span{color:#b9c1ad;justify-content:space-between;gap:6px;font-size:10px;display:flex}.swap-countdown strong{color:#e8cc8d;font-size:11px;font-weight:550}.swap-countdown>small{color:#929e8b;font-size:9px}.swap-progress{background:#434834;border-radius:3px;height:4px;margin:7px 0 2px;overflow:hidden}.swap-progress>i{background:var(--amber);border-radius:3px;height:100%;transition:width .2s;display:block}.eligible-toggle{margin-top:11px;font-size:10px}.eligible-toggle.active{color:var(--amber)}.game-aside:has(.swap-panel) .move-list{height:clamp(80px,10vh,120px)}.game-aside:has(.swap-panel) .live-notice{margin-top:15px;margin-bottom:12px}.game-aside:has(.swap-panel) .participants{margin-top:12px;padding-top:13px}.game-aside:has(.swap-panel) .game-actions{margin-top:16px}.game-aside:has(.swap-panel) .moves-panel{padding-top:13px}.game-aside:has(.swap-panel) .moves-panel .section-title{padding-bottom:10px}@media (width<=1050px){.mode-grid{gap:9px}.mode-copy h3{font-size:12px}.mode-copy p{font-size:10px}.swap-settings{padding:12px}.swap-settings .section-title>span{display:none}}.board-column{align-self:start;position:sticky;top:16px}.game-layout.with-analysis{--board-size:min(740px,calc(100dvh - 308px),calc(100vw - 493px));grid-template-columns:calc(var(--board-size) + 38px) 355px}.with-analysis .board-toolbar,.with-analysis .player-strip,.with-analysis .board-status,.with-analysis .castling-help{margin-left:38px}.board-stage{position:relative}.with-analysis .board-stage{grid-template-columns:28px minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.evaluation-bar{font-variant-numeric:tabular-nums;background:#242823;border:1px solid #656c62;border-radius:4px;min-height:0;margin:10px 0;position:relative;overflow:hidden}.evaluation-white{background:#eee9de;transition:height .45s;position:absolute;bottom:0;left:0;right:0}.evaluation-bar.reversed .evaluation-white{top:0;bottom:auto}.evaluation-midpoint{border-top:1px solid #87907b80;position:absolute;top:50%;left:0;right:0}.evaluation-number{text-align:center;z-index:1;letter-spacing:-.4px;font-size:9px;font-weight:750;line-height:1.4;position:absolute;left:1px;right:1px}.evaluation-number.white-score{color:#262b23;bottom:6px}.evaluation-number.black-score{color:#efebe0;top:6px}.reversed .evaluation-number.white-score{top:6px;bottom:auto}.reversed .evaluation-number.black-score{top:auto;bottom:6px}.evaluation-bar.evaluating{opacity:.65}.analysis-panel{background:linear-gradient(125deg,#33362a66,#1c1e1ec4);border-color:#596149;margin:0 0 17px;padding:16px}.analysis-panel .section-title h2{align-items:center;gap:8px;font-size:14px;display:flex}.analysis-panel .section-title h2 svg{color:var(--amber)}.analysis-evaluation{align-items:center;gap:11px;margin:17px 0;display:flex}.analysis-evaluation>strong{letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-size:24px}.analysis-evaluation>span{color:#b6c0af;font-size:11px}.analysis-suggestion{border-top:1px solid #424b38;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}.analysis-suggestion>div{flex-direction:column;gap:5px;display:flex}.analysis-suggestion>div>span{color:#aeb9a5;font-size:10px}.analysis-suggestion strong{color:#f2d99c;font-size:21px}.suggestion-squares{color:#c1cbb8;font-variant-numeric:tabular-nums;background:#ffffff06;border:1px solid #46503d;border-radius:5px;padding:7px 9px;font-size:12px}.analysis-continuation{margin-top:14px}.analysis-continuation>span{color:#aeb9a5;font-size:11px}.analysis-line{flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.analysis-line li{font-variant-numeric:tabular-nums;background:#ffffff06;border:1px solid #46503d;border-radius:5px;align-items:baseline;gap:5px;padding:6px 8px;display:flex}.analysis-line li:first-child{background:#dca84112;border-color:#ad8846}.analysis-line li>span{color:#aeb9a5;font-size:11px}.analysis-line strong{color:#dce2d4;font-size:14px}.analysis-line li:first-child strong{color:#f2d99c}.analysis-loading{color:#b4bea9;align-items:center;gap:9px;min-height:88px;font-size:12px;display:flex}.analysis-error{padding:17px 0 8px}.analysis-error p{color:#c4b99f;margin-bottom:12px;font-size:11px}.analysis-no-move{color:#aab5a0;font-size:11px}.analysis-footnote{color:#9ca88f;margin-top:12px;font-size:10px;line-height:1.6}@media (prefers-reduced-motion:reduce){.evaluation-white{transition:none}}.invitation-mobile{display:none}.profile-name{text-overflow:ellipsis;white-space:nowrap;max-width:160px;overflow:hidden}.network-notice{color:#eedbb8;background:#403621;border:1px solid #78663f;border-radius:7px;align-items:center;gap:10px;max-width:1154px;margin:12px auto;padding:12px 16px;font-size:13px;display:flex}.network-notice svg{flex-shrink:0}.pwa-actions{padding:0 16px calc(20px + env(safe-area-inset-bottom));text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 24px;margin:16px auto 0;display:flex}.pwa-actions .text-button{color:#c9d0be;min-height:44px}.pwa-actions p{color:var(--muted);font-size:12px}.install-help h2{align-items:center;gap:8px;display:flex}.install-help p{color:#b9c4b2;font-size:14px;line-height:1.6}.install-help strong{margin-bottom:5px;font-size:14px;display:block}.modal{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}.modal-backdrop{padding:16px;overflow-y:auto}.touch-help{color:#9eae9c;margin-top:5px;font-size:11px}.board-wrap{-webkit-user-select:none;user-select:none}.game-aside,.board-column,.player-detail{min-width:0}.player-detail strong{overflow-wrap:anywhere}.app-shell{padding-bottom:env(safe-area-inset-bottom)}@media (pointer:coarse){button,input,select,summary{touch-action:manipulation}.icon-button,.text-button,.button,.history-controls button,.move-row>button,.eligible-toggle{min-height:44px}.icon-button{min-width:44px}.swap-rules summary{align-items:center;min-height:36px;display:flex}.board-wrap [data-square],.board-wrap [data-square] *{touch-action:pan-y!important}}@media (width<=767px){.topbar{height:auto;min-height:64px;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));gap:10px}.brand{gap:6px;min-height:44px}.brand strong{font-size:21px}.brand-knight{font-size:33px}.header-divider,.breadcrumb{display:none}.header-actions{gap:10px;min-width:0}.connection{white-space:nowrap;gap:5px;font-size:10px}.connection i{width:6px;height:6px}.profile{gap:6px;min-height:44px;padding:5px 7px}.profile-name{max-width:74px;font-size:12px}.profile .avatar,.invitation-desktop{display:none}.invitation-mobile{display:inline}.button.invitation-button{gap:6px;min-height:44px;padding:7px 10px;font-size:12px}.home{padding:22px max(14px,env(safe-area-inset-right)) 16px max(14px,env(safe-area-inset-left));max-width:560px}.home-intro{margin-bottom:22px}.home-intro h1{letter-spacing:-1.2px;margin-top:10px;font-size:35px}.home-intro>p{max-width:310px;margin:auto;font-size:14px}.home-intro .eyebrow{letter-spacing:1.5px;font-size:9px}.home-columns{flex-direction:column;gap:18px;display:flex}.home-columns>section,.home-aside{width:100%;min-width:0}.create-panel,.join-panel,.how-panel{padding:18px}.panel-heading{gap:10px;margin-bottom:19px}.panel-heading h2{font-size:19px}.privacy-badge{font-size:10px}.heading-icon{width:34px;height:34px}.mode-grid{grid-template-columns:minmax(0,1fr);gap:9px}.mode-card{text-align:left;align-items:center;gap:12px;padding:7px;display:flex}.mode-art{background-size:auto,70px 70px;flex-shrink:0;width:82px;height:70px}.mode-art .piece-art{width:58px;height:58px}.mode-art.freestyle-art .piece-art,.mode-art.swap-art .piece-art{max-width:45%;height:auto}.mode-copy{padding:5px 2px}.mode-copy h3{font-size:15px}.mode-copy p{min-height:0;margin-top:6px;font-size:12px}.selected-check{width:20px;height:20px;top:4px;right:4px}.selected-check svg{width:13px}label,legend{font-size:14px}input,select,.join-panel input,.swap-settings select{min-height:46px;font-size:16px}.segmented{height:48px}.segmented button{gap:8px;font-size:14px}.form-row{gap:12px;margin-top:20px}.swap-settings{padding:12px}.swap-settings .form-row{gap:10px}.swap-settings label{font-size:12px}.swap-settings select{padding:8px 6px;font-size:16px}.field-help,.swap-help{font-size:12px}.create-summary{gap:8px;margin:20px 0 14px;padding-top:12px}.create-summary>span,.create-summary .text-button{font-size:12px}.create-button{min-height:48px;font-size:15px}.under-button{font-size:11px}.home-aside{gap:16px}.join-panel label{font-size:14px}.steps p,.bot-note{font-size:13px}.steps h3{font-size:14px}.home-footer{flex-wrap:wrap;gap:12px;font-size:11px;line-height:1.5}.resume-link{min-height:44px;font-size:12px}.game-layout,.game-layout.with-analysis{width:100%;max-width:560px;padding:8px max(12px,env(safe-area-inset-right)) 20px max(12px,env(safe-area-inset-left));grid-template-columns:minmax(0,1fr);gap:22px;display:grid}.board-column{width:100%;position:static;top:auto}.board-toolbar{height:44px;margin:0 0 4px}.board-toolbar .text-button{font-size:12px}.board-toolbar>span{font-size:10px}.player-strip{border-radius:6px;gap:9px;min-height:50px;padding:6px 9px}.player-strip .avatar{width:30px;height:30px;font-size:14px}.player-strip .avatar svg{width:19px}.player-detail strong{gap:5px;font-size:12px}.player-detail>span{margin-top:3px;font-size:10px}.clock{border-radius:4px;min-width:88px;padding:5px 8px;font-size:23px}.board-wrap{margin:8px 0}.board-status{flex-wrap:wrap;gap:7px;margin-top:8px;font-size:12px;line-height:1.5}.touch-help,.castling-help{font-size:11px;line-height:1.5}.with-analysis .board-stage{grid-template-columns:24px minmax(0,1fr);gap:6px}.with-analysis .board-toolbar,.with-analysis .player-strip,.with-analysis .board-status,.with-analysis .castling-help,.with-analysis .touch-help{margin-left:30px}.evaluation-bar{margin:8px 0}.evaluation-number{font-size:8px}.game-aside{border-top:1px solid #394338;border-left:0;padding:18px 0 0}.game-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.game-heading .eyebrow{width:100%;font-size:10px}.game-heading h1{margin:6px 0;font-size:24px}.game-heading h1 svg{width:22px}.game-heading p{font-size:12px}.live-notice{margin:14px 0;font-size:12px}.game-aside:has(.swap-panel) .live-notice{margin:14px 0;font-size:12px}.waiting-panel{margin-top:14px}.waiting-panel p,.notice p,.result-panel p{font-size:13px}.swap-panel .button{min-height:46px;font-size:14px}.swap-reserves>div>span,.swap-countdown>span,.swap-countdown strong{font-size:12px}.swap-countdown>small{font-size:11px}.eligible-toggle,.swap-rules{font-size:12px}.swap-rules summary{max-width:100%}.move-list{height:176px}.game-aside:has(.swap-panel) .move-list{height:176px}.game-aside:has(.waiting-panel) .move-list{height:176px}.move-row>button{min-height:44px;font-size:14px}.swap-history-row strong{font-size:13px}.swap-history-row small{font-size:11px}.history-controls .text-button{min-height:44px;font-size:12px}.history-controls .icon-button{width:44px;height:44px}.participant{font-size:13px}.participant small,.no-spectators{font-size:11px}.game-actions{gap:8px;margin-top:18px}.game-actions .text-button{min-height:46px;font-size:12px}.game-aside:has(.swap-panel) .game-actions .text-button{min-height:46px;font-size:12px}.claim-draw{min-height:44px;font-size:12px;line-height:1.5}.analysis-panel{padding:15px}.analysis-panel .section-title h2{font-size:15px}.analysis-evaluation>span{font-size:12px}.analysis-suggestion>div>span,.analysis-footnote{font-size:11px}.analysis-suggestion strong{font-size:23px}.suggestion-squares{font-size:13px}.analysis-loading{min-height:72px}.modal{border-radius:10px;width:100%;padding:22px}.modal h2{font-size:20px}.modal .section-title{gap:7px}.promotion-picker{max-width:calc(100% - 16px);padding:16px 12px}.promotion-picker>div{gap:6px}.promotion-picker .piece-art{width:min(13vw,54px);height:min(13vw,54px)}.promotion-picker h3{font-size:14px}.board-dialog{padding:4px}.promotion-picker .text-button{min-height:44px}.error-banner,.network-notice{max-width:calc(100% - 24px);margin:10px 12px;padding:10px 12px;font-size:12px;line-height:1.5}.error-banner>span{overflow-wrap:anywhere;min-width:0}.error-banner .icon-button{flex-shrink:0}.toast{bottom:calc(16px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 24px);padding:12px 16px;font-size:13px;line-height:1.5}.loading-screen{text-align:center;min-height:65dvh;padding:24px}.loading-screen h1{font-size:22px}.pwa-actions{margin-top:0}.install-help h2{font-size:19px}}@media (width>=768px) and (width<=1050px) and (height<=600px){.game-layout,.game-layout.with-analysis{grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:20px;width:100%;max-width:960px;padding:12px 20px}.board-column{position:static}.game-aside{padding-left:18px}.topbar{height:58px}.header-divider,.breadcrumb{display:none}.board-toolbar{height:40px}.player-strip{min-height:48px}.player-strip .avatar{width:30px;height:30px}.clock{font-size:22px}.game-heading h1{font-size:24px}}@media (width<=767px){.swap-reserves>div{flex-wrap:wrap;gap:7px;padding:10px}.swap-reserves>div>span{width:100%}.swap-reserves strong{white-space:nowrap}}.voice-panel{background:linear-gradient(130deg,#30403555,#1d1f1f);border-color:#46574c;margin:15px 0;padding:16px}.voice-panel .section-title{gap:8px;margin-bottom:10px}.voice-panel h2{align-items:center;gap:8px;font-size:15px;display:flex}.voice-panel .section-title>span{color:#afc8b7;align-items:center;gap:4px;font-size:10px;display:flex}.voice-status{color:#c4cec6;font-size:12px;line-height:1.5}.voice-actions{gap:8px;margin-top:12px;display:flex}.voice-actions .button{flex:1;min-height:44px;padding:8px;font-size:12px}.voice-hangup{color:#edb4a1;background:#633b343d;border:1px solid #8b594c;border-radius:6px;min-width:44px;min-height:44px}.voice-muted{color:#edc575;border-color:#8d7543}.voice-micro,.voice-privacy{color:#a7b6ab;margin-top:8px;font-size:10px;line-height:1.6}.voice-error{color:#f3b4a7;margin-top:10px;font-size:12px;line-height:1.6}.voice-panel .text-button{min-height:44px;margin-top:8px}.voice-panel audio{display:none}@media (width<=767px){.voice-panel .section-title>span,.voice-micro,.voice-privacy{font-size:11px}.voice-status,.voice-actions .button{font-size:13px}}.sound-toggle{color:#d3d9ce;flex-shrink:0;min-width:40px;min-height:40px}.sound-toggle.sound-disabled{color:#8f978b}@media (width<=767px){.sound-toggle{min-width:36px;min-height:44px}.header-actions{gap:7px}.topbar{gap:8px}}@media (width<=380px){.header-actions .connection{gap:0;font-size:0}.header-actions{gap:6px}}.live-games-dialog{width:620px;color:var(--text,#e5e8de);gap:16px;margin:auto;padding:26px}.live-games-dialog:not([open]){display:none}.live-games-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0b100cbd}.live-games-dialog>p{margin:0;font-size:13px;line-height:1.6}.live-games-toolbar{color:#aebba8;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.live-games-list{scrollbar-width:thin;flex-direction:column;gap:12px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.live-game{background:#1c221c;border:1px solid #46503f;border-radius:9px;padding:16px}.live-game-heading,.live-game-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.live-game-heading{color:#c9d3c2;font-size:12px}.live-game-heading>span,.live-game-footer>span{align-items:center;gap:7px;display:flex}.live-game-heading small{color:#8f9c89;white-space:nowrap;font-size:11px}.live-game-players{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:9px;margin:17px 0;font-size:16px;font-weight:600;display:flex}.live-game-players>span{align-items:center;gap:7px;min-width:0;display:flex}.live-game-players small{color:#8f9c89;font-size:11px;font-weight:400}.live-game-players i{border-radius:50%;flex-shrink:0;width:9px;height:9px}.seat-white{background:#e8e2d4}.seat-black{background:#121714;border:1px solid #9da991}.live-game-footer>span{color:#9fab98;font-size:12px}.live-game-footer .button{width:auto;min-width:108px}.live-games-empty{text-align:center;color:#aebba8;flex-direction:column;align-items:center;gap:16px;padding:30px 12px;display:flex}.live-games-error{color:#f2cebd}.live-games-dialog .live-games-footnote{color:#91a087;font-size:11px}@media (width<=767px){.live-games-trigger>span{display:none}.button.live-games-trigger{width:36px;min-width:36px;min-height:44px;padding:0}.live-games-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:18px}.live-game{padding:13px}.live-game-players{font-size:15px}.live-game-footer .button{min-height:44px}}@media (width<=430px){.header-actions:has(.live-games-trigger) .connection{gap:0;font-size:0}}@media (width>=768px) and (width<=1050px){:is(.topbar:has(.live-games-trigger) .breadcrumb,.topbar:has(.live-games-trigger) .header-divider){display:none}}@media (width<=430px){.header-actions:has(.live-games-trigger) .profile-name{max-width:52px}}@media (width>=768px){.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.puzzle-art>svg{color:#282e24;filter:drop-shadow(0 2px 1px #fff7)}.puzzle-settings{margin-top:8px}.puzzle-settings .field-help{margin-top:15px;font-size:12px;line-height:1.65}.puzzle-layout .game-heading h1{font-size:27px;line-height:1.2}.puzzle-layout .game-heading h1 svg{flex-shrink:0}.puzzle-lobby-board{text-align:center;color:#eed8a2;background:#20251be8;flex-direction:column;gap:18px;padding:24px}.puzzle-lobby-board strong{font-size:24px}.puzzle-lobby-board span{color:#b8c2ae;font-size:13px;line-height:1.5}.puzzle-lobby-board>svg{color:var(--amber)}.puzzle-player{background:#272a22;border:1px solid #48503e;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.puzzle-player>div{gap:5px;min-width:0;display:grid}.puzzle-player strong{overflow-wrap:anywhere;font-size:14px}.puzzle-player span{color:#b1bea8;font-size:11px}.puzzle-player>strong{white-space:nowrap;color:#edcf8c}.puzzle-feedback{color:#c2ccb8;align-items:center;gap:9px;min-height:46px;padding:10px 0;font-size:13px;line-height:1.5;display:flex}.puzzle-feedback.wrong{color:#efb09a}.puzzle-feedback.solved{color:#a5d295}.puzzle-feedback svg{flex-shrink:0}.start-race{margin-top:12px}.puzzle-spectator{margin:16px 0}.puzzle-stats{grid-template-columns:1fr 1fr;gap:10px;margin:19px 0;padding:18px;display:grid}.puzzle-stats>div{flex-direction:column;gap:8px;display:flex}.puzzle-stats span{color:#abb8a3;font-size:12px}.puzzle-stats strong{color:#f2d897;font-variant-numeric:tabular-nums;font-size:32px}.puzzle-stats small{color:#8d9a82;font-size:16px;font-weight:400}.race-ranking{margin:18px 0;padding:17px}.race-ranking h2{font-size:17px}.race-ranking ol{margin:10px 0;padding:0;list-style:none}.race-ranking li{border-bottom:1px solid #3b4235;align-items:center;gap:10px;padding:13px 5px;display:flex}.race-ranking li:last-child{border-bottom:0}.race-ranking li.race-self{background:#edb3470a}.race-rank{color:#c5ae7f;font-variant-numeric:tabular-nums;flex-shrink:0;width:22px}.race-ranking li>div{flex:1;gap:5px;min-width:0;display:grid}.race-ranking li strong{overflow-wrap:anywhere;font-size:13px}.race-ranking li small{color:#a5b09c;font-size:11px;font-weight:400}.race-ranking .presence-dot{width:6px;height:6px;margin-left:7px}.race-ranking li>b{color:#e9d4a4;white-space:nowrap;font-size:19px}.race-ranking .field-help{line-height:1.6}.puzzle-rules{color:#b1bca7;margin:17px 0;font-size:12px;line-height:1.7}.puzzle-rules summary{cursor:pointer;color:#d9c492}.puzzle-rules p{margin-top:10px}.puzzle-credit{color:#8f9c86;font-size:10px;line-height:1.7}.puzzle-credit a{text-underline-offset:3px}@media (width<=767px){.puzzle-layout .game-heading h1{font-size:23px}.puzzle-stats{padding:14px}.puzzle-player{padding:10px}.puzzle-player strong{font-size:12px}.puzzle-player span{font-size:10px}.puzzle-lobby-board strong{font-size:19px}.puzzle-lobby-board{gap:13px}.race-ranking h2{font-size:16px}}.puzzle-review-menu{margin:18px 0;padding:18px}.puzzle-review-menu h2{align-items:center;gap:8px;display:flex}.puzzle-review-menu p,.puzzle-review-controls p{color:#b1bea8;margin:10px 0;font-size:12px;line-height:1.6}.puzzle-review-menu label{color:#e4d8b9;gap:9px;margin-top:16px;font-size:13px;display:grid}.puzzle-review-menu select{width:100%;min-width:0}.puzzle-review-menu .button{white-space:normal;text-align:center;width:100%;line-height:1.5}.puzzle-review-controls{background:#292b21;border:1px solid #73633c;border-radius:7px;margin-top:10px;padding:14px}.review-title{color:#f2d897;justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.review-navigation{justify-content:center;align-items:center;gap:8px;margin:12px 0;display:flex}.review-navigation button{color:#ead9b4;background:#32372a;border:1px solid #566047;border-radius:5px;place-items:center;min-width:40px;min-height:40px;display:grid}.review-navigation button:disabled{opacity:.35;cursor:default}.review-navigation span{text-align:center;color:#b6c0ac;font-variant-numeric:tabular-nums;min-width:45px;font-size:12px}.review-moves{flex-wrap:wrap;gap:6px;display:flex}.review-moves button{color:#ddd9c5;background:#24291e;border:1px solid #505841;border-radius:5px;min-height:38px;padding:9px 11px;font-size:13px}.review-moves button[aria-pressed=true]{color:#25271e;background:#edb244;border-color:#edb244}.review-moves button:focus-visible,.review-navigation button:focus-visible{outline-offset:2px;outline:2px solid #f2d897}.opening-question{margin:18px 0;padding:20px}.opening-question h2{margin:10px 0 18px;font-size:21px;line-height:1.4}.opening-choices{gap:10px;display:grid}.opening-choices>button{text-align:left;overflow-wrap:anywhere;background:#292d25;border:1px solid #566047;border-radius:6px;align-items:center;gap:11px;min-height:52px;padding:13px 12px;font-size:14px;line-height:1.4;display:flex}.opening-choices>button>span:nth-child(2){flex:1;min-width:0}.opening-choices>button:not(:disabled):hover{background:#3b3827;border-color:#edb347}.opening-choices>button:disabled{cursor:default}.opening-choices>button.wrong{color:#e7ac98;background:#4b302b;border-color:#874e3d}.opening-choices>button.correct{color:#c5e8b2;background:#2f4029;border-color:#71955b}.choice-letter{color:#d6c595;border:1px solid #61694e;border-radius:4px;flex-shrink:0;place-items:center;width:27px;height:27px;font-size:12px;display:grid}.opening-choices svg{flex-shrink:0}.opening-playback .review-moves button:disabled{opacity:.35}.opening-question .button{width:100%}.opening-question .puzzle-feedback{padding-bottom:0}.opening-layout .game-heading h1{font-size:26px}.opening-playback .review-title>span{font-variant-numeric:tabular-nums;font-size:12px;font-weight:400}.opening-question button:focus-visible{outline:2px solid var(--amber);outline-offset:3px}@media (width<=767px){.opening-question{padding:16px}.opening-layout .game-heading h1{font-size:23px}.opening-playback .review-navigation{gap:7px}}.opening-choices>button.correct,.opening-choices>button.wrong{opacity:1}.opening-focus{color:#c3cbb9;background:#292d25;border:1px solid #62664b;border-radius:6px;align-items:center;gap:9px;margin:10px 0;padding:12px 14px;font-size:13px;line-height:1.5;display:flex}.opening-focus[hidden]{display:none}.opening-focus svg{color:#edb347;flex-shrink:0}.opening-focus strong{color:#f2d897}.opening-question h2{margin-bottom:8px}.opening-hint{margin:0 0 18px;line-height:1.6}.opening-explanation{background:#a2bc810d;border-left:3px solid #a2bc81;border-radius:4px;margin:12px 0 18px;padding:14px}.opening-explanation h3{color:#d5e4c3;margin:0 0 7px;font-size:14px}.opening-explanation p{color:#c3cbb9;margin:0;font-size:13px;line-height:1.7}.invite-bot-settings{text-align:left;border-top:1px solid #454937;margin-top:18px;padding-top:4px}.invite-bot-settings .field-help{margin:9px 0 0;font-size:11px}.player-detail{min-width:0}.player-detail>span{overflow-wrap:anywhere}.game-layout.review-layout{grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr);gap:22px 28px;width:100%;max-width:1280px;padding:24px 28px 36px}.review-heading{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:16px;min-width:0;display:flex}.review-heading>div:first-child{flex:1;min-width:0}.review-heading h1{letter-spacing:-.7px;margin:10px 0 7px;font-size:30px}.review-heading p{color:#b5c0b5;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.review-result{color:#c4caba;background:#ffffff06;border:1px solid #414b3f;border-radius:5px;margin-top:8px;padding:5px 9px;font-size:11px;display:inline-block}.review-heading>.button{width:auto;font-size:12px}.review-progress{color:#b8d1b1;flex-wrap:wrap;align-items:center;gap:8px;width:100%;font-size:12px;display:flex}.review-progress progress{width:150px;height:5px;accent-color:var(--amber)}.review-progress.failed{color:#ecc2a3}.review-aside{flex-direction:column;gap:18px;min-width:0;display:flex}.review-aside>.panel{padding:19px}.review-layout h2{font-size:18px}.review-player{min-height:53px}.review-piece-dot{border:1px solid #9ca58e;border-radius:50%;width:12px;height:12px;margin-left:auto}.review-piece-dot.white{background:#eee9de}.review-piece-dot.black{background:#111813}.review-navigation-bar{justify-content:space-between;align-items:center;gap:6px;margin-left:38px;padding:9px 0 3px;display:flex}.review-navigation-bar>span{text-align:center;color:#bac5b6;font-size:11px;line-height:1.5}.review-navigation-bar button{min-width:36px;min-height:40px}.review-summary table{border-collapse:collapse;table-layout:fixed;width:100%;margin-top:13px}.review-summary th,.review-summary td{text-align:center;overflow-wrap:anywhere;border-bottom:1px solid #3c463a;padding:10px 4px;font-size:12px}.review-summary th:first-child{text-align:left;width:49%}.review-summary thead th{color:#bec7b7;font-weight:400}.review-summary tbody th{font-weight:500}.review-summary tbody tr:last-child>*{border-bottom:0}.review-summary td{font-variant-numeric:tabular-nums;font-size:16px}.review-summary .review-quality{vertical-align:middle;margin-right:7px}.review-quality{color:#1a2018;background:#92bd83;border-radius:50%;flex-shrink:0;place-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:inline-grid}.review-quality.inaccuracy{background:#ebbd58}.review-quality.mistake{background:#e79754}.review-quality.blunder{background:#de6b58}.review-quality.unknown{color:#bac4b2;background:#485144}.review-quality.best{background:#95c585}.review-coach{background:#bb933009;border-color:#a18447}.review-coach .eyebrow{color:#d4c28b;letter-spacing:1px;font-size:10px}.review-selected-title{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.review-selected-title h2{font-size:27px;font-weight:650}.review-badge{color:#d4ebc6;background:#41543a;border-radius:12px;padding:6px 9px;font-size:11px}.review-badge.inaccuracy{color:#ffe0a1;background:#604e2b}.review-badge.mistake{color:#ffd5aa;background:#694629}.review-badge.blunder{color:#ffccc1;background:#683d33}.review-badge.unknown{color:#bdc8b7;background:#394234}.review-evaluation{font-variant-numeric:tabular-nums;font-size:18px;font-weight:600}.review-evaluation>span{color:#97a48f;margin:0 9px}.review-evaluation small{color:#98a58d;margin-top:6px;font-size:10px;font-weight:400;display:block}.review-coach>p{color:#bac5b0;margin-top:12px;font-size:13px;line-height:1.6}.review-best{border-top:1px solid #48513e;margin-top:17px;padding-top:17px}.review-best h3{color:#c3dba9;align-items:center;gap:8px;font-size:16px;display:flex}.review-best h3 svg{color:#9fc589;flex-shrink:0}.review-line{flex-wrap:wrap;gap:5px;margin:13px 0;display:flex}.review-line button{color:#b9c3af;background:#ffffff05;border:1px solid #48533d;border-radius:5px;min-height:38px;padding:8px;font-size:12px}.review-line button[aria-pressed=true]{color:#f1f2e4;background:#48593755;border-color:#a3bd89}.review-line strong{color:#e4e9da;font-weight:500}.review-best>.button{width:100%;min-height:43px;font-size:13px}.review-line-controls{justify-content:space-between;align-items:center;gap:6px;margin-top:8px;display:flex}.review-line-controls button,.review-line-controls>span{font-size:12px}.review-compare{gap:8px;margin-top:12px;display:flex}.review-compare button{flex:1;min-height:40px;padding:7px;font-size:11px}.review-compare [aria-pressed=true]{color:#edcb8b;background:#dca43b0d;border-color:#c79948}.review-coach .review-arrow-legend{flex-wrap:wrap;gap:12px;font-size:11px;display:flex}.review-arrow-legend>span:first-child{color:#e0957c}.review-arrow-legend>span:last-child{color:#b3d19e}.review-chart{margin-top:17px;padding:16px}.review-chart h2{font-size:15px}.review-chart svg{cursor:crosshair;width:100%;margin-top:9px;display:block;overflow:visible}.review-chart text{fill:#a5b09e;font-family:inherit;font-size:10px}.review-chart input{accent-color:#edb347;cursor:pointer;background:0 0;border:0;width:calc(100% - 30px);height:18px;min-height:18px;margin:0 0 0 22px;padding:0;display:block}.review-chart p{text-align:center;color:#92a087;margin-top:10px;font-size:10px}.review-chart-legend{color:#b1bea7;justify-content:space-between;gap:5px;margin:3px 0 0 22px;font-size:10px;display:flex}.chart-point.inaccuracy{fill:#ebbd58}.chart-point.mistake{fill:#e79754}.chart-point.blunder{fill:#de6b58}.chart-point.swap{fill:#83c4b4}.review-history .section-title{flex-wrap:wrap;gap:9px}.review-history h2{font-size:16px}.review-history select{width:auto;max-width:100%;min-height:36px;padding:7px 24px 7px 8px;font-size:11px}.review-event-list{scrollbar-width:thin;scrollbar-color:#536044 transparent;height:218px;margin-top:12px;padding-right:3px;overflow-y:auto}.review-event{text-align:left;border:1px solid #0000;border-bottom-color:#384130;border-radius:4px;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 8px;display:flex}.review-event strong{font-size:13px;font-weight:500}.review-event>span:last-child{color:#9ca98f;margin-left:auto;font-size:10px}.review-event[aria-current=step]{color:#efc46c;background:#b68b3226;border-color:#bf9749}.review-event:hover{background:#ffffff06}.review-event.swap-event{color:#9ec9b7;background:#83bca612}.review-next-error{color:#edc46b;width:100%;min-height:42px;margin-top:13px;font-size:12px}.review-note{color:#9ca991;margin-top:8px;font-size:11px;line-height:1.65}.review-method{margin-top:0;padding:0 2px}.review-layout button:focus-visible,.review-chart input:focus-visible{outline:2px solid var(--amber);outline-offset:3px}@media (width<=1050px) and (width>=768px){.game-layout.review-layout{grid-template-columns:minmax(0,1.2fr) minmax(290px,1fr);gap:18px;padding:18px 20px}.review-aside>.panel{padding:14px}.review-summary th:first-child{width:46%}.review-summary th,.review-summary td{font-size:11px}.review-summary .review-quality{width:19px;height:19px;margin-right:4px}.review-selected-title h2{font-size:24px}}@media (width<=767px){.game-layout.review-layout{padding:12px max(12px,env(safe-area-inset-right)) 26px max(12px,env(safe-area-inset-left));grid-template-columns:minmax(0,1fr);gap:18px;max-width:560px}.review-heading h1{font-size:25px}.review-heading>.button{min-height:40px}.review-heading p{font-size:12px}.review-progress{font-size:11px}.review-progress progress{flex:1;min-width:60px;max-width:130px}.review-navigation-bar{gap:0;margin-left:30px}.review-navigation-bar>span{font-size:10px}.review-navigation-bar button{min-width:32px;min-height:44px}.review-layout .board-toolbar{height:32px}.review-layout .board-toolbar .icon-button{min-height:32px}.review-aside>.panel{padding:16px}.review-chart{padding:12px}.review-chart h2{font-size:15px}.review-line button{min-height:44px}.review-compare button{min-height:44px;font-size:12px}.review-event{min-height:44px}.review-event-list{height:240px}.review-summary th:first-child{width:47%}.review-summary th,.review-summary td{font-size:12px}.review-summary .review-quality{width:20px;height:20px;margin-right:4px}.review-chart input{min-height:25px}.review-note{font-size:11px}}@media (width>=1051px){.game-layout.review-layout{--review-board-size:min(620px,calc(100dvh - 390px),calc(100vw - 550px));grid-template-columns:calc(var(--review-board-size) + 38px) minmax(300px,420px);width:max-content}}@media (width>=768px){.review-heading h1{margin:8px 0 5px;font-size:28px}.review-chart svg{height:104px}.review-chart{padding:13px 15px}.review-layout .board-column{position:static}}@media (width<=767px){.review-heading>div:first-child{flex-basis:100%}.review-heading>.button{order:3;min-height:40px;font-size:12px}.review-heading .review-progress{order:2}}.annotated-chessboard{outline:none;position:relative}.annotated-chessboard:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}.annotated-chessboard.annotating,.annotated-chessboard.annotating *{cursor:crosshair!important}.board-annotation-help{color:#9eae9c;margin:-3px 0 9px;font-size:10px;line-height:1.5}.with-analysis .board-annotation-help{margin-left:38px}@media (pointer:coarse){.board-annotation-help{display:none}}@media (width<=767px){.with-analysis .board-annotation-help{margin-left:30px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
