:root {
  --bg: #f7f8fc;
  --card: rgba(255, 255, 255, 0.86);
  --ink: #1b1d2a;
  --ink-2: #4b5068;
  --muted: #8a8fa6;
  --line: #eceef5;
  --line-2: #f3f4f9;
  --primary: #5b5bff;
  --primary-2: #7c6cff;
  --primary-soft: #eeedff;
  --sky: #3fb6ff;
  --up: #ef3b4f;
  --up-soft: #ffe9ec;
  --down: #15a46c;
  --down-soft: #e2f6ee;
  --orange: #ff8a1f;
  --pink: #ff4f8b;
  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --num: "Segoe UI Variable Display", "Segoe UI", "SF Pro Display", "HarmonyOS Sans SC", sans-serif;
  --r: 20px;
  --shadow: 0 1px 2px rgba(40, 44, 90, 0.04), 0 12px 32px -18px rgba(60, 60, 140, 0.22);
  --surface: #fff;
  --glass: rgba(255, 255, 255, 0.82);
  --glass-line: rgba(255, 255, 255, 0.9);
  --up-rgb: 239, 59, 79;
  --down-rgb: 21, 164, 108;
  --up-2: #ff8a95;
  --down-2: #5fd3a2;
  --vol-up: #f6a3ad;
  --vol-down: #8fd8b8;
  --flat: #c9ccd8;
  --avg: #ffb020;
  --chip: #3d6bff;
  --chip-bg: #eaf0ff;
  --aurora-1: rgba(124, 108, 255, 0.28);
  --aurora-2: rgba(63, 182, 255, 0.22);
  --aurora-3: rgba(80, 220, 170, 0.2);
}

[data-theme="eye"] {
  --bg: #eee8d8;
  --card: rgba(247, 242, 228, 0.95);
  --surface: #f8f3e5;
  --glass: rgba(247, 242, 228, 0.92);
  --glass-line: rgba(255, 251, 240, 0.6);
  --ink: #3b3428;
  --ink-2: #5f5746;
  --muted: #988e77;
  --line: #e2d8c2;
  --line-2: #ebe3cf;
  --primary: #4f8a69;
  --primary-2: #6b9f80;
  --primary-soft: #e0ebdc;
  --sky: #86b298;
  --up: #c0573f;
  --up-soft: #f2ddd0;
  --down: #4e8a5a;
  --down-soft: #dde9d8;
  --up-rgb: 192, 87, 63;
  --down-rgb: 78, 138, 90;
  --up-2: #d99078;
  --down-2: #8bb892;
  --vol-up: #e0b3a3;
  --vol-down: #b0cfb2;
  --flat: #cfc6b2;
  --avg: #c99a4a;
  --orange: #c4873d;
  --pink: #c4766a;
  --chip: #4d7a86;
  --chip-bg: #e2eae2;
  --aurora-1: rgba(160, 190, 140, 0.25);
  --aurora-2: rgba(220, 190, 130, 0.2);
  --aurora-3: rgba(140, 180, 160, 0.2);
  --shadow: 0 1px 2px rgba(90, 70, 30, 0.05), 0 12px 30px -20px rgba(90, 70, 30, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--ink);
  font: 13.5px/1.55 var(--font);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ol { list-style: none; }

.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }

.aurora {
  position: fixed;
  inset: 0 0 auto;
  height: 380px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 260px at 8% -10%, var(--aurora-1), transparent 70%),
    radial-gradient(560px 260px at 46% -20%, var(--aurora-2), transparent 70%),
    radial-gradient(520px 240px at 92% -10%, var(--aurora-3), transparent 70%);
  filter: blur(6px);
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 22px 18px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--glass-line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

/* top bar */

.topbar { display: flex; align-items: center; gap: 14px; height: 56px; }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }

