/* Status v2: pulse strip + YouTube / Indus Metropolis / Projects tabs.
   Visual language follows the Rewards hub (rewardsHub.css). Motion only under .sv-motion. */
#status:has(.sv) { position: relative; padding: clamp(3.5rem, 8vw, 6rem) clamp(16px, 3vw, 24px); overflow-x: clip; scroll-margin-top: 70px; }
.sv {
  --sv-text: #eeeaf5; --sv-muted: #a29cb2; --sv-faint: #7f7890; --sv-line: #ffffff12; --sv-card: #ffffff06;
  --sv-purple: #a855f7; --sv-violet: #c9a2ff; --sv-live: #5fe3a1; --sv-warn: #f0c27b;
  --sv-yt: #ff5f57; --sv-tt: #2ee6e0; --sv-dc: #8b93ff; --sv-mr: #1bd96a;
  --sv-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative; isolation: isolate; max-width: 1160px; margin: 0 auto; min-width: 0;
  color: var(--sv-text); font: 16px/1.5 "Clash Grotesk", system-ui, sans-serif; text-transform: none; letter-spacing: normal;
  overflow-wrap: anywhere; container: sv / inline-size;
}
.sv *, .sv *::before, .sv *::after { box-sizing: border-box; }
.sv [hidden] { display: none !important; }
.sv :where(h2, h3, h4, p, ol, ul, dl, dd, figure) { margin: 0; }
.sv :where(ol, ul) { list-style: none; padding: 0; }
.sv a { color: inherit; }
.sv :is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--sv-purple); outline-offset: 3px; }
.sv button { font: inherit; letter-spacing: normal; text-transform: none; }
.sv .sv-icon { width: 1.15em; height: 1.15em; flex: none; }
.sv .sv-icon-xs { width: 13px; height: 13px; }
.sv .sv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sv .sv-meta { color: var(--sv-muted); font-size: 13px; line-height: 1.45; }
.sv .sv-empty { color: var(--sv-muted); font-size: 14px; }
.sv .sv-kicker { display: block; color: var(--sv-violet); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sv .sv-lede { color: var(--sv-muted); font-size: 15px; line-height: 1.6; max-width: 56ch; }

/* Ambient light behind the header */
.sv-aura { position: absolute; z-index: -1; inset: -120px -10% auto; height: 620px; pointer-events: none;
  background: radial-gradient(45% 55% at 22% 30%, #a855f71f, transparent 70%), radial-gradient(35% 45% at 85% 12%, #6366f114, transparent 70%), radial-gradient(30% 40% at 60% 70%, #ec48990b, transparent 70%); }
.sv-motion .sv-aura { animation: sv-breathe 9s ease-in-out infinite; }

/* Pills and dots (shared with the Rewards hub vocabulary) */
.sv .sv-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px; border: 1px solid var(--sv-line); border-radius: 999px; font-size: 12.5px; color: var(--sv-muted); background: var(--sv-card); text-decoration: none; white-space: nowrap; }
.sv .sv-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sv-faint); flex: none; }
.sv :is([data-tone="live"] .sv-dot, .sv-dot-live) { background: var(--sv-live); box-shadow: 0 0 10px var(--sv-live); }
.sv-motion :is([data-tone="live"] .sv-dot, .sv-dot-live)::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--sv-live); animation: sv-ping 2s ease-out infinite; }
.sv .sv-pill[data-tone="live"] { color: #d4f7e5; border-color: #5fe3a140; }
.sv .sv-pill[data-tone="open"] { color: #ead7ff; border-color: #a855f755; }
.sv [data-tone="open"] .sv-dot { background: var(--sv-purple); box-shadow: 0 0 10px var(--sv-purple); }
.sv .sv-pill[data-tone="wait"] { color: #fbe7c4; border-color: #f0c27b40; }
.sv [data-tone="wait"] .sv-dot { background: var(--sv-warn); box-shadow: 0 0 10px #f0c27b88; }
.sv .sv-pill[data-tone="accent"] { color: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.sv [data-tone="accent"] .sv-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sv a.sv-pill { transition: border-color .2s, background .2s, color .2s; }
.sv a.sv-pill:hover { background: #ffffff0a; color: #fff; }
.sv .sv-pill-cta { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding-left: 10px; border-left: 1px solid #ffffff1f; color: var(--sv-violet); }
.sv .sv-pill-cta .sv-icon { width: 13px; height: 13px; transition: transform .2s; }
.sv a.sv-pill:hover .sv-pill-cta .sv-icon { transform: translate(2px, -2px); }

/* Buttons and links */
.sv .sv-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid #ffffff24; background: #ffffff08; color: var(--sv-text); font-size: 14px; text-decoration: none; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.sv .sv-button:hover { background: #a855f714; border-color: #a855f766; transform: translateY(-1px); }
.sv .sv-button .sv-icon { width: 18px; height: 18px; }
.sv .sv-button-primary { background: linear-gradient(135deg, #9b4cf0, #7c3aed); border-color: #c084fc66; color: #fff; box-shadow: 0 8px 28px -10px #a855f7; }
.sv .sv-button-primary:hover { background: linear-gradient(135deg, #ab62f5, #8b4cf2); box-shadow: 0 12px 34px -10px #a855f7; }
.sv .sv-button-yt .sv-icon { color: var(--sv-yt); }
.sv .sv-button-yt:hover { background: #ff5f5712; border-color: #ff5f5766; }
.sv .sv-button-count { color: var(--sv-muted); font-variant-numeric: tabular-nums; padding-left: 10px; border-left: 1px solid #ffffff1f; }
.sv .sv-link { display: inline-flex; align-items: center; gap: 5px; color: var(--sv-violet); font-size: 13px; text-decoration: none; white-space: nowrap; }
.sv .sv-link:hover { color: #fff; }
.sv .sv-link .sv-icon { width: 14px; height: 14px; transition: transform .2s; }
.sv .sv-link:hover .sv-icon { transform: translate(2px, -2px); }
.sv .sv-subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sv .sv-subhead h3 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sv-muted); }
.sv .sv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 1.4; background: #0b0a10b8; border: 1px solid #ffffff1f; color: #e9e4f2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.sv .sv-chip-strong { background: #8b3ff0e6; border-color: #d8b4fe66; color: #fff; }

/* Cursor-follow glow */
.sv [data-glow] { position: relative; isolation: isolate; }
.sv [data-glow]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tone, var(--accent, #a855f7)) 16%, transparent), transparent 62%); }
.sv [data-glow]:hover::before { opacity: 1; }

/* Header */
.sv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.sv-title { display: grid; gap: 10px; }
.sv-head h2 { font-size: clamp(32px, 4.6cqw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.sv-head h2 span { background: linear-gradient(90deg, #e9d5ff, #a855f7 45%, #f0abfc, #e9d5ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-motion .sv-head h2 span { animation: sv-shimmer 6s ease-in-out infinite; }
.sv-head-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sv-updated { color: var(--sv-faint); font-size: 12px; }

/* Pulse strip */
.sv-pulse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.sv-stat[data-platform="youtube"] { --tone: var(--sv-yt); }
.sv-stat[data-platform="tiktok"] { --tone: var(--sv-tt); }
.sv-stat[data-platform="views"] { --tone: var(--sv-violet); }
.sv-stat[data-platform="discord"] { --tone: var(--sv-dc); }
.sv-stat-inner { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--sv-line); border-radius: 18px; overflow: hidden; text-decoration: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 7%, transparent), #ffffff02 70%); transition: transform .3s var(--sv-ease), border-color .3s, box-shadow .3s; }
.sv-stat-inner::after { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--tone), transparent); opacity: .55; }
a.sv-stat-inner:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 38%, transparent); box-shadow: 0 18px 40px -26px var(--tone); }
.sv-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sv-stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); transition: transform .4s var(--sv-ease); }
.sv-stat-icon .sv-icon { width: 20px; height: 20px; }
a.sv-stat-inner:hover .sv-stat-icon { transform: rotate(-6deg) scale(1.06); }
.sv-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #c9f5df; }
.sv-stat-value { display: inline-block; font-size: clamp(28px, 3.6cqw, 42px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #fff; }
.sv-stat-label { color: #c8c0d6; font-size: 14px; line-height: 1.35; }
.sv-stat-detail, .sv-stat-split { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-top: 4px; color: var(--sv-muted); font-size: 12.5px; }
.sv-stat-split > span { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.sv-stat-split [data-platform="youtube"] svg { color: var(--sv-yt); }
.sv-stat-split [data-platform="tiktok"] svg { color: var(--sv-tt); }

/* Tabs */
.sv-tabs { position: relative; display: flex; gap: 6px; margin-top: 52px; border-bottom: 1px solid var(--sv-line); overflow-x: auto; scrollbar-width: none; }
.sv-tabs::-webkit-scrollbar { display: none; }
.sv-tab { appearance: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 20px 16px; border: 0; border-radius: 12px 12px 0 0; background: none; color: var(--sv-muted); text-align: left; white-space: nowrap; cursor: pointer; transition: color .2s, background .2s; }
.sv-tab:hover { color: var(--sv-text); background: #ffffff05; }
.sv-tab .sv-icon { width: 21px; height: 21px; transition: color .3s, transform .4s var(--sv-ease); }
.sv-tab[aria-selected="true"] { color: #fff; }
.sv-tab[aria-selected="true"] .sv-icon { color: var(--sv-violet); transform: scale(1.1); }
.sv-tab-text { display: grid; gap: 1px; }
.sv-tab-label { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sv-tab-meta { font-size: 12px; color: var(--sv-faint); }
.sv-tab-ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: linear-gradient(90deg, #8b5cf6, #d8b4fe); box-shadow: 0 0 12px #a855f7aa; }
.sv-motion .sv-tab-ink { transition: transform .4s var(--sv-ease), width .4s var(--sv-ease); }
.sv-panel { padding-top: 30px; }
.sv-panel:focus-visible { outline: none; }

/* Reveal and panel entrance */
.sv-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--sv-ease), transform .6s var(--sv-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.sv-motion [data-reveal].is-in { opacity: 1; transform: none; }
.sv-motion .sv-panel.sv-enter [data-reveal] { animation: sv-rise .55s var(--sv-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }

/* ---------- YouTube ---------- */
.sv-yt-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sv-feature { display: grid; gap: 14px; text-decoration: none; border-radius: 18px; }
.sv-feature-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; border: 1px solid #ffffff17; background: #0d0b12; box-shadow: 0 30px 70px -40px #a855f7; }
.sv-feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #08080b33, transparent 30%, transparent 60%, #08080b80); pointer-events: none; }
.sv-feature-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--sv-ease); }
.sv-feature:hover .sv-feature-img { transform: scale(1.035); }
.sv-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: #ffffff1c; border: 1px solid #ffffff4d; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .35s var(--sv-ease), background .3s, border-color .3s, box-shadow .3s; }
.sv-play .sv-icon { width: 28px; height: 28px; margin-left: 3px; }
.sv-feature:hover .sv-play { transform: scale(1.1); background: var(--sv-yt); border-color: transparent; box-shadow: 0 12px 40px -8px var(--sv-yt); }
.sv-chips { position: absolute; z-index: 1; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.sv-feature-body { display: grid; gap: 6px; }
.sv-feature-title { font-size: clamp(19px, 2.3cqw, 25px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; transition: color .2s; }
.sv-feature:hover .sv-feature-title { color: #f3e8ff; }
.sv-recent { display: grid; gap: 14px; }
.sv-rows { display: grid; gap: 4px; }
.sv-row { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; align-items: center; margin: 0 -8px; padding: 8px; border-radius: 14px; text-decoration: none; transition: background .25s; }
.sv-row:hover { background: #ffffff08; }
.sv-row-img { display: block; width: 124px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; border: 1px solid #ffffff14; background: #0d0b12; transition: transform .4s var(--sv-ease); }
.sv-row:hover .sv-row-img { transform: scale(1.04); }
.sv-row-text { display: grid; gap: 3px; min-width: 0; }
.sv-row-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sv-recent .sv-button { justify-self: start; margin-top: 4px; }
.sv-shorts { display: grid; gap: 14px; margin-top: 40px; }
.sv-shorts-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #ffffff22 transparent; }
.sv-short { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; border: 1px solid #ffffff17; background: #0d0b12; color: #fff; text-decoration: none; scroll-snap-align: start; transition: transform .35s var(--sv-ease), border-color .3s, box-shadow .3s; }
.sv-short:hover { transform: translateY(-5px); border-color: #ffffff38; box-shadow: 0 22px 44px -24px #a855f7; }
.sv-short-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sv-ease); }
.sv-short:hover .sv-short-img { transform: scale(1.05); }
.sv-short-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, #08080bf0); }
.sv-short-text { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 6px; }
.sv-short-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.3; }
.sv-short-views { display: inline-flex; align-items: center; gap: 5px; color: #dcd4ea; font-size: 12px; font-variant-numeric: tabular-nums; }
.sv-thumb-empty { display: block; background: linear-gradient(135deg, #1b1424, #0d0b12); }

/* ---------- Indus Metropolis ---------- */
.sv-metro-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.sv-metro-intro { display: grid; gap: 10px; justify-items: start; }
.sv-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; border: 1px solid #a855f755; background: #a855f714; color: #ead7ff; font-size: 12px; }
.sv-metro-title { font-size: clamp(30px, 4cqw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.sv-metro-status { display: grid; gap: 10px; justify-items: start; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sv-metro-grid, .sv-metro-lower { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 16px; }
.sv-metro-grid { margin-top: 30px; }
.sv-metro-lower { margin-top: 16px; }
.sv-map-wrap { min-width: 0; }
.sv-map { position: relative; height: 100%; min-height: 380px; overflow: hidden; border-radius: 22px; border: 1px solid #a855f733;
  background: radial-gradient(120% 140% at 15% 0%, #1e1035 0%, #0f0a18 50%, #09080d 100%); box-shadow: inset 0 0 0 1px #ffffff05, 0 30px 80px -44px #a855f7; }
.sv-map-canvas { position: absolute; inset: 0; overflow: hidden; }
.sv-map-svg { position: absolute; inset: -4%; width: 108%; height: 108%; }
.sv-motion .sv-map-svg { animation: sv-drift 36s ease-in-out infinite alternate; }
.sv-map-gridline { stroke: #c9a2ff0b; stroke-width: 1; }
.sv-map-road { stroke: #c9a2ff1c; stroke-width: 2; fill: none; }
.sv-map-b { fill: #c9a2ff; }
.sv-map-lit { fill: #c084fc; fill-opacity: .55; }
.sv-motion .sv-map-lit { animation: sv-twinkle 5s ease-in-out infinite; }
.sv-map-park { fill: #5fe3a10c; stroke: #5fe3a133; stroke-dasharray: 3 4; }
.sv-map-water { fill: none; stroke: #172443; stroke-width: 54; stroke-linecap: round; stroke-linejoin: round; }
.sv-map-water-core { fill: none; stroke: #2a4478; stroke-opacity: .55; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.sv-map-rail { fill: none; stroke: #d8b4fe59; stroke-width: 2; stroke-dasharray: 10 6; }
.sv-map-train { fill: #f5d0fe; filter: drop-shadow(0 0 6px #f0abfc); }
.sv-map-highway { fill: none; stroke: #a855f7; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 8px #a855f7aa); }
.sv-map-highway-draw { fill: none; stroke: #f3e8ff; stroke-width: 1.4; stroke-dasharray: 8 12; stroke-linecap: round; opacity: .8; }
.sv-motion .sv-map-highway-draw { animation: sv-dash 3s linear infinite; }
.sv-map-beacon { fill: #e9d5ff; }
.sv-map-ring { fill: none; stroke: #c084fc; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: .6; }
.sv-motion .sv-map-ring { animation: sv-ring 2.8s ease-out infinite; animation-delay: calc(var(--k, 0) * -.7s); }
.sv-map-label { fill: #e9d5ffb3; font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .18em; }
.sv-map-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 26%; pointer-events: none; transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, #a855f708 55%, #c9a2ff26 94%, #e9d5ff4d 100%); mix-blend-mode: screen; }
.sv-motion .sv-map-scan { animation: sv-scan 9s cubic-bezier(.45, .05, .55, .95) infinite; }
.sv-map-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 50% 45%, transparent 35%, #08080bd0 100%), linear-gradient(90deg, #08080be6 0%, #08080b80 32%, transparent 62%), linear-gradient(180deg, transparent 62%, #08080bd9); }
.sv-map-overlay { position: relative; z-index: 1; display: grid; justify-items: start; gap: 10px; max-width: 400px; padding: 26px; }
.sv-map-title { font-size: clamp(22px, 2.7cqw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.sv-map-text { color: #c8c0d6; font-size: 14px; line-height: 1.55; }
.sv-map-telemetry { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: "JetBrains Mono", ui-monospace, monospace; }
.sv-map-telemetry div { display: grid; gap: 3px; }
.sv-map-telemetry dt { color: var(--sv-faint); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.sv-map-telemetry dd { color: #e9e4f2; font-size: 12.5px; }
.sv-metro-side { display: grid; grid-template-rows: auto minmax(180px, 1fr); gap: 16px; min-width: 0; }
.sv-modpack { --tone: var(--sv-mr); position: relative; display: grid; gap: 16px; padding: 20px; overflow: hidden; border-radius: 22px; border: 1px solid var(--sv-line); background: #0d0b12; text-decoration: none; transition: border-color .3s, transform .3s var(--sv-ease), box-shadow .3s; }
.sv-modpack:hover { border-color: #1bd96a55; transform: translateY(-2px); box-shadow: 0 20px 44px -30px var(--sv-mr); }
.sv-modpack-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .2; transition: transform 1.2s var(--sv-ease), opacity .4s;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.sv-modpack:hover .sv-modpack-bg { transform: scale(1.06); opacity: .3; }
.sv-modpack-top { display: flex; align-items: center; gap: 14px; }
.sv-modpack-icon { width: 52px; height: 52px; border-radius: 14px; border: 1px solid #ffffff24; box-shadow: 0 12px 26px -12px #000; }
.sv-modpack-title { display: block; margin-top: 3px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.sv-modpack .sv-kicker { color: #8ff0b8; }
.sv-modpack-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sv-modpack-facts > span { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; border: 1px solid #ffffff0f; background: #0b0a10a8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sv-modpack-facts strong { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sv-modpack-facts small { color: var(--sv-muted); font-size: 11.5px; }
.sv-modpack-cta { display: inline-flex; align-items: center; gap: 6px; color: #8ff0b8; font-size: 14px; font-weight: 600; }
.sv-modpack-cta .sv-icon { width: 15px; height: 15px; transition: transform .2s; }
.sv-modpack:hover .sv-modpack-cta .sv-icon { transform: translate(2px, -2px); }
.sv-episode { position: relative; display: block; min-height: 180px; overflow: hidden; border-radius: 22px; border: 1px solid var(--sv-line); background: #0d0b12; color: #fff; text-decoration: none; transition: border-color .3s, transform .3s var(--sv-ease); }
.sv-episode:hover { border-color: #a855f766; transform: translateY(-2px); }
.sv-episode-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .9s var(--sv-ease); }
.sv-episode:hover .sv-episode-img { transform: scale(1.05); }
.sv-episode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, #08080bf2); }
.sv-episode-text { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: grid; justify-items: start; gap: 6px; }
.sv-episode-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sv-episodes, .sv-timeline { display: grid; align-content: start; gap: 16px; padding: 20px; border-radius: 22px; border: 1px solid var(--sv-line); background: var(--sv-card); min-width: 0; }
.sv-ep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.sv-ep { display: grid; gap: 8px; text-decoration: none; }
.sv-ep-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; border: 1px solid #ffffff17; background: #0d0b12; transition: border-color .3s, box-shadow .3s; }
.sv-ep-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sv-ease); }
.sv-ep:hover .sv-ep-img { transform: scale(1.06); }
.sv-ep:hover .sv-ep-media { border-color: #ffffff40; }
.sv-ep[data-latest] .sv-ep-media { border-color: #a855f7aa; box-shadow: 0 0 0 1px #a855f755, 0 12px 30px -14px #a855f7; }
.sv-ep-code { position: absolute; left: 7px; top: 7px; padding: 3px 7px; border-radius: 7px; background: #0b0a10d0; color: #f3e8ff; font: 600 11px/1.3 "JetBrains Mono", ui-monospace, monospace; }
.sv-ep[data-latest] .sv-ep-code { background: #8b3ff0; }
.sv-ep-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #d6d0e2; font-size: 12.5px; line-height: 1.32; transition: color .2s; }
.sv-ep:hover .sv-ep-title { color: #fff; }
.sv-tl { position: relative; display: grid; gap: 14px; }
.sv-tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, #a855f7, #a855f700); transform-origin: top; }
.sv-motion .sv-timeline.is-in .sv-tl::before { animation: sv-draw-y 1.2s .25s var(--sv-ease) both; }
.sv-tl li { position: relative; display: grid; gap: 2px; padding-left: 24px; }
.sv-tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #a855f7; background: #0b0a10; }
.sv-tl li[data-kind="modpack"]::before { border-color: var(--sv-mr); }
.sv-tl li[data-kind="news"]::before { border-color: var(--sv-warn); }
.sv-tl time { color: var(--sv-faint); font: 11px/1.4 "JetBrains Mono", ui-monospace, monospace; }
.sv-tl :is(a, strong) { color: var(--sv-text); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.sv-tl a:hover { color: var(--sv-violet); }
.sv-tl small { color: var(--sv-muted); font-size: 12px; }

/* ---------- Projects ---------- */
.sv-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-project { min-width: 0; }
.sv-project-card { --tone: var(--accent); position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 22px; border: 1px solid var(--sv-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), #ffffff03 45%); transition: transform .35s var(--sv-ease), border-color .3s, box-shadow .3s; }
.sv-project-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.sv-project[data-selected="true"] .sv-project-card { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 26px 60px -32px var(--accent); }
.sv-project-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0b12; }
.sv-project-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1s var(--sv-ease), filter .4s; }
.sv-project-card:hover .sv-project-media img, .sv-project[data-selected="true"] .sv-project-media img { transform: scale(1.05); filter: saturate(1.05); }
.sv-project-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #0b0a10 100%); }
.sv .sv-chip-stage { position: absolute; left: 12px; top: 12px; }
.sv-chip-stage .sv-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sv .sv-chip-concept { position: absolute; right: 12px; top: 12px; color: #d6d0e2; font-size: 11px; }
.sv-project-body { display: grid; gap: 8px; align-content: start; padding: 16px 20px 0; }
.sv-project-name { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.sv-project-icon { width: 30px; height: 30px; border-radius: 9px; }
.sv-wm-b { font-weight: 400; font-style: italic; opacity: .82; }
.sv-partner { color: var(--accent-soft); font-size: 12.5px; margin-top: -4px; }
.sv-project-pitch { color: #c8c0d6; font-size: 14px; line-height: 1.5; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sv-tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid #ffffff1a; background: #ffffff06; color: #d6d0e2; font-size: 12px; }
.sv-project-foot { display: grid; gap: 12px; margin-top: auto; padding: 18px 20px 20px; }
.sv-project-focus { font-size: 13.5px; }
.sv-project-focus span { margin-right: 8px; color: var(--accent-soft); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.sv-project-select { position: absolute; inset: 0; z-index: 2; appearance: none; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.sv-project-select:focus-visible { outline-color: var(--accent); }
.sv-track { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.sv-track::before, .sv-track::after { content: ""; position: absolute; top: 5px; height: 2px; border-radius: 2px; left: calc(50% / var(--n)); }
.sv-track::before { right: calc(50% / var(--n)); background: #ffffff14; }
.sv-track::after { width: calc((100% - 100% / var(--n)) * var(--at) / (var(--n) - 1)); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 45%, transparent), var(--accent)); box-shadow: 0 0 10px var(--accent); transform-origin: left; }
.sv-motion .is-in .sv-track::after, .sv-motion .sv-swap .sv-track::after { animation: sv-grow 1.1s .25s var(--sv-ease) both; }
.sv-track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; }
.sv-track-node { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #ffffff2e; background: #0b0a10; }
.sv-track [data-state="done"] .sv-track-node { border-color: var(--accent); background: var(--accent); }
.sv-track [data-state="now"] .sv-track-node { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 14px var(--accent); }
.sv-motion .sv-track [data-state="now"] .sv-track-node { animation: sv-node 2.4s ease-in-out infinite; }
.sv-track-label { color: var(--sv-faint); font-size: 11.5px; }
.sv-track [data-state="done"] .sv-track-label { color: var(--sv-muted); }
.sv-track [data-state="now"] .sv-track-label { color: #fff; font-weight: 600; }
.sv-project-detail { margin-top: 16px; }
.sv-detail { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .9fr); gap: 28px 44px; padding: 32px 34px; overflow: hidden; border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); background: radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%), #0c0a12; }
.sv-detail::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(60% 80% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(60% 80% at 100% 0%, #000, transparent 70%); }
.sv-motion .sv-swap .sv-detail { animation: sv-rise .5s var(--sv-ease); }
.sv-motion .sv-swap .sv-detail-main > *, .sv-motion .sv-swap .sv-detail-facts > * { animation: sv-rise .5s var(--sv-ease) both; }
.sv-motion .sv-swap .sv-detail-main > :nth-child(2), .sv-motion .sv-swap .sv-detail-facts > :nth-child(2) { animation-delay: 50ms; }
.sv-motion .sv-swap .sv-detail-main > :nth-child(3), .sv-motion .sv-swap .sv-detail-facts > :nth-child(3) { animation-delay: 100ms; }
.sv-motion .sv-swap .sv-detail-main > :nth-child(n+4), .sv-motion .sv-swap .sv-detail-facts > :nth-child(n+4) { animation-delay: 150ms; }
.sv-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.sv-detail-icon { width: 44px; height: 44px; border-radius: 12px; }
.sv-detail-name { font-size: clamp(28px, 3.2cqw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.sv-detail-pitch { margin-top: 14px; color: #fff; font-size: 17px; line-height: 1.45; }
.sv-detail-copy p { margin-top: 10px; color: #c8c0d6; font-size: 14.5px; line-height: 1.65; }
.sv-detail .sv-track { margin-top: 26px; }
.sv-detail-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.sv-detail-lists h4 { margin-bottom: 8px; color: var(--sv-muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.sv-checks li, .sv-nexts li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 14px; line-height: 1.45; }
.sv-checks .sv-icon { width: 16px; height: 16px; margin-top: 2px; color: var(--accent-soft); }
.sv-next-dot { flex: none; width: 9px; height: 9px; margin: 6px 4px 0 3px; border-radius: 50%; border: 1.5px solid var(--sv-faint); }
.sv-detail-facts { display: grid; align-content: start; padding-left: 30px; border-left: 1px solid var(--sv-line); }
.sv-detail-facts div { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--sv-line); }
.sv-detail-facts div:first-child { padding-top: 0; }
.sv-detail-facts dt { color: var(--sv-faint); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sv-detail-facts dd { color: var(--sv-text); font-size: 14.5px; }
.sv-detail-facts .sv-link { margin-top: 14px; }

/* ---------- Responsive (container widths) ---------- */
@container sv (max-width: 900px) {
  .sv-pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-yt-grid, .sv-metro-head, .sv-metro-grid, .sv-metro-lower { grid-template-columns: minmax(0, 1fr); }
  .sv-metro-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .sv-project-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(270px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; }
  .sv-project { scroll-snap-align: start; }
  .sv-detail { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .sv-detail-facts { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--sv-line); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .sv-detail-facts div:first-child { padding-top: 12px; }
}
@container sv (max-width: 640px) {
  .sv-head-meta { align-items: flex-start; }
  .sv-stat-inner { padding: 14px 14px 13px; border-radius: 16px; }
  .sv-stat-icon { width: 32px; height: 32px; border-radius: 10px; }
  .sv-stat-icon .sv-icon { width: 17px; height: 17px; }
  .sv-stat-top { margin-bottom: 8px; }
  .sv-stat-label { font-size: 13px; }
  .sv-tabs { margin-top: 40px; gap: 0; }
  .sv-tab { padding: 10px 14px 14px; min-height: 52px; gap: 9px; }
  .sv-tab-meta { display: none; }
  .sv-tab-label { font-size: 15px; }
  .sv-metro-side { grid-template-columns: minmax(0, 1fr); }
  .sv-map { min-height: 420px; }
  .sv-map-label, .sv-map-place { display: none; }
  .sv-ep-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(160px, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .sv-ep { scroll-snap-align: start; }
  .sv-detail-lists, .sv-detail-facts { grid-template-columns: minmax(0, 1fr); }
  .sv-row { grid-template-columns: 108px minmax(0, 1fr); }
  .sv-row-img { width: 108px; }
}
@container sv (max-width: 400px) {
  .sv-tab .sv-icon { display: none; }
  .sv-stat-split { gap: 4px 10px; }
}

@keyframes sv-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes sv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sv-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sv-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes sv-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sv-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sv-node { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 12px var(--accent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 10%, transparent), 0 0 20px var(--accent); } }
@keyframes sv-twinkle { 0%, 100% { fill-opacity: .2; } 50% { fill-opacity: .75; } }
@keyframes sv-scan { from { transform: translateX(-110%); } to { transform: translateX(420%); } }
@keyframes sv-drift { from { transform: translate3d(-1.2%, -1%, 0) scale(1.02); } to { transform: translate3d(1.2%, 1%, 0) scale(1.07); } }
@keyframes sv-dash { to { stroke-dashoffset: -40; } }
@keyframes sv-ring { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
