/* SeoulFM artist portal. Light by default; the dark theme (data-theme="dark" on <html>,
   chosen in the footer) only swaps the tokens below. */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --surface: #ffffff;
  --raise: #f5f5f7;
  --line: #e8e8ed;
  --line-strong: #d2d2d7;
  --field-line: #d2d2d7;
  --text: #1d1d1f;
  --text-2: #515154;
  --text-3: #86868b;

  /* One accent. --accent draws (bars, rings, marks); --accent-fill sits under white text;
     --accent-text is the accent as words on the page. Each pair is checked for AA contrast. */
  /* One accent, Apple blue, for links and focus. Primary buttons are black. */
  --accent: #0071e3;
  --accent-fill: #1d1d1f;
  --accent-fill-hover: #000000;
  --accent-ink: #ffffff;
  --accent-text: #0066cc;
  --accent-soft: rgba(0, 113, 227, 0.08);

  --amber: #8a5800;
  --amber-soft: rgba(176, 116, 0, 0.1);
  --green: #248a3d;
  --green-soft: rgba(52, 199, 89, 0.12);
  --danger: #c0262e;
  --danger-fill: #c0262e;
  --danger-soft: rgba(255, 59, 48, 0.08);
  --backdrop: rgba(0, 0, 0, 0.4);

  --radius: 0;
  --radius-s: 0;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica,
    "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #000000;
  --surface: #1d1d1f;
  --raise: #2c2c2e;
  --line: #3a3a3c;
  --line-strong: #48484a;
  --field-line: #48484a;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;

  --accent: #2997ff;
  --accent-fill: #f5f5f7;
  --accent-fill-hover: #ffffff;
  --accent-ink: #1d1d1f;
  --accent-text: #2997ff;
  --accent-soft: rgba(41, 151, 255, 0.14);

  --amber: #ffd60a;
  --amber-soft: rgba(255, 214, 10, 0.12);
  --green: #30d158;
  --green-soft: rgba(48, 209, 88, 0.14);
  --danger: #ff453a;
  --danger-fill: #d70015;
  --danger-soft: rgba(255, 69, 58, 0.12);
  --backdrop: rgba(0, 0, 0, 0.6);
}

/* ── Base ─────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Korean breaks between words, not inside them. */
:lang(ko) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1 {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

h4 {
  font-size: 0.9375rem;
  font-weight: 620;
  line-height: 1.35;
}

a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 650;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

main:focus {
  outline: none;
}

::selection {
  background: var(--accent-fill);
  color: var(--accent-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.skip:focus {
  top: 10px;
}

/* ── Frame ────────────────────────────────────────────────────────────────────── */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-name {
  font-size: 1.1875rem;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.wordmark-sub {
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--text-3);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.masthead-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  min-width: 0;
}

.account {
  display: flex;
  align-items: center;
  gap: 6px 12px;
  min-width: 0;
}

.account:empty {
  display: none;
}

/* A two-or-three-way switch: one outline, the chosen part filled. */
.seg {
  display: inline-flex;
  flex: none;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
}

.seg-btn {
  min-height: 30px;
  padding: 3px 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

.account-email {
  min-width: 0;
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-2);
  font-size: 0.875rem;
}

.upload-pill {
  flex: none;
  padding: 4px 11px;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) var(--gutter) 96px;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8125rem;
}

.loading {
  padding: 18vh 0;
  color: var(--text-3);
  text-align: center;
}

.narrow {
  max-width: 600px;
}

.narrow > h1 {
  margin-bottom: 14px;
}

.narrow > .lede {
  margin-bottom: 32px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hint {
  color: var(--text-3);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.prose {
  max-width: 68ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

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

.stack {
  display: grid;
  gap: 20px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn:hover {
  background: var(--raise);
  border-color: var(--text-3);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn:disabled:hover {
  background: transparent;
  border-color: var(--line-strong);
}

.btn-primary {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-ink);
}

.btn-primary:hover,
.btn-primary:disabled:hover {
  background: var(--accent-fill-hover);
  border-color: var(--accent-fill-hover);
}

.btn-wide {
  width: 100%;
}

.btn-small {
  min-height: 34px;
  padding: 5px 11px;
  font-size: 0.8125rem;
}

.btn-quiet {
  border-color: transparent;
  color: var(--text-2);
}

.btn-quiet:hover {
  border-color: transparent;
  color: var(--text);
}

.btn-quiet:disabled:hover {
  border-color: transparent;
  color: var(--text-2);
}

.btn-danger {
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
}

.btn-quiet.btn-danger:hover {
  border-color: transparent;
}

.btn-danger-solid {
  background: var(--danger-fill);
  border-color: var(--danger-fill);
  color: #ffffff;
}

.btn-danger-solid:hover {
  background: var(--danger-fill);
  border-color: var(--danger-fill);
  filter: brightness(0.92);
}

/* ── Badges, notices, callouts ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-accent {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.badge-amber {
  border-color: transparent;
  background: var(--amber-soft);
  color: var(--amber);
}

.badge-green {
  border-color: transparent;
  background: var(--green-soft);
  color: var(--green);
}

.badge-muted {
  border-color: var(--line);
  color: var(--text-3);
}

.notice {
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
}

.notice-success {
  border-color: transparent;
  background: var(--green-soft);
  color: var(--green);
}

.notice-error {
  border-color: transparent;
  background: var(--danger-soft);
  color: var(--danger);
}

.callout {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--text-3);
  border-radius: 0;
  background: var(--surface);
}

.callout h2 {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.callout-amber,
.status-amber .callout {
  border-left-color: var(--amber);
}

.status-green .callout {
  border-left-color: var(--green);
}

.form-error,
.slot-error,
.field-error {
  color: var(--danger);
  font-size: 0.875rem;
  line-height: 1.45;
}

.form-error {
  padding: 10px 14px;
  border-radius: 0;
  background: var(--danger-soft);
}

/* ── Fields ───────────────────────────────────────────────────────────────────── */
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field-check {
  align-self: end;
  min-height: 44px;
  align-content: center;
}

.field > label,
.slot-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

.tag {
  color: var(--accent-text);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.12s ease;
}

textarea {
  min-height: 96px;
  line-height: 1.55;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-3);
  opacity: 0.75;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--text-2);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent);
  outline-offset: 0;
}

[aria-invalid="true"],
[aria-invalid="true"]:hover {
  border-color: var(--danger);
}

.affix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: var(--surface);
}

.affix:hover {
  border-color: var(--text-2);
}

.affix:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
}

.affix-text {
  display: flex;
  align-items: center;
  padding-left: 12px;
  color: var(--text-3);
}

.affix input,
.affix input:hover,
.affix input:focus-visible {
  padding-left: 4px;
  border: 0;
  outline: none;
  background: transparent;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent-fill);
}

