/* Stories: feed of story groups and the story page. Loaded after app.css and cards.css. */

.st-bar { position: relative; z-index: 2; display: flex; justify-content: flex-end; max-width: 1120px; height: 0; margin: 0 auto; padding: 0 28px; }
.st-bar-actions { display: flex; gap: 8px; margin-top: 12px; }

.st-root {
  --st-agree: #1d7a35; --st-agree-soft: rgba(52, 199, 89, 0.12);
  --st-differ: #c93400; --st-differ-soft: rgba(255, 149, 0, 0.13);
  --st-ai: #5b3ce0; --st-ai-soft: rgba(110, 79, 246, 0.1);
}
@media (prefers-color-scheme: dark) {
  .st-root { --st-agree: #30d158; --st-agree-soft: rgba(48, 209, 88, 0.14); --st-differ: #ff9f0a; --st-differ-soft: rgba(255, 159, 10, 0.14); --st-ai: #a28bff; --st-ai-soft: rgba(162, 139, 255, 0.14); }
}
html[data-theme="dark"] .st-root { --st-agree: #30d158; --st-agree-soft: rgba(48, 209, 88, 0.14); --st-differ: #ff9f0a; --st-differ-soft: rgba(255, 159, 10, 0.14); --st-ai: #a28bff; --st-ai-soft: rgba(162, 139, 255, 0.14); }
html[data-theme="light"] .st-root { --st-agree: #1d7a35; --st-agree-soft: rgba(52, 199, 89, 0.12); --st-differ: #c93400; --st-differ-soft: rgba(255, 149, 0, 0.13); --st-ai: #5b3ce0; --st-ai-soft: rgba(110, 79, 246, 0.1); }

.st-page { max-width: 1120px; margin: 0 auto; padding: 8px 28px 120px; }
.st-page-head { padding: 14px 0 18px; }
.st-page-title { margin: 0; font: 750 34px/1.1 var(--font-display); letter-spacing: -0.035em; }
.st-page-sub { margin: 6px 0 0; max-width: 64ch; color: var(--text-2); font-size: 15px; }
.st-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 18px; }
.st-toolbar select, .st-toolbar input {
  height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--text); font-size: 14px; outline: none;
}
.st-toolbar select:focus, .st-toolbar input:focus { border-color: var(--accent); }
.st-toolbar .text-button { margin: 0; align-self: center; }

/* Feed cards (Apple News) */

.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.st-card {
  position: relative; display: flex; flex-direction: column; min-height: 300px; overflow: hidden;
  border-radius: 18px; background: var(--surface); color: var(--text);
  box-shadow: 0 0 0 0.5px var(--line-strong), var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: st-rise 0.35s var(--ease) both;
}
@keyframes st-rise { from { opacity: 0; transform: translateY(8px); } }
.st-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 0.5px var(--line-strong), var(--shadow-md); }
.st-card:focus-within { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.st-card.is-lead { grid-column: 1 / -1; flex-direction: row; min-height: 320px; }
.st-card.is-lead .st-card-art { flex: 1.25; aspect-ratio: auto; min-height: 320px; }
.st-card.is-lead .st-card-body { flex: 1; padding: 26px 28px; gap: 8px; justify-content: center; }
.st-card.is-lead .st-card-title { font-size: clamp(24px, 2.6vw, 32px); -webkit-line-clamp: 4; }
.st-card.is-skeleton { animation: st-shimmer 1.4s infinite; background: var(--raised); box-shadow: none; }
@keyframes st-shimmer { 50% { opacity: 0.55; } }

.st-card-art {
  --tone-h: 210;
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(90% 90% at 10% 0%, hsl(var(--tone-h) 70% 82%) 0%, transparent 60%),
    radial-gradient(90% 90% at 100% 100%, hsl(calc(var(--tone-h) + 40) 55% 60%) 0%, transparent 65%),
    hsl(calc(var(--tone-h) + 15) 40% 72%);
}
@media (prefers-color-scheme: dark) {
  .st-card-art { background: radial-gradient(90% 90% at 10% 0%, hsl(var(--tone-h) 35% 34%) 0%, transparent 60%), radial-gradient(90% 90% at 100% 100%, hsl(calc(var(--tone-h) + 40) 30% 24%) 0%, transparent 65%), hsl(calc(var(--tone-h) + 15) 18% 20%); }
}
html[data-theme="dark"] .st-card-art { background: radial-gradient(90% 90% at 10% 0%, hsl(var(--tone-h) 35% 34%) 0%, transparent 60%), radial-gradient(90% 90% at 100% 100%, hsl(calc(var(--tone-h) + 40) 30% 24%) 0%, transparent 65%), hsl(calc(var(--tone-h) + 15) 18% 20%); }
.st-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease, transform 0.6s var(--ease); }
.st-card-art img.is-loaded { opacity: 1; }
.st-card:hover .st-card-art img { transform: scale(1.02); }
.st-card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 55%); pointer-events: none; }
.st-card-mono {
  position: absolute; right: 16px; bottom: -14px; z-index: 0;
  color: rgba(255, 255, 255, 0.36); font: 800 120px/1 var(--font-display); letter-spacing: -0.06em; pointer-events: none;
}
.st-card-strip { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.st-glass {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  background: rgba(20, 20, 20, 0.34); color: #fff; font: 600 12px/1.2 var(--font);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.25);
}
.st-glass svg { width: 13px; height: 13px; stroke-width: 2; }
.st-card-body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 14px 16px 16px; }
.st-kicker { margin: 0; color: var(--accent); font: 700 11px/1.3 var(--font); letter-spacing: 0.05em; text-transform: uppercase; }
.st-kicker span + span::before { content: "·"; margin: 0 6px; color: var(--text-3); }
.st-kicker .st-place { color: var(--text-2); }
.st-card-title { margin: 0; font: 700 19px/1.22 var(--font-display); letter-spacing: -0.022em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.st-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.st-card-native { margin: 0; color: var(--text-2); font-family: var(--serif, var(--font)); font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 10px; color: var(--text-3); font-size: 12px; }
.st-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  background: var(--raised); color: var(--text-2); font: 500 12px/1.4 var(--font); white-space: nowrap;
}
.st-chip svg { width: 12px; height: 12px; stroke-width: 2; }
.st-chip.agree { background: var(--st-agree-soft); color: var(--st-agree); }
.st-chip.differ { background: var(--st-differ-soft); color: var(--st-differ); }

