/* ScrollPasta durable edition: a tighter, editorial discovery surface.
   Existing controls, script hooks, light theme and secret encounters are preserved. */
.site-shell { --sp-editorial-radius: 22px; }
.hero { min-height: 0 !important; padding: clamp(1.25rem,3vw,3.1rem) !important; border-radius: var(--sp-editorial-radius) !important; }
.hero-grid { gap: clamp(1.25rem,4vw,3.5rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.7rem,5.9vw,6.4rem) !important; line-height: .96 !important; max-width: 13ch !important; }
.hero-copy > p:not(.eyebrow) { line-height: 1.6 !important; font-size: clamp(.94rem,1.3vw,1.12rem) !important; }
.signal-console { min-width: 0; border-radius: 16px; backdrop-filter: none; }
.signal-metrics > div { min-height: 68px; }
.breakout-section,.feed-stage,.growth-section { border-radius: var(--sp-editorial-radius); }
.breakout-rail { scrollbar-width: thin; scroll-padding-inline: .25rem; }
.breakout-card { min-height: 128px; }
.breakout-card strong { font-size: .88rem; }
.feed-lens { min-height: 40px; font-size: .7rem; }
#visitorSystemStatus[data-state="cloudflare-d1"] { color: #75db9b; }
#visitorSystemStatus[data-state="cloudflare-kv"],#visitorSystemStatus[data-state="cloudflare-edge-live"] { color: #e9b962; }
#visitorSystemStatus[data-state="offline"],#visitorSystemStatus[data-state="cached"] { color: #e99c83; }
.presence-explainer { font-size: .78rem; line-height: 1.5; opacity: .8; max-width: 65ch; margin-inline: auto; }
:where(button,a,input,[role="button"]):focus-visible { outline: 2px solid #f9d47a !important; outline-offset: 4px; }
#breakouts,#viralFeed,#live-map { scroll-margin-top: 100px; }
@media(max-width: 900px) { .hero-grid,.discovery-stage { grid-template-columns: minmax(0,1fr); } .feed-lens-wrap { min-width: 0; } }
@media(max-width: 600px) {
  .hero-copy h1 { font-size: clamp(2.45rem,10vw,4rem) !important; }
  .hero { padding: 1rem !important; }
  .section-kicker-row,.feed-stage-head { align-items: flex-start; flex-wrap: wrap; }
  .feed-lens-wrap { width: 100%; }
  .feed-lenses { justify-content: flex-start; }
  .feed-lens-wrap > span { text-align: left; }
  .breakout-rail { grid-auto-columns: minmax(218px,82%); }
  .signal-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(prefers-reduced-motion: reduce) { .network-live i,.pulse-dot,.breakout-skeleton { animation: none !important; } .breakout-card:hover { transform: none !important; } }

/* Unified edition: restrained cinematic lighting, stronger editorial hierarchy. */
.hero { isolation:isolate; background:radial-gradient(ellipse at 90% 0%,rgba(255,105,53,.19),transparent 53%),radial-gradient(ellipse at 0% 100%,rgba(249,212,122,.10),transparent 50%),#100e14 !important; }
.hero:before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:repeating-linear-gradient(118deg,transparent 0 75px,rgba(249,212,122,.025) 76px 77px); mask-image:linear-gradient(100deg,transparent,#000); }
.hero-copy h1 span { background-image:linear-gradient(105deg,#fff1c0 3%,#ffc766 46%,#ff744e 95%); }
.signal-console { border-top:2px solid #e8aa63; box-shadow:0 18px 44px #0004; }
.signal-metrics>div { border-color:rgba(249,212,122,.13); }
.breakout-card { transition:border-color .18s ease,transform .18s ease; }
.breakout-card:hover { border-color:#f9d47a; }
.video-card { contain:layout style; }
.video-placeholder { overflow:hidden; }
@media (prefers-reduced-motion:reduce) { .breakout-card { transition:none; } }
body.light-mode .hero,body.light-theme .hero { background:linear-gradient(120deg,#fff7e5,#ffe8d4) !important; }

/* Community signal: warm editorial data cards rather than fake live telemetry. */
.signal-metrics>div{min-width:0;overflow-wrap:anywhere}.signal-metrics>div:nth-child(3) strong,.signal-metrics>div:nth-child(4) strong{font-size:clamp(1rem,2vw,1.5rem)}.feed-lens[data-lens="community"]{border-color:#eebc7655;color:#f5ce94}.feed-lens[data-lens="community"].is-active{color:#281526;background:#f7c677}.breakout-rank{font-size:clamp(.64rem,1.4vw,1rem)!important}.viral-tier[data-tier="curated"]{color:#f6d39b;background:#f0bb6819;border-color:#f0bb6855}
