* { box-sizing: border-box; }
/* HUD height is a variable so the pano and hint-bar sit flush against it. On
   mobile it grows to fit the destination on its own full-width row (see the
   max-width: 480px block) without any of them hardcoding a pixel offset. */
html { --hud-h: 56px; }
html, body { margin: 0; height: 100%; font-family: 'Archivo', system-ui, sans-serif; }

#pano { position: absolute; top: var(--hud-h); left: 0; right: 0; bottom: 0; }

/* In-game HUD — same design language as the landing (see the landing section
   below): #0c0c0c surfaces, Barlow Condensed uppercase, DM Mono numbers,
   neon #e4ff1a accents. */
#hud {
  position: absolute; top: 0; left: 0; right: 0; height: var(--hud-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: #0c0c0c; color: #f4f4ef; z-index: 10;
  font-size: 14px; border-bottom: 1px solid #1c1c1c;
}
#hud-left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
#title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px;
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
#title .tag {
  background: #e4ff1a; color: #0c0c0c; font-size: 11px; padding: 1px 6px;
  border-radius: 3px; letter-spacing: .08em;
}
#giveup-btn, #reset-btn {
  border-radius: 4px; cursor: pointer; font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
  letter-spacing: .05em; font-size: 15px; white-space: nowrap;
}
#giveup-btn { background: transparent; border: 2px solid rgba(255, 46, 46, .5); color: #ff5b4d; padding: 4px 12px; }
#giveup-btn:hover { background: #ff2e2e; border-color: #ff2e2e; color: #0c0c0c; }
#reset-btn { background: #1c1c1c; border: none; color: #b7b7ad; padding: 6px 12px; }
#reset-btn:hover { background: #242414; color: #f4f4ef; }
#giveup-btn.hidden, #reset-btn.hidden { display: none; }
#destination {
  flex: 1; text-align: center; padding: 0 12px; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em; color: #8f8f86;
}
#dest-label { color: #e4ff1a; font-weight: 800; }
#hud-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
#timer {
  font-family: 'DM Mono', monospace; font-size: 18px; font-weight: 500;
  color: #e4ff1a; min-width: 64px; text-align: right;
}

#hint-btn {
  padding: 6px 14px; font-size: 15px; font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em;
  border: none; border-radius: 4px; background: #e4ff1a; color: #0c0c0c; cursor: pointer;
}
#hint-btn:hover { background: #eeff6b; }
#hint-btn:disabled { background: #1c1c1c; color: #6f6f66; cursor: default; }

#hint-bar {
  position: absolute; top: var(--hud-h); left: 0; right: 0; z-index: 9;
  padding: 10px 16px; background: #e4ff1a; color: #0c0c0c;
  font-size: 14px; font-weight: 600; text-align: center;
}
#hint-bar.hidden { display: none; }

#minimap {
  position: absolute; bottom: 16px; right: 16px;
  width: 180px; height: 180px; border-radius: 6px;
  border: 2px solid #242414;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5); z-index: 10; overflow: hidden;
}

#compass {
  position: absolute; bottom: 208px; right: 16px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(12,12,12,0.85); border: 1px solid #1c1c1c;
  z-index: 10; color: #f4f4ef;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
#compass-needle {
  display: flex; flex-direction: column; align-items: center;
  font-size: 12px; font-weight: 700; line-height: 1;
  transition: transform 0.12s linear;
}
#compass-needle::before { content: '▲'; color: #ff2e2e; font-size: 14px; }
#controls-legend {
  position: absolute; bottom: 16px; left: 16px; z-index: 10;
  background: rgba(12,12,12,0.8); color: #8f8f86; border: 1px solid #1c1c1c;
  padding: 6px 12px; border-radius: 4px; font-size: 11px;
  font-family: 'DM Mono', monospace; letter-spacing: .02em;
}
#compass.hidden, #controls-legend.hidden, #minimap.hidden { display: none; }

