@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --storm-bg: oklch(0.08 0.04 240);
  --storm-panel: oklch(0.12 0.05 240);
  --storm-card: oklch(0.12 0.05 240 / 0.85);
  --storm-border: oklch(0.26 0.07 240);
  --storm-text: oklch(0.90 0.04 240);
  --storm-muted: oklch(0.70 0.06 240);
  --storm-accent: oklch(0.60 0.25 240);
  --storm-accent-2: oklch(0.707 0.165 254.624);
  --storm-cyan: oklch(0.789 0.154 211.53);
  --storm-primary: oklch(0.546 0.245 262.881);
  --storm-warn: #e6b84d;
  --storm-kick: #e8893c;
  --storm-ban: oklch(0.637 0.237 25.331);
  --bg: var(--storm-bg);
  --panel: var(--storm-panel);
  --card: var(--storm-card);
  --border: var(--storm-border);
  --text: var(--storm-text);
  --muted: var(--storm-muted);
  --accent: var(--storm-accent);
  --ban: var(--storm-ban);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--storm-bg);
  color: var(--storm-text);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

a { color: var(--storm-accent); text-decoration: none; }
::selection { background: rgba(59, 158, 255, 0.35); color: #fff; }

.storm-mesh {
  background: oklch(0.08 0.04 240);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.ws-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ws-bg-grad {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  background: linear-gradient(to bottom right, oklch(0.08 0.04 240), oklch(0.282 0.091 267.935 / 0.10), oklch(0.08 0.04 240));
  will-change: transform;
}
.ws-bg-dots {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  opacity: 0.08;
  background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.25) 1px, transparent 0);
  background-size: 24px 24px;
  will-change: transform;
}
.ws-bg-grid {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  opacity: 0.10;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 20%, transparent 75%);
  will-change: transform;
}
.ws-bg-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(oklch(0.08 0.04 240 / 0.7) 0%, transparent 50%, oklch(0.08 0.04 240 / 0.7) 100%);
}
#storm-stars {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  will-change: transform;
}

.storm-mesh > header,
.storm-mesh > main,
.storm-mesh > footer,
.storm-mesh > .auth-page {
  position: relative;
  z-index: 1;
}

.storm-grid { display: none; }

.storm-card, .card {
  background: var(--storm-card);
  border: 1px solid var(--storm-border);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  padding: 20px;
  margin-top: 16px;
}

