:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e8e2d4;background:#1b1a22;font-family:system-ui,-apple-system,sans-serif}html,body,#root{touch-action:none;height:100%;margin:0;overflow:hidden}.app{flex-direction:column;height:100%;display:flex}.hud{flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem 1rem;display:flex}.hud h1{letter-spacing:.04em;margin:0 1rem 0 0;font-size:1.1rem}.hud button{color:inherit;font:inherit;background:#2c2a36;border:1px solid #4a4658;border-radius:6px;padding:.4rem .8rem}.hud .hint{opacity:.6;font-size:.85rem}.board{flex:1;min-height:0}.seat{vertical-align:middle;border-radius:50%;width:.8rem;height:.8rem;margin-right:.3rem;display:inline-block}.hud .bell{background:#3a3220;border:1px solid #8a7440;border-radius:6px;padding:.35rem .7rem}.legend{opacity:.6;padding:0 1rem .4rem;font-size:.8rem}.hud select{color:inherit;font:inherit;background:#2c2a36;border:1px solid #4a4658;border-radius:6px;padding:.4rem .6rem}button{color:inherit;font:inherit;cursor:pointer;background:#2c2a36;border:1px solid #4a4658;border-radius:6px;padding:.4rem .8rem}button:disabled{opacity:.4;cursor:default}button.primary{color:#fff3d6;background:#6b4a22;border-color:#b08a4a;font-weight:600}button.chosen{background:#4a3f22;border-color:#d9b45a}select{color:inherit;font:inherit;background:#2c2a36;border:1px solid #4a4658;border-radius:6px;padding:.4rem .6rem}.muted{opacity:.6}.small{font-size:.8rem}.row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.setup{box-sizing:border-box;max-width:760px;height:100%;margin:0 auto;padding:1.5rem 1rem;overflow-y:auto}.setup h1{letter-spacing:.05em;color:#f2d27a;margin:0;font-family:Georgia,Times New Roman,serif;font-size:2.2rem}.setup .tagline{opacity:.7;margin-top:.3rem}.setup h2{text-transform:uppercase;letter-spacing:.12em;opacity:.7;margin:1.4rem 0 .6rem;font-size:1rem}.seats{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.8rem;margin-top:.9rem;display:grid}.seat-card{background:#24222c;border:1px solid #3c3848;border-radius:10px;flex-direction:column;align-items:center;gap:.5rem;padding:.9rem;display:flex}.seat-card.spinning svg{animation:.18s infinite alternate wobble}.seat-name{font-weight:600}.pick{gap:.25rem;display:flex}.pick button{padding:.15rem;line-height:0}.actions{margin-top:1.6rem}@keyframes wobble{0%{transform:rotate(-8deg)}to{transform:rotate(8deg)}}.game-hud{gap:.6rem}.who{align-items:center;gap:.55rem;min-width:170px;display:flex}.who-name{font-weight:700}.tray{align-items:center;gap:.45rem;display:flex}.die{width:40px;height:40px}.die.rolling{animation:.22s linear infinite tumble}@keyframes tumble{0%{transform:rotate(0)translateY(0)}50%{transform:rotate(180deg)translateY(-4px)}to{transform:rotate(360deg)translateY(0)}}.reel{background:#15131a;border:1px solid #4a4658;border-radius:8px;gap:2px;padding:3px;display:flex}.reel-face{color:#8a8494;border-radius:5px;place-items:center;width:28px;height:34px;transition:background 60ms;display:grid}.reel-face .glyph{font-size:1.2rem;font-weight:700}.reel-face .glyph.blank{opacity:.5}.reel-face.lit{color:#1b1a22;background:#d9b45a;box-shadow:0 0 10px #d9b45a88}.reel.ringing .reel-face.lit{background:#f2d27a}.moves{gap:4px;min-width:6px;display:flex}.moves .pip{background:#3a3646;border:1px solid #5a5468;border-radius:50%;width:11px;height:11px}.moves .pip.on{background:#f2d27a;border-color:#f2d27a}.toggle{align-items:center;gap:.3rem;font-size:.9rem;display:flex}.overlay{background:#0009;place-items:center;display:grid;position:fixed;inset:0}.overlay .panel{text-align:center;background:#24222c;border:1px solid #b08a4a;border-radius:14px;flex-direction:column;align-items:center;gap:.6rem;padding:1.6rem 2rem;display:flex}.overlay h2{color:#f2d27a;margin:.3rem 0 0;font-family:Georgia,serif}.overlay .row{justify-content:center;margin-top:.6rem}.barrel{background:linear-gradient(90deg,#3a2a18,#5a4026 12%,#2a2420 14% 86%,#5a4026 88%,#3a2a18);border:1px solid #6b5230;border-radius:8px;width:104px;position:relative;overflow:hidden}.barrel-strip{will-change:transform;position:absolute;top:0;left:10px;right:10px}.barrel-face{color:#e8dcc0;box-sizing:border-box;background:#3b342c;border-bottom:1px solid #1d1914;justify-content:center;align-items:center;gap:.35rem;font-size:.8rem;font-weight:600;display:flex}.barrel-face.blankface{color:#8f8574;background:#2e2924;font-weight:400}.barrel-face .glyph{font-size:1.05rem;font-weight:700}.barrel-face .glyph.blank{font-size:.8rem}.barrel-face.lit{color:#1b1a22;background:#d9b45a}.barrel-shade{pointer-events:none;background:linear-gradient(#000000d9,#0000 38% 62%,#000000d9);position:absolute;inset:0}.barrel-marker{border:6px solid #0000;width:0;height:0;position:absolute;top:50%;transform:translateY(-50%)}.barrel-marker.left{border-left-color:#f2d27a;left:0}.barrel-marker.right{border-right-color:#f2d27a;right:0}.barrel.settled .barrel-marker.left{border-left-color:#fff3d0}.pieces{gap:.25rem;display:flex}.pieces button{padding:.15rem;line-height:0}.news{color:#ffe4d6;cursor:pointer;background:#3a1d1d;border:1px solid #c25b5b;border-radius:10px;padding:.6rem 1rem;font-weight:600;animation:.35s ease-out news-in;position:fixed;bottom:1.2rem;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0008}.news.leaving{animation:.45s ease-in forwards news-out}@keyframes news-in{0%{opacity:0;transform:translate(-50%,160%)}to{opacity:1;transform:translate(-50%)}}@keyframes news-out{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,160%)}}.segmented{display:inline-flex}.segmented button{border-radius:0;margin-left:-1px}.segmented button:first-child{border-radius:6px 0 0 6px;margin-left:0}.segmented button:last-child{border-radius:0 6px 6px 0}.hud.tools{padding-top:0}.hud .file{opacity:.6;font-size:.85rem;font-weight:400}.check{align-items:center;gap:.35rem;font-size:.9rem;display:inline-flex}.legend .message{color:#f2d27a;opacity:1}.palette-group{align-items:center;gap:.35rem;display:inline-flex}.palette-name{opacity:.55;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}.palette-group button[draggable]{cursor:grab}.die.used{opacity:.35}.die.pickable{cursor:pointer}.die.chosen{outline-offset:2px;border-radius:8px;outline:3px solid #f2d27a}.pieces button.done{opacity:.45}.zoom{display:inline-flex}.zoom button{border-radius:0;min-width:2.2rem;margin-left:-1px}.zoom button:first-child{border-radius:6px 0 0 6px;margin-left:0}.zoom button:last-child{border-radius:0 6px 6px 0}.cutscene{z-index:20;cursor:pointer;background:#000a;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;animation:.3s ease-out cut-in;display:flex;position:fixed;inset:0}.cutscene.leaving{animation:.3s ease-in forwards cut-out}.cutscene-frame{background:#14121a;border:2px solid #8a7440;border-radius:14px;width:min(92vw,1100px);height:min(70vh,640px);overflow:hidden;box-shadow:0 12px 48px #000c}.cutscene-frame canvas{display:block}.cutscene-caption{color:#f2d27a;text-shadow:0 2px 8px #000;font-size:1.15rem;font-weight:700}.cutscene-skip{color:#fff8;font-size:.8rem}@keyframes cut-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}@keyframes cut-out{to{opacity:0;transform:scale(1.02)}}.hud-right{align-items:center;gap:.6rem;margin-left:auto;display:flex}.zoom-bar{justify-content:center;padding:0 1rem .3rem;display:flex}.die-slot{flex-direction:column;align-items:center;gap:2px;display:flex}.overlay .panel.prize-panel{text-align:center;border:3px solid;max-width:min(92vw,520px);animation:.45s cubic-bezier(.2,1.4,.5,1) prize-pop}.prize-panel-prize{color:#fff;border:3px solid #f2e6c4;border-radius:50%;place-items:center;width:88px;height:88px;margin:0 auto .4rem;font-size:3rem;display:grid;box-shadow:0 0 28px #f2d27a88}@keyframes prize-pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.theme-pick{align-items:center;gap:.4rem;display:inline-flex}.steps-left{color:#f2d27a;white-space:nowrap;font-size:.7rem;font-weight:700;line-height:18px}.setup-home{margin-bottom:.8rem}.landing{touch-action:pan-y;scroll-behavior:smooth;height:100%;overflow-y:auto}.landing h1,.landing h2,.landing h3{color:#f2d27a;font-family:Georgia,Times New Roman,serif}.landing-hero{align-items:center;min-height:min(92vh,860px);display:flex;position:relative;overflow:hidden}.landing-board{pointer-events:none;position:absolute;inset:0 0 0 38%}.landing-board canvas{display:block}.landing-hero:after{content:"";pointer-events:none;background:linear-gradient(90deg,#1b1a22 0% 36%,#1b1a2200 60%),linear-gradient(#1b1a2200 82%,#1b1a22 100%);position:absolute;inset:0}.landing-hero-text{z-index:1;flex-direction:column;gap:.8rem;max-width:520px;padding:2rem clamp(1rem,5vw,4rem);display:flex;position:relative}.landing-hero-text h1{letter-spacing:.04em;text-shadow:0 3px 18px #000;margin:0;font-size:clamp(2.4rem,6vw,4rem);line-height:1.05}.landing-lead{margin:0;font-size:1.25rem;line-height:1.4}.landing-tagline{opacity:.75;margin:0 0 .6rem;font-style:italic}.landing-play{border-radius:10px;padding:.7rem 1.6rem;font-size:1.15rem;box-shadow:0 4px 22px #b08a4a55}.landing-play:hover{background:#7d5828}.landing-link{color:#f2d27a;margin-left:.6rem}.landing-main{max-width:1060px;margin:0 auto;padding:0 clamp(1rem,4vw,2rem) 2rem}.landing-main section{margin:3.5rem 0}.landing-main h2{margin:0 0 .6rem;font-size:clamp(1.6rem,3.5vw,2.2rem)}.landing-intro{opacity:.85;max-width:720px;line-height:1.6}.landing-steps{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;margin:1.6rem 0 0;padding:0;list-style:none;display:grid}.landing-steps li,.landing-feature{background:#24222c;border:1px solid #3c3848;border-radius:12px;padding:1.1rem 1.2rem}.landing-steps h3,.landing-feature h3{margin:.5rem 0 .4rem;font-size:1.15rem}.landing-steps p,.landing-feature p{opacity:.85;margin:0;line-height:1.5}.landing-step-icon{align-items:center;height:48px;display:flex}.landing-glyph{color:#d9b45a;font-size:2.1rem;line-height:1}.landing-themes{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.9rem;margin-top:1.2rem;display:grid}.landing-theme{text-align:left;background:#24222c;border-color:#3c3848;border-radius:12px;flex-direction:column;align-items:flex-start;gap:.45rem;padding:1rem;display:flex}.landing-theme:hover{border-color:#8a7440}.landing-theme.chosen{background:#2e2a24;border-color:#d9b45a;box-shadow:0 0 0 1px #d9b45a}.landing-theme strong{color:#f2d27a;font-family:Georgia,serif;font-size:1.1rem}.landing-theme-art{align-items:center;gap:.2rem;display:flex}.landing-features{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin-top:1.2rem;display:grid}.landing-cta{text-align:center;padding:2rem 0}.landing-footer{text-align:center;border-top:1px solid #2c2a36;padding:1.5rem}@media (width<=760px){.landing-hero{flex-direction:column;align-items:stretch;min-height:0}.landing-board{order:2;height:62vw;position:relative;inset:auto}.landing-hero:after{display:none}.landing-hero-text{max-width:none}}.beta-badge{vertical-align:super;letter-spacing:.12em;text-transform:uppercase;color:#1b1a22;text-shadow:none;background:#d9b45a;border-radius:999px;margin-left:.5em;padding:.15em .55em;font:700 .3em system-ui,sans-serif;display:inline-block}.setup h1 .beta-badge{font-size:.4em}.landing a,.setup-feedback{color:#f2d27a}.setup-feedback{margin-left:auto}.landing-beta{opacity:.9;background:#24222c;border:1px dashed #8a7440;border-radius:8px;margin:0;padding:.6rem .8rem}.landing-footer-links{flex-wrap:wrap;justify-content:center;gap:1.4rem;margin-bottom:.6rem;display:flex}.landing-footer p{margin:0}.landing-support{background:#24222c;border:1px solid #8a7440;border-radius:14px;padding:1.6rem 1.8rem}.landing-tip{background:#f2d27a;border-radius:10px;margin-top:.4rem;padding:.65rem 1.4rem;font-weight:700;text-decoration:none;display:inline-block;color:#1b1a22!important}.landing-tip:hover{background:#ffe39a}.setup-feedback+.setup-feedback{margin-left:.8rem}.landing-support{align-items:center;gap:2rem;display:flex}.tip-qr{flex-direction:column;flex-shrink:0;align-items:center;gap:.5rem;margin:0;display:flex}.tip-qr-code{background:#fff;border:3px solid #d9b45a;border-radius:12px;width:150px;height:150px;padding:8px}.tip-qr-code svg{width:100%;height:100%;display:block}.tip-qr figcaption{color:#f2d27a;font-size:.85rem}@media (width<=760px){.tip-qr{display:none}}
