:root {
  --bg: #f3f5f8;
  --bg-2: #eceff3;
  --panel: linear-gradient(165deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.18) 100%);
  --text: #161b22;
  --text-2: #3a4452;
  --muted: #6a7380;
  --blue: #1677ff;
  --blue-2: #0d6efd;
  --cyan: #1567b8;
  --line: rgba(150, 165, 185, 0.32);
  --line-strong: rgba(130, 155, 185, 0.4);
  --up: #0a9f5c;
  --down: #e11d48;
  --warn: #c47b00;
  --glow: 0 12px 32px rgba(130, 145, 165, 0.1), 0 0 22px rgba(120, 180, 255, 0.1);
  --blue-glow: 0 4px 14px rgba(22, 119, 255, 0.18);
  --cyan-glow: 0 0 16px rgba(90, 180, 255, 0.2);
  --frost: blur(22px) saturate(1.35);
  --glass-edge: 0 0 0 1px rgba(180, 195, 215, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(170, 190, 215, 0.16);
  --read: 0 1px 0 rgba(255, 255, 255, 0.85);
  --radius: 16px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", "Menlo", "Consolas", "Roboto Mono", ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Bright white/silver sky + faint city. No busy full-bleed backdrop. */
.scene {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f5f8 42%, #e8ecf1 100%);
}
.scene-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 8%, rgba(255,255,255,1), transparent 62%),
    radial-gradient(ellipse 36% 22% at 78% 18%, rgba(230, 236, 244, 0.7), transparent 70%);
}
.scene-floor {
  position: absolute;
  left: -40%;
  width: 180%;
  top: 28%;
  height: 130%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(170, 180, 195, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 180, 195, 0.3) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(760px) rotateX(58deg) scale(1.04);
  transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 48%, transparent 86%);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 48%, transparent 86%);
  filter: none;
}
.scene-haze {
  position: absolute;
  left: -15%;
  right: -15%;
  top: 16%;
  height: 300px;
  background:
    radial-gradient(ellipse 58% 46% at 46% 62%, rgba(90, 175, 255, 0.42), transparent 70%),
    radial-gradient(ellipse 42% 36% at 64% 50%, rgba(150, 210, 255, 0.3), transparent 72%);
  filter: blur(28px);
  opacity: 0.8;
  transform: rotate(-7deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 78%, transparent);
}
.scene-streaks {
  position: absolute;
  left: 0; right: 0; top: 6%;
  height: 210px;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201400%20200%22%20preserveAspectRatio%3D%22xMidYMax%20meet%22%3E%3Cg%20fill%3D%22%23c5ced8%22%3E%3Crect%20x%3D%2216%22%20y%3D%22100%22%20width%3D%2224%22%20height%3D%22100%22/%3E%3Crect%20x%3D%2244%22%20y%3D%2262%22%20width%3D%2218%22%20height%3D%22138%22/%3E%3Crect%20x%3D%2266%22%20y%3D%2284%22%20width%3D%2232%22%20height%3D%22116%22/%3E%3Crect%20x%3D%22104%22%20y%3D%2240%22%20width%3D%2214%22%20height%3D%22160%22/%3E%3Crect%20x%3D%22122%22%20y%3D%2272%22%20width%3D%2226%22%20height%3D%22128%22/%3E%3Crect%20x%3D%22198%22%20y%3D%2290%22%20width%3D%2220%22%20height%3D%22110%22/%3E%3Crect%20x%3D%22222%22%20y%3D%2236%22%20width%3D%2216%22%20height%3D%22164%22/%3E%3Crect%20x%3D%22242%22%20y%3D%2266%22%20width%3D%2230%22%20height%3D%22134%22/%3E%3Crect%20x%3D%22278%22%20y%3D%2296%22%20width%3D%2216%22%20height%3D%22104%22/%3E%3Crect%20x%3D%22370%22%20y%3D%2278%22%20width%3D%2224%22%20height%3D%22122%22/%3E%3Crect%20x%3D%22400%22%20y%3D%2222%22%20width%3D%2218%22%20height%3D%22178%22/%3E%3Crect%20x%3D%22422%22%20y%3D%2258%22%20width%3D%2236%22%20height%3D%22142%22/%3E%3Crect%20x%3D%22462%22%20y%3D%2288%22%20width%3D%2216%22%20height%3D%22112%22/%3E%3Crect%20x%3D%22548%22%20y%3D%2254%22%20width%3D%2222%22%20height%3D%22146%22/%3E%3Crect%20x%3D%22574%22%20y%3D%2218%22%20width%3D%2214%22%20height%3D%22182%22/%3E%3Crect%20x%3D%22592%22%20y%3D%2270%22%20width%3D%2232%22%20height%3D%22130%22/%3E%3Crect%20x%3D%22630%22%20y%3D%2294%22%20width%3D%2218%22%20height%3D%22106%22/%3E%3Crect%20x%3D%22728%22%20y%3D%2246%22%20width%3D%2216%22%20height%3D%22154%22/%3E%3Crect%20x%3D%22748%22%20y%3D%2264%22%20width%3D%2234%22%20height%3D%22136%22/%3E%3Crect%20x%3D%22788%22%20y%3D%2286%22%20width%3D%2216%22%20height%3D%22114%22/%3E%3Crect%20x%3D%22886%22%20y%3D%2258%22%20width%3D%2222%22%20height%3D%22142%22/%3E%3Crect%20x%3D%22912%22%20y%3D%2216%22%20width%3D%2216%22%20height%3D%22184%22/%3E%3Crect%20x%3D%22932%22%20y%3D%2274%22%20width%3D%2228%22%20height%3D%22126%22/%3E%3Crect%20x%3D%221026%22%20y%3D%2280%22%20width%3D%2220%22%20height%3D%22120%22/%3E%3Crect%20x%3D%221050%22%20y%3D%2244%22%20width%3D%2232%22%20height%3D%22156%22/%3E%3Crect%20x%3D%221088%22%20y%3D%2292%22%20width%3D%2216%22%20height%3D%22108%22/%3E%3Crect%20x%3D%221186%22%20y%3D%2266%22%20width%3D%2222%22%20height%3D%22134%22/%3E%3Crect%20x%3D%221212%22%20y%3D%2234%22%20width%3D%2216%22%20height%3D%22166%22/%3E%3Crect%20x%3D%221232%22%20y%3D%2282%22%20width%3D%2228%22%20height%3D%22118%22/%3E%3C/g%3E%3Cg%20fill%3D%22%233b9eff%22%3E%3Crect%20x%3D%22406%22%20y%3D%2222%22%20width%3D%225%22%20height%3D%22178%22/%3E%3Crect%20x%3D%22916%22%20y%3D%2216%22%20width%3D%224%22%20height%3D%22184%22/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 120% 180px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 88%, transparent);
}

