:root{--felt:#16141a;--felt-dark:#0c0b0e;--ink:#f3efe6;--muted:#b7b0a4;--line:#e8d6b038;--red:#9c3d4a;--gold:#d4b483;--card:#f7f1e6;--shadow:0 16px 40px #00000059;color:var(--ink);background:radial-gradient(70% 45% at 50% -8%,#f3efe614,#0000 58%),radial-gradient(42% 36% at 100% 100%,#5c243057,#0000 62%),radial-gradient(36% 32% at 0 78%,#2a243a73,#0000 60%),linear-gradient(#1b1820 0%,#0e0c10 100%);font-family:Segoe UI,system-ui,sans-serif;line-height:1.45}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100svh}body:before{content:"";pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cpath d='M600 70 L790 640 L410 640 Z' fill='none' stroke='%23d4b483' stroke-opacity='0.28' stroke-width='1'/%3E%3Cpath d='M600 150 L720 560 L480 560 Z' fill='none' stroke='%23f3efe6' stroke-opacity='0.14' stroke-width='1'/%3E%3Cpath d='M600 70 V760' fill='none' stroke='%23d4b483' stroke-opacity='0.22' stroke-width='1'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:min(100vw,920px);position:fixed;inset:0}#root{max-width:880px;margin:0 auto;padding:24px 16px 48px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.panel,.board{border:1px solid var(--line);box-shadow:var(--shadow);background:#100e12c7;border-radius:24px;padding:28px}.lobby h1{letter-spacing:.18em;font-weight:500}.eyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin:0;font-size:12px}h1,h2{margin:8px 0 12px;font-weight:650}h1{font-size:40px}h1.code{letter-spacing:.28em;font-size:48px}.lede,.status{color:var(--muted)}.lede a{color:var(--gold)}.row,.actions{flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0;display:flex}label{color:var(--muted);gap:6px;display:grid}input,select{border:1px solid var(--line);color:var(--ink);background:#ffffff14;border-radius:12px;min-width:180px;padding:10px 12px}button{color:var(--ink);border:1px solid var(--line);background:#ffffff14;border-radius:12px;padding:10px 16px}button.primary{background:var(--gold);color:#241b08;border-color:#0000;font-weight:700}button.link{background:0 0;border:0;padding-left:0;text-decoration:underline}.error{color:#ffb4b4}.members,.log-list,.event-log{gap:8px;margin:16px 0 24px;padding:0;list-style:none;display:grid}.members li,.log-list button,.event-log button{text-align:left;background:#ffffff0d;border-radius:12px;justify-content:space-between;gap:12px;width:100%;padding:12px 16px;display:flex}.members em{color:var(--gold);font-size:12px;font-style:normal}.board{width:min(1280px,100vw - 32px);max-width:none;margin-left:50%;transform:translate(-50%)}.playmats{grid-template-columns:246px minmax(0,1fr);align-items:center;column-gap:12px;width:min(100%,73.2687svh + 52.8476px);margin:12px auto;display:grid}.playmats:has(.main-actions){grid-template-columns:246px minmax(0,1fr) auto;width:min(100%,73.2687svh + 200.848px)}.tarot-column,.boards-column{min-width:0}.tarot-column{flex-direction:column;justify-content:center;gap:10px;display:flex}.boards-column{flex-direction:column;display:flex}.boards-column>.playmat{margin:0}.turn-phase{color:var(--gold);letter-spacing:.14em;justify-items:center;gap:2px;margin:0;display:grid}.turn-phase strong{font-size:18px;font-weight:700}.turn-phase span{font-size:13px}.turn-clock{min-width:5.5em;color:var(--gold);font-variant-numeric:tabular-nums;margin:0 8px 0 0}.tarot-stack,.board-column{min-width:0}.whisper-row{justify-items:center;gap:4px;margin-top:8px;display:grid}.whisper-row p,.off-board-deck span,.discard-pile>span{letter-spacing:.08em;color:var(--muted);margin:0;font-size:12px}.whisper-row div{justify-content:center;gap:4px;display:flex}.whisper-row .thesis-card{width:68px}.off-board-piles{align-items:flex-end;gap:16px;display:flex}.boards-column>.off-board-piles:first-child{margin-bottom:6px}.boards-column>.off-board-piles:last-child{margin-top:6px}.off-board-deck,.discard-pile{align-items:flex-end;gap:8px;margin:0;display:flex}.discard-stack{width:54px;display:grid}.discard-card{z-index:var(--i);margin-top:calc(var(--i) * 14px);grid-area:1/1}.discard-stack,.discard-stack .thesis-card,.discard-card{pointer-events:none}.discard-stack .thesis-card{width:54px}.discard-pile{cursor:context-menu}.discard-browser{z-index:46;background:#080c10db;flex-wrap:wrap;place-content:center;gap:16px;padding:32px;display:flex;position:fixed;inset:0;overflow:auto}.discard-browser .thesis-card{cursor:default;width:min(240px,30vw)}.discard-browser.choosing .thesis-card{cursor:pointer}.notice-popup{z-index:45;background:#080c10b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.notice-popup article{border:1px solid var(--line);width:min(100%,28rem);box-shadow:var(--shadow);background:#100e12f5;border-radius:16px;padding:20px 22px 16px}.notice-popup h2{margin:0 0 10px;font-size:20px}.notice-popup p{margin:0 0 16px;line-height:1.6}.card-zoom{z-index:40;pointer-events:auto;background:#080c10c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.card-zoom .thesis-card{object-fit:contain;width:min(420px,86vw);max-height:86vh}.off-board-deck img{border-radius:4px;width:54px;height:auto}.thesis-card{border-radius:8px;width:88px;height:auto;box-shadow:0 8px 16px #00000047}.whisper-row .thesis-card,.my-hand .thesis-card,.opp-hand .thesis-card{cursor:zoom-in}.opp-hand.choosing .thesis-card{cursor:pointer}.thesis-critical{max-width:100%;line-height:0;display:inline-block;position:relative;container-type:inline-size}.thesis-critical .thesis-card{display:block}.critical-mark{z-index:1;color:#1c140c;text-shadow:0 0 .12em #f4efe4,.06em 0 #f4efe4,-.06em 0 #f4efe4,0 .06em #f4efe4,0 -.06em #f4efe4;pointer-events:none;font-size:8cqw;font-weight:800;line-height:1;position:absolute;bottom:5%;left:6%}.sheet-marks{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.sheet-marks polygon{fill:#1c140c}.sheet-marks .mark-corner-attack{fill:#c4322e}.sheet-marks .mark-corner-act{fill:#2a5fad}.sheet-marks .mark-corner-other{fill:#5e584f}.sheet-marks .mark-white{fill:#fff;stroke:#1c140c;stroke-width:3px}.sheet-marks text{text-anchor:middle;dominant-baseline:middle;font-family:inherit;font-weight:700}.sheet-marks .mark-light{fill:#f4efe4;font-size:32px}.sheet-marks .mark-dark{fill:#1c140c;font-size:28px}.sheet-marks .mark-mind{font-size:20px}.sheet-marks .mark-cross{fill:#1c140c;font-size:46px}.sheet-marks .mark-contract{font-size:32px}.sheet-marks .mark-offering,.sheet-marks .mark-effect{fill:#1c140c}.sheet-marks .mark-combat{font-size:26px}.sheet-marks .mark-name{fill:#1c140c;font-weight:700}.thesis-sheet{aspect-ratio:521/728;color:#1c140c;text-align:left;background:#f4efe4;flex-direction:column;gap:.28em;padding:24% 8% 18% 20%;font-size:1.85cqw;line-height:1.3;display:flex;position:relative;overflow:hidden;container-type:inline-size}.thesis-sheet-name-only{padding:0}.thesis-sheet dl{z-index:1;gap:.12em;margin:0;display:grid;position:absolute;bottom:11%;right:8%}.thesis-sheet dl div{grid-template-columns:auto minmax(0,1fr);gap:.35em;display:grid}.thesis-sheet dt{color:#5c5146}.thesis-sheet dd{text-align:right;margin:0}.thesis-sheet-effect{margin:0;font-size:.92em}.pile-count{fill:#f4efe4;stroke:#080c10e6;stroke-width:6px;paint-order:stroke;font-family:inherit;font-size:42px}.tarot-lane{justify-items:center;gap:8px;display:grid}.tarot-pair{gap:10px;display:flex}.tarot-pair img{aspect-ratio:480/951;object-fit:cover;border-radius:6px;width:116px;box-shadow:0 8px 18px #00000059}.tarot-actions{gap:6px;display:flex}.tarot-actions button{padding:6px 8px;font-size:13px}.tarot-picker{z-index:20;background:#08070ab8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.tarot-sheet{border:1px solid var(--line);background:#100e12f5;border-radius:20px;width:min(1080px,100%);max-height:calc(100svh - 48px);padding:24px;overflow:auto}.tarot-grid{flex-wrap:wrap;justify-content:center;gap:16px;margin:16px 0;display:flex}.tarot-option{justify-items:center;gap:8px;width:176px;padding:8px;display:grid}.tarot-option img{aspect-ratio:480/951;object-fit:cover;border-radius:8px;width:100%}.tarot-option span{font-size:13px;line-height:1.3}.demon-ability{max-width:242px;color:var(--muted);text-align:left;margin:0;font-size:12px;line-height:1.45}.tarot-option .demon-ability{max-width:160px;font-size:11px}.seal-count{fill:#f4efe4;stroke:#080c10e0;stroke-width:6px;paint-order:stroke fill;font-family:inherit;font-size:54px;font-weight:650}button:disabled{opacity:.45}.playmat-frame{width:100%;position:relative}.life-delta{z-index:7;pointer-events:none;letter-spacing:.04em;text-shadow:0 0 18px #080c10eb,0 2px #080c10d9;margin:0;font-size:clamp(2.6rem,5vw,4.4rem);font-weight:720;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.life-delta.loss{color:#ffb4b0}.life-delta.gain{color:#d7f3c8}.playmat{aspect-ratio:1587/1083;width:100%;position:relative}.zone-hover{z-index:6;pointer-events:none;border:1px solid var(--line);color:#f4efe4;white-space:nowrap;background:#100e12f0;border-radius:10px;align-items:baseline;gap:8px;margin:0;padding:6px 10px;font-size:14px;line-height:1.3;display:flex;position:absolute;transform:translateY(-50%)}.zone-hover.left{transform:translate(-100%,-50%)}.board-layer{pointer-events:none;position:absolute;inset:0}.act-card{pointer-events:auto;position:absolute}.act-card.inverted{transform:rotate(180deg)}.act-card.offering{z-index:2;transform-origin:0 0;transform:rotate(-90deg)}.act-card .thesis-card{width:100%;height:auto}.thesis-token{pointer-events:none}.thesis-token.selected{outline:4px solid #e6c36a}.thesis-count{pointer-events:none}.thesis-count.selected image{outline:4px solid #e6c36a}.thesis-count-value{text-anchor:start;fill:#f4efe4;stroke:#080c10e6;stroke-width:4px;paint-order:stroke fill;dominant-baseline:middle;font-family:inherit;font-weight:700}.zone.active path,.zone.resolving path{stroke:#e6c36a;stroke-width:10px;fill:#e6c36a29}.resolving-frame{fill:none;stroke:#e6c36a;stroke-width:14px;pointer-events:none}.act-card.resolving{z-index:5;outline-offset:5px;outline:6px solid #e6c36a;box-shadow:0 0 0 10px #e6c36a73}.turn-clock{text-align:center;width:100%;color:var(--gold);margin:0 0 6px;font-weight:700}.main-actions{flex-direction:column;justify-content:center;align-self:center;align-items:stretch;gap:8px;width:8.5rem;display:flex}.main-actions button{width:100%}.action-prompt{width:min(100%,52rem);margin:8px auto 4px}.action-prompt article{border:1px solid var(--line);box-shadow:var(--shadow);background:#100e12eb;border-radius:16px;padding:12px 16px 10px}.action-prompt h2{margin:2px 0 8px;font-size:18px;line-height:1.4}.action-prompt ol{gap:8px;margin:0;padding-left:1.2em;display:grid}.action-prompt li{line-height:1.5}.prompt-actions{pointer-events:auto;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.zone-order{z-index:3;pointer-events:auto;align-items:center;gap:4px;display:flex;position:absolute;transform:translate(-50%,-50%)}.zone-order button,.zone-order span{color:#f4efe4;background:#14100ce0;border-radius:999px;place-items:center;min-width:28px;height:28px;font-weight:700;display:grid}.zone-order.white{transform:translate(-50%,-115%)}.zone-order.white button,.zone-order.white span{color:#241b08;background:#fff;border-color:#241b0873}.zone-order.black{transform:translate(-50%,15%)}.zone-order .swatch{min-width:28px;font-size:13px}.order-limits{color:#f4efe4;gap:2px;min-width:7em;font-size:13px;line-height:1.3;display:grid}.thesis-card.chosen{outline:3px solid #e6c36a}.turn-limit,.cpu-setup{margin:18px 0}.cpu-setup .row{margin-bottom:12px}.playmat.flipped{transform:rotate(180deg)}.playmat svg{width:100%;height:100%;display:block}.zone path{fill:#0000;stroke:#0000;cursor:pointer}.zone:hover path{fill:#f4efe429}.zone-name{opacity:0;pointer-events:none;fill:#f4efe4;stroke:#080c10e0;stroke-width:6px;paint-order:stroke;text-anchor:middle;dominant-baseline:middle;font-family:inherit;font-size:28px}.zone:hover .zone-name{opacity:1}.board-top,.board-bottom,.table{justify-content:space-between;align-items:center;gap:16px;display:flex}.table{text-align:center;justify-content:center;margin:24px 0}.opp-hand,.my-hand{flex-wrap:wrap;justify-content:center;gap:8px;min-height:96px;display:flex}.card-face{background:var(--card);color:#222;border:1px solid #d7cbb6;border-radius:10px;place-items:center;width:72px;height:100px;padding:8px;display:grid;box-shadow:0 8px 16px #0003}.card-face .rank{font-size:22px;font-weight:800;line-height:1}.card-face .suit{font-size:24px}.card-face.red{color:var(--red)}.card-face.back,.card-face.empty{color:#f8d7a3;background:repeating-linear-gradient(45deg,#7b1e2c,#7b1e2c 8px,#5e1520 8px 16px);border-color:#4a1018}.card-face.empty{color:var(--muted);background:#ffffff14;border-style:dashed}.card-face.selected,.card-face:not(:disabled):hover{outline:2px solid var(--gold);transform:translateY(-6px)}.card-face:disabled{transform:none}.ended{justify-content:center;gap:12px;margin-top:16px;display:flex}.slider{gap:8px;margin:20px 0;display:grid}.event-log .current button{outline:2px solid var(--gold)}.active-matches{margin:24px 0 8px}.active-matches .lede{margin:8px 0 0}.invite-list{gap:16px;margin:20px 0;display:grid}.invite-card{border:1px solid var(--line);border-radius:16px;gap:8px;padding:12px;display:grid}.invite-head{justify-content:space-between;gap:12px;display:flex}a.invite-url{word-break:break-all;width:100%;min-width:0;color:var(--gold);display:block}
