/* DSX0 Neon Blue & Silver — Operation 10 / LAB V7
   Font and responsive metrics recovered from official 602px DevTools capture.
   Only presentation is changed; endpoint and JS contracts remain untouched.
   The font itself is NOT redistributed: copy the existing official public font
   on the VPS into the isolated LAB folder (source read only).
*/
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/DMSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
/* Replaces erroneous Segoe/system-ui overrides from V6 and Inter from V3. */
html body.dsx-neon,
html body.dsx-neon .top,
html body.dsx-neon .neon-home,
html body.dsx-neon .neon-home :is(a, button, .time, .dsx-countdown-boxes, .neon-ranking, .neon-social),
html body.dsx-neon .gold-footer,
html body.dsx-neon .gold-footer :is(a, button) {
  font-family: "DM Sans", Arial, sans-serif;
}
/* Use exact font family for dynamic timer content as well. */
html body.dsx-neon .neon-hero :is(h1, .neon-hero-prize, .neon-chip, .neon-pool-label, .neon-timer-label, .neon-primary-btn, .dsx-countdown-value, .dsx-countdown-label),
html body.dsx-neon .neon-ranking :is(h2, .boardhead, .rank),
html body.dsx-neon .neon-social :is(h2, .gold-social-button) {
  font-family:"DM Sans",Arial,sans-serif;
}
/* Keep the approved desktop V6 composition, but restore original letter shapes. */
.neon-hero h1 {font-weight:900; font-style:normal; letter-spacing:-.035em;}
.neon-hero .neon-hero-prize {font-weight:900; letter-spacing:-.051em;}
.neon-hero .neon-primary-btn {font-weight:800;}
@media (max-width:720px) {
  /* 602px measured reference: card 576px, 19px original padding. */
  .neon-hero {min-height:390px; height:auto;}
  .neon-hero-inner {
    box-sizing:border-box; width:100%; max-width:min(100%,410px);
    padding:19px 19px 20px;
  }
  .neon-hero .neon-hero-eyebrow {margin:0 0 13px; min-height:33px;}
  .neon-hero .partner {width:157px; height:auto; max-height:none;}
  .neon-hero .neon-chip {
    font-size:10px; font-weight:800; line-height:1.4;
    letter-spacing:.10em; margin:0 0 9px; max-width:366px;
  }
  .neon-hero h1 {
    font-size:clamp(26px,4.46vw,28px); font-weight:900;
    letter-spacing:-1px; line-height:1.01;
    margin:0 0 14px;
  }
  .neon-hero .neon-pool-label {font-size:11px !important; margin:0 0 1px;}
  .neon-hero-inner > .neon-hero-prize {
    font-size:clamp(52px,9.77vw,59px);font-weight:900;
    line-height:1.05;letter-spacing:-3px;
    margin:9px 0 8px;
  }
  .neon-hero .neon-timer-label {
    font-size:11px !important; font-weight:900;
    letter-spacing:1.98px !important; line-height:1.5;
    margin:0 0 3px;
  }
  .neon-hero .time {margin:7px 0 13px;min-height:60px;}
  .neon-hero .dsx-countdown-boxes {width:244px;max-width:100%;gap:7px;}
  .neon-hero .dsx-countdown-unit {height:60px;min-height:60px;padding:6px 3px;}
  .neon-hero .dsx-countdown-value {
    font-size:20px;font-weight:800;line-height:22px;letter-spacing:0;
  }
  .neon-hero .dsx-countdown-label {
    font-size:8px;font-weight:400;line-height:9.6px;
    letter-spacing:.5px;margin-top:3px;
  }
  .neon-hero .neon-primary-btn {
    font-size:13px;font-weight:800;line-height:19.5px;
    min-height:50px;padding:14px 18px;gap:15px;
  }
  /* Original reference values for headings and ranking line text. */
  .neon-ranking .neon-section-head h2,
  .neon-social .neon-social-copy h2 {font-size:21px;line-height:1.2;font-weight:700;}
  .neon-ranking .rank {font-size:11px;line-height:1.5;font-weight:400;}
  .neon-social .neon-social-copy h2 {letter-spacing:-.525px;}
  /* Secondary artwork must not obscure the title/clock. */
  .neon-hero-art {width:36%;max-width:200px;right:1%;bottom:5px;top:auto;height:41%;opacity:.21;}
}
@media(max-width:430px) {
  .neon-hero-inner {padding:17px 16px 19px;max-width:100%;}
  .neon-hero .partner {width:150px;}
  .neon-hero h1 {font-size:26px;line-height:1.03;}
  .neon-hero .neon-chip {font-size:9px;letter-spacing:.07em;}
  .neon-hero .dsx-countdown-boxes {width:236px;gap:6px;}
  .neon-hero .neon-primary-btn {padding:13px 15px;}
  .neon-hero-art {width:34%;max-width:150px;opacity:.20;right:1%;bottom:5px;}
}