/* Story page */

.st-back { display: inline-flex; align-items: center; gap: 2px; margin: 10px 0 6px -4px; color: var(--accent); font-size: 15px; font-weight: 500; }
.st-back svg { width: 18px; height: 18px; stroke-width: 2.2; }
.st-back:hover { text-decoration: underline; }
.st-loading { display: grid; place-items: center; padding: 120px 0; }

.st-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: end; padding: 6px 0 22px; }
.st-hero.no-photo { grid-template-columns: 1fr; }
.st-title { margin: 6px 0 10px; font: 780 clamp(30px, 4vw, 44px)/1.08 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.st-natives { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; }
.st-natives li { display: flex; align-items: baseline; gap: 10px; color: var(--text-2); font-family: var(--serif, var(--font)); font-size: 17px; line-height: 1.35; }
.st-natives .lang-chip, .st-natives .st-chip { flex: none; font-family: var(--font); }
.st-dates { margin: 0; color: var(--text-3); font-size: 13px; }

.st-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 1fr; gap: 6px; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.st-gallery.count-1 { grid-template-columns: 1fr; aspect-ratio: 16 / 10; }
.st-gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--raised); }
.st-gallery figure:first-child { grid-row: span 2; }
.st-gallery.count-1 figure:first-child, .st-gallery.count-2 figure { grid-row: span 2; }
.st-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-gallery figcaption { position: absolute; left: 8px; bottom: 6px; right: 8px; color: rgba(255, 255, 255, 0.9); font-size: 10px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-gallery figcaption a { color: inherit; }

.st-coverage {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0 0 14px; padding: 16px 20px;
  border-radius: 18px; background: var(--raised);
}
.st-stat { display: flex; align-items: center; gap: 10px; }
.st-stat-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.st-stat-icon svg { width: 19px; height: 19px; }
.st-stat-value { display: block; font: 700 20px/1.05 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.st-stat-label { display: block; color: var(--text-2); font-size: 13px; }
.st-coverage-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.st-coverage-langs .st-chip { background: var(--surface); }

.st-ai-note {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 10px 14px;
  border-radius: 14px; background: var(--st-ai-soft); color: var(--text-2); font-size: 13px; line-height: 1.45;
}
.st-ai-note svg { width: 17px; height: 17px; color: var(--st-ai); margin-top: 1px; }
.st-ai-note strong { color: var(--st-ai); font-weight: 650; }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }

.st-section { padding: 26px 0 6px; }
.st-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.st-section-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 22px/1.2 var(--font-display); letter-spacing: -0.025em; }
.st-section-title .st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.st-section-title .st-dot.agree { background: var(--st-agree); }
.st-section-title .st-dot.differ { background: var(--st-differ); }
.st-section-title .st-dot.ai { background: var(--st-ai); }
.st-section-sub { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }
.st-none { margin: 0; padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--text-2); font-size: 14px; }

