/* ─────────────────────────────────────────────────────────────
   HUD COUNTDOWN · game-style timer (Discover)
   ───────────────────────────────────────────────────────────── */
.hud-timer { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 22px 30px; margin-bottom: clamp(48px, 7vw, 84px); overflow: hidden;
  background: linear-gradient(90deg, rgba(43,13,82,.9), rgba(27,15,61,.65) 50%, rgba(43,13,82,.9)); border: 1px solid rgba(233,189,103,.4);
  box-shadow: inset 0 0 40px rgba(217,54,127,.18), 0 0 0 4px rgba(233,189,103,.05); }
.hud-timer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-soft), var(--magenta), transparent); }
.hud-timer__label span { display: block; margin-top: 8px; color: var(--mist); font-size: .9rem; }
.hud-timer__cells { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.hud-cell { min-width: 74px; padding: 12px 10px 9px; text-align: center; background: linear-gradient(180deg, #2c1564, #140a33); border: 1px solid rgba(233,189,103,.5);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); box-shadow: inset 0 0 18px rgba(217,54,127,.28); }
.hud-cell b { display: block; font: 400 1.9rem/1 var(--f-display); background: linear-gradient(180deg, #fffaf0 30%, #f3c35f 70%, #e08a2a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 8px rgba(243,195,95,.45)); }
.hud-cell b.flip { animation: digitFlip .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes digitFlip { from { transform: translateY(-45%) scaleY(.5); opacity: .2; filter: brightness(2.4); } }
.hud-cell small { display: block; margin-top: 6px; font: italic 700 .62rem/1 var(--f-ui); letter-spacing: .26em; color: var(--mist); text-transform: uppercase; }
.hud-timer__sep { font: 400 1.4rem/1 var(--f-display); color: var(--magenta); animation: sepBlink 1s steps(2) infinite; margin-top: -14px; }
@keyframes sepBlink { 50% { opacity: .2; } }
.hud-timer__scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,220,170,.12), transparent); width: 40%; animation: scan 5s linear infinite; }
@keyframes scan { from { transform: translateX(-120%); } to { transform: translateX(360%); } }

@media (max-width: 560px) {
  .hud-timer { padding: 20px 18px; }
  .hud-timer__cells { width: 100%; justify-content: space-between; gap: 4px; }
  .hud-cell { min-width: 0; flex: 1; }
  .hud-cell b { font-size: 1.45rem; }
  .hud-timer__sep { font-size: 1rem; }
}
