:root {
  /* "On the road": colors pulled from the motorcycle photo */
  --ink: #1b140e;        /* asphalt / dark leather */
  --deep: #2b2118;       /* tiles, sheets */
  --sky: #9cc7dc;        /* dusty desert sky */
  --cream: #f3e6cf;      /* sand */
  --cream-dim: rgba(243, 230, 207, .7);
  --line: rgba(243, 230, 207, .16);
  --sun: #f4c84a;        /* yellow shirt: buttons, road stripe */
  --pumpkin: #f0883e;    /* orange shirt: likes, accents */
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--cream);
  font: 16px/1.45 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button { font: inherit; color: inherit; cursor: pointer; }

/* Full-width header photo that fades into the page; content overlaps its bottom */
.hero {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0;
  height: var(--hero-h); overflow: hidden;
  --hero-h: max(78vw, 300px);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(27,20,14,.35) 0%, transparent 18%),
    linear-gradient(to bottom, transparent 45%, rgba(27,20,14,.7) 75%, var(--ink) 100%);
}
@media (min-width: 760px) {
  .hero { --hero-h: min(56.25vw, 82vh); }
}

.layout {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto; padding: 0 16px 120px;
  padding-top: calc(max(78vw, 300px) - 64px);
}
@media (min-width: 760px) {
  .layout {
    padding: calc(min(56.25vw, 82vh) * .72) 32px 120px;
    display: grid; grid-template-columns: 190px 1fr; gap: 40px; align-items: start;
  }
}

.band {
  font-family: "Archivo Black", Inter, sans-serif; font-weight: 400;
  text-transform: uppercase; font-size: 18px; letter-spacing: .02em; margin: 0 0 10px;
}
.links { display: flex; }
.links:empty { display: none; }
.links a {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none; font-weight: 600;
}
.links svg { flex-shrink: 0; }