.brand-logo {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #ff5f8f 0%, #7c6cff 55%, #3fb6ff 100%);
  box-shadow: 0 10px 20px -10px rgba(124, 108, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  flex: none;
}

.brand-logo i {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ff3d71;
  background: var(--surface);
  box-shadow: 0 3px 8px rgba(40, 44, 90, 0.25);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.brand-logo i svg { width: 11px; height: 11px; margin-left: 1px; }
.brand-logo.lg { width: 64px; height: 64px; border-radius: 20px; font-size: 32px; }
.brand-logo.lg i { width: 26px; height: 26px; }
.brand-logo.lg i svg { width: 14px; height: 14px; }

.brand-text { display: grid; line-height: 1.15; }

.brand-name {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.brand-name em, .creator h3 em {
  font-style: normal;
  margin-left: 2px;
  background: linear-gradient(135deg, #ff5f8f, var(--primary-2) 60%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }

.follow {
  height: 42px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  background: linear-gradient(135deg, #ff5f8f, #ff3d71);
  box-shadow: 0 10px 20px -10px rgba(255, 61, 113, 0.9);
  transition: transform 0.2s;
}

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

.account {
  height: 42px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account.in { padding: 0 14px 0 6px; color: var(--ink); }

.acc-av {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-2), var(--sky));
}

.acc-av.lg { width: 64px; height: 64px; font-size: 28px; }

.auth { display: grid; gap: 16px; }
.auth-tabs { display: flex; gap: 6px; padding-right: 36px; }

.auth-tabs button {
  font-size: 20px;
  font-weight: 800;
  padding: 2px 10px 6px 0;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}

.auth-tabs button.on { color: var(--ink); border-color: var(--primary); }
#authForm { display: grid; gap: 12px; }
#authForm label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }

#authForm input {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

#authForm input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.sheet .auth-err { margin: 0; min-height: 20px; font-size: 13px; color: var(--up); }

.auth-submit {
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.auth-submit:disabled { opacity: 0.6; }
.auth-submit.ghost { color: var(--up); background: var(--up-soft); }
.auth-submit.ghost2 { display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); }

/* access bar + paywall */

.access-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #fff;
  background: rgba(30, 30, 60, 0.88);
  box-shadow: 0 12px 30px -12px rgba(30, 30, 80, 0.6);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.access-bar b { font-family: var(--num); color: #ffd36b; }
.access-bar button { height: 30px; padding: 0 14px; border-radius: 999px; color: #fff; font-weight: 700; background: linear-gradient(135deg, #ff8a2b, #ff5a1f); }

.gate { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(20, 20, 45, 0.55); backdrop-filter: blur(6px); }
.gate-sheet { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; border-radius: 24px; background: var(--surface); box-shadow: 0 30px 80px -20px rgba(20, 20, 60, 0.5); display: grid; gap: 14px; }
.gate-sheet .auth-tabs { padding-right: 0; }
.gate-msg { font-size: 14px; color: var(--ink-2); padding: 10px 14px; border-radius: 12px; background: #fff4e8; }
.gate-msg b { color: #e8590c; }
.gate-out { justify-self: center; font-size: 13px; color: var(--muted); text-decoration: underline; }

.plans-wrap { display: grid; gap: 16px; }
.plans-wrap h3 { font-size: 20px; font-weight: 800; padding-right: 36px; }
.gate-sheet .plans-wrap h3 { padding-right: 0; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }

.plan {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 8px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  text-align: center;
}

.plan b { font-size: 15px; }
.plan-price { font: 800 28px var(--num); color: var(--ink); }
.plan-price small { font-size: 15px; margin-right: 1px; }
.plan-per { font-size: 12px; color: var(--muted); }
.plan { background: var(--surface); color: inherit; font: inherit; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.plan.best { background: linear-gradient(180deg, #fff6ee, var(--surface)); }
.plan.best .plan-price { color: #e8590c; }
.plan.on { border-color: #ff7a28; box-shadow: 0 0 0 3px rgba(255, 122, 40, 0.18); }
.pay-how { grid-template-columns: 150px 1fr; align-items: center; column-gap: 16px; }
.pay-qr { width: 150px; border-radius: 12px; grid-row: span 2; }
.pay-how ol { display: grid; gap: 6px; padding-left: 18px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.sheet .pay-how li { display: list-item; padding: 0; background: none; font-size: 13.5px; }
.pay-how b { color: var(--ink); }
.pay-amt { color: #e8590c !important; font-family: var(--num); }
.plan-flag { position: absolute; top: -10px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff8a2b, #ff5a1f); border-radius: 999px; padding: 1px 8px; }
.plan-gift { font-size: 11.5px; font-weight: 700; color: #e8590c; }
.pay-how { display: grid; gap: 10px; }
.sheet .pay-how p, .pay-how p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }

@media (max-width: 560px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans .plan.best { grid-column: span 2; }
  .access-bar { font-size: 12.5px; }
  .pay-how { grid-template-columns: 1fr; justify-items: center; }
  .pay-qr { grid-row: auto; width: 180px; }
}

/* admin */

.admin-box { padding: 20px 22px; margin-top: 16px; }
.admin-box h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.admin-box h2 small { font-size: 13px; color: var(--muted); font-weight: 600; }
.grant-form { display: flex; flex-wrap: wrap; gap: 10px; }
.grant-form input, .grant-form select { height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.grant-form input[name="note"] { flex: 1; min-width: 200px; }
.grant-form .auth-submit { padding: 0 26px; height: 42px; }
.grant-msg { margin-top: 10px; min-height: 20px; color: var(--up); }
.grant-msg.ok { color: var(--down); }
.admin-table { overflow-x: auto; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 9px 10px; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.admin-table .pick { color: var(--primary); font-weight: 700; }
.admin-table small { color: var(--muted); }
.admin-table .ua { max-width: 320px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 12px; }
.st-paid { color: var(--down); font-weight: 700; }
.st-trial { color: var(--primary); }
.st-expired { color: var(--up); }
.follow svg { width: 16px; height: 16px; }

.theme-toggle {
  height: 42px;
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}

.theme-toggle span {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}

.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .on { color: var(--surface); background: var(--primary); }

/* eye-care theme: soften saturated accents */

[data-theme="eye"] body { background: var(--bg); }
[data-theme="eye"] .brand-logo,
[data-theme="eye"] .follow,
[data-theme="eye"] .join-card,
[data-theme="eye"] .us-flag,
[data-theme="eye"] .us-link b,
[data-theme="eye"] .sticker,
[data-theme="eye"] .mini-av,
[data-theme="eye"] .m-ico,
[data-theme="eye"] .pf-ico,
[data-theme="eye"] .rank-no,
[data-theme="eye"] .p-icon,
[data-theme="eye"] .role,
[data-theme="eye"] .tag,
[data-theme="eye"] .elite,
[data-theme="eye"] .heat { filter: saturate(0.6) brightness(0.98); }
[data-theme="eye"] .brand-name em,
[data-theme="eye"] .creator h3 em { background: linear-gradient(135deg, #b9785f, var(--primary)); -webkit-background-clip: text; background-clip: text; }
[data-theme="eye"] .tabs a.on { box-shadow: 0 8px 18px -10px rgba(79, 138, 105, 0.7); }
[data-theme="eye"] .scroll::-webkit-scrollbar-thumb { background: #d9cfb8; }
[data-theme="eye"] .modal .scrim { background: rgba(60, 50, 30, 0.25); }
[data-theme="eye"] .us-link { color: var(--primary); background: var(--primary-soft); }
[data-theme="eye"] .w-item:hover, [data-theme="eye"] .r-row:hover { background: rgba(79, 138, 105, 0.06); }
[data-theme="eye"] .post:hover, [data-theme="eye"] .f-post:hover { border-color: #cfdcc6; }

body, .card, .m-col, .stat, .sheet, .tabs { transition: background-color 0.3s, border-color 0.3s, color 0.3s; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}

.tabs a {
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.tabs a:hover { color: var(--primary); }
.tabs a.on {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 8px 18px -8px rgba(91, 91, 255, 0.7);
}

.search {
  margin-left: auto;
  flex: 0 1 280px;
  min-width: 160px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}

.search:focus-within { box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; outline: none; font-size: 14px; }
.search input::placeholder { color: var(--muted); }

kbd {
  font: 600 12px var(--num);
  color: var(--ink-2);
  background: var(--line-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
}


/* indices */

.indices { display: flex; padding: 10px 4px; }
.indices > .idx { flex: 1 1 0; }
.indices > .idx.cmd { flex-grow: 0.85; }
.indices > .idx.hot { flex-grow: 1.3; }
.idx-tag { margin-left: 5px; font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--line-2); border-radius: 4px; padding: 0 4px; }

.idx.hot {
  position: relative;
  margin: -4px 3px;
  padding: 6px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 196, 61, 0.18), rgba(255, 140, 26, 0.07));
  box-shadow: inset 0 0 0 1px rgba(214, 150, 20, 0.35);
}
.idx.hot + .idx, .idx.hot { border-left-color: transparent !important; }
.idx.hot .name { color: #8a5a00; font-weight: 800; font-size: 14.5px; }
.idx.hot .val { font-size: 23px; }
a.idx.hot:hover { background: linear-gradient(135deg, rgba(255, 196, 61, 0.28), rgba(255, 140, 26, 0.12)); }
.idx-live {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 6px; font-size: 10.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ff6b3d, #e03131); border-radius: 999px; padding: 0 7px 0 6px; line-height: 17px;
}
.idx-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.idx:not(.hot) .idx-top { justify-content: flex-start; gap: 0; }
.idx:not(.hot) .idx-top > small { flex: none; }
.idx:not(.hot) .idx-bot { align-items: baseline; }
.idx:not(.hot) .idx-live { font-size: 10px; gap: 3px; padding: 0 5px 0 4px; margin-left: 5px; line-height: 16px; }
.idx:not(.hot) .idx-live::before { width: 5px; height: 5px; }
.idx { display: grid; gap: 2px; padding: 2px 14px; min-width: 0; }
.idx + .idx { border-left: 1px solid var(--line); }
.idx.cmd { background: linear-gradient(180deg, rgba(192, 138, 0, 0.05), transparent); }
.idx.cmd + .idx.cmd { border-left-color: rgba(192, 138, 0, 0.15); }
.idx-top, .idx-bot { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.idx-bot { align-items: flex-end; }
.idx .name { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx-sub { margin-left: 5px; font-size: 10.5px; font-weight: 600; color: #b8860b; background: rgba(192, 138, 0, 0.12); border-radius: 4px; padding: 0 4px; }
.idx .val { font-family: var(--num); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; border-radius: 6px; padding: 0 2px; margin-left: -2px; white-space: nowrap; }
.idx .pct { font-family: var(--num); font-size: 13px; font-weight: 700; flex: none; }
.idx svg { width: 64px; height: 28px; overflow: visible; flex: none; }

/* grid */

.grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1.02fr 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.panel { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 14px 14px 10px; }
.panel.market { grid-column: 1 / -1; }

.panel-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 10px; }
.panel-head h2 { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; }
.panel-head h2 a { transition: color 0.2s; }
.panel-head h2 a:hover { color: var(--primary); }
a.idx { border-radius: 14px; transition: background 0.2s; }
a.idx:hover { background: rgba(91, 91, 255, 0.04); }
.us-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #3b5bdb;
  background: #edf1ff;
}

.us-link b { font: 900 10px var(--num); color: #fff; padding: 3px 6px; border-radius: 999px; background: linear-gradient(135deg, #3b5bdb, #e03131); }

.p-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}

.p-icon svg { width: 18px; height: 18px; }
.p-icon.violet { color: #6a4dff; background: #efeaff; }
.p-icon.orange { color: #ff7a1a; background: #fff0e2; }
.p-icon.blue { color: #2f7bff; background: #e7f0ff; }
.p-icon.green { color: #16a36b; background: #e2f6ee; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--up);
  background: var(--up-soft);
}

.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(239, 59, 79, 0.5);
  animation: ping 1.6s ease-out infinite;
}

.live.green { color: var(--down); background: var(--down-soft); }
.live.green::before { display: none; }
.live .spin { width: 12px; height: 12px; animation: spin 2.4s linear infinite; }

.ago { font-size: 12px; color: var(--muted); margin-left: 2px; }

.scroll { flex: 1; min-height: 0; overflow: auto; padding: 0 2px; margin: 0 -2px; }
.scroll::-webkit-scrollbar { width: 6px; }
.scroll::-webkit-scrollbar-thumb { background: #e1e3ee; border-radius: 99px; }

.more {
  display: inline-flex;
  gap: 6px;
  align-self: flex-start;
  margin: 8px 4px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.more span { transition: transform 0.2s; }
.more:hover span { transform: translateX(3px); }

/* wire */

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  margin: 0 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -10px rgba(40, 44, 90, 0.35);
  font-size: 13px;
  font-weight: 600;
  animation: drop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast[hidden] { display: none; }
.toast b { color: var(--up); font-family: var(--num); }
.toast svg { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: ping 1.6s ease-out infinite; }

.timeline { position: relative; padding: 2px 2px 4px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #d9d4ff, #eef0f8);
}

.k-zw { --k: #e03131; }
.k-md { --k: #f76707; }
.k-zc { --k: #7048e8; }
.k-hg { --k: #1c7ed6; }
.k-sp { --k: #c08a00; }
.k-gs { --k: #0c8599; }
.k-sc { --k: #4c6ef5; }
.k-hw { --k: #4263eb; }
.k-gd { --k: #9c36b5; }
.k-kx { --k: #1098ad; }

.timeline > li + li { margin-top: 2px; }

.w-item {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px 9px 26px;
  border-radius: 12px;
  transition: background 0.2s;
}

.w-item:hover { background: color-mix(in srgb, var(--k, var(--primary)) 7%, transparent); }

.w-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--k, var(--primary-2));
}

.w-item.t2::before { background: var(--k); }
.w-item.fresh { animation: fresh 2.4s ease; }
.w-item.fresh::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--k, var(--primary)) 20%, transparent); }

.w-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.w-time { font-family: var(--num); font-size: 13.5px; font-weight: 700; color: var(--muted); flex: none; }
.w-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.w-text b { font-weight: 800; }
.w-item.hot .w-text { font-weight: 600; }
.w-item.zw {
  background: linear-gradient(90deg, rgba(224, 49, 49, 0.1), rgba(224, 49, 49, 0.03));
  box-shadow: inset 0 0 0 1px rgba(224, 49, 49, 0.14);
}
.w-item.zw:hover { background: linear-gradient(90deg, rgba(224, 49, 49, 0.15), rgba(224, 49, 49, 0.05)); }
.w-item.zw::before { box-shadow: 0 0 0 3px rgba(224, 49, 49, 0.2); }
.w-item.zw .w-time { color: #e03131; }
.w-item.zw .w-text { -webkit-line-clamp: 3; }
.w-item.zw .w-text b { color: #c92a2a; }
.chip.cat { color: var(--primary); background: var(--primary-soft); }
.chip.cat.kx { color: #2f7fd8; background: rgba(47, 127, 216, 0.1); }
.chip.cat.zw { color: #fff; background: #e03131; }
.sheet ul.brief li { display: list-item; list-style: none; padding: 9px 12px; }
.full-ask { margin-top: 18px; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #f3f1ff, #fff4ea); }
.full-ask > div { display: grid; gap: 2px; }
.full-ask > div b { font-size: 15px; }
.full-ask > div span { font-size: 13px; color: var(--ink-2); }
.full-ask .platform { background: var(--surface); }
.org-tag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 18px; border-radius: 5px; padding: 0 5px; margin-right: 6px; vertical-align: 1px; }
.org-tag.fx { color: #fff; background: linear-gradient(135deg, #7c6cff, #5b5bff); }
.org-tag.dx { color: #8a5a00; background: #fff1d6; }
.tier-badge { display: inline-block; font-size: 11px; font-weight: 700; line-height: 18px; color: #fff; background: var(--k, var(--primary)); border-radius: 5px; padding: 0 6px; margin-right: 5px; vertical-align: 1px; letter-spacing: 0.02em; }
.tier-badge.soft { color: var(--k, var(--muted)); background: color-mix(in srgb, var(--k, var(--muted)) 16%, transparent); font-weight: 700; }
.w-meta .tier-badge { margin-right: 0; font-size: 12px; line-height: 19px; }
.w-pic { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; line-height: 16px; }
.pre { white-space: pre-line; }
.go-detail.ghost { color: var(--primary); background: var(--primary-soft); margin-right: 8px; }
.w-new { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--up); border-radius: 6px; padding: 0 5px; margin-left: 4px; vertical-align: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--chip);
  background: var(--chip-bg);
  border-radius: 6px;
  padding: 1px 8px;
}

/* planet */

.posts { display: grid; gap: 8px; padding: 2px; }

.post {
  position: relative;
  text-align: left;
  padding: 11px 12px 9px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.post:hover { transform: translateY(-2px); border-color: #dcd9ff; box-shadow: 0 12px 24px -16px rgba(91, 91, 255, 0.5); }
.post.fresh { animation: fresh 2.4s ease; }

.post-head { display: flex; align-items: center; gap: 8px; }

.mini-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex: none;
  position: relative;
  overflow: hidden;
}

.mini-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.post-head .who { font-size: 13px; font-weight: 700; }

.role {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 6px;
}

.role.violet { color: #6a4dff; background: #efeaff; }
.role.blue { color: #2f7bff; background: #e7f0ff; }
.role.green { color: #13955f; background: #e2f6ee; }

.post-head .when { margin-left: auto; font-size: 12px; color: var(--muted); }

.sticker {
  position: absolute;
  top: -8px;
  right: 12px;
  font: 800 10.5px var(--num);
  letter-spacing: 0.04em;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb340, #ff7a1a);
  box-shadow: 0 6px 14px -6px rgba(255, 122, 26, 0.8);
}

.post h3 { font-size: 15.5px; font-weight: 800; line-height: 1.5; margin-top: 8px; }

.post p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stats { display: flex; gap: 18px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.stats span { display: inline-flex; align-items: center; gap: 5px; }
.stats svg { width: 14px; height: 14px; }
.stats .heart { color: #ff4f6d; }
.stats .views { margin-left: auto; }

/* reports */

.reports { display: grid; gap: 8px; padding: 2px; }

.report {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.report:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(47, 123, 255, 0.5); }
.report.fresh { animation: fresh 2.4s ease; }

.r-tags { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }

.tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 6px;
}

.tag.just { color: #fff; background: var(--up); }
.tag.buy { color: var(--up); background: var(--up-soft); }
.tag.add { color: #e86f00; background: #fff0e0; }
.tag.mid { color: #6a4dff; background: #efeaff; }
.tag.cut { color: var(--down); background: var(--down-soft, #e3f6ec); }
.tag.none { color: var(--muted); background: var(--line-2); }
.tag.imp { color: #c2410c; background: #fff1e6; }

.seg { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--line-2); margin-left: 4px; }
.seg button { height: 24px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.seg button.on { color: #fff; background: var(--primary); box-shadow: 0 2px 6px -2px rgba(91, 91, 255, 0.6); }
#reports .ago { display: none; }

.report.named { border-color: rgba(224, 49, 49, 0.25); background: linear-gradient(135deg, rgba(224, 49, 49, 0.05), var(--surface) 60%); }
.r-stocks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.r-stocks b { font-size: 12.5px; font-weight: 800; color: #c92a2a; background: rgba(224, 49, 49, 0.09); border-radius: 6px; padding: 1px 7px; }
.r-stocks.big { margin-top: 10px; font-size: 13px; }
.r-stocks.big b { font-size: 14px; padding: 2px 9px; }

.r-time { font-family: var(--num); font-size: 13px; color: var(--ink-2); text-align: right; }
.r-title { font-size: 13px; color: var(--ink); line-height: 1.45; }
.r-move { font-family: var(--num); font-size: 15px; font-weight: 700; align-self: end; text-align: right; }

/* market */

.market-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.m-col { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 12px 6px; }

.m-head, .m-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.3fr 0.7fr;
  align-items: center;
  gap: 12px;
}

.m-head { font-size: 11.5px; color: var(--muted); padding: 6px 0 4px; border-bottom: 1px solid var(--line-2); }
.m-head span:last-child { text-align: right; }

.m-row { height: 34px; }
.m-row + .m-row { border-top: 1px solid var(--line-2); }
.m-name { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }

.m-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.m-pct { font-family: var(--num); font-weight: 700; border-radius: 6px; padding: 0 4px; margin-left: -4px; width: fit-content; }
.m-bar { height: 7px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: inherit; transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.m-amt { font-family: var(--num); text-align: right; color: var(--ink-2); }

.flash-up { animation: flashUp 0.9s ease; }
.flash-down { animation: flashDown 0.9s ease; }

/* modal */

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; pointer-events: none; }
.modal.open { pointer-events: auto; }

.modal .scrim {
  position: absolute;
  inset: 0;
  background: rgba(27, 29, 42, 0.28);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}

.modal.open .scrim { opacity: 1; }

.sheet {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-height: min(80vh, 680px);
  overflow: auto;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(40, 44, 90, 0.45);
  padding: 24px 26px 26px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.open .sheet { opacity: 1; transform: none; }

.sheet .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--line-2);
}

.sheet .kicker { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.sheet h3 { font-size: 22px; line-height: 1.35; font-weight: 800; padding-right: 36px; }
.sheet p { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.sheet h4 { margin-top: 18px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sheet .chips { padding-left: 0; margin-top: 8px; }

.sheet ul { margin-top: 8px; display: grid; gap: 8px; list-style: none; }

.sheet li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--line-2);
}

.sheet li::before { content: "✦"; color: var(--primary); }

.empty { color: var(--muted); text-align: center; padding: 24px 0; font-size: 12.5px; }

.sheet.wide { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 820px); }

.go-detail {
  display: inline-flex;
  margin-top: 18px;
  height: 38px;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.creator { display: flex; gap: 16px; align-items: center; padding-right: 36px; }
.creator h3 { font-size: 24px; font-weight: 900; padding: 0; }
.creator p { margin-top: 4px; font-size: 13.5px; }

.platforms { display: grid; gap: 8px; margin-top: 8px; }

.platform {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.platform:hover { border-color: #dcd9ff; background: #faf9ff; }
button.platform { width: 100%; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }

.pf-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  flex: none;
}

.pf-text { display: grid; flex: 1; min-width: 0; }
.pf-text small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-go { font-size: 12.5px; font-weight: 700; color: #ff3d71; background: #ffe9ef; padding: 4px 12px; border-radius: 999px; }
.disclaimer { font-size: 12px !important; color: var(--muted) !important; margin-top: 16px !important; }

/* motion */

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(239, 59, 79, 0.5); }
  80%, 100% { box-shadow: 0 0 0 6px rgba(239, 59, 79, 0); }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fresh { 0% { background: #f0edff; } 100% { background: transparent; } }
@keyframes flashUp { 0% { background: var(--up-soft); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: var(--down-soft); } 100% { background: transparent; } }

/* fit-to-screen on large displays */

@media (min-width: 1200px) and (min-height: 800px) {
  .home .shell { height: 100vh; }
  body.home { overflow: hidden; }
}

@media (max-width: 1199px), (max-height: 799px) {
  .home .panel:not(.market) { min-height: 460px; }
}

@media (min-width: 1101px) {
  .home .grid { grid-template-columns: 1.45fr 1.45fr 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .home #wire, .home #planet { grid-row: 1 / -1; }
  .home .panel.market { grid-column: 3; }
  .home .market-cols { grid-template-columns: 1fr; gap: 8px; }
  .home .market-cols .m-col:last-child { display: none; }
  .home .us-link { display: none; }
  .home .m-head, .home .m-row { grid-template-columns: 1.2fr 0.8fr 0.9fr auto; gap: 8px; }
  .home .m-row > :last-child { white-space: nowrap; }
}

@media (max-width: 1280px) {
  .brand-sub { display: none; }
  .tabs a { padding: 0 12px; }
  .theme-toggle span { padding: 0 9px; }
}

@media (max-width: 1100px) {
  .tabs { display: none; }
  .grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .panel.market { grid-column: 1 / -1; }
  .indices { flex-wrap: wrap; row-gap: 12px; }
  .indices > .idx, .indices > .idx.cmd { flex: 0 0 25%; }
  .indices > .idx.hot { flex: 0 0 calc(25% - 6px); }
  .idx:nth-child(5) { border-left: 0; }
}

.idx.hot .idx-top { justify-content: flex-start; }
.idx.hot .idx-top > small { flex: none; }
.idx.hot .pct-top { margin-left: auto; }
.idx.hot .pct-bot { display: none; }
.idx.hot .idx-bot .pct-bot { align-self: baseline; }
@media (max-width: 1440px) and (min-width: 1101px) {
  .idx svg { display: none; }
  .idx.hot .pct-top { display: none; }
  .idx.hot .pct-bot { display: inline; }
  .idx.hot .idx-bot { align-items: baseline; }
}

.w-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.w-imgs a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2, #f4f5f8); }
.w-imgs img { display: block; max-width: min(100%, 520px); max-height: 420px; object-fit: contain; }
@media (max-width: 720px) {
  .shell { padding: 10px 12px 16px; }
  kbd, .brand-text { display: none; }
  .follow { padding: 0 12px; }
  .account { max-width: 110px; padding: 0 12px; }
  .theme-toggle span { font-size: 0; gap: 0; padding: 0 9px; }
  .grid, .market-cols { grid-template-columns: 1fr; }
  .indices > .idx, .indices > .idx.cmd { flex: 0 0 50%; }
  .indices > .idx.hot { flex: 0 0 calc(50% - 6px); }
  .idx + .idx { border-left: 0; }
  .idx:nth-child(n + 3) { border-top: 1px solid var(--line); padding-top: 10px; }
  .idx:nth-child(even) { border-left: 1px solid var(--line); }
}

/* 喜欢 / 不喜欢 / 评论 */
.social { margin-top: 10px; }
.s-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.s-bar { gap: 4px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: transparent; transition: background 0.15s, color 0.15s; }
.s-btn:hover { background: var(--line-2); }
.s-btn svg { width: 14px; height: 14px; }
.s-btn em { font: 700 12px var(--num); font-style: normal; }
.s-btn:hover { color: var(--primary); }
.s-btn.up.on { color: #e03131; background: color-mix(in srgb, #e03131 12%, transparent); }
.s-btn.down.on { color: #495057; background: color-mix(in srgb, #495057 16%, transparent); }
.s-btn.cmt.on { color: var(--primary); background: var(--primary-soft); }
.s-panel { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--line-2); }
.c-form { display: flex; gap: 8px; }
.c-form input { flex: 1; min-width: 0; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; }
.c-form input:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
.c-form button, .c-login { height: 34px; padding: 0 16px; border-radius: 9px; font-weight: 700; font-size: 13px; color: #fff; background: var(--primary); }
.c-form button:disabled { opacity: 0.6; }
.c-list { list-style: none; margin: 10px 0 0; padding: 0; max-height: 320px; overflow: auto; }
.c-list li + li { border-top: 1px solid var(--line); }
.c-list li { padding: 8px 2px; }
.c-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.c-head span { color: var(--muted); }
.c-head button { margin-left: auto; font-size: 12px; color: var(--muted); }
.c-head button:hover { color: #e03131; }
.c-list p { margin: 3px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.c-empty { font-size: 13px; color: var(--muted); text-align: center; }
.f-actions + .social { margin-top: 6px; }
.f-post .stats + .social { margin-top: 8px; }
.admin-link { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin-right: 8px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff9a62, #ff5f8f); white-space: nowrap; }
.admin-link:hover { filter: brightness(1.05); }
.admin-link { position: relative; }
.fed-box { --hike: var(--up); --hold: #8a94a6; --cut: var(--down); display: grid; gap: 10px; padding: 0 2px 4px; }
.fed-next { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 7px; }
.fed-when { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.fed-when span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fed-row { display: grid; grid-template-columns: 82px 1fr 58px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.fed-row.top { color: var(--ink); font-weight: 700; }
.fed-bar { height: 8px; border-radius: 999px; background: var(--line-2, rgba(0, 0, 0, .05)); overflow: hidden; }
.fed-bar i { display: block; height: 100%; border-radius: inherit; background: var(--hold); }
.fed-row.hike .fed-bar i { background: var(--hike); }
.fed-row.cut .fed-bar i { background: var(--cut); }
.fed-pct { font-family: var(--num); font-weight: 700; text-align: right; white-space: nowrap; }
.fed-pct small { margin-left: 3px; font-size: 10.5px; }
.fed-pct small.up { color: var(--up); }
.fed-pct small.down { color: var(--down); }
.fed-later { display: grid; gap: 6px; padding: 0 4px; }
.fed-mini { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.fed-mdate { color: var(--muted); }
.fed-stack { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: var(--line-2, rgba(0, 0, 0, .05)); }
.fed-stack i { display: block; height: 100%; }
.fed-stack i.hike { background: var(--hike); }
.fed-stack i.hold { background: var(--hold); }
.fed-stack i.cut { background: var(--cut); }
.fed-stack i + i { border-left: 1px solid var(--surface); }
.fed-mtop { font-weight: 700; white-space: nowrap; }
.fed-mtop.hike { color: var(--hike); }
.fed-mtop.cut { color: var(--cut); }
.fed-box .empty { margin: 8px 0; font-size: 13px; color: var(--muted); text-align: center; }
.notify-box p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }
.notify-box .auth-submit { width: auto; padding: 0 22px; }
.wechat-qr { margin: 14px auto 0; text-align: center; }
.wechat-qr img { display: block; width: 240px; max-width: 80%; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.admin-dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; line-height: 18px; text-align: center; color: #fff; background: #e03131; border: 2px solid var(--bg, #fff); box-sizing: content-box; }
.signup-pop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 280px; padding: 14px 16px; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); border-left: 4px solid #ff5f8f; animation: sp-in .25s ease-out; }
.signup-pop .sp-head { display: flex; align-items: center; font-weight: 700; font-size: 14px; }
.signup-pop .sp-x { margin-left: auto; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.signup-pop p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.signup-pop a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #ff5f8f; }
@keyframes sp-in { from { opacity: 0; transform: translateY(12px); } }
.admin-table tr.row-new td { background: rgba(255, 95, 143, .07); }
.org-tag.up-new { color: #fff; background: #ff5f8f; }
.grant-pop { display: grid; gap: 14px; }
.grant-pop h3 { margin: 0; font-size: 18px; }
.grant-now { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.grant-note { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.grant-pop .grant-msg { margin: 0; }
.admin-table .pick { height: 28px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--primary); white-space: nowrap; }
.admin-table .pick:hover { filter: brightness(1.08); }
.admin-sub { margin: 18px 0 8px; font-size: 15px; }
.admin-sub small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 6px; }
.org-tag.up-bad { color: #fff; background: #e03131; }
