: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;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.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-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: 4 / 5;
  overflow: hidden;
  color: var(--paper-soft);
  text-decoration: none;
  background:
    linear-gradient(160deg, rgba(0, 194, 199, 0.18), transparent 44%),
    linear-gradient(0deg, rgba(8, 52, 58, 0.88), transparent 52%),
    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 {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(8, 52, 58, 0.82));
}

.dashboard-cover-label {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 18px;
  min-width: 52px;
  background: rgba(255, 250, 240, 0.9);
  padding: 3px 8px;
  color: var(--teal);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-cover-title {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 18px;
  left: 14px;
  display: grid;
  gap: 8px;
}

.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 {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  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;
}

.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;
}

.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(3, minmax(0, 1fr));
  gap: 18px;
}

.wall-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  overflow: hidden;
}

.wall-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(0, 194, 199, 0.2), transparent 48%),
    var(--teal);
  color: var(--paper-soft);
  font-family: Anton, Impact, sans-serif;
  font-size: 74px;
}

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

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

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

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

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

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

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

.wall-card iframe {
  height: 168px;
  border-radius: 0;
}

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

.moon-collector {
  position: relative;
  display: grid;
  gap: 14px;
  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: 16px;
  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-orbit {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 86px;
  height: 78px;
  pointer-events: none;
}

.moon-orbit::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edc463;
  box-shadow: inset -12px -7px 0 #fff0c8, 0 0 24px rgba(215, 185, 79, 0.56);
  transform: rotate(-18deg);
}

.moon-orbit span,
.moon-orbit i,
.moon-orbit b {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(232, 95, 44, 0.72);
  transform: rotate(45deg);
}

.moon-orbit span {
  left: 14px;
  top: 46px;
  box-shadow: 20px -18px 0 -1px rgba(215, 185, 79, 0.9);
}

.moon-orbit i {
  left: 42px;
  bottom: 6px;
  border-color: rgba(215, 185, 79, 0.9);
}

.moon-orbit b {
  right: 8px;
  bottom: 12px;
}

.moon-panel-copy {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 92px);
}

.moon-kicker {
  margin: 0;
  color: #6f6046;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  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: 11px;
  line-height: 1.4;
}

.moon-basket {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(86px, 0.72fr) minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  min-height: 92px;
  margin-top: 2px;
}

.moon-pile {
  position: relative;
  min-height: 76px;
  border-bottom: 2px solid rgba(132, 83, 23, 0.34);
}

.moon-pile::before,
.moon-pile::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: -1px;
  left: 6px;
  height: 30px;
  border: 1px solid rgba(132, 83, 23, 0.34);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, rgba(160, 111, 53, 0.1), rgba(160, 111, 53, 0.2));
}

.moon-pile::after {
  right: 16px;
  bottom: 12px;
  left: 16px;
  height: 20px;
  opacity: 0.55;
}

.moon-pile span {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 22px;
  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-pile span:nth-child(1) { left: 10px; bottom: 9px; }
.moon-pile span:nth-child(2) { left: 29px; bottom: 8px; }
.moon-pile span:nth-child(3) { left: 48px; bottom: 9px; }
.moon-pile span:nth-child(4) { left: 20px; bottom: 28px; }
.moon-pile span:nth-child(5) { left: 39px; bottom: 29px; }
.moon-pile span:nth-child(6) { left: 31px; bottom: 48px; }
.moon-pile span:nth-child(7) { left: 2px; bottom: 24px; transform: scale(0.82); }
.moon-pile span:nth-child(8) { left: 59px; bottom: 25px; transform: scale(0.82); }
.moon-pile span:nth-child(9) { left: 12px; bottom: 46px; transform: scale(0.74); }
.moon-pile span:nth-child(10) { left: 51px; bottom: 47px; transform: scale(0.74); }
.moon-pile span:nth-child(11) { left: 3px; bottom: 5px; transform: scale(0.68); }
.moon-pile span:nth-child(12) { left: 69px; bottom: 7px; transform: scale(0.68); }

.moon-pile .empty-moon {
  left: 31px;
  bottom: 13px;
  opacity: 0.32;
  filter: grayscale(0.6);
}

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

.moon-total strong {
  color: #3d321f;
  font-family: "Anton", Impact, sans-serif;
  font-size: 42px;
  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: 12px;
  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: 12px;
  padding: 8px;
}

.moon-row form {
  margin: 0;
}

.moon-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  border: 1px solid rgba(232, 95, 44, 0.46);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8e8, #f7d88d);
  color: #3d321f;
  padding: 8px 15px 8px 10px;
  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: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2f2a20;
  color: #f8d982;
  font-size: 24px;
  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: 13px;
  font-weight: 900;
}

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

.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: 36px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  padding: 7px 11px;
  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 {
  margin: 0;
  padding: 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;
}

.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);
}

.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;
}

.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 / 13;
  object-fit: cover;
}

.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;
}

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

.chapter {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.62);
  padding: 22px;
}

.chapter .no {
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.chapter h2 {
  margin-top: 20px;
  font-size: 36px;
}

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

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

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

.visual-sequence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.visual-sequence figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  overflow: hidden;
}

.visual-sequence img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
}

.visual-sequence figcaption {
  display: grid;
  gap: 4px;
  padding: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.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);
}

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

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: cover;
}

.zine-cover div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-top: 2px solid var(--ink);
}

.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-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;
}

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

.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;
}

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

.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;
}

.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,
  .soundtrack-gallery,
  .wall-grid,
  .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;
  }
}

@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: grid;
  }

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

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

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) 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,
  .metric-grid,
  .zine-content-grid,
  .soundtrack-gallery,
  .wall-grid,
  .visual-sequence-grid,
  .form-grid,
  .image-edit-grid,
  .site-visual-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .moon-panel-copy {
    max-width: calc(100% - 66px);
  }

  .moon-orbit {
    right: 8px;
    transform: scale(0.78);
    transform-origin: top right;
  }

  .moon-basket {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 86px;
  }

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

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

  .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: min(640px, calc(100svh - 188px));
    min-height: 580px;
    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 > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
  }

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

  .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-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;
  }

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

  .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;
  }
}
