@font-face {
  font-family: "Press Start 2P";
  src: url("/static/fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1220;
  --navy-2: #0E1628;
  --navy-3: #142038;
  --line: #1E2C46;
  --ink: #E6EEF9;
  --ink-2: #C3D1E4;
  --muted: #93A5BF;
  --green: #00FF88;
  --gold: #FFC107;
  --cyan: #00E5FF;
  --red: #FF5C7A;
  --pixel: "Press Start 2P", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site-body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 500px at 12% -10%, rgba(0, 255, 136, 0.09), transparent 60%),
    radial-gradient(800px 420px at 92% 0%, rgba(0, 229, 255, 0.07), transparent 60%),
    radial-gradient(700px 420px at 50% 110%, rgba(255, 193, 7, 0.05), transparent 65%);
  background-repeat: no-repeat;
}

a { color: var(--green); }
a:hover { color: #7dffc2; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}
.shell.narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #04120b;
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 44, 70, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.brand-text {
  display: flex;
  white-space: nowrap;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-text strong { color: #fff; font-weight: 400; }
.brand-text span { color: var(--green); font-size: 9px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 6px;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: rgba(0, 255, 136, 0.6); }
.nav-forum { display: inline-flex; align-items: center; gap: 7px; }
.lock { font-size: 11px; filter: grayscale(1) brightness(1.4); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu ul {
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 220px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 44, 70, 0.6);
}
.hero-art {
  position: absolute;
  inset: 0;
  background-image: url("/static/img/hero-2400.jpg");
  background-size: cover;
  background-position: 62% 42%;
  opacity: 0.92;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.97) 0%, rgba(11, 18, 32, 0.9) 38%, rgba(11, 18, 32, 0.25) 70%, rgba(11, 18, 32, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0) 35%, rgba(11, 18, 32, 0.95) 100%);
}
.hero-inner {
  position: relative;
  padding: 96px 24px 84px;
  max-width: 760px;
}
.kicker {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--green);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.kicker.gold { color: var(--gold); }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.hero-accent {
  color: var(--green);
  font-size: 0.56em;
  display: inline-block;
  margin-top: 10px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 22px rgba(0, 255, 136, 0.35);
}
.lede {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-live {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 255, 136, 0.28);
  background: rgba(7, 13, 24, 0.72);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.hero-live strong { color: #fff; }
.hero-live .sep { color: #46607f; }
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(0, 255, 136, 0.05); }
}

/* --------------------------------------------------------------- divider */
.divider-strip {
  height: 96px;
  width: 100%;
  background-image: url("/static/img/divider-2400.jpg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
  opacity: 0.9;
  border-top: 1px solid rgba(30, 44, 70, 0.6);
  border-bottom: 1px solid rgba(30, 44, 70, 0.6);
}

/* ----------------------------------------------------------------- stats */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 46px;
  padding-bottom: 10px;
}
.stat {
  background: linear-gradient(180deg, rgba(20, 32, 56, 0.85), rgba(14, 22, 40, 0.9));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(0, 255, 136, 0));
}
.stat-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat-value {
  display: block;
  font-size: 1.7rem;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-value small { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.stat-note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- sections */
.section { padding: 84px 0 20px; }
.section-alt {
  margin-top: 64px;
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.9), rgba(11, 18, 32, 0.9));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
}
.section-lede { color: var(--ink-2); font-size: 1.02rem; margin: 0; }

/* -------------------------------------------------------------- bot cards */
.bot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.bot-card {
  background: linear-gradient(180deg, rgba(20, 32, 56, 0.92), rgba(12, 20, 36, 0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.bot-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.16;
  background: var(--green);
}
.bot-v2::after { background: var(--gold); }
.bot-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.bot-avatar {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  image-rendering: pixelated;
  border: 1px solid rgba(0, 255, 136, 0.35);
  background: #0d1729;
}
.bot-v2 .bot-avatar { border-color: rgba(255, 193, 7, 0.4); }
.bot-version {
  margin: 0 0 4px;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.bot-card h3 { margin: 0 0 8px; font-size: 1.45rem; color: #fff; }
.bot-blurb { color: var(--ink-2); font-size: 14.6px; margin: 0 0 18px; }
.bot-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bot-stats dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.bot-stats dd { margin: 4px 0 0; font-size: 1.02rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.bot-stats dd small { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.spark { width: 100%; height: 46px; display: block; margin: 6px 0 12px; }
.spark polyline { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark.is-down polyline { stroke: var(--red); }
.bot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ----------------------------------------------------------------- charts */
.chart-card {
  background: rgba(9, 15, 27, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 10px;
}
.chart-live { width: 100%; height: 320px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 12px 4px 4px; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.legend-item i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend-item b { color: #fff; font-variant-numeric: tabular-nums; }
.fine { font-size: 12.5px; color: #7f92ad; margin: 10px 0 0; line-height: 1.5; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.data-table { --tw-text-opacity: 1; font-size: 13.5px; }
.data-table th { color: var(--muted); font-weight: 600; }
.data-table td, .data-table th { border-color: var(--line) !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ------------------------------------------------------------ learning log */
.learning-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: start;
}
.timeline-log { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); }
.log-item { position: relative; padding: 0 0 22px 10px; }
.log-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--navy);
  border: 2px solid var(--green);
}
.log-win .log-dot { border-color: var(--gold); background: var(--gold); }
.log-loss .log-dot { border-color: var(--red); background: var(--red); }
.log-model .log-dot { border-color: var(--cyan); }
.log-item time {
  display: block;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}
.log-item p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.rules-card {
  background: rgba(20, 32, 56, 0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.rules-card h3 { margin: 0 0 6px; color: #fff; font-size: 1.2rem; }
.rules-table { margin-top: 14px; font-size: 12.5px; }
.rules-table td, .rules-table th { border-color: var(--line) !important; vertical-align: top; }
.rules-table td:first-child { color: var(--muted); }

/* ------------------------------------------------------------- forum band */
.forum-band {
  margin-top: 60px;
  padding: 64px 0;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(255, 193, 7, 0.13), transparent 65%),
    linear-gradient(180deg, #101a2e, #0b1220);
  border-top: 1px solid rgba(255, 193, 7, 0.28);
  border-bottom: 1px solid rgba(255, 193, 7, 0.18);
}
.forum-band-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.forum-band h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; }
.forum-lede { color: var(--ink-2); max-width: 60ch; }
.forum-points { margin: 18px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; }
.forum-points li { margin-bottom: 6px; }
.forum-card {
  background: rgba(8, 14, 26, 0.9);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.forum-price-label {
  margin: 0 0 4px;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.forum-price { margin: 0; font-size: 2.1rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.forum-price small { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.forum-price-note { margin: 2px 0 18px; color: var(--muted); font-size: 13.5px; }
.forum-card .btn + .btn { margin-top: 10px; }
.forum-card .fine { margin-top: 16px; }

/* ------------------------------------------------------------------ about */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: center;
}
.about-mascot {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 40px rgba(0, 255, 136, 0.13));
}
.about-grid h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: #fff; }
.about-grid p { color: var(--ink-2); }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* -------------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; }
.faq-item {
  background: rgba(20, 32, 56, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green); font-family: var(--pixel); font-size: 11px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }

/* ----------------------------------------------------------------- footer */
.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: #080e19; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 46px;
  padding-bottom: 30px;
}
.footer-brand { max-width: 340px; }
.footer-mascot { width: 150px; height: auto; image-rendering: pixelated; margin-bottom: 10px; }
.footer-kicker { font-family: var(--pixel); font-size: 8px; color: var(--green); letter-spacing: 0.1em; margin: 0 0 10px; }
.footer-line { color: var(--ink-2); font-size: 14px; margin: 0 0 8px; }
.footer-small { color: #7f92ad; font-size: 12.5px; margin: 0; }
.footer-col h2 {
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 400;
}
.footer-col a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  color: #7f92ad;
  font-size: 12px;
}
.footer-legal { max-width: 560px; }

/* ----------------------------------------------------------------- forum */
.forum-shell { padding: 46px 24px 20px; }
.forum-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.forum-head h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; }
.forum-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.forum-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.forum-layout { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: start; }
.forum-side { position: sticky; top: 88px; }
.forum-side h2 { font-family: var(--pixel); font-size: 8px; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 10px; font-weight: 400; }
.forum-side a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.forum-side a:hover { background: rgba(0, 255, 136, 0.08); color: #fff; }
.forum-side a.active { background: rgba(0, 255, 136, 0.14); color: var(--green); }
.thread-list { display: grid; gap: 10px; }
.thread-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(20, 32, 56, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.thread-row:hover { border-color: rgba(0, 255, 136, 0.35); }
.thread-row h3 { margin: 0 0 3px; font-size: 1.02rem; }
.thread-row h3 a { color: #fff; text-decoration: none; }
.thread-meta { color: var(--muted); font-size: 12.5px; }
.thread-count { text-align: right; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.thread-count b { display: block; color: #fff; font-size: 1rem; }
.post-list { display: grid; gap: 14px; margin-top: 18px; }
.post {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  background: rgba(20, 32, 56, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.post-author strong { color: #fff; display: block; }
.post-author span { color: var(--muted); font-size: 12px; }
.post-body { color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.post-body a { color: var(--cyan); }
.post-foot { margin-top: 10px; display: flex; gap: 12px; align-items: center; }
.post-foot form { margin: 0; }
.linklike { background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; }
.linklike:hover { color: var(--red); }
.auth-card {
  max-width: 440px;
  margin: 48px auto;
  background: rgba(14, 22, 40, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.6rem; color: #fff; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.auth-card .divider { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-card .divider::before, .auth-card .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { display: block; color: #7f92ad; font-size: 12px; margin-top: 5px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.error-box { border: 1px solid rgba(255, 92, 122, 0.5); background: rgba(255, 92, 122, 0.08); color: #ffd2dc; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.notice-box { border: 1px solid rgba(255, 193, 7, 0.4); background: rgba(255, 193, 7, 0.07); color: #ffe6a8; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.ok-box { border: 1px solid rgba(0, 255, 136, 0.4); background: rgba(0, 255, 136, 0.07); color: #b9ffdc; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.gate-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan {
  border: 1px solid var(--line);
  background: rgba(20, 32, 56, 0.6);
  border-radius: 14px;
  padding: 20px;
}
.plan.featured { border-color: rgba(255, 193, 7, 0.5); background: rgba(255, 193, 7, 0.05); }
.plan h2 { margin: 0 0 6px; font-size: 1rem; color: #fff; }
.plan .amount { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 6px 0 2px; }
.plan .amount small { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.plan p { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.invoice-grid { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.qr-box { background: #fff; border-radius: 12px; padding: 12px; }
.qr-box img { width: 100%; height: auto; display: block; }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; overflow-wrap: anywhere; background: #0a1220; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--cyan); }
.status-line { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pill.pending { background: rgba(255, 193, 7, 0.14); color: var(--gold); border: 1px solid rgba(255, 193, 7, 0.35); }
.pill.paid { background: rgba(0, 255, 136, 0.14); color: var(--green); border: 1px solid rgba(0, 255, 136, 0.35); }
.pill.expired { background: rgba(255, 92, 122, 0.12); color: var(--red); border: 1px solid rgba(255, 92, 122, 0.35); }
.admin-table { width: 100%; font-size: 13px; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 600; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

/* -------------------------------------------------------------- 404, misc */
.notfound { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 60px 0 30px; }
.notfound img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.notfound h1 { font-family: var(--pixel); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.4; color: var(--green); margin: 0 0 14px; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(20, 32, 56, 0.55); }
.check .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: none; background: var(--green); }
.check.bad .dot { background: var(--red); }
.check strong { display: block; color: #fff; font-size: 14.5px; }
.check span { color: var(--muted); font-size: 13px; }
.is-up { color: var(--green) !important; }
.is-down { color: var(--red) !important; }
.badge-primary { color: #04120b; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1150px) {
  .site-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 1024px) {
  .mobile-menu { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bot-grid, .learning-grid, .forum-band-inner, .about-grid, .gate-grid, .notfound { grid-template-columns: 1fr; }
  .about-mascot { max-width: 300px; }
  .forum-layout { grid-template-columns: 1fr; }
  .forum-side { position: static; }
  .forum-side nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .invoice-grid { grid-template-columns: 1fr; }
  .qr-box { max-width: 260px; }
}

@media (max-width: 720px) {
  .shell { padding: 0 18px; }
  .hero-inner { padding: 64px 18px 62px; }
  .hero-art { background-image: url("/static/img/hero-mobile-900.jpg"); background-position: 72% 40%; opacity: 0.5; }
  .hero-live { border-radius: 14px; }
  .divider-strip { height: 64px; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 34px; }
  .stat { padding: 16px; }
  .stat-value { font-size: 1.35rem; }
  .section { padding-top: 56px; }
  .section-alt { padding: 48px 0; margin-top: 46px; }
  .bot-stats { grid-template-columns: 1fr 1fr; }
  .plan-grid, .status-grid { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; gap: 8px; }
  .thread-row { grid-template-columns: 1fr; }
  .thread-count { text-align: left; }
  .header-actions { gap: 2px; }
  .header-actions .btn { padding-left: 8px; padding-right: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .forum-shell { padding-top: 30px; }
  .chart-live { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
  * { transition: none !important; }
}

/* ------------------------------------------------- forum page components */
.rules-title { font-size: 1.05rem; margin: 0 0 8px; color: #fff; }
.rules-title.with-gap { margin-top: 26px; }
.forum-steps { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; }
.forum-steps li { margin-bottom: 8px; }
.passkey-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.passkey-list li { display: flex; justify-content: space-between; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.passkey-list strong { display: block; color: #fff; font-size: 14px; }
.recovery-codes {
  list-style: none;
  margin: 18px 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #0a1220;
  border: 1px dashed rgba(255, 193, 7, 0.45);
  border-radius: 12px;
}
.recovery-codes code { color: var(--gold); font-size: 13.5px; letter-spacing: 0.02em; }
.auth-card.wide { max-width: 640px; }
.invoice-amount { font-size: 2rem; font-weight: 800; margin: 4px 0 6px; }
.reply-card { margin-top: 18px; }
.gate-actions { margin-top: 16px; display: grid; gap: 8px; }
.gate-plans { margin-top: 8px; }
.invoice-help { margin-top: 24px; }
.security-grid { margin-top: 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- status */
.status-head { margin-top: 48px; margin-bottom: 16px; }
.events { list-style: none; margin: 0; padding: 0; }
.events li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.tag { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 4px; padding: 2px 6px; background: #1e293b; color: var(--muted); margin-right: 6px; }
.tag.trade { background: #0c2f26; color: var(--green); }
.tag.error { background: #3a1218; color: var(--red); }
.tag.warn { background: #3a2d0f; color: var(--gold); }

/* ------------------------------------------------------------- corrections */
.hero-inner { max-width: 660px; }
.hero-art::after {
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.98) 0%, rgba(11, 18, 32, 0.94) 44%, rgba(11, 18, 32, 0.5) 72%, rgba(11, 18, 32, 0.6) 100%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.5) 0%, rgba(11, 18, 32, 0) 30%, rgba(11, 18, 32, 0.95) 100%);
}
.lede { max-width: 49ch; font-size: 1.06rem; }
.brand-text { font-size: 11px; }
.brand-text span { font-size: 10px; }
.divider-strip { height: 64px; opacity: 0.78; }
.log-item time { font-size: 9px; letter-spacing: 0.02em; color: #8ba0bd; }
.rules-table td:nth-child(1) { width: 34%; }
.rules-table td:nth-child(2), .rules-table td:nth-child(3) { width: 33%; }
.about-mascot { max-width: 340px; justify-self: center; }
.section { padding-top: 72px; }
@media (max-width: 720px) {
  .divider-strip { height: 48px; }
  .hero-inner { padding-top: 52px; }
}
main { min-height: 62vh; }
.site-footer .divider-strip { height: 48px; opacity: 0.55; }
@media (max-width: 720px) { .site-footer .divider-strip { height: 40px; } }
.join > .input, .join > .btn { height: 3rem; }
.stepup-form { margin-top: 12px; }
.rule-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.forum-head > .btn { margin-left: auto; }
.post-body { max-width: 82ch; }
.post-author span { font-size: 12.5px; line-height: 1.45; }
.gate-plans .plan { display: flex; flex-direction: column; justify-content: space-between; }
.gate-actions .btn + .btn { margin-top: 0; }
.join > .btn { background: var(--navy-3); border: 1px solid var(--line); color: var(--ink); }
.join > .btn:hover { border-color: var(--green); }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
.brand { gap: 14px; }
.brand-text { font-size: 9px; line-height: 1.35; }
.brand-text span { font-size: 8px; }
@media (max-width: 480px) {
  .brand-text { font-size: 8px; }
  .brand-text span { font-size: 7px; }
}
@media (max-width: 440px) {
  .brand-text { display: none; }
  .brand { gap: 0; }
}

/* ------------------------------------------------------- wallet sign-in */
.wallet-soon {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 4px;
  background: rgba(20, 32, 56, 0.4);
}
.wallet-soon-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wallet-soon-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plan.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.35), 0 12px 30px rgba(0, 0, 0, 0.25);
}
.wallet-soon .btn { background: var(--navy-3); border: 1px solid var(--line); color: var(--ink); }
.wallet-soon .btn:hover { border-color: var(--green); }

/* ---------------------------------------------- Aether membership cards
   Forum membership only. Deep matte surface, prismatic top ribbon, halftone
   dots, editorial serif price and hairline buttons. Scoped to .plan so the
   rest of the page keeps its existing scheme. */
.plan {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(120, 160, 200, 0.22);
  background:
    radial-gradient(circle at 1px 1px, rgba(160, 190, 220, 0.11) 1px, transparent 1.7px) 0 0 / 14px 14px,
    linear-gradient(180deg, #080d16, #060a11);
  padding: 26px 22px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.plan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan) 48%, var(--gold));
  opacity: 0.9;
}
.plan::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -60%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1), transparent 65%);
  pointer-events: none;
}
.plan.featured {
  border-color: rgba(255, 193, 7, 0.45);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 193, 7, 0.09) 1px, transparent 1.7px) 0 0 / 14px 14px,
    linear-gradient(180deg, #0c0e14, #070a10);
  box-shadow: inset 0 1px 0 rgba(255, 193, 7, 0.12);
}
.plan.selected {
  border-color: rgba(0, 255, 136, 0.6);
  box-shadow: inset 0 1px 0 rgba(0, 255, 136, 0.14), 0 0 0 1px rgba(0, 255, 136, 0.12);
}
.plan h2 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan .amount {
  margin: 0 0 4px;
  white-space: nowrap;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.plan .amount small {
  display: inline;
  margin-left: 3px;
  font-family: var(--pixel);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.plan p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.plan .btn {
  min-height: 42px;
  white-space: nowrap;
  border-radius: 2px;
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.plan .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 193, 7, 0.55);
  color: var(--gold);
}
.plan .btn-secondary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1b1300;
}
.plan .btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 255, 136, 0.45);
  color: var(--green);
}
.plan .btn-outline:hover {
  background: var(--green);
  border-color: var(--green);
  color: #04140c;
}
.plan .btn:disabled {
  opacity: 0.4;
}
.plan .plan-xmr {
  margin: 0 0 10px;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.plan-rate {
  margin: 12px 2px 0;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ------------------------------------------------------- Aether sign-in */
.aether-auth {
  position: relative;
  overflow: hidden;
  max-width: 460px;
  margin: 48px auto;
  padding: 38px 32px 30px;
  border: 1px solid rgba(120, 160, 200, 0.22);
  border-radius: 3px;
  background:
    radial-gradient(circle at 1px 1px, rgba(160, 190, 220, 0.11) 1px, transparent 1.7px) 0 0 / 14px 14px,
    linear-gradient(180deg, #080d16, #060a11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.aether-auth::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan) 48%, var(--gold));
}
.aether-kicker {
  margin: 0 0 18px;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--green);
  text-transform: uppercase;
}
.aether-title {
  margin: 0 0 26px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
}
.aether-title span {
  display: block;
  margin-top: 12px;
  font-family: var(--pixel);
  font-style: normal;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.aether-oauth {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.aether-oauth + .aether-oauth { margin-top: 8px; }
.aether-oauth:hover {
  border-color: rgba(0, 255, 136, 0.55);
  background: rgba(0, 255, 136, 0.05);
  color: #fff;
}
.aether-oauth .icon { width: 22px; height: 22px; flex: none; }
.aether-oauth .wallet-logo { object-fit: contain; }
.aether-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-family: var(--pixel);
  font-size: 8px;
}
.aether-sep::before,
.aether-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.aether-label {
  display: block;
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.aether-email input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(4, 8, 14, 0.7);
  color: #fff;
  font-size: 15px;
  outline: none;
}
.aether-email input:focus { border-color: var(--cyan); }
.aether-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border: 1px solid rgba(0, 255, 136, 0.5);
  border-radius: 2px;
  background: transparent;
  color: var(--green);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.aether-submit:hover { background: var(--green); border-color: var(--green); color: #04140c; }
.aether-submit .icon { width: 16px; height: 16px; }
.aether-link {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.aether-link:hover { color: #fff; }
.aether-help { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.aether-help a { color: var(--green); }
.aether-auth .form-note { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.aether-auth .error-box {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 92, 122, 0.4);
  border-radius: 2px;
  background: rgba(255, 92, 122, 0.08);
  color: #ffd2dc;
  font-size: 13px;
}
@media (max-width: 480px) {
  .aether-auth { margin: 26px auto; padding: 28px 18px 24px; }
}
.aether-email input + .aether-label { margin-top: 14px; }
a.aether-submit { text-decoration: none; }
.aether-auth code { color: var(--gold); font-size: 12px; }

/* ------------------------------------------------------------- bot pages */
.back-link { display: inline-block; margin: 24px 0 8px; color: var(--muted); font-family: var(--pixel); font-size: 8px; letter-spacing: 0.05em; text-decoration: none; }
.bot-hero { position: relative; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.bot-hero-v1 { background-image: url("/static/img/banner-v1.jpg"); }
.bot-hero-v2 { background-image: url("/static/img/banner-v2.jpg"); }
.bot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.97), rgba(11, 18, 32, 0.82) 55%, rgba(11, 18, 32, 0.45)), linear-gradient(180deg, rgba(11, 18, 32, 0.4), rgba(11, 18, 32, 0.96));
}
.bot-hero-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 76px 24px 64px; align-items: end; }
.bot-hero-copy { max-width: 680px; }
.bot-hero-head { display: flex; gap: 18px; align-items: center; margin: 12px 0 16px; }
.bot-hero-avatar { border-radius: 10px; border: 1px solid rgba(0, 255, 136, 0.35); image-rendering: pixelated; background: #0d1729; flex: none; }
.bot-hero h1 { margin: 0; color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
.bot-hero-meta { margin: 6px 0 0; color: var(--muted); font-family: var(--pixel); font-size: 8px; letter-spacing: 0.03em; }
.bot-follow-note { margin-top: 14px; color: var(--muted); font-size: 13px; max-width: 62ch; }
.bot-hero-side { align-self: end; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(7, 13, 24, 0.78); border-radius: 2px; }
.bot-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.15); margin-right: 6px; }
.bot-hero-price { font-size: 1.2rem; color: #fff; font-variant-numeric: tabular-nums; }
.bot-stat-band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-top: 26px; }
.bot-stat { border: 1px solid var(--line); border-radius: 2px; padding: 14px; background: rgba(20, 32, 56, 0.5); }
.bot-stat span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.bot-stat strong { display: block; margin-top: 6px; color: #fff; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.bot-stat small { color: var(--muted); font-size: 0.7rem; }
.bot-chart { width: 100%; height: 360px; }
.bot-two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
.bot-rules td:first-child { width: 45%; color: var(--muted); text-transform: capitalize; }
.bot-decisions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bot-decisions li { border-bottom: 1px solid var(--line); padding-bottom: 8px; color: var(--ink-2); font-size: 14px; }
.follow-band { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 26px; align-items: start; }
.follow-copy p { color: var(--ink-2); }
.follow-reasons { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.follow-prices { border: 1px solid var(--line); background: rgba(8, 13, 22, 0.8); padding: 20px; border-radius: 2px; }
.follow-price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--pixel); font-size: 9px; color: var(--muted); }
.follow-price-row strong { color: var(--gold); }
.follow-prices .btn { margin-top: 14px; }
.risk-note { margin-top: 18px; }
.follow-hero { display: flex; gap: 18px; align-items: center; margin: 26px 0; }
.follow-hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.follow-layout { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 26px; align-items: start; }
.follow-aside { display: grid; gap: 16px; }
.follow-how { margin-top: 20px; }
.follow-plan-grid { margin-top: 4px; }
.live-head { margin-top: 26px; }
.live-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.live-card { border: 1px solid var(--line); background: rgba(20, 32, 56, 0.5); padding: 14px; border-radius: 2px; }
.live-card span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.live-card strong { display: block; margin-top: 6px; color: #fff; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.live-section { margin-top: 20px; }
.live-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 1024px) {
  .bot-hero-inner, .bot-two-col, .follow-band, .follow-layout, .live-two-col { grid-template-columns: 1fr; }
  .bot-stat-band, .live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bot-hero-side { align-self: start; }
}
@media (max-width: 640px) {
  .bot-stat-band, .live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bot-hero-inner { padding: 52px 18px; }
  .bot-hero-head { align-items: flex-start; }
  .follow-hero { flex-direction: column; align-items: flex-start; }
  .bot-chart { height: 300px; }
  .follow-plan-grid { grid-template-columns: 1fr; }
}
.chart-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 2px 2px 14px; }
.chart-focus {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--pixel);
  font-size: 8px;
  padding: 8px 11px;
  border-radius: 2px;
  cursor: pointer;
}
.chart-focus.is-active { border-color: var(--green); color: var(--green); }

/* ---------------------------------------------------------- auto-trade */
.auto-page { padding-bottom: 40px; }
.auto-head { margin-top: 26px; }
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.auto-connect { margin-top: 10px; }
.auto-list { display: grid; gap: 10px; }
.auto-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.auto-row:last-child { border-bottom: 0; }
.auto-dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.auto-dl dt { color: var(--muted); }
.auto-dl dd { margin: 0; overflow-wrap: anywhere; }
.auto-qr { margin-top: 16px; padding: 10px; display: inline-block; background: #fff; border-radius: 4px; }
.auto-qr img { display: block; }
.auto-revoke { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.auto-radio { display: flex; gap: 18px; padding: 4px 0; color: var(--ink-2); }
.auto-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auto-fields label, .auto-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.auto-form { display: grid; gap: 12px; margin-top: 12px; align-items: stretch; }
.auto-form .input, .auto-form .select { width: 100%; }
.check-line { display: flex !important; grid-template-columns: none !important; gap: 8px !important; align-items: flex-start; color: var(--ink-2) !important; font-size: 13px; }
.check-line input { margin-top: 3px; }
.notice-box { border: 1px solid rgba(251, 191, 36, 0.5); background: rgba(251, 191, 36, 0.08); color: #fcd34d; padding: 12px 14px; border-radius: 2px; margin: 14px 0; font-size: 14px; }
.auto-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.auto-stat { border: 1px solid var(--line); background: rgba(20, 32, 56, 0.5); padding: 12px; border-radius: 2px; }
.auto-stat span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.auto-stat strong { display: block; margin-top: 5px; color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.auto-follow-list { display: flex; flex-wrap: wrap; gap: 10px; }
.auto-follow-list a { border: 1px solid var(--line); padding: 10px 12px; border-radius: 2px; text-decoration: none; color: var(--ink); }
.auto-follow-list a:hover { border-color: var(--green); }
.auto-follows { margin-bottom: 24px; }
.key-card { max-width: 760px; margin-top: 20px; }
.key-title { margin-top: 26px; }
.key-value { padding: 12px; border: 1px solid var(--line); background: #070d18; border-radius: 2px; overflow-wrap: anywhere; font-size: 12.5px; }
.key-secret { color: #fcd34d; }
.key-card .btn { margin-top: 10px; }
@media (max-width: 1024px) {
  .auto-grid { grid-template-columns: 1fr; }
  .auto-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .auto-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-fields { grid-template-columns: 1fr; }
  .auto-dl { grid-template-columns: 110px 1fr; }
}

/* --------------------------------------------------------------- MCP/API */
.mcp-page { padding-bottom: 40px; }
.mcp-hero { padding: 64px 0 30px; max-width: 860px; }
.mcp-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.98; margin: 14px 0 18px; color: #fff; letter-spacing: -0.03em; }
.mcp-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.mcp-band span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.mcp-band strong { display: block; margin-top: 6px; color: #fff; font-size: 13px; overflow-wrap: anywhere; }
.mcp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mcp-code { background: #070d18; border: 1px solid var(--line); padding: 16px; border-radius: 2px; overflow-x: auto; color: #a7f3d0; font-size: 12.5px; line-height: 1.55; }
.mcp-table td { vertical-align: top; }
.mcp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mcp-plan { border: 1px solid var(--line); background: rgba(20, 32, 56, 0.55); padding: 20px; border-radius: 2px; display: flex; flex-direction: column; gap: 10px; }
.mcp-plan.free { border-color: rgba(0, 255, 136, 0.35); }
.mcp-plan h3 { margin: 0; color: #fff; font-size: 2rem; }
.mcp-plan h3 small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.mcp-plan p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.mcp-calls { color: var(--green) !important; font-family: var(--pixel); font-size: 9px !important; letter-spacing: 0.04em; }
.mcp-plan .btn { margin-top: auto; }
.mcp-note { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mcp-plan-list { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 8px; }
.usage-bar { width: 160px; height: 7px; appearance: none; border: 0; background: #1e2b42; border-radius: 4px; display: block; margin-bottom: 4px; }
.usage-bar::-webkit-progress-bar { background: #1e2b42; border-radius: 4px; }
.usage-bar::-webkit-progress-value { background: var(--green); border-radius: 4px; }
.usage-bar::-moz-progress-bar { background: var(--green); border-radius: 4px; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin-right: 6px; }
@media (max-width: 1024px) {
  .mcp-band, .mcp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcp-grid, .mcp-note { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mcp-band, .mcp-plans { grid-template-columns: 1fr; }
  .mcp-hero { padding-top: 42px; }
  .usage-bar { width: 120px; }
}
.mcp-grid > *, .mcp-note > * { min-width: 0; }
.mcp-code { max-width: 100%; white-space: pre-wrap; word-break: break-word; }
.auto-step-title { margin: 18px 0 8px; color: #fff; font-size: 1rem; }
.auto-install { margin: 18px 0; }
.auto-install .mcp-code { font-size: 11.5px; }
.bot-two-col > *, .follow-band > *, .follow-layout > * { min-width: 0; }
@media (max-width: 640px) {
  .bot-rules { table-layout: fixed; width: 100%; }
  .bot-rules td { overflow-wrap: anywhere; }
}
.aether-link, .back-link { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 8px; }
.mobile-menu a { min-height: 44px; display: flex; align-items: center; }
.mobile-menu summary { min-height: 44px; min-width: 44px; }
@media (max-width: 1024px) {
  .site-header .btn-sm { min-height: 44px; }
  .chart-focus { min-height: 40px; }
}
.legal-page { padding: 48px 0 80px; max-width: 860px; }
.legal-page h1 { margin: 10px 0 8px; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.legal-page h2 { margin: 30px 0 8px; color: #fff; font-size: 1.15rem; }
.legal-page p { color: var(--ink-2); line-height: 1.7; max-width: 74ch; }
.legal-page .fine { color: var(--muted); }
@media (max-width: 640px) { .legal-page { padding: 34px 18px 60px; } }

/* --- NFT Arbitrage watch form: compact strip, dark site palette -----------
   Structure follows design.kituwa.com's form pattern (auto-fit field rows,
   mono uppercase labels, 34px controls), but the colours come from this site's
   own variables in :root above -- navy/ink/line/muted/green -- so the strip sits
   in the dark theme instead of punching a light hole in it. Scoped to
   .watch-form so nothing else on the site inherits it. */
.watch-form {
  --wf-ink: #E6EEF9;
  --wf-panel: #0E1729;
  --wf-field: #0A1018;
  --wf-label: #93A5BF;
  --wf-note: #7C8CA6;
  --wf-line: #1E2C46;
  --wf-line-strong: #26385A;
  --wf-accent: #00FF88;
  --wf-accent-dark: #00D673;
  --wf-accent-ink: #04140A;
  --wf-mono: "JetBrains Mono", ui-monospace, monospace;
  margin: 18px 0 0;
  padding: 14px 16px 13px;
  background: var(--wf-panel);
  border: 1px solid var(--wf-line);
  border-radius: 10px;
}
.watch-form .wf-row {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  align-items: end;
}
.watch-form .wf-row + .wf-row { margin-top: 10px; }
.watch-form .wf-field { display: grid; gap: 4px; min-width: 0; }
.watch-form .wf-field > span {
  font-family: var(--wf-mono);
  font-size: 8.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--wf-label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watch-form .wf-field > span em { font-style: normal; color: #5E7396; }
.watch-form input,
.watch-form select {
  width: 100%;
  height: 34px;
  box-sizing: border-box;
  font: inherit;
  font-size: 12.5px;
  color: var(--wf-ink);
  background: var(--wf-field);
  border: 1px solid var(--wf-line-strong);
  border-radius: 8px;
  padding: 0 9px;
  color-scheme: dark;
}
.watch-form input::placeholder { color: #5E7396; }
.watch-form select option { background: #0E1729; color: var(--wf-ink); }
.watch-form input:focus,
.watch-form select:focus {
  outline: 2px solid rgba(0, 255, 136, .35);
  outline-offset: 1px;
  border-color: var(--wf-accent);
}
.watch-form .wf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 11px;
}
.watch-form .wf-actions button {
  flex: 0 0 auto;
  height: 34px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--wf-accent-ink);
  background: var(--wf-accent);
  border: 1px solid var(--wf-accent);
  border-radius: 8px;
  padding: 0 15px;
  cursor: pointer;
}
.watch-form .wf-actions button:hover { background: var(--wf-accent-dark); border-color: var(--wf-accent-dark); }
.watch-form .wf-actions button:focus-visible { outline: 2px solid var(--wf-ink); outline-offset: 2px; }
.watch-form .wf-note {
  margin: 0;
  flex: 1 1 240px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--wf-note);
}
