@layer reset,table,components,motion,responsive;
@layer reset {
 :root{color-scheme:dark;--ink:#261b31;--paper:#f8ebd1;--muted:#d4bfae;--copper:#ffc285;--green:#a9d39a;--card-size:170px;font-family:Segoe UI,Arial,sans-serif;font-size:16px;line-height:1.5;background:#251b31;color:var(--paper)}
 *{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(140deg,#332239 0%,#251b31 60%,#241f2b 100%);min-height:100dvh}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid #9f8a9a;background:#382b43;color:var(--paper);padding:.55rem 1rem;border-radius:5px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#4d3856}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffcb86;outline-offset:4px}button:disabled:focus-visible{outline:3px solid var(--paper)}input,select{background:#f8ebd1;color:#251b31;border:2px solid #9e887f;border-radius:4px;min-height:46px;max-width:100%;padding:.55rem .7rem}input[type=range]{accent-color:#ffc285;min-height:44px;padding:0;width:100%;border:0;background:transparent}input[type=checkbox]{accent-color:#a9d39a;min-height:24px;width:24px;height:24px}a{color:#ffd5a0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,Times New Roman,serif;line-height:1.15;font-weight:600}h1{font-size:clamp(2rem,3vw,3rem)}h2{font-size:clamp(1.3rem,2vw,1.7rem)}h3{font-size:1.15rem}p{line-height:1.6}img{max-width:100%;display:block}svg{display:block}fieldset{border:0;margin:0;padding:0;min-width:0}legend{padding:0;font-weight:650;margin-bottom:.7rem}.quiet{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.definitions{position:absolute;width:0;height:0;overflow:hidden}.skip{position:absolute;z-index:1000;left:12px;top:-100px;padding:12px;background:var(--paper);color:var(--ink)}.skip:focus{top:12px}[hidden]{display:none!important}
}
@layer table {
 #topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px clamp(16px,3vw,48px);border-bottom:1px solid #756076;min-height:84px}#topbar .wordmark{font-family:Georgia,serif;font-size:1.25rem;font-weight:bold;color:#ffe4af;line-height:1.04;padding:0;min-width:100px;border:0;background:none;text-align:left}#topbar .wordmark span{display:block;font-size:1.5rem;color:var(--copper)}.top-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.text-button{background:none;border:0;text-decoration:underline;text-underline-offset:4px;padding:.45rem .65rem}.tool-button{width:44px;padding:8px;border-color:transparent;background:transparent}.tool-button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}.room-tag{font-size:.85rem;letter-spacing:.08em;color:var(--muted);padding-right:12px}.languages{display:flex;gap:4px}.languages button{border:2px solid transparent;padding:7px;background:transparent;width:48px;min-height:44px;border-radius:5px}.languages button[aria-pressed=true]{border-color:var(--copper);background:#4b354c}.languages svg{width:30px;height:21px;transform:rotate(-3deg);box-shadow:1px 2px 0 #130d1a}.languages button:last-child svg{transform:rotate(3deg)}
 .entry{max-width:1440px;min-height:calc(100dvh - 90px);margin:auto;padding:clamp(28px,4vw,64px) clamp(20px,5vw,72px);display:grid;grid-template-columns:minmax(310px,.9fr) minmax(300px,1.2fr);align-items:center;gap:40px;isolation:isolate}.entry-copy{max-width:480px;position:relative;z-index:3}.entry h1{font-size:clamp(3.4rem,6vw,6.5rem);letter-spacing:-.045em;line-height:.92;color:#ffe9b7;text-shadow:3px 4px 0 #110e1b;transform:rotate(-3deg);margin-bottom:34px}.entry h1 span{color:#ffc285}.entry-line{font-family:Georgia,serif;font-size:clamp(1.5rem,2vw,2rem);line-height:1.25;margin-bottom:14px}.entry-note{color:var(--muted);max-width:370px;font-size:1.05rem;margin-bottom:22px}.entry-form{max-width:385px;display:flex;flex-direction:column;gap:10px}.entry-form>label{font-weight:650}.entry-form>input{margin-bottom:4px}.primary{background:var(--copper);color:#26182e;border:2px solid #ffc285;font-weight:750;padding:.65rem 1.3rem;box-shadow:0 4px 0 #110c18;min-height:49px}.primary:hover:not(:disabled){background:#ffdab0}.secondary{background:#423147;border-color:#bba296;font-weight:650}.join-entry{margin-top:15px;padding-top:16px;border-top:1px solid #82687c}.join-entry label{display:block;margin-bottom:7px;font-size:.9rem;color:var(--muted)}.join-entry>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.join-entry input{width:100%}.entry-credit{font-size:.72rem;line-height:1.6;color:#cbb5b2;margin-top:24px;max-width:400px}.resume{margin-top:12px;text-align:left}.entry-art{position:relative;min-height:680px;perspective:1200px;align-self:center}.spell-orbit{position:absolute;width:95%;aspect-ratio:1;border:1px solid #b78b69;border-radius:50%;top:40px;left:0;opacity:.4;transform:rotateX(55deg);box-shadow:inset 0 0 0 25px #251b31,inset 0 0 0 26px #bd997c}.spell-orbit:after{content:'';position:absolute;inset:12%;border:1px solid #bd997c;transform:rotate(45deg)}.hero-card{position:absolute;width:clamp(160px,21vw,285px);box-shadow:0 20px 30px #110b1c99;border-radius:10px;overflow:hidden}.hero-card .card-art{width:100%}.hero-card.witch{width:clamp(190px,23vw,320px);left:27%;top:30px;transform:rotate(7deg) rotateY(-10deg);z-index:2}.hero-card.back-left{top:100px;left:0;transform:rotate(-20deg) rotateY(10deg)}.hero-card.back-right{top:130px;right:-10px;transform:rotate(23deg) rotateY(-10deg)}.entry-cauldron{position:absolute;left:30%;bottom:30px;width:310px;z-index:3;filter:drop-shadow(0 30px 12px #110c19)}.entry-cauldron .cauldron{width:280px;height:240px}.entry-cauldron .cauldron-rim{height:100px}.entry-cauldron .cauldron-body{height:155px;top:50px}.entry-cauldron .brew-surface .cube{width:38px;height:38px}.flying-token{position:absolute;z-index:4}.flying-token .cube{width:62px;height:62px}.token-one{left:4%;bottom:180px;transform:rotate(-20deg)}.token-two{right:-6%;top:25%;transform:rotate(26deg)}.token-three{left:17%;top:-5px;transform:rotate(-15deg)}
 .lobby{max-width:1300px;margin:auto;padding:40px clamp(18px,4vw,50px)}.lobby-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:40px}.table-label{font-size:.95rem;color:var(--copper);margin-bottom:12px}.coven-seats{display:flex;justify-content:center;gap:clamp(18px,3vw,42px);flex-wrap:wrap;min-height:360px}.lobby-seat{width:180px;text-align:center;position:relative}.seat-portrait{height:240px;overflow:hidden;border-radius:42% 42% 6px 6px;box-shadow:0 11px 16px #110c1860;transform:rotate(calc((var(--seat) - 2)*2deg));margin-bottom:20px}.seat-portrait img{width:100%;height:100%;object-fit:cover;object-position:top}.lobby-seat h2{font-size:1.4rem;overflow-wrap:anywhere}.lobby-seat h2 small{display:block;font:.8rem Segoe UI,sans-serif;color:var(--copper);margin-top:5px}.lobby-seat p{color:var(--muted);font-size:.9rem;margin:8px 0}.empty-seat{display:flex;flex-direction:column;align-items:center;justify-content:center;width:180px;gap:25px}.seat-circle{width:130px;aspect-ratio:1;border:2px dashed #a18b9a;border-radius:50%;position:relative}.seat-circle:before,.seat-circle:after{content:'';position:absolute;top:50%;left:50%;background:#aa909f;width:45px;height:2px;transform:translate(-50%,-50%)}.seat-circle:after{transform:translate(-50%,-50%) rotate(90deg)}.lobby-bottom{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-top:38px;padding-top:25px;border-top:1px solid #80677b}.mode-choice{display:flex;gap:12px;flex:1;flex-wrap:wrap}.mode-choice legend{width:100%}.mode-choice button{text-align:left;max-width:300px;padding:13px 16px;border-width:2px}.mode-choice button[aria-pressed=true]{border-color:var(--copper);background:#50394c}.mode-choice strong,.mode-choice span{display:block}.mode-choice span{font-size:.85rem;color:#e0cabc;margin-top:4px}.start-area{min-width:220px;max-width:300px;text-align:right}.connection{display:block;font-size:.75rem;color:#d7c4b6;margin-top:12px;max-width:260px}.character-choice{max-width:1150px;margin:auto;padding:40px 22px}.character-choice>h1{text-align:center;margin-bottom:35px}.character-pair{display:grid;grid-template-columns:1fr 1fr;gap:38px}.character-option{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(160px,1fr);gap:22px;align-items:center}.character-option>img{border-radius:8px;box-shadow:0 15px 20px #110c1870;transform:rotate(-3deg)}.character-option:nth-child(2)>img{transform:rotate(3deg)}.character-option h2{margin-bottom:12px}.character-option p{font-size:.95rem;color:#ead8c8}.starting-stock{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.character-choice>.wait-line{text-align:center;margin-top:38px}
 .game-table{max-width:1520px;margin:auto;padding:22px clamp(16px,3vw,44px) 70px}.phase-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:120px;margin-bottom:22px;position:relative}.round-marker{font-size:.9rem;color:#ffc285;display:block;margin-bottom:6px}.phase-banner h1{font-size:clamp(2rem,3.5vw,3.2rem)}.phase-banner p{color:#e5d1bf;max-width:650px;margin-top:8px;font-size:.95rem}.phase-actions{display:flex;flex-direction:column;align-items:flex-end;text-align:right;min-width:190px;max-width:340px;gap:7px}.phase-prompt{font-family:Georgia,serif;font-size:1.5rem;color:var(--copper)}.wait-line{color:#d4bda9;font-size:.85rem}.phase-actions .connection{margin:0}.opponents{display:flex;align-items:stretch;gap:12px;margin-bottom:25px;flex-wrap:wrap}.opponent{display:flex;align-items:center;gap:10px;flex:1;max-width:320px;padding:10px 12px;background:#21192c;border-color:#a48c9e;text-align:left;min-width:180px}.opponent.active{border:2px solid #ffca91;background:#433046;padding:9px 11px}.player-number{font:1.5rem Georgia,serif;color:#ffc285;min-width:22px}.player-name{font-weight:700;flex:1;overflow-wrap:anywhere;line-height:1.3}.player-name>small{display:inline-block;font-size:.68rem;font-weight:400;margin-left:5px;color:#ffdaae}.player-state{display:block;font-size:.7rem;color:#dbc6ba;font-weight:400;margin-top:4px}.mini-circle{font:1.7rem Georgia,serif;color:#ffe9be;white-space:nowrap}.mini-circle small{font-size:.85rem;color:var(--muted)}.view-notice{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#51364d;padding:12px 16px;margin-bottom:20px;border:1px solid #c0a68d}.view-notice p{font-size:.9rem}.worktable{display:grid;grid-template-columns:minmax(310px,430px) minmax(280px,1fr);gap:clamp(24px,4vw,60px);align-items:start}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;min-height:44px}.section-title h2{font-size:1.35rem}.section-title>div{display:flex;gap:10px}.bench-area{min-width:0}.bench{position:relative;width:100%;aspect-ratio:1;background-image:var(--board-image);background-size:cover;border-radius:9px;box-shadow:0 12px 16px #100b1970;isolation:isolate}.bench:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 2px #e4c69a66;border-radius:inherit;pointer-events:none}.bench-score{position:absolute;left:35%;top:5%;width:30%;aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:2px;background:#201b36de;border:2px solid #e3c6a0;color:#fff0cf}.circle-total{font:clamp(2rem,3vw,3rem) Georgia,serif}.bench-score>span:last-child{font-size:.8rem;margin-top:15px}.bench-resources{position:absolute;left:5%;right:5%;bottom:6%;display:flex;flex-direction:column;gap:6px}.bench-row{display:flex;align-items:center;gap:7px;padding:5px 7px;background:#f6e5c5f5;border-radius:3px;min-height:35px;box-shadow:0 2px 2px #120d2070;color:var(--ink)}.bench-row>.ingredient-icon{width:26px;height:26px;flex-shrink:0}.slots{display:flex;gap:3px;flex:1}.slot{height:23px;flex:1;max-width:26px;border:1px solid #8e7e6b;border-radius:2px;background:#c4b49c;display:flex;align-items:center;justify-content:center}.slot.filled{border:0;background:transparent}.slot .cube{width:23px;height:23px;border-radius:2px;padding:3px;box-shadow:1px 2px 0 #281c2b55}.capacity{font-size:.9rem;font-weight:800;min-width:34px;text-align:right}.capacity small{font-size:.7rem;font-weight:400}.circle-inventory{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:.85rem}.circle-inventory>span:first-child{color:#e2c8ae;margin-right:auto}.undo-button{border-color:#c4ae95;background:#f6e5c5;color:#2c1e33;font-weight:700;min-width:72px}.alchemy-area{display:grid;grid-template-columns:minmax(210px,1fr) minmax(170px,220px);column-gap:24px;align-items:start}.brew-summary{grid-row:span 2;display:flex;flex-direction:column;align-items:center;padding-top:8px;min-height:310px}.brew-summary>div:first-child{text-align:center}.brew-summary h2{font-size:1.45rem}.brew-summary p{font-size:.9rem;color:#e0c5b6;margin-top:5px}.output-counts{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;min-height:30px;padding:10px 0}.output-counts p{text-align:center;max-width:240px;font-size:.9rem}.arcana-row{display:flex;flex-direction:column;gap:10px;padding-top:13px}.arcana-token{display:flex;align-items:center;gap:12px;text-align:left;padding:8px 12px;background:transparent;border:1px solid #9f879a}.arcana-token img{width:44px;height:44px;border-radius:50%}.arcana-token span{flex:1;font-weight:600}.arcana-token b{float:right;font:1.5rem Georgia,serif;color:#ffe7bc}.arcana-token small{font-size:.75rem;display:block;color:#b5e7a5}.arcana-token:disabled{opacity:1;color:#d9c4b2;border-color:transparent;background:#21192c80}.personality-strip{grid-column:span 2;display:flex;align-items:center;gap:20px;border-top:1px solid #8f7386;padding-top:20px;margin-top:14px}.personality-thumb{width:90px;min-width:90px;padding:0;overflow:hidden;border:0;max-height:130px;transform:rotate(-4deg);box-shadow:0 5px 8px #100b1955}.personality-thumb img{width:100%}.personality-strip h3{margin-bottom:6px}.personality-strip p{font-size:.85rem;color:#dfc7b4;max-width:500px}.personality-strip button:not(.personality-thumb){font-size:.85rem;margin-top:7px}.flow-note{display:flex;gap:15px;justify-content:space-between;flex-wrap:wrap;grid-column:span 2;color:#ceb8ad;font-size:.75rem;margin-top:20px}.ingredient-icon{width:26px;height:26px;fill:none;flex-shrink:0}.stock-count{display:inline-flex;align-items:center;gap:5px;font-weight:700;white-space:nowrap}.stock-count .ingredient-icon{width:22px;height:22px;color:var(--paper)}.cube{--piece:#b7cb75;display:inline-flex;width:32px;height:32px;background:var(--piece);color:#203c2c;align-items:center;justify-content:center;border-radius:4px;padding:4px;box-shadow:2px 3px 0 #0e0a1b55,inset 1px 2px 0 #ffffff65,inset -2px -3px 0 #00000030;vertical-align:middle;flex-shrink:0}.cube .ingredient-icon{width:100%;height:100%}.cube.h{--piece:#322d38;color:#fff1d5}.cube.d{--piece:#f2e9ce;color:#40503c}.cube.m{--piece:#e88c75;color:#752b36}.cube.s{--piece:#87b8d5;color:#244a75}.cube.t{--piece:#b5cf79;color:#2f623c}.bench-row.h>.ingredient-icon{color:#392c3b}.bench-row.d>.ingredient-icon{color:#42563b}.bench-row.m>.ingredient-icon{color:#952f3f}.bench-row.s>.ingredient-icon{color:#28577c}.bench-row.t>.ingredient-icon{color:#356a3c}
 .cauldron{position:relative;width:210px;height:190px;margin-top:25px;filter:drop-shadow(0 10px 6px #100b1955);isolation:isolate}.cauldron-rim{position:absolute;left:0;top:0;width:100%;height:76px;background:#17172c;border:5px solid #62516c;border-radius:50%;z-index:3;box-shadow:0 4px 0 #0f1022;overflow:hidden}.brew-surface{position:absolute;inset:5px;background:radial-gradient(ellipse at 36% 27%,#ffd18a,#bd693d 68%,#6c3648);border-radius:50%;box-shadow:inset 0 3px 5px #442738}.brew-piece{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%) rotate(var(--turn))}.brew-piece .cube{width:27px;height:27px;box-shadow:1px 2px 2px #28182a99}.cauldron-body{position:absolute;top:35px;width:100%;height:125px;border-radius:8% 8% 47% 47%;background:linear-gradient(90deg,#11182d,#2e2845 35%,#201b35 75%,#10152a);border:3px solid #66516c;box-shadow:inset 7px -6px 0 #090f203d;z-index:2;display:grid;place-items:center;padding-top:28px}.cauldron-body>span{font:2.8rem Georgia,serif;color:#ffe0a8;text-shadow:0 2px 0 #120b1c;position:relative}.cauldron-body>span:after{content:'';position:absolute;inset:-7px -20px;border:1px solid #9e786c;border-radius:50%}.cauldron-handles{position:absolute;left:-18px;right:-18px;top:45px;height:60px;border:8px solid #675066;border-radius:35%;z-index:1}.cauldron-feet{position:absolute;bottom:5px;left:17%;width:66%;height:45px;border-left:15px solid #292138;border-right:15px solid #292138;transform:perspective(100px) rotateX(25deg)}
 .draft-area{margin:28px -12px 30px;padding:20px 24px 18px;position:relative;border-top:1px solid #9b7c90;border-bottom:1px solid #9b7c90;background:#1e182a;isolation:isolate}.draft-area:before{content:'';position:absolute;left:20%;right:20%;top:40%;height:45%;border:1px solid #b68a5966;border-radius:50%;transform:rotateX(60deg);z-index:-1}.draft-area>.section-title{margin-bottom:24px}.draft-area>.section-title>span{color:#cdb5a5}.draft-hand{display:flex;align-items:flex-start;justify-content:center;gap:clamp(12px,2vw,28px);padding:10px 10px 52px;perspective:1000px;min-height:285px}.hand-object{width:clamp(120px,15vw,185px);position:relative;transform:rotate(var(--fan));transform-origin:center 110%;transition:transform .25s;flex-shrink:0}.hand-object.selected{transform:translateY(-16px) rotate(0);z-index:4}.recipe-card{padding:0;border:0;border-radius:7px;width:100%;background:#251b31;position:relative;box-shadow:0 7px 9px #08051080;display:block;overflow:visible}.recipe-card:hover:not(:disabled){transform:translateY(-5px);background:#251b31}.recipe-card:disabled{opacity:.8}.hand-card{touch-action:none}.card-art{display:block;width:100%;aspect-ratio:669.8/935.33;object-fit:cover;transition:transform .3s;border-radius:7px}.card-art.reversed{transform:rotate(180deg)}.card-caption{display:block;background:#f8ebd1;color:#2e2136;font-family:Georgia,serif;font-size:.83rem;font-weight:bold;text-align:center;min-height:38px;padding:7px 5px;border-radius:0 0 5px 5px;line-height:1.2}.staging-controls{position:absolute;left:50%;bottom:-58px;transform:translateX(-50%);display:flex;gap:8px;z-index:5;white-space:nowrap}.staging-controls button{width:46px;height:46px;min-width:46px;padding:0;border-radius:50%;box-shadow:0 4px 5px #0c081b;font-size:1.6rem}.confirm-check{background:#badc9b;color:#243d2a;border:3px solid #edf8db}.confirm-check:hover:not(:disabled){background:#dbf2b5}.cancel-selection{font-size:1.4rem!important}.draft-instruction{text-align:center;font-size:.9rem;color:#e5cab1;min-height:26px}.recipe-collection{margin-top:25px;scroll-margin-top:25px;min-height:100px;padding:5px 0 12px;transition:background .2s,outline .2s}.recipe-collection.drop-aim{outline:3px solid #c5e2a4;outline-offset:8px;background:#435344}.recipe-spread{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--card-size),1fr));gap:22px;align-items:start;perspective:1200px}.recipe-object{max-width:260px;width:100%;position:relative}.recipe-object:nth-child(3n+1){transform:rotate(-1deg)}.recipe-object:nth-child(3n){transform:rotate(1deg)}.recipe-object.is-used .card-art{filter:saturate(.55) brightness(.75)}.used-seal{position:absolute;left:15%;right:15%;top:40%;transform:rotate(-14deg);border:3px double #f8e2b3;color:#f8e2b3;background:#321f3ce6;font:1.3rem Georgia,serif;padding:4px 8px;text-align:center}.brew-tag{position:absolute;top:10px;right:-7px;padding:5px 12px;color:#223128;background:#c2db9b;font-weight:700;font-size:.8rem;box-shadow:0 3px 5px #150f2280;transform:rotate(5deg)}.empty-collection{grid-column:1/-1;text-align:center;padding:28px 15px;color:#cab4ab}.initiative-option{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px;color:#cbb3a6;font-size:.85rem}.initiative-option button{padding-left:0}.pass-results{margin-top:40px;padding-top:30px;border-top:1px solid #9e7d90}.transfer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:25px}.transfer-list article{padding:16px 0;border-bottom:1px solid #80647b}.transfer-players{display:flex;gap:18px;align-items:center;justify-content:space-between;font-family:Georgia,serif;overflow-wrap:anywhere}.transfer-arrow{font-size:1.8rem;color:var(--copper)}.transfer-breakdown{display:flex;flex-direction:column;gap:10px;margin-top:15px}.transfer-breakdown>div{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.transfer-breakdown>div>span:first-child{min-width:115px;color:#d9bdab;font-size:.85rem}.transfer-breakdown .overflow-score{background:#4f344b;padding:7px 10px;border:1px solid #c19b81}.rankings{max-width:650px;margin:45px auto 0}.rankings h2{text-align:center;color:#ffd596;font-size:2rem;margin-bottom:25px}.rankings>div{display:flex;align-items:center;gap:20px;justify-content:space-between;border-bottom:1px solid #9e8499;padding:12px 5px}.rankings>div>span{display:flex;gap:10px;flex-wrap:wrap}.rankings>div>b{font:2rem Georgia,serif}.rankings p{font-size:.85rem;color:#d8c1ae;margin:15px 0}.rankings>button{display:block;margin:25px auto 0}
}
@layer components {
 .overflow-flight{position:fixed;pointer-events:none;z-index:4}.overflow-flight .cube{width:37px;height:37px}
 dialog{color:var(--paper);background:#2e2238;border:1px solid #c1a187;border-radius:12px;padding:30px;width:min(600px,calc(100% - 28px));max-height:calc(100dvh - 40px);box-shadow:0 30px 70px #09060dc0;overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:#130e1cdb;backdrop-filter:blur(4px)}dialog h2{font-size:1.8rem;margin:0 32px 20px 0}dialog p{margin:0 0 18px;color:#f0dcc4}dialog a{display:inline-block;min-height:44px;padding:8px 0}dialog label{display:flex;flex-direction:column;gap:8px;font-weight:600;margin-bottom:16px}dialog form>button{margin-top:15px}dialog .primary+button{margin-left:10px}.dialog-close{position:absolute;right:10px;top:9px;width:44px;height:44px;padding:0;min-width:44px;border:0;background:transparent;font-size:1.8rem}.setting{padding-bottom:18px;margin-bottom:15px;border-bottom:1px solid #8a6d80}.setting label{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:8px}.setting output{font-variant-numeric:tabular-nums}.check-setting{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center;gap:12px!important;min-height:44px;margin:6px 0 10px!important}.check-setting input{margin:0}.help-goal{font:1.4rem Georgia,serif;color:#ffe5b3!important}.help-ingredients{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}.help-ingredients>span{display:flex;align-items:center;gap:8px;font-size:.85rem}.help-dialog .quiet{font-size:.8rem;color:#c7afa5}.personality-reading{display:grid;grid-template-columns:minmax(130px,.8fr) 1fr;gap:25px;align-items:center}.personality-reading>img{border-radius:7px}.recipe-dialog{width:min(850px,calc(100% - 28px))}.recipe-dialog-layout{display:grid;grid-template-columns:minmax(200px,300px) 1fr;gap:30px}.recipe-reading{align-self:start;position:sticky;top:0}.recipe-reading img{box-shadow:0 8px 16px #0a071766}.recipe-dialog h2{font-size:1.6rem;margin-bottom:10px}.recipe-dialog .quiet{font-size:.8rem}.ingredient-choice{display:flex;flex-direction:row;align-items:center;gap:6px;margin-bottom:10px}.ingredient-choice>.ingredient-icon{width:25px;height:25px}.ingredient-choice select{flex:1;min-width:0;font-size:.85rem}.recipe-flow{font-size:2rem;text-align:center;color:#ffc285;margin:4px}.recipe-validation{font-size:.85rem;color:#ffbea3!important;margin:10px 0!important}.recipe-dialog fieldset{padding:12px 0;border-top:1px solid #967185}.raven-choices,.scholar-sources{display:grid;grid-template-columns:1fr 1fr;gap:15px}.game-history{list-style:none;padding:0;margin:0}.game-history li{padding:13px 0;border-bottom:1px solid #8c6c82}.game-history li>span:first-child{display:block;font-size:.75rem;color:#d8b99f}.game-history li>strong{margin-right:8px}.game-history .stock-count{margin:0 3px}.game-history .ingredient-icon{width:18px;height:18px}#status{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:min(600px,calc(100vw - 28px));padding:14px 20px;border:1px solid #dfc7a2;background:#f8ebd1;color:#2a2030;border-radius:7px;box-shadow:0 8px 25px #0a071999;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;z-index:300;overflow-wrap:anywhere}#status.visible{opacity:1;transform:translate(-50%,0)}#status.error{background:#ffd9bb;color:#4c2331;border:2px solid #d47e5d}.loading{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:30px;padding:80px 20px}.loading h1{font-size:1.7rem;text-align:center}.loading-sigil{width:80px;height:80px;border:2px solid #d3a981;border-radius:50%;position:relative}.loading-sigil:after{content:'';position:absolute;inset:15px;border:2px solid #d3a981;transform:rotate(45deg)}#follower{position:fixed;z-index:200;pointer-events:none;filter:drop-shadow(7px 15px 8px #09061799);opacity:1}#follower img{width:100%;height:100%}.dragging .hand-card{cursor:grabbing}.dragging .recipe-collection{outline:2px dashed #bdcfaa;outline-offset:8px}.travelling-ingredient{position:fixed;z-index:180;pointer-events:none}.travelling-ingredient .cube{width:44px;height:44px}#effects{position:fixed;inset:0;pointer-events:none;z-index:180}.passing-stage{position:fixed;inset:0;z-index:100;background:radial-gradient(ellipse at 50% 40%,#49324b,#1c1629 75%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:75px 20px 25px;overflow:auto;isolation:isolate}.passing-stage>h2{font-size:clamp(1.8rem,4vw,3rem);text-align:center;color:#ffe3af}.skip-animation{position:absolute;right:25px;top:20px;background:#f8ebd1;color:#2c1f33;z-index:5}.passing-ring{position:relative;width:min(650px,80vw);height:min(580px,65vh);min-height:350px;margin:25px 0 50px}.passing-ring:before{content:'';position:absolute;inset:10%;border:2px solid #b88d70;border-radius:50%;box-shadow:inset 0 0 0 18px #2e213a,inset 0 0 0 20px #906c63}.passing-seat{position:absolute;left:50%;top:50%;width:170px;text-align:center;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-190px) rotate(var(--opposite))}.passing-name{display:block;font:bold 1.15rem Georgia,serif;color:#ffe3b1;background:#241b31;padding:3px 8px;border-radius:3px;overflow-wrap:anywhere}.passing-pot .cauldron{width:125px;height:110px;margin:10px auto}.passing-pot .cauldron-rim{height:45px;border-width:3px}.passing-pot .cauldron-body{height:75px;top:22px;padding-top:12px;border-width:2px}.passing-pot .cauldron-body>span{font-size:1.6rem}.passing-pot .cauldron-body>span:after{inset:-3px -10px}.passing-pot .cauldron-handles{left:-10px;right:-10px;height:35px;top:30px;border-width:5px}.passing-pot .cauldron-feet{height:25px;bottom:0;border-width:8px}.passing-pot .brew-piece .cube{width:17px;height:17px;padding:2px}.passing-tally{position:absolute;left:-20px;right:-20px;top:145px;display:flex;flex-direction:column;font-size:.8rem;background:#271c32e6}.passing-tally strong{color:#bddd9d;font-size:1.1rem}.passing-caption{text-align:center;max-width:650px;font-family:Georgia,serif;font-size:1.1rem}.finale-stage{gap:12px}.victory-sigil{position:relative;width:270px;height:270px;margin-bottom:10px}.victory-sigil>svg{position:absolute;inset:0;width:100%;height:100%;stroke:#e0b784;stroke-width:1.5;fill:none}.winner-portrait{position:absolute;inset:45px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 6px #291e35,0 0 0 7px #b68a6c}.winner-portrait img{width:100%;height:100%;object-fit:cover;object-position:top}.finale-stage h2{font-size:clamp(2.5rem,6vw,5rem);max-width:80vw;overflow-wrap:anywhere}.victory-words{font:1.5rem Georgia,serif;color:#efd3b0}.victory-ingredients{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:500px;margin:10px 0}.victory-ingredients .cube{width:43px;height:43px}.victory-score{font:1.3rem Georgia,serif;color:#ffdc9c}.phase-banner,.section-title,.rankings,.entry-copy{overflow-wrap:anywhere}
}
@layer motion {
 @keyframes breathe{0%,100%{transform:translateY(0) rotate(var(--fan))}50%{transform:translateY(-3px) rotate(var(--fan))}}
 @keyframes arrive{from{opacity:0;translate:0 40px;rotate:-4deg}to{opacity:1;translate:0 0;rotate:0deg}}
 @keyframes hero-witch{0%,100%{transform:translateY(0) rotate(7deg) rotateY(-10deg)}50%{transform:translateY(-9px) rotate(5deg) rotateY(-5deg)}}
 @keyframes ingredient-hover{0%,100%{translate:0 0}50%{translate:0 -15px}}
 @keyframes sigil-trace{from{stroke-dashoffset:900;opacity:0}to{stroke-dashoffset:0;opacity:1}}
 @keyframes entry-pop{from{opacity:0;transform:translateY(20px) rotate(-8deg) scale(.9)}to{opacity:1;transform:none}}
 .hand-object:not(.selected):not(.locked){animation:breathe 6s ease-in-out infinite;animation-delay:var(--delay)}.hand-object:hover,.hand-object:focus-within,.dragging .hand-object{animation-play-state:paused}.hero-card.witch{animation:hero-witch 8s ease-in-out infinite}.flying-token{animation:ingredient-hover 6s ease-in-out infinite}.token-two{animation-delay:-2s}.token-three{animation-delay:-4s}.character-option{animation:arrive .6s both}.lobby-seat{animation:arrive .5s both;animation-delay:calc(var(--seat)*100ms)}.victory-sigil>svg>*{stroke-dasharray:900;animation:sigil-trace 3s ease-out both}.rankings>div{animation:arrive .6s both}.calm .hand-object,.calm .hero-card,.calm .flying-token{animation:none}.reduced *,.reduced *:before,.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 @media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
}
@layer responsive {
 body[data-phase=ended] .game-table{display:flex;flex-direction:column}body[data-phase=ended] .game-table>.phase-banner{order:0}body[data-phase=ended] .game-table>.opponents{order:1}body[data-phase=ended] .game-table>.pass-results{order:2;margin-top:0;padding-top:20px;width:100%}body[data-phase=ended] .game-table>.worktable{order:3;width:100%;margin-top:40px}body[data-phase=ended] .game-table>.recipe-collection{order:4;width:100%}body[data-phase=ended] .pass-results{display:flex;flex-direction:column}body[data-phase=ended] .pass-results>.rankings{order:0;width:min(650px,100%);margin:0 auto 40px}body[data-phase=ended] .pass-results>.section-title{order:1}body[data-phase=ended] .pass-results>.transfer-list{order:2}body[data-phase=ended] .phase-actions .wait-line{display:none}
 @media(max-width:430px){#topbar .top-controls>.text-button{min-height:44px}}
 .top-controls>.text-button{min-height:44px}
 .entry-art{overflow:clip;overflow-clip-margin:0px}
 @media(min-width:761px){.hero-card.back-right{right:60px}.token-two{right:6%}.entry-art{min-width:0}}
 @media(min-width:1000px){body[data-phase=study] .game-table:has(.draft-area){display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);column-gap:35px;align-items:start}body[data-phase=study] .game-table:has(.draft-area)>.phase-banner{grid-column:1/-1;grid-row:1}body[data-phase=study] .game-table:has(.draft-area)>.opponents{grid-column:1/-1;grid-row:2}body[data-phase=study] .game-table:has(.draft-area)>.worktable{grid-column:1;grid-row:3;display:flex;flex-direction:column;gap:15px}body[data-phase=study] .game-table:has(.draft-area) .bench-area{width:100%}body[data-phase=study] .game-table:has(.draft-area) .alchemy-area{display:block}body[data-phase=study] .game-table:has(.draft-area) .brew-summary,body[data-phase=study] .game-table:has(.draft-area) .arcana-row,body[data-phase=study] .game-table:has(.draft-area) .flow-note{display:none}body[data-phase=study] .game-table:has(.draft-area)>.draft-area{grid-column:2;grid-row:3;margin:0;padding:18px 15px 25px;min-width:0;align-self:start}body[data-phase=study] .game-table:has(.draft-area) .draft-hand{flex-wrap:wrap;gap:18px;padding-top:22px;min-height:0}body[data-phase=study] .game-table:has(.draft-area) .hand-object{width:clamp(138px,12.5vw,180px)}body[data-phase=study] .game-table:has(.draft-area) .personality-strip{margin-top:0}body[data-phase=study] .game-table:has(.draft-area)>.recipe-collection{grid-column:1/-1;grid-row:4;margin-top:30px}body[data-phase=study] .game-table:has(.draft-area) .draft-area>.section-title{padding:0 8px}body[data-phase=study] .game-table:has(.draft-area) .draft-area>.section-title h2{font-size:1.6rem;color:#ffe0ae}}
 @media(max-width:999px){body[data-phase=study] .game-table:has(.draft-area){display:flex;flex-direction:column}body[data-phase=study] .game-table:has(.draft-area)>*{width:100%}body[data-phase=study] .game-table:has(.draft-area)>.phase-banner{order:0}body[data-phase=study] .game-table:has(.draft-area)>.opponents{order:1}body[data-phase=study] .game-table:has(.draft-area)>.view-notice{order:2}body[data-phase=study] .game-table:has(.draft-area)>.draft-area{order:3;margin-top:0;margin-bottom:28px}body[data-phase=study] .game-table:has(.draft-area)>.worktable{order:4}body[data-phase=study] .game-table:has(.draft-area)>.recipe-collection{order:5}}
 @media(min-width:1250px){body[data-phase=study] .worktable{grid-template-columns:minmax(300px,360px) 1fr}body[data-phase=study] .brew-summary{min-height:260px}body[data-phase=study] .personality-strip{padding-top:12px;margin-top:6px}body[data-phase=study] .personality-thumb{width:65px;min-width:65px;max-height:95px}body[data-phase=study] .alchemy-area{grid-template-columns:minmax(220px,1fr) minmax(180px,230px)}body[data-phase=study] .arcana-row{flex-direction:row;grid-column:2;gap:8px}body[data-phase=study] .arcana-token{flex-direction:column;gap:5px;min-width:60px;padding:7px}body[data-phase=study] .arcana-token img{width:34px;height:34px}body[data-phase=study] .arcana-token span{font-size:.75rem}body[data-phase=study] .arcana-token b{float:none;display:block;text-align:center;font-size:1.1rem}}
 @media(max-width:1050px){.entry{gap:18px;padding:35px 30px;grid-template-columns:minmax(300px,1fr) minmax(250px,1fr)}.entry-art{min-height:580px}.entry-cauldron{left:14%;bottom:20px;width:240px}.entry-cauldron .cauldron{width:240px;height:210px}.hero-card.witch{left:20%}.hero-card.back-right{right:-5px;top:150px}.entry h1{font-size:clamp(3.2rem,6vw,5rem)}.worktable{gap:24px;grid-template-columns:minmax(290px,360px) 1fr}.alchemy-area{display:flex;flex-direction:column}.brew-summary{min-height:0;align-self:center}.arcana-row{flex-direction:row;width:100%;gap:7px;justify-content:center;margin-top:5px}.arcana-token{flex:1;gap:5px;flex-direction:column;padding:7px;min-width:65px}.arcana-token img{width:35px;height:35px}.arcana-token span{font-size:.8rem;text-align:center}.arcana-token b{float:none;display:block;font-size:1.2rem}.personality-strip{gap:12px;align-items:start}.personality-strip p{font-size:.8rem}.personality-thumb{width:68px;min-width:68px;max-height:105px}.flow-note{gap:7px}.character-pair{gap:24px}.character-option{display:flex;flex-direction:column}.character-option>img{max-height:300px;width:auto}.character-option>div{text-align:center}.starting-stock{justify-content:center}.opponent{min-width:160px;max-width:none}.top-controls{gap:5px}.room-tag{display:none}}
 @media(max-width:760px){#topbar{padding:12px 16px;gap:8px}.top-controls{gap:2px}#topbar .wordmark{font-size:1rem;min-width:80px}#topbar .wordmark span{font-size:1.2rem}.top-controls>.text-button{font-size:.8rem;padding:.4rem}.fullscreen{display:none}.languages{gap:0}.languages button{width:44px;padding:7px}.languages svg{width:27px;height:19px}.entry{display:flex;flex-direction:column-reverse;padding:12px 22px 28px;gap:0;min-height:auto;max-width:580px}.entry-art{width:100%;min-height:0;height:300px;flex-shrink:0;overflow:visible;margin:10px 0 20px}.hero-card{width:135px}.hero-card.witch{width:150px;left:34%;top:4px}.hero-card.back-left{left:12%;top:38px;transform:rotate(-22deg)}.hero-card.back-right{right:8%;top:35px;transform:rotate(22deg)}.entry-cauldron{left:35%;bottom:0;width:150px}.entry-cauldron .cauldron{width:150px;height:135px;margin:0}.entry-cauldron .cauldron-rim{height:50px}.entry-cauldron .cauldron-body{height:90px;top:28px}.entry-cauldron .cauldron-body>span{font-size:2rem}.entry-cauldron .cauldron-feet{height:30px;bottom:0;border-width:9px}.entry-cauldron .cauldron-handles{top:30px;height:45px;border-width:5px}.entry-cauldron .brew-surface .cube{width:22px;height:22px}.flying-token .cube{width:37px;height:37px}.token-one{left:9%;bottom:55px}.token-two{right:3%;top:12%}.token-three{left:20%;top:0}.spell-orbit{inset:30px 10% auto;width:80%}.entry-copy{width:100%;max-width:none}.entry h1{font-size:clamp(3.4rem,10vw,4.5rem);margin-bottom:22px;text-align:center;transform:rotate(-2deg)}.entry-line{font-size:1.4rem;text-align:center}.entry-line br{display:none}.entry-note{font-size:.95rem;text-align:center;max-width:none;margin:15px 0 20px}.entry-form{max-width:430px;margin:auto}.entry-credit{text-align:center;max-width:none}.resume{display:block;margin:12px auto}.lobby{padding:25px 18px}.lobby-heading{align-items:start;margin-bottom:28px}.lobby-heading h1{font-size:1.9rem}.lobby-heading button{max-width:140px;font-size:.85rem}.coven-seats{gap:18px;min-height:0}.lobby-seat{width:135px}.seat-portrait{height:185px;margin-bottom:15px}.lobby-seat h2{font-size:1.2rem}.lobby-seat p{font-size:.8rem}.empty-seat{width:135px}.seat-circle{width:100px}.empty-seat button{font-size:.8rem}.lobby-bottom{flex-direction:column;align-items:stretch;gap:25px;margin-top:25px}.mode-choice{display:grid;grid-template-columns:1fr 1fr}.mode-choice button{padding:10px}.mode-choice span{font-size:.8rem}.start-area{max-width:none;text-align:center}.start-area>button{width:100%}.start-area .connection{max-width:none}.character-choice{padding:25px 16px}.character-option>img{max-height:230px}.character-pair{gap:18px}.character-option h2{font-size:1.25rem}.character-option p{font-size:.85rem}.character-option .primary{font-size:.85rem;padding:8px}.starting-stock{gap:8px}.starting-stock .stock-count{font-size:.9rem}.game-table{padding:18px 16px 40px}.phase-banner{min-height:0;gap:15px;margin-bottom:20px;align-items:start}.phase-banner h1{font-size:2rem}.phase-banner p{font-size:.83rem}.phase-actions{min-width:130px;max-width:180px}.phase-actions button{font-size:.85rem;padding:8px 12px}.phase-prompt{font-size:1.05rem}.wait-line{font-size:.75rem}.connection{font-size:.68rem}.opponents{gap:7px;margin-bottom:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.opponent{padding:8px 9px;min-width:0;gap:7px}.opponent.active{padding:7px 8px}.player-number{font-size:1.2rem;min-width:15px}.player-name{font-size:.85rem}.player-state{font-size:.65rem}.mini-circle{font-size:1.3rem}.player-name>small{font-size:.65rem}.worktable{grid-template-columns:minmax(0,1fr);gap:24px;max-width:600px;margin:0 auto}.bench-area>.section-title h2{font-size:1.2rem}.bench{max-width:430px;margin:auto}.bench-resources{gap:8px}.bench-row{min-height:39px;padding:6px 8px}.slot{height:25px;max-width:28px}.slot .cube{width:25px;height:25px}.alchemy-area{display:grid;grid-template-columns:minmax(155px,1fr) minmax(130px,1fr);gap:15px}.brew-summary{grid-row:auto;padding-top:0}.brew-summary h2{font-size:1.2rem}.brew-summary p{font-size:.8rem}.brew-summary .cauldron{width:170px;height:155px;margin-top:15px}.brew-summary .cauldron-rim{height:60px}.brew-summary .cauldron-body{height:100px;top:30px}.brew-summary .cauldron-body>span{font-size:2.2rem}.brew-summary .cauldron-handles{top:37px;height:45px;border-width:6px;left:-13px;right:-13px}.brew-summary .cauldron-feet{height:28px;border-width:10px;bottom:0}.output-counts{gap:10px;padding-bottom:0}.output-counts p{font-size:.75rem}.arcana-row{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;align-self:center}.arcana-token{flex-direction:row;gap:10px;padding:7px 8px;min-width:0;text-align:left;min-height:48px}.arcana-token img{width:33px;height:33px}.arcana-token span{font-size:.8rem;text-align:left}.arcana-token b{float:right;display:inline;font-size:1.1rem}.personality-strip{grid-column:1/-1;margin-top:0;padding-top:16px;gap:15px}.personality-thumb{width:75px;min-width:75px;max-height:115px}.personality-strip h3{font-size:1.1rem}.personality-strip p{font-size:.8rem}.flow-note{grid-column:1/-1;margin-top:0;gap:8px;font-size:.7rem}.draft-area{margin:25px -4px 20px;padding:15px 10px}.draft-hand{gap:15px;padding:8px 0 52px;flex-wrap:wrap;min-height:0}.hand-object{width:clamp(130px,30vw,170px);transform:none;--fan:0deg!important}.hand-object.selected{transform:translateY(-7px);margin-bottom:55px}.card-caption{font-size:.76rem;padding:6px 4px;min-height:38px}.draft-instruction{font-size:.8rem}.draft-area>.section-title{margin-bottom:12px}.recipe-spread{grid-template-columns:repeat(auto-fit,minmax(min(var(--card-size),calc(50% - 10px)),1fr));gap:20px 16px}.recipe-object{max-width:240px}.recipe-collection .section-title h2{font-size:1.2rem}.recipe-collection .section-title>div{gap:2px;flex-wrap:wrap;justify-content:flex-end}.recipe-collection .text-button{font-size:.8rem}.initiative-option{gap:0;font-size:.75rem}.initiative-option span{margin-top:0}.pass-results{margin-top:25px;padding-top:20px}.pass-results .section-title{align-items:start}.pass-results .section-title h2{font-size:1.25rem}.pass-results .section-title button{font-size:.8rem;max-width:140px}.transfer-list{grid-template-columns:1fr;gap:15px}.view-notice{gap:12px}.view-notice p{font-size:.8rem}.view-notice button{font-size:.8rem}.recipe-dialog-layout{grid-template-columns:150px minmax(0,1fr);gap:18px}.recipe-dialog{padding:25px 20px}.recipe-dialog h2{font-size:1.35rem}.recipe-dialog .ingredient-choice{gap:4px}.ingredient-choice>.ingredient-icon{width:20px;height:20px}.ingredient-choice select{font-size:.8rem;padding:8px 3px}.recipe-dialog legend{font-size:.85rem}.recipe-dialog .primary{padding:8px 10px;font-size:.85rem}.recipe-reading{top:10px}.personality-reading{gap:15px}.personality-reading p{font-size:.9rem}.passing-stage{padding-top:70px}.passing-ring{width:300px;height:360px;min-height:360px;margin:20px 0 60px}.passing-seat{width:110px;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-130px) rotate(var(--opposite))}.passing-name{font-size:.85rem;padding:4px}.passing-pot .cauldron{transform:scale(.7);transform-origin:top center;margin-bottom:-25px}.passing-tally{top:105px;font-size:.65rem;left:-5px;right:-5px}.passing-tally strong{font-size:.8rem}.passing-caption{font-size:.9rem}.passing-ring:before{inset:20px 0}.skip-animation{top:15px;right:15px;font-size:.85rem}.finale-stage{padding-top:70px;gap:10px}.victory-sigil{width:210px;height:210px}.winner-portrait{inset:35px}.victory-words{font-size:1.2rem}.victory-score{font-size:1.1rem}.victory-ingredients .cube{width:35px;height:35px}}
 @media(max-width:430px){#topbar{align-items:start;min-height:80px}.top-controls{max-width:235px;gap:0}.top-controls>.text-button{order:4;font-size:.75rem;min-height:35px;padding:4px 8px}.top-controls>.tool-button{width:40px;min-height:44px}.entry{padding-left:18px;padding-right:18px}.entry-art{height:265px}.hero-card.witch{left:31%;width:135px}.hero-card{width:118px}.hero-card.back-left{left:9%}.hero-card.back-right{right:5%}.entry-cauldron{left:31%}.entry h1{font-size:3.4rem}.entry-line{font-size:1.2rem}.entry-note{font-size:.85rem}.join-entry>div{grid-template-columns:minmax(0,1fr) 110px}.join-entry button{font-size:.85rem;padding:8px}.game-table{padding:15px 12px 30px}.phase-banner{flex-wrap:wrap;gap:12px}.phase-banner>div:first-child{flex:1;min-width:185px}.phase-banner h1{font-size:1.85rem}.phase-banner p{font-size:.8rem}.phase-actions{min-width:110px;max-width:140px}.phase-actions button{font-size:.8rem;padding:8px}.bench-row{min-height:34px;padding:4px 5px;gap:5px}.bench-resources{gap:6px}.slot{height:22px;max-width:24px}.slot .cube{width:22px;height:22px;padding:3px}.slots{gap:2px}.bench-row>.ingredient-icon{width:24px;height:24px}.capacity{min-width:29px;font-size:.8rem}.capacity small{font-size:.65rem}.bench-score{width:28%;left:36%;top:5%}.circle-total{font-size:2rem}.alchemy-area{column-gap:14px;grid-template-columns:minmax(145px,1.1fr) minmax(120px,1fr)}.brew-summary .cauldron{width:150px;height:145px}.brew-summary .cauldron-rim{height:55px}.brew-summary .cauldron-body{height:95px;top:26px}.brew-summary .cauldron-handles{top:33px}.arcana-token{gap:6px;padding:6px}.arcana-token img{width:29px;height:29px}.arcana-token span{font-size:.75rem}.arcana-token small{font-size:.65rem}.recipe-spread{gap:18px 13px}.draft-hand{gap:18px 15px}.hand-object{width:calc(50% - 18px);max-width:165px}.hand-object.selected{margin-bottom:58px}.staging-controls{gap:5px;bottom:-54px}.staging-controls button{width:44px;min-width:44px;height:44px}.draft-area{padding:14px 8px}.recipe-dialog-layout{grid-template-columns:1fr}.recipe-reading{position:static;max-width:165px;margin:0 auto 5px}.recipe-dialog h2{text-align:center;margin-right:0}.recipe-dialog .ingredient-choice{gap:7px}.ingredient-choice select{font-size:.85rem;padding:9px 8px}.recipe-dialog .primary{width:100%}.recipe-dialog .quiet{text-align:center}.character-pair{grid-template-columns:1fr;gap:35px}.character-option{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1fr);gap:15px}.character-option>img{max-height:none;width:100%}.character-option>div{text-align:left}.character-option h2{font-size:1.2rem}.character-option p{font-size:.8rem}.character-option .starting-stock{justify-content:flex-start;gap:7px}.character-option .stock-count .ingredient-icon{width:18px;height:18px}.personality-reading{grid-template-columns:1fr}.personality-reading>img{max-width:180px;margin:auto}.personality-reading>div h2{text-align:center;margin:0 0 15px}.rankings>div{gap:10px}.rankings>div>span{gap:6px}.stock-count .ingredient-icon{width:20px;height:20px}dialog{padding:28px 20px}.help-ingredients{gap:10px}.help-ingredients>span{font-size:.8rem}.raven-choices,.scholar-sources{grid-template-columns:1fr}}
 @media(max-height:700px) and (min-width:761px){.entry{padding-top:25px;padding-bottom:25px}.entry-art{min-height:520px}.entry h1{font-size:4rem}.entry-line{font-size:1.4rem}.entry-note{font-size:.9rem;margin-bottom:15px}.entry-credit{margin-top:14px}.entry-cauldron{bottom:0}.victory-sigil{width:180px;height:180px}.winner-portrait{inset:30px}.finale-stage{gap:6px}.passing-ring{height:350px;min-height:350px;margin-bottom:30px}.passing-seat{transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-145px) rotate(var(--opposite))}}
}
