/* ==========================================================================
   Pald Arcade V2 — game stages, boards, results details and the eight podiums.
   Common section first, then one section per game (== key ==).
   ========================================================================== */

/* == common == */
.play.g-trace-trail{--play-glow:#123F3A}.play.g-pop-quiz{--play-glow:#3A1F33}.play.g-piano-rush{--play-glow:#262068}.play.g-pair-peek{--play-glow:#1F3528}
.play.g-hue-hunt{--play-glow:#2A2350}.play.g-stack-snap{--play-glow:#163834}.play.g-orbit-tap{--play-glow:#2A2275}.play.g-slide-path{--play-glow:#1F2A48}
.board{position:relative;width:100%;max-width:520px;margin:0 auto;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.board-feedback.bad{color:#FF9C95}.board-feedback.ok{color:#8BE6D2}
.ready{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--stage-ink);padding:24px}
.ready-art{width:180px;height:120px;border-radius:24px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.ready-art .art{width:100%;height:100%}
.ready h2{font-size:28px;font-weight:900;letter-spacing:-.02em;margin-top:10px}
.ready p{color:var(--stage-ink-2)}
.ready .count{font-size:84px;font-weight:900;line-height:1;margin-top:16px;color:#C9CAFF;font-variant-numeric:tabular-nums;animation:count-pop .6s var(--ease-out) infinite}
@keyframes count-pop{0%{transform:scale(.7);opacity:0}30%{transform:scale(1.05);opacity:1}100%{transform:scale(1);opacity:1}}
.hud-sub[hidden]{display:none}
.hearts{display:inline-flex;gap:4px}.hearts svg{width:22px;height:22px}
.miss-dots{display:inline-flex;gap:6px;align-items:center}.miss-dots i{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.18)}.miss-dots i.on{background:#FF7E77;box-shadow:0 0 10px rgba(255,126,119,.6)}
.res-art{width:170px;height:112px;border-radius:24px;overflow:hidden;box-shadow:var(--sh-2)}
.res-art .art{width:100%;height:100%}
.res-detail{display:grid;gap:12px}
.res-detail .card h4,.res-detail h4{font-size:16px;font-weight:800;margin-bottom:8px}
.chest-tile .btn{margin-top:4px}
dialog.sheet.reveal .sheet-top h2{display:none}
.chest-reveal{position:relative;display:grid;justify-items:center;gap:8px;padding:10px 0 4px;text-align:center}
.chest-reveal .cr-closed,.chest-reveal .cr-open{grid-area:1/1}
.chest-reveal .cr-closed{animation:cr-shake .5s ease-in-out,cr-hide .2s .5s forwards}
.chest-reveal .cr-open{opacity:0;animation:cr-show .35s .55s var(--ease-out) forwards}
.chest-reveal .cr-amt{display:inline-flex;align-items:center;gap:8px;font-size:34px;font-weight:900;font-variant-numeric:tabular-nums;opacity:0;animation:cr-show .35s .75s var(--ease-out) forwards}
@keyframes cr-shake{0%,100%{transform:rotate(0)}20%{transform:rotate(-6deg)}40%{transform:rotate(6deg)}60%{transform:rotate(-4deg)}80%{transform:rotate(3deg)}}
@keyframes cr-hide{to{opacity:0;transform:scale(.9)}}
@keyframes cr-show{from{opacity:0;transform:scale(.85) translateY(6px)}to{opacity:1;transform:none}}
.promo{display:grid;justify-items:center;gap:8px;text-align:center;padding:8px 0}
.promo .art{animation:promo-in 1.2s var(--ease-out)}
.promo h2{font-size:28px;font-weight:900;letter-spacing:-.02em}
@keyframes promo-in{0%{transform:scale(.6) rotate(-12deg);opacity:0;filter:drop-shadow(0 0 0 rgba(139,140,248,0))}60%{transform:scale(1.06) rotate(2deg);opacity:1;filter:drop-shadow(0 0 22px rgba(139,140,248,.7))}100%{transform:none;filter:drop-shadow(0 0 0 rgba(139,140,248,0))}}
.attempt-strip{display:grid;grid-template-columns:repeat(10,1fr);gap:6px}
.attempt-strip .cell{display:grid;place-items:center;aspect-ratio:1;border-radius:8px;font-size:11px;font-weight:800}
.attempt-strip .cell.ok{background:#DDF6EE;color:#13775F}.attempt-strip .cell.bad{background:#FDE3E1;color:#B23F38}.attempt-strip .cell.to{background:var(--inset);color:var(--ink-2)}.attempt-strip .cell.na{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line-2);color:var(--ink-3)}
.attempt-strip .cell svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.attempt-strip .n{display:block;text-align:center;font-size:11px;color:var(--ink-3);margin-top:2px}
.rows-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.rows-table td{padding:9px 6px;border-bottom:1px solid var(--line)}
.rows-table tr:last-child td{border-bottom:0}
.rows-table .ok{color:var(--success);font-weight:700}.rows-table .bad{color:var(--danger);font-weight:700}
.rows-table td:last-child{text-align:right;font-weight:800}
.lane-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:end;height:130px}
.lane-bars div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px}
.lane-bars i{display:block;width:44px;border-radius:12px 12px 6px 6px;background:linear-gradient(180deg,#B9BBFF,#7275F0)}
.lane-bars b{font-size:13px}.lane-bars small{font-size:11.5px;color:var(--ink-2)}
@media (max-width:360px){.tool{min-height:76px}.hud-tile .v{font-size:21px}}

/* == pop-quiz == */
.g-pop-quiz .hud{grid-template-columns:1.7fr 1fr 1fr}
.hud-tile.qz-q{align-items:flex-start;text-align:left}
.hud-tile.qz-q .v{display:block;width:100%}
.hud-tile.qz-q .k{color:var(--stage-ink);font-size:13.5px;font-weight:700}
.qz-segs{display:flex;gap:4px;margin-top:8px;width:100%}
.qz-segs i{flex:1;height:7px;border-radius:4px;background:rgba(255,255,255,.16)}
.qz-segs i.done{background:#F39E9B}.qz-segs i.cur{background:#FFD0CC;box-shadow:0 0 8px rgba(243,158,155,.6)}
.qz-streak{display:inline-flex;align-items:center;gap:4px}.qz-streak .glyph{color:#FFB25C}
.qz{display:grid;justify-items:center;gap:14px}
.qz-timer{position:relative;width:96px;height:96px;display:grid;place-items:center;color:#fff}
.qz-timer svg{position:absolute;inset:0;transform:rotate(-90deg)}
.qz-timer .trk{fill:rgba(255,255,255,.04);stroke:rgba(255,255,255,.12);stroke-width:7}
.qz-timer .arc{fill:none;stroke:#F39E9B;stroke-width:7;stroke-linecap:round;transition:stroke-dashoffset .1s linear}
.qz-timer b{font-size:34px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}
.qz-timer .u{position:absolute;right:24px;bottom:30px;font-size:13px;color:var(--stage-ink-2);font-weight:700}
.qz-timer.urgent .arc{stroke:#FF6B63}.qz-timer.urgent b{color:#FFB4AF;animation:qz-pulse .5s ease-in-out infinite alternate}
@keyframes qz-pulse{to{transform:scale(1.08)}}
.qz-ticket{position:relative;width:100%;padding:22px 18px 18px;border-radius:22px;background:linear-gradient(180deg,#FFF1EC,#FFE2DA);color:#2A1E2A;box-shadow:0 18px 40px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.6);
 -webkit-mask:radial-gradient(circle 11px at 0 50%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 11px at 100% 50%,#0000 98%,#000) right/51% 100% no-repeat;
 mask:radial-gradient(circle 11px at 0 50%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 11px at 100% 50%,#0000 98%,#000) right/51% 100% no-repeat}
.qz-ticket::before{content:"";position:absolute;left:14px;right:14px;top:10px;border-top:2px dashed rgba(201,90,80,.25)}
.qz-ticket.in{animation:qz-in .32s var(--ease-out)}
@keyframes qz-in{from{opacity:0;transform:translateY(10px) rotate(-1.2deg)}to{opacity:1;transform:none}}
.qz-cat{display:block;font-size:13px;font-weight:650;color:#9A5A55;margin-bottom:6px}
.qz-armed{position:absolute;top:16px;right:16px;padding:4px 10px;border-radius:10px;background:#F39E9B;color:#fff;font-weight:800;font-size:12px}
.qz-ticket h2{font-size:clamp(20px,5.6vw,24px);line-height:1.22;font-weight:850;letter-spacing:-.015em;margin-bottom:14px;color:#1E1830}
.qz-answers{display:grid;gap:9px}
.qz-answers button{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 14px 8px 8px;border-radius:16px;background:#fff;color:#1E1830;text-align:left;font-size:16px;font-weight:700;box-shadow:0 2px 0 rgba(201,90,80,.12),0 6px 14px rgba(120,60,60,.08);transition:transform var(--t-press),background-color .15s,box-shadow .15s}
.qz-answers button:active:not(:disabled){transform:scale(.985)}
.qz-answers .l{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#EEEDFF;color:#4C51C4;font-weight:900;flex:none}
.qz-answers .t{flex:1;min-width:0}
.qz-answers .mark{width:22px;height:22px;border-radius:50%;flex:none}
.qz-answers button.picked{box-shadow:inset 0 0 0 2px #8B8CF8}
.qz-answers button.right{background:#DDF6EE;box-shadow:inset 0 0 0 2px #2EAE8A}
.qz-answers button.right .l{background:#2EAE8A;color:#fff}
.qz-answers button.right .mark{background:#2EAE8A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center/16px no-repeat}
.qz-answers button.wrong{background:#FDE3E1;box-shadow:inset 0 0 0 2px #E2605A;animation:qz-shake .3s}
.qz-answers button.wrong .l{background:#E2605A;color:#fff}
.qz-answers button.wrong .mark{background:#E2605A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/14px no-repeat}
.qz-answers button:disabled{cursor:default}
@keyframes qz-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.qz-review summary{cursor:pointer;font-weight:700;color:var(--action-ink);margin-top:10px}
.qz-rv{padding:10px 0;border-top:1px solid var(--line)}.qz-rv small{color:var(--ink-3);font-weight:700}.qz-rv b{display:block}.qz-rv p{color:var(--ink-2);font-size:14px}
/* podium: three overlapping quiz tickets */
.pod-quiz{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;padding:18px 10px 12px;background:radial-gradient(120% 90% at 50% 0,#3A1F33,#1A1630);border-radius:24px}
.pod-quiz .qt{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:28px 8px 14px;border-radius:18px;background:linear-gradient(180deg,#FFE7E1,#FFC9BF);color:#2A1E2A;text-align:center;box-shadow:0 14px 30px rgba(0,0,0,.35)}
.pod-quiz .qt-2{transform:rotate(-5deg) translateX(10px);z-index:1}.pod-quiz .qt-3{transform:rotate(5deg) translateX(-10px);z-index:1}.pod-quiz .qt-1{z-index:2;padding-top:34px;margin-bottom:12px}
.pod-quiz .crown{position:absolute;top:-14px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#F39E9B;color:#fff;font-weight:900;font-size:14px;box-shadow:0 0 0 3px #FFE7E1}
.pod-quiz .qt-1 .crown{background:#F6C85A;color:#6B4600}
.pod-quiz .face{width:52px;height:52px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px #fff}
.pod-quiz .qt-1 .face{width:62px;height:62px}
.pod-quiz .nm{font-size:13.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pod-quiz .sc{font-size:20px;font-weight:900;font-variant-numeric:tabular-nums}
.pod-quiz small{font-size:11px;color:#8A5550}
.pod-quiz .empty{opacity:.55}

/* == trace-trail == */
.tt-stage{position:relative;width:100%;aspect-ratio:1;border-radius:24px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.06)}
.tt-stage svg{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
.tt-status{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:6px 12px;border-radius:12px;background:rgba(6,30,27,.72);color:#DFFBF3;font-size:13px;font-weight:700;white-space:nowrap;pointer-events:none}
.tt-note{text-align:center;color:var(--stage-ink-2);font-size:12.5px;margin-top:8px}
.tt-hearts{display:inline-flex;gap:3px;justify-content:center}
.tt-hearts i{display:inline-grid;width:24px;height:24px;color:#FF6F83;filter:drop-shadow(0 2px 6px rgba(255,111,131,.45));transition:transform .3s,opacity .3s}
.tt-hearts svg{width:100%;height:100%;fill:currentColor}
.tt-hearts i.lost{color:transparent;filter:none}
.tt-hearts i.lost svg{fill:none;stroke:rgba(255,255,255,.4);stroke-width:2}
.tt-result{position:relative;border-radius:22px;overflow:hidden;background:linear-gradient(180deg,#0F3F3A,#0A2A28);box-shadow:var(--sh-2)}
.tt-result svg{display:block;width:100%;height:auto;aspect-ratio:1}
.tt-legend{display:flex;justify-content:center;gap:18px;padding:10px;color:#DFFBF3;font-size:13px;font-weight:650}
.tt-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.tt-legend i.on{background:#5FD0B5}.tt-legend i.miss{background:#F06A63}
.pod-trace{position:relative;height:184px;border-radius:24px;overflow:hidden;background:radial-gradient(120% 100% at 50% 0,#165249,#0A2A28)}
.pod-trace svg{position:absolute;inset:0;width:100%;height:100%}
.pod-trace .tp{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:1px;color:#fff;text-align:center;width:31%}
.pod-trace .face{position:relative;width:54px;height:54px;border-radius:50%;padding:3px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.35)}
.pod-trace .tp-1 .face{width:66px;height:66px}
.pod-trace .face .art{width:100%;height:100%;border-radius:50%;overflow:hidden}
.pod-trace .medal{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:900;color:#fff;background:#9AA3BC;box-shadow:0 0 0 2px #fff}
.pod-trace .tp-1 .medal{background:linear-gradient(180deg,#FFD66B,#E6A21C)}.pod-trace .tp-3 .medal{background:linear-gradient(180deg,#F5B98A,#D9814A)}
.pod-trace .nm{margin-top:10px;font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pod-trace .sc{font-size:16px;font-weight:900;font-variant-numeric:tabular-nums}
.pod-trace .empty{opacity:.6}

/* == piano-rush == */
.pr{display:grid;gap:8px}
.pr-prog{height:4px;border-radius:4px;background:rgba(255,255,255,.1);overflow:hidden}.pr-prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,#8B8CF8,#C3B7FF)}
.pr-lanes{position:relative;display:grid;grid-template-columns:repeat(4,1fr);height:clamp(300px,52vh,460px);border-radius:22px 22px 8px 8px;overflow:hidden;background:linear-gradient(180deg,#0B0E24 0%,#151A40 70%,#1D2150 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.pr-lane{position:relative;border-left:1px solid rgba(139,140,248,.14);transition:background-color .12s}
.pr-lane:first-child{border-left:0}
.pr-lane.hit,.pr-lane.good{background:linear-gradient(180deg,transparent 40%,rgba(139,140,248,.22))}.pr-lane.perfect{background:linear-gradient(180deg,transparent 30%,rgba(165,167,255,.38))}.pr-lane.miss{background:linear-gradient(180deg,transparent 50%,rgba(255,110,110,.2))}
.pr-strike{position:absolute;left:0;right:0;top:82%;height:3px;background:linear-gradient(90deg,transparent,#A5A7FF 15%,#E9E9FF 50%,#A5A7FF 85%,transparent);box-shadow:0 0 18px 3px rgba(139,140,248,.75)}
.pr-note{position:absolute;top:0;width:calc(25% - 14px);height:22px;border-radius:12px;background:linear-gradient(180deg,#C9C6FF,#8B7CF6);box-shadow:0 0 16px rgba(139,140,248,.75),inset 0 1px 0 rgba(255,255,255,.7);will-change:transform}
.pr-judge{position:absolute;left:0;right:0;top:62%;text-align:center;font-size:30px;font-weight:900;font-style:italic;letter-spacing:-.02em;color:#E3E2FF;text-shadow:0 4px 22px rgba(139,140,248,.8);pointer-events:none;opacity:0}
.pr-judge.pop{animation:pr-pop .6s var(--ease-out) forwards}
.pr-judge[data-kind="good"]{color:#BFE9DE;text-shadow:0 4px 20px rgba(121,215,195,.6)}.pr-judge[data-kind="miss"]{color:#FFB0AA;text-shadow:0 4px 20px rgba(255,110,110,.5);font-size:22px}
@keyframes pr-pop{0%{opacity:0;transform:scale(.7)}25%{opacity:1;transform:scale(1.08)}100%{opacity:0;transform:translateY(-16px) scale(1)}}
.pr-pause{position:absolute;inset:0;display:grid;place-content:center;gap:8px;text-align:center;background:rgba(9,11,28,.82);color:#fff;z-index:3}
.pr-pause[hidden]{display:none}
.pr-pause h3{font-size:22px;font-weight:900}.pr-pause p{color:var(--stage-ink-2)}
.pr-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:-2px}
.pr-key{position:relative;display:grid;place-items:end center;height:92px;padding-bottom:12px;border-radius:12px 12px 18px 18px;background:linear-gradient(180deg,#FFFFFF,#E3E5F6);box-shadow:0 8px 0 #B9BCD8,0 14px 24px rgba(0,0,0,.45);color:#3C3F6E;font-weight:850;font-size:17px;transition:transform 80ms,box-shadow 80ms}
.pr-key.down{transform:translateY(6px);box-shadow:0 2px 0 #B9BCD8,0 6px 14px rgba(0,0,0,.4);background:linear-gradient(180deg,#F2F1FF,#D9D8FF)}
.pr-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px;color:var(--stage-ink-2);font-size:13px;font-weight:650}
.pr-sound{display:inline-flex;align-items:center;gap:6px}
.pr-strip{display:flex;align-items:flex-end;gap:2px;height:52px}
.pr-strip i{flex:1;border-radius:2px;background:#C9C6F5;height:10%}.pr-strip i.perfect{height:100%;background:#8B7CF6}.pr-strip i.good{height:65%;background:#A9A2F2}.pr-strip i.miss{height:22%;background:#EFA19C}.pr-strip i.unplayed{height:8%;background:var(--inset-2)}
/* podium: equalizer columns */
.pod-piano{display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:end;gap:10px;height:200px;padding:16px 12px 12px;border-radius:24px;background:radial-gradient(120% 90% at 50% 0,#2A2470,#0D1030)}
.pod-piano .eq{display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end;color:#fff;text-align:center;min-width:0}
.pod-piano .face{position:relative;width:52px;height:52px;border-radius:50%;padding:3px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.4);flex:none}
.pod-piano .eq-1 .face{width:64px;height:64px}
.pod-piano .face .art{width:100%;height:100%;border-radius:50%;overflow:hidden}
.pod-piano .medal{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:900;background:#9AA3BC;box-shadow:0 0 0 2px #fff}
.pod-piano .eq-1 .medal{background:linear-gradient(180deg,#FFD66B,#E6A21C)}.pod-piano .eq-3 .medal{background:linear-gradient(180deg,#F5B98A,#D9814A)}
.pod-piano .nm{margin:12px 0 6px;font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pod-piano .col{display:flex;flex-direction:column-reverse;gap:3px;width:78%;flex:none;max-height:58%}
.pod-piano .col i{flex:1;border-radius:4px;background:linear-gradient(90deg,#8B7CF6,#C3B7FF)}
.pod-piano .foot{width:100%;padding:8px 4px 4px;border-radius:0 0 12px 12px;background:rgba(255,255,255,.07)}
.pod-piano .sc{display:block;font-size:15px;font-weight:900;font-variant-numeric:tabular-nums}
.pod-piano .empty{opacity:.55}

/* ---------- Hue Hunt, Stack Snap, Orbit Tap, Slide Path, Pair Peek boards (folded from compact-games.css) ---------- */
/* Native stages for five different mechanics. Text and inputs stay outside decoration. */
.arcade-native-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;padding:10px;background:#ffffff0b;border:1px solid #ffffff12;border-radius:14px}.arcade-native-stats>div{display:grid;gap:4px;text-align:center;min-width:0}.arcade-native-stats small{font-size:11px;letter-spacing:.5px;color:#b9c1d8}.arcade-native-stats b{font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}.arcade-native-stats em{font-style:normal;font-size:12px;color:#b9c1d8}.arcade-board-note{text-align:center;font-size:12px;color:#b9c1d8;margin:12px 0 2px}.arcade-complete{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:280px;padding:20px;text-align:center}.arcade-complete h2{font-size:24px}.arcade-complete p{font-size:14px;color:#b9c1d8}.arcade-seal{font-size:44px;color:#79d7c3}.arcade-result-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:8px;margin-top:14px}.arcade-result-metrics>div{display:grid;justify-items:center;gap:4px;padding:12px 6px;background:var(--inset);border-radius:12px}.arcade-result-metrics b{font-size:20px}.arcade-result-metrics small{font-size:12px;color:var(--ink-2)}
/* Pair Peek: folded porcelain cards on a quiet sage mat. */
.pp-mat{position:relative;border-radius:20px;padding:10px;background:linear-gradient(145deg,#76a99540,#3f665f24);border:1px solid #9ac7af35;perspective:800px}.pp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pp-card{position:relative;aspect-ratio:1;min-height:48px;padding:0;border:0;border-radius:12px;background:none;perspective:500px;touch-action:manipulation}.pp-card:disabled{opacity:1}.pp-in{position:absolute;inset:0;border-radius:inherit;transform-style:preserve-3d;transition:transform 180ms ease}.pp-card.up .pp-in{transform:rotateY(180deg)}.pp-back,.pp-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:inherit;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:1px solid #f7fff475;box-shadow:0 3px 0 #162a3650,inset 0 1px 0 #ffffff9c}.pp-back{background:linear-gradient(145deg,#9fa6ed,#737cce)}.pp-back:after{content:"";width:23px;height:23px;border:2px solid #ffffff70;border-radius:5px;transform:rotate(45deg)}.pp-face{transform:rotateY(180deg);background:linear-gradient(145deg,#fffef3,#dce8d6)}.pp-face svg,.pp-face img{width:68%;height:68%;object-fit:contain}.pp-card.matched .pp-face{background:linear-gradient(145deg,#ebffe8,#b8ddbb);border-color:#79d7c3}.pp-card.partner{outline:3px solid #f4c761;outline-offset:2px}.pp-card.wrong .pp-face{border:2px solid #f39e9b}.pp-banner{position:absolute;left:50%;top:-8px;transform:translate(-50%,-100%);padding:6px 10px;border-radius:9px;background:#e4f0dd;color:#294137;font-size:12px;font-weight:650;white-space:nowrap}.pp-note{min-height:30px;font-size:12px;text-align:center;color:#c5d7ca;margin:12px 0 0}.pp-fold{padding:14px;display:grid;gap:12px}.pp-fold h4{font-size:14px;margin:0 0 10px}.pp-matches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.pp-mini{display:flex;align-items:center;background:var(--mint-soft);border-radius:10px;padding:5px}.pp-mini i{width:50%;height:26px}.pp-mini svg,.pp-mini img{width:100%;height:100%;object-fit:contain}.pp-mini.off{opacity:.35}.rows-table{width:100%;border-collapse:collapse;font-size:13px}.rows-table td{padding:8px 0;border-bottom:1px solid var(--line)}.rows-table td:last-child{text-align:right;font-weight:650}
/* Hue Hunt: a flat color and pattern field, with generous real tile targets. */
.hue-deadline{height:24px;background:#ffffff0d;border-radius:10px;position:relative;overflow:hidden;margin-bottom:12px}.hue-deadline>span{position:absolute;inset:0 auto 0 0;background:#8b8cf87a;border-radius:inherit}.hue-deadline>b{position:absolute;inset:0;text-align:right;padding:3px 8px;font-size:12px;line-height:18px;font-variant-numeric:tabular-nums}.v2-hue-grid{display:grid;grid-template-columns:repeat(var(--grid-size),minmax(0,1fr));gap:7px;padding:8px;background:#ffffff08;border-radius:16px}.v2-hue-tile{position:relative;aspect-ratio:1;min-height:44px;border:1px solid #ffffff50;border-radius:10px;background:hsl(var(--tile-hue) 72% 74%);padding:0;overflow:hidden;transition:opacity 140ms,transform 120ms}.v2-hue-tile>span{position:absolute;inset:14%;background:repeating-linear-gradient(var(--pattern-angle),transparent 0 7px,#ffffff9c 7px 10px);border-radius:4px}.v2-hue-tile:active{transform:scale(.95)}.v2-hue-tile:disabled{opacity:1}.v2-hue-tile.dimmed{opacity:.2}.v2-hue-tile.resolved-error{outline:3px solid #f04f5c;outline-offset:-3px}.v2-hue-tile.resolved-target{outline:3px solid #2d896f;outline-offset:-3px}.v2-hue-tile>b{position:absolute;inset:0;display:grid;place-items:center;font-size:24px;color:#192139;background:#ffffff45}.mistake-slots{display:flex;justify-content:center;gap:6px}.mistake-slots i{font-size:20px;font-style:normal;color:#8e96b2}.mistake-slots i.used{color:#f39e9b}.hue-result-strip{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;padding:12px 0}.hue-result-strip>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:7px;background:var(--inset);font-size:17px;min-height:40px}.hue-result-strip small{font-size:11px}.hue-result-strip .correct{background:var(--mint-soft);color:var(--mint-ink)}.hue-result-strip .wrong{background:var(--coral-soft);color:var(--coral-ink)}
/* Stack Snap: visible support width is the server-accepted geometry. */
.stack-window{height:24px;position:relative;border-radius:8px;background:#ffffff09;overflow:hidden;margin-bottom:10px}.stack-window>span{position:absolute;inset:0 auto 0 0;background:#79d7c350}.stack-window>small{position:absolute;inset:0;padding:3px 9px;line-height:18px;font-size:12px;text-align:right}.v2-stack-stage{display:block;position:relative;width:100%;height:350px;padding:0;border-radius:20px;overflow:hidden;background:linear-gradient(155deg,#142c30,#0d182a);touch-action:manipulation;border:1px solid #a1cfbd25}.stack-scene-grid{position:absolute;inset:0;background:linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:32px 32px}.stack-pedestal{position:absolute;left:8%;right:8%;bottom:37px;height:17px;background:#758799;border-radius:4px;box-shadow:0 8px 0 #394d61}.stack-tower{position:absolute;left:0;right:0;bottom:54px;height:260px}.stack-landed,.stack-support,.v2-stack-moving{position:absolute;height:23px;border-radius:4px;background:linear-gradient(180deg,#a6e4d5,#65b9a6);box-shadow:inset 0 3px 0 #d1fff2,inset -4px -4px 0 #41796b80,0 2px 0 #132e34;transition:none}.stack-landed:nth-child(even){background:linear-gradient(180deg,#f5bbb4,#df8b86);box-shadow:inset 0 3px 0 #ffded7,inset -4px -4px 0 #99606080,0 2px 0 #132e34}.stack-support{background:#c5d2e6;opacity:.75}.v2-stack-moving{z-index:3;background:linear-gradient(180deg,#bdc2ff,#8c92e8);box-shadow:inset 0 3px 0 #e7eaff,inset -4px -4px 0 #5a5d9880,0 3px 4px #080f2180}.stack-tap-label{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:13px;color:#e7f5f1}.stack-tap-label kbd{font-size:11px;border:1px solid #ffffff30;border-radius:4px;padding:2px 4px;margin-left:8px}.stack-chest-path{display:flex;align-items:center;gap:8px;padding:12px 2px;font-size:12px}.stack-chest-path>span{display:flex;gap:4px;flex:1}.stack-chest-path i{height:5px;flex:1;border-radius:5px;background:#ffffff20}.stack-chest-path i.filled{background:#79d7c3}.stack-chest-path small{font-size:12px;color:#b9c1d8}.stack-crop-fragment{position:absolute;top:35%;height:20px;background:#f39e9b;border-radius:4px;animation:stack-fragment 550ms ease-in forwards}@keyframes stack-fragment{to{transform:translateY(190px) rotate(20deg);opacity:0}}.stack-result-tower{height:175px;position:relative;background:var(--inset);border-radius:16px;margin:12px 0}.stack-result-tower i{position:absolute;height:11px;border-radius:2px;background:#79d7c3}.stack-result-tower i:nth-child(even){background:#f39e9b}
/* Orbit Tap: one stationary instrument and one moving marker. */
.orbit-outside-stats{display:flex;justify-content:space-between;align-items:center;padding:4px 8px;font-size:12px;color:#b9c1d8}.orbit-outside-stats b{color:#f5f6ff;font-size:14px}.orbit-misses{display:flex;gap:7px}.orbit-misses i{font-size:22px;font-style:normal;color:#77809f}.orbit-misses i.used{color:#f39e9b}.v2-orbit-instrument{position:relative;max-width:330px;margin:0 auto;width:100%;aspect-ratio:1}.v2-orbit-instrument>svg{width:100%;height:100%;overflow:visible}.orbit-track,.orbit-track-inner,.orbit-active-arc,.orbit-perfect-arc,.orbit-preview-arc,.orbit-center-cross{fill:none}.orbit-track{stroke:#4b4a7b;stroke-width:12}.orbit-track-inner{stroke:#8b8cf825;stroke-width:1}.orbit-active-arc{stroke:#79d7c3;stroke-width:14;stroke-linecap:round}.orbit-perfect-arc{stroke:#dcfff2;stroke-width:5;stroke-linecap:round}.orbit-preview-arc{stroke:#79d7c340;stroke-width:2;stroke-dasharray:2 4}.orbit-center-cross{stroke:#8b8cf84d;stroke-width:2}.v2-orbit-marker{fill:#f5f6ff;stroke:#8b8cf8;stroke-width:3;filter:drop-shadow(0 0 5px #8b8cf870)}.orbit-center-value{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;pointer-events:none}.orbit-center-value small{font-size:11px;color:#b9c1d8;letter-spacing:.6px}.orbit-center-value strong{font-size:36px;line-height:1.1;font-variant-numeric:tabular-nums}.orbit-center-value>span{font-size:12px;color:#b9c1d8}.orbit-direction{display:flex;align-items:center;gap:8px;font-size:12px;padding:4px 8px 12px;color:#b9c1d8}.orbit-direction>b{font-size:24px;color:#c5c2ff}.orbit-direction>span{flex:1}.orbit-direction>small{font-size:12px;font-variant-numeric:tabular-nums}.orbit-tap-pad{display:block;width:100%;min-height:52px;border-radius:14px;background:#a5a7ff;color:#192139;font-size:18px;font-weight:750;touch-action:manipulation}.orbit-tap-pad kbd{font-size:11px;margin-left:10px;border:1px solid #19213955;border-radius:5px;padding:3px 5px}.orbit-tap-pad:active{transform:scale(.98)}.orbit-result-wheel{position:relative;width:180px;height:180px;margin:8px auto}.orbit-result-wheel>svg{width:100%;height:100%}.orbit-result-wheel>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.orbit-result-wheel b{font-size:30px}.orbit-result-wheel small{font-size:12px;color:var(--ink-2)}
/* Slide Path: real channels, actual empty space and legal neighbor affordance. */
.slide-route-board{position:relative;padding:24px 8px;background:#dae5e5;border-radius:18px;border:1px solid #f9ffff55}.v2-slide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.v2-slide-tile{position:relative;aspect-ratio:1;min-height:48px;padding:0;border:1px solid #ffffffa0;border-radius:12px;background:linear-gradient(145deg,#f5fcf8,#d1dedc);box-shadow:0 3px 0 #829b9a80,inset 0 1px 0 #fff;overflow:hidden;touch-action:pan-y;transition:transform 120ms ease}.v2-slide-tile>svg{display:block;width:100%;height:100%}.v2-slide-tile .pipe-channel-shadow{stroke:#6d9789;stroke-width:20;fill:none;stroke-linejoin:round}.v2-slide-tile .pipe-channel{stroke:#75c8af;stroke-width:13;fill:none;stroke-linejoin:round}.pipe-junction{fill:#75c8af;stroke:none}.v2-slide-tile.eligible{outline:2px solid #6cae9d;outline-offset:-3px}.v2-slide-tile.eligible:active{transform:scale(.97)}.v2-slide-tile.empty{background:#9eb6b6;box-shadow:inset 0 2px 5px #57747a38;border-color:transparent;color:#7c999a;font-size:24px}.v2-slide-tile.move-hint{outline:3px solid #7469de;outline-offset:-3px}.slide-port{position:absolute;display:flex;align-items:center;gap:4px;color:#285d4b;font-size:16px}.slide-port b{font-size:11px;letter-spacing:.6px}.slide-port.start{top:3px;left:12px}.slide-port.finish{bottom:3px;right:12px}.slide-puzzle-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#b9c1d8;gap:8px;margin-top:12px}.slide-completed-routes{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.slide-completed-routes>div{max-width:140px;flex:1;min-width:110px}.slide-completed-routes small{font-size:12px;color:var(--ink-2)}.slide-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:5px;background:var(--inset);border-radius:10px}.slide-mini-grid>span{aspect-ratio:1;background:#dbe8e1;border-radius:3px;overflow:hidden}.slide-mini-grid svg{display:block;width:100%;height:100%}.slide-mini-grid .pipe-channel-shadow{fill:none;stroke:#8fb6a5;stroke-width:20}.slide-mini-grid .pipe-channel{fill:none;stroke:#76c6ad;stroke-width:12}.slide-mini-grid .empty{background:transparent}.slide-incomplete{margin-top:12px;font-size:13px}.slide-incomplete .slide-mini-grid{max-width:180px;margin:10px auto}.route-completed .pipe-channel{stroke:#51b292}
@media(max-height:700px) and (max-width:700px){.board-area{min-height:230px;margin:6px 0}.play .hud-tile{min-height:48px;padding:7px}.play .hud-tile .v{font-size:21px}.play .hud-sub{margin:7px 0 0}.play .tool{min-height:66px;gap:3px;padding:7px}.tool-dock{gap:8px}.boost-note{margin:6px 0}.pr-lanes{height:280px!important}.pr-key{height:66px}.v2-stack-stage{height:280px}.stack-tower{transform:scaleY(.8);transform-origin:bottom}.v2-orbit-instrument{max-width:250px}.v2-hue-grid{gap:5px}.pp-mat{padding:7px}.pp-grid{gap:6px}.pp-note{margin-top:8px}.arcade-native-stats{padding:7px;margin-bottom:8px}.arcade-native-stats b{font-size:20px}.arcade-board-note{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.pp-in{transition:none}.pp-card.up .pp-in{transform:none}.pp-card.up .pp-face{transform:none}.pp-card.up .pp-back{visibility:hidden}.pp-card:not(.up) .pp-face{visibility:hidden}.stack-crop-fragment{animation:none;display:none}.v2-slide-tile,.v2-hue-tile{transition:none}}
.reduce-motion .pp-in{transition:none}.reduce-motion .stack-crop-fragment{animation:none;display:none}

/* ---------- podium refinements (folded from arcade-night.css) ---------- */
.pod-quiz .qt .nm{color:#2a1e2a}
.pod-quiz small{font-size:12px;color:#744640}
.pod-quiz .qt .pz{color:#2a1e2a}
.pod-pair{display:grid;grid-template-columns:1fr 1.08fr 1fr;align-items:end;gap:7px;height:190px;padding:16px 8px 8px;background:linear-gradient(150deg,#1c3e38,#142a2c);border-radius:18px}
.pod-pair .mc{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;height:150px;padding:8px 4px;border-radius:11px;background:linear-gradient(145deg,#edf6de,#c3dfbd);color:#1d3931;box-shadow:3px 3px 0 #95b0a466;transform:rotate(-3deg)}
.pod-pair .mc-1{height:166px;transform:none}
.pod-pair .mc-3{transform:rotate(3deg)}
.pod-pair .mc-motif{position:absolute;z-index:-1;right:3px;top:5px;width:35px;height:35px;opacity:.35}
.pod-pair .mc-motif svg{width:100%;height:100%}
.pod-pair .face{position:relative;width:36px;height:36px;margin-bottom:7px}
.pod-pair .face>.art{width:36px!important;height:36px!important}
.pod-pair .medal{position:absolute;bottom:-5px;right:-3px;background:#fff6d6;color:#544529;border-radius:50%;min-width:18px;font-size:12px;text-align:center}
.pod-pair .nm{font-size:12px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pod-pair .sc{font-size:16px;font-weight:750}
.pod-pair small{font-size:12px;color:#3e6451}
.pod-pair .pz{display:flex;align-items:center;gap:3px;font-size:13px}
.pod-pair .pz .art{width:17px!important;height:17px!important}
.pod-trace .tp{transform:translateX(-50%)}
.pod-trace .face{width:36px;height:36px}
.pod-trace .face .art{width:100%!important;height:100%!important}
.pod-trace .nm{margin-top:6px;font-size:12px}
.pod-trace .sc{font-size:15px}
.pod-trace .pz{font-size:12px}
.pod-trace .tp .face{width:36px;height:36px;padding:1px}
.pod-trace .medal{width:17px;height:17px;bottom:-5px;font-size:11px}
.pod-piano{height:200px;align-items:end;padding:10px 10px 8px}
.pod-piano .eq{display:grid;grid-template-rows:32px 18px minmax(18px,1fr) 40px;gap:4px;justify-items:center;height:160px;min-height:0}
.pod-piano .eq-1{height:180px}
.pod-piano .eq-3{height:148px}
.pod-piano .face{width:32px;height:32px}
.pod-piano .face .art{width:100%!important;height:100%!important}
.pod-piano .nm{font-size:12px;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pod-piano .col{height:auto!important;min-height:0;width:100%;overflow:hidden}
.pod-piano .foot{padding:2px;width:100%;font-size:13px}
.pod-piano .sc{font-size:14px}
.pod-piano .pz{font-size:12px}
.pod-piano .eq{grid-template-rows:40px 18px minmax(18px,1fr) 40px;align-items:stretch;justify-content:normal}
.pod-piano .eq .face{width:32px;height:32px;align-self:start;padding:1px}
.pod-piano .eq .col{display:grid;grid-template-rows:repeat(9,minmax(0,1fr));height:100%!important;max-height:none;align-self:stretch;gap:3px}
.pod-piano .col i{min-height:0}
.pod-piano .eq .medal{width:17px;height:17px;bottom:-5px;font-size:11px}
.pod-piano .nm{line-height:18px}

/* ---------- native ranking podium (folded from compact.css) ---------- */
.native-podium{height:180px;display:flex;align-items:flex-end;justify-content:center;gap:10px;margin:12px 0;overflow:hidden;padding-top:12px}
.podium-player{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;flex:1;max-width:160px;height:145px;padding:10px 4px;border-radius:16px;background:var(--inset);font-size:12px}
.podium-player.place-1{order:2;height:168px;background:var(--gold-soft)}
.podium-player.place-2{order:1}
.podium-player.place-3{order:3}
.podium-player strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.podium-avatar{position:relative;margin-bottom:5px}
.podium-avatar>.art{width:36px!important;height:36px!important}
.podium-avatar>b{position:absolute;bottom:-5px;right:-5px;font-size:11px;background:var(--surface);border:1px solid var(--line);border-radius:50%;width:18px;height:18px;display:grid;place-items:center}
.podium-score{font-variant-numeric:tabular-nums;font-weight:700}
.podium-sculpture{position:absolute;z-index:-1;inset:0;pointer-events:none;border-radius:inherit;opacity:.6}
.podium-trace-trail .podium-player{background:var(--mint-soft);border-radius:28px 28px 14px 14px;max-width:118px}
.podium-pop-quiz .podium-player{background:var(--coral-soft);border:1px dashed var(--coral);border-radius:9px;transform:rotate(-3deg)}
.podium-piano-rush .podium-player{background:var(--action-soft);border-radius:5px 5px 0 0}
.podium-piano-rush .podium-sculpture{background:repeating-linear-gradient(0deg,transparent 0 7px,var(--surface) 7px 9px);inset:80px 8px 0}
.podium-pair-peek .podium-player{background:var(--mint-soft);border:3px double var(--mint);border-radius:12px;transform:rotate(-4deg);box-shadow:3px 3px 0 var(--inset)}
.podium-hue-hunt .podium-player{height:140px;background:var(--surface);border-radius:8px}
.podium-stack-snap .podium-player{background:repeating-linear-gradient(0deg,var(--mint-soft) 0 24px,var(--surface) 24px 27px);border-radius:3px;clip-path:polygon(10% 0,90% 0,90% 25%,100% 25%,100% 100%,0 100%,0 25%,10% 25%)}
.podium-orbit-tap .podium-player{height:135px;background:var(--surface);max-width:120px;border-radius:50% 50% 12px 12px;border:1px solid var(--line)}
.podium-slide-path .podium-player{border-radius:4px;background:var(--surface);border-bottom:5px solid var(--mint)}

/* ---------- In-game chest (V3): Claim / Give up card, then a chest docked at the right edge with its unlock ring ---------- */
.chest-modal{position:fixed;inset:0;margin:auto;width:min(360px,calc(100vw - 32px));height:max-content;max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;overflow:auto;border-radius:24px;background:transparent;color:#fff;overscroll-behavior:contain}
.chest-modal::backdrop{background:rgba(5,9,24,.78);backdrop-filter:blur(5px)}
.coffer{position:relative;box-sizing:border-box;width:100%;padding:26px 22px 22px;border-radius:18px;text-align:center;overflow:hidden;transform-origin:50% 50%;background:radial-gradient(120% 90% at 50% 0%,rgba(247,197,78,.24),transparent 62%),linear-gradient(180deg,#242B5C,#141A3D);box-shadow:0 18px 40px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,215,118,.3);animation:co-in .55s cubic-bezier(.2,1.4,.4,1) both}
.co-close{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.co-close:focus-visible,.co-btn:focus-visible{outline:2px solid #FFD776;outline-offset:3px}
.co-paused{display:flex;justify-content:center;align-items:center;gap:6px;margin:4px 24px 14px;font-size:12px;font-weight:750;color:#FFD776}
.co-resume-note{position:relative;margin:12px 0 18px;color:var(--stage-ink-2,#A9B1CF);font-size:13px;line-height:1.5}
.co-error{position:relative;margin:10px 0;color:#FFACB6;font-size:13px;line-height:1.4}
.coffer .co-rays{position:absolute;left:50%;top:40px;width:190px;height:190px;margin:-95px 0 0 -95px;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(from 0deg,rgba(255,215,118,.22) 0 9deg,transparent 9deg 30deg);-webkit-mask:radial-gradient(circle,#000 22%,transparent 68%);mask:radial-gradient(circle,#000 22%,transparent 68%);animation:co-spin 10s linear infinite}
.coffer .co-art{position:relative;display:block;width:54px;height:54px;margin:0 auto 4px;filter:drop-shadow(0 6px 14px rgba(247,197,78,.5));animation:co-bob 1.6s ease-in-out infinite}
.coffer .co-art .art,.coffer .co-art img{width:54px;height:54px}
.coffer b{position:relative;display:block;font-size:15px;font-weight:850;letter-spacing:.2px;color:#fff}
.coffer .co-hint{position:relative;display:block;margin:3px 0 10px;font-size:11.5px;line-height:1.3;font-weight:750;color:#FFD776;text-shadow:0 0 10px rgba(247,197,78,.45)}
.coffer .co-act{position:relative;display:grid;grid-template-columns:1fr 1.3fr;gap:6px}
.co-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;border:0;border-radius:11px;font:inherit;font-size:13px;font-weight:850;cursor:pointer;transition:transform .12s}
.co-btn:active{transform:scale(.95)}
.co-btn:disabled{opacity:.6}
.co-btn.ghost{background:rgba(255,255,255,.08);color:var(--stage-ink-2,#A9B1CF);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.co-btn.gold{background:linear-gradient(180deg,#FFD776,#F2A922);color:#2A1600;box-shadow:0 6px 16px rgba(242,169,34,.42),inset 0 1px 0 rgba(255,255,255,.6)}
.co-btn.danger{background:linear-gradient(180deg,#FF7A8A,#E5485C);color:#fff;box-shadow:0 6px 16px rgba(229,72,92,.35)}
.coffer .co-life{position:absolute;left:0;bottom:0;width:100%;height:3px;background:linear-gradient(90deg,#FFD776,#F2A922);transform-origin:0 50%;animation:co-life 7s linear forwards}
.coffer.confirm{box-shadow:0 18px 40px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,122,138,.45)}
.coffer.confirm .co-life,.coffer.confirm .co-rays{display:none}
.coffer.confirm .co-hint{color:var(--stage-ink-2,#A9B1CF);text-shadow:none;font-weight:650}
.coffer.out{pointer-events:none}
.coffer.out.fly{animation:co-fly .45s cubic-bezier(.5,0,.75,0) forwards}
.coffer.out.drop{animation:co-drop .42s ease-in forwards}
@keyframes co-in{0%{opacity:0;transform:translateY(16px) scale(.95)}100%{opacity:1;transform:none}}
@keyframes co-fly{to{opacity:0;transform:translate(8px,-4px) scale(.2)}}
@keyframes co-drop{to{opacity:0;transform:translateY(20px) scale(.9);filter:grayscale(1)}}
@keyframes co-spin{to{transform:rotate(360deg)}}
@keyframes co-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@keyframes co-life{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.cdock{position:absolute;top:0;right:0;z-index:5;width:52px;height:62px;padding:0;border:0;background:none;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;animation:cd-in .5s cubic-bezier(.2,1.4,.4,1) both}
.cdock .cd-ring{position:absolute;top:0;left:2px;width:48px;height:48px;transform:rotate(-90deg);filter:drop-shadow(0 4px 10px rgba(0,0,0,.5))}
.cdock .cd-ring circle{stroke-width:3.5}
.cdock .trk{fill:rgba(16,22,52,.92);stroke:rgba(255,255,255,.12)}
.cdock .fil{fill:none;stroke:#F7C54E;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:calc(100 - 100 * var(--p,0));transition:stroke-dashoffset .95s linear,stroke .3s}
.cdock .cd-art{position:absolute;top:9px;left:11px;width:30px;height:30px}
.cdock .cd-art .art,.cdock .cd-art img{width:30px;height:30px}
.cdock .cd-t{position:absolute;left:50%;bottom:0;transform:translateX(-50%);min-width:38px;height:18px;padding:0 6px;border-radius:9px;background:#151B3F;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);font-size:11px;font-weight:850;line-height:18px;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.cdock[data-state="waiting"] .cd-art{animation:cd-wait 3.2s ease-in-out infinite}
.cdock[data-state="ready"] .fil{stroke:#FFD776}
.cdock[data-state="ready"] .cd-ring{filter:drop-shadow(0 0 10px rgba(247,197,78,.8))}
.cdock[data-state="ready"] .cd-art{animation:cd-shake 1.1s ease-in-out infinite}
.cdock[data-state="ready"] .cd-t{background:linear-gradient(180deg,#FFD776,#F2A922);color:#2A1600;box-shadow:0 0 12px rgba(247,197,78,.6)}
.cdock[data-state="opened"] .fil{stroke:#47E3B0}
.cdock[data-state="opened"] .cd-t{background:rgba(71,227,176,.18);color:#9DF5D6;box-shadow:inset 0 0 0 1px rgba(71,227,176,.42)}
.cdock[data-state="gone"]{filter:grayscale(1);opacity:.5}
.cdock[data-state="gone"] .fil{stroke:rgba(255,255,255,.25)}
.cdock.armed::after{content:'';position:absolute;top:1px;right:3px;width:9px;height:9px;border-radius:50%;background:#FFD776;box-shadow:0 0 0 2px #151B3F,0 0 10px #F7C54E}
.cdock.land{animation:cd-land .6s cubic-bezier(.2,1.6,.4,1)}
.cdock.burst::before{content:'';position:absolute;top:24px;left:26px;width:10px;height:10px;margin:-5px;border-radius:50%;box-shadow:0 0 0 2px rgba(255,215,118,.9);animation:cd-burst .9s ease-out forwards}
@keyframes cd-in{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes cd-land{0%{transform:scale(1.35)}100%{transform:none}}
@keyframes cd-wait{0%,86%,100%{transform:none}90%{transform:rotate(-8deg)}94%{transform:rotate(7deg)}}
@keyframes cd-shake{0%,100%{transform:rotate(0)}25%{transform:rotate(-9deg) scale(1.06)}75%{transform:rotate(9deg) scale(1.06)}}
@keyframes cd-burst{to{transform:scale(7);opacity:0}}
.float-score.gold{color:#FFD776;font-size:18px;text-shadow:0 0 12px rgba(247,197,78,.7)}
.reward-tile .btn.ready-pulse{animation:rt-pulse 1.4s ease-in-out infinite}
.reward-tile .btn:disabled{font-variant-numeric:tabular-nums}
@keyframes rt-pulse{0%,100%{box-shadow:0 0 0 0 rgba(247,197,78,.0)}50%{box-shadow:0 0 0 6px rgba(247,197,78,.28)}}
.reduce-motion .coffer,.reduce-motion .coffer *,.reduce-motion .cdock,.reduce-motion .cdock *{animation:none!important}
@media (prefers-reduced-motion:reduce){.coffer,.coffer *,.cdock,.cdock *{animation:none!important}}

/* ---------- Rankings V3: one theme per board (hero scene, accents, podium with open seats) ---------- */
.rkt-trace-trail{--g1:#2EE6B8;--g2:#0F7A6A}.rkt-pop-quiz{--g1:#FF8080;--g2:#9E2F4A}.rkt-piano-rush{--g1:#A585FF;--g2:#3B2A8F}.rkt-pair-peek{--g1:#86E39A;--g2:#25603F}
.rkt-hue-hunt{--g1:#FF8BC8;--g2:#5B2A9A}.rkt-stack-snap{--g1:#FFB27A;--g2:#7A3A2A}.rkt-orbit-tap{--g1:#8FA2FF;--g2:#2B2E8F}.rkt-slide-path{--g1:#4FD8FF;--g2:#145B7A}.rkt-glob{--g1:#F7C54E;--g2:#7A5410}
.rk-hero{position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;min-height:82px;padding:12px 14px;border-radius:20px;overflow:hidden;color:#fff;background:radial-gradient(90% 130% at 88% 15%,color-mix(in srgb,var(--g1) 34%,transparent),transparent 62%),linear-gradient(150deg,color-mix(in srgb,var(--g2) 80%,#0A0F21),#0D1330 78%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--g1) 32%,transparent),0 12px 28px rgba(0,0,0,.32)}
.rk-hero::before{content:'';position:absolute;inset:0;z-index:-2;background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 16px),repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 1px,transparent 1px 16px);-webkit-mask:linear-gradient(90deg,transparent 10%,#000 70%);mask:linear-gradient(90deg,transparent 10%,#000 70%)}
.rk-hero::after{content:'';position:absolute;top:0;bottom:0;left:-40%;width:30%;z-index:-1;background:linear-gradient(100deg,transparent,rgba(255,255,255,.09),transparent);animation:rh-sweep 5.5s ease-in-out infinite}
@keyframes rh-sweep{0%,55%{left:-40%}100%{left:120%}}
.rh-motif{position:absolute;right:-6px;top:50%;z-index:-1;width:172px;height:86px;transform:translateY(-50%);opacity:.35}
.rh-motif svg{width:100%;height:100%;overflow:visible}
.rh-ic{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:16px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 0 24px color-mix(in srgb,var(--g1) 42%,transparent)}
.rh-ic .art{width:46px;height:46px}
.rh-tt{display:grid;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}
.rh-tt small{font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:var(--g1)}
.rh-tt b{font-size:19px;font-weight:900;line-height:1.15;letter-spacing:-.01em;white-space:normal}
.rh-tt em{font-style:normal;font-size:12px;line-height:1.45;color:rgba(255,255,255,.82);white-space:normal}
/* scenes */
.mt-glow{fill:none;stroke:var(--g1);stroke-opacity:.18;stroke-width:12;stroke-linecap:round}
.mt-dash{fill:none;stroke:var(--g1);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:5 7;animation:mt-dash 1.2s linear infinite}
.mt-gate{fill:none;stroke:#fff;stroke-opacity:.4;stroke-width:1.5}
.mt-dot{fill:#fff;filter:drop-shadow(0 0 5px var(--g1))}
@keyframes mt-dash{to{stroke-dashoffset:-24}}
.mq{transform-box:fill-box;transform-origin:center;animation:mq-float 3s ease-in-out infinite}
.mq rect{fill:color-mix(in srgb,var(--g1) 24%,transparent);stroke:var(--g1);stroke-width:1.5}
.mq text{fill:#fff;font:900 16px system-ui,sans-serif;text-anchor:middle}
.mq.b2{animation-delay:-1s}.mq.b3{animation-delay:-2s}
@keyframes mq-float{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-6px) rotate(4deg)}}
.wk{fill:rgba(255,255,255,.13);stroke:rgba(255,255,255,.2);animation:wk-lit 1.4s ease-in-out infinite}
.bk{fill:#0B0E26}
.mn{fill:var(--g1);animation:mq-float 2.4s ease-in-out infinite;transform-box:fill-box}.mn.b2{animation-delay:-1.2s}
@keyframes wk-lit{0%,22%,100%{fill:rgba(255,255,255,.13)}8%{fill:var(--g1)}}
.mcd{fill:rgba(255,255,255,.1);stroke:rgba(255,255,255,.22);transform-box:fill-box;transform-origin:center;animation:mc-flip 2.4s ease-in-out infinite}
@keyframes mc-flip{0%,35%,100%{transform:scaleX(1);fill:rgba(255,255,255,.1)}45%{transform:scaleX(.05)}55%,85%{transform:scaleX(1);fill:var(--g1)}}
.mh{fill:var(--g1);opacity:.42}
.mh.odd{opacity:1;fill:color-mix(in srgb,var(--g1) 62%,#fff);transform-box:fill-box;transform-origin:center;animation:mh-pulse 1.6s ease-in-out infinite;filter:drop-shadow(0 0 6px var(--g1))}
@keyframes mh-pulse{50%{transform:scale(1.14)}}
.ms{fill:color-mix(in srgb,var(--g1) 55%,transparent)}
.ms.top{fill:var(--g1);animation:ms-slide 2.4s ease-in-out infinite}
@keyframes ms-slide{0%,100%{transform:translateX(-16px)}50%{transform:translateX(16px)}}
.mo{fill:none;stroke:color-mix(in srgb,var(--g1) 55%,transparent);stroke-width:1.5}
.mo-core{fill:var(--g1);filter:drop-shadow(0 0 8px var(--g1))}
.mo-spin{transform-origin:112px 40px;animation:mo-spin 4s linear infinite}.mo-spin.s2{animation-duration:6.5s;animation-direction:reverse}
.mo-spin circle{fill:#fff}
@keyframes mo-spin{to{transform:rotate(360deg)}}
.msl{fill:color-mix(in srgb,var(--g1) 30%,transparent);stroke:color-mix(in srgb,var(--g1) 60%,transparent);stroke-width:1}
.msl.move{fill:var(--g1);animation:msl-move 2.6s ease-in-out infinite}
.msl-arrow{fill:none;stroke:var(--g1);stroke-width:2;stroke-dasharray:4 5;animation:mt-dash 1.4s linear infinite}
@keyframes msl-move{0%,30%{transform:translateX(0)}50%,80%{transform:translateX(23px)}100%{transform:translateX(0)}}
.mg-rays{transform-origin:118px 40px;animation:mo-spin 22s linear infinite}
.mg-rays path{fill:var(--g1);opacity:.16}
.mg-star{fill:#FFE7A8;animation:mg-tw 2s ease-in-out infinite}.mg-star.b2{animation-delay:-.7s}.mg-star.b3{animation-delay:-1.3s}
@keyframes mg-tw{50%{opacity:.25}}
/* accents that follow the board */
.rkt .rk-week [aria-selected="true"]{box-shadow:inset 0 -2px 0 var(--g1)}
.rkt .qual-card .meter i{background:linear-gradient(90deg,var(--g2),var(--g1))}
.rkt .rk-row.me{box-shadow:inset 3px 0 0 var(--g1)}
.rkt .rk-chips [aria-pressed="true"]{box-shadow:0 0 0 2px var(--g1),0 0 14px color-mix(in srgb,var(--g1) 45%,transparent)}
.rkt .pool-card>.art{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--g1) 55%,transparent))}
/* empty boards keep the game's own podium with open seats + a join call-out */
.rk-stage{position:relative}
.rk-stage.is-empty>:first-child{filter:saturate(.7) brightness(.85)}
.rk-cta{display:flex;align-items:center;gap:10px;margin-top:8px;padding:8px 12px 8px 8px;border-radius:14px;background:var(--surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--g1,#8B8CF8) 40%,transparent),var(--sh-1);color:var(--ink);animation:rk-cta-in .5s cubic-bezier(.2,1.4,.4,1) both}
@keyframes rk-cta-in{from{opacity:0;transform:translateY(-8px) scale(.92)}to{opacity:1;transform:none}}
.rk-cta-ic{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:10px;background:color-mix(in srgb,var(--g1,#8B8CF8) 24%,transparent);color:var(--g1,#8B8CF8)}
.rk-cta-ic .glyph{width:17px;height:17px}
.rk-cta b{display:block;font-size:13px;font-weight:850;line-height:1.2}
.rk-cta small{display:block;font-size:11.5px;line-height:1.3;color:var(--ink-2)}
.podium-player.empty{opacity:.65}
.podium-player .ph-face{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1.5px dashed rgba(255,255,255,.32);background:rgba(255,255,255,.06);font-weight:900;color:rgba(255,255,255,.6)}
.reduce-motion .rk-hero *,.reduce-motion .rk-hero::after{animation:none!important}
@media (prefers-reduced-motion:reduce){.rk-hero *,.rk-hero::after{animation:none!important}}
/* open seats on every podium: dashed ring with "?", medal kept, label clear of the medal */
:is(.pg,.tp,.qt,.eq,.mc).empty .face{position:relative;background:transparent;box-shadow:none;border:1.5px dashed color-mix(in srgb,currentColor 38%,transparent)}
:is(.pg,.tp,.qt,.eq,.mc).empty .face::after{content:'?';position:absolute;inset:0;display:grid;place-items:center;font-size:15px;font-weight:900;color:color-mix(in srgb,currentColor 55%,transparent)}
:is(.pg,.tp,.qt,.eq,.mc).empty>small{margin-top:12px;font-size:11px;font-weight:750;letter-spacing:.02em;opacity:.8}
/* the four layout podiums take their game's colours */
.rkt .native-podium .podium-player{color:var(--ink);background:linear-gradient(180deg,color-mix(in srgb,var(--g1) 20%,transparent),color-mix(in srgb,var(--g2) 26%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--g1) 28%,transparent)}
.rkt .native-podium .podium-player.place-1{background:linear-gradient(180deg,color-mix(in srgb,var(--g1) 34%,transparent),color-mix(in srgb,var(--g2) 40%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--g1) 52%,transparent),0 0 26px color-mix(in srgb,var(--g1) 24%,transparent)}
.rkt .native-podium .podium-sculpture{opacity:.5}
.rkt-hue-hunt .podium-sculpture{background:repeating-linear-gradient(0deg,transparent 0 17px,rgba(10,14,35,.55) 17px 19px),repeating-linear-gradient(90deg,transparent 0 17px,rgba(10,14,35,.55) 17px 19px),linear-gradient(180deg,var(--g1),var(--g2))}
.rkt-stack-snap .native-podium .podium-player{background:repeating-linear-gradient(0deg,color-mix(in srgb,var(--g1) 30%,transparent) 0 22px,color-mix(in srgb,var(--g2) 30%,transparent) 22px 25px)}
.rkt-orbit-tap .podium-sculpture{background:radial-gradient(circle at 50% 34%,transparent 0 20px,color-mix(in srgb,var(--g1) 55%,transparent) 21px 22px,transparent 23px 33px,color-mix(in srgb,var(--g1) 35%,transparent) 34px 35px,transparent 36px)}
.rkt-slide-path .native-podium .podium-player{border-bottom:4px solid var(--g1)}
.rkt-slide-path .podium-sculpture{background:repeating-linear-gradient(0deg,transparent 0 22px,color-mix(in srgb,var(--g1) 30%,transparent) 22px 23px),repeating-linear-gradient(90deg,transparent 0 22px,color-mix(in srgb,var(--g1) 30%,transparent) 22px 23px)}
.rkt .native-podium .podium-avatar>b{background:var(--g1);color:#0A0F21;border:0}

/* ---------- Slide Path V3.1: the lit pipe shows how far START reaches; the pulsing square is where it must go next ---------- */
.v2-slide-tile.eligible{box-shadow:0 3px 0 #829b9a80,0 0 0 3px rgba(108,174,157,.32),inset 0 1px 0 #fff}
.v2-slide-tile.live{background:linear-gradient(145deg,#eafff6,#c3f0df);border-color:#7fe3bf}
.v2-slide-tile.live .pipe-channel{stroke:#18c08f;filter:drop-shadow(0 0 4px rgba(24,192,143,.8));animation:sp-flow 1.2s ease-in-out infinite;animation-delay:calc(var(--k,0) * 90ms)}
.v2-slide-tile.live .pipe-junction{fill:#0f9d74}
.v2-slide-tile.want{outline:2.5px dashed #F2A922;outline-offset:-4px;animation:sp-want 1.1s ease-in-out infinite}
.v2-slide-tile.empty.want{background:#b8d0c9}
@keyframes sp-flow{0%,100%{stroke:#18c08f}50%{stroke:#5df0c0}}
@keyframes sp-want{50%{outline-color:rgba(242,169,34,.3)}}
.slide-reach{display:inline-flex;align-items:center;gap:4px;color:#0f9d74;font-weight:750}
.slide-reach .glyph{width:13px;height:13px}
.reduce-motion .v2-slide-tile.live .pipe-channel,.reduce-motion .v2-slide-tile.want{animation:none}

/* ---------- Ranking ad boosts (V3.1): chip per row, banner under the prize, game-page fact ---------- */
.rk-row .who small .adb{display:inline-flex;align-items:center;gap:2px;margin-left:5px;padding:0 5px;border-radius:6px;background:rgba(124,108,255,.18);color:#C9BEFF;font-style:normal;font-size:10.5px;font-weight:850;vertical-align:1px}
.rk-row .who small .adb .glyph{width:9px;height:9px}
.rk-adb{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:8px 10px 8px 8px;border:0;border-radius:16px;text-align:left;color:var(--ink);cursor:pointer;background:linear-gradient(90deg,rgba(124,108,255,.16),var(--surface) 70%);box-shadow:inset 0 0 0 1px rgba(124,108,255,.32),var(--sh-1);transition:transform .14s}
.rk-adb:active{transform:scale(.98)}
.rk-adb-vis{display:block;width:62px;height:45px;overflow:hidden;border-radius:10px;background:radial-gradient(120% 100% at 50% 0,#252D62,#10162F)}
/* Compact card visual (not the full tutorial scene, which overflowed 62px): ad → a +score chip flies → trophy glows. */
.adm{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;height:100%;padding-top:8px}
.adm-ad,.adm-cup{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.adm-ad .art,.adm-cup .art{width:17px!important;height:17px!important}
.adm-arr{flex:none;width:5px;height:5px;border-top:2px solid rgba(255,255,255,.55);border-right:2px solid rgba(255,255,255,.55);transform:rotate(45deg)}
.adm-plus{position:absolute;left:50%;top:2px;padding:0 4px;border-radius:5px;background:linear-gradient(135deg,#ffe08a,#e8952a);color:#2a1600;font-size:8.5px;font-weight:900;line-height:13px;white-space:nowrap;animation:adm-up 2.4s ease-in-out infinite}
@keyframes adm-up{0%{opacity:0;transform:translate(-105%,10px) scale(.8)}22%{opacity:1;transform:translate(-80%,0) scale(1)}62%{opacity:1;transform:translate(-20%,0) scale(1)}82%{opacity:0;transform:translate(0,-4px) scale(.85)}100%{opacity:0;transform:translate(0,-4px)}}
.adm-cup{animation:adm-cup 2.4s ease-in-out infinite}
@keyframes adm-cup{0%,66%,100%{transform:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}78%{transform:scale(1.14);box-shadow:inset 0 0 0 1px rgba(247,197,78,.6),0 0 12px rgba(247,197,78,.55)}}
.adm-ad{animation:adm-ad 2.4s ease-in-out infinite}
@keyframes adm-ad{0%,100%{transform:none}10%{transform:scale(1.1)}}
.reduce-motion .adm *{animation:none!important}.reduce-motion .adm-plus{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){.adm *{animation:none!important}.adm-plus{opacity:1;transform:translate(-50%,0)}}
.rk-adb-tt b{display:block;font-size:13.5px;font-weight:850;line-height:1.25}
.rk-adb-tt small{display:block;margin-top:1px;font-size:11.5px;color:var(--ink-2)}
.gp-fact.adb{background:rgba(124,108,255,.16);color:#C9BEFF;box-shadow:inset 0 0 0 1px rgba(124,108,255,.3)}
.res-status .notice.boost{margin-top:8px}

/* Pair Peek with the operator's card art (2026-10-20); the CSS cards above stay the fallback. */
.pp-art .pp-back{background:var(--pp-back) center/100% 100% no-repeat;border:0;box-shadow:0 3px 8px rgba(8,12,40,.35)}
.pp-art .pp-back:after{display:none}
.pp-art .pp-face{background:var(--pp-front) center/100% 100% no-repeat;border:0;box-shadow:0 3px 8px rgba(8,12,40,.35)}
.pp-art .pp-card.matched .pp-face{background:var(--pp-front) center/100% 100% no-repeat;box-shadow:0 0 0 3px #79d7c3,0 0 16px rgba(121,215,195,.55)}
.pp-art .pp-card.wrong .pp-face{border:0;box-shadow:0 0 0 3px #f39e9b}

/* Game pads own their gestures; browser scrolling must not cancel a note. */
.pr-key,.pr-keys,.pr-lanes{touch-action:none;-webkit-tap-highlight-color:transparent}.pr-note{will-change:transform;pointer-events:none}

/* Tracearn-style board: the corridor shows the actual tolerance; input stays in SVG coordinates. */
.tt-stage svg{user-select:none;-webkit-user-select:none;outline:none}
.tt-stage svg:focus-visible{outline:3px solid #9CE7CE;outline-offset:-3px}
.tt-readout{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:13px;color:#B9F6E6;font-variant-numeric:tabular-nums}
.tt-readout [data-quality="bad"]{color:#FF8B87}
.tt-status{max-width:calc(100% - 24px);white-space:normal;text-align:center}

/* A single raw-score goal in every ranked game, without animated layout work. */
.chest-progress{display:flex;align-items:center;gap:9px;margin:8px 0 0;padding:7px 10px;border-radius:12px;background:rgba(255,210,105,.07);border:1px solid rgba(255,210,105,.18);color:#FFE1A0;font-size:11px;font-weight:750}
.chest-progress[hidden]{display:none}
.chest-progress-icon{display:flex;flex:none}
.chest-progress-body{display:grid;gap:4px;flex:1;min-width:0}
.chest-progress progress{display:block;appearance:none;width:100%;height:4px;border:0;border-radius:5px;overflow:hidden;background:#363954;accent-color:#F3C759}
.chest-progress progress::-webkit-progress-bar{background:#363954}
.chest-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#C99B35,#FFE3A0);border-radius:5px}
.chest-progress progress::-moz-progress-bar{background:#F3C759;border-radius:5px}
.coffer .co-value{display:flex;align-items:center;justify-content:center;gap:6px;margin:8px 0 12px;color:#FFD776;font-size:12px}
.coffer .co-value strong{font-size:27px;line-height:1;font-variant-numeric:tabular-nums}
.gp-chest-goal{display:flex;align-items:center;justify-content:center;gap:7px;margin:10px 4px;font-size:12px;line-height:1.45;color:var(--ink-2)}
.play.tight .chest-progress{margin-top:5px;padding:4px 8px}
