/* assets/css/puck_rush.css - Noos Puck Rush (cyan rink, pink paddle, navy night) */
body { font-family: 'Quicksand', sans-serif; }
[hidden] { display: none !important; }
#beta-report-trigger { display: none !important; }

.pr-page { --pr-bg: #0b1224; --pr-panel: #111c33; --pr-line: #1e3a5f; --pr-cyan: #22d3ee; --pr-pink: #ec4899; --pr-gold: #fbbf24; --pr-text: #e2e8f0; --pr-mute: #94a3b8; --pr-sz: 380px;
    font-family: 'Quicksand', sans-serif; color: var(--pr-text); display: flex; justify-content: center; padding: 8px 8px 14px; box-sizing: border-box; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pr-card { width: var(--pr-sz); max-width: 100%; box-sizing: border-box; background: linear-gradient(180deg, #0f1a30, var(--pr-bg)); border: 1px solid #1e293b; border-radius: 22px; padding: 10px; box-shadow: 0 14px 40px rgba(2, 6, 23, .45); position: relative; }

/* HUD */
.pr-hud { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 4px 8px; }
.pr-hud > div { min-width: 0; }
.pr-lab { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pr-mute); line-height: 1.1; }
.pr-score { font-size: 28px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(34, 211, 238, .35); }
.pr-mid { text-align: center; }
.pr-mult { display: inline-block; min-width: 46px; padding: 2px 10px; border-radius: 999px; background: #0e3a4a; border: 1px solid var(--pr-cyan); color: #67e8f9; font-weight: 800; font-size: 18px; line-height: 1.25; font-variant-numeric: tabular-nums; transition: transform .12s; }
.pr-mult.hot { background: #4a2a0e; border-color: var(--pr-gold); color: #fde68a; }
.pr-mult.pop { transform: scale(1.14); }
.pr-wave { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--pr-mute); margin-top: 2px; }
.pr-right { text-align: right; }
.pr-lives { font-size: 20px; line-height: 1.15; letter-spacing: 2px; color: var(--pr-pink); white-space: nowrap; }
.pr-lives .off { color: #334155; }
.pr-time { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pr-time.low { color: #fb7185; animation: prPulse .6s ease-in-out infinite; }
@keyframes prPulse { 50% { transform: scale(1.08); } }

/* stage */
.pr-stage { position: relative; width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #0d1830; }
#prCanvas { display: block; width: 100%; touch-action: none; cursor: none; }
.pr-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 14px 14px 12px; box-sizing: border-box; background: rgba(8, 13, 28, .9); overflow-y: auto; -webkit-overflow-scrolling: touch; text-align: center; z-index: 4; }
.pr-ov > :first-child { margin-top: auto; }
.pr-ov > :last-child { margin-bottom: auto; }
.pr-ov > * { flex-shrink: 0; }
.pr-opaque { background: #0b1224; }
.pr-ready { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; pointer-events: none; z-index: 3; font-weight: 700; font-size: 15px; color: #e2e8f0; text-shadow: 0 2px 10px #020617; }
.pr-ready small { display: block; font-size: 12px; color: var(--pr-mute); margin-top: 4px; font-weight: 600; }
.pr-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 96px; font-weight: 800; color: #fff; text-shadow: 0 0 30px var(--pr-cyan); pointer-events: none; z-index: 5; background: rgba(8, 13, 28, .5); }

.pr-kicker { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: #64748b; }
.pr-title { margin: 4px 0 2px; font-size: 34px; font-weight: 800; line-height: 1.05; color: #e2e8f0; text-shadow: 0 0 22px rgba(34, 211, 238, .4); }
.pr-tag { margin: 0 0 12px; font-size: 13px; color: var(--pr-mute); font-weight: 600; }
.pr-hero { width: 100%; max-width: 280px; height: auto; margin: 0 auto 12px; display: block; }
.pr-modes { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 300px; margin: 0 auto; }
.pr-mode { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--pr-panel); border: 1px solid var(--pr-line); color: #cbd5e1; font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; transition: transform .1s, background .15s; }
.pr-mode:active { transform: scale(.98); }
.pr-mode .ic { font-size: 17px; width: 22px; text-align: center; }
.pr-mode .sub { margin-left: auto; font-size: 12px; font-weight: 600; color: #64748b; white-space: nowrap; }
.pr-mode[aria-checked="true"] { background: #0e3a4a; border: 1.5px solid var(--pr-cyan); color: #fff; }
.pr-mode[aria-checked="true"] .sub { color: #67e8f9; }
.pr-mode:focus-visible, .pr-btn:focus-visible, .pr-row:focus-visible, .pr-ib:focus-visible { outline: 2px solid var(--pr-gold); outline-offset: 2px; }
.pr-mdesc { margin: 10px 0 2px; font-size: 13px; color: var(--pr-mute); font-weight: 600; min-height: 18px; max-width: 300px; }
.pr-mbest { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: #e2e8f0; }
.pr-mbest b { color: var(--pr-cyan); font-weight: 800; }
.pr-btn { display: block; width: 100%; max-width: 300px; margin: 8px auto 0; padding: 13px 12px; border-radius: 12px; border: 1px solid #334155; background: var(--pr-panel); color: #e2e8f0; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: 1px; cursor: pointer; }
.pr-btn:active { transform: scale(.98); }
.pr-btn.main { background: var(--pr-cyan); border-color: transparent; color: #0b1224; font-size: 17px; box-shadow: 0 6px 18px -4px rgba(34, 211, 238, .55); }
.pr-btn.ghost { background: transparent; color: var(--pr-mute); }
.pr-h { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: 1.5px; color: #e2e8f0; }

/* options rows */
.pr-opt { width: 100%; max-width: 320px; margin: 0 auto; text-align: left; }
.pr-sec { margin: 12px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: #64748b; text-transform: uppercase; }
.pr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 12px; margin-bottom: 6px; border-radius: 12px; border: 1px solid var(--pr-line); background: var(--pr-panel); color: #e2e8f0; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; }
.pr-row .v { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--pr-cyan); white-space: nowrap; }
.pr-skins { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.pr-skin { flex: 1 1 auto; min-width: 58px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--pr-line); background: var(--pr-panel); color: #cbd5e1; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pr-skin[aria-pressed="true"] { border-color: var(--pr-cyan); background: #0e3a4a; color: #fff; }
.pr-skin.lock { opacity: .45; cursor: default; }
.pr-skin i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
#trophy-list { width: 100%; max-width: 320px; margin: 0 auto 8px; max-height: 260px; overflow-y: auto; text-align: left; }

/* bottom bar */
.pr-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 2px 0; min-height: 40px; }
.pr-fxs { display: flex; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.pr-fx { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--pr-panel); border: 1px solid var(--pr-line); font-size: 12px; font-weight: 800; color: #cbd5e1; white-space: nowrap; overflow: hidden; }
.pr-fx i { position: absolute; left: 0; bottom: 0; height: 3px; background: currentColor; opacity: .85; }
.pr-fx.magnet { color: #67e8f9; } .pr-fx.freeze { color: #93c5fd; } .pr-fx.wide { color: #fbbf24; } .pr-fx.shield { color: #86efac; }
.pr-ctl { display: flex; gap: 8px; }
.pr-ib { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--pr-line); background: var(--pr-panel); color: #cbd5e1; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pr-ib:active { transform: scale(.94); }
.pr-hint { text-align: center; font-size: 11.5px; color: #64748b; font-weight: 600; padding-top: 4px; min-height: 16px; }

/* compact + tight */
.pr-page.compact .pr-score { font-size: 22px; }
.pr-page.compact .pr-title { font-size: 28px; }
.pr-page.compact .pr-hero { display: none; }
.pr-page.compact .pr-tag { margin-bottom: 8px; }
.pr-page.compact .pr-mode { padding: 8px 10px; }
.pr-page.tight .pr-lab { display: none; }
.pr-page.tight .pr-fx { padding: 3px 6px; font-size: 11px; }
.pr-page.tight .pr-hint { display: none; }

/* short landscape phones: board left, HUD + controls in a right-hand column */
.pr-page.land .pr-card { width: auto; max-width: 100%; display: grid; grid-template-columns: auto 210px; grid-template-rows: auto 1fr auto; grid-template-areas: "stage hud" "stage bar" "stage hint"; gap: 8px 10px; align-items: start; padding: 8px; }
.pr-page.land .pr-stage { grid-area: stage; width: var(--pr-sz); }
.pr-page.land .pr-hud { grid-area: hud; flex-direction: column; align-items: stretch; text-align: left; gap: 6px; padding: 0; }
.pr-page.land .pr-mid, .pr-page.land .pr-right { text-align: left; }
.pr-page.land .pr-bar { grid-area: bar; flex-direction: column; align-items: stretch; padding: 0; }
.pr-page.land .pr-fxs { flex-wrap: wrap; }
.pr-page.land .pr-ctl { justify-content: flex-start; }
.pr-page.land .pr-hint { grid-area: hint; display: none; }

@media (prefers-reduced-motion: reduce) { .pr-time.low, .pr-mult.pop { animation: none; transform: none; } }
.pr-page.calm .pr-time.low { animation: none; }