.st-facts { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.st-fact { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.st-fact:last-child { border-bottom: 0; }
.st-fact-mark { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--st-agree-soft); color: var(--st-agree); }
.st-fact-mark svg { width: 13px; height: 13px; stroke-width: 2.6; }
.st-fact.single .st-fact-mark { background: var(--raised); color: var(--text-3); }
.st-fact-text { margin: 0 0 6px; font-size: 16px; line-height: 1.45; }
.st-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.st-pill {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 10px 3px 4px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text);
  font-size: 12.5px; font-weight: 500; text-align: left; cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.st-pill:hover { background: var(--raised); }
.st-pill .st-mono { width: 18px; height: 18px; font-size: 8px; border-radius: 50%; }
.st-pill small { color: var(--text-3); font-size: 11.5px; }
.st-quote { display: block; margin: 6px 0 0; padding-left: 10px; border-left: 2px solid var(--line-strong); color: var(--text-2); font-family: var(--serif, var(--font)); font-size: 14px; line-height: 1.45; }
details.st-more { margin-top: 10px; }
details.st-more summary { color: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
details.st-more summary::-webkit-details-marker { display: none; }

.st-diffs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.st-diff { overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--line-strong), var(--shadow-sm); }
.st-diff-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--st-differ-soft); }
.st-diff-label { margin: 0; color: var(--text); font-size: 15px; font-weight: 650; }
.st-diff-field { color: var(--st-differ); font: 700 11px/1 var(--font); letter-spacing: 0.05em; text-transform: uppercase; }
.st-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); }
.st-side { padding: 14px 16px 16px; }
.st-side + .st-side { border-left: 1px solid var(--line); }
.st-side-value { margin: 0 0 4px; font: 700 22px/1.15 var(--font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.st-side-claim { margin: 0 0 8px; color: var(--text-2); font-size: 13px; line-height: 1.4; }
.st-differences { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.st-differences li { display: flex; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--raised); font-size: 14.5px; line-height: 1.45; }
.st-differences li::before { content: "↔"; color: var(--st-differ); font-weight: 700; }

.st-lang-toggle { display: flex; align-items: center; gap: 8px; }
.st-lang-toggle .segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: auto; padding: 3px; border-radius: 11px; background: var(--raised); }
.st-lang-toggle .segmented label { position: relative; }
.st-lang-toggle .segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.st-lang-toggle .segmented span { display: block; padding: 5px 11px; border-radius: 8px; color: var(--text-2); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background 0.2s var(--ease), color 0.2s; }
.st-lang-toggle .segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 0.5px var(--line); }
.st-lang-toggle .segmented input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.st-lang-status { color: var(--text-3); font-size: 12px; }

.st-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 14px;
  overflow-x: auto; padding: 4px 4px 16px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.st-ncard {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; scroll-snap-align: start;
  border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--line-strong), var(--shadow-sm);
}
.st-ncard-head { display: flex; align-items: center; gap: 10px; }
.st-mono {
  --hue: 210;
  position: relative; display: grid; place-items: center; flex: none; width: 38px; height: 38px; overflow: hidden;
  border-radius: 11px; background: linear-gradient(150deg, hsl(var(--hue) 70% 58%), hsl(calc(var(--hue) + 35) 65% 44%));
  color: #fff; font: 750 13px/1 var(--font-display); letter-spacing: -0.02em;
}
.st-mono img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6px; background: #fff; object-fit: contain; }
.st-ncard-who { min-width: 0; flex: 1; }
.st-ncard-outlet { margin: 0; font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ncard-sub { display: flex; flex-wrap: wrap; gap: 5px; margin: 3px 0 0; }
.st-tone { text-transform: capitalize; }
.st-tone.neutral { background: var(--raised); color: var(--text-2); }
.st-tone.critical { background: rgba(255, 59, 48, 0.12); color: #d70015; }
.st-tone.supportive { background: var(--st-agree-soft); color: var(--st-agree); }
.st-tone.alarmist { background: var(--st-differ-soft); color: var(--st-differ); }
@media (prefers-color-scheme: dark) { .st-tone.critical { color: #ff6961; } }
html[data-theme="dark"] .st-tone.critical { color: #ff6961; }
.st-angle { margin: 0; font: 650 16.5px/1.35 var(--font-display); letter-spacing: -0.015em; }
.st-ncard dl { display: grid; gap: 7px; margin: 0; }
.st-ncard dt { color: var(--text-3); font: 650 11px/1.2 var(--font); letter-spacing: 0.05em; text-transform: uppercase; }
.st-ncard dd { margin: 2px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.42; }
.st-ncard dd ul { margin: 0; padding-left: 18px; }
.st-voices { display: flex; flex-wrap: wrap; gap: 5px; }
.st-voices .st-chip b { color: var(--text); font-weight: 600; }
.st-ncard-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.st-ncard-foot .st-cite { margin-left: auto; color: var(--text-3); font-size: 11.5px; }
.st-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border: 0; border-radius: 999px;
  background: var(--raised); color: var(--text); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: background 0.12s, transform 0.12s;
}
.st-btn:hover { background: var(--press); }
.st-btn:active { transform: scale(0.97); }
.st-btn.primary { background: var(--text); color: var(--bg); }
.st-btn.primary:hover { opacity: 0.88; }
.st-btn svg { width: 14px; height: 14px; }
.st-btn.primary svg { fill: currentColor; stroke: none; }
.st-ncard.is-pending .st-angle { color: var(--text-3); font-weight: 500; }

.st-missing { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.st-missing li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--raised); font-size: 15px; line-height: 1.42; }
.st-missing li::before { content: "?"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--st-ai); font: 750 14px/1 var(--font-display); box-shadow: var(--shadow-sm); }

.st-timeline { position: relative; margin: 0; padding: 0 0 0 22px; list-style: none; }
.st-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line-strong); }
.st-timeline li { position: relative; padding: 0 0 16px; }
.st-timeline li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--accent); }
.st-timeline li.coverage::before { box-shadow: inset 0 0 0 2.5px var(--text-3); }
.st-when { margin: 0; color: var(--text-3); font: 600 12px/1.4 var(--font); font-variant-numeric: tabular-nums; }
.st-what { margin: 2px 0 0; font-size: 15px; line-height: 1.42; }
.st-what small { color: var(--text-3); }

