:root{--table:#27301f;--table-deep:#1e2618;--table-raised:#323d29;--on-table:#ece7d1;--on-table-muted:#bcbfa5;--stone:#d3d6c2;--stone-shade:#c2c6ae;--ink:#1f251a;--ink-soft:#464e3c;--path:#5b634e;--lapis:#1f4d9b;--cinnabar:#a2281e;--on-pigment:#f6f0dc;--gold:#d9ad37;--gold-ink:#5e480b;--legal:#0a5b54;--legal-table:#ecc955;--focus:#f3d064;--focus-stone:#13305f;--column:#c9ccb6;--font:"Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;--step--1:.8125rem;--step--half:.875rem;--step-0:1rem;--step-1:1.125rem;--step-2:1.3125rem;--step-3:1.5rem;--step-5:2.25rem;--step-6:3rem;--gutter:1rem;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--table);color:var(--on-table);font-family:var(--font);font-size:var(--step-0);font-variant-numeric:lining-nums tabular-nums;line-height:1.45}#app{min-height:100%}h1,h2,p{margin:0}a{color:var(--on-table);text-underline-offset:.18em}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.btn{font:inherit;font-size:var(--step-0);border:2px solid var(--on-table-muted);color:var(--on-table);cursor:pointer;background:0 0;border-radius:.35rem;padding:.55rem 1.1rem;line-height:1.2;text-decoration:none;display:inline-block}.btn:hover{border-color:var(--on-table)}.btn.primary{background:var(--gold);border-color:var(--gold);color:var(--ink)}.btn.primary:hover{background:var(--legal-table);border-color:var(--legal-table)}.btn:disabled{cursor:not-allowed;opacity:1;color:var(--on-table-muted);border-color:var(--table-raised);background:0 0}.screen.home,.screen.waiting,.screen.message{min-height:100vh;padding:2rem var(--gutter);background:radial-gradient(ellipse at 50% 40%, var(--table-raised), var(--table) 70%);place-items:center;display:grid}.home-inner{width:min(34rem,100%)}.home-layout{grid-template-columns:minmax(18rem,25rem) minmax(0,54rem);align-items:center;gap:2rem 3.5rem;width:min(80rem,100%);display:grid}.home-layout .home-inner{width:100%}@media (width<=60rem){.home-layout{grid-template-columns:minmax(0,1fr)}}.kingdom-preview{grid-template-columns:minmax(0,34rem) minmax(13rem,1fr);grid-template-areas:"head head""plate rules";align-items:start;gap:1rem 2rem;display:grid}@media (width<=48rem){.kingdom-preview{grid-template-columns:minmax(0,1fr);grid-template-areas:"head""plate""rules"}}.preview-head{grid-area:head}.preview-name{font-size:var(--step-5);font-weight:400;line-height:1.1}.preview-objective{font-size:var(--step-1);color:var(--on-table-muted);margin-top:.25rem}.preview-plate{grid-area:plate;gap:.5rem;margin:0;display:grid}.preview-plate svg.board{aspect-ratio:1;width:100%;height:auto}.preview-caption{background:var(--stone);color:var(--ink);font-size:var(--step--1);border-radius:.4rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem 1rem;padding:.45rem .7rem;display:flex}.legend{flex-wrap:wrap;gap:.2rem .9rem;margin:0;padding:0;list-style:none;display:flex}.legend li{align-items:center;gap:.3rem;display:inline-flex}.preview-side{color:var(--ink-soft);font-style:italic}.preview-rules{grid-area:rules;gap:.75rem;max-width:32rem;display:grid}.preview-rules-title{font-size:var(--step-1);font-weight:400}.rule{line-height:1.45}.rule-ref{color:var(--on-table-muted);font-size:var(--step--1);font-variant-numeric:lining-nums}.rule.initiation-note{border-left:3px solid var(--gold);padding-left:.7rem}.title{font-size:var(--step-6);letter-spacing:.01em;margin-bottom:.75rem;font-weight:400;line-height:1.05}.title.small{font-size:var(--step-5)}.lede{font-size:var(--step-1);color:var(--on-table);max-width:32rem;margin-bottom:2rem}.home-form{justify-items:start;gap:1.25rem;display:grid}.field{gap:.35rem;width:100%;display:grid}.field label{font-size:var(--step-0)}.field select{font:inherit;font-size:var(--step-1);border:2px solid var(--on-table-muted);background:var(--table-deep);color:var(--on-table);border-radius:.35rem;width:100%;padding:.5rem .6rem}.field.check{grid-template-columns:auto 1fr;align-items:start;gap:.6rem}.field.check input{width:1.2rem;height:1.2rem;accent-color:var(--gold);margin:.2rem 0 0}.hint{color:var(--on-table-muted);font-size:var(--step--1);display:block}.form-status{color:var(--on-table);min-height:1.45em}.invite-label{color:var(--on-table-muted);margin-bottom:.35rem}.invite{font-size:var(--step-1);border:2px dashed var(--on-table-muted);overflow-wrap:anywhere;border-radius:.35rem;margin-bottom:1rem;padding:.6rem .8rem}.invite-actions{align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.copied{color:var(--on-table-muted)}.waiting-state{font-size:var(--step-2);font-style:italic}.screen.game{background:radial-gradient(ellipse at 50% 50%, var(--table-raised), var(--table) 62%, var(--table-deep));grid-template:"opp opp opp""left center right"minmax(0,1fr)"own own own""line line line"/minmax(14rem,24rem) minmax(0,1fr) 8rem;column-gap:1.25rem;height:100vh;min-height:640px;padding:.75rem 1.25rem .9rem;display:grid}.seat{align-items:center;gap:1.25rem;min-height:4.25rem;display:flex}.seat.opponent{grid-area:opp;padding-bottom:.4rem}.seat.own{grid-area:own;padding-top:.5rem}.seat-name{font-size:var(--step-2);white-space:nowrap;margin-left:auto}.seat-sub{color:var(--on-table-muted);font-size:var(--step-0)}.lair-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.lair-empty{color:var(--on-table-muted);font-style:italic}.horde{align-items:center;gap:.5rem;display:flex}.horde .count{font-size:var(--step-2)}button.horde{font:inherit;color:var(--on-table);cursor:pointer;background:0 0;border:2px solid #0000;border-radius:.5rem;padding:.2rem .6rem .2rem .2rem}button.horde.legal{border:2px dashed var(--legal-table)}button.horde[aria-disabled=true]{cursor:default}button.horde.closed svg{filter:grayscale()}.horde-text{text-align:left;line-height:1.15;display:grid}.draw-hint{font-size:var(--step--1);color:var(--on-table-muted)}.tile-btn{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:.5rem;flex-direction:column;align-items:center;gap:.2rem;padding:.2rem;line-height:0;transition:transform .12s ease-out;display:inline-flex}.tile-btn[aria-disabled=true]{cursor:default}.tile-btn.legal{border:2px dashed var(--legal-table)}.tile-btn.lifted{border-style:solid;transform:translateY(-.6rem)}.tile-btn.laid{border:2px dotted var(--on-table-muted)}.tile-btn.laid svg{transform:rotate(-90deg)scale(.82)}.tile-name{font-family:var(--font);font-size:var(--step--1);color:var(--on-table);white-space:nowrap;line-height:1.1}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.side{min-height:0;overflow:auto}.side.left{grid-area:left;align-content:start;gap:1rem;padding-top:.5rem;display:grid}.side.right{grid-area:right;place-items:center;display:grid}.side-title{font-size:var(--step-0);color:var(--on-table-muted);margin-bottom:.35rem;font-weight:400}.discard-pile{font:inherit;color:var(--on-table);border:2px solid var(--table-raised);cursor:pointer;text-align:left;background:0 0;border-radius:.5rem;align-items:center;gap:.75rem;padding:.4rem .6rem;display:flex}.discard-pile.open{border-color:var(--on-table-muted)}.discard-text{line-height:1.15;display:grid}.discard-text .count{font-size:var(--step-2)}.discard-empty{border:2px dashed var(--on-table-muted);border-radius:.4rem;width:44px;height:44px}.pile-list{gap:.25rem;margin:0;padding:0;list-style:none;display:grid}.pile-item{font:inherit;color:var(--on-table);text-align:left;background:0 0;border:2px solid #0000;border-radius:.35rem;align-items:center;gap:.5rem;width:100%;padding:.2rem .4rem;display:flex}button.pile-item{cursor:default}.pile-text{line-height:1.2;display:grid}.pile-effect{font-size:var(--step--1);color:var(--on-table-muted)}button.pile-item.legal{border:2px dashed var(--legal-table);cursor:pointer}.pile-empty{color:var(--on-table-muted);font-style:italic}.journal-list{font-size:var(--step--1);color:var(--on-table-muted);gap:.2rem;margin:0;padding:0;list-style:none;display:grid}.journal-list li:first-child{color:var(--on-table)}.center{grid-area:center;place-items:center;min-height:0;display:grid}.instruction-row{border-top:1px solid var(--table-raised);flex-wrap:wrap;grid-area:line;align-items:center;gap:.75rem 1rem;min-height:3.5rem;padding-top:.6rem;display:flex}.instruction{font-size:var(--step-2)}.notice{color:var(--legal-table);flex-basis:100%}.effect-rule{max-width:62rem;font-size:var(--step--half);color:var(--on-table-muted);border-left:2px solid var(--on-table-muted);flex-basis:100%;padding-left:.7rem}.effect-rule .rule-text{color:var(--on-table);font-style:italic}.aide{background:var(--stone);color:var(--ink);border:1px solid var(--stone-shade);border-radius:.45rem}.aide-toggle{font:inherit;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:baseline;gap:.75rem;width:100%;padding:.5rem .75rem;display:flex}.aide-toggle:focus-visible{outline:3px solid var(--focus-stone);outline-offset:-5px;border-radius:.45rem}.aide-title{font-size:var(--step-1);font-style:italic}.aide-action{font-size:var(--step--1);color:var(--ink-soft);text-underline-offset:.18em;text-decoration:underline}.aide.open .aide-toggle{border-bottom:1px solid var(--stone-shade);background:var(--stone);border-radius:.45rem .45rem 0 0;position:sticky;top:-.5rem}.aide-body{font-size:var(--step--half);padding:.1rem .75rem .75rem;line-height:1.4}.aide-section+.aide-section{border-top:1px solid var(--stone-shade);margin-top:.6rem}.aide-heading{font-size:var(--step-0);margin:.55rem 0 .3rem;font-weight:700}.aide-caption{margin-bottom:.3rem}.aide .rule{margin:.4rem 0 0}.aide .rule-ref{color:var(--ink-soft)}.aide .rule.initiation-note{border-left-color:var(--gold-ink)}.aide-table{border-collapse:collapse;width:100%;margin-bottom:.3rem}.aide-table th,.aide-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--stone-shade);padding:.2rem .3rem .2rem 0}.aide-table thead th{color:var(--ink-soft);font-weight:400}.aide-table tbody th{font-weight:700}.aide-table .num{text-align:center;padding-right:.4rem}.aide-table abbr{text-decoration:none}.aide-creature{white-space:nowrap;align-items:center;gap:.3rem;display:inline-flex}.aide-creature svg{flex:none}.game-over{align-items:baseline;gap:1rem;display:flex}.over-title{font-size:var(--step-5);line-height:1.1}.over-reason{font-size:var(--step-2);color:var(--on-table-muted)}.tile-body{stroke:var(--on-pigment);stroke-width:.8px}svg.board .tile-body{stroke-width:.4px}.tile-body.blue{fill:var(--lapis)}.tile-body.red{fill:var(--cinnabar)}.tile-line{fill:none;stroke:var(--on-pigment);stroke-width:.55px;opacity:.55}.tile-force{fill:var(--on-pigment);font-family:var(--font);font-weight:700}.back-mark{fill:none;stroke:var(--on-pigment);stroke-width:1.6px}.under .tile-body{stroke:var(--ink);stroke-width:.5px}.pile-hole{fill:none;stroke:var(--on-table-muted);stroke-width:1px;stroke-dasharray:2 2}svg.board{width:100%;height:100%;max-height:100%;font-family:var(--font);display:block}.board-ground{fill:var(--stone);stroke:var(--stone-shade);stroke-width:1.2px}.path{stroke:var(--path);stroke-width:.9px;stroke-linecap:round}.slot.city{fill:var(--stone);stroke:var(--ink);stroke-width:.8px}.slot.sacred{fill:var(--stone-shade);stroke:var(--ink);stroke-width:.9px}.temple-roof,.temple-base{fill:var(--stone-shade);stroke:var(--ink);stroke-width:.8px;stroke-linejoin:round}.slot.temple.blue .temple-base,.slot.temple.blue .temple-roof{stroke:var(--lapis);stroke-width:1.1px}.slot.temple.red .temple-base,.slot.temple.red .temple-roof{stroke:var(--cinnabar);stroke-width:1.1px}.temple-mark.blue{fill:var(--lapis)}.temple-mark.red{fill:var(--cinnabar)}.node{cursor:pointer;outline:none}.node .hit{fill:#0000}.node-id,.node-values{paint-order:stroke;stroke:var(--stone);stroke-width:1.3px;stroke-linejoin:round}.node-id{fill:var(--ink-soft);font-size:2.6px}.node-values{fill:var(--ink);font-weight:700}.node-values:not(.inset){font-size:2.6px}.node-values.inset{stroke:var(--stone-shade)}.legal-ring{fill:none;stroke:none}.node.legal .legal-ring{stroke:var(--legal);stroke-width:.9px;stroke-dasharray:1.6 1.1}.node.selected .legal-ring,.node.inspected .legal-ring{stroke:var(--ink);stroke-width:.9px;stroke-dasharray:none}.focus-ring{fill:none;stroke:none}.node:focus-visible .focus-ring{stroke:var(--focus-stone);stroke-width:1.1px}.stack-badge{fill:var(--ink)}.stack-num{fill:var(--stone);font-size:2.6px;font-weight:700}.crown-pawn{fill:var(--gold);stroke:var(--gold-ink);stroke-width:.4px;stroke-linejoin:round}.crown-hole{fill:none;stroke:var(--ink-soft);stroke-width:.35px;stroke-dasharray:.8 .6}.taker.blue{fill:var(--lapis)}.taker.red{fill:var(--cinnabar)}svg.track{width:100%;max-height:100%;font-family:var(--font)}.track-column{fill:var(--column);stroke:var(--stone-shade);stroke-width:1px}.track-slot{fill:var(--stone-shade);stroke:var(--ink-soft);stroke-width:.6px}.track-slot.victory{fill:var(--gold);stroke:var(--gold-ink);stroke-width:.9px}.track-count{fill:var(--on-table);font-size:8px}.track-victory{fill:var(--on-table);font-size:6.5px;font-style:italic}.bulle{--bulle-band:var(--ink-soft);left:var(--bulle-x,0px);top:var(--bulle-y,0px);z-index:50;pointer-events:auto;cursor:default;background:var(--stone);width:max-content;max-width:min(21rem,100vw - 16px);color:var(--ink);border:1px solid var(--ink);border-left:5px solid var(--bulle-band);font-size:var(--step--half);border-radius:.4rem;line-height:1.4;animation:.12s ease-out bulle-in;position:fixed;box-shadow:0 .6rem 1.6rem #080c0680}.bulle[hidden]{display:none}.bulle[data-beside]{max-width:min(27rem,100vw - 16px)}.bulle[data-owner=blue]{--bulle-band:var(--lapis)}.bulle[data-owner=red]{--bulle-band:var(--cinnabar)}@keyframes bulle-in{0%{opacity:0}}.bulle-body{gap:.55rem;padding:.55rem .8rem .65rem .7rem;display:grid}.bulle p{margin:0}.bulle-head{align-items:center;gap:.55rem;display:flex}.bulle-head svg{flex:none}.bulle-title{line-height:1.2;display:grid}.bulle-name{font-size:var(--step-2);font-style:italic;line-height:1.1}.bulle-meta{color:var(--ink-soft);font-size:var(--step--1)}.bulle-owner{font-weight:700}.bulle-owner.blue{color:var(--lapis)}.bulle-owner.red{color:var(--cinnabar)}.bulle-effect{margin-top:.4rem;font-weight:700}.bulle .rule{margin-top:.2rem}.bulle .rule-ref{color:var(--ink-soft)}.bulle .rule.initiation-note{border-left-color:var(--gold-ink)}.bulle-city{border-top:1px solid var(--stone-shade);padding-top:.5rem}.bulle-city:first-child{border-top:0;padding-top:0}.bulle-place{align-items:center;gap:.4rem;font-weight:700;display:flex}.bulle-slot{flex:none;display:inline-flex}.bulle-kingdom{color:var(--ink-soft);font-weight:400}.bulle:after{content:"";background:var(--stone);border:1px solid var(--ink);width:10px;height:10px;position:absolute;transform:rotate(45deg)}.bulle[data-side=top]:after{bottom:-6px;left:calc(var(--bulle-arrow,20px) - 10px);border-top:0;border-left:0}.bulle[data-side=bottom]:after{top:-6px;left:calc(var(--bulle-arrow,20px) - 10px);border-bottom:0;border-right:0}.bulle[data-side=left]:after{right:-6px;top:calc(var(--bulle-arrow,20px) - 6px);border-bottom:0;border-left:0}.bulle[data-side=right]:after{left:-9px;top:calc(var(--bulle-arrow,20px) - 6px);background:var(--bulle-band);border:0}svg.board.preview .node{cursor:default}.aide-creature:focus-visible{outline:3px solid var(--focus-stone);outline-offset:2px;border-radius:.2rem}
