:root {
  --bg: #08080c;
  --bg-2: #0e0e15;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f5f8;
  --muted: #9a9cab;
  --crimson: #ff2a55;
  --crimson-deep: #e50914;
  --cyan: #00e5ff;
  --cyan-soft: #9fd4ff;
  --gold: #ffb800;
  --radius: 18px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --c1-rgb: 255, 42, 85;
  --c2-rgb: 0, 229, 255;
  --c2-soft-rgb: 159, 212, 255;
  --gold-rgb: 255, 184, 0;
  --bg-rgb: 8, 8, 12;
  --panel-rgb: 20, 20, 30;
  --panel-deep-rgb: 11, 11, 17;
  --crimson-soft: #ff7a95;
  --cyan-deep: #00b8d4;
  --on-primary: #fff;
  --on-cyan: #031016;
  --desc: #c7c9d4;
}

/* WINTER: frosted glacier blues */
[data-theme="winter"] {
  --bg: #060b16; --bg-2: #0b1528;
  --line: rgba(186, 225, 255, 0.12);
  --text: #f2f8ff; --muted: #93a9c6; --desc: #c3d3e8;
  --crimson: #7dd3fc; --crimson-deep: #2f7fe0; --crimson-soft: #bfe7ff;
  --cyan: #e4f3ff; --cyan-deep: #9fd0f5; --cyan-soft: #cfeaff;
  --gold: #b9c8ff;
  --c1-rgb: 125, 211, 252;
  --c2-rgb: 200, 232, 255;
  --c2-soft-rgb: 220, 240, 255;
  --gold-rgb: 185, 200, 255;
  --bg-rgb: 6, 11, 22;
  --panel-rgb: 14, 26, 46;
  --panel-deep-rgb: 8, 15, 30;
  --on-primary: #03111f;
  --on-cyan: #04121f;
}

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; max-width: 100%; -webkit-text-size-adjust: 100%; }

/* THEME SWITCHER */
.nav-end { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; flex-wrap: nowrap; }
.themes {
  display: flex; gap: 2px; padding: 3px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(12px);
}
.themes button {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.75rem; border-radius: 999px;
  font-size: 0.68rem; color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.themes button svg { width: 14px; height: 14px; }
.themes button:hover { color: var(--text); }
.themes button[aria-pressed="true"] {
  color: var(--on-primary);
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  box-shadow: 0 0 18px -4px rgba(var(--c1-rgb), 0.7);
}
@media (max-width: 900px) { .themes button span { display: none; } .themes button { padding: 0.45rem 0.55rem; } }
@media (max-width: 640px) { .nav-end > .btn-ghost { display: none !important; } }

/* Ambient particle layer (winter snowfall) */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain disabled to prevent edge flickering */

.mono { font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.wrap { width: min(1240px, 100% - 2rem); margin-inline: auto; max-width: 100%; }
@media (max-width: 480px) { .wrap { width: calc(100% - 1.25rem); } }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(var(--bg-rgb), 0.6);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; letter-spacing: 0.04em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 18px rgba(var(--c1-rgb), 0.45); }
.brand span em { font-style: normal; color: var(--crimson); }
.nav-links { display: flex; gap: 1.6rem; font-size: 0.72rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* BUTTONS */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  box-shadow: 0 10px 30px -10px rgba(var(--c1-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--c1-rgb), 0.6), 0 14px 44px -6px rgba(var(--c1-rgb), 0.85); }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(var(--c2-rgb), 0.5); box-shadow: 0 0 28px -6px rgba(var(--c2-rgb), 0.55); transform: translateY(-2px); }
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: var(--on-cyan);
  box-shadow: 0 10px 30px -10px rgba(var(--c2-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--c2-rgb), 0.6), 0 14px 44px -6px rgba(var(--c2-rgb), 0.85); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); }
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--crimson); animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 5rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .slides { position: absolute; inset: 0; }
.hero-bg .slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 7s ease;
  filter: saturate(1.1) brightness(0.5);
}
.hero-bg .slides img.on { opacity: 0.35; transform: scale(1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(var(--bg-rgb), 0.7) 60%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(var(--bg-rgb), 0.3), var(--bg));
}
.reactor {
  position: absolute; left: 50%; top: 42%;
  width: min(720px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: -1; pointer-events: none;
}
.reactor .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(var(--c2-rgb), 0.18);
}
.reactor .ring:nth-child(1) { inset: 18%; border-width: 2px; border-color: rgba(var(--c2-rgb), 0.28); box-shadow: 0 0 60px rgba(var(--c2-rgb), 0.25), inset 0 0 60px rgba(var(--c2-rgb), 0.15); }
.reactor .ring:nth-child(2) { inset: 6%; border-style: dashed; animation: spin 40s linear infinite; }
.reactor .ring:nth-child(3) {
  inset: 30%;
  border: 0;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(var(--c1-rgb), 0.7) 85%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  animation: spin 6s linear infinite;
}
.reactor .core {
  position: absolute; inset: 40%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c2-soft-rgb), 0.55), rgba(var(--c2-rgb), 0.12) 45%, transparent 70%);
  filter: blur(8px);
  animation: breathe 4s ease-in-out infinite;
}
.spotlight {
  position: absolute; top: -10%; left: 50%;
  width: min(900px, 90vw); height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 65% 50% at 50% 25%, rgba(var(--c1-rgb), 0.16), transparent 70%);
  z-index: -1; pointer-events: none;
}

