/* Puck Rush: an arcade at night. */
:root {
  --bg0: #070f1d; --bg1: #16244a; --bg2: #02040a;
  --accent: #35e0ff; --accent2: #1a9fd0; --accent-ink: #02202c; --accent-shadow: #0c5f80;
  --panel: rgba(8, 12, 28, 0.8); --panel2: #0b1226; --line: rgba(255, 255, 255, 0.13);
  --dim: #9fb0d6; --pink: #ff3d8b;
}

.logo { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; font-family: var(--display); line-height: 0.84; transform: skewX(-10deg) rotate(-3deg); }
.logo .l1 { font-size: 66px; color: #fff; text-shadow: 0 0 6px #fff, 0 0 20px var(--pink), 0 0 44px var(--pink), 4px 6px 0 #3a0a20; }
.logo .l2 { font-size: 66px; color: #eaffff; margin-left: 0.5em; text-shadow: 0 0 6px #fff, 0 0 20px var(--accent), 0 0 44px var(--accent), 4px 6px 0 #0a2a3a; }
.logo .pk { position: absolute; right: -0.4em; top: 0.25em; width: 0.6em; height: 0.36em; font-size: 66px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #fff3c0, #ffd23c 45%, #c98b00); box-shadow: 0 0.08em 0 #7a5300, 0 0 24px rgba(255, 210, 60, 0.7); }
.logo.big .l1, .logo.big .l2, .logo.big .pk { font-size: clamp(76px, 23vw, 136px); }

.scores { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sc { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 12px 5px 5px; border-radius: 16px; background: var(--panel); border: 2px solid color-mix(in srgb, var(--pc) 70%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--pc) 30%, transparent); }
.sc.far { flex-direction: row-reverse; padding: 5px 5px 5px 12px; }
.sc .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: color-mix(in srgb, var(--pc) 40%, #000); flex: none; }
.sc b { font-size: 13.5px; max-width: 26vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc em { font-style: normal; font-family: var(--display); font-size: 28px; color: #fff; text-shadow: 0 0 12px var(--pc); min-width: 1ch; text-align: center; }
.to { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; text-align: center; line-height: 1.1; width: 46px; }
.scores2 { position: absolute; left: 0; right: 0; bottom: max(8px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 8px; align-items: center; }
.hud .scores2.flip { transform: none; }
.count { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.count b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(80px, 26vw, 160px); color: #fff; text-shadow: 0 0 30px var(--accent), 0 8px 0 rgba(0, 0, 0, 0.4); animation: slam 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.ocard .score { font-family: var(--display); font-size: 28px; color: #fff; }
.hud-top .emotes { flex: none; }
@media (max-width: 480px) { .hud-top .emotes { display: none; } .to { width: 34px; font-size: 9.5px; } }
.scores.turned { transform: rotate(180deg); }
