body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.18) 0, transparent 30%),
    radial-gradient(circle at top right, rgba(34,197,94,.08) 0, transparent 28%),
    radial-gradient(circle at bottom left, rgba(168,85,247,.08) 0, transparent 30%),
    linear-gradient(135deg, #09101a 0%, #060a11 100%);
  color: #f4f7fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  max-width: 1280px;
  margin: auto;
  padding: 10px 14px 18px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

h1 {
  margin: 0;
  font-size: 1.55rem;
  text-shadow: 0 0 22px rgba(96,165,250,.48);
}

h2 {
  margin: 0 0 6px;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

p {
  margin: 2px 0 0;
  color: #9aa4b2;
  font-size: .78rem;
}

#status-pill {
  padding: 7px 13px;
  border-radius: 999px;
  background: #2c3446;
  font-weight: 800;
  font-size: .82rem;
}

.ok {
  background: #14532d !important;
  box-shadow: 0 0 18px rgba(34,197,94,.35);
}

.bad {
  background: #7f1d1d !important;
  box-shadow: 0 0 18px rgba(248,113,113,.35);
}

article,
.card,
.storage-card,
.arr-card,
.request-card,
.activity-card,
.ops-chip,
.infra-row,
.idle-chip {
  background:
    linear-gradient(145deg, rgba(23,29,43,.96), rgba(12,20,34,.96)),
    radial-gradient(circle at top left, rgba(96,165,250,.12), transparent 48%);
  border: 1px solid rgba(96,165,250,.16);
  border-radius: 13px;
  box-shadow:
    0 10px 22px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.035);
}

article {
  padding: 9px 11px;
  min-height: 74px;
}

article > div {
  font-size: 1.16rem;
  font-weight: 850;
}

article small {
  font-size: .68rem;
  color: #c8d2e3;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.ops-bar {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 1.05fr .9fr .9fr;
  gap: 8px;
  margin-bottom: 10px;
}

.ops-chip {
  padding: 9px 10px;
  min-height: 48px;
  font-size: .78rem;
  line-height: 1.25;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ops-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
  transform: translateX(-100%);
  transition: transform .45s ease;
}

.ops-chip:hover::after {
  transform: translateX(100%);
}

.ops-chip b {
  display: block;
  font-size: .82rem;
  margin-bottom: 2px;
}

.ops-chip small {
  color: #c8d2e3;
}

.chip-ok {
  border-color: rgba(74,222,128,.45);
  box-shadow: 0 0 18px rgba(34,197,94,.16), inset 0 1px 0 rgba(255,255,255,.04);
}

.chip-warn {
  border-color: rgba(250,204,21,.55);
  box-shadow: 0 0 18px rgba(250,204,21,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

.chip-blue {
  border-color: rgba(96,165,250,.5);
  box-shadow: 0 0 18px rgba(96,165,250,.16), inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(310px, .9fr);
  gap: 12px;
  align-items: start;
}

.hero-main,
.hero-side {
  display: grid;
  gap: 8px;
}

.section-title {
  margin: 8px 0 6px;
  font-size: .95rem;
}

.poster-row {
  display: flex;
  gap: 9px;
  overflow: hidden;
  min-height: 202px;
}

.poster-card {
  width: 110px;
  flex: 0 0 110px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.poster-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.poster-card img {
  width: 110px;
  height: 165px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(96,165,250,.28);
  background: #171d2b;
  box-shadow:
    0 8px 24px rgba(0,0,0,.38),
    0 0 18px rgba(96,165,250,.08);
}

.poster-title {
  margin-top: 4px;
  font-size: .7rem;
  line-height: 1.1;
  font-weight: 850;
}

.poster-meta {
  font-size: .62rem;
  color: #9aa4b2;
}

.poster-img-wrap {
  position: relative;
  width: 110px;
  height: 165px;
}

.poster-img-wrap img {
  width: 110px;
  height: 165px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(96,165,250,.28);
  background: #171d2b;
  box-shadow:
    0 8px 24px rgba(0,0,0,.38),
    0 0 18px rgba(96,165,250,.08);
}

.poster-info-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease;
  z-index: 2;
}

.poster-card:hover .poster-info-btn {
  opacity: 1;
}

.poster-progress {
  height: 5px;
  background: #273149;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}

.poster-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow: 0 0 12px rgba(96,165,250,.5);
}

.request-list,
.cards {
  display: grid;
  gap: 6px;
}

.request-card {
  padding: 8px 10px;
  font-size: .74rem;
  line-height: 1.25;
  cursor: pointer;
}

.activity-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 9px;
  padding: 7px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  min-height: 76px;
  isolation: isolate;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background: radial-gradient(circle at top left, #60a5fa, transparent 46%);
  z-index: 0;
}

.activity-card::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 82px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(148,163,184,.35), transparent);
  z-index: 0;
}

