
:root {
  color-scheme: light;
  --ink: #141413;
  --muted: #62615b;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dedbd2;
  --teal: #0f766e;
  --blue: #2563eb;
  --amber: #d97706;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
}

.site-header { position: sticky; top: 0; z-index: 10; color: var(--ink); flex-wrap: wrap; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); flex-wrap: wrap; }

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}
.brand::before {
  background: url("/assets/brand/fictures-icon.svg") center / contain no-repeat;
  content: "";
  flex: 0 0 28px;
  height: 28px;
  width: 28px;
}
.nav { display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--muted); font-weight: 650; align-items: center; }
.nav-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--surface);
}

main { min-height: 80vh; }

.masthead, .profile-hero, .world-header, .directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(32px, 7vw, 80px) clamp(18px, 4vw, 56px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

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

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

h1, h2, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 74px); line-height: 0.98; letter-spacing: 0; max-width: 980px; }
h2 { margin: 0; font-size: 24px; letter-spacing: 0; }
.lead { max-width: 760px; color: #3f3d38; font-size: 18px; line-height: 1.65; }
p { line-height: 1.65; }

.metric-panel, .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
}

.metric-grid { padding: 24px clamp(18px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.metric-panel a, .metric-grid div {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
  border-radius: 8px;
}

.metric-panel a {
  transition: border-color 160ms ease, transform 160ms ease;
}

.metric-panel a:hover,
.metric-panel a:focus-visible {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.metric-panel strong, .metric-grid strong { display: block; font-size: 34px; }
.metric-panel span, .metric-grid span { color: var(--muted); font-weight: 650; }

.content-band, .split-band {
  padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
}

.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 18px; }
.section-heading p { margin: 0; color: var(--muted); max-width: 520px; }

.directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 20px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 72%, var(--surface));
}

.directory-search-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.directory-search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.directory-count {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

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

.directory-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  border-top: 6px solid var(--accent);
}

.directory-card a {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  height: 100%;
  color: inherit;
}

.directory-thumb {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #fff;
}

.directory-thumb-wide {
  object-fit: cover;
}

.directory-card span {
  display: block;
  margin: 14px 14px 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.directory-card strong {
  display: block;
  margin: 6px 14px 0;
  font-size: 20px;
}

.directory-card p {
  margin: 8px 14px 16px;
  color: var(--muted);
}

.directory-empty {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 750;
}

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

.character-card, .episode-row, .world-card, .asset-panel {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.character-card {
  position: relative;
  padding: 14px;
  border-top: 0;
  --load-progress: 1;
}
.character-card::before,
.character-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
}
.character-card::before {
  right: 0;
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
}
.character-card::after {
  width: 100%;
  background: var(--accent);
  transform: scaleX(var(--load-progress));
  transform-origin: left center;
  transition: transform 160ms ease, opacity 160ms ease;
}
.character-card.is-model-loading::after {
  animation: character-card-loading-glow 900ms ease-in-out infinite;
}
.character-card.is-model-error::after { background: #b91c1c; }
.character-card-viewer {
  display: block;
  width: 100%;
  height: clamp(240px, 32vw, 310px);
  border-radius: 6px;
  background: #f2f0e8;
  overflow: hidden;
}
.character-card-viewer::part(default-progress-bar),
.character-card-viewer::part(default-progress-mask) {
  opacity: 0;
}
.character-card-viewer img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.character-card-avatar { object-fit: contain; padding: 10px; background: #fff; }
.character-card-link { display: block; color: inherit; }
.character-card span, .world-card span, .episode-row span { display: block; margin-top: 12px; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.character-card strong, .world-card strong, .episode-row strong { display: block; margin-top: 6px; font-size: 20px; }
.character-card p, .world-card p, .episode-row p { margin: 8px 0 0; color: var(--muted); }

.episode-list { display: grid; gap: 12px; }
.episode-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding: 12px; }
.episode-row img { grid-row: span 3; width: 100%; height: 110px; object-fit: cover; border-radius: 6px; }

.world-card { padding: 18px; border-left: 6px solid var(--accent); }
.world-card-visual {
  position: relative;
  display: grid;
  gap: 0;
  color: var(--ink);
  overflow: hidden;
}
.world-card-snapshot {
  display: block;
  width: calc(100% + 36px);
  height: 170px;
  margin: -18px -18px 0;
  object-fit: cover;
  background: #f2f0e8;
  border-bottom: 1px solid rgba(20, 20, 19, 0.08);
}
.world-card-visual span,
.world-card-visual strong,
.world-card-visual p { position: relative; }
.world-card-visual span { color: var(--teal); }
.world-card-visual p { color: var(--muted); }

.ad-slot {
  margin: 18px clamp(18px, 4vw, 56px);
  overflow: hidden;
  border: none;
  background: transparent;
  padding: 0;
  min-height: 0;
}

.avatar-xl { width: min(100%, 360px); border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.character-avatar-hero { display: block; aspect-ratio: 1; object-fit: contain; }
.character-viewer-shell { width: min(100%, 420px); }
.character-viewer {
  display: block;
  width: 100%;
  height: clamp(340px, 75vw, 460px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f2f0e8;
  overflow: hidden;
}
.character-viewer::part(default-progress-bar) { background-color: var(--accent); }
.character-viewer img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.model-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.model-actions a, .model-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 8vw, 96px) clamp(18px, 4vw, 56px);
  align-items: start;
}

.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(20px, 4vw, 32px);
}

.account-panel h2 {
  margin-bottom: 10px;
}

.account-panel p {
  color: var(--muted);
}

.account-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > label,
.field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.request-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3ee;
}

.request-segments label {
  cursor: pointer;
}

.request-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-segments span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 850;
}