.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.68rem;
  color: var(--cyan-soft);
  background: rgba(var(--c2-rgb), 0.06);
  border: 1px solid rgba(var(--c2-rgb), 0.25);
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.shimmer {
  background: linear-gradient(100deg, var(--crimson) 0%, var(--crimson-soft) 25%, var(--text) 45%, var(--cyan-soft) 60%, var(--cyan) 80%, var(--crimson) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
.hero p.lede { max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

.telemetry {
  margin-top: 1.2rem;
  display: flex; flex-wrap: wrap; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.telemetry div {
  padding: 0.9rem 1.4rem; display: flex; flex-direction: column; gap: 0.15rem; text-align: left;
  cursor: pointer; transition: background 0.2s ease;
}
.telemetry div:hover { background: rgba(255, 255, 255, 0.06); }
.telemetry div + div { border-left: 1px solid var(--line); }
.telemetry b { font-size: 1.25rem; font-weight: 800; }
.telemetry span { font-size: 0.62rem; color: var(--muted); }
.telemetry .c1 b { color: var(--crimson); }
.telemetry .c2 b { color: var(--cyan); }
.telemetry .c3 b { color: var(--gold); }
@media (max-width: 640px) {
  .telemetry { display: grid; grid-template-columns: 1fr; width: 100%; }
  .telemetry div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* VAULT */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.section-head .kicker { font-size: 0.68rem; color: var(--crimson); margin-bottom: 0.5rem; display: block; }
.count { font-size: 0.7rem; color: var(--muted); }
.count b { color: var(--cyan); }

#vault { padding: 3rem 0 5rem; scroll-margin-top: 80px; }

.controls {
  position: sticky; top: 68px; z-index: 40;
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: 0.9rem 0;
  margin-bottom: 1.6rem;
}
.controls::before {
  content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 70%, transparent);
}
.chips { display: flex; gap: 0.55rem; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.chip svg { width: 15px; height: 15px; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.22); }
.chip[aria-pressed="true"] {
  color: var(--text);
  background: rgba(var(--c1-rgb), 0.14);
  border-color: rgba(var(--c1-rgb), 0.6);
  box-shadow: 0 0 22px -4px rgba(var(--c1-rgb), 0.6), inset 0 0 12px rgba(var(--c1-rgb), 0.15);
}
.chip[data-cat="fav"][aria-pressed="true"] svg { fill: var(--crimson); color: var(--crimson); }
.chip .n { font-family: var(--font-mono); font-size: 0.68rem; opacity: 0.7; }

.toolbar { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.field {
  position: relative; display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus-within { border-color: rgba(var(--c2-rgb), 0.55); box-shadow: 0 0 0 4px rgba(var(--c2-rgb), 0.08), 0 0 26px -8px rgba(var(--c2-rgb), 0.6); }
.field svg { width: 18px; height: 18px; color: var(--muted); position: absolute; left: 14px; pointer-events: none; }
.field.search { flex: 1 1 280px; }
.field input, .field select {
  width: 100%;
  background: transparent; border: 0; outline: none;
  color: var(--text); font: inherit; font-size: 0.95rem;
  padding: 0.8rem 1rem 0.8rem 2.7rem;
}
.field select { appearance: none; padding-right: 2.4rem; cursor: pointer; }
.field select option { background: var(--bg-2); }
.field .caret { left: auto; right: 12px; }
.field kbd {
  position: absolute; right: 12px;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 0.1rem 0.4rem;
}

/* GRID */
.grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  --glow: var(--crimson);
  position: relative;
  border-radius: var(--radius);
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.card[data-tone="cyan"] { --glow: var(--cyan); }
.card[data-tone="gold"] { --glow: var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.card::before {
  content: ""; position: absolute; inset: 10% 6% -4%;
  background: var(--glow);
  filter: blur(46px);
  opacity: 0; z-index: -2;
  transition: opacity 0.4s ease;
}
.card .border {
  position: absolute; inset: -1px; border-radius: calc(var(--radius) + 1px); z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), var(--crimson), var(--cyan), var(--gold), var(--crimson));
  opacity: 0; transition: opacity 0.35s;
  animation: rotate 4s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotate { to { --angle: 360deg; } }
.card-inner {
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.92), rgba(var(--panel-deep-rgb), 0.96));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex; flex-direction: column;
}
/* 3D float + tilt */
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --lift: 0px; }
.card:hover { z-index: 1; }
.tilt {
  position: relative; height: 100%;
  border-radius: var(--radius);
  transform: perspective(900px) translateZ(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
  animation: float 6.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.73s);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  will-change: auto;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.card.is-tilting .tilt { transition: transform 0.12s linear, box-shadow 0.3s; }
.card:hover .tilt, .card:focus-visible .tilt {
  --lift: 28px;
  box-shadow: calc(var(--ry) * -1.4) calc(26px + var(--rx) * 1.4) 50px -18px rgba(0, 0, 0, 0.95);
  will-change: transform;
}
.shine {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--glow) 30%, transparent), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity 0.35s;
}
.shine::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 45%, transparent 60%);
  background-size: 250% 250%;
  background-position: calc(100% - var(--mx)) calc(100% - var(--my));
}
.card:hover .shine, .card:focus-visible .shine { opacity: 1; }
.card:hover .thumb img { filter: saturate(1.15); }
.thumb img { translate: calc((var(--mx) - 50%) * -0.04) calc((var(--my) - 50%) * -0.04); }

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html { scroll-behavior: auto !important; }

  /* Navbar performance on mobile: solid glass, zero GPU blur lag */
  .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(var(--bg-rgb), 0.94) !important;
  }

  /* Controls & Search performance */
  .controls::before { display: none !important; }
  .field {
    backdrop-filter: none !important;
    background: rgba(var(--panel-rgb), 0.88) !important;
  }
  .themes, .themes button {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(var(--panel-rgb), 0.92) !important;
  }

  /* Complete 3D shutdown on mobile */
  .tilt {
    animation: none !important;
    transform: none !important;
    perspective: none !important;
    will-change: auto !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.7) !important;
  }
  .card {
    animation: none !important;
    transition: none !important;
    content-visibility: auto;
    contain-intrinsic-size: auto 380px;
  }
  .card.is-tilting .tilt,
  .card:hover .tilt,
  .card:focus-visible .tilt,
  .card:active .tilt {
    --lift: 0px !important;
    transform: none !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.7) !important;
    transition: none !important;
  }
  .shine { display: none !important; }
  .thumb img,
  .card:hover .thumb img {
    translate: none !important;
    transform: none !important;
    filter: none !important;
  }
  .card .border { animation: none !important; }
  .card::before { display: none !important; }
  .card-inner { backdrop-filter: none !important; }
  .card:active .card-inner { border-color: rgba(var(--c1-rgb), 0.55); }

  /* Remove expensive card badge/fav blurs */
  .badge, .fav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Hero performance optimizations for mobile */
  .reactor { display: none !important; }
  .spotlight { display: none !important; }
  .hero-bg .slides img {
    transition: opacity 1.2s ease !important;
    transform: none !important;
  }
  .hero-bg .slides img.on {
    transform: none !important;
  }
}

