.brand,nav a,.play-again{text-decoration:none;color:inherit}nav a{color:#e2e9d8}.circuit{max-width:1250px}.circuit-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.circuit h1{margin-bottom:0}.circuit-heading.welcome-heading{justify-content:center;text-align:center}.circuit-header.welcome-header{height:auto;flex-direction:column;justify-content:center;gap:4px;padding:10px 12px 7px;text-align:center}.circuit-header.welcome-header nav{height:auto;flex-wrap:wrap;justify-content:center;gap:3px clamp(10px,3vw,28px)}.welcome-brandmark{display:inline-flex;flex:none;align-items:center;padding:1px 3px;border:1px solid #c8bda1;border-radius:9px;background:#fdf9ee}.welcome-brandmark img{display:block;object-fit:contain}.welcome-header nav>:is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:36px;text-align:center}.circuit-welcome{max-width:780px;margin:25px auto;padding:clamp(22px,5vw,58px);text-align:center;background:linear-gradient(170deg,#eef2d8,#fffdf5 58%)}.circuit-welcome h2{font-size:clamp(28px,4vw,44px);margin:12px 0}.circuit-welcome p,.lobby-body p{line-height:1.6;color:#52664e}.piece-parade{display:flex;justify-content:center;gap:clamp(6px,2.4vw,14px)}.piece-parade img{width:clamp(40px,9vw,74px);min-width:0;aspect-ratio:1;image-rendering:pixelated}@media(prefers-reduced-motion:no-preference){.piece-parade img{transform-origin:50% 83%;animation:parade-breathe 3.2s ease-in-out infinite}.piece-parade img:nth-child(3n+2){animation-delay:-1s}.piece-parade img:nth-child(3n){animation-delay:-2.1s}}@keyframes parade-breathe{50%{transform:translateY(-4px) scale(1.02,1.05)}}.elo-ladder{width:min(560px,calc(100% - 24px))}.ladder-body{padding:0 clamp(8px,3vw,22px) 16px;overflow:auto;font-size:.875rem}.ladder-body table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.ladder-body :is(th,td){padding:6px clamp(3px,1.4vw,10px);border-bottom:1px solid var(--line);text-align:right}.ladder-body th:nth-child(2){text-align:left;overflow-wrap:anywhere}.ladder-body tr[data-self=true]{background:#e8f0df}.ladder-body td[data-positive=true]{color:#256449}.ladder-body td[data-positive=false]{color:#9b4531}@media(max-width:420px){.ladder-body table{font-size:.75rem}.ladder-body :is(th,td){padding-inline:3px}}.ladder-summary{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}.encounter-info .encounter-tip{margin-top:4px;color:var(--green);font-weight:650}.settings-profile .ladder-visibility{display:flex;align-items:center;gap:8px;font-size:.85rem;padding:4px 0}.settings-profile .ladder-visibility input{width:1rem;height:1rem;flex:0 0 auto}.welcome-actions{display:flex;gap:12px;margin:23px 0}.welcome-actions>*{flex:1}button.outlined,.simulation-note a.outlined,.invite button{border:1px solid #a8b8a4;background:#f4f6eb;color:var(--green);padding:8px 13px;border-radius:8px}button.outlined:not(:disabled):hover,.simulation-note a.outlined:hover{background:#e8f0df}.welcome-monsters{margin-top:20px}.welcome-monsters h3{font-size:17px;margin:0 0 8px}.welcome-monsters ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0;margin:0;list-style:none}.welcome-monsters li{display:grid;justify-items:center;align-content:start;gap:3px;min-width:0}.monster-preview{display:block;width:clamp(48px,12vw,72px);height:clamp(48px,12vw,72px);overflow:hidden}.monster-preview img{display:block;width:600%;max-width:none;height:100%;image-rendering:pixelated}@media(prefers-reduced-motion:no-preference){.monster-preview img{animation:monster-preview 4.2s steps(6,end) infinite}.welcome-monsters li:nth-child(2) .monster-preview img{animation-delay:-2.1s}.welcome-monsters li:nth-child(3) .monster-preview img{animation-delay:-1.4s}.welcome-monsters li:nth-child(4) .monster-preview img{animation-delay:-3.5s}}@keyframes monster-preview{to{transform:translate(-100%)}}.welcome-monsters li strong,.welcome-monsters li small{display:block}.welcome-monsters p{margin:8px 0 0;font-size:14px}.welcome-classes{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.welcome-classes h3{margin:0 0 10px;font-size:1rem}.tier-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.tier-strip li,.offers span{display:grid;gap:3px}.tier-strip li{grid-template-rows:auto auto auto 1fr;align-items:start}.class-portrait{justify-self:center;width:clamp(34px,7vw,48px);height:auto;image-rendering:pixelated}.tier-strip b,.gold,.offers b,.bench-slot b{color:#86611c}.tier-strip li,.offers small{font-size:14px}.tier-strip small{color:var(--muted);line-height:1.2}.lobby-body{padding:8px 24px 26px}.lobby-body h3{font:26px "DM Serif Text",serif;margin:12px 0}.lobby-body .primary{margin-top:20px}.circuit .layout{grid-template-columns:minmax(0,1.45fr) minmax(315px,1fr)}.offers{display:grid;gap:6px;padding:0 16px}.offers button,.sold{border:1px solid var(--line);border-radius:8px;min-height:44px;display:flex;align-items:center;gap:9px;padding:3px 10px;text-align:left;background:#f6f7ed}.offers button:enabled:hover,.bench-slot>button:enabled:hover,.bench-slot>button[aria-pressed=true]{background:#e2edd9;border-color:#819c74}.offers button:disabled,.shop-control-row button:disabled{opacity:.6;cursor:default}.offers img,.catalog-list img{width:37px;height:37px;image-rendering:pixelated}.offers b,.standings small{margin-left:auto}.standings ol{padding:0 20px 14px;margin:0;list-style:none}.standings li{display:flex;gap:10px;padding:6px 8px;border-bottom:1px solid var(--line)}.standings li>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standings .mine{background:#e6efdc}.circuit .notebook,.invite{margin-top:18px}.invite{padding:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.invite input{min-width:160px;flex:1;padding:8px;border:1px solid var(--line);background:#fff}.invite small{color:var(--muted)}.circuit-status{position:fixed;bottom:16px;left:50%;transform:translate(-50%);z-index:20;padding:10px 14px;border:1px solid #aab99c;background:#eff5df;border-radius:8px;box-shadow:0 3px 15px #19362633;display:flex;align-items:center;gap:14px}.circuit-status.error{background:#ffeddb}.circuit-status button{background:none;border:0;font-size:20px}.catalog{max-width:640px;max-height:82vh}.catalog-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.catalog-piece-name{display:flex;gap:6px;align-items:center}.catalog-list span{display:grid}.catalog-list small{font-size:12px}.elimination-note{margin:0 17px 12px;padding:9px;border:1px solid var(--line);border-radius:8px;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between}.elimination-note p{margin:0}.score-note{padding:6px 20px 16px}.play-again{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;color:#fffef1;line-height:1.3;text-align:center;text-decoration:none}.lobby-body .play-again{width:auto}@media(max-width:760px){.circuit .layout{grid-template-columns:1fr}.tier-strip{grid-template-columns:1fr 1fr}.circuit-status{width:max-content;max-width:90vw}.circuit .head-inner{gap:8px}.catalog-list{grid-template-columns:1fr}.circuit-welcome{margin-top:10px}.welcome-actions{flex-wrap:wrap}}.bench{padding:8px 17px 0}.bench-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:5px}.bench-heading h3{margin:0;font-size:1rem}.bench-heading .counter{color:var(--muted)}.bench-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:6px;padding:0;margin:0;list-style:none}.bench-slot{min-height:54px;display:grid;border-radius:8px;background:#f1f3e8}.bench-slot>button,.bench-empty{border-radius:inherit;display:flex;align-items:center;justify-content:center}.bench-slot>button{gap:3px;padding:3px;border:1px solid var(--line);background:#f8f9ef;font-size:.875rem;line-height:1.2;overflow-wrap:anywhere}.bench-slot img{width:34px;height:34px;image-rendering:pixelated}.bench-slot>button>span:not(.piece-tooltip){display:grid}.bench-slot b{font-size:.75rem}.bench-slot .bench-empty{border:1px dashed #b1beaa;color:var(--muted);font-size:.8125rem}@media(max-width:580px){.bench-slot>button{flex-direction:column;gap:0}.bench-slot img{width:27px;height:27px}}@media(max-width:480px){.bench{padding-inline:9px}}.board-resources{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px;padding:14px 2px 16px}.board-resources dl{flex:1;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.board-resources dt{color:var(--muted);font-size:14px}.board-resources dd{margin:2px 0 0;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.board-resources dl div:last-child dd{color:#795717}.board-resources button{flex-shrink:0}.board-resources button:disabled{opacity:.6;cursor:default}@media(max-width:900px){.board-resources{flex-wrap:wrap}.board-resources dl{min-width:min(100%,250px)}}@media(max-width:480px){.board-resources{margin:0 12px}.board-resources button{width:100%}}.formation-guide{margin:0 17px 8px;min-height:2.4rem;font-size:.875rem;color:#405840}.formation-guide p{margin:2px 0}.piece-details{display:flex;flex-wrap:wrap;gap:2px 8px;font-size:.875rem}.piece-inspect{position:relative}.piece-inspect .piece-tooltip{position:absolute;bottom:calc(100% + 3px);left:0;width:11.5rem;max-width:70vw;padding:8px 9px;border-radius:6px;background:#233e32;box-shadow:0 2px 6px #172a24aa;color:#fffdf3;display:none;flex-direction:column;align-items:flex-start;text-align:left;line-height:1.35;font-weight:400;pointer-events:none}.piece-tooltip strong{font-size:1rem}.offers .piece-tooltip{left:auto;right:0}.circuit .board-wrap{container-type:inline-size}.squares .piece-tooltip{width:min(11.5rem,54cqw)}.squares button:nth-child(-n+32) .piece-tooltip{top:calc(100% + 3px);bottom:auto}.squares button:nth-child(8n+5) .piece-tooltip,.squares button:nth-child(8n+6) .piece-tooltip,.squares button:nth-child(8n+7) .piece-tooltip,.squares button:nth-child(8n) .piece-tooltip,.bench-slot:nth-child(4n+3) .piece-tooltip,.bench-slot:nth-child(4n) .piece-tooltip{left:auto;right:0}.piece-inspect:focus-visible,.piece-inspect[data-inspected]{z-index:3}.piece-inspect:focus-visible .piece-tooltip,.piece-inspect[data-inspected] .piece-tooltip{display:flex}@media(hover:hover){.piece-inspect:hover{z-index:4}.piece-inspect:hover .piece-tooltip{display:flex}}.squares button[data-destination=place]{box-shadow:inset 0 0 0 2px #3f7756;background:#e3ffca77}.squares button[data-destination=swap]{box-shadow:inset 0 0 0 2px #8c6025;background:#fff1be65}.bench-slot .bench-empty:enabled{border-color:#3f7756;background:#e5f0db;color:#294c35}.round-timer{display:block;appearance:none;height:6px;width:calc(100% - 34px);margin:-5px 17px 9px;color:#60824b;background:#e9ecd9;border:0;border-radius:999px;overflow:hidden}.round-timer::-webkit-progress-bar{background:#e9ecd9}.round-timer::-webkit-progress-value{background:#60824b;transition:width .35s linear}.round-timer::-moz-progress-bar{background:#60824b}.round-timer.urgent::-webkit-progress-value{background:#b45333}.round-timer.urgent::-moz-progress-bar{background:#b45333}.field-stage{position:relative}.board-camera{position:absolute;inset:0;transform-origin:top left;transition:transform .32s ease-out}.board-camera[data-focused=true]{transform:translate(var(--duel-x),var(--duel-y)) scale(var(--duel-scale))}.board-camera[data-focused=true] .finishing-blow{--finish-scale: 1.12}.duel-banner{position:absolute;inset-inline:9%;bottom:5%;z-index:1;margin-inline:auto;max-width:460px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;border:1px solid #c9a86e;border-radius:8px;overflow:hidden;background:#233a31;box-shadow:0 4px 16px #17261eb3;color:#f9e6ac;pointer-events:none;animation:result-appear .16s ease-out both}.duel-banner[data-placement=top]{top:5%;bottom:auto}.duel-fighter{display:grid;gap:2px;justify-items:center;align-content:center;grid-column:1;grid-row:1;padding:5px 4px;border-bottom:3px solid #79badf;color:#d7efff;text-align:center;font-size:clamp(11px,2.9vw,15px);line-height:1.2;overflow-wrap:anywhere}.duel-fighter[data-team=ember]{grid-column:3;border-color:#ef965f;color:#ffdfc3}.duel-fighter strong{font-variant-numeric:tabular-nums}.duel-versus{align-self:center;grid-column:2;grid-row:1;padding-inline:7px;font-weight:700;font-size:11px}.battle-result{position:absolute;top:13%;left:50%;transform:translate(-50%);pointer-events:none;padding:4px 20px;border:1px solid #ffe1a4;border-radius:9px;background:#284838;box-shadow:0 6px 20px #2636266b;color:#ffe8ac;animation:result-appear .14s ease-out both;font:clamp(24px,4vw,42px) "DM Serif Text",serif}.battle-result.defeat{background:#58362c}.battle-result.draw{background:#3f4b45}.finishing-blow{transform-origin:var(--focus-x) var(--focus-y);animation:finishing-blow .94s ease-in-out both}.battle-result[data-finisher=true]{animation-delay:.24s}.merge-spark{position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:3px solid #f9d37f;box-shadow:inset 0 0 13px #ffd879,0 0 8px #ffd879;animation:merge-spark .82s ease-out both}@keyframes finishing-blow{0%,to{transform:scale(1)}28%,64%{transform:scale(var(--finish-scale, 1.46))}}@keyframes result-appear{0%{opacity:0}to{opacity:1}}@keyframes merge-spark{0%,to{opacity:0}22%{opacity:1}}@media(prefers-reduced-motion:reduce){.board-camera[data-focused=true]{transform:none;transition:none}.duel-banner,.finishing-blow,.battle-result,.battle-result[data-finisher=true],.merge-spark{animation:none}.merge-spark{display:none}.round-timer::-webkit-progress-value{transition:none}}@media(max-width:540px){.circuit-header{height:auto;min-height:56px;gap:8px;padding-block:7px}.circuit-header .brand{flex-shrink:0}.circuit-header nav{flex-wrap:wrap;justify-content:flex-end;gap:3px 9px;padding-block:3px}}.circuit-live{max-width:1190px;padding:8px 12px 12px}.circuit-live .layout{grid-template-columns:minmax(0,min(59%,clamp(240px,calc(100dvh - 246px),688px))) minmax(315px,425px);gap:12px;justify-content:center}.circuit-live .field-stage{padding:0}.circuit-live .board-wrap{border-radius:13px 13px 9px 9px}.circuit-live .bench{padding:6px 10px 0}.circuit-live .bench-slot{min-height:44px}.circuit-live .board-resources{margin:0 10px;padding:8px 0 10px;gap:4px 8px;flex-wrap:nowrap}.circuit-live .board-resources dl{min-width:0}.circuit-live .board-resources dt{font-size:.8125rem}.circuit-live .board-resources dd{font-size:1rem}.circuit-live .board-resources button{width:auto;min-height:32px;padding:5px 8px}.circuit-live .match-sidebar{min-width:0;display:grid;gap:8px}.circuit-live .match-sidebar .card-head{padding:8px 12px;gap:6px}.round-status h1{margin:0;font-size:1.375rem;letter-spacing:-.45px}.round-status .counter{text-align:right}.round-status .round-timer{width:calc(100% - 24px);margin:0 12px 7px}.round-status .formation-guide{margin:0 12px 7px;min-height:0}.round-status .score-note{padding:2px 12px 7px;font-size:.8125rem}.simulation-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}.simulation-note a{display:inline-flex;align-items:center;text-decoration:none}.circuit-live .market .offers{padding:0 10px;gap:4px}.circuit-live .offers button,.circuit-live .sold{min-height:36px}.circuit-live .offers img{width:28px;height:28px}.circuit-live .offers span:not(.piece-tooltip){gap:0}.match-utility{padding:3px 6px;gap:4px 10px;min-height:36px;justify-content:space-between;flex-wrap:wrap}.match-utility a,.match-utility button{color:var(--green);padding:4px 3px}.match-utility button.outlined{border:1px solid #acbea6;border-radius:6px;padding:5px 9px;background:#e8f0df}.circuit-live .standings ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;padding:0 10px 8px}.circuit-live .standings li{font-size:.8125rem;padding:3px 4px;gap:4px}.match-help{padding:0 6px;color:var(--muted);font-size:.875rem}.match-help summary{cursor:pointer}.match-help p{margin-top:5px}@media(max-width:760px){.circuit-live{padding:5px 8px 9px}.circuit-live .layout{grid-template-columns:minmax(0,500px);gap:6px}.circuit-live .field{width:min(100%,max(226px,calc(100dvh - 588px)));justify-self:center}.circuit-live .match-sidebar{gap:4px}.circuit-live .bench-slot{min-height:36px}.circuit-live .bench-slot>button{padding:2px 1px;font-size:.75rem}.circuit-live .bench-slot img{width:20px;height:20px}.circuit-live .bench .bench-empty,.circuit-live .board-resources dt{font-size:.75rem}.circuit-live .board-resources{padding-block:5px}.circuit-live .round-status .formation-guide,.circuit-live .round-status .formation-guide .piece-details{font-size:.8125rem;line-height:1.2}.circuit-live .board-resources button{max-width:40%;white-space:normal;font-size:.75rem}.circuit-live .market .offers{grid-template-columns:repeat(5,minmax(0,1fr))}.circuit-live .offers button,.circuit-live .sold{display:grid;justify-items:center;align-content:start;gap:0;min-height:58px;padding:3px 1px;text-align:center;font-size:.75rem;overflow-wrap:anywhere}.circuit-live .offers img{width:24px;height:24px}.circuit-live .offers button>span:not(.piece-tooltip) small{display:none}.circuit-live .offers b{margin:0}.circuit-live .offers button:nth-child(-n+2) .piece-tooltip{right:auto;left:0}}.circuit-live .circuit-status{bottom:8px;right:8px;left:auto;transform:none;pointer-events:none}.circuit-live .circuit-status button{pointer-events:auto}.shop-control-row{display:flex;align-items:stretch;gap:6px;padding:7px 10px 9px}.shop-control-row>.primary{flex:1;min-height:38px;padding:4px 9px}.shop-tool{position:relative;display:inline-flex}.shop-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:42px;min-height:38px;padding:4px 8px;color:#335b47;background:#edf1e3;border:1px solid #b9c7af;border-radius:7px}.shop-icon-button[aria-pressed=true]{color:#674413;background:#f9eac3;border-color:#c59d57}.shop-tooltip{position:absolute;z-index:12;left:0;bottom:calc(100% + 5px);display:none;width:min(185px,56vw);padding:7px 9px;border-radius:6px;background:#233e32;color:#fffdf3;box-shadow:0 2px 6px #172a24a0;font-size:.8125rem;line-height:1.35;pointer-events:none}.shop-icon-button:focus-visible+.shop-tooltip{display:block}@media(hover:hover){.shop-tool:hover .shop-tooltip{display:block}.shop-control-row:has(.shop-tool:hover) .shop-tool:not(:hover) .shop-tooltip{display:none}}.shop-gold,.shop-price{color:#80591e;font-variant-numeric:tabular-nums;white-space:nowrap}.shop-gold{border-radius:7px;padding:3px 8px;background:#f7eed4;font-size:.875rem}.shop-odds{display:grid;grid-template-columns:max-content repeat(5,minmax(0,1fr));align-items:baseline;gap:4px;margin:2px 10px 6px;padding:4px 7px;border-radius:6px;background:#eef2e5;color:#4f6854;font-size:.75rem;font-variant-numeric:tabular-nums}.shop-odds span{text-align:center;white-space:nowrap}.shop-odds b{color:#263f34}@media(max-width:380px){.shop-odds{gap:2px;padding-inline:4px;font-size:.6875rem}}.piece-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin:0 10px 8px;padding:4px;border:1px solid #cbd5c0;border-radius:7px;background:#f0f4e7;font-size:.8125rem}.piece-actions>strong{margin-right:auto;padding-left:4px}.piece-actions button{min-height:31px;padding:3px 7px;border:1px solid #aabca4;border-radius:5px;background:#e8efde;color:#2b503d;font-size:inherit;font-weight:700;white-space:nowrap}.piece-actions button.sell-piece{background:#f6e4c8;border-color:#c9a578;color:#6a401d}.piece-actions button:enabled:hover{filter:brightness(.96)}.piece-actions button:disabled{opacity:.54;cursor:default}@media(max-width:400px){.piece-actions button{padding-inline:4px}}.battle-stage{margin:0 12px 7px;color:#7e4b23;font-weight:750;font-size:.875rem}.game-tools{display:inline-flex;align-items:center;gap:6px;flex:none}.music-select{max-inline-size:9rem;min-height:30px;padding:3px 5px;border:1px solid #acbea6;border-radius:6px;background:#f4f7eb;color:#274d38;font:650 .8125rem DM Sans,sans-serif}@media(max-width:760px){.match-utility{gap:2px 5px}}.catalog .catalog-rules{margin-top:8px}.catalog-piece{padding:7px;border:1px solid var(--line);border-radius:7px}.catalog-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:5px 0 0;text-align:center;font-size:.8125rem}.catalog-levels>div{background:#eff2e5;border-radius:5px;padding:3px 2px}.catalog-levels dt{font-weight:750}.catalog-levels dd{margin:0;font-variant-numeric:tabular-nums}.catalog>.card-head{position:sticky;top:0;z-index:1;background:#fdfcf5}.aura-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 8px;font-size:.8125rem}.aura-tiers>div{min-width:0;padding:5px 7px;border-radius:6px;background:#e8efdd}.aura-tiers dt{color:#49633d;font-weight:750}.aura-tiers dd{margin:2px 0 0}.aura-formation{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0 12px 7px;font-size:.8125rem}.aura-formation>strong{padding-inline-start:6px;border-inline-start:3px solid #668659;white-space:nowrap}.aura-formation[data-side=north]>strong{border-inline-start-color:#ac8951}.aura-formation>strong span,.aura-empty{color:#4b5d50;font-weight:500}.aura-formation ul{display:flex;flex-wrap:wrap;gap:4px;padding:0;margin:0;list-style:none}.aura-chip{padding:2px 6px;border:1px solid #ccd5be;border-radius:5px;background:#f4f6ec;color:#475e46;font:inherit;white-space:nowrap}.aura-chip[data-active=true]{border-color:#6d885d;background:#dfebce;color:#263f30}.aura-tip{position:absolute;top:calc(100% + 3px);left:0;z-index:15;visibility:hidden;max-width:100%;padding:6px 9px;border-radius:6px;color:#fdfcf5;background:#233d32;pointer-events:none}.aura-tip small{display:block;color:#dce7cf;font-size:inherit}.aura-chip:hover+.aura-tip,.aura-chip:focus-visible+.aura-tip,.aura-chip[data-open=true]+.aura-tip{visibility:visible}@media(max-width:760px){.circuit-live .match-sidebar .card-head{padding-block:6px}.circuit-live .round-status .formation-guide,.aura-formation{margin-bottom:4px}}.piece-catalog[open]{display:flex;flex-direction:column;max-width:720px;padding:0;overflow:hidden}.piece-catalog>.card-head{position:relative;display:grid;grid-template-columns:34px 1fr 34px;flex:none;min-height:54px;padding:6px clamp(12px,3vw,24px);border-bottom:1px solid var(--line)}.piece-catalog>.card-head h2{grid-column:2;margin:0;text-align:center}.piece-catalog-body{min-height:0;padding:12px clamp(12px,3vw,24px) 20px;overflow-y:auto;scrollbar-gutter:stable both-edges}.piece-catalog-body>section h3,.aura-tiers{text-align:center}.aura-tiers>div{display:grid;grid-template-rows:auto 1fr}.aura-tiers dd{align-self:start}@media(max-width:480px){.piece-catalog .aura-tiers{grid-template-columns:1fr;text-align:left}.piece-catalog .aura-tiers>div{grid-template-columns:max-content 1fr;grid-template-rows:auto;column-gap:8px}.piece-catalog .aura-tiers dd{margin:0}}.catalog-piece{display:grid;grid-template-rows:1fr auto}.catalog-piece-name small,.catalog-levels dd{line-height:1.3}.catalog-encounters ul{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}.catalog-encounters li,.encounter-info{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.catalog-encounters li{padding:5px 8px;border:1px solid var(--line);border-radius:6px}.catalog-encounters li>b{text-align:center;font-size:.8125rem}.catalog-encounters img,.encounter-info img{width:40px;height:40px;image-rendering:pixelated}.catalog-encounters .monster-inspiration{margin-top:6px;color:#294639}.monster-inspiration span,.monster-inspiration a{display:block}.monster-inspiration a{color:#265a48;text-decoration:underline}.catalog-encounters small,.encounter-info small{display:block}.encounter-info{margin:0 12px 6px;font-size:.84rem}.encounter-info img{width:30px;height:30px}.battle-result small{display:block;text-align:center;margin-top:2px;font:700 .78rem DM Sans,sans-serif}.credits-page{max-width:760px;margin:0 auto;padding:24px max(16px,3vw)}.credits-page a{color:var(--green)}.credit-tracks{list-style:none;margin:0;padding:0}.credit-tracks li{display:grid;grid-template-columns:minmax(0,2fr) minmax(104px,1fr) auto;align-items:baseline;gap:8px;padding:9px 0;border-bottom:1px solid var(--line)}.credit-tracks li span{font-size:.85rem}.guest-stats{width:min(440px,calc(100vw - 24px))}.guest-stats .stats-close{min-height:36px;padding:5px 12px;border:1px solid #90a68a;border-radius:6px;background:#e8f0df;color:#23492f;font-weight:700}.guest-stats .stats-close:hover,.guest-stats .stats-close:focus-visible{background:#dce9d4;color:#173c26}.guest-stats-body{padding:0 16px 16px}.guest-stats-body table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.guest-stats-body th,.guest-stats-body td{border-bottom:1px solid var(--line);padding:6px 3px;text-align:center}.guest-stat-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));text-align:center;gap:4px;margin:0}.guest-stat-totals div{background:#e8f0df;border-radius:6px;padding:6px 2px}.guest-stat-totals dt{font-size:.82rem}.guest-stat-totals dd{font-weight:700;margin:2px 0 0}.passport-draft{margin:5px 12px 10px;border:1px solid var(--line);border-radius:8px;padding:10px;background:#eef2df}.passport-draft h2{font-size:21px;margin:0 0 6px}.passport-draft p{margin:6px 0}.passport-feedback{padding:7px 9px;border-left:3px solid #869b72;border-radius:4px;background:#f9faed;font-size:.8125rem}.round-status>.passport-feedback{margin:4px 12px 8px}.passport-feedback[data-outcome=incorrect]{border-left-color:#a96439}.passport-feedback p{margin:2px 0 0}.passport-feedback p strong{margin-inline-start:4px}.passport-clue{padding:7px;border-radius:5px;background:#f9faed}.passport-answers,.passport-cards{display:grid;gap:4px;grid-template-columns:repeat(3,minmax(0,1fr))}.passport-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.passport-draft button{display:grid;justify-items:center;align-content:center;gap:2px;padding:5px 3px;min-height:36px;overflow-wrap:anywhere}.passport-cards button img{image-rendering:pixelated}.piece-aura-icons{display:none;position:absolute;top:6%;right:3%;grid-template-columns:repeat(2,auto);gap:1px;pointer-events:none}.piece-inspect:focus-visible .piece-aura-icons,.piece-inspect[data-inspected] .piece-aura-icons,.piece-inspect[data-aura-selected] .piece-aura-icons{display:grid}@media(hover:hover){.piece-inspect:hover .piece-aura-icons{display:grid}}.piece-aura-icons>span{display:grid;place-items:center;width:clamp(8px,2.2cqw,14px);aspect-ratio:1;border-radius:3px;background:#26453a;color:#ffd596;font:bold clamp(7px,1.8cqw,12px) / 1 system-ui,sans-serif}.piece-aura-icons>[data-family=Pawn]{color:#ffc2ad}.piece-aura-icons>[data-family=Animal]{position:relative;color:#b2e887}.piece-aura-icons>[data-family=Animal]:before{content:"";width:68%;height:53%;border-radius:85% 0 85% 12%;background:currentColor;transform:rotate(-10deg)}.piece-aura-icons>[data-family=Animal]:after{content:"";position:absolute;left:20%;top:56%;width:48%;height:1px;background:#26453a;transform:rotate(-35deg)}.piece-aura-icons>[data-family=Castle]{color:#b1ebf5}.piece-aura-icons>[data-family=Spiritual]{width:clamp(14px,3.2cqw,20px)}.piece-aura-icons>[data-family=Spiritual] .pixel-menu-icon{width:100%;height:auto}.piece-aura-icons>[data-family=Military]{color:#edf5ff}.passport-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.passport-heading h2{margin:0}.passport-heading>button{padding-inline:9px}.piece-names{--piece-names-inset: 14px;width:min(960px,calc(100vw - 24px));max-width:none;padding:0;overflow:hidden}.piece-names[open]{display:flex;flex-direction:column}.piece-names>.card-head{display:grid;grid-template-columns:1fr auto 1fr;flex:none;gap:8px;min-height:54px;padding:8px var(--piece-names-inset);border-bottom:1px solid var(--line)}.piece-names>.card-head h2{grid-column:2;margin:0;text-align:center}.piece-names>.card-head form{display:flex;grid-column:3;justify-self:end;margin:0}.piece-names .stats-close{min-height:36px;padding:5px 12px;border:1px solid #90a68a;border-radius:6px;background:#e8f0df;color:#23492f;font-weight:700}.piece-names-tools,.piece-names-sources{padding:6px var(--piece-names-inset);font-size:14px}.piece-names-tools label{display:grid;gap:4px;max-width:360px}.piece-names-tools input{min-height:36px;padding:4px 8px;border:1px solid #90a68a;border-radius:6px;font:inherit}.piece-names-scroll{overflow:auto;min-height:0;margin:0 var(--piece-names-inset)}.piece-names-scroll table{min-width:670px;width:100%;border-collapse:collapse;font-size:14px}.piece-names-scroll td,.piece-names-scroll th{padding:6px;border-bottom:1px solid var(--line);text-align:center;vertical-align:top}.piece-names-scroll thead{position:sticky;top:0;background:#e6edda}.piece-names-scroll th[scope=row]{text-align:left}.piece-names-scroll td span,.piece-names-scroll td small{display:block}.piece-names-scroll td span+span{margin-top:5px}.circuit-header{height:auto;min-height:67px;flex-wrap:wrap;justify-content:center;gap:4px 24px;padding-block:7px}.circuit-header nav{height:auto;justify-content:center;flex-wrap:wrap;gap:4px 14px}.game-settings{width:min(360px,calc(100vw - 24px));padding:14px;text-align:left}.settings-profile{display:grid;gap:5px;padding:8px;color:#244c37}.settings-profile>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:6px}.settings-profile input{width:100%;min-width:0;min-height:36px;padding:6px 9px;border:1px solid #acbea6;border-radius:6px;background:#fffef8;color:inherit;font:inherit}.settings-profile small{min-height:0;color:var(--muted)}.settings-soundtrack{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;color:#244c37}.settings-soundtrack .music-select{max-inline-size:none}.circuit-header nav[aria-label="Game menu"]{gap:4px 10px}.circuit-header nav[aria-label="Game menu"]>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.circuit-header nav[aria-label="Game menu"]>button:not(.settings-trigger){padding-inline:9px;border-radius:8px;border-color:transparent;color:#f5f5e9;background:#2d4d3e}.circuit-header nav[aria-label="Game menu"]>button:not(.settings-trigger):hover{background:#416354}.circuit-header nav[aria-label="Game menu"]>button.elo-badge{border-color:#d5c188;background:#f0dda7;color:#254b36;white-space:nowrap;font-variant-numeric:tabular-nums;gap:5px}.circuit-header nav[aria-label="Game menu"]>button.elo-badge:hover{background:#f5e8c0}.elo-name,.guest-stat-totals dt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elo-name{max-inline-size:7.5rem}.settings-links{display:grid;gap:4px}.settings-links>:is(a,button){display:block;padding:10px 8px;border-radius:6px;color:#244c37;text-align:left}.settings-links>:is(a,button):hover{background:#e6efdc}.circuit-header button.settings-trigger,.match-utility button.settings-trigger,.game-tools .audio-toggle{min-width:44px;min-height:44px;border:1px solid #a8b8a4;border-radius:7px;background:#eef3e5;color:#254b36}.circuit-header button.settings-trigger,.match-utility button.settings-trigger{display:inline-grid;place-items:center;padding:4px;background:#ccdbc4}.pixel-menu-icon{display:block;image-rendering:pixelated}.game-tools .audio-toggle{display:grid;justify-items:center;align-content:center;gap:1px;padding:2px 6px;line-height:1}.game-tools .audio-toggle span:first-child{padding:0;font-size:11px}.game-tools .audio-toggle[aria-pressed=true]{background:#f0dda7}.game-tools .audio-toggle[aria-pressed=false]{background:#e5e4db;color:#4a554b}.welcome-developer{margin-top:16px;padding-top:10px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:.8125rem;font-weight:650}.welcome-developer a{display:inline-block}.welcome-developer img{display:block;object-fit:contain}.battle-armies{display:flex;gap:6px;margin:0 10px 6px}.battle-armies span{display:flex;flex:1;gap:5px;align-items:center;padding:4px 6px;border-radius:5px;background:#deedf8;color:#184b72}.battle-armies [data-side=north]{background:#fae7d4;color:#8a3f19}.battle-armies i{font-style:normal}.battle-armies b{margin-inline-start:auto}@media(max-width:620px){.circuit-header .brand{justify-content:center;max-width:100%;text-align:center}}.standings-rating-label,.standings-rating{width:2.6rem;flex:none;text-align:right;font-size:.75rem;font-variant-numeric:tabular-nums}.standings-rating[data-positive=true]{color:#2c6744}.standings-rating[data-positive=false]{color:#964322}.standings-rating[data-positive]{font-weight:700}@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2")}@font-face{font-family:"DM Serif Text";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/dm-serif-text-latin-400-normal-B5I2PDKX.woff2) format("woff2")}:root{font-family:DM Sans,Segoe UI,Arial,sans-serif;color:#253e34;background:#f5f4eb;font-synthesis:none;--green: #285a45;--line: #d9ddcc;--muted: #57665a}*{box-sizing:border-box}body{margin:0;min-width:280px}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:3px solid #b86a22;outline-offset:3px}button:disabled{opacity:.65;cursor:wait}header{color:#eef1dc;background:#1c3930;border-bottom:4px solid #a5b68b}.head-inner{max-width:1192px;padding:0 44px;height:67px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand,.title-line,.unit,.field-foot,.phase,.brandmark,nav{display:flex;align-items:center}.brand{gap:11px;font:700 24px "DM Serif Text",Georgia,serif;letter-spacing:-.8px}.brandmark{font:27px "DM Serif Text",Georgia,serif;font-style:normal;width:35px;height:36px;justify-content:center;color:#ecdfaa;border:1px solid #93a47e;border-radius:9px;background:linear-gradient(145deg,#54714e,#294e3e);box-shadow:inset 0 0 0 3px #365540}nav{height:100%;gap:29px;font-size:14px;font-weight:600}nav button{border:0;background:none;color:#d0dac9;padding:12px 0}nav button span{padding-left:3px}.nav-current{height:100%;display:grid;align-content:center;position:relative}.nav-current:after{position:absolute;bottom:0;left:0;right:0;height:3px;background:#d7d9a5;content:""}main{max-width:1192px;margin:auto;padding:28px 44px 42px}.banner{padding:24px 30px 26px;border:1px solid #cdd6bf;border-radius:15px;background-color:#e8ebd1;background-size:cover;background-position:center;overflow:hidden;margin-bottom:23px}.eyebrow{display:flex;align-items:center;gap:9px;color:#526747;font-size:10px;font-weight:800;letter-spacing:1.8px}.small-rule{width:19px;height:2px;background:#6b865e}h1,h2,p{margin:0}h1,h2{font-family:"DM Serif Text",Georgia,Times New Roman,serif}h1{font-size:clamp(34px,4vw,54px);line-height:1.12;letter-spacing:-2.4px;margin:8px 0;color:#233d2e}.banner p{font-size:15px;color:#405741}.layout{display:grid;grid-template-columns:minmax(340px,1.45fr) minmax(290px,1fr);align-items:start;gap:22px}.card,.notebook{background:#fdfcf5;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 9px #253d2e06}.card-head,.field-foot{display:flex;align-items:center;justify-content:space-between}.card-head{padding:18px 21px}.title-line{gap:11px}h2{font-size:23px;letter-spacing:-.65px;font-weight:600}.phase,.counter,.position{font-size:12px;font-weight:650}.phase{background:#eaf0dd;border:1px solid #d6dfc4;border-radius:18px;padding:5px 10px;color:#4f6942;gap:7px}.phase b,.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#74935b}.grid-icon{width:17px;height:17px;border:1.5px solid #6c8168;border-radius:2px;background:repeating-linear-gradient(90deg,transparent 0 4px,#75896e 4px 5px),repeating-linear-gradient(transparent 0 4px,#75896e 4px 5px)}.squad-icon{font:23px "DM Serif Text",Georgia;color:#6a805e}.field-stage{padding:0 17px}.board-wrap{position:relative;aspect-ratio:1;overflow:hidden;background:#344c41;border-radius:10px}.canvas-host,.canvas-host canvas{display:block;width:100%!important;height:100%!important}.squares{position:absolute;inset:5.5555556%;display:grid;grid-template:repeat(8,1fr) / repeat(8,1fr)}.squares button{padding:0;border:0;background:transparent;border-radius:3px;touch-action:manipulation}.squares button:hover{background:#fff9c12b}.squares button:focus-visible{outline:3px solid #805b25;outline-offset:-3px}.field-foot{justify-content:flex-start;gap:20px;padding:15px 23px 17px;font-size:12px;color:#536150}.field-foot span{display:flex;align-items:center;gap:7px}.dot{background:#60966e}.ember{background:#c27950}.board-size{margin-left:auto;font:12px monospace}aside{display:grid;gap:16px}.counter,.position{font-family:ui-monospace,Consolas,monospace;color:#60715e}.counter{padding:4px 8px;border:1px solid #dbe0d1;border-radius:6px;background:#f3f5eb}.squad .card-head{padding-bottom:6px}.instruction,.history p{font-size:14px;line-height:1.5;color:var(--muted);padding:0 21px}.roster{padding:16px 20px 0;display:grid;gap:8px}.unit{width:100%;gap:12px;border:1px solid #dce1d1;border-radius:9px;background:#f7f7ed;text-align:left;padding:8px 12px}.unit.active{border-color:#678b63;background:#eaf0df;box-shadow:inset 3px 0 #618757}.unit:hover{border-color:#92a487}.portrait{width:47px;height:47px;flex:none;background:#dce6ca;border-radius:8px;display:grid;place-items:center}.portrait.lantern{background:#e7e4c7}.portrait img,.guide-unit img{width:46px;image-rendering:pixelated}.unit-text{display:grid;gap:3px}.unit-text strong{font-size:15px}.unit-text small{font-size:12px;color:var(--muted)}.position{margin-left:auto}.stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:16px 0;margin:1px 20px 0}.stats div+div{border-left:1px solid var(--line)}.stats small,.stats b{display:block}.stats small{font-size:11px;color:var(--muted);margin-bottom:3px}.stats b{font-size:16px}.stats em{font:11px DM Sans,Segoe UI,sans-serif}.actions{display:grid;gap:4px;padding:0 20px 8px}.primary,.secondary,.close,.waiting button{min-height:43px;border-radius:8px;font-weight:650}.primary{background:#315e45;border:1px solid #234d37;color:#fffef1;width:100%;box-shadow:0 2px #1c432c;font-size:15px}.primary:hover{background:#254e38}.primary span{font-size:11px;margin-right:5px}.secondary,.close{background:transparent;border:0;color:#576c58;font-size:13px}.secondary:hover,.close:hover{background:#edf1e4}.feedback{font-size:12px;color:#765122;padding:0 20px 12px}.feedback:empty{display:none}.notebook{padding:18px 22px 20px;background:linear-gradient(110deg,#f2edce,#f5f1dd);border-color:#e2ddc0}.notebook .eyebrow{color:#7b6d3e}.notebook .eyebrow span{font-size:20px;line-height:15px}.notebook h2{font-size:21px;margin:9px 0 5px}.notebook p,.history li,dialog p{font-size:14px;line-height:1.55;color:#53604c}.history ol{margin:0 20px 16px;padding:0;list-style:none}.history li{display:flex;gap:10px;padding:6px 0;border-top:1px solid var(--line);font-size:12px}.history li b{font-family:monospace}.history p{padding-bottom:16px}.waiting{padding:24px}.waiting button{margin-left:10px}.close{font-size:24px;width:44px}dialog{max-width:440px;width:90vw;margin:auto;padding:24px;border:1px solid #cdd4bb;border-radius:16px;background:#fbfaf0;color:#253e34}dialog::backdrop{background:#142c23a6}dialog .card-head{padding:0 0 10px}.guide-unit{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}dialog p{margin:8px 0}dialog .primary{margin-top:12px}@media(min-width:1200px){main{padding-top:33px}.field-stage{padding:0 21px}.layout{grid-template-columns:minmax(0,1.38fr) minmax(0,1fr)}}@media(max-width:820px){main{padding:18px 18px 32px}.head-inner{padding:0 20px}.layout{gap:12px;grid-template-columns:minmax(0,1.23fr) minmax(245px,.95fr)}.card-head{padding:14px}.roster,.actions{padding-left:12px;padding-right:12px}.field-stage{padding:0 10px}.instruction{padding:0 14px}.unit{gap:8px;padding:6px 8px}.portrait,.portrait img{width:38px;height:38px}.field-foot{padding:12px;gap:10px}.banner{padding:20px;margin-bottom:15px}}@media(max-width:650px){.layout{grid-template-columns:1fr}.head-inner{height:56px;padding:0 14px}.brand{font-size:21px}.brandmark{width:30px;height:32px}.nav-current{display:none}nav{font-size:13px}.banner{padding:17px 15px;background-position:64% center}.banner p{font-size:13px;max-width:220px}.banner h1{font-size:36px}main{padding:12px max(10px,env(safe-area-inset-left)) max(24px,env(safe-area-inset-bottom))}.squad .card-head{padding-top:16px}.unit{min-height:54px}.field-foot{font-size:12px}.board-wrap{border-radius:6px}.card,.notebook,.banner{border-radius:10px}}h1,h2,.brand{font-weight:400}.board-view{position:absolute;inset:0}
