/* ==========================================================================
   ZINE SONIC ARCHIVE — styles
   ========================================================================== */

:root {
  --bg-parchment: #ddcfb4;
  --border-taupe: #8d7d63;
  --surface-white: #ffffff;
  --ink-black: #000000;
  --ink-muted: #4a453b;
  --accent-glass: linear-gradient(180deg, #6da8e0 0%, #3a75b8 50%, #2a5a96 51%, #5390d0 100%);
  --accent-metal: linear-gradient(180deg, #e8e8e8 0%, #cfcfcf 49%, #bebebe 51%, #d8d8d8 100%);
  --col-1-w: 24%;
  --col-2-w: 38%;
  --col-3-w: 38%;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* derived */
  --paper-2: #e9dfca;
  --paper-3: #f4eddd;
  --taupe-dark: #5f533f;
  --taupe-deep: #3b3226;
  --sky-bar: #cfe3ec;
  --sky-ink: #3d7f9d;
  --link: #a8452c;
  --frame-bg: #2a1c0f;
  --cream: #f3ead6;
  --zine-peach: #f8c39a;
  --zine-blue: #1b63b2;

  /* per-band (set by JS) */
  --z-paper: #e9dcc4;
  --z-ink: #3b1f2b;
  --z-accent: #d65b8f;

  --topbar-h: 60px;
  --player-h: 78px;
  --font-ui: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  --font-display: "Questrial", "Century Gothic", "Avant Garde", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-cut: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-hand: "Permanent Marker", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 12px/1.55 var(--font-ui);
  color: var(--ink-muted);
  background-color: var(--frame-bg);
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.07) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.07) 0 1px, transparent 1px 6px);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #3a75b8; outline-offset: 2px; }

/* ---------- Frame ---------- */
.frame {
  height: 100vh;
  height: 100dvh;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: var(--topbar-h) 1fr var(--player-h);
  background: var(--bg-parchment);
  border-left: 10px solid var(--border-taupe);
  border-right: 10px solid var(--border-taupe);
  box-shadow: 0 0 0 1px #000, 0 0 60px rgba(0,0,0,.45);
  position: relative;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.2)),
    #1f140a;
  border-bottom: 4px solid var(--ink-black);
  color: #e8dcc4;
  position: relative;
  z-index: 3;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.logo-dots {
  width: 44px; height: 30px; flex: none;
  background:
    radial-gradient(circle at 10px 15px, transparent 6px, rgba(207,227,236,.55) 6px 7px, transparent 7px),
    radial-gradient(circle at 24px 12px, transparent 8px, rgba(207,227,236,.35) 8px 9px, transparent 9px),
    radial-gradient(circle at 36px 18px, transparent 4px, rgba(207,227,236,.45) 4px 5px, transparent 5px);
}
.logo-word { font: italic 22px/1 Georgia, "Times New Roman", serif; letter-spacing: .5px; }
.logo-word em { font-style: italic; color: var(--zine-peach); }

.tabs { display: flex; gap: 4px; margin-left: auto; align-self: flex-end; }
.tabs a, .tab-btn {
  display: block;
  padding: 6px 18px 5px;
  font: italic 15px/1 Georgia, "Times New Roman", serif; /* same as the logo */
  letter-spacing: .3px;
  color: #222;
  text-decoration: none;
  background: var(--accent-metal);
  border: 1px solid #000;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 1px 0 #fff;
  transform: translateY(4px);
  transition: transform .2s var(--ease), background .2s;
}
.tabs a:hover, .tab-btn:hover { transform: translateY(1px); }
.tabs a.active {
  background: var(--bg-parchment);
  transform: translateY(4px);
  padding-bottom: 10px;
  margin-bottom: -4px;
  box-shadow: none;
}
.topbar-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
  margin-left: 18px; padding-left: 16px;
  border-left: 1px solid rgba(169,150,119,.25);
  font: 11px var(--font-mono); color: #a99677; min-width: 90px; text-align: right;
}
/* quiet, separate from the Discover / About tabs */
.welcome-link {
  padding: 0; border: 0; background: none;
  font: 10px var(--font-mono);
  letter-spacing: .5px;
  color: #8f7c60;
  text-decoration: underline dotted rgba(169,150,119,.6);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .2s;
}
.welcome-link:hover, .welcome-link:focus-visible { color: var(--cream); }
/* clock: warm glowing digits with a blinking colon */
.meta-clock {
  /* same italic serif as the "zinesonicarchive" logo */
  font: italic 22px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .5px;
  color: var(--zine-peach);
  display: inline-block;
}
.meta-clock .colon { animation: clock-blink 1s steps(1) infinite; }
@keyframes clock-blink { 50% { opacity: .15; } }

/* ---------- Views ---------- */
.views { position: relative; overflow: hidden; min-height: 0; }
.view {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.view.active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}

/* ---------- 3-column grid ---------- */
.grid3 {
  display: grid;
  grid-template-columns: var(--col-1-w) var(--col-2-w) var(--col-3-w);
  min-height: 0;
}
.col {
  min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  border-right: 6px solid var(--border-taupe);
  position: relative;
}
.col:last-child { border-right: 0; }
.col-1 { background: var(--paper-2); }
.col-2 { background: var(--bg-parchment); }
.col-3 { background: var(--paper-3); }

.col-head {
  flex: none;
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 14px 9px;
  border-bottom: 1px solid var(--ink-black);
  background-color: #cbbb9c;
}
.halftone {
  background-image:
    radial-gradient(circle, rgba(0,0,0,.18) 1px, transparent 1.3px),
    linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,0));
  background-size: 5px 5px, 100% 100%;
}
.col-head h2 {
  margin: 0;
  font: 400 15px/1 var(--font-display);
  text-transform: lowercase;
  letter-spacing: .5px;
  color: var(--ink-black);
}
.col-num { font: 700 10px var(--font-mono); color: var(--taupe-dark); }
.col-head-right { margin-left: auto; font: 10px var(--font-mono); color: var(--taupe-dark); }

