:root {
  --ink: #111717;
  --ink-soft: #29484a;
  --paper: #f4efe3;
  --paper-soft: #fffaf0;
  --cyan: #00c2c7;
  --cyan-deep: #08737a;
  --orange: #e85f2c;
  --yellow: #d7b94f;
  --teal: #08343a;
  --line: rgba(17, 23, 23, 0.16);
  --line-strong: rgba(17, 23, 23, 0.32);
  --shadow: 0 18px 48px rgba(8, 52, 58, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(0, 194, 199, 0.08), transparent 320px),
    linear-gradient(90deg, rgba(232, 95, 44, 0.08), transparent 380px),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(rgba(17, 23, 23, 0.26) 0.7px, transparent 0.8px),
    linear-gradient(rgba(17, 23, 23, 0.04) 1px, transparent 1px);
  background-size: 8px 8px, 26px 26px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

code,
pre,
.eyebrow,
.brand-mark small,
.credit-lines dt,
.inline-credit dt,
.site-footer,
table small {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: 78px;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  line-height: 1.66;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.92);
  backdrop-filter: blur(14px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  color: var(--ink);
  text-decoration: none;
}

.brand-sigil {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--teal);
  overflow: hidden;
}

.brand-sigil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar,
.site-header::-webkit-scrollbar {
  display: none;
}

.main-nav a,
.nav-logout-button {
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.main-nav a:hover,
.nav-logout-button:hover {
  border-color: var(--line);
  background: rgba(255, 250, 240, 0.7);
  color: var(--ink);
}

.nav-logout-form {
  margin: 0;
}

.login-admin-hint {
  max-width: 720px;
  margin-top: 14px;
}

.page-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 74px 0;
}

.compact-shell {
  max-width: 800px;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.72fr);
  gap: 48px;
  align-items: center;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0 34px;
}

.hero-copy {
  max-width: 820px;
}

.hero-subcopy,
.large-copy,
.page-title > p,
.lead-prose p {
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.55;
}

.hero-subcopy {
  max-width: 760px;
  margin: 22px 0 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-row,
.action-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--ink);
  background: var(--cyan);
}

.button.ghost {
  background: rgba(255, 250, 240, 0.42);
}

.button.ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
}

.button.danger {
  border-color: rgba(232, 95, 44, 0.45);
  background: rgba(232, 95, 44, 0.12);
  color: #7b260f;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--teal);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 50% 38%;
}

.poster-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: block;
  padding: 12px;
  border: 1px solid rgba(244, 239, 227, 0.46);
  border-radius: var(--radius);
  background: rgba(8, 52, 58, 0.86);
  color: var(--paper-soft);
  text-decoration: none;
}

.campaign-story-peek {
  position: absolute;
  top: 14px;
  right: 14px;
  width: min(128px, 28%);
  margin: 0;
  border: 1px solid rgba(244, 239, 227, 0.58);
  border-radius: var(--radius);
  background: rgba(8, 52, 58, 0.72);
  color: var(--paper-soft);
  overflow: hidden;
}

.campaign-story-peek img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.campaign-story-peek {
  text-decoration: none;
}

.campaign-story-peek span {
  display: block;
  padding: 8px;
  color: #9df8ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.poster-caption span,
.poster-caption strong {
  display: block;
}

.poster-caption span {
  margin-bottom: 4px;
  color: #9df8ff;
  font-size: 12px;
}

.manifesto-grid,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: start;
}

.prose p,
.definition-panel p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.definition-panel,
.notice-panel,
.feed-panel,
.reflection-box,
.soundtrack-panel,
.artist-credit-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  padding: 24px;
}

.response-link-card {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-left: 8px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.74);
  padding: 14px;
}

.response-link-card span {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.response-link-card a {
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.response-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.response-next,
.response-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  padding: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 5px 9px;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.status-pending {
  border-color: rgba(215, 185, 79, 0.9);
  background: var(--yellow);
}

.status-pill.status-submitted {
  border-color: rgba(0, 114, 122, 0.42);
  background: var(--cyan);
}

.status-pill.status-rejected {
  border-color: rgba(232, 95, 44, 0.64);
  background: rgba(232, 95, 44, 0.16);
  color: var(--orange);
}

.status-pill.status-review {
  border-color: rgba(0, 194, 199, 0.42);
  background: rgba(0, 194, 199, 0.12);
  color: var(--cyan-deep);
}

.status-pill.status-overdue {
  border-color: rgba(232, 95, 44, 0.84);
  background: rgba(232, 95, 44, 0.22);
  color: #8a2b13;
}

.status-note {
  display: block;
  margin-top: 7px;
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.timeline-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-list div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.timeline-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--cyan);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 700;
}

.timeline-list p,
.response-summary p {
  margin: 0;
  color: var(--ink-soft);
}

.response-summary {
  margin-top: 28px;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.dashboard-identity {
  display: flex;
  gap: 18px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 250, 240, 0.95), transparent 28%),
    linear-gradient(135deg, rgba(0, 194, 199, 0.32), rgba(232, 95, 44, 0.26)),
    var(--paper-soft);
  color: var(--teal);
  overflow: hidden;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-actions,
.share-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.dashboard-actions form,
.share-actions form {
  margin: 0;
}

.dashboard-metrics {
  margin-bottom: 28px;
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 95, 44, 0.12), transparent 44%),
    rgba(255, 250, 240, 0.74);
  padding: 20px;
}

.profile-panel h2 {
  font-size: 34px;
}

.profile-panel p:not(.eyebrow) {
  color: var(--ink-soft);
}

.profile-upload-form {
  display: grid;
  gap: 10px;
}

.metric-moon {
  position: relative;
  overflow: hidden;
}

.metric-moon::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 42px;
  height: 28px;
  border: 1px solid rgba(132, 83, 23, 0.28);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(circle at 26% 30%, #f7d88d 0 6px, transparent 7px),
    radial-gradient(circle at 48% 18%, #fff8df 0 5px, transparent 6px),
    radial-gradient(circle at 68% 34%, #f0c66f 0 6px, transparent 7px),
    rgba(160, 111, 53, 0.12);
  opacity: 0.8;
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.16), transparent 44%),
    rgba(255, 250, 240, 0.72);
  padding: 22px;
  margin-bottom: 42px;
}

.share-note {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.compact-share-panel {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 0;
  padding: 16px;
}

.compact-share-panel .share-actions {
  justify-content: flex-start;
}

.mobile-share-row {
  width: min(430px, calc(100% - 28px));
  margin: 12px auto 0;
}

.dashboard-section {
  margin-top: 42px;
}

.soundtrack-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.soundtrack-tile,
.empty-state,
.playlist-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  overflow: hidden;
}

.soundtrack-tile {
  display: grid;
  gap: 0;
}

.dashboard-story-card {
  grid-template-rows: auto 1fr auto;
}

.dashboard-story-cover {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  color: var(--paper-soft);
  text-decoration: none;
  background: var(--teal);
}

.dashboard-story-cover img,
.dashboard-story-cover .soundtrack-art {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.dashboard-story-cover::after {
  display: none;
  content: none;
}

.dashboard-cover-label {
  display: none;
}

.dashboard-cover-title {
  display: none;
}

.dashboard-cover-title strong {
  font-size: clamp(23px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 0.96;
}

.dashboard-cover-title span {
  max-width: 92%;
  color: rgba(255, 250, 240, 0.86);
  font-size: 12px;
  line-height: 1.25;
}

.dashboard-moon-bucket {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(232, 95, 44, 0.36);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.9);
  padding: 5px 8px 5px 6px;
  color: #3d321f;
  box-shadow: 0 10px 22px rgba(8, 52, 58, 0.18);
}

.dashboard-moon-bucket strong {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.dashboard-card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-card-status .eyebrow {
  margin: 0;
}

.dashboard-card-status .dashboard-moon-bucket {
  flex: 0 0 auto;
  box-shadow: none;
}

.mini-moon-pile {
  position: relative;
  width: 31px;
  height: 22px;
  border-bottom: 1px solid rgba(132, 83, 23, 0.38);
}

.mini-moon-pile::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 0;
  left: 1px;
  height: 10px;
  border: 1px solid rgba(132, 83, 23, 0.28);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.mini-moon-pile span {
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(176, 123, 43, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 33% 32%, #fffaf0 0 22%, transparent 24%),
    linear-gradient(135deg, #fff8df, #f0c66f);
}

.mini-moon-pile span:nth-child(1) { left: 2px; bottom: 2px; }
.mini-moon-pile span:nth-child(2) { left: 11px; bottom: 2px; }
.mini-moon-pile span:nth-child(3) { left: 20px; bottom: 2px; }
.mini-moon-pile span:nth-child(4) { left: 7px; bottom: 10px; }
.mini-moon-pile span:nth-child(5) { left: 16px; bottom: 10px; }

.mini-moon-pile .empty-moon {
  left: 10px;
  bottom: 3px;
  opacity: 0.34;
}

.soundtrack-tile > img,
.soundtrack-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--teal);
}

.soundtrack-art {
  display: grid;
  place-items: center;
  color: var(--paper-soft);
  font-family: Anton, Impact, sans-serif;
  font-size: 72px;
}

.soundtrack-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.dashboard-story-card .soundtrack-copy h3 {
  min-height: 2.12em;
  font-size: 20px;
  line-height: 1.06;
}

.soundtrack-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.dashboard-story-card .soundtrack-copy p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.48;
}

.dashboard-story-card .soundtrack-copy .visibility-note {
  margin-top: 4px;
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.soundtrack-tile iframe {
  height: 180px;
  border-radius: 0;
}

.soundtrack-tile .button-row {
  margin: 0;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.empty-state p {
  color: var(--ink-soft);
}

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

.wall-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.wall-hero h1 {
  max-width: 820px;
}

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

.wall-metrics {
  margin-bottom: 28px;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  align-items: start;
}

.wall-grid.is-feed {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 620px));
  justify-content: center;
}

.wall-grid.is-gallery {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}

.wall-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cover"
    "copy"
    "soundtrack"
    "community"
    "actions";
  align-items: stretch;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.74)),
    var(--paper-soft);
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(17, 23, 23, 0.08);
}

