:root{font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;color:#f0e9d9;background:#0d0d0b;font-synthesis:none;color-scheme:dark;font-weight:400;--paper:#191914;--ink:#f0e9d9;--muted:#b4ad9b;--rust:#d9b863;--line:#363226}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{min-height:44px;border:0}button:disabled{cursor:default;opacity:.46}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #f1d998;outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}button{transition:background .16s,opacity .16s,transform .16s}button:hover:not(:disabled){filter:brightness(1.06)}#app{max-width:1800px;margin:auto;padding:0 38px}.masthead{height:102px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:13px;font-family:"Noto Serif SC",serif;font-size:25px;font-weight:700;letter-spacing:3px}.brand-mark{font-family:Georgia,serif;font-size:43px;color:var(--rust)}.brand small{display:block;font:9px Arial,sans-serif;letter-spacing:2.5px;margin-top:8px}.header-actions{display:flex;align-items:center;gap:16px}.edition{font-size:12px;color:var(--muted);margin-right:22px;letter-spacing:2px}.quiet-button{padding:0 15px;background:transparent;color:var(--ink);font-size:12px}.quiet-button span{margin-left:8px;border:1px solid #78602e;width:16px;height:16px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;font-size:10px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid #363226;min-height:650px;height:calc(100svh - 160px);max-height:920px;overflow:hidden;background:#dce1cf}.world{position:relative;min-width:0;min-height:0;overflow:hidden}#scene{position:absolute;inset:0;touch-action:none}#scene canvas{display:block;width:100%;height:100%}.world-label{position:absolute;top:26px;left:29px;display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1px;pointer-events:none;color:#3c4d38}.live-dot{width:6px;height:6px;background:#516849;border-radius:50%}.world-note{border-left:1px solid #a8b49b;padding-left:11px;margin-left:4px;font-size:8px;letter-spacing:2px}.field-caption{position:absolute;bottom:24px;left:0;right:0;text-align:center;font-size:11px;letter-spacing:2px;color:#485741;pointer-events:none;text-shadow:0 1px 8px #edf0df}.play-sheet{background:var(--paper);padding:29px 26px 19px;display:flex;flex-direction:column;border-left:1px solid #363226;overflow:auto}.sheet-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:var(--rust)}.round{font-size:9px;letter-spacing:1px;color:var(--muted);white-space:nowrap}.turn-heading{margin:33px 0 27px}.turn-kicker{font-size:11px;color:var(--muted);letter-spacing:2px}.turn-heading h2{font-family:"Noto Serif SC",serif;font-size:27px;font-weight:600;margin:9px 0 18px}.color-rule{width:35px;height:3px;background:var(--rust)}.players-heading{font-size:10px;display:flex;justify-content:space-between;color:var(--muted);padding-bottom:12px;border-bottom:1px solid var(--line)}.player-list{padding:0;margin:0;list-style:none}.player-list li{min-height:43px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #363226;font-size:12px}.player-list li.active{color:var(--rust)}.player-dot{width:17px;height:17px;border-radius:50%;background:radial-gradient(circle at 31% 25%,#fff 0%,var(--marble-color) 37%,#2c332a 140%);box-shadow:inset -2px -2px 3px #0002,0 2px 3px #0001}.player-name{flex:1}.player-status{font-size:9px;color:#b4ad9b}.player-rank{width:20px;text-align:center;font-family:Georgia,serif;font-size:16px}.empty-players{color:var(--muted);font-size:11px!important}.message-box{display:flex;gap:10px;align-items:flex-start;margin:24px 0 19px}.message-icon{font-size:20px;color:var(--rust);line-height:1.4}.message-box p{margin:0;font-size:11px;line-height:1.9;min-height:42px;color:#b4ad9b}.turn-controls{margin-top:auto}.aim-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#b4ad9b;margin-bottom:17px;gap:5px}.aim-row>div{display:flex;gap:7px}.step-button{padding:0 9px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:10px;min-width:56px}.power-label{display:flex;justify-content:space-between;align-items:center;font-size:11px}.power-label output{font-family:Georgia,serif;font-size:25px;font-variant-numeric:tabular-nums}.power-label output span{font:10px Arial;margin-left:3px;color:var(--muted)}input[type=range]{width:100%;height:30px;accent-color:var(--rust);cursor:pointer;margin:3px 0 0}.power-scale{display:flex;justify-content:space-between;font-size:9px;color:#b4ad9b;margin-bottom:22px}.primary{width:100%;padding:14px 19px;background:var(--rust);color:#17140c;font-size:13px;letter-spacing:2px;min-height:49px}.shoot-button{display:flex;align-items:center;justify-content:space-between}.keyboard-help{font-size:9px;color:#b4ad9b;text-align:center;margin:12px 0 4px;white-space:nowrap}.sheet-bottom{padding-top:26px;margin-top:auto;display:flex;justify-content:space-between;align-items:center;color:#b4ad9b;font-size:9px;letter-spacing:1px}.little-marble{font-size:23px;color:#b4ad9b}.site-footer{height:56px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b4ad9b;letter-spacing:1px}.menu-layer{position:absolute;inset:0;display:flex;align-items:center;background:linear-gradient(90deg,#0d0d0bdf,#0d0d0bc9 42%,#0d0d0b00 90%);padding:65px 6.5%}.menu-content{max-width:470px}.menu-content>.eyebrow{font-size:11px;letter-spacing:4px}.menu-content h1{font-family:"Noto Serif SC",serif;font-size:clamp(38px,4.3vw,66px);line-height:1.4;font-weight:700;letter-spacing:5px;margin:19px 0 21px}.menu-content h1 em{font-style:normal;color:var(--rust)}.menu-content>p{font-size:12px;line-height:2.2;color:#b4ad9b;letter-spacing:1px}.start-row{display:flex;gap:14px;margin-top:32px;align-items:flex-end}.start-row label{display:flex;flex-direction:column;gap:8px;flex:0 0 107px;font-size:10px;color:#b4ad9b}.start-row select{height:49px;border:1px solid #78602e;padding:0 12px;background:#242219b3;color:var(--ink);border-radius:0;font-size:14px}.start-row .primary{min-width:169px;max-width:220px}.menu-footnote{display:block;font-size:9px;letter-spacing:1px;color:#b4ad9b;margin-top:20px}dialog{width:min(490px,calc(100vw - 36px));max-height:calc(100svh - 40px);padding:39px;border:1px solid #363226;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #00000040;overflow:auto}dialog::backdrop{background:#0d0d0bcc;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}dialog h2{font-family:"Noto Serif SC",serif;font-size:27px;margin:17px 0 20px;font-weight:600}dialog>p{font-size:13px;line-height:1.9;color:#b4ad9b;margin-bottom:28px}.dialog-close{position:absolute;top:9px;right:9px;width:44px;height:44px;font-size:25px;background:none;color:#b4ad9b}.rules-list{padding-left:19px;font-size:12px;line-height:1.8}.rules-list li{padding-left:5px;margin-bottom:18px}.rules-list p{font-size:11px;color:#b4ad9b;margin:5px 0 0}.text-button{display:block;background:none;color:#b4ad9b;text-align:center;width:100%;margin-top:9px;font-size:12px}.finish-ranks{padding:0;list-style:none;counter-reset:rank;margin:25px 0}.finish-ranks li{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.finish-ranks li:first-child{color:var(--rust)}@media(min-width:1500px){.game-layout{grid-template-columns:minmax(0,1fr) 340px}.play-sheet{padding:35px 30px}.player-list li{min-height:49px}}@media(max-width:1050px){#app{padding:0 20px}.edition{display:none}.game-layout{grid-template-columns:minmax(0,1fr) 277px}.play-sheet{padding:24px 20px}.menu-layer{padding-left:7%}.menu-content h1{font-size:43px}.world-note{display:none}.start-row{gap:9px}.start-row label{flex-basis:87px}.start-row .primary{min-width:145px;padding:12px}.menu-content>p{font-size:11px}}@media(max-width:700px){#app{padding:0 12px}.masthead{height:78px;gap:5px}.brand{font-size:20px;gap:7px;letter-spacing:2px}.brand-mark{font-size:32px}.brand small{font-size:7px;letter-spacing:1.7px;margin-top:5px}.header-actions{gap:0}.quiet-button{font-size:10px;padding:0 8px}.game-layout{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none}.world{height:clamp(340px,55svh,490px);flex:none}.world-label{top:17px;left:18px;font-size:9px}.field-caption{bottom:15px;font-size:9px;letter-spacing:1px}.play-sheet{border-left:0;border-top:1px solid #363226;padding:22px;overflow:visible;display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.sheet-top{grid-column:1/-1}.turn-heading{margin:20px 0 16px}.turn-heading h2{font-size:22px;margin:5px 0 10px}.turn-kicker{font-size:9px}.players-heading{grid-column:1;padding-bottom:8px;align-self:end;font-size:9px}.player-list{grid-column:1}.player-list li{min-height:34px;font-size:10px;gap:6px}.player-dot{width:13px;height:13px}.player-status{font-size:8px}.player-rank{font-size:13px;width:13px}.message-box{grid-column:1;margin:14px 0 0;gap:6px}.message-box p{font-size:10px;line-height:1.7}.turn-controls{grid-column:2;grid-row:2/6;align-self:center;margin:20px 0 0}.aim-row{display:block;margin-bottom:10px;font-size:10px}.aim-row>div{margin-top:8px}.step-button{flex:1;min-width:0;padding:0 6px;font-size:9px}.power-scale{font-size:8px;margin-bottom:13px}.primary{font-size:12px;padding:13px 10px;letter-spacing:1px}.keyboard-help{display:none}.sheet-bottom{grid-column:1/-1;padding-top:14px;font-size:8px}.site-footer{height:45px;font-size:8px;letter-spacing:0}.site-footer span:last-child{font-size:7px}.menu-layer{padding:45px 27px;background:linear-gradient(90deg,#0d0d0bed,#0d0d0b55)}.menu-content h1{font-size:37px;margin:13px 0 12px;letter-spacing:3px;line-height:1.3}.menu-content>.eyebrow{font-size:9px;letter-spacing:2px}.menu-content>p{font-size:10px;line-height:1.8;margin:0}.start-row{margin-top:18px;gap:11px}.start-row label{font-size:9px;gap:5px;flex-basis:91px}.start-row .primary{min-width:150px}.menu-footnote{font-size:8px;margin-top:13px}dialog{padding:30px 25px}dialog h2{font-size:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.opening-ranks{list-style:none;padding:0;margin:20px 0}.opening-ranks li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.opening-ranks li span{font-size:11px;color:#b4ad9b}.opening-ranks li:first-child strong{color:var(--rust)}.attack-selection{min-width:0;margin:0 0 18px}.attack-heading{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--ink);margin-bottom:7px}.attack-heading>span:last-child{color:#b4ad9b;font-size:9px;font-variant-numeric:tabular-nums}.attack-targets{display:flex;gap:6px;overflow-x:auto;padding:4px 3px 7px;scrollbar-width:thin;overscroll-behavior-x:contain}.target-button{display:grid;grid-template-columns:13px auto;align-content:center;align-items:center;column-gap:5px;row-gap:2px;flex:0 0 auto;min-width:76px;min-height:48px;padding:6px 8px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:10px;white-space:nowrap}.target-button .player-dot{width:13px;height:13px;grid-row:1/3}.target-button small{font-size:8px;color:#b4ad9b}.target-button[aria-pressed=true]{border-color:var(--rust);background:#322b1b}.target-button[aria-pressed=true] small{color:#d9b863}.target-button:disabled{opacity:.62}.target-button:focus-visible{outline-offset:1px}.policy-label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#b4ad9b;margin-top:22px;max-width:330px}.policy-label select{min-height:44px;padding:0 10px;background:#242219e0;border:1px solid #78602e;color:var(--ink);border-radius:0;font-size:12px}.start-row{margin-top:15px}.charge-instruction{font-size:12px;line-height:1.7;color:var(--ink);margin-bottom:15px}.charge-label{display:flex;gap:6px;align-items:baseline;font-size:10px;color:#b4ad9b}.charge-label>span:first-child{flex:1}.charge-label output{font-size:30px;font-family:Georgia,serif;color:var(--ink);font-variant-numeric:tabular-nums}.charge-help{font-size:10px;color:#b4ad9b;margin:8px 0 18px}meter{appearance:none;display:block;width:100%;height:8px;margin-top:7px;border:0;background:#322b1b;border-radius:0}meter::-webkit-meter-bar{background:#322b1b;border:0;border-radius:0}meter::-webkit-meter-optimum-value{background:var(--rust)}meter::-moz-meter-bar{background:var(--rust)}.charging .charge-label output{color:var(--rust)}.menu-layer{overflow:auto}.menu-content{flex-shrink:0}dialog{overscroll-behavior:contain}.primary,.quiet-button,.dialog-close,select{min-height:44px;min-width:44px}@media(max-width:700px)and (orientation:portrait){html,body{height:100%;overflow:hidden}#app{height:100svh;padding:env(safe-area-inset-top) 10px env(safe-area-inset-bottom);display:flex;flex-direction:column;max-height:100svh}.masthead{height:62px;min-height:62px}.brand{font-size:19px}.brand-mark{font-size:29px}.brand small{font-size:6px}.quiet-button{font-size:10px;padding:0 7px}.game-layout{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;height:auto}.world{flex:1;min-height:0;height:auto}.world-label{top:11px;left:12px;font-size:8px}.field-caption{bottom:9px;font-size:8px}.play-sheet{flex:none;display:grid;grid-template-columns:1fr 1fr;column-gap:13px;row-gap:0;padding:10px 14px;overflow:hidden}.sheet-top{grid-column:1/-1}.sheet-top .eyebrow{font-size:9px;letter-spacing:1px}.round{font-size:8px}.turn-heading{grid-column:1;grid-row:2;margin:8px 0 7px}.turn-heading h2{font-size:20px;margin:3px 0 0}.turn-kicker{font-size:8px;letter-spacing:1px}.color-rule,.players-heading{display:none}.player-list{grid-column:1/-1;grid-row:3;display:flex;gap:12px;overflow-x:auto;padding:4px 0;scrollbar-width:thin}.player-list li{flex:0 0 auto;min-height:29px;border:0;gap:5px;white-space:nowrap;font-size:10px}.player-status{font-size:8px}.player-rank{width:auto;min-width:9px;font-size:11px}.message-box{grid-column:1/-1;grid-row:4;gap:5px;margin:5px 0 0;align-items:center}.message-icon{font-size:14px}.message-box p{font-size:10px;line-height:1.5;min-height:0;max-height:30px;overflow:auto}.turn-controls{grid-column:2;grid-row:2;margin:4px 0 0;align-self:center}.charge-instruction{font-size:9px;line-height:1.4;margin-bottom:2px;white-space:nowrap}.charge-label{font-size:8px;gap:3px}.charge-label output{font-size:20px}.charge-help{font-size:8px;margin:3px 0 0;white-space:nowrap}meter{height:5px;margin-top:3px}.turn-controls .primary{padding:8px;margin-top:6px;font-size:11px;min-height:44px}.sheet-bottom,.site-footer{display:none}.menu-layer{align-items:flex-start;padding:35px 24px 24px;background:linear-gradient(90deg,#0d0d0bf5,#0d0d0b85);overscroll-behavior:contain}.menu-content{width:100%;max-width:350px;margin:auto 0}.menu-content h1{font-size:36px;line-height:1.22;margin:13px 0}.menu-content>p{font-size:10px;line-height:1.7}.menu-content>.eyebrow{font-size:9px}.policy-label{margin-top:16px;font-size:9px;gap:5px}.policy-label select{font-size:11px;min-height:44px;width:100%}.start-row{margin-top:12px;gap:10px}.start-row label{font-size:9px;flex:0 0 83px}.start-row select{height:44px}.start-row .primary{min-width:0;max-width:none;flex:1;font-size:11px;letter-spacing:0;min-height:44px}.menu-footnote{font-size:8px;margin-top:12px}#app:not(.is-playing) .play-sheet{height:90px}#app:not(.is-playing) .player-list,#app:not(.is-playing) .message-box{display:none}dialog{max-height:calc(100svh - 24px);padding:26px 22px}.opening-ranks li{font-size:12px}.opening-ranks li span{font-size:10px}}@media(max-height:500px)and (orientation:landscape){html,body{height:100%;overflow:hidden}#app{height:100svh;max-height:100svh;padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(10px,env(safe-area-inset-left));display:flex;flex-direction:column}.masthead{height:52px;min-height:52px}.brand{font-size:18px}.brand small{font-size:6px;margin-top:3px}.brand-mark{font-size:29px}.edition,.site-footer,.sheet-bottom{display:none}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 246px;flex:1;height:auto;min-height:0;max-height:none}.world{height:auto;min-height:0}.play-sheet{display:flex;overflow:auto;padding:14px 17px;border-left:1px solid var(--line);border-top:0}.turn-heading{margin:12px 0}.turn-heading h2{font-size:21px;margin:5px 0}.color-rule{display:none}.player-list li{min-height:28px}.players-heading{font-size:9px;padding-bottom:6px}.message-box{margin:10px 0}.message-box p{font-size:10px;min-height:0;line-height:1.5}.charge-instruction{font-size:10px;margin-bottom:4px}.charge-label output{font-size:23px}.charge-help{font-size:9px;margin-bottom:10px}.world-label{top:12px;left:15px}.field-caption{bottom:10px;font-size:9px}.menu-layer{padding:20px 27px;align-items:flex-start}.menu-content{max-width:380px}.menu-content h1{font-size:27px;margin:8px 0;line-height:1.2}.menu-content h1 br{display:none}.menu-content>p{font-size:10px;line-height:1.6;margin:5px 0}.menu-content>.eyebrow{font-size:8px}.policy-label{margin-top:10px;gap:4px;font-size:9px}.policy-label select{font-size:10px}.start-row{margin-top:8px}.start-row label{font-size:9px;gap:4px}.start-row select{height:44px}.start-row .primary{font-size:11px;min-width:160px;min-height:44px}.menu-footnote{display:none}dialog{max-height:calc(100svh - 20px);padding:25px}}@media(max-width:700px)and (orientation:portrait){.attack-selection{grid-column:1/-1;grid-row:5;margin:8px 0 0}.attack-heading{margin-bottom:2px;font-size:9px}.attack-heading>span:last-child{font-size:8px}.attack-targets{padding-bottom:3px}.target-button{min-height:44px}.play-sheet{min-width:0}}@media(max-height:500px)and (orientation:landscape){.attack-selection{margin:0 0 10px}.attack-targets{padding-bottom:4px}.target-button{min-height:44px}}.match-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px;max-width:430px}.match-choices label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#b4ad9b;min-width:0}.match-choices select{width:100%;min-height:44px;padding:0 10px;border:1px solid #78602e;background:#242219eb;color:var(--ink);font-size:12px;border-radius:0}.match-choices label>span{font-size:10px;line-height:1.6;min-height:32px;color:#b4ad9b}.terrain-status{font-size:10px;color:#b4ad9b;line-height:1.5;margin-top:9px}.menu-content h1{font-size:clamp(34px,3.7vw,55px);margin:14px 0}.menu-layer{z-index:2;background:linear-gradient(90deg,#0d0d0bf5,#0d0d0bd4 48%,#0d0d0b00 84%)}.menu-content{max-width:490px}.policy-label{margin-top:12px}@media(max-width:700px)and (orientation:portrait){.menu-layer{padding:20px 16px;background:linear-gradient(to bottom,transparent 0 119px,#0d0d0bf2 119px),linear-gradient(90deg,#0d0d0bf2 calc(100% - 96px),transparent calc(100% - 96px));align-items:flex-start}.menu-content{margin:0;width:100%}.menu-content h1{font-size:29px;line-height:1.16;margin:9px 0}.menu-content h1 br{display:block}.menu-content>p br{display:none}.menu-content>.eyebrow{font-size:8px}.menu-content h1{max-width:calc(100% - 78px)}.match-choices{gap:9px;margin-top:13px}.match-choices label{font-size:10px;gap:5px}.match-choices select{font-size:11px;padding:0 6px}.match-choices label>span{font-size:9px;min-height:42px;line-height:1.5}.policy-label{margin-top:9px}.menu-footnote{margin-top:10px}.terrain-status{grid-column:1/-1;grid-row:2;font-size:9px;margin:5px 0 0}.turn-heading,.turn-controls{grid-row:3}.player-list{grid-row:4}.message-box{grid-row:5}.attack-selection{grid-row:6}#app:not(.is-playing) .play-sheet{height:76px}#app:not(.is-playing) .terrain-status{display:none}}@media(max-height:500px)and (orientation:landscape){.menu-layer{padding:18px 22px}.menu-content h1{font-size:25px}.match-choices{margin-top:10px;gap:9px}.match-choices label>span{font-size:9px;min-height:28px}.match-choices select{font-size:11px}.policy-label{margin-top:6px}.terrain-status{font-size:9px;margin-top:6px}}.menu-layer{align-items:flex-start;padding-top:40px;padding-bottom:30px}.menu-content{width:min(100%,430px);margin:auto 0}.menu-content h1{font-size:clamp(30px,3vw,43px);line-height:1.2;margin:12px 0}.menu-content>p{margin:0;line-height:1.8}.terrain-choice,.style-choice{grid-template-columns:1fr;margin-top:13px;gap:0}.match-choices label>span{min-height:0}.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;border:0;padding:0;margin:13px 0 0;min-width:0;max-width:430px}.mode-choices legend{font-size:11px;color:#b4ad9b;margin-bottom:7px;padding:0}.mode-option{display:flex;align-items:center;gap:8px;min-width:0;min-height:63px;padding:10px;border:1px solid #78602e;background:#242219b3;cursor:pointer}.mode-option:has(input:checked){border-color:var(--rust);background:#322b1b}.mode-option:has(input:disabled){cursor:default;opacity:.62}.mode-option input{accent-color:var(--rust);width:16px;height:16px;margin:0;flex:none}.mode-option span{display:flex;flex-direction:column;gap:5px;min-width:0}.mode-option strong{font-size:12px;font-weight:600}.mode-option small{font-size:10px;line-height:1.4;color:#b4ad9b}.menu-content>.match-explanation{max-width:430px;margin-top:13px;font-size:11px;line-height:1.8;letter-spacing:0;color:#b4ad9b}.start-row .primary{max-width:none;flex:1}.match-panel{max-width:430px;margin-top:13px;border-top:1px solid #78602e;padding-top:10px}.match-progress{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.match-progress p{margin:0;font-size:12px;line-height:1.7;color:var(--ink)}.match-progress>span{flex:none;font-size:12px;line-height:1.7;font-variant-numeric:tabular-nums;color:var(--rust)}.match-panel .text-button{margin-top:3px;text-align:left;padding-left:0;color:#e1a46d}.mode-status{grid-column:1/-1;font-size:10px;line-height:1.65;color:#e1a46d;margin-top:5px;overflow-wrap:anywhere}.online-recovery{grid-column:1/-1;display:flex;gap:12px;margin-top:3px}.online-recovery .text-button{font-size:10px;margin:0;color:#e1a46d}select:disabled{opacity:.62;cursor:default}@media(max-width:700px)and (orientation:portrait){.menu-layer{padding:20px 16px}.menu-content{width:100%;margin:0}.menu-content h1{font-size:29px;margin:9px 0}.terrain-choice,.style-choice{margin-top:11px}.match-choices label>span{min-height:0;font-size:9px}.mode-choices{margin-top:11px;gap:7px}.mode-choices legend{font-size:10px;margin-bottom:5px}.mode-option{min-height:60px;padding:8px;gap:6px}.mode-option strong{font-size:11px}.mode-option small{font-size:9px}.menu-content>.match-explanation{font-size:10px;line-height:1.7;margin-top:10px}.match-progress p,.match-progress>span{font-size:10px}.mode-status{grid-row:3;font-size:9px;line-height:1.5;margin-top:3px}.turn-heading,.turn-controls{grid-row:4}.player-list{grid-row:5}.message-box{grid-row:6}.attack-selection{grid-row:7}.online-recovery{grid-row:8}}@media(max-height:500px)and (orientation:landscape){.menu-layer{padding:18px 22px}.menu-content{margin:0}.menu-content h1{font-size:25px}.terrain-choice,.style-choice,.mode-choices{margin-top:9px}.mode-option{padding:8px;min-height:56px}.mode-option small,.mode-status{font-size:9px}}.brand,.menu-content h1,.turn-heading h2,dialog h2{color:var(--rust)}.primary:hover:not(:disabled){background:#eed395}body{background:radial-gradient(ellipse at 92% 6%,#b78a2e0e,transparent 45%)}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.game-layout,dialog{border-radius:16px}button,select,.mode-option,.menu-content select{border-radius:8px}.mode-option{transition:background-color .16s ease,border-color .16s ease}.mode-option:has(input:focus-visible){outline:3px solid #f1d998;outline-offset:2px}.menu-content{min-width:0}.menu-content h1{text-wrap:balance}.menu-layer{scroll-padding-block:24px;scrollbar-width:thin;scrollbar-color:#78602e #191914}dialog{background:radial-gradient(circle at 90% 0%,#d9b86314,transparent 60%),var(--paper);border-color:#655432;box-shadow:inset 0 1px #f1d99818,0 24px 80px #0006}.primary:active:not(:disabled){box-shadow:inset 0 2px 5px #0003}[data-home]{color:var(--rust);border:1px solid var(--rust);background:var(--paper);white-space:nowrap}[data-home]:hover{background:#322b1b}@media(max-width:900px),(pointer:coarse){.menu-content select{font-size:16px}.menu-content label,.mode-choices legend{font-size:12px}.mode-option strong{font-size:13px}.mode-option small,.match-choices label>span{font-size:11px;line-height:1.55}.menu-content>p,.menu-content>.match-explanation{font-size:12px}.menu-content .primary{font-size:13px;letter-spacing:0}.start-row label{flex-basis:80px}.start-row .primary{min-width:0}.header-actions{flex-wrap:wrap}}@media(max-width:700px)and (orientation:portrait){#app{height:100dvh;max-height:100dvh;padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))}.masthead{height:auto;min-height:62px;flex-wrap:wrap;padding-block:8px;gap:4px}.brand small{display:none}.brand{font-size:17px;letter-spacing:1px}.brand-mark{font-size:25px}.header-actions .quiet-button{padding-inline:6px}#app:not(.is-playing) .play-sheet{display:none}.menu-content h1{font-size:clamp(28px,7vw,36px)}.menu-layer{padding:20px 16px 28px}.play-sheet{max-height:55dvh;overflow-y:auto}}@media(max-height:500px)and (orientation:landscape){#app{height:100dvh;max-height:100dvh}#app:not(.is-playing) .game-layout{grid-template-columns:minmax(0,1fr)}#app:not(.is-playing) .play-sheet{display:none}.menu-content{max-width:430px;margin:0}.menu-layer{padding:18px 22px 28px}.menu-content h1{max-width:none}}@media(prefers-reduced-motion:reduce){.mode-option{transition:none}}
