/* VICE RADAR v2.8.0 "Neon Sunset" visual layer.
   Loaded last. Presentation only: no data, copy or layout logic changes.
   All art is original CSS/SVG drawn for this project (no publisher logos, marks, fonts or art).
   Heavy effects scale down on phones and every animation stops under prefers-reduced-motion. */

:root {
  --vfx-night: #07051a;
  --vfx-violet: #2a0d4a;
  --vfx-plum: #5a1361;
  --vfx-magenta: #c02a7a;
  --vfx-pink: #ff4f9a;
  --vfx-coral: #ff7a59;
  --vfx-gold: #ffc46a;
  --vfx-teal: #2de2d0;
  --vfx-cyan: #5ad7ff;
  --vfx-glass: rgb(18 14 38 / 0.62);
  --vfx-glass-2: rgb(24 16 48 / 0.72);
  --vfx-line: rgb(255 120 190 / 0.18);
  --vfx-glow-pink: 0 0 18px rgb(255 79 154 / 0.45);
  --vfx-glow-teal: 0 0 16px rgb(45 226 208 / 0.4);
}

.vfx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* ---------- Ambient lighting: sunset sky behind the whole app ---------- */
body.vice {
  background:
    radial-gradient(1200px 520px at 78% -8%, rgb(255 79 154 / 0.22), transparent 62%),
    radial-gradient(900px 600px at 105% 30%, rgb(255 122 89 / 0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 100%, rgb(45 226 208 / 0.10), transparent 60%),
    radial-gradient(700px 500px at 30% 60%, rgb(120 60 255 / 0.08), transparent 70%),
    linear-gradient(180deg, #0b0620 0%, #090717 40%, #07060f 100%);
  background-attachment: fixed;
}
/* Vignette + soft bloom at the edges */
body.vice .app-shell::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background: radial-gradient(ellipse 120% 110% at 50% 35%, transparent 62%, rgb(3 2 10 / 0.38) 100%);
}
/* VHS scanlines, very faint */
body.vice .app-shell::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 91;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.018) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
/* Film grain (reuses the shared noise tile, stronger) */
body.vice::after { opacity: 0.055; mix-blend-mode: overlay; z-index: 92; }

/* ---------- Sidebar: tinted glass with a neon edge ---------- */
body.vice .vr-sidebar {
  background: linear-gradient(180deg, rgb(28 12 46 / 0.86), rgb(10 8 24 / 0.9) 45%, rgb(8 10 22 / 0.94));
  backdrop-filter: blur(14px) saturate(1.2);
  border-right: 1px solid transparent;
  box-shadow: inset -1px 0 0 rgb(255 120 190 / 0.14);
}
body.vice .vr-sidebar::after {
  content: ""; position: absolute; top: 0; right: -1px; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--vfx-pink) 18%, var(--vfx-coral) 45%, var(--vfx-teal) 80%, transparent);
  opacity: 0.55; box-shadow: 0 0 12px rgb(255 79 154 / 0.6);
}
body.vice .brand-mark {
  border-color: rgb(255 79 154 / 0.8);
  background: radial-gradient(circle at 50% 120%, rgb(255 122 89 / 0.45), transparent 60%), linear-gradient(155deg, #3a1446, #120b22);
  box-shadow: 0 0 0 1px rgb(255 79 154 / 0.15), 0 0 24px rgb(255 79 154 / 0.35), inset 0 0 14px rgb(255 79 154 / 0.25);
}
body.vice .brand-mark svg { filter: drop-shadow(0 0 4px rgb(255 79 154 / 0.9)); animation: vfx-spin 14s linear infinite; }
body.vice .brand-mark i { background: var(--vfx-teal); box-shadow: 0 0 8px var(--vfx-teal); animation: vfx-blink 2.4s ease-in-out infinite; }
body.vice .vr-sidebar .brand b, body.vice .topbar .brand b { text-shadow: 0 0 18px rgb(255 255 255 / 0.12); }
body.vice .brand b i {
  background: linear-gradient(180deg, #ffd8ea, var(--vfx-pink) 55%, #ff7a59);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 8px rgb(255 79 154 / 0.65));
  animation: vfx-neon-on 1.6s steps(1, end) 0.2s both;
}
body.vice .side-label { color: #b9a6cf; }
body.vice .nav-item { position: relative; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur), box-shadow var(--dur); }
body.vice .nav-item:hover { background: rgb(255 255 255 / 0.04); transform: translateX(2px); }
body.vice .nav-item.active {
  background: linear-gradient(90deg, rgb(255 79 154 / 0.22), rgb(255 122 89 / 0.08) 60%, transparent);
  border-color: rgb(255 79 154 / 0.35); color: #ffd1e6;
  box-shadow: inset 0 0 18px rgb(255 79 154 / 0.12), 0 0 22px -8px rgb(255 79 154 / 0.7);
}
body.vice .nav-item.active::before {
  content: ""; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--vfx-gold), var(--vfx-pink));
  box-shadow: 0 0 10px var(--vfx-pink);
}
body.vice .nav-item.active svg { filter: drop-shadow(0 0 5px rgb(255 79 154 / 0.9)); }
body.vice .side-divider { background: linear-gradient(90deg, transparent, rgb(255 120 190 / 0.35), transparent); }