.storm-glass {
  background: oklch(0.08 0.04 240 / 0.72);
  border-bottom: 1px solid oklch(0.26 0.07 240);
  backdrop-filter: blur(22px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.storm-input, input, select, textarea {
  background: #070b14;
  border: 1px solid var(--storm-border);
  border-radius: 12px;
  color: var(--storm-text);
  padding: 0.7rem 0.9rem;
  width: 100%;
  font: inherit;
}

.storm-input:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(59, 158, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 158, 255, 0.14);
}

.storm-btn, .btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  background: transparent;
  color: #fff;
  cursor: pointer;
  width: auto;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.storm-btn:hover, .btn:hover, button:hover { transform: translateY(-1px); }

.storm-btn-primary, button.primary, .btn.primary {
  background: linear-gradient(to right, #2563eb, #06b6d4);
  color: #fff;
  border: none;
  box-shadow: 0 8px 28px #36367d66;
}

.storm-btn-primary:hover, button.primary:hover {
  background: linear-gradient(to right, #1d4ed8, #0891b2);
  box-shadow: 0 12px 36px #36367d80;
}

.storm-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.storm-toggle {
  width: 51px; height: 31px; border-radius: 999px; border: 0;
  background: #3a3a3c; position: relative; flex-shrink: 0;
  padding: 0; cursor: pointer; transition: background .2s ease;
}
.storm-toggle.on { background: #0a84ff; }
.storm-toggle span {
  position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.storm-toggle.on span { transform: translateX(20px); }

/* Checkbox → iOS-style switch (label + hidden input) */
.storm-switch {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; cursor: pointer; user-select: none;
}
.storm-switch input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
  margin: 0; pointer-events: none;
}
.storm-switch-track {
  width: 51px; height: 31px; border-radius: 999px;
  background: #3a3a3c; position: relative; flex-shrink: 0;
  transition: background .2s ease;
}
.storm-switch-track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.storm-switch input:checked + .storm-switch-track { background: #0a84ff; }
.storm-switch input:checked + .storm-switch-track::after { transform: translateX(20px); }
.storm-switch input:focus-visible + .storm-switch-track {
  outline: 2px solid rgba(10, 132, 255, .55); outline-offset: 2px;
}

.muted { color: var(--storm-muted); font-size: 14px; }
.err { color: var(--storm-ban); font-size: 14px; }
.ok { color: var(--storm-cyan); font-size: 14px; }
label { display: block; font-size: 13px; margin: 12px 0 4px; color: var(--storm-muted); }
code { color: var(--storm-accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
td, th { border-bottom: 1px solid var(--storm-border); padding: 8px; text-align: left; }

/* Header — centered product nav */
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand-row { display: flex; align-items: center; gap: 10px; color: #fff; justify-self: start; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 0;
  background: url("/assets/logo.png") center / contain no-repeat;
  box-shadow: none;
  flex-shrink: 0;
}
.brand-mark.sm { width: 28px; height: 28px; border-radius: 0; }
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; }
.nav-links { display: none; gap: 1.75rem; font-size: 0.9rem; color: var(--storm-muted); font-weight: 500; }
.nav-links a { color: inherit; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* Hero */
.ws-hero {
  position: relative;
  text-align: center;
  padding: 72px 20px 0;
  overflow: hidden;
}
.ws-hero-glow { display: none; }
.ws-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid oklch(0.26 0.07 240);
  background: oklch(0.12 0.05 240 / 0.8);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: oklch(0.707 0.165 254.624);
}
.ws-h1 {
  position: relative;
  margin: 28px auto 0;
  max-width: 18ch;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  background: linear-gradient(to right bottom, #fff 0%, #fff 50%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ws-h1 span {
  background: linear-gradient(to right, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.storm-eye {
  position: relative;
  width: min(340px, 78vw);
  height: min(196px, 46vw);
  margin: 36px auto 8px;
  perspective: 1000px;
}
.storm-eye .eye-glow {
  position: absolute;
  inset: -32% -18%;
  background: radial-gradient(ellipse at center, rgb(59 130 246 / 0.45), rgb(6 182 212 / 0.18), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.eye-frame {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 28px rgb(59 130 246 / 0.42));
}
.eye-socket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  clip-path: ellipse(49.5% 41% at 50% 50%);
  background: #dbe4f0;
  box-shadow:
    inset 0 16px 22px rgb(15 23 42 / 0.28),
    inset 0 -16px 22px rgb(15 23 42 / 0.28),
    inset 0 0 0 3px oklch(0.16 0.05 240);
  transform-style: preserve-3d;
  transition: clip-path 0.28s ease;
}
.eye-ball {
  position: relative;
  height: 92%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, #fff 0 11%, transparent 20%),
    radial-gradient(circle at 50% 50%, #f8fafc 0%, #d5dee8 62%, #94a3b8 100%);
  box-shadow: inset 0 0 22px rgb(15 23 42 / 0.18);
  transform-style: preserve-3d;
  will-change: transform;
}
.eye-iris {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, #1d4ed8 0 8deg, #0ea5e9 8deg 14deg, #2563eb 14deg 20deg),
    radial-gradient(circle at 50% 50%, #67e8f9 0%, #2563eb 48%, #0f172a 78%);
  background-blend-mode: overlay, normal;
  box-shadow: inset 0 0 16px #0f172a, 0 0 18px rgb(34 211 238 / 0.45);
  will-change: transform;
}
.eye-ring {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 2px solid rgb(125 211 252 / 0.35);
  box-shadow: inset 0 0 12px rgb(6 182 212 / 0.4);
  pointer-events: none;
}
.eye-pupil {
  position: relative;
  z-index: 1;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #334155, #020617 68%);
  box-shadow: 0 0 10px #020617;
}
.eye-glint {
  position: absolute;
  top: 16%;
  left: 20%;
  width: 30%;
  height: 24%;
  border-radius: 50%;
  background: #fff;
  opacity: 0.92;
  filter: blur(0.4px);
}
.eye-lid {
  position: absolute;
  left: 0;
  right: 0;
  background: oklch(0.10 0.04 240);
  z-index: 3;
  pointer-events: none;
}
.lid-top {
  top: 0;
  height: 52%;
  border-radius: 0 0 50% 50%;
  box-shadow: 0 10px 16px rgb(0 0 0 / 0.28);
  animation: eyeBlink 6.5s ease-in-out infinite;
  transform-origin: top center;
  transition: transform 0.28s ease;
}
.lid-bot {
  bottom: 0;
  height: 52%;
  border-radius: 50% 50% 0 0;
  animation: eyeBlinkBot 6.5s ease-in-out infinite;
  transform-origin: bottom center;
  transition: transform 0.28s ease;
}
.storm-eye.is-squint .lid-top,
.storm-eye.is-squint .lid-bot {
  animation: none;
}
.storm-eye.is-squint .lid-top {
  transform: scaleY(0.84);
}
.storm-eye.is-squint .lid-bot {
  transform: scaleY(0.8);
}
.storm-eye.is-squint .eye-socket {
  clip-path: ellipse(49.5% 22% at 50% 50%);
}
@keyframes eyeBlink {
  0%, 92%, 100% { transform: scaleY(0.07); }
  94% { transform: scaleY(1); }
  96% { transform: scaleY(0.07); }
}
@keyframes eyeBlinkBot {
  0%, 92%, 100% { transform: scaleY(0.07); }
  94% { transform: scaleY(1); }
  96% { transform: scaleY(0.07); }
}
.ws-lead {
  position: relative;
  margin: 18px auto 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--storm-muted);
}
.ws-cta {
  position: relative;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ws-cta .storm-btn { padding: 12px 28px; }

.ws-mock-wrap {
  position: relative;
  max-width: 68rem;
  margin: 56px auto 0;
  padding: 0 8px 80px;
}
.ws-mock-stage {
  position: relative;
  z-index: 1;
  perspective: 1600px;
  perspective-origin: 50% 42%;
}
.ws-mock-ring {
  position: absolute;
  inset: -6px 2px auto 2px;
  height: calc(100% - 70px);
  border-radius: 22px;
  background: linear-gradient(to right, #3b82f6, #22d3ee, #3b82f6);
  opacity: 0.75;
  filter: blur(14px);
  z-index: 0;
}
.ws-mock-bloom {
  position: absolute;
  inset: 8% -8% auto -8%;
  height: 70%;
  background: linear-gradient(to right, rgb(59 130 246 / 0.4), rgb(34 211 238 / 0.4), rgb(59 130 246 / 0.4));
  filter: blur(48px);
  z-index: 0;
}
.ws-mock-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, oklch(0.08 0.04 240 / 0.4) 50%, oklch(0.08 0.04 240));
  z-index: 2;
  pointer-events: none;
}
.ws-mock {
  --rx: 9deg;
  --ry: -14deg;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid oklch(0.26 0.07 240);
  background: oklch(0.08 0.04 240 / 0.95);
  box-shadow:
    0 30px 60px #050814cc,
    0 8px 28px 1px #36367d66,
    0 0 0 1px rgb(59 130 246 / 0.15);
  text-align: left;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(12px);
  transform-style: preserve-3d;
  will-change: transform;
}
.ws-mock-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.09) 50%, transparent 64%);
  mix-blend-mode: overlay;
}
.ws-det-list { margin-top: 10px; }
.ws-det-list .det-row {
  display: flex; align-items: center; gap: 8px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03); padding: 7px 10px; margin-bottom: 6px; font-size: 12px;
  color: #e8eef8;
}
.ws-det-list .det-row span:first-child { flex: 1; font-weight: 500; }
.ws-det-list .act {
  border-radius: 6px; padding: 2px 8px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  background: rgba(255,255,255,.06); color: var(--storm-muted);
}
.ws-det-list .act-ban { background: rgba(232,93,93,.15); color: #f87171; }
.ws-det-list .act-kick { background: rgba(251,146,60,.15); color: #fb923c; }
.ws-det-list .act-screenshot { background: rgba(34,211,238,.12); color: #67e8f9; }
.ws-det-list .act-live { background: rgba(52,211,153,.12); color: #34d399; }
@media (max-width: 800px) {
  .ws-mock { grid-template-columns: 1fr; transform: none; }
  .ws-mock-side { display: none; }
}
.ws-mock-side {
  background: #080e1c;
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 16px 12px;
  transform: translateZ(28px);
}
.ws-mock-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; margin-bottom: 16px; color: #fff;
}
.ws-mock-side nav span {
  display: block;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--storm-muted);
  margin-bottom: 2px;
}
.ws-mock-side nav span.on {
  background: rgba(59, 158, 255, 0.18);
  color: #93c5fd;
  font-weight: 600;
}
.ws-mock-main { padding: 16px; background: linear-gradient(180deg, #101a32 0%, #0b1224 40%); }
.ws-mock-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pill {
  border-radius: 999px; padding: 2px 8px; font-size: 10px; font-weight: 700;
}
.pill.cyan { background: rgba(34,211,238,.15); color: #67e8f9; }
.pill.amber { background: rgba(251,191,36,.15); color: #fbbf24; }
.ws-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 700px) { .ws-stats { grid-template-columns: 1fr 1fr; } }
.ws-stat {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(8, 14, 28, 0.7);
  padding: 12px 14px;
}
.ws-stat .lbl, .ws-chart .lbl, .ws-donut .lbl {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--storm-muted);
}
.ws-stat .num { margin-top: 6px; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.04em; }
.ws-stat .num span { font-size: .85rem; font-weight: 600; color: var(--storm-muted); }
.num.cyan { color: #22d3ee; }
.num.violet { color: #c4b5fd; }
.num.pink { color: #f472b6; }
.num.green { color: #34d399; }
.ws-mock-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 700px) { .ws-mock-bottom { grid-template-columns: 1fr; } }
.ws-chart, .ws-donut {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(8, 14, 28, 0.7);
  padding: 12px 14px;
}
.ws-chart svg { width: 100%; height: 88px; margin-top: 8px; display: block; }
.ws-donut ul { list-style: none; margin: 10px 0 0; padding: 0; }
.ws-donut li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--storm-muted); margin-bottom: 6px;
}
.ws-donut li b { margin-left: auto; color: #fff; }
.ws-donut i.c { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ws-donut i.cyan { background: #22d3ee; }
.ws-donut i.violet { background: #a78bfa; }
.ws-donut i.pink { background: #f472b6; }
.ws-donut i.green { background: #34d399; }

.section { max-width: 72rem; margin: 0 auto; padding: 88px 20px; }
.ws-section { text-align: center; }
.ws-h2 {
  margin: 0 auto;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  max-width: 22ch;
  background: linear-gradient(to right, #fff, #d1d5db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ws-sub {
  margin: 14px auto 0;
  max-width: 36rem;
  color: var(--storm-muted);
  line-height: 1.65;
}
.ws-feat-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}
@media (min-width: 768px) { .ws-feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ws-feat-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ws-feat {
  border-radius: 18px;
  border: 1px solid rgba(80, 140, 255, 0.16);
  background: rgba(10, 16, 32, 0.75);
  padding: 22px;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  transform-origin: center center;
}
.ws-feat:hover {
  transform: scale(1.045);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.12);
  z-index: 2;
}
.ws-feat h3 { margin: 12px 0 0; font-size: 1.05rem; color: #fff; }
.ws-feat p { margin: 8px 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--storm-muted); }
.ws-feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.ws-feat-ico .ico { display: block; }
.ws-feat-ico.cyan { background: linear-gradient(135deg, #22d3ee, #2563eb); }
.ws-feat-ico.violet { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.ws-feat-ico.green { background: linear-gradient(135deg, #34d399, #059669); }
.ws-feat-ico.orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.ws-feat-ico.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.ws-feat-ico.amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
@media (prefers-reduced-motion: reduce) {
  .ws-feat { transition: none; }
  .ws-feat:hover { transform: none; }
}

.steps { display: grid; gap: 16px; margin-top: 48px; text-align: left; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step-n { font-size: 2rem; font-weight: 800; color: rgba(59, 158, 255, 0.35); }

.price-grid { display: grid; gap: 16px; margin-top: 48px; text-align: left; }
@media (min-width: 768px) { .price-grid { grid-template-columns: 1fr 1fr 1fr; } }
.price-card {
  border-radius: 18px;
  border: 1px solid rgba(80, 140, 255, 0.16);
  background: rgba(10, 16, 32, 0.75);
  padding: 28px 24px;
  text-align: center;
}
.price-card h3 { margin: 0; font-size: 1.1rem; }
.price-card .amt { margin-top: 12px; font-size: 2.4rem; font-weight: 800; color: #fff; }
.price-card .storm-btn { width: 100%; margin-top: 20px; }
.price-card.featured {
  border-color: rgba(59, 158, 255, 0.55);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.25);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(10, 16, 32, 0.9));
}

.ws-faq { max-width: 40rem; margin: 40px auto 0; text-align: left; }
.ws-faq-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.ws-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}
.ws-faq-item summary::-webkit-details-marker { display: none; }
.ws-faq-item p { margin: 10px 0 0; color: var(--storm-muted); line-height: 1.6; font-size: 14px; }

.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 40px 20px; text-align: center; }
.site-footer p { margin: 0; }
.site-footer .sub { margin-top: 8px; font-size: 12px; color: var(--storm-muted); }

/* Auth */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
}
.auth-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 28rem;
  position: relative;
  z-index: 1;
}
.auth-page .storm-eye {
  width: min(210px, 58vw);
  height: min(122px, 34vw);
  margin: 0 0 -22px;
  z-index: 2;
}
.auth-card { width: 100%; max-width: 28rem; padding: 32px; margin: 0; position: relative; z-index: 1; }
.auth-card h1 { margin: 16px 0 0; font-size: 1.875rem; }
.auth-card button, .auth-card .storm-btn-primary { width: 100%; margin-top: 24px; padding: 12px; }

/* Dashboard shell */
.layout { display: flex; min-height: 100vh; background: oklch(0.08 0.04 240); }
.side {
  width: 256px; background: oklch(0.15 0.05 240); border-right: 1px solid oklch(0.30 0.07 240);
  padding: 0; flex-shrink: 0; display: flex; flex-direction: column;
}
.side-head { padding: 16px; border-bottom: 1px solid var(--storm-border); }
.side-head .title { font-size: 14px; font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.side-head .sub { margin-top: 4px; font-size: 12px; color: var(--storm-muted); }
.badge {
  display: inline-block; margin-top: 8px; border-radius: 999px;
  padding: 2px 8px; font-size: 10px; font-weight: 600;
  background: rgba(59, 158, 255, .18); color: #93c5fd;
}
.badge.off { background: rgba(255,255,255,.05); color: var(--storm-muted); }
.side-nav { flex: 1; padding: 12px; }
.side a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  color: var(--storm-muted); margin-bottom: 4px; font-size: 14px;
}
.side a:hover { background: rgba(255,255,255,.05); color: #fff; }
.side a.active { background: rgba(59, 158, 255, .18); color: #93c5fd; }
.side a.locked { opacity: .5; }
.side a .lock-mini { margin-left: auto; opacity: .7; display: inline-flex; }
.side-foot { border-top: 1px solid var(--storm-border); padding: 16px; font-size: 12px; color: var(--storm-muted); }
.main { flex: 1; padding: 24px 32px; overflow: auto; }
@media (max-width: 800px) {
  .layout { flex-direction: column; }
  .side { width: auto; }
}

.ico { flex-shrink: 0; vertical-align: -3px; opacity: .9; }
.page-title { margin: 0; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.section-h { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.tab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tab {
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--storm-border);
  color: var(--storm-muted); background: rgba(0,0,0,.25); font-size: 13px;
}
.tab.on, .tab:hover { color: var(--storm-accent); border-color: rgba(59,158,255,.35); background: rgba(59,158,255,.1); }
.addon-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.addon-card h3 { margin: 0; font-size: 1.05rem; }
.addon-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.code-area { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; }
.private-layout { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .private-layout { grid-template-columns: 240px 1fr; } }
.private-list { padding: 16px; margin: 0; }
.private-item {
  display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px;
  color: var(--storm-muted); margin-bottom: 6px; border: 1px solid transparent;
}
.private-item.on, .private-item:hover { background: rgba(59,158,255,.1); color: #fff; border-color: var(--storm-border); }
.private-editor { padding: 20px; margin: 0; }
.rev-list { display: flex; flex-direction: column; gap: 8px; }
.rev-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--storm-border); background: rgba(0,0,0,.2);
}
.install-grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .install-grid { grid-template-columns: 1fr 1fr; } }
.block-code { display: block; margin-top: 8px; word-break: break-all; }
.feature-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--storm-muted); line-height: 1.45; }
.feature-list strong { color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.cfg-lists { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cfg-lists { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .cfg-lists { grid-template-columns: 1fr 1fr 1fr; } }
.cfg-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 12px; border: 1px solid var(--storm-border);
  background: rgba(0,0,0,.25); padding: 12px;
}
.pencil-btn {
  width: 36px; height: 36px; padding: 0; border-radius: 10px;
  border: 1px solid var(--storm-border); background: rgba(255,255,255,.04);
  color: var(--storm-accent); font-size: 16px; flex-shrink: 0;
}
.cfg-cats { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 1200px) { .cfg-cats { grid-template-columns: 1fr 1fr; } }
.cfg-cat { margin: 0; padding: 16px; }
.cfg-det-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 8px; border: 1px solid var(--storm-border);
  background: rgba(0,0,0,.2); padding: 8px 12px;
}
.status-pill { border-radius: 4px; padding: 2px 6px; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.status-live { background: rgba(34,211,238,.12); color: var(--storm-cyan); }
.status-soft { background: rgba(129,140,248,.12); color: var(--storm-accent-2); }
.status-heuristic { background: rgba(251,191,36,.12); color: #fbbf24; }
.status-suspect { background: rgba(96,165,250,.14); color: #60a5fa; }
.status-shadow { background: rgba(168,85,247,.16); color: #c4b5fd; border: 1px solid rgba(168,85,247,.35); }
.status-soon { background: rgba(255,255,255,.05); color: var(--storm-muted); }
.list-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.list-modal[hidden] { display: none !important; }
.list-modal-card {
  width: min(920px, 96vw);
  max-width: 920px;
  margin: 0;
  padding: 28px;
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
}
.list-modal-card #list-modal-text {
  margin-top: 12px;
  min-height: min(62vh, 560px);
  height: min(62vh, 560px);
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  flex: 1 1 auto;
}
.confirm-modal-card {
  width: min(520px, 94vw);
  max-width: 520px;
  margin: 0;
  padding: 24px;
  max-height: min(90vh, 820px);
  overflow: auto;
}
.confirm-modal-card h3 { margin: 0; font-size: 1.15rem; color: #fff; }
.confirm-modal-card > .muted-lead {
  margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--storm-muted);
}
.confirm-modal-actions {
  margin-top: 20px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap;
}
.unban-ids {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.unban-id-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--storm-border);
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
}
.unban-id-row span {
  color: var(--storm-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10px;
  padding-top: 2px;
}
.unban-id-row code {
  color: #e2e8f0;
  word-break: break-all;
  font-size: 12px;
}
.unban-shot-wrap {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--storm-border);
  background: rgba(0, 0, 0, 0.35);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.unban-shot-wrap img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #000;
}
.unban-shot-wrap .no-shot {
  margin: 0;
  padding: 24px;
  font-size: 13px;
  color: var(--storm-muted);
  text-align: center;
}
.unban-reason-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(232, 93, 93, 0.28);
  background: rgba(232, 93, 93, 0.08);
}
.unban-reason-box .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--storm-ban);
}
.unban-reason-box .val {
  margin-top: 6px;
  font-size: 14px;
  color: #fff;
  line-height: 1.45;
  word-break: break-word;
}
.cfg-pre {
  margin-top: 12px; overflow-x: auto; border-radius: 8px;
  background: rgba(0,0,0,.4); padding: 16px; font-size: 12px;
  line-height: 1.6; color: var(--storm-muted); white-space: pre-wrap;
}
.status-suspect { background: rgba(230,184,77,.15); color: var(--storm-warn); }
.status-certain { background: rgba(232,93,93,.15); color: var(--storm-ban); }
.status-ignore { background: rgba(255,255,255,.05); color: var(--storm-muted); }
.ban-card { margin: 0; padding: 16px; }
.ban-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.wh-row {
  display: grid; gap: 10px; margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--storm-border);
}
.wh-label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
}
.wh-label > strong { display: block; line-height: 1.3; }
@media (min-width: 800px) { .wh-row { grid-template-columns: 200px 1fr; align-items: center; } }
.pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--storm-border); margin: 0; cursor: pointer;
}
.pref-row .storm-switch { flex-shrink: 0; }
.wh-label .storm-switch { margin: 0; font-size: 12px; color: var(--storm-muted); }

.players-layout { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .players-layout { grid-template-columns: 280px 1fr; min-height: 520px; } }

.mon-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.mon-head-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.mon-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--storm-border); color: var(--storm-muted); font-size: 12px;
}
.mon-live.on { color: #86efac; border-color: rgba(52,211,153,.35); }
.mon-live.on::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.mon-layout {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 960px) {
  .mon-layout { grid-template-columns: 248px 1fr; align-items: start; }
}
.mon-rail { margin: 0; padding: 10px; position: sticky; top: 12px; }
.mon-rail-top { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.mon-rows { max-height: calc(100vh - 220px); overflow: auto; }
.mon-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.watch-wall {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--wall-cols, 1), minmax(0, 1fr));
  transition: gap .25s ease;
}
.watch-wall[data-n="1"] { gap: 0; }
.watch-wall[data-n="1"] .wall-tile { border-radius: 14px; }
.watch-wall[data-n="1"] .wall-frame { aspect-ratio: 16 / 9; min-height: min(68vh, 760px); }
.watch-wall[data-n="2"] .wall-frame { min-height: min(46vh, 460px); }
.watch-wall[data-n="4"] { gap: 10px; }
.watch-wall[data-n="4"] .wall-frame { min-height: 260px; }
.watch-wall[data-n="9"] { gap: 8px; }
.watch-wall[data-n="9"] .wall-frame { min-height: 168px; }
.watch-wall[data-n="18"] { gap: 6px; }
.watch-wall[data-n="18"] .wall-cap { padding: 4px 6px; }
.watch-wall[data-n="18"] .wall-cap strong { font-size: 11px; }
.watch-wall[data-n="18"] .wall-cap em { display: none; }
.wall-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--storm-muted);
  border: 1px dashed var(--storm-border);
  border-radius: 12px;
  background: rgba(0,0,0,.2);
}
.wall-tile {
  position: relative;
  border: 1px solid var(--storm-border);
  border-radius: 10px;
  overflow: hidden;
  background: #05070c;
  cursor: pointer;
}
.wall-tile.on { border-color: rgba(59,158,255,.7); box-shadow: 0 0 0 1px rgba(59,158,255,.35); }
.wall-frame {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    #05070c;
  display: flex; align-items: center; justify-content: center;
}
.wall-frame img, .wall-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.wall-wait { color: var(--storm-muted); font-size: 11px; letter-spacing: .02em; }
.wall-cap {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px 7px;
  background: rgba(6,10,16,.92);
  border-top: 1px solid rgba(255,255,255,.04);
  font-size: 11px; min-width: 0;
}
.wall-cap strong {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px;
}
.wall-cap em { font-style: normal; color: var(--storm-muted); white-space: nowrap; }
.wall-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: #64748b;
}
.wall-tile.has-frame .wall-dot { background: #34d399; box-shadow: 0 0 6px #34d399; }
.wall-x {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 22px; height: 22px; padding: 0;
  border: 0; border-radius: 6px;
  background: rgba(0,0,0,.62); color: #fff;
  font-size: 16px; line-height: 1; cursor: pointer;
}
.wall-x:hover { background: rgba(232,93,93,.85); }
.mon-inspect { margin: 0; padding: 12px 14px; }
.mon-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.player-row.watching { border-color: rgba(52,211,153,.35); }
.player-row.watching strong::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px;
  border-radius: 50%; background: #34d399; vertical-align: middle;
}
.mon-bars { display: flex; flex-direction: column; gap: 6px; }
.mon-bar { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--storm-muted); }
.mon-bar > span { width: 22px; }
.mon-bar-track {
  flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden;
}
.mon-bar-track i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #3b9eff);
}
.preset-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.preset-card {
  padding: 14px; border-radius: 12px; border: 1px solid var(--storm-border);
  background: rgba(255,255,255,.03); margin: 0;
}
.preset-card.on { border-color: rgba(59,158,255,.45); background: rgba(59,158,255,.08); }
.case-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .case-grid { grid-template-columns: 1.4fr 1fr; } }
.case-pre {
  margin: 0; padding: 12px; border-radius: 10px; font-size: 12px; line-height: 1.45;
  background: rgba(0,0,0,.35); border: 1px solid var(--storm-border); overflow: auto; max-height: 280px;
  white-space: pre-wrap; word-break: break-word;
}
.case-trail { display: flex; flex-direction: column; gap: 6px; max-height: 640px; overflow: auto; }
.case-trail-row {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid transparent; color: inherit; text-decoration: none;
}
.case-trail-row:hover { background: rgba(255,255,255,.05); }
.case-trail-row.on { background: rgba(59,158,255,.14); border-color: var(--storm-border); }
.player-row {
  display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left;
  padding: 10px 12px; margin-bottom: 6px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: inherit;
}
.player-row:hover { background: rgba(255,255,255,.05); }
.player-row.on { background: rgba(59,158,255,.16); border-color: var(--storm-border); color: #93c5fd; }
.shot-frame {
  border-radius: 12px; border: 1px solid var(--storm-border);
  background: rgba(0,0,0,.35); min-height: 220px; overflow: hidden;
}
.shot-frame img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #000; }
.player-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }

/* Toasts + language switcher */
#storm-toasts {
  position: fixed; top: 18px; right: 18px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}
.storm-toast {
  pointer-events: auto;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--storm-border);
  background: rgba(12, 18, 34, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(-8px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}
.storm-toast.in { opacity: 1; transform: translateY(0) scale(1); }
.storm-toast.out { opacity: 0; transform: translateY(-6px) scale(.98); }
.storm-toast-ok { border-color: rgba(34, 211, 238, .35); }
.storm-toast-err { border-color: rgba(232, 93, 93, .4); }
.storm-toast-ico {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.storm-toast-ok .storm-toast-ico { background: rgba(34,211,238,.14); color: var(--storm-cyan); }
.storm-toast-err .storm-toast-ico { background: rgba(232,93,93,.14); color: var(--storm-ban); }
.storm-toast-body { flex: 1; min-width: 0; }
.storm-toast-title { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.storm-toast-msg { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--storm-muted); }
.storm-toast-x {
  border: 0; background: transparent; color: var(--storm-muted);
  font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.storm-toast-x:hover { color: #fff; }
.storm-lang {
  position: fixed; left: 14px; bottom: 14px; z-index: 190;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(80,140,255,.22);
  background: rgba(10, 16, 32, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.storm-lang-btn {
  border: 0; background: transparent; color: var(--storm-muted);
  font-size: 12px; cursor: pointer; padding: 2px 4px;
}
.storm-lang-btn.on, .storm-lang-btn:hover { color: #fff; }
.storm-lang-sep { color: rgba(255,255,255,.25); font-size: 12px; }

/* ---- 1.3.45 moat pack: global ban network + appeals ---- */
.gbn-stats { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.gbn-stat { margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.gbn-stat .n { font-size: 1.6rem; font-weight: 600; line-height: 1; }
.gbn-stat .muted { font-size: 12px; }
.gbn-sample {
  margin: 0; padding: 12px; border-radius: 8px; overflow-x: auto;
  border: 1px solid var(--storm-border); background: rgba(0,0,0,.28);
  font-size: 12px; line-height: 1.7; color: var(--storm-muted);
}

.appeal-row { margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.appeal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.appeal-msg {
  margin: 0; padding: 12px; border-radius: 8px; white-space: pre-wrap; word-break: break-word;
  border: 1px solid var(--storm-border); background: rgba(0,0,0,.22); font-size: 13px; line-height: 1.6;
}
.appeal-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.appeal-status { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.appeal-status.pending { color: #fbbf24; }
.appeal-status.pardoned { color: #86efac; }
.appeal-status.rejected { color: var(--storm-muted); }
.appeal-status.perma { color: var(--storm-ban); }

.appeal-public { max-width: 560px; margin: 8vh auto; padding: 0 20px; }
.appeal-public .storm-card { padding: 24px; }
.appeal-public label { display: block; margin-top: 14px; font-size: 12px; color: var(--storm-muted); }
.appeal-public .storm-input, .appeal-public textarea { width: 100%; margin-top: 6px; }

.nav-badge {
  margin-left: auto;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--storm-ban); color: #fff;
}
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-row {
  display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--storm-border);
}
.notif-row.unread { background: rgba(59,158,255,.08); }

/* Monitoring — phone-first */
@media (max-width: 959px) {
  .mon-head { flex-direction: column; align-items: stretch !important; gap: 10px; }
  .mon-head-meta { display: flex; flex-wrap: wrap; gap: 8px; }
  .mon-layout { grid-template-columns: 1fr; }
  .mon-rail { position: static; }
  .mon-rows { max-height: 42vh; }
  .watch-wall[data-n="1"] .wall-frame { min-height: min(42vh, 360px); }
  .watch-wall[data-n="2"] .wall-frame { min-height: 180px; }
  .mon-actions .storm-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .mon-inspect { order: 3; }
  .side-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .side a { padding: 8px 10px; font-size: 12px; }
  .main { padding: 14px 12px 28px; }
}
