/* A quiet field of people underneath the original illustrated advisor ribbon. */
.story-intro { width: 30%; }
.story-intro h1 { font-family: var(--font-sans); font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.story-intro p { margin-top: 14px; font-size: 17px; line-height: 1.45; }
.story-library { perspective-origin: 50% 48%; }
.story-ribbon { pointer-events: none; }
.story-ribbon .story-card { pointer-events: auto; }
.story-user-field { position: absolute; inset: 0; z-index: 0; overflow: visible; perspective: 1600px; perspective-origin: 50% 48%; }
.story-user-plane {
  position: absolute; left: 50%; top: 48%; display: grid;
  grid-template-columns: repeat(var(--community-columns, 20), 96px);
  grid-auto-rows: 112px; gap: 8px;
  transform: translate(-50%, -50%) rotateX(42deg) rotateZ(-32deg) translateZ(-36px);
  transform-style: preserve-3d; pointer-events: none;
  animation: communityAppear 260ms ease-out both;
}
@keyframes communityAppear { from { opacity: 0; } to { opacity: 1; } }
.story-user-tile {
  position: relative; display: block; width: 96px; height: 112px; padding: 0;
  border: 1px solid rgba(224,210,184,0.19); border-radius: 1px;
  background: #181714; color: #e9dfcf; cursor: pointer; overflow: hidden; pointer-events: auto;
  opacity: var(--user-opacity, 0.28);
  filter: grayscale(0.96) sepia(0.13) brightness(0.82) blur(var(--user-blur, 0px));
  transform: translateZ(var(--user-depth, 0px));
  transition: opacity 180ms ease, filter 180ms ease, border-color 180ms ease;
}
.story-user-tile img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.story-user-tile.is-text-muted { pointer-events: none; }
.story-user-tile.is-selected:not(.is-text-muted) { opacity: 0.58; border-color: rgba(212,175,123,0.9); }
.story-user-tile:focus-visible { opacity: 0.9; filter: grayscale(0.2); outline: 2px solid #d4af7b; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .story-user-tile:hover:not(.is-text-muted) { opacity: 0.88; filter: grayscale(0.25) sepia(0.08) brightness(1); border-color: #d4af7b; }
}
.story-user-hint { position: absolute; z-index: 7; width: 210px; padding: 8px 0; pointer-events: none; color: #eee3d1; text-shadow: 0 2px 8px #000, 0 0 14px #000; }
.story-user-hint[hidden] { display: none; }
.story-user-hint strong { display: block; font: 500 13px/1.4 Georgia, serif; }
.story-user-hint span { display: block; margin-top: 5px; font-size: 10px; line-height: 1.5; color: #c9bda9; }
.story-meta { z-index: 4; }
.story-author-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.story-selected-avatar { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; filter: grayscale(1) sepia(0.12); }
.story-author { margin-top: 0; }
.story-demo-label { display: block; font-size: 8px; letter-spacing: 0.08em; color: rgba(246,240,231,0.4); margin-top: 3px; }
@media (max-width: 700px) {
  .story-intro { width: calc(100% - 48px); }
  .story-intro h1 { font-size: 25px; }
  .story-intro p { font-size: 15px; }
  .story-library { perspective-origin: 50% 45%; }
  .story-user-field { perspective-origin: 50% 45%; }
  .story-user-plane { top: 45%; }
  .story-user-hint { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-user-plane { animation: none; }
  .story-user-tile { transition: none; }
}
/* Keep longer selected stories below the ribbon on compact desktop windows. */
@media (min-width: 701px) and (max-width: 1300px) {
  .story-library { height: max(840px, calc(100svh - var(--site-header-height, 101px))); }
}
/* Clip the oversized 3D surface without allowing focus to scroll the canvas itself. */
.story-library { overflow: clip; }

/* Community totals share the introduction's quiet editorial hierarchy. */
.story-intro { display: grid; grid-template-columns: minmax(160px, 1fr) auto; align-items: start; gap: 28px; width: min(600px, 51%); }
.story-stats { display: grid; grid-template-columns: auto auto; column-gap: 28px; padding-left: 25px; border-left: 1px solid rgba(212,175,123,0.2); margin: 0; }
.story-stat { display: flex; flex-direction: column; }
.story-stat dt { order: 1; color: rgba(246,240,231,0.55); font-size: 9px; line-height: 1.4; letter-spacing: 0.045em; margin-top: 9px; white-space: nowrap; }
.story-stat dd { margin: 0; }
.story-stats-note { grid-column: 1 / -1; color: rgba(246,240,231,0.3); font-size: 8px; letter-spacing: 0.04em; margin-top: 13px; }
.story-rolling-number { display: inline-flex; height: 1em; overflow: hidden; font-family: Arial, Helvetica, sans-serif; font-size: 40px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; color: #eee5d6; }
.story-number-digit { display: block; width: 0.58em; height: 1em; overflow: hidden; }
.story-number-reel { display: block; }
.story-number-reel > span { display: block; height: 1em; line-height: 1; }

/* The ribbon keeps its viewport anchor even when a long story needs more space. */
.story-library { --story-base-height: max(760px, calc(100svh - var(--site-header-height, 101px))); height: var(--story-scene-height, var(--story-base-height)); }
.story-tilt, .story-user-plane { top: var(--story-ribbon-y, 48%); }
.story-meta { top: var(--story-panel-y, auto); bottom: auto; visibility: hidden; }
.story-library[data-layout-ready="true"] .story-meta { visibility: visible; }
@media (min-width: 701px) and (max-width: 1300px) {
  .story-library { --story-base-height: max(840px, calc(100svh - var(--site-header-height, 101px))); }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .story-intro { width: 61%; gap: 22px; }
  .story-stats { column-gap: 20px; padding-left: 20px; }
  .story-rolling-number { font-size: 34px; }
}
@media (max-width: 700px) {
  .story-library { --story-base-height: 1100px; }
  .story-intro { width: calc(100% - 48px); grid-template-columns: minmax(130px, 1fr) auto; gap: 15px; }
  .story-intro p { font-size: 13px; }
  .story-stats { column-gap: 14px; padding-left: 14px; }
  .story-stat dt { font-size: 8px; }
  .story-rolling-number { font-size: 28px; }
  .story-stats-note { font-size: 7px; margin-top: 10px; }
}
.story-library, .story-user-field { perspective-origin: 50% var(--story-ribbon-y, 48%); }
@media (min-width: 701px) {
  .story-intro { grid-template-columns: 180px auto; width: max-content; max-width: 60%; gap: 36px; }
}

/* One-screen composition: story headline above left, supporting copy below right. */
.story-intro { display: block; width: min(440px, 38%); max-width: none; }
.story-intro-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.story-intro-copy { flex: 0 1 155px; }
.story-intro h1 { font-size: 19px; }
.story-intro p { font-size: 12px; line-height: 1.5; margin-top: 10px; }
.story-stats { column-gap: 22px; padding-left: 20px; }
.story-rolling-number { font-size: 32px; }
.story-stat dt { font-size: 8px; margin-top: 6px; }
.story-stats-note { margin-top: 8px; font-size: 7px; }
#storyPreviewHeadline { font-size: clamp(32px, 3.3vw, 50px); line-height: 1.02; margin: 22px 0 0; text-align: left; }
.story-meta::before { display: none; }
.story-meta-kicker { font-size: 10px; line-height: 1.4; }
.story-author-row { margin-top: 12px; }
#storyPreviewQuestion { font-size: 13px; line-height: 1.6; margin-top: 14px; }
.story-ask { margin-top: 16px; padding: 9px 16px; }
.story-pagination { margin-top: 16px; }
@media (min-width: 701px) {
  .story-library { --story-base-height: calc(100svh - var(--site-header-height, 101px)); }
  .story-card { --fitted-card-width: clamp(144px, min(14vw, 26vh), 200px); width: var(--fitted-card-width); height: calc(var(--fitted-card-width) * 1.34); margin-right: calc(var(--fitted-card-width) * -0.14); }
  .story-intro { top: clamp(22px, 3.4vh, 40px); }
  .story-meta { width: min(440px, 32%); right: 4.5%; }
  .story-library.is-compact-story #storyPreviewHeadline { font-size: clamp(27px, 2.8vw, 42px); margin-top: 16px; }
  .story-library.is-compact-story #storyPreviewQuestion { font-size: 12px; line-height: 1.55; margin-top: 10px; }
  .story-library.is-compact-story .story-ask { margin-top: 12px; }
  .story-library.is-compact-story .story-pagination { margin-top: 12px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .story-intro { width: 40%; left: 3.5%; }
  .story-intro-top { gap: 16px; }
  .story-stats { column-gap: 14px; padding-left: 14px; }
  .story-rolling-number { font-size: 28px; }
  .story-meta { right: 3.5%; width: 34%; }
}
@media (max-width: 700px) {
  .story-intro { width: calc(100% - 48px); }
  .story-intro h1 { font-size: 19px; }
  .story-intro p { font-size: 12px; }
  .story-intro-top { gap: 15px; }
  .story-rolling-number { font-size: 28px; }
  #storyPreviewHeadline { font-size: 36px; margin-top: 24px; }
}
@media (min-width: 701px) {
  .story-library.is-compact-story .story-intro { width: min(410px, 34%); }
  .story-library.is-compact-story #storyPreviewHeadline { font-size: clamp(26px, 2.5vw, 38px); margin-top: 14px; }
}

/* Stats sit right beside the "Stories" title instead of floating at the far edge. */
.story-intro-top { justify-content: flex-start; gap: 26px; }
.story-intro-copy { flex: 0 0 auto; }
.story-stats { padding-left: 22px; }
.story-rolling-number { color: #ffcf7a; text-shadow: 0 0 18px rgba(255, 196, 92, 0.35); }
.story-stat dt { color: rgba(246,240,231,0.72); }
@media (max-width: 700px) { .story-intro-top { gap: 16px; } }

/* Secondary action + full conversation reader. */
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.story-actions .story-ask { margin-top: 0; }
.story-read { border: 1px solid #d4af7b; background: #d4af7b; color: #15130f; border-radius: 99px; padding: 9px 16px; font: inherit; font-size: 10px; letter-spacing: 0.025em; cursor: pointer; }
.story-read:hover { background: #ffcf7a; border-color: #ffcf7a; }
.story-user-tile { cursor: pointer; }
.story-transcript[hidden] { display: none; }
.story-transcript { position: fixed; inset: 0; z-index: 900; display: flex; justify-content: flex-end; background: rgba(8,7,6,0.62); backdrop-filter: blur(6px); animation: stFade 220ms ease; }
@keyframes stFade { from { opacity: 0; } }
@keyframes stSlide { from { transform: translateX(40px); opacity: 0; } }
.st-panel { width: min(640px, 100%); height: 100%; overflow-y: auto; background: #12110e; color: #f2ebdf; border-left: 1px solid rgba(212,175,123,0.25); padding: 36px 40px 60px; animation: stSlide 280ms cubic-bezier(.2,.7,.2,1); }
.st-close { position: sticky; top: 0; float: right; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(212,175,123,0.5); background: #12110e; color: #eee; font-size: 16px; cursor: pointer; }
.st-head { display: flex; gap: 16px; align-items: center; }
.st-head img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; filter: grayscale(0.5) sepia(0.15); }
.st-name { font-size: 16px; font-weight: 600; }
.st-meta { font-size: 11px; color: rgba(242,235,223,0.55); margin-top: 4px; letter-spacing: 0.02em; }
.st-kicker { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #cbb07c; margin-top: 28px; }
.st-headline { font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 700; font-size: 40px; line-height: 1.02; margin-top: 10px; }
.st-question { font-family: Georgia, serif; font-size: 15px; line-height: 1.6; color: rgba(242,235,223,0.85); margin-top: 14px; }
.st-context { font-size: 12px; line-height: 1.65; color: rgba(242,235,223,0.55); margin-top: 10px; }
.st-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.st-tags span { font-size: 10px; border: 1px solid rgba(203,176,124,0.45); color: #ded4c3; border-radius: 99px; padding: 4px 10px; }
.st-section { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #cbb07c; margin: 34px 0 14px; display: flex; align-items: center; gap: 10px; }
.st-section::after { content: ''; flex: 1; height: 1px; background: rgba(212,175,123,0.2); }
.st-msg { display: flex; gap: 12px; margin: 14px 0; align-items: flex-start; }
.st-msg img { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #2a2620; }
.st-msg.is-user { flex-direction: row-reverse; }
.st-bubble { max-width: 82%; font-size: 13px; line-height: 1.65; padding: 11px 15px; border-radius: 14px; background: #1f1c17; border: 1px solid rgba(212,175,123,0.14); }
.st-msg.is-user .st-bubble { background: #2b2519; border-color: rgba(212,175,123,0.32); color: #fff7e8; }
.st-who { display: block; font-size: 10px; letter-spacing: 0.06em; color: #cbb07c; margin-bottom: 4px; }
.st-outcome { font-family: Georgia, serif; font-size: 14px; line-height: 1.7; border-left: 2px solid #ffcf7a; padding: 4px 0 4px 16px; color: #f6efe2; }
.st-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; font-size: 11px; color: rgba(242,235,223,0.5); flex-wrap: wrap; }
.st-foot .story-read { font-size: 11px; }
.st-note { font-size: 10px; color: rgba(242,235,223,0.32); margin-top: 26px; }
@media (max-width: 700px) { .st-panel { padding: 24px 20px 48px; } .st-headline { font-size: 32px; } }

/* v3 reader: summary first, social, collapsible transcript */
.st-cast { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.st-cast-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border: 1px solid rgba(212,175,123,0.28); border-radius: 999px; font-size: 12px; color: #e9dcc2; background: rgba(212,175,123,0.06); }
.st-cast-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #2a2620; }
.st-summary { margin: 22px 0 0; padding: 22px 22px 18px; border: 1px solid rgba(212,175,123,0.26); border-radius: 14px; background: linear-gradient(180deg, rgba(212,175,123,0.09), rgba(212,175,123,0.02)); }
.st-summary-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #cbb07c; margin: 18px 0 8px; }
.st-summary-label:first-child { margin-top: 0; }
.st-tldr { font-family: Georgia, serif; font-size: 16px; line-height: 1.65; color: #fff7e8; margin: 0; }
.st-positions { display: grid; gap: 10px; }
.st-position { display: flex; gap: 12px; align-items: flex-start; }
.st-position img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #2a2620; border: 1px solid rgba(212,175,123,0.3); }
.st-position b { font-size: 13px; color: #ffcf7a; font-weight: 600; }
.st-position p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.55; color: #e7dcc8; }
.st-tension, .st-conclusion { margin: 0; font-size: 14px; line-height: 1.65; color: #efe5d2; }
.st-tension { border-left: 2px solid rgba(255,140,110,0.7); padding-left: 14px; }
.st-summary .st-outcome { margin: 0; }
.st-summary .st-tags { margin-top: 16px; }
.st-actions { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.st-act { appearance: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(212,175,123,0.3); background: transparent; color: #f2ebdf; font: inherit; font-size: 13px; transition: background .2s, border-color .2s, color .2s; }
.st-act:hover { background: rgba(212,175,123,0.1); border-color: rgba(212,175,123,0.6); }
.st-act b { font-weight: 600; }
.st-act.is-on { color: #ff7a8a; border-color: rgba(255,122,138,0.6); background: rgba(255,122,138,0.08); }
.st-share-tip { font-size: 12px; color: #ffcf7a; word-break: break-all; }
.st-comments { margin-top: 18px; }
.st-comment-form { display: flex; gap: 8px; margin-bottom: 12px; }
.st-comment-form input { flex: 1; min-width: 0; background: #1b1914; border: 1px solid rgba(212,175,123,0.25); border-radius: 10px; color: #f2ebdf; padding: 10px 12px; font: inherit; font-size: 13px; }
.st-comment-form input:focus { outline: none; border-color: rgba(212,175,123,0.7); }
.st-comment-form button { cursor: pointer; border: 0; border-radius: 10px; padding: 0 16px; background: #d4af7b; color: #15130f; font-weight: 600; font: inherit; font-size: 13px; }
.st-comment { padding: 12px 0; border-top: 1px solid rgba(212,175,123,0.12); }
.st-comment-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #e9dcc2; }
.st-comment-likes { margin-left: auto; color: #9c917e; font-size: 12px; }
.st-badge { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: rgba(212,175,123,0.16); color: #ffcf7a; }
.st-comment p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.55; color: #d9cfbd; }
.st-comment.is-author { background: rgba(212,175,123,0.05); padding-left: 10px; padding-right: 10px; border-radius: 8px; }
.st-transcript-wrap { margin-top: 26px; border-top: 1px solid rgba(212,175,123,0.2); }
.st-transcript-wrap > summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #cbb07c; }
.st-transcript-wrap > summary::-webkit-details-marker { display: none; }
.st-transcript-wrap > summary::before { content: '▸ '; }
.st-transcript-wrap[open] > summary::before { content: '▾ '; }
.st-sys { text-align: center; font-size: 11px; letter-spacing: .1em; color: #9c917e; margin: 18px 0; font-style: italic; }

/* v4 reader: one quiet editorial column. */
.story-transcript { background: rgba(8,7,6,0.7); backdrop-filter: blur(8px); animation: stFade 400ms ease; }
.st-panel { width: min(620px, 100%); padding: 56px 56px 72px; background: #12100d; border-left: 1px solid rgba(212,175,123,0.14); animation: stSlide 520ms cubic-bezier(.2,.7,.2,1); scrollbar-width: thin; scrollbar-color: rgba(212,175,123,0.25) transparent; }
@keyframes stSlide { from { transform: translateX(24px); opacity: 0; } }
.st-close { position: sticky; top: -32px; float: right; margin: -32px -32px 0 0; width: 32px; height: 32px; border: 1px solid rgba(212,175,123,0.25); background: #12100d; color: rgba(246,240,231,0.7); font-size: 18px; line-height: 1; padding-bottom: 2px; transition: border-color .3s, color .3s; z-index: 2; }
.st-close:hover { border-color: rgba(212,175,123,0.7); color: #f6efe2; }
.st-byline { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(242,235,223,0.5); }
.st-byline img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; filter: grayscale(0.6) sepia(0.15); }
.st-byline b { font-weight: 500; color: rgba(246,239,226,0.85); }
.st-kicker { margin-top: 36px; font-size: 10px; letter-spacing: 0.16em; color: rgba(212,175,123,0.75); text-transform: uppercase; line-height: 1.6; }
.st-headline { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 34px; line-height: 1.18; letter-spacing: -0.01em; margin: 12px 0 0; color: #f6efe2; }
.st-question { font-family: Georgia, serif; font-style: italic; font-size: 15px; line-height: 1.7; color: rgba(242,235,223,0.6); margin: 18px 0 0; }
.st-tldr { margin: 34px 0 0; padding-top: 30px; border-top: 1px solid rgba(212,175,123,0.14); font-family: inherit; font-size: 15px; line-height: 1.8; color: rgba(246,239,226,0.88); }
.st-positions { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.st-position { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.st-position img { width: 28px; height: 28px; border: 0; filter: grayscale(0.3); }
.st-position b { font-size: 11px; letter-spacing: 0.06em; font-weight: 500; color: rgba(212,175,123,0.9); }
.st-position p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.65; color: rgba(242,235,223,0.72); }
.st-notes { margin: 34px 0 0; display: grid; gap: 20px; }
.st-note-row { display: grid; grid-template-columns: 128px 1fr; gap: 18px; }
.st-note-row dt { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(212,175,123,0.65); line-height: 1.9; }
.st-note-row dd { margin: 0; font-size: 13.5px; line-height: 1.7; color: rgba(242,235,223,0.75); }
.st-convo { margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(212,175,123,0.14); }
.st-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(212,175,123,0.75); margin-bottom: 10px; }
.st-label span { color: rgba(242,235,223,0.3); margin-left: 6px; letter-spacing: 0.06em; }
.st-transcript { display: block; }
.st-line { padding: 14px 0; }
.st-line .st-who { display: block; font-size: 10.5px; letter-spacing: 0.08em; color: rgba(212,175,123,0.8); margin: 0 0 5px; }
.st-line p { margin: 0; font-size: 14px; line-height: 1.75; color: rgba(242,235,223,0.8); }
.st-line.is-user { padding-left: 16px; border-left: 1px solid rgba(212,175,123,0.3); margin: 6px 0; }
.st-line.is-user .st-who { color: rgba(242,235,223,0.5); }
.st-line.is-user p { color: #f6efe2; font-family: Georgia, serif; font-size: 14.5px; }
.st-sys { margin: 18px 0; text-align: left; font-style: normal; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,235,223,0.3); }
.st-actions { display: flex; align-items: center; gap: 22px; margin: 40px 0 0; padding: 20px 0; border-top: 1px solid rgba(212,175,123,0.14); border-bottom: 1px solid rgba(212,175,123,0.14); }
.st-act { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; color: rgba(242,235,223,0.6); gap: 6px; }
.st-act:hover { background: none; color: #f6efe2; }
.st-act b { font-weight: 400; color: rgba(242,235,223,0.4); }
.st-act.is-on { background: none; border: 0; color: #e8b0a0; }
.st-act.is-on b { color: #e8b0a0; }
.st-ask { margin-left: auto; border: 1px solid rgba(212,175,123,0.55); background: none; color: #f0dfbf; border-radius: 99px; padding: 8px 18px; font: inherit; font-size: 12px; cursor: pointer; transition: background .3s, color .3s; }
.st-ask:hover { background: #d4af7b; color: #15130f; }
.st-comments { margin-top: 22px; }
.st-comment-form { gap: 0; margin-bottom: 8px; border-bottom: 1px solid rgba(212,175,123,0.25); }
.st-comment-form input { background: none; border: 0; border-radius: 0; padding: 10px 0; font-size: 13px; }
.st-comment-form button { background: none; color: rgba(212,175,123,0.9); padding: 0 0 0 12px; font-weight: 400; font-size: 12px; }
.st-comment { padding: 14px 0; border-top: 0; }
.st-comment.is-author { background: none; padding-left: 0; padding-right: 0; }
.st-comment-head { font-size: 12px; color: rgba(242,235,223,0.55); }
.st-comment-head b { font-weight: 500; color: rgba(246,239,226,0.85); }
.st-badge { padding: 0; background: none; font-size: 9.5px; letter-spacing: 0.12em; color: rgba(212,175,123,0.8); }
.st-comment-likes { font-size: 11px; color: rgba(242,235,223,0.35); }
.st-comment p { font-size: 13.5px; line-height: 1.65; color: rgba(242,235,223,0.72); }
.st-empty { font-size: 12px; color: rgba(242,235,223,0.35); }
.st-note { margin-top: 40px; font-size: 10px; color: rgba(242,235,223,0.28); }
@media (max-width: 700px) {
  .st-panel { padding: 40px 22px 56px; }
  .st-close { margin: -24px -8px 0 0; }
  .st-headline { font-size: 27px; }
  .st-note-row { grid-template-columns: 1fr; gap: 4px; }
  .st-actions { flex-wrap: wrap; gap: 16px; }
}

/* v5 reader: question → one-line summary → the original conversation. */
.st-panel { width: min(600px, 100%); padding: 64px 60px 80px; }
.st-kicker { margin-top: 0; font-size: 10.5px; letter-spacing: 0.1em; text-transform: none; color: rgba(242,235,223,0.42); }
.st-headline { margin-top: 18px; font-size: 27px; line-height: 1.35; }
.st-tldr { margin: 22px 0 0; padding: 0; border: 0; font-size: 13.5px; line-height: 1.8; color: rgba(242,235,223,0.55); }
.st-transcript { margin-top: 44px; padding-top: 14px; border-top: 1px solid rgba(212,175,123,0.14); }
.st-line { padding: 18px 0 0; }
.st-line.is-cont { padding-top: 10px; }
.st-line.is-user { margin: 0; padding-left: 0; border: 0; }
.st-line .st-who { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(212,175,123,0.7); margin-bottom: 6px; }
.st-line.is-user .st-who { color: rgba(242,235,223,0.38); }
.st-line p { font-size: 14.5px; line-height: 1.85; color: rgba(242,235,223,0.78); }
.st-line.is-user p { font-family: inherit; font-size: 14.5px; color: #f6efe2; }
.st-sys { margin: 34px 0 6px; text-align: center; font-size: 9.5px; letter-spacing: 0.22em; color: rgba(242,235,223,0.28); }
.st-actions { margin-top: 56px; padding: 18px 0; border-bottom: 0; }
.st-comments { margin-top: 6px; }
.st-comment-form { border-bottom-color: rgba(212,175,123,0.18); }
@media (max-width: 700px) { .st-panel { padding: 48px 22px 56px; } .st-headline { font-size: 22px; } }

/* ── Hierarchy: level-1 pages keep the site nav; any sub-page (story detail, hall, debate) hides it. ── */
body.is-deep { --site-header-height: 0px; }
body.is-deep .home-hero { display: none !important; }

/* ── Story detail · full-screen sub-page (16:9 first) ── */
.sd[hidden] { display: none; }
.sd { position: fixed; inset: 0; z-index: 900; color: #f2ebdf; background: radial-gradient(circle at 22% 0%, rgba(212,175,123,0.07), transparent 38%), #0d0c0a; animation: sdIn 420ms ease both; }
@keyframes sdIn { from { opacity: 0; } }
.sd-page { height: 100%; display: flex; flex-direction: column; }
.sd-bar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; padding: 0 clamp(24px, 3.4vw, 56px); border-bottom: 1px solid rgba(212,175,123,0.12); }
.sd-back, .sd-share { justify-self: start; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 12px; letter-spacing: 0.04em; color: rgba(242,235,223,0.6); cursor: pointer; transition: color .3s; }
.sd-back:hover, .sd-share:hover { color: #f6efe2; }
.sd-bar-meta { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(212,175,123,0.7); }
.sd-bar-end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.sd-tip { font-size: 11px; color: #e8c78f; }
.sd-loading { margin: auto; font-size: 12px; letter-spacing: 0.1em; color: rgba(242,235,223,0.4); }
.sd-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr); }
.sd-brief, .sd-convo { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(212,175,123,0.2) transparent; }
.sd-brief { padding: clamp(30px, 4.4vh, 52px) clamp(28px, 3.6vw, 64px) 56px clamp(24px, 3.4vw, 56px); border-right: 1px solid rgba(212,175,123,0.12); }
.sd-convo { padding: clamp(30px, 4.4vh, 52px) clamp(28px, 4vw, 72px) 64px; }

.sd-byline { display: flex; align-items: center; gap: 12px; }
.sd-uav { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; filter: grayscale(0.55) sepia(0.15); background: #2a2620; display: grid; place-items: center; font-size: 13px; color: #d4af7b; }
.sd-byline b { display: block; font-size: 13px; font-weight: 500; color: #f6efe2; }
.sd-byline span { display: block; margin-top: 2px; font-size: 11px; color: rgba(242,235,223,0.45); }
.sd-q { margin: 26px 0 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(26px, 2.15vw, 36px); line-height: 1.24; letter-spacing: -0.01em; color: #f6efe2; }
.sd-tldr { margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: rgba(242,235,223,0.62); }
.sd-label { margin: 34px 0 14px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(212,175,123,0.72); }
.sd-voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sd-voices li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.sd-voices b { font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: #e8d3ad; }
.sd-voices p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.65; color: rgba(242,235,223,0.72); }
.sd-av { position: relative; display: block; width: 38px; height: 50px; overflow: hidden; border-radius: 999px 999px 3px 3px; background: linear-gradient(180deg, var(--c2, #555), var(--c1, #333)); box-shadow: 0 0 0 1px rgba(212,175,123,0.45); }
.sd-av img { position: absolute; left: 50%; bottom: 0; width: 130%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); }
.sd-answer { margin: 0; padding-left: 18px; border-left: 1px solid #d4af7b; font-family: Georgia, serif; font-size: 16px; line-height: 1.7; color: #f3dfb8; }
.sd-after { margin: 0; font-size: 13.5px; line-height: 1.75; color: rgba(242,235,223,0.68); }

.sd-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; padding: 16px 0; border-top: 1px solid rgba(212,175,123,0.14); border-bottom: 1px solid rgba(212,175,123,0.14); }
.sd-act { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: rgba(242,235,223,0.62); cursor: pointer; transition: color .3s; }
.sd-act i { font-style: normal; font-size: 15px; line-height: 1; }
.sd-act b { font-weight: 400; }
.sd-act:hover { color: #f6efe2; }
.sd-act.is-on { color: #e8a998; }
.sd-ask { margin-left: auto; border: 1px solid rgba(212,175,123,0.5); background: none; color: #f0dfbf; border-radius: 99px; padding: 8px 18px; font: inherit; font-size: 12px; cursor: pointer; transition: background .3s, color .3s; }
.sd-ask:hover { background: #d4af7b; color: #15130f; }
.sd-comments { margin-top: 14px; scroll-margin-top: 20px; }
.sd-comment-form { display: flex; border-bottom: 1px solid rgba(212,175,123,0.2); }
.sd-comment-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font: inherit; font-size: 13px; color: #f2ebdf; outline: none; }
.sd-comment-form input::placeholder { color: rgba(242,235,223,0.35); }
.sd-comment-form button { border: 0; background: none; padding: 0 0 0 12px; font: inherit; font-size: 12px; color: #d4af7b; cursor: pointer; }
.sd-comment { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0 0; }
.sd-comment-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 11px; color: #d4af7b; background: rgba(212,175,123,0.1); }
.sd-comment-head { display: flex; align-items: baseline; gap: 8px; font-size: 12px; }
.sd-comment-head b { font-weight: 500; color: rgba(246,239,226,0.88); }
.sd-comment-head em { font-style: normal; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(212,175,123,0.8); }
.sd-comment-head span { margin-left: auto; font-size: 11px; color: rgba(242,235,223,0.32); }
.sd-comment p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.65; color: rgba(242,235,223,0.7); }
.sd-empty { margin-top: 14px; font-size: 12px; color: rgba(242,235,223,0.35); }
.sd-note { margin-top: 36px; font-size: 10px; color: rgba(242,235,223,0.26); }

.sd-convo-label { margin-top: 0; display: flex; justify-content: space-between; }
.sd-convo-label span { color: rgba(242,235,223,0.3); letter-spacing: 0.1em; }
.sd-chat { max-width: 760px; }
.sd-msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; margin-top: 22px; }
.sd-msg.is-cont { margin-top: 8px; }
.sd-msg-body { min-width: 0; }
.sd-who { display: block; margin: 2px 0 7px; font-size: 11px; letter-spacing: 0.06em; color: rgba(212,175,123,0.82); }
.sd-bubble { display: inline-block; max-width: min(600px, 100%); padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: rgba(255,255,255,0.045); border: 1px solid rgba(212,175,123,0.12); font-size: 14px; line-height: 1.72; color: rgba(242,235,223,0.84); white-space: pre-wrap; }
.sd-msg.is-cont .sd-bubble { border-radius: 16px; }
.sd-msg.is-user { grid-template-columns: minmax(0, 1fr) 38px; }
.sd-msg.is-user .sd-msg-av { order: 2; display: flex; justify-content: center; }
.sd-msg.is-user .sd-msg-body { order: 1; text-align: right; }
.sd-msg.is-user .sd-who { color: rgba(242,235,223,0.45); }
.sd-msg.is-user .sd-bubble { text-align: left; border-radius: 16px 4px 16px 16px; background: rgba(212,175,123,0.13); border-color: rgba(212,175,123,0.28); color: #fbf1df; }
.sd-msg.is-user.is-cont .sd-bubble { border-radius: 16px; }
.sd-msg.is-user .sd-uav { margin-top: 2px; }
.sd-sys { display: flex; align-items: center; gap: 14px; margin: 34px 0 10px; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(212,175,123,0.55); }
.sd-sys::before, .sd-sys::after { content: ''; flex: 1; height: 1px; background: rgba(212,175,123,0.14); }

@media (max-width: 900px) {
  .sd { overflow-y: auto; }
  .sd-page { height: auto; min-height: 100%; }
  .sd-grid { display: block; }
  .sd-brief, .sd-convo { overflow: visible; border: 0; padding: 26px 20px 40px; }
  .sd-bar { padding: 0 20px; position: sticky; top: 0; background: #0d0c0a; z-index: 2; }
}

.sd-comment-av img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.35) sepia(0.12); }