.activity-request::before {
  background: radial-gradient(circle at top left, #facc15, transparent 46%);
}

.activity-added::before {
  background: radial-gradient(circle at top left, #4ade80, transparent 46%);
}

.activity-resume::before {
  background: radial-gradient(circle at top left, #60a5fa, transparent 46%);
}

.activity-stream::before {
  background: radial-gradient(circle at top left, #c084fc, transparent 46%);
}

.activity-poster {
  width: 50px;
  height: 72px;
  border-radius: 9px;
  overflow: hidden;
  background: #111827;
  border: 1px solid #334155;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  z-index: 1;
}

.activity-request .activity-poster {
  border-color: rgba(250,204,21,.42);
  box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(250,204,21,.13);
}

.activity-added .activity-poster {
  border-color: rgba(74,222,128,.42);
  box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(74,222,128,.13);
}

.activity-resume .activity-poster {
  border-color: rgba(96,165,250,.42);
  box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(96,165,250,.13);
}

.activity-stream .activity-poster {
  border-color: rgba(192,132,252,.42);
  box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(192,132,252,.15);
}

.activity-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.3rem;
  color: #93c5fd;
  background: linear-gradient(145deg, #172033, #0f172a);
}

.activity-body {
  min-width: 0;
  z-index: 1;
  padding-top: 1px;
}

.activity-body b {
  display: block;
  font-size: .78rem;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-body small {
  display: block;
  color: #c8d2e3;
  font-size: .67rem;
  line-height: 1.2;
  margin-top: 3px;
}

.activity-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.activity-kind {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(96,165,250,.16);
  border: 1px solid rgba(96,165,250,.24);
  color: #bfdbfe;
  font-size: .56rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.activity-request .activity-kind {
  background: rgba(250,204,21,.13);
  border-color: rgba(250,204,21,.28);
  color: #fde68a;
}

.activity-added .activity-kind {
  background: rgba(74,222,128,.13);
  border-color: rgba(74,222,128,.28);
  color: #bbf7d0;
}

.activity-resume .activity-kind {
  background: rgba(96,165,250,.13);
  border-color: rgba(96,165,250,.28);
  color: #bfdbfe;
}

.activity-stream .activity-kind {
  background: rgba(192,132,252,.13);
  border-color: rgba(192,132,252,.28);
  color: #e9d5ff;
}

.activity-time {
  color: #9aa4b2;
  font-size: .58rem;
  font-weight: 800;
  white-space: nowrap;
}

.activity-progress {
  height: 5px;
  background: #273149;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 7px;
}

.activity-progress div {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow: 0 0 12px rgba(96,165,250,.5);
}

.activity-card:hover {
  transform: translateY(-1px);
}

.request-card:hover,
.activity-card:hover,
.arr-card:hover,
.storage-card:hover,
.card:hover,
.ops-chip:hover {
  border-color: rgba(96,165,250,.58);
  box-shadow:
    0 0 20px rgba(96,165,250,.18),
    0 12px 24px rgba(0,0,0,.32);
}

.request-card small {
  color: #c8d2e3;
}

.pipeline-steps {
  display: grid;
  gap: 5px;
  margin-top: 7px;
}

.step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: #c8d2e3;
}

.step.done {
  color: #4ade80;
}

.step.current {
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(96,165,250,.4);
}

.step.unknown {
  color: #9aa4b2;
}

.infra-row {
  padding: 9px 10px;
  font-weight: 850;
  color: #4ade80;
  font-size: .82rem;
}

.card {
  padding: 8px 10px;
  line-height: 1.3;
  font-size: .8rem;
}

.card small {
  color: #c8d2e3;
}

.badge {
  display: inline-block;
  margin-top: 5px;
  margin-right: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #243449;
  font-size: .68rem;
}

.idle-chip {
  padding: 9px 10px;
  color: #4ade80;
  font-size: .82rem;
  font-weight: 800;
  border-color: rgba(74,222,128,.42);
  box-shadow: 0 0 16px rgba(74,222,128,.12);
}

.arr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.arr-card {
  padding: 10px;
  min-height: 76px;
  line-height: 1.18;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-color: rgba(74,222,128,.32);
  box-shadow:
    0 10px 22px rgba(0,0,0,.28),
    0 0 16px rgba(74,222,128,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.arr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(74,222,128,.16), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent);
  pointer-events: none;
}

.arr-card b {
  position: relative;
  display: block;
  font-size: .78rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.arr-card small {
  position: relative;
  color: #c8d2e3;
  font-size: .66rem;
  display: block;
  line-height: 1.35;
}

.arr-status-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: .5rem;
  font-weight: 950;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.arr-status-badge.online {
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.28);
  color: #bbf7d0;
}

.arr-status-badge.offline {
  background: rgba(248,113,113,.12);
  border: 1px solid rgba(248,113,113,.28);
  color: #fca5a5;
}

.arr-card.arr-offline {
  border-color: rgba(248,113,113,.32);
  box-shadow:
    0 10px 22px rgba(0,0,0,.28),
    0 0 16px rgba(248,113,113,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.arr-card.arr-offline::before {
  background:
    radial-gradient(circle at top left, rgba(248,113,113,.16), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent);
}

.storage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.storage-card {
  padding: 10px;
  line-height: 1.2;
  font-size: .8rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 70px;
}

.storage-card.storage-warn {
  border-color: rgba(250,204,21,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.28), 0 0 16px rgba(250,204,21,.12);
}

.storage-card.storage-critical {
  border-color: rgba(248,113,113,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.28), 0 0 16px rgba(248,113,113,.12);
}

.storage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(96,165,250,.11), transparent 48%);
  pointer-events: none;
}

.storage-card b {
  position: relative;
  display: block;
  margin-bottom: 4px;
  font-size: .82rem;
}

.storage-card small {
  position: relative;
  color: #c8d2e3;
  display: block;
  margin-bottom: 8px;
}

.storage-bar-track {
  position: relative;
  height: 5px;
  background: #273149;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}

.storage-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74,222,128,.85), rgba(96,165,250,.85));
  box-shadow: 0 0 12px rgba(96,165,250,.24);
  transition: width .4s ease;
}

.storage-bar-fill.warn {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 12px rgba(251,191,36,.24);
}

.storage-bar-fill.critical {
  background: linear-gradient(90deg, #ef4444, #f87171);
  box-shadow: 0 0 12px rgba(248,113,113,.24);
}

.empty {
  color: #9aa4b2;
  padding: 8px 4px;
  font-size: .8rem;
}

.alert-ok { color: #4ade80; }
.alert-warn { color: #facc15; }
.alert-critical { color: #f87171; }
.ops-active { color: #60a5fa; }
.ops-idle { color: #9aa4b2; }

@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,.04) 25%,
    rgba(255,255,255,.09) 50%,
    rgba(255,255,255,.04) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 6px;
}

.skeleton-card {
  background:
    linear-gradient(145deg, rgba(23,29,43,.96), rgba(12,20,34,.96));
  border: 1px solid rgba(96,165,250,.10);
  border-radius: 13px;
  padding: 9px 11px;
  min-height: 74px;
  overflow: hidden;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-poster {
  width: 110px;
  height: 165px;
  border-radius: 10px;
  flex: 0 0 110px;
}

.skeleton-chip {
  border-radius: 13px;
  min-height: 48px;
  border: 1px solid rgba(96,165,250,.10);
}

.skeleton-arr {
  border-radius: 13px;
  min-height: 76px;
  border: 1px solid rgba(96,165,250,.10);
}

.skeleton-storage {
  border-radius: 13px;
  min-height: 70px;
  border: 1px solid rgba(96,165,250,.10);
}

.skeleton-activity {
  border-radius: 13px;
  min-height: 76px;
  border: 1px solid rgba(96,165,250,.10);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 9px;
  padding: 7px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 50;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 420px;
  height: 100vh;
  background: linear-gradient(160deg, rgba(17,24,39,.98), rgba(3,7,18,.98));
  border-left: 1px solid #334155;
  box-shadow: -20px 0 50px rgba(0,0,0,.45);
  transition: right .2s ease;
  z-index: 60;
  overflow-y: auto;
  padding: 18px;
}

.detail-drawer.open {
  right: 0;
}

.drawer-close {
  position: sticky;
  top: 0;
  float: right;
  background: #1f2937;
  color: white;
  border: 1px solid #334155;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.drawer-poster {
  width: 150px;
  border-radius: 12px;
  border: 1px solid #334155;
  box-shadow: 0 15px 35px rgba(0,0,0,.4);
}

.drawer-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 12px 0 4px;
}

.drawer-sub {
  color: #c8d2e3;
  font-size: .85rem;
  margin-bottom: 14px;
}

.drawer-section {
  margin-top: 16px;
}

.drawer-section h3 {
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 8px;
  color: #93c5fd;
}

.drawer-box {
  background: rgba(15,23,42,.9);
  border: 1px solid #283246;
  border-radius: 12px;
  padding: 10px;
  font-size: .82rem;
  line-height: 1.45;
}

.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-metric {
  background: rgba(15,23,42,.9);
  border: 1px solid #283246;
  border-radius: 12px;
  padding: 10px;
}

.drawer-metric b {
  display: block;
  font-size: 1.1rem;
}

.drawer-metric small {
  color: #9aa4b2;
}

@media (max-width: 1280px) {
  .ops-bar {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .arr-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .storage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .top-grid,
  .library-grid,
  .ops-bar,
  .hero-layout,
  .arr-grid,
  .storage-grid,
  .drawer-grid {
    grid-template-columns: 1fr;
  }

  .detail-drawer {
    width: calc(100vw - 36px);
    right: -100vw;
  }
}

.section-hidden {
  display: none !important;
}

.activity-available::before {
  background: radial-gradient(circle at top left, #22c55e, transparent 46%);
}

.activity-available .activity-kind {
  background: rgba(34,197,94,.13);
  border-color: rgba(34,197,94,.30);
  color: #bbf7d0;
}

.activity-available .activity-poster {
  border-color: rgba(34,197,94,.42);
  box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(34,197,94,.14);
}

.activity-download::before {
  background: radial-gradient(circle at top left, #60a5fa, transparent 46%);
}

.activity-download .activity-kind {
  background: rgba(96,165,250,.13);
  border-color: rgba(96,165,250,.30);
  color: #bfdbfe;
}

.activity-watched::before {
  background: radial-gradient(circle at top left, #a78bfa, transparent 46%);
}

.activity-watched .activity-kind {
  background: rgba(167,139,250,.13);
  border-color: rgba(167,139,250,.30);
  color: #ddd6fe;
}

/* v3.1 canonical cinematic hero */
body {
  background:
    radial-gradient(circle at top left, rgba(34,197,94,.16), transparent 28%),
    radial-gradient(circle at top right, rgba(249,115,22,.12), transparent 30%),
    linear-gradient(135deg, #030712 0%, #07111e 50%, #020617 100%);
}

main {
  max-width: 1320px;
  position: relative;
}

.hero-header {
  position: relative;
  min-height: 520px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

.hero-art-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 0;
  transform: none;
  opacity: 1;
  box-shadow: none;
  z-index: 0;
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(1.55) contrast(1.18) brightness(1.18);
  transform: scale(1.02);
}

.hero-art-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3,7,18,.98) 0%,
      rgba(3,7,18,.82) 24%,
      rgba(3,7,18,.35) 52%,
      rgba(3,7,18,.50) 78%,
      rgba(3,7,18,.82) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3,7,18,.06) 0%,
      rgba(3,7,18,.18) 44%,
      rgba(3,7,18,.82) 88%,
      #030712 100%
    );
}

.hero-brand {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 18px;
  padding-top: 86px;
}

.hero-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.8rem;
  color: #bbf7d0;
  background: rgba(22,101,52,.32);
  border: 1px solid rgba(74,222,128,.48);
  box-shadow:
    0 0 32px rgba(34,197,94,.28),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-header h1 {
  font-size: 4.6rem;
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: .015em;
  margin: 0;
  color: rgba(255,255,255,.96);
  text-shadow: 0 10px 42px rgba(0,0,0,.75);
}

.hero-subtitle {
  margin-top: 8px;
  color: #a3e635;
  font-size: 1.55rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(163,230,53,.38);
}

.hero-header p {
  margin-top: 10px;
  color: rgba(226,232,240,.86);
  font-size: .92rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero-status {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

#hero-clock {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(15,23,42,.58);
  border: 1px solid rgba(148,163,184,.24);
  color: #cbd5e1;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.top-grid {
  margin-top: -150px;
  position: relative;
  z-index: 20;
}

.library-grid,
.ops-bar {
  position: relative;
  z-index: 20;
}

.top-grid article,
.library-grid article,
.ops-chip {
  background: rgba(8,14,28,.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 20px 46px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.08);
}

@media (max-width: 1100px) {
  .hero-header {
    min-height: 360px;
  }

  .hero-art-wrap {
    height: 360px;
  }

  .hero-brand {
    padding-top: 42px;
  }

  .hero-header h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: .22em;
  }

  .top-grid {
    margin-top: -80px;
  }
}

@media (max-width: 700px) {
  .hero-header {
    min-height: 320px;
  }

  .hero-brand {
    margin-left: 8px;
    gap: 12px;
  }

  .hero-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.35rem;
  }

  .hero-header h1 {
    font-size: 2.35rem;
  }

  .hero-header p {
    letter-spacing: .14em;
  }

  .hero-status {
    right: 10px;
    top: 10px;
  }
}


/* v3.2 hero metadata */
.hero-feature {
  position: absolute;
  left: 128px;
  top: 300px;
  z-index: 7;
  max-width: 560px;
  padding: 13px 16px 14px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(8,14,28,.62), rgba(3,7,18,.72)),
    radial-gradient(circle at top left, rgba(34,197,94,.16), transparent 50%);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 18px 44px rgba(0,0,0,.34),
    0 0 34px rgba(34,197,94,.08),
    inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.hero-feature.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-feature-kicker {
  color: #a3e635;
  font-size: .64rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 5px;
  text-shadow: 0 0 16px rgba(163,230,53,.28);
}

.hero-feature-title {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.1;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-feature-detail {
  margin-top: 5px;
  color: #cbd5e1;
  font-size: .78rem;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .hero-feature {
    left: 72px;
    top: 230px;
    max-width: calc(100vw - 120px);
  }
}

@media (max-width: 700px) {
  .hero-feature {
    left: 14px;
    right: 14px;
    top: 218px;
    max-width: none;
  }

  .hero-feature-title {
    font-size: .9rem;
  }
}

/* v3.2 hero metadata placement */
.hero-feature {
  left: 108px !important;
  top: 235px !important;
  max-width: 420px !important;

  background: rgba(8,14,28,.45) !important;
  border: 1px solid rgba(255,255,255,.08) !important;

  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;

  box-shadow:
    0 12px 28px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.hero-feature-title {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
}

.hero-feature-detail {
  font-size: .82rem !important;
  opacity: .92;
}

.hero-feature-kicker {
  font-size: .70rem !important;
}

@media (max-width: 1100px) {
  .hero-feature {
    left: 70px !important;
    top: 210px !important;
  }
}

/* v3.3 hero metadata redesign */

.hero-feature {
  left: 105px !important;
  top: 250px !important;

  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;

  padding: 0 !important;
  border-radius: 0 !important;
}

.hero-feature-kicker {
  color: #a3e635 !important;
  font-size: .72rem !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  margin-bottom: 2px !important;
}

.hero-feature-title {
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
}

.hero-feature-detail {
  color: rgba(255,255,255,.82) !important;
  font-size: .85rem !important;
  margin-top: 6px !important;
}

@media (max-width: 1100px) {
  .hero-feature {
    left: 70px !important;
    top: 220px !important;
  }

  .hero-feature-title {
    font-size: 1.4rem !important;
  }
}

/* v3.3 final hero metadata positioning */

.hero-feature {
  left: 82px !important;
  top: 228px !important;
}

.hero-feature-title {
  font-size: 2.15rem !important;
}

.hero-feature-detail {
  opacity: .88 !important;
}

.hero-feature-kicker {
  opacity: .95 !important;
}


/* v3.3 final hero composition */

.hero-art {
  object-position: center 18% !important;
}

.hero-art-wrap {
  inset: 0 0 0 22% !important;
  width: 78% !important;
}

.hero-feature {
  left: 72px !important;
  top: 230px !important;
}

.hero-feature-title {
  font-size: 2.25rem !important;
}

/* v3.4 final hero sizing */

.hero-header {
  min-height: 420px !important;
}

.hero-art-wrap {
  height: 420px !important;
}

.top-grid {
  margin-top: -90px !important;
}

.hero-feature {
  top: 215px !important;
}

.hero-feature-title {
  font-size: 2rem !important;
}

.hero-feature-detail {
  font-size: .8rem !important;
}

/* v3.4 hero metadata spacing fix */

.hero-feature {
  left: 115px !important;
  top: 285px !important;
}

.hero-feature-kicker {
  margin-bottom: 8px !important;
}

.hero-feature-title {
  margin-bottom: 8px !important;
  line-height: 1.05 !important;
}

.hero-feature-detail {
  margin-top: 0 !important;
  opacity: .85 !important;
}

.hero-brand {
  padding-top: 70px !important;
}

/* v3.4 repair hero metadata overlap */

.hero-brand {
  padding-top: 76px !important;
}

.hero-feature {
  left: 110px !important;
  top: 238px !important;
  max-width: 360px !important;
  padding: 0 !important;
}

.hero-feature-kicker {
  font-size: .66rem !important;
  margin-bottom: 4px !important;
}

.hero-feature-title {
  font-size: 1.55rem !important;
  line-height: 1 !important;
  margin-bottom: 5px !important;
}

.hero-feature-detail {
  font-size: .74rem !important;
  line-height: 1.1 !important;
}

.top-grid {
  margin-top: -82px !important;
}

/* v3.4 final hero metadata polish */

.hero-feature {
  max-width: 500px !important;
}

.hero-feature-title {
  font-size: 1.9rem !important;
  letter-spacing: -.02em;
}

.hero-feature-kicker {
  letter-spacing: .14em !important;
}

.hero-feature-detail {
  opacity: .92 !important;
}

.hero-art::after {
  display: none;
}

/* v3.5 stat card modernization */
.stat-card {
  position: relative;
  overflow: hidden;
  padding-left: 78px !important;
  min-height: 86px;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  pointer-events: none;
  background:
    radial-gradient(circle at 26px 24px, rgba(255,255,255,.10), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%);
}

.stat-icon {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 950;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 14px 30px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-card h2 {
  opacity: .94;
  letter-spacing: .06em;
}

.stat-card > div:not(.stat-icon) {
  position: relative;
  z-index: 2;
}

.stat-server .stat-icon {
  color: #bfdbfe;
  background: rgba(37,99,235,.18);
  box-shadow: 0 0 30px rgba(37,99,235,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-streams .stat-icon {
  color: #bbf7d0;
  background: rgba(22,163,74,.18);
  box-shadow: 0 0 30px rgba(34,197,94,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-transcodes .stat-icon {
  color: #fde68a;
  background: rgba(202,138,4,.18);
  box-shadow: 0 0 30px rgba(234,179,8,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-sessions .stat-icon {
  color: #ddd6fe;
  background: rgba(124,58,237,.18);
  box-shadow: 0 0 30px rgba(168,85,247,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-movies .stat-icon {
  color: #fca5a5;
  background: rgba(220,38,38,.18);
  box-shadow: 0 0 30px rgba(248,113,113,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-shows .stat-icon {
  color: #7dd3fc;
  background: rgba(2,132,199,.18);
  box-shadow: 0 0 30px rgba(56,189,248,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-episodes .stat-icon {
  color: #c4b5fd;
  background: rgba(109,40,217,.18);
  box-shadow: 0 0 30px rgba(167,139,250,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.stat-albums .stat-icon {
  color: #f9a8d4;
  background: rgba(190,24,93,.18);
  box-shadow: 0 0 30px rgba(244,114,182,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

@media (max-width: 700px) {
  .stat-card {
    padding-left: 62px !important;
  }

  .stat-icon {
    left: 12px;
    top: 20px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* v3.6 ARR Modernization */

.arr-modern {
  position: relative;
  overflow: hidden;
  min-height: 138px;
}

.arr-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.05), transparent 45%);
  pointer-events: none;
}

.arr-modern-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arr-modern-icon {
  font-size: 1.25rem;
  opacity: .95;
}

.arr-modern-name {
  margin-top: 10px;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.arr-modern-count {
  margin-top: 10px;
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 1;
}

.arr-modern-label {
  margin-top: 2px;
  font-size: .72rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.arr-modern-meta {
  margin-top: 10px;
  font-size: .72rem;
  opacity: .75;
}

/* v3.7 Operations Status Bar */
.ops-bar {
  align-items: stretch;
}

.ops-modern {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 13px 14px !important;
  overflow: hidden;
}

.ops-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20px 18px, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%);
  pointer-events: none;
}

.ops-icon {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(15,23,42,.48);
  box-shadow:
    0 12px 26px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.ops-body {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.ops-label {
  color: rgba(226,232,240,.86);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.ops-value {
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.05;
  margin-top: 2px;
}

.ops-modern small {
  display: block;
  margin-top: 3px;
  color: rgba(203,213,225,.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops-modern.chip-ok .ops-icon {
  color: #bbf7d0;
  background: rgba(22,163,74,.18);
  box-shadow: 0 0 26px rgba(34,197,94,.16), inset 0 1px 0 rgba(255,255,255,.10);
}

.ops-modern.chip-blue .ops-icon {
  color: #bfdbfe;
  background: rgba(37,99,235,.18);
  box-shadow: 0 0 26px rgba(96,165,250,.15), inset 0 1px 0 rgba(255,255,255,.10);
}

.ops-modern.chip-warn .ops-icon {
  color: #fde68a;
  background: rgba(202,138,4,.18);
  box-shadow: 0 0 26px rgba(234,179,8,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.ops-modern.chip-warn {
  border-color: rgba(234,179,8,.28) !important;
}

@media (max-width: 800px) {
  .ops-modern {
    min-height: 64px;
  }

  .ops-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .ops-value {
    font-size: 1rem;
  }
}

/* v3.8 Storage Modernization */

.storage-modern {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  padding: 16px !important;
}

.storage-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%);
  pointer-events: none;
}

.storage-modern-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
}

.storage-modern-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(37,99,235,.16);
  box-shadow:
    0 14px 30px rgba(0,0,0,.30),
    0 0 28px rgba(96,165,250,.12),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.storage-modern-name {
  font-size: .95rem;
  font-weight: 950;
  letter-spacing: .04em;
}

.storage-modern-percent {
  margin-top: 3px;
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.storage-modern-track {
  position: relative;
  z-index: 2;
  margin-top: 17px !important;
  height: 8px !important;
}

.storage-modern-meta {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(203,213,225,.82);
  font-size: .72rem;
  font-weight: 800;
}

.storage-warn .storage-modern-icon {
  color: #fde68a;
  background: rgba(202,138,4,.18);
  box-shadow: 0 0 30px rgba(234,179,8,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.storage-critical .storage-modern-icon {
  color: #fecaca;
  background: rgba(220,38,38,.18);
  box-shadow: 0 0 30px rgba(248,113,113,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

@media (max-width: 700px) {
  .storage-modern {
    min-height: 122px;
  }

  .storage-modern-meta {
    flex-direction: column;
    gap: 3px;
  }
}

/* v3.9 Users panel only */
.user-intel-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px 14px !important;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(15,23,42,.74), rgba(8,13,24,.82)),
    radial-gradient(circle at top left, rgba(34,197,94,.10), transparent 48%);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow:
    0 16px 34px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
  cursor: pointer;
}

.user-intel-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #bbf7d0;
  background: rgba(22,163,74,.18);
  border: 1px solid rgba(74,222,128,.22);
  box-shadow:
    0 0 28px rgba(34,197,94,.14),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.user-intel-body {
  min-width: 0;
  flex: 1;
}

.user-intel-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.user-intel-top b {
  font-size: .95rem;
  font-weight: 950;
}

.user-intel-top span {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 950;
  letter-spacing: .08em;
  color: #bfdbfe;
  background: rgba(37,99,235,.16);
  border: 1px solid rgba(96,165,250,.22);
}

.user-active .user-intel-top span {
  color: #bbf7d0;
  background: rgba(22,163,74,.18);
  border-color: rgba(74,222,128,.24);
}

.user-intel-metrics {
  margin-top: 6px;
  color: rgba(226,232,240,.84);
  font-size: .72rem;
  font-weight: 850;
}

.user-intel-card small {
  display: block;
  margin-top: 5px;
  color: rgba(203,213,225,.72);
  font-size: .7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* v4.0 Historical Metrics */
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.history-card {
  min-height: 78px;
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(15,23,42,.74), rgba(8,13,24,.82)),
    radial-gradient(circle at top left, rgba(96,165,250,.12), transparent 48%);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow:
    0 14px 28px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.history-card span {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.history-card b {
  display: block;
  font-size: 1.25rem;
  font-weight: 950;
  color: #f8fafc;
}

.history-card small {
  display: block;
  margin-top: 3px;
  color: rgba(203,213,225,.76);
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.history-note {
  margin-top: 10px;
  color: rgba(203,213,225,.72);
  font-size: .72rem;
  font-weight: 850;
}

/* Activity Feed Jellyfin open button */
.activity-poster {
  position: relative;
}

.activity-open-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(15,23,42,.82);
  color: #dbeafe;
  font-size: .8rem;
  font-weight: 950;
  cursor: pointer;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
  z-index: 5;
}

.activity-card:hover .activity-open-btn {
  opacity: 1;
  transform: scale(1);
}

.activity-open-btn:hover {
  background: rgba(37,99,235,.9);
}

/* ARR Stack hover open button */
.arr-modern-top {
  position: relative;
}

.arr-open-btn {
  position: absolute;
  top: 0;
  right: 58px;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(15,23,42,.82);
  color: #dbeafe;
  font-size: .78rem;
  font-weight: 950;
  cursor: pointer;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
  z-index: 5;
}

.arr-modern:hover .arr-open-btn {
  opacity: 1;
  transform: scale(1);
}

.arr-open-btn:hover {
  background: rgba(37,99,235,.9);
}

/* v4.2 Trend Graphs */
.history-trend-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.history-trend-card {
  min-height: 112px;
  overflow: hidden;
}

.history-trend-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.history-trend-top span {
  margin-bottom: 0;
}

.trend-spark {
  width: 100%;
  height: 46px;
  margin-top: 12px;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(96,165,250,.28));
}

.trend-spark polyline {
  fill: none;
  stroke: rgba(96,165,250,.92);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-empty {
  margin-top: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px dashed rgba(148,163,184,.2);
  color: rgba(203,213,225,.55);
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* v4.2.2 Area Graphs */
.trend-spark polygon {
  fill: rgba(96,165,250,.16);
}

.trend-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: rgba(203,213,225,.68);
  font-size: .68rem;
  font-weight: 850;
}

.trend-badge {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .04em;
  border: 1px solid rgba(148,163,184,.18);
}

.trend-badge.up {
  color: #fca5a5;
  background: rgba(239,68,68,.12);
}

.trend-badge.down {
  color: #86efac;
  background: rgba(34,197,94,.12);
}

.trend-badge.flat {
  color: #bfdbfe;
  background: rgba(96,165,250,.12);
}

/* v4.2.3 Stable Trend Cleanup */
.trend-spark.trend-flat {
  filter: drop-shadow(0 0 5px rgba(96,165,250,.18));
}

.trend-spark.trend-flat polyline {
  stroke-width: 2;
  opacity: .72;
}
