:root {
  color-scheme: dark;
  --bg: #081011;
  --panel: #101a1b;
  --panel-2: #142325;
  --text: #edf7f4;
  --muted: #91a6a2;
  --line: rgba(206, 238, 228, 0.16);
  --accent: #64e3c2;
  --accent-2: #f0c66e;
  --danger: #ff8770;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --content-width: 1180px;
  --topbar-offset: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(100, 227, 194, 0.12), transparent 34rem),
    linear-gradient(135deg, #081011 0%, #0b1517 48%, #111816 100%);
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

body.has-lab-player {
  padding-bottom: 120px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(8, 16, 17, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(100, 227, 194, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.lang-button {
  min-width: 54px;
  min-height: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-button.active {
  border-color: rgba(100, 227, 194, 0.62);
  background: rgba(100, 227, 194, 0.14);
  color: var(--text);
}

.lang-button {
  flex: 0 0 auto;
}

.hero,
.section {
  width: min(var(--content-width), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  padding: 72px 0 52px;
}

.hero-copy,
.mission-panel,
.section {
  border: 1px solid var(--line);
  background: rgba(16, 26, 27, 0.78);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 5vw, 56px);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.hero-text,
.section-heading p,
.split-section p {
  color: var(--muted);
  max-width: 720px;
}

.hero-actions,
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.player-entry-section {
  padding: 0;
  overflow: hidden;
}

.player-entry-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(100, 227, 194, 0.14);
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.04), transparent 45%),
    rgba(16, 26, 27, 0.7);
}

.player-entry-heading {
  margin-bottom: 0;
}

.player-entry-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 34px);
}

.player-entry-heading p {
  max-width: 760px;
}

.player-entry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.player-entry-actions .primary-button,
.player-entry-actions .secondary-button {
  min-width: 160px;
}

.primary-button,
.secondary-button,
.ghost-button,
.chip,
.close-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--accent);
  border-color: var(--accent);
  color: #06211c;
  font-weight: 800;
}

.secondary-button,
.ghost-button,
.chip {
  min-height: 40px;
  padding: 9px 14px;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(100, 227, 194, 0.66);
}

.mission-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.signal-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.wave-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 128px;
  padding: 20px 0;
}

.wave-strip span {
  display: block;
  height: 44px;
  background: linear-gradient(180deg, var(--accent), rgba(100, 227, 194, 0.1));
}

.wave-strip span:nth-child(2) { height: 82px; background: linear-gradient(180deg, var(--accent-2), rgba(240, 198, 110, 0.1)); }
.wave-strip span:nth-child(3) { height: 58px; }
.wave-strip span:nth-child(4) { height: 112px; }
.wave-strip span:nth-child(5) { height: 72px; background: linear-gradient(180deg, #8db7ff, rgba(141, 183, 255, 0.08)); }
.wave-strip span:nth-child(6) { height: 96px; }

.stats-grid {
  display: grid;
  gap: 12px;
  margin: 0;
}

.stats-grid div,
.identity-card dl div,
.protocol-steps div,
.sound-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.stats-grid div {
  padding: 14px;
}

dt {
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.section {
  padding: 34px;
  margin-bottom: 28px;
}

.audio-only-section {
  background:
    radial-gradient(circle at top right, rgba(100, 227, 194, 0.1), transparent 28rem),
    rgba(14, 24, 25, 0.92);
}

.audio-only-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 20px;
  align-items: start;
}

.audio-only-copy,
.audio-only-rack {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
}

.audio-only-copy {
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.06), transparent 24%),
    rgba(255, 255, 255, 0.03);
}

.audio-only-copy h2 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  margin-bottom: 18px;
}

.audio-only-copy > p {
  max-width: 26ch;
  font-size: 18px;
  line-height: 1.72;
}

.audio-only-lead-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 22px;
}

.audio-lead-card {
  border: 1px solid rgba(100, 227, 194, 0.18);
  background: rgba(100, 227, 194, 0.05);
  padding: 14px;
}

.audio-lead-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.audio-lead-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
}

.audio-only-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.audio-only-audience span,
.audio-status {
  border: 1px solid rgba(100, 227, 194, 0.28);
  background: rgba(100, 227, 194, 0.07);
  color: var(--accent);
  padding: 4px 8px;
  font-size: 12px;
}

.audio-only-notes {
  display: grid;
  gap: 12px;
}

.audio-only-notes div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
}

.audio-only-notes strong {
  display: block;
  margin-bottom: 6px;
}

.audio-only-notes p,
.audio-location,
.audio-meta {
  margin-bottom: 0;
  color: var(--muted);
}

.audio-rack-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.audio-rack-head p {
  margin-bottom: 0;
}

.audio-rack-head span {
  color: var(--muted);
  font-size: 12px;
}

.audio-only-list {
  display: grid;
  gap: 12px;
}

.audio-only-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.audio-only-card.ready {
  border-color: rgba(100, 227, 194, 0.24);
}

.audio-only-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.audio-coreid {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  word-break: break-word;
}

.audio-only-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.audio-meta {
  font-size: 13px;
}