.wall-cover {
  grid-area: cover;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 16%, rgba(157, 248, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.08), transparent 34%),
    var(--teal);
  color: var(--paper-soft);
  font-family: Anton, Impact, sans-serif;
  font-size: 74px;
  padding: clamp(18px, 4vw, 34px);
}

.wall-grid.is-feed .wall-cover {
  height: clamp(430px, 52vw, 620px);
  aspect-ratio: auto;
}

.wall-artwork-frame {
  display: grid;
  place-items: center;
  height: 100%;
  max-height: 560px;
  justify-self: center;
  align-self: center;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 250, 240, 0.36);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 250, 240, 0.08);
  box-shadow:
    0 26px 54px rgba(3, 25, 27, 0.42),
    0 0 0 10px rgba(255, 250, 240, 0.035);
  overflow: hidden;
}

.wall-artwork-frame img {
  width: 100%;
  height: 100%;
  background: var(--teal);
  object-fit: contain;
}

.wall-card-copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 15px;
}

.wall-card-copy h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.wall-card-copy p {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.wall-artist {
  color: var(--ink) !important;
  font-weight: 900;
}

.wall-story-title {
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.wall-observation-preview {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  border-left: 4px solid var(--orange);
  background:
    linear-gradient(90deg, rgba(232, 95, 44, 0.07), transparent 58%),
    rgba(255, 250, 240, 0.56);
  padding: 11px 12px;
}

.wall-observation-preview span {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wall-observation-preview p {
  display: -webkit-box;
  max-width: 100%;
  color: var(--ink) !important;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.compact-credit {
  margin-top: 8px;
  gap: 8px;
}

.compact-credit div {
  padding: 5px 0;
}

.wall-soundtrack-panel {
  grid-area: soundtrack;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border-top: 1px solid var(--line);
  background: rgba(8, 52, 58, 0.05);
  padding: 12px;
}

.wall-soundtrack-panel iframe {
  width: 100%;
  height: 112px;
  border-radius: 0;
  border: 0;
  overflow: hidden;
}

.wall-community {
  grid-area: community;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.moon-collector {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(232, 95, 44, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(246, 224, 177, 0.72) 52%, rgba(255, 250, 240, 0.96)),
    radial-gradient(circle at 76% 24%, rgba(255, 227, 142, 0.42), transparent 34%);
  padding: 12px 12px 12px 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.72), 0 14px 34px rgba(132, 83, 23, 0.12);
}

.moon-collector::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(232, 95, 44, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(215, 185, 79, 0.32) 0 1px, transparent 1.6px);
  background-position: 18px 24px, 42px 12px;
  background-size: 56px 56px, 82px 82px;
  opacity: 0.55;
}

.moon-collector::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(var(--orange), var(--yellow));
}

.moon-panel-copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.moon-kicker {
  margin: 0;
  color: #6f6046;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.moon-note {
  margin: 6px 0 0;
  color: #806847;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  line-height: 1.4;
}

.moon-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.moon-meter-track {
  display: flex;
  min-width: 0;
  gap: 5px;
  align-items: center;
}

.moon-meter-track span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(176, 123, 43, 0.52);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 250, 240, 0.92) 0 18%, transparent 19%),
    radial-gradient(circle at 70% 62%, rgba(176, 123, 43, 0.28) 0 12%, transparent 13%),
    radial-gradient(circle at 42% 72%, rgba(176, 123, 43, 0.2) 0 9%, transparent 10%),
    linear-gradient(135deg, #fff8df, #f0c66f);
  box-shadow: 0 8px 14px rgba(132, 83, 23, 0.18);
}

.moon-meter-track .empty-moon {
  opacity: 0.32;
  filter: grayscale(0.6);
}

.moon-meter-track em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--orange);
  padding: 2px 7px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.moon-total {
  align-self: center;
  display: grid;
  gap: 3px;
  color: #6f6046;
}

.moon-total strong {
  color: #3d321f;
  font-family: "Anton", Impact, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 0.86;
}

.moon-total span,
.moon-total em {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.moon-total em {
  color: var(--orange);
}

.moon-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(132, 83, 23, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.62);
  color: #806847;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  padding: 7px;
}

.moon-row form {
  margin: 0;
}

.moon-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 8px;
  border: 1px solid rgba(232, 95, 44, 0.46);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8e8, #f7d88d);
  color: #3d321f;
  padding: 7px 12px 7px 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(132, 83, 23, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.moon-button:hover {
  transform: translateY(-1px);
  border-color: var(--orange);
  background: linear-gradient(135deg, #fffaf0, #efc15f);
}

.moon-glyph {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #2f2a20;
  color: #f8d982;
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.18), 0 0 18px rgba(215, 185, 79, 0.42);
}

.moon-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.moon-copy strong,
.moon-copy em {
  font-style: normal;
  line-height: 1;
}

.moon-copy strong {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.moon-copy em {
  color: #806847;
  font-size: 10px;
}

.moon-button.active {
  border-color: rgba(232, 95, 44, 0.72);
  background: linear-gradient(135deg, #f7d88d, #e85f2c);
  color: #fffaf0;
}

.moon-button.active .moon-glyph {
  background: #fffaf0;
  color: var(--orange);
}

.moon-button.active .moon-copy em {
  color: rgba(255, 250, 240, 0.86);
}

.reflection-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  padding: 5px 8px;
  color: #806847;
}

.reflection-list {
  display: grid;
  gap: 8px;
}

.reflection-note {
  border-left: 3px solid var(--cyan);
  background: rgba(255, 250, 240, 0.62);
  padding: 9px 10px;
}

.reflection-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.reflection-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.reflection-form {
  display: grid;
  gap: 9px;
}

.reflection-form textarea {
  min-height: 82px;
  font-size: 14px;
}

.wall-login {
  justify-self: start;
}

.wall-card-actions {
  grid-area: actions;
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

.submission-actions {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.submission-actions form {
  margin: 0;
}

.admin-reflection-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.admin-reflection-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.64);
  padding: 10px;
}

.admin-reflection-item form {
  margin: 0;
}

.admin-reflection-item p {
  margin: 0;
  color: var(--ink-soft);
}

.submit-consent {
  justify-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 12px;
}

.login-form {
  max-width: 620px;
}

.otp-dev-panel {
  max-width: 620px;
}

.otp-dev-panel h2 {
  color: var(--orange);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 34px;
}

.playlist-grid {
  display: grid;
  gap: 18px;
}

.playlist-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.playlist-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  font-family: Anton, Impact, sans-serif;
  font-size: 28px;
}

.playlist-item iframe {
  height: 180px;
}

.playlist-item p {
  color: var(--ink-soft);
}

.definition-panel {
  border-top: 8px solid var(--orange);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head.tight {
  align-items: start;
  margin-bottom: 18px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journeys-page .story-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: stretch;
}

.story-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  overflow: hidden;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--teal);
}

.journey-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.72)),
    var(--paper-soft);
  box-shadow: 0 18px 38px rgba(17, 23, 23, 0.08);
}

.journey-artwork {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(248px, 22vw, 316px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 250, 240, 0.08) 1px, transparent 1.5px) 0 0 / 12px 12px,
    radial-gradient(circle at 78% 28%, rgba(0, 194, 199, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(232, 95, 44, 0.18), transparent 48%),
    var(--teal);
  padding: 16px;
}

.journey-artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 52, 58, 0.28), transparent 22%, transparent 78%, rgba(8, 52, 58, 0.24)),
    linear-gradient(180deg, rgba(255, 250, 240, 0.04), rgba(8, 52, 58, 0.18));
  pointer-events: none;
}

.journey-artwork .journey-artwork-backdrop {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  max-width: none;
  max-height: none;
  opacity: 0.32;
  filter: blur(22px) saturate(0.9);
  object-fit: cover;
  transform: scale(1.05);
  padding: 0;
  background: transparent;
}

.journey-artwork-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: min(100%, 286px);
  max-height: calc(100% - 4px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: calc(var(--radius) - 3px);
  background: rgba(8, 52, 58, 0.76);
  box-shadow:
    0 24px 44px rgba(3, 25, 27, 0.42),
    0 0 0 1px rgba(17, 23, 23, 0.34);
}

.journey-artwork .journey-artwork-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: var(--teal);
  padding: 0;
}

.story-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.story-card h3 a,
.story-row h2 a,
.text-link {
  color: inherit;
  text-decoration: none;
}

