:root{color:#f3e6ca;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#101e33;--ink:#f3e6ca;--muted:#aab7c5;--gold:#d8b775;--jade:#86c5ba;--line:#34485a;--serif:"Noto Serif SC", "Songti SC", "STSong", Georgia, serif;background:#101e33;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:360px;margin:0}button,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;transition:background .18s,color .18s,border-color .18s}button:disabled{cursor:default;opacity:.35}button,a,select{outline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--jade)}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.app-shell{min-height:100svh}.app-header{background:#112339;border-bottom:1px solid #8b78514d;justify-content:space-between;align-items:center;gap:25px;height:76px;padding:0 28px;display:flex}.brand{color:#edd098;flex-shrink:0;align-items:center;gap:14px;display:flex}.brand-moon{flex:0 0 60px}.brand strong{font-family:var(--serif);letter-spacing:6px;font-size:33px;font-weight:600;line-height:1.2;display:block}.brand small{font-family:var(--serif);letter-spacing:2.6px;margin-top:5px;font-size:11px;display:block}.header-poem{font:15px var(--serif);letter-spacing:5px;color:var(--gold);align-items:center;gap:22px;display:flex}.header-poem:before,.header-poem:after{content:"";background:#d8b77566;width:40px;height:1px}.header-actions{align-items:center;gap:21px;display:flex}.rules-button{font:15px var(--serif);background:0 0;border:0;padding:9px 0}.rules-button:hover{color:var(--gold)}.header-divider{background:var(--line);width:1px;height:25px}.icon-button{color:var(--gold);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:6px;display:inline-flex}.icon-button:hover{background:#d8b77518}.music-control{z-index:20;position:relative}.music-buttons{background:#172c40;border:1px solid #52616b;border-radius:8px;align-items:stretch;display:flex}.music-toggle,.music-settings{background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.music-toggle{border-radius:7px 0 0 7px;gap:7px;padding:8px 10px;font-size:13px}.music-toggle i{background:#87949a;border-radius:50%;width:5px;height:5px}.music-settings{border-left:1px solid #52616b;border-radius:0 7px 7px 0;width:25px}.music-toggle:hover,.music-settings:hover{background:#293f4e}.music-active{color:#f1d99f;background:#2a3b43;border-color:#b2935c}.music-active .music-toggle i{background:#d8b775;box-shadow:0 0 0 3px #d8b77512}.music-toggle .music-loading{animation:1s ease-in-out infinite alternate music-pulse}.music-panel{background:#152a3b;border:1px solid #52616b;border-radius:12px;width:252px;padding:20px;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 12px 32px #0004}.music-panel>strong{font:600 20px var(--serif);letter-spacing:2px;display:block}.music-playlist-row{color:#bdc8cc;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;font-size:11px;display:flex}.music-next{white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:4px;padding:6px 5px;font-size:11px;display:inline-flex}.music-next:hover{background:#293f4e}.music-panel>p{color:#aab7c5;margin-top:7px;font-size:11px}.music-volume-label{justify-content:space-between;align-items:center;margin-top:22px;font-size:12px;display:flex}.music-volume-label output{color:#d8b775;font-variant-numeric:tabular-nums}.music-panel input{cursor:pointer;accent-color:#d8b775;width:100%;height:28px;margin:6px 0 0;display:block}.music-panel input:focus-visible{outline-offset:3px;border-radius:3px;outline:2px solid #86c5ba}.music-panel .music-status{border-top:1px solid #34485a;margin-top:12px;padding-top:12px;line-height:1.6}.music-panel .music-error{color:#f0b797}@keyframes music-pulse{to{opacity:.25}}.workspace{grid-template-columns:clamp(210px,16.3vw,250px) minmax(0,1fr) clamp(350px,30.6vw,470px);min-height:calc(100svh - 76px);display:grid}.topology-nav{background:#101e33;border-right:1px solid #8b785145;flex-direction:column;padding:27px 10px 24px;display:flex}.nav-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;margin-bottom:9px;padding:0 15px 18px;display:flex}.nav-heading h2{font-family:var(--serif);letter-spacing:2px;font-size:27px;font-weight:500}.nav-heading>span{color:#a899797d;font:italic 35px Georgia,serif}.topology-list{flex-direction:column;gap:3px;display:flex}.topology-choice{text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:17px;width:100%;min-height:74px;padding:9px 13px;display:flex;position:relative}.topology-choice svg{color:#d9e0df;flex:0 0 46px}.topology-choice:hover{background:#d8b7750d}.topology-choice.selected{color:#f1d99f;background:linear-gradient(100deg,#d8b77529,#d8b77505);border-color:#b2935c77}.topology-choice.selected svg{color:#f1d99f}.topology-choice.selected:before{content:"";background:#edd092;border-radius:6px 0 0 6px;width:4px;height:100%;position:absolute;top:0;left:-1px;box-shadow:2px 0 12px #f3d39135}.topology-label{flex-direction:column;gap:5px;display:flex}.topology-label strong{font:500 20px var(--serif);white-space:nowrap}.topology-label>span{font:14px var(--serif);letter-spacing:3px;color:var(--muted)}.topology-number{display:none}.nav-foot{text-align:center;margin-top:auto;padding-top:20px}.nav-foot img{object-fit:contain;width:100%;height:auto;max-height:176px;display:block;-webkit-mask-image:radial-gradient(71% 69% at 50% 53%,#000 56%,#0000 86%);mask-image:radial-gradient(71% 69% at 50% 53%,#000 56%,#0000 86%)}.nav-foot p{font:17px/1.8 var(--serif);color:#e3c996;letter-spacing:4px;margin-top:3px}.game-stage{background:#0c1d31 url(/art/moonlit-garden.webp) top/cover no-repeat;flex-direction:column;min-width:0;min-height:calc(100svh - 76px);padding:30px 42px 34px;display:flex;position:relative}.mobile-turn{display:none}.stage-heading{z-index:2;flex-direction:column;align-items:flex-start;gap:19px;display:flex;position:relative}.stage-heading h1{font:600 clamp(38px, 4.2vw, 64px)/1.08 var(--serif);letter-spacing:3px;color:#f8e6b9;flex-wrap:wrap;align-items:baseline;gap:0 20px;max-width:610px;display:flex}.stage-heading h1>span{color:#e6c78a;letter-spacing:.2px;font:400 35px Georgia,serif}.stage-heading p{font:16px/1.65 var(--serif);color:#d1d4d0;letter-spacing:1px;max-width:530px;margin-top:10px}.segmented{background:#0b1b2bcc;border:1px solid #486071;border-radius:7px;padding:2px;display:flex}.segmented button{color:#c4ced5;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:5px;flex:1}.segmented button:hover:not(.active){background:#d8b77510}.segmented button.active{color:#f5dfab;background:#d8b77513;border-color:#d8b775c9}.view-control{border-radius:24px}.view-control button{font:15px var(--serif);border-radius:24px;padding:7px 21px}.playing-surface{flex:1;min-height:395px;margin:0 -37px;position:relative}.scene-container,.webgl-host{position:absolute;inset:0}.webgl-host canvas{touch-action:none;width:100%;height:100%;display:block}.scene-loading,.scene-error{color:#ddd0b0;flex-direction:column;justify-content:center;align-items:center;gap:18px;font-size:13px;display:flex;position:absolute;inset:0}.loading-orbit{border:1px solid #d8b77533;border-top:2px solid var(--gold);border-radius:50%;width:40px;height:40px;animation:1.5s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.scene-error{background:var(--paper);text-align:center;z-index:3}.scene-error p{color:var(--ink);font-size:18px}.scene-error button{margin-top:5px;padding:12px 18px}.hover-coordinate{color:#f0d49b;pointer-events:none;background:#102238ed;border:1px solid #9b875c;border-radius:5px;padding:6px 12px;font-size:12px;position:absolute;bottom:15px;left:50%;transform:translate(-50%)}.stage-bottom{z-index:2;position:relative}.scene-toolbar{justify-content:center;align-items:center;gap:8px;width:max-content;max-width:100%;margin:0 auto;display:flex}.scene-toolbar button{font:14px var(--serif);white-space:nowrap;background:#0d1e30e8;border:1px solid #758a98;border-radius:24px;align-items:center;gap:9px;padding:10px 14px;display:flex}.scene-toolbar button:hover:not(:disabled){border-color:var(--gold);background:#25384a}.scene-toolbar button.enabled{color:#f6dc9e;border-color:var(--gold)}.toolbar-separator{display:none}.switch{background:#43536a;border-radius:12px;width:31px;height:19px;padding:3px}.switch:after{content:"";background:#fff8e5;border-radius:50%;width:13px;height:13px;transition:transform .2s;display:block;box-shadow:0 1px 2px #0002}.switch.on{background:#d8b775}.switch.on:after{transform:translate(12px)}.scene-instruction{text-align:center;font:13px var(--serif);color:#b7c1c9;letter-spacing:.8px;margin-top:15px}.connection-strip{background:#0d1e30d9;border:1px solid #b1945c8c;border-radius:12px;justify-content:space-evenly;align-items:center;gap:13px;max-width:620px;min-height:60px;margin:22px auto 0;padding:9px 12px;display:flex}.connection-strip>span{font:13px var(--serif);white-space:nowrap;align-items:center;gap:11px;display:flex}.connection-strip>span:first-child svg{color:#85d2c5}.connection-strip>span:nth-child(2) svg{color:#e6bd73}.connection-strip .surface-property{color:#bbc5cf;border-left:1px solid #758a985c;padding-left:19px;font-size:12px}.game-panel{background:#13263c;border-left:1px solid #8b785180;min-width:0;padding:25px 25px 22px}.game-panel>h2{font:500 31px/1.3 var(--serif);letter-spacing:4px;color:#f4daaa;align-items:center;gap:20px;margin-bottom:16px;display:flex}.game-panel>h2:after{content:"";background:#8978536b;flex:1;height:1px}.mode-control{width:100%}.mode-control button{font:17px var(--serif);padding:8px}.player-status{background:#0e2034;border:1px solid #364c60;border-radius:7px;align-items:center;gap:13px;min-height:78px;margin-top:14px;padding:13px 14px;display:flex}.player-stone{background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 51px;width:51px;height:51px;display:block}.player-stone.black{background-image:url(/art/black-stone.png)}.player-stone.white{background-image:url(/art/white-stone.png)}.player-stone.thinking{animation:1.1s ease-in-out infinite alternate think}@keyframes think{to{opacity:.55;transform:scale(.94)}}.status-copy{flex-direction:column;gap:7px;min-width:0;display:flex}.status-copy strong{color:#f3ecd9;font-size:17px;font-weight:500}.status-copy>span{color:var(--muted);font-size:12px;line-height:1.5}.move-count{white-space:nowrap;border-left:1px solid var(--line);color:#d5d9dc;font:14px var(--serif);margin-left:auto;padding-left:13px}.move-count b{font:400 17px Georgia,serif}.player-status.finished{background:#3b39291f;border-color:#d8b775}.board-panel-heading{justify-content:space-between;align-items:center;margin-top:19px;margin-bottom:8px;display:flex}.game-panel h3{font:500 20px var(--serif);letter-spacing:.5px}.board-panel-heading h3,.connection-description h3{border-left:2px solid #c3a164;padding-left:11px}.size-select{border:1px solid #516676;border-radius:5px;align-items:center;display:flex;position:relative}.size-select select{appearance:none;color:var(--ink);cursor:pointer;background:#102238;border:0;border-radius:5px;padding:5px 30px 5px 11px;font:13px Georgia,serif}.size-select svg{pointer-events:none;width:11px;color:var(--gold);position:absolute;right:9px}.board-2d{touch-action:manipulation;-webkit-user-select:none;user-select:none;width:100%;display:block;overflow:visible}.coordinates{font-family:Georgia,serif}.board-cell{cursor:pointer;outline:none}.board-cell.occupied,.board-cell.disabled{cursor:default}.ghost-stone,.focus-ring{opacity:0;pointer-events:none}.board-cell.empty:not(.disabled):hover .ghost-stone{opacity:.7}.board-cell:focus-visible .focus-ring{opacity:1}.played-stone{filter:drop-shadow(0 1px 1px #0008);pointer-events:none;animation:.16s ease-out stone-in}@keyframes stone-in{0%{opacity:.1}}.board-hint{color:#b5c0ce;font:12px var(--serif);text-align:center;letter-spacing:.5px;margin-top:-3px}.game-actions{grid-template-columns:1fr 1fr;gap:13px;margin-top:17px;display:grid}.outline-button,.primary-button{min-height:46px;font:16px var(--serif);border-radius:6px;justify-content:center;align-items:center;gap:10px;padding:10px 14px;display:inline-flex}.outline-button{color:#e5e7e5;background:#0d1e30;border:1px solid #d8b775}.outline-button:hover:not(:disabled){background:#263744}.primary-button{color:#1c2836;background:linear-gradient(110deg,#f0d59a,#d4ad62);border:1px solid #e6c989}.primary-button:hover:not(:disabled){background:#f0d59a}.connection-description{border-top:1px solid #81775975;margin-top:18px;padding-top:15px}.connection-description p{color:#b9c4cd;font:14px/1.9 var(--serif);margin-top:8px}.demo-button{font:14px var(--serif);background:#0d1e30;border:1px solid #c0a060;border-radius:6px;justify-content:center;align-items:center;gap:13px;margin-top:11px;padding:9px 14px;display:inline-flex}.demo-button:hover,.demo-button.demo-active{background:#d8b77518;border-color:#ecd197}.demo-button svg{color:var(--gold)}.storage-notice{color:#e5bb75;margin-top:12px;font-size:12px;line-height:1.6}.demo-label{z-index:3;color:#e7c889;white-space:nowrap;background:#16283cf2;border:1px solid #c7a363;border-radius:24px;align-items:center;gap:9px;padding:6px 9px 6px 13px;font-size:12px;display:flex;position:absolute;top:11px;left:50%;transform:translate(-50%)}.demo-label>span{background:#e7c889;border-radius:50%;width:6px;height:6px}.demo-label button{color:#e7c889;background:0 0;border:0;padding:3px;display:inline-flex}.flat-view{justify-content:center;align-items:center;padding:20px 34px;display:flex}.main-flat-board{background:#102238ed;border:1px solid #aa8e5780;border-radius:10px;width:100%;max-width:575px;padding:14px}.toast{color:#fae5b7;white-space:nowrap;z-index:5;background:#16283cf2;border:1px solid #d8b775;border-radius:8px;padding:11px 18px;font-size:13px;position:absolute;bottom:185px;left:50%;transform:translate(-50%)}.mobile-offering{display:none}.modal{color:var(--ink);background:#13263c;border:1px solid #9c8559;border-radius:12px;width:min(760px,100% - 36px);max-height:86svh;padding:30px;box-shadow:0 20px 90px #0009}.modal::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#030e1db8}.modal-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.modal-heading h2{font:500 26px var(--serif);color:#efd49b}.modal-heading p{color:var(--muted);margin-top:9px;font-size:14px}.modal-heading .icon-button{margin-top:3px}.rules-basics{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:24px;margin:29px 0;padding-bottom:26px;display:grid}.rules-basics section>span{color:#d8b775;font:20px Georgia,serif}.rules-basics h3{margin:10px 0 8px;font-size:15px;font-weight:500}.rules-basics p,.rules-topologies p,.rules-notes p{color:#b4c1cb;font-size:13px;line-height:1.85}.rules-topologies{flex-direction:column;gap:17px;display:flex}.rules-topologies section{gap:16px;display:flex}.rules-topologies svg{color:#ddc28e;flex-shrink:0;margin-top:5px}.rules-topologies h3{margin-bottom:4px;font-size:14px;font-weight:500}.rules-topologies h3 span{font:12px var(--serif);color:#d8b775;margin-left:13px}.rules-notes{border-top:1px solid var(--line);margin-top:25px;padding-top:24px}.rules-notes h3{margin-bottom:9px;font-size:16px;font-weight:500}.rules-notes p{margin-bottom:11px}.rules-notes .source-note{color:#92a5b4;font-size:11px}.rules-start{margin-top:12px}.compact-modal{max-width:450px;padding:25px}.compact-modal h2{font-size:21px}.compact-modal>p{color:var(--muted);margin-top:19px;font-size:14px;line-height:1.7}.dialog-actions{justify-content:flex-end;gap:12px;margin-top:25px;display:flex}@media (width>=1650px){.workspace{grid-template-columns:260px minmax(0,1fr) 480px}.game-stage{padding-left:50px;padding-right:50px}.game-panel{padding:30px}.playing-surface{min-height:490px}}@media (width<=1280px){.workspace{grid-template-columns:200px minmax(0,1fr) 340px}.app-header{padding:0 20px}.brand strong{font-size:27px}.brand small{letter-spacing:1.8px;font-size:10px}.header-poem{letter-spacing:3px;gap:14px;font-size:13px}.header-poem:before,.header-poem:after{width:20px}.topology-nav{padding:25px 9px 20px}.nav-heading{padding:0 9px 15px}.nav-heading h2{letter-spacing:1px;font-size:23px}.nav-heading>span{font-size:27px}.topology-choice{gap:11px;min-height:68px;padding:9px}.topology-choice svg{flex-basis:35px;width:35px}.topology-label strong{font-size:15px}.topology-label>span{font-size:12px}.nav-foot p{font-size:14px}.game-stage{padding:26px 26px 27px}.stage-heading h1{column-gap:17px;font-size:42px}.stage-heading h1>span{font-size:25px}.stage-heading p{max-width:370px;margin-top:8px;font-size:13px}.view-control button{padding:7px 16px;font-size:13px}.playing-surface{min-height:355px;margin:0 -23px}.scene-toolbar{gap:7px}.scene-toolbar button{gap:6px;padding:9px 11px;font-size:12px}.scene-toolbar button svg{width:16px}.scene-instruction{font-size:12px}.connection-strip{gap:8px;min-height:53px;padding:8px}.connection-strip>span{gap:5px;font-size:12px}.connection-strip>span svg{width:25px}.connection-strip .surface-property{padding-left:10px;font-size:10px}.game-panel{padding:25px 19px}.game-panel>h2{font-size:27px}.player-status{gap:8px;padding:10px}.player-stone{flex-basis:41px;width:41px;height:41px}.status-copy strong{font-size:14px}.status-copy>span{font-size:11px}.move-count{padding-left:9px;font-size:11px}.move-count b{font-size:15px}.game-panel h3{font-size:17px}.game-actions{gap:10px}.game-actions button{font-size:14px}.connection-description p,.demo-button{font-size:13px}}@media (width<=1020px){.header-poem{display:none}.workspace{grid-template-columns:minmax(0,1fr) 335px}.topology-nav{border-right:0;border-bottom:1px solid var(--line);grid-column:1/-1;padding:10px 20px}.nav-heading,.nav-foot,.topology-number{display:none}.topology-list{scrollbar-width:none;flex-direction:row;gap:5px;padding-bottom:3px;overflow-x:auto}.topology-list::-webkit-scrollbar{display:none}.topology-choice{flex-shrink:0;gap:9px;width:auto;min-height:59px;padding:6px 12px}.topology-choice.selected:before{width:calc(100% - 24px);height:2px;box-shadow:none;border-radius:3px;top:auto;bottom:0;left:12px}.topology-label{gap:3px}.topology-label strong{font-size:13px}.topology-choice svg{flex-basis:30px;width:30px}.game-stage{min-height:695px;padding-left:22px;padding-right:22px}.stage-heading{gap:16px}.stage-heading h1{font-size:36px}.stage-heading h1>span{font-size:21px}.stage-heading p{max-width:80%}.playing-surface{min-height:345px}.scene-toolbar{gap:5px}.scene-toolbar button{padding:8px;font-size:11px}.scene-toolbar button svg{width:15px}.connection-strip .surface-property{display:none}.mobile-offering{align-items:center;gap:15px;padding-top:20px;display:flex}.mobile-offering img{object-fit:contain;width:115px;height:115px;-webkit-mask-image:radial-gradient(75% 72% at 50% 53%,#000 52%,#0000 86%);mask-image:radial-gradient(75% 72% at 50% 53%,#000 52%,#0000 86%)}.mobile-offering p{font:13px/1.8 var(--serif);color:var(--gold)}}@media (width<=760px){.app-header{gap:10px;height:70px;padding:0 16px}.brand{gap:9px}.brand-moon{flex-basis:44px;width:44px;height:44px}.brand strong{letter-spacing:4px;font-size:24px}.brand small{letter-spacing:1px;font-size:9px}.header-actions{gap:6px}.header-divider{display:none}.rules-button{font-size:12px}.header-actions .icon-button{padding:3px}.header-actions svg{width:18px}.music-toggle{padding:8px;position:relative}.music-toggle>span{display:none}.music-toggle i{width:4px;height:4px;position:absolute;top:5px;right:4px}.music-settings{width:21px}.music-panel{right:-8px}.workspace{flex-direction:column;display:flex}.topology-nav{padding:9px 12px 6px}.topology-list{gap:4px}.topology-choice{min-height:56px;padding:5px 10px}.topology-choice svg{flex-basis:27px;width:27px}.game-stage{background-position:80% 0;min-height:auto;padding:24px 22px 27px}.stage-heading{gap:15px}.stage-heading h1{column-gap:14px;max-width:285px;font-size:37px}.stage-heading h1>span{font-size:21px}.stage-heading p{letter-spacing:0;max-width:74%;font-size:12px;line-height:1.7}.view-control button{padding:7px 15px;font-size:12px}.mobile-turn{color:#e1c997;align-items:center;gap:7px;margin-top:15px;font-size:12px;display:flex}.mobile-turn>span{border:1px solid #ab8c55;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 2px #0006}.mobile-turn>.black{background:#233736}.mobile-turn>.white{background:#f3e5c9}.mobile-turn small{color:#b3c0ca;margin-left:3px;font-size:11px}.playing-surface{height:84vw;min-height:320px;max-height:490px;margin:0 -21px}.scene-toolbar{gap:5px;width:100%;max-width:400px}.scene-toolbar button{gap:5px;padding:9px 7px;font-size:11px}.scene-toolbar button svg{width:14px}.switch{width:25px;height:16px;padding:2px}.switch:after{width:12px;height:12px}.switch.on:after{transform:translate(9px)}.scene-instruction{letter-spacing:0;margin-top:14px;font-size:11px}.connection-strip{max-width:410px;min-height:48px;margin-top:18px}.connection-strip>span{font-size:12px}.game-panel{border-top:1px solid #8b785180;border-left:0;padding:28px max(22px,50vw - 235px) 26px}.game-panel>h2{font-size:28px}.player-status{padding:13px 11px}.status-copy strong{font-size:16px}.status-copy>span{font-size:12px}.player-stone{flex-basis:44px;width:44px;height:44px}.move-count{font-size:12px}.board-panel-heading{margin-top:24px}.game-panel h3{font-size:19px}.board-hint{margin-top:0}.game-actions{margin-top:23px}.game-actions button{font-size:16px}.connection-description p{font-size:14px}.main-flat-board{max-width:420px;padding:3px}.flat-view{padding:18px 21px}.demo-label{font-size:10px;top:5px}.mobile-offering{justify-content:center;padding-top:25px}.mobile-offering img{width:130px;height:130px}.mobile-offering p{letter-spacing:1px;max-width:140px;font-size:14px}.modal{max-height:89svh;padding:21px}.modal-heading h2{font-size:22px}.rules-basics{grid-template-columns:1fr;gap:17px;margin:22px 0}.rules-basics section{grid-template-columns:26px 1fr;column-gap:12px;display:grid}.rules-basics h3{margin-top:2px}.rules-basics p{grid-column:2}}@media (width>=1021px) and (height<=820px){.app-header{height:64px}.brand strong{font-size:25px}.brand svg{height:43px}.workspace{min-height:calc(100svh - 64px)}.topology-nav{padding-top:17px;padding-bottom:15px}.nav-heading{margin-bottom:6px;padding-bottom:11px}.nav-heading h2{font-size:23px}.nav-heading>span{font-size:28px}.topology-list{gap:2px}.topology-choice{min-height:56px;padding-top:5px;padding-bottom:5px}.topology-label strong{font-size:15px}.topology-label>span{font-size:11px}.topology-choice svg{height:35px}.nav-foot{padding-top:9px}.nav-foot img{max-height:116px}.nav-foot p{letter-spacing:2px;font-size:12px;line-height:1.65}.game-stage{min-height:calc(100svh - 64px);padding-top:22px;padding-bottom:22px}.stage-heading{gap:12px}.stage-heading h1{font-size:38px}.stage-heading h1>span{font-size:25px}.stage-heading p{margin-top:5px;font-size:13px}.view-control button{padding:6px 14px;font-size:12px}.playing-surface{min-height:274px}.scene-toolbar button{padding:8px 11px;font-size:12px}.scene-instruction{margin-top:12px;font-size:11px}.connection-strip{min-height:45px;margin-top:17px}.connection-strip>span{font-size:12px}.connection-strip .surface-property{font-size:11px}.game-panel{padding-top:20px;padding-bottom:20px}.game-panel>h2{margin-bottom:12px;font-size:25px}.mode-control button{padding:6px;font-size:14px}.player-status{min-height:60px;margin-top:12px;padding:9px}.player-stone{flex-basis:39px;width:39px;height:39px}.status-copy strong{font-size:14px}.status-copy>span,.move-count{font-size:11px}.board-panel-heading{margin-top:17px;margin-bottom:6px}.game-panel h3{font-size:16px}.game-panel>.board-2d{max-width:254px;margin:auto}.board-hint{display:none}.game-actions{margin-top:13px}.game-actions button{min-height:41px;padding:8px;font-size:14px}.connection-description{margin-top:17px;padding-top:14px}.connection-description p{display:none}.connection-description .demo-button{gap:8px;margin-top:10px;padding:7px 12px;font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important}}