.overlay {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(12,12,12,0.85);
  display: flex; align-items: center; justify-content: center;
}
.overlay.hidden { display: none; }
.overlay-card {
  background: #141414; color: #f4f4ef; border: 2px solid #1c1c1c;
  border-radius: 6px; padding: 30px;
  max-width: 400px; text-align: center;
  font-family: 'Archivo', system-ui, sans-serif;
}
.overlay-card h1 {
  margin: 0 0 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 36px; text-transform: uppercase; letter-spacing: .02em;
}
.overlay-card .hint { color: #8f8f86; font-size: 13px; }

.mode-hint { color: #444; font-size: 13px; font-weight: 600; margin: 18px 0 0; }
#howto-panel { text-align: left; }
#howto-panel.hidden { display: none; }
.howto-list { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: #444; }
.howto-list li { margin-bottom: 10px; line-height: 1.45; }
.mode-pick { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
#start-play.hidden, #daily-done.hidden { display: none; }
#difficulty-pick.hidden, #overlay-dest.hidden, #overlay-start.hidden,
#mode-hint-text.hidden, #assist-mode-pick.hidden { display: none; }
.done-check { color: #16a34a; font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
#daily-countdown { font-weight: 600; color: #444; }
#daily-done-board { margin-top: 14px; text-align: left; }
.mode-btn {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  padding: 14px 16px; border: 2px solid #1a73e8; border-radius: 10px;
  background: #fff; cursor: pointer; text-align: left;
}
.mode-btn:hover { background: #f0f6ff; }
.mode-name { font-size: 16px; font-weight: 700; color: #1a73e8; }
.mode-desc { font-size: 12px; color: #666; }

#name-input {
  margin-top: 12px; padding: 9px 12px; font-size: 14px;
  background: #0c0c0c; color: #f4f4ef; border: 1px solid #333;
  border-radius: 4px; width: 100%; font-family: inherit;
}
#name-input::placeholder { color: #6f6f66; }
#name-input:focus { outline: none; border-color: #e4ff1a; }
#submit-score-btn {
  margin-top: 12px; padding: 11px 24px; font-size: 19px; font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .03em;
  border: none; border-radius: 4px; background: #e4ff1a; color: #0c0c0c; cursor: pointer;
}
#submit-score-btn:hover { background: #eeff6b; }
#submit-score-btn:disabled { background: #1c1c1c; color: #6f6f66; cursor: default; }
#leaderboard { margin-top: 20px; text-align: left; }
#leaderboard h2, #daily-done-board h2, #challenge-board h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px;
}
#leaderboard ol, #daily-done-board ol, #challenge-board ol { margin: 0 0 4px; padding-left: 20px; font-size: 13px; }
#leaderboard li, #daily-done-board li, #challenge-board li { margin-bottom: 3px; }
#leaderboard li.me, #daily-done-board li.me, #challenge-board li.me { color: #e4ff1a; font-weight: 700; }
#leaderboard .meta, #daily-done-board .meta, #challenge-board .meta { color: #8f8f86; font-size: 11px; }
.lb-section { font-size: 12px; font-weight: 700; margin: 8px 0 4px; color: #b7b7ad; }
#leaderboard .badge, #daily-done-board .badge, #challenge-board .badge {
  display: inline-block; font-size: 10px; font-weight: 700; color: #e4ff1a;
  background: rgba(228,255,26,.12); border-radius: 4px; padding: 1px 5px; margin-left: 4px;
}

.source-toggle {
  display: flex; width: 100%; margin: 0 0 16px; border: 1px solid #1a73e8;
  border-radius: 8px; overflow: hidden;
  background: #1a73e8; gap: 1px; /* backdrop shows through as uniform 1px dividers */
}
.source-btn {
  flex: 1 1 0; min-width: 0; padding: 7px 6px; font-size: 14px; font-weight: 600; border: none;
  background: #fff; color: #1a73e8; cursor: pointer; white-space: nowrap; text-align: center;
}
.source-btn.active { background: #1a73e8; color: #fff; }

.sub { color: #8f8f86; font-size: 13px; margin-top: -6px; }

#reroll-btn, #menu-btn {
  margin-top: 10px; padding: 8px 18px; font-size: 16px; font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em;
  border: none; border-radius: 4px; background: #1c1c1c; color: #b7b7ad; cursor: pointer;
}
#reroll-btn:hover, #menu-btn:hover { background: #242414; color: #f4f4ef; }
#menu-btn { display: block; margin-left: auto; margin-right: auto; }
#reroll-btn.hidden, #finish-board.hidden,
#share-btn.hidden, #share-box.hidden, #challenge-banner.hidden { display: none; }

#finish-stats { color: #a9a99f; font-size: 14px; margin-top: 4px; }

#finish-place {
  margin: 10px 0 6px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 22px; text-transform: uppercase;
  letter-spacing: .03em; color: #e4ff1a;
}
#finish-place.hidden { display: none; }

/* The finish card's own route map — the in-game minimap sits dimmed behind
   the overlay backdrop where nobody can read it. */
#finish-overlay .overlay-card { max-width: 480px; width: 92vw; }
#finish-map {
  height: 230px; margin-top: 14px; border-radius: 6px;
  border: 2px solid #1c1c1c; background: #0c0c0c;
}
#finish-legend { font-size: 12px; color: #8f8f86; margin: 8px 0 0; }
#finish-legend .lg { font-weight: 800; letter-spacing: -.08em; }
#finish-legend .lg-you { color: #e8711a; }
#finish-legend .lg-opt { color: #16a34a; }
#finish-legend .lg-ghost { color: #1a73e8; }
#finish-legend.hidden { display: none; }
#finish-hint { color: #8f8f86; font-size: 13px; margin: 12px 0 0; }
#finish-hint.hidden, #leaderboard.hidden { display: none; }

#challenge-banner {
  background: #e7f5ff; color: #0b6aa2; border-radius: 8px;
  padding: 8px 12px; font-size: 14px; font-weight: 600; margin: 0 0 12px;
}

#share-btn {
  margin-top: 12px; padding: 10px 22px; font-size: 17px; font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .03em;
  border: 2px solid #333; border-radius: 4px; background: transparent; color: #f4f4ef; cursor: pointer;
}
#share-btn:hover { border-color: #e4ff1a; color: #e4ff1a; }

#share-box { margin-top: 12px; }
#share-url {
  width: 100%; padding: 8px 10px; font-size: 13px; font-family: 'DM Mono', monospace;
  background: #0c0c0c; color: #f4f4ef; border: 1px solid #333;
  border-radius: 4px; text-align: center;
}
#share-note { display: block; margin-top: 6px; font-size: 12px; color: #e4ff1a; font-weight: 600; }

#challenge-board { margin-top: 16px; text-align: left; }
#challenge-board.hidden { display: none; }

.report-link {
  display: block; margin: 14px auto 0; background: none; border: none;
  color: #6f6f66; font-size: 12px; text-decoration: underline; cursor: pointer;
}
.report-link:hover { color: #e4ff1a; }

#report-overlay .overlay-card { text-align: center; }
#report-overlay h2 {
  margin: 0 0 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 26px; text-transform: uppercase; letter-spacing: .02em;
}
#report-context { margin: 0 0 12px; word-break: break-word; }
#report-context:empty { display: none; }
#report-message {
  width: 100%; min-height: 92px; padding: 8px 10px; font-size: 14px;
  background: #0c0c0c; color: #f4f4ef; border: 1px solid #333;
  border-radius: 4px; font-family: inherit; resize: vertical;
}
#report-message::placeholder { color: #6f6f66; }
#report-message:focus { outline: none; border-color: #e4ff1a; }
#report-send {
  display: block; width: 100%; margin-top: 12px; padding: 11px 20px;
  font-size: 18px; font-weight: 800; border: none; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .03em;
  background: #e4ff1a; color: #0c0c0c; cursor: pointer;
}
#report-send:hover { background: #eeff6b; }
#report-send:disabled { background: #1c1c1c; color: #6f6f66; cursor: default; }
#report-cancel {
  display: block; margin: 10px auto 0; background: none; border: none;
  color: #8f8f86; font-size: 13px; cursor: pointer;
}
#report-cancel:hover { color: #f4f4ef; }
#report-note {
  display: block; margin-top: 8px; font-size: 12px;
  color: #e4ff1a; font-weight: 600;
}