.card:focus-visible { --lift: 20px; }
.card:hover::before, .card:focus-visible::before { opacity: 0.38; }
.card:hover .border, .card:focus-visible .border { opacity: 1; }
.card:hover .card-inner, .card:focus-visible .card-inner { border-color: transparent; }
.card:focus-visible { outline: none; }

.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.thumb picture { display: contents; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s; }
.card:hover .thumb img { transform: scale(1.07); filter: saturate(1.2); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--bg-rgb), 0.85), transparent 45%); }
.badge {
  position: absolute; z-index: 2;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 0.55rem; border-radius: 7px;
  background: rgba(var(--bg-rgb), 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.badge.q { top: 12px; left: 12px; color: var(--cyan); border-color: rgba(var(--c2-rgb), 0.4); box-shadow: 0 0 14px -4px rgba(var(--c2-rgb), 0.7); }
.badge.d { bottom: 12px; right: 12px; }
.badge.c { bottom: 12px; left: 12px; color: var(--gold); border-color: rgba(var(--gold-rgb), 0.35); }
.badge.new { top: 12px; left: auto; right: 58px; background: var(--crimson); border-color: transparent; color: #fff; }
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--bg-rgb), 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.fav svg { width: 18px; height: 18px; transition: fill 0.2s, color 0.2s; }
.fav:hover { transform: scale(1.1); }
.fav[aria-pressed="true"] { background: rgba(var(--c1-rgb), 0.2); border-color: rgba(var(--c1-rgb), 0.6); box-shadow: 0 0 18px rgba(var(--c1-rgb), 0.6); }
.fav[aria-pressed="true"] svg { fill: var(--crimson); color: var(--crimson); }
.fav.pop { animation: pop 0.4s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }

.card-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.card-char { font-size: 0.85rem; color: var(--cyan-soft); }
.card-meta { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; font-size: 0.66rem; color: var(--muted); }
.card-meta .size { color: var(--text); }
.card-meta .go { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--crimson); transition: gap 0.2s; }
.card:hover .card-meta .go { gap: 0.6rem; }
.card-meta svg { width: 14px; height: 14px; }

.empty { text-align: center; padding: 5rem 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { color: var(--text); font-size: 1.3rem; margin-bottom: 0.4rem; }

/* MODAL */
dialog {
  margin: auto;
  width: min(1040px, calc(100% - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100svh - 2rem);
  padding: 0; border: 0;
  background: transparent; color: var(--text);
  overflow: hidden;
  box-sizing: border-box;
}
dialog:focus, dialog:focus-visible { outline: none; }
dialog::backdrop { background: rgba(var(--panel-deep-rgb), 0.75); backdrop-filter: blur(10px); }
dialog[open] { animation: modalIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } }

.modal {
  position: relative;
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.96), rgba(var(--panel-deep-rgb), 0.98));
  border: 1px solid var(--line);
  box-shadow: 0 0 120px -30px rgba(var(--c1-rgb), 0.5), 0 0 80px -40px rgba(var(--c2-rgb), 0.5);
  scrollbar-gutter: stable;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--bg-rgb), 0.6); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.modal-close:hover { border-color: var(--crimson); box-shadow: 0 0 18px rgba(var(--c1-rgb), 0.5); }