.story-card p,
.story-row p,
.listen-item p {
  color: var(--ink-soft);
}

.text-link {
  margin-top: auto;
  color: var(--orange);
  font-weight: 900;
}

.listening-band,
.tarot-band {
  margin-top: 34px;
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.18), transparent 38%),
    linear-gradient(180deg, var(--teal), #071f24);
  color: var(--paper-soft);
}

.tarot-band {
  background:
    linear-gradient(135deg, rgba(215, 185, 79, 0.22), transparent 42%),
    var(--ink);
}

.listening-band .eyebrow,
.tarot-band .eyebrow {
  color: #9df8ff;
}

.listening-band .large-copy,
.tarot-band .large-copy {
  color: #d9f2ef;
}

.embed-stack {
  display: grid;
  gap: 16px;
}

.embed-row,
.listen-item {
  border: 1px solid rgba(244, 239, 227, 0.22);
  border-radius: var(--radius);
  background: rgba(244, 239, 227, 0.08);
  padding: 14px;
}

.embed-row span,
.embed-row strong {
  display: block;
}

.embed-row span {
  color: #9df8ff;
  font-size: 13px;
}

iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #111;
}

.spotify-fallback {
  display: grid;
  min-height: 352px;
  margin-top: 16px;
  place-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 213, 110, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(244, 239, 227, 0.14), rgba(13, 125, 131, 0.2));
  padding: 24px;
  color: var(--paper-soft);
  text-align: center;
}

.spotify-fallback p {
  max-width: 32ch;
  margin: 0;
  color: inherit;
}

.spotify-fallback.compact {
  min-height: 168px;
  margin-top: 12px;
}

.embed-row iframe {
  height: 170px;
  margin-top: 12px;
}

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

.credit-note {
  border-top: 6px solid var(--yellow);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 18px;
}

.credit-lines,
.inline-credit {
  display: grid;
  gap: 12px;
  margin: 0;
}

.credit-lines div,
.inline-credit div {
  display: grid;
  gap: 4px;
}

.credit-lines dt,
.inline-credit dt {
  color: var(--cyan-deep);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.credit-lines dd,
.inline-credit dd {
  margin: 0;
  color: var(--ink-soft);
}

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

.page-title {
  max-width: 820px;
  margin-bottom: 34px;
}

.story-list {
  display: grid;
  gap: 18px;
}

.story-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  padding: 16px;
}

.story-thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.story-hero,
.artist-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 38px;
}

.story-hero-copy {
  max-width: 780px;
}

.story-phone,
.artist-image {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--teal);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.adaptive-story-mobile {
  display: none;
}

.adaptive-story-desktop {
  display: block;
}

.adaptive-shell {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
  padding: 42px 0 74px;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.adaptive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: end;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.adaptive-story-page .adaptive-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 104px;
  line-height: 0.82;
  text-transform: none;
}

.adaptive-story-page .deck {
  color: #17383e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  line-height: 1.04;
}

.adaptive-visual {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--teal);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.adaptive-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--teal);
}

.adaptive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
  padding-top: 40px;
}

.article {
  font-size: 18px;
  line-height: 1.75;
}

.story-margin-notes {
  display: grid;
  grid-template-columns: minmax(180px, 0.66fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.margin-notes-head {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.margin-notes-head h2 {
  max-width: 9ch;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.88;
}

.margin-notes-head p:not(.eyebrow) {
  max-width: 26ch;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.margin-note-list {
  display: grid;
  gap: 0;
  counter-reset: margin-note;
}

.margin-note {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 0 20px;
}

.margin-note:first-child {
  border-top: 0;
  padding-top: 0;
}

.margin-note::before {
  content: "";
  position: absolute;
  left: 112px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--orange);
  opacity: 0;
}

.margin-note.is-frame::before,
.margin-note.is-afterglow::before {
  opacity: 1;
}

.margin-note span {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.margin-note h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 0.96;
}

.margin-note p {
  grid-column: 2;
  max-width: 48ch;
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.margin-note.is-mirror h3 {
  color: var(--teal);
}

.adaptive-rail {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.visual-sequence {
  margin-top: 34px;
}

.visual-sequence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.visual-sequence figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17, 23, 23, 0.06);
}

.visual-sequence-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 250, 240, 0.08) 1px, transparent 1.5px) 0 0 / 12px 12px,
    var(--teal);
  padding: 10px;
}

.visual-sequence img {
  display: block;
  width: min(100%, 178px);
  max-height: 318px;
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius) - 2px);
  object-fit: contain;
  background: rgba(8, 52, 58, 0.78);
}

.visual-overlay {
  position: absolute;
  right: 10px;
  left: 10px;
  z-index: 1;
  color: var(--paper-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 0.96;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.visual-overlay.overlay-center {
  top: 50%;
  transform: translateY(-50%);
}

.visual-overlay.overlay-bottom {
  bottom: 14px;
}

.visual-sequence figcaption {
  display: grid;
  gap: 4px;
  margin: 9px;
  border: 1px solid rgba(17, 23, 23, 0.1);
  border-left: 4px solid var(--orange);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(90deg, rgba(232, 95, 44, 0.07), transparent 60%),
    rgba(255, 250, 240, 0.96);
  padding: 10px 11px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 10px 22px rgba(17, 23, 23, 0.06);
}

.visual-sequence figcaption span {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.story-template {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 42px;
  align-items: start;
}

.story-main {
  display: grid;
  gap: 42px;
}

.story-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.soundtrack-panel {
  background: var(--teal);
  color: var(--paper-soft);
}

.soundtrack-panel .eyebrow {
  color: #9df8ff;
}

.soundtrack-panel p {
  color: #d9f2ef;
}

.soundtrack-panel iframe,
.listen-item iframe {
  height: 352px;
  margin-top: 16px;
}

.reflection-box {
  border-left: 8px solid var(--orange);
}

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

.listen-item {
  display: grid;
  gap: 14px;
  border-color: var(--line);
  background: rgba(255, 250, 240, 0.72);
}

.listen-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.listen-head h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.listen-head a {
  color: inherit;
  text-decoration-color: rgba(8, 52, 58, 0.32);
  text-underline-offset: 3px;
}

.listen-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(17, 23, 23, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 250, 240, 0.1) 1px, transparent 1.5px) 0 0 / 10px 10px,
    var(--teal);
  padding: 7px;
}

.listen-cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: calc(var(--radius) - 2px);
  object-fit: contain;
}

.feed-panel {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
}

.zine-preview-panel {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 95, 44, 0.08), transparent 44%),
    rgba(255, 250, 240, 0.72);
  padding: 22px;
}

.zine-preview-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 390px;
}

.zine-preview-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.94;
}

.zine-preview-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

.zine-preview-copy .button {
  justify-self: start;
}

.zine-mini-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  width: min(100%, 660px);
}

.zine-mini-card,
.zine-mini-empty {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.84);
  overflow: hidden;
}

.zine-mini-card a {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.zine-mini-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 12.5;
  background:
    radial-gradient(circle at 76% 18%, rgba(0, 194, 199, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(8, 52, 58, 0.12), rgba(232, 95, 44, 0.12)),
    var(--paper-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.zine-mini-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zine-mini-cover span,
.zine-mini-cover strong,
.zine-mini-copy span,
.zine-mini-copy em {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

.zine-mini-cover span {
  color: var(--cyan-deep);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.zine-mini-cover strong {
  color: var(--ink);
  font-size: 24px;
}

.zine-mini-copy {
  display: grid;
  gap: 5px;
  padding: 11px;
}

.zine-mini-copy span,
.zine-mini-copy em {
  color: var(--cyan-deep);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.zine-mini-copy strong {
  display: -webkit-box;
  min-height: 2.35em;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zine-mini-copy em {
  color: var(--ink-soft);
}

.zine-mini-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 190px;
  padding: 18px;
}

.zine-mini-empty strong,
.zine-mini-empty span {
  display: block;
}

.zine-mini-empty span {
  color: var(--ink-soft);
}

pre {
  margin: 0;
  max-width: 100%;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-soft);
  padding: 18px;
}

.artist-hero {
  grid-template-columns: 360px minmax(0, 1fr);
}

.artist-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.zine-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.86fr);
  gap: 44px;
  align-items: center;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

.zine-copy {
  max-width: 760px;
}

.zine-stack {
  position: relative;
  min-height: 528px;
}

.zine-cover {
  position: absolute;
  width: 58%;
  min-width: 230px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: 0 16px 36px rgba(8, 52, 58, 0.18);
  overflow: hidden;
}

.zine-cover img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: contain;
  background: var(--teal);
}

.zine-cover div {
  display: grid;
  gap: 4px;
  margin: 10px;
  border: 1px solid rgba(17, 23, 23, 0.12);
  border-left: 4px solid var(--orange);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 250, 240, 0.94);
  padding: 10px 11px;
}

.zine-cover span {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.zine-cover strong {
  line-height: 1.15;
}

.cover-1 {
  top: 0;
  left: 7%;
  z-index: 3;
  transform: rotate(-3deg);
}

.cover-2 {
  top: 70px;
  right: 2%;
  z-index: 2;
  transform: rotate(4deg);
}

.cover-3 {
  left: 24%;
  bottom: 0;
  z-index: 1;
  transform: rotate(-1deg);
}

.zine-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.bundle-card {
  border: 1px solid var(--line);
  border-top: 8px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 22px;
}

.zine-content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.zine-content-grid article {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 18px;
}

.zine-content-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 700;
}

.zine-content-grid p {
  color: var(--ink-soft);
}

.zine-download-section {
  padding-top: 42px;
}

.zine-download-section .section-head,
.zine-download-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(280px, 1fr);
  gap: 10px 36px;
  align-items: end;
  justify-content: start;
  max-width: 100%;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 23, 23, 0.12);
}

