@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}.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{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}.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,.settings-dialog #home label{display:grid;gap:8px;margin-top:14px}.settings-dialog select{width:100%;background:#34352d;color:#f0ece3;border-color:#817866}.settings-dialog .language-control select{width:auto}.settings-dialog #home.hidden{display:block!important}.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}}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] #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}}
