
    /* =========================================================================
       UWS DAD BRAND TOKENS — Swap these in 10 seconds to match uwsdad.com
       ========================================================================= */
    :root {
      --uws-primary: #101212;
      --uws-primary-dark: #101212;
      --uws-brownstone: #c1735a;
      --uws-park: #ece7dc;
      --uws-bg: #f7f5ef;
      --uws-surface: #f7f5ef;
      --uws-accent: #c1735a;
      --uws-accent-hover: #a65e49;
      --uws-gold: #ece7dc;
      --uws-text: #101212;
      --uws-muted: #5f625b;
      --uws-border: #ece7dc;
      --uws-radius: 0;
      --uws-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
      --uws-font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }

    html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      min-height: 100%;
      background-color: #101212;
      color: var(--uws-surface);
      font-family: var(--uws-font-sans);
      overflow-x: hidden;
    }

    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 0 0 24px;
    }

    /* Main Mobile-First Game Shell */
    .game-shell {
      width: 100%;
      max-width: 460px;
      background: var(--uws-surface);
      border: 1px solid var(--uws-border);
      border-radius: 0;
      box-shadow: 0 14px 34px -12px rgba(16, 18, 18, 0.14);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    /* Header & HUD */
    .game-header {
      padding: 12px 16px;
      background: var(--uws-primary);
      color: #f7f5ef;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .brand-lockup {
      display: flex;
      flex-direction: column;
    }

    .brand-eyebrow {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--uws-gold);
    }

    .brand-title {
      margin: 0;
      font-family: var(--uws-font-display);
      font-size: 18px;
      font-weight: 700;
      line-height: 1.15;
    }

    .icon-btn {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #f7f5ef;
      border-radius: 0;
      padding: 6px 10px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s ease;
      min-height: 44px;
    }
    .icon-btn:hover { background: rgba(255, 255, 255, 0.22); }

    .hud-bar {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      padding: 10px 14px;
      background: #ece7dc;
      border-bottom: 1px solid var(--uws-border);
      text-align: center;
    }

    .hud-item {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .hud-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--uws-muted);
    }

    .hud-value {
      font-size: 20px;
      font-weight: 800;
      color: var(--uws-primary);
      font-variant-numeric: tabular-nums;
      line-height: 1.2;
    }

    .hud-value.timer-warn {
      color: var(--uws-accent);
    }

    /* Canvas Stage */
    .stage-wrap {
      position: relative;
      width: 100%;
      height: 440px;
      background: #3f434a;
      overflow: hidden;
      touch-action: none;
    }

    @media (max-height: 740px) {
      .stage-wrap { height: 380px; }
    }

    canvas {
      display: block;
      width: 100%;
      height: 100%;
    }

    /* Overlays (Start & End-of-Run) */
    .overlay {
      position: absolute;
      inset: 0;
      background: rgba(16, 18, 18, 0.9);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      color: #f7f5ef;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px;
      text-align: center;
      z-index: 10;
      overflow-y: auto;
    }

    .overlay.hidden { display: none; }

    .overlay-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 0;
      background: rgba(236, 231, 220, 0.2);
      border: 1px solid rgba(236, 231, 220, 0.45);
      color: var(--uws-gold);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .overlay h2 {
      margin: 0 0 6px;
      font-family: var(--uws-font-display);
      font-size: 26px;
      line-height: 1.15;
    }

    .overlay p {
      margin: 0 0 14px;
      font-size: 13px;
      color: #f7f5ef;
      line-height: 1.45;
      max-width: 340px;
    }

    .legend-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      width: 100%;
      max-width: 320px;
      margin-bottom: 16px;
      font-size: 12px;
      text-align: left;
    }

    .legend-pill {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 0;
      padding: 6px 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: none;
      border-radius: 0;
      font-family: var(--uws-font-sans);
      font-weight: 700;
      font-size: 14px;
      padding: 12px 20px;
      cursor: pointer;
      transition: transform 0.1s ease, background 0.15s ease;
      min-height: 44px;
    }
    .btn:active { transform: scale(0.97); }

    .btn-gold {
      background: var(--uws-gold);
      color: var(--uws-primary-dark);
      width: 100%;
      max-width: 280px;
      font-size: 15px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

    .btn-accent {
      background: var(--uws-accent);
      color: #101212;
      width: 100%;
    }
    .btn-accent:hover { background: var(--uws-accent-hover); }

    .btn-ghost {
      background: rgba(255, 255, 255, 0.14);
      color: #f7f5ef;
      border: 1px solid rgba(255, 255, 255, 0.24);
    }
    .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }

    /* End-of-Run Stats & Email Gate */
    .end-card {
      width: 100%;
      max-width: 360px;
      background: var(--uws-bg);
      color: var(--uws-text);
      border-radius: 0;
      padding: 16px;
      text-align: left;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    }

    .rank-banner {
      text-align: center;
      padding-bottom: 12px;
      margin-bottom: 12px;
      border-bottom: 1px solid var(--uws-border);
    }

    .rank-title {
      font-family: var(--uws-font-display);
      font-size: 20px;
      font-weight: 700;
      color: var(--uws-primary);
      margin: 4px 0 2px;
    }

    .stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-bottom: 12px;
      text-align: center;
    }

    .stat-box {
      background: var(--uws-surface);
      border: 1px solid var(--uws-border);
      border-radius: 0;
      padding: 8px 4px;
    }

    .stat-box strong {
      display: block;
      font-size: 17px;
      color: var(--uws-primary);
    }

    .stat-box span {
      font-size: 11px;
      color: var(--uws-muted);
    }

    .lead-form {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 10px;
    }

    .lead-copy {
      font-size: 12px;
      color: var(--uws-text);
      line-height: 1.4;
      margin: 0;
      font-weight: 600;
    }

    .lead-input {
      width: 100%;
      padding: 11px 12px;
      border-radius: 0;
      border: 1px solid #101212;
      font-size: 14px;
      font-family: var(--uws-font-sans);
      color: var(--uws-text);
      background: #f7f5ef;
      user-select: text;
      min-height: 44px;
    }
    .lead-input:focus {
      outline: 2px solid var(--uws-accent);
      border-color: transparent;
    }

    .lead-success {
      background: #ece7dc;
      border: 1px solid #c1735a;
      color: #101212;
      border-radius: 0;
      padding: 10px 12px;
      font-size: 12px;
      line-height: 1.4;
      font-weight: 600;
      text-align: center;
    }

    .end-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 10px;
    }

    .btn-share {
      background: var(--uws-primary);
      color: #f7f5ef;
      font-size: 12px;
      padding: 10px 12px;
    }

    .btn-replay {
      background: #ece7dc;
      color: var(--uws-primary);
      font-size: 12px;
      padding: 10px 12px;
    }

    /* Mobile Touch Controls */
    .touch-controls {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      padding: 12px 14px;
      background: var(--uws-surface);
      border-top: 1px solid var(--uws-border);
    }

    .steer-btn {
      padding: 14px 10px;
      border-radius: 0;
      border: 1px solid var(--uws-border);
      background: var(--uws-bg);
      color: var(--uws-primary);
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      touch-action: manipulation;
      transition: background 0.1s ease, transform 0.08s ease;
    }
    .steer-btn:active {
      background: #ece7dc;
      transform: scale(0.97);
    }

    .footer-note {
      margin-top: 12px;
      font-size: 11px;
      color: var(--uws-muted);
      text-align: center;
    }
    .footer-note a {
      color: var(--uws-primary);
      font-weight: 700;
      text-decoration: none;
    }
  

    .site-header,
    .site-footer {
      width: 100%;
      color: var(--uws-surface);
      background: var(--uws-primary);
      font-family: var(--uws-font-sans);
    }
    .site-header {
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 12px max(16px, calc((100% - 980px) / 2));
      border-bottom: 1px solid rgba(247, 245, 239, 0.25);
    }
    .site-wordmark {
      color: var(--uws-surface);
      font-size: 16px;
      font-weight: 800;
      letter-spacing: 0.16em;
      line-height: 1;
      text-decoration: none;
    }
    .site-wordmark span { color: #a9aaa3; }
    .back-link,
    .site-footer a {
      color: var(--uws-surface);
      text-decoration: underline;
      text-decoration-color: var(--uws-accent);
      text-underline-offset: 4px;
    }
    .back-link {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      font-size: 13px;
      font-weight: 700;
    }
    .stroller-main { width: min(100%, 980px); padding: 0 12px; }
    .game-shell { margin: 16px auto 0; box-shadow: none; }
    .site-footer {
      margin-top: 20px;
      padding: 14px 16px;
      text-align: center;
      font-size: 12px;
    }
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .lead-input { user-select: text; }
    .lead-error { color: #a21f1f; font-size: 12px; margin: 0; }
    button:focus-visible,
    input:focus-visible,
    a:focus-visible {
      outline: 3px solid var(--uws-accent);
      outline-offset: 3px;
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    }
    @media (max-width: 420px) {
      .site-header { min-height: 60px; gap: 10px; padding-inline: 12px; }
      .site-wordmark { font-size: 14px; }
      .back-link { font-size: 12px; }
      .stroller-main { padding-inline: 8px; }
    }