.zine-download-section .section-head .eyebrow,
.zine-download-head .eyebrow {
  grid-column: 1 / -1;
  align-self: start;
  justify-self: start;
  min-width: max-content;
  margin: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.zine-download-section .section-head p:not(.eyebrow),
.zine-download-head p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
  overflow-wrap: normal;
}

.zine-download-section .section-head h2,
.zine-download-head h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.zine-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  align-items: start;
}

.zine-download-card {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 16px 28px rgba(15, 29, 31, 0.07);
}

.zine-download-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 218px;
  max-height: 318px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 28%, rgba(0, 194, 199, 0.28), transparent 23%),
    linear-gradient(160deg, rgba(232, 95, 44, 0.18), transparent 42%),
    var(--teal);
  padding: 18px;
}

.zine-download-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 22%, rgba(8, 52, 58, 0.18) 58%, rgba(8, 52, 58, 0.36)),
    linear-gradient(180deg, rgba(255, 250, 240, 0.04), rgba(8, 52, 58, 0.18));
  pointer-events: none;
}

.zine-download-cover .zine-cover-backdrop {
  position: absolute;
  inset: -16%;
  width: 132%;
  height: 132%;
  max-width: none;
  max-height: none;
  opacity: 0.26;
  filter: blur(24px) saturate(0.95);
  object-fit: cover;
  transform: scale(1.08);
  padding: 0;
  background: transparent;
}

.zine-cover-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: min(100%, 282px);
  max-height: calc(100% - 4px);
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: calc(var(--radius) - 3px);
  background: rgba(8, 52, 58, 0.82);
  box-shadow:
    0 24px 46px rgba(3, 25, 27, 0.42),
    0 0 0 1px rgba(17, 23, 23, 0.32);
}

.zine-download-cover .zine-cover-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  background: var(--teal);
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.zine-download-placeholder {
  position: absolute;
  inset: 18px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 250, 240, 0.28);
  padding: 18px;
  color: var(--paper-soft);
}

.zine-download-placeholder span,
.zine-download-meta span {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zine-download-placeholder strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(48px, 8vw, 82px);
  line-height: 0.9;
}

.zine-download-copy {
  display: grid;
  gap: 12px;
  align-content: start;
  background:
    linear-gradient(90deg, rgba(232, 95, 44, 0.05), transparent 58%),
    rgba(255, 250, 240, 0.9);
  padding: 18px 18px 20px;
}

.zine-download-copy h3 {
  margin: 0;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.02;
}

.zine-download-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.zine-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.zine-download-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 194, 199, 0.08);
  padding: 6px 9px;
  color: var(--cyan-deep);
}

.zine-download-copy .button {
  width: 100%;
  max-width: 100%;
  margin-top: 2px;
}

.zine-band {
  background:
    linear-gradient(135deg, rgba(232, 95, 44, 0.2), transparent 42%),
    var(--teal);
  color: var(--paper-soft);
}

.zine-band .eyebrow {
  color: #9df8ff;
}

.zine-band .large-copy {
  color: #d9f2ef;
}

.zine-steps {
  display: grid;
  gap: 12px;
}

.zine-steps div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(244, 239, 227, 0.24);
  border-radius: var(--radius);
  background: rgba(244, 239, 227, 0.08);
  padding: 14px;
}

.zine-steps span {
  color: #9df8ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.reserve-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.zine-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 22px;
}

.form-layout {
  max-width: 980px;
}

.editor-form,
.admin-section,
.submission-list {
  display: grid;
  gap: 22px;
}

.editor-section {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.62);
}

.editor-section.compact {
  gap: 12px;
  padding: 16px;
}

.status-editor-panel {
  border-color: rgba(0, 194, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.08), transparent 52%),
    rgba(255, 250, 240, 0.72);
}

.status-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.status-editor-row h2 {
  margin: 4px 0 8px;
}

.status-editor-row p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

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

.sticky-form-actions {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  border: 1px solid rgba(17, 23, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(244, 239, 227, 0.9);
  backdrop-filter: blur(14px);
  padding: 10px;
}

.form-help {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.nested-credit-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.nested-credit-panel .form-help {
  max-width: 680px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

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

input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(0, 194, 199, 0.18);
}

.check-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.check-row label,
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.form-error,
.form-success {
  margin: 0 0 16px;
  border-radius: var(--radius);
  padding: 13px 15px;
  font-weight: 800;
}

.form-error {
  border: 1px solid rgba(232, 95, 44, 0.42);
  background: rgba(232, 95, 44, 0.12);
  color: #76250e;
}

.form-success {
  border: 1px solid rgba(0, 194, 199, 0.38);
  background: rgba(0, 194, 199, 0.14);
  color: var(--cyan-deep);
}

.file-upload-warning {
  margin-top: -8px;
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(0, 194, 199, 0.08);
  padding: 8px 10px;
}

.file-upload-warning.is-error {
  border-left-color: var(--orange);
  background: rgba(232, 95, 44, 0.12);
  color: #76250e;
  font-weight: 800;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.admin-title h1 {
  font-size: 54px;
}

.admin-shell {
  width: min(1120px, calc(100% - 44px));
}

.admin-shell .admin-title {
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.admin-shell .admin-title h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.4vw, 64px);
}

.admin-shell .admin-title p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-soft);
}

.admin-shell .admin-title code {
  overflow-wrap: anywhere;
}

.admin-shell > .button-row,
.admin-shell .admin-title .button-row {
  justify-content: flex-end;
  margin-top: 0;
}

.admin-site-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 20px;
}

.admin-site-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-site-copy .eyebrow {
  margin: 0;
}

.admin-site-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  text-transform: none;
}

.admin-site-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.admin-site-summary .button-row {
  justify-content: flex-end;
  margin-top: 0;
}

.admin-section .section-head.tight {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 0;
}

.admin-section .section-head.tight h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1;
  text-transform: none;
}

.admin-section .section-head.tight .eyebrow {
  margin-bottom: 6px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.metric-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 18px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-family: Anton, Impact, sans-serif;
  font-size: 44px;
}

.metric-grid span,
.muted-copy {
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--cyan-deep);
  font-size: 13px;
}

td small {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.table-actions form {
  margin: 0;
}

.artist-admin-grid,
.submission-list {
  display: grid;
  gap: 12px;
}

.artist-admin-row,
.submission-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  padding: 14px;
}

.artist-admin-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--teal);
}

.artist-admin-row span,
.artist-admin-row a {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
}

.submission-item {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.inbox-count {
  justify-self: end;
  min-width: 116px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  padding: 8px 12px;
  text-align: right;
}

.inbox-count strong,
.inbox-count span {
  display: block;
  line-height: 1.1;
}

.inbox-count strong {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--cyan-deep);
}

.inbox-count span {
  color: var(--ink-soft);
  font-size: 12px;
}

.inbox-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: -4px;
}

.inbox-toolbar p {
  margin: 0;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

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

.inbox-filters a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  padding: 8px 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.inbox-filters a.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
}

.inbox-filters strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.admin-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.admin-pagination span {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.admin-pagination .disabled {
  pointer-events: none;
  opacity: 0.45;
}

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

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

.media-editor-head h2 {
  margin-top: 4px;
  font-size: 34px;
}

.media-editor-head .form-help {
  max-width: 680px;
}

.media-count {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  color: var(--ink-soft);
  padding: 7px 11px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.slide-preview-box {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(8, 52, 58, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.54);
  padding: 14px;
}

.slide-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(17, 23, 23, 0.08);
  padding-bottom: 10px;
}

.slide-preview-head .eyebrow {
  margin: 0;
}

.slide-preview-head span {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-editor-box {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(232, 95, 44, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.66);
  padding: 14px;
}

.cover-editor-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cover-editor-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  min-height: 0;
  max-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.15), transparent 56%),
    var(--teal);
  color: var(--paper-soft);
  text-align: center;
}

.cover-editor-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-editor-preview strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
}

.cover-editor-preview > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--teal);
  padding: 5px 8px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cover-editor-controls {
  display: grid;
  gap: 12px;
}

.cover-upload-dropzone {
  min-height: 132px;
}

.carousel-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.carousel-slide-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 10px;
  border: 1px solid rgba(17, 23, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  padding: 12px;
  box-shadow: 0 10px 26px rgba(8, 52, 58, 0.07);
}

.carousel-slide-card.is-cover {
  border-color: rgba(232, 95, 44, 0.78);
  box-shadow: inset 0 0 0 2px rgba(232, 95, 44, 0.12), 0 12px 30px rgba(132, 83, 23, 0.1);
}

.carousel-slide-card.is-removed {
  opacity: 0.45;
  filter: grayscale(0.8);
}

.cover-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.carousel-slide-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--teal);
}

.carousel-slide-figure img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--teal);
}