/* ---------- Column 1: index ---------- */
.col-tools { flex: none; padding: 10px 12px 8px; border-bottom: 1px solid rgba(0,0,0,.25); display: grid; gap: 7px; }
.row-tools { display: flex; gap: 6px; }
.field {
  width: 100%;
  font: 11px var(--font-ui);
  color: var(--ink-black);
  background: var(--surface-white);
  border: 1px solid #7a6c55;
  border-radius: 2px;
  padding: 5px 7px;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.15);
}
.select { flex: 1; padding: 4px 5px; color: var(--sky-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  font: 10px/1 var(--font-mono);
  text-transform: lowercase;
  padding: 4px 7px;
  border: 1px solid #000;
  border-radius: 10px;
  background: var(--accent-metal);
  box-shadow: inset 0 1px 0 #fff;
  color: #222;
  transition: transform .15s var(--ease);
}
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--accent-glass); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); }

.band-list {
  list-style: none; margin: 0; padding: 0;
  flex: 1; overflow-y: auto;
  counter-reset: none;
}
.band-list li { border-bottom: 1px solid rgba(141,125,99,.45); }
.band-btn {
  width: 100%;
  display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; align-items: baseline;
  padding: 7px 12px;
  background: none; border: 0; text-align: left;
  color: var(--ink-muted);
  transition: background .15s, padding .25s var(--ease);
}
.band-btn:hover { background: rgba(255,255,255,.45); padding-left: 15px; }
.band-btn .n { font: 10px var(--font-mono); color: #9a8a6e; }
.band-btn .nm { font-size: 12px; color: #3b352b; }
.band-btn .yr { font: 10px var(--font-mono); color: var(--sky-ink); }
.band-btn .zn { grid-column: 2 / 4; font-size: 10px; color: #8a7c63; margin-top: -2px; }
.band-btn[aria-current="true"] { background: var(--sky-bar); }
.band-btn[aria-current="true"] .nm { color: var(--ink-black); }
.band-btn[aria-current="true"] .n::before { content: "▶"; color: var(--sky-ink); font-size: 8px; }
.band-btn[aria-current="true"] .n span { display: none; }
.band-list .genre-head {
  display: flex; justify-content: space-between;
  padding: 3px 12px;
  font: 10px var(--font-mono);
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-black);
  background: var(--accent-metal);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.band-list .genre-head span:last-child { color: var(--taupe-dark); }
.band-list .empty { padding: 20px 12px; color: #8a7c63; font-style: italic; }

.col-foot {
  flex: none;
  padding: 6px 12px;
  font: 10px var(--font-mono);
  color: var(--taupe-dark);
  border-top: 1px solid #000;
  background: #d6c8aa;
}

/* ---------- Column 2: zine scan ---------- */
.zine-stage {
  flex: 1; min-height: 0;
  container-type: size;
  display: grid; place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.35), transparent 40%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, transparent 1px 3px),
    var(--bg-parchment);
}
.zine {
  --tilt: -1.2deg;
  position: relative;
  height: min(100%, 560px);
  aspect-ratio: 0.71;
  max-width: 100%;
  background: var(--z-paper);
  border: 1px solid #000;
  box-shadow: 6px 8px 0 rgba(59,50,38,.35), 0 18px 30px rgba(0,0,0,.25);
  transform: rotate(var(--tilt));
  overflow: hidden;
  transition: transform .5s var(--ease), background .5s;
}
.zine:hover { transform: rotate(0deg) scale(1.01); }
.zine.swap { animation: zine-in .55s var(--ease); }
@keyframes zine-in {
  from { opacity: 0; transform: rotate(-4deg) translateY(16px); }
  to { opacity: 1; transform: rotate(var(--tilt)); }
}
/* sepia photo with bokeh */
.zine-photo {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--z-accent) 70%, #fff) 0 9%, transparent 22%),
    radial-gradient(circle at 25% 64%, rgba(255,255,255,.55) 0 6%, transparent 14%),
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.45) 0 5%, transparent 12%),
    radial-gradient(circle at 85% 72%, rgba(255,255,255,.35) 0 7%, transparent 15%),
    radial-gradient(circle at 55% 85%, color-mix(in srgb, var(--z-accent) 40%, transparent) 0 8%, transparent 18%),
    radial-gradient(ellipse at 68% 32%, color-mix(in srgb, var(--z-accent) 45%, var(--z-paper)) 0%, color-mix(in srgb, var(--z-accent) 55%, var(--z-ink)) 55%, color-mix(in srgb, var(--z-ink) 90%, #000) 100%);
  filter: blur(2px) sepia(.3) saturate(1.15);
  transform: scale(1.06);
}
.zine-photo::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px);
}
.zine-grid {
  position: absolute; top: 4%; right: 5%; width: 55%; height: 52%;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
}
.zine-dots {
  position: absolute; right: 0; bottom: 18%; width: 46%; height: 46%;
  background-image: radial-gradient(circle, rgba(255,255,255,.9) 38%, transparent 42%);
  background-size: 9px 9px;
  mask-image: radial-gradient(ellipse at 100% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 60%, #000 10%, transparent 70%);
  mix-blend-mode: screen;
}
.zine-masthead {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7% 7% 0;
  font: 400 clamp(11px, 1.2vw, 15px)/1 var(--font-display);
  color: #fff;
  text-transform: lowercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.zine-plate {
  position: absolute; left: 0; top: 40%;
  width: 70%;
  padding: 4% 6% 4% 12%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.08)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 3px),
    #a9a5a0;
  border: 1px solid rgba(0,0,0,.6);
  border-left: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.6);
}
.zine-plate h3 {
  margin: 0;
  font: 400 clamp(22px, 3.2vw, 46px)/.92 var(--font-display);
  letter-spacing: -1px;
  text-transform: lowercase;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.55);
  overflow-wrap: anywhere;
}
.zine-plate p { margin: 6px 0 0; font: 400 clamp(10px, 1vw, 13px)/1.2 var(--font-display); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); text-transform: lowercase; }
.zine-plate.dark {
  top: auto; bottom: 10%; left: auto; right: 0;
  width: 66%;
  padding: 4% 6% 4% 14%;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.25)), color-mix(in srgb, var(--z-ink) 85%, #000);
  border: 1px solid #000; border-right: 0;
  text-align: right;
}
.zine-plate.dark p { font-size: clamp(13px, 1.6vw, 22px); }
.zine-plate.dark .zine-year { font: 700 clamp(10px, 1vw, 13px) var(--font-mono); color: var(--z-accent); text-shadow: none; }
.zine-strap {
  position: absolute; left: 7%; right: 7%; bottom: 3%;
  margin: 0;
  display: flex; justify-content: space-between;
  font: 400 clamp(9px, .9vw, 11px) var(--font-display);
  color: rgba(255,255,255,.85);
  letter-spacing: 1px;
}
/* screws */
.screw {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3e9d6, #9a8a6e 55%, #4b3f2e);
  box-shadow: 0 1px 2px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.4);
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: rgba(0,0,0,.55); transform: rotate(35deg); }
.screw.tl { left: 6px; top: 8px; }
.screw.bl { left: 6px; bottom: 8px; }

