@import"https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:wght@400;500;600&display=swap";:root{color-scheme:dark;--ink: #090f18;--surface: #111c29;--line: #293d51;--text: #e7eff7;--muted: #9bafc2;--accent: #91d9ec;font-family:Avenir Next,Segoe UI,Hiragino Kaku Gothic ProN,sans-serif;font-size:15px;color:var(--text);background:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 40% 0,#172839 0,#090f18 65%)}button,select{font:inherit;color:inherit;background:#152333;border:1px solid #344b61;border-radius:5px;min-height:44px;padding:9px 12px}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:inherit;text-decoration:none}a:hover,button:hover{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}#app{min-height:100vh;display:flex;flex-direction:column}.site-header{min-height:68px;display:flex;align-items:center;gap:42px;padding:0 max(24px,calc((100vw - 1440px)/2));border-bottom:1px solid var(--line);background:#09121ed9}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:650;letter-spacing:-.04em;white-space:nowrap}.brand:before{content:"";width:19px;height:19px;border:1px solid #9bd9ea;background:conic-gradient(#9bd9ea 0 25%,transparent 25% 50%,#9bd9ea 50% 75%,transparent 75%);transform:rotate(-8deg)}.game-nav{align-self:stretch;display:flex;align-items:center;gap:28px;min-width:0;overflow-x:auto;scrollbar-width:none}.game-nav::-webkit-scrollbar{display:none}.game-nav a,.nav-soon{font-size:14px;white-space:nowrap}.game-nav a{padding:22px 0;position:relative}.game-nav a[aria-current=page]{color:var(--accent)}.game-nav a[aria-current=page]:after{content:"";position:absolute;height:2px;background:var(--accent);bottom:0;inset-inline:0}.nav-soon{color:#71879a}.header-tools{display:flex;align-items:center;gap:12px;margin-left:auto;white-space:nowrap}.language-control{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.language-control select{min-height:36px;padding:4px 8px;font-size:12px;background:transparent}.quiet-button{min-height:36px;padding:5px 12px;font-size:13px;background:transparent}.quiet-button[aria-pressed=true]{color:var(--accent);border-color:#6197aa}#site-main{width:min(1440px,100%);margin:0 auto;padding:24px 24px 36px;flex:1}.page{animation:appear .15s ease-out}@keyframes appear{0%{opacity:0}to{opacity:1}}.hidden{display:none!important}.page-heading{margin:32px 0 36px}.eyebrow{font-size:14px;color:var(--accent);margin:0 0 14px}.page h1{font-size:clamp(30px,4vw,52px);line-height:1.2;font-weight:550;letter-spacing:-.035em;margin:0 0 16px}.page-heading>p:last-child,.article-page>p{max-width:650px;color:var(--muted);line-height:1.7;margin-top:0}.game-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.game-card{min-height:190px;display:grid;grid-template-columns:70px 1fr;align-items:center;gap:16px;padding:28px;border:1px solid var(--line);background:#101d2bcc;border-radius:12px}.game-card:first-child{grid-column:1/-1;min-height:260px;grid-template-columns:150px 1fr;background:radial-gradient(ellipse at 10% 100%,#23465b 0,#111e2d 55%)}.game-card h2{font-size:24px;font-weight:550;margin:0 0 10px}.game-card p{color:var(--muted);line-height:1.6;max-width:550px;margin:0}.card-mark{grid-row:span 2;font-size:48px;text-align:center;color:var(--accent)}.game-card:first-child .card-mark{font-size:112px;text-shadow:0 8px 0 #182b3a,0 18px 30px #08101aaa}.game-card>.primary-link{grid-column:2;justify-self:start}.coming-card{opacity:.72}.primary-link,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 22px;border:1px solid #a3e9fa;background:#a3ddea;color:#0b2130;border-radius:5px;font-weight:650}.primary-link:hover,.primary-button:hover{color:#0b2130;background:#c3edf5}.ad-slot{width:100%;margin-top:28px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:28px}.stage-column{min-width:0}.stage-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;min-height:64px;margin-bottom:14px}.stage-titles{display:flex;flex-direction:column;gap:4px;min-width:0}.stage-actions{display:flex;align-items:center;gap:10px;flex:none}.stage-heading h1{font-size:28px;font-weight:550;letter-spacing:-.02em;margin:0;white-space:nowrap}.stage-actions .primary-button{white-space:nowrap;min-width:168px;min-height:52px;padding:0 22px}.stage-actions .quiet-button{white-space:nowrap}.back-link{color:var(--muted);font-size:12px}.stage-frame{position:relative;width:100%;aspect-ratio:1.65;overflow:hidden;border:1px solid #536c7d;border-radius:12px;background:#060504;box-shadow:0 24px 70px #0007;isolation:isolate}.stage-frame:before{content:"";position:absolute;z-index:8;inset:9px;border:1px solid #b3e9f327;border-radius:5px;pointer-events:none}.stage-frame:after{content:"";position:absolute;z-index:8;top:8px;left:22px;right:22px;height:1px;background:linear-gradient(90deg,transparent,#91d9ec8c,transparent);pointer-events:none}#stage{position:absolute;inset:0;overflow:hidden;background:#060504}#scene{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:manipulation}.stage-overlay{position:absolute!important}body[data-match=setup] #stage .hud{opacity:0!important}#stage .hud{font-family:inherit}#stage .hud-plaque{bottom:14px;min-width:190px;padding:8px 20px;font-size:13px;letter-spacing:.04em;color:#eff9ff;border:1px solid #6e9dae;background:#0a1527e8;box-shadow:0 5px 22px #0008;clip-path:none;border-radius:4px}#stage .hud-plaque b{color:#9cc3d2;font-size:10px;letter-spacing:.08em}#stage .hud-cab{bottom:16px;width:142px;min-height:44px;background:#0a1527e8;border:1px solid #49657a;border-radius:4px;box-shadow:none}#stage .hud-cab i{color:#9cc3d2;letter-spacing:.07em}#stage .hud-cab .row{font-size:21px}.promotion-overlay{position:absolute;z-index:50;inset:0;display:grid;place-items:center;background:#07111caa}.promotion-overlay #promotion{display:grid;gap:14px;padding:24px;border:1px solid #6e9dae;background:#102134;border-radius:8px;text-align:center}.choices{display:flex;gap:8px}.choices button{min-width:44px}.game-sidebar{display:flex;flex-direction:column;gap:0;margin-top:50px;background:#111c29c7;border:1px solid var(--line);border-radius:8px}.side-card{padding:20px;border-bottom:1px solid var(--line)}.side-card:last-child{border-bottom:none}.side-card h2{font-size:15px;font-weight:600;margin:0 0 17px;color:#e2eef9}.settings-card label,.preferences-card label{display:grid;grid-template-columns:1fr;gap:7px;margin:15px 0;font-size:12px;color:var(--muted)}.settings-card label span,.preferences-card label span,.move-order summary{white-space:nowrap}.settings-card select{width:100%;background:#091525}.game-sidebar .primary-button{width:100%;margin-top:8px}.match-controls{display:flex;gap:8px;margin-top:14px}.game-sidebar .match-controls .quiet-button{flex:1;min-width:0;padding-inline:8px}.check-setting{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:42px;font-size:13px;color:#cfdeeb}.check-setting input{appearance:none;flex-shrink:0;width:34px;height:20px;border-radius:12px;border:1px solid #536b7c;background:#08121d;cursor:pointer;position:relative}.check-setting input:before{content:"";position:absolute;width:12px;height:12px;top:3px;left:3px;border-radius:50%;background:#7e97ab}.check-setting input:checked{background:#31566a;border-color:#90c9dd}.check-setting input:checked:before{left:17px;background:#d7f5ff}.preferences-card .theme-picker{display:grid;gap:8px;margin:12px 0;color:#cfdeeb;font-size:13px}.preferences-card .theme-picker select{width:100%;min-width:0}#selection-help{color:var(--muted);font-size:12px;line-height:1.7;margin:10px 0 0}.opponent-label{color:var(--muted);font-size:13px;line-height:1.5}#message{color:#d7b15a;line-height:1.7;font-size:13px;margin-top:12px}#message:empty{display:none}.chat-card h2{margin-bottom:14px}.chat-log{min-height:54px;max-height:6em;overflow:auto;color:var(--muted);font-size:13px;line-height:1.6;border-left:2px solid #47697d;padding-left:12px}.chat-log p{margin:0}.info-card p{color:var(--muted);font-size:12px;line-height:1.7;margin:0}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.article-page{max-width:720px;margin:40px auto;line-height:1.8}.article-page ol{padding-left:22px;margin:24px 0 30px}.article-page li{padding:7px 0;color:#cbd9e5}.site-footer{display:flex;align-items:center;gap:24px;padding:18px max(24px,calc((100vw - 1440px)/2));border-top:1px solid #233344;color:#8ca2b5;font-size:12px}.site-footer>span{margin-left:auto}.mobile-locale{display:none}.board-expanded .game-layout{grid-template-columns:minmax(0,1fr)}.board-expanded .game-sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}.board-expanded .stage-frame{max-width:1250px;margin:0 auto}.board-expanded .side-card{border-bottom:none;border-right:1px solid var(--line)}.board-expanded .info-card{display:none}@media(max-width:1050px){.site-header{gap:24px}.game-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.side-card{padding:16px}#stage .hud-cab{width:108px}#stage .hud-cab .row{font-size:17px}#stage .hud-plaque{min-width:160px}}@media(max-width:760px){.site-header{display:grid;grid-template-columns:1fr auto;min-height:62px;padding:10px 16px 0;gap:0 12px}.brand{font-size:19px}.header-tools{grid-column:2;grid-row:1}.header-tools .language-control{display:none}.game-nav{grid-column:1/-1;grid-row:2;gap:25px;padding-top:4px}.game-nav a{padding:10px 0 12px}.game-nav a,.nav-soon{font-size:12px}#site-main{padding:16px 12px 28px}.game-layout{grid-template-columns:minmax(0,1fr);gap:16px}.stage-heading{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:8px}.stage-actions{justify-content:space-between}.stage-heading h1{font-size:22px}.quiet-button{font-size:12px;padding:5px 9px}.stage-frame{aspect-ratio:1.08;border-radius:8px}.stage-frame:before{inset:5px}.game-sidebar{margin-top:0}.settings-card{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.settings-card h2,.settings-card #play,#home-message,#home label,#home .room-field,#home details{grid-column:1/-1}.settings-card label{margin:0 0 14px}.side-card{padding:16px}#stage .hud-cab{width:85px;bottom:65px;padding:6px}#stage .hud-cab.l{left:10px}#stage .hud-cab.r{right:10px}#stage .hud-cab .row{font-size:15px;min-height:18px}#stage .hud-cab i{font-size:8px}#stage .hud-plaque{bottom:10px;font-size:12px;min-width:175px}.page-heading{margin:20px 4px 24px}.game-cards{grid-template-columns:1fr;gap:12px}.game-card{min-height:132px;padding:20px}.game-card:first-child{min-height:238px;grid-template-columns:80px 1fr}.game-card:first-child .card-mark{font-size:76px}.game-card h2{font-size:21px}.game-card p{font-size:13px}.game-card>.primary-link{grid-column:1/-1;width:100%}.site-footer{flex-wrap:wrap;padding:18px 16px;gap:14px 20px}.site-footer>span{width:100%;margin:0}.mobile-locale{display:flex;align-items:center;gap:8px}.mobile-locale select{min-height:34px;padding:4px 7px;font-size:12px}.article-page{margin:24px 4px}.board-expanded .game-sidebar{display:flex}.board-expanded .side-card{border-right:none;border-bottom:1px solid var(--line)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.character-picker{border:0;margin:0;padding:0;min-width:0}.character-picker legend{padding:0;margin-bottom:12px;font-size:15px;font-weight:600}.character-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.character-options button{display:flex;align-items:center;gap:7px;padding:9px 7px;min-height:55px;font-size:11px;line-height:1.4;text-align:left;border-color:#344b61;background:#0b1725}.character-options button:last-child{grid-column:1/-1}.character-options button[aria-pressed=true]{border-color:var(--character-color);background:#203248;box-shadow:inset 3px 0 0 var(--character-color);color:#fff}.character-mark{font-size:24px;color:var(--character-color);line-height:1}.character-card .theme-picker{display:grid;gap:7px;padding-top:17px;margin-top:17px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.character-card .theme-picker select{width:100%;min-width:0;font-size:12px}.move-order{font-size:12px;color:var(--muted);grid-column:1/-1;margin:14px 0}.move-order summary{cursor:pointer;padding:7px 0}.board-expanded .game-sidebar{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:760px){.character-options{grid-template-columns:repeat(3,minmax(0,1fr))}.character-options button:last-child{grid-column:auto}.character-options button{flex-direction:column;text-align:center;min-height:76px}}.character-preview{height:138px;position:relative;overflow:hidden;border:1px solid #6ccde333;border-radius:8px;background:radial-gradient(ellipse at 50% 85%,color-mix(in srgb,var(--preview-color, #72d9ee) 18%,transparent),transparent 65%),#07131d;font-size:90px;text-align:center}.character-preview canvas{display:block;width:100%;height:100%}.character-preview:after{content:"";position:absolute;inset:7px;border-top:1px solid #8be3f34d;border-bottom:1px solid #8be3f326;pointer-events:none}.character-preview-caption{color:#d9edf5;text-align:center;font-size:12px;letter-spacing:.08em;margin:8px 0 12px}.stage-heading #play{margin:0 0 0 auto;width:auto;min-height:36px;padding:7px 20px}.stage-heading #immersive-toggle{margin-left:0}@media(min-width:821px){.stage-frame{max-height:max(380px,calc(100dvh - 170px))}}@media(max-width:520px){.stage-heading{gap:7px}.stage-heading .back-link{display:none}.stage-heading #play{padding:7px 12px}.character-preview{height:120px}}.account-slot{font-size:12px;color:var(--muted)}.settings-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #85765c;border-radius:10px;background:#272822;color:#f0ece3;box-shadow:0 24px 80px #0009}.settings-dialog::backdrop{background:#080b0dbb}.match-confirm{width:min(420px,calc(100vw - 32px));padding:26px;border:1px solid #85765c;border-radius:8px;background:#211d16;color:#f0ece3;box-shadow:0 24px 80px #000b}.match-confirm::backdrop{background:#080604c9;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.match-confirm h2{margin:0;font-size:20px}.match-confirm p{margin:12px 0 22px;color:#c7bda8;line-height:1.7}.match-confirm-actions{display:flex;justify-content:flex-end;gap:10px}.match-confirm-actions button{min-height:42px}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #575246}.settings-heading h2{margin:0;font-size:20px}.settings-scroll{max-height:calc(100dvh - 210px);overflow-y:auto;padding:6px 22px}.settings-section,.settings-dialog .side-card{padding:16px 0;border-bottom:1px solid #575246}.settings-section h3{margin:0 0 14px;font-size:14px}.settings-dialog .language-control{display:flex;justify-content:space-between;margin-bottom:14px}.settings-dialog .character-card .theme-picker,#home label{display:grid;gap:8px;margin-top:14px}#home select,.settings-dialog select{width:100%;background:#34352d;color:#f0ece3;border-color:#817866}.settings-dialog input[type=text],#room-code-input{width:100%;min-height:42px;padding:8px 10px;border:1px solid #817866;border-radius:4px;background:#1b1b18;color:#f0ece3;font:inherit;font-size:16px;letter-spacing:.14em;text-transform:uppercase}.room-field{margin:8px 0 14px}.room-field label{display:block;margin:0 0 7px!important;color:var(--muted);font-size:12px}.settings-dialog .language-control select{width:auto}.settings-note{font-size:12px;line-height:1.8;color:#c8c2b4;padding:4px 0 12px}.settings-footer{border-top:1px solid #575246;padding:16px 22px;text-align:right}body:not([data-route=chess]) .chess-settings{display:none}body[data-route=chess] .settings-dialog .side-card{padding:16px 0}body[data-route=chess] .settings-dialog .character-options{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:520px){.account-slot{display:none}.settings-heading{padding:16px}.settings-scroll{padding:6px 16px}}.room-panel{display:grid;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.room-panel p{margin:0;line-height:1.6}.room-panel label{display:flex;align-items:center;justify-content:space-between;gap:12px}.room-panel code{color:#f2dfb5;font-size:16px;letter-spacing:.16em}.room-panel button{width:100%}body[data-mode=local] .stage-frame{aspect-ratio:1.65}.coach-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.coach-message{margin:10px 0 0;color:#e5d4b0;font-size:13px;line-height:1.7}.coach-message:empty{display:none}.review-controls{display:flex;gap:6px;margin:12px 0}.review-controls button{flex:1;padding:8px 6px;font-size:12px;letter-spacing:.02em}.review-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:220px;overflow:auto;padding:0;margin:12px 0;list-style:none}.review-moves button{width:100%;min-height:36px;text-align:left;padding:6px 8px}.review-moves button[aria-current=true]{background:#62502c;border-color:#d9bd7f;color:#fff3d1}#review-position{color:#ead5a9;font-size:14px}.gesture-picker{margin-top:14px;border:1px solid var(--accent)}.gesture-picker summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;min-height:48px;padding:10px 14px;font-family:Cinzel,Hiragino Mincho ProN,serif;font-size:14px}.gesture-picker summary::-webkit-details-marker{display:none}.gesture-picker summary>:last-child{margin-left:auto}.gesture-picker[open] summary{border-bottom:1px solid var(--line);background:#c8a24e12}.gesture-trigger-icon{color:var(--accent);font-size:22px}.gesture-options{padding:12px;max-height:440px;overflow-y:auto;overscroll-behavior:contain}.gesture-options h3{margin:14px 0 8px;font-size:12px;color:var(--accent);font-weight:500}.gesture-options section:first-child h3{margin-top:0}.gesture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.gesture-grid .quiet-button{min-height:48px;min-width:0;display:flex;align-items:center;gap:8px;padding:8px;font-size:12px;letter-spacing:.03em;text-align:left}.gesture-icon{width:22px;flex-shrink:0;font-size:18px;color:var(--accent);text-align:center}.gesture-grid button:disabled{opacity:.4;cursor:default}.gesture-picker :focus-visible,.gesture-picker summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.gesture-help,.gesture-status{font-size:13px;line-height:1.6;color:var(--muted)}.gesture-status{min-height:1.6em;margin:10px 0 0}.chess-entry{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}.chess-entry>p{flex-basis:100%;font-size:1rem;line-height:1.65}.chess-entry .quiet-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none}#tutorial-card{border-color:var(--accent)}#tutorial-card h3{font-size:1.15rem;line-height:1.5;margin:16px 0 10px}#tutorial-task:empty{display:none}#tutorial-line,.tutorial-feedback,.tutorial-recap p{line-height:1.85;overflow-wrap:anywhere}#tutorial-card progress{height:6px;accent-color:var(--accent)}.tutorial-destination{display:grid;gap:8px;margin:16px 0;font-size:.85rem}.tutorial-destination select{width:100%;min-height:44px}.tutorial-feedback{color:var(--accent);min-height:1.85em;font-size:.9rem}.tutorial-recap{margin:16px 0}.tutorial-recap summary{cursor:pointer;min-height:44px;padding:10px 0}#tutorial-card button{min-height:44px}#tutorial-card .match-controls>button{flex:1 1 120px}#tutorial-card :focus-visible,.chess-entry :focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media(max-width:680px){.chess-entry{align-items:stretch}.chess-entry>a{flex:1 1 100%}body[data-route=chess] .stage-actions{flex-wrap:wrap}#tutorial-launch{flex:1 1 100%}}.tutorial-assist,.tutorial-navigation{margin:12px 0}.tutorial-assist>summary,.tutorial-navigation>summary{cursor:pointer;padding:10px 0;min-height:44px;font-size:.85rem;line-height:1.5}.tutorial-navigation select{width:100%;min-height:44px}body[data-tutorial] #tutorial-launch,body[data-tutorial] #review-last{display:none}@media(max-width:780px){.stage-column>#tutorial-card{margin:0 0 12px;padding:14px}.stage-column>#tutorial-card h2{font-size:.9rem;margin:0}.stage-column>#tutorial-card h3{margin-top:8px;font-size:1.05rem}.stage-column>#tutorial-card #tutorial-line{font-size:.9rem;line-height:1.7}.stage-column>#tutorial-card .tutorial-feedback:empty{display:none}.stage-column>#tutorial-card .tutorial-assist,.stage-column>#tutorial-card .tutorial-navigation{display:inline-block;width:100%;margin:0}body[data-tutorial] .game-sidebar{display:none}}#promotion{max-width:calc(100% - 24px)}#promotion .choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#promotion .choices button{min-width:0;min-height:48px;white-space:normal;font-size:.85rem;line-height:1.5}@media(max-width:780px){body[data-tutorial] .game-layout{grid-template-columns:minmax(0,1fr)}.stage-column>#tutorial-card{scroll-margin-top:12px}}.brand:has(.flare-brand):before,.brand:has(.brand-wordmark):before{display:none}.brand-wordmark{display:block;height:58px;width:auto}.site-header{position:relative;min-height:88px;isolation:isolate;background:linear-gradient(90deg,#070605,#0b0907 55%,#120d09);border-bottom-color:#5a4126}.site-header:before{content:"";position:absolute;inset:0 0 0 auto;width:min(34vw,520px);z-index:-1;background:url(/models/preview/portal.png) 50% 38% / cover;opacity:.22;filter:saturate(.7) brightness(.8);-webkit-mask-image:linear-gradient(90deg,transparent,#000 55%);mask-image:linear-gradient(90deg,transparent,#000 55%);pointer-events:none}@media(max-width:760px){.brand-wordmark{height:40px}.site-header:before{display:none}}.flare-brand{display:block;object-fit:contain;flex:none}.flare-guide-header{display:flex;align-items:center;gap:14px;margin-bottom:10px}.flare-guide-header img{flex:none;filter:drop-shadow(0 5px 12px #b16a2530)}#tutorial-card .flare-guide-header h2{margin:0;font-size:1.35rem}#tutorial-card .flare-guide-header p{margin:6px 0 0;font-size:.8rem;color:#d3bd97}#tutorial-line{position:relative;border-radius:14px 14px 14px 3px;padding:18px;margin:14px 0;background:#f0e6d2;color:#332a21;text-shadow:none;font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif;font-size:1rem;line-height:1.85;letter-spacing:.01em}body[data-route=chess] #tutorial-line{color:#332a21}#tutorial-line>span{display:block}#tutorial-line>span+span{margin-top:10px}#tutorial-task{border-left:3px solid #e9c17b;padding:8px 0 8px 12px;color:#f7e4c0;font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif;font-size:.9rem;line-height:1.75}body[data-route=chess] #tutorial-task{color:#f7e4c0}#tutorial-feedback{font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif;line-height:1.8}.tutorial-rule,.flare-story{margin:12px 0}.tutorial-rule summary,.flare-story summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:.85rem}.tutorial-rule p,.flare-story p{font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif;font-size:.9rem;line-height:1.85}@media(max-width:780px){.flare-guide-header img{width:58px;height:64px}.stage-column>#tutorial-card #tutorial-line{padding:14px;font-size:.95rem;line-height:1.8}}@media(prefers-reduced-motion:no-preference){body[data-tutorial=active] .flare-guide-header img{animation:flare-breathe 5s ease-in-out infinite}@keyframes flare-breathe{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}}#chess-settings-card{display:none}body[data-route=chess][data-match=setup] #chess-settings-card{display:block}#chess-settings-card button{width:100%}.header-tools .account-slot{display:inline-flex;align-items:center;min-height:44px}.brand .flare-brand{width:44px;height:64px;object-fit:contain}.tutorial-finish-actions{display:grid;gap:12px;margin:20px 0}#tutorial-card .tutorial-finish-actions button{width:100%;margin:0;border-radius:0;min-height:48px;padding:12px 16px;font:inherit;font-size:.9rem;letter-spacing:.04em}#tutorial-card #tutorial-play{background:#342910;color:#f4e3bd;border:1px solid #bf9946;box-shadow:none}#tutorial-card #tutorial-play:hover{background:#493819}#tutorial-card #tutorial-leave{background:transparent;border:1px solid #66532e;color:#d2c5ab}#tutorial-card.tutorial-complete>progress{display:none}#tutorial-card.tutorial-complete #tutorial-line{border-radius:0;background:#211d15;color:#eee0c4;border:1px solid #66532e;padding:18px}#tutorial-card.tutorial-complete>h3{margin:18px 0 12px}#tutorial-card.tutorial-complete .tutorial-navigation,#tutorial-card.tutorial-complete .tutorial-recap,#tutorial-card.tutorial-complete .flare-story{margin:0;border-top:1px solid #453820}body:is([data-route=guide],[data-route=privacy],[data-route=contact]){--text: #eee4ce;--muted: #bdaf95;--accent: #d0b477;--line: #51432c;color:var(--text);background:radial-gradient(ellipse at 70% 0,#242015,#0b0a08 65%);font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .site-header{background:#100e0bea;border-bottom:1px solid var(--line)}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .brand{font-family:Cinzel,Yu Mincho,serif;letter-spacing:.15em;color:var(--text)}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .article-page{max-width:760px;margin:clamp(32px,6vw,80px) auto;padding:clamp(24px,4vw,48px);border:1px solid var(--line);background:#15130f}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .article-page h1{font:400 clamp(1.7rem,3.5vw,2.6rem)/1.5 Cinzel,"Yu Mincho",serif;color:var(--text);letter-spacing:.05em;margin:0 0 24px}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .article-page p{font-size:.95rem;line-height:2;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .article-page .eyebrow{font-size:.75rem;letter-spacing:.12em;color:var(--accent);margin-bottom:14px}body[data-route=guide] .article-page ol{display:grid;gap:12px;padding-left:24px}body[data-route=guide] .article-page li{padding:12px 0 16px 8px;border-bottom:1px solid var(--line);color:var(--text);line-height:1.9}body[data-route=guide] .article-page li::marker{color:var(--accent)}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .quiet-button,body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .primary-link{background:#292216;border:1px solid #ad9159;border-radius:0;color:var(--text);min-height:44px;padding:12px 20px}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .settings-dialog{background:#17140f;border-color:#887044;border-radius:0}body:is([data-route=guide],[data-route=privacy],[data-route=contact]) :focus-visible{outline:2px solid var(--accent);outline-offset:4px}.site-footer{border-color:#403523;color:#b4a58a;background:#0b0a08}.site-footer a{color:inherit;text-decoration:none;padding-block:12px}.site-footer a:hover{color:#ead6a7}@media(max-width:600px){body:is([data-route=guide],[data-route=privacy],[data-route=contact]) .article-page{padding:22px;margin:24px 0}}.contact-form{display:grid;gap:18px;margin-top:28px}.contact-form[hidden]{display:none}.contact-form label{display:grid;gap:8px;font-size:.88rem}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;min-width:0;padding:12px;background:#0f0e0b;border:1px solid #76613d;border-radius:0;color:#eee4ce;font:inherit}.contact-form textarea{resize:vertical;line-height:1.8}.contact-form .contact-reply{display:flex;align-items:center;gap:10px;min-height:44px}.contact-reply input{accent-color:#d0b477}.contact-form>p{margin:-8px 0 0;font-size:.8rem!important}.contact-form .primary-button{min-height:48px;background:#302719;color:#eee4ce;border:1px solid #d0b477;border-radius:0}.contact-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.creator-credit{display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px}.creator-credit a{color:#d0b477}body{line-break:strict}body :is(p,li,dd,.settings-note,.coach-message,#message,label span,summary){word-break:auto-phrase;text-wrap:pretty}body :is(h1,h2,h3,.settings-note,.coach-message,#message,button){text-wrap:balance}.seo-language-links{display:flex;gap:1rem;font-size:.8rem}.seo-language-links [aria-current]{color:#d7b967}.rules-reference{max-width:68ch}.rules-reference h2{margin-top:2rem;font-size:1.2rem}body[data-route=chess]{--ink: #060504;--surface: #0e0b08;--line: #3a2e17;--text: #efe3c8;--muted: #9c8a68;--accent: #c8a24e;--soul: #ff4a2a;font-family:Cormorant Garamond,Hiragino Mincho ProN,Yu Mincho,Georgia,serif;font-size:17px;color:var(--text);background:radial-gradient(ellipse at 50% 0,#1a120b 0,#060504 62%)}body[data-route=chess] button,body[data-route=chess] select{font-family:Cinzel,Hiragino Mincho ProN,serif;font-size:.74rem;letter-spacing:.16em;background:#0c0907;border:1px solid #4a3a1c;border-radius:0;color:var(--text)}body[data-route=chess] button:hover,body[data-route=chess] select:hover{border-color:var(--accent);color:var(--text)}body[data-route=chess] :focus-visible{outline:2px solid var(--accent)}body[data-route=chess] .site-header{background:linear-gradient(#060504f2,#060504b0);border-bottom:1px solid #2c2210}body[data-route=chess] .brand{font:600 .8rem/1 Cinzel,serif;letter-spacing:.45em;text-transform:uppercase}body[data-route=chess] .brand:before{border-color:var(--accent);background:conic-gradient(var(--accent) 0 25%,transparent 25% 50%,var(--accent) 50% 75%,transparent 75%)}body[data-route=chess] .game-nav a,body[data-route=chess] .nav-soon{font:600 .68rem/1 Cinzel,serif;letter-spacing:.32em}body[data-route=chess] .game-nav a[aria-current=page]{color:var(--accent)}body[data-route=chess] .game-nav a[aria-current=page]:after{background:var(--accent)}body[data-route=chess] .nav-soon{color:#6b5b3b}body[data-route=chess] .quiet-button{background:transparent}body[data-route=chess] .quiet-button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}body[data-route=chess] #site-main{width:min(1480px,100%)}body[data-route=chess] .stage-frame{aspect-ratio:1.35}body[data-route=chess] .stage-heading h1{font:400 clamp(1.6rem,3vw,2.4rem)/1 Cinzel,"Hiragino Mincho ProN",serif;letter-spacing:.18em}body[data-route=chess] .stage-actions .primary-button{min-height:52px;padding:0 28px}body[data-route=chess] .back-link{font:600 .62rem/1 Cinzel,serif;letter-spacing:.3em;text-transform:uppercase;color:var(--muted)}body[data-route=chess] .primary-button,body[data-route=chess] .primary-link{background:#0c0907;color:var(--text);border:1px solid var(--accent);border-radius:0;font:600 .74rem/1 Cinzel,serif;letter-spacing:.34em;padding:12px 28px;transition:letter-spacing .4s,background .4s,box-shadow .4s}body[data-route=chess] .primary-button:hover,body[data-route=chess] .primary-link:hover{background:#c8a24e26;color:var(--text);letter-spacing:.42em;box-shadow:0 0 30px #c8a24e33}body[data-route=chess] .stage-frame{border:1px solid #5c4724;border-radius:0;box-shadow:0 0 0 5px #0a0806,0 0 0 6px #3a2c14,0 30px 80px #000c,0 0 80px color-mix(in srgb,var(--soul) 14%,transparent)}body[data-route=chess] .stage-frame:before{border:1px solid #c8a24e2e;border-radius:0}body[data-route=chess] .stage-frame:after{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--soul) 70%,#c8a24e),transparent)}body[data-route=chess] #stage .hud-plaque{color:var(--text);border:1px solid #8f6b2a;background:linear-gradient(#17120d,#0d0a07);font-family:Cinzel,serif;letter-spacing:.3em}body[data-route=chess] #stage .hud-plaque b{color:#9c8559;letter-spacing:.4em}body[data-route=chess] #stage .hud-cab{background:linear-gradient(#17120d,#0d0a07);border:1px solid #6b5527;border-radius:0}body[data-route=chess] #stage .hud-cab i{color:#8a7650;letter-spacing:.4em}body[data-route=chess] .promotion-overlay{background:#060504cc}body[data-route=chess] .promotion-overlay #promotion{background:#0c0907;border:1px solid var(--accent);border-radius:0}body[data-route=chess] .game-sidebar{background:linear-gradient(#120e0acc,#070605e6);border:1px solid #3a2e17;border-radius:0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}body[data-route=chess] .side-card{border-bottom:1px solid #2c2210}body[data-route=chess] .side-card h2,body[data-route=chess] .character-picker legend{font:600 .68rem/1 Cinzel,serif;letter-spacing:.36em;text-transform:uppercase;color:var(--accent);margin-bottom:18px}body[data-route=chess] .character-options button{border-radius:0;min-height:50px;font-size:.62rem;background:#0a0806;border-color:#3a2e17}body[data-route=chess] .character-options button[aria-pressed=true]{background:#1a120b;border-color:var(--character-color);box-shadow:inset 3px 0 0 var(--character-color),0 0 24px color-mix(in srgb,var(--character-color) 28%,transparent)}body[data-route=chess] .character-preview{background:radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--soul) 16%,#0a0806),#060504);border:1px solid #2c2210;border-radius:0}body[data-route=chess] .character-preview-caption{font:600 .74rem/1 Cinzel,serif;letter-spacing:.28em;color:var(--text)}body[data-route=chess] .opponent-label{font:600 .74rem/1.4 Cinzel,serif;letter-spacing:.22em;color:var(--text)}body[data-route=chess] #message{color:#ffd48e;font-size:1rem}body[data-route=chess] .chat-log,body[data-route=chess] .check-setting,body[data-route=chess] #selection-help{color:var(--muted);font-size:.98rem}body[data-route=chess] .info-card p{color:var(--muted)}body[data-route=chess] .check-setting input{accent-color:var(--accent)}body[data-route=chess] .site-footer,body[data-route=chess] footer{color:var(--muted);border-color:#2c2210}body[data-route=chess]{--surface: #24231f;--line: #625b4b;--text: #f0ece3;--muted: #c2bcae;--accent: #dbc08b;background:radial-gradient(ellipse at 45% 0,#32312a,#161817 75%);font-family:-apple-system,BlinkMacSystemFont,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif;font-size:15px}body[data-route=chess] button,body[data-route=chess] select{font-family:inherit;font-size:14px;letter-spacing:.02em;background:#302e28;border-color:#736c5c;border-radius:5px;min-height:40px}body[data-route=chess] .game-sidebar{background:#242520;border-color:#5a574b;border-radius:8px;-webkit-backdrop-filter:none;backdrop-filter:none}body[data-route=chess] .side-card{border-color:#49483f;padding:18px}body[data-route=chess] .side-card h2,body[data-route=chess] .character-picker legend{font-family:inherit;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:.04em;color:#e7ddc7;margin-bottom:12px}body[data-route=chess] .character-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body[data-route=chess] .character-options button{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:64px;padding:8px 4px;font-size:12px;background:#302f29;border:1px solid #676253;border-radius:5px}body[data-route=chess] .character-options button:last-child{grid-column:auto}body[data-route=chess] .character-options button[aria-pressed=true]{background:#494536;border-color:#e5c991;box-shadow:inset 0 -3px #e5c991}body[data-route=chess] .palette-swatch{width:18px;height:18px;border-radius:50%;background:var(--character-color);border:1px solid #ffffff65;box-shadow:none}body[data-route=chess] .character-card .theme-picker{margin-top:14px;padding-top:14px;border-color:#514d42;font-size:13px}body[data-route=chess] .character-card .theme-picker select{font-size:14px}body[data-route=chess] .opponent-label{font-weight:500;font-family:inherit;font-size:14px;line-height:1.6;letter-spacing:.02em}body[data-route=chess] .primary-button{background:#d9c18b;color:#211e17;border-color:#e5d3ad;font-family:inherit;font-weight:600;letter-spacing:.04em;border-radius:5px}body[data-route=chess] .primary-button:hover{background:#ecdbb5;color:#211e17;letter-spacing:.04em;box-shadow:none}body[data-route=chess] #stage .hud-plaque,body[data-route=chess] #stage .hud-cab{background:#292821ed;border-color:#a09070;border-radius:5px;font-family:inherit;letter-spacing:.04em}body[data-route=chess] #stage .hud-plaque b,body[data-route=chess] #stage .hud-cab i{color:#d1c5ac;letter-spacing:.06em}body[data-route=chess] .chat-log{background:#30312b;border:1px solid #545347;border-radius:6px;padding:12px;line-height:1.8;color:#e3e0d7;font-size:14px}body[data-route=chess] .chat-log p{margin:0 0 9px}body[data-route=chess] .check-setting,body[data-route=chess] #selection-help{color:#d4cec0;font-size:14px;line-height:1.7}body[data-route=chess] .stage-frame{border-color:#93856b;box-shadow:0 14px 38px #0005}body[data-route=chess] .stage-frame:after{background:linear-gradient(90deg,transparent,#cbb58860,transparent)}body[data-route=chess]{--brass: #c8a24e;--brass-dim: #7a6230;--bone: #e9dfc8;--ground: #0b0907;background:radial-gradient(ellipse 80% 50% at 40% 0,#1c140d 0,transparent 70%),radial-gradient(ellipse 60% 40% at 90% 100%,#170f0a 0,transparent 70%),var(--ground)}body[data-route=chess] #site-main{max-width:1480px}body[data-route=chess] .back-link{font:500 .85rem/1 Cormorant Garamond,Hiragino Mincho ProN,serif;letter-spacing:.06em;text-transform:none;color:var(--brass-dim)}body[data-route=chess] .back-link:hover{color:var(--brass)}body[data-route=chess] .stage-heading h1{font:500 clamp(1.6rem,2.4vw,2.2rem)/1.1 "Cinzel","Hiragino Mincho ProN",serif;letter-spacing:.2em;color:var(--bone)}body[data-route=chess] .game-sidebar{background:linear-gradient(90deg,#14100bf0,#0b0907d9);border:0;border-left:1px solid #5c4724;border-radius:0;box-shadow:none;padding-left:4px;-webkit-backdrop-filter:none;backdrop-filter:none}body[data-route=chess] .side-card{padding:22px 20px 20px 22px;border-bottom:1px solid #2c2210;background:none}body[data-route=chess] .side-card h2{font:600 .78rem/1 Cinzel,Hiragino Mincho ProN,serif;letter-spacing:.26em;text-transform:none;color:var(--brass);margin:0 0 16px}body[data-route=chess] .side-card,body[data-route=chess] .check-setting,body[data-route=chess] #selection-help{font-family:Cormorant Garamond,Hiragino Mincho ProN,Yu Mincho,serif;font-size:1.02rem;line-height:1.7;color:#b8a888}body[data-route=chess] .check-setting{color:var(--bone)}body[data-route=chess] .check-setting input{border-color:var(--brass-dim);background:#0a0806;border-radius:0;width:38px;height:20px}body[data-route=chess] .check-setting input:before{border-radius:0;background:var(--brass-dim);width:12px;height:12px}body[data-route=chess] .check-setting input:checked{background:#2a1f0e;border-color:var(--brass)}body[data-route=chess] .check-setting input:checked:before{background:var(--brass);left:21px;box-shadow:0 0 10px #c8a24e88}body[data-route=chess] .chat-log{background:none;border:0;border-left:2px solid var(--soul);padding:2px 0 2px 14px;color:var(--bone);font-style:italic;font-size:1.08rem}body[data-route=chess] .chat-card h2+*{margin-top:0}body[data-route=chess] .stage-heading #play{background:linear-gradient(#d9b862,#b38d3a);color:#170f06;border-color:#e6c878;font:700 .8rem/1 Cinzel,Hiragino Mincho ProN,serif;letter-spacing:.3em;min-height:42px;padding:0 30px;box-shadow:0 0 0 1px #0b0907,0 8px 26px #c8a24e33}body[data-route=chess] .stage-heading #play:hover{background:linear-gradient(#e6c878,#c49d44);color:#170f06;letter-spacing:.36em}body[data-route=chess] .stage-heading #immersive-toggle{min-height:42px;border-color:#4a3a1c;color:#b8a888}body[data-route=chess] #stage-frame,body[data-route=chess] .stage-frame{box-shadow:0 0 0 5px #0b0907,0 0 0 6px #3a2c14,0 40px 100px #000d,0 0 120px color-mix(in srgb,var(--soul) 10%,transparent)}.stage-start{position:absolute;z-index:9;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:90px clamp(18px,3vw,44px) clamp(18px,3vw,34px);background:linear-gradient(to top,#060403f2 0%,#060403cc 38%,transparent 100%);pointer-events:none;opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .9s cubic-bezier(.2,.7,.2,1)}.stage-start.on{opacity:1;transform:none}.stage-start-who{display:grid;gap:6px;min-width:0}.stage-start-who span{font:500 clamp(.9rem,1.3vw,1.1rem)/1.3 "Cormorant Garamond","Hiragino Mincho ProN",serif;color:#b8a888;letter-spacing:.08em}.stage-start-who strong{font:400 clamp(1.5rem,3.4vw,3rem)/1.05 "Cinzel","Hiragino Mincho ProN",serif;letter-spacing:.12em;color:var(--bone);text-shadow:0 0 40px color-mix(in srgb,var(--lord, #ff4a2a) 60%,transparent),0 2px 0 #000}body[data-route=chess] .stage-start-go{pointer-events:auto;flex:none;cursor:pointer;border-radius:0;min-height:52px;padding:0 clamp(26px,3vw,46px);background:linear-gradient(#d9b862,#b38d3a);color:#170f06;border:1px solid #e6c878;font:700 clamp(.78rem,1.1vw,.95rem)/1 "Cinzel","Hiragino Mincho ProN",serif;letter-spacing:.32em;box-shadow:0 0 0 1px #0b0907,0 0 40px color-mix(in srgb,var(--lord, #ff4a2a) 35%,transparent);transition:letter-spacing .4s,box-shadow .4s}body[data-route=chess] .stage-start-go:hover{letter-spacing:.4em;color:#170f06;box-shadow:0 0 0 1px #0b0907,0 0 56px color-mix(in srgb,var(--lord, #ff4a2a) 55%,transparent)}@media(max-width:680px){.stage-start{flex-direction:column;align-items:stretch;padding-top:60px}.stage-start-go{width:100%}}@media(prefers-reduced-motion:reduce){.stage-start{transition:none;transform:none}}body[data-route=chess] #stage:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 72% 70% at 50% 46%,transparent 55%,#0000008c 100%)}@media(max-width:680px){body[data-route=chess][data-match=setup] .stage-heading #play{display:none}.stage-start{padding:46px 14px 14px;gap:10px}.stage-start-who strong{font-size:1.35rem}.stage-start-go{min-height:46px}}body[data-route=chess] button,body[data-route=chess] select{font-family:Cinzel,Hiragino Mincho ProN,serif;font-size:.74rem;letter-spacing:.16em;background:#0c0907;border:1px solid #4a3a1c;border-radius:0}body[data-route=chess] button:hover,body[data-route=chess] select:hover{border-color:var(--brass)}body[data-route=chess] .opponent-label{font:500 1.25rem/1.3 Cinzel,Hiragino Mincho ProN,serif;letter-spacing:.12em;color:var(--bone)}body[data-route=chess] .opponent-label:after{content:"";display:block;width:36px;height:2px;margin-top:10px;background:var(--soul);box-shadow:0 0 12px var(--soul)}body[data-route=chess] #message{font:500 1.05rem/1.6 Cormorant Garamond,Hiragino Mincho ProN,serif;color:#f0c98a;min-height:1.6em}body[data-route=chess] .primary-button{background:linear-gradient(#d9b862,#b38d3a);color:#170f06;border:1px solid #e6c878;border-radius:0;font:700 .8rem/1 Cinzel,Hiragino Mincho ProN,serif;letter-spacing:.3em}body[data-route=chess] .primary-button:hover{background:linear-gradient(#e6c878,#c49d44);color:#170f06;letter-spacing:.36em;box-shadow:0 0 30px #c8a24e44}body[data-route=chess] .match-confirm{border-color:#8f6b2a;border-radius:0;background:linear-gradient(#17120d,#0b0806);color:var(--bone)}body[data-route=chess] .match-confirm p{color:#c8b99a}body[data-route=chess] .match-confirm-actions .quiet-button{min-width:104px}body[data-route=chess] .match-confirm-actions .primary-button{min-width:132px}body[data-route=chess] #stage .hud-plaque{bottom:16px;min-width:230px;padding:10px 28px 9px;background:linear-gradient(#17120d,#0b0806);border:1px solid #8f6b2a;border-radius:0;font-family:Cinzel,Hiragino Mincho ProN,serif;letter-spacing:.3em;font-size:.95rem;color:var(--bone);box-shadow:0 0 0 3px #0b0806,0 0 0 4px #4a3818,0 8px 28px #000b}body[data-route=chess] #stage .hud-plaque b{font-size:.6rem;letter-spacing:.5em;color:#9c8559}body[data-route=chess] #stage .hud-plaque.think{animation:plaquePulse 1.8s ease-in-out infinite}@keyframes plaquePulse{0%,to{box-shadow:0 0 0 3px #0b0806,0 0 0 4px #4a3818,0 8px 28px #000b}50%{box-shadow:0 0 0 3px #0b0806,0 0 0 4px var(--soul),0 0 30px color-mix(in srgb,var(--soul) 55%,transparent)}}body[data-route=chess] #stage .hud-plaque.think span{color:color-mix(in srgb,var(--soul) 70%,white)}body[data-route=chess] #stage .hud-cab{bottom:16px;width:150px;min-height:52px;padding:9px 12px;background:linear-gradient(#17120d,#0b0806);border:1px solid #5c4724;border-radius:0;box-shadow:0 0 0 3px #0b0806,0 0 0 4px #2c2210;font-family:Cinzel,serif}body[data-route=chess] #stage .hud-cab i{font-size:.56rem;letter-spacing:.4em;color:#8a7650}body[data-route=chess] #stage .hud-cab .row{font-size:1.35rem}body[data-route=chess] #stage .hud-cab em{color:var(--brass)}@media(max-width:680px){body[data-route=chess] #stage .hud-plaque{min-width:170px;padding:8px 18px;font-size:.8rem}body[data-route=chess] #stage .hud-cab{width:96px;bottom:62px}}body[data-route=chess]{background:radial-gradient(ellipse at 45% 0,#16130f,#0a0908 75%)}body[data-route=chess] .game-sidebar{background:linear-gradient(90deg,#100e0bf2,#0a0908e6)}body[data-route=chess] .side-card{border-color:#3a3226}body[data-route=chess] #stage .hud-plaque,body[data-route=chess] #stage .hud-cab{background:linear-gradient(#16130f,#0c0a08)}body[data-route=chess]{--accent: #d0b477;--brass: #d0b477;--bone: #eee4ce;--soul: #dec58b;--muted: #b6a88e;--line: #51432c;background:radial-gradient(ellipse at 50% 0,#211e16,#0a0907 65%)}body[data-route=chess] .game-sidebar{background:#15130ff2;border:1px solid #51432c;-webkit-backdrop-filter:none;backdrop-filter:none}body[data-route=chess] .side-card{padding:22px;border-color:#403725}body[data-route=chess] .side-card h2{color:#d0b477;font-size:.8rem;line-height:1.5;letter-spacing:.12em;margin-bottom:14px}body[data-route=chess] .side-card p,body[data-route=chess] .settings-note,body[data-route=chess] #selection-help{font-family:Hiragino Sans,Noto Sans JP,system-ui,sans-serif;font-size:.86rem;line-height:1.85;letter-spacing:.02em;color:#c4b89f}body[data-route=chess] button,body[data-route=chess] select{min-height:44px;border-color:#6a5837;background:#17140f;color:#eee4ce;letter-spacing:.06em;font-size:.82rem;line-height:1.5;transition:background .18s,border-color .18s}body[data-route=chess] button:hover:not(:disabled){background:#30271a;border-color:#d0b477}body[data-route=chess] button:disabled{opacity:.45;cursor:default}body[data-route=chess] .primary-button,body[data-route=chess] .primary-link{background:#302719;color:#f2e6cc;border:1px solid #d0b477;font-size:.85rem;letter-spacing:.08em;line-height:1.5;box-shadow:none}body[data-route=chess] .primary-button:hover,body[data-route=chess] .primary-link:hover{background:#44361f;color:#f2e6cc;letter-spacing:.08em;box-shadow:none}body[data-route=chess] :focus-visible{outline:2px solid #e3cd99;outline-offset:4px}body[data-route=chess] .match-controls,body[data-route=chess] .coach-actions{gap:12px}body[data-route=chess] #opponent-label{color:#eee4ce;font-size:1.25rem;line-height:1.5;letter-spacing:.04em}body[data-route=chess] .stage-frame{box-shadow:0 0 0 4px #100e0a,0 0 0 5px #493b23,0 20px 50px #0007}body[data-route=chess] #stage .hud-plaque,body[data-route=chess] #stage .hud-cab{background:#18150feb;border-color:#8d7547;box-shadow:0 4px 16px #0006;letter-spacing:.08em}body[data-route=chess] #stage .hud-plaque b,body[data-route=chess] #stage .hud-cab i{color:#c7b58e;letter-spacing:.12em}body[data-route=chess] .settings-dialog,body[data-route=chess] .match-confirm{background:#17140f;border-color:#887044;border-radius:0}body[data-route=chess] .settings-dialog select{background:#211c13}@media(max-width:780px){body[data-route=chess] .side-card{padding:18px}body[data-route=chess] #stage .hud-plaque{min-width:0;padding:8px 16px;font-size:.8rem}body[data-route=chess] #stage .hud-cab{width:94px;padding:8px}}@media(prefers-reduced-motion:reduce){body[data-route=chess] button,body[data-route=chess] select{transition:none}body[data-route=chess] #stage .hud-plaque.think{animation:none}}body[data-route=chess] #tutorial-card{padding:24px}body[data-route=chess] #tutorial-card .flare-guide-header{gap:16px;align-items:center;padding-bottom:18px;border-bottom:1px solid #463b27}body[data-route=chess] #tutorial-card .flare-guide-header img{width:56px;height:76px;object-fit:contain}body[data-route=chess] #tutorial-card .flare-guide-header h2{font-size:1.2rem;letter-spacing:.12em}body[data-route=chess] #tutorial-card .flare-guide-header p{margin-top:6px;font-size:.76rem}body[data-route=chess] #tutorial-card>progress{display:block;height:3px;width:100%;border:0;background:#3e3525;accent-color:#cfb779;margin:12px 0 22px}body[data-route=chess] #tutorial-card>progress::-webkit-progress-bar{background:#3e3525}body[data-route=chess] #tutorial-card>progress::-webkit-progress-value{background:#cfb779}body[data-route=chess] #tutorial-card>progress::-moz-progress-bar{background:#cfb779}body[data-route=chess] #tutorial-lesson-title{font-size:1.05rem;font-weight:500;line-height:1.55;color:#f0e3c6;margin:0 0 14px}body[data-route=chess] #tutorial-lesson-title:focus:not(:focus-visible){outline:none}body[data-route=chess] #tutorial-line{background:linear-gradient(135deg,#292318,#201c14);border:1px solid #655331;border-left:3px solid #d0b477;border-radius:0;padding:18px;color:#f0e5ce;font-size:.95rem;line-height:1.9;margin:0 0 16px}body[data-route=chess] #tutorial-line>span{color:inherit}body[data-route=chess] #tutorial-task{margin:0 0 14px;border:0;padding:0;color:#d9c79f}body[data-route=chess] #tutorial-feedback:empty{display:none}body[data-route=chess] #tutorial-feedback{min-height:0;margin:12px 0;color:#e1cb98}body[data-route=chess] #tutorial-card details{margin:0;border-top:1px solid #403623}body[data-route=chess] #tutorial-card summary{min-height:48px;padding:14px 0;line-height:1.6;color:#cbb995;font-size:.8rem;cursor:pointer}body[data-route=chess] #tutorial-card details[open]>summary{color:#f0dfb8}body[data-route=chess] #tutorial-card details p{margin:0 0 16px}body[data-route=chess] #tutorial-card .tutorial-finish-actions{margin:18px 0}body[data-route=chess] #tutorial-card.tutorial-complete>progress{display:none}@media(max-width:780px){body[data-route=chess] #tutorial-card{padding:18px}body[data-route=chess] #tutorial-card .flare-guide-header{padding-bottom:12px}body[data-route=chess] #tutorial-card .flare-guide-header img{width:42px;height:56px}body[data-route=chess] #tutorial-line{padding:14px;font-size:.9rem}}body[data-route=chess] .game-sidebar{min-width:0}body[data-route=chess] .gesture-picker .gesture-side-setting{display:grid;grid-template-columns:1fr;gap:8px;padding:14px;border-bottom:1px solid #403623;font-size:.8rem;line-height:1.5}body[data-route=chess] .gesture-side-setting>span{color:#cbbb9c}body[data-route=chess] #gesture-local-side{width:100%;min-width:0;padding:10px 12px}body[data-route=chess] .gesture-options{padding:14px;max-height:min(480px,60dvh)}body[data-route=chess] .gesture-grid{grid-template-columns:1fr;gap:8px}body[data-route=chess] .gesture-grid .quiet-button{width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:.8rem;letter-spacing:.02em;line-height:1.5;gap:10px}body[data-route=chess] .gesture-grid .quiet-button>span:last-child{white-space:normal;word-break:keep-all;overflow-wrap:anywhere}body[data-route=chess] .coach-actions,body[data-route=chess] #match-controls{display:grid;grid-template-columns:1fr;gap:10px}body[data-route=chess] .coach-actions>button,body[data-route=chess] #match-controls>button{width:100%;padding:12px;letter-spacing:.02em}@media(min-width:1200px){body[data-route=chess]:not(.board-expanded) .game-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px}}@media(max-width:780px){body[data-route=chess] .gesture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}body[data-route=chess] .gesture-options{max-height:none;overflow:visible}body[data-route=chess] .gesture-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:14px}body[data-route=chess] .gesture-categories button{padding:8px 3px;min-height:44px;font-size:.72rem;letter-spacing:0}body[data-route=chess] .gesture-categories button[aria-pressed=true]{background:#362c1b;border-color:#d0b477;color:#f2dfb5}body[data-route=chess] .gesture-options .gesture-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body[data-route=chess] .gesture-grid .quiet-button{padding:10px 8px;font-size:.75rem;gap:6px;min-height:48px}body[data-route=chess] .gesture-options section[hidden]{display:none}body[data-route=chess] .stage-heading #play{display:none}@media(max-width:780px){body[data-route=chess] #site-main{padding:12px 8px 24px}body[data-route=chess] .site-header{min-height:56px;padding:8px 12px}body[data-route=chess] .site-header .game-nav{display:none}body[data-route=chess] .brand{font-size:.7rem;letter-spacing:.15em}body[data-route=chess] .brand .flare-brand{width:28px;height:40px}body[data-route=chess] .stage-heading{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;margin:0 4px 12px}body[data-route=chess] .stage-heading h1{font-size:1.45rem}body[data-route=chess] .back-link{font-size:.6rem}body[data-route=chess] .stage-actions{margin-left:auto;gap:8px;flex-wrap:wrap}body[data-route=chess] .stage-actions button{font-size:.7rem;padding:8px 10px}body[data-route=chess] .game-layout{grid-template-columns:minmax(0,1fr);gap:14px}body[data-route=chess] .stage-frame{aspect-ratio:auto;height:clamp(410px,65svh,620px);width:100%;box-shadow:0 0 0 2px #493b23}body[data-route=chess] #stage .hud-cab{bottom:8px;width:76px;min-height:36px;padding:5px}body[data-route=chess] #stage .hud-cab i{font-size:.45rem;letter-spacing:0}body[data-route=chess] #stage .hud-plaque{bottom:8px;min-width:130px;padding:7px 10px;font-size:.75rem}body[data-route=chess] #stage .hud-plaque b{font-size:.5rem;letter-spacing:.06em}body[data-route=chess] .game-sidebar{margin:0;padding:0;border:1px solid #51432c}body[data-route=chess] .side-card{padding:14px}body[data-route=chess] .side-card h2{margin-bottom:8px;font-size:.72rem}body[data-route=chess] #opponent-label{font-size:1rem;margin-block:8px}body[data-route=chess] .coach-actions,body[data-route=chess] #match-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body[data-route=chess] .coach-actions>button,body[data-route=chess] #match-controls>button{font-size:.72rem;padding:8px}body[data-route=chess] .gesture-help{margin:6px 0}body[data-route=chess] .settings-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}body[data-route=chess] .settings-heading{padding:12px 16px}body[data-route=chess] .settings-heading h2{font-size:1.1rem}body[data-route=chess] .settings-scroll{padding:0 16px;max-height:calc(100dvh - 160px)}body[data-route=chess] .settings-section,body[data-route=chess] .settings-dialog .side-card{padding:14px 0}body[data-route=chess] .settings-footer{padding:12px 16px}body[data-route=chess] .character-preview{max-height:110px}body[data-route=chess] .settings-dialog .character-options button{min-height:48px;font-size:.7rem}}@media(max-width:780px)and (orientation:landscape){body[data-route=chess] .stage-frame{height:82svh;min-height:280px}}@media(max-width:780px){body[data-route=chess] .mobile-match-hud{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:6px;margin-top:10px;background:#15130f;padding:8px;border:1px solid #51432c}body[data-route=chess] .mobile-match-hud .hud{position:static;transform:none;min-width:0;width:auto;min-height:0;padding:4px;border:0;box-shadow:none;background:none;border-radius:0;font-size:12px;line-height:1.4;letter-spacing:0}body[data-route=chess] .mobile-match-hud .hud-plaque{text-align:center}body[data-route=chess] .mobile-match-hud .hud b,body[data-route=chess] .mobile-match-hud .hud i{font-size:9px;letter-spacing:0;color:#bdae8c}body[data-route=chess] .mobile-match-hud .hud .row{font-size:14px;min-height:16px}body[data-route=chess][data-match=setup] .mobile-match-hud{display:none}body[data-route=chess] #tutorial-launch{flex:0 1 auto;width:auto}body[data-route=chess] .stage-actions{display:flex;flex:0 1 auto}body[data-route=chess] .stage-heading{flex-direction:row}body[data-route=chess] .stage-frame{height:clamp(400px,60svh,560px)}}body[data-route=chess] #match-ui{padding-block:14px}body[data-route=chess] #match-ui h2{margin-bottom:8px}body[data-route=chess] #match-ui #opponent-label{font-size:.95rem;line-height:1.4;letter-spacing:.03em;margin-block:0 4px}body[data-route=chess] #match-ui .opponent-label:after{margin-top:6px;width:28px}body[data-route=chess] #match-ui #message{font-size:.9rem;line-height:1.5;margin-top:8px}body[data-route=chess] #match-ui .coach-actions,body[data-route=chess] #match-ui #match-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}body[data-route=chess] #match-ui .coach-actions>button,body[data-route=chess] #match-ui #match-controls>button{font-size:.74rem;padding:7px 6px;min-height:0}body[data-route=chess] #chat-card{padding-block:12px}