.audio-only-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.audio-only-actions button[disabled] {
  cursor: default;
  opacity: 0.56;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.chip.active {
  background: rgba(100, 227, 194, 0.15);
  border-color: var(--accent);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sound-card {
  padding: 16px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.sound-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.card-coreid {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-thumb {
  width: 100%;
  height: 80px;
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  border-radius: 2px;
}

.sound-card h3 {
  min-height: 48px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 3px 7px;
  font-size: 12px;
}

.sound-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.sound-card-actions button {
  min-width: 0;
}

.audio-only-actions button {
  min-width: 0;
}

.archive-footer,
.audio-rack-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(206, 238, 228, 0.1);
}

.archive-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-more-btn {
  min-height: 36px;
  padding: 7px 14px;
  white-space: nowrap;
}

.archive-index-panel {
  margin-top: 16px;
  border: 1px solid rgba(206, 238, 228, 0.12);
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.04), transparent 30%),
    rgba(9, 17, 18, 0.68);
  padding: 16px;
}

.archive-index-panel[hidden] {
  display: none;
}

.archive-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.archive-index-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-index-list {
  display: grid;
  gap: 10px;
}

.archive-index-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(206, 238, 228, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.archive-index-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.archive-index-copy strong {
  overflow-wrap: anywhere;
}

.archive-index-meta {
  color: var(--muted);
  font-size: 12px;
}

.archive-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.archive-index-actions button {
  min-width: 0;
}

.archive-directory-section {
  padding-top: 0;
}

.archive-directory-shell {
  border: 1px solid rgba(206, 238, 228, 0.12);
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.06), transparent 24%),
    rgba(9, 17, 18, 0.68);
  padding: 24px;
}

.archive-directory-heading {
  margin-bottom: 18px;
}

.directory-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.directory-tab {
  border: 1px solid rgba(206, 238, 228, 0.18);
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.directory-tab.active,
.directory-tab[aria-selected="true"] {
  color: var(--accent-2);
  border-color: rgba(100, 227, 194, 0.4);
  background: rgba(100, 227, 194, 0.08);
}

.directory-panel {
  display: grid;
  gap: 14px;
}

.directory-panel[hidden] {
  display: none;
}

.directory-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(206, 238, 228, 0.1);
}

.directory-count,
.directory-note {
  margin: 0;
}

.directory-count {
  font-size: 13px;
  color: var(--text);
}

.directory-note {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.directory-list {
  gap: 12px;
}

.directory-index-item {
  background:
    linear-gradient(90deg, rgba(100, 227, 194, 0.04), transparent 44%),
    rgba(255, 255, 255, 0.02);
}

.directory-empty {
  padding: 18px;
  border: 1px dashed rgba(206, 238, 228, 0.16);
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.protocol-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.protocol-steps div {
  padding: 18px;
}

.protocol-steps span {
  color: var(--accent-2);
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
}

.protocol-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.wish-form,
.upload-form,
.feedback-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
  padding: 11px 12px;
  outline: none;
}

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

.wide,
.checkbox-label {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-label input {
  width: auto;
}

.wish-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.wish-item {
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.site-utility {
  width: min(var(--content-width), calc(100% - 36px));
  margin: 0 auto 42px;
  border-top: 1px solid rgba(206, 238, 228, 0.08);
  padding-top: 14px;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 0;
  flex-wrap: wrap;
}

.utility-copy {
  display: grid;
  gap: 4px;
}

.utility-label {
  margin: 0;
  color: rgba(145, 166, 162, 0.84);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utility-text {
  margin: 0;
  color: rgba(145, 166, 162, 0.72);
  font-size: 13px;
}

.utility-button {
  min-height: 34px;
  padding: 6px 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.62;
  letter-spacing: 0.04em;
  margin-left: auto;
}

.utility-button:hover {
  opacity: 1;
}

.upload-section {
  position: relative;
  overflow: hidden;
}

.upload-section::after {
  content: "";
  position: absolute;
  inset: auto 34px 34px auto;
  width: 240px;
  height: 240px;
  background:
    linear-gradient(90deg, rgba(100, 227, 194, 0.28) 1px, transparent 1px),
    linear-gradient(0deg, rgba(100, 227, 194, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.26;
  pointer-events: none;
}

.cocreation-section {
  background:
    linear-gradient(180deg, rgba(14, 25, 25, 0.96), rgba(10, 19, 20, 0.92)),
    linear-gradient(90deg, rgba(100, 227, 194, 0.04), transparent 32%, transparent 68%, rgba(100, 227, 194, 0.04));
  padding-top: 34px;
}

.cocreation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: end;
  gap: 20px 28px;
  padding-top: 12px;
  margin-bottom: 28px;
}

.cocreation-heading > div:first-child {
  max-width: 720px;
}

.cocreation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  align-self: end;
}

.cocreation-meta span,
.panel-code,
.path-card,
.task-card,
.submission-status,
.consent-block {
  border: 1px solid rgba(100, 227, 194, 0.2);
  background: rgba(12, 21, 22, 0.82);
}

.cocreation-meta span,
.panel-code span,
.brief-title,
.consent-title,
.status-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cocreation-meta span {
  padding: 8px 10px;
}

.cocreation-intro,
.cocreation-console {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.cocreation-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px 26px 26px;
  border: 1px solid rgba(100, 227, 194, 0.18);
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.05), transparent 34%),
    rgba(10, 18, 19, 0.72);
}

.cocreation-copy p {
  margin: 0;
  color: rgba(237, 247, 244, 0.8);
  max-width: none;
  font-size: 15px;
  line-height: 1.95;
}

.cocreation-brief,
.cocreation-panel,
.task-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.cocreation-brief::before,
.cocreation-panel::before,
.task-card::before,
.submission-status::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(100, 227, 194, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(100, 227, 194, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.34;
  pointer-events: none;
}

.cocreation-brief > *,
.cocreation-panel > *,
.task-card > *,
.submission-status > * {
  position: relative;
  z-index: 1;
}

.cocreation-brief ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.cocreation-brief {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
}

.brief-title {
  margin: 0;
}

.status-matrix {
  margin-top: 0;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.matrix-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(100, 227, 194, 0.18);
  background: rgba(100, 227, 194, 0.04);
}

.matrix-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1px solid rgba(100, 227, 194, 0.28);
  background: rgba(100, 227, 194, 0.08);
}

.matrix-item strong {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.matrix-item.active {
  border-color: rgba(100, 227, 194, 0.4);
  background: rgba(100, 227, 194, 0.08);
}

.matrix-item.active .matrix-dot {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(100, 227, 194, 0.28);
}

.matrix-item.active strong {
  color: var(--text);
}

.cocreation-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 18px;
}

.path-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  min-height: 100%;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.path-card strong {
  color: var(--text);
  font-size: 20px;
}

.path-card.active,
.path-card:hover {
  border-color: rgba(100, 227, 194, 0.56);
  background: rgba(17, 35, 34, 0.92);
  transform: translateY(-1px);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.panel-head h3 {
  margin-top: 8px;
}

.panel-code {
  min-width: 180px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.panel-code strong {
  font-size: 20px;
  color: var(--text);
}

.cocreation-form {
  position: relative;
  z-index: 1;
}

.consent-block {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.consent-title {
  margin: 0 0 4px;
}

.cocreation-sidebar {
  display: grid;
  gap: 14px;
}

.task-card {
  display: grid;
  gap: 8px;
}

.task-card strong {
  font-size: 20px;
}

.task-card span {
  color: var(--muted);
}

.submission-status {
  position: relative;
  margin-top: 16px;
  padding: 18px;
}

.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(100, 227, 194, 0.44);
  color: var(--accent);
  background: rgba(100, 227, 194, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.status-grid div {
  display: grid;
  gap: 4px;
}

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

.geo-hero {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 68vh, 820px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #020606;
}

.geo-slider {
  position: absolute;
  inset: 0;
  min-width: 1900px;
  left: 50%;
  transform: translateX(-50%);
}

.geo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1200ms ease, transform 5200ms ease;
}

.geo-slide.active {
  opacity: 1;
  transform: scale(1);
}

.geo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 8, 9, 0.8), rgba(3, 8, 9, 0.28) 44%, rgba(3, 8, 9, 0.72)),
    linear-gradient(0deg, rgba(3, 8, 9, 0.66), transparent 45%);
}

.geo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.08);
}

