:root{font-family:Georgia,Times New Roman,serif;color:#eee7d7;background:#101e20;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0,#29433d,transparent 55%),#101e20}button,input,select{font:inherit}button{border:1px solid #8a8061;background:#263b36;color:#f3ecd9;padding:10px 16px;border-radius:5px;cursor:pointer;min-height:44px}button:hover:enabled{background:#476052;border-color:#dfc58c}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f4d584;outline-offset:3px}input,select{background:#101e20;color:#fff;border:1px solid #7d8978;padding:10px;border-radius:4px}header{display:flex;justify-content:space-between;align-items:center;padding:26px 4vw;border-bottom:1px solid #68715d}h1{font-size:34px;letter-spacing:.02em;margin:5px 0}h1 em{font-weight:400;color:#dbbf7c}h2{font-size:28px;font-weight:400;margin:10px 0 16px}h3{margin:10px 0}.eyebrow{font:11px/1.5 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.18em;color:#caba91}nav{display:flex;gap:8px}main{max-width:1450px;margin:auto;padding:28px 4vw}p{line-height:1.55}small{font:12px/1.6 system-ui,sans-serif;color:#b8c3b6}.welcome{display:grid;grid-template-columns:1.6fr 1fr;gap:60px;padding-top:65px}.welcome h2{font-size:52px;line-height:1.1}.welcome p{max-width:620px}.welcome aside,.location,.enemies,.log{background:#1a302c;border:1px solid #536254;padding:24px;border-radius:8px}.welcome aside{align-self:start}fieldset{border:1px solid #697861;margin:25px 0;padding:20px}fieldset label{display:inline-flex;align-items:center;gap:8px;margin:8px 16px 8px 0}label{display:block;margin:15px 0}label input:not([type=checkbox]){display:block;margin-top:8px;max-width:100%}.primary{background:#cdb576;color:#172722;font-weight:700}.notice{border-left:3px solid #cdb576;padding-left:16px;color:#d0c7b2}.turnbar,.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.turnbar p{margin:0}.hero-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:25px 0}.hero{padding:16px;background:#1e302e;border:1px solid #4b5e53;border-radius:7px}.hero.active{border:2px solid #d7bc7a;background:#283c32}.hero h3{text-transform:none;display:flex;justify-content:space-between;font-size:18px}.hero h3 span{font:13px system-ui}.hero p{font:14px system-ui}.health{height:5px;background:#182421;border-radius:5px}.health i{display:block;height:100%;background:#c18474}.board{display:grid;grid-template-columns:1fr 1.6fr;gap:20px;margin:24px 0 32px}.location{background:linear-gradient(120deg,#3d4230,#25352f)}.controls{display:flex;gap:12px;font-size:28px;margin:20px 0}.controls span{border:1px solid #71816b;border-radius:50%;width:42px;height:42px;text-align:center}.controls .filled{background:#75554c;color:#fff}.enemies{background:linear-gradient(110deg,#332b31,#242f2b)}.damage{color:#e0bc82}.cards{display:flex;gap:13px;overflow-x:auto;padding:8px 2px 18px;align-items:stretch}.card{flex:0 0 190px;background:#e9dfc6;color:#26342d;border:1px solid #aa9c78;border-radius:7px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 4px 9px #0003}.card .card-face{color:inherit;background:transparent;border:0;text-align:left;flex:1;padding:16px;min-height:185px;display:block}.card .card-face:hover{background:#fff5df}.card .eyebrow{color:#5f6a54;font-size:10px}.card h3{font-size:20px;line-height:1.2}.card p{font:13px/1.55 system-ui,sans-serif}.card>button:not(.card-face){margin:0 10px 10px}.card.ally{border-top:5px solid #98774b}.card.spell{border-top:5px solid #8b718e}.card.item{border-top:5px solid #648985}.section-title{margin-top:25px}.section-title span{font:12px system-ui;color:#b9c6b8}summary{padding:12px 0;cursor:pointer}.choice{position:sticky;top:10px;z-index:2;padding:20px;background:#ddcb9e;color:#20352c;border:2px solid #f4e8c9;border-radius:8px;box-shadow:0 8px 30px #0006}.choice .eyebrow{color:#435644}.choice button{margin:5px}.log{margin-top:30px}.log ol{padding-left:20px;max-height:300px;overflow:auto}.log li{padding:5px;font:14px/1.5 system-ui}.log small{margin-right:10px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;z-index:5;display:grid;place-items:center;padding:20px}.overlay section{background:#e9e1cd;color:#26332d;width:min(780px,95vw);max-height:92vh;overflow:auto;padding:28px;border-radius:8px}.overlay img{width:100%;object-fit:contain;max-height:55vh}.close{float:right}.error{background:#774b42;color:#fff;padding:14px 4vw;display:flex;justify-content:space-between;gap:20px}.result{background:#465a3d;padding:20px;border:1px solid #d5b675}.result h2{font-size:36px}footer{text-align:center;font:12px system-ui;color:#96a99b;padding:35px}@media(max-width:760px){header{align-items:start;gap:12px}h1{font-size:25px}nav{flex-wrap:wrap;justify-content:end}nav button{font-size:12px;padding:8px}main{padding:20px}.welcome{grid-template-columns:1fr;gap:25px;padding-top:30px}.welcome h2{font-size:38px}.board{grid-template-columns:1fr 1fr;gap:12px}.location,.enemies{padding:15px}.board h2{font-size:22px}.hero-row{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:12px}.hero h3{display:block}.hero h3 span{display:block;margin-top:8px}.section-title{align-items:start}.section-title span{display:none}.card{flex-basis:175px}.turnbar h2{font-size:24px}.turnbar{align-items:start}.turnbar button{margin-bottom:6px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.resource-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:baseline;width:1.2em;height:1.2em;line-height:1;font-family:Georgia,serif;font-weight:700;font-size:1.18em;margin:0 .08em}.resource-influence{background:#d8b753;border:1px solid #7a5b1d;border-radius:50%;color:#5c4315;font-size:.95em}.resource-attack{color:#9b710d;text-shadow:0 0 1px #573a00;font-size:1.4em}.resource-health{color:#a43c3c}.resource-control{color:#f0e8d5;text-shadow:0 1px 2px #000}.choice .resource-icon{vertical-align:middle}.table{max-width:1680px}.physical-board{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);gap:24px;margin:24px 0;padding:22px;border:2px solid #8b7852;outline:1px solid #bca573;outline-offset:5px;border-radius:8px;background:linear-gradient(125deg,#344235,#1e322d);box-shadow:0 12px 35px #0004}.board-left{display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-template-areas:"location dark discard" "enemy out out" "active active active";gap:14px;align-content:start}.board-zone{min-width:0;border:1px solid #84744f;border-radius:5px;padding:14px;background:#15272166}.board-zone h2{font-size:23px;margin:12px 0}.board-zone p{font:13px/1.5 system-ui}.board-location{grid-area:location;background:#66633a44}.board-dark{grid-area:dark}.board-dark-discard{grid-area:discard}.board-enemy-deck{grid-area:enemy}.board-out{grid-area:out;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.board-active{grid-area:active}.board-zone .controls{gap:5px;flex-wrap:wrap;margin:14px 0;font-size:20px}.board-zone .controls span{width:28px;height:28px}.deck-back{border:3px double #a58c58;border-radius:6px;min-height:110px;max-width:155px;margin:12px auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:repeating-linear-gradient(45deg,#20332c,#20332c 7px,#2b3d32 7px,#2b3d32 8px);box-shadow:3px 3px #18211c,5px 5px #a58c5877}.deck-back>span{font-size:32px;color:#c8ac6d}.deck-back strong{font:12px system-ui;color:#e4d7b7}.dark-back{background:repeating-linear-gradient(45deg,#302830,#302830 7px,#3c3039 7px,#3c3039 8px)}.board-dark>button{width:100%;padding:8px;font-size:13px}.pile-face{display:block;width:100%;padding:10px;margin-top:12px;background:#cfc4a6;color:#25332a;text-align:left;font:12px/1.4 system-ui}.pile-face h3{font:17px Georgia;margin:3px 0 8px}.empty-pile,.empty-enemy,.empty-market{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;border:1px dashed #94835b;border-radius:5px;padding:18px;color:#bbbc9d;font:14px/1.4 system-ui;min-height:115px}.empty-pile{margin-top:12px}.board-zone details{font:12px/1.5 system-ui}.board-zone details button{display:block;width:100%;margin-bottom:5px;font-size:12px;padding:8px}.out-piles{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}.out-piles details{border:1px dashed #84744f;border-radius:4px;padding:6px 12px;align-self:start}.board-zone-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}.board-zone-title h2{font-size:22px;margin:0}.enemy-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.enemy-card{display:flex;flex-direction:column;min-width:0;border:1px solid #967e67;border-top:5px solid #8e6467;background:#342e31;border-radius:6px;padding:10px}.enemy-face{background:none;border:0;padding:4px;text-align:left;flex:1}.enemy-face h3{font-size:21px}.enemy-face p{font:13px/1.5 system-ui}.enemy-card .damage{font:13px system-ui;margin:8px 0}.enemy-card>button:not(.enemy-face){font-size:13px;padding:8px;margin-top:5px}.board-market{border-left:1px dashed #a18c62;padding-left:24px;min-width:0}.market-deck-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.market-deck-row h2{font-size:24px;margin:8px 0}.market-back{width:120px;min-height:100px;margin:0 5px 6px}.market-six{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-six .card{min-width:0}.market-six .card .card-face{min-height:145px;padding:12px}.market-six .card h3{font-size:19px}.market-six .card p{font-size:12px}.market-six .card>button:not(.card-face){font-size:13px;padding:8px}.market-refresh{width:100%;margin-top:16px;font-size:13px}.board-zone small{display:block}.empty-market{min-height:210px}.current-band{background:#d5bb7922;border-left:2px solid #d5bb79;padding-left:8px}.room-panel,.correction{margin:16px 0;padding:14px;border:1px solid #536254;border-radius:6px}.room-panel select,.correction select{max-width:100%}@media(max-width:1050px){.physical-board{grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr);gap:14px;padding:14px}.board-market{padding-left:14px}.board-left{gap:8px;grid-template-columns:1.15fr 1fr 1fr}.board-zone{padding:9px}.board-zone h2{font-size:19px}.enemy-slots{gap:7px}.enemy-card{padding:7px}.enemy-face h3{font-size:17px}.enemy-face p{font-size:12px}.market-six{gap:8px}.market-six .card h3{font-size:17px}}@media(max-width:700px){.physical-board{grid-template-columns:1fr;padding:12px;margin:20px 0}.board-market{border-left:0;border-top:1px dashed #a18c62;padding:18px 0 0}.board-left{grid-template-columns:1.2fr 1fr 1fr}.board-zone .eyebrow{font-size:9px;letter-spacing:.08em}.board-zone h2{font-size:18px}.out-piles{gap:6px}.out-piles details{padding:5px}.board-zone-title h2{font-size:19px}.enemy-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.enemy-face h3{font-size:16px}.enemy-card>button:not(.enemy-face){padding:6px;font-size:11px}.market-six .card .card-face{min-height:130px}}.hero-dashboard{margin:20px 0;display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}.focused-hero{flex:1 1 520px;min-width:0;padding:12px 16px;border:1px solid #61705b;border-radius:7px;background:#203630}.focused-hero.active{border-color:#d7bc7a}.focused-hero-line{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}.focused-hero-line h3{margin:0;text-transform:none;font-size:21px}.focused-hero-line h3 small{display:block;text-transform:none}.focused-hero-line>span{font:14px system-ui}.focused-powers summary{padding:9px 0 0;font:13px system-ui;color:#dac99e}.hero-power-list{font:14px/1.5 system-ui}.hero-power-list p{margin:10px 0}.other-heroes{display:flex;gap:8px;flex-wrap:wrap;align-content:start}.hero-chip{padding:10px 14px;display:flex;flex-direction:column;gap:4px;text-align:left;min-width:135px}.hero-chip strong,.hero-name{text-transform:none}.hero-chip span{font:12px system-ui}.hero-chip.active{border-color:#d7bc7a;background:#3d4732}.hero-overlay small{color:#526052}.hero-inspection-hand{flex-wrap:wrap;overflow:visible}.hero-inspection-hand .card{flex:1 1 160px;max-width:220px}.hero-inspection-hand .card-face{min-height:140px}.hero-overlay .hero-power-list{border-top:1px solid #a69d83;padding-top:12px}@media(max-width:700px){.hero-dashboard{gap:8px}.focused-hero{flex-basis:100%;padding:12px}.focused-hero-line{gap:8px 14px}.other-heroes{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hero-chip{min-width:0;padding:8px;font-size:13px}.hero-chip small{font-size:10px}.hero-overlay section{padding:18px}}.card.ally{border-top:8px solid #205bd8}.card.item{border-top:8px solid #ffd322}.card.spell{border-top:8px solid #ef3340}.card.ally .eyebrow{color:#1643a3}.card.item .eyebrow{color:#705500}.card.spell .eyebrow{color:#b51928}.turn-overlay{z-index:9}.turn-overlay section{width:min(440px,95vw);text-align:center;border:2px solid #d7bc7a}.turn-overlay h2{font-size:42px;margin:12px 0}.turn-overlay button{font-size:20px;padding:14px 32px}.turn-overlay .eyebrow{color:#685223}.event-toast{position:fixed;top:16px;left:16px;z-index:8;width:min(360px,calc(100vw - 32px));padding:16px 20px;background:#142a35;color:#fff7e3;border:2px solid #d7bc7a;border-radius:10px;box-shadow:0 8px 30px #0006;pointer-events:none;font:15px/1.5 system-ui}.event-toast strong{color:#f3d58b}.event-toast p{margin:7px 0 0}.event-toast{width:min(480px,calc(100vw - 32px));font-size:17px}.event-toast ul{padding-left:20px;margin:10px 0 0}.event-toast li{margin:8px 0}.log-turn{border-top:1px solid #536158;padding:8px 0}.log-turn summary{cursor:pointer;font:600 16px system-ui;padding:8px}.log-turn li{font:13px/1.6 system-ui;padding:4px}.log-turn .superseded{opacity:.65;text-decoration:line-through}.log h2 small{font-size:13px}@media(min-width:1100px)and (min-height:650px){body:has(.fit-table)>#root>header{height:76px;padding:10px 20px;align-items:center}body:has(.fit-table) header h1{font-size:25px;margin:0}body:has(.fit-table) header .eyebrow{display:none}body:has(.fit-table) header nav{display:flex;gap:5px;flex-wrap:wrap}body:has(.fit-table) header button{padding:7px;font-size:12px}body:has(.fit-table) footer{display:none}.table.fit-table{height:calc(100dvh - 76px);max-width:none;padding:8px 16px;display:grid;grid-template-rows:52px 58px minmax(0,1fr) 142px;gap:7px;overflow:hidden}.fit-table>*:not(.turnbar):not(.hero-dashboard):not(.physical-board):not(.hand-zone):not(.choice){display:none}.fit-table .turnbar{grid-row:1;margin:0;padding:0}.fit-table .turnbar h2{font-size:20px;margin:3px 0}.fit-table .turnbar p{font-size:11px;margin:0}.fit-table .turnbar button{padding:7px;font-size:12px}.fit-table .turnbar .eyebrow{font-size:10px}.fit-table .hero-dashboard{grid-row:2;margin:0;flex-wrap:nowrap;gap:8px}.fit-table .focused-hero{padding:7px}.fit-table .focused-hero-line{gap:7px}.fit-table .focused-hero-line h3{font-size:16px}.fit-table .focused-hero-line small{font-size:10px}.fit-table .focused-hero-line>span{font-size:12px}.fit-table .focused-powers{display:none}.fit-table .hero-chip{padding:5px 9px;gap:1px;min-width:105px}.fit-table .hero-chip small{font-size:10px}.fit-table .physical-board{grid-row:3;min-height:0;margin:0;padding:8px;gap:12px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.fit-table .board-left{min-height:0;grid-template-rows:minmax(0,1fr) 54px minmax(0,1fr);gap:6px}.fit-table .board-zone{padding:6px;overflow:auto}.fit-table .board-zone h2{font-size:17px;margin:3px 0}.fit-table .board-zone p,.fit-table .board-zone small{font-size:10px;margin:3px 0}.fit-table .board-zone .eyebrow{font-size:9px}.fit-table .board-zone .controls{margin:3px 0;font-size:17px}.fit-table .deck-back{min-height:24px;margin:3px auto;max-width:100px;border-width:1px}.fit-table .deck-back>span{display:none}.fit-table .board-enemy-deck .deck-back{margin:0}.fit-table .board-enemy-deck small,.fit-table .board-out>small{display:none}.fit-table .out-piles{margin:0;gap:5px}.fit-table .out-piles details{padding:3px}.fit-table .board-active{min-height:0;display:flex;flex-direction:column}.fit-table .board-zone-title{margin:0 0 4px}.fit-table .board-zone-title h2{font-size:15px}.fit-table .enemy-slots{flex:1;min-height:0}.fit-table .enemy-card{padding:5px;overflow:auto}.fit-table .enemy-face h3{font-size:16px;margin:3px 0}.fit-table .enemy-face p{display:none}.fit-table .enemy-card .damage{font-size:11px;margin:3px 0}.fit-table .enemy-card>button:not(.enemy-face){font-size:11px;padding:5px;margin:2px 0}.fit-table .empty-enemy{min-height:0;padding:6px;font-size:12px}.fit-table .pile-face{padding:4px;margin:4px 0;font-size:10px}.fit-table .pile-face h3{font-size:14px;margin:2px 0}.fit-table .board-market{padding-left:10px;display:flex;flex-direction:column;min-height:0}.fit-table .market-deck-row{margin:0 0 4px}.fit-table .market-deck-row h2{font-size:17px;margin:0}.fit-table .market-deck-row .eyebrow{display:none}.fit-table .market-back{width:95px;min-height:20px;margin:0}.fit-table .market-six{flex:1;min-height:0;grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}.fit-table .card .card-face{min-height:0;padding:5px}.fit-table .card h3{font-size:15px;margin:3px 0}.fit-table .card .eyebrow{font-size:9px}.fit-table .card p{display:none}.fit-table .card>button:not(.card-face){margin:0 5px 4px;padding:4px;font-size:11px}.fit-table .market-refresh{padding:4px;margin-top:4px;font-size:11px}.fit-table .empty-market{min-height:0;padding:5px;font-size:11px}.fit-table .hand-zone{grid-row:4;min-height:0;display:flex;flex-direction:column}.fit-table .hand-zone h2{font-size:16px;margin:0}.fit-table .hand-zone .section-title span{font-size:11px}.fit-table .hand-zone>.cards{flex:1;min-height:0;padding:4px 0;gap:7px}.fit-table .hand-zone .card{flex:1 0 120px;max-width:220px}.fit-table .hand-zone>details{display:none}.fit-table .choice{position:fixed;z-index:7;left:50%;top:100px;transform:translate(-50%);width:min(700px,90vw);max-height:70vh;overflow:auto;box-shadow:0 0 0 100vmax #0009}.fit-table .hero-overlay .card p{display:block}}@media(min-width:1100px)and (min-height:650px){.fit-table button{min-height:24px;margin:0}.fit-table .market-six .card{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) 24px;border-top-width:5px}.fit-table .market-six .card-face{grid-column:1/-1;overflow:hidden}.fit-table .market-six .card>button:not(.card-face){min-height:20px;margin:0 3px 3px;padding:2px;font-size:10px}.fit-table .card h3{font-size:14px;line-height:1.1}.fit-table .board-enemy-deck .empty-pile{min-height:0;padding:2px;margin:0;font-size:11px;border:0}.fit-table .board-out .out-piles{display:flex;flex-wrap:wrap}.fit-table .enemy-face{flex:1;min-height:0}.fit-table .enemy-card{overflow:auto}.fit-table .board-zone .controls span{width:22px;height:22px}.fit-table .hand-zone .card-face{flex:1}.fit-table .hand-zone>.cards{align-items:stretch}.fit-table .hand-zone .card>button:not(.card-face){flex-shrink:0}}@media(min-width:1100px)and (min-height:650px){.fit-table .board-out>.eyebrow{display:none}.fit-table .board-out .out-piles{display:grid;grid-template-columns:1fr 1fr;width:100%}.fit-table .board-out details{min-width:0;font-size:10px}.fit-table .board-dark-discard .empty-pile{min-height:30px;padding:6px;margin:5px 0}.fit-table .board-enemy-deck .eyebrow{font-size:8px;letter-spacing:0}.fit-table .board-zone .deck-back{padding:1px}.fit-table .market-six .card>button:nth-child(2):last-child{grid-column:1/-1}.fit-table .result{display:block!important;position:fixed;z-index:6;bottom:12px;left:25%;width:50%;padding:8px;text-align:center;background:#203630;border:1px solid #d7bc7a}.fit-table .result h2{font-size:18px;margin:0}.fit-table .result p{margin:3px;font-size:12px}}img.resource-image,.overlay img.resource-image{display:inline-block;width:1.35em;height:1.35em;max-height:none;object-fit:contain;vertical-align:middle;margin:0 .08em;background:none;border:0;border-radius:0;font-size:inherit;filter:none}@media(min-width:1100px)and (min-height:650px){.table.fit-table{grid-template-rows:52px 68px minmax(0,1fr) 170px}.fit-table .hero-dashboard{min-height:0;align-items:stretch}.fit-table .other-heroes{min-height:0;align-content:stretch;flex-wrap:nowrap;max-width:55%;overflow-x:auto}.fit-table .hero-chip{height:100%;min-height:0;flex:0 0 auto;justify-content:center;box-sizing:border-box;padding:4px 8px;gap:1px;line-height:1.15}.fit-table .hero-chip strong{font-size:14px}.fit-table .hero-chip span{font-size:12px;line-height:1.2}.fit-table .hero-chip small{line-height:1.1;font-size:10px}.fit-table .focused-hero{min-width:0;min-height:0;overflow:auto}.fit-table .focused-hero-line{min-height:100%;align-content:center}.fit-table .focused-hero-line h3{font-size:15px}.fit-table .market-six .card .card-face{padding:3px 5px;overflow:auto;display:block}.fit-table .card h3{font-size:13px;margin:2px 0}.fit-table .card p{display:block;font:11px/1.2 system-ui;margin:3px 0}.fit-table .hand-zone .card .card-face{overflow:auto;min-height:0}.fit-table .hand-zone .card p{font-size:12px;line-height:1.25}.fit-table .card .eyebrow{font-size:8px;letter-spacing:.04em}.fit-table .card img.resource-image{width:1.2em;height:1.2em}.fit-table .hero-chip img.resource-image{width:17px;height:17px}}@media(min-width:1100px)and (min-height:650px){body:has(.fit-table)>#root>header{height:64px}.table.fit-table{height:calc(100dvh - 64px);grid-template-rows:46px 62px minmax(0,1fr) 125px}.fit-table .hand-zone>.cards{padding:3px 0}.fit-table .market-six .card .card-face{line-height:1.05}.fit-table .market-six .card p{font-size:11px;line-height:1.15;margin:2px 0}.fit-table .enemy-face{flex:0 0 auto}.fit-table .enemy-card .damage{flex-shrink:0}.fit-table .board-location .controls{margin:2px 0}.fit-table .hand-zone .card .card-face{padding:3px 5px}.fit-table .hand-zone .card p{font-size:11px;line-height:1.15;margin:2px 0}}@media(min-width:1100px)and (min-height:650px){.table.fit-table{grid-template-rows:46px 62px minmax(0,1fr) 140px}.fit-table .hand-zone .section-title{margin:0;padding:0;flex-shrink:0}.fit-table .hand-zone>.cards{margin:0;padding:3px 0;flex:1;min-height:0}.fit-table .hand-zone .card{min-height:0}.fit-table .hand-zone .card .card-face{margin:0;line-height:1.05}.fit-table .board-enemy-deck{display:flex;flex-direction:column;justify-content:center;gap:2px;overflow:hidden}.fit-table .board-enemy-deck .deck-back{margin:0;flex-shrink:0}}.table .choice,.fit-table .choice{position:fixed;z-index:12;left:50%;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;margin:0;padding:22px;background:#18382e;border:2px solid #d7bc7a;border-radius:10px;box-shadow:0 0 0 100vmax #000a}.table .choice h3{font-size:22px;line-height:1.35}.table .choice button{min-height:44px;margin:5px;font-size:15px;padding:10px 16px}.table .choice p{font-size:14px}@media(min-width:1100px)and (min-height:650px){.fit-table .market-six .card .card-face>.eyebrow{float:right;margin-left:5px;line-height:1.3;max-width:45%;text-align:right}.fit-table .market-six .card h3{margin:0;line-height:1.2}.fit-table .market-six .card p{clear:both;margin-top:3px}.fit-table .market-six .card .card-face{padding:3px 5px;text-align:left}}.event-toast{padding-right:44px}.event-toast .dismiss-notice{position:absolute;top:5px;right:5px;pointer-events:auto;width:32px;height:32px;min-height:32px;margin:0;padding:0;font:24px/1 system-ui;background:#29433d;color:#fff;border:1px solid #d7bc7a;border-radius:5px}.event-toast .dismiss-notice:hover{background:#526254}.focused-hero-line>span{font:600 19px/1.25 system-ui;white-space:nowrap}.focused-hero-line>span img.resource-image{width:28px;height:28px}.focused-hero-line{column-gap:16px}@media(min-width:1100px)and (min-height:650px){.fit-table .focused-hero-line>span{font:600 18px/1.2 system-ui}.fit-table .focused-hero-line>span img.resource-image{width:26px;height:26px}.fit-table .focused-hero-line{column-gap:12px;row-gap:2px}.fit-table .focused-hero-line>small{font-size:10px}}.table .choice,.table .choice h3,.table .choice p{color:#fff4d9}.table .choice .eyebrow{color:#e6cb88}.choice-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12;display:grid;place-items:center;padding:24px;background:#0009;box-sizing:border-box}.choice-popup{width:min(720px,100%);max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;margin:0;padding:22px;background:#18382e;color:#fff4d9;border:2px solid #d7bc7a;border-radius:10px;box-shadow:0 12px 50px #0008}.choice-popup-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.choice-popup .eyebrow{color:#e6cb88}.choice-popup h3{font-size:22px;line-height:1.35;margin:18px 0}.choice-popup button{min-height:44px;padding:10px 16px;font-size:15px}.choice-popup-options{display:flex;flex-wrap:wrap;gap:10px}.choice-popup p{font:14px/1.5 system-ui}.show-choice{position:fixed;z-index:11;bottom:20px;right:20px;margin:0;padding:12px 22px;background:#263b36;color:#fff4d9;border:2px solid #ff9b25;border-radius:9px;box-shadow:0 0 0 4px #ff8a2266,0 0 22px 5px #ff8a2280;font-size:18px}.show-choice span{display:block;font:12px system-ui;margin-top:4px;color:#ffd19b}.show-choice:focus-visible{outline:3px solid #fff4d9;outline-offset:5px}.enemy-rules p{margin:8px 0}.enemy-rules strong{color:#f1d697}.enemy-face{overflow-wrap:anywhere}@media(min-width:1100px)and (min-height:650px){.fit-table .board-left{grid-template-rows:minmax(0,.8fr) 54px minmax(0,1.2fr)}.fit-table .enemy-card{overflow:hidden}.fit-table .enemy-face{flex:1 1 auto;min-height:0;overflow:auto}.fit-table .enemy-face p{display:block;font:11px/1.25 system-ui;margin:5px 0}.fit-table .enemy-face h3{font-size:15px;margin:2px 0}.fit-table .enemy-card>.damage,.fit-table .enemy-card>button:not(.enemy-face),.fit-table .enemy-card>small{flex-shrink:0}.fit-table .enemy-card>small{font-size:10px}.fit-table .board-dark-discard .pile-face{font:11px/1.25 system-ui}.fit-table .board-dark-discard .pile-face h3{font-size:13px}}@media(min-width:1100px)and (min-height:650px){.fit-table .enemy-face>.eyebrow{display:none}.fit-table .enemy-card>small{display:none}.fit-table .enemy-face p{margin:3px 0}.fit-table .enemy-face h3{margin:0 0 3px}.fit-table .enemy-card .damage{margin:2px 0}.fit-table .enemy-card>button:not(.enemy-face){min-height:24px;padding:3px}.fit-table .board-location>small{font-size:9px}}.log-group{border-top:1px solid #68715d;padding:6px 0}.log-group>summary{cursor:pointer;font:600 16px system-ui;padding:10px;color:#f0d399}.log-group>div{margin-left:12px;padding-left:10px;border-left:2px solid #68715d}.victory-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:15;display:grid;place-items:center;padding:24px;background:#071c18dc}.victory-popup{position:relative;z-index:1;width:min(760px,100%);max-height:90dvh;overflow:auto;padding:36px;background:#1b3c31;border:3px solid #e8bd52;border-radius:16px;text-align:center;color:#fff4d9;box-shadow:0 0 60px #ddb34044}.victory-popup h2{font-size:36px;color:#ffda72}.victory-popup p{font:18px/1.65 Georgia}.victory-popup button{margin:8px;min-height:44px}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.confetti i{position:absolute;top:-30px;width:10px;height:18px;animation:celebrate-fall 4s ease-in forwards}@keyframes celebrate-fall{to{transform:translate(60px,110vh) rotate(760deg)}}@media(prefers-reduced-motion:reduce){.confetti{display:none}}.confetti-house{position:absolute;top:0;bottom:0;width:25%;overflow:hidden}.confetti-house i{width:12px;height:20px}.choice-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-width:0}.choice-source{color:#fff0bd;font-size:14px;letter-spacing:normal;line-height:1.4}.choice-popup-header .close{flex-shrink:0}.choice-card-context{margin-top:16px;padding:12px 16px;border-left:3px solid #d9bc65;background:#102c26;border-radius:4px;color:#fff4d6}.choice-card-context strong{font-size:18px}.choice-card-context p{margin:8px 0 0;line-height:1.5;white-space:pre-line;max-height:25vh;overflow:auto}.has-discard-effect{box-shadow:0 0 0 1px #bca4ff,0 0 12px #ac8bff66!important}.discard-effect-label{display:block;color:#e0cfff;font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.02em}.discard-option-text{display:block;max-width:280px;margin-top:7px;font-size:13px;font-weight:400;line-height:1.4}.event-toast{opacity:1;transition:opacity .35s ease-out}.event-toast.is-leaving{opacity:0}.event-toast.is-leaving .dismiss-notice{pointer-events:none}@media(prefers-reduced-motion:reduce){.event-toast{transition:none}}.table .card>button:not(.card-face),.table .enemy-card>button:not(.enemy-face){min-height:48px;font-size:16px;font-weight:600;padding:11px 16px}@media(min-width:1100px)and (min-height:650px){.table.fit-table .card>button:not(.card-face),.table.fit-table .enemy-card>button:not(.enemy-face){min-height:30px;font-size:13px;line-height:1.2;padding:5px 8px;flex-shrink:0}.table.fit-table .card>button:not(.card-face) .resource-image,.table.fit-table .enemy-card>button:not(.enemy-face) .resource-image{width:18px;height:18px}}@media(min-width:1100px)and (min-height:650px){.table.fit-table .focused-hero{position:relative;overflow:visible;padding-right:115px}.table.fit-table .focused-powers{display:block;position:absolute;right:6px;top:6px;z-index:7}.table.fit-table .focused-powers summary{cursor:pointer;padding:7px 9px;border:1px solid #bca573;border-radius:5px;background:#263b36;font-size:12px;max-width:108px}.table.fit-table .focused-powers .hero-power-list{position:absolute;right:0;top:100%;width:min(380px,75vw);max-height:55vh;overflow:auto;background:#18382e;padding:12px 16px;border:2px solid #d7bc7a;border-radius:7px;box-shadow:0 8px 25px #0008}.table.fit-table .hero-dashboard{overflow:visible}}.card-face .discard-effect-label{color:#59327c}.dice-toast{position:fixed;right:16px;top:16px;width:210px;z-index:14;background:#15352ff5;border:2px solid #d7bc7a;border-radius:14px;padding:15px;text-align:center;box-shadow:0 12px 35px #0008;color:#fff4d9;pointer-events:none}.dice-toast h3{margin:0 20px 5px;font-size:19px}.dice-toast>p{font:12px/1.3 system-ui;margin:5px 0}.dice-dismiss{position:absolute;right:4px;top:4px;min-height:26px;width:26px;padding:0;font-size:22px;pointer-events:auto}.die-scene{height:142px;display:grid;place-items:center;perspective:650px}.die-cube{width:76px;height:76px;position:relative;transform-style:preserve-3d;transform:rotateX(var(--land-x)) rotateY(var(--land-y));animation:die-tumble 1.2s cubic-bezier(.12,.55,.25,1) both}.die-side{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:3px;background:var(--die-color);border:3px solid #ffffffa0;border-radius:10px;backface-visibility:hidden;box-shadow:inset 0 0 12px #0005;font:700 38px system-ui;color:#fff;text-shadow:0 2px 3px #000}.die-side .resource-image{width:44px;height:44px}.die-side b{font-size:24px}.die-side-0{transform:translateZ(38px)}.die-side-1{transform:rotateY(90deg) translateZ(38px)}.die-side-2{transform:rotateY(180deg) translateZ(38px)}.die-side-3{transform:rotateY(-90deg) translateZ(38px)}.die-side-4{transform:rotateX(90deg) translateZ(38px)}.die-side-5{transform:rotateX(-90deg) translateZ(38px)}.die-result{min-height:58px;font:16px/1.4 system-ui}.die-result strong{margin-left:5px}.die-result small{display:block;color:#e6d7b5;font-size:11px}.die-result .resource-image{height:24px;width:24px}@keyframes die-tumble{0%{transform:translateY(-24px) rotateX(-30deg) rotateY(20deg)}45%{transform:translateY(12px) rotateX(360deg) rotateY(300deg)}to{transform:translateY(0) rotateX(var(--land-x)) rotateY(var(--land-y))}}@media(prefers-reduced-motion:reduce){.die-cube{animation:none}}@media(max-width:600px){.dice-toast{width:155px;top:8px;right:8px;padding:9px}.die-scene{height:120px}}.event-alert-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:16;background:#071c18b8;display:grid;place-items:center;padding:20px}.event-alert{width:min(620px,100%);max-height:85dvh;overflow:auto;border:2px solid #d7bc7a;border-radius:12px;padding:24px;background:#18382e;color:#fff4d9;box-shadow:0 15px 50px #0008}.event-alert h2{margin:10px 0}.event-alert li{margin:8px 0;font:15px/1.5 system-ui}.revealed-card-text{padding:14px;background:#e6dcc2;color:#20362e;border-radius:6px;font:16px/1.5 system-ui}.event-alert-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 10px}.event-alert small{display:block}.dice-okay{pointer-events:auto;min-height:36px;padding:7px 18px;margin-top:8px}.dice-toast{z-index:17}.alert-progress{font:12px/1.4 system-ui;color:#e6d7b5}.focused-hero,.hero-chip{text-shadow:0 1px 3px #0009}.focused-hero small,.hero-chip small{color:#f2e9d5}@property --hero-green{syntax: "<percentage>"; inherits: false; initial-value: 100%;}.focused-hero,.hero-chip{background:linear-gradient(90deg,#203630 0%,#203630 max(0%,calc(var(--hero-green) - 8%)),#f02b3c min(100%,calc(var(--hero-green) + 8%)),#f02b3c 100%);transition:--hero-green .65s ease}@media(prefers-reduced-motion:reduce){.focused-hero,.hero-chip{transition:none}}.event-card-photo{display:flex;align-items:center;justify-content:center;min-height:200px;margin:18px 0}.event-card-photo img{max-height:30dvh;max-width:260px;object-fit:contain}.event-alert-backdrop{z-index:30}.event-alert{position:relative}.focused-hero-line .view-deck{flex:0 0 auto;margin:0;padding:5px 8px;font-size:12px;min-height:28px}.collection-overlay{z-index:24}.collection-overlay>section{width:min(1000px,94vw);max-height:85dvh;overflow:auto}.collection-overlay .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.notice-preference{position:static;display:inline-flex;align-items:center;gap:4px;background:#17382f;padding:3px 6px;border-radius:5px;font:11px system-ui}.notice-preference select{font-size:11px;padding:2px;min-height:24px}.event-toast.compact-notice{width:min(280px,calc(100vw - 32px));font-size:12px;padding:8px 40px 8px 10px;max-height:130px;overflow:auto}.event-toast.compact-notice ul{margin:2px;padding-left:15px}.event-toast.compact-notice li{margin:2px}.turn-dark-list{display:flex;flex-direction:column;gap:3px}.turn-dark-list button{font-size:12px;text-align:left;padding:4px}.suppressed-badge{display:inline-block;color:#ffd46b;border:1px solid currentColor;border-radius:50%;font-size:22px;line-height:1;padding:1px;background:#243f39}.fit-table .board-out{overflow:auto;position:relative}.fit-table .board-out .out-piles{align-items:start}.fit-table .board-out details[open]{max-height:100%;overflow:auto}.fit-table .board-out summary{position:sticky;top:0;z-index:2;background:#203c32;cursor:pointer;min-height:26px;padding:4px}.fit-table .board-out details>button{display:block;font-size:11px;padding:4px}.fit-table .focused-hero-line{flex-wrap:nowrap}.fit-table .focused-hero-line>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collection-overlay .cards{display:flex;flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto;max-height:58dvh;gap:6px;min-width:0}.collection-overlay .cards>.card{width:100%;max-width:none;min-width:0;flex:0 0 auto;margin:0}.collection-overlay .card>button{display:block;width:100%;text-align:left;white-space:normal}.collection-overlay .card h3{margin:3px 0}.collection-overlay>section{overflow-x:hidden}.fit-table .board-out details[open]{position:fixed;inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);z-index:28;width:min(520px,90vw);max-height:70dvh;height:auto;overflow:auto;padding:12px;background:#17392f;border:2px solid #d7bc7a;border-radius:10px;box-shadow:0 0 0 100vmax #0008;font-size:16px}.fit-table .board-out details[open] summary{padding:12px;font-size:16px}.fit-table .board-out details[open] summary:after{content:" · Click to close";font-size:12px}.fit-table .board-out details[open]>button{font-size:15px;min-height:36px;width:100%;text-align:left}.horcrux-dialog{background:#17382f;border:2px solid #d7bc7a;border-radius:12px;padding:20px;width:min(650px,92vw);max-height:85dvh;overflow:auto}.dice-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;background:#0008;display:grid;place-items:center}.dice-backdrop .dice-toast{position:relative;inset:auto;width:min(460px,90vw);max-height:90dvh;overflow:auto;pointer-events:auto;padding:24px}.dice-options{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.dice-options button{min-height:44px}.dice-backdrop .die-scene{height:190px}.notification-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:16px;background:#0008}.personal-notification{background:#17382f;color:#fff4d9;border:2px solid #d7bc7a;border-radius:12px;padding:18px;box-sizing:border-box}.notification-large{width:min(700px,95vw);max-height:85dvh;overflow:auto}.notification-heading,.notification-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.notification-heading span{font:12px system-ui}.notification-body{display:flex;gap:16px;min-width:0}.notification-body>div{min-width:0}.notification-body h3{margin:10px 0}.notification-body p,.notification-body li{font:14px/1.4 system-ui}.notification-art{flex:0 0 145px}.notification-art img{max-width:100%;max-height:220px;object-fit:contain}.notification-actions button{min-height:42px}.notification-shelf{position:fixed;bottom:0;left:0;right:0;height:140px;z-index:10;border-radius:0;padding:8px 16px;display:flex;flex-direction:column}.notification-shelf .notification-body{overflow:auto;flex:1}.notification-shelf .notification-art{flex-basis:54px}.notification-shelf .notification-art img{max-height:70px}.notification-shelf h3,.notification-shelf p,.notification-shelf ul{margin:3px 0}.notification-shelf .notification-body li{font-size:12px}.notification-shelf .notification-actions button{min-height:32px;padding:4px 10px;font-size:13px}body:has(.notification-shelf){padding-bottom:140px}@media(min-width:1100px)and (min-height:650px){body:has(.notification-shelf) .table.fit-table{height:calc(100dvh - 204px);min-height:440px}}@media(max-width:600px){.notification-large .notification-art{flex-basis:80px}.notification-large .notification-body{gap:8px}.notification-shelf{height:200px;padding:6px}body:has(.notification-shelf){padding-bottom:200px}.notification-actions{gap:4px}}.account-credentials{padding:10px 0;border-top:1px solid #d7bc7a}.account-panel [role=alert]{color:#ffb5a8}header nav{min-width:0}body:has(.fit-table) header nav{flex-wrap:nowrap;overflow-x:auto;max-width:78vw;flex-shrink:1}body:has(.fit-table) header nav>*{flex-shrink:0}.overlay .account-panel,.overlay .account-credentials,.overlay section[aria-label="Notification Settings"]{width:100%;max-height:none;overflow:visible;padding:12px 0}.account-panel input,.account-panel select{max-width:100%}.overlay>section{max-width:100%;min-width:0}.overlay{grid-template-columns:minmax(0,1fr)}.overlay>section{justify-self:center;width:min(780px,100%)}.overlay .account-panel{clear:both}.board-horcrux{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;padding:7px 10px;border:1px solid #d7bc7a;border-radius:6px;background:#17382f;font:14px/1.4 system-ui}.horcrux-requirements{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;font:13px/1.4 system-ui}.horcrux-requirements>span{display:inline-flex;align-items:center;gap:4px;padding:2px 5px;border:1px solid #97885f;border-radius:4px}.horcrux-requirements .symbol-collected{background:#3a634a;color:#fff}.horcrux-requirements small{font-size:11px}.horcrux-requirements .resource-image{width:19px;height:19px}@media(min-width:1100px)and (min-height:650px){.fit-table .physical-board:has(.board-horcrux){grid-template-rows:auto minmax(0,1fr);row-gap:6px}.fit-table .board-horcrux{padding:4px 8px;font-size:12px}.fit-table .board-horcrux .horcrux-requirements{font-size:12px}}.focused-hero-line>.collected-horcruxes{flex-shrink:0;font:12px/1.2 system-ui;padding:5px 7px;white-space:nowrap}.fit-table .focused-hero-line>h3{min-width:0}.fit-table .focused-hero-line>.collected-horcruxes{font-size:11px}.controls>span{display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1;padding:0}.controls>span>img.resource-image{display:block;width:80%;height:80%;margin:0;object-fit:contain}.focused-powers{display:flex;align-items:flex-start;gap:5px}.focused-powers>details{position:relative}@media(min-width:1100px)and (min-height:650px){.table.fit-table .focused-powers{display:flex}.table.fit-table .focused-hero:has(.focused-powers>button){padding-right:195px}.focused-powers>button{font-size:12px;padding:6px;white-space:nowrap}}.enemy-health{position:relative;flex-shrink:0;height:25px;min-height:25px;background:#382b2b;border:1px solid #8b7958;border-radius:5px;overflow:hidden;margin:4px 0}.enemy-health>div{height:100%;transition:width .4s ease,background .4s ease}.enemy-health>strong{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff5df;font:600 12px/1 system-ui;text-shadow:0 1px 2px #000}.fit-table .enemy-health{height:22px;min-height:22px;margin:2px 0}@media(prefers-reduced-motion:reduce){.enemy-health>div{transition:none}}.board-status{grid-column:1/-1;min-width:0;display:grid;gap:5px}.board-restrictions{display:flex;flex-wrap:wrap;gap:5px 10px;border:1px solid #b97969;border-radius:5px;padding:6px 8px;background:#382b2b;color:#f6e5d5;font:12px/1.35 system-ui;max-height:100px;overflow:auto}.board-restrictions>span{border-left:2px solid #a16b59;padding-left:6px}.board-restrictions .resource-image{width:16px;height:16px}.rule-warning-card{outline:2px solid #b9473d;outline-offset:-2px}.card-rule-warning{display:block;background:#f2c8bc;color:#702016;border-left:3px solid #a4382e;padding:4px;font:600 11px/1.3 system-ui;text-align:left}.physical-board:has(>.board-status){grid-template-rows:auto minmax(0,1fr)}@media(min-width:1100px)and (min-height:650px){.fit-table .physical-board:has(>.board-status){grid-template-rows:auto minmax(0,1fr);row-gap:5px}.fit-table .board-restrictions{max-height:64px;font-size:11px}.fit-table .card-rule-warning{font-size:10px;padding:3px}}@media(max-width:700px){.physical-board:has(>.board-status){grid-template-rows:auto auto auto}}.board-horcrux .horcrux-curse{flex:1 1 100%;background:#482c32;color:#ffe9d8;border-left:4px solid #cd9274;padding:5px 8px;font:600 14px/1.35 system-ui}.board-horcrux .horcrux-curse .resource-image{width:19px;height:19px}.fit-table .board-horcrux .horcrux-curse{font-size:12px;padding:3px 6px}.room-controls-dialog .room-panel>summary{display:none}.room-controls-dialog .room-panel{display:block;margin:0;padding:0}.feedback-dialog textarea{width:100%;resize:vertical;background:#102d25;color:#fff1d5;border:1px solid #b9a172;padding:12px;font:16px/1.4 system-ui}.room-controls-dialog>section{max-height:85dvh;overflow:auto}