.carousel-slide-figure.is-missing {
  display: grid;
  place-items: center;
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.16), transparent 46%),
    rgba(8, 52, 58, 0.08);
}

.carousel-slide-figure.is-missing img {
  display: none;
}

.missing-image-note {
  max-width: 120px;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.carousel-slide-figure figcaption {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.96);
  color: var(--teal);
  padding: 5px 8px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.caption-field {
  display: grid;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.select-field {
  display: grid;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.select-field select {
  min-height: 42px;
  border: 1px solid rgba(17, 23, 23, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  color: var(--ink);
  padding: 9px 10px;
  font: inherit;
}

.caption-field textarea {
  min-height: 68px;
  resize: vertical;
  border-color: rgba(17, 23, 23, 0.14);
  background: rgba(255, 250, 240, 0.7);
  padding: 9px;
  font-size: 13px;
  line-height: 1.4;
}

.caption-field small {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.caption-field .char-counter {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(8, 52, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.7);
  padding: 4px 7px;
}

.caption-field .char-counter.is-near {
  border-color: rgba(215, 185, 79, 0.58);
  background: rgba(215, 185, 79, 0.16);
  color: #775f13;
}

.caption-field .char-counter.is-max {
  border-color: rgba(232, 95, 44, 0.58);
  background: rgba(232, 95, 44, 0.14);
  color: #8a2f13;
}

.image-alt-details {
  border-top: 1px solid rgba(17, 23, 23, 0.08);
  padding-top: 2px;
}

.image-alt-details summary {
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.image-alt-details input {
  min-height: 38px;
  margin-top: 7px;
  font-size: 13px;
}

.carousel-slide-actions {
  display: grid;
  grid-template-columns: 1fr 40px 40px;
  gap: 6px;
}

.carousel-slide-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.carousel-slide-actions button:not(:disabled):hover {
  border-color: var(--cyan-deep);
  color: var(--teal);
}

.carousel-slide-actions button:disabled {
  cursor: default;
  opacity: 0.5;
}

.remove-slide-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.empty-carousel-tray {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.54);
  padding: 18px;
}

.empty-carousel-tray p {
  margin: 0;
  color: var(--ink-soft);
}

.upload-dropzone {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  overflow: hidden;
  border: 1px dashed rgba(8, 52, 58, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.08), transparent 54%),
    rgba(255, 250, 240, 0.74);
  padding: 16px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.upload-dropzone::before {
  content: "+";
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 52, 58, 0.18);
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.upload-dropzone:hover {
  border-color: var(--cyan-deep);
  box-shadow: 0 12px 28px rgba(8, 52, 58, 0.08);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-dropzone-title,
.upload-dropzone-copy,
.upload-dropzone-spec {
  display: block;
  min-width: 0;
}

.upload-dropzone-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.upload-dropzone-copy {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.upload-dropzone-spec {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.image-manager-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.image-manager-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  padding: 12px;
}

.image-manager-card.is-cover {
  border-color: rgba(232, 95, 44, 0.7);
  box-shadow: inset 0 0 0 2px rgba(232, 95, 44, 0.12);
}

.image-manager-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--teal);
}

.image-manager-card figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-manager-card figcaption,
.upload-sequence-item figcaption {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--teal);
  padding: 5px 8px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.image-role-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  gap: 10px;
  align-items: end;
}

.image-role-row input[type="number"] {
  min-height: 38px;
}

.image-manager-fields {
  display: grid;
  gap: 10px;
}

.remove-image-check,
.new-cover-check {
  justify-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.64);
  padding: 10px;
}

.upload-sequence-preview {
  display: grid;
  gap: 12px;
  margin: 0;
}

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

.upload-sequence-item {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.74);
  padding: 9px;
}

.upload-sequence-item.is-cover {
  border-color: rgba(232, 95, 44, 0.68);
  background:
    linear-gradient(135deg, rgba(232, 95, 44, 0.12), transparent 58%),
    rgba(255, 250, 240, 0.82);
}

.upload-sequence-item figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal);
}

.upload-sequence-item img {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--teal);
}

.upload-sequence-meta {
  display: grid;
  gap: 3px;
}

.upload-sequence-meta strong,
.upload-sequence-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-sequence-meta strong {
  font-size: 12px;
}

.upload-sequence-meta span {
  color: var(--ink-soft);
  font-size: 11px;
}

.upload-sequence-actions {
  display: grid;
  grid-template-columns: 40px 40px 62px;
  gap: 6px;
  justify-content: start;
}

.upload-sequence-actions button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.upload-sequence-actions button:disabled {
  cursor: default;
  opacity: 0.48;
}

.image-check {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}

.image-check img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.image-check span {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
}

.current-image img {
  width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-settings-page .form-layout {
  max-width: 1040px;
}

.site-settings-page .admin-title {
  min-height: auto;
  padding-top: 34px;
  padding-bottom: 20px;
}

.site-settings-page .admin-title h1 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 78px);
}

.site-settings-page .admin-title p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-soft);
}

.site-settings-page .editor-form {
  gap: 16px;
}

.site-settings-page .editor-section {
  gap: 16px;
  padding: 18px;
  background: rgba(255, 250, 240, 0.78);
}

.site-settings-page .editor-section > .eyebrow {
  margin-bottom: 2px;
}

.site-settings-page input,
.site-settings-page textarea,
.site-settings-page select {
  min-height: 46px;
  border-color: rgba(17, 23, 23, 0.22);
  background: rgba(255, 250, 240, 0.92);
}

.site-settings-page input[type="file"] {
  padding: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-settings-page input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-soft);
  padding: 9px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
}

.site-visual-card {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  padding: 14px;
}

.site-visual-card.wide {
  grid-row: span 2;
}

.premium-settings-panel {
  border-color: rgba(0, 194, 199, 0.24);
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.08), transparent 48%),
    rgba(255, 250, 240, 0.76);
}

.premium-settings-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.premium-settings-head h2 {
  margin: 4px 0 8px;
  font-size: 32px;
}

.premium-toggle {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.86);
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 900;
}

.zine-download-list {
  display: grid;
  gap: 14px;
}

.zine-download-edit-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.56);
  padding: 16px;
}

.zine-download-edit-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zine-download-edit-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--cyan);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
}

.zine-download-edit-head strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.visual-preview {
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 23, 23, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(45deg, rgba(8, 52, 58, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(8, 52, 58, 0.05) 25%, transparent 25%),
    rgba(255, 250, 240, 0.74);
  background-position: 0 0, 0 8px;
  background-size: 16px 16px;
  overflow: hidden;
}

.visual-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-preview {
  width: 112px;
  aspect-ratio: 1 / 1;
}

.logo-preview img {
  object-fit: contain;
  padding: 8px;
}

.cover-preview {
  max-height: 240px;
  aspect-ratio: 4 / 3;
}

.story-preview {
  width: min(148px, 100%);
  aspect-ratio: 9 / 16;
}

.inline-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
}

.inline-check input {
  width: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255, 250, 240, 0.54);
  font-size: 13px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 60px;
  }

  .hero-band,
  .manifesto-grid,
  .split-layout,
  .story-template,
  .adaptive-hero,
  .adaptive-layout,
  .story-hero,
  .artist-hero,
  .zine-hero,
  .zine-intro,
  .reserve-layout,
  .response-layout,
  .profile-panel,
  .share-panel,
  .playlist-item {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .story-phone,
  .artist-image {
    max-width: 460px;
  }

  .story-grid,
  .credit-board,
  .listening-grid,
  .metric-grid,
  .zine-content-grid,
  .zine-download-grid,
  .soundtrack-gallery,
  .visual-sequence-grid,
  .site-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-site-summary {
    grid-template-columns: 1fr;
  }

  .admin-site-summary .button-row {
    justify-content: flex-start;
  }

  .story-side {
    position: static;
  }

  .adaptive-rail {
    position: static;
  }

  .adaptive-story-page .adaptive-hero h1 {
    font-size: 72px;
  }

  .adaptive-story-page .deck {
    font-size: 26px;
  }

  .zine-stack {
    min-height: 520px;
  }

  .zine-preview-panel {
    display: grid;
  }

  .zine-preview-copy {
    max-width: 100%;
  }

  .zine-mini-shelf {
    width: 100%;
  }

}