.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32));
  border-bottom: 1px solid rgba(220, 226, 234, 0.85);
  box-shadow: 0 8px 24px rgba(140, 150, 165, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 10px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), var(--blue-glow);
  flex-shrink: 0;
}
.brand-name { display: block; font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; color: var(--text); }
.brand-name .dot { color: var(--cyan); }
.brand-sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }

.nav {
  display: flex; gap: 4px; flex-wrap: wrap; flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
.nav a {
  color: var(--text-2); text-decoration: none;
  font-size: 13px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid transparent;
}
.nav a:hover {
  color: var(--text);
  border-color: rgba(22, 119, 255, 0.35);
  background: rgba(230, 242, 255, 0.9);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.nav a.active,
.nav a.active:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1a6dff, #0e4fd6);
  box-shadow: 0 0 14px rgba(47, 128, 255, 0.28);
}

.topbar-meta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.clock { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--cyan);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px; padding: 4px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.live-pill.down { color: var(--down); border-color: rgba(255, 93, 115, 0.5); box-shadow: none; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(92, 225, 255, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
.live-pill.down .pulse { background: var(--down); animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92, 225, 255, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(92, 225, 255, 0); }
}

.shell { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 22px 20px 8px; }

.hero { margin: 18px 0 36px; }
.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  font-size: 11px; font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: var(--read);
}
.hero h1 .hl,
.hl {
  color: var(--cyan);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-weight: 800;
  text-shadow: var(--read);
}
.hero-lead { margin: 0; max-width: 46em; color: var(--text-2); font-size: 16px; }

.section { margin: 36px 0 48px; scroll-margin-top: var(--nav-offset, 84px); }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.sec-head h2 { margin: 0; font-size: 20px; letter-spacing: 0.02em; color: var(--text); text-shadow: var(--read); }
.note, .muted, .tiny { color: var(--muted); }
.tiny { font-size: 12px; }

.panel, .hud, .account, .faq, .stat-card {
  background: var(--panel);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--glow), var(--glass-edge);
}

