:root {
  --line: rgba(208, 229, 216, 0.1);
  --text: #eff8f1;
  --muted: #9fb4a7;
  --accent: #97ff7c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI Variable", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(151, 255, 124, 0.12), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(247, 181, 138, 0.14), transparent 24%),
    radial-gradient(circle at bottom, rgba(85, 255, 172, 0.08), transparent 30%),
    linear-gradient(180deg, #070909 0%, #0b1010 45%, #090b0b 100%);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

input,
select {
  border: 0;
  outline: 0;
}

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

.page-shell {
  min-height: 100vh;
  padding: 28px;
}

.topbar,
.app {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.topbar,
.hero-panel,
.panel {
  border: 1px solid var(--line);
  background: rgba(17, 23, 23, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 18px 24px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: block;
  width: 62px;
  flex: 0 0 62px;
}

.brand-mark img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  background: #000;
  border-radius: 14px;
}

.brand strong,
.panel-header h2,
.hero-copy h1,
.stage-player h2,
.release-card h3,
.news-card h3,
.detail-copy h1 {
  font-family: "Syne", "Segoe UI Variable", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small,
.hero-text,
.panel-caption,
.release-author,
.release-meta,
.news-card p,
.stage-author,
.stage-meta,
.spotlight-stats span,
.browse-card small,
.cta-card p,
.mini-stat p,
.ring span,
.news-date,
.meta-note,
.control-field span,
.detail-description,
.detail-meta span {
  color: var(--muted);
}

.brand small,
.mini-stat p,
.ring span,
.news-date {
  font-size: 0.85rem;
}

.main-nav,
.topbar-actions,
.hero-actions,
.stage-topline,
.stage-meta,
.panel-header,
.spotlight-stats,
.detail-actions,
.detail-meta {
  display: flex;
  align-items: center;
}

.main-nav,
.topbar-actions,
.hero-actions,
.stage-topline,
.stage-meta,
.detail-actions,
.detail-meta {
  gap: 14px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.app {
  display: grid;
  gap: 24px;
}

.hero-panel,
.panel {
  border-radius: var(--radius-xl);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -140px -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 255, 124, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-copy h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-text {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(151, 255, 124, 0.14);
  border-radius: 24px;
  background: rgba(8, 11, 11, 0.64);
}

.search-bar input {
  min-width: 0;
  padding: 18px 20px;
  color: var(--text);
  background: transparent;
}

.search-bar input::placeholder {
  color: #7c8f85;
}

.filter-pills,
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pill,
.ghost-button,
.primary-button,
.chip {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.ghost-button,
.primary-button,
.card-link,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pill,
.ghost-button {
  color: var(--text);
  background: rgba(239, 248, 241, 0.07);
  border: 1px solid rgba(239, 248, 241, 0.06);
}

.pill.active,
.primary-button,
.chip {
  color: #081008;
  background: linear-gradient(180deg, var(--accent), #d7ffab);
  box-shadow: 0 14px 34px rgba(151, 255, 124, 0.22);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.8rem;
}

.chip-muted {
  color: var(--text);
  background: rgba(239, 248, 241, 0.08);
  box-shadow: none;
}

.text-link {
  font-weight: 700;
}

.hero-stage,
.browse-grid,
.release-grid,
.community-grid,
.dashboard-grid,
.news-stack {
  display: grid;
  gap: 16px;
}

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

.dashboard-grid,
.community-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.panel {
  padding: 28px;
}

.panel-header {
  justify-content: space-between;
}

.panel-header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.stage-card,
.browse-card,
.release-card,
.news-card,
.spotlight-card,
.control-field,
.status-banner,
.player-shell,
.chapter-list,
.chapter-item,
.cover-frame,
.version-panel,
.version-item,
.result-group-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(13, 18, 18, 0.92);
}

.stage-card,
.release-card,
.news-card,
.spotlight-card {
  padding: 22px;
}

.loading-state,
.empty-state {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: var(--muted);
  text-align: center;
}

.browse-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.browse-card,
.release-card,
.news-card {
  padding: 20px;
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.browse-card:hover,
.release-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 255, 124, 0.22);
}

.browse-card.active,
.news-card.active,
.release-card.featured-release {
  background: linear-gradient(180deg, rgba(151, 255, 124, 0.11), rgba(13, 18, 18, 0.94));
  border-color: rgba(151, 255, 124, 0.26);
}

.browse-key,
.release-badge {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.browse-card strong {
  display: block;
  font-size: 1.12rem;
}

.browse-card small {
  display: block;
  margin-top: 8px;
  line-height: 1.6;
}

.stage-player {
  grid-column: 1 / -1;
  min-height: 320px;
  background:
    radial-gradient(circle at top right, rgba(247, 181, 138, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(151, 255, 124, 0.08), rgba(13, 18, 18, 0.96));
}

.stage-topline {
  justify-content: space-between;
}

.stage-player h2 {
  margin: 22px 0 6px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.feature-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
}

.cover-frame {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

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

.stage-author {
  margin: 0 0 28px;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 8px;
  min-height: 110px;
}

.waveform span {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(151, 255, 124, 0.95), rgba(74, 191, 99, 0.48));
  transform-origin: bottom center;
  animation: equalize 1.8s ease-in-out infinite;
}

.waveform span:nth-child(2n) {
  animation-duration: 2.2s;
}

.waveform span:nth-child(3n) {
  animation-duration: 1.4s;
}

.mini-stat {
  display: grid;
  align-content: end;
  min-height: 150px;
}

.mini-stat strong,
.spotlight-stats strong,
.ring strong {
  margin-top: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.accent-card {
  background:
    radial-gradient(circle at top, rgba(247, 181, 138, 0.18), transparent 34%),
    rgba(13, 18, 18, 0.96);
}

.control-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.control-field {
  padding: 18px;
}

.control-field span {
  display: block;
  margin-bottom: 10px;
}

.control-field select {
  width: 100%;
  background: transparent;
  color: var(--text);
}

.status-banner {
  margin-top: 24px;
  padding: 16px 18px;
  color: var(--muted);
}

.releases-panel .release-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.result-group-card {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.result-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.result-group-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.result-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.version-preview-list,
.version-list {
  display: grid;
  gap: 12px;
}

.version-preview {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(239, 248, 241, 0.04);
  border: 1px solid rgba(239, 248, 241, 0.05);
}

.version-preview strong,
.version-preview span,
.version-item strong,
.version-item span {
  display: block;
}

.version-preview strong,
.version-item strong {
  margin-bottom: 6px;
}

.release-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.reader-label,
.version-label,
.chapter-meta {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.release-card h3,
.news-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.release-author,
.release-meta,
.news-card p {
  margin: 0;
  line-height: 1.6;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(239, 248, 241, 0.07);
  font-weight: 700;
}

.card-link.primary {
  color: #081008;
  background: linear-gradient(180deg, var(--accent), #d7ffab);
}

.spotlight-card {
  margin-top: 24px;
}

.ring-wrap {
  display: grid;
  place-items: center;
  padding: 24px 0 12px;
}

.ring {
  display: grid;
  place-items: center;
  width: min(100%, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(151, 255, 124, 0.18);
  background:
    radial-gradient(circle at center, rgba(151, 255, 124, 0.12) 0 34%, transparent 35%),
    conic-gradient(
      from 130deg,
      rgba(151, 255, 124, 0.88),
      rgba(247, 181, 138, 0.7),
      rgba(151, 255, 124, 0.2),
      rgba(151, 255, 124, 0.88)
    );
  box-shadow:
    inset 0 0 0 18px rgba(8, 11, 11, 0.9),
    0 20px 40px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.spotlight-stats {
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
}

.spotlight-stats div {
  flex: 1;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(239, 248, 241, 0.04);
  border: 1px solid rgba(239, 248, 241, 0.05);
}

.spotlight-stats span,
.spotlight-stats strong {
  display: block;
}

.detail-body .topbar {
  justify-content: flex-start;
}

.detail-app {
  max-width: 1280px;
}

.detail-hero {
  grid-template-columns: 0.95fr 1.05fr;
}

.detail-description {
  margin-top: 18px;
  line-height: 1.8;
}

.detail-meta {
  margin-top: 18px;
  flex-wrap: wrap;
}

.detail-actions {
  margin-top: 24px;
  flex-wrap: wrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.detail-section,
.detail-copy,
.detail-player {
  min-width: 0;
  width: 100%;
}

.detail-cover {
  width: min(100%, 280px);
  overflow: hidden;
  border-radius: 28px;
}

.detail-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-header {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-book-top {
  display: flex;
  gap: 20px;
  align-items: start;
}

.detail-title-block {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.detail-player {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.version-panel {
  padding: 18px;
  width: 100%;
  overflow: hidden;
}

.version-panel h3 {
  margin: 0 0 12px;
}

.version-item {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
}

.version-item.active {
  border-color: rgba(151, 255, 124, 0.28);
  background: linear-gradient(180deg, rgba(151, 255, 124, 0.12), rgba(13, 18, 18, 0.96));
}

.version-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.player-shell {
  padding: 18px;
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-button {
  min-width: 120px;
}

.player-progress {
  flex: 1;
  display: grid;
  gap: 10px;
}

.player-progress input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--accent);
}

.player-times {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.player-header {
  display: grid;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(239, 248, 241, 0.08);
}

.player-shell iframe,
.player-shell audio {
  width: 100%;
}

#chapterAudio {
  display: none;
}

.player-shell iframe {
  min-height: 420px;
  border: 0;
  border-radius: 20px;
  background: #000;
}

.player-shell audio {
  margin-bottom: 16px;
}

.chapter-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.current-chapter-panel {
  padding: 18px;
}

.chapter-list {
  padding: 18px;
}

.chapter-list-scroll {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  min-width: 0;
  padding-right: 4px;
}

.chapter-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  overflow: hidden;
}

.chapter-item.active {
  border-color: rgba(151, 255, 124, 0.28);
  background: linear-gradient(180deg, rgba(151, 255, 124, 0.12), rgba(13, 18, 18, 0.96));
}

.chapter-item strong,
.chapter-item span,
.chapter-main,
.chapter-side {
  display: block;
  max-width: 100%;
}

.chapter-item strong {
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.chapter-main {
  min-width: 0;
}

.chapter-side {
  text-align: right;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.chapter-item span,
.chapter-meta,
.detail-meta span,
.detail-description,
.result-summary,
.reader-label,
.version-label {
  overflow-wrap: anywhere;
}

#currentChapterTitle {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#currentChapterMeta {
  margin: 0;
}

.detail-description {
  margin: 0;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(239, 248, 241, 0.04);
  border: 1px solid rgba(239, 248, 241, 0.05);
  line-height: 1.75;
}

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

.detail-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(239, 248, 241, 0.04);
  border: 1px solid rgba(239, 248, 241, 0.05);
}

.detail-stat strong,
.detail-stat span {
  display: block;
}

.detail-stat strong {
  margin-bottom: 6px;
}

.topbar a:focus-visible,
.ghost-button:focus-visible,
.primary-button:focus-visible,
.browse-card:focus-visible,
.text-link:focus-visible,
.search-bar input:focus-visible,
.pill:focus-visible,
.card-link:focus-visible,
.control-field select:focus-visible {
  outline: 3px solid rgba(151, 255, 124, 0.32);
  outline-offset: 3px;
}

@keyframes equalize {
  0%,
  100% {
    transform: scaleY(0.35);
  }

  50% {
    transform: scaleY(1.65);
  }
}

@media (max-width: 1080px) {
  .hero-panel,
  .detail-hero,
  .detail-layout,
  .dashboard-grid,
  .community-grid,
  .releases-panel .release-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 16px;
  }

  .topbar {
    padding: 18px;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav,
  .topbar-actions,
  .spotlight-stats,
  .hero-actions,
  .detail-actions,
  .detail-meta {
    flex-wrap: wrap;
  }

  .search-bar,
  .browse-grid,
  .hero-stage,
  .releases-panel .release-grid {
    grid-template-columns: 1fr;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

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

  .player-shell iframe {
    min-height: 320px;
  }

  .player-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-book-top,
  .result-topline {
    flex-direction: column;
  }

  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .chapter-item {
    grid-template-columns: 1fr;
  }

  .chapter-side {
    text-align: left;
    white-space: normal;
  }
}

/* PDF mode additions */
.mode-switcher {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pdf-search-shell {
  margin-top: 18px;
}

.pdf-hero-text {
  margin-top: 0;
}

.pdf-results-panel .release-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.pdf-release-card {
  min-width: 0;
}

.pdf-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.pdf-open-button {
  justify-content: center;
}

.pdf-open-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.pdf-inline-message {
  margin: 2px 0 0;
  color: #f7b58a;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.pdf-mode #searchForm,
body.pdf-mode #searchModes,
body.pdf-mode .hero-stage,
body.pdf-mode #discover,
body.pdf-mode #results,
body.pdf-mode .community-grid,
body.pdf-mode #news,
body.pdf-mode #stats,
body.pdf-mode .main-nav,
body.pdf-mode .topbar-actions {
  display: none !important;
}

@media (max-width: 760px) {
  .pdf-results-panel .release-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive layout refinements */
img {
  max-width: 100%;
}

.brand,
.panel-header,
.result-topline,
.card-actions,
.player-controls,
.chapter-controls,
.detail-book-top {
  min-width: 0;
}

.brand span:last-child,
.panel-header > div,
.result-topline > div {
  min-width: 0;
}

.brand strong,
.brand small,
.panel-header h2,
.hero-copy h1,
.release-card h3,
.news-card h3,
#currentChapterTitle {
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .topbar {
    border-radius: 34px;
    padding: 18px 20px;
    flex-wrap: wrap;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero-panel,
  .panel {
    padding: 24px;
  }

  .hero-copy h1,
  .detail-copy h1 {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .spotlight-stats {
    flex-wrap: wrap;
  }

  .spotlight-stats div {
    min-width: calc(50% - 8px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

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

  .brand {
    align-items: center;
    width: 100%;
  }

  .brand-mark {
    width: 52px;
    flex-basis: 52px;
  }

  .main-nav,
  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-panel,
  .panel {
    padding: 20px;
    border-radius: 28px;
  }

  .search-bar {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .search-bar input,
  .primary-button,
  .ghost-button,
  .pill {
    width: 100%;
  }

  .card-actions {
    flex-direction: column;
  }

  .card-link,
  .pdf-open-button {
    width: 100%;
    justify-content: center;
  }

  .mode-switcher,
  .filter-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mode-switcher .pill,
  .filter-pills .pill {
    width: 100%;
  }

  .spotlight-stats div {
    min-width: 100%;
  }

  .ring {
    width: min(100%, 220px);
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 10px;
  }

  .topbar {
    border-radius: 24px;
  }

  .brand {
    gap: 10px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .brand-mark {
    width: 44px;
    flex-basis: 44px;
  }

  .hero-copy h1,
  .detail-copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1;
  }

  .panel-header h2 {
    font-size: clamp(1.3rem, 8vw, 2rem);
  }

  .mode-switcher,
  .filter-pills {
    grid-template-columns: 1fr;
  }

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

  .stage-card,
  .release-card,
  .news-card,
  .spotlight-card,
  .control-field,
  .status-banner,
  .player-shell,
  .chapter-list,
  .chapter-item,
  .version-panel,
  .version-item,
  .result-group-card {
    border-radius: 22px;
  }

  .stage-card,
  .release-card,
  .news-card,
  .spotlight-card,
  .result-group-card {
    padding: 18px;
  }
}