@media (max-width: 720px) {
  .media-editor-head {
    display: grid;
    gap: 12px;
  }

  .media-editor-head h2 {
    font-size: 28px;
  }

  .media-count {
    justify-self: start;
  }

  .cover-editor-grid {
    grid-template-columns: 1fr;
  }

  .cover-editor-preview {
    min-height: 220px;
  }

  .upload-dropzone {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }

  .upload-dropzone::before {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .upload-dropzone-title {
    font-size: 15px;
  }

  .upload-dropzone-copy {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .site-footer,
  .admin-title,
  .dashboard-hero,
  .wall-hero,
  .dashboard-actions,
  .wall-hero-actions,
  .share-actions,
  .feed-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-section .section-head.tight {
    display: grid;
    align-items: start;
  }

  .dashboard-identity {
    align-items: flex-start;
  }

  .profile-avatar {
    width: 70px;
    height: 70px;
  }

  .site-header {
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    overflow: visible;
  }

  .brand-mark {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark small {
    display: none;
  }

  .brand-sigil {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.98);
    box-shadow: var(--shadow);
    padding: 8px;
    overflow: visible;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a,
  .nav-logout-form,
  .nav-logout-button {
    width: 100%;
  }

  .main-nav a,
  .nav-logout-button {
    white-space: normal;
    padding: 11px 12px;
    font-size: 14px;
    text-align: left;
  }

  .page-shell,
  .hero-band,
  .zine-hero,
  .story-hero,
  .artist-hero {
    width: min(100% - 28px, var(--max));
  }

  .page-shell {
    padding: 48px 0;
  }

  .hero-band {
    gap: 20px;
    padding: 20px 0 24px;
  }

  .zine-hero {
    gap: 20px;
    padding: 22px 0 28px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-media img {
    height: 240px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-subcopy,
  .large-copy,
  .page-title > p,
  .lead-prose p {
    font-size: 16px;
  }

  .button-row {
    gap: 8px;
    margin-top: 18px;
  }

  .button {
    min-height: 40px;
    padding: 9px 12px;
  }

  .story-grid,
  .credit-board,
  .listening-grid,
  .zine-content-grid,
  .zine-download-grid,
  .soundtrack-gallery,
  .wall-grid,
  .visual-sequence-grid,
  .form-grid,
  .image-edit-grid,
  .image-manager-grid,
  .upload-sequence-grid,
  .site-visual-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .metric-grid article {
    min-height: 94px;
    padding: 13px;
  }

  .metric-grid strong {
    font-size: 42px;
  }

  .metric-grid span {
    font-size: 12px;
    line-height: 1.25;
  }

  .site-visual-card.wide {
    grid-row: auto;
  }

  .premium-settings-head,
  .inbox-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-toggle {
    justify-content: center;
  }

  .inbox-count {
    justify-self: start;
    text-align: left;
  }

  .admin-pagination {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .status-editor-row,
  .visibility-grid {
    grid-template-columns: 1fr;
  }

  .sticky-form-actions {
    position: static;
  }

  .zine-download-section .section-head,
  .zine-download-head {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    max-width: 100%;
    margin-bottom: 18px;
    border: 1px solid rgba(17, 23, 23, 0.1);
    border-left: 5px solid var(--orange);
    border-radius: var(--radius);
    background:
      linear-gradient(90deg, rgba(232, 95, 44, 0.06), transparent 62%),
      rgba(255, 250, 240, 0.78);
    padding: 16px;
  }

  .zine-download-section .section-head .eyebrow,
  .zine-download-head .eyebrow {
    display: inline-flex;
    justify-self: start;
    max-width: 100%;
    width: fit-content;
    border: 1px solid rgba(8, 52, 58, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.92);
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .zine-download-section .section-head h2,
  .zine-download-head h2 {
    max-width: min(100%, 14ch);
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.02;
  }

  .zine-download-section .section-head p:not(.eyebrow),
  .zine-download-head p:not(.eyebrow) {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }

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

  .zine-download-cover {
    aspect-ratio: 4 / 3;
    min-height: 286px;
    max-height: 340px;
    padding: 14px;
  }

  .zine-cover-frame {
    height: min(100%, 304px);
  }

  .journey-artwork {
    min-height: 354px;
    aspect-ratio: 4 / 3;
    padding: 18px;
  }

  .journey-artwork-frame {
    height: min(100%, 318px);
  }

  .zine-download-copy {
    gap: 10px;
    padding: 16px;
  }

  .zine-download-copy h3 {
    font-size: clamp(24px, 7vw, 31px);
  }

  .zine-download-copy p:not(.eyebrow) {
    -webkit-line-clamp: 3;
  }

  .wall-hero {
    grid-template-columns: 1fr;
  }

  .wall-hero-actions {
    justify-content: flex-start;
  }

  .wall-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cover"
      "copy"
      "soundtrack"
      "community"
      "actions";
  }

  .wall-cover {
    min-height: 0;
    height: clamp(380px, 92vw, 520px);
    aspect-ratio: auto;
    max-height: none;
    padding: 18px;
  }

  .wall-artwork-frame {
    max-height: 484px;
  }

  .wall-card-copy,
  .wall-soundtrack-panel,
  .wall-community {
    padding: 13px;
  }

  .wall-card-copy h2 {
    font-size: 30px;
  }

  .wall-observation-preview p {
    max-width: 100%;
    font-size: 14px;
  }

  .wall-soundtrack-panel,
  .wall-community {
    border-left: 0;
  }

  .wall-soundtrack-panel {
    border-top: 1px solid var(--line);
  }

  .moon-row {
    align-items: stretch;
    flex-direction: column;
  }

  .moon-total strong {
    font-size: 30px;
  }

  .moon-button {
    width: 100%;
    justify-content: flex-start;
  }

  .listen-head {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .zine-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
  }

  .zine-cover {
    position: relative;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .zine-cover img {
    height: 148px;
    aspect-ratio: auto;
  }

  .zine-cover div {
    min-height: 74px;
    padding: 8px;
  }

  .zine-cover strong {
    font-size: 12px;
  }

  .zine-cover span {
    font-size: 10px;
  }

  .cover-1 {
    top: auto;
    left: auto;
  }

  .cover-2 {
    top: auto;
    right: auto;
  }

  .cover-3 {
    bottom: auto;
    left: auto;
  }

  .zine-hero .button {
    width: auto;
    flex: 1 1 150px;
  }

  .story-row {
    grid-template-columns: 1fr;
  }

  .adaptive-story-mobile {
    display: block;
    padding: 22px 0 32px;
  }

  .adaptive-story-desktop {
    display: none;
  }

  .mobile-story-intro {
    width: min(100% - 28px, var(--max));
    margin: 0 auto 18px;
  }

  .mobile-story-intro h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 52px;
    line-height: 0.86;
    text-transform: none;
  }

  .mobile-story-intro > p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.42;
  }

  .mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--ink-soft);
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 10px;
    text-transform: uppercase;
  }

  .story-carousel {
    width: 100%;
  }

  .story-progress {
    display: flex;
    gap: 4px;
    width: min(100% - 28px, 430px);
    margin: 0 auto 10px;
  }

  .story-progress span {
    flex: 1 1 0;
    min-width: 0;
    height: 3px;
    border-radius: var(--radius);
    background: rgba(17, 23, 23, 0.16);
    overflow: hidden;
  }

  .story-progress span::before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    background: var(--orange);
    transition: width 180ms ease;
  }

  .story-progress span.is-active::before,
  .story-progress span.is-complete::before {
    width: 100%;
  }

  .story-stage {
    position: relative;
    width: min(100% - 28px, 430px);
    margin: 0 auto 18px;
  }

  .story-swipe {
    position: relative;
    height: clamp(420px, calc(100svh - 112px), 640px);
    overflow: hidden;
  }

  .story-tap-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 30%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  .story-tap-zone.prev {
    left: 0;
  }

  .story-tap-zone.next {
    right: 0;
  }

  .story-stage.is-player .story-tap-zone {
    width: 18%;
  }

  .story-panel {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.72);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(24px) scale(0.98);
    transition: opacity 180ms ease, transform 220ms ease;
  }

  .story-panel.is-before {
    transform: translateX(-24px) scale(0.98);
  }

  .story-panel.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  .story-panel.dark {
    background:
      linear-gradient(180deg, rgba(8, 52, 58, 0.18), rgba(8, 52, 58, 0.94)),
      var(--teal);
    color: var(--paper-soft);
  }

  .story-panel.signal {
    background:
      linear-gradient(145deg, rgba(0, 194, 199, 0.2), transparent 38%),
      linear-gradient(180deg, rgba(8, 52, 58, 0.1), rgba(8, 52, 58, 0.96)),
      var(--teal);
  }

  .story-panel.paper {
    background:
      linear-gradient(135deg, rgba(0, 194, 199, 0.13), transparent 42%),
      linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(244, 239, 227, 0.92));
  }

  .story-panel.text-panel {
    background:
      radial-gradient(circle at 16px 16px, rgba(8, 52, 58, 0.13) 1px, transparent 1.4px) 0 0 / 12px 12px,
      linear-gradient(145deg, rgba(0, 194, 199, 0.2), transparent 34%),
      linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(244, 239, 227, 0.94));
    color: var(--ink);
  }

  .story-panel.text-panel::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 26px;
    width: 98px;
    height: 40px;
    border: 2px solid rgba(8, 52, 58, 0.2);
    border-radius: 50%;
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(0, 194, 199, 0.88) 46%, rgba(8, 52, 58, 0.84) 47%);
    box-shadow: 0 18px 38px rgba(0, 194, 199, 0.16);
    opacity: 0.78;
    transform: rotate(-7deg);
  }

  .story-panel.text-panel::after {
    content: "";
    position: absolute;
    right: 48px;
    top: 62px;
    width: 42px;
    height: 170px;
    background: linear-gradient(180deg, rgba(0, 194, 199, 0.18), transparent);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    opacity: 0.72;
  }

  .story-panel.text-panel .story-panel-copy {
    z-index: 2;
    overflow: hidden;
  }

  .story-panel.text-panel .story-panel-copy > div:not(.story-micro) {
    display: grid;
    gap: 12px;
    padding-left: 14px;
    border-left: 5px solid var(--orange);
  }

  .story-panel.text-panel h2 {
    max-width: 13ch;
    color: var(--ink);
    font-size: clamp(30px, min(8.8vw, 6.2svh), 52px);
    line-height: 0.96;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
  }

  .story-panel.text-panel p {
    max-width: 30ch;
    color: var(--ink-soft);
    font-size: clamp(13px, 3.5vw, 17px);
    font-weight: 720;
    line-height: 1.34;
  }

  .story-panel.frame-note-panel .frame-note-copy {
    align-self: stretch;
    margin-top: auto;
    border: 1px solid rgba(17, 23, 23, 0.1);
    border-radius: 0 var(--radius) var(--radius) 0;
    background:
      linear-gradient(90deg, rgba(232, 95, 44, 0.06), transparent 62%),
      rgba(255, 250, 240, 0.88);
    padding: 14px 14px 14px 16px;
    box-shadow: 0 14px 32px rgba(17, 23, 23, 0.08);
  }

  .story-panel.frame-note-panel h2 {
    max-width: 18ch;
    font-size: clamp(24px, min(6vw, 4.5svh), 36px);
    line-height: 1.02;
  }

  .story-panel.frame-note-panel p {
    max-width: 34ch;
    font-size: clamp(12px, 3vw, 15px);
    line-height: 1.46;
    font-weight: 680;
  }

  .story-panel.frame-note-panel.note-prose h2 {
    display: none;
  }

  .story-panel.frame-note-panel.note-prose p {
    max-width: 35ch;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(18px, min(4.65vw, 3.6svh), 26px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink);
  }

  .story-panel.frame-note-panel.note-long p {
    font-size: clamp(14px, min(3.8vw, 3svh), 20px);
    line-height: 1.2;
  }

  .story-panel.frame-note-panel.note-long .story-micro {
    display: none;
  }

  .story-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
  }

  .story-panel.image-panel > img {
    opacity: 0.72;
  }

  .story-panel.cover-artwork,
  .story-panel.artwork-panel {
    background: #062f33;
    padding: 14px;
  }

  .story-panel.cover-artwork > img,
  .story-panel.artwork-panel > img {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    border-radius: calc(var(--radius) - 2px);
    opacity: 1;
    object-fit: contain;
    background: #062f33;
  }

  .story-panel.cover-artwork.has-overlay::after,
  .story-panel.artwork-panel.has-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(3, 25, 27, 0.08), rgba(3, 25, 27, 0.46)),
      radial-gradient(circle at 50% 50%, transparent 30%, rgba(3, 25, 27, 0.26));
    pointer-events: none;
  }

  .story-image-overlay {
    position: absolute;
    right: 24px;
    left: 24px;
    z-index: 3;
    border: 1px solid rgba(255, 250, 240, 0.34);
    border-left: 5px solid var(--orange);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.9);
    color: var(--ink);
    padding: 13px 14px;
    text-align: left;
    text-shadow: none;
    box-shadow: 0 18px 36px rgba(3, 25, 27, 0.28);
    backdrop-filter: blur(8px);
  }

  .story-image-overlay.overlay-center {
    top: 50%;
    transform: translateY(-50%);
  }

  .story-image-overlay.overlay-bottom {
    bottom: 76px;
  }

  .story-image-overlay h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(26px, 8vw, 42px);
    line-height: 0.96;
  }

  .story-ufo {
    position: absolute;
    right: 18px;
    top: 74px;
    width: 148px;
    height: 62px;
    border: 2px solid rgba(244, 239, 227, 0.68);
    border-radius: 50%;
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(0, 194, 199, 0.86) 42%, rgba(8, 52, 58, 0.84) 43%);
    box-shadow: 0 18px 42px rgba(0, 194, 199, 0.28);
    transform: rotate(-7deg);
  }

  .story-ufo::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 52px;
    width: 96px;
    height: 190px;
    background: linear-gradient(180deg, rgba(157, 248, 255, 0.34), transparent);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    transform: translateX(-50%);
  }

  .story-ufo.small {
    right: 26px;
    top: 36px;
    width: 118px;
    height: 50px;
    opacity: 0.88;
  }

  .story-panel-copy {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
  }

  .story-panel.frame-note-panel .story-panel-copy {
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
  }

  .story-panel.frame-note-panel.note-medium .story-panel-copy,
  .story-panel.frame-note-panel.note-long .story-panel-copy,
  .story-panel.frame-note-panel.note-prose .story-panel-copy {
    padding: 18px 20px;
  }

  .story-panel-copy.is-caption-only {
    pointer-events: none;
  }

  .story-panel-copy span {
    color: var(--cyan-deep);
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .story-panel.dark .story-panel-copy span {
    color: #9df8ff;
  }

  .story-panel-copy h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 48px;
    line-height: 0.9;
  }

  .story-panel-copy p {
    color: inherit;
    font-size: 17px;
    line-height: 1.42;
  }

  .story-micro {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .story-micro em {
    border: 1px solid rgba(17, 23, 23, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.22);
    padding: 7px 9px;
    color: var(--ink-soft);
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
  }

  .story-panel.dark .story-micro em {
    border-color: rgba(244, 239, 227, 0.24);
    color: #d9f2ef;
  }

  .story-panel.player {
    padding: 14px;
    background: var(--teal);
  }

  .story-panel.player .soundtrack-panel {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-cta-card {
    display: grid;
    gap: 8px;
    width: min(100% - 28px, var(--max));
    margin: 0 auto;
    border: 1px solid var(--line);
    border-left: 8px solid var(--orange);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.74);
    padding: 18px;
    text-decoration: none;
  }

  .mobile-cta-card strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    line-height: 1;
  }

  .mobile-cta-card span {
    color: var(--orange);
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .story-margin-notes {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .margin-notes-head {
    position: static;
  }

  .margin-notes-head h2 {
    max-width: 12ch;
  }

  .margin-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .margin-note::before {
    left: 0;
    top: 14px;
    bottom: auto;
    width: 48px;
    height: 2px;
  }

  .margin-note p {
    grid-column: auto;
  }

  .story-thumb img {
    max-height: 360px;
  }

  .inline-credit {
    grid-template-columns: 1fr;
  }

  .submission-item,
  .artist-admin-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .share-panel {
    padding: 16px;
  }

  .playlist-number {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .zine-mini-shelf {
    grid-template-columns: 1fr;
  }

  .zine-mini-card a {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .zine-mini-cover {
    min-height: 128px;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

/* ======================================================================
   OBSERVERS FINAL PATCH — artwork-first 9:16 cards
   Purpose:
   - artwork remains the hero of the page
   - 9:16 poster ratio is preserved
   - no teal/green padding frame around poster
   - card width is restrained so vertical artwork does not sit inside a
     strange wide stage
   - Spotify and community sections stay clean under the artwork
   ====================================================================== */

body.soundtrack-wall-page .wall-shell {
  width: min(1120px, calc(100% - 44px));
}

body.soundtrack-wall-page .wall-grid.is-feed,
body.soundtrack-wall-page .wall-grid.is-gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 430px));
  justify-content: center;
  align-items: start;
  gap: 22px;
}

body.soundtrack-wall-page .wall-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cover"
    "copy"
    "soundtrack"
    "community"
    "actions";
  overflow: hidden;
  border: 1px solid rgba(17, 23, 23, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 250, 240, 0.88)),
    var(--paper-soft);
  box-shadow:
    0 18px 40px rgba(17, 23, 23, 0.08),
    0 1px 0 rgba(255, 250, 240, 0.84) inset;
}

