:root{font-family:Segoe UI,Arial,sans-serif;color:#eeeae5;background:#302e2b;--accent:#91bd58;--light:#eeeed2;--dark:#769656;--line:#ffffff10}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.38;cursor:default}button,input,select{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c2e58a;outline-offset:3px}button:not(.sq),select,input{transition:background .18s,transform .18s,box-shadow .18s}button:not(.sq):not(:disabled):hover{filter:brightness(1.12)}button:not(.sq):not(:disabled):active{transform:translateY(1px)}[hidden]{display:none!important}.rail{position:fixed;inset:0 auto 0 0;width:196px;background:#252420;padding:29px 16px;border-right:1px solid #ffffff05;z-index:10}.brand{display:flex;align-items:center;color:#fff;text-decoration:none;font-weight:850;font-size:38px;letter-spacing:-2px;padding:0 9px}.brand>span:first-child{color:var(--accent);font-size:44px;line-height:1;margin-right:8px}.brand .brand-dot{color:var(--accent)}.rail-caption{font-size:8px;letter-spacing:2px;color:#77786e;margin:30px 12px 16px}.nav{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;border-radius:11px;padding:14px 12px;font-weight:650;font-size:13px;text-align:left;color:#b9b8ae;margin:5px 0}.nav>span{font-size:23px;color:#a9a89d;width:24px;text-align:center}.nav.active{background:#3b4330;color:#e3f2d0}.nav.active>span{color:#abd474}.rail-foot{position:absolute;bottom:24px;left:22px;right:16px}.rail-foot button{background:none;border:0;padding:8px 0;color:#aba99d;font-size:14px}.rail-foot button span{font-size:11px;margin-left:8px}.local-note{color:#a8aa9b;font-size:10px;margin:15px 0}.local-note i,.local-badge i{display:inline-block;background:var(--accent);width:6px;height:6px;border-radius:50%;margin-right:6px}.rail-foot small{font-size:7px;letter-spacing:1.5px;color:#727367}main{margin-left:196px;padding:24px 30px 16px;max-width:1690px}.topbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 21px}.eyebrow{font-size:8px;color:#a9b88e;letter-spacing:2px}h1{font-size:25px;letter-spacing:-.7px;margin:5px 0 0;font-weight:750}.topbar-right{display:flex;align-items:center;gap:12px}.local-badge{background:#282b23;border:1px solid #a9c87925;border-radius:20px;padding:9px 12px;color:#b7c4a6;font-size:10px}.icon-button{border:1px solid #ffffff10;border-radius:11px;background:#3b3934;font-size:20px;width:37px;height:37px;display:grid;place-items:center}.workspace{display:grid;grid-template-columns:minmax(0,730px) minmax(340px,410px);gap:30px;justify-content:center;align-items:start}.game{width:100%;max-width:calc(100dvh - 203px);min-width:0;justify-self:center}.player{display:flex;align-items:center;gap:10px;min-height:54px;padding:0 2px 10px}.player:has(.human){padding:10px 2px 0}.avatar{width:41px;height:41px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;font-size:23px;font-weight:800;background:#45433c;color:#a6a497}.avatar.human{background:#a7bf7a;color:#26321b;font-size:20px}.avatar.milo,.bot-face.milo{background:#e4bb80;color:#64431f}.avatar.nova,.bot-face.nova{background:#8bb4bd;color:#213f4d}.avatar.atlas,.bot-face.atlas{background:#a895c6;color:#453059}.player-copy{min-width:0}.player strong{font-size:13px}.player small{font-size:10px;color:#b3afa4;display:block;margin-top:4px}.player-badge{margin-left:auto;color:#a5a396;font-size:8px;letter-spacing:1px;padding:5px 7px;border:1px solid #ffffff10;border-radius:6px}.turn-dot{display:none;background:#a7d377;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #a7d37712}.player.turn .turn-dot{display:block}.captured{height:0;font-family:Segoe UI Symbol,serif;color:#c9c5b9;font-size:14px;letter-spacing:-3px}.captured:not(:empty){height:15px;margin-top:2px}.board-wrap{position:relative}.board{display:grid;grid-template-columns:repeat(8,1fr);width:100%;aspect-ratio:1;container-type:inline-size;border-radius:7px;overflow:hidden;box-shadow:0 9px 25px #0003;isolation:isolate}.sq{aspect-ratio:1;position:relative;display:grid;place-items:center;min-width:0;border:0;padding:0;border-radius:0;background:var(--light);touch-action:manipulation;overflow:hidden}.sq.dark{background:var(--dark)}.sq.last:before{content:'';position:absolute;inset:0;background:#f3e53e4d}.sq.selected{box-shadow:inset 0 0 0 4px #f4d75d;background:#d6d569}.sq.target:after{content:'';position:absolute;width:27%;height:27%;border-radius:50%;background:#1e331943;z-index:3;pointer-events:none}.sq.capture:after{width:90%;height:90%;background:none;border:5px solid #14271155}.sq.check{background:radial-gradient(#e35a4a,#c88055)}.sq:focus-visible{outline-offset:-4px;z-index:4}.piece{display:grid;place-items:center;width:95%;height:95%;z-index:1;pointer-events:none;filter:drop-shadow(0 2px 1px #0004)}.piece svg{width:100%;height:100%;overflow:visible}.piece.white{--fill:#f9f7ee;--stroke:#4e4a42;--detail:#9b978b}.piece.black{--fill:#55524d;--stroke:#24231f;--detail:#999487}.piece svg{fill:var(--fill);stroke:var(--stroke);stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.piece svg .detail{fill:none;stroke:var(--detail);stroke-width:1.3}.piece svg .eye{fill:var(--stroke);stroke:none}.coord{position:absolute;left:4px;top:3px;font-size:10px;font-weight:700;color:var(--dark);z-index:4;pointer-events:none}.dark .coord{color:var(--light)}.coord.file{left:auto;top:auto;bottom:2px;right:4px}.modern .piece,.minimal .piece{width:78%;height:78%;font-family:Georgia,serif;font-size:6cqi;font-weight:bold}.modern .piece{border-radius:50%;background:var(--fill);color:var(--stroke);border:2px solid var(--stroke);box-shadow:inset 0 2px #fff5,0 3px 2px #0003}.minimal .piece{color:var(--fill);-webkit-text-stroke:.7px var(--stroke);filter:none}.board-label{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);padding:11px 15px;border-radius:30px;white-space:nowrap;background:#252820eb;box-shadow:0 4px 15px #0003;font-size:11px;color:#e2e7d6;pointer-events:none;z-index:5}.board-label span{color:var(--accent);margin-left:8px}.board-toolbar{margin-top:14px;display:flex;align-items:center;gap:8px;justify-content:space-between}.board-toolbar>div{display:flex;gap:4px}.board-toolbar button{background:#282722;border:1px solid #ffffff0c;border-radius:9px;font-size:19px;padding:6px 9px;color:#c9c7ba}.board-toolbar button span{font-size:10px;vertical-align:2px;margin-left:4px}#boardStatus{font-size:10px;color:#c3c5b6;text-align:right}.side-panel{min-width:0}.setup-panel,.match-panel{background:#262522;border:1px solid #ffffff06;border-radius:15px;overflow:hidden;box-shadow:0 8px 24px #00000012}.panel-heading{display:flex;align-items:center;gap:15px;justify-content:center;padding:27px 20px 25px;background:#22211e;border-bottom:1px solid var(--line)}h2{margin:0;font-size:27px;letter-spacing:-.5px;font-weight:800}.panel-heading p{font-size:11px;color:#a8a598;margin:7px 0 0}.heading-icon{font-size:42px;color:#b6d591}.setup-body{padding:24px}.step-caption{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:700;letter-spacing:1.4px;color:#9d9b8e;margin-bottom:17px}.step-caption>span{font-size:8px;color:#c1d5a5;border:1px solid #71865b;border-radius:5px;padding:3px 5px;letter-spacing:0}.mode-choices{display:grid;gap:11px}.mode-tile{display:flex;gap:14px;align-items:center;background:linear-gradient(#3a3933,#33322d);border:1px solid #ffffff09;border-bottom:3px solid #1c1c18;border-radius:13px;width:100%;text-align:left;padding:19px 15px;min-height:94px}.mode-tile:hover{border-color:#88ac5266;background:linear-gradient(#414437,#353b2e)}.mode-icon{flex-shrink:0;display:grid;place-items:center;width:48px;height:48px;font-size:34px;border-radius:13px}.mode-icon.robot{color:#a0c5d8;background:#8fb7cd15}.mode-icon.coach{color:#e3c17c;background:#e3c17c15}.mode-icon.friends{color:#abd485;background:#a8cd7c15;font-size:27px;letter-spacing:-7px;padding-right:6px}.mode-icon.network{color:#ad9bd3;background:#ad9bd315}.mode-tile strong{font-size:16px;font-weight:750;letter-spacing:-.3px;display:block}.mode-tile small{display:block;font-size:10px;color:#b9b5a8;margin-top:6px;line-height:1.5}.mode-tile>b{font-size:24px;color:#838574;margin-left:auto;font-weight:400}.setup-tip{display:flex;align-items:center;justify-content:center;gap:12px;margin:25px 0 0}.setup-tip>span{font-size:26px;color:#99ad78}.setup-tip p{font-size:11px;color:#9c9b8e;line-height:1.8;margin:0}.setup-tip strong{color:#cbc9bb;font-weight:500}.panel-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:15px 20px;font-size:9px;color:#9a9b8b}.panel-bottom button{border:0;background:none;color:#c0c9ab;font-size:9px;padding:0}.back-button{font-size:11px;border:0;background:none;padding:0;color:#afae9e;margin:0 0 20px}.chosen-mode{display:flex;gap:12px;align-items:center;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.chosen-mode strong{font-size:17px}.chosen-mode small{display:block;font-size:11px;color:#aaa698;margin-top:6px}.difficulty-choices{display:grid;gap:8px}.difficulty-choices>button{display:flex;align-items:center;gap:12px;padding:12px;width:100%;border:1px solid #ffffff0b;border-radius:11px;text-align:left;background:#33322d}.difficulty-choices>button.chosen{border-color:#9bc363;background:#3b4430;box-shadow:inset 0 0 0 1px #9bc363}.bot-face{display:grid;place-items:center;font-size:21px;font-weight:800;width:40px;height:40px;border-radius:12px;flex-shrink:0}.difficulty-choices strong{font-size:14px}.difficulty-choices small{display:block;font-size:10px;color:#c0bcae;margin-top:4px}.level-bars{font-size:17px;letter-spacing:1px;margin-left:auto;color:#a3c875}.muted{font-size:11px;line-height:1.7;color:#b2ad9e}.side-caption{margin-top:20px;margin-bottom:10px}.segments{display:flex;background:#1d1e19;border-radius:11px;padding:4px;gap:4px}.segments button{border:0;background:none;flex:1;border-radius:8px;padding:10px 4px;font-size:12px;color:#aaa999}.segments button.chosen{background:#48563a;color:#e3f0d0}.primary{display:block;width:100%;border:0;border-radius:11px;background:linear-gradient(#a4cd6a,#85b349);box-shadow:0 4px 0 #567c2e,0 6px 13px #0002;color:#fff;font-weight:800;text-shadow:0 1px #0003;font-size:17px;padding:15px 19px;text-align:center}.primary>span{float:right;font-size:20px}.secondary{border:1px solid #ffffff13;border-radius:9px;background:#3a3932;color:#c8c5b7;padding:11px 13px;font-weight:600;font-size:11px}.lock-note{font-size:9px;color:#989b88;text-align:center;margin:15px 0 0}#startArea{margin-top:24px}.local-explainer{text-align:center;padding:20px 4px}.local-explainer>span{font-size:50px;color:#c9d6b4}.local-explainer h3{font-size:19px}.local-explainer p{font-size:12px;line-height:1.8;color:#b3b09f}.or-divider{font-size:10px;color:#a19f8f;text-align:center;margin:24px 0}label{display:block;font-size:9px;font-weight:700;letter-spacing:1.3px;color:#b9b6a5;margin:20px 0 10px}input,select{width:100%;min-width:0;background:#20221b;border:1px solid #ffffff20;border-radius:10px;padding:13px;color:#efecdf;font-size:13px}.room-input{display:flex;gap:8px}.error{color:#e5a090;font-size:11px;line-height:1.5}.under-panel{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px 10px;color:#8c8e7d}.under-panel>span{font-size:26px}.under-panel p{margin:0;font-size:10px;line-height:1.8}.under-panel strong{font-weight:400;color:#abae9b}.match-heading{display:flex;align-items:center;gap:11px;padding:22px 19px;background:#22221d;border-bottom:1px solid var(--line)}.match-heading h2{font-size:22px;margin-top:5px}.match-heading p{font-size:11px;color:#afad9c;margin:7px 0 0}.fixed-badge{margin-left:auto;font-size:7px;color:#b3ca97;border:1px solid #69805155;border-radius:20px;padding:5px 7px;white-space:nowrap}.match-status{padding:19px 22px;display:grid;grid-template-columns:8px 1fr;column-gap:10px;align-items:center;border-bottom:1px solid var(--line)}#statusDot{width:8px;height:8px;border-radius:50%;background:#aacd7c}.match-status strong{font-size:15px}.match-status small{grid-column:2;font-size:10px;margin-top:7px;color:#a8a996}.moves-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 14px}.moves-heading h3{font-size:13px;margin:0}.moves-heading>span{font-size:8px;letter-spacing:1px;color:#8c917d}.history-head,.move-row{display:grid;grid-template-columns:36px 1fr 1fr;padding:10px 22px}.history-head{font-size:9px;color:#9da18c;background:#21231c;letter-spacing:1px}.history{height:220px;overflow:auto;scrollbar-color:#595d4c #252820;scrollbar-width:thin}.move-row{font-size:14px}.move-row:nth-child(even){background:#ffffff04}.move-row>span:first-child{color:#8b917b;font-size:11px;align-self:center}.move-row:last-child{background:#88aa4930}.empty-history{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:9px;color:#919580;text-align:center}.empty-history>span{font-size:37px;color:#6f795d}.empty-history strong{font-size:11px;font-weight:500}.empty-history small{font-size:10px;color:#777f68}.evaluation{display:flex;gap:10px;align-items:center;padding:17px 22px;border-top:1px solid var(--line)}.evaluation>span{font-size:7px;letter-spacing:1px;color:#949a81}.evaluation>div{height:7px;border-radius:10px;overflow:hidden;background:#171c13;flex:1}.evaluation i{display:block;width:50%;height:100%;background:#cbd8b7;transition:width .3s}.evaluation strong{font-size:9px;font-weight:500;min-width:70px;text-align:right;color:#bfc8ac}.match-actions{display:flex;gap:8px;padding:3px 22px 0}.match-actions button{flex:1}.match-lock{text-align:center;padding:0 15px 12px;color:#777f67;font-size:8px;margin:12px 0 0}.coach-panel{margin:17px 18px 0;padding:16px;border-radius:12px;background:#39452b;border:1px solid #aecb7930}.coach-panel>div{display:flex;gap:8px;align-items:center}.coach-panel>div>span:first-child{font-size:22px;color:#d6de9d}.coach-panel h3{margin:0;font-size:13px}.mini-tag{font-size:7px;color:#c6d4a8;border:1px solid #c6d4a844;border-radius:20px;padding:3px 6px;margin-left:auto}.coach-panel p{font-size:12px;line-height:1.7;color:#d3d8c3}.text-button{background:none;border:0;padding:0;color:#bed98f;font-size:11px}.room-info{margin:17px 20px;padding:15px;background:#323b29;border:1px dashed #819e5955;border-radius:11px;display:grid;grid-template-columns:1fr auto;gap:10px}.room-info>span{font-size:8px;letter-spacing:1px;color:#acb49a}.room-info strong{grid-column:1;font-family:monospace;font-size:23px;letter-spacing:4px;color:#dfebc9}.room-info button{grid-column:2;grid-row:2}.room-info small{grid-column:1/-1;font-size:10px;color:#b5bd9f}.result-panel{text-align:center;padding:20px 22px;background:#3f4c2e;border-top:1px solid #9dbf6344}.result-panel>span{font-size:30px;color:#d4e7b3}.result-panel h3{margin:7px 0;font-size:23px}.result-panel p{font-size:12px;color:#c5d4b1}.result-panel .primary{margin:18px 0 8px}.result-panel~.match-actions{padding-top:18px}footer{border-top:1px solid #ffffff0b;display:flex;justify-content:space-between;padding-top:15px;margin-top:26px;font-size:8px;color:#7f8470;letter-spacing:1px}footer b{color:var(--accent);margin:0 6px}footer span:last-child{letter-spacing:0}dialog{color:#eeeae0;border:1px solid #a2b47d44;border-radius:20px;background:#302f28;padding:27px;box-shadow:0 25px 100px #0009;max-width:480px;width:calc(100% - 32px)}dialog::backdrop{background:#15190fd4;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.dialog-heading h2{font-size:26px;margin-top:8px}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.theme-grid button{border:1px solid #ffffff15;border-radius:11px;background:#262820;padding:8px}.theme-grid i{display:block;aspect-ratio:1;border-radius:6px;background:conic-gradient(var(--a) 25%,var(--b) 0 50%,var(--a) 0 75%,var(--b) 0)}.theme-grid span{display:block;font-size:10px;margin-top:8px;color:#bdbfae}.theme-grid .chosen{border:2px solid #9bc56c;padding:7px}.dialog-heading+.primary{margin-top:18px}#doneDesign{margin-top:25px}#confirmDialog{text-align:center;max-width:400px}#confirmDialog h2{font-size:25px}#confirmDialog p{color:#babda7;font-size:13px;line-height:1.7}.confirm-icon{display:block;font-size:47px;color:#b6ce8e;margin-bottom:15px}.confirm-buttons{display:flex;gap:10px;margin-top:25px}.confirm-buttons button{flex:1;padding:13px 10px;font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#151e0f;border:1px solid #93bc5b66;color:#e3eed3;padding:13px 20px;font-size:12px;border-radius:30px;z-index:99;box-shadow:0 8px 25px #0005}#promotionChoices{display:flex;gap:8px;margin-top:20px}#promotionChoices button{flex:1;background:#7d9857;border:0;border-radius:12px;aspect-ratio:1}#promotionChoices svg{width:100%;height:100%;fill:#f9f6ed;stroke:#403e32;stroke-width:1.6}.thinking #statusDot{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}@media(min-width:1500px){main{padding-left:45px;padding-right:45px}.workspace{gap:38px;grid-template-columns:minmax(0,800px) 435px}.game{max-width:calc(100dvh - 205px)}.mode-tile{min-height:105px}.mode-tile strong{font-size:18px}.mode-tile small{font-size:11px}.setup-body{padding:27px}}@media(max-width:1180px){.rail{width:76px;padding:23px 10px}.brand{font-size:0;padding:0;justify-content:center}.brand>span:first-child{margin:0;font-size:42px}.brand-dot,.rail-caption,.rail-foot,.nav{font-size:0}.nav{padding:13px;justify-content:center}.nav>span{font-size:24px}.rail-foot .local-note,.rail-foot small{display:none}.rail-foot button span{display:none}.rail-foot button{font-size:23px}main{margin-left:76px;padding:22px}.workspace{gap:22px;grid-template-columns:minmax(0,1fr) 335px}.game{max-width:100%}.setup-body{padding:19px}.mode-tile{padding:16px 12px;gap:10px}.mode-tile strong{font-size:14px}.mode-tile small{font-size:10px}.mode-icon{width:40px;height:43px;font-size:29px}.panel-heading h2{font-size:25px}.board-toolbar button span{display:none}.board-label{font-size:9px;padding:10px 12px}.match-heading h2{font-size:20px}}@media(max-width:820px){.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:16px}main{padding:18px 15px}.topbar h1{font-size:21px}.local-badge{display:none}.mode-tile{min-height:85px;padding:13px 9px;gap:8px}.mode-tile strong{font-size:13px}.mode-tile small{font-size:9px}.setup-body{padding:16px}.mode-icon{width:34px}.mode-tile>b{display:none}.player small{font-size:9px}.player-badge{font-size:7px}.board-toolbar{flex-wrap:wrap}.board-label{white-space:normal;text-align:center;width:80%;bottom:12px}.match-heading{padding:18px 14px}.match-heading h2{font-size:18px}.fixed-badge{font-size:6px}.match-status{padding:16px}.match-status strong{font-size:13px}}@media(max-width:680px){.rail{position:static;width:100%;height:64px;padding:10px 16px;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line)}.brand{font-size:30px;margin-right:auto}.brand>span:first-child{font-size:37px;margin-right:5px}.brand-dot{font-size:30px}.nav{width:auto;margin:0;padding:9px}.nav>span{font-size:21px}.rail-foot{display:none}main{margin:0;padding:18px 14px}.topbar{margin-bottom:16px}.topbar h1{font-size:23px}.workspace{grid-template-columns:1fr;gap:20px}.game{max-width:540px}.side-panel{width:100%;max-width:540px;justify-self:center}.mode-tile{padding:16px;min-height:87px;gap:16px}.mode-tile strong{font-size:16px}.mode-tile small{font-size:11px}.mode-icon{width:45px;height:45px}.setup-body{padding:22px}.board-label{font-size:11px;width:auto;white-space:nowrap}.board-toolbar button span{display:inline}.player-badge{font-size:8px}.history{height:170px}.setup-panel .panel-heading{padding:22px}.under-panel{display:none}footer{margin-top:22px}footer span:last-child{display:none}.board-toolbar{flex-wrap:nowrap}.board-toolbar button{padding:5px 7px}.board-toolbar button span{font-size:9px}#boardStatus{font-size:9px}.player{min-height:53px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(max-width:680px){.choosing .side-panel{order:-1}.choosing .game{margin-top:7px}.board-label{display:none}.board-toolbar button span{display:none}.board-toolbar button{min-width:37px}.board-toolbar>div{flex-shrink:0}.board-toolbar{justify-content:space-between}.board-toolbar #boardStatus{max-width:45%}}
/* Edition 04: a quieter club interface, sculpted figures and per-move coaching. */
:root{--accent:#98c65b;background:#2b2926}body{background:radial-gradient(ellipse at 55% -30%,#4c4b3f44,transparent 65%),#2b2926}.rail{background:#211f1d}.topbar{padding-bottom:16px;border-bottom:1px solid #ffffff08;margin-bottom:22px}.topbar h1{font-size:26px;font-weight:750;letter-spacing:-.8px}.workspace{gap:28px}.setup-panel,.match-panel{background:#24231f;border-radius:18px;border-color:#ffffff09;box-shadow:0 14px 35px #0002}.panel-heading{background:linear-gradient(145deg,#2e3026,#211f1b);padding:28px 20px}.panel-heading h2{font-size:29px}.mode-tile{border-radius:14px;background:linear-gradient(125deg,#3b3b33,#302f2a);padding:21px 16px;border-top:1px solid #ffffff0d;box-shadow:0 3px 9px #0001}.mode-icon{border-radius:14px}.mode-tile:hover{background:linear-gradient(125deg,#48503a,#343c2c)}.mode-tile strong{font-size:16px}.primary{background:linear-gradient(#a6d46c,#81ad42);border-radius:12px;box-shadow:0 4px 0 #53782c,0 9px 20px #81b74318}.player{min-height:58px}.avatar{border-radius:12px;border:1px solid #ffffff13;box-shadow:0 2px 6px #0002}.player strong{font-size:14px}.board-wrap{padding:6px;background:linear-gradient(145deg,#4c4a3e,#26251f);border-radius:12px;box-shadow:0 16px 38px #0004,0 0 0 1px #ffffff0c}.board{border-radius:5px;box-shadow:inset 0 1px 6px #0003}.sq:before{pointer-events:none}.piece{width:99%;height:99%;filter:drop-shadow(0 2px 1px #0005)}.piece.white{--piece-high:#fffef6;--piece-low:#d8d5c9;--stroke:#585347;--detail:#aca695}.piece.black{--piece-high:#77746c;--piece-low:#353630;--stroke:#24251f;--detail:#96948a}.piece svg{stroke-width:1.6}.piece svg .detail{stroke-width:1.1;opacity:.8}.coord{font-size:11px;left:4px;top:2px}.sq.selected{background:#cbd26b;box-shadow:inset 0 0 0 3px #eff085}.sq.last:before{background:#f4e95955}.board-toolbar{padding:11px 0 0;margin-top:10px;border-top:1px solid #ffffff0a}.board-toolbar button{background:#23241e;border-radius:10px;border-color:#ffffff0a}.match-heading{background:linear-gradient(120deg,#30372a,#22241e);padding:24px 20px}.match-status{background:#2b2e24}.match-status small{line-height:1.5}.history{background:#23241e}.history-head{background:#1d2019}.move-row:last-child{background:#8ab14f24}.evaluation{background:#23261e}.coach-panel{background:linear-gradient(135deg,#3d4b2d,#2c3925);border-color:#a8ce7633;padding:17px}.coach-verdict{font-size:15px;font-weight:750;line-height:1.4;padding:10px 11px;margin-top:12px;border-radius:9px}.coach-verdict.positive{background:#97c6531c;border:1px solid #96c85440;color:#c2e69b}.coach-verdict.negative{background:#e4714e1c;border:1px solid #e0866040;color:#ffd0ac}.coach-legend{display:flex;flex-wrap:wrap;gap:13px;font-size:10px;border-top:1px solid #ffffff12;margin-top:15px;padding-top:12px}.coach-legend .positive{color:#bfdc94}.coach-legend .negative{color:#efb499}.coach-legend small{display:block;width:100%;font-size:9px;color:#9ead8d;line-height:1.5}.move-badge{position:absolute;right:3px;top:3px;z-index:7;display:grid;place-items:center;width:31%;height:31%;border:2px solid #fff9;border-radius:50%;font-size:3cqi;font-weight:900;line-height:1;color:white;box-shadow:0 2px 6px #0005;pointer-events:none}.move-badge.positive{background:#72a637}.move-badge.negative{background:#d66845}.history-rating{display:inline-grid;place-items:center;border-radius:50%;width:18px;height:18px;font-size:12px;margin-left:9px;font-style:normal}.history-rating.positive{background:#88b44b25;color:#bddf8b}.history-rating.negative{background:#df744926;color:#f0a283}.mode-tile .mode-icon{font-size:33px}.coach-panel p{font-size:12px;line-height:1.8}.fixed-badge{background:#b5d48408}.difficulty-choices>button{padding:14px;border-radius:12px}.difficulty-choices>button.chosen{background:#3c4930}.local-badge{background:#31372a}.theme-grid button{border-radius:12px}.modern .piece,.minimal .piece{width:82%;height:82%}.modern .piece.white{--fill:#f6f3e5}.modern .piece.black{--fill:#40443a}#designDialog{background:linear-gradient(135deg,#35372c,#292a23)}
@media(max-width:1180px){.workspace{gap:20px}.mode-tile{padding:17px 12px}.mode-tile strong{font-size:14px}.piece{width:98%;height:98%}.topbar h1{font-size:24px}}@media(max-width:820px){.topbar h1{font-size:21px}.mode-tile strong{font-size:13px}.workspace{gap:16px}}@media(max-width:680px){.topbar h1{font-size:23px}.mode-tile strong{font-size:16px}.mode-tile{padding:18px 15px}.workspace{gap:22px}.board-wrap{padding:5px}.move-badge{right:2px;top:2px;border-width:1.5px}.coach-verdict{font-size:14px}.panel-heading h2{font-size:27px}}
.coach-panel>.coach-legend>span{font-size:10px!important}.coach-panel>.coach-verdict{display:block}.board[data-theme="walnut"] .sq{background-image:repeating-linear-gradient(92deg,#ffffff08 0 1px,transparent 1px 7px,#43290d09 8px 9px,transparent 10px 17px)}
/* Edition 05 — focused side panel and live board studio. */
:root{--panel:#252722;--muted:#a5ac99;--line:#ffffff0b}body{background:radial-gradient(ellipse at 65% 0,#41493833,transparent 65%),#292b26}.rail{background:#1e211c;border-color:#ffffff07}.nav.active{background:#38472c;box-shadow:inset 3px 0 #a6ce70}.brand{font-size:36px}.topbar{border-bottom:0;padding-bottom:4px;margin-bottom:20px}.topbar h1{font-size:27px;letter-spacing:-.9px}.workspace{grid-template-columns:minmax(0,760px) minmax(340px,400px);gap:32px}.game{max-width:calc(100dvh - 222px)}.side-panel{background:#20241d;border-radius:18px;padding:7px;border:1px solid #ffffff09;box-shadow:0 16px 45px #0002}.panel-tabs{display:flex;gap:5px;background:#171c15;border-radius:12px;padding:5px;margin-bottom:7px}.panel-tabs button{flex:1;border:0;background:none;color:#9da98f;border-radius:9px;padding:12px 8px;font-size:12px;font-weight:650}.panel-tabs button.selected{color:#e1edce;background:#3c4d2e;box-shadow:0 3px 8px #0002}.setup-panel,.match-panel{border:0;box-shadow:none;border-radius:12px;background:#282d23}.panel-heading{justify-content:flex-start;background:linear-gradient(130deg,#36432a,#272e21);padding:24px}.panel-heading h2{font-size:29px}.panel-heading p{font-size:12px;color:#aebd9c}.heading-icon{color:#b1d77c;font-size:43px}.setup-body{padding:21px}.step-caption{font-size:9px;letter-spacing:1.2px;color:#99a78a;margin-bottom:15px}.mode-choices{gap:10px}.mode-tile{background:linear-gradient(120deg,#373f2f,#30372a);border:1px solid #c9dc9e10;border-bottom:2px solid #11180e66;border-radius:12px;min-height:94px;padding:17px 14px;gap:13px}.mode-tile:hover{border-color:#c1e19766;background:linear-gradient(120deg,#45553a,#34482d);box-shadow:0 6px 17px #0002;transform:translateY(-2px)}.mode-tile strong{font-size:16px;color:#eeeede;letter-spacing:-.25px}.mode-tile small{font-size:10px;color:#a9b99a;line-height:1.55}.mode-icon{width:43px;height:46px;border-radius:12px}.mode-tile>b{color:#91a77d}.setup-tip{justify-content:flex-start;margin-top:22px;padding:14px 3px 0;border-top:1px solid #ffffff09}.setup-tip p{font-size:11px;color:#91a280}.setup-tip strong{color:#c4d2b4}.panel-bottom{background:#23291e;padding:15px 20px;border-top-color:#ffffff08}.panel-bottom button{font-size:10px;color:#bed491}.under-panel{padding:16px 10px 10px}.under-panel p{font-size:9px}.match-heading{background:linear-gradient(120deg,#394b2c,#293424);padding:22px 18px;gap:12px}.match-heading h2{font-size:23px}.match-heading .eyebrow{font-size:7px;letter-spacing:1.7px}.match-heading p{font-size:11px;color:#b5c4a6}.fixed-badge{color:#b8d295;background:#2b3d20;border:1px solid #b1ca8e22;font-size:7px}.match-status{padding:18px;background:#303c27;border-bottom:1px solid #b2ce8a15}.match-status strong{font-size:15px}.match-status small{color:#aabf96;font-size:10px}.moves-heading{padding:18px 19px 12px}.moves-heading h3{font-size:12px;color:#cfdcc0}.history-head{padding:10px 19px;background:#20291b;color:#95aa83;font-size:8px}.history{height:170px;min-height:140px;background:#252e1f}.move-row{padding:11px 19px;font-size:14px}.move-row:nth-child(even){background:#ceddba05}.move-row:last-child{background:#a2c36d19}.empty-history strong{font-size:11px;color:#a9b999}.empty-history small{color:#7f946c}.evaluation{padding:15px 18px;background:#242d1e}.evaluation>div{height:6px}.evaluation strong{font-size:10px}.match-actions{padding:10px 17px 0;gap:8px}.match-actions .secondary{font-size:11px;background:#36422c;border-color:#b7c89515;border-radius:9px;padding:12px 9px}.match-lock{font-size:8px;color:#82986b;padding-bottom:13px}.coach-panel{margin:15px 14px 0;padding:15px;border-radius:12px;border-color:#afca8028;background:linear-gradient(140deg,#3e502f,#303e25)}.coach-panel>div:first-child{margin-bottom:5px}.coach-panel p{font-size:12px;line-height:1.8}.coach-verdict{padding:9px 10px;font-size:14px}.chosen-mode{padding-bottom:18px;margin-bottom:18px}.chosen-mode strong{font-size:16px}.chosen-mode small{color:#a2b393}.difficulty-choices>button{background:#313b29;padding:12px;border-color:#b5cc8c13}.difficulty-choices>button.chosen{background:#43572f;border-color:#a4d46b;box-shadow:inset 0 0 0 1px #a4d46b}.difficulty-choices small{font-size:10px;color:#b5c3a5}.muted{color:#a7b79a}.primary{background:linear-gradient(#aad96f,#86b64a);box-shadow:0 4px 0 #557b2e,0 7px 15px #0002;border-radius:10px}.secondary{background:#35402b}.segments{background:#1e2818}.segments .chosen{background:#4e6637}.board-wrap{background:linear-gradient(135deg,#555d46,#2c3526);padding:7px;border-radius:12px;box-shadow:0 20px 45px #0004,0 0 0 1px #b2c79218}.board{position:relative;border-radius:5px;overflow:hidden;isolation:isolate}.sq{overflow:visible}.sq:hover{box-shadow:inset 0 0 0 2px #fcffef22}.sq.selected{box-shadow:inset 0 0 0 3px #d9ec79}.sq.last:before{background:#e4e75b45}.piece{width:97%;height:97%}.piece.white{--piece-high:#fffdf1;--piece-low:#d9d9cd;--stroke:#4b5142;--detail:#a0a88c}.piece.black{--piece-high:#68735b;--piece-low:#303c2a;--stroke:#1d2719;--detail:#919f7e}.staunton .piece{width:100%;height:100%;filter:drop-shadow(0 3px 1px #0005)}.neo .piece svg{stroke-width:1.1}.neo .piece.white{--piece-high:#fff7e7;--piece-low:#f0e4cc;--stroke:#524b3b;--detail:#a8977d}.neo .piece.black{--piece-high:#414a4a;--piece-low:#212e30;--stroke:#101d20}.royal .piece.white{--piece-high:#fff0c3;--piece-low:#c9a966;--stroke:#665026;--detail:#94712e}.royal .piece.black{--piece-high:#75604c;--piece-low:#302523;--stroke:#1f1a16;--detail:#c7a365}.royal .piece svg{stroke-width:1.7}.glass .piece.white{--piece-high:#eeffff;--piece-low:#91c5d3;--stroke:#3e788e;--detail:#fff}.glass .piece.black{--piece-high:#80a7cf;--piece-low:#29426a;--stroke:#172e55;--detail:#b7d8ef}.glass .piece{filter:drop-shadow(0 2px 3px #08334d66)}.minimal .piece.white{--fill:#fff8e5;--stroke:#4b5142}.minimal .piece.black{--fill:#263c2c;--stroke:#263c2c}.board-toolbar{padding-top:10px;align-items:center;flex-wrap:wrap;gap:9px}.board-toolbar>div{gap:5px;flex-wrap:wrap}.board-toolbar button{border-radius:8px;background:#232b1d;border:1px solid #c5d7b012;padding:7px 10px;font-size:18px}.board-toolbar button[aria-pressed="true"]{background:#566f39;color:#e3f6c9;border-color:#b5d78b77}.board-toolbar button span{font-size:10px}.board-toolbar #boardStatus{font-size:10px;color:#b3c59f}.planning-overlay{position:absolute;inset:7px;width:calc(100% - 14px);height:calc(100% - 14px);z-index:12;pointer-events:none;overflow:visible}.planning-active .board,.planning-active .sq{cursor:crosshair;touch-action:none}.planning-active .board-wrap{box-shadow:0 0 0 2px #dcaf58,0 14px 35px #0004}.planning-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:13px 14px;background:#3d402b;border:1px solid #d2b66b33;border-radius:10px}.planning-tools strong{font-size:11px;color:#e0d7b7}.planning-tools small{display:block;font-size:9px;color:#b8b696;margin-top:5px}.plan-colors{display:flex;gap:7px}.plan-colors button{border:2px solid transparent;border-radius:50%;background:var(--plan-color);width:22px;height:22px;box-shadow:0 0 0 1px #0004}.plan-colors button[aria-pressed="true"]{border-color:#fff6dd;box-shadow:0 0 0 2px #101b0b}.capture-ghost{position:absolute;z-index:4;pointer-events:none;display:grid;place-items:center}.capture-ghost .piece{width:97%;height:97%}.studio-panel{background:#282e23;border-radius:12px;max-height:calc(100dvh - 168px);overflow:auto;scrollbar-width:thin;scrollbar-color:#6d8053 #282e23}.studio-heading{padding:23px 21px;background:linear-gradient(135deg,#3a482e,#2a3423)}.studio-heading h2{font-size:23px;line-height:1.2;margin:10px 0;max-width:250px}.studio-heading p{font-size:11px;color:#aec09a;line-height:1.7;margin:0}.studio-section{padding:20px;border-top:1px solid #ffffff08}.studio-section h3{font-size:13px;margin:0 0 14px;display:flex;justify-content:space-between;align-items:center;color:#e0e9d3}.studio-section h3>span{font-size:7px;letter-spacing:1px;font-weight:500;color:#93aa7d}.studio-themes{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.studio-themes button{position:relative;padding:5px 5px 8px;background:#20291a;border:1px solid #ffffff0a;border-radius:9px;min-width:0}.studio-themes i{display:block;aspect-ratio:1.2;border-radius:5px;background:conic-gradient(var(--a) 25%,var(--b) 0 50%,var(--a) 0 75%,var(--b) 0)}.studio-themes span{display:block;font-size:8px;margin-top:7px;color:#b9c7aa;white-space:nowrap}.studio-themes b{display:none;position:absolute;right:2px;top:2px;width:17px;height:17px;border-radius:50%;font-size:11px;background:#98c45d;color:#17220e}.studio-themes .chosen{border-color:#b6d98d;box-shadow:0 0 0 1px #b6d98d}.studio-themes .chosen b{display:grid;place-items:center}.studio-pieces{display:grid;grid-template-columns:1fr 1fr;gap:8px}.studio-pieces>button{position:relative;min-width:0;border-radius:10px;background:#20291a;border:1px solid #ffffff0b;padding:9px 8px 12px}.studio-pieces>button.chosen{background:#36492a;border-color:#b7db8b}.piece-preview{height:57px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.piece-preview .piece{width:33%;height:57px;min-width:0;filter:drop-shadow(0 2px 1px #0004)}.piece-preview.modern .piece,.piece-preview.minimal .piece{width:36px;height:36px;max-width:33%;font-size:23px;flex-shrink:0}.piece-preview.modern{gap:4px}.studio-pieces strong{font-size:11px;font-weight:500;color:#c4d5b3}.piece-selected{display:none;position:absolute;right:7px;top:5px;font-size:11px;color:#b6d58e}.chosen>.piece-selected{display:block}.planning-guide p{font-size:10px;line-height:1.7;color:#aaba98}.planning-guide button{width:100%;margin-top:6px;background:#3c4c2f}.animation-option{display:flex;align-items:center;gap:9px;letter-spacing:0;text-transform:none;font-size:12px}.animation-option input{width:17px;height:17px;accent-color:#a2c96b}.theme-grid{gap:8px;grid-template-columns:repeat(4,1fr)}#designDialog{max-height:85dvh;overflow:auto;background:#2b3423;scrollbar-width:thin}.theme-grid span{font-size:10px}.theme-grid i{aspect-ratio:1.4}.board[data-theme="coffee"] .sq,.board[data-theme="walnut"] .sq{background-image:repeating-linear-gradient(93deg,#ffffff09 0 1px,transparent 1px 7px,#49290d0a 8px 9px,transparent 10px 18px)}.board[data-theme="slate"] .sq{background-image:linear-gradient(130deg,#fff1,#00000005)}.board[data-theme="midnight"] .coord{color:#40566e}.board[data-theme="midnight"] .dark .coord{color:#b9c6d3}.board[data-theme="ice"] .sq{background-image:linear-gradient(135deg,#ffffff1a,transparent 70%)}.board-label{bottom:25px}.room-info{background:#2e3e23}.secondary:hover{border-color:#b7d28d55}.nav,.primary,.mode-tile,.panel-tabs button{transition:background .18s,transform .18s,box-shadow .18s}#clearPlans{font-size:18px}footer{margin-top:24px;color:#758866}.panel-bottom>span{color:#8c9e7d}.piece svg .eye{fill:var(--stroke)}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,820px) 430px;gap:38px}.game{max-width:calc(100dvh - 220px)}.mode-tile{min-height:102px}.mode-tile strong{font-size:17px}.side-panel{padding:8px}.setup-body{padding:25px}}
@media(max-width:1180px){.brand{font-size:0}.brand .brand-dot{font-size:0}.workspace{grid-template-columns:minmax(0,1fr) 335px;gap:22px}.game{max-width:100%}.topbar h1{font-size:24px}.setup-body{padding:17px}.mode-tile{padding:15px 11px;gap:11px;min-height:87px}.mode-tile strong{font-size:14px}.mode-tile small{font-size:9px}.mode-icon{width:36px;height:41px}.panel-heading{padding:22px 18px}.panel-heading h2{font-size:26px}.board-toolbar button span{display:none}.studio-section{padding:16px}.studio-themes span{font-size:7px}.match-heading h2{font-size:21px}.planning-tools{flex-wrap:wrap}.piece-preview{height:50px}.piece-preview .piece{height:50px}}
@media(max-width:820px){.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.topbar h1{font-size:21px}.mode-tile{gap:8px;padding:14px 9px}.mode-tile strong{font-size:13px}.mode-tile small{font-size:9px}.mode-icon{width:32px}.studio-themes{grid-template-columns:repeat(3,1fr)}.studio-themes span{font-size:8px}.panel-tabs button{font-size:11px}.match-heading{padding:18px 13px}.match-heading h2{font-size:18px}.board-toolbar button{padding:6px 8px}.match-status{padding:16px}.match-status strong{font-size:13px}}
@media(max-width:680px){.brand{font-size:29px}.brand .brand-dot{font-size:29px}.workspace{grid-template-columns:1fr;gap:22px}.game{max-width:540px}.side-panel{max-width:540px;padding:6px}.topbar h1{font-size:22px}.mode-tile{padding:17px 14px;gap:14px;min-height:90px}.mode-tile strong{font-size:16px}.mode-tile small{font-size:10px}.mode-icon{width:42px;height:44px}.setup-body{padding:20px}.studio-panel{max-height:none}.studio-themes{grid-template-columns:repeat(4,1fr)}.studio-pieces{grid-template-columns:repeat(3,1fr)}.piece-preview .piece{height:44px}.piece-preview{height:44px}.piece-preview.modern .piece,.piece-preview.minimal .piece{width:25px;height:25px;font-size:16px}.board-wrap{padding:5px}.planning-overlay{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px)}.board-toolbar{flex-wrap:wrap}.board-toolbar>div{flex-shrink:0}.board-toolbar button span{display:none}.board-toolbar #boardStatus{max-width:100%}.planning-tools{padding:11px}.theme-grid{grid-template-columns:repeat(4,1fr)}.studio-heading h2{max-width:none}.panel-heading h2{font-size:27px}.match-heading h2{font-size:23px}.history{height:170px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@keyframes panel-arrive{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.setup-panel,.match-panel,.studio-panel{animation:panel-arrive .22s ease-out}@media(prefers-reduced-motion:reduce){.setup-panel,.match-panel,.studio-panel{animation:none}}
/* Edition 06: a neutral, board-first chess club. */
:root{color:#f0efea;background:#302e2b;--accent:#9ac95f;--line:#ffffff0b}body{background:#302e2b}.rail{width:180px;background:#252420;padding:26px 13px;border-right:1px solid #0002}.brand{font-size:38px;font-weight:850;letter-spacing:-2px}.brand>span:first-child{font-size:45px}.rail-caption{color:#77796e;font-size:7px;letter-spacing:2px;margin-top:27px}.nav{color:#c5c2b8;font-size:13px;font-weight:700;border-radius:8px;padding:14px 12px;gap:11px}.nav.active{background:#3c3c34;box-shadow:inset 4px 0 #a5cd6c;color:#fff}.nav>span{font-size:25px}.nav:hover{background:#363630}.rail-foot{left:22px;bottom:24px}.local-note{color:#a7a99a}main{margin-left:180px;max-width:1780px;padding:23px 28px 18px}.topbar{margin-bottom:18px;padding-bottom:0;border:0}.topbar .eyebrow{font-size:8px;color:#a7ab96;letter-spacing:1.6px}.topbar h1{font-size:26px;font-weight:800;letter-spacing:-.6px;margin-top:4px}.topbar-right{gap:8px}.local-badge{background:#34372d;border-color:#81945c33;font-size:9px;color:#aebf94}.icon-button{background:#3b3933;border-color:#ffffff09;border-radius:8px;color:#c9c8bc;width:36px;height:36px}.workspace{grid-template-columns:minmax(0,800px) minmax(340px,420px);gap:28px;justify-content:start}.game{max-width:min(100%,calc(100dvh - 198px));justify-self:center}.side-panel{padding:0;background:#262522;border:1px solid #ffffff07;border-radius:11px;box-shadow:0 8px 22px #00000014;overflow:hidden}.panel-tabs{background:#211f1c;border:0;border-radius:0;padding:0;gap:0;margin:0}.panel-tabs button{border:0;border-radius:0;background:none;padding:16px 7px;font-size:12px;color:#aaa89a;box-shadow:none}.panel-tabs button.selected{background:#292824;color:#dfecd0;box-shadow:inset 0 -3px #a2c76b}.setup-panel,.match-panel{background:#292824;border-radius:0}.panel-heading{background:#23221f;padding:25px 23px;gap:12px;border-bottom:1px solid #ffffff09}.panel-heading h2{font-size:31px;letter-spacing:-.5px;font-weight:800}.panel-heading p{font-size:12px;color:#a7a697;margin-top:6px}.heading-icon{font-size:42px;color:#c2d5a4}.setup-body{padding:23px}.step-caption{color:#8e9480;font-size:8px;letter-spacing:1.5px;margin-bottom:17px}.step-caption>span{border-color:#677257;color:#a7bc88;background:#30352a}.mode-choices{gap:12px}.mode-tile{min-height:108px;background:linear-gradient(#3d3c36,#35342f);border:1px solid #ffffff09;border-bottom:3px solid #1b1b1733;border-radius:11px;padding:21px 16px;gap:16px;box-shadow:0 3px 7px #0001;transition:transform .17s,background .17s,border-color .17s}.mode-tile:hover{transform:translateY(-2px);background:linear-gradient(#48483d,#3b4033);border-color:#b9d18a55;box-shadow:0 6px 15px #0002}.mode-tile strong{font-size:18px;letter-spacing:-.4px;line-height:1.2;color:#fffdf5}.mode-tile small{font-size:11px;line-height:1.6;color:#b9b7a9;margin-top:6px}.mode-tile>b{font-size:25px;color:#898c79;margin-left:auto}.mode-icon{width:49px;height:49px;display:grid;place-items:center;border-radius:12px;flex-shrink:0;font-family:Segoe UI Emoji,Segoe UI Symbol,sans-serif}.mode-tile .mode-icon{font-size:35px;background:none;filter:drop-shadow(0 2px 1px #0003)}.mode-icon.robot{background:#8eb8d119;color:#b4d2e2}.mode-icon.coach{background:#dbb87817;color:#e8ca8f}.mode-icon.friends{letter-spacing:0;padding-right:0;background:#afc59017;color:#b3ce94}.mode-icon.network{background:#c0a1d315;color:#e1c176}.setup-tip{margin-top:22px;border-top:1px solid #ffffff09;padding:17px 0 0;gap:11px}.setup-tip>span{color:#9fae85;font-size:26px}.setup-tip p{font-size:11px;color:#939981}.setup-tip strong{font-weight:500;color:#c7ceba}.panel-bottom{padding:15px 20px;background:#24231f;border-top:1px solid #ffffff08}.panel-bottom>span{color:#949b84;font-size:9px}.panel-bottom button{font-size:10px;color:#bacb9b}.under-panel{border-top:1px solid #ffffff06;background:#24231f;padding:16px 14px}.under-panel>span{font-size:23px;color:#8c967b}.under-panel p{font-size:9px;color:#848e75}.under-panel strong{color:#aeb79e}.chosen-mode{padding-bottom:20px;border-bottom:1px solid #ffffff0d}.chosen-mode strong{font-size:18px;color:#e9eada}.chosen-mode small{color:#9da78e;font-size:11px}.difficulty-choices{gap:9px}.difficulty-choices>button{background:#34352d;border:1px solid #ffffff0b;border-radius:10px;padding:13px}.difficulty-choices>button.chosen{background:#3f4b32;border-color:#a3c96f;box-shadow:inset 0 0 0 1px #a3c96f}.difficulty-choices strong{font-size:15px}.difficulty-choices small{color:#b2bba3;font-size:10px}.bot-face{border-radius:10px;width:42px;height:42px}.level-bars{color:#a4c77a}.muted{color:#a8ad9b;font-size:11px;line-height:1.8}.segments{background:#21251b;border-radius:9px;padding:4px}.segments button{border-radius:6px;padding:11px 4px;font-size:12px}.segments button.chosen{background:#52633b;color:#e4efd7}.primary{background:linear-gradient(#a4d16b,#85b347);box-shadow:0 4px 0 #55782e,0 7px 14px #0002;border:0;border-radius:9px;padding:16px 18px;font-size:18px;font-weight:800;letter-spacing:-.1px;color:#fff;text-shadow:0 1px #0003}.primary:hover{background:linear-gradient(#b1dc7c,#95c45b)}.secondary{background:#3b3c32;border:1px solid #ffffff0b;color:#c9cebb;border-radius:8px}.secondary:hover{border-color:#a1b47755}.lock-note{font-size:9px;color:#8a957a;margin-top:17px}.player{min-height:49px;padding:0 1px 9px;gap:10px}.player:has(.human){padding:10px 1px 0}.avatar{width:39px;height:39px;border-radius:7px;border:1px solid #ffffff13;font-size:22px;box-shadow:0 2px 5px #0002}.avatar.human{background:#b4c988;color:#344722}.player strong{font-size:14px;font-weight:700}.player small{font-size:10px;color:#b4b4a4;margin-top:4px}.player-badge{border:0;color:#9aa38b;font-size:8px;letter-spacing:1px}.board-wrap{border:0;padding:0;background:none;border-radius:5px;box-shadow:0 12px 30px #0003}.board{border-radius:5px;box-shadow:0 0 0 1px #ffffff0a}.planning-overlay{inset:0;width:100%;height:100%}.board-label{display:none}.piece{width:100%;height:100%;filter:drop-shadow(0 2px 1px #0005)}.piece.white{--piece-high:#fffdf2;--piece-low:#dedbce;--stroke:#505047;--detail:#a9a594}.piece.black{--piece-high:#77766e;--piece-low:#3d3e37;--stroke:#272923;--detail:#a09f91}.board .coord{font-size:11px}.sq.last:before{background:#eef15455}.sq.selected{background:#d3db70;box-shadow:inset 0 0 0 3px #f4f3a1}.sq:hover{box-shadow:inset 0 0 0 2px #fff2}.board-toolbar{padding:10px 0 0;margin-top:9px;border-top:1px solid #ffffff0a;gap:8px}.board-toolbar>div{gap:4px}.board-toolbar button{border:1px solid #ffffff08;border-radius:7px;background:#282b22;padding:7px 9px;font-size:17px;color:#b3bea2}.board-toolbar button span{font-size:10px}.board-toolbar button[aria-pressed="true"]{background:#5d713d;color:#e9f1da;border-color:#accc7b66}.board-toolbar #boardStatus{font-size:10px;color:#b4c29f}.planning-tools{background:#414131;border-color:#c1ae6655;border-radius:8px;padding:12px}.match-heading{padding:21px 20px;background:#24251e;border-bottom:1px solid #ffffff0a}.match-heading h2{font-size:24px;color:#fffdf0}.match-heading p{color:#a8b294;font-size:11px}.fixed-badge{font-size:7px;padding:5px 7px;background:#303b24;border-color:#b4ce8d22;color:#abc789}.match-status{background:#30392a;border-bottom-color:#b5cd8f14;padding:18px 20px}.match-status strong{font-size:15px;color:#e0ebd2}.match-status small{font-size:10px;color:#a3b391}.coach-panel{margin:15px 15px 0;background:linear-gradient(130deg,#3d4a2e,#303d25);border-color:#a6c27633;border-radius:10px;padding:15px}.coach-panel h3{font-size:13px}.coach-panel p{font-size:12px;line-height:1.8;color:#cedbbd}.coach-verdict{font-size:14px;padding:10px;border-radius:7px}.coach-legend{gap:12px}.coach-legend small{font-size:8px}.moves-heading{padding:18px 20px 12px}.moves-heading h3{font-size:12px;color:#d0d7c2}.history-head{background:#21261b;padding:9px 20px;font-size:8px;letter-spacing:1px}.history{position:relative;background:#282c22;height:170px;min-height:130px;scrollbar-color:#606c4f #282c22}.move-row{padding:6px 17px;align-items:center;gap:5px;min-height:38px;grid-template-columns:31px 1fr 1fr}.move-row:nth-child(even){background:#ffffff03}.move-row:last-child{background:#9fc36c12}.history-move{cursor:pointer;border-radius:5px;padding:5px 7px;font-size:13px;color:#e0e4d5}.history-move:hover{background:#ffffff0b}.history-move.view-current{background:#a5c47935;box-shadow:inset 0 0 0 1px #b6d08d4d;color:#f4ffe7}.history-rating{font-size:11px;width:17px;height:17px;margin-left:7px}.move-navigation{display:flex;align-items:center;justify-content:space-between;padding:11px 17px;background:#23271d;border-top:1px solid #ffffff08;gap:8px}.move-navigation>div{display:flex;gap:5px}.move-navigation button{font-size:19px;line-height:1;min-width:30px;padding:5px 8px;border:1px solid #ffffff0c;background:#353d2c;border-radius:5px;color:#cfdbbb}.move-navigation>span{font-size:9px;color:#9eaf8a}.evaluation{padding:13px 19px;background:#252a1f;border-top:1px solid #ffffff08}.evaluation>span{font-size:7px}.evaluation strong{font-size:9px}.match-actions{padding:13px 18px 0}.match-actions .secondary{background:#383f2e;border-color:#ffffff0b;border-radius:7px;font-size:11px;padding:12px}.match-lock{font-size:8px;color:#82946c;margin-top:12px;padding-bottom:14px}.review-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;background:#3e4830;border:1px solid #bad48f33;border-radius:7px;padding:10px 12px;font-size:10px;color:#d2e0b8}.review-notice button{background:none;border:0;color:#c5e398;font-size:10px;font-weight:700}.reviewing-position .turn-dot{display:none}.hide-coordinates .coord{display:none}.studio-panel{background:#2a2d24;border-radius:0;max-height:calc(100dvh - 154px)}.studio-heading{padding:23px 21px;background:#24281e}.studio-heading h2{font-size:25px;line-height:1.15;max-width:260px}.studio-heading p{font-size:11px;color:#a1b18d}.studio-section{border-color:#ffffff09;padding:20px}.studio-section h3{font-size:13px}.studio-themes button{border-radius:8px;background:#22281c;border-color:#ffffff0b}.studio-themes .chosen{border-color:#b6d48d}.studio-pieces>button{background:#23291c;border-color:#ffffff0a;border-radius:8px}.studio-pieces>button.chosen{background:#3c4b2e;border-color:#b2d47d}.theme-grid i{border-radius:4px}.result-panel{background:linear-gradient(#455734,#36452a);padding:22px 20px}.result-panel h3{font-size:26px}.result-panel p{font-size:12px}.room-info{background:#333e29;border-color:#a6bf7755}.room-info strong{font-size:25px}.focus-mode .rail,.focus-mode .side-panel,.focus-mode footer{display:none}.focus-mode main{margin-left:0;padding:18px 25px}.focus-mode .workspace{display:flex;justify-content:center}.focus-mode .game{max-width:min(90vw,calc(100dvh - 180px));width:100%}.focus-mode .topbar{max-width:1000px;margin-left:auto;margin-right:auto}.focus-mode #focusMode{background:#57713a;color:#f0ffde}dialog{border-radius:13px;border-color:#b7cc8c33;background:#30362a}#designDialog{background:#30362a}.dialog-heading h2{font-size:25px}.animation-option{font-weight:500;color:#bac5a7}.toast{border-radius:9px;background:#1b2514;border-color:#b7d38a55}footer{margin-top:22px;padding-top:13px;color:#7d8870;font-size:7px}.local-explainer h3{font-size:21px}.local-explainer p{font-size:12px;color:#acb49e}.planning-active .board-wrap{box-shadow:0 0 0 2px #d2a756,0 10px 25px #0004}
@media(min-width:1500px){main{padding-left:36px;padding-right:36px}.workspace{grid-template-columns:minmax(0,850px) 440px;gap:36px}.game{max-width:calc(100dvh - 195px)}.mode-tile{min-height:114px;padding:22px 19px}.mode-tile strong{font-size:20px}.mode-tile small{font-size:12px}.setup-body{padding:26px}.panel-heading h2{font-size:33px}.mode-icon{width:52px}.mode-tile .mode-icon{font-size:39px}}
@media(max-width:1180px){.rail{width:74px;padding:23px 9px}.brand{font-size:0}.brand>span:first-child{margin:0;font-size:42px}.brand .brand-dot{font-size:0}.rail-caption{display:none}.nav{font-size:0;justify-content:center;padding:14px 10px}.nav>span{font-size:25px}.rail-foot{left:24px}.rail-foot .local-note,.rail-foot small,.rail-foot button span{display:none}.rail-foot button{font-size:21px}main{margin-left:74px;padding:20px}.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:22px}.game{max-width:100%}.topbar h1{font-size:25px}.setup-body{padding:18px}.panel-heading{padding:23px 18px}.panel-heading h2{font-size:28px}.mode-tile{padding:18px 12px;min-height:99px;gap:11px}.mode-tile strong{font-size:16px}.mode-tile small{font-size:10px}.mode-icon{width:40px;height:45px}.mode-tile .mode-icon{font-size:32px}.mode-tile>b{font-size:23px}.board-toolbar button span{display:none}.studio-section{padding:17px}.match-heading h2{font-size:23px}}
@media(max-width:820px){main{padding:17px 14px}.workspace{grid-template-columns:minmax(0,1fr) 295px;gap:16px}.mode-tile{padding:17px 10px;gap:8px;min-height:93px}.mode-tile strong{font-size:14px}.mode-tile small{font-size:9px}.mode-icon{width:35px}.mode-tile .mode-icon{font-size:29px}.mode-tile>b{display:none}.panel-heading h2{font-size:26px}.topbar h1{font-size:23px}.match-heading h2{font-size:21px}.match-heading{padding:20px 14px}.move-navigation{padding:10px 13px}.move-navigation>span{font-size:8px}.move-navigation button{min-width:27px;font-size:18px;padding:5px 7px}}
@media(max-width:680px){.rail{position:static;width:100%;height:63px;display:flex;align-items:center;padding:9px 15px;gap:10px}.brand{font-size:31px;margin-right:auto}.brand>span:first-child{font-size:37px;margin-right:5px}.brand .brand-dot{font-size:31px}.nav{width:auto;padding:9px;margin:0}.nav>span{font-size:22px}.rail-foot{display:none}main{margin:0;padding:17px 13px}.topbar{margin-bottom:15px}.topbar .eyebrow{font-size:7px}.topbar h1{font-size:26px}.local-badge{display:none}.workspace{grid-template-columns:1fr;gap:21px}.game{max-width:540px}.side-panel{max-width:540px}.panel-tabs button{padding:15px 6px;font-size:12px}.panel-heading{padding:25px 23px}.panel-heading h2{font-size:30px}.setup-body{padding:22px}.mode-tile{padding:20px 14px;min-height:102px;gap:15px}.mode-tile strong{font-size:18px}.mode-tile small{font-size:11px}.mode-icon{width:45px}.mode-tile .mode-icon{font-size:34px}.board-wrap{padding:0}.planning-overlay{inset:0;width:100%;height:100%}.player strong{font-size:13px}.player small{font-size:9px}.player{min-height:48px}.avatar{width:37px;height:37px}.studio-panel{max-height:none}.studio-heading h2{max-width:none;font-size:26px}.studio-themes{grid-template-columns:repeat(4,1fr)}.studio-pieces{grid-template-columns:repeat(3,1fr)}.studio-section{padding:19px}.board-toolbar button{padding:6px 8px;font-size:17px}.board-toolbar>div{gap:4px}.board-toolbar #boardStatus{font-size:9px}.match-heading h2{font-size:24px}.move-navigation>span{font-size:10px}.move-navigation button{min-width:35px;padding:7px}.focus-mode main{padding:13px 10px}.focus-mode .game{max-width:100%;width:100%}.focus-mode .topbar h1{font-size:22px}.review-notice{font-size:9px}.match-status strong{font-size:14px}.match-status small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Edition 07 — board + evaluation rail + a pure move log. */
:root{color:#eff1e9;background:#252925;--accent:#acd57b}body{background:radial-gradient(ellipse at 50% -20%,#40513b2b,transparent 65%),#252925}.rail{background:#1b201b;border-right:1px solid #ffffff06}.brand{color:#f2f5eb}.nav{border-radius:14px;margin:6px 0;color:#adbba0}.nav.active{background:#35462d;box-shadow:inset 3px 0 #b6dc88}.nav:hover{background:#303b29}.topbar h1{font-size:27px;letter-spacing:-.9px}.topbar .eyebrow{color:#83957b;font-size:7px;letter-spacing:1.8px}.icon-button{border-radius:50%;background:#343d30;border-color:#c1d6a40d;color:#bdccaf;width:37px;height:37px}.local-badge{border-radius:999px;padding:9px 13px;background:#2b3826;border-color:#accb8822;color:#a9c18e}.workspace{grid-template-columns:minmax(0,800px) minmax(290px,350px);gap:25px}.game{max-width:min(100%,calc(100dvh - 202px));min-width:0}.game>.player,.game>.board-toolbar,.game>#matchExtras,.game>#reviewNotice,.game>.planning-tools{margin-left:36px}.board-stage{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:stretch;width:100%}.board-wrap{min-width:0;box-shadow:0 16px 40px #0004;border-radius:13px}.board{border-radius:12px;box-shadow:0 0 0 1px #e6f3d515}.evaluation-rail{position:relative;align-self:stretch;min-height:0;border-radius:10px;overflow:hidden;background:#141c12;box-shadow:inset 0 0 0 1px #ffffff0b}.eval-track{position:absolute;inset:0;background:#172013}.eval-white{display:block;position:absolute;left:0;right:0;bottom:0;width:100%;height:50%;background:linear-gradient(90deg,#d8e6c6,#f0f5e6);transition:height .5s cubic-bezier(.2,.7,.3,1)}.evaluation-rail.flipped .eval-white{top:0;bottom:auto}.evaluation-rail>strong{position:absolute;left:1px;right:1px;bottom:7px;border-radius:7px;font-size:8px;font-weight:750;text-align:center;padding:5px 0;background:#37432e;color:#ebf4dc;letter-spacing:-.4px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}.player{min-height:48px;padding-bottom:9px}.player strong{font-size:13px;color:#e6ecdd}.player small{font-size:9px;color:#8fa17e}.avatar{width:37px;height:37px;border-radius:12px;border-color:#e3f2c912}.avatar.human{background:linear-gradient(145deg,#b8d88d,#8fae6b);color:#2f4121}.player-badge{background:#ffffff03;border-radius:999px;font-size:7px;padding:6px 9px;color:#8da17b}.turn-dot{background:#b5dc82;box-shadow:0 0 0 4px #b5dc8212}.piece.black{--piece-high:#747c69;--piece-low:#36432e;--stroke:#1d2918;--detail:#9fac8d}.piece.white{--piece-high:#fffff4;--piece-low:#dce3cd;--stroke:#4c5642;--detail:#a2af90}.board .coord{font-size:10px}.sq.last:before{background:#e2ed6960}.board-toolbar{border-top:0;margin-top:9px;padding-top:0;justify-content:space-between}.board-toolbar>div{gap:5px}.board-toolbar button{border-radius:999px;min-width:33px;height:33px;padding:6px 9px;background:#303c28;border:1px solid #d2e8b510;color:#b5cba1;font-size:16px}.board-toolbar button span{font-size:9px}.board-toolbar button:hover{background:#415337}.playing-game #boardStatus{display:none}#matchExtras{margin-top:11px}.game-state-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 0;border-top:1px solid #d8e8bd0c}.game-state-row>.match-status{padding:0;background:none;border:0;display:flex;gap:8px;min-width:0}.game-state-row .match-status strong{font-size:11px;color:#c0d1ad;font-weight:600}.game-state-row .match-status small{display:none}.game-state-row #statusDot{width:6px;height:6px;flex-shrink:0}.game-state-row>.match-actions{padding:0;display:flex;gap:6px;flex-shrink:0}.game-state-row .match-actions .secondary{border-radius:999px;border-color:#c3d9a915;background:#313e28;padding:9px 12px;font-size:9px;font-weight:600;white-space:nowrap}.game-state-row .match-actions .secondary:first-child{background:none;color:#a0b48d}.coach-panel{margin:8px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:9px;padding:15px 17px;border-radius:17px;background:linear-gradient(125deg,#374b2d,#2b3d24);border:1px solid #a7d27a26;box-shadow:0 5px 15px #0001}.coach-panel>div:first-child{display:flex;gap:8px;align-items:center;min-width:0;margin:0}.coach-panel>div:first-child>span:first-child{font-size:20px;color:#bedf91}.coach-panel h3{font-size:12px;color:#deedcc}.coach-panel .mini-tag{font-size:6px;padding:3px 5px;margin-left:3px;border-color:#bad99733;color:#9fbe80}.coach-panel #coachVerdict{margin:0;padding:6px 9px;display:block;font-size:10px;line-height:1.3;border-radius:999px;font-weight:650}.coach-panel>p{grid-column:1/-1;margin:0;font-size:11px;color:#b8cca5;line-height:1.8}.coach-panel>.text-button{grid-column:1/-1;justify-self:start;font-size:10px;padding:0;color:#c0df94}.coach-panel .coach-legend{display:none}.room-info{margin:9px 0;border-radius:15px;background:#2c3e24;padding:14px}.result-panel{margin-top:12px;border:1px solid #a3c77333;border-radius:18px;padding:21px;background:linear-gradient(#3e542d,#304125)}.result-panel h3{font-size:25px}.result-panel .primary{max-width:250px;margin-left:auto;margin-right:auto}.side-panel{border-radius:22px;background:#20281d;box-shadow:0 12px 32px #0002;border:1px solid #c3d9a912;overflow:hidden}.playing-game .side-panel{margin-top:48px}.playing-game .side-panel:not(.studio-open) .panel-tabs{display:none}.match-panel{display:flex;flex-direction:column;height:clamp(330px,calc(100dvh - 211px),710px);background:#25301f;border-radius:21px}.moves-heading{padding:22px 21px 19px;border-bottom:1px solid #cfe1b20b;display:flex;align-items:center;justify-content:space-between}.moves-heading h3{font-size:17px;font-weight:700;color:#e3ecd7;letter-spacing:-.3px}.moves-heading>span{font-size:8px;letter-spacing:.8px;color:#a8bf8f;background:#a9c7780a;border-radius:999px;padding:6px 8px}.history-head{padding:11px 20px;background:#202b19;grid-template-columns:30px 1fr 1fr;font-size:8px;color:#8fa77a;border-bottom:1px solid #b2cb8b08}.history{flex:1;min-height:0;height:auto;background:#26321f;scrollbar-color:#68834b #26321f}.move-row{padding:8px 17px;grid-template-columns:30px 1fr 1fr;gap:6px;min-height:42px}.move-row:nth-child(even){background:#d0e9af04}.move-row:last-child{background:#9fc87615}.history-move{padding:6px 9px;font-size:13px;color:#d3e2c2;border-radius:8px}.history-move:hover{background:#bad89412}.history-move.view-current{background:#b1d38122;box-shadow:inset 0 0 0 1px #b1d38144}.move-row>span:first-child{font-size:10px;color:#789462}.history-rating{width:16px;height:16px;font-size:10px;margin-left:7px}.move-navigation{padding:14px 16px;background:#222e1b;border-top:1px solid #bed89a10;gap:8px}.move-navigation button{border-radius:8px;min-width:30px;height:29px;background:#34482a;border-color:#c9e5a510;color:#c0d9a9;padding:5px 8px}.move-navigation>span{font-size:8px;color:#89a673}.empty-history{padding:20px}.empty-history>span{font-size:41px;color:#637b50}.empty-history strong{font-size:11px;font-weight:500;color:#8da77b;line-height:1.7}.empty-history small{font-size:10px;color:#637f51}.panel-tabs{background:#20291a;border-radius:21px 21px 0 0;padding:5px;margin:0;gap:4px}.panel-tabs button{border-radius:15px;font-size:11px;padding:13px 7px}.panel-tabs button.selected{box-shadow:none;background:#3b512c;color:#e3efcf}.setup-panel{border-radius:0 0 21px 21px;background:#283321}.panel-heading{background:linear-gradient(125deg,#354b29,#293b21);border-color:#cee1b10a;border-radius:0;padding:25px 22px}.panel-heading h2{font-size:28px}.panel-heading p{font-size:11px;color:#a2b78e}.mode-tile{border-radius:16px;background:linear-gradient(125deg,#35492b,#2f4026);border:1px solid #c5dfa316;box-shadow:0 3px 8px #0001;min-height:99px;padding:19px 15px;gap:14px}.mode-tile:hover{border-color:#b9d88f55;background:linear-gradient(125deg,#405b33,#344d29)}.mode-tile strong{font-size:16px;color:#e7f0dc}.mode-tile small{font-size:10px;color:#a0b38f}.mode-tile>b{color:#7e9a67}.setup-body{padding:21px}.setup-tip{border-color:#c4dda10c}.setup-tip p{color:#829d6f}.setup-tip strong{color:#aac294}.panel-bottom{background:#23311b;border-color:#bed89a0b;border-radius:0 0 21px 21px}.primary{border-radius:999px;background:linear-gradient(#b5dc87,#96c363);box-shadow:0 5px 15px #91be4e15;padding:14px 18px;font-size:16px;color:#233715;text-shadow:none}.primary:hover{background:linear-gradient(#c1e796,#a6ce74)}.secondary{border-radius:999px}.difficulty-choices>button{border-radius:15px;background:#2e4125;border-color:#bad69c16;padding:13px}.difficulty-choices>button.chosen{background:#405930;border-color:#a5d475;box-shadow:inset 0 0 0 1px #a5d475}.bot-face{border-radius:13px}.segments{border-radius:999px;padding:4px}.segments button{border-radius:999px}.chosen-mode{border-color:#c0d99b14}.chosen-mode strong{color:#dcebd0}.chosen-mode small{color:#90a87c}.studio-panel{border-radius:0 0 20px 20px;background:#293722}.studio-heading{background:#2d4023}.studio-themes button{border-radius:11px}.studio-pieces>button{border-radius:12px}.planning-guide button{border-radius:999px}.planning-tools{border-radius:14px;padding:13px;background:#3f472f;border-color:#b9b76a33}.review-notice{border-radius:12px;background:#344b27;border-color:#b2d08625;padding:10px 12px}.playing-game .game>.board-toolbar{justify-content:flex-start}.focus-mode .game{max-width:min(94vw,calc(100dvh - 190px))}.focus-mode .side-panel{display:none}.focus-mode .game>.player,.focus-mode .game>.board-toolbar,.focus-mode .game>#matchExtras,.focus-mode .game>#reviewNotice,.focus-mode .game>.planning-tools{margin-left:36px}dialog,#designDialog{border-radius:22px;background:#2a3a22;border-color:#c0dba022}.dialog-heading .icon-button{border-radius:50%}.theme-grid button{border-radius:11px}.theme-grid i{border-radius:7px}select,input{border-radius:13px;border-color:#b7d39522;background:#1e2c17}.confirm-buttons .primary,.confirm-buttons .secondary{border-radius:999px}.toast{border-radius:999px;border-color:#b3d18533;background:#203019}.board .move-badge{width:29%;height:29%;font-size:2.8cqi;border-width:1.5px}.sr-only .match-heading{display:none}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,850px) 370px;gap:30px}.game{max-width:calc(100dvh - 199px)}.mode-tile{min-height:106px}.mode-tile strong{font-size:18px}.match-panel{height:clamp(380px,calc(100dvh - 205px),760px)}}
@media(max-width:1180px){.workspace{grid-template-columns:minmax(0,1fr) 285px;gap:20px}.game{max-width:100%}.mode-tile{padding:17px 11px;gap:10px;min-height:94px}.mode-tile strong{font-size:14px}.mode-tile small{font-size:9px}.setup-body{padding:17px}.panel-heading{padding:23px 17px}.panel-heading h2{font-size:25px}.match-panel{height:clamp(350px,calc(100dvh - 210px),680px)}.moves-heading{padding:21px 18px}.moves-heading h3{font-size:16px}.game-state-row{gap:8px}.game-state-row .match-status strong{font-size:10px}.game-state-row .match-actions .secondary{font-size:8px;padding:8px 10px}.coach-panel{padding:13px 15px}.coach-panel>p{font-size:10px}.coach-panel #coachVerdict{font-size:9px}.move-navigation{padding:12px}.move-navigation button{min-width:27px;padding:5px 7px}.move-navigation>span{font-size:7px}.topbar h1{font-size:25px}}
@media(max-width:820px){.workspace{grid-template-columns:minmax(0,1fr) 255px;gap:17px}.game>.player,.game>.board-toolbar,.game>#matchExtras,.game>#reviewNotice,.game>.planning-tools{margin-left:29px}.board-stage{grid-template-columns:20px minmax(0,1fr);gap:9px}.evaluation-rail{border-radius:8px}.evaluation-rail>strong{font-size:7px;padding:4px 0}.mode-tile{gap:8px;padding:16px 9px}.mode-tile strong{font-size:13px}.mode-tile small{font-size:9px}.mode-tile .mode-icon{font-size:28px}.mode-icon{width:32px}.setup-body{padding:15px}.panel-heading h2{font-size:23px}.panel-heading{gap:9px;padding:21px 15px}.heading-icon{font-size:34px}.game-state-row{flex-wrap:wrap}.coach-panel{grid-template-columns:1fr;gap:7px}.coach-panel #coachVerdict{justify-self:start}.coach-panel>p,.coach-panel>.text-button{grid-column:1}.moves-heading h3{font-size:15px}.moves-heading{padding:19px 15px}.move-navigation{flex-wrap:wrap;gap:8px}.move-navigation>span{margin-left:auto;font-size:8px}.match-panel{min-height:360px}.topbar h1{font-size:24px}}
@media(max-width:680px){.workspace{grid-template-columns:1fr;gap:19px}.game{max-width:540px}.game>.player,.game>.board-toolbar,.game>#matchExtras,.game>#reviewNotice,.game>.planning-tools{margin-left:27px}.board-stage{grid-template-columns:18px minmax(0,1fr);gap:9px}.evaluation-rail{border-radius:7px}.evaluation-rail>strong{font-size:6.5px;bottom:5px}.board,.board-wrap{border-radius:10px}.game-state-row{flex-wrap:nowrap}.game-state-row .match-status strong{font-size:9px}.game-state-row .match-actions .secondary{font-size:8px;padding:8px 9px}.coach-panel{grid-template-columns:minmax(0,1fr) auto;padding:13px;border-radius:15px}.coach-panel>p,.coach-panel>.text-button{grid-column:1/-1}.coach-panel #coachVerdict{font-size:8px}.coach-panel h3{font-size:11px}.coach-panel .mini-tag{font-size:5px}.coach-panel>p{font-size:10px}.playing-game .side-panel{margin-top:0}.match-panel{height:310px;min-height:280px}.moves-heading{padding:19px}.moves-heading h3{font-size:17px}.history-head{padding:10px 19px}.move-row{padding:7px 17px}.move-navigation{flex-wrap:nowrap;padding:12px 15px}.move-navigation button{min-width:33px}.move-navigation>span{font-size:9px}.side-panel{border-radius:20px}.panel-tabs{border-radius:19px 19px 0 0}.mode-tile{min-height:99px;padding:18px 14px;gap:14px}.mode-tile strong{font-size:17px}.mode-tile small{font-size:10px}.mode-icon{width:42px}.mode-tile .mode-icon{font-size:33px}.setup-body{padding:21px}.panel-heading{padding:25px 22px}.panel-heading h2{font-size:28px}.panel-heading p{font-size:11px}.primary{font-size:16px}.focus-mode .game{max-width:100%}.focus-mode .game>.player,.focus-mode .game>.board-toolbar,.focus-mode .game>#matchExtras,.focus-mode .game>#reviewNotice,.focus-mode .game>.planning-tools{margin-left:27px}.board-toolbar button{height:30px;min-width:29px;padding:5px 7px;font-size:15px}.board-toolbar>div{gap:4px}.topbar h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.eval-white{transition:none}}
.game>#coachPanel{margin-left:36px;margin-top:12px;margin-bottom:4px}.game>#coachPanel>p{font-size:10.5px;line-height:1.65}.game>#coachPanel{padding:13px 15px;row-gap:7px}.game>#coachPanel>.text-button{font-size:9px}.focus-mode .game>#coachPanel{margin-left:36px}@media(max-width:820px){.game>#coachPanel{margin-left:29px}}@media(max-width:680px){.game>#coachPanel,.focus-mode .game>#coachPanel{margin-left:27px}.game>#coachPanel{padding:12px}.game>#coachPanel>p{font-size:10px}}
/* Edition 08: the board owns the screen. */
.rail{width:66px;padding:22px 8px;background:#192018}.brand{font-size:0;padding:0;justify-content:center}.brand>span:first-child{font-size:39px;margin:0}.brand .brand-dot,.rail-caption{display:none}.nav{font-size:0;justify-content:center;padding:12px 8px;border-radius:14px;margin:8px 0;min-height:47px}.nav>span{font-size:26px;margin:0;width:auto}.rail-foot{left:24px;right:auto;bottom:22px}.rail-foot button{font-size:20px}.rail-foot button span,.rail-foot .local-note,.rail-foot small{display:none}main{margin-left:66px;padding:17px 22px 15px;max-width:none}.topbar{margin-bottom:12px}.topbar .eyebrow{display:none}.topbar h1{font-size:23px;margin:0;letter-spacing:-.6px}.topbar-right{gap:7px}.icon-button{width:33px;height:33px;font-size:18px}.local-badge{font-size:8px;padding:8px 11px}.workspace{grid-template-columns:minmax(0,1fr) 228px;gap:23px;align-items:start;max-width:1530px;margin:auto}.choosing .workspace{grid-template-columns:minmax(0,1fr) 300px}.game{width:100%;max-width:min(100%,calc(100dvh - 143px));justify-self:center}.board-stage{grid-template-columns:20px minmax(0,1fr);gap:10px}.game>.player,.game>.board-toolbar,.game>#matchExtras,.game>#reviewNotice,.game>.planning-tools,.game>#coachPanel{margin-left:30px}.player{min-height:40px;padding-bottom:7px}.player:has(.human){padding-top:8px}.avatar{width:32px;height:32px;border-radius:10px;font-size:18px}.player strong{font-size:12px}.player small{font-size:8px;margin-top:3px}.player-badge{font-size:6px;padding:5px 8px}.board,.board-wrap{border-radius:12px}.piece{width:100%;height:100%}.board .coord{font-size:11px}.playing-game .side-panel{margin-top:40px;border-radius:17px}.match-panel{height:clamp(350px,calc(100dvh - 150px),1000px);border-radius:16px}.moves-heading{padding:18px 14px 16px}.moves-heading h3{font-size:14px}.moves-heading>span{font-size:7px;padding:5px 6px}.history-head{grid-template-columns:23px 1fr 1fr;padding:10px 12px;font-size:7px;letter-spacing:.8px}.move-row{grid-template-columns:23px 1fr 1fr;padding:6px 9px;gap:2px;min-height:38px}.history-move{font-size:12px;padding:6px}.move-row>span:first-child{font-size:9px}.history-rating{margin-left:4px;width:14px;height:14px;font-size:9px}.move-navigation{flex-wrap:wrap;padding:12px 10px;gap:8px}.move-navigation>div{width:100%;justify-content:center;gap:7px}.move-navigation>span{width:100%;text-align:center;font-size:8px}.move-navigation button{min-width:32px;height:28px;font-size:17px;border-radius:7px}.empty-history{padding:15px}.empty-history strong{font-size:10px}.empty-history small{font-size:9px}.empty-history>span{font-size:34px}.board-toolbar{margin-top:8px}.board-toolbar button{height:30px;min-width:30px;padding:5px 8px;border-radius:10px}.board-toolbar button span{font-size:9px}.board-toolbar #hint{min-width:57px}.board-toolbar #hint span{display:inline;font-size:9px}.game>#coachPanel{margin-top:9px;border-radius:14px;max-width:none}.game>#coachPanel>p{font-size:11px}.game-state-row{padding-top:9px}.game-state-row .match-status strong{font-size:10px}.side-panel{border-radius:18px}.studio-panel{max-height:calc(100dvh - 100px)}.studio-section{padding:15px}.studio-themes{grid-template-columns:repeat(3,1fr);gap:7px}.studio-pieces{grid-template-columns:1fr 1fr;gap:7px}.studio-heading{padding:20px 16px}.studio-heading h2{font-size:22px}.studio-section h3{font-size:12px}.panel-tabs button{font-size:10px}.side-panel.studio-open{width:300px;justify-self:end;z-index:4;box-shadow:0 16px 35px #0005}.sq.selected{background:#c9df73;box-shadow:inset 0 0 0 4px #f2f7a6}.sq.target:after{width:25%;height:25%;background:#17351c4a;box-shadow:0 0 0 1px #edf7d224}.sq.capture:after{width:88%;height:88%;border:6px solid #2c512c80;background:none;box-shadow:none}.sq.target:hover{background-color:#b5d587}.sq.drag-source{box-shadow:inset 0 0 0 4px #e5f18c;opacity:.6}.sq.illegal{animation:invalid-square .26s ease-in-out}.sq:focus-visible{outline:3px solid #effbbb;outline-offset:-4px}.outline .piece svg{fill:none!important;stroke-width:2.4}.outline .piece.white{--stroke:#fffdf0;filter:drop-shadow(0 1px 1px #152515)}.outline .piece.black{--stroke:#172d28;filter:drop-shadow(0 1px 1px #eaf3d6)}.outline .piece svg .detail{stroke:var(--stroke);opacity:.5}.ebony .piece.white{--piece-high:#ffe8a9;--piece-low:#b39350;--stroke:#5a4822;--detail:#f4dfa0}.ebony .piece.black{--piece-high:#43433a;--piece-low:#111a13;--stroke:#070f08;--detail:#b3a16f}.ebony .piece{filter:drop-shadow(0 3px 1px #0005)}.board[data-theme="parchment"] .sq{background-image:repeating-linear-gradient(85deg,#fff1 0 1px,transparent 1px 5px)}.board[data-theme="obsidian"] .sq{background-image:linear-gradient(140deg,#fff1,#0001)}.piece-preview.outline .piece{filter:drop-shadow(0 1px 1px #0005)}.planning-tools{padding:11px 13px;border-radius:12px}.planning-tools strong{font-size:10px}.focus-mode main{margin-left:0}.focus-mode .game{max-width:min(97vw,calc(100dvh - 130px))}.focus-mode .game>.player,.focus-mode .game>.board-toolbar,.focus-mode .game>#matchExtras,.focus-mode .game>#reviewNotice,.focus-mode .game>.planning-tools,.focus-mode .game>#coachPanel{margin-left:30px}.focus-mode .workspace{max-width:none}footer{margin-top:18px}.evaluation-rail{border-radius:8px}.evaluation-rail>strong{font-size:7px}.theme-grid{grid-template-columns:repeat(6,1fr)}.theme-grid span{font-size:8px}.theme-grid button{padding:6px}.theme-grid .chosen{padding:5px}
@keyframes invalid-square{0%,100%{filter:none}35%,70%{box-shadow:inset 0 0 0 4px #e58b62;background-color:#ce9b73}}
@media(min-width:1500px){main{padding-left:28px;padding-right:28px}.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:28px;max-width:1660px}.choosing .workspace{grid-template-columns:minmax(0,1fr) 330px}.game{max-width:calc(100dvh - 140px)}.match-panel{height:calc(100dvh - 151px);max-height:1000px}.moves-heading h3{font-size:15px}.history-move{font-size:13px}.board-toolbar button span{display:inline}}
@media(max-width:1100px){main{padding:15px 17px}.workspace{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.choosing .workspace{grid-template-columns:minmax(0,1fr) 270px}.game{max-width:min(100%,calc(100dvh - 137px))}.game>#coachPanel>p{font-size:10px}.board-toolbar button span{display:none}.board-toolbar #hint span{display:inline}.side-panel.studio-open{width:280px}.studio-themes{grid-template-columns:repeat(3,1fr)}.moves-heading{padding:17px 11px}.moves-heading h3{font-size:13px}.moves-heading>span{font-size:6px}.move-row{padding:6px 7px}.move-navigation{padding:11px 7px}.history-head{padding:10px}.empty-history strong{font-size:9px}.topbar h1{font-size:23px}.local-badge{font-size:7px}.history-rating{margin-left:3px}}
@media(max-width:820px){.workspace{grid-template-columns:minmax(0,1fr) 190px;gap:15px}.choosing .workspace{grid-template-columns:minmax(0,1fr) 245px}.board-stage{grid-template-columns:18px minmax(0,1fr);gap:8px}.game>.player,.game>.board-toolbar,.game>#matchExtras,.game>#reviewNotice,.game>.planning-tools,.game>#coachPanel{margin-left:26px}.game-state-row{flex-wrap:wrap}.match-panel{height:clamp(320px,calc(100dvh - 145px),800px)}.moves-heading{padding:17px 10px;gap:3px}.moves-heading h3{font-size:12px}.moves-heading>span{font-size:6px;padding:4px}.history-move{font-size:11px}.move-row{grid-template-columns:20px 1fr 1fr;gap:0}.history-head{grid-template-columns:20px 1fr 1fr}.move-navigation button{min-width:28px}.move-navigation>div{gap:5px}.board .coord{font-size:10px}.theme-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:680px){.rail{position:static;width:100%;height:54px;padding:7px 12px;display:flex;gap:8px}.brand{font-size:27px;margin-right:auto}.brand>span:first-child{font-size:32px;margin-right:4px}.brand .brand-dot{display:inline;font-size:27px}.nav{width:auto;min-height:36px;padding:7px;margin:0}.nav>span{font-size:20px}.rail-foot{display:none}main{margin:0;padding:12px 9px}.topbar{margin-bottom:10px}.topbar h1{font-size:22px}.icon-button{width:30px;height:30px;font-size:17px}.workspace,.choosing .workspace{grid-template-columns:1fr;gap:16px}.game{max-width:100%;width:100%}.board-stage{grid-template-columns:15px minmax(0,1fr);gap:7px}.game>.player,.game>.board-toolbar,.game>#matchExtras,.game>#reviewNotice,.game>.planning-tools,.game>#coachPanel{margin-left:22px}.avatar{width:30px;height:30px;font-size:17px}.player{min-height:38px}.player strong{font-size:12px}.player small{font-size:8px}.board .coord{font-size:9px}.board-toolbar button{height:29px;min-width:28px;padding:5px 7px;font-size:15px}.board-toolbar>div{gap:4px}.board-toolbar #hint{min-width:55px}.game>#coachPanel{padding:12px;border-radius:13px}.playing-game .side-panel{margin-top:0;width:100%;max-width:none}.match-panel{height:245px;min-height:225px}.moves-heading{padding:16px 18px}.moves-heading h3{font-size:16px}.moves-heading>span{font-size:8px}.history-head{grid-template-columns:26px 1fr 1fr;padding:10px 16px;font-size:8px}.move-row{grid-template-columns:26px 1fr 1fr;padding:5px 12px;gap:6px}.history-move{font-size:13px}.history-rating{margin-left:7px}.move-navigation{padding:11px 15px;flex-wrap:nowrap}.move-navigation>div{width:auto;gap:5px}.move-navigation>span{width:auto;font-size:9px}.move-navigation button{min-width:31px}.side-panel.studio-open{width:100%;justify-self:stretch}.studio-panel{max-height:none}.studio-themes{grid-template-columns:repeat(4,1fr)}.studio-pieces{grid-template-columns:repeat(3,1fr)}.focus-mode .game{max-width:100%}.focus-mode .game>.player,.focus-mode .game>.board-toolbar,.focus-mode .game>#matchExtras,.focus-mode .game>#reviewNotice,.focus-mode .game>.planning-tools,.focus-mode .game>#coachPanel{margin-left:22px}.theme-grid{grid-template-columns:repeat(4,1fr)}.evaluation-rail>strong{font-size:6px}.game-state-row{flex-wrap:nowrap}.game-state-row .match-status strong{font-size:9px}.game-state-row .match-actions .secondary{font-size:8px;padding:8px}footer{margin-top:15px}}
@media(prefers-reduced-motion:reduce){.sq.illegal{animation:none;box-shadow:inset 0 0 0 3px #e58b62}}
.outline .piece.black{filter:drop-shadow(0 0 1px #e4edd5) drop-shadow(0 1px 1px #0005)}
/* Edition 09: clear outcomes on the board, original symbols and portraits. */
.ui-symbol{display:block;width:100%;height:100%;overflow:visible}.mode-icon{font-family:Segoe UI Symbol,Arial,sans-serif}.mode-icon>.ui-symbol{width:34px;height:34px}.mode-tile .mode-icon{background:#c2d7a40a;border:1px solid #c2d7a412;filter:none;color:#b6cba1;border-radius:13px}.mode-tile[data-mode="bot"] .mode-icon{color:#afc8d3;background:#a4c9db0b}.mode-tile[data-mode="coach"] .mode-icon{color:#cfbf98;background:#d2bf900a}.mode-tile[data-mode="room"] .mode-icon{color:#bcb0d1;background:#c0a5db0a}.avatar{overflow:hidden;background:linear-gradient(145deg,#415335,#2d3b24);padding:0;border-color:#d4e8b323}.avatar>.ui-symbol{width:100%;height:100%}.avatar.human{--avatar-light:#dcebc6;--avatar-dark:#536f3d;background:linear-gradient(140deg,#b7d58b,#8ba765)}.avatar.milo,.bot-face.milo{--avatar-light:#f4dbab;--avatar-dark:#856435;background:linear-gradient(135deg,#dcb57c,#aa8555)}.avatar.nova,.bot-face.nova{--avatar-light:#c3e6e9;--avatar-dark:#3c727d;background:linear-gradient(135deg,#91bcc1,#4d8390)}.avatar.atlas,.bot-face.atlas{--avatar-light:#d8cbeb;--avatar-dark:#61507b;background:linear-gradient(135deg,#b09acb,#78648e)}.bot-face{overflow:hidden;border:1px solid #ffffff15;padding:0}.bot-face>.ui-symbol{width:100%;height:100%}.chosen-mode .mode-icon{width:44px;height:44px}.chosen-mode .mode-icon svg{width:31px;height:31px}.heading-icon,.rail .nav>span,.brand>span:first-child{font-family:Segoe UI Symbol,Arial,sans-serif}.board-result{position:absolute;inset:0;z-index:40;display:grid;place-items:center;padding:clamp(12px,3%,25px);border-radius:inherit;background:#10200dc4;backdrop-filter:blur(3px);animation:result-reveal .24s ease-out}.board-result-card{position:relative;width:min(90%,350px);border:1px solid #c4e39544;border-radius:23px;background:linear-gradient(145deg,#354b2c,#202f1b);padding:28px 25px 20px;text-align:center;box-shadow:0 20px 65px #0008,inset 0 1px #f5ffe60b}.result-close{position:absolute;right:11px;top:11px;width:28px;height:28px;border-radius:50%;background:#d4e9bd0b;border:1px solid #d4e9bd13;color:#bcccad;font-size:20px;line-height:1}.board-result-icon{width:53px;height:53px;margin:0 auto 14px;color:#d8e8b7;filter:drop-shadow(0 3px 8px #0003)}.result-eyebrow{display:block;color:#99b57f;font-size:8px;letter-spacing:2px;margin-bottom:10px}.board-result h2{font-size:clamp(23px,4.5vw,32px);font-weight:800;letter-spacing:-.8px;line-height:1.15;color:#f2f7e7;margin:0}.board-result-score{font-family:Georgia,serif;font-size:32px;letter-spacing:4px;color:#bada96;margin:13px 0 10px}.board-result p{font-size:12px;color:#b3c59e;line-height:1.65;margin:0 0 22px}.board-result .primary{font-size:13px;padding:13px 16px;box-shadow:0 5px 15px #0002;margin:0 0 10px}.board-result .secondary{width:100%;padding:11px;font-size:11px;background:#c1dca00b;border-color:#c1dca023;color:#c7d9b3}.result-inspect{border:0;background:none;padding:13px 0 0;font-size:10px;color:#8fa77a}.draw-result{background:#142028bd}.draw-result .board-result-card{background:linear-gradient(145deg,#354333,#222e23);border-color:#cadcb944}.draw-result .board-result-score{color:#d0dac5}#showBoardResult{margin-top:11px;font-size:10px;padding:9px 13px;background:#415633;color:#d6e7bf;border-color:#b6d48622}.game{max-width:min(100%,calc(100dvh - 111px))}.workspace{gap:22px}.topbar{margin-bottom:8px}main{padding-top:12px}.player{min-height:36px}.avatar{width:30px;height:30px;border-radius:9px}.board,.board-wrap{border-radius:11px}.piece{filter:drop-shadow(0 2px 1px #0006)}.piece.white{--piece-high:#fffef5;--piece-low:#dfe6ce;--stroke:#46523b;--detail:#acb89a}.piece.black{--piece-high:#66735c;--piece-low:#25331f;--stroke:#111e0d;--detail:#92a780}.board .coord{font-size:11px}.playing-game .side-panel{margin-top:36px}.match-panel{height:clamp(350px,calc(100dvh - 127px),1050px)}.side-panel{border-color:#d9e8c00c;box-shadow:0 15px 40px #0002}.history-move{transition:background .15s,color .15s}.history-move:hover{background:#c9e5a416;color:#eff8df}.mode-tile{background:linear-gradient(125deg,#34442c,#2b3924);border-color:#d8eac016}.mode-tile strong{font-size:15px;letter-spacing:-.25px}.mode-tile small{line-height:1.65}.mode-tile:hover{background:linear-gradient(125deg,#415a34,#33482a)}.board-toolbar button{background:#2e3a25;border-color:#c4dd9f13}.game-state-row .secondary{border-radius:999px}.primary:focus-visible,.secondary:focus-visible{outline-offset:3px}.studio-panel .piece-preview{background:linear-gradient(125deg,#ffffff03,transparent);border-radius:7px}.panel-heading h2{letter-spacing:-.8px}.focus-mode .game{max-width:min(98vw,calc(100dvh - 104px))}
@keyframes result-reveal{from{opacity:0}to{opacity:1}}
@media(min-width:1500px){.game{max-width:calc(100dvh - 109px)}.match-panel{height:calc(100dvh - 124px);max-height:1100px}}
@media(max-width:1100px){.game{max-width:min(100%,calc(100dvh - 109px))}.mode-tile strong{font-size:14px}.mode-icon>.ui-symbol{width:29px;height:29px}}
@media(max-width:680px){.game,.focus-mode .game{max-width:100%}.board-result-card{padding:23px 18px 15px;border-radius:18px;width:92%}.board-result-icon{width:34px;height:34px;margin-bottom:9px}.result-eyebrow{font-size:6px;margin-bottom:7px;letter-spacing:1.6px}.board-result h2{font-size:25px}.board-result-score{font-size:25px;margin:9px 0 7px}.board-result p{font-size:10px;line-height:1.5;margin-bottom:13px}.board-result .primary{font-size:11px;padding:11px;margin-bottom:7px}.board-result .secondary{font-size:10px;padding:9px}.result-inspect{font-size:9px;padding-top:10px}.result-close{width:25px;height:25px;right:9px;top:9px}.playing-game .side-panel{margin-top:0}.match-panel{height:245px;min-height:225px}.mode-tile strong{font-size:17px}.mode-icon>.ui-symbol{width:31px;height:31px}.avatar{width:29px;height:29px}.player{min-height:36px}.board .coord{font-size:9px}.board-result{padding:8px}}
@media(max-width:380px){.board-result-card{padding:18px 15px 12px}.board-result-icon{width:29px;height:29px;margin-bottom:6px}.board-result-score{font-size:22px;margin:7px 0}.board-result h2{font-size:22px}.board-result p{margin-bottom:10px;font-size:9px}.board-result .primary{padding:10px}.board-result .secondary{padding:8px}}
@media(prefers-reduced-motion:reduce){.board-result{animation:none}}
.board-result{overflow:hidden}.board-result-card{max-height:calc(100% - 12px);overflow:auto;scrollbar-width:thin;scrollbar-color:#718f53 #283b20}
/* Club finish: neutral surfaces, deliberate contrast, restrained accents. */
:root{color:#eef1e8;background:#242722;--accent:#b6d98a;--line:#d7e6c50d}body{background:radial-gradient(ellipse at 47% -25%,#53634422,transparent 64%),#242722}.rail{background:#191d18;border-right:1px solid #d2e2b80a;padding-top:20px}.brand>span:first-child{color:#b6d78b;filter:drop-shadow(0 3px 6px #0002)}.nav{border:1px solid transparent;border-radius:13px;color:#839378;transition:background .17s,color .17s}.nav.active{background:#34432b;border-color:#bad68c15;box-shadow:inset 2px 0 #b5da87;color:#dceacb}.nav:hover{background:#303b29;color:#d5e4c0}.topbar{padding-bottom:6px;margin-bottom:10px}.topbar h1{font-size:21px;font-weight:650;letter-spacing:-.45px;color:#e1e7d7}.topbar-right{gap:8px}.local-badge{border-radius:9px;background:#2b3426;border-color:#d3e5b80d;padding:8px 11px;color:#99ad86;font-size:8px}.icon-button{border:1px solid #cadfb317;background:#2b3426;border-radius:10px;color:#a5bb90;box-shadow:inset 0 1px #ebffd706}.icon-button:hover{background:#3c4c31}.workspace{gap:24px}.board-wrap{border-radius:10px;box-shadow:0 15px 45px #0005,0 0 0 1px #d9e5c21a}.board{border-radius:9px}.evaluation-rail{border-radius:7px;background:#12190f;box-shadow:inset 0 0 0 1px #dde8c20e}.eval-track{background:#12190f}.eval-white{background:linear-gradient(90deg,#e0e9ce,#f3f5e8)}.evaluation-rail>strong{background:#2e3926;color:#e5efd6;border-radius:5px;font-size:7px}.player strong{font-size:12px;font-weight:650;letter-spacing:.1px}.player small{color:#8b9d7b;font-size:8px}.player-badge{font-size:6px;letter-spacing:1.3px;background:none;color:#708761;padding:4px}.avatar{border-radius:9px;border:1px solid #d6e7b929;box-shadow:inset 0 1px #fff2,0 3px 8px #0002}.turn-dot{width:5px;height:5px;box-shadow:0 0 0 3px #b9dc8810}.side-panel{background:#20271c;border:1px solid #d0e3b014;border-radius:16px;box-shadow:0 12px 35px #0002;overflow:hidden}.match-panel{background:#242d1e;border-radius:15px}.moves-heading{padding:17px 13px 15px;border-bottom:1px solid #d1e3b30c;background:#26311f}.moves-heading h3{font-size:13px;font-weight:600;letter-spacing:.2px;color:#d6e1c7}.moves-heading>span{border-radius:5px;background:#c5de9a09;color:#8ea575;font-size:6px;padding:5px;letter-spacing:.8px}.history-head{background:#20291a;border-bottom:1px solid #d1e4b20a;color:#70885e;font-size:6px;letter-spacing:1.1px;padding-top:10px;padding-bottom:10px}.history{background:#242d1f;scrollbar-color:#546c3e #242d1f}.move-row:nth-child(even){background:#def1bf03}.move-row:last-child{background:#b7d6860c}.history-move{font-weight:500;color:#c8d8b7;border-radius:6px;padding:6px}.history-move:hover{background:#c0dda318;color:#eff8e3}.history-move.view-current{background:#bedf8e20;box-shadow:inset 0 0 0 1px #c0dfa635;color:#e7f8d5}.move-row>span:first-child{color:#597449}.history-rating.positive{color:#b1d483;background:#a1c76e13}.history-rating.negative{color:#d49d7f;background:#dd8c6510}.move-navigation{border-top:1px solid #d3e7ae0d;background:#20291a}.move-navigation button{background:#303f25;border:1px solid #c5e1a416;border-radius:6px;color:#a8c38b;box-shadow:inset 0 1px #e4f8d004}.move-navigation button:hover{background:#415933}.move-navigation>span{font-size:7px;color:#6f8a5a}.empty-history>span{color:#465e37;font-size:31px}.empty-history strong{color:#7b9569;font-size:9px;font-weight:400;line-height:1.75}.empty-history small{color:#536e43;font-size:8px}.board-toolbar>div{gap:5px}.board-toolbar button{background:#2b3525;border:1px solid #c3dfa013;border-radius:9px;color:#8fa879;box-shadow:inset 0 1px #ecffcf04}.board-toolbar button:hover{background:#3b4d2e;color:#d1e8b4}.board-toolbar button[aria-pressed="true"]{background:#506d37;color:#deefc4;border-color:#bcd99144}.game-state-row{border-color:#c4dfa00c;padding-top:10px}.game-state-row .match-status strong{font-size:9px;color:#9fb78a;font-weight:500}.game-state-row .match-actions .secondary{background:#2c3923;border:1px solid #bbd99b15;color:#a6bd8d;border-radius:9px;font-size:8px}.game-state-row .match-actions .secondary:first-child{background:none;border-color:transparent;color:#708a5b}.coach-panel{background:linear-gradient(120deg,#35492a,#2b3a22);border:1px solid #bad68c20;border-radius:13px;box-shadow:0 4px 15px #0001}.coach-panel h3{font-size:11px;font-weight:600;letter-spacing:.2px;color:#c9deb4}.coach-panel>div:first-child>span:first-child{color:#afcc82;font-size:18px}.coach-panel .mini-tag{font-size:5px;letter-spacing:1px;border-color:#b7ce9030;color:#87a56a;padding:3px 5px}.coach-panel #coachVerdict{border-radius:6px;font-size:9px;letter-spacing:.1px;padding:5px 8px;background:#a7d16f0c;border-color:#bbdb8b24}.coach-panel #coachVerdict.negative{color:#dfb391;background:#d98a5710;border-color:#e0b18624}.game>#coachPanel>p{font-size:10px;line-height:1.8;color:#a8bf94}.game>#coachPanel>.text-button{color:#adcb83;font-size:9px}.panel-tabs{border-radius:0;background:#1d2518;padding:6px;gap:5px}.panel-tabs button{border-radius:8px;font-weight:500;font-size:10px;padding:11px 6px;color:#7f976c}.panel-tabs button.selected{background:#364b29;color:#cde2b6;box-shadow:inset 0 1px #e9ffd00a}.setup-panel{background:#26311f;border-radius:0}.panel-heading{background:linear-gradient(130deg,#304126,#27351f);border-bottom:1px solid #cce2a70b;padding:25px 20px}.panel-heading h2{font-size:27px;font-weight:700;letter-spacing:-.7px;color:#ecf2e3}.panel-heading p{color:#93aa7d;font-size:10px}.heading-icon{font-size:34px;color:#b4d18e}.setup-body{padding:21px}.step-caption{font-size:7px;letter-spacing:1.7px;color:#7d9469}.step-caption>span{border-radius:4px;background:#3b4c2b;border-color:#a6c37a33;color:#b1ca90;padding:3px 5px}.mode-choices{gap:10px}.mode-tile{border-radius:11px;background:linear-gradient(120deg,#34452a,#2b3a22);border:1px solid #c5dfa514;border-bottom:1px solid #16260c55;padding:19px 14px;gap:13px;box-shadow:0 3px 8px #0000000d;min-height:98px}.mode-tile strong{font-size:15px;font-weight:650;letter-spacing:-.15px;color:#dde9cf}.mode-tile small{font-size:9px;color:#8ea77b;line-height:1.8;max-width:165px}.mode-tile>b{font-size:20px;color:#688552}.mode-tile:hover{background:linear-gradient(120deg,#405b31,#334b28);border-color:#bad4944d;box-shadow:0 5px 15px #0002;transform:translateY(-1px)}.mode-tile .mode-icon{border-radius:10px;background:#cce4b007;border-color:#c4dfa314;flex-shrink:0;color:#abc792}.mode-icon>.ui-symbol{width:29px;height:29px}.setup-tip{padding-top:18px;margin-top:19px;border-color:#cee4b00b}.setup-tip p{font-size:10px;color:#688653}.setup-tip strong{color:#9bb786}.setup-tip>span{font-size:23px;color:#8ca86f}.panel-bottom{background:#222e1a;border-color:#bdd59a0d;padding:14px 18px}.panel-bottom button{font-size:9px;color:#8eaf6e}.panel-bottom>span{font-size:8px;color:#647e51}.primary{background:linear-gradient(#b7dc8c,#9bc56e);border:1px solid #d6efb72e;color:#233b12;border-radius:10px;font-size:15px;font-weight:750;box-shadow:0 4px 14px #83ac4d0a}.primary:hover{background:linear-gradient(#c5e69d,#aed181);box-shadow:0 5px 18px #91bd6222}.secondary{border-radius:9px}.chosen-mode strong{font-size:16px;font-weight:650}.chosen-mode small{font-size:10px;color:#7e9a68}.difficulty-choices>button{background:#2d3f22;border-color:#c0dba214;border-radius:10px;padding:13px}.difficulty-choices>button.chosen{border-color:#b4d68a;background:#3e562d;box-shadow:inset 0 0 0 1px #b4d68a33}.difficulty-choices strong{font-size:13px;font-weight:650}.difficulty-choices small{font-size:9px;color:#98b280}.bot-face{width:38px;height:38px;border-radius:10px}.level-bars{color:#a3c77c;font-size:15px}.muted{font-size:10px;line-height:1.85;color:#859f70}.lock-note{color:#607e4e;font-size:8px}.segments{border-radius:10px;background:#1b2815;padding:4px}.segments button{border-radius:7px;font-size:11px;padding:10px 4px;color:#8eab75}.segments button.chosen{background:#486331;color:#d3e9b7}.studio-panel{background:#27331f;scrollbar-color:#58753e #27331f}.studio-heading{background:#2e4123;padding:23px 18px}.studio-heading h2{font-size:23px;letter-spacing:-.6px;font-weight:650;color:#dde9cf}.studio-heading p{font-size:10px;line-height:1.9;color:#8ba574}.studio-section{border-color:#c3dba00c}.studio-section h3{font-size:11px;font-weight:600;color:#bfd4a7}.studio-section h3>span{font-size:6px;color:#72945b}.studio-themes button{background:#1d2b15;border-color:#c5dd9f10;border-radius:8px;padding:5px 5px 7px}.studio-themes span{font-size:7px;color:#8dab73}.studio-themes .chosen{border-color:#b2d182;box-shadow:0 0 0 1px #b2d18222}.studio-themes i{border-radius:4px}.studio-themes b{background:#abd37b;color:#20330e}.studio-pieces>button{background:#1f2d17;border-color:#c4dfa10d;border-radius:9px}.studio-pieces>button.chosen{border-color:#adc987;background:#354d25}.studio-pieces strong{font-size:10px;color:#91b078}.planning-guide p{font-size:9px;color:#7f9e68}.planning-guide button{border-radius:8px;background:#3c552b;border-color:#b9d78a1a;font-size:10px}.review-notice{background:#334a25;border-color:#b7d78d24;border-radius:9px;font-size:9px}.review-notice button{font-size:9px;color:#b4d68c}.planning-tools{background:#3a4329;border-color:#b8b96c2a;border-radius:10px}.planning-tools strong{font-size:10px;color:#c6cc9c}.planning-tools small{font-size:8px;color:#8e9d6e}.plan-colors{gap:6px}.plan-colors button{width:19px;height:19px}.board-result-card{background:linear-gradient(135deg,#344c27,#202f18);border-color:#bad59342;border-radius:19px;box-shadow:0 18px 65px #0008}.board-result h2{font-weight:750}.board-result-score{color:#b9d990}.board-result p{color:#a5be90}.result-close{border-radius:8px}.result-inspect{font-size:9px;color:#779b5c}.toast{border-radius:10px;background:#1b2b12;border-color:#b1d38735;font-size:11px}footer{font-size:6px;color:#536e43;border-color:#bdd49a08;letter-spacing:1px;margin-top:15px}.theme-grid button{border-radius:8px;background:#223119;border-color:#bcd59a16}.theme-grid span{color:#9bb784}.theme-grid .chosen{border-color:#bad58d}#designDialog{background:#293b1e;border-color:#c2dd9d26;border-radius:17px}.dialog-heading h2{font-weight:650;font-size:24px}.animation-option{font-size:11px;color:#96b17c}select,input{background:#1d2c15;border-color:#bfd89a1c;border-radius:9px;color:#c3d8ac}.side-panel.studio-open{border-color:#b4d68b24}.outline .piece svg{stroke-linecap:round;stroke-linejoin:round}.royal .piece svg .detail{opacity:.95}.glass .piece svg{stroke-width:1.35}.piece svg .detail{opacity:.75}
@media(min-width:1500px){.mode-tile{min-height:106px}.mode-tile strong{font-size:17px}.mode-tile small{font-size:10px;max-width:185px}.setup-body{padding:24px}.panel-heading h2{font-size:30px}}
@media(max-width:1100px){.setup-body{padding:17px}.mode-tile{padding:17px 11px;gap:10px;min-height:94px}.mode-tile strong{font-size:14px}.mode-tile small{font-size:9px}.mode-icon>.ui-symbol{width:27px;height:27px}.panel-heading{padding:23px 17px}.panel-heading h2{font-size:25px}}
@media(max-width:680px){.topbar h1{font-size:21px}.mode-tile{padding:19px 14px;min-height:100px;gap:14px}.mode-tile strong{font-size:17px}.mode-tile small{font-size:10px;max-width:none}.mode-icon>.ui-symbol{width:30px;height:30px}.setup-body{padding:22px}.panel-heading{padding:26px 22px}.panel-heading h2{font-size:29px}.moves-heading h3{font-size:15px}.moves-heading{padding:17px 18px}.moves-heading>span{font-size:7px}.history-head{font-size:7px}.history-move{font-size:12px}.move-navigation>span{font-size:8px}.game>#coachPanel>p{font-size:10px}.studio-section h3{font-size:12px}.studio-themes span{font-size:8px}.studio-pieces strong{font-size:10px}.primary{font-size:15px}}
