body {
  background:
    radial-gradient(ellipse 70% 40% at 15% -10%, rgba(79,142,247,.08), transparent 60%),
    radial-gradient(ellipse 70% 40% at 85% -10%, rgba(251,191,36,.07), transparent 60%),
    #1e1e2e;
  color: #e2e8f0;
  font-family: 'Archivo', sans-serif;
}
.font-display { font-family: 'Anton', sans-serif; letter-spacing: .02em; }
.tabular { font-variant-numeric: tabular-nums; }

.grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .15;
}

.ao-card { transition: border-color .15s, transform .15s; }
.ao-card:hover { border-color: #4f8ef7; transform: translateY(-1px); }
.pax-row { cursor: pointer; transition: background-color .1s; }
.pax-row:hover { background-color: #252535; }
.pax-row-highlight { background-color: rgba(251,191,36,.08) !important; box-shadow: inset 3px 0 0 #fbbf24; }
.modal-bg { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.bar-fill { transition: width .4s ease; }
.streak-bar { background: linear-gradient(90deg, #4f8ef7, #fbbf24); border-radius: 3px; }
[x-cloak] { display: none !important; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise-in { animation: riseIn .5s cubic-bezier(.16,1,.3,1) both; }

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
.live-dot { animation: dotPulse 1.6s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid #3a3a52; border-top-color: #fbbf24;
  animation: spin .8s linear infinite;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #1e1e2e; }
::-webkit-scrollbar-thumb { background: #3a3a52; border-radius: 3px; }