body.soundtrack-wall-page .wall-cover,
body.soundtrack-wall-page .wall-grid.is-feed .wall-cover,
body.soundtrack-wall-page .wall-grid.is-gallery .wall-cover {
  grid-area: cover;
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 9 / 16 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 14%, rgba(0, 194, 199, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(244, 239, 227, 0.96));
}

body.soundtrack-wall-page .wall-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(17, 23, 23, 0.10),
    inset 0 -18px 30px rgba(17, 23, 23, 0.03);
}

body.soundtrack-wall-page .wall-cover-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.soundtrack-wall-page .wall-cover-fallback,
body.soundtrack-wall-page .wall-cover > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(circle at 50% 24%, rgba(0, 194, 199, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(244, 239, 227, 0.94));
  color: var(--teal);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(54px, 14vw, 82px);
}

/* Kill the old green stage/frame if an older EJS file still outputs it. */
body.soundtrack-wall-page .wall-artwork-frame {
  display: contents !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.soundtrack-wall-page .wall-artwork-frame img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.soundtrack-wall-page .wall-card-copy {
  padding: 16px 16px 14px;
}

body.soundtrack-wall-page .wall-card-copy h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 0.98;
}

body.soundtrack-wall-page .wall-card-copy .eyebrow {
  margin-bottom: 4px;
}

body.soundtrack-wall-page .compact-credit {
  margin-top: 10px;
}

body.soundtrack-wall-page .wall-soundtrack-panel {
  margin: 0 !important;
  padding: 14px 16px !important;
  border-top: 1px solid var(--line) !important;
  background:
    linear-gradient(180deg, rgba(17, 23, 23, 0.025), rgba(17, 23, 23, 0.045)) !important;
}

body.soundtrack-wall-page .wall-soundtrack-panel .eyebrow {
  margin-bottom: 0;
}

body.soundtrack-wall-page .wall-soundtrack-panel iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}