.leader-grid, .stats-grid, .faq-list { display: grid; gap: 16px; }
.leader-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.hud { padding: 16px 16px 12px; position: relative; overflow: hidden; }
.hud::before {
  content: "";
  position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, #1677ff, #5ec8ff);
  box-shadow: 0 0 8px rgba(80, 190, 255, 0.25);
}
.hud-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.hud-name, .acct-name {
  margin: 0; font-size: 18px; font-weight: 800;
  color: var(--text);
  text-shadow: var(--read);
}
.hud-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hud-foot {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  margin-top: 10px; font-size: 13px;
}
.hud-foot a { color: var(--cyan); text-decoration: none; font-weight: 700; }
.hud-foot-links { display: inline-flex; align-items: baseline; gap: 0; flex-wrap: wrap; }
.hud-foot-links .title-site { margin-left: 0.4em; }
.book-tabs .title-site { margin-left: 0.45em; font-size: 12px; }

.badge {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  border-radius: 999px; padding: 3px 9px;
  border: 1px solid var(--line-strong);
  color: var(--cyan); background: rgba(22, 119, 255, 0.08);
}
.badge.paused { color: var(--warn); border-color: rgba(255, 177, 74, 0.45); background: rgba(255, 177, 74, 0.12); }
.badge.delayed { color: var(--warn); border-color: rgba(255, 177, 74, 0.45); background: rgba(255, 177, 74, 0.12); }
.badge.error { color: var(--down); border-color: rgba(255, 93, 115, 0.45); background: rgba(255, 93, 115, 0.12); }
.paused-banner {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 177, 74, 0.1);
  border: 1px solid rgba(255, 177, 74, 0.35);
  color: var(--warn);
  font-size: 13px;
}

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; align-items: stretch; }
.kpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.kpi .k { display: block; font-size: 11px; color: var(--muted); }
.kpi .v {
  display: block;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 16px;
  margin-top: 2px;
  color: var(--text);
}
.accent-num {
  color: var(--cyan) !important;
  text-shadow: none;
  font-weight: 800;
}

.kpi-follow {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}
.kpis > .kpi-follow:only-child { grid-column: 1 / -1; }
.kpi-follow-qr-link {
  display: flex;
  flex: 0 0 auto;
  line-height: 0;
}
.kpi-follow-qr {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
  display: block;
}
.kpi-follow-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.kpi-follow-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.kpi-follow-cue {
  font-size: 12px;
  color: var(--muted);
}
.kpi-follow-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  margin-top: 3px;
}
.kpi-follow-link:hover { text-decoration: underline; }
.kpi-follow .title-site {
  margin: 2px 0 0;
  margin-left: 0;
  font-size: 11px;
  font-weight: 650;
  opacity: 0.8;
  display: inline-block;
}

.up { color: var(--up) !important; text-shadow: none; }
.down { color: var(--down) !important; text-shadow: none; }