/* ---------- Column 3: details ---------- */
.detail { flex: 1; overflow-y: auto; padding: 14px 16px 20px; }
.detail-name {
  margin: 0 0 10px;
  font: 400 26px/1.05 var(--font-display);
  letter-spacing: -.5px;
  color: var(--ink-black);
  text-transform: lowercase;
}
.meta {
  display: grid; grid-template-columns: 70px 1fr;
  margin: 0 0 14px;
  border-top: 1px solid #000;
}
.meta dt, .meta dd { margin: 0; padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,.18); }
.meta dt { font: 10px/1.8 var(--font-mono); color: #8a7c63; text-transform: uppercase; }
.meta dd { color: #3b352b; }

.date-bar {
  margin: 14px 0 6px;
  padding: 2px 6px;
  background: var(--sky-bar);
  color: var(--sky-ink);
  font-size: 11px;
}
.note { margin: 0; color: #4a453b; font-size: 12px; }
.excerpt {
  margin: 12px 0 0;
  padding: 10px 12px 9px 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.18);
  border-left: 4px solid var(--ex-ink, #111);
  box-shadow: 3px 3px 0 rgba(59,50,38,.15);
}
.excerpt-text { font: 12px/1.5 var(--font-type); color: #1d1a16; }
.excerpt-text span { display: block; }
.excerpt-who { margin-top: 6px; font-weight: bold; color: var(--ex-ink, #111); }
.excerpt-src { margin-top: 8px; font: 10px var(--font-mono); color: #8a7c63; }
.note.empty::before { content: none; }
.note-src { display: block; margin-top: 8px; font: 10px var(--font-mono); color: #8a7c63; }
.note::before { content: "“"; font: 28px/0 Georgia, serif; color: var(--z-accent); vertical-align: -10px; margin-right: 2px; }

.track-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: var(--accent-metal);
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 rgba(0,0,0,.15);
}
.track-card p { margin: 0; }
.track-title { font: 400 16px/1.15 var(--font-display); color: #111; }
.track-hint { font-size: 10px; color: #5a5448; }

.listen-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.listen-links a {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid #000;
  background: var(--surface-white);
  /* old-web link look inside the button box */
  color: #0000ee;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: background .15s;
}
.listen-links a:visited { color: #0000ee; }
.listen-links a:hover { background: var(--sky-bar); }
.listen-links a:active { color: #ee0000; }
.chips.related .chip { cursor: pointer; }

/* ---------- Buttons ---------- */
.btn-metal {
  padding: 4px 10px;
  border: 1px solid #000;
  border-radius: 3px;
  background: var(--accent-metal);
  box-shadow: inset 0 1px 0 #fff;
  font: 10px var(--font-mono);
  text-transform: lowercase;
}
.btn-metal:active { background: linear-gradient(180deg, #bebebe, #e0e0e0); }
.btn-glass {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid #1d3f6b;
  border-radius: 20px;
  background: var(--accent-glass);
  color: #fff;
  text-decoration: none;
  font: 400 14px/1 var(--font-display);
  letter-spacing: .5px;
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 6px rgba(0,0,0,.3);
  transition: filter .2s, transform .2s var(--ease);
}
.btn-glass:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-orb {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid #1d3f6b;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255,255,255,.85) 0 22%, transparent 48%),
    radial-gradient(circle at 50% 80%, #7cc0f0, #2f69ad 70%);
  box-shadow: 0 2px 4px rgba(0,0,0,.35), inset 0 -2px 4px rgba(0,0,0,.2);
  color: #fff;
  transition: transform .15s var(--ease), filter .15s;
}
.btn-orb:hover { filter: brightness(1.08); transform: scale(1.06); }
.btn-orb:active { transform: scale(.95); }
.btn-orb.sm { width: 30px; height: 30px; }
.btn-orb svg { width: 50%; height: 50%; fill: currentColor; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.btn-orb .ic-pause { display: none; }
.btn-orb.playing .ic-play { display: none; }
.btn-orb.playing .ic-pause { display: inline; }

/* INTRO: see "Intro (video)" below */

/* ---------- ABOUT ---------- */
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a {
  display: block;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(141,125,99,.45);
  color: #3b352b;
  text-decoration: none;
  transition: background .15s, padding .25s var(--ease);
}
.side-nav a:hover, .side-nav a.on { background: var(--sky-bar); padding-left: 20px; color: #000; }
.about-badge { margin-top: auto; padding: 16px 16px 20px 0; }
.about-text, .view-about .col-3 { overflow-y: auto; }
.view-about .col-3 .col-head, .about-text .col-head { position: sticky; top: 0; z-index: 1; }
.prose { padding: 14px 18px 26px; max-width: 62ch; }
.prose h3 {
  margin: 18px 0 6px;
  padding: 2px 6px;
  background: var(--sky-bar);
  color: var(--sky-ink);
  font: 400 12px var(--font-ui);
  scroll-margin-top: 50px;
}
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 10px; }
.howto { margin: 0 0 10px; padding-left: 16px; }
.howto li { margin-bottom: 6px; }
kbd {
  font: 10px var(--font-mono);
  padding: 1px 5px;
  border: 1px solid #000;
  border-radius: 3px;
  background: var(--accent-metal);
}
.small-print { font-size: 10px; color: #8a7c63; border-left: 2px solid var(--border-taupe); padding-left: 8px; }

/* ---------- PLAYER ---------- */
.player {
  position: relative; z-index: 3;
  padding: 6px 10px 8px;
  background: #1f140a;
  border-top: 4px solid var(--ink-black);
}
.player-glass {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(150px, 1.2fr) auto minmax(180px, 2fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid #3b2414;
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #d8b68a 0%, #a97b4e 48%, #8c6038 52%, #b48b5d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.2);
  overflow: hidden;
  color: #fff;
}
.player-ghost {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font: 400 64px/1 var(--font-display);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.08);
  white-space: nowrap;
  pointer-events: none;
}
.player-now { position: relative; min-width: 0; display: grid; }
.lcd { font: 400 15px/1.2 var(--font-display); white-space: nowrap; overflow: hidden; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.lcd-text { display: inline-block; }
/* long titles: wait, slide to the end, wait, slide back */
.lcd.scrolling { mask-image: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 14px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 14px), transparent); }
.lcd.scrolling .lcd-text { animation: lcd-marquee var(--dur, 10s) ease-in-out infinite; }
@keyframes lcd-marquee {
  0%, 25% { transform: translateX(0); }
  55%, 75% { transform: translateX(var(--dist, 0)); }
  100% { transform: translateX(0); }
}
.lcd-sub { font: 10px var(--font-mono); color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-controls { position: relative; display: flex; gap: 8px; align-items: center; }
/* player buttons: glossy rounded stars (same gloss + shadow, star shape) */
.player .btn-orb {
  position: relative;
  width: 40px; height: 40px;
  border: 0; border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 3px 3px rgba(40, 20, 5, .45)) drop-shadow(0 1px 0 rgba(0, 0, 0, .2));
}
.player .btn-orb#p-play { width: 52px; height: 52px; }
.player .btn-orb::before,
.player .btn-orb::after {
  content: "";
  position: absolute; inset: 0;
  clip-path: path("M17.95 5.11 Q20.00 1.70 22.05 5.11 L25.19 10.32 Q26.42 12.37 28.75 12.90 L34.66 14.28 Q38.55 15.17 35.93 18.18 L31.95 22.77 Q30.39 24.57 30.59 26.96 L31.12 33.01 Q31.46 36.98 27.79 35.42 L22.20 33.05 Q20.00 32.12 17.80 33.05 L12.21 35.42 Q8.54 36.98 8.88 33.01 L9.41 26.96 Q9.61 24.57 8.05 22.77 L4.07 18.18 Q1.45 15.17 5.34 14.28 L11.25 12.90 Q13.58 12.37 14.81 10.32Z");
}
.player .btn-orb#p-play::before,
.player .btn-orb#p-play::after { clip-path: path("M23.31 6.52 Q26.00 2.06 28.69 6.52 L32.78 13.33 Q34.39 16.01 37.44 16.71 L45.18 18.50 Q50.25 19.68 46.84 23.61 L41.63 29.61 Q39.58 31.97 39.85 35.09 L40.54 43.00 Q40.99 48.19 36.19 46.16 L28.88 43.06 Q26.00 41.84 23.12 43.06 L15.81 46.16 Q11.01 48.19 11.46 43.00 L12.15 35.09 Q12.42 31.97 10.37 29.61 L5.16 23.61 Q1.75 19.68 6.82 18.50 L14.56 16.71 Q17.61 16.01 19.22 13.33Z"); }
/* dark outline */
.player .btn-orb::before { background: #6b4a08; }
/* glossy fill, a little smaller so the outline shows */
.player .btn-orb::after {
  transform: scale(.88);
  background:
    radial-gradient(ellipse 58% 34% at 50% 30%, rgba(255,255,255,.9) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 70% 30% at 50% 92%, rgba(120,70,0,.4), transparent 70%),
    radial-gradient(circle at 50% 78%, #ffe680, #e0a810 72%);
}
.player .btn-orb svg {
  position: relative; z-index: 1;
  width: 44%; height: 44%;
  margin-top: 3px;
  filter:
    drop-shadow(0 0 .6px rgba(40, 18, 4, .95))
    drop-shadow(0 2px 1.5px rgba(40, 18, 4, .85))
    drop-shadow(0 0 4px rgba(40, 18, 4, .5));
}
.player-track { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.time { font: 10px var(--font-mono); color: rgba(255,255,255,.85); }
.progress {
  position: relative; flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,.25);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
  cursor: pointer;
}
.progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #fff; }
.progress-knob {
  position: absolute; top: 50%; left: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #cfd8e3);
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.scope { position: relative; width: 120px; height: 34px; border: 1px solid rgba(0,0,0,.35); border-radius: 2px; background: rgba(50,28,12,.35); }
.player-vol { position: relative; display: flex; align-items: center; gap: 6px; }
.player-vol svg { width: 16px; height: 16px; fill: #fff; color: #fff; }
.player-vol input { width: 80px; accent-color: #fff; }

/* ---------- Paste-up strips & ink buttons (from the zines) ---------- */
.strip {
  display: inline-block;
  margin: 0;
  padding: 4px 12px 3px;
  background: var(--cream);
  color: #111;
  font: 13px/1.3 var(--font-type);
  box-shadow: 3px 4px 0 rgba(0,0,0,.55);
  clip-path: polygon(0 4%, 3% 0, 97% 2%, 100% 0, 99% 96%, 96% 100%, 2% 98%, 0 100%);
}
.btn-ink {
  display: inline-block;
  padding: 10px 20px 9px;
  background: #111;
  color: var(--cream);
  border: 2px solid #111;
  font: 400 18px/1 var(--font-cut);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 4px 5px 0 rgba(0,0,0,.35);
  transform: rotate(-1deg);
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.btn-ink:hover { background: var(--zine-peach); color: #111; transform: rotate(0deg) translateY(-2px); }

/* ---------- Intro (video) ---------- */
.view-intro { overflow: hidden; background: #1f140a; }
.intro-bg { position: absolute; inset: 0; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-grain {
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.intro-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(25,14,4,.5) 100%);
  pointer-events: none;
}
.intro-content {
  position: relative; z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 3% 5%;
}
.intro-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.intro-title { margin: 4px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.strip-word {
  font: 400 clamp(46px, 7.4vw, 108px)/.92 var(--font-cut);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px 2px;
  box-shadow: 5px 6px 0 rgba(0,0,0,.6);
}
.strip-word.w1 { transform: rotate(-2deg); }
.strip-word.w2 { background: var(--zine-blue); color: #fff; transform: rotate(1.2deg) translateX(18%); }
.strip-word.w3 { background: var(--zine-peach); transform: rotate(-.8deg) translateX(4%); }
.strip-kicker { transform: rotate(1deg); }
.strip-sub { transform: rotate(-.6deg); font-size: 14px; }
.strip-stats { background: #111; color: var(--cream); transform: rotate(.8deg); font-size: 12px; }
.intro-left .btn-ink { margin-top: 10px; }
.intro-scrawl {
  margin: 4px 0 0 8px;
  font: 22px/1 var(--font-hand);
  color: var(--cream);
  transform: rotate(-5deg);
  text-shadow: 2px 2px 0 rgba(0,0,0,.55);
}

.intro-zines { position: relative; height: min(78%, 560px); }
.intro-zine {
  position: absolute;
  width: clamp(130px, 15vw, 230px);
  display: block;
  text-decoration: none;
  transition: transform .4s var(--ease), z-index 0s;
}
.intro-zine img {
  display: block; width: 100%; height: auto;
  box-shadow: 6px 10px 22px rgba(0,0,0,.55);
}
.intro-zine .tape {
  position: absolute; top: -10px; left: 50%;
  width: 70px; height: 22px; margin-left: -35px;
  background: rgba(243,234,214,.75);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  transform: rotate(-4deg);
}
.intro-zine-label {
  position: absolute; left: 6px; bottom: -14px;
  padding: 2px 8px;
  background: #111; color: var(--cream);
  font: 11px var(--font-type);
  white-space: nowrap;
  box-shadow: 2px 3px 0 rgba(0,0,0,.4);
}
.iz1 { left: 0; top: 8%; transform: rotate(-8deg); z-index: 1; }
.iz2 { left: 30%; top: 30%; transform: rotate(4deg); z-index: 2; }
.iz3 { left: 60%; top: 2%; transform: rotate(10deg); z-index: 1; }
.intro-zine:hover, .intro-zine:focus-visible { transform: rotate(0deg) translateY(-12px) scale(1.04); z-index: 5; }

/* ---------- Column 2: real scans ---------- */
.zine-tabs { margin-left: auto; display: flex; gap: 3px; align-self: flex-end; margin-bottom: -9px; }
.zine-tab {
  padding: 4px 9px 5px;
  font: 10px/1 var(--font-type);
  border: 1px solid #000; border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: var(--accent-metal);
  color: #222;
}
.zine-tab[aria-selected="true"] { background: var(--bg-parchment); }
.scan {
  position: relative;
  display: block;
  padding: 0; border: 0; background: none;
  cursor: zoom-in;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease);
}
.scan:hover { transform: rotate(0deg) scale(1.01); }
.scan.swap { animation: scan-in .55s var(--ease); }
@keyframes scan-in {
  from { opacity: 0; transform: rotate(-4deg) translateY(16px); }
  to { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
}
.scan img {
  display: block;
  width: auto; height: auto;
  max-width: calc(100cqw - 8px);
  max-height: min(calc(100cqh - 8px), 640px);
  filter: drop-shadow(5px 8px 0 rgba(59,50,38,.3)) drop-shadow(0 14px 18px rgba(0,0,0,.28));
}
.tape {
  position: absolute;
  width: 74px; height: 22px;
  background: rgba(243,234,214,.72);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  pointer-events: none;
}
.scan .t1 { top: -6px; left: 8%; transform: rotate(-12deg); }
.scan .t2 { top: -6px; right: 8%; transform: rotate(9deg); }

.zine-caption {
  flex: none;
  padding: 7px 14px 9px;
  border-top: 1px solid #000;
  background: #d6c8aa;
  color: var(--taupe-deep);
}
.zine-caption p { margin: 0; }
.cap-title { font: 14px/1.2 var(--font-type); color: #111; }
.cap-meta { font: 10px var(--font-mono); color: var(--taupe-dark); margin-top: 2px !important; }
.cap-lines { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 3px 4px; }
.cap-lines li {
  font: 10px/1.3 var(--font-type);
  padding: 1px 5px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.35);
}
.cap-lines li.hit { background: #111; color: var(--cream); border-color: #111; }

/* ---------- Column 3 additions ---------- */
.album-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 6px;
  padding: 5px 6px;
  background: var(--accent-metal);
  border: 1px solid #000;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 #fff;
}
.album-nav .btn-metal { background: var(--surface-white); cursor: pointer; }
.album-nav .btn-metal:disabled { opacity: .4; cursor: default; }
.trk-info {
  padding: 2px 4px;
  border: 0; background: none;
  font: 11px var(--font-mono); color: #222;
  text-decoration: underline dotted rgba(0,0,0,.45);
  text-underline-offset: 3px;
  cursor: pointer;
}
.trk-info:hover { color: #000; background: rgba(255,255,255,.5); }
.tracklist {
  list-style: none;
  margin: 4px 0 0; padding: 0;
  max-height: 230px; overflow-y: auto;
  border: 1px solid #000;
  background: var(--surface-white);
  box-shadow: 3px 4px 0 rgba(59,50,38,.18);
}
.tracklist li + li { border-top: 1px solid rgba(141,125,99,.35); }
.trk-item {
  width: 100%;
  display: grid; grid-template-columns: 26px 1fr; gap: 6px; align-items: baseline;
  padding: 5px 8px;
  border: 0; background: none;
  text-align: left;
  font-size: 11.5px; color: #3b352b;
  cursor: pointer;
}
.trk-item:hover { background: rgba(207,227,236,.6); }
.trk-item[aria-current="true"] { background: var(--sky-bar); color: #000; }
.trk-item[aria-current="true"] .trk-n::before { content: "▶ "; font-size: 8px; color: var(--sky-ink); }
.trk-n { font: 10px var(--font-mono); color: #9a8a6e; white-space: nowrap; }
.trk-title {
  margin: 5px 0 0;
  font: 11px/1.35 var(--font-type);
  color: #111;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid #000;
  box-shadow: 4px 5px 0 rgba(59,50,38,.3);
  overflow: hidden;
}
.video-frame iframe, .video-frame #yt-player, .video-frame .yt-slot { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-msg {
  position: absolute; inset: auto 0 0 0;
  margin: 0; padding: 8px 10px;
  background: rgba(17,17,17,.88); color: var(--cream);
  font: 11px var(--font-type);
}
.listen-list { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.listen-list:empty { display: none; }
.listen-item {
  text-align: left;
  padding: 5px 8px;
  border: 1px solid #000;
  background: var(--surface-white);
  font: 11px var(--font-type);
}
.listen-item[aria-pressed="true"] { background: #111; color: var(--cream); }
.has-rec { font-style: normal; color: var(--zine-blue); font-size: 11px; }

/* ---------- Lightbox ---------- */
.lightbox {
  max-width: min(92vw, 900px); max-height: 94vh;
  padding: 14px;
  border: 1px solid #000;
  background: var(--paper-3);
  box-shadow: 8px 10px 0 rgba(0,0,0,.4);
}
.lightbox::backdrop { background: rgba(25,14,4,.78); }
.lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 90px); margin: 0 auto; }
.lightbox-cap { margin: 8px 0; font: 13px var(--font-type); color: #111; text-align: center; }
.lightbox .btn-metal { display: block; margin: 0 auto; }

/* ---------- About: zine cards ---------- */
.zine-cards { display: grid; gap: 14px; margin: 12px 0 8px; }
/* zine cards: thin glossy light-blue frame (the page's accent colour) */
.zine-card {
  position: relative;
  padding: 4px;
  border-radius: 16px;
  border: 1px solid #8fbccd;
  background:
    linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.2) 45%, transparent 50%, rgba(255,255,255,.25) 100%),
    linear-gradient(180deg, #e2f0f6 0%, #c3dfea 48%, #a9cfde 52%, #cfe3ec 100%);
  box-shadow:
    0 8px 16px rgba(40, 22, 8, .18),
    inset 0 1px 0 #fff,
    inset 0 -2px 5px rgba(61, 127, 157, .35);
}
.zine-card-inner {
  position: relative;
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--paper-3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .6),
    inset 0 -10px 18px rgba(80, 40, 10, .12),
    inset 0 0 0 1px rgba(0, 0, 0, .25);
  overflow: hidden;
}
.zine-card-inner::before {
  content: "";
  position: absolute; left: 2%; right: 2%; top: 1%; height: 34%;
  border-radius: 10px 10px 50% 50% / 10px 10px 16% 16%;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  pointer-events: none;
}
.zine-card-inner > * { position: relative; }
.zine-card-img { padding: 0; border: 0; background: none; cursor: zoom-in; align-self: start; }
.zine-card-img img { display: block; width: 100%; height: auto; box-shadow: 2px 3px 6px rgba(0,0,0,.35); transform: rotate(-2deg); transition: transform .3s var(--ease); }
.zine-card-img:hover img { transform: rotate(0) scale(1.04); }
.zine-card h4 { margin: 0; font: italic 22px/1.05 Georgia, "Times New Roman", serif; color: var(--taupe-deep); }
.zine-card p { margin: 0; }
.zine-card-meta { font: 11px var(--font-type); color: #111; margin-top: 3px !important; }
.zine-card-lines { font-size: 11px; color: var(--ink-muted); margin: 6px 0 !important; }
.zine-card-in { font: 10px var(--font-mono); color: #8a7c63; text-transform: uppercase; margin-bottom: 4px !important; }
.zine-card .chip { text-decoration: none; }
.strip-badge { font-size: 11px; transform: rotate(-2deg); margin-left: 14px; }

/* ---------- Logo (stamp) ---------- */
.logo-img {
  display: block;
  height: 48px; width: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,.55));
  transition: transform .3s var(--ease);
}
.logo:hover .logo-img { transform: rotate(0deg) scale(1.04); }

/* ---------- Glossy bubble covers (aqua-glass) ---------- */
.bubble {
  --r: 26px;
  position: relative;
  margin: 0;
  width: min(calc(100cqw - 24px), calc(100cqh - 24px), 500px);
  padding: 12px;
  border-radius: var(--r);
  border: 1px solid #2e1a0b;
  /* brown glass frame (a shade darker than the player) with pink-coral dots */
  background:
    linear-gradient(180deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.08) 45%, transparent 50%, rgba(255,255,255,.1) 100%),
    radial-gradient(circle, #f7b3a4 0 1.3px, transparent 1.8px) 0 0 / 8px 8px,
    linear-gradient(180deg, #b98c5f 0%, #8a5d36 46%, #6c4524 54%, #94683e 100%);
  box-shadow:
    0 22px 34px rgba(40, 22, 8, .42),
    0 4px 0 rgba(0, 0, 0, .14),
    inset 0 1px 0 rgba(255, 236, 214, .9),
    inset 0 -4px 10px rgba(50, 24, 6, .5);
  animation: bob 6s ease-in-out infinite;
}
.bubble.swap { animation: bubble-in .6s var(--ease), bob 6s ease-in-out .6s infinite; }
@keyframes bubble-in {
  from { opacity: 0; transform: scale(.86) translateY(14px); }
  60% { transform: scale(1.03); }
  to { opacity: 1; transform: none; }
}
@keyframes bob { 50% { transform: translateY(-5px); } }
.bubble-art {
  position: relative;
  aspect-ratio: 1;
  border-radius: calc(var(--r) - 6px);
  overflow: hidden;
  background: #0d1d33;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}
.bubble-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* top gloss */
.bubble-art::before {
  content: "";
  position: absolute; z-index: 2;
  left: 3%; right: 3%; top: 1.5%;
  height: 46%;
  border-radius: calc(var(--r) - 8px) calc(var(--r) - 8px) 48% 48% / calc(var(--r) - 8px) calc(var(--r) - 8px) 18% 18%;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.5) 40%, rgba(255,255,255,.14) 100%);
  pointer-events: none;
}
/* inner volume: dark rim, blue bottom glow, edge light */
.bubble-art::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 22% at 50% 100%, rgba(255, 205, 180, .45), transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(70, 35, 12, .35) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .55),
    inset 0 -14px 26px rgba(50, 24, 6, .45),
    inset 0 10px 18px rgba(255, 255, 255, .25),
    inset 0 0 40px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.bubble-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 12%;
  text-align: center;
  background: linear-gradient(160deg, var(--ph-a, #6da8e0), var(--ph-b, #1d3f6b));
  color: #fff;
}
.ph-name { font: italic clamp(26px, 3.2vw, 42px)/1 Georgia, "Times New Roman", serif; letter-spacing: .5px; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.ph-note { font: 12px var(--font-type); opacity: .85; }

.cap-scan {
  margin-top: 6px;
  padding: 0; border: 0; background: none;
  font: 10px var(--font-mono);
  color: var(--link);
  text-decoration: underline;
}

/* player thumbnail */
.p-thumb {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3b2414;
  background: linear-gradient(160deg, #e2c49a, #8a5c33);
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
}
.p-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-thumb.empty img { display: none; }
.p-thumb::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.15) 45%, transparent 50%, rgba(20,60,120,.3) 100%);
  box-shadow: inset 0 -4px 8px rgba(10,40,90,.4), inset 0 0 0 1px rgba(255,255,255,.4);
}

/* ---------- Header logo pair ---------- */
.logo { gap: 12px; }
.tab-btn { font-family: var(--font-mono); cursor: pointer; }

/* ---------- Welcome window ---------- */
.welcome {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid #000;
  border-radius: 6px;
  background: var(--paper-3);
  color: var(--ink-muted);
  box-shadow: 10px 12px 0 rgba(0,0,0,.35), 0 30px 60px rgba(0,0,0,.45);
  overflow: auto;
}
.welcome[open] { animation: win-in .45s var(--ease); }
@keyframes win-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.welcome::backdrop { background: rgba(25,14,4,.62); backdrop-filter: blur(2px); }
.win-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 6px 5px 12px;
  background: var(--accent-metal);
  border-bottom: 1px solid #000;
  box-shadow: inset 0 1px 0 #fff;
}
.win-title { font: 11px var(--font-mono); color: #222; }
.win-x {
  width: 22px; height: 20px;
  display: grid; place-items: center;
  padding: 0;
  font-size: 11px; line-height: 1;
  border: 1px solid #000; border-radius: 3px;
  background: var(--accent-glass); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.welcome-hero {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid #000;
  background: #1f140a url("assets/intro-poster.jpg") center / cover;
}
.welcome-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.welcome-stamp {
  position: absolute; left: 50%; top: 50%;
  width: min(62%, 300px); height: auto;
  transform: translate(-50%, -50%) rotate(-3deg);
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.5));
}
.welcome-body { padding: 18px 22px 20px; font-size: 12.5px; }
.welcome-body p { margin: 0 0 10px; }
.welcome-title {
  margin: 0 0 10px;
  font: italic clamp(20px, 7vw, 28px)/1 Georgia, "Times New Roman", serif;
  color: var(--taupe-deep);
  overflow-wrap: anywhere;
}
.welcome-title em { color: #c9774a; }
.welcome-steps { margin: 12px 0 16px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 6px; }
.welcome-steps li {
  counter-increment: s;
  position: relative;
  padding: 6px 8px 6px 38px;
  background: var(--sky-bar);
  color: #2c4a58;
}
.welcome-steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 10px; top: 7px;
  font: 700 11px var(--font-mono);
  color: var(--sky-ink);
}
.welcome-device { margin: 0 0 6px !important; font: 11.5px/1.45 var(--font-type); color: var(--taupe-dark); }
.welcome-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.welcome-hide { display: flex; align-items: center; gap: 6px; font: 11px var(--font-type); color: var(--taupe-dark); cursor: pointer; }
.welcome .btn-ink { cursor: pointer; }
@media (max-width: 480px) {
  .welcome-hero { height: 140px; }
  .welcome-body { padding: 14px 16px 16px; }
  .welcome-actions { flex-direction: column-reverse; align-items: stretch; }
  .welcome .explore-btn { align-self: center; margin: -10px 0; }
}

/* ---------- Explore button (animated drawing) ---------- */
.explore-btn {
  display: inline-block;
  width: 150px;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.explore-btn img { display: block; width: 100%; height: auto; }
.explore-btn:hover, .explore-btn:focus-visible { transform: rotate(-4deg) scale(1.07); }
.explore-btn:active { transform: scale(.95); }
.welcome-actions .explore-btn { margin: -18px -10px -18px 0; }

/* ---------- Animated background behind the cover (column 2) ---------- */
.zine-stage { position: relative; overflow: hidden; }
.stage-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.zine-stage .bubble { z-index: 1; }

/* ---------- Mini logo next to the title, with a white glow on the dark header ---------- */
.logo-mini {
  display: block;
  height: 42px; width: auto;
  margin-left: -12px; /* sits right next to the title (outside the link: decoration only) */
  pointer-events: none;
  filter:
    drop-shadow(0 0 1.5px #fff)
    drop-shadow(0 0 4px rgba(255,255,255,.8))
    drop-shadow(0 0 10px rgba(255,255,255,.35));
}

/* mini logo on top of the stamp in the welcome window */
.welcome-mini {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  height: 62%; width: auto;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 6px rgba(255,255,255,.85))
    drop-shadow(0 0 14px rgba(255,255,255,.45));
  pointer-events: none;
}

/* About page: two columns only (zines + guide) */
.view-about.grid3 { grid-template-columns: 62% 38%; }

/* ---------- Scrollbars (early-web) ---------- */
.band-list, .detail, .about-text, .view-about .col-3 { scrollbar-width: thin; scrollbar-color: #b9b9b9 #ece4d2; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #ece4d2; border-left: 1px solid rgba(0,0,0,.15); }
::-webkit-scrollbar-thumb { background: var(--accent-metal); border: 1px solid #8a8a8a; border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .scope { display: none; }
  .player-glass { grid-template-columns: auto minmax(120px, 1fr) auto minmax(140px, 1.6fr) auto; }
}
@media (max-width: 860px) {
  :root { --player-h: 168px; }
  .frame { height: auto; min-height: 100vh; border-width: 0; display: block; }
  .topbar { position: sticky; top: 0; height: var(--topbar-h); padding: 0 12px; gap: 10px; }
  .topbar-meta { margin-left: 4px; padding-left: 8px; min-width: 0; }
  .meta-clock { display: none; }
  .logo-dots { display: none; }
  .logo-word { font-size: 18px; }
  .tabs a, .tab-btn { padding: 7px 10px 6px; letter-spacing: 0; }
  .views { overflow: visible; padding-bottom: var(--player-h); }
  .view { position: relative; inset: auto; display: none; transform: none; }
  .view.active { display: block; }
  .grid3 { display: block; }
  .view.grid3.active { display: flex; flex-direction: column; }
  .col { border-right: 0; border-bottom: 6px solid var(--border-taupe); overflow: visible; }
  .band-list { max-height: 300px; }
  .zine-stage { padding: 20px 16px; }
  .zine { height: auto; width: min(100%, 380px); }
  .detail, .about-text, .view-about .col-3 { overflow: visible; }
  .view-intro { min-height: calc(100vh - var(--topbar-h) - var(--player-h)); }
  .intro-content { grid-template-columns: 1fr; padding: 32px 16px 40px; gap: 36px; }
  .intro-zines { height: 300px; }
  .intro-zine { width: 150px; }
  .zine-stage { container-type: normal; }
  .bubble { width: min(100%, 340px); }
  .scan { width: min(100%, 380px); }
  .scan img { width: 100%; height: auto; max-width: 100%; max-height: none; }
  .player { position: fixed; left: 0; right: 0; bottom: 0; height: var(--player-h); }
  .player-glass { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: 4px 10px; padding: 8px 12px; }
  .player-controls { grid-column: 1 / -1; justify-content: center; }
  .p-thumb { width: 40px; height: 40px; }
  .logo-img { height: 40px; }
  .player-track { grid-column: 1 / -1; }
  .player-vol { display: none; }
  .player-ghost { font-size: 40px; }
}

@media (max-width: 420px) {
  .topbar { padding: 0 8px; gap: 6px; }
  .logo-word { font-size: 15px; }
  .tabs { gap: 2px; }
  .tabs a, .tab-btn { padding: 6px 8px 5px; font-size: 13px; }
  .logo { gap: 6px; }
  .logo-word { font-size: 13px; }
  .logo-img { height: 32px; }
  .logo-mini { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Phone fixes ---------- */
.topbar-break { display: none; }
@media (max-width: 860px) {
  /* only the open page takes up space (the hidden one used to push About down) */
  .view:not(.active) { display: none !important; }
  .view-discover .col-2, .view-discover .col-3 { scroll-margin-top: calc(var(--topbar-h) + 4px); }
  .band-list { max-height: 46vh; }
  .welcome-link { white-space: nowrap; }
  .player-controls { transform: scale(.9); margin: -4px 0; }
  .player-glass { padding: 6px 12px; }
  :root { --player-h: 156px; }
}
@media (max-width: 600px) {
  /* header in two rows: logos on top, tabs + welcome underneath */
  :root { --topbar-h: 92px; }
  .topbar { flex-wrap: wrap; align-content: flex-end; row-gap: 6px; padding: 8px 12px 0; }
  .logo { flex: 0 1 auto; }
  .logo-mini { height: 30px; margin-left: -4px; }
  .tabs { order: 3; margin-left: 0; }
  .topbar-meta { order: 4; margin-left: auto; align-self: center; border-left: 0; padding-left: 0; }
  .logo-img { height: 36px; }
  .logo-word { font-size: 17px; }
  .tabs a, .tab-btn { padding: 6px 14px 5px; font-size: 14px; }
  .topbar-break { display: block; flex-basis: 100%; height: 0; order: 2; }
}
