/* Dream board, scene changes and collectible deck. */
.art{background-size:var(--atlas-size,600% 300%)}
.scene-enter{animation:scene-arrive .65s cubic-bezier(.16,1,.3,1) both}
@keyframes scene-arrive{from{opacity:0;transform:translateY(22px) scale(.982);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
.scene-enter .card-wrap{animation:deal-in .6s cubic-bezier(.18,.75,.2,1.18) both}
.scene-enter .card-wrap:nth-child(2){animation-delay:.08s}.scene-enter .card-wrap:nth-child(3){animation-delay:.16s}.scene-enter .card-wrap:nth-child(4){animation-delay:.24s}.scene-enter .card-wrap:nth-child(5){animation-delay:.32s}.scene-enter .card-wrap:nth-child(6){animation-delay:.4s}
@keyframes deal-in{from{opacity:0;transform:translateY(50px) rotateY(75deg) rotate(-5deg)}to{opacity:1;transform:none}}
.card-wrap.correct{animation:correct-glow 1.1s ease-in-out 2}
@keyframes correct-glow{50%{filter:drop-shadow(0 0 14px #efd187);transform:translateY(-5px)}}
.waiting-art .card-back{animation:card-breathe 3s ease-in-out infinite}.waiting-art .card-back:nth-child(2){animation-delay:-1s}.waiting-art .card-back:nth-child(3){animation-delay:-2s}
@keyframes card-breathe{50%{transform:translateY(-12px) rotate(3deg);box-shadow:0 16px 20px #0003}}
.pony{padding:0;overflow:visible;position:relative;font-size:0;background:transparent!important;border:0;box-shadow:none}
.pony-sprite{display:block;width:100%;height:100%;background-image:url('/assets/pony-sprites.webp');background-size:600% 400%;background-position:var(--pony-x) 0%;background-repeat:no-repeat;filter:drop-shadow(0 4px 2px #0004)}
.seat .pony{width:85px;height:85px}.player-top .pony{width:55px;height:55px}.roster-row .pony{width:49px;height:49px}.podium-row .pony{width:55px;height:55px}
.dream-board{position:relative;width:100%;height:clamp(450px,54vw,640px);isolation:isolate;border:8px solid #a77c46;border-radius:28px;overflow:hidden;background:#193c39 url('/assets/board-background.webp') center/cover;box-shadow:0 18px 50px #0006,inset 0 0 0 2px #e8c986;animation:board-reveal 1s ease-out both}
@keyframes board-reveal{from{opacity:0;transform:scale(1.04);filter:brightness(1.7)}to{opacity:1;transform:none;filter:brightness(1)}}
.dream-board:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#09272170,#09272108 45%,#0a211c25);z-index:0;pointer-events:none}
.board-mist{position:absolute;width:140%;height:35%;left:-20%;top:3%;background:radial-gradient(ellipse,#fcf4d730,transparent 65%);filter:blur(20px);animation:mist-drift 16s ease-in-out infinite alternate;pointer-events:none}
@keyframes mist-drift{to{transform:translate(6%,12%)}}
.route-svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;filter:drop-shadow(0 2px 2px #051a17b0)}
.dream-stop{position:absolute;z-index:2;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;background:linear-gradient(145deg,#f3ddb0,#bd9f62);border:1px solid #fbedd0aa;box-shadow:0 3px 0 #695536,0 4px 7px #0007;color:#3a462f;text-align:center;display:grid;place-items:center;font-size:11px;line-height:1;transition:filter .3s,box-shadow .3s}
.dream-stop:nth-of-type(3n){border-radius:40% 60% 45% 50%}.dream-stop:hover{z-index:9;filter:brightness(1.2)}
.dream-stop small{position:absolute;right:-8px;top:-7px;border-radius:8px;background:#162f28ec;padding:3px;color:#faf0d6;font-size:9px;border:1px solid #efc58155}
.dream-stop.lava{background:radial-gradient(circle,#ffbc54,#ec632e);border-color:#ffe2a4;box-shadow:0 0 15px #ff602daa,0 3px 0 #86241c;width:31px;height:31px;font-size:19px}
.dream-stop.dream{background:radial-gradient(circle,#fff4b0,#e8c671);border-color:#fffae3;box-shadow:0 0 13px #f3d79199,0 3px 0 #88743d;width:31px;height:31px;font-size:22px;color:#a56528}
.dream-stop.portal{background:radial-gradient(circle,#c5c5ff,#7c83df);border-color:#c9deff;box-shadow:0 0 16px #8e83e899,0 3px 0 #45477b;width:31px;height:31px;font-size:20px}
.dream-stop.start-stop{background:#d8f0d0;color:#375c44;width:33px;height:33px;font-size:20px;box-shadow:0 0 14px #c1efcd66}
.dream-stop.triggered{animation:cell-trigger .6s ease-in-out infinite;z-index:4}
@keyframes cell-trigger{50%{transform:translate(-50%,-50%) scale(1.5);filter:brightness(1.5);box-shadow:0 0 35px currentColor}}
.horse-layer{position:absolute;inset:0;z-index:5;pointer-events:none}
.horse-pawn{position:absolute;width:58px;height:58px;transform:translate(-50%,-70%);will-change:transform,left,top}
.horse-bob{width:100%;height:100%;position:relative;z-index:1}
.horse-shadow{position:absolute;left:25%;right:15%;height:9px;bottom:3px;background:#001b16aa;filter:blur(2px);border-radius:50%;transform:rotate(-8deg)}
.pawn-name{position:absolute;left:50%;top:90%;transform:translateX(-50%);font-size:9px;white-space:nowrap;font-weight:700;background:#18332cf0;border:1px solid var(--pony);color:#fff7df;padding:3px 5px;border-radius:5px;box-shadow:0 2px 3px #0003}
.horse-pawn.moving .horse-bob{animation:horse-bob .3s ease-in-out infinite}.horse-pawn.moving .pony-sprite{animation:gallop-frames .4s step-end infinite}.horse-pawn.backward .pony-sprite{transform:scaleX(-1)}
@keyframes horse-bob{50%{transform:translateY(-4px) rotate(-5deg)}}
@keyframes gallop-frames{0%,24.9%{background-position-y:0%}25%,49.9%{background-position-y:33.3333%}50%,74.9%{background-position-y:66.6667%}75%,100%{background-position-y:100%}}
.board-event{position:absolute;z-index:10;bottom:10px;left:50%;transform:translateX(-50%);width:max-content;max-width:92%;border:1px solid #edce8c88;background:#173a30ed;box-shadow:0 5px 20px #0005;padding:12px 19px;border-radius:12px;color:#f6ecd5;text-align:center;font-size:14px;pointer-events:none}
.board-event.lava{background:#633329ef;border-color:#ffbc78}.board-event.dream{background:#70603bef;border-color:#fff1ac}.board-event.portal{background:#3d426eef;border-color:#bfc3ff}
.board-legend{display:flex;justify-content:center;gap:14px;margin:18px 0 8px;flex-wrap:wrap;font-size:13px}.board-legend>span{border:1px solid #ffffff22;border-radius:9px;padding:8px 12px;background:#ffffff05}.board-legend b{margin-left:8px}.board-legend .lava b{color:#f49b6c}.board-legend .dream b{color:#f0cf8b}.board-legend .portal b{color:#b5b5ef}
.board-rule-note{text-align:center;color:var(--muted);font-size:12px}.travel-log{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:15px}.event-chip{font-size:12px;padding:7px 10px;border-radius:8px;background:#ffffff09;border:1px solid #ffffff16;color:#e4e9d7}.event-chip.lava{border-color:#f5966860}.event-chip.portal{border-color:#aaa8f170}.event-chip.dream{border-color:#e4c38766}
.collection-link{grid-column:1/-1;text-align:center}.collection-link .quiet{color:var(--gold)}
#collection{max-width:1100px;width:94vw;max-height:90svh;padding:30px}#collection h2{margin-bottom:10px}#collection>div>p{font-size:14px}
.collection-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:17px;margin:25px 0}.collection-card{padding:0;border:0;background:none;text-align:center;transition:transform .2s}.collection-card:hover{transform:translateY(-5px)}.collection-card .art{display:block;aspect-ratio:2/3;width:100%;border:3px solid #e6d9b4;border-radius:10px;box-shadow:0 5px 12px #0003}.collection-card small{display:block;font-size:12px;color:var(--gold);margin-top:7px;letter-spacing:1px}.collection-nav{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:18px}.collection-nav span{color:var(--muted);font-size:14px}
@media(max-width:740px){.dream-board{height:480px;border-width:5px;border-radius:20px}.dream-stop{width:19px;height:19px;font-size:8px}.dream-stop.lava,.dream-stop.portal,.dream-stop.dream{width:24px;height:24px;font-size:15px}.dream-stop small{font-size:8px;right:-6px;top:-8px;padding:2px}.horse-pawn{width:39px;height:39px}.pawn-name{font-size:7px;padding:2px 3px}.board-event{font-size:12px;padding:9px 12px;bottom:8px}.board-legend{gap:7px;font-size:11px}.board-legend>span{padding:7px 8px}.board-legend b{margin-left:4px}.board-rule-note{font-size:11px}.board-heading h2{font-size:22px}.board-heading .eyebrow{display:block;margin-bottom:6px}.board-heading p{font-size:12px}.seat .pony{width:65px;height:65px}.collection-grid{grid-template-columns:repeat(3,1fr);gap:14px 9px}#collection{padding:25px 16px}#collection h2{font-size:24px}.collection-nav .quiet{font-size:12px;padding:9px}.collection-card small{font-size:10px}.collection-card .art{border-width:2px}.scene-enter{animation-duration:.45s}}
@media(prefers-reduced-motion:reduce){.scene-enter,.scene-enter .card-wrap,.waiting-art .card-back,.dream-board,.board-mist,.dream-stop.triggered,.horse-pawn.moving .horse-bob,.horse-pawn.moving .pony-sprite,.card-wrap.correct{animation:none!important;transition:none!important}}
.pony-sprite{mask-image:radial-gradient(ellipse at 50% 52%,#000 54%,#0009 67%,transparent 77%)}
/* Visible deck, card travel and final standings */
.deck-status{display:flex;align-items:center;gap:18px;padding:15px 18px;margin:0 0 22px;background:#ffffff07;border:1px solid #e8c78435;border-radius:14px;text-align:left}.deck-status strong,.deck-status small{display:block}.deck-status small{color:var(--muted);font-size:11px;margin-top:5px}.deck-status .text-button{margin-left:auto;font-size:12px}.deck-stack{position:relative;width:43px;height:60px;flex-shrink:0}.deck-stack i{position:absolute;inset:0;background:repeating-linear-gradient(45deg,#294b42 0 7px,#234039 7px 14px);border:2px solid #e1c58b;border-radius:6px;display:grid;place-items:center;font-size:25px;color:#ebcc92;font-style:normal;box-shadow:0 4px 12px #0005}.deck-stack i:nth-child(1){transform:translate(-5px,5px) rotate(-9deg)}.deck-stack i:nth-child(2){transform:translate(4px,2px) rotate(8deg)}
.card-flight-scene{position:fixed;inset:0;z-index:80;background:#102923f5;backdrop-filter:blur(12px);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:8vh 5vw 5vh}.dealing-title{text-align:center}.dealing-title h2{font-size:clamp(22px,4vw,38px);margin:15px 0}.dealing-title p{color:#bdc7b8;font-size:14px}.deal-origin{width:60px;height:88px}.shuffling i:first-child{animation:shuffle-left .35s ease-in-out infinite alternate}.shuffling i:last-child{animation:shuffle-right .4s ease-in-out infinite alternate}.deal-recipients{display:flex;justify-content:center;gap:18px;width:100%;max-width:850px}.deal-recipients>div{flex:1;min-width:0;text-align:center}.deal-recipients span{display:block;width:48px;height:64px;border:1px dashed var(--pony);border-radius:6px;margin:0 auto 12px;color:var(--pony);padding:18px 0}.deal-recipients strong{display:block;overflow-wrap:anywhere;font-size:13px}.deal-recipients .received span{background:#ffffff13;box-shadow:0 0 25px #e3bd6c33}.flying-back{position:fixed;width:60px;height:88px;display:grid;place-items:center;font-size:30px;background:repeating-linear-gradient(45deg,#294b42 0 7px,#234039 7px 14px);border:2px solid #e1c58b;border-radius:7px;color:#e8c58b;pointer-events:none;box-shadow:0 8px 24px #0006}.deal-skip{z-index:2}.scoring-table{overflow:auto}#rules{max-width:780px}#rules table{width:100%;border-collapse:collapse;font-size:14px}#rules th,#rules td{padding:12px;text-align:left;border-bottom:1px solid #ffffff22}#rules th{color:var(--gold)}#rules h3{margin-top:25px}.grand-finale{position:relative;overflow:hidden}.winner-crown{font-size:70px;color:var(--gold);filter:drop-shadow(0 0 30px #edcc8480)}.winners-stage{display:flex;align-items:flex-end;justify-content:center;gap:15px;margin:45px auto 25px;max-width:800px;flex-wrap:wrap}.podium-step{flex:1;min-width:90px;max-width:190px;display:flex;align-items:center;flex-direction:column;animation:podium-rise .9s ease-out both}.podium-step>.pony{width:90px;height:90px}.podium-step>strong{margin:12px 0;overflow-wrap:anywhere;max-width:100%}.pedestal{width:100%;display:flex;flex-direction:column;justify-content:center;height:125px;background:linear-gradient(140deg,#54756b,#1b3a31);border:1px solid #b6cebe50;border-radius:12px 12px 0 0;box-shadow:0 10px 35px #0003}.pedestal b{font-size:38px;margin:8px 0}.pedestal span,.pedestal small{font-size:12px;color:#cfdbce}.rank-1 .pedestal{height:180px;background:linear-gradient(135deg,#ae8749,#54432d);border-color:#edcc84}.rank-2 .pedestal{height:145px}.final-sparkles{position:absolute;inset:0;pointer-events:none}.final-sparkles i{position:absolute;left:calc(var(--i)*4.3%);top:-15px;width:5px;height:12px;background:var(--gold);opacity:.6;animation:confetti-fall 4s calc(var(--i)*-.17s) ease-out 2}.final-sparkles i:nth-child(3n){background:#b6a2d6}.final-sparkles i:nth-child(2n){background:#86b7a7}
@keyframes shuffle-left{to{transform:translate(-45px,-8px) rotate(-22deg)}}@keyframes shuffle-right{to{transform:translate(42px,4px) rotate(20deg)}}@keyframes podium-rise{from{opacity:0;transform:translateY(45px)}to{opacity:1;transform:none}}@keyframes confetti-fall{to{transform:translate(25px,650px) rotate(480deg);opacity:0}}
@media(max-width:600px){.deck-status{gap:12px;padding:12px}.deck-status .text-button{max-width:85px}.deal-recipients{gap:5px}.deal-recipients strong{font-size:10px}.deal-recipients span{width:36px;height:54px}.winners-stage{gap:8px}.podium-step>.pony{width:66px;height:66px}.podium-step>strong{font-size:12px}.card-flight-scene{padding-top:5vh}.grand-finale h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.shuffling i,.podium-step,.final-sparkles i{animation:none!important}.final-sparkles{display:none}}
.rank-2{order:0}.rank-1{order:1}.rank-3{order:2}
/* Collection identity and small objects around the shared table. */
.start-preview{isolation:isolate}.start-preview:before{content:'';position:absolute;width:280px;height:280px;border:1px solid #ddbf7950;border-radius:50%;box-shadow:0 0 0 24px #d7ba7310,0 0 0 25px #d7ba7320;transform:rotate(-20deg);z-index:-1}.edition-seal{position:absolute;right:3%;top:2%;width:82px;height:82px;border:1px solid #e2c89075;border-radius:50%;display:flex;flex-direction:column;justify-content:center;text-align:center;font:28px Georgia,serif;color:#e2c890;transform:rotate(12deg);background:#1b332ce8}.edition-seal small{font:7px system-ui;letter-spacing:1px;margin-top:6px}.start .collection-link{position:relative}.start .collection-link:before,.start .collection-link:after{content:'✧';color:#d2b98088;margin:0 25px}.shared-table{position:relative;isolation:isolate;overflow:hidden;background-image:radial-gradient(ellipse at 50% 30%,#46726330,transparent 65%),repeating-linear-gradient(35deg,#ffffff02 0 1px,transparent 1px 5px)}.shared-table>.deck-status,.shared-table>.clue,.shared-table>.eyebrow,.shared-table>p,.shared-table>.cards-grid,.shared-table>.waiting-art{position:relative;z-index:2}.table-ornaments{position:absolute;inset:0;z-index:0;pointer-events:none;color:#d0b87e80}.table-orbit{position:absolute;width:190px;height:190px;border:1px solid #dbbf8045;border-radius:50%;left:-100px;top:40%;box-shadow:0 0 0 14px #dbbf800a,0 0 0 15px #dbbf8025;transform:rotate(30deg)}.table-orbit:before,.table-orbit:after{content:'';position:absolute;inset:18px;border:1px dashed #dbbf8040;border-radius:50%}.table-orbit:after{inset:43px;border-style:solid}.table-orbit span{position:absolute;right:30px;top:60px;font-size:30px}.table-moon{position:absolute;right:14px;top:29%;font-size:68px;color:#e1c89444;transform:rotate(-24deg)}.table-notes{position:absolute;right:-20px;bottom:35px;width:120px;height:155px;transform:rotate(17deg);border:1px solid #b2a16f55;border-radius:4px;background:repeating-linear-gradient(#b3a27310 0 21px,#b3a27325 22px 23px);display:flex;flex-direction:column;gap:15px;padding:24px 10px;font-size:9px}.table-notes i{font-size:8px}.table-notes b{font-size:30px}.table-stars{position:absolute;left:22px;bottom:12%;font-size:24px;line-height:1.8;transform:rotate(-14deg)}.table-inscription{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:4px;white-space:nowrap}.shared-table .cards-grid{padding:12px 0}.shared-table .card-button{box-shadow:0 12px 25px #0007,0 0 0 1px #e7d3a335}.deck-status{background:#102c26cf;backdrop-filter:blur(5px)}
/* Keep the landscape, lift the figures off it. */
.dream-board:before{background:linear-gradient(0deg,#0927218c,#09272132 45%,#0a211c45)}.horse-pawn{width:67px;height:67px}.horse-pawn .pony-sprite{filter:drop-shadow(1px 0 0 #fff8df) drop-shadow(-1px 0 0 #fff8df) drop-shadow(0 -1px 0 #fff8df) drop-shadow(0 4px 3px #00180cee);mask-image:none}.horse-shadow{left:12%;right:12%;height:17px;bottom:0;background:#132e26ed;border:2px solid var(--pony);filter:none;box-shadow:0 0 0 2px #fff7d58c,0 4px 9px #0008;transform:none}.pawn-name{font-size:10px;background:#10231b;border:1px solid #fff0c5bb;border-bottom:3px solid var(--pony);box-shadow:0 3px 8px #0009;padding:4px 7px}.horse-pawn.moving .horse-shadow{box-shadow:0 0 0 2px #fff7d5,0 0 18px var(--pony)}
/* Personal reaction: the same pony and the actual server-side cell effect. */
.personal-effect{position:relative;width:min(260px,100%);height:220px;margin:0 auto;isolation:isolate;overflow:hidden;border-radius:25px;background:radial-gradient(ellipse at 50% 65%,#77b29622,transparent 70%)}.effect-pony{position:absolute;left:50%;top:25px;transform:translateX(-50%);z-index:2}.effect-pony .pony{display:block;width:155px;height:155px}.effect-pony .pony-sprite{mask-image:none;filter:drop-shadow(0 0 2px #fff0cf) drop-shadow(0 7px 5px #0008)}.effect-ground{position:absolute;width:150px;height:35px;left:50%;bottom:48px;transform:translateX(-50%);border-radius:50%;background:#1f4a37;box-shadow:0 0 0 2px #a4d5b24a}.effect-delta{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);font-weight:800;font-size:18px;padding:6px 16px;border:1px solid #e0c99455;border-radius:20px;background:#12271f;z-index:4;white-space:nowrap}.effect-particles{position:absolute;inset:0;z-index:3;pointer-events:none}.effect-particles i{position:absolute;left:calc(18% + var(--i)*7%);bottom:55px;font-style:normal;color:#efcf8e;font-size:17px;opacity:0;animation:effect-rise 2s calc(var(--i)*.18s) ease-out 3}.personal-effect.calm .effect-particles{display:none}.personal-effect.lava{background:radial-gradient(ellipse at 50% 65%,#ed562b55,transparent 68%)}.lava .effect-ground{background:radial-gradient(ellipse,#ffe99b,#ff8c32 45%,#a42e21 75%);box-shadow:0 0 20px #ff743ca0;border:2px solid #ffce7a}.lava .effect-particles i{color:#ffb851;text-shadow:0 0 6px #ff4d22;font-size:31px}.lava .effect-pony{animation:lava-ouch .5s ease-in-out 6}.lava .effect-pony .pony-sprite{filter:drop-shadow(0 0 9px #ff873dcc) drop-shadow(0 0 2px #ffeccb)}.lava .effect-delta{color:#ffba7c;border-color:#f8874a77}.portal .effect-orbit{position:absolute;inset:22px 37px 38px;border:3px solid #b2a0ef;border-radius:50%;box-shadow:0 0 16px #9a75d9,inset 0 0 22px #9a75d9;transform:rotate(-25deg) scaleX(.7);animation:portal-pulse 1.5s ease-in-out 4}.portal .effect-particles i{color:#c2a9ff}.portal .effect-delta{color:#c6b0fa}.dream .effect-pony{animation:dream-float 2s ease-in-out 3}.dream .effect-ground{box-shadow:0 0 30px #ffe6a55c;background:#d4ae6c33}.dream .effect-delta{color:#fce4a3}
@keyframes effect-rise{0%{opacity:0;transform:translateY(0) scale(.6)}25%{opacity:1}100%{opacity:0;transform:translateY(-110px) rotate(24deg) scale(1.2)}}@keyframes lava-ouch{50%{transform:translate(-50%,-12px) rotate(-5deg)}}@keyframes portal-pulse{50%{filter:brightness(1.5);transform:rotate(20deg) scaleX(.85)}}@keyframes dream-float{50%{transform:translate(-50%,-10px)}}
@media(max-width:740px){.horse-pawn{width:48px;height:48px}.pawn-name{font-size:8px;padding:3px 5px}.horse-shadow{height:12px;border-width:1px}.table-orbit{left:-145px}.table-moon{right:-15px;font-size:50px}.table-notes{right:-65px;opacity:.5}.table-stars{left:5px;font-size:15px}.edition-seal{width:63px;height:63px;right:0;top:10px;font-size:23px}.edition-seal small{font-size:6px}.start .collection-link:before,.start .collection-link:after{display:none}}
@media(prefers-reduced-motion:reduce){.effect-particles i,.effect-pony,.effect-orbit{animation:none!important}.effect-particles i:nth-child(3n){opacity:.7;bottom:90px}}
.room-sidebar [data-do="bots"]{display:block;width:100%;grid-column:1/-1;padding:14px 16px;border:1px solid #fff0ad;border-radius:10px;background:linear-gradient(135deg,#ffe9a2,#f3cb65);color:#302713;font-weight:800;font-size:14px;line-height:1.45;box-shadow:0 4px 15px #e5b84d30;transition:background .2s,box-shadow .2s,transform .2s}
.room-sidebar [data-do="bots"]:hover:not(:disabled){background:linear-gradient(135deg,#fff2bf,#ffdc7f);box-shadow:0 6px 20px #e5b84d50;transform:translateY(-1px)}
.room-sidebar [data-do="bots"]:disabled{opacity:.55;box-shadow:none;cursor:not-allowed}
/* Consistent optical centering, independent of font metrics. */
.zoom-card{display:grid;place-items:center;padding:0;line-height:1;width:34px;height:34px;right:9px;top:9px;box-sizing:border-box;aspect-ratio:1;border-radius:50%;background:#18332ef2;border:1px solid #f1e3bd99;color:#fff2d8}
.zoom-card svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.zoom-card:hover{background:#31574b;border-color:#fff0bc}
.shared-table{background-image:radial-gradient(ellipse at 50% 30%,#46726320,transparent 70%)}
.table-edge{position:absolute;inset:7px;border:1px solid #e2c48b50;border-radius:inherit;pointer-events:none;z-index:0;box-shadow:inset 0 0 0 3px #142d26,inset 0 0 0 4px #e2c48b18}
.edge-sprig{position:absolute;top:48%;height:74px;width:9px;border-left:1px solid #dbc18a66}.edge-sprig.left{left:2px}.edge-sprig.right{right:2px;transform:rotate(180deg)}
.edge-sprig i{position:absolute;left:0;width:7px;height:14px;border:1px solid #dbc18a55;border-radius:0 90% 0 90%;transform:rotate(20deg);background:#cbb1780a}.edge-sprig i:nth-child(1){top:0}.edge-sprig i:nth-child(2){top:19px;transform:rotate(-25deg);width:5px}.edge-sprig i:nth-child(3){top:38px}.edge-sprig i:nth-child(4){top:57px;transform:rotate(-25deg);width:5px}
@media(max-width:740px){.zoom-card{width:28px;height:28px;top:6px;right:6px}.zoom-card svg{width:16px;height:16px}.table-edge{inset:4px}.edge-sprig{opacity:.6;width:5px}.edge-sprig i{width:5px}}
.brand>span{font-size:20px;letter-spacing:1px}
@media(max-width:740px){.brand>span{font-size:15px;letter-spacing:0}.brand{font-size:28px}.brand small{letter-spacing:.4px}header{gap:10px}}
@media(max-width:430px){header{padding:0 12px}.connection{display:none}header .quiet{margin-left:auto}}
/* Storybook wordmark; a typographic signature without a separate figure. */
.brand{display:inline-flex;text-decoration:none;flex-shrink:0;padding:8px 0}
.brand>span{display:block;font:inherit;letter-spacing:normal}
.brand .brand-title{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;font-size:38px;line-height:1.05;letter-spacing:.3px;color:#edd39d;text-shadow:0 2px 0 #553e2380,0 0 22px #d8b36b20;font-variant:small-caps}
.brand .brand-initials{font-size:1.18em;letter-spacing:-3px;margin-right:2px;color:#ffe7b1}
.brand small{font:600 8px Manrope,system-ui,sans-serif;letter-spacing:2.3px;color:#bda77f;margin-top:7px;text-align:center}
.brand:hover .brand-title{color:#ffe9b9;text-shadow:0 2px 0 #553e2380,0 0 18px #d8b36b45}
@media(max-width:740px){.brand .brand-title{font-size:29px;letter-spacing:0}.brand small{font-size:6px;letter-spacing:1.65px;margin-top:5px}.brand .brand-initials{letter-spacing:-2px}}
@media(max-width:390px){.brand .brand-title{font-size:26px}.brand small{letter-spacing:1.2px}header .quiet{font-size:11px;padding:8px}}
@font-face{font-family:'Schueler XP Neue';src:url('/assets/fonts/SchuelerXPNeue-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
.brand .brand-title{font-family:'Schueler XP Neue',Georgia,serif;font-weight:400;font-synthesis:none;font-variant:normal;letter-spacing:.4px;font-size:36px;line-height:1.15}
.brand .brand-initials{font-size:1em;letter-spacing:inherit;margin-right:0}
@media(max-width:740px){.brand .brand-title{font-size:28px;letter-spacing:0}.brand .brand-initials{letter-spacing:0}}
@media(max-width:390px){.brand .brand-title{font-size:25px}}
/* Product Sans interface typography; the custom wordmark keeps its own face. */
@font-face{font-family:'Product Sans';src:url('/assets/fonts/ProductSans-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Product Sans';src:url('/assets/fonts/ProductSans-Medium.ttf') format('truetype');font-weight:500 900;font-style:normal;font-display:swap}
body{font-family:'Product Sans',system-ui,sans-serif;font-weight:400}
h1,h2,h3,h4,h5,h6{font-family:'Product Sans',system-ui,sans-serif;font-weight:500}
button,input,select,textarea{font-family:'Product Sans',system-ui,sans-serif}
.shared-table .clue,.personal-clue{font-family:'Product Sans',system-ui,sans-serif;font-weight:500}
.brand small{font-family:'Product Sans',system-ui,sans-serif;font-weight:400}
.edition-seal small{font-family:'Product Sans',system-ui,sans-serif}
/* Center the game wordmark independently of the right-hand controls. */
header{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
header .brand{grid-column:2;grid-row:1;justify-self:center}
header .connection{grid-column:1;grid-row:1;margin-left:0;justify-self:start}
header>#rules-button{grid-column:3;grid-row:1;justify-self:end;margin-left:0}
@media(max-width:740px){header{height:auto;min-height:106px;grid-template-columns:1fr 1fr;padding:10px 14px;gap:5px 10px}header .brand{grid-column:1/-1;grid-row:1}header .connection{grid-column:1;grid-row:2;max-width:none;text-align:left}header>#rules-button{grid-column:2;grid-row:2}header .connection:empty{display:none}}
.entry-mode header .brand{visibility:hidden}.entry-mode header{border-bottom:0}.welcome-stage{min-height:65svh;display:grid;place-items:center;padding:40px 20px;background:radial-gradient(ellipse at center,#49635445,transparent 65%)}.welcome-center{text-align:center}.welcome-logo{font:400 clamp(42px,8vw,110px)/1.2 'Schueler XP Neue',Georgia,serif;color:#f4daa0;text-shadow:0 5px 35px #0006;margin:0 0 35px}.welcome-play{min-width:220px;padding:18px 28px;font-size:20px}.entry-footer{text-align:center;padding:25px 20px 35px;border-top:1px solid #ffffff0c}.entry-footer button{border:0;background:none;color:var(--muted);font-size:12px;padding:8px 12px}.entry-footer .account-entry{border:1px solid #e1c78e44;border-radius:12px;color:#f0dbb5;font-size:16px;padding:12px 20px;margin-bottom:13px}.account-entry span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.pack-screen,.room-choice{max-width:1000px;margin:0 auto;padding:20px 24px 50px;text-align:center}.pack-screen>.text-button,.room-choice>.text-button{display:block;margin-bottom:25px}.pack-screen>.eyebrow,.room-choice>.eyebrow{display:block;margin:12px 0}.pack-screen h1,.room-choice h1{margin-bottom:25px}.pack-carousel{display:flex;align-items:center;gap:22px;margin:35px 0 20px}.pack-display{display:flex;flex:1;align-items:center;text-align:left;gap:40px;padding:30px;border:1px solid #d9bb7744;background:#1b332cd9;border-radius:24px;min-width:0}.pack-art{width:190px;aspect-ratio:2/3;flex-shrink:0;border:4px solid #dfcca0;border-radius:12px;box-shadow:0 12px 30px #0005;transform:rotate(-4deg)}.pack-description h2{font-size:34px;margin:12px 0}.pack-description small{font-size:10px;letter-spacing:2px;color:var(--gold)}.pack-description p{color:var(--muted);line-height:1.5;margin-bottom:25px}.pack-description .text-button{display:block;margin-top:15px}.pack-display.locked .pack-art{filter:grayscale(.8) brightness(.55)}.pack-position{color:var(--gold);letter-spacing:4px}.room-choice{max-width:650px}.room-choice>p{color:var(--muted)}.room-choice-panel{margin:30px auto 0;padding:32px;border:1px solid #d9bb7755;border-radius:22px;background:#213c31}.room-choice-panel p{margin:15px 0 25px;color:var(--muted);line-height:1.6}.room-choice-panel button{width:100%}.choice-divider{font-size:12px;color:var(--muted);margin:25px 0 15px}
@media(max-width:650px){.pack-carousel{gap:8px}.pack-display{flex-direction:column;gap:20px;padding:20px 12px;text-align:center}.pack-art{width:135px}.pack-description h2{font-size:27px}.pack-description .text-button{margin:12px auto 0}.pack-arrow{padding:10px}.pack-screen{padding:10px 12px 35px}.welcome-stage{min-height:58svh}.entry-mode header{min-height:55px;height:55px;display:flex;justify-content:flex-end}.entry-mode header .brand{display:none}.welcome-logo{font-size:clamp(36px,9vw,65px)}}
/* A illustrated world surrounds the central, accessible HTML controls. */
body:has(.welcome-stage) header{position:absolute;inset:0 0 auto;z-index:5;height:64px;min-height:64px;padding:12px 24px;display:flex;justify-content:flex-end}
body:has(.welcome-stage) header .brand,body:has(.welcome-stage) header .connection{display:none}
body:has(.welcome-stage) header .quiet{background:#18382dde;border-color:#f3dfb488;color:#fff2d3}
.welcome-stage{position:relative;min-height:780px;height:calc(100svh - 100px);max-height:1200px;background:#b5d4d5 url('/assets/welcome-world.png') center/cover;padding:70px 20px 130px;isolation:isolate}
.welcome-center{position:relative;width:100%;padding:20px 0}
.welcome-logo{font-size:clamp(45px,7.4vw,110px);color:#234b40;text-shadow:0 2px 0 #ffedbe,0 0 20px #fff5d6b0;line-height:1.2;margin:0 0 25px}
.welcome-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.welcome-actions button{font-family:'Product Sans',system-ui,sans-serif;font-size:19px;min-width:205px;min-height:56px;border-radius:12px;padding:15px 22px;box-shadow:0 7px 20px #153c392a}
.welcome-actions .welcome-play{background:linear-gradient(125deg,#f8d987,#efc372);color:#27392d;border:1px solid #fff0be}
.welcome-actions .welcome-join{background:#244f43;color:#fff2d3;border:1px solid #587d69}
body:has(.welcome-stage) .entry-footer{background:#152d25;padding:18px 20px 22px}
@media(max-width:740px){.welcome-stage{min-height:680px;height:85svh;background-size:auto 100%;padding:100px 18px 140px}.welcome-center{background:radial-gradient(ellipse,#d6e7dfc9,transparent 72%)}.welcome-logo{font-size:clamp(38px,8.7vw,65px);margin-bottom:22px}.welcome-actions{flex-direction:column;align-items:center;gap:12px}.welcome-actions button{min-width:220px;font-size:17px;min-height:52px}.welcome-center{padding:30px 0}body:has(.welcome-stage) header{padding:12px 16px}}
/* Character accents on the existing green surface, with no scenic backdrop. */
.welcome-stage{background:#102321;min-height:640px;height:calc(100svh - 130px);padding:80px 20px 100px}
.welcome-stage:before{content:'';position:absolute;inset:18px 3%;z-index:-1;pointer-events:none;background:url('/assets/welcome-characters.webp') center/contain no-repeat;opacity:.92}
.welcome-center{background:none;padding:20px 0}
.welcome-logo{color:#f1d69d;font-size:clamp(42px,6vw,88px);text-shadow:0 3px 18px #102321;}
.welcome-actions .welcome-join{background:#193c30;border-color:#cbb47c88;color:#f7e6bf}
body:has(.welcome-stage) .entry-footer{background:#102321}
@media(max-width:740px){.welcome-stage{min-height:670px;height:85svh;padding:80px 18px 100px}.welcome-stage:before{inset:10px 0;background-size:auto 570px;opacity:.6}.welcome-center{background:radial-gradient(ellipse,#102321 40%,#102321df 60%,transparent 76%);padding:40px 0}.welcome-logo{font-size:clamp(36px,8.5vw,63px)}}
/* One viewport, individually positioned characters and gentle motion. */
body:has(.welcome-stage){height:100dvh;min-height:0;overflow:hidden}
body:has(.welcome-stage) #app{height:100dvh;display:flex;flex-direction:column}
body:has(.welcome-stage) .welcome-stage{flex:1;min-height:0;max-height:none;height:auto;padding:60px 20px 20px;overflow:hidden}
.welcome-stage:before{display:none}
.welcome-cast{position:absolute;inset:0;pointer-events:none;z-index:0}
.welcome-character{position:absolute;aspect-ratio:var(--ratio);pointer-events:auto;outline-offset:3px;transition:filter .6s;}
.character-paint{width:100%;height:100%;background-image:url('/assets/welcome-characters.webp');background-repeat:no-repeat;transform-origin:50% 80%;animation:character-sway 8s ease-in-out infinite}
.character-dino{left:1%;top:4%;width:clamp(130px,20vw,340px)}
.character-moon{left:40%;top:0;width:clamp(140px,22vw,330px)}
.character-octopus{right:.5%;top:5%;width:clamp(140px,22vw,360px)}
.character-fox{left:2%;bottom:1%;width:clamp(130px,20vw,305px)}
.character-mushrooms{left:34%;bottom:0;width:clamp(155px,24vw,355px)}
.character-snail{right:1%;bottom:1%;width:clamp(145px,24vw,355px)}
.character-fox .character-paint{animation:teacup-float 7s ease-in-out infinite}
.character-moon .character-paint{animation:teacup-float 10s ease-in-out -3s infinite}
.character-octopus .character-paint{animation:accordion-sway 6s ease-in-out infinite}
.character-mushrooms .character-paint{animation:character-sway 9s ease-in-out -4s infinite}
.character-snail .character-paint{animation:character-sway 11s ease-in-out -2s infinite}
.lantern-glow{position:absolute;left:7%;top:49%;width:23%;height:29%;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,#fff5adbb,#efbd5544 38%,transparent 70%);opacity:.12;transition:opacity .8s,transform 1s;mix-blend-mode:screen}
.character-snail:hover .lantern-glow,.character-snail:focus-visible .lantern-glow{opacity:1;transform:scale(2.1)}
.character-snail:hover .character-paint,.character-snail:focus-visible .character-paint{filter:drop-shadow(0 0 10px #dba74735)}
.welcome-center{z-index:2;pointer-events:none;background:none;padding:0;margin-top:-2vh}
.welcome-logo{font-size:clamp(40px,5.6vw,90px);margin-bottom:32px}
.welcome-actions{pointer-events:auto;gap:20px}
.welcome-actions button{min-width:250px;min-height:68px;font-size:22px;padding:18px 30px}
body:has(.welcome-stage) header .quiet{font-size:18px;padding:14px 22px;min-height:52px}
body:has(.welcome-stage) .entry-footer{flex:none;border:0;padding:8px 15px 12px;background:#102321;z-index:3}
body:has(.welcome-stage) .entry-footer .account-entry{font-size:17px;margin-bottom:3px;padding:10px 25px}
body:has(.welcome-stage) .entry-footer>div button{font-size:11px;padding:5px 10px}
@keyframes character-sway{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1.5deg) translateY(-4px)}}
@keyframes teacup-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1.5deg)}}
@keyframes accordion-sway{0%,100%{transform:rotate(-2deg) scaleX(.99)}50%{transform:rotate(2deg) scaleX(1.035)}}
@media(max-height:750px) and (min-width:741px){.welcome-character{max-height:37vh;width:auto;height:35vh}.character-moon{height:22vh}.character-mushrooms{height:23vh}.welcome-logo{font-size:clamp(40px,5vw,75px)}.welcome-actions button{min-height:60px;font-size:20px}.welcome-center{margin-top:0}}
@media(max-width:740px){.welcome-center{background:none;margin-top:0}.welcome-logo{font-size:clamp(33px,8.2vw,60px);margin-bottom:22px}.welcome-actions{gap:12px}.welcome-actions button{min-width:215px;min-height:55px;font-size:18px;padding:14px 20px}.character-dino{top:8%;left:-3%;width:29vw}.character-octopus{top:10%;right:-4%;width:30vw}.character-moon{top:1%;left:34%;width:29vw}.character-fox{left:-2%;bottom:2%;width:27vw}.character-snail{right:-2%;bottom:2%;width:31vw}.character-mushrooms{left:34%;bottom:0;width:29vw}body:has(.welcome-stage) header .quiet{min-height:42px;font-size:14px;padding:9px 13px}body:has(.welcome-stage) .entry-footer{padding-bottom:max(8px,env(safe-area-inset-bottom))}.welcome-character{opacity:.92}}
@media(max-height:500px){.welcome-logo{font-size:36px;margin-bottom:12px}.welcome-actions{flex-direction:row;gap:10px}.welcome-actions button{min-height:44px;min-width:170px;padding:10px;font-size:16px}body:has(.welcome-stage) .entry-footer{padding:0 8px 4px}.character-moon,.character-mushrooms{display:none}.welcome-character{max-height:32vh}body:has(.welcome-stage) header .quiet{min-height:36px;padding:6px 12px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.character-paint{animation:none!important}.lantern-glow,.welcome-character{transition:none}}
/* Quiet depth: textured green, local pools of light, organic central outline. */
body:has(.welcome-stage),body:has(.welcome-stage) .entry-footer{background-color:#102321;background-image:radial-gradient(ellipse at 45% 38%,#294c3926,transparent 65%),repeating-linear-gradient(23deg,#d6deb503 0 1px,transparent 1px 4px),repeating-linear-gradient(113deg,#00000006 0 1px,transparent 1px 6px)}
body:has(.welcome-stage) .welcome-stage{background-color:transparent;background-image:radial-gradient(ellipse at 50% 46%,#59734b15,transparent 63%)}
.welcome-character{isolation:isolate}
.welcome-character:before{content:'';position:absolute;inset:5% -16%;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse,var(--character-light,#c5b87516),transparent 68%);filter:blur(14px)}
.character-dino{--character-light:#8fbe9a21}.character-moon{--character-light:#e2bf7525}.character-octopus{--character-light:#b1a0bd20}.character-fox{--character-light:#d3aa7622}.character-mushrooms{--character-light:#c4b8871a}.character-snail{--character-light:#cfbc7720}
.welcome-center{isolation:isolate;width:min(68vw,1100px);padding:40px 28px!important}
.welcome-center:before{content:'';position:absolute;inset:-12px -25px;z-index:-1;pointer-events:none;border:1px solid transparent;border-radius:46% 54% 48% 52% / 53% 45% 55% 47%;background:linear-gradient(140deg,#183329c9,#142d24aa) padding-box,linear-gradient(120deg,#b6aa6555,#8da47815 30%,#d1bb7755 62%,#84977820 85%,#b6aa6545) border-box;box-shadow:0 0 32px #7c915009,inset 0 0 45px #b3be6f04;transform:rotate(-1.2deg)}
.welcome-center:after{content:'';position:absolute;inset:-20px -33px;z-index:-1;pointer-events:none;border:1px solid #adbc7212;border-left-color:#adbc7226;border-bottom-color:#adbc7209;border-radius:53% 47% 52% 48% / 47% 54% 46% 53%;transform:rotate(1.4deg)}
.welcome-logo{text-shadow:0 2px 14px #e3c37913,0 0 38px #d8bd7b22,0 0 75px #b7a46a15}
.welcome-actions .welcome-play{box-shadow:0 5px 22px #dfb95515,inset 0 1px 0 #fff2c444}.welcome-actions .welcome-join{box-shadow:0 5px 22px #00000020,inset 0 1px 0 #e2d19a0c}
@media(max-width:740px){.welcome-center{width:88vw;padding:30px 6px!important}.welcome-center:before{inset:-7px -7px;background:linear-gradient(140deg,#183329ee,#142d24df) padding-box,linear-gradient(120deg,#b6aa6545,#8da47815 30%,#d1bb7745 62%,#84977820) border-box}.welcome-center:after{inset:-13px -12px}.welcome-character:before{filter:blur(9px)}}
@media(max-height:500px){.welcome-center{padding:15px 10px!important}.welcome-center:before{inset:-5px -15px}.welcome-center:after{inset:-10px -20px}}
/* Only an irregular line; green background stays continuous through the center. */
.welcome-center{isolation:auto;background:none!important;z-index:1}
.welcome-center:before,.welcome-center:after{display:none!important}
.welcome-outline{position:absolute;inset:-22% -10%;width:120%;height:144%;overflow:visible;pointer-events:none;z-index:-1}
.welcome-cast{z-index:2}
.welcome-actions{position:relative;z-index:4}
.character-moon:before{transition:background .8s,opacity .8s,transform .8s}
.character-moon:hover:before,.character-moon:focus-visible:before{background:radial-gradient(ellipse,#f5d88c60,transparent 68%);transform:scale(1.2)}
.character-moon .character-paint{transition:filter .8s}
.character-moon:hover .character-paint,.character-moon:focus-visible .character-paint{filter:brightness(1.12) drop-shadow(0 0 14px #f1cc7666)}
@media(max-width:740px){.welcome-outline{inset:-16% -6%;width:112%;height:132%}}
@media(prefers-reduced-motion:reduce){.character-moon:before,.character-moon .character-paint{transition:none}}
/* A deck is a fan of three cards, framed by a fine circular orbit. */
body:has(.pack-screen) header{height:95px;min-height:95px;display:flex;justify-content:flex-end;padding:20px 30px}
body:has(.pack-screen) header .brand,body:has(.pack-screen) header .connection{display:none}
body:has(.pack-screen) header .quiet{font-size:18px;padding:14px 22px;min-height:54px}
.pack-screen{max-width:1320px;padding:25px 30px 45px}
.pack-screen>.pack-home{position:absolute;left:30px;top:20px;margin:0;min-height:54px;font-size:18px;padding:14px 22px;z-index:5}
.pack-screen h1{font-size:clamp(28px,3.4vw,52px);letter-spacing:1px;margin:15px 0 45px}
.pack-carousel{gap:24px;margin:15px 0 24px;overflow:hidden;padding:18px 2px}
.pack-display{gap:40px;padding:45px 35px;min-height:410px;background:transparent;border:0;box-shadow:none}
.pack-fan{position:relative;flex:0 0 48%;height:320px;isolation:isolate}
.pack-orbit{position:absolute;width:300px;height:300px;border:1px solid #d3ba7c55;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 17px #d3ba7c07,0 0 0 18px #d3ba7c22}
.fan-card{position:absolute;width:155px;aspect-ratio:2/3;left:50%;top:50%;border:4px solid #ddcda5;border-radius:12px;box-shadow:0 12px 26px #0005;transform-origin:50% 90%}
.fan-card-0{transform:translate(-105%,-45%) rotate(-18deg);z-index:1}.fan-card-1{transform:translate(5%,-45%) rotate(18deg);z-index:2}.fan-card-2{transform:translate(-50%,-58%) rotate(-3deg);z-index:3}
.pack-display.locked .fan-card{filter:saturate(.45) brightness(.7)}
.pack-description{flex:1;min-width:0}.pack-description h2{font-size:clamp(30px,3vw,44px);margin-top:0}.pack-description p{font-size:18px}
.pack-description .primary,.pack-description .pack-browse{display:block;width:100%;min-height:58px;font-size:19px;padding:16px 22px}.pack-description .pack-browse{margin-top:16px}
.pack-arrow{width:66px;height:66px;flex:0 0 66px;padding:17px;border-radius:50%;background:#28473855;border-color:#e4ca8655;transition:background .2s,transform .2s}
.pack-arrow svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block;transition:transform .2s}
.pack-arrow:hover:not(:disabled){background:#49633f66}.pack-arrow[data-do="pack-next"]:hover:not(:disabled) svg{transform:translateX(3px)}.pack-arrow[data-do="pack-prev"]:hover:not(:disabled) svg{transform:translateX(-3px)}
body:has(.pack-screen) .entry-footer{border-top:0}
@media(max-width:800px){.pack-carousel{gap:10px}.pack-display{flex-direction:column;padding:15px 10px;gap:15px;text-align:center}.pack-fan{flex:none;width:100%;height:280px}.fan-card{width:130px}.pack-orbit{width:245px;height:245px}.pack-arrow{width:50px;height:50px;flex-basis:50px;padding:12px}.pack-arrow svg{width:24px;height:24px}.pack-description{width:100%}.pack-screen{padding:15px 12px 30px}.pack-screen h1{margin:15px 0 20px;font-size:29px}.pack-description p{font-size:16px}.pack-description .primary,.pack-description .pack-browse{font-size:17px;min-height:54px}}
@media(max-width:480px){body:has(.pack-screen) header{padding:14px 12px;height:76px;min-height:76px}body:has(.pack-screen) header .quiet,.pack-screen>.pack-home{font-size:14px;min-height:46px;padding:11px 14px}.pack-screen>.pack-home{left:12px;top:14px}.pack-fan{height:230px}.fan-card{width:100px;border-width:3px}.pack-orbit{width:190px;height:190px}.pack-carousel{gap:2px}.pack-arrow{width:40px;height:40px;flex-basis:40px;padding:8px}.pack-display{padding:15px 3px}.pack-screen h1{font-size:25px}.pack-description h2{font-size:29px}}
/* Softer controls, tighter welcome outline and a larger deck composition. */
body button:is(.primary,.quiet,.text-button,.account-entry,.welcome-play,.welcome-join,.pack-browse,.pack-home),body .room-sidebar [data-do="bots"],body .entry-footer .account-entry{border-radius:20px}
body .pack-arrow,body .zoom-card,body .close{border-radius:50%}
.welcome-outline{left:0;right:0;width:100%;top:-22%;bottom:auto;height:144%}
.pack-screen h1{color:var(--gold)}
.pack-fan{height:355px}
.fan-card{width:175px}
.pack-orbit{width:340px;height:340px}
@media(max-width:800px){.pack-fan{height:310px}.fan-card{width:146px}.pack-orbit{width:275px;height:275px}}
@media(max-width:740px){.welcome-outline{left:1%;right:auto;width:98%;top:-16%;height:132%}}
@media(max-width:480px){.pack-fan{height:250px}.fan-card{width:112px}.pack-orbit{width:210px;height:210px}}
/* Shared entry-screen scale and navigation. */
.entry-mode .entry-footer{border-top:0}
.entry-mode .entry-footer button{font-size:14px}
.entry-mode .entry-footer .account-entry{font-size:18px;padding:12px 26px}
body:has(.room-choice) header{height:95px;min-height:95px;display:flex;justify-content:flex-end;padding:20px 30px}
body:has(.room-choice) header .brand,body:has(.room-choice) header .connection{display:none}
body:has(.room-choice) header .quiet{font-size:18px;min-height:54px;padding:14px 22px}
.room-choice{max-width:900px;padding:35px 30px 60px}
.room-choice>.room-back{position:absolute;left:30px;top:20px;z-index:5;margin:0;min-height:54px;padding:14px 22px;font-size:18px}
.room-choice h1{color:var(--gold);font-size:clamp(38px,4.4vw,60px);margin:5px 0 24px;font-weight:500}
.room-choice-heading{font-size:clamp(26px,3vw,40px);margin:0 0 20px;font-weight:500}
.room-choice>p{font-size:21px;line-height:1.6}
.room-choice-panel{max-width:630px;padding:26px 0 0;margin:18px auto 0;border:0;background:none;border-radius:0;display:grid;gap:20px}
.room-choice-panel .primary,.room-choice-panel .quiet{font-size:22px;min-height:70px;padding:20px 28px;border-radius:20px}
.room-choice-panel .quiet{background:#1b382d77;border-color:#d5c18d55}
@media(max-width:650px){.room-choice{padding:25px 22px 40px}.room-choice>p{font-size:18px}.room-choice-panel .primary,.room-choice-panel .quiet{font-size:19px;min-height:62px;padding:17px 20px}.room-choice-panel{gap:16px}.entry-mode .entry-footer button{font-size:13px}}
@media(max-width:480px){body:has(.room-choice) header{height:76px;min-height:76px;padding:14px 12px}.room-choice>.room-back{left:12px;top:14px}body:has(.room-choice) header .quiet,.room-choice>.room-back{font-size:14px;padding:11px 14px;min-height:46px}}
/* Pull only the right side of the outline away from the characters. */
.welcome-outline{width:calc(100% - clamp(35px,5vw,90px));right:auto}
@media(max-width:740px){.welcome-outline{width:calc(98% - 22px)}}
.welcome-outline{width:calc(100% - clamp(35px,5vw,90px));left:50%;right:auto;transform:translateX(-50%)}
.lobby-screen>.screen-top{position:relative;display:flex;justify-content:center;text-align:center;padding:10px 210px 15px;min-height:180px}.lobby-screen>.screen-top>.code-pill{position:absolute;right:0;top:25px}.lobby-screen .screen-top h1{color:var(--gold);font-size:42px}.lobby-deck-name{font-size:24px;color:var(--gold);margin:15px 0}.player-count-badge{display:inline-block!important;border:1px solid #e8ca8255;border-radius:20px;padding:9px 20px;background:#dfc4760b;color:var(--gold)!important;font-size:20px!important;margin:14px auto}.lobby-screen .seat{padding:22px 10px}.lobby-screen .seat .pony{width:112px;height:112px}.lobby-screen .empty-pony{width:90px;height:90px;font-size:43px;display:grid;place-items:center;margin:0 auto 12px}.lobby-screen .seat strong{font-size:21px}.lobby-screen .seat small{font-size:16px}.lobby-screen .lobby-world h2{text-align:center;font-size:32px}
.play-mode{border:0;padding:0;margin:0;display:grid;gap:12px;text-align:left}.play-mode legend{font-size:23px;margin-bottom:14px}.play-mode label{border:1px solid #cdb87744;border-radius:20px;padding:18px;font-size:20px;cursor:pointer}.play-mode label:has(input:checked){border-color:var(--gold);background:#bcb67416}.play-mode input{width:18px;height:18px;accent-color:#e5c38b;margin-right:10px}.play-mode small{display:block;color:var(--muted);font-size:16px;margin:8px 0 0 30px}.phone-name{text-align:left;font-size:19px}.phone-name input{display:block;width:100%;margin-top:10px}.phone-management{display:grid;gap:16px;margin:24px 0}.phone-management button{font-size:18px;padding:16px}.phone-management .code-pill{justify-content:center}.phone-board{margin-top:30px}.phone-board .host-roster{display:grid;grid-template-columns:repeat(2,1fr);margin-top:20px}.phone-board .dream-board{height:480px}
@media(max-width:900px){.lobby-screen>.screen-top{padding:10px 0;display:block}.lobby-screen>.screen-top>.code-pill{position:static;display:inline-block;margin-top:16px}.lobby-screen .seat .pony{width:90px;height:90px}.lobby-screen .empty-pony{width:75px;height:75px}.lobby-screen .seat strong{font-size:18px}.lobby-screen .seat small{font-size:14px}}
@media(max-width:740px){.welcome-outline{width:calc(98% - 22px);left:50%}.lobby-screen .screen-top h1{font-size:32px}.lobby-screen .lobby-world h2{font-size:25px}.phone-board .roster-row{min-width:0}.phone-board .roster-row strong{font-size:12px}}
.host-roster.standings,.phone-board .host-roster.standings{display:flex;flex-direction:column;gap:10px;width:100%}
.standings .roster-row{position:relative;border:1px solid #d4c79820;border-radius:16px;padding:12px 14px;gap:12px;background:#ffffff03;min-width:0}
.standing-rank{width:24px;text-align:center;font-size:21px;color:var(--gold);flex-shrink:0}.standing-name{flex:1;min-width:0}.standing-name strong{overflow-wrap:anywhere}.standings .score{margin-left:auto;flex-shrink:0;text-align:right}.standings .score small{font-size:12px;white-space:nowrap}.standings .standing-first{border-color:#d8ba7666;background:#d8ba7609}.turn-gain h1{color:var(--gold);margin:20px 0 12px}.phone-board{margin-top:18px}.phone-board .standings{margin-top:24px}.phone-board .standings .roster-row strong{font-size:17px}
.player-summary{margin-left:auto;text-align:right;flex-shrink:0;display:flex;flex-direction:column;gap:7px}.player-summary .my-score{margin-left:0}.player-summary .round-corner{font-size:14px;color:var(--muted);white-space:nowrap}
@media(max-width:480px){.player-summary .round-corner{font-size:12px}.player-top{gap:9px}}
/* Use the viewport instead of a narrow centered player column. */
.player-screen,.screen{width:100%;max-width:none;margin:0;padding-left:clamp(16px,2.5vw,48px);padding-right:clamp(16px,2.5vw,48px)}
.player-screen .cards-grid{max-width:none;width:100%;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}
.player-screen .card-button{max-height:none}
.player-controls{max-width:none;width:100%}
.player-screen .hint{max-width:none}
.player-screen .player-lobby{width:100%}
.phone-board{width:100%}
@media(min-width:1100px){
.phone-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:12px 28px;align-items:start}
.phone-board>.board-heading{grid-column:1;grid-row:1}
.phone-board>.dream-board{grid-column:1;grid-row:2;height:clamp(520px,66vh,820px)}
.phone-board>.board-legend{grid-column:1;grid-row:3;margin:0}
.phone-board>.board-rule-note{grid-column:1;grid-row:4}
.phone-board>.travel-log{grid-column:1;grid-row:5}
.phone-board>.host-roster.standings{grid-column:2;grid-row:2;margin:0}
.phone-board>.phone-management{grid-column:2;grid-row:3 / span 3;margin:0}
.player-screen .player-controls{max-width:900px;margin-left:0}
}
@media(min-width:1600px){.phone-board{grid-template-columns:minmax(0,1fr) 360px;gap:16px 32px}.phone-board>.dream-board{height:clamp(600px,69vh,950px)}}
@media(max-width:1099px){.player-screen .cards-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.phone-board>.dream-board{height:clamp(480px,65vw,700px)}}
@media(max-width:600px){.player-screen .cards-grid{gap:17px 11px}.phone-board>.dream-board{height:480px}}
@media(min-width:1100px){.phone-board>.dream-board,.phone-board>.host-roster.standings{grid-row:1}.phone-board>.board-legend{grid-row:2}.phone-board>.board-rule-note{grid-row:3}.phone-board>.travel-log{grid-row:4}.phone-board>.phone-management{grid-row:2 / span 3}}
/* More legible player identity and round summary. */
.player-top{gap:18px;align-items:center}
.player-top .pony{width:76px;height:76px;flex-shrink:0}
.player-top h3{font-size:22px;line-height:1.25}
.player-top small{font-size:16px;line-height:1.4}
.player-top .my-score{font-size:23px}
.player-summary{gap:8px}
.player-summary .round-corner{font-size:17px}
@media(max-width:600px){.player-top{gap:12px}.player-top .pony{width:64px;height:64px}.player-top h3{font-size:20px}.player-top small{font-size:13px}.player-top .my-score{font-size:20px}.player-summary .round-corner{font-size:14px}}
@media(max-width:360px){.player-top{gap:8px}.player-top .pony{width:54px;height:54px}.player-top h3{font-size:18px}.player-top .my-score{font-size:18px}.player-summary .round-corner{font-size:13px}}
/* Shared illustrated reverse and tactile card inspection. */
.card-back,.deck-stack i,.flying-back{background:#092c24 url('/assets/dreams-card-back.webp') center/100% 100% no-repeat!important;color:transparent!important;text-shadow:none!important;border-color:#b99658!important}
.card-back::before,.card-back::after,.deck-stack i::before,.flying-back::before{display:none!important}
#zoom{overflow:visible;width:auto;max-width:94vw;padding:24px;background:#102b25;border:1px solid #b7985955;border-radius:24px}
#zoom .close{z-index:10}
.card-scene{width:min(62vh,76vw,540px);aspect-ratio:2/3;perspective:1200px;touch-action:pan-y;margin:auto}
.card-plane{width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .35s ease;filter:none}
#zoom #zoom-image,.inspection-back{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:3px solid #d4b77d;border-radius:16px;backface-visibility:hidden;box-shadow:0 18px 42px #0007;background-size:100% 100%}
.inspection-back{background:#092c24 url('/assets/dreams-card-back.webp') center/100% 100%;transform:rotateY(180deg)}
#zoom-caption,.collection-card+span{color:#ebcc89;font-family:'Schueler XP Neue',serif}
#zoom-caption{font-size:clamp(26px,3vw,38px);text-align:center;margin:17px 0 10px;line-height:1.2;text-shadow:0 2px 16px #dfb96322}
.card-flip{display:block;margin:0 auto;font-size:17px;padding:10px 22px}
.sound-toggle{position:fixed;bottom:14px;left:14px;z-index:30;background:#102b25eb;backdrop-filter:blur(8px);font-size:14px;padding:9px 15px;border-color:#d4b77d55}
@media(max-width:600px){#zoom{padding:16px}.card-scene{width:min(69vw,53vh)}.sound-toggle{bottom:8px;left:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.card-plane{transition:none}}
#zoom{min-width:0;max-height:96dvh;box-sizing:border-box}
.card-scene{width:min(44dvh,76vw,540px)}
@media(max-width:600px){.card-scene{width:min(69vw,44dvh)}}
#zoom{width:fit-content}
#zoom #zoom-caption{font-family:'Schueler XP Neue',serif;font-size:clamp(26px,3vw,38px);color:#ebcc89;margin:17px 0 10px}
#zoom .zoom-arrow{position:absolute;top:42%;width:56px;height:64px;padding:0;display:grid;place-items:center;border-radius:22px;background:#15382feb;color:#efd08f;border:1px solid #c5a76e80;font-size:48px;line-height:1;box-shadow:0 8px 24px #0004;transition:background .2s,scale .2s;z-index:12}
#zoom .zoom-arrow:hover{background:#295344;scale:1.06}
#zoom .zoom-arrow[hidden]{display:none}
#zoom .zoom-prev{left:-76px}#zoom .zoom-next{right:-76px}
@media(max-width:600px){#zoom .zoom-arrow{width:38px;height:54px;font-size:38px;border-radius:16px}#zoom .zoom-prev{left:-28px}#zoom .zoom-next{right:-28px}}
/* Align board controls and distribute round stages evenly. */
.host-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;width:100%;margin:24px 0 0}
.host-actions>button{min-height:64px;margin:0;padding:16px 24px;font-size:clamp(18px,1.4vw,24px);display:flex;align-items:center;justify-content:center;text-align:center;border-radius:28px}
.host-actions>.text-button{border:1px solid #d4b77d55;background:#18372e;color:var(--gold)}
.host-actions>span{grid-column:1/-1;text-align:center}
.progress-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:12px;width:100%;padding:24px 0;margin:0;font-size:clamp(14px,1.25vw,21px);text-align:center}
.progress-strip>span{display:flex;align-items:center;justify-content:center;min-height:44px}
@media(max-width:600px){.host-actions{grid-template-columns:1fr;gap:10px}.host-actions>button{min-height:54px}.progress-strip{gap:4px;font-size:11px}.progress-strip>span{line-height:1.4}}
/* Compact, centered game controls */
.host-actions,.phone-management{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;width:100%;margin:26px auto 0}
.host-actions>button,.phone-management>button{flex:0 1 auto;width:auto;min-width:200px;max-width:100%;min-height:54px;padding:14px 28px;font-size:19px;border-radius:22px}
.host-actions>span{width:100%;text-align:center}
.progress-strip{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;width:fit-content;max-width:100%;margin:22px auto;padding:14px 18px;font-size:15px;border:1px solid #cdb87722;border-radius:24px}
.progress-strip>span{display:flex;align-items:center;gap:12px;white-space:nowrap}
.progress-strip>span:not(:last-child)::after{content:'⟶';color:#bda57088;font-size:21px}
.progress-strip .current{color:#f3d598;text-shadow:0 0 16px #d9b96c44}
.online-entry{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px}.online-entry button{font-size:17px;padding:12px 22px}.welcome-description{font-size:20px;color:var(--muted);margin:0 0 24px}.public-option{display:flex;gap:12px;text-align:left;align-items:center;font-size:17px}.public-option input{width:22px;height:22px}.public-lobby{display:flex;width:100%;justify-content:space-between;gap:12px;margin:12px 0}.public-lobby span{font-size:15px}.personal-standings{margin:24px 0}.personal-standings h2{font-size:24px}.scoreboard-row{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #d4c79822}.scoreboard-row>div{flex:1;min-width:0}.scoreboard-row .pony{width:44px;height:44px}.scoreboard-row small{color:var(--gold)}.score-track{height:5px;background:#ffffff12;border-radius:5px;margin-top:8px;overflow:hidden}.score-track i{display:block;height:100%;border-radius:5px}
.asset-pending{background-image:none!important;position:relative}.asset-pending::after{content:'✦';position:absolute;inset:0;display:grid;place-items:center;color:#b99658;background:#16372e;font-size:28px;animation:asset-pulse 1.2s ease-in-out infinite}.asset-failed::after{content:'Повторить загрузку';font:14px sans-serif;cursor:pointer;animation:none}.boot-message{text-align:center;padding:20vh 20px;color:#e6c489}.boot-message span{display:block;font-size:42px;animation:asset-pulse 1.2s infinite}@keyframes asset-pulse{50%{opacity:.45}}
@media(max-width:740px){.progress-strip{font-size:11px;gap:6px;padding:12px 8px}.progress-strip>span{gap:6px}.progress-strip>span:not(:last-child)::after{font-size:14px}.host-actions>button,.phone-management>button{font-size:16px;min-width:0;padding:14px 20px}.welcome-description{font-size:16px}.personal-standings .scoreboard{display:block}.host-roster.standings{display:flex!important}}
@media(prefers-reduced-motion:reduce){.asset-pending::after,.boot-message span{animation:none}}
button.asset-pending:not(.asset-failed){pointer-events:none}.phone-board>.standings{display:none!important}
.online-entry{pointer-events:auto;position:relative;z-index:3}
/* Consistent personal-screen and lobby spacing */
.player-screen .player-controls{width:min(100%,640px);max-width:640px;margin:28px auto 0;display:flex;flex-direction:column;align-items:stretch;gap:16px;text-align:center}
.player-screen .player-controls .selected-note{width:100%;margin:0;text-align:center}
.player-screen .player-controls>button{width:100%;margin:0;min-height:56px;padding:16px 24px}
.player-screen .player-controls .field{margin:0;text-align:left}
.online-lobbies{width:min(100%,760px);padding:32px;box-sizing:border-box}
.online-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.online-heading h1{margin:0;font-size:clamp(26px,4vw,40px)}
.online-heading .refresh-lobbies{flex-shrink:0;padding:12px 20px;font-size:16px}
.online-lobbies>p{margin:0 0 24px;line-height:1.6;color:var(--muted)}
.online-lobbies #online-list{padding:20px 0;min-height:100px;line-height:1.6}
.online-lobbies #online-list p{margin:0}
.online-actions{display:grid;gap:14px;margin-top:24px}
.online-actions>button{width:100%;margin:0;min-height:56px;padding:16px 24px}
.lobby-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid #d4c79826}
.lobby-meta .code-pill,.lobby-meta .player-count-badge{margin:0}
.personal-lobby-screen .player-top{margin-bottom:28px;padding:18px;border:1px solid #d4c79820;border-radius:20px;background:#ffffff03}
.personal-lobby-screen .player-lobby{margin:24px 0;gap:16px}
.personal-lobby-screen .player-controls{margin-top:24px}
.personal-lobby-screen .lobby-management{display:grid;grid-template-columns:1fr 1fr;width:min(100%,640px);gap:14px;margin:20px auto 0;padding-top:20px;border-top:1px solid #d4c79826}
.personal-lobby-screen .lobby-management>button{width:100%;min-width:0;margin:0;padding:14px 18px}
.personal-lobby-screen .lobby-management [data-do=start]{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.online-lobbies{padding:24px}.online-heading{align-items:flex-start;flex-direction:column;gap:16px}.online-heading .refresh-lobbies{align-self:flex-end}.lobby-meta{gap:12px}.lobby-meta .player-count-badge{font-size:16px;padding:12px 16px}.lobby-meta .code-pill{padding:12px}.personal-lobby-screen .player-top{padding:14px;gap:12px}.personal-lobby-screen .lobby-management>button{font-size:15px;padding:14px 10px}.online-entry>button{min-width:220px}.welcome-actions{margin-bottom:0}}
.online-lobbies{width:min(calc(100% - 32px),760px);margin:25px auto}
/* Reveal keeps scores for the board; pony votes identify the voters. */
.voters{min-height:40px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px}
.voter-pony{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px}
.voter-pony .mini-token{display:block;width:38px;height:38px;background:none;border:0;box-shadow:none;padding:0}
.voter-pony .pony-sprite{display:block;width:100%;height:100%}
.card-wrap.correct .card-button{border:3px solid #ffe5a0;box-shadow:0 0 0 3px #d9b45b88,0 0 28px #ffd77b99,0 8px 28px #0005;transform:translateY(-5px)}
.card-wrap.correct .card-author{color:#ffe3a0;font-weight:700;text-shadow:0 0 12px #edc16b66}
@media(max-width:600px){.voter-pony,.voter-pony .mini-token{width:30px;height:30px}.card-wrap.correct .card-button{box-shadow:0 0 0 2px #d9b45b99,0 0 20px #ffd77b99;transform:translateY(-3px)}}

.room-recovery>button{display:block;width:100%;margin-top:18px}.room-recovery>p{margin-bottom:26px}
.fan-card.mystery-card{background:#080c0c!important;color:#d1bc85;border:3px solid #655c45;display:grid;place-items:center;font:70px Georgia,serif;box-shadow:0 16px 25px #0008}.pack-display.locked .mystery-card{filter:none}
.pony-picker{padding-bottom:18px}.pony-choice{position:relative}.pony-choice .color-state{position:absolute;bottom:-19px;left:0;right:0;font:11px sans-serif;color:#c7bca8}.pony-choice.color-occupied{opacity:.38;filter:grayscale(.8);cursor:not-allowed}.pony-choice.color-occupied:after{content:'×';position:absolute;inset:0;display:grid;place-items:center;color:#f5ded1;font-size:38px;text-shadow:0 1px 3px #000}.pony-choice.color-occupied.selected{outline:none;box-shadow:none}
.grand-finale{position:relative;isolation:isolate;overflow:hidden}.victory-rays{position:absolute;z-index:-1;width:1000px;height:1000px;left:50%;top:-330px;margin-left:-500px;background:repeating-conic-gradient(from 0deg,#e8c87514 0deg 9deg,transparent 9deg 24deg);border-radius:50%;mask-image:radial-gradient(circle,#000,transparent 65%);animation:victory-rays-turn 24s linear infinite;pointer-events:none}.grand-finale .winner-crown{animation:crown-celebration 1.4s ease-out both;filter:drop-shadow(0 0 20px #e6c77577)}.grand-finale .podium-step{animation:podium-celebration 1s cubic-bezier(.16,1,.3,1) both}.grand-finale .rank-2{animation-delay:.2s}.grand-finale .rank-3{animation-delay:.4s}.grand-finale .final-sparkles i{animation:finale-confetti 3s ease-out both;animation-delay:calc(var(--i)*.07s)}
@keyframes victory-rays-turn{to{transform:rotate(360deg)}}@keyframes crown-celebration{0%{opacity:0;transform:translateY(-60px) scale(.3) rotate(-20deg)}60%{opacity:1;transform:translateY(8px) scale(1.15) rotate(5deg)}100%{transform:translateY(0) scale(1)}}@keyframes podium-celebration{from{opacity:0;transform:translateY(90px) scale(.9)}to{opacity:1;transform:none}}@keyframes finale-confetti{0%{opacity:0;transform:translateY(-60px) scale(0)}25%{opacity:1}100%{opacity:0;transform:translateY(320px) rotate(230deg) scale(1.3)}}
@media(prefers-reduced-motion:reduce){.victory-rays,.grand-finale .winner-crown,.grand-finale .podium-step,.grand-finale .final-sparkles i{animation:none}.grand-finale .final-sparkles{display:none}}

.pack-screen .pack-home,.room-choice .room-back{position:static;display:table;margin:0 0 24px;transform:none}

.votes-unfolding .card-author,.votes-unfolding .voters>.fine{visibility:hidden}.dream-stop.trap{background:radial-gradient(circle,#020107 35%,#171122 52%,#6c4284 65%,#10091d 75%);color:transparent;border-color:#ac88ca;box-shadow:0 0 12px #080010,inset 0 0 9px #000}.dream-stop.trap::after{content:'';position:absolute;inset:12%;border:2px solid #bea0df;border-left-color:transparent;border-bottom-color:#4c2b67;border-radius:50%;transform:rotate(-30deg)}.dream-stop.trap.triggered{animation:black-hole-pulse .8s ease-in-out infinite alternate}@keyframes black-hole-pulse{to{box-shadow:0 0 32px 12px #31134dcc;transform:scale(1.2)}}@media(prefers-reduced-motion:reduce){.dream-stop.trap.triggered{animation:none}}
