/* Isolated second-ten presentation draft. All selectors belong to this pack. */
:where(.st-board,.st-controls,.st-preview-card,.st-preview-root){--st-ink:#f6efdb;--st-muted:#c2d0dc;--st-gold:#f3cd76;--st-teal:#83ded0;--st-grid:#40556b;--st-panel:#14212e;--st-edge:#92c9ce;color:var(--st-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;box-sizing:border-box}
:where(.st-board,.st-controls,.st-preview-card,.st-preview-root) *{box-sizing:border-box}
.st-board{width:100%;min-width:0;padding:clamp(14px,2vw,28px);border:1px solid #4a5c70;border-radius:20px;background:linear-gradient(150deg,#152735,#111b2b)}
.st-board .lf-heading h2{margin:0 0 10px;font-size:clamp(1.3rem,2.6vw,1.9rem);line-height:1.25;color:var(--st-gold)}
.st-board .lf-heading p,.st-rules p,.st-preview-card>p{max-width:76ch;line-height:1.65}
.st-opening{display:grid;gap:14px;justify-items:center;margin:18px 0}.st-opening>.st-note{text-align:center}
img.st-cover{display:block;width:100%;height:auto;aspect-ratio:32/15;object-fit:contain;border-radius:16px;background:#111b29}
.st-opening img.st-cover{max-width:720px}
.st-figure{width:100%;min-width:0;max-width:100%;margin:18px 0 10px;overflow-x:auto;scrollbar-color:#91b8bd #182a3c}
.st-physical{display:block;width:100%;height:auto;min-width:400px;margin:0 auto;overflow:visible;background:#101e2c;border-radius:14px}
.st-physical text{fill:var(--st-ink);text-anchor:middle;font-family:Inter,system-ui,sans-serif;paint-order:stroke;stroke:#10202b;stroke-width:.8px}
.st-label{font-size:20px;font-weight:750}.st-small-label{font-size:16px;font-weight:650}.st-tiny-label{font-size:13px;font-weight:600}.st-formula{font:650 23px ui-monospace,monospace}.st-tile-label{font-size:27px;font-weight:800}.st-edge-label{font-size:19px;font-weight:800;stroke-width:5px!important;stroke:#142432!important;stroke-linejoin:round}.st-survivor-label{font-size:57px;font-weight:800;fill:var(--st-gold)!important}
.st-grid-line{stroke:var(--st-grid);stroke-width:1;stroke-dasharray:4 5}.st-edge{stroke:var(--st-edge);stroke-width:4;fill:none;stroke-linecap:round}.st-arrow{stroke:var(--st-teal);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.st-node{fill:#274857;stroke:#bedfd8;stroke-width:2.5}.st-right-node{fill:#433d63;stroke:#d6c9f4}.st-left-node{fill:#20534f;stroke:#a4dfd3}.st-node+text{font-weight:800}
.st-residue-stem{stroke:#6b9eae;stroke-width:4}.st-root-point{fill:#ffe0a1;stroke:#fff0d0;stroke-width:3}.st-residue-point{fill:#81dacc;stroke:#d8f4ed;stroke-width:2}
.st-preference-token{fill:#244150;stroke:#6b9f9e;stroke-width:1.5}.st-matching-edge{stroke:#b4dacc;stroke-width:3.5;opacity:.86;fill:none}
.st-cell{stroke:#7493a5;stroke-width:1.5}.st-empty{fill:#122331;stroke-dasharray:5 3}.st-filled{fill:#31586b}.st-cell.st-highlight{fill:#674f2e;stroke:#f7d38f;stroke-width:3}.st-mirror-cell{fill:#173042;stroke:#526e84}.st-mirror{stroke:#cee8f0;stroke-width:7;stroke-linecap:round}.st-ray{stroke:#ffcf68;stroke-width:3.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.st-exit-point{fill:#ffdc87;stroke:#fff1d1;stroke-width:2}
.st-sequence-scroll{width:100%;max-height:570px;overflow:auto;border:1px solid #4a6179;border-radius:14px;scrollbar-color:#91b8bd #182a3c;overscroll-behavior:contain}.st-sequence-scroll .st-physical{border-radius:0}
.st-grain{fill:#ffe2a4;stroke:#604a25;stroke-width:.7}.st-alive{fill:#2a7567;stroke:#b0eed9}.st-dead{fill:#1e3043;stroke:#5b758b}.st-live-dot{fill:#c4f7df}
.st-flow-edge{stroke:#8bd7d2;stroke-width:4;fill:none;stroke-linecap:round;stroke-linejoin:round}.st-flow-edge.st-cut-edge{stroke:#f4c56d;stroke-width:5;stroke-dasharray:8 4}[data-st-source-side=true]>.st-node{fill:#4d4a2f;stroke:#f9d18b}
.st-wire{stroke:#a9c4cf;stroke-width:3;fill:none}.st-resistor{stroke:#e9c484;stroke-width:3;fill:none;stroke-linejoin:round;stroke-linecap:round}.st-current-arrow{stroke:#7adde1;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.st-roundtable{fill:#1b3240;stroke:#7d9999;stroke-width:5}.st-eliminated-node{fill:#34404e;stroke:#b5bbc4;stroke-width:2}.st-survivor{fill:#886c37;stroke:#ffe6ad;stroke-width:4}.st-count-direction{stroke:#eed69a;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.st-rectangle-outline{fill:none;stroke:#f4ddad;stroke-width:3}.st-euclid-square{stroke:#172432;stroke-width:2}.st-stage-0{fill:#2d756d}.st-stage-1{fill:#526c9c}.st-stage-2{fill:#8865a0}.st-stage-3{fill:#a46d40}.st-stage-4{fill:#9b863a}
.st-metrics,.st-totals{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:18px 0;padding:0}.st-metrics>div,.st-totals>div{min-width:112px;max-width:100%;padding:12px 16px;border:1px solid #526b7f;border-radius:12px;background:#192c3a;overflow-wrap:anywhere}.st-metrics dt,.st-totals dt{font-size:.84rem;color:var(--st-muted)}.st-metrics dd,.st-totals dd{margin:5px 0 0;font-size:1.12rem;font-weight:750;color:var(--st-gold)}
.st-category{margin:16px 0;text-align:center;line-height:1.65}.st-category strong{color:var(--st-gold)}.st-note{margin:12px 0;color:var(--st-muted);line-height:1.6;overflow-wrap:anywhere}.st-fixed-caption{color:#d6cfae;font-size:.88rem;line-height:1.5}
.st-table-scroll{max-width:100%;overflow-x:auto;scrollbar-color:#91b8bd #182a3c}
.st-receipt-table,.st-paytable{border-collapse:collapse;width:100%;font-size:.9rem;margin:12px 0;color:var(--st-ink)}.st-receipt-table caption,.st-paytable caption{text-align:left;padding:10px 12px;color:var(--st-gold);font-weight:750}.st-receipt-table th,.st-receipt-table td,.st-paytable th,.st-paytable td{padding:10px 12px;border-bottom:1px solid #475e73;text-align:left;vertical-align:top;line-height:1.5}.st-receipt-table th[scope=row],.st-paytable th[scope=row]{color:#f4dbab}.st-receipt-table thead,.st-paytable thead{background:#1d3546;color:#e1edf2}.st-paytable-block .lf-table-note{font-size:.87rem}.st-paytable td{white-space:nowrap}
.st-rules{margin:22px 0 12px;padding:14px 16px;border:1px solid #51677d;border-radius:12px;background:#152936}.st-rules>summary{min-height:28px;cursor:pointer;font-weight:750;color:var(--st-gold);line-height:1.5}.st-rules[open]>summary{margin-bottom:12px}.st-rules p{margin:12px 0}
.st-pending{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:270px;margin:20px 0;padding:24px;text-align:center;border:1px solid #788479;border-radius:18px;background:linear-gradient(140deg,#243b3f,#152333)}.st-pending h3{margin:14px 0 2px}.st-pending p{max-width:62ch}.st-seal{display:grid;place-items:center;width:62px;height:62px;border:2px solid #d9bc76;border-radius:50%;color:#f8dd91;font-size:32px}
.st-result{margin:20px 0;padding:18px 20px;border:1px solid #6e8391;border-radius:15px;background:#213646}.st-result h3{margin:0 0 8px;font-size:1.22rem}.st-result-win{border-color:#9ad6b7;background:#204739}.st-result-partial{border-color:#d9b47d;background:#403527}.st-result-even{border-color:#91c1ca;background:#253e4c}.st-result-empty{border-color:#8a98ad;background:#283243}.st-result .st-note{font-size:.84rem}.st-error{padding:14px 18px;border:1px solid #e4a797;border-radius:12px;background:#442e2e;color:#ffe9df;line-height:1.6}
.st-controls{width:100%;min-width:0}.st-choice-group{min-width:0;margin:0 0 14px;padding:0;border:0}.st-choice-group>legend{margin-bottom:10px;font-weight:700}.st-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.st-choice,.st-play,.st-preview-retry,.st-skip{min-height:46px;padding:11px 13px;border:1px solid #7c96a7;border-radius:10px;background:#233e52;color:var(--st-ink);font:inherit;font-size:.96rem;font-weight:650;line-height:1.45;cursor:pointer;white-space:normal}.st-choice:hover:enabled,.st-preview-retry:hover:enabled{background:#315769}.st-choice.st-selected{border:2px solid #f6d58b;background:#53452d;color:#fff1cd}.st-choice:disabled,.st-play:disabled{cursor:default;opacity:.62}.st-play{width:100%;background:#dfbd70;border-color:#f5d895;color:#172735;font-weight:800}.st-play:hover:enabled{background:#f2d48e}.st-choice[aria-pressed=true]:disabled{opacity:.9}.st-motion-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0}.st-motion-note .st-note{flex:1;min-width:200px;font-size:.84rem}.st-skip{flex-shrink:0}
.st-board[data-st-animate=true]>.st-figure{animation:st-result-reveal .38s ease-out both}
.st-preview-root{width:100%;max-width:1500px;margin:0 auto}.st-preview-title{font-size:clamp(1.6rem,3.5vw,2.5rem);line-height:1.2;color:var(--st-gold)}.st-preview-note{max-width:82ch;margin-bottom:24px;color:var(--st-muted);line-height:1.7}.st-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.st-preview-card{min-width:0;padding:22px;border:1px solid #4c647b;border-radius:20px;background:linear-gradient(140deg,#152939,#151e2d)}.st-preview-card h3{font-size:1.45rem;color:var(--st-gold);line-height:1.25;margin:0 0 15px}.st-preview-card .st-cover{margin:12px 0}.st-preview-card .st-physical{min-width:400px}.st-preview-link{display:inline-flex;align-items:center;min-height:46px;margin:10px 0 0;padding:10px 14px;border:1px solid #92b8c2;border-radius:10px;color:#daf6f1;font-weight:700;text-decoration:none}.st-preview-link:hover{background:#2b4d5b;text-decoration:underline}.st-preview-selected{padding:10px 14px;border-left:3px solid #d7bc7d;background:#263340;color:#f5e2b7}.st-loading{padding:20px;border:1px solid #637f92;border-radius:12px;background:#162d3d;color:#eaf3f3}.st-loading button{margin-top:10px}
:where(.st-board,.st-controls,.st-preview-root) :focus-visible{outline:3px solid #d5ffef;outline-offset:4px}.st-table-scroll:focus-visible,.st-sequence-scroll:focus-visible{outline-offset:-4px}
@keyframes st-result-reveal{from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:1000px){.st-preview-grid{grid-template-columns:1fr}.st-preview-card{padding:18px}.st-preview-root{max-width:800px}}
@media(max-width:560px){.st-board{padding:13px;border-radius:14px}.st-preview-card{padding:13px}.st-result{padding:14px}.st-metrics,.st-totals{gap:8px}.st-metrics>div,.st-totals>div{min-width:88px;padding:10px}.st-metrics dd,.st-totals dd{font-size:1rem}.st-receipt-table th,.st-receipt-table td,.st-paytable th,.st-paytable td{padding:8px}.st-pending{min-height:235px;padding:16px}.st-rules{padding:12px}.st-sequence-scroll{max-height:440px}.st-choice{font-size:.89rem;padding:10px 8px}.st-motion-note .st-skip{width:100%}}
@media(prefers-reduced-motion:reduce){.st-board[data-st-animate=true]>.st-figure{animation:none!important;transform:none!important}}
[data-motion=off] .st-figure,.motion-off .st-figure{animation:none!important;transform:none!important}