.pos-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pos-table th, .pos-table td {
  text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.pos-table th { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.pos-table td.mono, .pos-table .mono { font-family: var(--mono); }
.liq-cell { white-space: nowrap; }
.liq-est {
  margin-left: 2px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.pos-liq-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.empty { text-align: center !important; color: var(--muted); padding: 16px !important; }

.side {
  display: inline-block; min-width: 28px; text-align: center;
  font-weight: 800; font-size: 12px;
  border-radius: 6px; padding: 1px 6px;
}
.side.LONG { color: var(--up); background: rgba(61, 255, 154, 0.12); }
.side.SHORT { color: var(--down); background: rgba(255, 93, 115, 0.12); }

.callout {
  padding: 12px 14px; margin: 0 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 119, 255, 0.07);
  color: var(--text);
  font-size: 14px;
}

.account-list { display: grid; gap: 12px; }
.account {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px;
}
.account .qr {
  width: 120px; height: 120px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  image-rendering: pixelated;
}
.account h3, .acct-name { margin: 0 0 10px; font-size: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; color: var(--text-2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 2px 8px;
}
.account .tag {
  font-size: 14px;
  padding: 4px 10px;
  line-height: 1.45;
}
.account .name-accent { font-size: inherit; }
.account .card-site { font-size: 13px; }
.tag.secret { border-color: rgba(92, 225, 255, 0.5); }
.name-accent {
  color: var(--cyan);
  font-weight: 800;
  text-shadow: none;
}
.acct-actions { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }

.rebate-panel { padding: 18px 20px; }
.rebate-title { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.rebate-example { margin: 0 0 16px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.step:first-of-type { border-top: 0; }
.step h4 { margin: 0 0 4px; color: var(--text); }
.step p { margin: 0; color: var(--text-2); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 800;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  background: rgba(22, 119, 255, 0.08);
  white-space: nowrap;
}
.step.prefer {
  background: linear-gradient(90deg, rgba(22,119,255,0.14), transparent 70%);
  margin: 0 -20px; padding-left: 20px; padding-right: 20px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.warn { color: var(--warn); font-weight: 700; margin: 12px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 14px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  font-weight: 700; font-size: 14px; text-decoration: none;
  cursor: pointer; color: var(--text);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #3b9eff);
  border-color: rgba(160, 220, 255, 0.35);
  box-shadow: var(--blue-glow);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-copy {
  background: rgba(0, 180, 216, 0.14);
  border-color: rgba(92, 225, 255, 0.45);
  color: var(--cyan);
  font-weight: 800;
}
.btn-copy.ok { color: var(--up); border-color: rgba(61, 255, 154, 0.5); }
.btn-lg { min-height: 48px; padding: 10px 22px; font-size: 16px; }

.group-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px;
}
.group-no {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800; letter-spacing: 0.12em;
  margin: 6px 0; color: var(--cyan);
  text-shadow: none;
}

.stat-card { padding: 16px; }
.stat-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--text); }
.stat-rows { display: grid; gap: 8px; }
.stat-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.stat-row span:first-child { color: var(--muted); }
.subhead { margin: 0 0 8px; font-size: 15px; color: var(--text); }

.faq-list { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .faq-list { grid-template-columns: 1fr 1fr; }
}
.faq { padding: 16px 18px; }
.faq h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.faq p { margin: 0; color: var(--text-2); }

.back { color: var(--cyan); text-decoration: none; font-size: 13px; display: inline-block; margin-bottom: 14px; font-weight: 700; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.detail-head h1 { color: var(--text); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 160px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.timeline .kind { font-weight: 800; font-size: 13px; }
.kind-open, .kind-add { color: var(--up); }
.kind-close, .kind-reduce { color: var(--down); }

.foot { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 8px 20px 40px; }
.risk { color: var(--muted); font-size: 12px; line-height: 1.6; }
.foot-meta { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 80;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glow), var(--glass-edge);
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
}

.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 800px) {
  .nav { flex-basis: 100%; }
  .account { grid-template-columns: 110px 1fr; }
  .acct-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .account .qr { width: 110px; height: 110px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi-follow { grid-column: 1 / -1; }
  .kpi-follow-qr { width: 72px; height: 72px; flex-basis: 72px; }
  .topbar-meta { width: 100%; margin-left: 0; }
  .scene-floor { opacity: 0.32; }
  .scene-haze { opacity: 0.55; filter: blur(16px); }
}
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .step { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}



.hist-panel { padding: 14px 14px 8px; }
.hist-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.hist-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  color: var(--text-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(47, 128, 255, 0.08);
}
.hist-tab:hover {
  color: var(--text);
  border-color: rgba(22, 119, 255, 0.35);
  background: rgba(230, 242, 255, 0.9);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.hist-tab.is-active,
.hist-tab.is-active:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1a6dff, #0e4fd6);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.35);
}
.hist-tab.is-active .tab-count,
.hist-tab.is-active:hover .tab-count { color: rgba(255, 255, 255, 0.9); }
.hist-tab .tab-count {
  margin-left: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 700;
}
@media (max-width: 800px) {
  .hist-tabs { gap: 6px; }
  .hist-tab { padding: 6px 10px; font-size: 12px; }
  #hist-table th, #hist-table td { white-space: nowrap; }
}

/* Featured 熬鹰 + compact groups */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.86fr);
  gap: 16px;
  align-items: start;
}
.feature-row, #featured-slot, .group-side, .hud, .scroll {
  min-width: 0;
  max-width: 100%;
}
.hud.featured {
  padding: 20px 20px 14px;
  box-shadow: var(--glow), var(--glass-edge), 0 0 28px rgba(80, 180, 230, 0.16);
}
.hud.featured .hud-name { font-size: 28px; }
.hud.featured .kpis .v { font-size: 18px; }
.kpis-stats { margin-top: 0; }
.hud-top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-xs { padding: 4px 10px; font-size: 12px; min-height: 0; }
.btn-share {
  white-space: nowrap;
  padding: 5px 12px;
  font-size: 12px;
}

.leader-grid.others { grid-template-columns: 1fr 1fr; }
.leader-grid.others .hud { padding: 14px 14px 10px; }
.leader-grid.others .hud-name { font-size: 16px; }

.group-side { min-width: 0; }
.side-title {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text);
}
.side-note { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.group-side .group-panel.compact + .side-note { margin-top: 2px; }
.group-side .ding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 10px;
}
.ding-card {
  padding: 10px 10px 12px;
  text-align: center;
}
.ding-card h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.ding-card .ding-desc {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}
.ding-card .ding-qr {
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: block;
}
.ding-card .ding-hint {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}
.ding-card .ding-valid {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--muted);
}
.ding-card .btn { width: 100%; justify-content: center; padding: 6px 8px; font-size: 12px; }
.group-panel.compact {
  display: block;
  padding: 12px;
  margin: 0 0 12px;
  text-align: center;
}
.group-panel.compact .group-no { margin: 4px 0; font-size: 22px; }
.group-panel.compact .btn { width: 100%; margin-top: 8px; }

