:root{--paper: #efdfbb;--paper2: #e4cf9f;--ink: #2a1c10;--muted: #7a6446;--red: #a3291c;--gold: #d9a521;--wood: #3a2414;--good: #3f7d2f;--bad: #a3291c;--rune: #2e6fd0;--brew: #b0661b}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;background:#24160b url(./wood-CKPP98Om.jpg) center / 900px repeat;color:var(--ink);font-family:Alegreya,Georgia,serif}button{font-family:inherit}.muted{color:var(--muted)}.panel{background:radial-gradient(circle at 20% 15%,rgba(255,255,255,.35),transparent 40%),radial-gradient(circle at 80% 90%,rgba(120,70,20,.18),transparent 45%),var(--paper);border:3px solid var(--wood);border-radius:14px 6px 12px 5px/6px 12px 5px 14px;box-shadow:0 6px #00000059,inset 0 0 30px #78461440}button{background:#f7ebcd;color:var(--ink);border:2px solid var(--wood);border-radius:9px 4px 8px 3px;padding:6px 11px;font-size:15px;cursor:var(--hand);box-shadow:0 3px 0 var(--wood);transition:transform .08s}button:hover:not(:disabled){transform:translateY(-1px) rotate(-.6deg);background:#fff4d8}button:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 var(--wood)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--red);color:#fff3d6;font-weight:700}button.primary:hover:not(:disabled){background:#c0392b}button.on,button.on:hover:not(:disabled){background:#ffd36b}.setup{min-height:100%;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 40%,#0000 40%,#00000080),url(./wood-CKPP98Om.jpg) center / 900px repeat}.setup-box{max-width:980px;width:100%;padding:26px 30px;text-align:center;transform:rotate(-.4deg)}.setup h1{font-family:Uncial Antiqua,serif;font-size:54px;margin:0;line-height:1.1}.kicker{font-family:Alegreya SC,serif;color:var(--red);letter-spacing:.12em;text-transform:lowercase}.tagline{font-style:italic;color:var(--muted)}.toast-art{font-size:40px;letter-spacing:-14px;transform:rotate(-6deg)}.setup h3{font-family:Alegreya SC,serif;margin:18px 0 8px;text-align:left}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.choice{display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px;text-align:center}.choice b{font-size:17px}.choice small{font-size:13px}.choice.on,.choice.on:hover:not(:disabled){background:#ffe39a;outline:3px dashed var(--red);outline-offset:2px}.beard{width:40px;height:40px;border-radius:50%/30% 30% 70% 70%;border:2px solid var(--wood)}.big{font-size:34px}.mini-stats{font-size:14px}.house-rules{text-align:left;margin:16px 0}.house-rules label{display:block;margin:6px 0}.house-rules input[type=text],.house-rules input:not([type]){width:120px;font-family:inherit}.big-btn{font-size:20px;padding:12px 22px;margin-top:6px}.game{position:fixed;top:0;right:0;bottom:0;left:0}.hud{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;pointer-events:none;display:grid;gap:8px;padding:8px;grid-template-columns:auto 1fr auto;grid-template-rows:auto minmax(0,1fr) auto}.hud>*{pointer-events:auto}.topbar,.topbar-tab{grid-column:1 / -1;grid-row:1}.topbar{position:relative;display:flex;align-items:center;gap:6px 16px;padding:6px 34px 6px 12px;flex-wrap:wrap}.topbar .title{font-family:Uncial Antiqua,serif;font-size:22px;white-space:nowrap}.topbar .title small{font-family:Alegreya SC,serif;font-size:13px;color:var(--red)}.topbar .info{display:flex;gap:4px 14px;flex:1;flex-wrap:wrap;white-space:nowrap}.topbar .tools{display:flex;gap:6px;flex-wrap:wrap}.left{grid-column:1;grid-row:2;width:clamp(220px,24vw,300px);display:flex;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;pointer-events:none;align-self:start;max-height:100%}.left>*{pointer-events:auto}.right{grid-column:3;grid-row:2;width:clamp(220px,26vw,330px);min-height:0}.left.folded,.right.folded{width:auto;align-self:start}.bottom,.bottom-tab{grid-column:1 / -1;grid-row:3}.bottom{position:relative;padding:8px 34px 8px 12px;max-height:40vh;overflow-y:auto}.topbar-tab,.bottom-tab{pointer-events:none;display:flex}.topbar-tab>*,.bottom-tab>*{pointer-events:auto}.bottom-tab{justify-content:flex-start}.fold-wrap{position:relative}.fold-wrap.full{height:100%}.fold{position:absolute;top:5px;right:5px;z-index:3;width:26px;height:26px;padding:0;font-size:13px;line-height:1;box-shadow:0 2px 0 var(--wood)}.tab{font-family:Alegreya SC,serif;font-size:14px;padding:5px 10px;white-space:nowrap}.tab.side{writing-mode:horizontal-tb}.map-only{position:absolute;top:10px;right:10px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.card{padding:10px 12px}.card h2,.card h3{font-family:Alegreya SC,serif;margin:0}.card .sub{font-size:13px;color:var(--muted);font-style:italic}.hpbar{position:relative;height:22px;background:#5a1a12;border:2px solid var(--wood);border-radius:8px 3px;margin:8px 0;overflow:hidden}.hpbar div{height:100%;background:linear-gradient(#e0533f,#a3291c);transition:width .4s}.hpbar span{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;color:#fff3d6;font-weight:700;font-size:14px;line-height:18px}.stats{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}.stat{flex:1;min-width:56px;background:#ffffff59;border:1.5px solid rgba(58,36,20,.4);border-radius:6px;padding:2px 4px;text-align:center}.stat .ic{display:block;font-size:15px}.stat b{font-size:17px}.stat small{display:block;font-size:11px;color:var(--muted);line-height:1.1}.effects{display:flex;gap:4px;flex-wrap:wrap;margin:4px 0}.chip{font-size:12.5px;padding:2px 7px;border-radius:10px;border:1.5px solid var(--wood);background:#fff4d8}.chip.good{background:#d9efc4}.chip.bad{background:#f7d2c4}.chip.passive{background:#e8e0ff;align-self:center}.gear{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:6px}.slot{border:2px dashed rgba(58,36,20,.5);border-radius:6px;padding:3px 5px;font-size:12px;min-height:52px}.slot small{display:block;text-transform:uppercase;font-size:10px;color:var(--muted);letter-spacing:.05em}.slot b{display:block;font-size:12.5px}.monster-card .reward{font-size:13px;margin-top:4px}.steps{display:flex;gap:6px;margin-bottom:6px;font-family:Alegreya SC,serif;font-size:14px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.actions .hint{width:100%;font-size:15px}.actions .hint.small{font-size:13px;color:var(--rune)}.shop{display:flex;gap:6px;flex-wrap:wrap;padding:4px;border:2px dotted var(--brew);border-radius:8px}.levels{display:flex;flex-wrap:wrap;gap:6px;width:100%;max-height:140px;overflow:auto}.levels button{display:flex;flex-direction:column;text-align:left;max-width:260px}.levels small{font-size:12px;color:var(--muted)}.log{height:100%;display:flex;flex-direction:column;padding:8px}.right .log .tabs{padding-right:28px}.tabs{display:flex;gap:4px;margin-bottom:6px}.tabs button{font-size:13px;padding:3px 8px}.lines{overflow-y:auto;flex:1;font-size:14px;padding-right:4px}.line{padding:2px 0;border-bottom:1px dotted rgba(58,36,20,.2)}.line.good{color:var(--good)}.line.bad{color:var(--bad);font-weight:700}.line.brew{color:var(--brew)}.line.rune{color:var(--rune)}.line.monster{color:#6a2e7a;font-weight:700}.line.t-banner{font-family:Uncial Antiqua,serif;font-size:18px;text-align:center}.mini-card{border:2px solid var(--wood);border-radius:8px;padding:5px 8px;margin:6px 0;background:#ffffff4d}.mini-card small{display:block;color:var(--muted);font-size:12px}.mini-card p{margin:3px 0;font-size:13.5px}.note{border-left:4px solid var(--brew);padding:3px 8px;margin:8px 0}.note.issue{border-color:var(--bad)}.note p{margin:2px 0;font-size:13.5px}.floater{font-family:Uncial Antiqua,serif;font-size:26px;font-weight:700;-webkit-text-stroke:1.5px #2a1c10;animation:floatUp 1.3s ease-out forwards;white-space:nowrap;pointer-events:none}@keyframes floatUp{0%{transform:translateY(0) scale(.6);opacity:1}20%{transform:translateY(-10px) scale(1.2)}to{transform:translateY(-60px) scale(1);opacity:0}}.bubble{background:#fffbe8;border:2px solid var(--ink);border-radius:14px 14px 14px 2px;padding:3px 9px;font-size:14px;font-weight:700;white-space:nowrap;animation:pop .25s ease-out,fadeOut 1.8s forwards;pointer-events:none}.bubble.monster{background:#e9ffd9}@keyframes pop{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes fadeOut{0%,80%{opacity:1}to{opacity:0}}.pips{display:flex;gap:2px;pointer-events:none}.pips i{width:7px;height:7px;border-radius:50%;background:#3a1a12;border:1px solid #000}.pips i.on{background:#e0533f}.dice-tray{position:absolute;top:70px;left:50%;transform:translate(-50%);background:#2a1c10e0;border:3px solid var(--gold);border-radius:14px;padding:8px 14px;text-align:center;color:#fff3d6;pointer-events:none}.dice-tray .label{font-family:Alegreya SC,serif;font-size:14px;margin-bottom:4px}.dice-tray .row{display:flex;gap:8px;justify-content:center}.dice-tray.rolling .die-wrap{animation:tumble .18s linear infinite}.dice-tray.settled .die-wrap{animation:land .3s ease-out}@keyframes tumble{0%{transform:rotate(0) translateY(0)}50%{transform:rotate(180deg) translateY(-6px)}to{transform:rotate(360deg) translateY(0)}}@keyframes land{0%{transform:scale(1.4) rotate(-12deg)}60%{transform:scale(.9) rotate(4deg)}to{transform:scale(1)}}.die{width:58px;height:58px;background:#fdf6e3;color:var(--ink);border:2px solid #000;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px #000}.die span{font-size:24px;line-height:1}.die small{font-size:9.5px;line-height:1.05;font-weight:700;text-transform:uppercase}.die.brew,.die.rune{width:76px}.die.d6.miss{background:#bbb2a0}.die.d6.crit{background:#ffd36b}.pipgrid{display:grid;grid-template-columns:repeat(3,9px);gap:3px}.pipgrid i{width:9px;height:9px;border-radius:50%}.pipgrid i.on{background:#2a1c10}.banner{position:absolute;top:35%;left:50%;transform:translate(-50%,-50%);font-family:Uncial Antiqua,serif;font-size:58px;color:#fff3d6;-webkit-text-stroke:2px #2a1c10;text-shadow:0 5px 0 #2a1c10;animation:bannerIn 1.4s ease-out forwards;pointer-events:none;white-space:nowrap}.banner.bad{color:#ff7b63}.banner.good{color:#ffe08a}.banner.monster{color:#d9a8ff}@keyframes bannerIn{0%{transform:translate(-50%,-50%) scale(.2) rotate(-10deg);opacity:0}15%{transform:translate(-50%,-50%) scale(1.15) rotate(3deg);opacity:1}80%{transform:translate(-50%,-50%) scale(1) rotate(-1deg);opacity:1}to{opacity:0}}.toast{position:absolute;bottom:140px;left:50%;transform:translate(-50%);background:#fff3d6;border:2px solid var(--red);padding:6px 14px;border-radius:10px;font-weight:700;color:var(--red);pointer-events:none}.modal-back{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000008c;display:grid;place-items:center}.modal{padding:22px 28px;max-width:560px;text-align:center;transform:rotate(-1deg)}.modal h1{font-family:Uncial Antiqua,serif;font-size:50px;margin:0}.modal.lost h1{color:var(--red)}.modal.won h1{color:var(--good)}.modal .row{display:flex;gap:8px;justify-content:center;margin-top:12px;flex-wrap:wrap}@media (max-width: 1100px){.topbar .title small{display:none}button{font-size:14px;padding:5px 9px}.card h2{font-size:19px}}@media (max-width: 820px){.hud{gap:6px;padding:6px}.topbar .title{font-size:17px}.topbar .info{font-size:13px;gap:2px 10px}.topbar .tools button{font-size:12.5px;padding:3px 7px}button{font-size:13px;padding:4px 8px}.left,.right{width:clamp(190px,42vw,260px)}.stat b{font-size:15px}.stat small{font-size:10px}.actions .hint{font-size:13.5px}.steps{font-size:12.5px;flex-wrap:wrap}.lines{font-size:13px}.gear{grid-template-columns:1fr 1fr 1fr}.slot{font-size:11px;min-height:44px}.banner{font-size:40px}}.icon{vertical-align:-4px;flex:none}.portrait{display:inline-block;flex:none}.portrait svg{width:100%;height:100%}.card-head{display:flex;gap:10px;align-items:center}.toast-art{display:flex;justify-content:center;letter-spacing:0;transform:none}.mini-stats{display:inline-flex;gap:4px;align-items:center}.die .icon,.stat .ic .icon{vertical-align:0}.help{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f7ebcd;border:2px solid var(--wood);font-weight:700;cursor:var(--hand)}.shop-label{font-family:Alegreya SC,serif;display:inline-flex;gap:4px;align-items:center;padding:0 4px}.map-btn{display:inline-flex;align-items:center;gap:7px;padding:3px 9px 3px 4px}.map-btn img{width:34px;height:24px;object-fit:cover;border-radius:5px 2px 4px;border:1.5px solid var(--wood)}.map-btn .map-count{font-family:Alegreya SC,serif;font-size:11px;color:var(--muted)}.map-only .map-btn{box-shadow:0 3px 0 var(--wood),0 2px 8px #00000059}.choices.maps{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.map-choice{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}.map-choice img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:6px}.map-choice small{opacity:.75}.monster-deck{display:inline-flex;align-items:center;gap:12px;padding:6px 14px 6px 8px;background:#f7ebcd}.monster-deck .deck-back-old{position:relative;width:44px;height:60px;display:grid;place-items:center;border-radius:6px 3px 5px 2px;background:repeating-linear-gradient(45deg,#5a1d14 0,#5a1d14 6px,#6e2618 6px,#6e2618 12px);border:2px solid var(--wood);color:#f3d9a4;box-shadow:3px 3px #3a2414,6px 6px #2a1a0e}.monster-deck .deck-back svg{filter:drop-shadow(0 1px 0 #000)}.monster-deck:hover:not(:disabled) .deck-back{transform:translateY(-4px) rotate(-4deg);transition:transform .12s}.monster-deck .deck-text{display:flex;flex-direction:column;text-align:left;line-height:1.2}.monster-deck .deck-text b{font-size:16px}.monster-deck .deck-text small{font-family:Alegreya SC,serif;color:var(--muted)}.drawn-card{position:absolute;top:42%;left:50%;width:230px;padding:14px 14px 12px;z-index:40;pointer-events:none;background:var(--paper);border:3px solid var(--wood);border-radius:14px 6px 13px 5px;text-align:center;box-shadow:0 5px 0 var(--wood),0 18px 40px #0000008c;animation:cardDraw 3.2s ease-out forwards}.drawn-card:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1.5px dashed rgba(90,29,20,.45);border-radius:10px 4px 9px 3px;pointer-events:none}.dc-wave{font-family:Alegreya SC,serif;color:var(--red);letter-spacing:.1em;font-size:14px}.dc-compass{position:relative;width:92px;height:92px;margin:6px auto 2px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#f7ebcd 55%,#e4cc98 56%);border:2px solid var(--wood);color:#5a1d14}.dc-compass span{position:absolute;font-family:Uncial Antiqua,serif;font-size:15px;color:#2a1c1059}.dc-compass span.on{color:#fff3d6;background:var(--red);border:2px solid var(--wood);border-radius:50%;width:26px;height:26px;line-height:23px;font-size:14px}.dc-N{top:-4px;left:50%;transform:translate(-50%)}.dc-S{bottom:-4px;left:50%;transform:translate(-50%)}.dc-W{left:-4px;top:50%;transform:translateY(-50%)}.dc-E{right:-4px;top:50%;transform:translateY(-50%)}.dc-compass span.on.dc-N,.dc-compass span.on.dc-S{margin-left:0}.dc-from{font-family:Uncial Antiqua,serif;font-size:22px;margin:4px 0 8px}.dc-list{display:flex;flex-direction:column;gap:6px}.dc-mon{background:#f7ebcd;border:1.5px solid var(--wood);border-radius:7px 3px 6px 2px;padding:4px 6px;display:flex;flex-direction:column;gap:2px}.dc-mon b{font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:4px}.dc-mon span{font-size:13px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;gap:3px}@keyframes cardDraw{0%{transform:translate(-50%,40vh) scale(.4,.5) rotate(8deg);opacity:0}18%{transform:translate(-50%,-50%) scale(1.06) rotate(-2deg);opacity:1}26%{transform:translate(-50%,-50%) scale(1) rotate(-1deg)}80%{transform:translate(-50%,-50%) scale(1) rotate(-1deg);opacity:1}to{transform:translate(-50%,-50%) scale(.85) rotate(-1deg);opacity:0}}.steps-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:6px;padding-right:30px}.steps-row .steps{margin-bottom:0;flex-wrap:wrap}.undo-redo{display:inline-flex;gap:6px}.undo-redo button{padding:3px 10px;font-size:14px}.undo-redo small{font-family:Alegreya SC,serif;color:var(--muted);font-size:11px}.chip.brew{background:#f3dfb0;border-color:#b0661b}.effects.carried{margin-bottom:4px}.fight-mods{width:100%;font-size:14px;color:var(--brew);font-weight:700;display:flex;align-items:center;gap:5px}.game-card{position:relative;padding:0 10px 10px;border:3px solid var(--wood);border-radius:14px;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.4),transparent 45%),linear-gradient(#f6e7c3,#ead6a6);box-shadow:0 4px 0 var(--wood),0 8px 18px #00000059;overflow:hidden}.game-card:after{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:1.5px solid rgba(90,29,20,.35);border-radius:10px;pointer-events:none}.gc-band{margin:0 -10px 6px;padding:5px 30px 4px;text-align:center;font-family:Uncial Antiqua,serif;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1;color:#fff3d6;background:linear-gradient(#b8382a,#8e2418);border-bottom:3px solid var(--wood);text-shadow:0 2px 0 rgba(0,0,0,.35)}.gc-art{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;padding:2px 0;margin:0 4px;background:radial-gradient(ellipse at 50% 60%,rgba(255,255,255,.55),transparent 70%);border-radius:10px}.gc-title{font-size:13px;font-style:italic;color:var(--muted);text-align:center}.dwarf-card .hpbar{margin:6px 0}.ride-card .gc-band{background:linear-gradient(#7a5233,#553620);font-size:17px}.ride-top{display:flex;align-items:center;gap:10px;padding:0 4px}.ride-icon{width:56px;height:56px;flex:none;display:grid;place-items:center;border-radius:50%;border:2px solid var(--wood);background:#f7ebcd}.ride-top .gc-title{text-align:left}.ride-stats{font-size:13px;display:inline-flex;align-items:center;gap:4px}.ride-ability{margin-top:7px;padding:6px 8px;border:1.5px solid var(--wood);border-radius:8px 3px 7px 2px;background:#ffffff73;display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.25}.ride-ability b{font-family:Alegreya SC,serif;font-size:14px}.ride-ability small{color:var(--muted);font-style:italic}.ride-ability.used{opacity:.6}.chip.passive{white-space:normal;max-width:100%;text-align:left;line-height:1.3}.brew-row{display:flex;gap:8px;flex-wrap:wrap}.shop{align-items:stretch}.brew-card{position:relative;width:104px;min-height:132px;padding:0 6px 6px;display:flex;flex-direction:column;align-items:center;gap:3px;border-radius:10px;background:linear-gradient(#f9ecc9,#ecd7a3);text-align:center;overflow:hidden;box-shadow:0 3px 0 var(--wood),0 5px 10px #00000040}.brew-card:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border:1px solid rgba(90,29,20,.3);border-radius:7px;pointer-events:none}.brew-card:hover:not(:disabled){transform:translateY(-4px) rotate(-1.5deg)}.bc-name{margin:0 -6px;align-self:stretch;padding:4px 3px 3px;font-family:Alegreya SC,serif;font-size:12.5px;line-height:1.1;color:#fff3d6;border-bottom:2px solid var(--wood)}.brew-stout .bc-name{background:#7a3b1d}.brew-bock .bc-name{background:#a3291c}.brew-porter .bc-name{background:#3d4a5c}.brew-ale .bc-name{background:#b0661b}.bc-art{position:relative;margin-top:2px;width:50px;height:46px;display:grid;place-items:center}.bc-badge{position:absolute;right:-4px;bottom:-2px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#fff3d6;border:1.5px solid var(--wood)}.bc-text{font-weight:700;font-size:13px;line-height:1.15}.bc-foot{font-size:10.5px;color:var(--muted);font-style:italic;margin-top:auto}.bc-price,.bc-count{position:absolute;top:26px;left:5px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:2px;background:#fff3d6;border:1.5px solid var(--wood);border-radius:8px;padding:0 4px}.bc-count{left:auto;right:5px}.music{display:inline-flex;align-items:center;gap:3px}.music button{padding:3px 7px;line-height:0;min-width:30px;display:inline-grid;place-items:center;color:var(--ink)}.music button svg{display:block}.music .mu-name{font-size:12px;font-style:italic;color:var(--muted);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:3px}.map-only .music{background:#fbf3df;border:2px solid var(--wood);border-radius:9px 4px 8px 3px;padding:2px 6px;box-shadow:0 3px 0 var(--wood)}.map-only .music button{box-shadow:none}@media (max-width: 1100px){.music .mu-name{display:none}}.gc-art .gc-title{font-size:15px}.dwarf-card .stat small{font-size:10.5px}.dwarf-card .stats{margin:3px 0}.dwarf-card .slot{min-height:40px}.bottom{position:relative}.bottom .actions{padding-right:230px;min-height:44px}.bottom .next-btn{position:absolute;right:14px;bottom:12px;font-size:17px;padding:9px 18px}@media (max-width: 760px){.bottom .actions{padding-right:0;padding-bottom:54px}}.brew-card{width:108px;height:142px;min-height:0;flex:none}.bc-name{height:32px;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1.05;padding:2px 4px;box-sizing:border-box}.bc-text{height:30px;display:flex;align-items:center;justify-content:center;font-size:12.5px;line-height:1.1}.bc-price,.bc-count{top:36px}.bc-art{margin-top:4px}.bc-foot{margin-top:0}.steps{gap:4px 2px;align-items:center;flex-wrap:wrap}.steps .step{position:relative;display:inline-flex;align-items:center;gap:7px;padding:3px 11px 3px 7px;border-radius:14px;color:var(--ink);white-space:nowrap}.steps .step+.step{margin-left:10px}.steps .step+.step:before{content:"";position:absolute;left:-10px;top:50%;width:9px;border-top:2px dotted rgba(176,102,27,.55)}.steps .step .mug{position:relative;flex:none;display:inline-grid;place-items:center;width:20px;height:22px}.steps .step .foam{position:absolute;top:0;left:2px;width:12px;height:6px;border-radius:6px 6px 3px 3px;background:#fffaf0;box-shadow:4px 1px 0 -1px #fffaf0,0 0 0 1px #5a3c1e59}.steps .step.todo{color:var(--muted)}.steps .step.done{color:#8a7656}.steps .step.done .mug{transform:rotate(-90deg) translate(-3px);opacity:.55;filter:grayscale(.6)}.steps .step.on{background:var(--red);color:#fff3d6;box-shadow:0 0 0 2px #ffd36b inset,0 2px 8px #a3291c73}.steps .step.on .mug{animation:mugCheer 1.4s ease-in-out infinite}@keyframes mugCheer{0%,to{transform:rotate(-6deg)}50%{transform:rotate(8deg) translateY(-1px)}}.monster-deck{gap:18px;padding:10px 18px 14px 14px;background:transparent;border:none;box-shadow:none}.monster-deck:hover:not(:disabled){transform:none;background:transparent}.deck-pile{position:relative;width:86px;height:120px;display:block}.deck-card{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:9px;border:2px solid #2a1208;background:radial-gradient(circle at 50% 42%,#8e2a1a 0 22%,transparent 23%),repeating-linear-gradient(45deg,#5a1d14 0,#5a1d14 7px,#6a2418 7px,#6a2418 14px);box-shadow:1px 2px #1a0c06,0 4px 10px #00000059;display:grid;place-items:center;color:#f3d9a4;transition:transform .15s}.deck-card .dc-frame{position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1.5px solid #d9a521;border-radius:6px;box-shadow:inset 0 0 0 2px #00000040}.deck-card svg{filter:drop-shadow(0 2px 0 #000)}.deck-card .dc-label{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-family:Uncial Antiqua,serif;font-size:11px;color:#f3d9a4;letter-spacing:.04em}.monster-deck:hover:not(:disabled) .deck-card:first-child{transform:translate(6px,-10px) rotate(6deg)!important;box-shadow:0 10px 16px #00000073}.monster-deck .deck-text em{font-size:12px;color:var(--red)}.credits{font-size:11.5px;color:var(--muted);text-align:center;margin:10px 0 0;font-style:italic}.monster-card.floating{position:fixed;z-index:50;pointer-events:none;box-shadow:0 6px 18px #0006}.monster-card .trait{font-size:12px;font-style:italic;color:var(--muted);margin-top:3px}.bottom{padding:10px 40px 12px 14px}.steps-row{gap:8px 14px;margin-bottom:8px;padding-right:0}.bottom .actions{padding-right:190px;min-height:58px;gap:8px 10px}.bottom .actions .hint{margin-bottom:2px;line-height:1.35}.bottom .next-btn{right:16px;bottom:14px;min-width:150px}.undo-redo{gap:8px}.topbar .tools{gap:6px;flex-wrap:wrap}.music{gap:4px}.map-only{gap:8px}.floater{animation-duration:1.7s;font-size:38px;-webkit-text-stroke:2px #1a0f08;text-shadow:0 3px 0 #1a0f08,0 0 14px rgba(0,0,0,.6);animation-fill-mode:both}.floater.dmg{font-size:46px}.floater.crit{font-size:50px;animation:critPop 1.5s ease-out both;letter-spacing:.02em}.floater.miss{font-size:30px;font-style:italic;opacity:.95;animation:missDrift 1.3s ease-out both}@keyframes critPop{0%{transform:scale(.2) rotate(-14deg);opacity:0}15%{transform:scale(1.5) rotate(6deg);opacity:1}30%{transform:scale(1.1) rotate(-3deg)}80%{transform:translateY(-24px) scale(1.1);opacity:1}to{transform:translateY(-46px) scale(1);opacity:0}}@keyframes missDrift{0%{transform:translate(0) scale(.7);opacity:0}20%{transform:translate(-6px) scale(1.05);opacity:1}to{transform:translate(-34px) translateY(-26px) rotate(-12deg);opacity:0}}.chips{display:inline-flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap}.fx{display:inline-flex;align-items:center;gap:2px;padding:1px 5px 1px 3px;border-radius:9px;background:#ffffff8c;border:1.5px solid rgba(58,36,20,.35);cursor:var(--hand)}.fx b{font-family:Alegreya SC,serif;font-size:14px;color:var(--good)}.fx.bad b{color:var(--bad)}.chips.big .fx{padding:4px 10px 4px 6px;border-radius:14px;border-width:2px}.chips.big .fx b{font-size:30px;line-height:1}.fight-tray{width:100%;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 10px;border:2px dashed rgba(176,102,27,.6);border-radius:12px;background:#fff0c873}.ft-label{font-family:Alegreya SC,serif;color:var(--brew);display:inline-flex;gap:5px;align-items:center;font-size:15px}.ft-pair{display:inline-flex;gap:4px;padding:2px;border-radius:10px;background:#3a241414}.mini-fx{width:92px;height:104px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:0 4px 5px;border:2px solid var(--wood);border-radius:9px;overflow:hidden;background:linear-gradient(#f9ecc9,#ecd7a3);box-shadow:0 2px 0 var(--wood);animation:trayIn .35s ease-out}.mf-name{align-self:stretch;margin:0 -4px;height:26px;display:flex;align-items:center;justify-content:center;text-align:center;font-family:Alegreya SC,serif;font-size:11px;line-height:1.05;color:#fff3d6;padding:0 3px}.mini-fx.brew .mf-name{background:#7a3b1d}.mini-fx.good .mf-name{background:var(--good)}.mini-fx.bad .mf-name{background:var(--bad)}.mf-art{height:32px;display:grid;place-items:center}@keyframes trayIn{0%{transform:translateY(-30px) rotateY(90deg);opacity:0}to{transform:none;opacity:1}}.reveal-back{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;background:#140a049e;animation:backIn .25s ease-out;pointer-events:auto;perspective:900px}.reveal-back.leaving{animation:backOut .65s ease-in forwards}@keyframes backIn{0%{opacity:0}to{opacity:1}}@keyframes backOut{to{background:#140a0400}}.reveal-card{width:270px;padding:0 16px 18px;border:4px solid var(--wood);border-radius:18px;text-align:center;overflow:hidden;background:radial-gradient(circle at 50% 35%,#fffaf0,#ecd7a3 70%);box-shadow:0 8px 0 var(--wood),0 0 60px #ffc85a8c;display:flex;flex-direction:column;align-items:center;gap:10px;animation:cardFly .55s cubic-bezier(.2,1.4,.4,1)}@keyframes cardFly{0%{transform:translateY(45vh) scale(.3) rotateY(180deg)}to{transform:none}}.rc-top{align-self:stretch;margin:0 -16px;padding:7px;font-family:Alegreya SC,serif;font-size:14px;color:#fff3d6;background:#7a3b1d;border-bottom:3px solid var(--wood);display:flex;gap:5px;justify-content:center;align-items:center}.reveal-card.good .rc-top{background:var(--good)}.reveal-card.bad .rc-top{background:var(--bad)}.rc-art{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid var(--wood);box-shadow:inset 0 -6px #00000014}.rc-name{font-family:Uncial Antiqua,serif;font-size:26px;line-height:1.1}.rc-when{font-size:13px;font-style:italic;color:var(--muted);margin-top:-4px}.reveal-card button{font-size:18px;padding:8px 26px}.setup-box{position:relative}.sound-toggle{position:absolute;top:14px;right:16px;z-index:5;padding:3px 7px;line-height:0;min-width:30px;display:inline-grid;place-items:center;color:var(--ink)}.sound-toggle svg{display:block}.pick-card{padding:0;background:none;border:none;box-shadow:none;border-radius:16px;text-align:left;display:block}.pick-card:hover:not(:disabled){background:none;transform:translateY(-3px) rotate(-.5deg)}.pick-card .game-card{display:block;height:100%;box-sizing:border-box}.pick-card .gc-band,.pick-card .gc-art,.pick-card .stats,.pick-card .ride-top,.pick-card .ride-ability{display:flex}.pick-card .gc-title,.pick-card .ride-stats,.pick-card .stat{display:block}.pick-card .pick-sub{display:block;text-align:center;font-size:12px;color:var(--muted);font-style:italic;margin-top:4px}.pick-card .ride-card{min-height:112px}.pick-card .stats{flex-wrap:nowrap;gap:5px}.pick-card .stat{min-width:0;flex:1 1 0}.pick-card,.choice.map-choice{position:relative;transition:transform .25s ease,filter .25s ease}.pick-card:not(.on) .tcard,.choice.map-choice:not(.on){filter:saturate(.5) brightness(.8)}.pick-card:not(.on):hover .tcard,.choice.map-choice:not(.on):hover{filter:saturate(.85) brightness(.95)}.pick-card.on{transform:translateY(-8px) scale(1.04);z-index:2}.pick-card.on:hover:not(:disabled){transform:translateY(-10px) scale(1.05)}.pick-card.on .tcard,.choice.map-choice.on,.choice.map-choice.on:hover:not(:disabled){outline:none;border-color:#2a1408;animation:forgeFire 1.8s ease-in-out infinite}@keyframes forgeFire{0%,to{box-shadow:0 0 0 2px #5a2410,0 0 14px 3px #ff781ed9,0 0 38px 10px #ff460a73,0 12px 24px #00000080}35%{box-shadow:0 0 0 2px #7a3010,0 0 20px 5px #ff9628f2,0 0 54px 16px #ff5a0a8c,0 12px 24px #00000080}70%{box-shadow:0 0 0 2px #5a2410,0 0 12px 2px #ff6414cc,0 0 30px 8px #e63c0066,0 12px 24px #00000080}}.pick-card.on:after,.choice.map-choice.on:after{content:"Chosen";position:absolute;left:50%;bottom:-15px;transform:translate(-50%);z-index:4;padding:3px 22px 4px;font-family:Uncial Antiqua,serif;font-size:13px;color:#ffcf8a;white-space:nowrap;letter-spacing:.05em;background:linear-gradient(#3a2a22,#1e1410);border:2px solid #8a4a1a;border-radius:3px;clip-path:polygon(0 0,100% 0,93% 50%,100% 100%,0 100%,7% 50%);text-shadow:0 0 6px rgba(255,120,30,.9);box-shadow:0 3px 6px #00000080}.choice.map-choice.on,.choice.map-choice.on:hover:not(:disabled){background:#fff3d6;transform:translateY(-4px)}.choices{row-gap:34px}.rc-art-box{overflow:hidden}.pick-card{justify-self:center;width:100%;max-width:196px}.pick-card .game-card.real-card{aspect-ratio:63 / 88;width:100%;height:auto;display:flex!important;flex-direction:column;align-items:stretch;padding:0 9px 10px;border-radius:11px;border-width:3px;background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.55),transparent 42%),repeating-linear-gradient(0deg,rgba(120,80,30,.035) 0 2px,transparent 2px 5px),linear-gradient(#f8ebc9,#e6cf9a)}.pick-card .real-card:after{top:5px;right:5px;bottom:5px;left:5px;border-radius:7px;border:1.5px solid rgba(140,90,20,.55);box-shadow:inset 0 0 0 3px #fff8e180}.pick-card .real-card .gc-band{margin:0 -9px 8px;flex-direction:column;align-items:center;line-height:1;padding:7px 6px 6px;font-size:19px}.pick-card .real-card .gc-band small{font-size:11px;font-family:Alegreya SC,serif;letter-spacing:.06em;opacity:.9;margin-top:2px}.rc-art-box{flex:1;min-height:0;display:grid!important;place-items:center;margin:0 4px;border-radius:8px;border:2px solid rgba(90,60,25,.6);background:radial-gradient(ellipse at 50% 60%,#fffaf0,#e8d4a6 75%);box-shadow:inset 0 2px 8px #5a3c194d}.rc-art-box.ride{background:radial-gradient(ellipse at 50% 60%,#fdf6e6,#d9c493 75%)}.rc-role{display:block;text-align:center;font-style:italic;font-size:12.5px;color:var(--muted);margin:6px 0 5px}.rc-stats{display:flex!important;justify-content:center;gap:6px;flex-wrap:wrap}.rc-stats>span{display:inline-flex;align-items:center;gap:2px;padding:2px 7px 2px 4px;border-radius:10px;background:#fff9;border:1.5px solid rgba(58,36,20,.35);cursor:var(--hand)}.rc-stats b{font-family:Alegreya SC,serif;font-size:17px}.pick-card .real-card .pick-sub{margin-top:5px}.choices:has(.pick-card){grid-template-columns:repeat(3,minmax(0,250px));justify-content:center;column-gap:30px;row-gap:26px}.choices.maps{margin-top:30px}.setup h3+.choices{margin-top:30px}.setup-steps{display:flex;justify-content:center;gap:22px;margin:14px 0 36px;font-family:Alegreya SC,serif;font-size:16px;color:var(--muted)}.setup-steps .on{color:var(--red);border-bottom:2px solid var(--red)}.setup-steps .done{color:#6b5228}.setup-nav{display:flex;justify-content:space-between;align-items:center;margin-top:34px;gap:12px}.setup-nav .big-btn{margin:0}.pick-card.on .tcard{animation:none}.pick-card.on{animation:forgeGlow 1.8s ease-in-out infinite}@keyframes forgeGlow{0%,to{filter:drop-shadow(0 0 6px rgba(255,120,30,.95)) drop-shadow(0 0 18px rgba(255,70,10,.6))}35%{filter:drop-shadow(0 0 9px rgba(255,160,50,1)) drop-shadow(0 0 28px rgba(255,90,10,.7))}70%{filter:drop-shadow(0 0 5px rgba(255,100,20,.9)) drop-shadow(0 0 14px rgba(230,60,0,.5))}}.pick-card{max-width:250px}.tcard{position:relative;display:block;width:100%;aspect-ratio:63 / 88;padding:10px 16px 12px;border-radius:6px;background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27200%27%20height%3D%27200%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.35%200%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E),url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27240%27%20height%3D%27240%27%3E%3Cfilter%20id%3D%27s%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.06%27%20numOctaves%3D%275%27%20seed%3D%277%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%20.42%200%200%200%200%20.39%200%200%200%200%20.35%200%200%200%201.2%20-0.25%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27%235d5750%27/%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23s%29%27/%3E%3C/svg%3E);background-size:200px,240px;box-shadow:inset 0 2px #ffffff2e,inset 0 -3px #00000073,inset 0 0 0 1px #2b2621,0 12px 22px #0000008c}.tcard:before,.tcard:after{content:"";position:absolute;top:14px;bottom:14px;width:12px;background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2714%27%20height%3D%2728%27%20viewBox%3D%270%200%2014%2028%27%3E%3Cpath%20d%3D%27M2%200l10%207L2%2014l10%207L2%2028%27%20fill%3D%27none%27%20stroke%3D%27%232b2621%27%20stroke-width%3D%272.4%27/%3E%3Cpath%20d%3D%27M12%200L2%207l10%207L2%2021l10%207%27%20fill%3D%27none%27%20stroke%3D%27%238a8074%27%20stroke-width%3D%271.2%27/%3E%3C/svg%3E) center / 12px 24px repeat-y;opacity:.9}.tcard:before{left:3px}.tcard:after{right:3px}.tc-inner{position:relative;display:flex;flex-direction:column;height:100%}.tc-inner:after{display:none}.tc-art{position:relative;flex:0 0 60%;overflow:hidden;border-radius:50% 50% 4px 4px/34% 34% 4px 4px;box-shadow:0 0 0 3px #2b2621,0 0 0 6px #9a6f34,0 0 0 8px #3a2a18,inset 0 0 30px #0009}.tc-art img{position:absolute;left:50%;top:56%;width:122%;transform:translate(-50%,-50%);filter:sepia(.2) drop-shadow(0 8px 8px rgba(0,0,0,.5))}.tc-key{position:absolute;z-index:3;left:50%;top:-2px;transform:translate(-50%);width:34px;height:30px;display:grid;place-items:center;clip-path:polygon(0 0,100% 0,80% 100%,20% 100%);background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27200%27%20height%3D%27200%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.35%200%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E),linear-gradient(#7a7268,#4a443d);color:#ffb347;font-family:Uncial Antiqua,serif;font-size:15px;text-shadow:0 0 5px #ff7a1a,0 0 10px #ff4a00}.tc-title{position:relative;z-index:2;margin:12px -6px 0;padding:5px 4px 6px;text-align:center;line-height:1;background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27200%27%20height%3D%27200%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.35%200%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E),linear-gradient(#6d665d,#514b44);border-top:2px solid #8a8074;border-bottom:2px solid #2b2621;box-shadow:inset 0 1px #ffffff1f,0 2px 3px #0006}.tc-title b{display:block;font-family:Uncial Antiqua,serif;font-size:18px;font-weight:400;color:#2a2420;text-shadow:0 1px 0 rgba(255,255,255,.28),0 -1px 0 rgba(0,0,0,.5)}.tc-title small{display:block;margin-top:3px;font-family:Alegreya SC,serif;font-size:11px;letter-spacing:.1em;color:#e8c88a;text-shadow:0 1px 0 #000}.tc-type{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:6px;font-family:Alegreya SC,serif;font-size:14px;color:#f1e3c2;text-shadow:0 1px 0 #000,0 0 6px rgba(0,0,0,.6)}.tc-type svg{filter:drop-shadow(0 1px 1px #000)}.tc-spacer{flex:1}.tc-stats{display:flex;justify-content:center;gap:6px;padding-top:6px}.tc-stat{position:relative;width:44px;height:44px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;cursor:var(--hand);background:radial-gradient(circle at 35% 30%,#f0cf8a,#b5803f 45%,#6b4418 85%);border:2px solid #2b2621;box-shadow:inset 0 -3px 5px #00000073,inset 0 2px 3px #fff0c880,0 2px 3px #0009}.tc-stat svg{width:19px;height:19px;margin-top:1px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.55))}.tc-stat b{font-family:Uncial Antiqua,serif;font-size:17px;font-weight:400;line-height:1;color:#2a1608;text-shadow:0 1px 0 rgba(255,240,200,.6)}.tc-stat.health{background:radial-gradient(circle at 35% 30%,#ff9a86,#b3261a 50%,#5a0c06 90%)}.tc-stat.health b,.tc-stat.defense b{color:#fff1d8;text-shadow:0 1px 0 #000}.tc-stat.defense{background:radial-gradient(circle at 35% 30%,#a8d2ff,#2f62b0 50%,#13284f 90%)}.tc-stat.move{background:radial-gradient(circle at 35% 30%,#d6efa6,#5d8f2e 50%,#24420e 90%)}.tc-stat.move b{color:#fff1d8;text-shadow:0 1px 0 #000}.tc-corner{position:absolute;z-index:4;width:22px;height:22px;border:4px solid #2f2b27;filter:drop-shadow(0 1px 0 rgba(255,255,255,.2))}.tc-corner:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#c8c2b8,#4a4540)}.tc-corner.tl{top:3px;left:3px;border-right:none;border-bottom:none}.tc-corner.tl:after{top:1px;left:1px}.tc-corner.tr{top:3px;right:3px;border-left:none;border-bottom:none}.tc-corner.tr:after{top:1px;right:1px}.tc-corner.bl{bottom:3px;left:3px;border-right:none;border-top:none}.tc-corner.bl:after{bottom:1px;left:1px}.tc-corner.br{bottom:3px;right:3px;border-left:none;border-top:none}.tc-corner.br:after{bottom:1px;right:1px}.tc-key{width:40px;height:34px}.tc-key svg{width:17px;height:20px;filter:drop-shadow(0 0 2px #ffd08a) drop-shadow(0 0 5px #ff8a1a) drop-shadow(0 0 10px #ff4a00);animation:keyGlow 2.4s ease-in-out infinite}@keyframes keyGlow{0%,to{opacity:.9}50%{opacity:1;filter:drop-shadow(0 0 3px #fff0c8) drop-shadow(0 0 8px #ffa03a) drop-shadow(0 0 16px #ff5a00)}}.setup-step{margin:16px 0 34px;font-family:Uncial Antiqua,serif;font-weight:400;font-size:30px;color:var(--red);display:flex;align-items:center;justify-content:center;gap:16px}.setup-step:before,.setup-step:after{content:"";width:90px;height:2px;background:linear-gradient(90deg,transparent,var(--red))}.setup-step:after{transform:scaleX(-1)}.tc-title b{font-size:15.5px;white-space:nowrap;color:#efe2c4;text-shadow:0 -1px 0 rgba(0,0,0,.85),0 1px 0 rgba(255,255,255,.18)}.pick-card.on:after{bottom:-26px}.tc-corner{display:none}.tc-type{font-size:15px;gap:7px}.tc-key{width:46px;height:38px}.tc-key svg{width:22px;height:26px}.tc-stat svg{width:22px;height:22px}.setup .setup-box{border:none;transform:rotate(-.3deg);margin:18px 0;background:radial-gradient(ellipse at 50% 40%,rgba(255,250,235,.25),transparent 60%),radial-gradient(ellipse at 50% 50%,transparent 62%,rgba(90,55,15,.35) 100%),url(./paper-B4__RSXi.jpg) center / 1100px;clip-path:polygon(.6% 1.2%,8% .3%,19% 1%,31% .2%,44% .9%,57% .1%,69% .8%,82% .2%,93% 1%,99.4% .4%,99.8% 12%,99.2% 26%,100% 41%,99.3% 55%,99.9% 70%,99.2% 84%,99.7% 98.8%,91% 99.6%,78% 99%,64% 99.9%,51% 99.2%,37% 99.8%,24% 99.1%,11% 99.8%,.4% 99.2%,.9% 86%,.1% 71%,.8% 57%,.2% 42%,.9% 28%,.1% 14%)}.setup{filter:none}.setup-box-shadow{filter:drop-shadow(0 14px 22px rgba(0,0,0,.6))}.tc-stat{width:44px;height:48px;border-radius:0;border:none;clip-path:polygon(14% 0,86% 0,100% 14%,100% 86%,86% 100%,14% 100%,0 86%,0 14%);background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.7%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.45%200%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E),linear-gradient(160deg,#8d877f,#6a645c 45%,#4a453f);box-shadow:inset 2px 2px #ffffff38,inset -2px -3px #00000073}.tc-stat b{font-size:18px;color:#f2e6c8!important;text-shadow:0 -1px 0 #000,0 1px 0 rgba(255,255,255,.15)}.tc-stat:after{content:"";position:absolute;left:7px;right:7px;bottom:4px;height:3px;background:#c9a25e;box-shadow:0 0 4px #0006}.tc-stat.health:after{background:#c8311f}.tc-stat.defense:after{background:#4a8ae0}.tc-stat.move:after{background:#6fae35}.tc-stat.attack:after,.tc-stat.strikes:after{background:#b9c2cb}.tc-stat.health,.tc-stat.defense,.tc-stat.move{background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.7%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20.45%200%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27/%3E%3C/svg%3E),linear-gradient(160deg,#8d877f,#6a645c 45%,#4a453f)}.tc-stat{width:42px;height:42px;justify-content:center;gap:0}.tc-stat svg{width:19px!important;height:19px!important;margin-top:3px}.tc-stat b{font-size:16px;margin-top:-1px}.tc-stat:after{top:3px;bottom:auto;left:9px;right:9px;height:2px}.tc-stats{padding-top:4px;padding-bottom:2px}.tc-title{margin-top:10px}.tcard.tone-brown{background:linear-gradient(#28160a40,#28160a40),url(./wood-CKPP98Om.jpg) center / 260px;box-shadow:inset 0 2px #ffdcaa26,inset 0 -3px #00000080,inset 0 0 0 1px #1e1208,0 12px 22px #0000008c}.tcard.tone-brown:before,.tcard.tone-brown:after{background:linear-gradient(#3a3632,#23201d);width:7px;top:0;bottom:0;opacity:1;box-shadow:inset 1px 0 #ffffff26}.tcard.tone-brown:before{left:6px}.tcard.tone-brown:after{right:6px}.tone-brown .tc-art{box-shadow:0 0 0 3px #1e1208,0 0 0 6px #4a4540,0 0 0 8px #1e1208,inset 0 0 30px #0009}.tone-brown .tc-title{background:linear-gradient(#1e100659,#1e10068c),url(./wood-CKPP98Om.jpg) center / 200px;border-top:3px solid #3a3632;border-bottom:3px solid #23201d}.tone-brown .tc-stat{background:linear-gradient(#1e10064d,#1e100680),url(./wood-CKPP98Om.jpg) center / 120px;box-shadow:inset 2px 2px #ffdcaa2e,inset -2px -3px #00000080,inset 0 0 0 2px #3a3632}.tc-title{margin:2px -6px 8px}.tc-art{flex:0 0 54%}.tc-type{margin-top:10px}.tc-stats{gap:9px;padding:4px 0}.tc-stat,.tone-brown .tc-stat{width:46px;height:52px;gap:3px;clip-path:none;border-radius:4px;background:#00000038!important;box-shadow:inset 3px 3px 4px #000000b3,inset -2px -2px #ffffff24,0 1px #ffffff1f!important}.tc-stat:after{top:auto;bottom:0;left:0;right:0;height:3px;border-radius:0 0 4px 4px;opacity:.85}.tc-stat svg{width:21px!important;height:21px!important;margin-top:0;filter:drop-shadow(0 -1px 0 rgba(0,0,0,.7)) drop-shadow(0 1px 0 rgba(255,255,255,.15)) saturate(.85)}.tc-stat b{font-size:19px;color:#e9dcc0!important;text-shadow:0 -1px 0 rgba(0,0,0,.9),0 1px 0 rgba(255,255,255,.2)!important}.tc-art{border-radius:2px!important}.tc-stat,.tone-brown .tc-stat{width:50px;height:60px;gap:2px}.tc-stat svg{width:32px!important;height:32px!important;filter:drop-shadow(0 2px 1px rgba(0,0,0,.6))!important}.tc-stat b{font-size:18px}.tc-stats{gap:7px}.tc-stat,.tone-brown .tc-stat{height:64px;justify-content:flex-start;padding-top:5px;box-sizing:border-box}.tc-stat b{margin-bottom:9px}.tc-stats{padding-bottom:6px}.setup-box-shadow{display:contents}.paper{filter:drop-shadow(0 2px 0 #c9ab72) drop-shadow(0 2px 0 #a8874f) drop-shadow(0 16px 18px rgba(0,0,0,.6));transform:rotate(-.3deg);max-width:1040px;width:100%}.leaf{position:relative;isolation:isolate;padding:48px clamp(30px,6vw,64px) 46px}.leaf .bg{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:0;overflow:hidden;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .1  0 0 0 -1.1 .62'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),linear-gradient(112deg,transparent 49.7%,rgba(95,62,24,.16) 50%,rgba(255,250,232,.35) 50.25%,transparent 50.8%),radial-gradient(ellipse at center,transparent 52%,rgba(120,78,30,.5) 100%),#eedfbd;background-size:260px 260px,600px 600px,100% 100%,100% 100%,auto;box-shadow:inset 0 0 14px #6942168c;filter:url(#torn-a)}.leaf:before{content:"";position:absolute;top:20px;right:20px;bottom:20px;left:20px;border:5px double #2a1c10;opacity:.85;pointer-events:none;z-index:1}.leaf:after{content:"";position:absolute;top:31px;right:31px;bottom:31px;left:31px;border:1px solid #9a6f22;pointer-events:none;z-index:1}.leaf>:not(.bg){position:relative;z-index:2}.stain{position:absolute;pointer-events:none;mix-blend-mode:multiply}.stain:not(.crack){opacity:.55}.stain.crack{mix-blend-mode:normal}.setup .setup-box{background:none!important;clip-path:none!important;transform:none!important;margin:0!important;padding:0;max-width:none}.setup .sound-toggle{top:-6px;right:-12px}.setup-nav .big-btn{min-width:300px;justify-content:center;text-align:center}.setup-nav .big-btn{min-width:220px}.tc-stats{gap:12px}.tc-stat,.tone-brown .tc-stat{width:56px}.setup-nav{margin-top:64px}.setup .credits{margin-top:30px}.setup-step{margin-bottom:44px}.setup .leaf{padding-bottom:60px}.left{width:clamp(300px,26vw,400px)}.ingame-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}.ingame-cards .tcard{padding:7px 9px 9px}.ingame-cards .tc-title{margin:1px -4px 5px;padding:3px 2px 4px}.ingame-cards .tc-title b{font-size:12px;white-space:normal;line-height:1.05}.ingame-cards .tc-title small{font-size:9px}.ingame-cards .tc-type{font-size:11px;margin-top:5px;gap:3px}.ingame-cards .tc-type svg{width:15px;height:15px}.ingame-cards .tc-stats{gap:3px;padding:2px 0 1px}.ingame-cards .tc-stat,.ingame-cards .tone-brown .tc-stat{width:auto;flex:1;min-width:0;height:46px;padding-top:3px}.ingame-cards .tc-stat svg{width:20px!important;height:20px!important}.ingame-cards .tc-stat b{font-size:13px;margin-bottom:6px;white-space:nowrap}.ingame-cards .satchel{grid-column:1 / -1;padding:8px 10px}.sat-row{display:flex;justify-content:space-around;gap:6px}.sat-row span{display:inline-flex;align-items:center;gap:4px;cursor:var(--hand)}.sat-row b{font-family:Uncial Antiqua,serif;font-size:18px;font-weight:400}.sat-row small{color:var(--muted)}.fold-wrap .fold{z-index:5}.side-panel{padding:8px 10px 10px;display:flex;flex-direction:column;gap:8px}.sp-head{display:flex;align-items:center;justify-content:space-between;font-family:Alegreya SC,serif;color:var(--muted);font-size:14px}.side-panel .sp-fold{position:static}.ingame-cards{grid-template-columns:1fr 1fr;gap:8px}.ingame-cards .tcard{aspect-ratio:auto;height:auto;min-width:0}.ingame-cards .tc-inner{height:auto}.ingame-cards .tc-art{flex:none;aspect-ratio:1 / 1}.ingame-cards .tc-spacer{display:none}.ingame-cards .tc-title b{font-size:clamp(10px,.9vw,13px)}.ingame-cards .tc-stats{margin-top:6px;flex-wrap:nowrap}.ingame-cards .tc-stat,.ingame-cards .tone-brown .tc-stat{height:auto;padding:3px 1px 6px}.ingame-cards .tc-stat b{font-size:clamp(11px,.9vw,13px);margin-bottom:0}.ingame-cards .tc-stat svg{width:clamp(15px,1.3vw,20px)!important;height:clamp(15px,1.3vw,20px)!important}.ingame-cards .satchel{box-shadow:none;border-width:2px}.carried-brews{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 2px}.carried-brews .brew-card{width:78px;height:104px;padding:0 4px 4px}.carried-brews .brew-card:disabled{opacity:1;cursor:default}.carried-brews .bc-name{height:24px;font-size:9.5px}.carried-brews .bc-art{width:36px;height:32px}.carried-brews .bc-art svg{width:26px;height:26px}.carried-brews .bc-badge{width:18px;height:18px}.carried-brews .bc-badge svg{width:12px;height:12px}.carried-brews .bc-text{height:22px}.carried-brews .fx b{font-size:12px}.carried-brews .bc-foot{font-size:9px}@media (max-width: 1100px){.ingame-cards{grid-template-columns:1fr}}.steps-row{flex-wrap:nowrap;padding-right:44px}.steps-row .steps{flex:1;min-width:0;flex-wrap:nowrap;overflow:hidden}.steps-row .undo-redo{flex:none;margin-left:auto}.ingame-cards .tcard{aspect-ratio:63 / 88;height:auto}.ingame-cards .tc-inner{height:100%}.ingame-cards .tc-art{flex:1 1 0;min-height:0;aspect-ratio:auto}.ingame-cards .tc-title{min-height:2.6em;display:flex;flex-direction:column;justify-content:center}.ingame-cards .tc-title b{font-size:clamp(9.5px,.85vw,12px)}.tc-inner{z-index:1}.tcard:before,.tcard:after{z-index:0}.left{width:clamp(260px,22vw,340px)}.ingame-cards .tcard{width:min(100%,20vh);justify-self:center}.ingame-cards{justify-items:center}.side-panel{gap:6px;padding:6px 8px 8px}.ingame-cards .satchel{padding:6px 8px;justify-self:stretch}.sat-row b{font-size:16px}.sat-row svg{width:18px;height:18px}.carried-brews{margin:4px 0 0}.carried-brews .brew-card{width:58px;height:76px}.carried-brews .bc-name{height:18px;font-size:8px}.carried-brews .bc-art{width:28px;height:24px}.carried-brews .bc-art svg{width:20px;height:20px}.carried-brews .bc-badge{width:14px;height:14px}.carried-brews .bc-badge svg{width:9px;height:9px}.carried-brews .bc-text{height:16px}.carried-brews .fx{padding:0 3px 0 2px}.carried-brews .fx svg{width:12px;height:12px}.carried-brews .fx b{font-size:10px}.carried-brews .bc-foot{display:none}.ingame-cards .gear{margin-top:6px;gap:4px}.ingame-cards .slot{min-height:0;padding:2px 5px;font-size:11px}.ingame-cards .slot small{font-size:9px}.ingame-cards .tcard{width:min(100%,24vh)}.hud .topbar,.hud .bottom,.hud .side-panel,.hud .right .panel{background:rgba(239,223,187,var(--ui-alpha, .9))!important}.alpha-ctl{display:inline-flex;align-items:center;gap:4px;font-size:13px}.alpha-ctl input{width:80px;accent-color:var(--red)}.alpha-ctl b{min-width:34px;font-size:12px}.ft-pair{align-items:stretch}.mini-fx{width:104px;height:auto;min-height:112px;overflow:visible;padding-bottom:7px}.mf-name{height:30px;font-size:10px;line-height:1.05;overflow:hidden}.mini-fx .chips{flex-wrap:nowrap;gap:3px}.mini-fx .fx{padding:1px 4px 1px 2px}.mini-fx .fx svg{width:15px;height:15px}.mini-fx .fx b{font-size:12px}.hud .topbar,.hud .bottom,.hud .side-panel,.hud .right .panel{background-image:none!important}.hud .side-panel .satchel{background:transparent;border-color:#3a241473}.reveal-back .drawn-card{position:relative;top:auto;left:auto;transform:none;animation:cardFly .55s cubic-bezier(.2,1.4,.4,1);pointer-events:auto;width:260px}.dc-ok{margin-top:12px;font-size:18px;padding:8px 26px}.reveal-back{grid-auto-flow:row;align-content:center;justify-items:center;gap:18px}.dc-ok{margin-top:0;min-width:180px}button:disabled{opacity:1;background:#d9cfba;color:#8a7c66;border-color:#8a7c66;box-shadow:0 3px #8a7c66}.hud{--muted: #4e3b24}.hud .topbar,.hud .bottom,.hud .side-panel,.hud .right .panel{color:#1e140c}.hud .steps .step.todo,.hud .steps .step.done{color:#4e3b24}.hud .steps .step.todo .mug{opacity:.7;filter:none}.hud .steps .step.done .mug{opacity:.8;filter:none}.hud .hint,.hud .sat-row,.hud .slot,.hud .log,.hud .topbar .info,.hud .alpha-ctl,.hud .mu-name{text-shadow:0 0 2px rgba(239,223,187,.95),0 0 5px rgba(239,223,187,.8)}.sp-head{position:absolute;top:6px;right:8px;z-index:6}.side-panel{position:relative;padding-top:8px}.hud .hint,.hud .topbar .title,.hud .topbar .info>span,.hud .alpha-ctl,.hud .mu-name,.hud .steps .step:not(.on),.hud .monster-deck .deck-text,.hud .sat-row>span,.hud .slot,.hud .log .entry,.hud .log p,.hud .fight-tray .ft-label,.hud .shop-label,.hud .tab,.hud .fight-mods{background:#efdfbb;border-radius:8px;text-shadow:none!important}.hud .hint{display:inline-block;width:auto!important;max-width:100%;padding:3px 10px;border:1.5px solid rgba(58,36,20,.35)}.hud .actions .hint{flex-basis:100%}.hud .topbar .title,.hud .topbar .info>span,.hud .alpha-ctl{padding:2px 9px;border:1.5px solid rgba(58,36,20,.3)}.hud .mu-name{padding:2px 8px;color:#4e3b24}.hud .steps .step:not(.on){border:1.5px solid rgba(58,36,20,.3)}.hud .monster-deck .deck-text{padding:6px 12px;border:1.5px solid rgba(58,36,20,.35)}.hud .sat-row>span{padding:2px 8px;border:1.5px solid rgba(58,36,20,.3)}.hud .slot{border-style:solid;border-color:#3a241466}.hud .fight-tray .ft-label,.hud .shop-label{padding:2px 8px}.hud .shop,.hud .fight-tray{background:transparent}button:disabled,.hud button:disabled{opacity:1;background:#efe3c8;color:#6b5a42;border-color:#6b5a42;box-shadow:0 1px #6b5a42}.hud .topbar .info{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}.hud .topbar .info>span{white-space:nowrap}.hud .actions .hint{flex-basis:auto;width:fit-content!important;margin-right:100%}.hud .shop-label{align-self:center}.left{width:clamp(220px,24vw,340px)}.ingame-cards,.ingame-cards[class]{grid-template-columns:1fr 1fr!important}.ingame-cards .tcard{width:min(100%,22vh)}.sp-head{position:static;display:flex;justify-content:flex-end;height:26px}.side-panel{padding-top:6px}@media (max-height: 760px){.ingame-cards .tcard{width:min(100%,19vh)}.carried-brews .brew-card{width:50px;height:66px}}.hud .topbar .info{flex:1 1 auto}.hud .topbar .tools{flex:0 1 auto;justify-content:flex-end}.hud .actions .hint{flex:1 1 100%;width:auto!important;margin-right:0}button:focus,input:focus,select:focus,summary:focus{outline:none}button:focus-visible{outline:none;box-shadow:0 0 0 3px #ffc85a8c,0 3px 0 var(--wood)}.hud .hint,.hud .monster-deck .deck-text,.hud .topbar .title,.hud .topbar .info>span,.hud .sat-row>span,.hud .steps .step:not(.on){position:relative;isolation:isolate;background:none!important;border:0!important}.hud .hint:before,.hud .monster-deck .deck-text:before,.hud .topbar .title:before,.hud .topbar .info>span:before,.hud .sat-row>span:before,.hud .steps .step:not(.on):before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:3px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .1  0 0 0 -1.1 .62'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),radial-gradient(ellipse at center,transparent 55%,rgba(120,78,30,.45) 100%),#eedfbd;box-shadow:inset 0 0 8px #69421680,0 3px 6px #00000059;filter:url(#torn-s)}.hud .hint{padding:10px 18px!important;line-height:1.45;color:#1e140c}.hud .monster-deck .deck-text{padding:12px 18px!important}.hud .topbar .title,.hud .topbar .info>span{padding:4px 12px!important}.hud .sat-row>span{padding:3px 10px!important}.hud .steps .step:not(.on){padding:4px 12px!important}.hud .gear{display:flex;gap:10px;justify-content:center}.hud .slot{position:relative;width:44px;aspect-ratio:5 / 7;flex:none;display:grid;place-items:center;padding:0!important;border:2px dashed rgba(42,28,16,.6)!important;border-radius:5px;background:#eedfbd40!important;box-sizing:border-box}.hud .slot.empty .icon{opacity:.4;filter:grayscale(1)}.hud .slot.full{border-style:solid!important;background:#eedfbd!important;box-shadow:0 3px 6px #00000059}.hud .slot .slot-tier{position:absolute;top:-7px;right:-7px}.ingame-cards .tcard{aspect-ratio:auto!important;height:auto!important}.ingame-cards .tc-art{flex:none!important;aspect-ratio:1 / 1!important}.ingame-cards .tc-art img{top:54%;width:118%}.hud .topbar .title{background:none!important;padding:0 6px!important;box-shadow:none!important}.hud .topbar .title:before{display:none}.hud .topbar .title{color:#f4e6c4;text-shadow:0 2px 0 #1e140c,0 0 8px rgba(0,0,0,.7)!important}.hud .topbar .title small{color:#ffb36b}.hud .right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.hud .right.folded{pointer-events:none}.hud .right.folded>*{pointer-events:auto}.status-card{position:relative;isolation:isolate;width:190px;padding:14px 18px 16px;color:#1e140c;display:grid;gap:8px}.status-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='4' seed='4'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .1  0 0 0 -1.1 .62'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),radial-gradient(ellipse at center,transparent 50%,rgba(120,78,30,.5) 100%),#eedfbd;box-shadow:inset 0 0 12px #6942168c,0 6px 12px #00000073;filter:url(#torn-s);transform:rotate(.6deg)}.status-card:after{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border:3px double rgba(42,28,16,.75);pointer-events:none}.st-round{font-family:var(--display, inherit);font-size:20px;text-align:center;border-bottom:1px solid rgba(154,111,34,.7);padding-bottom:6px}.st-round b{font-size:26px}.st-row{display:flex;align-items:center;gap:10px;font-size:15px}.st-row b{font-size:19px}.st-row small{display:block;font-size:12px;color:#7d2119;font-style:italic}@media (max-width: 1100px){.status-card{width:160px;padding:12px 14px}}.hud .sat-row>span:before{display:none}.hud .sat-row>span{padding:0 4px!important;box-shadow:none!important}.hud .side-panel .satchel{position:relative;isolation:isolate;border:0!important;padding:12px 12px 14px!important}.hud .side-panel .satchel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),radial-gradient(ellipse at center,transparent 50%,rgba(120,78,30,.5) 100%),#eedfbd;box-shadow:inset 0 0 12px #6942168c,0 5px 10px #0006;filter:url(#torn-s);transform:rotate(-.5deg)}.hud .side-panel .satchel:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:3px double rgba(42,28,16,.7);pointer-events:none}@media (max-height: 800px){.ingame-cards .tcard{width:min(100%,17vh)!important}}@media (max-height: 640px){.ingame-cards .tcard{width:min(100%,14vh)!important}}.hud .steps .step:not(.on){background:none!important;box-shadow:none!important;opacity:.6;padding:2px 6px!important}.hud .steps .step:not(.on):before{display:none}.hud .steps .step:not(.on) .mug{opacity:1!important;filter:none!important}.hud .steps .step:not(.on){color:#1e140c!important;text-shadow:0 0 3px #efdfbb,0 0 6px #efdfbb!important}.hud .sat-row{display:grid!important;grid-template-columns:1fr 1fr;justify-items:center;align-items:center;gap:8px;margin-bottom:10px}.hud .gear{display:grid!important;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.hud .slot{width:100%!important;aspect-ratio:108 / 142!important;container-type:inline-size}.hud .slot .icon{width:46cqw!important;height:46cqw!important}.hud .slot.brew-slot{border:0!important;background:none!important;box-shadow:none!important}.hud .slot.brew-slot .brew-card{width:100%!important;height:100%!important;min-height:0;padding:0 3px 3px;font-size:13cqw}.hud .slot.brew-slot .brew-card .bc-name{font-size:11cqw;line-height:1.05}.hud .slot.brew-slot .brew-card .icon{width:auto!important;height:auto!important}.hud .slot.brew-slot .brew-card:disabled{opacity:1;filter:none;cursor:default}.floater-slot{pointer-events:none}.floater,.floater.dmg,.floater.crit,.floater.miss{font-family:Uncial Antiqua,serif;font-style:normal;white-space:nowrap;line-height:1;color:var(--fc, #fff)!important;-webkit-text-stroke:0!important;text-shadow:0 2px 0 #000!important;background:#140c06e0;border:2.5px solid var(--fc, #fff);border-radius:10px;padding:5px 14px 7px;box-shadow:0 4px 10px #0009}.floater.dmg{font-size:34px;padding:4px 14px 6px}.floater.crit{font-size:30px;letter-spacing:.03em;border-width:3px;box-shadow:0 0 18px var(--fc),0 4px 10px #0009}.floater.miss{font-size:22px;color:#e8e2d4!important;border-color:#8a7c66;opacity:1}.bubble,.floater,.floater-slot{pointer-events:none!important}.modal .stats{gap:12px}.modal .stats .stat{padding:14px 10px 16px!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:104px;text-align:center}.modal .stats .stat .ic{margin-bottom:4px}.modal .stats .stat b{font-size:26px;line-height:1}.modal .stats .stat small{font-size:15px;line-height:1.2}.again-btn{font-size:20px;padding:12px 34px}.tip{position:fixed;z-index:200;transform:translate(-50%,calc(-100% - 10px));pointer-events:none;max-width:240px;background:#f4e8c8;color:#1e140c;border:2px solid #2a1c10;border-radius:6px;padding:7px 12px;font-size:14px;line-height:1.35;box-shadow:0 6px 14px #00000073;text-align:center;animation:pop .15s ease-out}.tip:after{content:"";position:absolute;left:50%;bottom:-8px;transform:translate(-50%);border:7px solid transparent;border-top-color:#2a1c10;border-bottom:0}.ingame-cards .tcard{aspect-ratio:63 / 88!important;height:auto!important;width:100%!important;container-type:inline-size;padding:4% 5% 5%!important;box-sizing:border-box;overflow:hidden}.ingame-cards .tc-inner{height:100%!important;width:100%!important;display:flex;flex-direction:column;min-height:0;box-sizing:border-box}.ingame-cards .tc-title{flex:none;min-height:0!important;margin:0 -2cqw 3cqw!important;padding:2cqw 1cqw 2.5cqw!important}.ingame-cards .tc-title b{font-size:8.4cqw!important;line-height:1.05}.ingame-cards .tc-title small{font-size:5.6cqw!important}.ingame-cards .tc-art{flex:1 1 0!important;min-height:0!important;aspect-ratio:auto!important}.ingame-cards .tc-art img{top:56%;width:auto!important;height:112%;min-width:112%;object-fit:cover}.ingame-cards .tc-type{flex:none;font-size:7cqw!important;margin-top:3cqw!important;gap:2cqw}.ingame-cards .tc-type svg{width:10cqw!important;height:10cqw!important}.ingame-cards .tc-stats{flex:none;gap:2.5cqw!important;margin-top:3cqw!important;padding:0!important}.ingame-cards .tc-stat,.ingame-cards .tone-brown .tc-stat{height:27cqw!important;padding:2cqw 0 3cqw!important;justify-content:space-between!important}.ingame-cards .tc-stat svg{width:12cqw!important;height:12cqw!important}.ingame-cards .tc-stat b{font-size:9cqw!important;margin:0!important}@media (max-width: 1100px){.ingame-cards{grid-template-columns:1fr 1fr!important}}.hud .topbar,.hud .bottom,.hud .side-panel,.hud .right .fold-wrap{position:relative;overflow:visible}.hud .side-panel{padding-top:10px!important}.fold.ribbon{position:absolute;z-index:6;padding:0;margin:0;border:0!important;border-radius:0!important;background:linear-gradient(#a3221b,#7d2119)!important;color:#f2c94c;font-size:11px;line-height:1;box-shadow:0 2px 4px #00000073!important;display:grid;place-items:center;cursor:var(--hand);filter:none;transition:filter .15s}.fold.ribbon:hover{filter:brightness(1.2)}.fold.ribbon:before{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border:1px dashed rgba(242,201,76,.55);pointer-events:none}.fold.rb-down{top:100%;bottom:auto;left:50%;right:auto;transform:translate(-50%);width:34px;height:22px;padding-bottom:5px;clip-path:polygon(0 0,100% 0,100% 100%,50% 72%,0 100%)}.fold.rb-up{bottom:100%;top:auto;left:50%;right:auto;transform:translate(-50%);width:34px;height:22px;padding-top:5px;clip-path:polygon(0 0,50% 28%,100% 0,100% 100%,0 100%)}.fold.rb-right{left:100%;right:auto;top:50%;bottom:auto;transform:translateY(-50%);width:22px;height:34px;padding-right:5px;clip-path:polygon(0 0,100% 0,72% 50%,100% 100%,0 100%)}.fold.rb-left{right:100%;left:auto;top:50%;bottom:auto;transform:translateY(-50%);width:22px;height:34px;padding-left:5px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,28% 50%)}.hud .left,.hud .right{overflow:visible!important}.hud .left,.hud .right{position:relative;z-index:5}.fold.ribbon{pointer-events:auto!important}.hud .topbar .tools{margin-left:auto;justify-content:flex-end}button:disabled,.hud button:disabled{opacity:1!important;background:#f4e8c8!important;color:#8f8270!important;border-color:#8f8270!important;box-shadow:none!important;transform:translateY(2px);cursor:var(--hand);filter:none!important}button:disabled .icon,button:disabled svg{filter:grayscale(1);opacity:.6}.fold.ribbon,.fold.ribbon:active,.fold.ribbon:hover{transform:none!important}.fold.rb-down,.fold.rb-up{left:calc(50% - 17px)}.fold.rb-right,.fold.rb-left{top:calc(50% - 17px)}.floater,.floater.dmg,.floater.crit,.floater.miss{position:relative;isolation:isolate;background:none!important;border:0!important;box-shadow:none!important}.floater:before{content:"";position:absolute;z-index:-1;pointer-events:none}.floater.dmg{font-family:Uncial Antiqua,serif;font-size:30px;color:#fff3dc!important;padding:14px 16px 16px!important;min-width:64px;text-align:center;text-shadow:0 2px 0 #3a0806,0 0 6px rgba(0,0,0,.6)!important}.floater.dmg:before{top:0;right:0;bottom:0;left:0;border-radius:50%;background:radial-gradient(circle at 38% 32%,#e2453a,#a3221b 45%,#5e0f0b);clip-path:polygon(50% 0%,61% 6%,74% 3%,80% 14%,93% 17%,92% 30%,100% 40%,94% 51%,99% 63%,89% 71%,88% 84%,75% 86%,66% 97%,54% 92%,42% 99%,33% 89%,20% 91%,16% 78%,4% 72%,8% 59%,0% 48%,8% 38%,4% 25%,16% 20%,20% 7%,33% 9%,41% 1%);filter:drop-shadow(0 3px 0 #2a0503)}.floater.dmg:after{content:"";position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:50%;border:2px solid rgba(255,214,170,.35);z-index:-1}.floater.crit{font-family:Uncial Antiqua,serif;font-size:24px;letter-spacing:.04em;color:#fff3dc!important;padding:6px 18px 8px!important;text-shadow:0 2px 0 #3a0806!important}.floater.crit:before{top:-26px;right:-14px;bottom:-26px;left:-14px;z-index:-2;background:radial-gradient(circle,#fff1b0 0%,#f2c94c 40%,#b8811c 75%,transparent 76%);clip-path:polygon(50% 0%,57% 30%,80% 8%,67% 35%,100% 26%,72% 46%,100% 60%,70% 60%,86% 88%,58% 68%,50% 100%,42% 68%,14% 88%,30% 60%,0% 60%,28% 46%,0% 26%,33% 35%,20% 8%,43% 30%)}.floater.crit:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(#b5281e,#7d2119);clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%,8% 50%);box-shadow:inset 0 0 0 2px #f2c94c}.floater.miss{font-family:Alegreya,serif;font-style:italic;font-size:20px;color:#3a2614!important;padding:4px 14px 6px!important;text-shadow:none!important}.floater.miss:before{top:0;right:0;bottom:0;left:0;background:#eedfbd;box-shadow:inset 0 0 8px #6942168c;filter:url(#torn-s) drop-shadow(0 3px 3px rgba(0,0,0,.4));transform:rotate(-4deg)}.floater:not(.dmg):not(.crit):not(.miss){font-family:Uncial Antiqua,serif;font-size:26px;color:#f0ffe6!important;padding:10px 14px 12px;text-shadow:0 2px 0 #12300c!important}.floater:not(.dmg):not(.crit):not(.miss):before{top:0;right:0;bottom:0;left:0;border-radius:50%;background:radial-gradient(circle at 38% 32%,#8ed46c,#3f7a2a 60%,#1f4214)}.toast{isolation:isolate;display:inline-flex;align-items:center;gap:10px;background:none!important;border:0!important;border-radius:0!important;padding:12px 22px 13px!important;font-family:Alegreya,serif;font-size:18px;color:#7d2119!important;z-index:60;animation:toastSlap .55s cubic-bezier(.2,1.6,.4,1) both,toastShake .4s .5s ease-in-out,toastAway .45s 1.75s ease-in both}.toast:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:radial-gradient(ellipse at center,transparent 55%,rgba(120,78,30,.45) 100%),#f4e8c8;box-shadow:inset 0 0 10px #69421680,0 8px 18px #00000080;border-top:3px solid #a3221b;border-bottom:3px solid #a3221b;filter:url(#torn-s)}.toast-ic{display:grid;animation:toastIc .6s .15s ease-out both}@keyframes toastSlap{0%{opacity:0;transform:translate(-50%,-40px) scale(1.6) rotate(-8deg)}60%{opacity:1;transform:translate(-50%,4px) scale(.94) rotate(2deg)}to{opacity:1;transform:translate(-50%) scale(1) rotate(-1deg)}}@keyframes toastShake{0%,to{transform:translate(-50%) rotate(-1deg)}25%{transform:translate(calc(-50% - 6px)) rotate(-2deg)}75%{transform:translate(calc(-50% + 6px)) rotate(1deg)}}@keyframes toastAway{to{opacity:0;transform:translate(-50%,16px) rotate(-1deg)}}@keyframes toastIc{0%{transform:scale(0) rotate(-90deg)}70%{transform:scale(1.4) rotate(12deg)}to{transform:scale(1) rotate(0)}}.toast{animation:toastLife 2.2s linear both!important;white-space:nowrap;line-height:1.2;height:auto;max-width:none}@keyframes toastLife{0%{opacity:0;transform:translate(-50%,-40px) scale(1.6) rotate(-8deg)}14%{opacity:1;transform:translate(-50%,4px) scale(.94) rotate(2deg)}22%{transform:translate(-50%) scale(1) rotate(-1deg)}27%{transform:translate(calc(-50% - 6px)) rotate(-2deg)}32%{transform:translate(calc(-50% + 6px)) rotate(1deg)}37%,80%{opacity:1;transform:translate(-50%) rotate(-1deg)}to{opacity:0;transform:translate(-50%,16px) rotate(-1deg)}}.toast{position:fixed!important;bottom:auto!important;left:50%!important;z-index:70!important;animation:toastDrop 2.4s linear both!important;transform-origin:50% 0}@keyframes toastDrop{0%{opacity:0;transform:translate(-50%,-120px) rotate(0)}12%{opacity:1;transform:translate(-50%,8px) rotate(0)}18%{transform:translate(-50%,-3px) rotate(-3deg)}24%{transform:translate(-50%) rotate(2deg)}30%{transform:translate(-50%) rotate(-1deg)}36%,82%{opacity:1;transform:translate(-50%) rotate(0)}to{opacity:0;transform:translate(-50%,-60px) rotate(0)}}.fold.ribbon.edge{position:fixed!important;z-index:40}.fold.rb-down.edge{top:0!important;bottom:auto!important;left:calc(50% - 17px)!important}.fold.rb-up.edge{bottom:0!important;top:auto!important;left:calc(50% - 17px)!important}.fold.rb-right.edge{left:0!important;right:auto!important;top:calc(50% - 17px)!important}.fold.rb-left.edge{right:0!important;left:auto!important;top:calc(50% - 17px)!important}.hud .topbar-tab,.hud .bottom-tab{height:0;min-height:0;padding:0;margin:0}.brew-card.stamped{filter:grayscale(.9) brightness(.8)!important;transform:none!important;box-shadow:none!important;cursor:var(--hand)}.bc-stamp{position:absolute;z-index:5;left:50%;top:52%;transform:translate(-50%,-50%) rotate(-14deg);white-space:nowrap;font-family:Uncial Antiqua,serif;font-size:15px;letter-spacing:.04em;color:#a3221b;padding:3px 10px;border:3px double #a3221b;border-radius:4px;background:#f4e8c8d9;pointer-events:none}.hud .right:not(.folded) .fold-wrap.full{height:auto;flex:1 1 0;min-height:0;width:100%}.hud button.brew-card.stamped:disabled{filter:grayscale(.9) brightness(.82)!important}.bc-stamp{font-family:Alegreya SC,serif!important;font-weight:800;font-size:16px;letter-spacing:.06em}.fold.rb-right,.fold.rb-left{width:34px!important;height:22px!important;top:calc(50% - 11px)!important}.fold.rb-right{padding:0 7px 0 0!important;clip-path:polygon(0 0,100% 0,80% 50%,100% 100%,0 100%)!important}.fold.rb-left{padding:0 0 0 7px!important;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,20% 50%)!important}.fold.rb-right.edge[style*=top],.fold.rb-left.edge[style*=top]{top:unset}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 11px) )!important}.hud .log .lines,.hud .log .notes{position:relative;isolation:isolate;padding:16px 18px!important;margin-top:8px;color:#1e140c}.hud .log .lines:before,.hud .log .notes:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='4' seed='4'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .1  0 0 0 -1.1 .62'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),radial-gradient(ellipse at center,transparent 55%,rgba(120,78,30,.45) 100%),#eedfbd;box-shadow:inset 0 0 12px #6942168c,0 6px 12px #0006;filter:url(#torn-s)}.hud .log .line,.hud .log .lines p,.hud .log .notes p{text-shadow:none!important;color:#1e140c;border-bottom-color:#784e1e4d}.hud .log .line.good{color:#2f5a1e}.hud .log .line.bad{color:#8a1c14}.hud .log .line.brew{color:#6a2c7e}.hud .log .lines{overflow-y:auto}.hud .shop{border:0!important;padding:0!important}.hud .slot.brew-slot button:disabled svg,.hud .slot.brew-slot button:disabled .icon{filter:none!important;opacity:1!important}.hud .slot.brew-slot .brew-card:disabled{color:inherit!important}.hud button.brew-card.stamped:disabled{filter:none!important}.hud button.brew-card.stamped>:not(.bc-stamp){filter:grayscale(.95) brightness(.85)}.hud button.brew-card.stamped:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#3c2d1e40;border-radius:inherit;z-index:4;pointer-events:none}.hud .log .lines p,.hud .log .lines .note,.hud .log .lines .note b,.hud .log .lines code,.hud .log .line{background:none!important;border-radius:0!important;padding-left:0;padding-right:0;text-shadow:none!important;box-shadow:none!important}.hud .log .lines .note{border-left:3px solid rgba(154,111,34,.6)!important;padding:4px 0 4px 10px!important;margin:10px 0}.hud .log .lines .note b{color:#7d2119;display:block;margin-bottom:2px}.hud .log .lines code{font-size:.9em;color:#5a3a17}.pick-card .tcard{aspect-ratio:63 / 88!important;height:auto!important;width:100%!important;container-type:inline-size;padding:4% 5% 5%!important;box-sizing:border-box;overflow:hidden}.pick-card .tc-inner{height:100%!important;width:100%!important;display:flex;flex-direction:column;min-height:0;box-sizing:border-box}.pick-card .tc-title{flex:none;min-height:0!important;margin:0 -2cqw 3cqw!important;padding:2cqw 1cqw 2.5cqw!important}.pick-card .tc-title b{font-size:8.4cqw!important;line-height:1.05}.pick-card .tc-title small{font-size:5.6cqw!important}.pick-card .tc-art{flex:1 1 0!important;min-height:0!important;aspect-ratio:auto!important}.pick-card .tc-art img{top:56%;width:auto!important;height:112%;min-width:112%;object-fit:cover}.pick-card .tc-type{flex:none;font-size:7cqw!important;margin-top:3cqw!important;gap:2cqw}.pick-card .tc-type svg{width:10cqw!important;height:10cqw!important}.pick-card .tc-stats{flex:none;gap:2.5cqw!important;margin-top:3cqw!important;padding:0!important}.pick-card .tc-stat,.ingame-cards .tone-brown .tc-stat{height:27cqw!important;padding:2cqw 0 3cqw!important;justify-content:space-between!important}.pick-card .tc-stat svg{width:12cqw!important;height:12cqw!important}.pick-card .tc-stat b{font-size:9cqw!important;margin:0!important}.choices:has(.pick-card){grid-template-columns:repeat(3,minmax(0,250px))!important;column-gap:clamp(10px,3vw,30px)!important}.pick-card{min-width:0}.setup-nav .big-btn{min-width:min(220px,38vw)!important;font-size:clamp(15px,2.2vw,22px);padding:clamp(8px,1.4vw,14px) clamp(12px,2.4vw,28px)}.setup-nav{gap:12px}@media (max-width: 760px){.bottom .actions{padding-bottom:0!important}.bottom .actions:has(.next-btn){padding-bottom:54px!important}}.pick-card .tc-spacer{display:none!important}.pick-card .tc-art img{top:54%}.setup .sound-toggle{position:fixed!important;top:12px!important;right:12px!important;z-index:50}@media (max-width: 760px),(max-height: 560px){.hud{gap:4px!important;padding:4px!important}.hud .topbar{padding:4px 8px!important;gap:6px;flex-wrap:nowrap}.hud .topbar .title{font-size:15px;white-space:nowrap}.hud .topbar .title small{display:none}.hud .topbar .tools{gap:4px;flex-wrap:nowrap}.hud .topbar .tools button{padding:4px 8px;font-size:13px}.hud .mu-name{display:none}.bottom{padding:6px 10px 8px!important}.bottom .actions,.bottom .actions[class]{padding-right:0!important;min-height:0!important;max-height:36vh;overflow-y:auto;overflow-x:hidden}.bottom .actions:has(.next-btn){padding-bottom:50px!important}.bottom .next-btn{right:10px!important;bottom:8px!important;min-width:0!important;font-size:15px!important;padding:7px 14px!important}.hud .hint{font-size:14px!important;padding:6px 12px!important}.hud .steps .step{font-size:12px}.monster-deck .deck-pile{zoom:.65}.hud .monster-deck .deck-text{font-size:13px;padding:8px 12px!important}.shop,.fight-tray,.carried-brews{zoom:.8}.status-card{width:140px;padding:10px 12px 12px;gap:5px}.st-round{font-size:15px;padding-bottom:4px}.st-round b{font-size:19px}.st-row{font-size:13px;gap:7px}.st-row b{font-size:15px}.st-row .icon{width:17px;height:17px}.hud .left:not(.folded){width:min(300px,70vw)!important}}@media (max-height: 560px){.bottom .actions,.bottom .actions[class]{max-height:30vh}.hud .hint{font-size:13px!important;padding:4px 10px!important}.status-card .st-round{display:none}}@media (max-width: 480px){.hud .topbar{flex-wrap:wrap}.hud .topbar .title{flex:1 1 100%}.hud .topbar .tools{margin-left:0;overflow-x:auto;max-width:100%}.status-card{width:118px}}@media (max-width: 640px){.leaf{padding:30px 18px 26px!important}.leaf:before{top:10px;right:10px;bottom:10px;left:10px}.leaf:after{top:18px;right:18px;bottom:18px;left:18px}.setup h1{font-size:clamp(30px,10vw,54px)!important}.setup-step{font-size:clamp(20px,6.5vw,34px)!important;margin-bottom:22px!important;white-space:nowrap}.setup-step:before,.setup-step:after{display:none}.setup .toast-art .icon{width:40px;height:40px}.setup .kicker{font-size:11px}.choices:has(.pick-card){column-gap:8px!important}.setup-nav{margin-top:30px!important}.pick-card .tc-title b{font-size:9.5cqw!important}.setup .credits{font-size:11px}}html,body{overflow-x:hidden}.hud .log{display:flex!important;flex-direction:column;min-height:0}.hud .log .sheet{position:relative;isolation:isolate;flex:1 1 0;min-height:0;margin-top:8px;display:flex;flex-direction:column}.hud .log .sheet:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='4' seed='4'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .1  0 0 0 -1.1 .62'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),radial-gradient(ellipse at center,transparent 55%,rgba(120,78,30,.45) 100%),#eedfbd;box-shadow:inset 0 0 12px #6942168c,0 6px 12px #0006;filter:url(#torn-s)}.hud .log .sheet .lines{flex:1 1 0;min-height:0;overflow-y:auto;margin-top:0!important}.hud .log .sheet .lines:before{display:none!important}@media (max-width: 560px){.choices:has(.pick-card){display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;padding:10px 6vw 34px;margin-left:-18px;margin-right:-18px;scrollbar-width:none}.choices:has(.pick-card)::-webkit-scrollbar{display:none}.choices .pick-card{flex:0 0 58vw;scroll-snap-align:center}.setup-nav .big-btn{min-width:0!important;flex:1 1 0}}.hud .topbar .tools button{white-space:nowrap}@media (max-width: 560px){.pick-card .tc-title b{font-size:8cqw!important;white-space:normal!important}.setup .credits{white-space:normal!important}.setup-sheet,.setup .paper{max-width:100%}}@media (max-width: 480px){.hud .topbar .tools{overflow-x:visible;flex-wrap:wrap;justify-content:flex-start}}.hud button.brew-card.stamped{cursor:var(--hand)}.hud button.brew-card.stamped>:not(.bc-stamp){filter:sepia(.6) grayscale(.5) brightness(.8)!important}.hud button.brew-card.stamped:after{background:radial-gradient(ellipse at center,#28190c26,#28190c73)!important}.bc-stamp{all:unset;position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none}.bc-seal{width:52px;height:52px;display:grid;place-items:center;transform:rotate(-12deg);background:radial-gradient(circle at 38% 32%,#e2453a,#a3221b 45%,#5e0f0b);clip-path:polygon(50% 0%,61% 6%,74% 3%,80% 14%,93% 17%,92% 30%,100% 40%,94% 51%,99% 63%,89% 71%,88% 84%,75% 86%,66% 97%,54% 92%,42% 99%,33% 89%,20% 91%,16% 78%,4% 72%,8% 59%,0% 48%,8% 38%,4% 25%,16% 20%,20% 7%,33% 9%,41% 1%);filter:drop-shadow(0 3px 0 #2a0503)}.bc-seal .icon{filter:brightness(1.15) drop-shadow(0 1px 0 #3a0806)}.bc-stamp-text{margin-top:-6px;font-family:Alegreya SC,serif;font-weight:800;font-size:13px;letter-spacing:.05em;color:#f4e8c8;white-space:nowrap;padding:3px 14px 4px;background:linear-gradient(#7d2119,#5e0f0b);clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%,8% 50%);text-shadow:0 1px 0 #2a0503}.setup{grid-template-columns:minmax(0,1fr)}.setup .paper,.setup .leaf,.setup .setup-box,.choices{min-width:0;max-width:100%}.hud .steps-row{display:flex;align-items:center;width:100%}.hud .steps-row .undo-redo{margin-left:auto!important;justify-content:flex-end;padding-right:6px}.hud button.brew-card.stamped,.hud button.brew-card.stamped:hover{filter:none!important}.mini-fx{animation:none!important}.fx-enter>.mini-fx{animation:trayIn .35s ease-out!important}.ft-pair>span{display:contents}@media (max-width: 560px){.choices:has(.pick-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible;padding:0!important;margin:0!important;gap:8px!important}.choices .pick-card{flex:none;width:100%}.pick-card .tc-title b{font-size:6.4cqw!important;white-space:nowrap!important;letter-spacing:-.01em}.pick-card .tc-title small{font-size:4.6cqw!important}}.pick-card .tc-stats,.ingame-cards .tc-stats{display:flex!important;flex-wrap:nowrap!important;width:100%}.pick-card .tc-stat,.pick-card .tone-brown .tc-stat,.ingame-cards .tc-stat,.ingame-cards .tone-brown .tc-stat{width:auto!important;flex:1 1 0!important;min-width:0!important;box-sizing:border-box;overflow:hidden}.pick-card .tone-brown .tc-stats,.ingame-cards .tone-brown .tc-stats{padding:0 8cqw!important}.tip{position:fixed;z-index:200;transform:none!important;animation:none!important;visibility:hidden;opacity:0;display:flex;align-items:center;gap:9px;text-align:left;max-width:min(280px,calc(100vw - 16px));padding:7px 12px}.tip.shown{visibility:visible;opacity:1;transition:opacity .12s ease-out}.tip .icon{flex:none}.tip:after{left:var(--ax, 50%)!important}.tip.below:after{bottom:auto;top:-8px;border-top-color:transparent;border-bottom:7px solid #2a1c10;border-top:0}.bc-plank{position:absolute;z-index:5;left:-8%;right:-8%;top:44%;height:34px;transform:rotate(-9deg);pointer-events:none;display:flex;align-items:center;justify-content:center;border-radius:3px;background:repeating-linear-gradient(178deg,#0000 0,#0000 5px,#2814082e 5px,#2814082e 6px,#0000 6px,#0000 11px),linear-gradient(180deg,#8a5a30,#6b4124 45%,#553219);border-top:2px solid #a87545;border-bottom:3px solid #2e1a0c;box-shadow:0 6px 10px #0000008c,inset 0 0 10px #1e0f0573;clip-path:polygon(0 8%,4% 0,30% 6%,62% 0,96% 4%,100% 14%,99% 88%,94% 100%,58% 94%,26% 100%,3% 95%,1% 86%)}.bc-plank span{font-family:Uncial Antiqua,serif;font-size:15px;letter-spacing:.04em;color:#2a1408;text-shadow:0 1px 0 rgba(255,210,150,.35),0 0 4px rgba(255,120,30,.25);text-transform:uppercase}.bc-plank .nail{position:absolute;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d7dde2,#7c858e 55%,#2e3338);box-shadow:0 1px 1px #0009}.bc-plank .nail.l{left:13%}.bc-plank .nail.r{right:13%}.hud button.brew-card.stamped>:not(.bc-plank){filter:sepia(.6) grayscale(.5) brightness(.75)!important}.tip{background:none!important;border:0!important;border-radius:0!important;isolation:isolate;box-shadow:none!important;padding:9px 15px 10px!important;font-family:Alegreya,serif}.tip:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:radial-gradient(ellipse at center,transparent 55%,rgba(120,78,30,.4) 100%),#f1e3c0;box-shadow:inset 0 0 8px #69421680,0 6px 14px #00000080;outline:3px double rgba(42,28,16,.8);outline-offset:-6px;filter:url(#torn-s)}:root{--hand: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e3e8ec%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%239aa3ac%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235d656d%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M9%202c1.4%200%202.4%201%202.4%202.4V13c.6-.6%201.4-.9%202.2-.8%201.2.1%202%20.9%202.3%201.9.6-.5%201.4-.7%202.2-.6%201.3.2%202.1%201.1%202.3%202.2.6-.4%201.3-.5%202-.3%201.2.3%202%201.4%202%202.7V23c0%204-3%207-7%207h-3.5c-2.6%200-4.5-1.1-5.9-3.2L4.3%2019.8c-.7-1.1-.4-2.5.6-3.2%201-.7%202.3-.5%203.1.4L6.6%2015V4.4C6.6%203%207.6%202%209%202z%22%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%231e140c%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6.8%207.5h4.4M6.8%2011h4.4M11.6%2016.5v3.5M16%2016.5v3.5M20.4%2017v3%22%20stroke%3D%22%233a3f44%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.5%2025.5h13%22%20stroke%3D%22%238a5530%22%20stroke-width%3D%223.2%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2225.5%22%20r%3D%221%22%20fill%3D%22%23c9973f%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2225.5%22%20r%3D%221%22%20fill%3D%22%23c9973f%22%2F%3E%3Cpath%20d%3D%22M8%204.2c.4-.9%201.4-1.2%202.2-.8%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E) 9 2, pointer}html,body,button,a,label,input,select,[data-tip],.pick-card,.brew-card,.monster-deck,.slot,.tcard{cursor:var(--hand)}canvas{cursor:inherit}.hud button.brew-card.stamped>.bc-plank{filter:none!important}.bc-plank span{font-family:Alegreya SC,serif!important;font-weight:800;font-size:15px;letter-spacing:.08em;text-transform:none;color:#24110a;text-shadow:0 1px 0 rgba(255,214,160,.45),0 -1px 0 rgba(0,0,0,.35)!important}.fold.ribbon{width:56px!important;height:16px!important;font-size:9px!important;padding:0!important}.fold.rb-down,.fold.rb-up{left:calc(50% - 28px)!important}.fold.rb-down{clip-path:polygon(0 0,100% 0,100% 100%,50% 70%,0 100%)!important;padding-bottom:3px!important}.fold.rb-up{clip-path:polygon(0 0,50% 30%,100% 0,100% 100%,0 100%)!important;padding-top:3px!important}.fold.rb-right,.fold.rb-left{top:calc(50% - 8px)!important}.fold.rb-right{clip-path:polygon(0 0,100% 0,88% 50%,100% 100%,0 100%)!important;padding-right:6px!important}.fold.rb-left{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,12% 50%)!important;padding-left:6px!important}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 8px) )!important}.fold.ribbon:before{top:2px;right:3px;bottom:2px;left:3px}.fold.ribbon{width:84px!important;height:13px!important;font-size:8px!important;line-height:13px!important}.fold.rb-down,.fold.rb-up{left:calc(50% - 42px)!important}.fold.rb-right,.fold.rb-left{top:calc(50% - 6.5px)!important}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 6.5px) )!important}.fold.rb-down{clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%)!important;padding-bottom:2px!important}.fold.rb-up{clip-path:polygon(0 0,50% 25%,100% 0,100% 100%,0 100%)!important;padding-top:2px!important}.fold.rb-right{clip-path:polygon(0 0,100% 0,93% 50%,100% 100%,0 100%)!important}.fold.rb-left{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,7% 50%)!important}.fold.ribbon:before{top:2px!important;right:4px!important;bottom:2px!important;left:4px!important;border-width:1px;border-color:#f2c94c66}.fold.rb-right,.fold.rb-left{width:13px!important;height:84px!important;line-height:84px!important;top:calc(50% - 42px)!important;padding:0!important}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 42px) )!important}.fold.rb-right{clip-path:polygon(0 0,100% 0,75% 50%,100% 100%,0 100%)!important;padding-right:2px!important}.fold.rb-left{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,25% 50%)!important;padding-left:2px!important}.fold.rb-down{clip-path:polygon(0 0,100% 0,92% 100%,8% 100%)!important;padding:0!important;border-radius:0 0 3px 3px!important}.fold.rb-up{clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)!important;padding:0!important}.fold.rb-right{clip-path:polygon(0 0,100% 8%,100% 92%,0 100%)!important;padding:0!important}.fold.rb-left{clip-path:polygon(0 8%,100% 0,100% 100%,0 92%)!important;padding:0!important}.fold.rb-down:before,.fold.rb-up:before{top:3px!important;right:11px!important;bottom:3px!important;left:11px!important;border:0!important;border-top:1px dashed rgba(242,201,76,.55)!important;border-bottom:1px dashed rgba(242,201,76,.55)!important}.fold.rb-right:before,.fold.rb-left:before{top:11px!important;right:3px!important;bottom:11px!important;left:3px!important;border:0!important;border-left:1px dashed rgba(242,201,76,.55)!important;border-right:1px dashed rgba(242,201,76,.55)!important}.fold.ribbon{line-height:1!important;display:grid!important;place-items:center!important}.fold.rb-down,.fold.rb-up{height:15px!important;font-size:7px!important}.fold.rb-down:before,.fold.rb-up:before{top:2px!important;right:11px!important;bottom:2px!important;left:11px!important}.fold.rb-right,.fold.rb-left{width:15px!important;font-size:7px!important}.fold.rb-right:before,.fold.rb-left:before{top:11px!important;right:2px!important;bottom:11px!important;left:2px!important}.bc-plank{left:-4%!important;right:-4%!important;height:30px!important;top:46%!important;transform:rotate(-7deg)!important;background:linear-gradient(#ffdcaa1a,#00000040),url(./wood-CKPP98Om.jpg) 30% 40% / 220px!important;border-top:1px solid rgba(255,214,160,.35)!important;border-bottom:2px solid #1e1208!important;border-radius:2px!important;box-shadow:0 5px 8px #0009,inset 0 0 6px #00000080!important;clip-path:polygon(0 10%,3% 0,40% 4%,70% 0,97% 3%,100% 15%,99% 90%,96% 100%,60% 96%,30% 100%,2% 97%,1% 88%)!important}.bc-plank span{font-family:Alegreya SC,serif!important;font-weight:800!important;font-size:14px!important;letter-spacing:.1em!important;text-transform:none!important;color:#1a0d05!important;padding:0 22px;text-shadow:0 1px 0 rgba(255,220,170,.5),0 -1px 0 rgba(0,0,0,.55),0 0 1px rgba(0,0,0,.6)!important}.bc-plank .nail{width:7px!important;height:7px!important;margin-top:-3.5px!important;background:radial-gradient(circle at 35% 30%,#9aa3ac,#4a5258 60%,#1c2024)!important}.bc-plank .nail.l{left:6%!important}.bc-plank .nail.r{right:6%!important}.bc-plank span{white-space:nowrap!important;padding:0!important;font-size:13px!important;letter-spacing:.06em!important}.fold.rb-down,.fold.rb-up{clip-path:polygon(0 0,100% 0,93% 50%,100% 100%,0 100%,7% 50%)!important;border-radius:0!important;background:linear-gradient(90deg,#5e0f0b 0,#5e0f0b 9%,#a3221b 9%,#a3221b 91%,#5e0f0b 91%,#5e0f0b)!important}.fold.rb-right,.fold.rb-left{clip-path:polygon(0 0,50% 7%,100% 0,100% 100%,50% 93%,0 100%)!important;background:linear-gradient(180deg,#5e0f0b 0,#5e0f0b 9%,#a3221b 9%,#a3221b 91%,#5e0f0b 91%,#5e0f0b)!important}.fold.rb-down:before,.fold.rb-up:before{top:2px!important;right:12px!important;bottom:2px!important;left:12px!important}.fold.rb-right:before,.fold.rb-left:before{top:12px!important;right:2px!important;bottom:12px!important;left:2px!important}.fold.ribbon,.fold.ribbon:hover{background:none!important;clip-path:none!important;box-shadow:none!important;border:0!important;padding:0!important;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}.fold.ribbon:hover{filter:drop-shadow(0 2px 2px rgba(0,0,0,.45)) brightness(1.15)}.fold.ribbon:before{display:none!important}.fold.rb-down,.fold.rb-up{width:92px!important;height:18px!important;left:calc(50% - 46px)!important}.fold.rb-right,.fold.rb-left{width:18px!important;height:92px!important;top:calc(50% - 46px)!important}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 46px) )!important}.rb-svg{display:block;overflow:visible}.fold.rb-down,.fold.rb-up{width:24px!important;height:40px!important;left:calc(50% - 12px)!important}.fold.rb-right,.fold.rb-left{width:40px!important;height:24px!important;top:calc(50% - 12px)!important}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 12px) )!important}.fold.rb-down:not(.edge){top:calc(100% - 1px)!important}.fold.rb-up:not(.edge){bottom:calc(100% - 1px)!important}.fold.rb-right:not(.edge){left:calc(100% - 1px)!important}.fold.rb-left:not(.edge){right:calc(100% - 1px)!important}.fold.rb-down,.fold.rb-up{width:44px!important;height:20px!important;left:calc(50% - 22px)!important}.fold.rb-right,.fold.rb-left{width:20px!important;height:44px!important;top:calc(50% - 22px)!important}.fold.rb-right.edge,.fold.rb-left.edge{top:var(--ry, calc(50% - 22px) )!important}.fold.rb-down:not(.edge){top:calc(100% - 4px)!important}.fold.rb-up:not(.edge){bottom:calc(100% - 4px)!important}.fold.rb-right:not(.edge){left:calc(100% - 4px)!important}.fold.rb-left:not(.edge){right:calc(100% - 4px)!important}.fold.ribbon.blocked{visibility:hidden}.hud button.brew-card.stamped>*{filter:grayscale(.85) brightness(.85)!important}.hud button.brew-card.stamped:after{background:#28190c2e!important}.hud .next-btn.locked{background:#f4e8c8!important;color:#8f8270!important;border-color:#8f8270!important;box-shadow:none!important;transform:translateY(2px)}.loot-row{display:flex;align-items:center;gap:12px;flex-basis:100%}.loot-btns{display:flex;gap:10px;flex-basis:100%}.loot-card{position:relative;width:112px;aspect-ratio:108 / 142;display:flex;flex-direction:column;align-items:center;gap:3px;padding:0 6px 6px;border-radius:10px;background:linear-gradient(#f9ecc9,#ecd7a3);text-align:center;overflow:hidden;box-sizing:border-box;border:3px solid var(--tier);box-shadow:0 3px 0 var(--wood),0 5px 10px #0000004d;container-type:inline-size}.loot-card.fresh{box-shadow:0 0 0 2px #f2c94c,0 0 18px var(--tier),0 5px 10px #0000004d;animation:lootIn .45s cubic-bezier(.2,1.5,.4,1)}.loot-card.dim{filter:grayscale(.6) brightness(.85);transform:scale(.9)}@keyframes lootIn{0%{transform:translateY(-30px) rotateY(90deg) scale(.7);opacity:0}to{transform:none;opacity:1}}.lc-name{align-self:stretch;margin:0 -6px;padding:4px 4px 5px;background:var(--tier);color:#fff3dc;font-family:Alegreya SC,serif;font-size:11.5cqw;line-height:1.05;font-weight:700}.lc-art{position:relative;margin-top:4px}.lc-art .icon{width:36cqw!important;height:36cqw!important}.lc-gem{position:absolute;right:-10px;bottom:-4px}.lc-gem .icon{width:16cqw!important;height:16cqw!important}.lc-tier{font-family:Alegreya SC,serif;font-size:9cqw;color:var(--tier);font-weight:700;text-transform:capitalize}.lc-text{font-size:9.5cqw;line-height:1.15;color:#2a1c10}.loot-arrow{opacity:.8}.hud .slot.full{border:0!important;background:none!important;box-shadow:none!important;padding:0!important}.hud .slot.full .loot-card{width:100%;height:100%;aspect-ratio:auto;border-width:2px}.loot-card{width:108px!important;height:142px;aspect-ratio:auto!important;border:0!important;padding:0 6px 6px!important;gap:3px!important;container-type:normal}.loot-card .bc-name{background:var(--tier)!important}.loot-card .bc-art .icon{width:auto!important;height:auto!important}.loot-card .bc-foot{font-size:10px;line-height:1.1;text-transform:none}.loot-card.fresh{box-shadow:0 0 0 2px #f2c94c,0 0 18px var(--tier),0 3px 0 var(--wood)!important}.hud .slot.full .loot-card{width:100%!important;height:100%!important}.hud .slot.full .loot-card .bc-name{font-size:11cqw;height:auto;min-height:20%}.hud .slot.full .loot-card .icon{width:auto!important;height:auto!important;opacity:1!important;filter:none!important}.hud .slot.full .loot-card .bc-art>.icon{width:30cqw!important;height:30cqw!important}.hud .slot.full .loot-card .bc-badge .icon,.hud .slot.full .loot-card .fx .icon{width:13cqw!important;height:13cqw!important}.hud .slot.full .loot-card .bc-foot{font-size:8.5cqw}.modal .row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.quit-modal{max-width:420px;text-align:center}.quit-modal h2{font-family:Uncial Antiqua,serif;margin:0 0 8px}.mode-pick{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 8px}.mode-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 16px;border-radius:12px;text-align:center}.mode-card b{font-family:Uncial Antiqua,serif;font-size:24px}.mode-card span{font-size:15px;color:#5a4632}.mode-card .mc-icons{display:flex}.mode-card .mc-icons .icon+.icon{margin-left:-14px}@media (max-width: 560px){.mode-pick{grid-template-columns:1fr}}.room-forms{display:grid;grid-template-columns:1fr 1fr;gap:18px}@media (max-width: 640px){.room-forms{grid-template-columns:1fr}}.room-form{border:2px dashed rgba(42,28,16,.4);border-radius:10px;padding:14px 16px;text-align:center}.room-form h3{font-family:Uncial Antiqua,serif;margin:0 0 4px}.room-form p{margin:0 0 10px;font-size:15px}.room-form form{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.room-input{font-family:Uncial Antiqua,serif;font-size:22px;letter-spacing:.08em;text-align:center;width:11ch;padding:8px 10px;border:2px solid #2a1c10;border-radius:8px;background:#fbf3dc;color:#1e140c}.lobby-note{text-align:center;font-style:italic;color:#5a4632;margin:10px 0}.lobby-err{text-align:center;color:#8a1c14;font-weight:700;margin:10px 0}.room-code{display:flex;flex-direction:column;align-items:center;margin:4px 0 14px}.rc-label{font-family:Alegreya SC,serif;letter-spacing:.2em;color:#7d2119}.rc-brew{font-family:Uncial Antiqua,serif;font-size:clamp(34px,8vw,56px);line-height:1.05;display:flex;align-items:center;gap:10px}.rc-hint{font-size:15px;color:#5a4632}.lobby-players{display:grid;gap:6px;margin:0 auto 14px;max-width:640px}.lp{display:grid;grid-template-columns:minmax(90px,1fr) 2fr auto auto;align-items:center;gap:10px;padding:6px 12px;border-radius:8px;background:#fff8e28c;border:1.5px solid rgba(42,28,16,.3)}.lp.me{border-color:#a3221b;box-shadow:0 0 0 2px #a3221b40}.lp-name{font-family:Alegreya SC,serif;font-weight:700}.lp-name small{font-weight:400;color:#7d2119}.lp-picks{display:flex;gap:12px;flex-wrap:wrap;font-size:15px}.lp-picks span{display:inline-flex;align-items:center;gap:4px}.lp-picks em,.lp-roll em{color:#8a7c66}.die-face{font-size:28px;line-height:1}.die-face.big{font-size:34px}.lp-order{font-family:Uncial Antiqua,serif;color:#7d2119}.lp-tie{color:#8a1c14;font-weight:700}.setup-step.small{font-size:clamp(18px,3.4vw,26px)!important;margin:14px 0 8px!important}.pick-card.taken{opacity:.55;filter:grayscale(.7);cursor:not-allowed;position:relative}.taken-tag{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-10deg);background:#7d2119;color:#fff3dc;font-family:Alegreya SC,serif;font-weight:700;padding:4px 12px;border-radius:4px;white-space:nowrap;box-shadow:0 3px 6px #0006}.lobby-roll{display:flex;justify-content:center;margin:18px 0 6px}.roll-btn{display:inline-flex;align-items:center;gap:10px}.roll-btn.rolling .die-face{animation:dieShake .12s linear infinite;display:inline-block}@keyframes dieShake{0%{transform:rotate(-15deg)}50%{transform:rotate(15deg)}to{transform:rotate(-15deg)}}.st-party{display:grid;gap:4px;border-top:1px solid rgba(154,111,34,.7);padding-top:6px}.st-dwarf{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:6px;font-size:14px;opacity:.75}.st-dwarf.turn{opacity:1;font-weight:700;color:#7d2119}.st-dwarf.mine .st-dname{text-decoration:underline;text-decoration-color:#a3221b80}.st-dname small{display:block;font-size:11px;font-weight:400;color:#5a4632}.st-hp{display:inline-flex;align-items:center;gap:3px}.hud .hint.waiting{display:flex;align-items:center;gap:8px}.join-form{display:flex;flex-direction:column;align-items:center;gap:12px;margin:18px 0}.join-form p{margin:0;font-size:17px}.join-form .room-input{font-size:30px;width:12ch}.sk,.sk-text{background:#785a322e!important;animation:skPulse 1.6s ease-in-out infinite}.sk{display:block}.sk-text{color:transparent!important;border-color:transparent!important;box-shadow:none!important;text-shadow:none!important;border-radius:6px;-webkit-user-select:none;user-select:none;pointer-events:none;filter:none!important;transform:none!important}.sk-text *{visibility:hidden}@keyframes skPulse{0%,to{opacity:1}50%{opacity:.55}}.sk-pick{pointer-events:none}.sk-card{aspect-ratio:63 / 88;width:100%;border-radius:6px}.brew-card>.bc-art{margin-top:auto}.brew-card>.bc-foot{margin-bottom:auto}.brew-card>.bc-text:empty{display:none}.sp-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;animation:cardFly .55s cubic-bezier(.2,1.4,.4,1)}.sp-kicker{font-family:Uncial Antiqua,serif;font-size:clamp(24px,4vw,34px);color:#fff3d6;text-shadow:0 2px 0 #2a1c10,0 0 18px rgba(0,0,0,.6);text-align:center}.sp-kicker.small{font-size:18px}.sp-card{position:relative;width:260px;padding:16px 16px 14px;text-align:center;background:var(--paper);border:3px solid var(--wood);border-radius:14px 6px 13px 5px;box-shadow:0 5px 0 var(--wood),0 18px 40px #0000008c;display:flex;flex-direction:column;align-items:center;gap:8px}.sp-card:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1.5px dashed rgba(90,29,20,.45);border-radius:10px 4px 9px 3px;pointer-events:none}.sp-title{font-family:Uncial Antiqua,serif;font-size:22px;line-height:1.1}.sp-sub{font-family:Alegreya SC,serif;color:var(--red);letter-spacing:.06em;display:inline-flex;align-items:center;gap:5px}.sp-stats{display:flex;justify-content:center;gap:14px;font-size:19px;font-weight:700}.sp-stats span,.sp-reward span{display:inline-flex;align-items:center;gap:4px}.sp-reward{display:flex;justify-content:center;gap:16px;padding-top:8px;border-top:1.5px solid rgba(42,28,16,.25);width:100%;font-weight:700;color:#4a6a22}.sp-detail{max-width:340px;text-align:center;font-size:16px;line-height:1.3;color:#fff3d6;text-shadow:0 1px 2px #000}.sp-card .sp-detail{color:inherit;text-shadow:none}.sp-loot{display:flex;flex-direction:column;align-items:center;gap:6px}.reveal-back .brew-card.loot-card{width:132px;height:172px}.reveal-back .loot-row{flex-basis:auto;justify-content:center}.reveal-back .loot-arrow{color:#fff3d6;opacity:1}.reveal-back .loot-btns{flex-basis:auto;flex-wrap:wrap;justify-content:center}.reveal-back .loot-btns button{min-width:140px;font-size:18px;padding:8px 18px}.bottom .back-btn{position:absolute;right:16px;bottom:66px;min-width:150px;font-size:15px;padding:6px 14px}@media (max-width: 760px){.bottom .back-btn{right:10px;bottom:50px;min-width:0;font-size:14px;padding:5px 12px}}.theirs-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:20px;background:#2f4a5c;color:#e6f1f7;border:2px solid #9fc3d6;font-family:Alegreya SC,serif;font-size:16px;letter-spacing:.04em;box-shadow:0 3px 10px #0006}.reveal-back.theirs{background:#0e161e9e}.reveal-back.theirs .sp-card,.reveal-back.theirs .reveal-card{border-color:#3d6178;box-shadow:0 5px #3d6178,0 18px 40px #0000008c;filter:saturate(.75)}.reveal-back.theirs .sp-card:before{border-color:#3d617880}.reveal-back.theirs .rc-top{background:#3d6178}.lv-opts{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.lv-opt{cursor:var(--hand);font:inherit;color:inherit;transition:transform .15s ease}.lv-opt:hover{transform:translateY(-4px) rotate(-.5deg)}.lv-opt .sp-detail{color:inherit;text-shadow:none}.purse{container-type:inline-size;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.purse-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:clamp(5px,3cqw,10px) clamp(6px,3cqw,12px) clamp(6px,3cqw,10px);border-radius:10px 4px 9px 3px;background:#fff8e2d1;border:2px solid rgba(42,28,16,.45);box-shadow:0 2px #2a1c1059;cursor:var(--hand)}.pt-head{display:inline-flex;align-items:center;gap:5px;font-family:Alegreya SC,serif;font-weight:700;letter-spacing:.05em;font-size:clamp(11px,5cqw,15px);color:#5a4632;white-space:nowrap}.pt-head .icon{width:clamp(14px,6cqw,20px);height:auto}.pt-num{display:flex;align-items:baseline;gap:4px;line-height:1}.pt-num b{font-family:Uncial Antiqua,serif;font-weight:400;font-size:clamp(24px,12cqw,40px)}.pt-num small{font-size:clamp(11px,5cqw,16px);font-weight:700;color:#5a4632}.pt-xp .pt-num b{color:#7d2119}.pt-gold .pt-num b{color:#8a5a00}.pt-bar{width:100%;height:clamp(5px,2.4cqw,8px);border-radius:4px;background:#2a1c1026;overflow:hidden;margin-top:3px}.pt-bar i{display:block;height:100%;background:linear-gradient(90deg,#a3221b,#e0632a);border-radius:inherit;transition:width .5s ease}.pt-note{font-size:clamp(10px,4.2cqw,13px);font-style:italic;color:#6b5a42;text-align:center;line-height:1.15}.purse-tile.full{border-color:#b8860b;box-shadow:0 2px #8a5a00,0 0 0 2px #f0be3c59}.pt-xp.full .pt-note{color:#7d2119;font-weight:700;font-style:normal}.pt-gold.full .pt-note{color:#6a4a00;font-weight:700;font-style:normal}.pt-gold{justify-content:space-between}.sp-ko .sp-title{color:#7d2119}.hud .topbar,.hud .bottom,.hud .side-panel,.hud .right .fold-wrap{isolation:isolate}.modal-back{z-index:60}.sp-monster-card{width:210px}.sp-monster-card .tcard{width:100%!important;height:auto!important;aspect-ratio:auto!important}.sp-monster-card .tc-inner{display:flex;flex-direction:column;height:auto!important}.sp-monster-card .tc-spacer{display:none!important}.sp-monster-card .tc-art{position:relative!important;flex:none!important;height:170px!important;aspect-ratio:auto!important;overflow:hidden}.sp-monster-card .tc-type{font-style:italic;font-size:13px;text-align:center;justify-content:center;margin:6px 0!important}.sp-monster-card .tc-stats{display:flex!important;gap:6px}.sp-monster-card .tc-stat{flex:1 1 0;min-width:0;height:auto!important;padding:4px 0 6px!important}.tcard.tone-monster .tc-title{background:linear-gradient(#3b4a2a,#263018)}.sp-spoils{width:210px;padding:8px 12px 12px;gap:8px}.sp-spoils .sp-reward{border-top:0;padding-top:0;font-size:18px}.loot-back{width:108px;height:142px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:repeating-linear-gradient(45deg,rgba(255,255,255,.06) 0 6px,transparent 6px 12px),var(--tier, #7d2119);border:3px solid #2a1c10;box-shadow:0 4px #2a1c10,inset 0 0 0 3px #fff0c859;color:#fff3d6;animation:lootPulse 1.6s ease-in-out infinite}.loot-back .lb-q{font-family:Uncial Antiqua,serif;font-size:54px;line-height:1;text-shadow:0 2px 0 #2a1c10}.loot-back small{font-family:Alegreya SC,serif;font-size:13px;letter-spacing:.05em}@keyframes lootPulse{0%,to{transform:rotate(-2deg) scale(1)}50%{transform:rotate(2deg) scale(1.04)}}.spotlight .sp-wrap{gap:10px}@media (max-height: 820px){.sp-monster-card .tc-art{height:120px!important}.loot-back{width:78px;height:100px}.loot-back .lb-q{font-size:40px}.spotlight .sp-kicker{font-size:26px}}.hud button.monster-deck,.hud button.monster-deck:hover,.hud button.monster-deck:disabled{background:transparent!important;border:0!important;box-shadow:none!important;outline:none}.hud button.monster-deck:disabled{opacity:.75!important;filter:saturate(.8)}.hud .ghost{visibility:hidden!important;pointer-events:none!important}.hud .left.ghost{grid-column:1;grid-row:2}.sp-loot-line{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:16px;font-weight:700;font-size:16px;color:#fff3d6;background:var(--tier);border:2px solid #2a1c10;box-shadow:0 2px #2a1c10}.loot-flip{position:relative;width:132px;height:172px;perspective:900px;cursor:var(--hand)}.loot-flip .lf-inner{position:absolute;top:0;right:0;bottom:0;left:0;transform-style:preserve-3d;transition:transform .9s cubic-bezier(.3,1.4,.5,1)}.loot-flip.flip .lf-inner,.loot-flip.up .lf-inner{transform:rotateY(180deg)}.loot-flip.flip .lf-inner{animation:lootLift 1.1s ease-out}@keyframes lootLift{0%{translate:0 0}40%{translate:0 -18px;scale:1.08}to{translate:0 0;scale:1}}.lf-back,.lf-front{position:absolute;top:0;right:0;bottom:0;left:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.lf-front{transform:rotateY(180deg)}.lf-front .brew-card.loot-card{width:100%!important;height:100%!important}.lf-back{border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:repeating-linear-gradient(45deg,rgba(255,255,255,.07) 0 6px,transparent 6px 12px),var(--tier, #7d2119);border:3px solid #2a1c10;box-shadow:0 4px #2a1c10,inset 0 0 0 3px #fff0c859;color:#fff3d6}.loot-flip.down .lf-back{animation:lootPulse 1.6s ease-in-out infinite}.lf-back .lb-q{font-family:Uncial Antiqua,serif;font-size:58px;line-height:1;text-shadow:0 2px 0 #2a1c10}.lf-back small{font-family:Alegreya SC,serif;font-size:14px;letter-spacing:.05em}.reveal-fx{position:absolute;top:-60%;right:-60%;bottom:-60%;left:-60%;pointer-events:none;z-index:-1}.reveal-fx .fx-glow{position:absolute;top:22%;right:22%;bottom:22%;left:22%;border-radius:50%;background:radial-gradient(circle,var(--tier) 0%,transparent 65%);opacity:0;animation:fxGlow 1.4s ease-out forwards}.reveal-fx .fx-rays{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;opacity:0;background:repeating-conic-gradient(from 0deg,rgba(255,240,200,.55) 0deg 6deg,transparent 6deg 24deg);-webkit-mask:radial-gradient(circle,#000 20%,transparent 62%);mask:radial-gradient(circle,#000 20%,transparent 62%)}.reveal-fx .fx-spark{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px;border-radius:50%;background:#fff6d0;box-shadow:0 0 8px 2px var(--tier);opacity:0;transform:rotate(var(--a)) translateY(0);animation:fxSpark 1.1s ease-out var(--d) forwards}@keyframes fxGlow{0%{opacity:0;transform:scale(.4)}35%{opacity:1;transform:scale(1.1)}to{opacity:.55;transform:scale(1)}}@keyframes fxSpark{0%{opacity:0;transform:rotate(var(--a)) translateY(0) scale(.6)}20%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translateY(-150px) scale(1.2)}}@keyframes fxRays{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fxTwinkle{0%,to{opacity:.35}50%{opacity:1}}.reveal-fx.fx-trusty .fx-spark:nth-child(n+8){display:none}.reveal-fx.fx-runed .fx-spark{border-radius:1px;width:7px;height:11px;background:#ffd0c0}.reveal-fx.fx-enchanted .fx-glow{animation:fxGlow 1.4s ease-out forwards,fxTwinkle 2.2s ease-in-out 1.4s infinite}.reveal-fx.fx-enchanted .fx-spark{width:10px;height:10px;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);border-radius:0;box-shadow:none;background:#d8ecff}.reveal-fx.fx-mythic .fx-rays{opacity:.9;animation:fxRays 9s linear infinite}.reveal-fx.fx-mythic .fx-glow{animation:fxGlow 1.4s ease-out forwards,fxTwinkle 1.6s ease-in-out 1.4s infinite}.reveal-fx.fx-mythic .fx-spark{animation:fxSpark 1.1s ease-out var(--d) 3 forwards;background:#f3dcff}.loot-choice.tier-enchanted .loot-flip.up .lf-front,.loot-choice.tier-mythic .loot-flip.up .lf-front{filter:drop-shadow(0 0 14px var(--tier))}@media (prefers-reduced-motion: reduce){.reveal-fx *{animation:none!important;opacity:.6!important}.loot-flip .lf-inner{transition:none}}.slot-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:8px}.slot-strip .ss{display:flex;flex-direction:column;align-items:center;gap:1px;padding:3px 0 2px;border-radius:6px;border:1.5px dashed rgba(42,28,16,.35);color:#2a1c1066}.slot-strip .ss small{font-size:9.5px;font-family:Alegreya SC,serif;letter-spacing:.02em;line-height:1}.slot-strip .ss .icon{opacity:.45}.slot-strip .ss.on{border-style:solid;border-color:var(--tier);background:#fff8e2d9;color:#2a1c10;box-shadow:0 1px 0 var(--tier)}.slot-strip .ss.on .icon{opacity:1}.sp-level{overflow:visible;isolation:isolate}.sp-level .reveal-fx{z-index:-1}.sp-level.lv-enchanted,.sp-level.lv-mythic{box-shadow:0 5px 0 var(--wood),0 0 28px 6px var(--tier),0 18px 40px #0000008c}.sp-level.lv-mythic .sp-title{background:linear-gradient(90deg,#7d2119,#8e44ad,#2e6fd0,#8e44ad,#7d2119);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:lvShine 3s linear infinite}@keyframes lvShine{to{background-position:300% 0}}.name-field{display:flex;flex-direction:column;align-items:center;gap:4px;margin:6px auto 14px}.name-field span{font-family:Alegreya SC,serif;letter-spacing:.06em;color:#5a4632;font-size:15px}.name-field input{font:inherit;font-size:22px;text-align:center;width:min(280px,80vw);padding:6px 12px;border:2px solid #2a1c10;border-radius:8px;background:#fbf3dc;color:#1e140c}