#finish-overlay .overlay-card { animation: pop 0.35s ease-out; }
@keyframes pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  /* The whole shell becomes a flow column so the HUD is only as tall as its
     content — no fixed reserve, no dead black space. The destination sits on
     its own full-width row (wrapping to a 2nd line only when a label is truly
     long), and the pano fills whatever height is left. Corner overlays stay
     absolute; only #hud, #hint-bar and #pano flow. */
  body { display: flex; flex-direction: column; height: 100%; }
  #hud {
    position: static; height: auto; flex-wrap: wrap;
    align-items: center; row-gap: 3px; padding: 7px 12px;
  }
  #hint-bar { position: static; }
  #pano { position: static; top: auto; flex: 1 1 auto; min-height: 0; }
  #title { display: none; }
  #destination {
    order: -1; flex-basis: 100%; text-align: center; padding: 0 2px 1px;
    font-size: 14px; line-height: 1.2;
    white-space: normal; overflow: hidden; text-overflow: clip;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  #hud-right { gap: 10px; }
  #timer { font-size: 16px; min-width: 0; }
  #hint-btn { padding: 6px 11px; font-size: 13px; }
  #giveup-btn { padding: 6px 11px; font-size: 13px; }
  /* Icon-only reset, but sized as a real touch target (square, ~36px) rather
     than a tiny pill — the ⟳ glyph is enlarged and centered. */
  #reset-btn {
    padding: 0; min-width: 40px; height: 36px; font-size: 20px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
  }
  #reset-btn .btn-label { display: none; } /* label hidden; icon only on mobile */
  .overlay-card { padding: 22px 18px; max-width: 92vw; }
  .source-btn { padding: 7px 10px; font-size: 13px; } /* three tabs fit small screens */
  #minimap { width: 130px; height: 130px; bottom: 12px; right: 12px; }
  #compass { width: 40px; height: 40px; bottom: 152px; right: 12px; }
  #controls-legend { font-size: 11px; padding: 5px 8px; bottom: 12px; left: 12px; }
}