.geo-slide figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 4vw, 64px);
  bottom: clamp(28px, 8vh, 90px);
  display: grid;
  gap: 8px;
  color: var(--text);
}

.geo-slide figcaption span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.geo-slide figcaption strong {
  font-size: clamp(24px, 4vw, 54px);
  line-height: 1.08;
}

.geo-hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 36px));
  padding: clamp(86px, 13vh, 156px) 0 0 clamp(18px, 4vw, 64px);
}

.geo-hero-copy h2 {
  font-size: clamp(42px, 7vw, 92px);
  margin-bottom: 16px;
}

.geo-hero-copy p:not(.eyebrow) {
  color: rgba(237, 247, 244, 0.78);
  max-width: 620px;
}

.sound-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 14px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.sound-dialog[hidden] { display: none; }

.dialog-shell {
  position: relative;
  width: min(1100px, 100%);
  max-height: 92vh;
  padding: 26px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: rgba(16, 26, 27, 0.95);
  box-shadow: var(--shadow);
}

.dialog-shell h2 {
  font-size: clamp(18px, 4.5vw, 32px);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.dialog-shell h3 {
  word-break: break-word;
}

.close-button {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  font-size: 24px;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  padding-right: 42px;
  min-width: 0;
}

.sound-visual {
  display: grid;
  grid-template-columns: repeat(112, minmax(1px, 1fr));
  gap: 1px;
  align-items: end;
  position: relative;
  min-height: 104px;
  margin: 18px 0;
  border: 1px solid var(--line);
  padding: 22px 12px 18px;
}

.sound-visual::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 18px;
  left: 12px;
  height: 1px;
  background: rgba(237, 247, 244, 0.18);
}

.sound-visual span {
  display: block;
  height: var(--bar-height);
  background: linear-gradient(180deg, rgba(100, 227, 194, 0.95), rgba(100, 227, 194, 0.08));
}

#videoPlayer {
  width: 100%;
  max-height: 420px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: #000;
}

