:root {
  --ink: #11130f;
  --paper: #f3f0e8;
  --paper-deep: #e8e3d8;
  --acid: #c8ff1a;
  --acid-dark: #a6db00;
  --muted: #72766e;
  --line: rgba(17, 19, 15, 0.14);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 232, 0.88);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand-logo { display: block; width: auto; height: 62px; }
.site-header nav { display: flex; gap: 34px; font-size: 0.76rem; font-weight: 700; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--ink); transition: right .2s; }
.site-header nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.auth-guest, .auth-user { display: flex; align-items: center; gap: 10px; }
.auth-link, .auth-signout { padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); background: transparent; font-size: .68rem; font-weight: 800; }
.button-outline { padding: 11px 14px; border: 1px solid var(--ink); background: transparent; }
.auth-user { min-width: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.user-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acid); font-size: .72rem; font-weight: 800; }
.user-copy { min-width: 0; line-height: 1.05; }
.user-copy small, .user-copy strong { display: block; }
.user-copy small { margin-bottom: 4px; color: var(--muted); font: .44rem var(--mono); text-transform: uppercase; }
.user-copy strong { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; }
.auth-signout { color: var(--muted); font-size: .58rem; }

.button {
  border: 0;
  padding: 14px 19px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.76rem;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-acid { background: var(--acid); color: var(--ink); }
.button-acid:hover { background: #d6ff5e; }
.button-full { width: 100%; }

.hero {
  position: relative;
  z-index: 2;
  min-height: 540px;
  padding: 78px 6vw 68px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  background:
    linear-gradient(90deg, rgba(17,19,15,.035) 1px, transparent 1px) 0 0 / 8vw 100%,
    var(--paper);
}
.hero-copy { max-width: 810px; }
.eyebrow { margin: 0 0 22px; font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--acid-dark); box-shadow: 0 0 0 4px rgba(166,219,0,.13); }
h1, h2 { margin: 0; font-size: clamp(4.2rem, 8.4vw, 8.7rem); line-height: .83; letter-spacing: -.075em; font-weight: 700; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; }
.hero-intro { max-width: 590px; margin: 36px 0 0 18vw; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.55; color: #4f534c; }
.hero-intro > span { display: block; }
.hero-offer-line { margin-bottom: 1.1em; color: var(--ink); font-weight: 700; }
.hero-actions { margin: 30px 0 0 18vw; display: flex; align-items: center; gap: 30px; }
.text-link { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: .75rem; font-weight: 800; }
.hero-metrics { flex: 0 0 210px; border-left: 1px solid var(--line); }
.hero-metrics div { padding: 20px 0 20px 24px; border-bottom: 1px solid var(--line); }
.hero-metrics strong { display: block; font-size: 1.55rem; letter-spacing: -.05em; }
.hero-metrics span { display: block; margin-top: 3px; color: var(--muted); font: .6rem var(--mono); text-transform: uppercase; }

.highway-scene {
  position: relative;
  isolation: isolate;
  min-height: 1210px;
  padding: 48px 3vw 0;
  overflow: hidden;
  background:
    linear-gradient(to bottom, #79bfe5 0%, #c8e5e4 34%, #b9c9aa 55%, #4a533f 70%, #171a18 70%);
  transition: background .7s ease;
}
.sun-glow { position: absolute; z-index: 0; top: 18px; right: 9%; width: 178px; height: 178px; border-radius: 50%; background: #ffd65a; box-shadow: 0 0 0 20px rgba(255,226,120,.2), 0 0 95px 38px rgba(255,229,132,.48); animation: sunPulse 4.8s ease-in-out infinite; pointer-events: none; }
.sun-glow::before { content: ""; position: absolute; inset: -42px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,235,148,.42) 0 3deg, transparent 3deg 16deg); -webkit-mask: radial-gradient(circle, transparent 0 57%, #000 59% 100%); mask: radial-gradient(circle, transparent 0 57%, #000 59% 100%); animation: sunRays 24s linear infinite; }
.sun-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .45s ease; }
.star-field, .star-field::before, .star-field::after { position: absolute; pointer-events: none; }
.star-field { z-index: 0; inset: 0 0 30%; overflow: hidden; opacity: 0; transition: opacity .55s ease; }
.star-field::before, .star-field::after {
  content: "";
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(210,231,255,.9) 0 1.2px, transparent 1.7px),
    radial-gradient(circle, rgba(255,244,193,.85) 0 .8px, transparent 1.3px);
  background-position: 8px 12px, 37px 29px, 21px 48px;
  background-size: 67px 61px, 97px 83px, 53px 71px;
  animation: starsTwinkle 3.6s ease-in-out infinite alternate;
}
.star-field::after { transform: translate(17px, 11px) scale(1.08); opacity: .48; animation-delay: -1.8s; }
.cloud {
  --drift: 54px;
  --cloud-top: rgba(255, 255, 255, .98);
  --cloud-mid: rgba(239, 248, 252, .96);
  --cloud-base: rgba(218, 235, 243, .94);
  --cloud-shadow: rgba(72, 125, 151, .25);
  position: absolute;
  z-index: 1;
  height: 82px;
  background: transparent;
  filter: drop-shadow(0 10px 10px rgba(46, 102, 133, .16));
  animation: cloudDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
.cloud::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 37%, var(--cloud-top) 0 25%, transparent 26%),
    radial-gradient(ellipse at 34% 54%, var(--cloud-top) 0 24%, transparent 25%),
    radial-gradient(ellipse at 67% 55%, var(--cloud-mid) 0 25%, transparent 26%),
    radial-gradient(ellipse at 18% 71%, var(--cloud-mid) 0 18%, transparent 19%),
    radial-gradient(ellipse at 84% 72%, var(--cloud-base) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 76%, var(--cloud-base) 0 39%, transparent 40%);
}
.cloud::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 13%;
  bottom: 10%;
  height: 19%;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--cloud-shadow), transparent 72%);
  filter: blur(4px);
  opacity: .42;
}
.cloud-one { width: 220px; left: 5%; top: 20px; animation-duration: 21s; }
.cloud-two { --drift: -68px; width: 285px; right: 25%; top: 38px; animation-duration: 27s; animation-delay: -9s; }
.cloud-two::before { transform: scaleX(-1) scaleY(.92); }
.cloud-three { width: 145px; left: 39%; top: 3px; opacity: .78; animation-duration: 24s; animation-delay: -15s; }
.cloud-three::before { transform: scaleY(.82) rotate(-2deg); }
.cloud-four { --drift: -42px; width: 170px; right: 3%; top: 122px; opacity: .62; animation-duration: 20s; animation-delay: -6s; }
.cloud-four::before { transform: scaleX(-1) scaleY(.88) rotate(2deg); }
.bird-flight { position: absolute; z-index: 2; top: 72px; left: -150px; width: 116px; height: 48px; color: rgba(31,55,60,.72); animation: birdsCross 22s linear infinite; pointer-events: none; will-change: transform; }
.bird-flight i { position: absolute; width: 17px; height: 9px; animation: birdBob 1.6s ease-in-out infinite alternate; }
.bird-flight i::before, .bird-flight i::after { content: ""; position: absolute; top: 2px; width: 9px; height: 6px; border-top: 2px solid currentColor; border-radius: 50%; animation: wingFlap .7s ease-in-out infinite alternate; }
.bird-flight i::before { left: 0; transform-origin: right top; transform: rotate(14deg); }
.bird-flight i::after { right: 0; transform-origin: left top; transform: rotate(-14deg); animation-delay: -.35s; }
.bird-flight i:nth-child(1) { left: 0; top: 25px; }
.bird-flight i:nth-child(2) { left: 31px; top: 10px; animation-delay: -.5s; }
.bird-flight i:nth-child(3) { left: 63px; top: 0; animation-delay: -.9s; }
.bird-flight i:nth-child(4) { left: 91px; top: 19px; animation-delay: -.25s; }

@keyframes sunPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255,226,120,.18), 0 0 82px 32px rgba(255,229,132,.42); }
  50% { transform: scale(1.025); box-shadow: 0 0 0 27px rgba(255,226,120,.24), 0 0 112px 48px rgba(255,229,132,.58); }
}
@keyframes sunRays { to { transform: rotate(360deg); } }
@keyframes moonFloat { 50% { transform: translateY(5px) scale(1.015); } }
@keyframes starsTwinkle { from { opacity: .42; } to { opacity: 1; } }
@keyframes cloudDrift { from { transform: translate3d(-18px, 0, 0); } to { transform: translate3d(var(--drift), 4px, 0); } }
@keyframes birdsCross { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(100vw + 300px), -22px, 0); } }
@keyframes birdBob { to { transform: translateY(4px); } }
@keyframes wingFlap { to { border-radius: 20%; transform: rotate(0deg) translateY(2px); } }