.check label {
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.statement {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.statement h2,
.statement h4 {
  color: var(--text);
  font-size: 0.9375rem;
}

/* The programming rule: its own block, said plainly. */
.origin {
  display: grid;
  gap: 6px;
  max-width: 62ch;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  line-height: 1.55;
}

.origin h2 {
  font-size: 1rem;
}

.origin-compact {
  display: block;
  max-width: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 12px 16px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.origin-compact strong {
  color: var(--text);
}

.statement-origin {
  border-left: 3px solid var(--accent);
}

/* ── Progress ─────────────────────────────────────────────────────────────────── */
progress.bar {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 0;
  background: var(--line);
  color: var(--accent);
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}

progress.bar::-webkit-progress-bar {
  border-radius: 0;
  background: var(--line);
}

progress.bar::-webkit-progress-value {
  border-radius: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

progress.bar::-moz-progress-bar {
  border-radius: 0;
  background: var(--accent);
}

/* No value: the file is being checked. A band of the accent travels along the track. */
progress.bar:indeterminate {
  background: linear-gradient(90deg, var(--line) 0%, var(--line) 35%, var(--text-3) 50%, var(--line) 65%, var(--line) 100%)
    0 0 / 300% 100%;
  animation: travel 1.4s linear infinite;
}

progress.bar:indeterminate::-webkit-progress-bar {
  background: transparent;
}

progress.bar:indeterminate::-moz-progress-bar {
  background: transparent;
}

@keyframes travel {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* ── Signed out ───────────────────────────────────────────────────────────────── */
.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
  padding-top: clamp(0px, 3vw, 32px);
}

.intro h1 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.steps {
  display: grid;
  margin-top: 40px;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  display: block;
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--accent-text);
  font: 600 0.8125rem/1.5 var(--mono);
}

.steps strong {
  color: var(--text);
}

.panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.panel h2 {
  font-size: 1.3125rem;
  letter-spacing: -0.015em;
}

.panel h2:focus {
  outline: none;
}

.panel > p {
  color: var(--text-2);
}

.panel input[type="email"] {
  background: var(--bg);
}

.address {
  color: var(--text);
  overflow-wrap: anywhere;
}

.captcha {
  min-height: 65px;
}

/* ── Home ─────────────────────────────────────────────────────────────────────── */
.home-title {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.home-section {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3.5vw, 36px) 0 clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.section-head h2 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

/* The act's figures */
.fig-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.fig-name {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

select.fig-act {
  width: auto;
  max-width: 100%;
  min-height: 36px;
  padding: 5px 10px;
  font-size: 0.875rem;
}

.fig-state,
.fig-note {
  max-width: 62ch;
  color: var(--text-2);
}

.fig-state {
  display: grid;
  gap: 12px;
}

.fig-part {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.fig-part h3 {
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fig-part h4 {
  margin-top: 6px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.tile {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.tile dt {
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tile-value {
  font-size: 1.75rem;
  font-weight: 680;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.tile-sub {
  color: var(--text-3);
  font-size: 0.8125rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.table th:last-child,
.table td:last-child {
  padding-right: 0;
}

.table thead th {
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.table tbody th {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cell-bar {
  width: 45%;
  min-width: 120px;
}

.cell-bar .bar {
  display: inline-block;
  width: calc(100% - 56px);
  margin-right: 10px;
  vertical-align: middle;
}

.cell-bar .num {
  display: inline-block;
  min-width: 40px;
  vertical-align: middle;
}

.cell-date {
  color: var(--text-2);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fig-kit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.fig-kit > div {
  display: grid;
  gap: 4px;
}

.list {
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.12s ease;
}

.row:hover {
  background: var(--surface);
}

.row-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.row-title {
  font-size: 1.0625rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.row-meta {
  color: var(--text-3);
  font-size: 0.8125rem;
}

.empty {
  display: grid;
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.empty h3 {
  color: var(--text);
  font-size: 1.0625rem;
}

.empty p {
  max-width: 54ch;
}

.storage {
  display: grid;
  gap: 8px;
  max-width: 380px;
  margin-top: 20px;
}

.storage-text {
  color: var(--text-2);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.storage-text strong {
  color: var(--text);
}

/* ── A submission ─────────────────────────────────────────────────────────────── */
.editor-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin: calc(clamp(28px, 6vw, 64px) * -1) 0 clamp(20px, 4vw, 40px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.back {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.back::before {
  content: "\2190\00a0\00a0";
}

.back:hover {
  color: var(--text);
}

.save-state {
  min-width: 5ch;
  color: var(--text-3);
  font-size: 0.8125rem;
  text-align: right;
}

.save-state.is-error {
  color: var(--danger);
  font-weight: 600;
}

.editor-head,
.status-hero {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-bottom: clamp(28px, 4vw, 44px);
}

.status-hero .badge {
  padding: 5px 13px;
  font-size: 0.8125rem;
}

.status-hero .callout,
.status-hero .actions,
.status-hero .form-error {
  margin-top: 10px;
}

.editor-head + div > .callout {
  margin: -12px 0 clamp(28px, 4vw, 44px);
}

.summary-title {
  padding: 0 0 14px;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.block {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.block-side {
  display: grid;
  align-content: start;
  gap: 8px;
}

.block-side p {
  color: var(--text-3);
  font-size: 0.875rem;
  line-height: 1.55;
}

.block-main {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
}

/* ── File slots ───────────────────────────────────────────────────────────────── */
.slot-stack {
  display: grid;
  gap: 16px;
}

.slot {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 0;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.slot.is-filled {
  border-style: solid;
  border-color: var(--line);
  background: var(--surface);
}

.slot.is-over {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent-soft);
}

.slot-head {
  display: grid;
  gap: 4px;
}

.slot-body {
  display: grid;
  gap: 12px;
}

.slot-body:empty {
  display: none;
}

.drop {
  display: grid;
  gap: 6px;
}

.drop-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.drop-rules {
  color: var(--text-3);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.files {
  display: grid;
  gap: 10px;
}

.file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

.files .file + .file {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.file-thumb {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: var(--raise);
  object-fit: cover;
}

.file-main {
  display: grid;
  flex: 1 1 160px;
  gap: 4px;
  min-width: 0;
}

.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
}

.file-meta {
  color: var(--text-3);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.file-problem {
  color: var(--danger);
}

.file-actions {
  display: flex;
  flex: none;
  gap: 4px;
  margin-left: auto;
}

.is-uploading .bar {
  margin: 3px 0 1px;
}

/* ── Tracks ───────────────────────────────────────────────────────────────────── */
.tracks {
  display: grid;
  gap: 16px;
}

.tracks:empty {
  display: none;
}

.track {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.track .slot.is-filled {
  background: var(--bg);
}

.track input[type="text"],
.track select {
  background: var(--bg);
}

.track-head,
.summary-track-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.track-no {
  flex: none;
  color: var(--text-3);
  font: 600 0.8125rem/1.5 var(--mono);
}

.track-title {
  flex: 1 1 160px;
  min-width: 0;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.track-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: -4px -8px -4px auto;
}

.track-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.tracks-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

/* ── Sending ──────────────────────────────────────────────────────────────────── */
.send {
  display: grid;
  gap: 16px;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.3em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--text-3);
  border-radius: 50%;
}

/* ── What was sent ────────────────────────────────────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: minmax(96px, 150px) minmax(0, 1fr);
  gap: 10px 20px;
}

.facts dt {
  color: var(--text-3);
  font-size: 0.875rem;
}

.facts dd {
  overflow-wrap: anywhere;
}

.summary-text {
  display: grid;
  gap: 6px;
}

.summary-text h3 {
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 500;
}

.summary-tracks {
  display: grid;
  gap: 0;
}

.summary-track {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.summary-track:first-child {
  padding-top: 0;
  border-top: 0;
}

.feat {
  color: var(--text-2);
  font-weight: 400;
}

.summary-files {
  display: grid;
  gap: 8px;
}

.summary-file {
  display: grid;
  grid-template-columns: minmax(96px, 150px) minmax(0, 1fr);
  gap: 0 20px;
}

.summary-kind {
  grid-row: span 2;
  color: var(--text-3);
  font-size: 0.875rem;
}

.summary-track .summary-files {
  padding-left: 34px;
}

/* ── Dialog ───────────────────────────────────────────────────────────────────── */
.dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
}

.dialog::backdrop {
  background: var(--backdrop);
}

.dialog h2 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.dialog p {
  color: var(--text-2);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

/* ── Narrow screens: one column ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .landing {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .block {
    grid-template-columns: minmax(0, 1fr);
  }

  .fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-check {
    min-height: 0;
  }

  .masthead {
    flex-wrap: wrap;
  }

  .masthead-side {
    margin-left: auto;
  }

  .account-email {
    display: none;
  }

  .cell-bar {
    width: auto;
  }

  .cell-bar .bar {
    display: none;
  }

  .fig-kit .btn {
    width: 100%;
  }

  .facts,
  .summary-file {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .facts dd {
    margin-bottom: 10px;
  }

  .summary-kind {
    grid-row: auto;
  }

  .summary-track .summary-files {
    padding-left: 0;
  }

  .track-tools {
    margin-left: -8px;
    flex-basis: 100%;
  }

  .dialog-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   The one-path page (2026-10): landing, home, the five-step release editor.
   Builds on the tokens and the controls above; phones first.
   ══════════════════════════════════════════════════════════════════════════════ */

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.25em;
}

.btn-big {
  min-height: 52px;
  padding: 12px 22px;
  font-size: 1.0625rem;
  border-radius: 0;
}

.btn-primary.btn-big {
  box-shadow: none;
}

.btn-start {
  width: 100%;
  max-width: 420px;
}

.btn-start .ico {
  width: 1.1em;
  height: 1.1em;
}

/* Bigger targets on a phone. */
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  min-height: 48px;
  padding: 11px 14px;
  font-size: 1.0625rem;
  border-radius: 0;
}

.field textarea {
  min-height: 0;
}

.field > .label,
.field > label {
  font-weight: 620;
}

/* ── Landing ─────────────────────────────────────────────────────────────────── */
.land {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.land-title {
  font-size: clamp(2.2rem, 1.4rem + 4vw, 3.4rem);
}

.land-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 23, 28, 0.06);
}

.land-row {
  display: grid;
  gap: 12px;
}

.land-row .field {
  margin: 0;
}

.land-row .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .land-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .land-row .btn {
    width: auto;
  }
}

.land-steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.land-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 0;
  background: var(--raise);
}

.land-step-no {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--surface);
  color: var(--accent-text);
}

.land-step-no .ico {
  width: 22px;
  height: 22px;
}

.land-step strong {
  display: block;
  font-size: 1.0625rem;
}

.land-step span:last-child {
  color: var(--text-2);
}

@media (min-width: 720px) {
  .land-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .land-step {
    flex-direction: column;
  }
}

/* ── Home ────────────────────────────────────────────────────────────────────── */
.home-top {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}

.rel-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.rel-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.rel-card:hover {
  border-color: var(--line-strong);
  text-decoration: none;
}

.rel-accent {
  border-left-color: var(--accent);
}

.rel-amber {
  border-left-color: var(--amber);
}

.rel-green {
  border-left-color: var(--green);
}

.rel-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.rel-card-title {
  font-size: 1.0625rem;
  font-weight: 650;
}

.rel-card-meta {
  color: var(--text-3);
  font-size: 0.875rem;
}

.rel-card-next {
  color: var(--text-2);
  font-size: 0.9375rem;
}

.empty-line {
  margin-top: 12px;
  color: var(--text-2);
}

/* ── The editor ──────────────────────────────────────────────────────────────── */
.editor-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.editor-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.step {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  scroll-margin-top: 90px;
}

.step-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.step-no {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: var(--text);
  color: var(--bg);
  font-size: 0.9375rem;
  font-weight: 700;
}

.step-head h2 {
  font-size: 1.375rem;
}

.step-body {
  display: grid;
  gap: 18px;
}

.step-body .sub {
  margin-top: 8px;
  font-size: 1.0625rem;
}

.step-body .sub + .hint {
  margin-top: -12px;
}

.step-foot {
  padding: 8px 4px 0;
}

/* The checklist beside the steps (above them on a phone). */
.ready {
  order: -1;
  position: sticky;
  top: 10px;
  z-index: 5;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(24, 23, 28, 0.08);
}

.ready h2 {
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.ready-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ready-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 12px 4px 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.ready-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 0;
  border: 2px solid var(--line-strong);
  color: var(--accent-ink);
}

.ready-mark .ico {
  width: 14px;
  height: 14px;
}

.ready-item.is-done a {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.ready-item.is-done .ready-mark {
  border-color: var(--green);
  background: var(--green);
}

.ready-item.is-next a {
  border-color: var(--accent);
  color: var(--accent-text);
  background: var(--accent-soft);
}

.ready-note {
  color: var(--text-3);
  font-weight: 500;
}

@media (min-width: 960px) {
  .editor-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .ready {
    order: 0;
    top: 24px;
    padding: 16px;
  }
  .ready-list {
    flex-direction: column;
    gap: 4px;
  }
  .ready-item a {
    display: flex;
    min-height: 40px;
  }
  .ready-note {
    margin-left: auto;
    font-size: 0.8125rem;
  }
}

/* Drop zones: the whole thing is the button. */
.dz {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 18px 16px;
  border: 2px dashed var(--line-strong);
  border-radius: 0;
  background: var(--raise);
  color: var(--text-2);
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms, background 120ms;
}

.dz:hover,
.dz:focus-visible,
.slot.is-over .dz,
.dz.is-over {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.dz-big {
  padding: 34px 20px;
}

.dz-icon {
  width: 32px;
  height: 32px;
  color: var(--text-2);
}

.dz-big .dz-icon {
  width: 40px;
  height: 40px;
}

.dz-text {
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--text);
}

.dz-big .dz-text {
  font-size: 1.1875rem;
}

.dz-rules {
  font-size: 0.875rem;
  color: var(--text-3);
}

.dz-small .dz-text {
  font-size: 0.9375rem;
}

.slot-cover .dz-big {
  max-width: 420px;
}

.slot-cover .file-thumb {
  width: 160px;
  height: 160px;
}

.slot .files {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

/* Songs: one card each, like the ingest page's track cards. */
.songs {
  display: grid;
  gap: 14px;
}

.song {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--raise);
}

.song-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.song-no {
  flex: none;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.song-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.0625rem;
}

.song-tools {
  display: flex;
  gap: 4px;
}

.song-file {
  margin-bottom: 14px;
}

.song-file .slot {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.song-file .files {
  margin: 0;
}

.song .fields {
  gap: 14px;
}

.song .field-check {
  align-self: end;
}

.hint-fromfile {
  color: var(--text-3);
}

.song-more {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.song-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-text);
}

.song-more .hint {
  margin: 8px 0;
}

.song-loop {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.song-loop .file-thumb {
  width: 120px;
  height: 120px;
}

/* Big radio pills (release type). */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  min-height: 46px;
  padding: 8px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.pill[aria-pressed="true"] {
  border-color: var(--accent-fill);
  background: var(--accent-fill);
  color: var(--accent-ink);
}

.fields-links {
  gap: 14px;
}

/* Sending. */
.send {
  display: grid;
  gap: 16px;
}

.send .statement {
  display: grid;
  gap: 10px;
}

.send .checklist li {
  font-size: 1rem;
}

/* The read-only summary. */
.summary {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.summary-lyrics {
  margin-top: 8px;
}

.summary-lyrics summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-text);
}

.summary-lyrics .prose {
  margin-top: 8px;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .step {
    padding: 18px 14px;
  }
  .song .fields,
  .fields-links {
    grid-template-columns: 1fr;
  }
  .song-tools .btn {
    padding-inline: 8px;
  }
}

/* ── The acts row on Home, the report, the artist kit (2026-10) ───────────── */
.act-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.act-link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  min-height: 88px;
  transition: border-color 0.12s, box-shadow 0.12s;
}

.act-link:hover,
.act-link:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.act-link-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.act-link-icon .ico {
  width: 24px;
  height: 24px;
}

.act-link-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.act-link-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.act-link-text {
  color: var(--text-2);
  font-size: 0.9375rem;
}

.act-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.act-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.act-head h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
}

.act-head .lede {
  margin: 0;
}

.report,
.kit {
  max-width: 960px;
  margin: 0 auto;
}

.rep-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
}

.rep-actions {
  display: flex;
  gap: 8px;
}

.rep-window {
  margin: 0 0 16px;
}

.rep-part {
  margin: 28px 0 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.rep-part h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.rep-part > .hint {
  margin: 0 0 14px;
}

.rep-part h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
}

.rep-best {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 0;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}

.rep-best .ico {
  width: 18px;
  height: 18px;
}

.rep-week + .rep-week {
  margin-top: 8px;
}

.place-act {
  display: inline-block;
  font-weight: 700;
  margin-right: 10px;
}

.place-tracks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.place-track {
  padding: 2px 8px;
  border-radius: 0;
  background: var(--raise);
  color: var(--text-2);
  font-size: 0.875rem;
}

.rep-footer {
  margin: 24px 0 0;
}

/* The plays-by-day chart: SVG, scaled to its box. */
.chart {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
}

.chart .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart .axis {
  fill: var(--text-3);
  font-size: 12px;
  font-family: var(--font);
}

.chart .bar-on {
  fill: var(--text);
}

.chart .bar-on:hover {
  fill: var(--accent-fill-hover);
}

.chart .bar-off {
  fill: var(--line);
}

.chart-hours {
  max-height: 130px;
}

.where {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.where h3 {
  margin-top: 0;
}

/* The kit. */
.kit-title {
  margin: 18px 0 4px;
  font-size: 1.4rem;
}

.kit .lede {
  margin: 0 0 18px;
}

.kit-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.kit-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  overflow: hidden;
}

.kit-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(100deg, var(--raise) 30%, var(--line) 50%, var(--raise) 70%);
  background-size: 200% 100%;
  animation: kit-shimmer 1.4s linear infinite;
}

.kit-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s;
}

.kit-frame.loaded {
  animation: none;
  background: var(--raise);
}

.kit-frame.loaded img {
  opacity: 1;
}

.kit-frame.failed {
  animation: none;
  background: var(--raise);
  display: grid;
  place-items: center;
}

.kit-frame.failed img {
  display: none;
}

.kit-failed {
  margin: 0;
  padding: 16px;
  color: var(--text-2);
  text-align: center;
}

@keyframes kit-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.kit-body {
  padding: 16px;
}

.kit-body h2 {
  margin: 0 0 2px;
  font-size: 1.15rem;
}

.kit-body h3 {
  margin: 16px 0 8px;
  font-size: 0.9375rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kit-dls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.kit-dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.kit-dl-hint {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

.caption {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--raise);
}

.caption + .caption {
  margin-top: 8px;
}

.caption-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.caption .btn {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .rep-part {
    padding: 14px;
  }
}

@media print {
  .masthead,
  .colophon,
  .skip,
  .rep-tools,
  .back,
  .act-head select,
  #live {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .report {
    max-width: none;
  }
  .rep-part {
    break-inside: avoid;
    border-color: #ccc;
  }
  .chart .bar-on {
    fill: #333;
  }
  .cell-bar .bar {
    display: none;
  }
}

/* ── Landing page ───────────────────────────────────────────────────────────────
   The signed-out page is a product page: the covers on air behind the headline, what
   each station plays this minute, the numbers, three features. Monochrome; the type does
   the work; the only colour is the covers and the live dot. `body.landing-page` is set by
   the landing view and taken off when it leaves; the frame reads it so the hero can run
   under the masthead and out to the edges. */
body.landing-page {
  background: #000000;
  color: #f5f5f7;
}

body.landing-page .masthead {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  border-bottom: 0;
  background: transparent;
}

body.landing-page .wordmark {
  color: #ffffff;
}

body.landing-page .wordmark-sub {
  border-left-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.56);
}

body.landing-page .seg {
  border: 0;
  background: transparent;
  gap: 2px;
}

body.landing-page .seg-btn {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.62);
}

body.landing-page .seg-btn:hover {
  color: #ffffff;
}

body.landing-page .seg-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

body.landing-page main {
  max-width: none;
  padding: 0;
}

body.landing-page .colophon {
  border-top-color: #d2d2d7;
  background: #f5f5f7;
  color: #86868b;
}

body.landing-page .colophon .seg {
  display: none;
}

body.landing-page .skip:focus {
  z-index: 6;
}

.lp {
  --lp-bg: #000000;
  --lp-ink: #f5f5f7;
  --lp-ink-2: #a1a1a6;
  --lp-ink-3: #6e6e73;
  --lp-line: rgba(255, 255, 255, 0.16);
  --lp-light: #f5f5f7;
  --lp-light-ink: #1d1d1f;
  --lp-light-ink-2: #6e6e73;
  --lp-light-line: #d2d2d7;
  --lp-blue: #0071e3;
  --lp-live: #ef4444;
  --lp-font-display: -apple-system, "SF Pro Display", "Helvetica Neue", Helvetica,
    "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  overflow: hidden;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-font-display);
  -webkit-font-smoothing: antialiased;
}

.lp a {
  color: inherit;
}

.lp-h1,
.lp-h2,
.lp-h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.lp-h1 {
  font-size: clamp(44px, 7vw, 80px);
}

.lp-h2 {
  font-size: clamp(36px, 5vw, 56px);
}

.lp-h3 {
  font-size: clamp(28px, 3.4vw, 40px);
}

.lp-lede,
.lp-text {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  text-wrap: pretty;
}

.lp-eyebrow {
  margin: 0 0 18px;
  color: var(--lp-ink-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Hero: the covers, then the words ── */
.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  padding: 52svh var(--gutter) 88px;
  display: grid;
  align-content: end;
  justify-items: center;
  text-align: center;
}

/* The covers as a tilted wall across the whole hero, the way a streaming service shows its
   catalogue: oversized so the rotated corners never show, rows drifting against each other. */
.lp-wall {
  position: absolute;
  top: -30%;
  left: -25%;
  width: 150%;
  height: 160%;
  z-index: -2;
  display: grid;
  align-content: center;
  gap: 10px;
  transform: rotate(-12deg);
  transform-origin: 50% 50%;
  opacity: 0.8;
}

.lp-wall-row {
  display: flex;
  gap: 8px;
  width: max-content;
  will-change: transform;
  animation: lp-drift 140s linear infinite;
}

.lp-wall-row-b {
  animation-direction: reverse;
  animation-duration: 170s;
}

.lp-tile {
  display: block;
  width: clamp(104px, 9.5vw, 150px);
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  border-radius: 0;
  background: #1d1d1f;
}

.lp-tile-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes lp-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* The one gradient on the page: black into the covers, so the words sit on black. */
.lp-hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 72%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.92) 62%, #000000 86%);
}

.lp-hero-inner {
  width: 100%;
  max-width: 760px;
  display: grid;
  justify-items: center;
  gap: 0;
}

.lp-hero .lp-lede {
  max-width: 640px;
  margin: 22px 0 36px;
  color: var(--lp-ink-2);
}

.lp-hero .notice {
  width: 100%;
  max-width: 560px;
  margin-bottom: 24px;
}

/* The sign-in form on black: a white field and a white button, nothing else. */
.lp-form.land-form {
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--lp-ink);
  text-align: left;
}

.lp-form .field > .label,
.lp-form .field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lp-form .land-row {
  display: flex;
  gap: 10px;
}

.lp-form .land-row .field {
  flex: 1;
  margin: 0;
}

.lp-form .field input {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 17px;
}

.lp-form .field input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.lp-form .field input:focus,
.lp-form .field input:focus-visible {
  border-color: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.lp-form .btn-primary {
  min-height: 52px;
  padding: 0 24px;
  border-color: #ffffff;
  border-radius: 0;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 17px;
  box-shadow: none;
}

.lp-form .btn-primary:hover {
  border-color: #e8e8ed;
  background: #e8e8ed;
}

.lp-form .btn:not(.btn-primary) {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.lp-form .btn:not(.btn-primary):hover {
  background: rgba(255, 255, 255, 0.1);
}

.lp-form .hint,
.lp-form .lede,
.lp-form p {
  color: var(--lp-ink-2);
  text-align: center;
}

.lp-form .hint {
  margin-top: 14px;
  font-size: 14px;
}

/* "Use another address" under the sent notice: centred like the words above it. */
.lp-form .actions {
  justify-content: center;
  margin-top: 16px;
}

.lp-form h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-align: center;
}

.lp-form .address {
  color: #ffffff;
}

.lp-form .msg {
  text-align: left;
}

.lp-form .captcha {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* ── Live: what every station is playing, drifting left ── */
.lp-live {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  background: #000000;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.lp-live[hidden] {
  display: none;
}

.lp-live-track {
  display: flex;
  width: max-content;
  animation: lp-drift 90s linear infinite;
}

.lp-live:hover .lp-live-track {
  animation-play-state: paused;
}

.lp-live-group {
  display: flex;
  align-items: center;
  flex: none;
}

.lp-live-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 15px;
  white-space: nowrap;
}

.lp-live-thumb {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 0;
  object-fit: cover;
  background: #1d1d1f;
}

.lp-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lp-ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-live);
}

.lp-live-station {
  color: var(--lp-ink-2);
}

.lp-live-song {
  color: #ffffff;
  font-weight: 500;
}

/* ── Numbers: four figures, hairlines between ── */
.lp-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px var(--gutter);
}

.lp-number {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-left: 1px solid var(--lp-line);
  text-align: center;
}

.lp-number:first-child {
  border-left: 0;
}

.lp-num {
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lp-num-label {
  color: var(--lp-ink-2);
  font-size: 17px;
}

/* ── Feature bands: a centred headline, one visual ── */
.lp-band {
  padding: 128px var(--gutter);
}

.lp-band-light {
  background: var(--lp-light);
  color: var(--lp-light-ink);
}

.lp-band-dark {
  background: #000000;
  color: var(--lp-ink);
}

.lp-copy {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.lp-copy .lp-text {
  margin-top: 18px;
}

.lp-band-light .lp-copy .lp-text {
  color: var(--lp-light-ink-2);
}

.lp-band-dark .lp-copy .lp-text {
  color: var(--lp-ink-2);
}

.lp-visual {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* The three drawn visuals: flat, one rule weight, greys, one dark element each. */
.lp-mock {
  width: 100%;
  max-width: 560px;
  border-radius: 0;
  font-family: var(--lp-font-display);
}

.lp-mock-upload {
  padding: 22px;
  border: 1px solid var(--lp-light-line);
  background: #ffffff;
  color: var(--lp-light-ink);
}

.lp-mock-drop {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 36px 16px;
  border: 1px dashed #c7c7cc;
  border-radius: 0;
  color: var(--lp-light-ink-2);
  font-size: 15px;
  font-weight: 500;
}

.lp-mock-drop svg {
  width: 22px;
  height: 22px;
  color: var(--lp-light-ink);
}

.lp-mock-file {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 4px 0;
  border-top: 1px solid #e8e8ed;
}

.lp-mock-file-name {
  font-size: 15px;
  font-weight: 500;
}

.lp-mock-bar {
  grid-column: 1 / -1;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 0;
  background: #e8e8ed;
}

.lp-mock-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lp-light-ink);
}

.lp-mock-fill-100 {
  width: 100%;
}

.lp-mock-fill-64 {
  width: 64%;
  background: var(--lp-blue);
}

.lp-mock-done,
.lp-mock-pct {
  font-size: 13px;
  color: var(--lp-light-ink-2);
  font-variant-numeric: tabular-nums;
}

.lp-mock-done {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lp-mock-done svg {
  width: 13px;
  height: 13px;
}

.lp-mock-chart {
  padding: 24px 26px 22px;
  border: 1px solid var(--lp-line);
  background: #1d1d1f;
  color: var(--lp-ink);
}

.lp-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--lp-ink-2);
}

.lp-mock-head strong {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.lp-mock-svg {
  display: block;
  width: 100%;
  height: 120px;
}

.lp-mock-bar-svg {
  fill: #48484a;
}

.lp-mock-bar-hi {
  fill: var(--lp-blue);
}

.lp-mock-best {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--lp-line);
  width: 100%;
  font-size: 14px;
  color: var(--lp-ink-2);
}

.lp-mock-best svg {
  width: 14px;
  height: 14px;
  color: #ffffff;
}

.lp-mock-kit {
  max-width: 400px;
}

.lp-mock-card {
  display: grid;
  gap: 0;
  padding: 28px;
  border-radius: 0;
  background: #1d1d1f;
  color: #f5f5f7;
}

.lp-mock-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0;
  background: #2c2c2e;
}

.lp-mock-art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-mock-rule {
  display: block;
  width: 40px;
  height: 2px;
  margin: 22px 0 14px;
  background: #ffffff;
}

.lp-mock-kit-title {
  overflow: hidden;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-mock-kit-artist {
  margin-top: 4px;
  color: var(--lp-ink-2);
  font-size: 15px;
}

.lp-mock-kit-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--lp-ink-2);
}

.lp-mock-kit-foot b {
  color: #ffffff;
  font-weight: 700;
}

.lp-mock-kit-foot i {
  font-style: normal;
}

/* ── The rule: one short paragraph ── */
.lp-rule .lp-copy {
  margin-bottom: 0;
}

/* ── Closing: one more email box ── */
.lp-cta {
  padding: 128px var(--gutter);
  background: #ffffff;
  color: var(--lp-light-ink);
  text-align: center;
}

.lp-cta .lp-copy {
  margin-bottom: 36px;
}

.lp-cta-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.lp-cta-input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--lp-light-line);
  border-radius: 0;
  background: #ffffff;
  color: var(--lp-light-ink);
  font: inherit;
  font-size: 17px;
}

.lp-cta-input:focus-visible {
  border-color: var(--lp-blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
}

.lp-cta-btn.btn {
  min-height: 52px;
  padding: 0 24px;
  border-color: #1d1d1f;
  border-radius: 0;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 17px;
  box-shadow: none;
}

.lp-cta-btn.btn:hover {
  border-color: #000000;
  background: #000000;
}

/* ── Footer ── */
.lp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--lp-light-line);
  background: var(--lp-light);
  color: var(--lp-light-ink-2);
  font-size: 13px;
}

.lp-foot-mark {
  color: var(--lp-light-ink);
  font-size: 17px;
  letter-spacing: -0.01em;
}

.lp-foot-mark b {
  font-weight: 700;
}

.lp-foot-link {
  color: var(--lp-blue);
  text-decoration: none;
}

.lp-foot-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .lp-numbers {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
    padding: 72px var(--gutter);
  }

  .lp-number:nth-child(3) {
    border-left: 0;
  }

  .lp-band,
  .lp-cta {
    padding: 88px var(--gutter);
  }
}

@media (max-width: 640px) {
  .lp-hero {
    min-height: 100svh;
    padding: 46svh var(--gutter) 48px;
  }

  .lp-hero-fade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 16%, rgba(0, 0, 0, 0.78) 32%, rgba(0, 0, 0, 0.94) 50%, #000000 68%);
  }

  .lp-wall {
    top: -20%;
    left: -40%;
    width: 180%;
    height: 120%;
    transform: rotate(-14deg);
  }

  .lp-tile {
    width: 104px;
  }

  .lp-wall {
    opacity: 0.8;
  }

  .lp-form .land-row {
    flex-direction: column;
  }

  .lp-form .btn-primary {
    width: 100%;
  }

  .lp-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .lp-num-label {
    font-size: 15px;
  }

  .lp-band,
  .lp-cta {
    padding: 72px var(--gutter);
  }

  .lp-copy {
    margin-bottom: 36px;
  }

  .lp-cta-form {
    flex-direction: column;
  }

  .lp-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-wall-row,
  .lp-live-track {
    animation: none;
  }
}

/* ── Signed-in home: a black band with the name and what is on air ── */
.home-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  padding: 28px 32px;
  border-radius: 0;
  background: #1d1d1f;
  color: #f5f5f7;
}

.home-band-words {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-band-name {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.home-band-sub {
  color: #a1a1a6;
  font-size: 15px;
}

.home-band-side {
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: none;
}

.home-band-side[hidden] {
  display: none;
}

.home-band-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a1a1a6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-band-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}

.home-band-thumbs {
  display: flex;
}

.home-band-thumb {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 0;
  background: #2c2c2e;
}

.home-band-thumb + .home-band-thumb {
  margin-left: 6px;
}

.home-band-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .home-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .home-band-side {
    justify-items: start;
  }
}

/* ── The static article for readers without script (crawlers, agents) ───────────── */
html.js .static { display: none; }
.static { max-width: 640px; margin: 48px auto; padding: 0 16px; line-height: 1.5; }
.static h1 { font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 16px; }
.static h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.static-eyebrow { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #86868b; margin: 0; }
.static ol { padding-left: 1.2em; }
.static li { margin: 6px 0; }