body.soundtrack-wall-page .wall-community {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

body.soundtrack-wall-page .wall-card-actions {
  gap: 8px;
  margin: 0;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}

body.soundtrack-wall-page .wall-card-actions .button {
  flex: 1 1 140px;
}

@media (max-width: 760px) {
  body.soundtrack-wall-page .wall-shell {
    width: min(100% - 28px, var(--max));
  }

  body.soundtrack-wall-page .wall-grid,
  body.soundtrack-wall-page .wall-grid.is-feed,
  body.soundtrack-wall-page .wall-grid.is-gallery {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }

  body.soundtrack-wall-page .wall-card {
    border-radius: 16px;
  }

  body.soundtrack-wall-page .wall-cover,
  body.soundtrack-wall-page .wall-grid.is-feed .wall-cover,
  body.soundtrack-wall-page .wall-grid.is-gallery .wall-cover {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 9 / 16 !important;
    padding: 0 !important;
  }

  body.soundtrack-wall-page .wall-card-copy,
  body.soundtrack-wall-page .wall-soundtrack-panel,
  body.soundtrack-wall-page .wall-community,
  body.soundtrack-wall-page .wall-card-actions {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.soundtrack-wall-page .wall-card-copy h2 {
    font-size: 32px;
  }

  body.soundtrack-wall-page .wall-soundtrack-panel iframe {
    height: 152px;
  }
}

/* ======================================================================
   UNIFIED ARTWORK CARD PATCH — full-bleed editorial cards
   Purpose:
   - all public artwork cards fill their image area edge-to-edge
   - no teal padding stage around uploaded posters
   - Observers card reads as one modern editorial object
   ====================================================================== */

.story-card > img,
.soundtrack-tile > img,
.dashboard-story-cover img,
.dashboard-story-cover .soundtrack-art {
  display: block;
  width: 100% !important;
  height: auto;
  max-width: none;
  max-height: none !important;
  aspect-ratio: 9 / 16 !important;
  object-fit: cover !important;
  object-position: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent !important;
}

.soundtrack-tile,
.story-card,
.zine-download-card,
.zine-mini-card {
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 18px 38px rgba(17, 23, 23, 0.07);
}

.journey-card .journey-artwork {
  display: block !important;
  width: 100%;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 9 / 16 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--line);
  background: var(--teal) !important;
}

.journey-card .journey-artwork::after,
.journey-card .journey-artwork-backdrop {
  display: none !important;
}

.journey-card .journey-artwork-frame {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.journey-card .journey-artwork-frame img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  padding: 0 !important;
  background: transparent !important;
}

.listen-cover {
  aspect-ratio: 4 / 5;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
}

.listen-cover img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.zine-download-cover {
  aspect-ratio: 9 / 16 !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--teal) !important;
}

.zine-download-cover::after,
.zine-download-cover .zine-cover-backdrop {
  display: none !important;
}

.zine-cover-frame {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.zine-download-cover .zine-cover-frame img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  padding: 0 !important;
  background: transparent !important;
}

.zine-mini-cover {
  padding: 0;
  background: var(--teal);
}

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

body.soundtrack-wall-page .wall-shell {
  width: min(1080px, calc(100% - 44px));
}

body.soundtrack-wall-page .wall-grid,
body.soundtrack-wall-page .wall-grid.is-feed,
body.soundtrack-wall-page .wall-grid.is-gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px)) !important;
  gap: 22px !important;
  justify-content: center;
  align-items: start;
}

body.soundtrack-wall-page .wall-card {
  overflow: hidden;
  border: 1px solid rgba(17, 23, 23, 0.13);
  border-radius: var(--radius) !important;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 250, 240, 0.9)),
    var(--paper-soft);
  box-shadow:
    0 24px 58px rgba(17, 23, 23, 0.11),
    0 1px 0 rgba(255, 250, 240, 0.86) inset;
}

body.soundtrack-wall-page .wall-cover,
body.soundtrack-wall-page .wall-grid.is-feed .wall-cover,
body.soundtrack-wall-page .wall-grid.is-gallery .wall-cover {
  display: block !important;
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 9 / 16 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--teal) !important;
}

body.soundtrack-wall-page .wall-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(17, 23, 23, 0.12),
    inset 0 -42px 48px rgba(17, 23, 23, 0.08);
}

body.soundtrack-wall-page .wall-cover-image,
body.soundtrack-wall-page .wall-artwork-frame img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.soundtrack-wall-page .wall-card-copy,
body.soundtrack-wall-page .wall-soundtrack-panel,
body.soundtrack-wall-page .wall-community,
body.soundtrack-wall-page .wall-card-actions {
  background: transparent !important;
}

body.soundtrack-wall-page .wall-card-copy {
  padding: 18px 18px 14px !important;
}

body.soundtrack-wall-page .wall-card-copy h2 {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 0.98;
}

body.soundtrack-wall-page .wall-observation-preview {
  margin-top: 10px;
  border: 0;
  border-left: 4px solid var(--orange);
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 12px;
}

body.soundtrack-wall-page .wall-observation-preview p {
  font-size: 15px;
  line-height: 1.58;
  -webkit-line-clamp: 12;
  line-clamp: 12;
}

@media (max-width: 760px) {
  body.soundtrack-wall-page .wall-observation-preview p {
    -webkit-line-clamp: 14;
    line-clamp: 14;
  }
}

body.soundtrack-wall-page .compact-credit {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 23, 23, 0.12);
}

body.soundtrack-wall-page .wall-soundtrack-panel,
body.soundtrack-wall-page .wall-community,
body.soundtrack-wall-page .wall-card-actions {
  margin: 0 !important;
  padding: 14px 18px !important;
  border-top: 1px solid rgba(17, 23, 23, 0.12) !important;
}

body.soundtrack-wall-page .wall-soundtrack-panel iframe {
  border-radius: var(--radius);
}

body.soundtrack-wall-page .moon-collector {
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(232, 95, 44, 0.12), transparent 58%),
    transparent;
  box-shadow: none;
  padding: 0 0 0 12px;
}

body.soundtrack-wall-page .moon-collector::before {
  opacity: 0.26;
}

body.soundtrack-wall-page .moon-collector::after {
  top: 0;
  bottom: 0;
  width: 4px;
}

body.soundtrack-wall-page .moon-row {
  border: 0;
  background: transparent;
  padding: 0;
}

body.soundtrack-wall-page .reflection-note {
  border-left-color: rgba(0, 194, 199, 0.7);
  background: rgba(255, 250, 240, 0.42);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.page-shell,
.wall-shell,
.story-grid,
.soundtrack-gallery,
.listening-grid,
.zine-download-grid {
  min-width: 0;
}

.listening-grid {
  align-items: start;
}

.listen-item {
  gap: 0;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(17, 23, 23, 0.13);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 18px 38px rgba(17, 23, 23, 0.07);
}

.listen-head {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: stretch;
}

.listen-head > div:not(.listen-cover) {
  padding: 16px 16px 14px;
}

.listen-cover {
  width: 100%;
  aspect-ratio: 9 / 16 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
}

.listen-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

.listen-item > iframe,
.listen-item > .spotify-fallback {
  margin: 0;
  border-top: 1px solid rgba(17, 23, 23, 0.12);
  border-radius: 0;
}

.listen-item > .credit-lines {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(17, 23, 23, 0.12);
}

@media (max-width: 760px) {
  body.soundtrack-wall-page .wall-shell {
    width: min(100% - 28px, var(--max));
  }

  body.soundtrack-wall-page .wall-grid,
  body.soundtrack-wall-page .wall-grid.is-feed,
  body.soundtrack-wall-page .wall-grid.is-gallery {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.soundtrack-wall-page .wall-card-copy,
  body.soundtrack-wall-page .wall-soundtrack-panel,
  body.soundtrack-wall-page .wall-community,
  body.soundtrack-wall-page .wall-card-actions {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .listen-head {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}

/* Clean personal dashboard art: artwork first, all reading text below. */
.dashboard-page .dashboard-story-cover,
.playlist-page .dashboard-story-cover {
  aspect-ratio: 9 / 16 !important;
  background: var(--teal);
}

.dashboard-page .dashboard-story-cover::after,
.playlist-page .dashboard-story-cover::after {
  display: none !important;
  content: none !important;
}

.dashboard-page .dashboard-story-cover img,
.dashboard-page .dashboard-story-cover .soundtrack-art,
.playlist-page .dashboard-story-cover img,
.playlist-page .dashboard-story-cover .soundtrack-art {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 9 / 16 !important;
  object-fit: cover !important;
  object-position: center;
}

.dashboard-page .dashboard-cover-label,
.dashboard-page .dashboard-cover-title,
.playlist-page .dashboard-cover-label,
.playlist-page .dashboard-cover-title {
  display: none !important;
}

.dashboard-story-card .dashboard-card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-story-card .dashboard-card-status .eyebrow {
  margin: 0;
}

.dashboard-story-card .dashboard-card-status .dashboard-moon-bucket {
  position: static !important;
  z-index: auto;
  flex: 0 0 auto;
  box-shadow: none;
}

.dashboard-story-card .soundtrack-copy {
  padding: 17px 16px 15px;
}

.dashboard-story-card .soundtrack-copy h3 {
  min-height: 0;
}

.dashboard-story-title-text {
  color: var(--ink) !important;
  font-weight: 850;
}