.site-suffix {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.site-suffix a, a.site-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}
.account .site-suffix { margin-top: 8px; }
.ding-card .site-suffix { margin-top: 6px; }
.hud .site-suffix { margin-top: 6px; }

.closes {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding: 8px 0 0;
  background: transparent;
}
.closes-head, .book-tabs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  padding: 2px 2px 8px;
  text-shadow: var(--read);
}
.book-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  color: var(--text-2);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.book-tab .hist-count { margin-left: 4px; }
.book-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1a6dff, #0e4fd6);
  box-shadow: 0 0 14px rgba(47, 128, 255, 0.3);
}
.book-tab.is-active .hist-count { color: rgba(255,255,255,0.85); }
.book-tab:hover {
  color: var(--text);
  border-color: rgba(22, 119, 255, 0.35);
  background: rgba(230, 242, 255, 0.9);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.book-tab.is-active,
.book-tab.is-active:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1a6dff, #0e4fd6);
  box-shadow: 0 0 14px rgba(47, 128, 255, 0.3);
}
.book-tab.is-active:hover .hist-count { color: rgba(255, 255, 255, 0.85); }
.hist-label { font-weight: 800; }
.hist-count {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
.hist-empty, .closes .empty {
  text-align: left !important;
  padding: 10px 2px 12px !important;
  color: var(--muted);
}
.close-table { font-size: 12px; min-width: 100%; }
.close-table th, .close-table td { padding: 6px 6px; white-space: nowrap; }
.close-table th:nth-child(5),
.close-table td:nth-child(5),
.close-table th:nth-child(6),
.close-table td:nth-child(6) { font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .close-table { font-size: 11px; }
  .close-table th, .close-table td { padding: 6px 4px; }
  .book-body .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trade-table { font-size: 11px; }
  .trade-table th, .trade-table td { padding: 6px 3px; }
}

.anchor { scroll-margin-top: var(--nav-offset, 84px); height: 0; }
#group, #monitor, #others { scroll-margin-top: var(--nav-offset, 84px); }

@media (max-width: 980px) {
  .feature-row { grid-template-columns: 1fr; }
  .group-side .ding-grid { grid-template-columns: 1fr 1fr; }
  .ding-card .ding-qr { width: 124px; height: 124px; }
  .leader-grid.others { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .btn-share { width: auto; }
  .hud.featured .hud-name { font-size: 22px; }
}
@media (max-width: 520px) {
  .group-side .ding-grid { grid-template-columns: 1fr 1fr; }
  .ding-card .ding-qr { width: 110px; height: 110px; }
}

/* Title suffix: immediately to the right of headings, muted link */
.title-site {
  margin-left: 0.45em;
  font-size: 0.62em;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--cyan);
  text-decoration: none;
  vertical-align: middle;
  opacity: 0.9;
  text-shadow: none;
  white-space: nowrap;
  text-transform: none;
}
h1 .title-site { font-size: 16px; font-weight: 650; }
.sec-head h2 .title-site,
.hud-name .title-site,
.side-title .title-site,
.rebate-title .title-site,
.stat-card h3 .title-site,
.brand-sub .title-site,
.eyebrow .title-site {
  font-weight: 650;
}
.brand-sub .title-site { font-size: 11px; margin-left: 0.35em; }
.title-site:hover { text-decoration: underline; opacity: 1; }

/* QR / group cards: URL centered at the bottom */
.card-site {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.card-site a {
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.9;
}
.card-site a:hover { text-decoration: underline; }
.account {
  position: relative;
}
.account .card-site {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.ding-card .card-site,
.group-panel .card-site { margin-top: 10px; }

/* Small corner watermark on monitor / stats / FAQ / list cards */
.wm, .panel.has-wm { position: relative; }
.hud, .stat-card, .faq, .panel.has-wm { position: relative; }
.wm {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  font-weight: 600;
}
.hud .wm { bottom: 10px; right: 12px; }
.hud-foot { padding-right: 88px; }
.stat-card { padding-bottom: 22px; }
.faq { padding-bottom: 22px; }
.panel.has-wm { padding-bottom: 26px; }

/* Trader tab chips */
.trader-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.trader-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: var(--text-2);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.trader-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1a6dff, #0e4fd6);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.35);
}
.trader-tab:hover {
  color: var(--text);
  border-color: rgba(22, 119, 255, 0.35);
  background: rgba(230, 242, 255, 0.9);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.trader-tab.is-active:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1a6dff, #0e4fd6);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.35);
}

@media (max-width: 800px) {
  .trader-tab { padding: 7px 12px; font-size: 13px; }
  .hero h1 .hl { white-space: nowrap; }
  h1 .title-site { display: inline-block; margin: 0 0 0 0.35em; font-size: 14px; }
}


/* 留言建议 */
.board-panel { padding: 18px 18px 22px; }
.board-form { display: grid; gap: 10px; margin: 0 0 16px; }
.board-form input,
.board-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  outline: none;
}
.board-form textarea { resize: vertical; min-height: 84px; line-height: 1.55; }
.board-form input:focus,
.board-form textarea:focus {
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.board-form input::placeholder,
.board-form textarea::placeholder { color: var(--muted); }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.board-item {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 12px 14px;
}
.board-item-meta {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 0 0 6px; font-size: 13px;
}
.board-item-name { font-weight: 800; color: var(--text); }
.board-item-time { color: var(--muted); }
.board-item-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
}
.board-empty { margin: 4px 0 0; }
@media (max-width: 800px) {
  .account h3, .acct-name { font-size: 19px; }
  .account .tag { font-size: 14px; }
}

/* Left column under the monitor card: speech + mute feeds */
.feature-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}
.feeds-block { min-width: 0; }
.feeds-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.feeds-panel { padding: 14px 14px 16px; min-width: 0; }
.feeds-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.feeds-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.feeds-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}
.feeds-empty {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.feed-card {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.feed-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.feed-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.45em;
  font-size: 12px;
  min-width: 0;
  flex: 1;
  line-height: 1.4;
}
.feed-sender {
  color: var(--blue);
  font-weight: 800;
}
.feed-time {
  white-space: nowrap;
  font-weight: 600;
  color: var(--muted);
}
.feed-site {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.5;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
a.feed-site:hover { text-decoration: underline; opacity: 0.85; color: var(--cyan); }
.feed-text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
}
.feed-more { margin-top: 10px; width: 100%; }
.feed-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.feed-img-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.feed-img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.04);
}
.feed-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}
.feed-lightbox[hidden] { display: none; }
.feed-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  cursor: default;
}
@media (max-width: 800px) {
  .feeds-row { grid-template-columns: 1fr; }
  .feeds-list { max-height: 320px; }
}

