/* Card-first table, using the existing hub's slate and cyan interface tokens. */
.exp-app:has(.funhouse-board)>.exp-snow{display:none}
.funhouse-board{display:flex;flex-direction:column;gap:14px;width:100%;height:100%;min-height:0;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;padding:18px max(16px,calc((100% - 1200px)/2));background:var(--pm-ui-ink,#292d32);color:var(--pm-ui-text,#edf3f8)}
.funhouse-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.funhouse-heading .exp-eyebrow{font-size:10px;letter-spacing:.14em;color:var(--pm-ui-muted)}.funhouse-heading h1{margin:4px 0;font:650 clamp(23px,3vw,28px)/1.2 system-ui,sans-serif;color:var(--pm-ui-text)}.funhouse-heading p{margin:0;font-size:13px;color:var(--pm-ui-muted)}
.funhouse-tools{display:flex;align-items:center;gap:8px}.funhouse-tools .exp-button,.funhouse-tools .exp-icon-button{min-width:44px;min-height:44px;border:0;border-radius:50px;padding:10px 15px;background:var(--pm-ui-surface-raised);color:var(--pm-ui-text);font:600 12px/1.2 system-ui,sans-serif;box-shadow:none}.funhouse-tools .exp-icon-button{width:44px;padding:10px}
.funhouse-status{display:flex;align-items:center;gap:24px;font-size:11px;color:var(--pm-ui-muted)}.funhouse-status>span{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.funhouse-status b{font-size:17px;font-weight:650;color:var(--pm-ui-text)}.funhouse-status b small{font-size:11px;font-weight:400;color:var(--pm-ui-muted);margin-left:2px}.funhouse-status .funhouse-ace-marks{display:flex;gap:4px;align-self:center;margin-left:2px}.funhouse-ace-marks i{width:6px;height:6px;border:1px solid var(--pm-ui-line);border-radius:50%;background:transparent}.funhouse-ace-marks i.found{border-color:var(--pm-ui-accent);background:var(--pm-ui-accent)}.funhouse-status .funhouse-tickets{margin-left:auto;align-items:center;gap:5px}
.funhouse-room-progress{display:block;flex:none;width:100%;height:3px;border:0;border-radius:4px;overflow:hidden;background:var(--pm-ui-surface-raised);appearance:none;color:var(--pm-ui-accent)}.funhouse-room-progress::-webkit-progress-bar{background:var(--pm-ui-surface-raised)}.funhouse-room-progress::-webkit-progress-value{background:var(--pm-ui-accent);border-radius:4px}.funhouse-room-progress::-moz-progress-bar{background:var(--pm-ui-accent)}
.funhouse-table-hint{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:13px;line-height:1.4;color:var(--pm-ui-text)}.funhouse-table-hint small{font-size:11px;color:var(--pm-ui-muted)}
.funhouse-table-scroll{flex:1 0 440px;min-height:440px;max-height:490px;min-width:0;max-width:100%;overflow:auto;overscroll-behavior:contain;scroll-padding:18px;touch-action:pan-x pan-y;border:1px solid var(--pm-ui-line);border-radius:22px;background:var(--pm-ui-surface,#30353b);box-shadow:none;scrollbar-color:var(--pm-ui-line) transparent}
.funhouse-table{display:grid;grid-template-columns:repeat(13,minmax(60px,1fr));grid-template-rows:repeat(4,minmax(96px,1fr));gap:16px 12px;padding:20px 18px 26px;min-width:980px;min-height:100%;height:100%;box-sizing:border-box}
.funhouse-card{position:relative;display:block;width:64px;height:96px;min-width:44px;min-height:96px;aspect-ratio:2/3;justify-self:center;align-self:center;border:0;border-radius:7px;padding:0;background:transparent;perspective:700px;isolation:isolate;overflow:visible;color:var(--pm-ui-muted);cursor:pointer;transition:transform .18s ease,filter .18s ease}.funhouse-card-inner{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.7,.2,1)}.funhouse-card.face-up .funhouse-card-inner{transform:rotateY(180deg)}
.funhouse-card-back,.funhouse-card-front{position:absolute;inset:0;backface-visibility:hidden;border:1px solid #9f8762;border-radius:7px;overflow:hidden;box-shadow:0 3px 6px #11181f38;background:#46232c}.funhouse-card-back img{width:100%;height:100%;object-fit:cover}.funhouse-card-front{transform:rotateY(180deg);background:var(--pm-ui-surface-raised)}.funhouse-card-front>img{width:100%;height:100%;object-fit:cover}.funhouse-card-front>span{position:absolute;inset:auto 0 0;padding:10px 3px 4px;background:linear-gradient(transparent,#17202dee 25%);font-size:8px;line-height:1.25;color:#fff;max-height:50%;overflow:hidden}.funhouse-card-rank{position:absolute;top:3px;left:3px;padding:1px 3px;background:#fff3d9;border-radius:3px;font-size:11px;color:#292d32}.funhouse-card-rank.red{color:#ac3047}
.funhouse-coordinate{position:absolute;left:0;right:0;bottom:-14px;text-align:center;font:500 9px/1 system-ui,sans-serif;color:var(--pm-ui-muted);white-space:nowrap}.funhouse-card:disabled{opacity:.66;cursor:default}.funhouse-card.available .funhouse-card-back{outline:2px solid var(--pm-ui-accent);outline-offset:3px;box-shadow:0 4px 9px #11181f55}.funhouse-card.available .funhouse-coordinate{color:var(--pm-ui-accent)}.funhouse-card.current .funhouse-card-front{outline:2px solid var(--pm-ui-brass);outline-offset:3px}.funhouse-card.current .funhouse-coordinate{color:var(--pm-ui-brass)}.funhouse-card:not(:disabled):hover{transform:translateY(-3px);filter:brightness(1.08)}.funhouse-card:focus-visible{outline:3px solid var(--pm-ui-focus);outline-offset:6px}.funhouse-table-scroll:focus-visible{outline:2px solid var(--pm-ui-focus);outline-offset:2px}
.funhouse-dock{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:none}.funhouse-dock .exp-party-strip{flex:1;min-width:0;margin:0;padding:0}.funhouse-dock>.exp-button{min-height:44px;border-radius:30px;background:var(--pm-ui-accent);color:var(--pm-ui-on-accent);border:0;padding:12px 20px}.funhouse-suits{display:flex;gap:16px;justify-content:center;flex:0 0 100%;margin:0;color:var(--pm-ui-muted);font-size:11px}.funhouse-suits span{display:flex;align-items:center;gap:5px}.funhouse-suits b{font-size:14px;color:var(--pm-ui-brass)}
@media(min-width:1000px) and (min-height:700px){.funhouse-board{gap:12px;padding-top:16px;padding-bottom:12px}.funhouse-table-scroll{flex:1 1 440px;min-height:440px;max-height:490px}}
@media(max-width:600px){.funhouse-board{gap:12px;padding:14px 12px 12px}.funhouse-heading{gap:8px}.funhouse-heading h1{font-size:24px}.funhouse-heading p{font-size:12px}.funhouse-heading .exp-eyebrow{font-size:9px}.funhouse-tools{gap:6px}.funhouse-tools .exp-button{padding:10px 13px}.funhouse-status{gap:12px;flex-wrap:wrap;font-size:10px}.funhouse-status b{font-size:15px}.funhouse-status>span{gap:4px}.funhouse-status .funhouse-ace-marks{display:none}.funhouse-ticket-label{display:none}.funhouse-tickets img{width:22px;height:16px}.funhouse-table-hint{font-size:12px;display:block}.funhouse-table-hint small{display:block;margin-top:3px;font-size:10px}.funhouse-table-scroll{flex:0 0 480px;min-height:480px;max-height:none;border-radius:18px}.funhouse-table{min-width:980px;grid-template-rows:repeat(4,96px);gap:16px 12px;padding:18px 16px 24px;height:480px}.funhouse-dock{gap:10px}.funhouse-dock .exp-party-strip{flex-basis:100%}.funhouse-dock>.exp-button{width:100%}.funhouse-suits{gap:12px;font-size:10px}}
@media(max-height:500px) and (min-width:601px){.funhouse-board{gap:10px;padding:12px 16px}.funhouse-heading h1{font-size:22px}.funhouse-heading p{display:none}.funhouse-status{font-size:10px}.funhouse-table-scroll{flex:0 0 480px;max-height:none}.funhouse-table-hint{font-size:12px}}
.exp-modal.funhouse-modal{width:min(920px,calc(100vw - 30px));max-width:920px;padding:0;overflow:hidden;background:#1d1923;border:1px solid #bd925b80;border-radius:16px;max-height:calc(100dvh - 38px);display:flex;flex-direction:column;box-shadow:0 15px 90px #000a}.funhouse-modal>.exp-icon-button,.funhouse-modal>.exp-close,.funhouse-modal>button:first-child{position:absolute;right:10px;top:10px;z-index:10;background:#19151ce8;color:#ffe3ac;border-radius:50%;min-width:44px;min-height:44px}.funhouse-room,.funhouse-cinematic{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);min-height:0;overflow:hidden;max-height:calc(100dvh - 40px)}.funhouse-room-art,.funhouse-cinematic>figure{position:relative;min-height:200px;min-width:0;margin:0;overflow:hidden;background:#261f29}.funhouse-room-art>img,.funhouse-cinematic>figure>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.funhouse-room-art:after,.funhouse-cinematic>figure:after{content:'';position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#17121cdd);pointer-events:none}.funhouse-room-art figcaption,.funhouse-cinematic figcaption{position:absolute;left:18px;bottom:15px;right:18px;color:#ffe6b3;font-size:11px;text-transform:uppercase;letter-spacing:1.3px;z-index:2;text-shadow:0 1px 3px #000}.funhouse-reveal-card{position:absolute;top:16px;left:16px;width:52px;height:74px;perspective:700px;z-index:3}.funhouse-reveal-back,.funhouse-reveal-face{position:absolute;inset:0;display:grid;place-items:center;backface-visibility:hidden;border:2px solid #d2ae6c;border-radius:5px;background:#f9e6bc;box-shadow:0 4px 12px #0007;overflow:hidden;font-family:Georgia,serif;font-size:20px;color:#af3650}.funhouse-reveal-back{animation:funhouseBackTurn .7s both}.funhouse-reveal-back img{width:100%;height:100%;object-fit:cover}.funhouse-reveal-face{animation:funhouseFaceTurn .7s both}.funhouse-room-reading{min-height:0;overflow:auto;overscroll-behavior:contain;padding:27px 23px 15px;scrollbar-color:#c49b63 #211b27}.funhouse-room h1,.funhouse-cinematic h1{font-family:Georgia,serif;color:#ffe0a2;font-size:clamp(23px,3vw,32px);line-height:1.15;margin:8px 0 14px}.funhouse-room-story,.funhouse-cinematic-copy>p{font-size:14px;line-height:1.75;color:#e2d3c6;margin:0 0 18px}.funhouse-room-choices{display:flex;flex-direction:column;gap:10px}.funhouse-room-choices .exp-button{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid #a57e5066;background:linear-gradient(135deg,#3c2c38,#2b2330);min-height:64px;padding:12px 14px;white-space:normal}.funhouse-room-choices .exp-button:hover{background:#513440;border-color:#efbc71}.funhouse-room-choices strong{font-size:13px;color:#ffe1a6}.funhouse-room-choices span{font-size:12px;color:#ccbeb4;line-height:1.5;font-weight:400}.funhouse-room>footer,.funhouse-cinematic>footer{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 15px;padding:13px 18px;background:#17141c;border-top:1px solid #a4804d55}.funhouse-room>footer>.exp-button,.funhouse-cinematic>footer>.exp-button{min-height:44px;min-width:170px;background:#8e354b;border-color:#d58b6a;color:#fff1d2}.funhouse-room footer small,.funhouse-cinematic footer small{font-size:11px;color:#bbaa9b}.funhouse-outcome{background:#29433a80;border:1px solid #83b7a080;border-radius:10px;padding:15px;color:#e5e1c9}.funhouse-outcome h2{font-family:Georgia,serif;font-size:19px;color:#b4edcc;margin:0 0 10px}.funhouse-outcome p{line-height:1.7;font-size:14px}.funhouse-outcome strong{font-size:12px}.funhouse-revisit{font-size:12px;color:#bca88d;border-top:1px solid #a4804d55;padding-top:14px;line-height:1.6}.funhouse-cinematic-copy{display:flex;flex-direction:column;justify-content:center;padding:35px 27px;overflow:auto;min-height:260px}.funhouse-cinematic>figure>img{animation:funhouseSceneArrive 1.1s both}.funhouse-curtain{position:absolute;top:0;bottom:0;width:51%;background:repeating-linear-gradient(90deg,#74243c,#381326 18%,#7f2e44 35%);z-index:3;pointer-events:none;animation:funhouseCurtainOpen 1.1s cubic-bezier(.2,.7,.2,1) both}.funhouse-curtain.left{left:0;transform-origin:left}.funhouse-curtain.right{right:0;transform-origin:right}.funhouse-help{max-width:620px;padding:15px;font-size:14px;line-height:1.8}.funhouse-help h1{font-family:Georgia,serif;color:#ffe1a6;font-size:28px}.funhouse-help .exp-button{min-height:44px}
@keyframes funhouseBackTurn{0%,20%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@keyframes funhouseFaceTurn{0%,20%{transform:rotateY(180deg)}100%{transform:rotateY(0)}}@keyframes funhouseCurtainOpen{from{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes funhouseSceneArrive{from{transform:scale(1.045);filter:brightness(.6)}to{transform:scale(1);filter:brightness(1)}}

@media(max-width:600px){.exp-modal.funhouse-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:12px}.funhouse-room,.funhouse-cinematic{display:flex;flex-direction:column;max-height:calc(100dvh - 22px)}.funhouse-room-art,.funhouse-cinematic>figure{min-height:145px;height:145px;flex:0 0 145px}.funhouse-room-art>img,.funhouse-cinematic>figure>img{object-position:center 45%}.funhouse-room-art figcaption,.funhouse-cinematic figcaption{left:13px;bottom:10px;font-size:9px}.funhouse-reveal-card{width:39px;height:55px;top:12px;left:12px}.funhouse-reveal-face{font-size:16px}.funhouse-room-reading{padding:16px 15px 12px}.funhouse-room h1,.funhouse-cinematic h1{font-size:24px;margin:6px 0 10px}.funhouse-room-story,.funhouse-cinematic-copy>p{font-size:12px;line-height:1.65;margin-bottom:14px}.funhouse-room-choices{gap:8px}.funhouse-room-choices .exp-button{padding:10px 12px;min-height:60px}.funhouse-room-choices strong{font-size:12px}.funhouse-room-choices span{font-size:11px}.funhouse-room>footer,.funhouse-cinematic>footer{padding:10px 13px;flex-shrink:0}.funhouse-room footer small,.funhouse-cinematic footer small{font-size:10px}.funhouse-room footer .exp-button,.funhouse-cinematic footer .exp-button{width:100%}.funhouse-cinematic-copy{padding:20px 17px;min-height:150px}.funhouse-outcome{padding:12px}.funhouse-outcome p{font-size:12px}.funhouse-outcome h2{font-size:18px}}
@media(max-height:500px) and (min-width:601px){.exp-modal.funhouse-modal{max-height:calc(100dvh - 16px)}.funhouse-room,.funhouse-cinematic{max-height:calc(100dvh - 18px)}.funhouse-room-reading{padding:16px 18px 10px}.funhouse-room h1,.funhouse-cinematic h1{font-size:23px;margin:5px 0 10px}.funhouse-room-story,.funhouse-cinematic-copy>p{font-size:12px;line-height:1.6}.funhouse-room-art,.funhouse-cinematic>figure{min-height:0}.funhouse-cinematic-copy{min-height:0;padding:18px}.funhouse-room>footer,.funhouse-cinematic>footer{padding:8px 12px}.funhouse-room-choices .exp-button{padding:10px;min-height:60px}}
.funhouse-calm *{animation:none!important;transition:none!important}.funhouse-calm .funhouse-reveal-back{display:none}.funhouse-calm .funhouse-reveal-face{transform:none}.funhouse-calm .funhouse-curtain{display:none}@media(prefers-reduced-motion:reduce){.funhouse-reveal-back,.funhouse-curtain{display:none}.funhouse-reveal-face{transform:none}}.funhouse-stage-label{display:block;color:#d6b07d;font-size:11px;margin:-5px 0 12px}

.funhouse-room-static .funhouse-reveal-back,.funhouse-scene-continuation .funhouse-curtain{display:none}.funhouse-room-static .funhouse-reveal-face,.funhouse-scene-continuation>figure>img{animation:none;transform:none}
/* Reserve the resource rail, then constrain the scene itself rather than its content. */
.exp-overlay:has(>.funhouse-modal){position:fixed;inset:0;box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr);place-items:center;padding:64px 8px 8px;overflow:hidden}
.exp-overlay:has(>.funhouse-modal)>.exp-dialog-wallet{top:8px;height:46px;max-height:46px;box-sizing:border-box}
.exp-overlay>.exp-modal.funhouse-modal{box-sizing:border-box;width:min(920px,100%);height:min(650px,100%);max-height:100%;min-height:0;max-width:100%;margin:0;padding:0;gap:0;align-items:stretch;justify-content:flex-start;overflow:hidden}
.exp-modal.funhouse-modal>.funhouse-room,.exp-modal.funhouse-modal>.funhouse-cinematic{box-sizing:border-box;flex:1;min-height:0;height:100%;max-height:100%;width:100%;grid-template-rows:minmax(0,1fr) auto}
.funhouse-room>.funhouse-room-art,.funhouse-cinematic>figure{grid-row:1;min-height:0;box-sizing:border-box}
.funhouse-room>.funhouse-room-reading,.funhouse-cinematic>.funhouse-cinematic-copy{grid-row:1;box-sizing:border-box;min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;scroll-padding:12px;overscroll-behavior:contain}
.funhouse-room>footer,.funhouse-cinematic>footer{grid-row:2;box-sizing:border-box;min-height:0;flex:none}
@media(max-width:600px){.exp-modal.funhouse-modal>.funhouse-room,.exp-modal.funhouse-modal>.funhouse-cinematic{display:flex;flex-direction:column}.funhouse-room>.funhouse-room-reading,.funhouse-cinematic>.funhouse-cinematic-copy{flex:1 1 0;min-height:0;max-height:none}.funhouse-room>.funhouse-room-art,.funhouse-cinematic>figure{flex:0 0 125px;min-height:125px;height:125px}.funhouse-cinematic-copy{justify-content:flex-start}}
@media(max-height:500px) and (min-width:601px){.exp-overlay:has(>.funhouse-modal){padding-top:55px;padding-bottom:6px}.exp-overlay:has(>.funhouse-modal)>.exp-dialog-wallet{height:40px;max-height:40px}.exp-modal.funhouse-modal>.funhouse-room,.exp-modal.funhouse-modal>.funhouse-cinematic{display:grid;grid-template-rows:minmax(0,1fr) auto}.funhouse-cinematic-copy{justify-content:flex-start}.funhouse-room>footer,.funhouse-cinematic>footer{padding:8px 12px}}
/* A complete table and the party fit together on a wide, tall play surface. */

/* A committed check has one saved D20 result; movement is cosmetic only. */
@media(prefers-reduced-motion:reduce){.funhouse-board *,.funhouse-modal *{animation:none!important;transition:none!important}}
/* Shared dialog surfaces keep story art prominent and controls familiar. */
.exp-overlay>.exp-modal.funhouse-modal{background:var(--pm-ui-surface);border-color:var(--pm-ui-line);border-radius:22px;box-shadow:0 20px 60px var(--pm-ui-shadow);color:var(--pm-ui-text)}
.funhouse-room h1,.funhouse-cinematic h1,.funhouse-help h1{font-family:system-ui,sans-serif;font-weight:650;color:var(--pm-ui-text)}
.funhouse-room-story,.funhouse-cinematic-copy>p{color:var(--pm-ui-text)}
.funhouse-room-choices .exp-button{background:var(--pm-ui-surface-raised);border:1px solid var(--pm-ui-line);border-radius:16px;box-shadow:none}
.funhouse-room-choices .exp-button:hover{background:var(--pm-ui-surface-soft);border-color:var(--pm-ui-accent)}
.funhouse-room-choices strong{color:var(--pm-ui-text)}.funhouse-room-choices span{color:var(--pm-ui-muted)}
.funhouse-room>footer,.funhouse-cinematic>footer{background:var(--pm-ui-ink);border-color:var(--pm-ui-line)}
.funhouse-room footer .exp-button,.funhouse-cinematic footer .exp-button,.funhouse-help>.exp-button{background:var(--pm-ui-accent);color:var(--pm-ui-on-accent);border:0;border-radius:30px;min-height:48px;box-shadow:none}
.funhouse-tools .exp-button,.funhouse-tools .exp-icon-button{min-height:48px;min-width:48px}.funhouse-tools .exp-icon-button{width:48px}
.funhouse-table-scroll{min-height:470px;max-height:490px}.funhouse-table{grid-template-rows:repeat(4,minmax(90px,1fr))}.funhouse-card{width:60px;height:90px;min-height:90px}
.funhouse-dock .exp-party-card{min-height:48px}
@media(min-width:1000px) and (min-height:700px){.funhouse-board{gap:9px;padding-bottom:8px}.funhouse-table-scroll{min-height:470px}}
@media(max-width:600px){.funhouse-table-scroll{min-height:480px}.exp-overlay>.exp-modal.funhouse-modal{border-radius:18px}}
.funhouse-room-choices .funhouse-check-target{color:#f5d098;font-size:11px;letter-spacing:.02em}.funhouse-room-choices .funhouse-check-success{color:#bee3c9;font-size:11px}.funhouse-room-choices .funhouse-check-failure{color:#f1b0b7;font-size:11px}
.funhouse-dice-receipt{display:flex;align-items:center;gap:14px;background:#172e2b;border:1px solid #70b09b88;border-radius:12px;padding:12px;margin:0 0 12px;text-align:left}.funhouse-dice-receipt.failure{background:#3c222d;border-color:#d27a8888}.funhouse-die{position:relative;width:74px;height:82px;flex:0 0 74px;filter:drop-shadow(0 4px 7px #0005);transform-origin:50% 55%}.funhouse-die svg{display:block;width:100%;height:100%}.funhouse-die .die-shell{fill:#e6c286;stroke:#fff0bd;stroke-width:2}.funhouse-die .die-facets{fill:none;stroke:#976a3f;stroke-width:1.6;stroke-linejoin:round}.funhouse-die-final,.funhouse-die-count{position:absolute;top:31px;left:0;right:0;height:27px;display:block;text-align:center;color:#422638;font:700 24px/27px Georgia,serif}.funhouse-die-count{display:none;overflow:hidden}.funhouse-die-count>span{display:block}.funhouse-die-count b{display:block;height:27px;font:700 24px/27px Georgia,serif}.funhouse-dice-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.funhouse-dice-copy>span{font-size:12px;color:#d8c7b5}.funhouse-dice-copy strong{font-family:Georgia,serif;font-size:23px;color:#b9eed4}.failure .funhouse-dice-copy strong{color:#ffbac3}.funhouse-dice-copy small{font-size:11px;color:#d6c3b9;line-height:1.5}.is-rolling .funhouse-die{animation:funhouseDiceTumble 1s cubic-bezier(.15,.7,.25,1) both}.is-rolling .funhouse-die-final{animation:funhouseDieNumberArrive 1s steps(1,end) both}.is-rolling .funhouse-die-count{display:block;animation:funhouseDieCountHide 1s steps(1,end) both}.is-rolling .funhouse-die-count>span{animation:funhouseDieCount 1s steps(19,end) both}
@keyframes funhouseDiceTumble{0%{transform:translateY(-8px) rotate(-22deg) scale(.82)}18%{transform:translateY(3px) rotate(32deg) scale(.96)}38%{transform:translateY(-6px) rotate(-27deg) scale(1.05)}58%{transform:translateY(2px) rotate(18deg)}78%{transform:translateY(-3px) rotate(-7deg)}100%{transform:translateY(0) rotate(0) scale(1)}}@keyframes funhouseDieCount{from{transform:translateY(0)}to{transform:translateY(-513px)}}@keyframes funhouseDieNumberArrive{0%,99%{opacity:0}100%{opacity:1}}@keyframes funhouseDieCountHide{0%,99%{visibility:visible}100%{visibility:hidden}}
.funhouse-calm .funhouse-die-final{opacity:1;animation:none}.funhouse-calm .funhouse-die-count{display:none}.funhouse-calm .funhouse-die{animation:none}
@media(max-width:600px){.funhouse-dice-receipt{gap:11px;padding:10px}.funhouse-dice-copy strong{font-size:20px}.funhouse-dice-copy small{font-size:10px}.funhouse-die{width:64px;height:72px;flex-basis:64px}.funhouse-die-final,.funhouse-die-count{top:26px}}
@media(prefers-reduced-motion:reduce){.funhouse-die-final{opacity:1!important;animation:none!important}.funhouse-die-count{display:none!important}.funhouse-die{animation:none!important}}