.modal-close svg { width: 20px; height: 20px; }

.preview {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 24px 24px 0 0; width: 100%; max-width: 100%; box-sizing: border-box;
}
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--panel-deep-rgb), 1), transparent 55%), radial-gradient(circle at 50% 50%, transparent 30%, rgba(var(--bg-rgb), 0.5));
  pointer-events: none;
}
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--c1-rgb), 0.9);
  box-shadow: 0 0 0 10px rgba(var(--c1-rgb), 0.18), 0 0 60px rgba(var(--c1-rgb), 0.8);
  transition: transform 0.25s, box-shadow 0.25s;
}
.play::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(var(--c1-rgb), 0.5); animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.play:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(var(--c1-rgb), 0.22), 0 0 90px rgba(var(--c1-rgb), 1); }
.play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.preview .badges { position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 2; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.preview .badges .badge { position: static; }

.modal-body {
  padding: 0.6rem 1.6rem 1.8rem;
  display: grid; gap: 1.6rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  width: 100%; max-width: 100%; box-sizing: border-box; overflow-x: hidden;
}
@media (max-width: 860px) {
  .modal-body { grid-template-columns: minmax(0, 1fr); padding: 0.6rem 1.1rem 1.5rem; gap: 1.2rem; }
}

.modal h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; word-break: break-word; }
.modal .src { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; word-break: break-word; }
.modal .src b { color: var(--cyan-soft); font-weight: 600; }

.specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem; margin-top: 1.3rem; width: 100%; box-sizing: border-box;
}
.spec {
  padding: 0.8rem 0.85rem; border-radius: 12px; background: var(--glass);
  border: 1px solid var(--line); min-width: 0; box-sizing: border-box; overflow: hidden;
}
.spec span { display: block; font-size: 0.6rem; color: var(--muted); margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec b { font-size: 0.92rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.spec:nth-child(1) b { color: var(--cyan); }
.spec:nth-child(2) b { color: var(--crimson); }
.spec:nth-child(4) b { color: var(--gold); }

.desc {
  margin-top: 1.4rem; color: var(--desc); font-size: 0.93rem; max-height: 280px;
  overflow-y: auto; overflow-x: hidden; padding-right: 0.6rem;
  word-break: break-word; overflow-wrap: break-word; box-sizing: border-box;
}
.desc h4 { color: var(--text); font-size: 1rem; margin: 1rem 0 0.4rem; }
.desc h4:first-child { margin-top: 0; }
.desc p { margin-bottom: 0.6rem; }
.desc ul { padding-left: 1.1rem; margin-bottom: 0.6rem; }
.desc li { margin-bottom: 0.3rem; }
.desc strong { color: var(--text); }
.desc::-webkit-scrollbar { width: 6px; }
.desc::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 6px; }

.dl {
  display: flex; flex-direction: column; gap: 0.75rem;
  width: 100%; min-width: 0; box-sizing: border-box;
}
.dl .btn {
  width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0;
  justify-content: space-between; padding: 1.05rem 1.15rem; border-radius: 16px;
}
.dl .btn small { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; opacity: 0.8; font-weight: 500; }
.dl .btn .lbl {
  text-align: left; display: flex; align-items: center; gap: 0.8rem;
  min-width: 0; overflow: hidden;
}
.dl .btn .lbl > span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dl .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.dl-note { font-size: 0.75rem; color: var(--muted); word-break: break-word; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.tags span { font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); }

@media (max-width: 640px) {
  dialog {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    max-height: calc(100svh - 1rem);
    margin: auto;
  }
  .modal {
    border-radius: 18px;
    max-height: calc(100svh - 1rem);
  }
  .preview {
    border-radius: 18px 18px 0 0;
  }
  .modal-body {
    padding: 0.6rem 0.85rem 1.25rem;
    gap: 1rem;
  }
  .dl .btn {
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
  }
  .specs {
    gap: 0.45rem;
  }
  .spec {
    padding: 0.65rem 0.65rem;
  }
  .spec b {
    font-size: 0.82rem;
  }
}

/* KB + FAQ */
#guides { padding: 5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(var(--c2-rgb), 0.07), transparent 70%); }
.kb { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.kb article { padding: 1.4rem; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.kb .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; }
.kb .ic svg { width: 20px; height: 20px; }
.kb article:nth-child(1) .ic { background: rgba(var(--c1-rgb), 0.12); color: var(--crimson); }
.kb article:nth-child(2) .ic { background: rgba(var(--c2-rgb), 0.1); color: var(--cyan); }
.kb article:nth-child(3) .ic { background: rgba(var(--gold-rgb), 0.1); color: var(--gold); }
.kb h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.kb p { color: var(--muted); font-size: 0.92rem; }

.faq { display: flex; flex-direction: column; gap: 0.6rem; max-width: 860px; }
.faq details { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: rgba(var(--c2-rgb), 0.35); box-shadow: 0 0 30px -14px rgba(var(--c2-rgb), 0.6); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s; color: var(--cyan); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.15rem; color: var(--muted); font-size: 0.93rem; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; }
.foot { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: start; }
.foot p { color: var(--muted); font-size: 0.88rem; max-width: 42ch; margin-top: 0.8rem; }
.foot-links { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.foot-links h4 { font-size: 0.64rem; color: var(--muted); margin-bottom: 0.8rem; font-weight: 500; }
.foot-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.92rem; }
.foot-links a:hover { color: var(--cyan); }
.yt { display: inline-flex; align-items: center; gap: 0.5rem; }
.yt svg { width: 18px; height: 18px; color: var(--crimson); }
.legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.65rem; color: var(--muted); }

/* TOAST */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 200;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  background: rgba(var(--panel-rgb), 0.92);
  border: 1px solid rgba(var(--c2-rgb), 0.45);
  box-shadow: 0 0 34px -8px rgba(var(--c2-rgb), 0.7);
  backdrop-filter: blur(14px);
  font-size: 0.9rem; font-weight: 600;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tilt { transform: none !important; }
  .card:hover .thumb img { filter: saturate(1.2); }
}

