*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#f4f1e7;color:#142e35;font:16px/1.7 Arial,Helvetica,sans-serif}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}a:hover{color:#ad311e}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #3e6fc4;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p,figure{margin-top:0}.wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}.skip{position:absolute;left:16px;top:-100px;z-index:20;background:#142e35;color:white;padding:12px 20px}.skip:focus{top:12px}.masthead{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #a4ada5;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:25px;font-weight:700;letter-spacing:-1px;line-height:1}.brand-dot{color:#d5452c;margin-left:-7px}.brand-mark{width:22px;height:26px;border-left:3px solid #142e35;position:relative}.brand-mark:before{content:'';position:absolute;top:1px;width:18px;height:13px;background:#d5452c;clip-path:polygon(0 0,100% 0,75% 50%,100% 100%,0 100%)}.masthead nav{display:flex;gap:28px;font-size:12px;font-weight:700}.masthead nav a{text-decoration:none}.nav-play{border-bottom:1px solid #142e35}.game-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 0 18px;gap:20px}.eyebrow,.folio{font-size:10px;letter-spacing:1.8px;font-weight:700;line-height:1.5}.eyebrow{margin:0 0 8px}h1{font-size:43px;letter-spacing:-2px;line-height:1.05;margin-bottom:0}.edition{font-size:10px;font-weight:700;letter-spacing:1.5px;line-height:1.8;margin:0;text-align:right}.edition>span:last-child{font:italic 15px Georgia,serif;letter-spacing:0}.signal{display:inline-block;width:6px;height:6px;border-radius:50%;background:#3e6fc4;margin-right:7px}.arena{position:relative;width:100%;height:clamp(500px,68vh,640px);border:1px solid #142e35;background:#e7e8da;isolation:isolate;overflow:hidden}.cover,.loading{position:absolute;inset:0}.cover{display:grid;grid-template-columns:1fr 1.1fr;background:linear-gradient(90deg,#e9e9da 49%,#dce0cd 49%)}.cover-copy{padding:30px 40px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;z-index:1}.cover-copy .folio{margin-bottom:20px}.cover h2{font-size:clamp(44px,5.4vw,74px);line-height:1.02;letter-spacing:-3px;margin-bottom:19px;font-weight:500}.cover h2 em{font-family:Georgia,serif;font-weight:400;color:#b33e2a}.cover-copy p{font-size:15px;line-height:1.7;margin-bottom:24px}.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;background:#142e35;color:#fffdf4;border:1px solid #142e35;padding:15px 21px;text-decoration:none;font-weight:700;font-size:14px;line-height:1.4;min-height:50px}.primary:hover{background:#254b53;color:#fff}.primary span{font-size:22px;line-height:1}.cover-note{font-size:11px;margin-top:12px}.board-study{position:relative;align-self:center;justify-self:center;width:calc(100% - 52px);max-width:440px;margin:20px;padding:15px;border:1px solid #849284;transform:rotate(-3deg);background:#f4f1e7;box-shadow:9px 10px 0 #142e3510}.study-top,.board-study figcaption{display:flex;justify-content:space-between;gap:10px;font-size:8px;font-weight:700;letter-spacing:.7px}.study-top{margin-bottom:12px}.study-image{border:1px solid #82928b;background:#dedfcc}.study-image img{display:block;width:100%;height:auto}.board-study figcaption{margin-top:12px;font-size:8px;font-weight:400;letter-spacing:0}.board-study figcaption span:last-child{text-align:right}.study-cross{position:absolute;top:-18px;right:-11px;font-size:30px}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#e9e9da;padding:25px;z-index:3}.loading h2{font-size:28px;letter-spacing:-1px;margin:20px 0 6px}.loading p{font-size:13px;max-width:30em}.loading-lane{width:250px;height:122px;position:relative;margin-top:30px;background:repeating-linear-gradient(90deg,transparent 0 48px,#142e3520 49px 50px),repeating-linear-gradient(0deg,transparent 0 48px,#142e3520 49px 50px)}.load-counter{position:absolute;top:27px;width:45px;height:58px;display:grid;place-items:center;font:38px Georgia,serif;color:#fff8e9;border:1px solid #142e35;box-shadow:3px 3px #142e35}.load-counter.red{left:22px;background:#d5452c;animation:advance-red 2.4s steps(3,end) infinite}.load-counter.blue{right:22px;background:#3e6fc4;animation:advance-blue 2.4s steps(3,end) infinite}.load-flag{position:absolute;left:116px;top:45px;font-size:24px}@keyframes advance-red{50%{transform:translateX(40px)}}@keyframes advance-blue{50%{transform:translateX(-40px)}}.arena:fullscreen{height:100dvh;width:100vw;border:0}.arena:-webkit-full-screen{height:100vh;width:100vw}.game-tools,.social-tools{display:flex;align-items:center}.game-tools{border:1px solid #142e35;border-top:0;justify-content:space-between;min-height:58px}.social-tools{flex-wrap:wrap}.tool{display:inline-flex;align-items:center;gap:9px;background:none;border:0;border-right:1px solid #a4ada5;padding:15px 19px;min-height:56px;font-size:12px;color:#142e35}.tool:hover{background:#e5e7d8}.tool[aria-pressed=true]{color:#af311e;background:#ecdacf}.fullscreen{border-right:0;border-left:1px solid #a4ada5}.like-symbol{font-size:23px;line-height:1}.share-msg{font-size:11px;padding:0 12px;max-width:260px}.share-msg:empty{padding:0}.source-line{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#465f56;padding-top:10px}.quick-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #9ca997;padding:20px 0;margin-top:32px;margin-bottom:50px}.quick-rules>div{display:flex;gap:15px;padding:0 25px;border-left:1px solid #c4cbb8}.quick-rules>div:first-child{padding-left:0;border:0}.quick-rules>div>span{font:italic 30px Georgia,serif;color:#af3b29}.quick-rules p{font-size:12px;line-height:1.7;margin:0}.field-guide{display:grid;grid-template-columns:270px minmax(0,1fr);gap:80px;align-items:start}.guide-rail{position:sticky;top:25px}.guide-rail h2{font-size:31px;font-weight:400;line-height:1.2;letter-spacing:-1px;margin:12px 0 28px}.guide-rail h2 em{font-family:Georgia,serif}.guide-rail nav{display:flex;flex-direction:column}.guide-rail nav a{display:flex;gap:16px;border-top:1px solid #bac4b1;padding:12px 0;text-decoration:none;font-size:12px}.guide-rail nav span{font-size:10px;color:#af3b29}.rail-note{font:italic 17px/1.6 Georgia,serif;margin-top:35px;color:#52675b}.prose{min-width:0;max-width:760px;font-size:16px;line-height:1.9}.prose h2{font-size:30px;letter-spacing:-.9px;line-height:1.2;margin:45px 0 20px;font-weight:500}.prose h2:first-child{margin-top:0}.prose h3{font-size:20px;line-height:1.4;margin-top:28px}.prose p{margin-bottom:22px}.prose ul,.prose ol{padding-left:22px}.prose li{margin-bottom:9px}.prose table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.6;margin:22px 0}.prose td,.prose th{border-bottom:1px solid #bdc5b3;text-align:left;padding:12px 9px}.prose th{font-size:10px;letter-spacing:.5px;background:#e5e7d8}.prose img{max-width:100%;height:auto;border:1px solid #a4ada5}.questions{display:grid;grid-template-columns:270px minmax(0,1fr);gap:80px;padding-top:45px;border-top:1px solid #9ca997;margin-top:60px}.section-heading h2{font-size:36px;line-height:1.15;letter-spacing:-1.2px;font-weight:500;margin:12px 0 18px}.section-heading>p:last-child{font-size:13px;color:#4b6258}.faq-list details{border-bottom:1px solid #b7c2ac}.faq-list summary{list-style:none;display:flex;justify-content:space-between;gap:15px;padding:20px 0;cursor:pointer;font-size:16px;font-weight:700}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{font-weight:400;font-size:20px}.faq-list details[open] summary span{transform:rotate(45deg)}.faq-list p{font-size:15px;line-height:1.9;margin:0 24px 22px 0}.comments-section{border-top:1px solid #9ca997;margin-top:60px;padding-top:36px;margin-bottom:60px}.comment-total{font:14px Arial,sans-serif;margin-left:12px;vertical-align:middle}.comment-form{background:#e8eadc;padding:25px;border:1px solid #b8c2ac;margin-top:25px}.form-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px}.comment-form label{font-size:12px;font-weight:700;display:block}.comment-form label>span{font-weight:400}.comment-form input,.comment-form textarea{display:block;width:100%;background:#f8f6ec;border:1px solid #9aa994;border-radius:0;padding:12px;color:#142e35;margin-top:9px;font-size:14px}.comment-form textarea{resize:vertical;min-height:105px}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.form-bottom p{font-size:11px;margin:0;max-width:350px}.comment-form [role=status]{font-size:12px;margin:14px 0 0}.reply-context{display:none}.comment-form[data-gf-replying] .reply-context{display:flex;justify-content:space-between;font-size:12px;margin-bottom:16px}.reply-context button{border:0;background:none;text-decoration:underline}.comment{border-bottom:1px solid #bdc6b2;padding:24px 0}.comment header{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}.comment time{font-size:10px;color:#53675b;margin-left:auto}.comment p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.owner-badge{font-size:9px;border:1px solid #142e35;padding:1px 5px}.comment[data-gf-owner]{border-left:3px solid #d5452c;padding-left:15px}.reply-button{border:0;background:none;padding:0;min-height:30px;font-size:11px;text-decoration:underline}.replies{margin-left:25px}.replies:empty{display:none}.comment-list[data-gf-empty]:before{content:'No field notes yet. What would you change about your opening formation?';display:block;font:italic 18px Georgia,serif;padding:30px 0;color:#52675b}.footer{border-top:1px solid #142e35;padding-top:30px;padding-bottom:28px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:35px}.footer-top p{font:italic 22px Georgia,serif;margin:0}.footer-top>a:last-child{font-size:11px}.footer-bottom{border-top:1px solid #bcc3b4;padding-top:19px;display:flex;justify-content:space-between;gap:20px;font-size:10px;line-height:1.8;color:#485b57}.footer-bottom p{margin:0}.footer-bottom nav{display:flex;gap:18px;flex-wrap:wrap;align-content:flex-start}.document{max-width:850px;padding-top:40px;padding-bottom:60px;min-height:65vh}.backlink{font-size:12px;display:inline-block;margin-bottom:35px}.document h1{font-size:clamp(34px,4vw,55px);line-height:1.12;letter-spacing:-1.8px;margin:18px 0 22px}.document-lead{font-size:19px;color:#415d55;margin-bottom:35px}.document .prose{max-width:690px}.notice{border:1px solid #9a4632;padding:14px 18px;font-size:13px;margin-top:16px}.inline{margin-top:12px}
/* Original game UI: all counters are live HTML, with no external fonts, art or requests. */
.embed-body{height:100dvh;overflow:hidden;line-height:1.4;background:#e7e8da}.sg-app{height:100dvh;min-height:420px;display:flex;flex-direction:column;padding:12px 15px;gap:10px;color:#142e35;position:relative;font:12px/1.4 Arial,Helvetica,sans-serif}.sg-top{display:flex;align-items:center;gap:18px;min-height:28px;border-bottom:1px solid #b1bcaa;padding-bottom:9px}.sg-top h1{font-size:20px;letter-spacing:-.8px;margin:0;line-height:1.2;flex:1}.sg-top h1 span{font-size:9px;letter-spacing:1px;font-weight:400;margin-left:8px}.sg-top>#sg-moves{font-size:10px;white-space:nowrap}.sg-small,.sg-action{border:1px solid #a1b19b;background:#f5f3e8;color:#142e35;padding:8px 10px;font-size:11px;line-height:1.3;min-height:34px}.sg-small:hover{background:#dbe0ce}.sg-action{background:#142e35;border-color:#142e35;color:#fffdf4;font-weight:700}.sg-action:hover{background:#2c5055}.sg-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sg-controls>div{display:flex;gap:5px}.sg-armies{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.sg-armies b{font-size:15px}.sg-versus{font:italic 11px Georgia,serif;margin:0 5px}.sg-blue-dot,.sg-red-dot{width:7px;height:7px;background:#3e6fc4;display:inline-block}.sg-red-dot{background:#d5452c}.sg-status{display:flex;align-items:center;gap:14px;background:#f4f1e7;padding:9px 12px;min-height:42px;border-left:3px solid #3e6fc4}.sg-status p{margin:0;font-size:12px;line-height:1.4}.sg-turn{font-size:9px;letter-spacing:1px;white-space:nowrap;color:#244e80}.sg-red-turn{color:#aa311d}.sg-work{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:18px;flex:1;min-height:0}.sg-board-wrap{container-type:size;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center}.sg-board{width:min(100%,460px);aspect-ratio:1;width:min(100cqw,100cqh);height:min(100cqw,100cqh);display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(10,minmax(0,1fr));border:2px solid #142e35;background:#9da98d;gap:1px;flex:none}.sg-cell{appearance:none;position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:0;background:#e6e5cc;color:#142e35;font-weight:700;font-size:clamp(11px,2.7cqh,20px);line-height:1;border-radius:0;touch-action:manipulation;transition:filter .12s;overflow:hidden}.sg-cell:nth-child(20n+2),.sg-cell:nth-child(20n+4),.sg-cell:nth-child(20n+6),.sg-cell:nth-child(20n+8),.sg-cell:nth-child(20n+10),.sg-cell:nth-child(20n+11),.sg-cell:nth-child(20n+13),.sg-cell:nth-child(20n+15),.sg-cell:nth-child(20n+17),.sg-cell:nth-child(20n+19){background:#d6d9bb}.sg-cell.sg-blue{background:#3e6fc4;color:#fffdf4;box-shadow:inset 0 0 0 3px #ffffff2e,inset 0 -4px #142e3535}.sg-cell.sg-red{background:#cb492f;color:#fffdf4;box-shadow:inset 0 0 0 3px #ffffff2e,inset 0 -4px #142e3535}.sg-cell.sg-lake{background:#b3ccc6;color:#5b8981;font:italic 24px Georgia,serif;cursor:default}.sg-cell:hover{filter:brightness(1.12)}.sg-cell.sg-selected{outline:3px solid #ffce57;outline-offset:-4px;z-index:2;filter:brightness(1.13)}.sg-cell.sg-legal:after{content:'';position:absolute;width:23%;height:23%;background:#142e35;border-radius:50%}.sg-cell.sg-target{outline:3px dashed #ffce57;outline-offset:-4px;z-index:1}.sg-cell.sg-last:before{content:'';position:absolute;inset:1px;border:2px solid #ffce57;pointer-events:none}.sg-cell:focus-visible{outline:3px solid #fff;outline-offset:-4px;z-index:3}.sg-side{min-width:0;overflow:auto;border-left:1px solid #adbaa4;padding-left:15px;scrollbar-width:thin}.sg-side-title{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.4px;font-weight:700;border-bottom:1px solid #b1bcaa;padding-bottom:9px}.sg-side-title span{color:#b03b28}.sg-side p{font-size:11px;margin:10px 0;line-height:1.5}.sg-side h2{font-size:10px;text-transform:uppercase;letter-spacing:.8px;border-top:1px solid #b1bcaa;padding-top:12px;margin:14px 0 8px}.sg-legend{display:flex;justify-content:space-between;gap:8px;font-size:10px}.sg-legend-dot{width:5px;height:5px;background:#142e35;border-radius:50%;display:inline-block;vertical-align:1px;margin-right:4px}.sg-roster{display:grid;grid-template-columns:1fr 1fr;gap:5px;font-size:9px}.sg-log{padding-left:16px;font-size:10px;margin:6px 0;line-height:1.65}.sg-log li{padding-bottom:6px}.sg-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #b1bcaa;padding-top:8px;font-size:10px;line-height:1.4;min-height:24px}.sg-bottom span:last-child{color:#52675b;text-align:right;white-space:nowrap}.sg-dialog{position:fixed;inset:0;z-index:10;background:#142e3599;padding:20px;display:flex;align-items:center;justify-content:center}.sg-dialog-card{background:#f4f1e7;border:1px solid #142e35;padding:22px;width:min(630px,100%);max-height:100%;overflow:auto;box-shadow:7px 7px #142e3540;font-size:13px;line-height:1.7}.sg-dialog-card>header{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #b1bcaa;padding-bottom:12px;margin-bottom:15px}.sg-dialog-card h2{font-size:21px;font-weight:500;letter-spacing:-.5px;margin:0}.sg-dialog-card p{margin-bottom:15px}.sg-dialog-card li{margin-bottom:8px}.sg-dialog-card ul{padding-left:20px}.sg-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.sg-rank-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:11px;background:#e0e4d2;padding:12px;margin:12px 0}.sg-noscript{position:absolute;inset:0;background:#f4f1e7;padding:30px}.sg-app[data-phase=finished] .sg-status{border-left-color:#af3b29;background:#eee0c2}
@media(max-width:1000px){.wrap{width:calc(100% - 40px)}.field-guide,.questions{grid-template-columns:220px minmax(0,1fr);gap:35px}.cover-copy{padding:25px 28px}.cover h2{font-size:58px}.board-study{width:calc(100% - 30px);margin:15px}.quick-rules>div{padding-inline:15px}.form-grid{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:700px){.wrap{width:calc(100% - 28px)}.masthead{height:65px}.brand{font-size:22px;gap:8px}.masthead nav{gap:0;font-size:11px}.masthead nav>a:not(.nav-play){display:none}.game-heading{padding:19px 0 16px}h1{font-size:35px;letter-spacing:-1.6px}.eyebrow,.folio{font-size:8px;letter-spacing:1.4px}.edition{font-size:8px;letter-spacing:.8px}.edition>span:last-child{font-size:12px}.arena{height:600px;max-height:none}.cover{grid-template-columns:1fr;grid-template-rows:285px 1fr;background:linear-gradient(180deg,#e9e9da 48%,#dce0cd 48%)}.cover-copy{padding:23px 24px;justify-content:flex-start}.cover-copy .folio{margin-bottom:10px}.cover h2{font-size:48px;letter-spacing:-2px;margin-bottom:10px}.cover-copy p{font-size:12px;line-height:1.5;margin-bottom:14px}.primary{font-size:13px;min-height:47px;padding:12px 17px}.cover-note{font-size:9px;margin-top:8px}.board-study{width:240px;max-width:calc(100% - 42px);margin:10px;transform:rotate(-3deg);padding:10px}.study-top,.board-study figcaption{font-size:6px;margin-block:0 7px}.board-study figcaption{margin-top:7px;margin-bottom:0}.study-image img{max-height:235px;object-fit:contain}.tool{font-size:11px;min-height:54px;padding:12px}.game-tools{min-height:54px}.social-tools{position:relative}.share-msg:not(:empty){position:absolute;left:0;top:100%;z-index:5;max-width:250px;width:max-content;background:#142e35;color:#fff;padding:6px 9px}.source-line{font-size:9px;flex-direction:column;gap:3px}.quick-rules{grid-template-columns:1fr;margin-top:25px;margin-bottom:35px;padding:0}.quick-rules>div{padding:14px 0;border-left:0;border-top:1px solid #c7cbbd;gap:18px}.quick-rules>div:first-child{border-top:0}.quick-rules>div>span{font-size:22px}.field-guide,.questions{grid-template-columns:1fr;gap:25px}.guide-rail{position:static}.guide-rail h2{font-size:28px;margin-bottom:20px}.guide-rail nav{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.guide-rail nav a{font-size:11px;gap:8px}.rail-note{display:none}.prose{font-size:15px;line-height:1.85}.prose h2{font-size:25px;margin-top:35px}.prose table{font-size:11px}.prose td,.prose th{padding:10px 5px}.prose th{font-size:9px;letter-spacing:0}.questions{padding-top:30px;margin-top:40px;gap:12px}.section-heading h2{font-size:29px}.faq-list summary{font-size:14px;padding:17px 0}.faq-list p{font-size:14px}.comments-section{margin-top:40px;padding-top:27px;margin-bottom:45px}.comment-form{padding:18px 16px}.form-grid{grid-template-columns:1fr;gap:16px}.form-bottom{align-items:flex-start;flex-direction:column;gap:15px}.form-bottom .primary{width:100%}.replies{margin-left:16px}.footer-top{flex-wrap:wrap;gap:18px;margin-bottom:25px}.footer-top p{font-size:18px}.footer-top>a:last-child{width:100%}.footer-bottom{flex-direction:column;gap:18px;font-size:9px}.document{padding-top:25px;padding-bottom:45px}.document h1{font-size:36px}.document-lead{font-size:17px}
.sg-app{padding:9px 8px;gap:8px;min-height:420px}.sg-top{gap:10px;padding-bottom:8px}.sg-top h1{font-size:18px}.sg-top h1 span{display:none}.sg-top>#sg-moves{font-size:9px}.sg-small,.sg-action{font-size:10px;min-height:36px;padding:7px 8px}.sg-controls{gap:7px}.sg-controls>div{justify-content:flex-end;flex:1;gap:4px}.sg-armies{font-size:10px;gap:4px}.sg-armies b{font-size:13px}.sg-versus{margin:0 2px}.sg-status{display:block;padding:8px 10px;min-height:65px}.sg-turn{display:block;margin-bottom:4px;font-size:8px}.sg-status p{font-size:11px}.sg-work{grid-template-columns:minmax(0,1fr);gap:0}.sg-side{display:none}.sg-cell{font-size:clamp(11px,4cqw,17px)}.sg-bottom{font-size:9px;flex-direction:column;gap:4px;min-height:45px}.sg-bottom span:last-child{text-align:left}.sg-dialog{padding:10px}.sg-dialog-card{padding:15px;font-size:12px}.sg-dialog-card h2{font-size:19px}.sg-rank-table{grid-template-columns:1fr 1fr;font-size:10px}}
@media(max-width:360px){.wrap{width:calc(100% - 20px)}.brand{font-size:20px}.edition{display:none}.cover-copy{padding-left:20px}.cover h2{font-size:46px}.tool{padding-inline:10px}.sg-controls .sg-armies{width:100%;justify-content:center}.sg-controls>div{justify-content:center}.sg-top{gap:6px}.sg-top h1{font-size:16px}.sg-top>#sg-moves{font-size:8px}.sg-top .sg-small{padding-inline:6px}}
@media(max-height:440px) and (min-width:701px){.sg-app{min-height:300px;padding:5px 10px;gap:4px}.sg-top{min-height:24px;padding-bottom:4px}.sg-controls .sg-small,.sg-controls .sg-action{min-height:28px;padding:4px 8px}.sg-status{min-height:30px;padding:5px 10px}.sg-bottom{padding-top:4px;min-height:18px}.sg-side{font-size:10px}.sg-side-title{padding-bottom:4px}}
/* Balanced field command layout. Cover, loader and game share one stable frame. */
.wrap{width:min(1280px,calc(100% - 64px));container-type:inline-size}
.arena{height:auto;aspect-ratio:1.6;min-height:600px;max-height:none}
.sg-app{padding:14px;gap:10px;min-height:540px;background:#eef0e3}
.sg-top{min-height:34px;padding-bottom:10px;flex-shrink:0}
.sg-work{grid-template-columns:minmax(0,1fr) 250px;gap:16px}
.sg-board-wrap{container-type:size;align-items:flex-start;justify-content:flex-start}
.sg-board-stage{width:min(100cqw,100cqh);aspect-ratio:1;display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:20px minmax(0,1fr);flex:none}
.sg-files{grid-column:2;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));align-items:center;text-align:center;font-size:10px;font-weight:700;color:#677566}
.sg-ranks{grid-column:1;grid-row:2;display:grid;grid-template-rows:repeat(10,minmax(0,1fr));align-items:center;text-align:left;font-size:10px;color:#677566}
.sg-board{grid-column:2;grid-row:2;width:100%;height:100%;border:1px solid #8c9d84;gap:1px;container-type:inline-size;box-shadow:0 5px 18px #142e350d}
.sg-cell{padding:3px;background:#e6e8d7;font-size:clamp(14px,3.8cqw,34px)}
.sg-cell:nth-child(20n+2),.sg-cell:nth-child(20n+4),.sg-cell:nth-child(20n+6),.sg-cell:nth-child(20n+8),.sg-cell:nth-child(20n+10),.sg-cell:nth-child(20n+11),.sg-cell:nth-child(20n+13),.sg-cell:nth-child(20n+15),.sg-cell:nth-child(20n+17),.sg-cell:nth-child(20n+19){background:#dce1cc}
.sg-cell.sg-blue,.sg-cell.sg-red{background:#e3e7d4;box-shadow:none;color:#fffdf4}
.sg-counter{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(2px,.5cqw,5px);width:100%;height:100%;border-radius:5px;background:#4273bc;box-shadow:inset 0 1px 0 #ffffff50,inset 0 -3px 0 #142e3530;border:1px solid #315b9b;pointer-events:none}
.sg-red .sg-counter{background:#c75b42;border-color:#a7432e}
.sg-piece-rank{display:block;font-size:clamp(14px,3.8cqw,36px);font-weight:700;line-height:1}
.sg-piece-name{display:block;font-size:clamp(5px,1.04cqw,10px);line-height:1.1;font-weight:400;white-space:nowrap;letter-spacing:0}
.sg-cell.sg-lake{background:#afc9bd;color:#567d76;font-size:clamp(18px,3cqw,30px)}
.sg-cell:focus-visible{outline:3px solid #142e35;outline-offset:-3px}
.sg-side{display:flex;flex-direction:column;gap:14px;padding:14px;border:1px solid #bac5ae;background:#f7f6ee}
.sg-side-title{font-size:10px;padding-bottom:12px}
.sg-status{display:block;min-height:94px;padding:12px;background:#eaf0e0;flex:none}
.sg-turn{display:block;font-size:10px;margin-bottom:8px}
.sg-status p{font-size:12px;margin:0;line-height:1.5}
.sg-controls{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.sg-controls .sg-armies{display:flex;justify-content:center;flex-wrap:wrap;font-size:12px;gap:6px}
.sg-armies b{font-size:18px}
.sg-controls .sg-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}
.sg-actions .sg-action{grid-column:1/-1;min-height:48px;font-size:14px}
.sg-small{min-height:40px;font-size:11px}
.sg-side h2{margin:0 0 10px;padding-top:0;border:0;font-size:10px}
.sg-side p{font-size:12px;line-height:1.5}
.sg-field-guide{border-top:1px solid #bac5ae;padding-top:16px}
.sg-quick-tip{color:#61715f;margin-bottom:0!important}
.sg-legend{font-size:10px;flex-wrap:wrap}
.sg-notes{border-top:1px solid #bac5ae;padding-top:12px;font-size:11px}
.sg-notes summary{cursor:pointer;font-weight:700;padding:4px 0 10px}
.sg-notes h2{margin:14px 0 10px}
.sg-roster{gap:6px;font-size:10px}
.sg-log{font-size:11px}
.sg-bottom{flex:none;min-height:30px;padding-top:10px}
@media(min-width:901px){.sg-work{width:100%;max-width:calc(100dvh + 160px);align-self:center}.masthead{height:74px}.game-heading{padding:18px 0 16px}.game-heading h1{font-size:39px}.sg-notes:not([open])>summary:after{content:' +';float:right}}
@media(max-width:1100px) and (min-width:901px){.sg-work{grid-template-columns:minmax(0,1fr) 235px;gap:12px}.sg-app{padding:12px}.sg-side{padding:12px;gap:12px}}
@media(max-width:900px){
.wrap{width:calc(100% - 28px)}
.arena{aspect-ratio:auto;height:calc(100cqw + 430px);min-height:700px}
.sg-app{height:100dvh;min-height:0;overflow-y:auto;padding:10px;gap:10px}
.sg-work{display:flex;flex-direction:column;gap:14px;flex:none}
.sg-board-wrap{container-type:inline-size;display:block;flex:none}
.sg-board-stage{width:100%;height:auto;grid-template-columns:16px minmax(0,1fr);grid-template-rows:18px minmax(0,1fr)}
.sg-files,.sg-ranks{font-size:8px}
.sg-cell{padding:2px}
.sg-counter{border-radius:3px;gap:2px}
.sg-piece-name{font-size:clamp(5px,1.65cqw,10px)}
.sg-side{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;overflow:visible}
.sg-side-title{grid-column:1/-1;padding-bottom:8px}
.sg-status{min-height:100px;margin:0;padding:10px}
.sg-turn{font-size:9px}
.sg-status p,.sg-side p{font-size:11px}
.sg-controls{gap:8px;justify-content:flex-start}
.sg-controls .sg-armies{font-size:10px;gap:4px}
.sg-armies b{font-size:14px}
.sg-controls .sg-actions{gap:5px}
.sg-small{font-size:10px;min-height:36px;padding:7px 6px}
.sg-actions .sg-action{min-height:40px;font-size:12px}
.sg-field-guide{grid-column:1/-1;padding-top:10px}
.sg-field-guide h2,.sg-quick-tip{display:none}
.sg-field-guide p{margin:0 0 8px}
.sg-notes{grid-column:1/-1;padding-top:8px}
.sg-notes summary{padding:3px 0}
.sg-bottom{font-size:9px;flex-direction:column;gap:4px;min-height:38px}
.sg-bottom span:last-child{text-align:left}
.sg-top{padding-bottom:8px}
}
@media(max-width:360px){.sg-app{padding:7px}.sg-cell{padding:1px}.sg-piece-name{font-size:1.65cqw}.sg-side{padding:9px;gap:9px}.sg-controls .sg-armies{width:auto}.sg-top h1{font-size:16px}}
@media(min-width:901px) and (max-height:500px){.sg-app{min-height:420px}.sg-top{min-height:28px;padding-bottom:6px}.sg-side{padding:10px;gap:10px}.sg-status{min-height:78px;padding:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
