/* TheSharedStage.com — v1 Stylesheet */

:root {
  --bg: #07090f;
  --border: rgba(255,255,255,.09);
  --border-p: rgba(139,92,246,.28);
  --border-c: rgba(6,182,212,.22);
  --text: rgba(255,255,255,.93);
  --muted: rgba(255,255,255,.50);
  --purple: #8b5cf6;
  --purple-glow: rgba(139,92,246,.20);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6,182,212,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: #93c5fd; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
strong { color: #fff; }
p { line-height: 1.65; margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 680px; }

/* ══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: none;
  padding: 13px 26px;
  transition: all .18s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: rgba(139,92,246,.18);
  border: 1px solid rgba(139,92,246,.50);
  color: var(--text);
}
.btn-primary:hover { background: rgba(139,92,246,.30); color: #fff; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.72);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); color: #fff; }

.btn-lg { font-size: 15px; padding: 15px 32px; }

/* ══════════════════════════════
   NAV
═══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7,9,15,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 16px;
}

.nav-brand {
  font-size: 15px; font-weight: 900; letter-spacing: -.02em;
  color: var(--text); flex-shrink: 0;
  background: linear-gradient(135deg, rgba(167,139,250,1), rgba(34,211,238,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand:hover { text-decoration: none; opacity: .85; }

.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.nav-pill {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.68);
  transition: background .15s;
}
.nav-pill:hover { background: rgba(255,255,255,.10); color: #fff; text-decoration: none; }
.nav-pill.accent {
  border-color: rgba(139,92,246,.42);
  background: rgba(139,92,246,.14);
  color: rgba(255,255,255,.88);
}
.nav-pill.accent:hover { background: rgba(139,92,246,.26); }

/* ══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  padding: 100px 0 60px;
  background:
    radial-gradient(900px 700px at 30% 40%, rgba(139,92,246,.13), transparent 60%),
    radial-gradient(700px 500px at 75% 60%, rgba(6,182,212,.08),  transparent 60%);
  overflow: hidden;
}

/* subtle grid overlay */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-kicker {
  font-size: 11px; font-weight: 900; letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(139,92,246,.75);
  margin: 0 0 28px;
}

.hero-headline {
  margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 2px;
}
.hl-line {
  display: block;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--text);
}
.accent-line {
  font-style: italic;
  background: linear-gradient(135deg, rgba(167,139,250,1) 0%, rgba(34,211,238,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.68);
  max-width: 58ch; margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.25);
  font-size: 18px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════
   STORY SECTION
═══════════════════════════════ */
.story-section { background: var(--bg); }

.story-block {
  padding: 80px 0;
}

.story-block--left  { background: linear-gradient(90deg, rgba(139,92,246,.07), transparent 70%); }
.story-block--right { background: linear-gradient(270deg, rgba(6,182,212,.06), transparent 70%); text-align: right; }
.story-block--center { text-align: center; padding: 90px 0; }

.story-label {
  font-size: 10px; font-weight: 900; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin: 0 0 16px;
}

.story-statement {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.07;
  margin: 0 0 0;
  color: var(--text);
}
.story-statement--cyan {
  background: linear-gradient(135deg, rgba(34,211,238,1), rgba(103,232,249,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-statement--big {
  font-size: clamp(38px, 6.5vw, 76px);
}
.story-muted {
  color: rgba(255,255,255,.40);
  font-style: italic;
  -webkit-text-fill-color: initial;
  background: none;
}
.story-statement--cyan .story-muted {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: rgba(255,255,255,.40);
  background-clip: initial;
}
.story-statement--big .story-muted-sm {
  font-size: clamp(22px, 3.5vw, 44px);
  color: rgba(255,255,255,.42);
  font-style: normal;
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

.story-body {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.68);
  max-width: 58ch; margin: 24px auto 0;
  line-height: 1.65;
}

.story-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

/* ══════════════════════════════
   STATS BAND
═══════════════════════════════ */
.stats-band {
  background: rgba(255,255,255,.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
}

.stat-item {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1; min-width: 150px;
  text-align: center;
  padding: 8px 16px;
}
.stat-value {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, rgba(167,139,250,1), rgba(34,211,238,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12px; color: var(--muted); line-height: 1.35;
}
.stat-sep {
  color: rgba(255,255,255,.12); font-size: 24px;
  flex-shrink: 0;
  padding: 0 4px;
  align-self: center;
}
@media (max-width: 600px) {
  .stat-sep { display: none; }
  .stat-item { min-width: 40%; }
}

/* ══════════════════════════════
   FEATURES SECTION
═══════════════════════════════ */
.features-section {
  padding: 80px 0;
  background:
    radial-gradient(800px 500px at 85% 30%, rgba(139,92,246,.07), transparent 60%);
}

.section-head {
  margin-bottom: 44px;
  max-width: 640px;
}
.section-kicker {
  font-size: 10px; font-weight: 900; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(139,92,246,.75); margin: 0 0 10px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 900;
  letter-spacing: -.03em; margin: 0 0 14px; line-height: 1.1;
}
.section-lede {
  font-size: 15px; color: rgba(255,255,255,.65);
  max-width: 62ch; line-height: 1.65; margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color .2s, background .2s;
}
.feature-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.feature-card--purple {
  background: rgba(139,92,246,.06);
  border-color: rgba(139,92,246,.22);
}
.feature-card--purple:hover {
  background: rgba(139,92,246,.10);
  border-color: rgba(139,92,246,.35);
}
.feature-card--cyan {
  background: rgba(6,182,212,.05);
  border-color: rgba(6,182,212,.20);
}
.feature-card--cyan:hover {
  background: rgba(6,182,212,.09);
  border-color: rgba(6,182,212,.32);
}

.fc-icon { font-size: 26px; margin-bottom: 12px; line-height: 1; }
.fc-title { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.fc-desc { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.55; margin: 0; }

/* ══════════════════════════════
   HOW IT WORKS
═══════════════════════════════ */
.how-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  display: flex; gap: 20px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(255,255,255,.02);
}
.step:nth-child(1) { border-radius: 14px 0 0 0; }
.step:nth-child(2) { border-radius: 0 14px 0 0; }
.step:nth-child(3) { border-radius: 0 0 0 14px; }
.step:nth-child(4) { border-radius: 0 0 14px 0; }
.step:hover { background: rgba(255,255,255,.04); }

@media (max-width: 640px) {
  .step:nth-child(1) { border-radius: 14px 14px 0 0; }
  .step:nth-child(2) { border-radius: 0; }
  .step:nth-child(3) { border-radius: 0; }
  .step:nth-child(4) { border-radius: 0 0 14px 14px; }
}

.step-num {
  font-size: 28px; font-weight: 900; letter-spacing: -.04em;
  background: linear-gradient(135deg, rgba(139,92,246,.6), rgba(6,182,212,.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.step-content {}
.step-title { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.step-desc { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.55; margin: 0; }

/* ══════════════════════════════
   CTA SECTION
═══════════════════════════════ */
.cta-section {
  padding: 80px 0;
  background:
    radial-gradient(800px 500px at 50% 50%, rgba(139,92,246,.10), transparent 60%);
}

.cta-card {
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(139,92,246,.25);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,.05) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 600px) {
  .cta-card { padding: 36px 22px; }
}

.cta-kicker {
  font-size: 10px; font-weight: 900; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(139,92,246,.7);
  margin: 0 0 16px; position: relative; z-index: 1;
}
.cta-title {
  font-size: clamp(26px, 4vw, 44px); font-weight: 900;
  letter-spacing: -.03em; margin: 0 0 20px; line-height: 1.1;
  position: relative; z-index: 1;
}
.cta-body {
  font-size: 15px; color: rgba(255,255,255,.68);
  max-width: 58ch; margin: 0 auto 32px;
  line-height: 1.65; position: relative; z-index: 1;
}
.cta-actions {
  display: flex; justify-content: center;
  position: relative; z-index: 1;
}
.cta-fine {
  font-size: 12px; color: rgba(255,255,255,.30);
  margin: 16px 0 0; position: relative; z-index: 1;
}

/* ══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px;
}
.footer-brand {
  font-size: 14px; font-weight: 900;
  background: linear-gradient(135deg, rgba(167,139,250,1), rgba(34,211,238,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-version { font-size: 11px; color: rgba(255,255,255,.22); }


/* ══════════════════════════════
   FORM PAGE — submit.html
═══════════════════════════════ */
.form-page-body {
  padding-top: 58px; /* nav height */
}

.form-shell {
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border-p);
  border-radius: 20px;
  padding: 36px 40px;
  margin: 40px 0 70px;
}
@media (max-width: 540px) { .form-shell { padding: 24px 18px; } }

.form-eyebrow {
  font-size: 10px; font-weight: 900; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(139,92,246,.75); margin: 0 0 10px;
}
.form-title {
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 900;
  letter-spacing: -.02em; margin: 0 0 8px;
}
.form-sub {
  font-size: 14px; color: var(--muted); margin: 0 0 28px; line-height: 1.55;
}

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px;
}
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.60); letter-spacing: .04em; text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .15s; outline: none; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: rgba(139,92,246,.55); }
.form-field textarea { min-height: 80px; resize: vertical; }
.form-field .hint { font-size: 11px; color: var(--muted); margin: 0; }

.band-block {
  background: rgba(139,92,246,.05);
  border: 1px solid rgba(139,92,246,.18);
  border-radius: 14px; padding: 20px; margin-bottom: 12px;
}
.band-block-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.band-block-title { font-size: 13px; font-weight: 800; color: rgba(167,139,250,.9); }
.band-remove-btn {
  background: none; border: none; color: rgba(239,68,68,.65);
  font-size: 12px; font-weight: 700; cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.band-remove-btn:hover { color: rgba(239,68,68,.9); background: rgba(239,68,68,.08); }

.form-divider { border: 0; border-top: 1px solid rgba(255,255,255,.07); margin: 24px 0; }

.form-h2 {
  font-size: 16px; font-weight: 800; margin: 0 0 6px;
}
.form-hint {
  font-size: 13px; color: var(--muted); margin: 0 0 16px;
}

.form-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px;
}

.btn-submit {
  padding: 13px 28px;
  background: rgba(139,92,246,.18);
  border: 1px solid rgba(139,92,246,.45);
  border-radius: 999px;
  color: var(--text); font-size: 14px; font-weight: 800; font-family: inherit;
  cursor: pointer; transition: background .15s;
}
.btn-submit:hover { background: rgba(139,92,246,.30); }
.btn-submit:disabled { opacity: .45; cursor: not-allowed; }

.btn-add-band {
  padding: 11px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background .15s;
}
.btn-add-band:hover { background: rgba(255,255,255,.10); color: #fff; }

.form-status {
  font-size: 13px; padding: 10px 14px; border-radius: 10px;
  margin-top: 14px; display: none;
}
.form-status.success {
  display: block; background: rgba(52,211,153,.10);
  border: 1px solid rgba(52,211,153,.25); color: rgba(110,231,183,1);
}
.form-status.error {
  display: block; background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.25); color: rgba(252,165,165,1);
}

/* ══════════════════════════════
   THANKS PAGE — thanks.html
═══════════════════════════════ */
.thanks-wrap {
  min-height: calc(100vh - 58px);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.thanks-card { text-align: center; max-width: 500px; }
.thanks-icon { font-size: 52px; margin-bottom: 22px; }
.thanks-title {
  font-size: clamp(26px, 4.5vw, 40px); font-weight: 900;
  letter-spacing: -.03em; margin: 0 0 16px; line-height: 1.1;
}
.thanks-body {
  font-size: 16px; color: rgba(255,255,255,.68); margin: 0 0 32px; line-height: 1.65;
}
.thanks-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════
   SCENE DASHBOARD — scene.html (v0.3 Beta 0.1)
═══════════════════════════════ */
.scene-wrap {
  max-width: 1200px; margin: 0 auto; padding: 100px 24px 80px;
}
.scene-head {
  text-align: center; margin: 0 auto 48px; max-width: 760px;
}
.scene-kicker {
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; font-weight: 800;
  color: var(--cyan); margin: 0 0 12px;
}
.scene-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; letter-spacing: -.03em;
  margin: 0 0 16px; line-height: 1.05;
}
.scene-lede {
  font-size: 17px; color: rgba(255,255,255,.65); line-height: 1.65;
  margin: 0 auto; max-width: 620px;
}
.ss-source-label {
  display: inline-block; margin-top: 18px;
  font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
}
.ss-source-label.ss-source-live {
  color: rgba(52,211,153,.95); border-color: rgba(52,211,153,.28);
}
.ss-source-label.ss-source-snapshot {
  color: rgba(6,182,212,.90); border-color: rgba(6,182,212,.22);
}
.ss-error {
  display: none; text-align: center; color: rgba(252,165,165,.95);
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.22);
  padding: 14px 20px; border-radius: 10px; margin: 24px auto; max-width: 600px;
}

/* Summary stat grid */
.ss-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px; margin: 0 0 56px;
}
.ss-stat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 22px 20px;
  text-align: left;
}
.ss-stat-card--purple { border-color: var(--border-p); background: linear-gradient(180deg, rgba(139,92,246,.06) 0%, rgba(139,92,246,.02) 100%); }
.ss-stat-card--cyan   { border-color: var(--border-c); background: linear-gradient(180deg, rgba(6,182,212,.06) 0%, rgba(6,182,212,.02) 100%); }
.ss-stat-value {
  display: block;
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 900;
  letter-spacing: -.02em; color: #fff; line-height: 1;
}
.ss-stat-label {
  display: block; margin-top: 8px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 700;
}

/* Panel grid */
.ss-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
.ss-panel {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 24px 22px;
  min-height: 440px;
}
.ss-panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 18px; gap: 12px;
}
.ss-panel-title {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 800; color: rgba(255,255,255,.88); margin: 0;
}
.ss-panel-sub {
  font-size: 11px; color: rgba(255,255,255,.40);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}

/* Ranked lists */
.ss-list {
  margin: 0; padding: 0; list-style: none;
  counter-reset: none;
}
.ss-list-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ss-list-item:last-child { border-bottom: none; }
.ss-list-rank {
  font-size: 11px; font-weight: 800; color: rgba(255,255,255,.35);
  font-variant-numeric: tabular-nums;
}
.ss-list-name {
  font-size: 14px; color: rgba(255,255,255,.90);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ss-list-loc {
  font-style: normal; font-size: 12px; color: rgba(255,255,255,.45);
  margin-left: 4px;
}
.ss-arrow { color: var(--purple); font-weight: 900; margin: 0 4px; }
.ss-list-count {
  font-size: 11px; color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums; white-space: nowrap;
  font-weight: 600;
}

/* Timeline bars */
.ss-timeline-grid {
  display: grid; gap: 4px;
}
.ss-timeline-row {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 12px; align-items: center;
  padding: 4px 0;
}
.ss-timeline-year {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums;
}
.ss-timeline-bar-wrap {
  height: 14px; background: rgba(255,255,255,.04);
  border-radius: 4px; overflow: hidden;
}
.ss-timeline-bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 100%);
  opacity: .7; border-radius: 4px;
}
.ss-timeline-count {
  font-size: 11px; color: rgba(255,255,255,.50);
  font-variant-numeric: tabular-nums; text-align: right;
  font-weight: 600;
}

/* Index page — live hero stats replacement */
.stats-band .stat-value[data-ss-live="true"] {
  font-variant-numeric: tabular-nums;
}
.stats-band .stat-value.ss-loading {
  opacity: .5;
}

/* Generic section spacing for /scene */
.scene-section + .scene-section { margin-top: 56px; }
.scene-section-title {
  font-size: 18px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  margin: 0 0 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Legal pages — privacy.html / terms.html */
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 110px 24px 80px; }
.legal-wrap h1 { font-size: 32px; font-weight: 900; letter-spacing: -.02em; margin: 0 0 22px; }
.legal-wrap h2 { font-size: 18px; font-weight: 800; margin: 36px 0 14px; color: #fff; }
.legal-wrap p  { font-size: 15px; color: rgba(255,255,255,.72); margin: 0 0 14px; }
.legal-wrap ul { color: rgba(255,255,255,.72); padding-left: 22px; }
.legal-wrap li { margin-bottom: 8px; font-size: 15px; line-height: 1.6; }
.legal-wrap .legal-kicker {
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; font-weight: 800; color: var(--cyan); margin: 0 0 12px;
}
.legal-wrap .legal-updated {
  font-size: 12px; color: rgba(255,255,255,.40); margin: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 18px;
}

/* 404 page */
.notfound-wrap {
  min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.notfound-card { max-width: 500px; }
.notfound-code {
  font-size: 72px; font-weight: 900; color: var(--purple);
  letter-spacing: -.04em; line-height: 1; margin: 0 0 16px;
}
.notfound-title {
  font-size: 26px; font-weight: 900; margin: 0 0 14px; color: #fff;
}
.notfound-body {
  font-size: 15px; color: rgba(255,255,255,.65); margin: 0 0 26px; line-height: 1.6;
}
.notfound-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════
   v0.3 Beta 0.1 — fills for referenced classes
   ═══════════════════════════════ */

/* Scene intro subhead (used under .scene-title) */
.scene-sub {
  font-size: 17px; color: rgba(255,255,255,.65); line-height: 1.65;
  margin: 0 auto; max-width: 620px;
}

/* Scene page CTA wrapper */
.scene-cta { margin-top: 64px; }

/* Index stats band — "See the full dashboard" micro-link */
.stats-source {
  text-align: center; margin: 14px 0 0;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.stats-source a { color: var(--cyan); text-decoration: none; border-bottom: 1px dashed rgba(6,182,212,.45); padding-bottom: 1px; }
.stats-source a:hover { color: #fff; border-bottom-color: #fff; }

/* Screen-reader-only helper */
.ss-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Panel variants */
.ss-panel--wide { min-height: 0; margin-top: 22px; }
.ss-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

/* Loading placeholder inside panels */
.ss-panel-placeholder {
  font-size: 13px; color: rgba(255,255,255,.35); margin: 0; padding: 20px 0;
  text-align: center; font-style: italic;
}

/* ── Community Connections widget (v0.3.2) ── */
.ss-panel--submissions {
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(168,85,247,.06), rgba(6,182,212,.04));
  border: 1px solid rgba(168,85,247,.18);
}
.ss-submissions-totals {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
}
/* Submissions use the same rank/name/count grid as the rest of
 * the dashboard lists, so inheritance already gives us the right
 * column alignment. We just need to let .ss-list-name wrap so
 * the musicians chip row can flow under the band name. */
.ss-list--submissions .ss-list-item--submission {
  grid-template-columns: 28px 1fr auto;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ss-list--submissions .ss-list-item--submission:last-child {
  border-bottom: none;
}
.ss-list-item--submission .ss-list-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  min-width: 0;
}
.ss-list-item--submission .ss-list-count {
  align-self: start;
  padding-top: 2px;
  text-align: right;
  line-height: 1.35;
  white-space: normal;
  max-width: 14ch;
}
.ss-submission-band {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  line-height: 1.25;
}
.ss-submission-musicians {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,.62);
  line-height: 1.5;
  word-wrap: break-word;
}

/* Legal page inline links and back-link */
.legal-wrap a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(6,182,212,.3); }
.legal-wrap a:hover { color: #fff; border-bottom-color: #fff; }
.legal-wrap .legal-back {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}
.legal-wrap .legal-back a { border-bottom: none; }

/* ── Musicians Graph (v0.3.3) ──
 * Shared by /musicians.html (full page) and the preview panel on
 * /scene.html (#ss-top-musicians-preview). Reuses .ss-list, so the
 * list-view panels need nothing extra; what's below is the search
 * form, the result/detail card, candidate chips, and the per-musician
 * card grid for the "Bands per Musician" panel.
 */

/* Search panel */
.ss-panel--search {
  background: linear-gradient(180deg, rgba(6,182,212,.05), rgba(139,92,246,.03));
  border: 1px solid rgba(6,182,212,.18);
}
.ss-musician-search-form {
  display: flex; gap: 8px;
  margin: 12px 0 10px;
}
.ss-musician-search-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
}
.ss-musician-search-input::placeholder { color: rgba(255,255,255,.30); }
.ss-musician-search-input:focus {
  border-color: var(--cyan);
  background: rgba(6,182,212,.05);
}
.ss-musician-search-input:disabled {
  opacity: .5; cursor: not-allowed;
}
.ss-musician-search-btn {
  white-space: nowrap;
  padding: 11px 18px;
  font-size: 13px;
}
.ss-musician-search-status {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  min-height: 18px;
  margin: 2px 0 6px;
  font-style: italic;
}
.ss-musician-detail { margin-top: 6px; }

/* Candidate chips (match: 'multiple') */
.ss-musician-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 8px 0 4px;
}
.ss-musician-chip {
  background: rgba(139,92,246,.10);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(139,92,246,.32);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.ss-musician-chip:hover {
  background: rgba(139,92,246,.22);
  border-color: var(--purple);
  color: #fff;
}

/* No-match message */
.ss-musician-none {
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,.70);
}
.ss-musician-none a {
  color: var(--cyan); text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,.35);
}
.ss-musician-none a:hover { color: #fff; border-bottom-color: #fff; }

/* Exact-match profile card */
.ss-musician-profile {
  margin-top: 8px;
  padding: 20px 20px 16px;
  background: linear-gradient(180deg, rgba(139,92,246,.06), rgba(6,182,212,.03));
  border: 1px solid rgba(139,92,246,.22);
  border-radius: 12px;
}
.ss-musician-profile-head {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.ss-musician-profile-name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.ss-musician-profile-meta {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.60);
  letter-spacing: .02em;
}
.ss-musician-profile-section + .ss-musician-profile-section {
  margin-top: 18px;
}
.ss-musician-profile-subhead {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Bands list inside the detail card */
.ss-musician-detail-bands {
  margin: 0; padding: 0; list-style: none;
}
.ss-musician-detail-bands > li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ss-musician-detail-bands > li:last-child { border-bottom: none; }
.ss-musician-detail-band-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.ss-musician-detail-band {
  font-size: 14px; font-weight: 700; color: #fff;
}
.ss-musician-detail-band-evts {
  font-size: 12px; color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ss-musician-detail-mates {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}

/* Connection row — inline button styled as a link */
.ss-musician-conn-link {
  background: none; border: none; padding: 0;
  font: inherit; color: rgba(255,255,255,.90);
  cursor: pointer;
  border-bottom: 1px dashed rgba(6,182,212,.30);
}
.ss-musician-conn-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

/* Compact list variant (used by the in-profile connections list) */
.ss-list--compact .ss-list-item {
  padding: 7px 0;
}

/* Bands-per-Musician panel: grid of small cards */
.ss-musician-bands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 4px 0;
}
.ss-musician-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 14px 10px;
  transition: border-color .15s, background .15s;
}
.ss-musician-card:hover {
  border-color: rgba(139,92,246,.32);
  background: rgba(139,92,246,.04);
}
.ss-musician-card-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ss-musician-card-name {
  margin: 0 0 2px;
  font-size: 15px; font-weight: 700; color: #fff;
}
.ss-musician-card-meta {
  margin: 0;
  font-size: 11.5px; color: rgba(255,255,255,.50);
  letter-spacing: .02em;
}
.ss-musician-card-bands {
  margin: 0; padding: 0; list-style: none;
}
.ss-musician-card-bands > li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
}
.ss-musician-card-bands > li + li {
  border-top: 1px solid rgba(255,255,255,.04);
}
.ss-musician-card-band {
  color: rgba(255,255,255,.85);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}