/* =========================================================================
   Landing page — the redesigned start screen (imported from Claude Design:
   "Bike messenger landing page design" / Landing.dc.html).
   Dark theme + neon accent; the in-game HUD/finish/report screens are unchanged.
   ========================================================================= */
#start-overlay.landing {
  position: absolute; inset: 0; z-index: 20; overflow-y: auto;
  background: #0c0c0c; color: #f4f4ef; display: block;
  font-family: 'Archivo', system-ui, sans-serif;
}
#start-overlay.landing.hidden { display: none; }
.landing a, .landing button.link { text-decoration: none; }
.landing .accent { color: #e4ff1a; }
@keyframes bm-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .25; } }

.caution-bar { height: 8px; background: repeating-linear-gradient(-45deg, #e4ff1a 0 16px, #0c0c0c 16px 32px); }

/* --- Nav --- */
.lp-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px max(32px, 4vw); }
.lp-logo {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 28px;
  letter-spacing: .02em; text-transform: uppercase; display: flex; align-items: center; gap: 11px;
}
.lp-logo .tag { background: #e4ff1a; color: #0c0c0c; font-size: 13px; padding: 2px 8px; border-radius: 3px; letter-spacing: .08em; }
.lp-navlinks { display: flex; gap: 28px; }
.lp-navlinks button {
  background: none; border: 0; padding: 0; cursor: pointer; color: #8f8f86;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em;
}
.lp-navlinks button.active, .lp-navlinks button:hover { color: #e4ff1a; }

/* --- Challenge banner on the dark landing --- */
.landing #challenge-banner {
  margin: 14px max(32px, 4vw) 0; background: #1c1c0a; color: #e4ff1a;
  border: 1px solid #242414; border-radius: 4px;
}

/* --- Hero --- */
.lp-hero { position: relative; padding: 60px max(32px, 4vw) 56px; overflow: hidden; }
.lp-hero-mapbg { position: absolute; inset: 0; opacity: .5; }
.lp-hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center; max-width: 1400px; margin: 0 auto;
}
.lp-h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 104px;
  line-height: .84; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 22px;
}
.lp-lede { font-size: 17px; line-height: 1.5; color: #b7b7ad; max-width: 460px; margin: 0 0 32px; }
.lp-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.lp-btn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; font-size: 22px; border-radius: 4px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
}
.lp-btn-primary { padding: 16px 34px; background: #e4ff1a; color: #0c0c0c; border: 0; }
.lp-btn-primary:hover { background: #eeff6b; }
.lp-btn-ghost { padding: 14px 30px; background: transparent; color: #f4f4ef; border: 2px solid #333; }
.lp-btn-ghost:hover { border-color: #e4ff1a; color: #e4ff1a; }
.lp-hero-stat { margin-top: 26px; font-family: 'DM Mono', monospace; font-size: 13px; color: #7c7c72; letter-spacing: .02em; }

.lp-hero-map { position: relative; height: 340px; border: 2px solid #242414; border-radius: 6px; overflow: hidden; }
.lp-hero-map-canvas { position: absolute; inset: 0; }
.lp-drop-dot {
  position: absolute; left: 20%; top: 72%; width: 15px; height: 15px; border-radius: 50%;
  background: #e4ff1a; box-shadow: 0 0 0 3px #0c0c0c, 0 0 14px #e4ff1a;
}
.lp-dest-pin {
  position: absolute; left: calc(74% - 12px); top: calc(22% - 24px);
  color: #ff2e2e; filter: drop-shadow(0 0 8px rgba(255, 46, 46, .6));
}
.lp-drop-label {
  position: absolute; bottom: 14px; left: 14px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .05em;
  background: #0c0c0c; padding: 7px 12px; border-radius: 3px;
}

/* --- Choose your run --- */
.lp-run { padding: 44px max(32px, 4vw); max-width: 1400px; margin: 0 auto; scroll-margin-top: 20px; }
.lp-run-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 34px;
  text-transform: uppercase; letter-spacing: .01em; margin: 0 0 6px;
}
.lp-run-sub { font-size: 15px; color: #8f8f86; margin: 0 0 22px; max-width: 560px; line-height: 1.45; }
.lp-tiers { display: flex; flex-direction: column; gap: 2px; border: 2px solid #1c1c1c; border-radius: 6px; overflow: hidden; }
.tier {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px;
  padding: 26px 28px; background: #141414; border: 0; text-align: left; cursor: pointer;
  color: inherit; transition: background .15s;
}
.tier:hover { background: #1b1b1b; }
.tbig {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 50px; line-height: 1;
  color: #333; text-align: center; transition: color .15s;
}
.tier:hover .tbig { color: #e4ff1a; }
.tier-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 27px; text-transform: uppercase; letter-spacing: .02em; }
.tier-desc { font-size: 14px; color: #a9a99f; margin-top: 3px; max-width: 640px; line-height: 1.45; }
.tier-assist {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: .05em; color: #e4ff1a; white-space: nowrap;
}
.tier.done { opacity: .62; }
.tier.done .tbig { color: #2a3d0a; }
.tier.done .tier-assist { color: #8f8f86; }
#tier-error {
  margin-top: 12px; padding: 12px 16px; border: 1px solid rgba(255, 46, 46, .4);
  border-radius: 4px; background: rgba(255, 46, 46, .08); color: #ff5b4d;
  font-size: 14px; font-weight: 600;
}
#tier-error.hidden { display: none; }

/* --- Cards row: live board + side cards --- */
.lp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 max(32px, 4vw) 48px; max-width: 1400px; margin: 0 auto; }
.lp-board { border: 2px solid #1c1c1c; border-radius: 6px; overflow: hidden; }
.lp-board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: #141414; flex-wrap: wrap;
}
.lp-board-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px;
  text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 9px;
}
.lp-live { color: #e4ff1a; font-size: 13px; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 7px; }
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e4ff1a; animation: bm-blink 1.4s steps(1) infinite; }
.lp-board-tabs { display: flex; gap: 6px; }
.board-tab {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 15px; text-transform: uppercase;
  letter-spacing: .04em; padding: 5px 12px; border-radius: 4px; cursor: pointer; border: 0;
  background: #1c1c1c; color: #8f8f86; transition: .15s;
}
.board-tab.active { background: #e4ff1a; color: #0c0c0c; }
.lp-board-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid #1a1a1a; font-size: 15px; }
.lp-board-row.me { background: rgba(228, 255, 26, .06); box-shadow: inset 3px 0 0 #e4ff1a; }
.lp-board-row.me .lp-board-name { color: #e4ff1a; }
.lp-board-rank { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 19px; color: #e4ff1a; width: 22px; }
.lp-board-name { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-board-time { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 16px; }
.lp-board-empty { padding: 22px 20px; border-top: 1px solid #1a1a1a; font-size: 14px; color: #8f8f86; }

.lp-side { display: flex; flex-direction: column; gap: 16px; }
.lp-card { border: 2px solid #1c1c1c; border-radius: 6px; padding: 24px; background: #141414; }
.lp-card-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; text-transform: uppercase; margin: 0 0 8px; }
.lp-card-text { margin: 0 0 14px; font-size: 14px; color: #a9a99f; line-height: 1.45; }
.lp-card-link {
  background: none; border: 0; padding: 0; cursor: pointer; color: #e4ff1a;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 16px;
}
.lp-card-link:hover { color: #eeff6b; }

/* --- Footer --- */
.lp-foot {
  padding: 22px max(32px, 4vw); border-top: 1px solid #1c1c1c; display: flex;
  justify-content: space-between; gap: 12px; font-size: 12px; color: #6f6f66;
  font-family: 'DM Mono', monospace; letter-spacing: .03em; flex-wrap: wrap;
}
.lp-foot-report {
  display: inline; margin: 0; padding: 0; background: none; border: 0; text-decoration: none;
  color: #6f6f66; font: inherit; letter-spacing: inherit; cursor: pointer;
}
.lp-foot-report:hover { color: #e4ff1a; }

/* How-to modal, in the landing's design language */
#howto-overlay { background: rgba(12, 12, 12, 0.85); }
.howto-card {
  max-width: 540px; text-align: left; background: #141414; color: #f4f4ef;
  border: 2px solid #1c1c1c; border-radius: 6px; padding: 0 26px 26px;
  font-family: 'Archivo', system-ui, sans-serif;
  max-height: 92vh; overflow-y: auto; /* short windows scroll instead of clipping */
}
.howto-card::before { /* caution tape, echoing the page header */
  content: ''; display: block; height: 6px; margin: 0 -26px 20px;
  background: repeating-linear-gradient(-45deg, #e4ff1a 0 16px, #0c0c0c 16px 32px);
}
.howto-card h2 {
  margin: 0 0 16px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 32px; text-transform: uppercase; letter-spacing: .02em;
}
.howto-card .accent { color: #e4ff1a; }
.howto-card .howto-list { font-size: 14px; color: #a9a99f; }
.howto-card .howto-list li { display: flex; gap: 14px; line-height: 1.5; margin-bottom: 12px; }
.howto-card .howto-list strong { color: #f4f4ef; }
.hn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 19px;
  line-height: 1.1; color: #e4ff1a; min-width: 24px; text-align: right; flex-shrink: 0;
}
#howto-close {
  display: block; width: 100%; margin-top: 18px; padding: 13px 24px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 19px;
  text-transform: uppercase; letter-spacing: .03em;
  border: none; border-radius: 4px; background: #e4ff1a; color: #0c0c0c; cursor: pointer;
}
#howto-close:hover { background: #eeff6b; }

@media (max-width: 820px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .lp-hero-map { height: 240px; }
  .lp-h1 { font-size: 68px; }
  .lp-cards { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 54px 1fr; }
  .tier-assist { grid-column: 2; }
}
@media (max-width: 480px) {
  .lp-navlinks { gap: 16px; }
  .lp-navlinks button { font-size: 15px; }
  .lp-logo { font-size: 22px; }
  .lp-h1 { font-size: 52px; }
  .lp-btn { font-size: 18px; }
  .lp-btn-primary { padding: 13px 22px; }
  .lp-btn-ghost { padding: 11px 18px; }
}