.request-segments input:checked + span {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(20, 20, 19, 0.08);
}

.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.textarea {
  min-height: 180px;
  resize: vertical;
  padding: 12px;
}

.select {
  min-height: 44px;
  padding: 10px 12px;
}

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

.account-submit {
  width: fit-content;
}

.account-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.account-status.is-error {
  color: #b91c1c;
}

.account-status a {
  color: var(--teal);
  font-weight: 850;
}
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.profile-facts div { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: var(--surface); }
.profile-facts dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.profile-facts dd { margin: 5px 0 0; font-weight: 750; }

.asset-panel { padding: 22px; }
.asset-panel ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.asset-panel li { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.asset-panel span { color: var(--muted); }

.story-layout { max-width: 860px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 18px; }
.scene-image { width: 100%; border-radius: 8px; border: 1px solid var(--line); margin: 24px 0; }
.episode-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 24px 0;
  background: #101820;
}
.story-body { font-size: 18px; }
.story-body .ad-slot { margin: 24px 0; }

.privacy-prose { max-width: 720px; padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 56px); }
.privacy-prose h2 { margin: 32px 0 8px; font-size: 18px; }
.privacy-prose p { margin: 0 0 16px; line-height: 1.7; }
.privacy-prose a { color: var(--teal); }

.button-link, .reward-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}

.world-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  padding: clamp(24px, 5vw, 56px) clamp(18px, 4vw, 56px);
}

.world-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #18212a;
  perspective: 900px;
}

.world-stage-3d {
  background: #101820;
  perspective: none;
}

.world-stage-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(10, 15, 19, 0.96), rgba(16, 24, 32, 0.9));
  transition: opacity 180ms ease;
}

.world-stage-loading[hidden] {
  opacity: 0;
  pointer-events: none;
}

.world-stage-skeleton {
  position: relative;
  width: min(100%, 760px);
  height: min(100%, 100%);
  min-height: 260px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)) 0 0 / 220% 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1));
  animation: world-stage-loading-shimmer 1.25s linear infinite;
}

.world-stage-spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #fff;
  animation: world-stage-spinner-spin 0.8s linear infinite;
}

.world-viewer {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #101820;
  opacity: 0;
  transition: opacity 180ms ease;
}

.world-viewer::part(default-progress-bar) {
  background-color: var(--accent);
}

.world-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #101820;
}

.world-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: #101820;
  opacity: 0;
  transition: opacity 180ms ease;
}

.world-stage.is-world-ready .world-viewer,
.world-stage.is-world-ready .world-video {
  opacity: 1;
}

.world-stage.is-world-error .world-stage-loading {
  background: linear-gradient(180deg, rgba(60, 17, 17, 0.96), rgba(16, 24, 32, 0.94));
}

.world-stage.is-world-error .world-stage-spinner {
  display: none;
}