/* ---------- Topbar: glass with a sunset hairline ---------- */
body.vice .topbar {
  background: linear-gradient(180deg, rgb(16 10 32 / 0.82), rgb(10 8 22 / 0.7));
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 rgb(255 120 190 / 0.12), 0 10px 30px -18px rgb(0 0 0 / 0.8);
}
body.vice .topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--vfx-teal) 15%, var(--vfx-pink) 50%, var(--vfx-gold) 85%, transparent);
  opacity: 0.45;
}
body.vice .breadcrumb span { color: #ffd1e6; text-shadow: 0 0 10px rgb(255 79 154 / 0.5); }
body.vice .data-state { background: rgb(10 8 22 / 0.6); border-color: rgb(255 255 255 / 0.1); backdrop-filter: blur(6px); }
body.vice .data-state i { position: relative; }
body.vice .data-state.online i { animation: vfx-pulse-teal 2s ease-out infinite; }
body.vice .data-state.sample i, body.vice .data-state.stale i { animation: vfx-pulse-gold 2.4s ease-out infinite; }
body.vice .icon-button { background: rgb(255 255 255 / 0.03); transition: transform var(--dur), box-shadow var(--dur), color var(--dur), border-color var(--dur); }
body.vice .icon-button:hover { border-color: rgb(255 79 154 / 0.55); box-shadow: var(--vfx-glow-pink); transform: rotate(-30deg); }
body.vice .top-avatar { background: linear-gradient(135deg, #3a1446, #14102a); border-color: rgb(255 79 154 / 0.5); box-shadow: 0 0 14px rgb(255 79 154 / 0.3); }

/* ---------- Glass panels with glowing gradient borders ---------- */
body.vice .vr-panel,
body.vice .tbl.panel,
body.vice .runners.panel,
body.vice .search.panel,
body.vice .search-out.panel {
  position: relative;
  background: linear-gradient(160deg, rgb(30 18 58 / 0.66), rgb(14 12 32 / 0.72) 45%, rgb(10 12 26 / 0.8)) !important;
  border: 1px solid rgb(255 255 255 / 0.07) !important;
  backdrop-filter: blur(10px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 24px 60px -36px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 79 154 / 0.03);
}
body.vice .vr-panel::before,
body.vice .tbl.panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgb(255 79 154 / 0.55), rgb(255 122 89 / 0.15) 30%, transparent 55%, rgb(45 226 208 / 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.55; transition: opacity var(--dur-slow);
}
body.vice .vr-panel:hover::before { opacity: 0.9; }
body.vice .section-head h2 {
  background: linear-gradient(180deg, #fff6fb 30%, #ffc6e0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgb(255 79 154 / 0.28));
}
body.vice .section-head > div { position: relative; padding-left: 14px; }
body.vice .section-head > div::before {
  content: ""; position: absolute; left: 0; top: 1px; bottom: 1px; width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--vfx-gold), var(--vfx-pink) 55%, var(--vfx-magenta));
  box-shadow: 0 0 10px rgb(255 79 154 / 0.7);
}
body.vice .section-chip {
  padding: 6px 9px; border-radius: 999px; border: 1px solid rgb(45 226 208 / 0.3); color: #a5f3ea;
  background: rgb(45 226 208 / 0.06); box-shadow: inset 0 0 10px rgb(45 226 208 / 0.08);
}
body.vice .inline-link { color: #ff9ccb; text-shadow: 0 0 8px rgb(255 79 154 / 0.4); }

/* Buttons: sunset fill + glow, hover lift */
body.vice .btn-primary, body.vice button.primary {
  background: linear-gradient(100deg, #ff4f9a, #ff7a59 55%, #ffc46a); color: #12061c;
  box-shadow: 0 8px 26px -8px rgb(255 79 154 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.35);
  transition: transform var(--dur), box-shadow var(--dur), filter var(--dur);
}
body.vice .btn-primary:hover, body.vice button.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgb(255 79 154 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.4); }
body.vice .btn-secondary, body.vice button.secondary {
  background: rgb(10 8 22 / 0.45); border-color: rgb(45 226 208 / 0.45); color: #c9fbf5; backdrop-filter: blur(6px);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur), color var(--dur);
}
body.vice .btn-secondary:hover, body.vice button.secondary:hover { transform: translateY(-2px); border-color: var(--vfx-teal); color: #e9fffc; box-shadow: var(--vfx-glow-teal); }
body.vice .btn { transition: transform var(--dur), box-shadow var(--dur), filter var(--dur); }
body.vice .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgb(255 79 154 / 0.8); }

/* Live dots pulse */
body.vice .live-dot { animation: vfx-pulse-pink 1.8s ease-out infinite; }

/* ---------- Shared hero lighting: god rays + light sweep ---------- */
.fx-sweep {
  position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; border-radius: inherit;
}
.fx-sweep::before {
  content: ""; position: absolute; top: -50%; bottom: -50%; left: -40%; width: 28%;
  background: linear-gradient(90deg, transparent, rgb(255 236 214 / 0.0) 20%, rgb(255 236 214 / 0.13) 50%, rgb(255 236 214 / 0) 80%, transparent);
  transform: rotate(18deg) translateX(0);
  animation: vfx-sweep 9s cubic-bezier(0.45, 0, 0.25, 1) 1.2s infinite;
  mix-blend-mode: screen;
}

/* ---------- Meme Radar hero ---------- */
body.vice .mr-hero {
  border: 1px solid rgb(255 120 190 / 0.28);
  min-height: 360px;
  background:
    linear-gradient(180deg, #0b0620 0%, #1d0938 14%, #3e1158 28%, #7a1a6c 41%, #c23577 53%, #f0587a 61%, #ff8a5c 66%, #ffb766 70%, #ffd68a 72%);
  box-shadow:
    0 40px 90px -40px rgb(255 79 154 / 0.65),
    0 0 0 1px rgb(255 255 255 / 0.03),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
  isolation: isolate;
}
body.vice .mr-hero::before { /* scanlines + chroma fringe */
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / 0.14) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgb(255 0 128 / 0.05), transparent 12%, transparent 88%, rgb(0 255 230 / 0.05));
  z-index: 4; mix-blend-mode: multiply; opacity: 0.8;
}
body.vice .mr-hero::after { /* vignette inside the hero (replaces the flat grid) */
  height: 100%; z-index: 4;
  background: radial-gradient(ellipse 90% 80% at 60% 55%, transparent 55%, rgb(5 3 15 / 0.55) 100%);
}
body.vice .mr-sky { z-index: 0; }
body.vice .mr-skyline { height: 100%; }
.mr-rays {
  position: absolute; z-index: 0; pointer-events: none;
  right: -22%; top: -40%; width: 110%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgb(255 214 150 / 0.12) 0deg 4deg, transparent 4deg 13deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgb(0 0 0 / 0.6) 22%, transparent 58%);
          mask: radial-gradient(circle, #000 0, rgb(0 0 0 / 0.6) 22%, transparent 58%);
  animation: vfx-rays 90s linear infinite;
  mix-blend-mode: screen; opacity: 0.85;
}
.mr-stars .st { fill: #ffe9f6; opacity: 0.7; animation: vfx-twinkle 3.6s ease-in-out infinite; }
.mr-stars .st2 { fill: #bff9f2; opacity: 0.5; animation: vfx-twinkle 5.2s ease-in-out 1.3s infinite; }
.mr-stars circle:nth-child(3n) { animation-delay: 0.8s; }
.mr-stars circle:nth-child(4n) { animation-delay: 2.1s; }
.mr-bloom { mix-blend-mode: screen; animation: vfx-bloom 6s ease-in-out infinite; transform-origin: 900px 250px; }
.mr-clouds rect { fill: #ffb3d1; opacity: 0.32; }
.mr-clouds rect:nth-child(2n) { fill: #c9a0ff; opacity: 0.22; }
.mr-clouds { animation: vfx-drift 40s ease-in-out infinite alternate; }
.mr-gulls path { fill: none; stroke: #2a0f33; stroke-width: 2.2; stroke-linecap: round; opacity: 0.75; }
.mr-gulls { animation: vfx-glide 26s ease-in-out infinite alternate; }
.mr-far { fill: #5b1d62; opacity: 0.55; }
body.vice .mr-towers { fill: #14081f; opacity: 1; }
.mr-win { fill: #ffd9a0; opacity: 0.55; }
.mr-win.warm { fill: #ff8fc4; opacity: 0.9; animation: vfx-flicker 7s steps(1, end) infinite; }
.mr-win.cool { fill: #8ff5ea; opacity: 0.8; animation: vfx-flicker 9s steps(1, end) 2s infinite; }
.mr-deco-body { fill: #1b0a29; }
.mr-neon { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.mr-neon.pink { stroke: #ff6fb1; filter: drop-shadow(0 0 4px #ff4f9a) drop-shadow(0 0 10px rgb(255 79 154 / 0.8)); animation: vfx-neon-buzz 5s linear infinite; }
.mr-neon.teal { stroke: #6ff7ea; filter: drop-shadow(0 0 4px #2de2d0) drop-shadow(0 0 10px rgb(45 226 208 / 0.7)); }
.mr-horizon { stroke: #ffb3d1; stroke-width: 1; opacity: 0.8; filter: drop-shadow(0 0 6px #ff4f9a); }
.mr-refl { fill: #ffcf7a; opacity: 0.55; }
.mr-refl.r1 { fill: #ff8fb8; opacity: 0.5; }
.mr-refl.r2 { fill: #ffe2a6; opacity: 0.4; }
.mr-reflection { animation: vfx-shimmer 3.2s ease-in-out infinite; transform-origin: 900px 340px; mix-blend-mode: screen; }
.mr-palm { fill: #0e0518; stroke: rgb(255 120 180 / 0.28); stroke-width: 1.2; }
.mr-palm.p2 { fill: #160a24; }
.mr-palm.p1 { animation: vfx-sway 7s ease-in-out infinite; transform-origin: 1135px 420px; transform-box: view-box; }
.mr-palm.p2 { animation: vfx-sway 8.5s ease-in-out 1s infinite; transform-origin: 1020px 420px; transform-box: view-box; }

body.vice .mr-hero-copy { position: relative; z-index: 5; }
body.vice .mr-hero-copy::before { /* soft dark scrim for legibility over the sunset */
  content: ""; position: absolute; z-index: -1; left: -60px; top: -50px; width: min(760px, 100% + 120px); height: calc(100% + 90px);
  background: radial-gradient(ellipse at 30% 45%, rgb(10 4 26 / 0.62), rgb(10 4 26 / 0.3) 45%, transparent 72%);
  pointer-events: none;
}
body.vice .mr-stats { z-index: 5; }
body.vice .mr-kicker {
  color: #fff3c4; border-color: rgb(255 210 122 / 0.55);
  background: linear-gradient(90deg, rgb(255 79 154 / 0.25), rgb(18 10 32 / 0.5));
  box-shadow: 0 0 18px rgb(255 79 154 / 0.35), inset 0 0 10px rgb(255 210 122 / 0.12);
  backdrop-filter: blur(4px);
}
body.vice .mr-kicker::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px;
  background: var(--vfx-teal); box-shadow: 0 0 8px var(--vfx-teal); animation: vfx-pulse-teal 2s ease-out infinite;
}
body.vice .mr-hero h1 {
  color: #fff7f0;
  text-shadow:
    0 0 1px #fff,
    0 0 12px rgb(255 140 200 / 0.55),
    0 0 34px rgb(255 79 154 / 0.45),
    0 3px 0 #6a1745,
    0 6px 18px rgb(20 0 30 / 0.55);
  animation: vfx-title-in 900ms var(--ease-out) both;
}
body.vice .mr-hero h1 em {
  background: linear-gradient(180deg, #fff1a8 0%, #ffc46a 35%, #ff6f91 72%, #ff4f9a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgb(255 196 106 / 0.55)) drop-shadow(0 0 26px rgb(255 79 154 / 0.5));
  display: inline-block;
  animation: vfx-neon-on 1.4s steps(1, end) 0.4s both;
}
body.vice .mr-hero p { color: #ffeaf4; text-shadow: 0 1px 3px rgb(0 0 0 / 0.6); animation: vfx-rise 700ms var(--ease-out) 150ms both; }
body.vice .mr-fresh {
  background: rgb(10 6 26 / 0.66); border-color: rgb(255 255 255 / 0.12); backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -12px rgb(0 0 0 / 0.8);
  animation: vfx-rise 700ms var(--ease-out) 250ms both;
}
body.vice .mr-fresh.live { border-color: rgb(45 226 208 / 0.45); box-shadow: 0 0 18px -4px rgb(45 226 208 / 0.45); }

body.vice .mr-stat {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02) 40%, rgb(10 6 26 / 0.55)), rgb(12 8 30 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.14);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 18px 40px -22px rgb(0 0 0 / 0.9);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  animation: vfx-rise 600ms var(--ease-out) both;
}
body.vice .mr-stat:nth-child(1) { animation-delay: 300ms; --vfx-edge: var(--vfx-pink); }
body.vice .mr-stat:nth-child(2) { animation-delay: 380ms; --vfx-edge: var(--vfx-teal); }
body.vice .mr-stat:nth-child(3) { animation-delay: 460ms; --vfx-edge: var(--vfx-gold); }
body.vice .mr-stat:nth-child(4) { animation-delay: 540ms; --vfx-edge: var(--vfx-coral); }
body.vice .mr-stat::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 2px;
  background: var(--vfx-edge, var(--vfx-pink)); box-shadow: 0 0 12px var(--vfx-edge, var(--vfx-pink)), 0 0 24px var(--vfx-edge, var(--vfx-pink));
}
body.vice .mr-stat:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / 0.26); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 22px 44px -20px rgb(255 79 154 / 0.55); }
body.vice .mr-stat strong { text-shadow: 0 0 18px rgb(255 255 255 / 0.25); }

/* ---------- Rising memes board ---------- */
body.vice .mr-item {
  position: relative;
  background: linear-gradient(90deg, rgb(255 79 154 / 0.08), rgb(255 255 255 / 0.015) 45%, rgb(45 226 208 / 0.03)), rgb(16 12 34 / 0.7);
  border: 1px solid rgb(255 255 255 / 0.07);
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur), background var(--dur);
  animation: vfx-rise 520ms var(--ease-out) both;
}
body.vice .mr-item:nth-child(1) { animation-delay: 60ms; }
body.vice .mr-item:nth-child(2) { animation-delay: 110ms; }
body.vice .mr-item:nth-child(3) { animation-delay: 160ms; }
body.vice .mr-item:nth-child(4) { animation-delay: 210ms; }
body.vice .mr-item:nth-child(5) { animation-delay: 260ms; }
body.vice .mr-item:nth-child(6) { animation-delay: 310ms; }
body.vice .mr-item:nth-child(7) { animation-delay: 360ms; }
body.vice .mr-item:nth-child(8) { animation-delay: 410ms; }
body.vice .mr-item:nth-child(n+9) { animation-delay: 460ms; }
body.vice .mr-item:hover { transform: translateY(-2px); border-color: rgb(255 79 154 / 0.4); box-shadow: 0 16px 36px -22px rgb(255 79 154 / 0.75); }
body.vice .mr-item.open {
  border-color: rgb(255 79 154 / 0.5);
  background: linear-gradient(90deg, rgb(255 79 154 / 0.14), rgb(255 255 255 / 0.02) 45%, rgb(45 226 208 / 0.05)), rgb(18 12 38 / 0.82);
  box-shadow: 0 0 0 1px rgb(255 79 154 / 0.2), 0 24px 50px -26px rgb(255 79 154 / 0.8), inset 3px 0 0 var(--vfx-pink);
}
body.vice .mr-rank {
  background: linear-gradient(180deg, #ffe6a0, #ff6f91 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 8px rgb(255 79 154 / 0.7));
}
body.vice .mr-item:nth-child(2) .mr-rank { background-image: linear-gradient(180deg, #d6fffa, #2de2d0 70%); filter: drop-shadow(0 0 8px rgb(45 226 208 / 0.6)); }
body.vice .mr-item:nth-child(3) .mr-rank { background-image: linear-gradient(180deg, #fff1c9, #ffc46a 70%); filter: drop-shadow(0 0 8px rgb(255 196 106 / 0.6)); }
body.vice .mr-item:nth-child(n+4) .mr-rank { background-image: linear-gradient(180deg, #e7e2f5, #a9a2c4); filter: none; color: transparent; }
body.vice .mr-vel-bar { background: rgb(5 4 14 / 0.8); border-color: rgb(255 255 255 / 0.08); position: relative; }
body.vice .mr-vel-bar i { position: relative; overflow: hidden; transform-origin: left; animation: vfx-bar-in 900ms var(--ease-out) 200ms both; }
body.vice .mr-vel-bar i::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55), transparent);
  animation: vfx-bar-shine 3.4s ease-in-out 1.2s infinite;
}
body.vice .mr-score b { color: #ffd27a; text-shadow: 0 0 14px rgb(255 196 106 / 0.5); }
body.vice .mr-status.has { background: linear-gradient(90deg, #2de2d0, #5ad7ff); color: #04121a; box-shadow: 0 0 16px rgb(45 226 208 / 0.45); }
body.vice .mr-status.none { box-shadow: 0 0 12px rgb(255 210 122 / 0.18), inset 0 0 10px rgb(255 210 122 / 0.08); }
body.vice .mr-detail { border-top-color: rgb(255 255 255 / 0.07); animation: vfx-rise 360ms var(--ease-out) both; }
body.vice .mr-posts li { background: rgb(5 4 14 / 0.55); border-color: rgb(255 255 255 / 0.06); transition: border-color var(--dur), transform var(--dur); }
body.vice .mr-posts li:hover { border-color: rgb(255 79 154 / 0.35); transform: translateX(2px); }
body.vice .mr-chip { background: rgb(5 4 14 / 0.6); }

/* Coin cards (meme + generic) */
body.vice .mr-coin {
  position: relative;
  background: linear-gradient(165deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.01) 45%), rgb(9 8 22 / 0.8);
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
}
body.vice .mr-coin:hover { transform: translateY(-3px); border-color: rgb(255 79 154 / 0.45); box-shadow: 0 18px 36px -22px rgb(255 79 154 / 0.8); }
body.vice .mr-coin.exact { border-color: rgb(45 226 208 / 0.4); box-shadow: inset 0 0 0 1px rgb(45 226 208 / 0.1), 0 0 22px -12px rgb(45 226 208 / 0.6); }
body.vice .mr-coin.exact:hover { border-color: rgb(45 226 208 / 0.7); box-shadow: 0 18px 36px -20px rgb(45 226 208 / 0.7); }
body.vice .mr-kind.exact { background: linear-gradient(90deg, #2de2d0, #5ad7ff); box-shadow: 0 0 10px rgb(45 226 208 / 0.5); }
body.vice .mr-coin-foot a { color: #ff9ccb; }
body.vice .mr-coin-foot a:hover { color: #ffd1e6; text-shadow: 0 0 8px rgb(255 79 154 / 0.6); }

/* ---------- Dispatch hero: synthwave floor + skyline ---------- */
body.vice .vr-hero {
  min-height: 320px; isolation: isolate;
  border: 1px solid rgb(255 120 190 / 0.25);
  background: linear-gradient(180deg, #0b0620 0%, #200a3c 24%, #4a1260 46%, #9a2470 62%, #e0507a 70%, #ff8a5c 74%, #12081f 74.4%, #0a0716 100%);
  box-shadow: 0 40px 90px -46px rgb(255 79 154 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.1);
}
body.vice .vr-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / 0.12) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 90% 80% at 60% 50%, transparent 55%, rgb(5 3 15 / 0.55) 100%);
}
.vr-hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.vr-hero-art { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 74.4%; }
.vr-floor {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 26%;
  transform-origin: 50% 0; transform: perspective(240px) rotateX(58deg);
  background-image:
    linear-gradient(rgb(255 79 154 / 0.85) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgb(45 226 208 / 0.7) 1.5px, transparent 1.5px);
  background-size: 60px 30px, 60px 30px;
  background-position: 0 0, 50% 0;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 35%);
          mask: linear-gradient(180deg, transparent 0, #000 35%);
  filter: drop-shadow(0 0 4px rgb(255 79 154 / 0.8));
  animation: vfx-floor 2.6s linear infinite;
}
body.vice .vr-hero-copy { z-index: 5; }
body.vice .vr-hero-copy::before {
  content: ""; position: absolute; z-index: -1; left: -60px; top: -50px; width: calc(100% + 120px); height: calc(100% + 90px);
  background: radial-gradient(ellipse at 30% 45%, rgb(10 4 26 / 0.6), rgb(10 4 26 / 0.25) 50%, transparent 72%);
}
body.vice .vr-hero h1 {
  color: #fff7f0;
  text-shadow: 0 0 1px #fff, 0 0 14px rgb(255 140 200 / 0.5), 0 0 32px rgb(255 79 154 / 0.4), 0 3px 0 #6a1745;
  animation: vfx-title-in 900ms var(--ease-out) both;
}
body.vice .vr-hero h1 em {
  background: linear-gradient(180deg, #fff1a8, #ffc46a 35%, #ff6f91 75%, #ff4f9a);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 12px rgb(255 79 154 / 0.55)); display: inline-block;
}
body.vice .vr-hero-copy > p { color: #f4e6f3; text-shadow: 0 1px 3px rgb(0 0 0 / 0.6); }
body.vice .eyebrow.pink { color: #ffd1e6; text-shadow: 0 0 10px rgb(255 79 154 / 0.6); }

/* Metric tiles */
body.vice .vr-metric {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgb(34 18 62 / 0.7), rgb(12 10 28 / 0.8));
  border: 1px solid rgb(255 255 255 / 0.08);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 18px 40px -28px rgb(0 0 0 / 0.9);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  animation: vfx-rise 520ms var(--ease-out) both;
}
body.vice .vr-metric:nth-child(1) { --vfx-edge: var(--vfx-pink); animation-delay: 60ms; }
body.vice .vr-metric:nth-child(2) { --vfx-edge: var(--vfx-gold); animation-delay: 120ms; }
body.vice .vr-metric:nth-child(3) { --vfx-edge: var(--vfx-teal); animation-delay: 180ms; }
body.vice .vr-metric:nth-child(4) { --vfx-edge: #b59cff; animation-delay: 240ms; }
body.vice .vr-metric::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--vfx-edge), transparent); box-shadow: 0 0 14px var(--vfx-edge);
}
body.vice .vr-metric::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, var(--vfx-edge), transparent 70%); opacity: 0.16; pointer-events: none;
}
body.vice .vr-metric:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / 0.16); box-shadow: 0 20px 40px -22px rgb(255 79 154 / 0.5); }
body.vice .vr-metric strong { text-shadow: 0 0 16px rgb(255 255 255 / 0.2); }

/* Feed + category heat */
body.vice .feed-item { transition: background var(--dur), transform var(--dur); }
body.vice .feed-item:hover { background: rgb(255 79 154 / 0.07); transform: translateX(3px); }
body.vice .feed-line i { box-shadow: 0 0 8px currentColor; color: var(--accent-3); }
body.vice .feed-line i.critical { color: var(--risk); animation: vfx-pulse-red 1.8s ease-out infinite; }
body.vice .feed-line i.high { color: var(--stage-peaking); }
body.vice .progress { background: rgb(5 4 14 / 0.7); }
body.vice .progress > div { box-shadow: 0 0 12px -2px rgb(255 79 154 / 0.55); filter: saturate(1.15) brightness(1.08); animation: vfx-bar-in 900ms var(--ease-out) both; transform-origin: left; }

/* Heat map districts: neon blocks over a night grid */
body.vice .heat-city {
  background:
    radial-gradient(ellipse at 70% 0%, rgb(255 79 154 / 0.18), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgb(45 226 208 / 0.12), transparent 60%),
    #0a0818;
  border-color: rgb(255 120 190 / 0.22);
  box-shadow: inset 0 0 60px rgb(0 0 0 / 0.6);
}
body.vice .district {
  border-color: color-mix(in srgb, var(--district, var(--accent)) 70%, transparent);
  box-shadow: 0 0 18px -4px color-mix(in srgb, var(--district, var(--accent)) 60%, transparent), inset 0 0 22px color-mix(in srgb, var(--district, var(--accent)) 18%, transparent);
  backdrop-filter: blur(2px);
  transition: transform var(--dur), box-shadow var(--dur), filter var(--dur);
}
body.vice .district:hover { transform: translateY(-3px); filter: brightness(1.2); }
body.vice .district strong { text-shadow: 0 0 14px color-mix(in srgb, var(--district, var(--accent)) 70%, transparent); }
body.vice .heat-row { background: linear-gradient(90deg, rgb(255 255 255 / 0.03), transparent), rgb(14 12 30 / 0.7); border-color: rgb(255 255 255 / 0.07); transition: transform var(--dur), border-color var(--dur); }
body.vice .heat-row:hover { transform: translateX(3px); border-color: rgb(255 79 154 / 0.35); }
body.vice .heat-indicator { box-shadow: 0 0 12px -2px rgb(255 79 154 / 0.55); filter: saturate(1.15) brightness(1.08); }

/* Wallet + table rows */
body.vice .wallet-item { background: rgb(14 12 30 / 0.7); border-color: rgb(255 255 255 / 0.07); transition: transform var(--dur), border-color var(--dur); }
body.vice .wallet-item:hover { transform: translateY(-2px); border-color: rgb(255 79 154 / 0.35); }
body.vice #rows tr { transition: background var(--dur); }
body.vice .chip[aria-pressed="true"] { box-shadow: 0 0 14px -4px rgb(255 79 154 / 0.7); }

/* Ticker + footer */
body.vice .ticker { background: linear-gradient(90deg, rgb(255 79 154 / 0.08), rgb(10 8 22 / 0.88) 20%, rgb(10 8 22 / 0.88) 80%, rgb(45 226 208 / 0.08)); border-top: 1px solid rgb(255 120 190 / 0.18); backdrop-filter: blur(10px); }
body.vice .foot { color: var(--text-muted); }

/* Drawer: glass case file */
body.vice .drawer {
  background: linear-gradient(180deg, rgb(26 12 44 / 0.96), rgb(10 9 24 / 0.97) 40%);
  backdrop-filter: blur(16px);
  border-left: 1px solid rgb(255 79 154 / 0.35);
  box-shadow: -30px 0 80px rgb(0 0 0 / 0.6), -1px 0 18px rgb(255 79 154 / 0.2);
}

/* ---------- Keyframes ---------- */
@keyframes vfx-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes vfx-title-in { from { opacity: 0; transform: translateY(14px); letter-spacing: 0.08em; filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes vfx-neon-on { 0% { opacity: 0.15; } 8% { opacity: 1; } 12% { opacity: 0.3; } 18% { opacity: 1; } 22% { opacity: 0.55; } 30%, 100% { opacity: 1; } }
@keyframes vfx-neon-buzz { 0%, 91%, 100% { opacity: 1; } 92% { opacity: 0.35; } 94% { opacity: 1; } 96% { opacity: 0.5; } }
@keyframes vfx-sweep { 0% { transform: rotate(18deg) translateX(0); } 55%, 100% { transform: rotate(18deg) translateX(620%); } }
@keyframes vfx-rays { to { transform: rotate(360deg); } }
@keyframes vfx-bloom { 0%, 100% { opacity: 0.9; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes vfx-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }
@keyframes vfx-drift { from { transform: translateX(-14px); } to { transform: translateX(18px); } }
@keyframes vfx-glide { 0% { transform: translate(0, 0); } 50% { transform: translate(40px, -8px); } 100% { transform: translate(90px, 4px); } }
@keyframes vfx-flicker { 0%, 100% { opacity: 0.9; } 37% { opacity: 0.25; } 41% { opacity: 0.9; } 73% { opacity: 0.4; } 76% { opacity: 0.9; } }
@keyframes vfx-shimmer { 0%, 100% { transform: scaleX(1); opacity: 0.9; } 50% { transform: scaleX(1.08); opacity: 0.65; } }
@keyframes vfx-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.6deg); } }
@keyframes vfx-floor { from { background-position: 0 0, 50% 0; } to { background-position: 0 30px, 50% 0; } }
@keyframes vfx-bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vfx-bar-shine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(320%); } }
@keyframes vfx-spin { to { transform: rotate(360deg); } }
@keyframes vfx-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes vfx-pulse-teal { 0% { box-shadow: 0 0 0 0 rgb(45 226 208 / 0.6); } 100% { box-shadow: 0 0 0 9px rgb(45 226 208 / 0); } }
@keyframes vfx-pulse-gold { 0% { box-shadow: 0 0 0 0 rgb(255 196 106 / 0.55); } 100% { box-shadow: 0 0 0 9px rgb(255 196 106 / 0); } }
@keyframes vfx-pulse-pink { 0% { box-shadow: 0 0 0 0 rgb(255 79 154 / 0.7), 0 0 10px var(--accent); } 100% { box-shadow: 0 0 0 10px rgb(255 79 154 / 0), 0 0 10px var(--accent); } }
@keyframes vfx-pulse-red { 0% { box-shadow: 0 0 0 0 rgb(255 138 128 / 0.6); } 100% { box-shadow: 0 0 0 8px rgb(255 138 128 / 0); } }

/* ---------- Phones: same look, lighter effects ---------- */
@media (max-width: 760px) {
  body.vice .vr-panel, body.vice .tbl.panel, body.vice .vr-metric, body.vice .runners.panel, body.vice .search.panel { backdrop-filter: none; }
  body.vice .app-shell::after { display: none; }
  body.vice .mr-hero { min-height: 0; }
  body.vice .mr-hero-copy::before { left: -30px; top: -30px; width: calc(100% + 60px); }
  .mr-rays { right: -70%; top: -10%; width: 200%; }
  /* Poster layout on phones: the sunset sits behind the headline, the copy and stats sit on the night water below. */
  body.vice .mr-hero {
    background:
      radial-gradient(ellipse 120% 40% at 70% 100%, rgb(45 226 208 / 0.12), transparent 70%),
      linear-gradient(180deg, #0b0620 0, #24093f 60px, #5a1361 120px, #c23577 175px, #f0587a 200px, #ff8a5c 222px, #ffd68a 236px, #1a1036 330px, #0a0a1c 100%);
  }
  body.vice .mr-skyline { top: 0; bottom: auto; height: 330px; }
  body.vice .mr-hero::after { background: radial-gradient(ellipse 100% 60% at 60% 30%, transparent 50%, rgb(5 3 15 / 0.5) 100%); }
  body.vice .vr-hero {
    min-height: 300px;
    background: linear-gradient(180deg, #0b0620 0, #200a3c 50px, #4a1260 100px, #9a2470 145px, #e0507a 175px, #ff8a5c 192px, #ffc46a 200px, #12081f 200.5px, #0a0716 100%);
  }
  .vr-hero-art { top: 0; height: 200px; }
  .vr-floor { top: 200px; bottom: 0; height: auto; background-size: 36px 18px, 36px 18px; opacity: 0.75; -webkit-mask: linear-gradient(180deg, transparent 0, #000 25%, rgb(0 0 0 / 0.5) 100%); mask: linear-gradient(180deg, transparent 0, #000 25%, rgb(0 0 0 / 0.5) 100%); }
  body.vice .vr-sidebar { backdrop-filter: none; background: linear-gradient(180deg, #1c0c2e, #0a0818 45%, #080a16); }
}

/* ---------- Reduced motion: everything holds still ---------- */
@media (prefers-reduced-motion: reduce) {
  body.vice *, body.vice *::before, body.vice *::after { animation: none !important; transition: none !important; }
  .fx-sweep, .mr-rays { display: none; }
}