.billboard-structure { position: relative; width: min(1580px, 100%); margin: 0 auto; }
.billboard-topline { position: relative; z-index: 3; display: flex; justify-content: space-between; padding: 0 12px 12px; color: rgba(255,255,255,.75); font: .57rem var(--mono); letter-spacing: .08em; }
.sky-mode-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 116px;
  padding: 3px;
  border: 1px solid rgba(17, 19, 15, .18);
  border-radius: 999px;
  color: #41515a;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 5px 18px rgba(37, 91, 120, .12);
  font: 500 .48rem var(--mono);
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.sky-mode-toggle::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 3px auto 3px 3px;
  width: calc(50% - 3px);
  border-radius: inherit;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(25, 55, 71, .18);
  transition: transform .35s ease, background .35s ease;
}
.sky-option { position: relative; z-index: 1; padding: 5px 2px; text-align: center; transition: color .35s ease; }
.sky-option-night { color: #78868d; }
.billboard-shell { position: relative; z-index: 3; padding: 13px; border: 3px solid #262b27; border-radius: 5px; background: #111411; box-shadow: 0 38px 80px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.08); }
.board-layout { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px; height: clamp(460px, 49vw, 690px); min-height: 460px; background: #f8f7f2; }
.leaderboard-panel, .selection-panel { display: flex; flex-direction: column; min-width: 0; background: #efeee9; }
.leaderboard-panel { border-right: 1px solid #d9d8d1; }
.selection-panel { border-left: 1px solid #d9d8d1; }
.panel-heading { height: 50px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9d8d1; font: 500 .55rem var(--mono); text-transform: uppercase; }
.panel-heading small { color: #858980; font-size: .42rem; }
#leaderboardList { list-style: none; margin: 0; padding: 0; overflow: hidden; }
#leaderboardList li { display: grid; grid-template-columns: 16px 28px minmax(0, 1fr) auto; gap: 5px; align-items: center; min-height: 55px; padding: 7px 8px; border-bottom: 1px solid #dddcd5; font-size: .58rem; }
.rank { color: #7c8079; font: .5rem var(--mono); }
.brand-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 5px; color: white; font-weight: 800; }
.brand-row-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; }
.brand-row-name small { display: block; margin-top: 2px; color: #8a8d86; font: .42rem var(--mono); }
.brand-clicks { font: 700 .54rem var(--mono); }
.brand-performance { min-width: 38px; text-align: right; }
.brand-performance strong, .brand-performance small { display: block; }
.brand-performance small { margin-top: 3px; color: #777b73; font: .39rem var(--mono); text-transform: uppercase; }
.leaderboard-footer, .selection-footer { margin-top: auto; min-height: 44px; padding: 0 13px; display: flex; justify-content: space-between; align-items: center; background: var(--acid); font: 500 .49rem var(--mono); }

.canvas-column { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #f6f5ef; }
.canvas-toolbar, .canvas-footer { flex: 0 0 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #dddcd5; font: .48rem var(--mono); }
.canvas-toolbar > div { display: flex; align-items: center; gap: 9px; }
.mobile-leaderboard { display: none; }
.live-chip { padding: 4px 6px; border: 1px solid #ced0c8; border-radius: 2px; color: #646861; }
.live-chip i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: var(--acid-dark); }
.metric-chip { display: inline-flex; align-items: baseline; gap: 5px; color: #747970; white-space: nowrap; }
.metric-chip strong { color: var(--ink); font-size: .62rem; }
.zoom-controls { gap: 0 !important; border: 1px solid #d2d3cc; border-radius: 3px; overflow: hidden; }
.zoom-controls button { width: 25px; height: 25px; border: 0; background: #ebeae4; }
.zoom-controls span { min-width: 34px; text-align: center; }
.pixel-planner { flex: 0 0 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #d8d7d0; background: #ebeae4; font: .47rem var(--mono); white-space: nowrap; }
.pixel-planner strong { padding: 5px 7px; color: var(--ink); background: var(--acid); border-radius: 2px; }
.pixel-planner > span:not(.planner-hint) { color: #686d65; }
.planner-hint { margin-left: auto; color: #747970; }
.canvas-viewport { flex: 1 1 auto; min-height: 0; position: relative; overflow: auto; overscroll-behavior: contain; background: #ffffff; scrollbar-color: #a9aba4 transparent; }
.canvas-viewport, .canvas-stage, #pixelCanvas, .touch-pointer, .canvas-hint {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.canvas-stage { position: relative; width: 100%; min-width: 100%; aspect-ratio: 400 / 250; transform-origin: 0 0; background: #ffffff; }
#pixelCanvas { display: block; width: 100%; height: 100%; cursor: default; image-rendering: auto; touch-action: none; }
.touch-pointer { display: none; }
.board-status { margin: 0; padding: 14px 5%; text-align: center; color: #526149; font-size: .7rem; background: #f4fbe4; }
.founding-section { background: #f0f5ff; border-block: 1px solid #dae3f3; }
.founding-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.founding-counter { background: #fff; padding: 30px; border: 1px solid #d8e1ee; border-radius: 18px; }
.founding-counter > strong { display: block; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.06em; margin: 24px 0 12px; }
.founding-counter progress { width: 100%; height: 12px; accent-color: #244de4; }
.founding-counter small { color: #657084; font-size: .7rem; line-height: 1.6; }
.founder-badge { display: inline-block; width: fit-content; border-radius: 6px; padding: 5px 8px; background: #e9eeff; color: #2448ad; border: 1px solid #c7d4fc; font: 600 .6rem var(--mono); }
.founding-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; max-height: 600px; overflow-y: auto; }
.founding-member { display: grid; gap: 15px; padding: 22px; border: 1px solid #d8e1ee; border-radius: 12px; background: white; text-align: left; }
.founding-member:hover { border-color: #244de4; }.founding-member strong { overflow-wrap: anywhere; }.founding-member > span:last-child { color: #626b60; font-size: .72rem; }
.discovery-brand { display: grid; gap: 8px; }.discovery-brand .founder-badge { font-size: .55rem; }
.my-ad-card > .founder-badge { margin-top: 10px; }
.admin-dialog { width: min(960px, calc(100vw - 28px)); max-height: 90dvh; padding: 0; border: 1px solid #dce2d4; border-radius: 14px; overflow: auto; background: #fff; }
.admin-dialog::backdrop { background: rgba(17, 19, 15, .65); }
.admin-dialog .auth-card { max-width: none; position: relative; }
.admin-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; }
.admin-tools label { display: grid; gap: 8px; }.admin-tools select { padding: 10px; border: 1px solid #cbd4c3; background: white; }
.review-card { padding: 22px 0; border-bottom: 1px solid #dce2d4; }.review-card h3 { margin: 0 0 8px; }
.review-card p, .review-reason { overflow-wrap: anywhere; white-space: pre-wrap; }
.review-card label { display: grid; gap: 8px; }.review-card textarea { padding: 12px; width: 100%; resize: vertical; font: inherit; border: 1px solid #cbd4c3; }
.review-image { display: block; max-width: 100%; width: auto; max-height: 300px; object-fit: contain; margin: 16px 0; background: #f5f6f1; }
.review-state { display: inline-block; font: .65rem var(--mono); text-transform: uppercase; padding: 6px 9px; border-radius: 5px; background: #edf1e6; }
.review-reason { padding: 12px; background: #fff4da; border-left: 3px solid #a27b18; }
@media (max-width: 720px) { .founding-intro { grid-template-columns: 1fr; gap: 20px; }.founding-counter { padding: 24px; } }
.product-section { padding: 70px max(24px, 5vw); scroll-margin-top: 25px; }
.product-section h2 { margin: 12px 0 24px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.05em; }
.product-section h2 em { color: #729500; font-family: Georgia, serif; font-weight: 400; }
.product-section p { color: #626b60; line-height: 1.7; max-width: 850px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0; }
.benefit-grid article { padding: 25px; border: 1px solid #dee4d8; border-radius: 16px; background: white; }
.benefit-grid article > span { font: .65rem var(--mono); color: #608500; }
.benefit-grid h3 { font-size: 1.15rem; }
.product-note { font-size: .75rem; color: #6b7167; line-height: 1.6; }
.discovery-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.discovery-list { display: grid; gap: 10px; }
.discovery-card { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px; background: white; border: 1px solid #dce2d4; border-radius: 10px; text-align: left; }
.discovery-card:hover { background: #f2fbdb; }.discovery-card span { font-size: .7rem; }
.ownership-faq { background: #f7f9f3; }.ownership-faq details { border-bottom: 1px solid #dce2d4; padding: 18px 0; }.ownership-faq summary { cursor: pointer; font-weight: 700; }
.my-ad-card { margin-top: 18px; padding: 16px 0; border-bottom: 1px solid #dce2d4; }.my-ad-card h3 { margin: 0; }.my-ad-card p { font-size: .8rem; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .product-section { padding: 44px 20px; }.discovery-columns { grid-template-columns: 1fr; }.header-actions { flex-wrap: wrap; }.discovery-card { flex-wrap: wrap; } }
.canvas-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 13px; border-radius: 3px; color: white; background: rgba(17,19,15,.82); box-shadow: 0 4px 18px rgba(0,0,0,.25); font: .52rem var(--mono); pointer-events: none; transition: opacity .25s; white-space: nowrap; }
.canvas-footer { border-top: 1px solid #dddcd5; border-bottom: 0; }
.legend { display: flex; gap: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 7px; height: 7px; display: inline-block; }
.legend-empty { border: 1px solid #aeb1aa; }
.legend-owned { background: #555c52; }
.legend-selected { background: var(--acid); }

.selection-empty { margin: auto; padding: 20px; text-align: center; }
.drag-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 13px; border: 1px dashed #9da197; border-radius: 50%; font-size: 1.2rem; }
.selection-empty strong { display: block; font-size: .72rem; }
.selection-empty p { color: #777b73; font-size: .57rem; line-height: 1.55; }
.selection-details { padding: 14px; overflow-y: auto; }
.selection-preview { position: relative; display: grid; place-items: center; height: 78px; margin-bottom: 12px; overflow: hidden; color: #151712; background: var(--acid); font-size: .85rem; font-weight: 800; }
.selection-preview::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px); background-size: 8px 8px; }
.selection-details dl { margin: 0 0 12px; }
.selection-details dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #d9d8d1; font: .5rem var(--mono); }
.selection-details dt { color: #7d8179; }
.selection-details dd { margin: 0; font-weight: 500; }
.challenge-note { min-height: 25px; margin: 0 0 8px; color: #8a5417; font-size: .49rem; line-height: 1.45; }
.clear-selection { display: block; margin: 10px auto 0; padding: 0; border: 0; border-bottom: 1px solid #777; color: #777; background: none; font: .5rem var(--mono); }
.selection-footer { background: #deddd6; color: #6c7069; }

.billboard-neck { position: relative; z-index: 3; width: 66%; height: 18px; margin: 0 auto; background: linear-gradient(to bottom, #20241f, #111411); clip-path: polygon(2% 0, 98% 0, 100% 100%, 0 100%); }
.mobile-selection-bar { display: none; }
.billboard-posts { position: relative; z-index: 3; display: flex; justify-content: space-around; width: 42%; height: 150px; margin: 0 auto; }
.billboard-posts i { display: block; width: 35px; height: 100%; background: linear-gradient(90deg, #343833, #171a17 55%, #090b09); box-shadow: 15px 0 25px rgba(0,0,0,.2); }

.verge { position: absolute; z-index: 2; left: 0; right: 0; height: 70px; background: #4a533f; pointer-events: none; }
.verge-back { bottom: 270px; box-shadow: inset 0 18px 30px rgba(0,0,0,.26); }
.road { position: absolute; left: -5%; width: 110%; height: 140px; overflow: hidden; pointer-events: none; }
.road::before { content: ""; position: absolute; z-index: 4; inset: 0; background: #1e211f; transform: skewY(-1deg); }
.road-back { bottom: 160px; }
.road-back::before { border-top: 8px solid #bbb494; }
.road-front { bottom: -1px; }
.road-front::before { border-top: 5px solid #565a52; }
.lane-line { position: absolute; z-index: 5; left: 0; right: 0; top: 65px; height: 4px; background: repeating-linear-gradient(90deg, transparent 0 70px, #d8d4b9 70px 140px); opacity: .65; transform: skewY(-1deg); }
.median { position: absolute; z-index: 5; left: 0; right: 0; bottom: 132px; height: 34px; background: #343b30; border-top: 5px solid #a3a18e; border-bottom: 5px solid #171917; display: flex; justify-content: space-around; pointer-events: none; }
.median i { width: 4px; height: 46px; margin-top: -12px; background: #a7a996; }
.vehicle { --vehicle-facing: 1; position: absolute; z-index: 8; filter: drop-shadow(0 8px 6px rgba(0,0,0,.45)); }
.car { width: 92px; height: 29px; border-radius: 24px 28px 8px 8px; background: #d7d7cf; }
.car::before { content: ""; position: absolute; left: 20px; top: -15px; width: 48px; height: 20px; border-radius: 24px 30px 0 0; background: #8da19e; clip-path: polygon(22% 0, 77% 0, 100% 100%, 0 100%); }
.car::after, .car i::after { content: ""; position: absolute; bottom: -6px; width: 16px; height: 16px; border: 4px solid #0d0e0d; border-radius: 50%; background: #85887f; }
.car::after { left: 14px; }
.car i::after { right: 12px; }
.truck { width: 138px; height: 43px; background: #8e352e; }
.truck i { position: absolute; right: -42px; bottom: 0; width: 42px; height: 35px; background: #c7cabf; clip-path: polygon(0 20%, 73% 20%, 100% 60%, 100% 100%, 0 100%); }
.truck::after, .truck b::after { content: ""; position: absolute; bottom: -8px; width: 18px; height: 18px; border-radius: 50%; border: 4px solid #0d0e0d; background: #777; }
.truck::after { left: 15px; }
.truck b::after { right: -31px; }
.motorcycle { width: 58px; height: 24px; --vehicle-color: #c8ff1a; }
.motorcycle::before { content: ""; position: absolute; left: 12px; top: 7px; width: 35px; height: 10px; border-radius: 3px 12px 4px 4px; background: var(--vehicle-color); transform: skewX(-18deg); }
.motorcycle::after, .motorcycle i::after { content: ""; position: absolute; bottom: -3px; width: 14px; height: 14px; border: 4px solid #0d0e0d; border-radius: 50%; background: #85887f; }
.motorcycle::after { left: 5px; }
.motorcycle i::after { right: 3px; }
.motorcycle i { position: absolute; left: 22px; top: 3px; width: 20px; height: 5px; border-radius: 5px; background: #171917; }
.motorcycle b { position: absolute; z-index: 2; left: 25px; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: #d8ddd6; }
.car-one { top: 22px; background: #e3c343; animation: drive-right 16s linear infinite -2s; }
.truck-one { top: 78px; animation: drive-right 25s linear infinite -10s; }
.motorcycle-one { top: 29px; --vehicle-color: #e85b3e; animation: drive-right 14s linear infinite -7s; }
.car-four { top: 88px; background: #7dc8b2; animation: drive-right 19s linear infinite -13s; }
.truck-three { top: 14px; background: #3566bc; animation: drive-right 28s linear infinite -21s; }
.motorcycle-two { top: 91px; --vehicle-color: #f0c84b; animation: drive-right 11s linear infinite -9s; }
.car-two { top: 20px; background: #eee9db; animation: drive-left 12s linear infinite -5s; }
.car-three { top: 82px; background: #547b92; animation: drive-left 18s linear infinite -13s; }
.truck-two { top: 72px; background: #a8493d; animation: drive-left 22s linear infinite -2s; }
.motorcycle-three { top: 27px; --vehicle-color: #c8ff1a; animation: drive-left 14s linear infinite -9s; }
.car-five { top: 88px; background: #d887b5; animation: drive-left 20s linear infinite -16s; }
.motorcycle-four { top: 91px; --vehicle-color: #62b8ed; animation: drive-left 17s linear infinite -5s; }
.vehicle.vehicle-svg { border-radius: 0; background: transparent; filter: drop-shadow(0 7px 5px rgba(0,0,0,.42)); }
.vehicle.vehicle-svg::before, .vehicle.vehicle-svg::after { content: none; }
.vehicle-svg.car { width: 110px; height: 53px; }
.vehicle-svg.truck { width: 154px; height: 59px; }
.vehicle-svg.motorcycle { width: 90px; height: 58px; }
.vehicle-art { display: block; width: 100%; height: 100%; overflow: visible; transform-box: fill-box; transform-origin: center; }
.vehicle-paint { fill: var(--vehicle-color, #d7d7cf); }
.car-one { --vehicle-color: #e3c343; }
.car-four { --vehicle-color: #65bfa6; }
.car-two { --vehicle-color: #eee9db; }
.car-three { --vehicle-color: #547b92; }
.car-five { --vehicle-color: #d887b5; }
.truck-one { --vehicle-color: #8e352e; }
.truck-three { --vehicle-color: #3566bc; }
.truck-two { --vehicle-color: #a8493d; }
.road-front .vehicle { --vehicle-facing: -1; }
.road-back .car { --vehicle-facing: -1; }
.road-front .car { --vehicle-facing: 1; }
.road .vehicle-art { animation: vehicleSuspension .52s ease-in-out infinite alternate; }
@keyframes vehicleSuspension {
  from { transform: scaleX(var(--vehicle-facing)) translateY(0); }
  to { transform: scaleX(var(--vehicle-facing)) translateY(-1.5px); }
}
@keyframes drive-right { from { left: -220px; } to { left: calc(100% + 220px); } }
@keyframes drive-left { from { right: -220px; } to { right: calc(100% + 220px); } }
.road-label { position: absolute; z-index: 10; right: 3vw; bottom: 18px; color: rgba(255,255,255,.44); font: .55rem var(--mono); pointer-events: none; }

.ticker { overflow: hidden; color: white; background: var(--ink); border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
#tickerTrack { display: flex; width: max-content; padding: 13px 0; animation: ticker 42s linear infinite; font: .53rem var(--mono); text-transform: uppercase; }
#tickerTrack span { margin-right: 46px; white-space: nowrap; }
#tickerTrack b { color: var(--acid); }
@keyframes ticker { to { transform: translateX(-50%); } }

.how-section { padding: 105px 6vw 120px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 70px; }
.section-intro h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps article { position: relative; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps article > span { font: .58rem var(--mono); }
.step-visual { height: 200px; margin: 30px 0; border-radius: 3px; background: #e4e1d8; }
.select-visual { position: relative; overflow: hidden; background-image: linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px); background-size: 12px 12px; }
.select-visual::before { content: "CLICK + DRAG"; position: absolute; z-index: 3; left: 12px; top: 12px; padding: 5px 7px; border-radius: 99px; color: #fff; background: rgba(17,19,15,.82); font: 500 .44rem var(--mono); letter-spacing: .04em; }
.select-visual::after { content: ""; position: absolute; z-index: 4; left: 20%; top: 25%; width: 21px; height: 27px; background: #11130f; clip-path: polygon(0 0, 0 88%, 25% 68%, 41% 100%, 57% 91%, 41% 61%, 72% 61%); filter: drop-shadow(0 2px 1px rgba(255,255,255,.8)); animation: demoPointerDrag 5.2s ease-in-out infinite; }
.select-visual i { position: absolute; left: 23%; top: 28%; width: 50%; height: 50%; border: 2px solid var(--ink); background: rgba(200,255,26,.78); box-shadow: 0 8px 22px rgba(125,164,0,.16); transform-origin: 0 0; animation: demoPixelSelection 5.2s ease-in-out infinite; }
.brand-visual { position: relative; color: white; background: #1f4a3e; text-align: center; }
.brand-demo-name { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 800; line-height: .85; text-shadow: 0 4px 18px rgba(0,0,0,.2); animation: demoBrandPublish 5.2s ease-in-out infinite; }
.bid-demo-amount { position: absolute; z-index: 3; left: 50%; top: 27%; width: max-content; max-width: 80%; padding: 10px 13px; border-radius: 5px; color: #11130f; background: #fff; box-shadow: 0 9px 24px rgba(0,0,0,.18); font: 700 .62rem var(--mono); transform: translateX(-50%); animation: demoBidPanel 5.2s ease-in-out infinite; }
.bid-demo-button { position: absolute; z-index: 3; left: 50%; top: 58%; min-width: 90px; padding: 10px 18px; border-radius: 4px; color: #11130f; background: var(--acid); box-shadow: 0 8px 20px rgba(0,0,0,.2); font: 800 .7rem var(--sans); transform: translateX(-50%); animation: demoBidButton 5.2s ease-in-out infinite; }
.brand-visual::after { content: ""; position: absolute; z-index: 5; left: 76%; top: 79%; width: 19px; height: 25px; background: #fff; clip-path: polygon(0 0, 0 88%, 25% 68%, 41% 100%, 57% 91%, 41% 61%, 72% 61%); filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); animation: demoBidCursor 5.2s ease-in-out infinite; }
.traffic-visual { position: relative; overflow: hidden; background: linear-gradient(#dfe9e5 0 48%, #343834 48%); }
.traffic-visual::before { content: "+1 CLICK"; position: absolute; z-index: 5; right: 10px; top: 10px; padding: 5px 7px; border-radius: 99px; color: #11130f; background: var(--acid); font: 700 .43rem var(--mono); opacity: 0; animation: demoClickSignal 4.8s ease-in-out infinite; }
.traffic-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 38px; height: 3px; background: repeating-linear-gradient(90deg, transparent 0 30px, #ddd9be 30px 60px); }
.traffic-visual i { position: absolute; z-index: 2; left: 18%; top: 24px; width: 47%; height: 72px; display: grid; place-items: center; background: var(--acid); border: 8px solid #222; box-shadow: 0 8px 18px rgba(0,0,0,.18); animation: demoBillboardLive 4.8s ease-in-out infinite; }
.traffic-visual i em { color: #11130f; font: 800 clamp(.65rem, 1.3vw, 1rem) var(--sans); font-style: normal; }
.traffic-visual b, .traffic-demo-car { position: absolute; z-index: 3; width: 60px; height: 20px; border-radius: 18px 18px 5px 5px; box-shadow: 0 5px 9px rgba(0,0,0,.28); }
.traffic-visual b { left: -80px; right: auto; bottom: 25px; background: #f2f2ee; animation: demoCarRight 4.8s linear infinite; }
.traffic-demo-car { right: -80px; bottom: 69px; background: #e45a3f; animation: demoCarLeft 6.2s linear infinite -2.4s; }
.traffic-visual b::before, .traffic-visual b::after, .traffic-demo-car::before, .traffic-demo-car::after { content: ""; position: absolute; bottom: -5px; width: 10px; height: 10px; border: 3px solid #151715; border-radius: 50%; background: #8c928b; }
.traffic-visual b::before, .traffic-demo-car::before { left: 9px; }
.traffic-visual b::after, .traffic-demo-car::after { right: 9px; }
@keyframes demoPointerDrag {
  0%, 8% { left: 19%; top: 23%; opacity: 0; transform: scale(.8); }
  14% { opacity: 1; }
  58%, 82% { left: 72%; top: 77%; opacity: 1; transform: scale(1); }
  92%, 100% { left: 72%; top: 77%; opacity: 0; }
}
@keyframes demoPixelSelection {
  0%, 13% { opacity: 0; transform: scale(.04); }
  18% { opacity: .8; transform: scale(.08); }
  58%, 84% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes demoBidPanel {
  0%, 8% { opacity: 0; transform: translate(-50%, 12px); }
  16%, 48% { opacity: 1; transform: translate(-50%, 0); }
  60%, 100% { opacity: 0; transform: translate(-50%, -8px); }
}
@keyframes demoBidButton {
  0%, 12% { opacity: 0; transform: translate(-50%, 10px); }
  20%, 40% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  46% { opacity: 1; transform: translate(-50%, 0) scale(.9); background: #e1ff83; }
  58%, 100% { opacity: 0; transform: translate(-50%, 0) scale(1); }
}
@keyframes demoBidCursor {
  0%, 15% { opacity: 0; left: 77%; top: 84%; }
  24% { opacity: 1; }
  42% { opacity: 1; left: 58%; top: 67%; transform: scale(1); }
  47% { opacity: 1; left: 58%; top: 67%; transform: scale(.76); }
  58%, 100% { opacity: 0; left: 58%; top: 67%; }
}
@keyframes demoBrandPublish {
  0%, 48% { opacity: .08; transform: scale(.9); filter: blur(5px); }
  62%, 88% { opacity: 1; transform: scale(1); filter: blur(0); }
  100% { opacity: .08; transform: scale(.96); filter: blur(3px); }
}
@keyframes demoBillboardLive {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 18px rgba(0,0,0,.18), 0 0 0 0 rgba(200,255,26,0); }
  50% { transform: scale(1.035); box-shadow: 0 10px 25px rgba(0,0,0,.23), 0 0 0 8px rgba(200,255,26,.18); }
}
@keyframes demoClickSignal {
  0%, 35%, 100% { opacity: 0; transform: translateY(5px) scale(.88); }
  44%, 70% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes demoCarRight { from { left: -80px; } to { left: calc(100% + 80px); } }
@keyframes demoCarLeft { from { right: -80px; } to { right: calc(100% + 80px); } }
.traffic-visual .demo-road-vehicle { position: absolute; z-index: 3; display: block; border-radius: 0; background: transparent; box-shadow: none; }
.traffic-visual .demo-road-vehicle::before, .traffic-visual .demo-road-vehicle::after { content: none; }
.traffic-visual .demo-road-car { left: -90px; right: auto; bottom: 18px; width: 78px; height: 39px; --vehicle-color: #f2f2ee; animation: demoCarRight 4.8s linear infinite; }
.traffic-visual .demo-road-motorcycle { right: -80px; bottom: 60px; width: 62px; height: 38px; --vehicle-color: #e45a3f; transform: scaleX(-1); animation: demoCarLeft 6.2s linear infinite -2.4s; }
.steps h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.04em; }
.steps p { max-width: 310px; color: var(--muted); font-size: .82rem; line-height: 1.6; }

footer { display: flex; align-items: center; justify-content: space-between; padding: 38px 6vw; color: white; background: var(--ink); font-size: .65rem; }
footer .brand-logo { height: 68px; }
footer p { color: #9ca098; }
footer > span { font: .5rem var(--mono); color: #7c8178; }

.claim-dialog, .auth-dialog { width: min(620px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; border: 0; border-radius: 5px; background: transparent; }
.claim-dialog::backdrop, .auth-dialog::backdrop { background: rgba(11,13,10,.72); backdrop-filter: blur(8px); }
.auth-dialog { width: min(540px, calc(100% - 30px)); }
.auth-card { position: relative; padding: 38px; color: var(--ink); background: var(--paper); }
.auth-card h2 { margin-bottom: 28px; font-size: clamp(2.8rem, 7vw, 4.8rem); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; border-bottom: 1px solid #c9c7bf; }
.auth-tabs button { padding: 12px; border: 0; border-bottom: 3px solid transparent; color: #7b7f77; background: transparent; font-size: .7rem; font-weight: 800; }
.auth-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); }
.auth-form { display: grid; gap: 15px; }
.auth-form label { color: #686c65; font: .58rem var(--mono); text-transform: uppercase; }
.auth-form input:not([type="checkbox"]) { width: 100%; height: 48px; margin-top: 7px; padding: 0 12px; border: 1px solid #c9c7bf; border-radius: 2px; color: var(--ink); background: #fbfaf5; outline: none; }
.auth-form input:not([type="checkbox"]):focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.auth-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-field { display: flex; align-items: center; gap: 9px; width: max-content; max-width: 100%; cursor: pointer; }
.check-field input { width: 16px; height: 16px; accent-color: var(--ink); }
.check-field span { color: #686c65; font: .62rem var(--sans); text-transform: none; }
.auth-message { margin: 0 0 16px; padding: 11px 12px; border-left: 3px solid #d14e35; color: #8d2f20; background: #f4ded6; font-size: .66rem; line-height: 1.45; }
.auth-switch { margin: 0; color: #777b73; font-size: .65rem; text-align: center; }
.auth-switch button { padding: 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; font-weight: 800; }
.auth-prototype-note { margin: 22px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #868a82; font: .52rem/1.55 var(--mono); }
.auth-form button[type="submit"][disabled] { cursor: wait; opacity: .65; transform: none; }
.dialog-card { position: relative; padding: 38px; color: var(--ink); background: var(--paper); }
.dialog-card h2 { margin-bottom: 32px; font-size: clamp(2.5rem, 7vw, 4.4rem); }
.dialog-close { position: absolute; right: 20px; top: 18px; border: 0; background: transparent; font-size: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { color: #686c65; font: .58rem var(--mono); text-transform: uppercase; }
.form-grid input { width: 100%; height: 45px; margin-top: 7px; padding: 0 12px; border: 1px solid #c9c7bf; border-radius: 2px; color: var(--ink); background: #fbfaf5; outline: none; }
.form-grid input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-grid input[type="file"] { height: auto; min-height: 45px; padding: 9px 10px; text-transform: none; }
.form-grid input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 0; border-radius: 2px; color: var(--ink); background: var(--acid); font: 600 .56rem var(--mono); cursor: pointer; }
.upload-field { grid-column: 1 / -1; }
.bid-field { grid-column: 1 / -1; }
.file-help { display: block; margin-top: 5px; color: #8a8e86; font-size: .5rem; text-transform: none; }
.ad-image-preview { display: block; width: 100%; max-height: 160px; margin-top: 9px; border: 1px solid #c9c7bf; background: #deded7; object-fit: contain; }
.ad-image-preview[hidden] { display: none; }
.checkout-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 0; background: #cac8bf; border: 1px solid #cac8bf; }
.checkout-summary div { padding: 14px; background: #e9e6dd; }
.checkout-summary span { display: block; color: #777b73; font: .5rem var(--mono); text-transform: uppercase; }
.checkout-summary strong { display: block; margin-top: 5px; }
.demo-notice { color: #777b73; font-size: .62rem; line-height: 1.5; }
.demo-notice.is-error { padding: 10px 12px; border-left: 3px solid #c62828; color: #8d1717; background: #fff0f0; font-weight: 700; }
.dialog-actions { display: grid; grid-template-columns: minmax(120px, .42fr) 1fr; gap: 10px; }
.button-secondary { border: 1px solid #b9b9b1; color: var(--ink); background: transparent; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 30px); padding: 12px 18px; border-radius: 3px; color: white; background: var(--ink); font-size: .7rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-cta { display: none; }
  .hero { align-items: start; flex-direction: column; }
  .hero-metrics { width: 100%; flex: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .board-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .selection-panel { display: none; }
  .canvas-viewport { overflow: auto; }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; padding: 0 18px; }
  .site-header .brand-logo { height: 52px; }
  .header-actions { gap: 8px; }
  .auth-guest { gap: 8px; }
  .auth-link { font-size: .6rem; }
  .button-outline { padding: 9px 10px; font-size: .58rem; }
  .auth-user { padding-left: 0; border-left: 0; }
  .user-avatar { width: 31px; height: 31px; }
  .user-copy small { display: none; }
  .user-copy strong { max-width: 64px; font-size: .61rem; }
  .auth-signout { font-size: .52rem; }
  .hero { min-height: 530px; padding: 62px 20px 45px; }
  h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .hero-intro, .hero-actions { margin-left: 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics div { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
  .highway-scene { min-height: 860px; padding: 22px 12px 0; }
  .sun-glow { top: 9px; right: 5%; width: 96px; height: 96px; box-shadow: 0 0 0 11px rgba(255,226,120,.2), 0 0 55px 20px rgba(255,229,132,.48); }
  .sun-glow::before { inset: -24px; }
  .cloud { height: 44px; }
  .cloud-one { width: 105px; left: 1%; top: 28px; }
  .cloud-two { width: 125px; right: 28%; top: 48px; }
  .cloud-three { width: 78px; left: 34%; top: 12px; }
  .cloud-four { width: 90px; right: -2%; top: 106px; }
  .bird-flight { top: 45px; transform: scale(.72); }
  .billboard-structure { width: 100%; }
  .billboard-topline { font-size: .43rem; }
  .billboard-shell { padding: 7px; }
  .board-layout { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .leaderboard-panel { display: none; }
  .canvas-toolbar { position: sticky; left: 0; }
  .mobile-leaderboard { flex: 0 0 80px; display: block; min-width: 0; border-bottom: 1px solid #d8d7d0; background: #f1f0ea; }
  .mobile-leaderboard-heading { height: 27px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; color: #747970; font: .43rem var(--mono); text-transform: uppercase; }
  .mobile-leaderboard-heading strong { color: var(--ink); font-size: .48rem; }
  #mobileLeaderboardList { display: flex; gap: 6px; margin: 0; padding: 0 10px 8px; overflow-x: auto; list-style: none; scrollbar-width: thin; }
  #mobileLeaderboardList li { flex: 0 0 142px; height: 45px; display: grid; grid-template-columns: 15px 27px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 6px; align-items: center; padding: 5px 7px; border: 1px solid #d6d5ce; border-radius: 2px; background: #fbfaf5; }
  #mobileLeaderboardList .rank { grid-row: 1 / -1; font-size: .43rem; }
  #mobileLeaderboardList .brand-avatar { grid-row: 1 / -1; width: 27px; height: 27px; font-size: .62rem; }
  #mobileLeaderboardList .brand-row-name { align-self: end; font-size: .54rem; }
  #mobileLeaderboardList .brand-row-name small { display: none; }
  #mobileLeaderboardList .brand-performance { align-self: start; display: flex; align-items: baseline; gap: 5px; min-width: 0; text-align: left; color: #777b73; }
  #mobileLeaderboardList .brand-performance strong, #mobileLeaderboardList .brand-performance small { display: inline; margin: 0; font-size: .4rem; font-weight: 500; }
  .canvas-viewport { flex: 0 0 auto; width: 100%; aspect-ratio: 400 / 250; overflow: auto; }
  .pixel-planner { overflow-x: auto; }
  .planner-hint { display: none; }
  .canvas-hint { left: 20px; transform: none; }
  .mobile-selection-bar:not([hidden]) { position: relative; z-index: 6; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; padding: 10px; color: white; background: #111411; border-top: 1px solid rgba(255,255,255,.16); }
  .mobile-selection-bar div { min-width: 0; }
  .mobile-selection-bar small { display: block; color: #90968d; font: .42rem var(--mono); }
  .mobile-selection-bar strong { display: block; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .68rem; }
  .mobile-selection-bar .button { padding: 11px 13px; font-size: .6rem; }
  .billboard-posts { height: 100px; }
  .billboard-posts i { width: 22px; }
  .road-back { bottom: 130px; }
  .median { bottom: 105px; }
  .road-front { height: 110px; }
  .how-section { padding: 76px 20px; }
  .section-intro { display: block; }
  .section-intro h2 { font-size: 3.3rem; }
  .steps { grid-template-columns: 1fr; }
  .step-visual { height: 170px; }
  footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  footer .brand-logo { height: 58px; }
  .form-grid { grid-template-columns: 1fr; }
  .dialog-card, .auth-card { padding: 28px 20px; max-height: 90vh; overflow: auto; }
  .auth-card h2 { font-size: 3.25rem; }
  .auth-password-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* White interactive theme */
:root {
  --paper: #ffffff;
  --paper-deep: #f3f6f0;
  --soft: #f6f8f4;
  --sky: #f2fbff;
  --muted: #697068;
  --line: rgba(17, 19, 15, .11);
  --shadow: 0 18px 50px rgba(24, 35, 25, .09);
}

body { background: #ffffff; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(22, 31, 22, .045);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand-logo { transition: transform .25s ease, filter .25s ease; }
.brand:hover .brand-logo { transform: translateY(-2px) scale(1.02); filter: drop-shadow(0 7px 10px rgba(95, 126, 0, .12)); }
.site-header nav a::after { bottom: -7px; height: 3px; border-radius: 99px; background: var(--acid-dark); }
.button { transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17, 19, 15, .13); }
.button:active { transform: translateY(0) scale(.985); box-shadow: none; }
.button:focus-visible, .auth-link:focus-visible, .text-link:focus-visible, .site-header nav a:focus-visible {
  outline: 3px solid rgba(166, 219, 0, .48);
  outline-offset: 4px;
}
.button-dark { box-shadow: 0 8px 20px rgba(17, 19, 15, .12); }
.button-acid { box-shadow: 0 8px 24px rgba(166, 219, 0, .18); }
.button-acid:hover { background: #d6ff5e; box-shadow: 0 12px 28px rgba(166, 219, 0, .28); }

.hero {
  --hero-spot-x: 82%;
  --hero-spot-y: 18%;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--hero-spot-x) var(--hero-spot-y), rgba(200, 255, 26, .22), transparent 24%),
    linear-gradient(90deg, rgba(17, 19, 15, .028) 1px, transparent 1px) 0 0 / 8vw 100%,
    #ffffff;
}
.hero::before {
  content: "";
  position: absolute;
  right: 8vw;
  top: 72px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(17, 19, 15, .1);
  background-image: linear-gradient(rgba(17, 19, 15, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 19, 15, .08) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: 28px 28px 0 rgba(200, 255, 26, .82);
  animation: heroPixels 6s ease-in-out infinite alternate;
}
.hero-copy, .hero-metrics { position: relative; z-index: 1; }
h1 em, h2 em { color: #6f9100; }
.hero-metrics { flex-basis: 230px; display: grid; gap: 10px; border-left: 0; }
.hero-metrics div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(24, 35, 25, .045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-metrics div:hover { transform: translateX(-6px); border-color: rgba(166, 219, 0, .65); box-shadow: var(--shadow); }

.highway-scene {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 19%),
    linear-gradient(to bottom, #59b8ea 0%, #8fd2f0 30%, #c9ebf6 54%, #dcefd7 63%, #4a533f 70%, #171a18 70%);
}
.highway-scene .cloud {
  --cloud-top: rgba(255, 255, 255, .98);
  --cloud-mid: rgba(241, 249, 253, .96);
  --cloud-base: rgba(217, 235, 244, .94);
  --cloud-shadow: rgba(51, 111, 143, .28);
}
.highway-scene .bird-flight { color: rgba(22, 60, 78, .82); }
.highway-scene[data-sky-mode="night"] {
  background:
    radial-gradient(circle at 88% 8%, rgba(190, 217, 255, .15) 0%, rgba(190, 217, 255, 0) 21%),
    linear-gradient(to bottom, #061126 0%, #102b4e 32%, #294966 54%, #263428 63%, #30382d 70%, #101412 70%);
}
.highway-scene[data-sky-mode="night"] .star-field { opacity: 1; }
.highway-scene[data-sky-mode="night"] .sun-glow {
  background: #fff3bd;
  box-shadow: 0 0 0 13px rgba(199, 220, 255, .09), 0 0 70px 28px rgba(198, 222, 255, .3);
  animation: moonFloat 5.5s ease-in-out infinite;
}
.highway-scene[data-sky-mode="night"] .sun-glow::before { opacity: 0; animation: none; }
.highway-scene[data-sky-mode="night"] .sun-glow::after {
  inset: 20% 17% 18% 22%;
  opacity: .24;
  background: #b9ad82;
  box-shadow: 35px 14px 0 -7px #b9ad82, 18px 45px 0 -10px #b9ad82, -7px 37px 0 -12px #b9ad82;
}
.highway-scene[data-sky-mode="night"] .cloud {
  --cloud-top: rgba(165, 189, 210, .42);
  --cloud-mid: rgba(122, 151, 178, .38);
  --cloud-base: rgba(78, 107, 139, .34);
  --cloud-shadow: rgba(0, 5, 18, .42);
  filter: drop-shadow(0 9px 12px rgba(0, 5, 18, .24));
}
.highway-scene[data-sky-mode="night"] .bird-flight { color: rgba(5, 13, 24, .72); }
.highway-scene[data-sky-mode="night"] .billboard-topline { color: rgba(236, 245, 255, .88); }
.highway-scene[data-sky-mode="night"] .sky-mode-toggle { border-color: rgba(222, 235, 255, .3); color: #8494ab; background: rgba(4, 14, 32, .5); }
.highway-scene[data-sky-mode="night"] .sky-mode-toggle::before { transform: translateX(100%); background: #e9f2ff; }
.highway-scene[data-sky-mode="night"] .sky-option-day { color: #8494ab; }
.highway-scene[data-sky-mode="night"] .sky-option-night { color: #152136; }
.billboard-topline { color: #5e675e; }
.billboard-shell {
  border-radius: 8px;
  box-shadow: 0 38px 80px rgba(21, 35, 26, .24), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: box-shadow .3s ease;
}
.billboard-shell:hover { box-shadow: 0 42px 95px rgba(21, 35, 26, .3), 0 0 0 5px rgba(200, 255, 26, .12), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.board-layout, .leaderboard-panel, .selection-panel, .canvas-column { background: #ffffff; }
#leaderboardList li { border-bottom-color: #e5e8e1; transition: background .18s ease, transform .18s ease; }
#leaderboardList li:hover { position: relative; z-index: 1; background: #f4fbe4; transform: translateX(3px); }
.mobile-leaderboard { background: #ffffff; }
#mobileLeaderboardList li { transition: border-color .18s ease, box-shadow .18s ease; }
#mobileLeaderboardList li:hover { border-color: rgba(166, 219, 0, .65); box-shadow: 0 8px 22px rgba(24, 35, 25, .08); }
.live-chip { padding: 5px 7px; border-color: #d8ddd3; border-radius: 99px; background: #fbfdf9; }
.live-chip i { box-shadow: 0 0 0 0 rgba(166, 219, 0, .5); animation: livePulse 1.8s ease-out infinite; }
.metric-chip strong { transition: color .2s ease, transform .2s ease; }
.metric-chip:hover strong { color: #6f9100; transform: translateY(-1px); }
.pixel-planner { border-bottom-color: #dfe3db; background: #f7f9f5; }
.selection-preview::after { animation: selectionGrid 3s linear infinite; }
.mobile-selection-bar:not([hidden]) { color: var(--ink); background: rgba(255, 255, 255, .96); border-top-color: #dfe3db; box-shadow: 0 -10px 30px rgba(24, 35, 25, .08); }
.mobile-selection-bar small { color: #747b73; }

.ticker { color: var(--ink); background: #f7faef; border-color: #dfe7cd; }
#tickerTrack b { color: #709400; }
.how-section { background: #ffffff; }
.steps { gap: 18px; border: 0; }
.steps article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(24, 35, 25, .045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.steps article:hover { transform: translateY(-8px); border-color: rgba(166, 219, 0, .58); box-shadow: var(--shadow); }
.steps article > span { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--acid); }
.step-visual { overflow: hidden; border-radius: 8px; background-color: #f1f4ee; transition: transform .3s ease; }
.steps article:hover .step-visual { transform: scale(1.025); }

footer { color: var(--ink); background: #ffffff; border-top: 1px solid var(--line); }
footer p { color: #6e756d; }
.auth-card, .dialog-card { background: #ffffff; box-shadow: 0 28px 90px rgba(0, 0, 0, .2); }

@keyframes heroPixels {
  from { transform: translate3d(0, 0, 0) rotate(-2deg); }
  to { transform: translate3d(10px, -8px, 0) rotate(2deg); }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(166, 219, 0, .52); }
  75%, 100% { box-shadow: 0 0 0 7px rgba(166, 219, 0, 0); }
}
@keyframes selectionGrid { to { background-position: 8px 8px; } }

@media (max-width: 720px) {
  .hero::before { right: -28px; top: 88px; width: 86px; height: 86px; background-size: 12px 12px; box-shadow: 18px 18px 0 rgba(200, 255, 26, .76); opacity: .72; }
  .hero-metrics div:hover { transform: none; }
}

@media (hover: none), (pointer: coarse) {
  .touch-pointer {
    position: absolute;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translate(-3px, -3px) scale(.86);
    transform-origin: 3px 3px;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
    will-change: left, top, transform;
  }
  .touch-pointer::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 28px;
    width: 2px;
    height: 22px;
    border-radius: 99px;
    background: rgba(17, 19, 15, .72);
  }
  .touch-pointer.is-visible { opacity: 1; transform: translate(-3px, -3px) scale(1); }
  .touch-pointer svg { width: 25px; height: 31px; overflow: visible; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .26)); }
  .touch-pointer path { fill: #ffffff; stroke: #11130f; stroke-width: 2.2; stroke-linejoin: round; }
  .touch-pointer span {
    padding: 5px 7px;
    border: 1px solid rgba(17, 19, 15, .18);
    border-radius: 99px;
    color: #11130f;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 14px rgba(17, 19, 15, .15);
    font: 500 .42rem var(--mono);
    white-space: nowrap;
  }
  .touch-pointer.is-link span { background: var(--acid); }
  .touch-pointer.is-bid span { color: #ffffff; background: #11130f; }
}

@media (max-width: 720px) {
  .vehicle-svg.car { width: 92px; height: 44px; }
  .vehicle-svg.truck { width: 126px; height: 49px; }
  .vehicle-svg.motorcycle { width: 76px; height: 49px; }
  .road-front .car-three, .road-front .car-five { top: 62px; }
  .road-front .truck-two { top: 56px; }
  .road-front .motorcycle-four { top: 67px; }
}
footer { flex-wrap: wrap; gap: 20px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 12px; line-height: 1.6; }
.legal-links a, .purchase-consent a { text-decoration: underline; text-underline-offset: 3px; }
.purchase-consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; font-size: 13px; line-height: 1.65; text-transform: none; }
.purchase-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; accent-color: #668600; }
.audience-panel { border-block: 1px solid var(--line); margin: 24px 0; padding: 20px 0; }
.audience-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.audience-controls label { display: grid; gap: 6px; }
.audience-controls select { padding: 10px; background: white; color: var(--ink); border: 1px solid var(--line); }
.audience-brand { padding-block: 12px 24px; border-bottom: 1px solid var(--line); }
.audience-brand h4 { font-size: 1.2rem; margin: 10px 0; overflow-wrap: anywhere; }
.audience-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.audience-kpis div { background: #f4f8eb; padding: 10px; border-radius: 6px; }
.audience-kpis span { display: block; font-size: 11px; }
.audience-kpis strong { font-size: clamp(16px, 4vw, 24px); }
.audience-panel summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.audience-table-wrap { overflow-x: auto; }
.audience-panel table { width: 100%; border-collapse: collapse; font-size: 12px; }
.audience-panel td, .audience-panel th { padding: 8px 5px; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.audience-panel td:first-child { max-width: 160px; }
#adminAnalyticsDialog { width: min(900px, calc(100% - 24px)); max-width: 900px; }
#adminAnalyticsOutput { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
#adminAnalyticsOutput > div { border: 1px solid #ddd; border-radius: 12px; padding: 18px; min-width: 0; }
#adminAnalyticsOutput span { display: block; color: #62665e; font-size: 13px; }
#adminAnalyticsOutput strong { display: block; font-size: clamp(18px, 4vw, 30px); margin-top: 8px; overflow-wrap: anywhere; }
.admin-range-control { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-range-control > span { color: var(--muted); font-size: 14px; }
.admin-date-button { display: grid; grid-template-columns: auto auto 14px; align-items: center; gap: 10px; min-height: 48px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.admin-date-button strong { font-size: 13px; white-space: nowrap; }
.admin-date-button > span { font-size: 13px; white-space: nowrap; }
.admin-date-button > span:last-child { color: var(--muted); }
.admin-refresh { min-height: 42px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.admin-date-picker { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: min(720px, 100%); display: grid; grid-template-columns: 180px minmax(0, 1fr); background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 55px rgba(0, 0, 0, .2); overflow: hidden; }
.admin-date-picker[hidden] { display: none; }
.admin-date-presets { padding: 10px 0; border-right: 1px solid var(--line); }
.admin-date-presets button { display: block; width: 100%; padding: 13px 18px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.admin-date-presets button:hover { background: #f4f5f1; }
.admin-date-presets button.active { background: #e9f1ff; color: #1264d7; font-weight: 700; box-shadow: inset 3px 0 #1264d7; }
.admin-calendar-pane { padding: 16px 18px; min-width: 0; }
.admin-range-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 18px; }
.admin-range-summary > div { min-width: 0; padding: 8px 10px; border: 1px solid #b9c8e6; border-radius: 4px; }
.admin-range-summary small { display: block; color: #1264d7; font-size: 10px; }
.admin-range-summary strong { display: block; margin-top: 3px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-calendars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-calendar-month > strong { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.admin-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(24px, 1fr)); row-gap: 3px; text-align: center; }
.admin-calendar-grid > span { display: grid; place-items: center; min-height: 28px; font-size: 11px; }
.admin-calendar-grid .weekday { color: var(--muted); font-weight: 700; }
.admin-calendar-grid .calendar-day.in-range { background: #e9f1ff; }
.admin-calendar-grid .calendar-day.range-start, .admin-calendar-grid .calendar-day.range-end { border-radius: 50%; background: #1264d7; color: white; font-weight: 800; }
.admin-calendar-grid .calendar-day.future { color: #b9bcb7; background: transparent; }
.admin-date-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.admin-date-actions button { padding: 8px 12px; border: 0; background: transparent; color: #1264d7; font-weight: 800; cursor: pointer; }
@media (max-width: 620px) {
  .admin-range-control { align-items: stretch; }
  .admin-range-control > span { width: 100%; }
  .admin-date-button { grid-template-columns: 1fr 14px; flex: 1; }
  .admin-date-button > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
  .admin-date-button > span:last-child { grid-column: 2; grid-row: 1; }
  .admin-date-picker { position: fixed; inset: max(16px, env(safe-area-inset-top)) 12px auto; width: auto; max-height: calc(100dvh - 32px); grid-template-columns: 132px minmax(0, 1fr); overflow: auto; }
  .admin-date-presets button { padding: 12px 10px; font-size: 12px; }
  .admin-calendars { grid-template-columns: 1fr; }
  .admin-calendar-month:first-child { display: none; }
  .admin-date-actions { position: sticky; bottom: 0; background: white; }
}
@media (max-width: 440px) { #adminAnalyticsOutput { grid-template-columns: 1fr; } .admin-range-summary { grid-template-columns: 1fr; } .admin-range-summary > span { display: none; } }
.admin-moderation { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-moderation h3 { margin: 0 0 8px; }
.moderation-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.moderation-row strong, .moderation-row small { display: block; overflow-wrap: anywhere; }
.moderation-row small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.moderation-row.is-hidden strong { color: #b42318; }
.moderation-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.moderation-actions input { width: 190px; max-width: 100%; padding: 8px; border: 1px solid var(--line); }
.moderation-actions button { padding: 8px 14px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
@media (max-width: 620px) { .moderation-row { grid-template-columns: minmax(0, 1fr); } .moderation-actions { justify-content: flex-start; } }
.admin-moderation h3:not(:first-child) { margin-top: 26px; }

/* LED billboard screen: the canvas fits the viewport at 1x on any screen shape. */
.canvas-viewport { container-type: size; display: flex; background: #0a1128; scrollbar-color: #3a4870 transparent; }
.canvas-viewport:not(.is-zoomed) { overflow: hidden; }
.canvas-stage { container-type: inline-size; width: min(100%, 160cqh); min-width: 0; margin: auto; background: #0d1530; box-shadow: 0 0 0 1px rgba(140, 170, 255, .14), 0 0 40px rgba(40, 70, 180, .18); }
.legend-empty { background: #0d1530; border-color: #2c3a63; }
.billboard-shell { border-width: 5px; border-color: #1a1e1a; }
.brand-placeholder { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5cqw; border: max(1px, .22cqw) dashed rgba(200, 255, 26, .85); border-radius: .4cqw; color: #c8ff1a; text-align: center; pointer-events: none; animation: placeholderPulse 2.4s ease-in-out infinite; }
.brand-placeholder[hidden] { display: none; }
.brand-placeholder strong { font: 800 2.2cqw/1 Manrope, sans-serif; letter-spacing: -.02em; }
.brand-placeholder span { color: rgba(200, 255, 26, .78); font: 500 1.05cqw/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
@keyframes placeholderPulse {
  0%, 100% { background: rgba(200, 255, 26, .05); box-shadow: 0 0 0 0 rgba(200, 255, 26, 0); }
  50% { background: rgba(200, 255, 26, .13); box-shadow: 0 0 2.4cqw .2cqw rgba(200, 255, 26, .26); }
}
.billboard-lamps { position: absolute; z-index: 4; top: -34px; left: 0; right: 0; height: 34px; pointer-events: none; }
.billboard-lamps i { position: absolute; top: 0; width: 44px; height: 34px; transform: translateX(-50%); }
.billboard-lamps i:nth-child(1) { left: 24%; }
.billboard-lamps i:nth-child(2) { left: 42%; }
.billboard-lamps i:nth-child(3) { left: 58%; }
.billboard-lamps i:nth-child(4) { left: 76%; }
.billboard-lamps i::before { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 26px; background: linear-gradient(90deg, #2c312c, #151815); transform: translateX(-50%); }
.billboard-lamps i::after { content: ''; position: absolute; left: 50%; top: 0; width: 40px; height: 10px; border-radius: 3px 3px 1px 1px; background: #1f231f; box-shadow: inset 0 -3px 0 #f4ffc9; transform: translateX(-50%); }
.billboard-lamps b { position: absolute; left: 50%; top: 10px; width: 220px; height: 190px; background: radial-gradient(ellipse at top, rgba(255, 249, 214, .3), rgba(255, 249, 214, 0) 70%); opacity: 0; transform: translateX(-50%); transition: opacity .6s ease; mix-blend-mode: screen; }
.highway-scene[data-sky-mode="night"] .billboard-lamps b { opacity: 1; }
@media (max-width: 900px) { .billboard-lamps { display: none; } }
@media (prefers-reduced-motion: reduce) { .brand-placeholder { animation: none; } }

/* Vehicle details: spinning wheels, and headlight beams / light glow at night. */
.road .vehicle-spokes { animation: wheelSpin .55s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wheelSpin { to { transform: rotate(-360deg); } }
.vehicle-beam { fill: rgba(255, 244, 190, .34); opacity: 0; filter: blur(3px); transition: opacity .6s ease; pointer-events: none; }
.highway-scene[data-sky-mode="night"] .vehicle-beam { opacity: 1; }
.highway-scene[data-sky-mode="night"] .vehicle-taillight { filter: drop-shadow(0 0 3px #ff3b30); }
.highway-scene[data-sky-mode="night"] .vehicle-headlight { filter: drop-shadow(0 0 3px #fff3b0); }
@media (prefers-reduced-motion: reduce) { .road .vehicle-spokes { animation: none; } }

/* Listing details in the bid form */
.form-grid select, .form-grid textarea, .listing-form select, .listing-form textarea, .listing-form input { width: 100%; margin-top: 7px; padding: 10px 12px; border: 1px solid #c9c7bf; border-radius: 2px; color: var(--ink); background: #fbfaf5; font: 500 .85rem Manrope, sans-serif; text-transform: none; outline: none; }
.form-grid select { height: 45px; padding: 0 10px; }
.form-grid textarea, .listing-form textarea { resize: vertical; min-height: 58px; }
.form-grid small { color: #8b8f86; text-transform: none; font-family: Manrope, sans-serif; }
.listing-about, .deal-fields { grid-column: 1 / -1; }
.deal-fields { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin: 0; padding: 12px 14px 14px; border: 1.5px dashed #ff6a4d; border-radius: 6px; background: #fff7f3; }
.deal-fields legend { padding: 0 6px; color: #b3391f; font: 700 .62rem var(--mono); text-transform: uppercase; }
@media (max-width: 620px) { .deal-fields { grid-template-columns: 1fr; } }

/* Discovery */
.brand-of-week-card { display: flex; align-items: center; gap: 18px; width: 100%; margin: 26px 0 8px; padding: 16px 20px; border: 1px solid #ffc6d6; border-radius: 14px; background: linear-gradient(120deg, #fff0f5, #ffffff 70%); color: var(--ink); text-align: left; cursor: pointer; }
.brand-of-week-card img { width: 86px; height: 64px; object-fit: cover; border-radius: 8px; background: #0d1530; }
.brand-of-week-card small { display: block; color: #c0114a; font: 700 .62rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.brand-of-week-card strong { display: block; margin: 4px 0; font-size: 1.3rem; }
.brand-of-week-card span span { color: var(--muted); font-size: .8rem; }
.deals-today { margin-top: 26px; }
.deals-today h3 { margin: 0 0 12px; }
.discover-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.discover-tools input[type="search"] { flex: 1 1 240px; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #cfd4c8; border-radius: 8px; background: #fff; font: 500 .9rem Manrope, sans-serif; }
.discover-tools select { height: 44px; padding: 0 10px; border: 1px solid #cfd4c8; border-radius: 8px; background: #fff; font: 600 .85rem Manrope, sans-serif; }
.discover-deals { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; height: 44px; border: 1px solid #ffc0b0; border-radius: 8px; background: #fff7f3; font-weight: 700; font-size: .85rem; cursor: pointer; }
.discover-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.discover-categories button { padding: 7px 12px; border: 1px solid #d5d9ce; border-radius: 99px; background: #fff; color: var(--ink); font: 600 .78rem Manrope, sans-serif; cursor: pointer; }
.discover-categories button[aria-pressed="true"] { border-color: var(--ink); color: #fff; background: var(--ink); }
.discover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.discover-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border: 1px solid #dce2d4; border-radius: 12px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.discover-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 19, 15, .1); }
.discover-thumb { position: relative; display: grid; place-items: center; width: 84px; height: 64px; overflow: hidden; border-radius: 8px; background: #0d1530; }
.discover-thumb img { width: 100%; height: 100%; object-fit: cover; }
.discover-deal-tag { position: absolute; top: 4px; right: 4px; padding: 2px 5px; border-radius: 3px; color: #fff; background: #ff4f36; font: 800 .55rem Manrope, sans-serif; }
.discover-body { display: grid; gap: 4px; min-width: 0; }
.discover-body small { color: var(--muted); font: 600 .6rem var(--mono); text-transform: uppercase; }
.discover-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.discover-body .founder-badge { font-size: .5rem; }
.discover-offer { color: #c2361b; font-style: normal; font-weight: 700; font-size: .78rem; overflow-wrap: anywhere; }
.discover-stats { color: var(--muted); font-size: .72rem; }
.discover-empty { color: var(--muted); }

/* Brand card */
.brand-dialog .auth-card { padding-top: 30px; }
.brand-dialog-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; padding-right: 30px; }
.brand-dialog-head img { width: 120px; height: 96px; object-fit: contain; border-radius: 10px; background: #0d1530; }
.brand-dialog-head h2 { margin: 2px 0 6px; font-size: clamp(1.6rem, 5vw, 2.3rem); overflow-wrap: anywhere; }
.brand-dialog-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.week-badge { color: #c0114a; background: #ffe6ee; border-color: #ffc6d6; }
.brand-dialog-about { margin: 16px 0 0; color: #3b3f39; line-height: 1.55; overflow-wrap: anywhere; }
.brand-dialog-deal { margin-top: 16px; padding: 14px; border: 2px dashed #ff5a36; border-radius: 10px; background: #fff4ef; }
.brand-dialog-deal strong { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.brand-dialog-deal small { display: block; margin-top: 8px; color: var(--muted); font-size: .72rem; }
.brand-dialog-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.brand-dialog-code code { padding: 7px 11px; border-radius: 6px; color: var(--acid); background: var(--ink); font: 700 .95rem var(--mono); letter-spacing: .08em; }
.brand-dialog-code button, .brand-dialog-links button { padding: 7px 11px; border: 1px solid var(--ink); border-radius: 6px; background: #fff; font: 700 .8rem Manrope, sans-serif; cursor: pointer; }
.brand-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.brand-dialog-like, .brand-dialog-share { padding: 12px 16px; border: 1px solid #d5d9ce; border-radius: 6px; background: #fff; color: var(--ink); font: 800 .9rem Manrope, sans-serif; cursor: pointer; }
.brand-dialog-like[aria-pressed="true"] { color: #d0104c; border-color: #ffc2d4; background: #fff0f5; }
.brand-dialog-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.brand-dialog-links[hidden] { display: none; }
.brand-dialog-links a { padding: 7px 11px; border-radius: 6px; background: #eef1ea; color: var(--ink); font-weight: 700; font-size: .8rem; text-decoration: none; }
#brandDialogPage { display: inline-block; margin-top: 16px; }
@media (max-width: 540px) { .brand-dialog-head { grid-template-columns: 84px minmax(0, 1fr); } .brand-dialog-head img { width: 84px; height: 68px; } }

/* My ads: listing tools and share my spot */
.listing-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.listing-form { display: grid; gap: 10px; margin: 8px 0 14px; padding: 14px; border: 1px solid #dce2d4; border-radius: 10px; background: #fafbf7; }
.listing-form[hidden] { display: none; }
.listing-form label { color: #686c65; font: .58rem var(--mono); text-transform: uppercase; }
.share-spot-dialog { width: min(620px, calc(100% - 30px)); }
#shareSpotImage { display: block; width: 100%; margin-top: 18px; border-radius: 10px; }

/* The LED screen keeps the 400x250 pixel ratio and fills its frame edge to edge.
   The billboard's height follows the screen; on short windows the whole
   billboard narrows so it still fits, instead of leaving empty bands. */
@media (min-width: 721px) {
  .board-layout { height: auto; min-height: 0; }
  .canvas-viewport { flex: 0 0 auto; width: 100%; aspect-ratio: 400 / 250; }
  .leaderboard-panel, .selection-panel { contain: size; overflow-y: auto; }
  .billboard-structure { width: min(1580px, 100%, max(760px, calc((100svh - 350px) * 1.6 + 380px))); }
}

/* Touch pointer: its label moves to the left near the right edge of the billboard. */
@media (hover: none), (pointer: coarse) {
  .touch-pointer.is-flipped { flex-direction: row-reverse; transform: translate(calc(-100% + 22px), -3px) scale(.86); transform-origin: calc(100% - 22px) 3px; }
  .touch-pointer.is-flipped.is-visible { transform: translate(calc(-100% + 22px), -3px) scale(1); }
  .touch-pointer.is-flipped::after { left: auto; right: 15px; }
}

/* Share rewards, deals channel and weekly deals post */
.share-progress { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #f2fbdb; color: #3f4a1f; font-size: .78rem; }
.deals-channel { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 99px; color: #fff; background: #229ed9; font-weight: 800; font-size: .85rem; text-decoration: none; }
.deals-channel[hidden] { display: none; }
.deals-post-tools { display: flex; gap: 8px; margin: 10px 0; }
.deals-post-tools select, .deals-post-tools button { padding: 8px 12px; border: 1px solid var(--ink); background: #fff; font: 700 .8rem Manrope, sans-serif; cursor: pointer; }
.deals-post { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf7; font: 500 .8rem "DM Mono", monospace; line-height: 1.5; resize: vertical; }

/* Advertiser analytics: daily clicks chart */
.audience-daily { margin: 4px 0 18px; padding: 14px; border: 1px solid #e3e6dc; border-radius: 10px; background: #fff; }
.audience-daily-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.audience-daily-head strong { font-size: .95rem; }
.audience-daily-head small { color: var(--muted); font: .6rem var(--mono); text-transform: uppercase; }
.audience-bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; border-bottom: 2px solid #e6e3da; }
.audience-bars span { flex: 1 1 0; min-width: 2px; border-radius: 3px 3px 0 0; background: #b8f400; }
.audience-bars span.is-today { background: #1650e0; }
.audience-daily-axis { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font: .58rem var(--mono); }