/* Phones: a row of round icon buttons under the poster */
@media (max-width: 759px) {
  .side { margin-bottom: 18px; }
  .band { font-size: 15px; letter-spacing: .12em; color: var(--sky); margin-bottom: 12px; }
  .links { justify-content: space-between; max-width: 380px; gap: 6px; }
  .links a {
    width: 42px; height: 42px; justify-content: center; border-radius: 50%;
    background: rgba(243,230,207,.08); border: 1px solid var(--line);
  }
  .links a:active { background: rgba(243,230,207,.2); }
  .links span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Desktop: icon + label list in the sidebar, like the drop page */
@media (min-width: 760px) {
  .side { position: sticky; top: 24px; padding-top: 6px; }
  .links { flex-direction: column; gap: 2px; }
  .links a { padding: 7px 0; color: var(--cream-dim); font-size: 14px; }
  .links a:hover { color: var(--cream); }
}

.eyebrow {
  margin: 0 0 6px; text-transform: uppercase; letter-spacing: .18em;
  font-size: 12px; font-weight: 800; color: var(--pumpkin);
}
h1 {
  font-family: "Archivo Black", Inter, sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(24px, 5.4vw, 40px); line-height: 1.02; margin: 0 0 4px;
  text-wrap: balance; text-shadow: 0 2px 18px rgba(27,20,14,.6);
}

.shows {
  display: flex; gap: 8px; overflow-x: auto; margin: 18px -16px 0; padding: 0 16px 2px;
  scrollbar-width: none;
}
.shows::-webkit-scrollbar { display: none; }
.shows[hidden] { display: none; }
@media (min-width: 700px) { .shows { margin: 20px 0 0; padding: 0; flex-wrap: wrap; } }
.show-chip {
  flex-shrink: 0; background: none; border: 1px solid var(--line); border-radius: 12px;
  padding: 7px 12px; text-align: left; line-height: 1.2;
}
.show-chip strong { display: block; font-size: 13px; }
.show-chip small { font-size: 11px; color: var(--cream-dim); }
.show-chip[aria-selected="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.show-chip[aria-selected="true"] small { color: var(--deep); }
.sheet-show { margin: 2px 0 0; font-size: 13px; color: var(--pumpkin); font-weight: 600; }
.who .lb-show { font-size: 12px; color: var(--sky); }

.demo-note {
  margin-top: 16px; padding: 10px 12px; border-radius: 10px; font-size: 13px;
  background: rgba(240,136,62,.12); border: 1px solid rgba(240,136,62,.4); color: #ffd9b8;
}
.demo-note code { font-size: 12px; }

.tabs {
  display: flex; align-items: center; gap: 6px; margin: 22px 0 16px; padding-bottom: 3px;
  /* dashed yellow center line, like the road */
  background: repeating-linear-gradient(90deg, var(--sun) 0 22px, transparent 22px 40px) left bottom / 100% 3px no-repeat;
}
.tab {
  background: none; border: 0; padding: 10px 12px; font-weight: 800; font-size: 14px;
  color: var(--cream-dim); border-bottom: 2px solid transparent; margin-bottom: -1px;
  text-transform: uppercase; letter-spacing: .08em;
}
.tab[aria-selected="true"] { color: var(--sun); border-bottom-color: transparent; }
.count { margin-left: auto; font-size: 13px; color: var(--cream-dim); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
.tile {
  position: relative; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden;
  background: var(--deep); border-radius: 6px;
}
@media (min-width: 700px) { .tile { border-radius: 10px; } }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; pointer-events: none; }
.tile:hover img { transform: scale(1.04); }
.tile .badge {
  position: absolute; left: 6px; top: 6px; font-size: 12px; font-weight: 800;
  background: rgba(27,20,14,.7); padding: 2px 7px; border-radius: 99px;
}
.tile .badge.liked { color: var(--pumpkin); }
.tile .play {
  position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(27,20,14,.7);
}
.tile.new { outline: 2px solid var(--pumpkin); outline-offset: -2px; }

.empty { text-align: center; padding: 40px 0 20px; }
.empty p { margin: 0; font-weight: 800; font-size: 18px; }
.empty .sub { font-weight: 400; font-size: 14px; color: var(--cream-dim); margin-top: 4px; }
.more {
  display: block; margin: 20px auto 0; background: none; border: 1px solid var(--line);
  padding: 10px 20px; border-radius: 99px; font-weight: 600;
}
.more[hidden] { display: none; }

.fab {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 10;
  display: flex; align-items: center; gap: 8px;
  background: var(--sun); color: var(--ink); border: 0;
  padding: 14px 24px; border-radius: 99px; font-weight: 800; font-size: 16px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 4px rgba(244,200,74,.22);
}
.fab:active { transform: translateX(-50%) scale(.97); }

/* Sheet */
.sheet-wrap {
  position: fixed; inset: 0; z-index: 20; background: rgba(15,11,7,.7);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-wrap[hidden], .lightbox[hidden], .toast[hidden] { display: none; }
.sheet {
  width: 100%; max-width: 520px; max-height: 92vh; overflow: auto;
  background: var(--deep); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
}
@media (min-width: 600px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 22px; border-bottom: 1px solid var(--line); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet h2 { margin: 0; font-family: "Archivo Black", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 22px; }
.x { background: none; border: 0; font-size: 30px; line-height: 1; padding: 0 6px; color: var(--cream-dim); }
.previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.previews .pv { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--ink); }
.previews img, .previews video { width: 100%; height: 100%; object-fit: cover; }
.previews .rm {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(27,20,14,.85); font-size: 15px; line-height: 22px; padding: 0;
}
.previews .pv.done::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27,20,14,.55); font-size: 26px; font-weight: 800; }
.previews .pv.fail::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(120,20,20,.6); font-size: 26px; font-weight: 800; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field em { font-style: normal; color: var(--cream-dim); font-weight: 400; }
.field input {
  width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--ink); color: var(--cream); font: inherit; font-size: 16px;
}
.field input:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.fine { font-size: 12px; color: var(--cream-dim); margin: 4px 0 12px; }
.progress { height: 6px; background: var(--ink); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.bar { height: 100%; width: 0; background: var(--cream); transition: width .2s; }
.status { min-height: 1.2em; font-size: 13px; margin: 0 0 10px; color: var(--cream-dim); }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions button { flex: 1; padding: 13px; border-radius: 99px; font-weight: 800; }
.ghost { background: none; border: 1px solid var(--line); }
.primary { background: var(--sun); color: var(--ink); border: 0; }
.primary:disabled { opacity: .5; cursor: default; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 30; background: rgba(15,11,7,.95);
  display: flex; align-items: center; justify-content: center;
}
.lightbox figure { margin: 0; max-width: min(92vw, 1000px); display: flex; flex-direction: column; align-items: center; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 76vh; border-radius: 10px; display: block; background: #000; }
.lightbox [hidden] { display: none; }
.lightbox figcaption {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap;
  padding: 12px 2px 0; font-size: 14px;
}
.who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 140px; }
.who span { color: var(--cream-dim); overflow-wrap: anywhere; }
.lb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.like, .dl {
  background: none; border: 1px solid var(--line); color: var(--cream); text-decoration: none;
  padding: 8px 14px; border-radius: 99px; font-weight: 800; font-size: 14px;
}
.like.liked { border-color: var(--pumpkin); color: var(--pumpkin); }
.report {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid transparent; color: var(--cream-dim);
  padding: 8px 10px; border-radius: 99px; font-weight: 600; font-size: 13px;
}
.report:hover { color: var(--cream); }
.report.armed { border-color: #e05a4a; color: #ff8b7d; }
.report:disabled { opacity: .55; cursor: default; }
@media (max-width: 420px) { .report span { display: none; } .report.armed span { display: inline; } }
.like.pop .heart { display: inline-block; animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.5); } }
.lb-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; font-size: 38px; }
.nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(27,20,14,.6); border: 1px solid var(--line); border-radius: 50%;
  width: 44px; height: 44px; font-size: 26px; line-height: 1;
}
.prev { left: 12px; } .next { right: 12px; }
@media (max-width: 600px) { .nav { display: none; } }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 40;
  bottom: calc(86px + env(safe-area-inset-bottom));
  background: var(--cream); color: var(--ink); font-weight: 800; font-size: 14px;
  padding: 10px 18px; border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,.4);
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