.world-stage.is-world-error .world-stage-skeleton::after {
  content: "Scene failed to load.";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.world-floor {
  position: absolute;
  inset: 58% -20% -20%;
  background: color-mix(in srgb, var(--accent) 45%, #25312e);
  transform: rotateX(62deg);
}

.world-wall {
  position: absolute;
  top: 0;
  width: 42%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
}
.world-wall.left { left: 0; transform: skewY(-10deg); }
.world-wall.right { right: 0; transform: skewY(10deg); }

.world-character {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-weight: 800;
}
.world-character img { width: 190px; border-radius: 50%; border: 5px solid rgba(255, 255, 255, 0.8); background: #fff; }
.world-character span { display: block; margin-top: 10px; }

.world-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(28px, 5vw, 56px);
}

.world-nav a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 16px;
  font-weight: 850;
}

.world-nav span {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
}

.world-panel, .table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.reward-output { color: var(--teal); font-weight: 750; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }

@keyframes character-card-loading-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes world-stage-loading-shimmer {
  0% { background-position: 100% 0, 0 0; }
  100% { background-position: -100% 0, 0 0; }
}

@keyframes world-stage-spinner-spin {
  to { transform: rotate(360deg); }
}

.blog-hero {
  padding: clamp(38px, 8vw, 92px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.blog-shell {
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1.2fr);
  gap: 24px;
  padding: 0;
}

.blog-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  min-height: calc(60vh - 18px);
}

.blog-sidebar-heading {
  margin: 0;
  font-weight: 850;
}

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

.blog-list-item {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: inherit;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.blog-list-item:hover,
.blog-list-item:focus-visible {
  border-color: var(--teal);
}

.blog-list-item.is-selected {
  border-color: var(--teal);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.blog-list-title {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.24;
}

.blog-list-loading,
.blog-list-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.blog-post-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(18px, 4vw, 38px);
  min-height: calc(60vh - 18px);
  display: grid;
  align-content: start;
}

.blog-post-empty {
  color: var(--muted);
}

.blog-post-meta {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-post-title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 12px 0;
  max-width: 900px;
}

.blog-post-content .lead {
  margin: 0;
  color: var(--muted);
  max-width: 900px;
}

.blog-post-body {
  margin-top: 10px;
  color: var(--ink);
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3 {
  margin: 1.05em 0 0.5em;
  max-width: 900px;
}

.blog-post-body p {
  margin: 0.8em 0;
  color: var(--muted);
  max-width: 960px;
}

.blog-post-body .story-layout,
.blog-post-body .story-shell,
.blog-post-body .content-band {
  display: block;
  padding: 0;
  border: 0;
  min-width: 0;
}

.blog-post-body .hero,
.blog-post-body .site-header,
.blog-post-body .site-footer,
.blog-post-body nav,
.blog-post-body header {
  display: none;
}

.blog-post-fallback {
  margin: 6px 0 0;
  color: var(--muted);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
}

.drama-page {
  background: #101820;
  color: #f8fafc;
}

.drama-layout {
  min-height: calc(100vh - 64px);
}

.drama-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  min-height: calc(100vh - 64px);
}

.drama-viewport {
  position: relative;
  min-height: calc(100vh - 64px);
  background: #0b1118;
}

.drama-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.drama-loading {
  position: absolute;
  inset: 24px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  pointer-events: none;
}

.drama-loading[hidden] {
  display: none;
}

.drama-console {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(16, 24, 32, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.drama-console h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: #fff;
}

.drama-console .lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.drama-dialogue {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.drama-dialogue span {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.drama-dialogue strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.drama-dialogue p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.drama-actions,
.drama-cast,
.drama-lore {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.drama-button,
.drama-cast button,
.drama-lore button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.drama-button.primary {
  background: #0f766e;
  border-color: #14b8a6;
}

.drama-lore {
  margin-top: auto;
}

@media (max-width: 820px) {
  .masthead, .profile-hero, .world-header, .directory-hero, .split-band, .world-shell, .drama-stage, .account-hero {
    grid-template-columns: 1fr;
  }
  .directory-tools { grid-template-columns: 1fr; }
  .request-segments { grid-template-columns: 1fr; }
  .metric-panel { grid-template-columns: repeat(3, 1fr); }
  .episode-row { grid-template-columns: 96px minmax(0, 1fr); }
  .episode-row img { height: 96px; }
  .world-nav { grid-template-columns: 1fr; }
  .blog-shell { grid-template-columns: 1fr; }
  .blog-sidebar { min-height: auto; }
  .blog-post-panel { min-height: auto; }
  .drama-viewport { min-height: 58vh; }
  .drama-console {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  h1 { font-size: 40px; }
}