.identity-card {
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.identity-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.identity-card dl div {
  padding: 10px;
}

.copyright-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.copyright-divider::before,
.copyright-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.copyright-divider span {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.copyright-row dt {
  color: var(--accent-2);
  opacity: 0.8;
}

.copyright-row {
  border-color: rgba(240, 198, 110, 0.18) !important;
  background: rgba(240, 198, 110, 0.04) !important;
}

.feedback-area {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.feedback-form {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.report-box {
  margin-top: 18px;
  border: 1px solid rgba(100, 227, 194, 0.42);
  background: rgba(100, 227, 194, 0.1);
  padding: 18px;
}

/* ── Section scroll anchors ──────────────────────────────────────────────── */
#archive, #audio-only, #co-creation, #upload, #geo, #protocol, #wishpool {
  scroll-margin-top: var(--topbar-offset);
}

.upload-section {
  margin-top: 32px;
}

/* ── Video preview controls ─────────────────────────────────────────────── */
.step3-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.video-preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.video-preview-timer {
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.video-pause-btn {
  padding: 6px 14px;
  font-size: 13px;
}

/* ── Video preview notice ────────────────────────────────────────────────── */
.video-preview-notice {
  padding: 16px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: rgba(100, 227, 194, 0.08);
  text-align: center;
}

.video-preview-notice p { margin: 4px 0; }

.video-preview-notice .scroll-cta {
  color: var(--accent);
  font-weight: 600;
  margin-top: 8px;
  font-size: 14px;
}

/* ── Sound Lab Player ───────────────────────────────────────────────────── */
.version-picker {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 8, 9, 0.72);
  backdrop-filter: blur(12px);
}

.version-picker[hidden] { display: none; }

.version-picker-panel {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(100, 227, 194, 0.04) 1px, transparent 1px),
    rgba(11, 20, 21, 0.98);
  background-size: 100% 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.version-picker-panel h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.version-picker-sub,
.version-picker-message {
  color: var(--muted);
  margin: 0 0 18px;
}

.version-picker-message {
  min-height: 24px;
  color: var(--accent-2);
  font-weight: 700;
}

.version-options {
  display: grid;
  gap: 10px;
}

.version-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 14px;
  text-align: left;
  cursor: pointer;
}

.version-option:hover {
  border-color: rgba(100, 227, 194, 0.55);
  background: rgba(100, 227, 194, 0.08);
}

.version-option span {
  color: var(--accent);
  font-weight: 800;
}

.version-option small {
  color: var(--muted);
}

.version-cancel {
  margin-top: 8px;
}

.lab-player {
  position: fixed;
  right: 50%;
  bottom: 18px;
  left: auto;
  width: min(1220px, calc(100% - 56px));
  transform: translateX(50%);
  z-index: 900;
  border: 1px solid rgba(100, 227, 194, 0.28);
  background:
    linear-gradient(90deg, rgba(100, 227, 194, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(100, 227, 194, 0.04) 1px, transparent 1px),
    rgba(7, 15, 16, 0.96);
  background-size: 32px 32px, 100% 12px, auto;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(16px);
}

.lab-player[hidden] { display: none; }

.lab-mini {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(170px, 0.38fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px 10px;
}

.lab-suspend-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
}

.lab-suspend-btn:hover,
.lab-close-btn:hover {
  border-color: rgba(255, 135, 112, 0.55);
  color: var(--danger);
}

.lab-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(100, 227, 194, 0.55);
  border-radius: 50%;
  background: rgba(100, 227, 194, 0.12);
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(100, 227, 194, 0.12) inset;
}

.lab-kicker {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lab-title {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.lab-meta span,
.lab-scope-meta span {
  border: 1px solid var(--line);
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.025);
}

.lab-progress-wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.lab-progress {
  height: 3px;
  background: rgba(237, 247, 244, 0.13);
}

.lab-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 120ms linear;
}

.lab-queue-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 108px;
  border: 1px solid rgba(100, 227, 194, 0.32);
  background: rgba(100, 227, 194, 0.055);
  color: var(--text);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.lab-queue-button:hover {
  border-color: rgba(100, 227, 194, 0.56);
  background: rgba(100, 227, 194, 0.09);
}

.lab-queue-button span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.lab-queue-button small {
  color: var(--muted);
  font-size: 11px;
}

.lab-next {
  grid-column: 2 / -1;
  margin: 0;
  overflow: hidden;
  color: rgba(145, 166, 162, 0.86);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-expanded {
  border-top: 1px solid var(--line);
  padding: 16px 16px 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(100, 227, 194, 0.08), transparent 30%),
    rgba(6, 14, 15, 0.54);
}

.lab-expanded[hidden] { display: none; }

.lab-expanded-head,
.lab-scope-meta,
.lab-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.lab-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  border: 1px solid rgba(100, 227, 194, 0.38);
  background: rgba(7, 15, 16, 0.96);
  color: var(--accent);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.35);
}

.lab-dock[hidden] { display: none; }

.lab-expanded-head h3 {
  margin: 0;
  font-size: 22px;
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.58fr) minmax(290px, 0.9fr);
  gap: 12px;
  margin-top: 12px;
  min-width: 0;
}

.lab-grid-ref {
  align-items: stretch;
}

.lab-identity-panel,
.lab-center-panel,
.lab-side-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.035), transparent 42%),
    rgba(255, 255, 255, 0.025);
  min-width: 0;
}