/* Mobile web-push reminder */
.push-desk {
  margin: 0 0 16px;
  padding: 14px 16px 12px;
}
.push-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.push-lead {
  margin: 0;
  flex: 1 1 220px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
}
.btn-push {
  color: #fff;
  background: linear-gradient(135deg, #0d9a6a, #17b37d);
  border-color: rgba(180, 255, 220, 0.4);
  box-shadow: 0 0 16px rgba(13, 154, 106, 0.22);
  gap: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.btn-push:hover { filter: brightness(1.06); }
.btn-push.is-on {
  background: linear-gradient(135deg, #1677ff, #3b9eff);
  box-shadow: var(--blue-glow);
}
.push-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 4px;
}
.push-prefs {
  flex: 1 1 100%;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.push-prefs > summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.push-prefs > summary::-webkit-details-marker { display: none; }
.push-prefs > summary::marker { content: ""; }
.push-prefs-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.push-prefs-title::after {
  content: "›";
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  color: var(--text-2);
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}
.push-prefs[open] .push-prefs-title::after {
  content: "⌄";
  transform: none;
}
.push-prefs-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.4;
}
.push-prefs-body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  padding-top: 10px;
}
@media (max-width: 800px) {
  .push-prefs > summary { padding: 8px 12px; }
  .push-prefs-title { font-size: 13px; }
  .push-prefs-hint { font-size: 11px; }
  .push-prefs-body { padding: 8px 10px 10px; gap: 8px 10px; }
}
.push-cats label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.push-cats input { accent-color: #0d9a6a; }
/* Per-leader 仓位变化 toggles (chips under 仓位变化) */
.push-cat-positions {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.push-leaders {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-left: 22px;
  transition: opacity 0.15s ease;
}
.push-leaders-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.push-leader-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.push-leader-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.push-leader-chip.is-on {
  color: #0b7a55;
  border-color: rgba(13, 154, 106, 0.45);
  background: rgba(224, 248, 238, 0.85);
}
.push-leader-chip input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #0d9a6a;
}
.push-leaders.is-disabled {
  opacity: 0.45;
  filter: grayscale(1);
}
.push-leaders.is-disabled .push-leader-chip,
.push-leaders.is-disabled .push-leader-chip input {
  cursor: not-allowed;
}
@media (max-width: 800px) {
  .push-leaders { margin-left: 0; }
  .push-leader-chip { padding: 7px 12px; font-size: 13px; }
}
.push-guide { margin-top: 8px; }
.push-guide > summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  font-size: 14px;
  list-style: none;
}
.push-guide > summary::-webkit-details-marker { display: none; }
.push-guide > summary::before { content: "▸ "; color: var(--muted); }
.push-guide[open] > summary::before { content: "▾ "; }
.push-guide-tabs { display: flex; gap: 8px; margin: 10px 0 8px; }
.push-guide-body { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.push-guide-body ol { margin: 0; padding-left: 1.2em; }
.push-guide-body li { margin: 4px 0; }
.push-guide-body p { margin: 0 0 8px; }

.trade-kind {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
}
.trade-kind.open { color: var(--up); background: rgba(10, 159, 92, 0.12); }
.trade-kind.add { color: var(--up); background: rgba(10, 159, 92, 0.08); }
.trade-kind.close { color: var(--down); background: rgba(225, 29, 72, 0.1); }
.trade-kind.reduce { color: var(--warn); background: rgba(255, 177, 74, 0.12); }

/* Detail-page market candlesticks */
.kline-panel { padding: 16px; margin-bottom: 18px; }
.kline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 10px;
}
.kline-head h2 { margin: 0; font-size: 16px; font-weight: 800; color: var(--text); }
.kline-tools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.kline-symbols, .kline-intervals { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kline-held-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 2px;
  letter-spacing: 0.02em;
}
.kline-chart-wrap { position: relative; }
.kline-tip {
  position: absolute;
  z-index: 6;
  min-width: 148px;
  max-width: min(240px, calc(100% - 16px));
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(30, 50, 80, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  font-size: 12px;
  color: var(--text);
  line-height: 1.35;
}
.kline-tip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
}
.kline-tip-row + .kline-tip-row {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(150, 165, 185, 0.28);
}
.kline-tip-kind { font-weight: 800; color: var(--blue); }
.kline-tip-px { font-weight: 700; color: var(--text); }
.kline-tip-time {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 11px;
}
.kline-chart a#tv-attr-logo { display: none !important; }
.kline-chart {
  width: 100%;
  height: 340px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  position: relative;
}
.kline-empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.kline-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 800px) {
  .kline-chart { height: 240px; }
}