.ss-musician-card-evts {
  color: rgba(255,255,255,.50);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ss-musician-card-empty {
  margin: 0;
  font-size: 12px; color: rgba(255,255,255,.35);
  font-style: italic;
}

/* ══════════════════════════════
   v0.4.0 · MODE PICKER
   Three-card radio group that gates the submission form body.
═══════════════════════════════ */

.mode-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 20px;
}
@media (min-width: 640px) {
  .mode-picker { grid-template-columns: repeat(3, 1fr); }
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .08s;
}
.mode-card:hover {
  border-color: rgba(139,92,246,.35);
  background: rgba(139,92,246,.05);
}
.mode-card.is-active {
  border-color: rgba(139,92,246,.65);
  background: rgba(139,92,246,.10);
  box-shadow: 0 0 0 1px rgba(139,92,246,.25) inset;
}
/* Hide the native radio but keep it accessible */
.mode-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;
}
.mode-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
}
.mode-card.is-active .mode-card-title { color: rgba(196,181,253,1); }
.mode-card-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Hidden mode blocks — [hidden] already hides, but we also collapse any
   margin on a following divider to keep the form visually tight. */
[data-mode-visible][hidden] { display: none !important; }

/* ══════════════════════════════
   v0.4.0 · EVENT TYPEAHEAD
   Used in lineup_addition mode to pick an existing TSS show.
═══════════════════════════════ */

.event-results {
  position: relative;
  display: none;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(7,9,15,.96);
  overflow: hidden;
  max-height: 260px;
  overflow-y: auto;
}
.event-results.is-open { display: block; }

.event-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background .12s;
}
.event-result:last-child { border-bottom: 0; }
.event-result:hover,
.event-result:focus-visible {
  background: rgba(139,92,246,.10);
  outline: none;
}
.event-result.empty {
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  cursor: default;
  pointer-events: none;
}
.event-result-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.event-result-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.event-selected {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding: 10px 36px 10px 12px;
  border: 1px solid rgba(139,92,246,.45);
  border-radius: 10px;
  background: rgba(139,92,246,.08);
}
.event-selected-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.event-selected-sub {
  font-size: 11.5px;
  color: var(--muted);
}
.event-selected-clear {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px; height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.event-selected-clear:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}