.st-allcov { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.st-group-title { margin: 0 0 8px; color: var(--text-2); font: 650 13px/1.3 var(--font); letter-spacing: 0.03em; text-transform: uppercase; }
.st-list { margin: 0; padding: 0; list-style: none; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--line-strong); overflow: hidden; }
.st-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.st-row + .st-row { border-top: 1px solid var(--line); }
.st-row.is-flash { animation: st-flash 1.6s var(--ease); }
@keyframes st-flash { 0%, 40% { background: var(--accent-soft, rgba(0, 113, 227, 0.12)); } }
.st-row-copy { flex: 1; min-width: 0; }
.st-row-title { margin: 0; font-size: 14.5px; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-row-meta { margin: 2px 0 0; color: var(--text-2); font-size: 12.5px; }
.st-row-brief { margin: 4px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-play {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--text); color: var(--bg); transition: transform 0.15s;
}
.st-play svg { width: 13px; height: 13px; margin-left: 2px; fill: currentColor; stroke: none; }
.st-play:active { transform: scale(0.92); }
.st-open { flex: none; color: var(--accent); font-size: 13px; font-weight: 600; }
.st-attrib { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; line-height: 1.6; }

/* Player */

.st-player {
  position: fixed; z-index: 10; left: 24px; right: 24px; bottom: calc(18px + var(--site-tabbar, 0px));
  display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--glass);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  box-shadow: var(--shadow-lg); animation: st-rise 0.3s var(--ease);
}
.st-player .play-button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); }
.st-player .play-button svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.st-player .play-button .i-pause, .st-player .play-button .spinner { display: none; }
.st-player.is-playing .play-button .i-play { display: none; }
.st-player.is-playing .play-button .i-pause { display: block; }
.st-player.is-loading .play-button svg { display: none; }
.st-player.is-loading .play-button .spinner { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--bg) 35%, transparent); border-top-color: var(--bg); animation: st-spin 0.8s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-player-copy { flex: 1; min-width: 0; }
.st-player-title { margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-player-sub { margin: 0; color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-player-time { color: var(--text-2); font-size: 12px; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .st-page { padding: 4px 16px 120px; }
  .st-hero { grid-template-columns: 1fr; gap: 16px; }
  .st-gallery { aspect-ratio: 16 / 10; order: -1; }
  .st-card.is-lead { flex-direction: column; }
  .st-card.is-lead .st-card-art { min-height: 0; aspect-ratio: 16 / 9; }
  .st-card.is-lead .st-card-body { padding: 14px 16px 16px; }
  .st-coverage-langs { margin-left: 0; }
  .st-cards { grid-auto-columns: minmax(270px, 86%); }
  .st-diffs, .st-allcov, .st-missing { grid-template-columns: 1fr; }
  .st-player { left: 10px; right: 10px; bottom: calc(10px + var(--site-tabbar, 0px)); }
  .st-bar { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-card:hover, .st-card-art img { animation: none; transform: none; transition: none; }
}