/* ========================================================================== */
/* RONIN-STYLE NOTIFICATION WIDGET & NAVBAR BELL                              */
/* ========================================================================== */

/* Navbar Bell Button */
.notif-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}
.notif-toggle-btn:hover {
  color: var(--text);
  border-color: rgba(var(--c1-rgb), 0.5);
  box-shadow: 0 0 16px -4px rgba(var(--c1-rgb), 0.6);
  transform: scale(1.05);
}
.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 8px var(--crimson);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Floating Card Container */
.notif-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 85;
  width: 380px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.notif-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.notif-card-inner {
  background: linear-gradient(165deg, rgba(var(--panel-rgb), 0.95), rgba(var(--panel-deep-rgb), 0.98));
  border: 1px solid rgba(var(--c1-rgb), 0.35);
  border-radius: 22px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.85), 0 0 35px -10px rgba(var(--c1-rgb), 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.15rem 1.15rem 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* Header */
.notif-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.notif-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--c1-rgb), 0.25), rgba(var(--gold-rgb), 0.2));
  border: 1px solid rgba(var(--c1-rgb), 0.4);
  color: var(--crimson);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px -4px rgba(var(--c1-rgb), 0.4);
}
[data-theme="winter"] .notif-icon-box {
  color: var(--cyan);
  border-color: rgba(var(--c2-rgb), 0.4);
  box-shadow: 0 0 16px -4px rgba(var(--c2-rgb), 0.4);
}
.notif-header-text {
  flex: 1;
  min-width: 0;
}
.notif-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}
.notif-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.15rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.notif-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line);
}

/* List Items */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 205px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.35rem;
  margin-bottom: 0.9rem;
}
.notif-list::-webkit-scrollbar {
  width: 4px;
}
.notif-list::-webkit-scrollbar-thumb {
  background: var(--crimson);
  border-radius: 4px;
}
[data-theme="winter"] .notif-list::-webkit-scrollbar-thumb {
  background: var(--cyan);
}

.notif-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-align: left;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
}
.notif-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(var(--c1-rgb), 0.45);
  transform: translateX(2px);
}
.notif-thumb {
  width: 58px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #000;
}
.notif-item-info {
  flex: 1;
  min-width: 0;
}
.notif-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}
.notif-item-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.notif-badge-new {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(var(--c1-rgb), 0.14);
  color: var(--crimson);
  border: 1px solid rgba(var(--c1-rgb), 0.35);
  flex-shrink: 0;
}
[data-theme="winter"] .notif-badge-new {
  background: rgba(var(--c2-rgb), 0.14);
  color: var(--cyan);
  border-color: rgba(var(--c2-rgb), 0.35);
}