.lab-identity-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.lab-identity-panel h4 {
  margin: 0;
  max-width: 5.4em;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.lab-identity-location,
.lab-identity-meta {
  margin: 0;
  color: var(--muted);
}

.lab-map {
  position: relative;
  min-height: 240px;
  border: 1px solid rgba(100, 227, 194, 0.28);
  background:
    radial-gradient(circle at 50% 50%, rgba(100, 227, 194, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(20, 44, 45, 0.96), rgba(8, 16, 17, 0.98));
  background-size: cover;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.lab-map::before,
.lab-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lab-map::before {
  background:
    radial-gradient(circle at 52% 48%, rgba(100, 227, 194, 0.8), transparent 6px),
    radial-gradient(circle at 48% 52%, rgba(100, 227, 194, 0.18), transparent 38%);
  mix-blend-mode: screen;
}

.lab-map::after {
  background:
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%),
    repeating-linear-gradient(90deg, rgba(100, 227, 194, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(100, 227, 194, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.45;
}

.lab-center-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.lab-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lab-center-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lab-track-copy h4 {
  margin: 0 0 8px;
  max-width: 8.8em;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.lab-progress-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.lab-progress-line .lab-progress {
  flex: 1;
}

.lab-sidebar {
  display: grid;
  gap: 12px;
}

.lab-side-card {
  padding: 14px;
}

.lab-philosophy-panel h4 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05;
}

.lab-philosophy-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lab-scope,
.lab-queue {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.035), transparent 38%),
    rgba(255, 255, 255, 0.025);
  padding: 12px;
  min-width: 0;
}

.lab-center-panel.lab-scope {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(100, 227, 194, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.lab-visual {
  margin: 0 0 10px;
}

.lab-scope-meta {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

#labModeBadge {
  border-color: rgba(100, 227, 194, 0.42);
  color: var(--accent);
}

.lab-media video {
  width: 100%;
  max-height: 220px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #000;
}

.lab-queue-head {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.lab-queue-head p {
  margin: 0;
}

.lab-queue-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.lab-queue-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.lab-queue-item.active {
  border-color: rgba(100, 227, 194, 0.65);
  background: rgba(100, 227, 194, 0.08);
}

.lab-queue-item span {
  grid-row: span 2;
  color: var(--accent-2);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lab-queue-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-queue-item small {
  color: var(--muted);
}

@media (max-width: 980px) {
  :root {
    --topbar-offset: 116px;
  }

  .hero,
  .split-section,
  .audio-only-shell,
  .cocreation-intro,
  .cocreation-console,
  .dialog-layout,
  .playing-layout,
  .step4-layout {
    grid-template-columns: 1fr;
  }

  .scale-ends { width: 180px; }
  .step4-guide { display: none; }

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

  .audio-only-lead-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audio-only-copy > p {
    max-width: none;
  }

  .cocreation-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cocreation-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .utility-inner {
    justify-content: flex-start;
  }

  .utility-button {
    margin-left: 0;
  }

  .cocreation-heading {
    grid-template-columns: 1fr;
  }

  .cocreation-heading > div:first-child {
    max-width: none;
  }

  .player-entry-shell {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .player-entry-actions {
    justify-content: flex-start;
  }

  .lab-player {
    width: min(900px, calc(100% - 36px));
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-queue-list {
    max-height: 220px;
  }

  .lab-expanded {
    max-height: 70vh;
    overflow-y: auto;
  }

  .dialog-layout {
    padding-right: 0;
  }

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

@media (max-width: 680px) {
  .archive-grid,
  .audio-only-lead-grid,
  .cocreation-paths,
  .cocreation-sidebar,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .utility-inner {
    gap: 10px;
  }

  .utility-copy {
    max-width: 100%;
  }

  .utility-button {
    width: 100%;
  }

  .lab-player {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .lab-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ── Entry Card (T1) ────────────────────────────────────────────────────── */
.entry-card {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -32px 80px rgba(0, 0, 0, 0.6);
}

.entry-card.visible { transform: translateY(0); }

.entry-card-inner {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 26px;
  position: relative;
}

.entry-skip {
  position: absolute;
  top: 22px; right: 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
}

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

.entry-title {
  margin: 6px 0 18px;
  font-size: 18px;
}

.entry-form {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.entry-form .chip-question { min-width: 220px; flex: 1; }

.entry-privacy {
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 0;
}

.entry-actions { margin-top: 16px; }

/* ── Chip form (fchip system) ────────────────────────────────────────────── */
.chip-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chip-question { display: flex; flex-direction: column; gap: 8px; }
.chip-question.wide { grid-column: 1 / -1; }
.chip-label {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 100ms ease;
  white-space: nowrap;
}

.fchip:hover {
  border-color: rgba(100, 227, 194, 0.4);
  color: var(--text);
  transform: translateY(-1px);
}

.fchip.selected {
  border-color: var(--accent);
  background: rgba(100, 227, 194, 0.12);
  color: var(--text);
}

/* ── Scale dots ──────────────────────────────────────────────────────────── */
.scale-question { display: flex; flex-direction: column; gap: 8px; }

.scale-dots {
  display: flex;
  gap: 8px;
}

.sdot {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.sdot:hover { border-color: rgba(100, 227, 194, 0.4); color: var(--text); }
.sdot.selected {
  border-color: var(--accent);
  background: rgba(100, 227, 194, 0.14);
  color: var(--accent);
}

.scale-val {
  color: var(--accent);
  font-weight: 800;
  margin-left: 6px;
}

/* ── Step progress bar ───────────────────────────────────────────────────── */
.step-progress {
  margin-bottom: 28px;
  padding-right: 42px;
  min-width: 0;
}

.step-bar-track {
  height: 2px;
  background: var(--line);
  margin-bottom: 14px;
  position: relative;
}

.step-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.step-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.step-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  transition: color 300ms ease;
  position: relative;
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.step-label::before {
  content: "";
  display: block;
  width: 7px; height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  margin: 0 auto 5px;
  background: var(--bg);
  transition: background 300ms ease;
}

.step-label.active { color: var(--accent); }
.step-label.active::before { background: var(--accent); }
.step-label.done { color: rgba(100, 227, 194, 0.45); }
.step-label.done::before { background: rgba(100, 227, 194, 0.3); }

/* ── Step panels ─────────────────────────────────────────────────────────── */
.step-panel.hidden { display: none; }

.step-header { margin-bottom: 22px; }
.step-header h3 { margin-bottom: 4px; }
.step-sub { color: var(--muted); font-size: 14px; margin: 0; }

.step-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-hint-text { color: var(--muted); font-size: 13px; margin-right: auto; }

/* ── Step 3: Playing state ───────────────────────────────────────────────── */
.playing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 0 32px;
  text-align: center;
}

.playing-title {
  font-size: clamp(22px, 4vw, 40px);
  margin: 0;
}

.sound-visual.playing {
  width: 100%;
  max-width: 480px;
}

.play-timer {
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
}

.play-status-text {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ── Step 5: T3 section ──────────────────────────────────────────────────── */
.t3-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.t3-header { margin-bottom: 22px; }
.t3-header h3 { margin-bottom: 4px; }

.seed-counter {
  text-align: center;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 0;
}

/* ── Sound card badges ───────────────────────────────────────────────────── */
.real-badge {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(100, 227, 194, 0.4);
  padding: 2px 7px;
  white-space: nowrap;
}

.placeholder-badge {
  color: var(--muted);
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 2px 7px;
  white-space: nowrap;
}

.card-location { color: var(--muted); font-size: 13px; margin: 0; }
.card-coreid { font-size: 11px; color: var(--muted); }

/* ── Copyright rows in identity card ─────────────────────────────────────── */
.copyright-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 !important;
  border: none !important;
  background: none !important;
}

.copyright-divider::before,
.copyright-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.copyright-divider span {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.copyright-row { border-color: rgba(240, 198, 110, 0.18) !important; background: rgba(240, 198, 110, 0.04) !important; }
.copyright-row dt { color: var(--accent-2) !important; opacity: 0.8; }

.sound-visual span {
  display: block;
  justify-self: center;
  width: 1px;
  height: var(--bar-height);
  min-height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(220, 255, 247, 0.9), rgba(100, 227, 194, 0.46));
  box-shadow: 0 0 5px rgba(100, 227, 194, 0.1);
  transform-origin: bottom;
  transition: height 70ms linear, opacity 70ms linear;
  opacity: 0.72;
}

.sound-visual.is-playing span {
  background: linear-gradient(180deg, rgba(238, 255, 251, 0.96), rgba(100, 227, 194, 0.64));
  box-shadow: 0 0 7px rgba(100, 227, 194, 0.14);
}

/* ── Scale label row ──────────────────────────────────────────────────────── */
.scale-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.scale-ends {
  display: flex;
  justify-content: space-between;
  width: 230px;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.7;
}

/* ── Step 1 detail-meta ───────────────────────────────────────────────────── */
.detail-meta {
  margin: 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.meta-key {
  color: var(--muted);
  white-space: nowrap;
  min-width: 56px;
  font-size: 12px;
  padding-top: 2px;
}

.meta-val { color: var(--text); }
.meta-val.muted { color: var(--muted); }

.detail-meta-row .tag-row { flex: 1; }

.use-tag {
  display: inline-flex;
  padding: 2px 8px;
  border: 1px solid rgba(240, 198, 110, 0.35);
  color: var(--accent-2);
  font-size: 12px;
  margin-right: 4px;
}

/* ── Step 3 playing layout ────────────────────────────────────────────────── */
.playing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.playing-video { display: flex; flex-direction: column; justify-content: center; }
.playing-video video {
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
  display: block;
}

/* ── Step 4 two-column layout ─────────────────────────────────────────────── */
.step4-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.step4-left { display: flex; flex-direction: column; min-width: 0; }

.step4-guide {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 0;
}

.guide-listened {
  border: 1px solid var(--line);
  background: rgba(100, 227, 194, 0.06);
  padding: 18px;
  text-align: center;
}

.guide-label { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.guide-time {
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.guide-tip {
  border: 1px solid var(--line);
  padding: 16px;
  background: rgba(255,255,255,0.025);
}

.guide-tip-title {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  margin: 0 0 10px;
}

.guide-tip ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.guide-sound {
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(255,255,255,0.025);
}

.guide-sound-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
}

.guide-reward {
  border: 1px solid rgba(240, 198, 110, 0.3);
  background: rgba(240, 198, 110, 0.06);
  padding: 16px;
  text-align: center;
  color: var(--accent-2);
  font-size: 13px;
  line-height: 1.7;
}

.guide-reward-icon { font-size: 24px; margin: 0 0 8px; }
.guide-reward p:last-child { margin: 0; }

/* ── Scale description (inline) ─────────────────────────────────────────── */
.scale-desc {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-left: 2px;
  transition: opacity 200ms ease;
}

/* ── Story paragraphs ────────────────────────────────────────────────────── */
.story-para {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(237, 247, 244, 0.85);
  margin: 0 0 14px;
}

.story-para:last-child { margin-bottom: 0; }

/* ── Step 5 typography overhaul ──────────────────────────────────────────── */
.report-box h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--accent);
}

.report-box p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(237, 247, 244, 0.9);
  margin-bottom: 10px;
}

.t3-header .eyebrow { margin-bottom: 8px; }

.t3-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.t3-header .step-sub {
  font-size: 14px;
  line-height: 1.7;
}

.t3-section .chip-label {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Payment chips with sub-label */
.fchip-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 400;
}

.fchip.selected .fchip-sub { color: rgba(100, 227, 194, 0.7); }

.t3-section .fchip {
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 16px;
  min-width: 140px;
}

.seed-counter {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(240, 198, 110, 0.25);
  background: rgba(240, 198, 110, 0.05);
  text-align: center;
}

/* ── Step 4 textarea ─────────────────────────────────────────────────────── */
.chip-question textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
  padding: 11px 12px;
  outline: none;
  resize: vertical;
  font: inherit;
}

.chip-question textarea:focus { border-color: var(--accent); }

.chip-question input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
  padding: 11px 12px;
  outline: none;
  font: inherit;
}

.chip-question input[type="text"]:focus { border-color: var(--accent); }

@media (max-width: 680px) {
  :root {
    --topbar-offset: 164px;
  }

  .topbar {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .lang-switch {
    order: 2;
    margin-left: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-left: 0;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 8px;
    text-align: center;
    white-space: normal;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
  }

  .entry-card.visible {
    max-height: min(46vh, 340px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .entry-card-inner {
    width: min(100% - 28px, 980px);
    padding: 16px 0 18px;
  }

  .entry-skip {
    top: 16px;
    right: 0;
  }

  .entry-title {
    margin: 4px 0 12px;
    padding-right: 64px;
    font-size: 16px;
  }

  .entry-form {
    gap: 12px;
  }

  .entry-form .chip-question {
    min-width: 0;
    flex-basis: 100%;
  }

  .entry-privacy {
    margin-top: 10px;
    line-height: 1.5;
  }

  .entry-actions {
    margin-top: 12px;
  }

  .entry-actions .primary-button {
    width: 100%;
  }

  .hero {
    gap: 18px;
    padding-top: 28px;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-actions > * {
    flex: 1 1 100%;
  }

  .player-entry-shell {
    padding: 18px;
  }

  .archive-grid,
  .audio-only-shell,
  .protocol-steps,
  .cocreation-paths,
  .status-grid,
  .wish-form,
  .upload-form,
  .feedback-area {
    grid-template-columns: 1fr;
  }

  .sound-card-actions {
    grid-template-columns: 1fr;
  }

  .audio-only-lead-grid {
    grid-template-columns: 1fr;
  }

  .archive-footer,
  .audio-rack-footer,
  .archive-index-head,
  .archive-index-item,
  .directory-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-index-item {
    display: flex;
  }

  .archive-index-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .archive-directory-shell {
    padding: 18px;
  }

  .directory-note {
    text-align: left;
  }

  .geo-hero {
    min-height: 580px;
  }

  .geo-slider {
    min-width: 0;
    width: 100%;
  }

  .geo-hero-copy {
    padding-top: 76px;
  }

  .section,
  .hero-copy,
  .mission-panel {
    padding: 22px;
  }

  .audio-only-copy,
  .audio-only-rack {
    padding: 16px;
  }

  .cocreation-heading,
  .panel-head,
  .status-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cocreation-meta {
    justify-content: flex-start;
  }

  .cocreation-meta span {
    flex: 1 1 calc(50% - 8px);
  }

  .audio-rack-head,
  .audio-only-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cocreation-copy {
    padding: 18px;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-top: 42px;
  }

  .signal-grid,
  .cocreation-sidebar,
  .cocreation-paths {
    grid-template-columns: 1fr;
  }

  body.has-lab-player {
    padding-bottom: 116px;
  }

  .lab-player {
    right: 50%;
    bottom: 12px;
    left: auto;
    width: min(760px, calc(100% - 40px));
    transform: translateX(50%);
    background:
      linear-gradient(rgba(100, 227, 194, 0.035) 1px, transparent 1px),
      rgba(7, 15, 16, 0.98);
    background-size: 100% 14px, auto;
  }

  .lab-mini {
    grid-template-columns: 42px minmax(0, 1fr) 96px;
    gap: 6px 12px;
    align-items: center;
    padding: 12px 42px 12px 12px;
  }

  .lab-suspend-btn {
    top: 7px;
    right: 7px;
  }

  .lab-toggle {
    width: 42px;
    height: 42px;
    grid-row: span 2;
    font-size: 14px;
  }

  .lab-kicker {
    display: none;
  }

  .lab-title {
    font-size: 15px;
    line-height: 1.2;
  }

  .lab-meta {
    gap: 4px;
    font-size: 10px;
    line-height: 1.2;
  }

  .lab-meta span {
    padding: 1px 6px;
  }

  .lab-progress-wrap {
    grid-column: 2 / 3;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    font-size: 10px;
  }

  .lab-progress {
    height: 2px;
  }

  .lab-queue-button {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    border: 1px solid rgba(100, 227, 194, 0.32);
    background: rgba(100, 227, 194, 0.055);
    color: var(--text);
    padding: 8px 7px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
  }

  .lab-queue-button span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
  }

  .lab-queue-button small {
    color: var(--muted);
    font-size: 10px;
  }

  .lab-next {
    grid-column: 2 / 4;
    margin: 0;
    overflow: hidden;
    color: rgba(145, 166, 162, 0.86);
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lab-expanded {
    max-height: 62vh;
    overflow-y: auto;
    padding: 12px;
  }

  .lab-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lab-expanded-head {
    align-items: flex-start;
  }

  .lab-head-actions {
    flex-direction: column;
    gap: 6px;
  }

  .lab-expanded-head h3 {
    font-size: 18px;
  }

  .lab-scope,
  .lab-queue {
    padding: 10px;
  }

  .lab-visual {
    min-height: 86px;
  }

  .lab-scope-meta {
    align-items: stretch;
  }

  .lab-scope-meta span,
  .lab-scope-meta button {
    font-size: 11px;
  }

  .lab-media video {
    max-height: 170px;
  }

  .lab-queue-list {
    max-height: 220px;
  }

  .lab-dock {
    right: 28px;
    bottom: 12px;
  }

  /* Dialog full-screen on mobile */
  .sound-dialog {
    padding: 0 clamp(18px, 8vw, 38px);
  }

  .dialog-shell {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 22px;
    border-radius: 0;
  }

  /* Step labels smaller text */
  .step-progress {
    padding-right: 0;
    margin-right: 44px;
  }
  .step-label {
    font-size: 9px;
    line-height: 1.2;
  }

  .close-button {
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
  }

  .dialog-shell h2,
  .dialog-shell .eyebrow,
  .step-header h3,
  .step-sub,
  .story-para,
  .chip-label,
  .fchip,
  .fchip-sub,
  .scale-desc {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .step-panel,
  .dialog-layout,
  .detail-panel,
  .identity-card,
  .sound-visual,
  #videoPlayer {
    max-width: 100%;
    min-width: 0;
  }

  .fchip,
  .t3-section .fchip {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .scale-dots {
    display: grid;
    grid-template-columns: repeat(5, minmax(38px, 1fr));
    gap: 6px;
  }

  .sdot {
    width: 100%;
    height: 40px;
  }

  .scale-row {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .scale-ends {
    width: 100%;
  }

  /* Force single-column layouts */
  .step4-layout { grid-template-columns: 1fr !important; }
  .step4-guide { display: none !important; }
  .playing-layout { grid-template-columns: 1fr !important; }

  /* Step 3: compact video */
  #videoContainer3 video { max-height: 140px; }
  .sound-visual { min-height: 92px; }

  /* Step actions: stack buttons vertically */
  .step-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .step-actions button { width: 100%; }
  .step-hint-text {
    margin-right: 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-offset: 216px;
  }

  .hero,
  .section {
    width: min(var(--content-width), calc(100% - 20px));
  }

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

  .lang-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .site-utility {
    width: min(var(--content-width), calc(100% - 20px));
    margin-bottom: 28px;
  }

  .utility-button {
    width: 100%;
  }

  .directory-tab {
    width: 100%;
  }

  .section,
  .hero-copy,
  .mission-panel {
    padding: 18px;
  }

  .audio-only-copy,
  .audio-only-rack,
  .cocreation-copy,
  .cocreation-brief,
  .cocreation-panel,
  .task-card,
  .submission-status {
    padding: 14px;
  }

  .archive-grid {
    gap: 12px;
  }

  .player-entry-actions .primary-button,
  .player-entry-actions .secondary-button {
    width: 100%;
  }

  .sound-card {
    min-height: auto;
  }

  .cocreation-meta span {
    flex-basis: 100%;
  }

  .checkbox-label {
    align-items: flex-start;
  }

  .checkbox-label span {
    min-width: 0;
  }

  body.has-lab-player {
    padding-bottom: 152px;
  }

  .entry-card.visible {
    max-height: min(42vh, 300px);
  }

  .lab-player {
    width: calc(100% - 24px);
    bottom: 10px;
  }

  .lab-mini {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 12px;
  }

  .lab-toggle {
    width: 40px;
    height: 40px;
    grid-row: span 1;
  }

  .lab-progress-wrap,
  .lab-queue-button,
  .lab-next {
    grid-column: 1 / -1;
  }

  .lab-queue-button {
    min-width: 0;
  }

  .lab-next {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
  }

  .lab-expanded {
    max-height: 66vh;
  }

  .lab-dock {
    right: 12px;
    left: 12px;
    bottom: 10px;
  }

  .sound-dialog {
    padding: 0;
  }

  .dialog-shell {
    padding: 18px 16px 20px;
  }

  .step-progress {
    margin-right: 38px;
  }

  .step-labels {
    gap: 4px;
  }

  .step-label {
    font-size: 8px;
  }

  .close-button {
    right: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
  }

  .scale-dots {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  #videoContainer3 video {
    max-height: 120px;
  }

  .version-picker {
    padding: 14px;
  }

  .version-picker-panel {
    padding: 18px;
  }
}

@media (min-width: 1200px) {
  :root {
    --content-width: 1280px;
    --topbar-offset: 88px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 32px;
  }

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

  .audio-only-shell {
    grid-template-columns: minmax(430px, 1.08fr) minmax(0, 0.92fr);
  }

  .audio-only-copy,
  .audio-only-rack {
    padding: 24px;
  }

  .geo-hero {
    min-height: 72vh;
    max-height: 860px;
  }

  .dialog-shell {
    width: min(1180px, 100%);
  }

  .lab-player {
    width: min(1140px, calc(100% - 80px));
  }

  .lab-mini {
    grid-template-columns: 44px minmax(0, 1fr) minmax(180px, 0.36fr) auto;
  }
}

@media (min-width: 1440px) {
  :root {
    --content-width: 1360px;
  }

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

  .audio-only-shell {
    grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  }

  .lab-player {
    width: min(1240px, calc(100% - 96px));
  }
}
