/* /stories/ (scripts/stories-page.mjs): tech story pages and their hub. The blog post layout (.bp-*) does the rest. */
.st-page .st-top { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 0 40px; }
.st-reel { position: relative; display: block; width: 100%; max-width: 300px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: #0B0C10; box-shadow: var(--shadow-hard-lg); }
.st-reel img { display: block; width: 100%; height: auto; }
.st-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; display: grid; place-items: center; border-radius: 50%; background: rgba(31, 94, 255, 0.92); color: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease; }
.st-reel:hover .st-play, .st-reel:focus-visible .st-play { transform: scale(1.08); }
.st-page .st-top-text .bp-short { margin-bottom: 18px; }
.st-nums { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-nums li { margin: 0; padding: 14px 16px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-line); display: flex; flex-direction: column; gap: 4px; }
.st-nums strong { font-family: var(--font-display); font-size: 24px; line-height: 1.1; color: var(--accent-ink); }
.st-nums span { font-size: 13.5px; line-height: 1.4; color: var(--ink-secondary); }
.st-page .st-watch { margin: 0; font-size: 15px; color: var(--ink-secondary); }
.st-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--accent-light); display: flex; flex-direction: column; gap: 16px; }
.st-timeline li { position: relative; margin: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.st-timeline li::before { content: ''; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg-paper); }
.st-when { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.st-page .st-note { font-size: 14px; color: var(--ink-muted); }
.st-page .pp-win { margin: 0 0 14px; }
.st-page .pp-win pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.st-sources { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 0 0 40px; }
.st-card { padding: 8px 8px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-card); border: 1px solid var(--border-line); border-radius: 22px; text-decoration: none; color: var(--ink-primary); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.st-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard-lg); }
.st-card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #0B0C10; }
.st-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.st-card-year { padding: 4px 8px 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-ink); }
.st-card-title { padding: 0 8px; font-family: var(--font-display); font-size: 17px; line-height: 1.3; font-weight: 600; }
@media (min-width: 760px) {
  .st-page .st-top { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
  .st-reel { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-play { transition: none; }
}