/* Action Buttons */
.notif-actions {
  display: flex;
  gap: 0.6rem;
}
.notif-btn-main {
  flex: 1;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  color: var(--on-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
  border: 0;
  box-shadow: 0 6px 18px -4px rgba(var(--c1-rgb), 0.5);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.notif-btn-main:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px -4px rgba(var(--c1-rgb), 0.7);
}
.notif-btn-later {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.notif-btn-later:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .notif-card {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: 12px;
    width: auto;
    max-width: 440px;
    margin-inline: auto;
    overscroll-behavior: contain;
  }
  .notif-card-inner {
    border-radius: 18px;
    padding: 1rem 1rem 0.85rem;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(var(--panel-rgb), 0.98) !important;
  }
  .notif-list {
    overscroll-behavior: contain;
  }
}

/* ==========================================================================
   Universal Multi-Page Theme Engine (policy.html, about.html, 404.html, pack.html)
   ========================================================================== */

/* Smooth theme transitions across all pages */
body, .nav, .card-inner, .notif-card-inner, .bg-brand-black, .bg-brand-dark, .bg-brand-card, .glass-nav, footer {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.glass-nav {
  background: rgba(var(--bg-rgb), 0.85) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* --- WINTER THEME (Glacier Blue & Cyan) --- */
[data-theme="winter"] body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
}

[data-theme="winter"] .bg-brand-black {
  background-color: var(--bg) !important;
}

[data-theme="winter"] .bg-brand-dark {
  background-color: var(--bg-2) !important;
}

[data-theme="winter"] .bg-brand-card,
[data-theme="winter"] .bg-brand-card\/90 {
  background-color: rgb(var(--panel-rgb)) !important;
  border-color: rgba(var(--c2-rgb), 0.18) !important;
}

[data-theme="winter"] .hover\:bg-brand-card:hover,
[data-theme="winter"] .hover\:bg-brand-cardHover:hover {
  background-color: rgba(var(--c2-rgb), 0.12) !important;
}

[data-theme="winter"] .border-brand-border,
[data-theme="winter"] .border-brand-border\/80 {
  border-color: rgba(var(--c2-rgb), 0.18) !important;
}

[data-theme="winter"] .text-brand-red,
[data-theme="winter"] .hover\:text-brand-red:hover,
[data-theme="winter"] .text-red-400,
[data-theme="winter"] .text-red-500 {
  color: var(--crimson) !important;
}

[data-theme="winter"] .bg-brand-red,
[data-theme="winter"] .hover\:bg-brand-red:hover,
[data-theme="winter"] .hover\:bg-brand-redHover:hover,
[data-theme="winter"] .bg-red-600,
[data-theme="winter"] .hover\:bg-red-700:hover {
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson)) !important;
  color: var(--on-primary) !important;
  border-color: rgba(var(--c2-rgb), 0.35) !important;
  box-shadow: 0 4px 20px -4px rgba(var(--c2-rgb), 0.4) !important;
}

[data-theme="winter"] .bg-red-950,
[data-theme="winter"] .bg-red-950\/80,
[data-theme="winter"] .bg-red-950\/40,
[data-theme="winter"] .from-red-950\/40,
[data-theme="winter"] .to-red-950\/40 {
  background-color: rgba(var(--c2-rgb), 0.12) !important;
  color: var(--cyan) !important;
}

[data-theme="winter"] .border-red-800,
[data-theme="winter"] .border-red-800\/40,
[data-theme="winter"] .border-red-900\/50 {
  border-color: rgba(var(--c2-rgb), 0.28) !important;
}

[data-theme="winter"] input:focus,
[data-theme="winter"] textarea:focus,
[data-theme="winter"] select:focus {
  border-color: var(--crimson) !important;
  box-shadow: 0 0 14px -2px rgba(var(--c2-rgb), 0.4) !important;
}

[data-theme="winter"] .ambient-glow {
  background-color: rgba(125, 211, 252, 0.2) !important;
}
