/* ============ X-Trader style.css ============ */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* OLED 暗色（默认） */
[data-theme="oled"] {
  --bg-base: #07090d;
  --bg-panel: rgba(255, 255, 255, 0.028);
  --bg-panel-strong: rgba(255, 255, 255, 0.05);
  --bg-header: rgba(10, 13, 19, 0.82);
  --bg-card: rgba(255, 255, 255, 0.032);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text-main: #f3f5f9;
  --text-secondary: rgba(243, 245, 249, 0.72);
  --text-dim: rgba(243, 245, 249, 0.45);
  --accent: #ef4444;
  --accent-hover: #f87171;
  --accent-subtle: rgba(239, 68, 68, 0.14);
  --accent-up: #ef4444;
  --accent-down: #22c55e;
  --accent-gold: #f5b841;
  --accent-gold-subtle: rgba(245, 184, 65, 0.14);
  --accent-blue: #38bdf8;
  --accent-verified: #3b82f6;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.28);
  --shadow-float: 0 8px 40px rgba(0,0,0,0.55);
  --spot-glow: rgba(239, 68, 68, 0.28);
}
/* Light 亮色 */
[data-theme="light"] {
  --bg-base: #f6f7f9;
  --bg-panel: rgba(15, 23, 42, 0.025);
  --bg-panel-strong: rgba(15, 23, 42, 0.05);
  --bg-header: rgba(255, 255, 255, 0.86);
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text-main: #101828;
  --text-secondary: rgba(16, 24, 40, 0.72);
  --text-dim: rgba(16, 24, 40, 0.48);
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-subtle: rgba(220, 38, 38, 0.09);
  --accent-up: #dc2626;
  --accent-down: #16a34a;
  --accent-gold: #b45309;
  --accent-gold-subtle: rgba(180, 83, 9, 0.1);
  --accent-blue: #0284c7;
  --accent-verified: #2563eb;
  --shadow-card: 0 1px 2px rgba(16,24,40,0.05), 0 8px 24px rgba(16,24,40,0.08);
  --shadow-float: 0 8px 40px rgba(16,24,40,0.16);
  --spot-glow: rgba(220, 38, 38, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
[data-theme="oled"] body { background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(239,68,68,0.07), transparent), var(--bg-base); }
[data-theme="light"] body { background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(220,38,38,0.05), transparent), var(--bg-base); }
.hidden { display: none !important; }
::selection { background: var(--accent-subtle); }
#bg-candles-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.app-container { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 0 28px; }
code { font-family: var(--font-mono); font-size: 0.86em; background: var(--bg-panel-strong); padding: 2px 7px; border-radius: 6px; }
/* ============ Header ============ */
.v2-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: var(--bg-header); border-bottom: 1px solid var(--border-subtle); margin: 0 -28px; padding: 0 28px; }
.header-inner { display: flex; align-items: center; gap: 18px; height: 62px; max-width: 1384px; margin: 0 auto; }
.header-brand-group { flex-shrink: 0; }
.brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-main); }
.brand-avatar { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-strong); }
.brand-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: 0.2px; }
.brand-sub { font-size: 10.5px; color: var(--text-dim); font-weight: 600; letter-spacing: 0.4px; }
.header-search-wrap { flex: 1; display: flex; justify-content: center; min-width: 0; }
.search-box { position: relative; display: flex; align-items: center; width: 100%; max-width: 520px; height: 38px; background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); border-radius: 10px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.search-icon { position: absolute; left: 12px; color: var(--text-dim); pointer-events: none; }
#global-search { flex: 1; height: 100%; background: none; border: none; outline: none; color: var(--text-main); font-family: var(--font-sans); font-size: 13.5px; padding: 0 40px 0 36px; min-width: 0; }
#global-search::placeholder { color: var(--text-dim); }
.search-clear-btn { position: absolute; right: 34px; background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 4px; border-radius: 6px; display: flex; }
.search-clear-btn:hover { color: var(--text-main); }
.key-shortcut { position: absolute; right: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); border: 1px solid var(--border-subtle); border-radius: 5px; padding: 1px 6px; background: var(--bg-panel); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-lucky-pick { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--accent-subtle); color: var(--accent); border: 1px solid transparent; border-radius: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; cursor: pointer; transition: all 0.2s ease; }
.btn-lucky-pick:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.theme-toggle-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); border-radius: 10px; color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; }
.theme-toggle-btn:hover { color: var(--accent-gold); border-color: var(--border-strong); }
/* ============ Hero ============ */
.v2-main { padding: 34px 0 60px; }
.hero-section { margin-bottom: 26px; }
.hero-content-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: stretch; }
.hero-left-intro { display: flex; flex-direction: column; gap: 18px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-up); font-size: 11px; font-weight: 800; letter-spacing: 2.2px; }
.hero-title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -0.5px; }
.shiny-text { background: linear-gradient(100deg, var(--text-main) 20%, var(--accent) 45%, var(--accent-gold) 60%, var(--text-main) 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: -200% center; } }
.hero-description { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; max-width: 560px; }
.hero-unified-capsule { display: flex; align-items: center; gap: 22px; padding: 16px 22px; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 16px; width: fit-content; flex-wrap: wrap; }
.capsule-metric-item { display: flex; align-items: center; gap: 11px; }
.capsule-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; }
.icon-wrap-red { color: var(--accent); background: var(--accent-subtle); }
.icon-wrap-gold { color: var(--accent-gold); background: var(--accent-gold-subtle); }
.icon-wrap-verified { color: var(--accent-verified); background: rgba(59,130,246,0.13); }
.icon-wrap-blue { color: var(--accent-blue); background: rgba(56,189,248,0.13); }
.capsule-data { display: flex; flex-direction: column; line-height: 1.2; }
.capsule-number { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--text-main); }
.capsule-label { font-size: 11.5px; color: var(--text-dim); font-weight: 600; margin-top: 2px; }
.capsule-divider { width: 1px; height: 34px; background: var(--border-subtle); }
.hero-right-spotlight { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 20px; overflow: hidden; }
.hero-right-spotlight::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 180px at 50% 0%, var(--spot-glow), transparent); opacity: 0.7; pointer-events: none; }
.spotlight-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-gold); font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; position: relative; }
.shiny-gold { background: linear-gradient(100deg, var(--accent-gold) 20%, #fde68a 50%, var(--accent-gold) 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 4s linear infinite; }
.spotlight-body { display: flex; align-items: center; gap: 16px; position: relative; min-height: 92px; }
.spotlight-loading { color: var(--text-dim); font-size: 13px; }
.spotlight-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--accent); box-shadow: 0 4px 20px var(--spot-glow); flex-shrink: 0; }
.spotlight-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.spotlight-name { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.spotlight-handle { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.spotlight-followers { font-size: 12.5px; color: var(--text-secondary); font-family: var(--font-mono); }
.spotlight-bio { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-shuffle-spotlight { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); border-radius: 11px; color: var(--text-main); font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; cursor: pointer; transition: all 0.2s ease; position: relative; width: fit-content; }
.btn-shuffle-spotlight:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
/* ============ Discovery bar ============ */
.discovery-bar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.filter-header-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.filter-pills-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.f-pill { display: inline-flex; align-items: center; gap: 7px; height: 33px; padding: 0 13px; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 999px; color: var(--text-secondary); font-family: var(--font-sans); font-weight: 600; font-size: 12.5px; cursor: pointer; transition: all 0.18s ease; }
.f-pill:hover { border-color: var(--border-strong); color: var(--text-main); }
.f-pill.active { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); }
.pill-badge { font-family: var(--font-mono); font-size: 11px; background: var(--bg-panel-strong); border-radius: 999px; padding: 1px 7px; }
.f-pill.active .pill-badge { background: rgba(255,255,255,0.14); }
.view-mode-tabs { display: flex; gap: 4px; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 3px; }
.view-tab-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 28px; background: none; border: none; border-radius: 7px; color: var(--text-dim); cursor: pointer; transition: all 0.18s ease; }
.view-tab-btn:hover { color: var(--text-main); }
.view-tab-btn.active { background: var(--bg-panel-strong); color: var(--accent); }
.discovery-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.results-indicator { font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.sort-selector-wrap { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.custom-select-box { position: relative; }
.select-trigger-btn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 9px; color: var(--text-main); font-family: var(--font-sans); font-size: 12px; font-weight: 600; cursor: pointer; }
.select-trigger-btn:hover { border-color: var(--border-strong); }
.arrow-icon { color: var(--text-dim); }
.select-dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; background: var(--bg-header); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-float); padding: 5px; z-index: 40; }
.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; border-radius: 8px; font-size: 12.5px; color: var(--text-secondary); cursor: pointer; }
.menu-item:hover { background: var(--bg-panel-strong); color: var(--text-main); }
.menu-item.active { color: var(--accent); font-weight: 700; }
.menu-item .check-icon { color: var(--accent); flex-shrink: 0; }
/* ============ Card wall ============ */
.gallery-container { min-height: 300px; }
.blogger-wall { display: grid; gap: 16px; }
.blogger-wall.grid-view { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.blogger-wall.compact-view { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 12px; }
.blogger-wall.list-view { grid-template-columns: 1fr; gap: 10px; }
.blogger-card { position: relative; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 18px; padding: 20px; cursor: pointer; transition: transform 0.22s var(--ease-spring), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease; overflow: hidden; animation: cardIn 0.45s var(--ease-spring) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.blogger-card:hover { transform: translateY(-4px); border-color: var(--card-accent, var(--accent)); box-shadow: var(--shadow-card), 0 0 0 1px var(--card-accent, var(--accent)); background: var(--bg-card-hover); }
.card-cover { position: absolute; top: 0; left: 0; right: 0; height: 72px; background: linear-gradient(135deg, var(--card-accent, var(--accent)) 0%, transparent 70%); opacity: 0.16; mask-image: linear-gradient(to bottom, black, transparent); -webkit-mask-image: linear-gradient(to bottom, black, transparent); }
.card-top-row { display: flex; align-items: flex-start; gap: 13px; position: relative; }
.card-avatar-wrap { position: relative; flex-shrink: 0; }
.card-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--card-accent, var(--accent)); background: var(--bg-panel-strong); }
.card-avatar-fallback { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--card-accent, #ef4444), color-mix(in srgb, var(--card-accent, #ef4444) 55%, #000)); border: 2px solid var(--card-accent, var(--accent)); }
.badge-verified-native { position: absolute; right: -2px; bottom: -2px; display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-verified); color: #fff; border: 2px solid var(--bg-base); }
.card-id-block { min-width: 0; flex: 1; padding-top: 3px; }
.card-name-row { display: flex; align-items: center; gap: 6px; }
.card-name { font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-handle { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.card-category-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 10.5px; font-weight: 700; color: var(--card-accent, var(--accent)); background: color-mix(in srgb, var(--card-accent, #ef4444) 12%, transparent); border: 1px solid color-mix(in srgb, var(--card-accent, #ef4444) 35%, transparent); padding: 2px 9px; border-radius: 999px; }
.card-followers-row { display: flex; align-items: center; gap: 6px; margin-top: 13px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-up); }
.card-followers-row svg { color: var(--text-dim); }
.card-bio { margin-top: 9px; font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.btn-visit-x { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 10px; background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); color: var(--text-main); font-size: 12px; font-weight: 700; text-decoration: none; transition: all 0.18s ease; }
.btn-visit-x:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-card-archive { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.18s ease; font-family: var(--font-sans); }
.btn-card-archive:hover { color: var(--accent-gold); border-color: var(--accent-gold); }
/* compact & list */
.compact-view .blogger-card { padding: 14px; }
.compact-view .card-avatar, .compact-view .card-avatar-fallback { width: 44px; height: 44px; font-size: 16px; }
.compact-view .card-bio { -webkit-line-clamp: 2; }
.list-view .blogger-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.list-view .card-cover { display: none; }
.list-view .card-top-row { flex: 1; min-width: 0; }
.list-view .card-bio { display: none; }
.list-view .card-actions { margin-top: 0; flex-shrink: 0; }
.list-view .btn-visit-x { flex: none; padding: 0 16px; }
.card-skeleton { height: 218px; border-radius: 18px; background: linear-gradient(100deg, var(--bg-panel) 40%, var(--bg-panel-strong) 50%, var(--bg-panel) 60%); background-size: 200% 100%; animation: skeletonWave 1.4s linear infinite; }
@keyframes skeletonWave { to { background-position: -200% 0; } }
.infinite-scroll-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px; color: var(--text-dim); font-size: 12.5px; }
.infinite-spinner { width: 18px; height: 18px; border: 2px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.v2-empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 70px 20px; text-align: center; }
.empty-icon-wrap { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--bg-panel-strong); color: var(--text-dim); }
.empty-title { font-size: 16px; font-weight: 800; }
.empty-desc { font-size: 13px; color: var(--text-dim); max-width: 420px; line-height: 1.7; }
.btn-reset-filters { margin-top: 4px; height: 34px; padding: 0 18px; background: var(--accent); color: #fff; border: none; border-radius: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; cursor: pointer; }
/* ============ Roulette modal ============ */
.roulette-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(4, 6, 10, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.roulette-frameless-wrapper { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 20px; max-width: 94vw; }
.roulette-floating-card { position: relative; width: min(340px, 90vw); background: var(--bg-header); border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: var(--shadow-float); overflow: hidden; animation: popIn 0.4s var(--ease-spring); }
@keyframes popIn { from { transform: scale(0.9) translateY(20px); opacity: 0; } }
.roulette-banner { height: 96px; background: linear-gradient(120deg, var(--accent) 0%, transparent 60%), linear-gradient(300deg, var(--accent-gold) 0%, transparent 55%), var(--bg-panel-strong); opacity: 0.9; }
.roulette-avatar-zone { position: relative; margin: -38px auto 0; width: fit-content; }
.roulette-avatar-img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3.5px solid var(--accent); box-shadow: 0 6px 28px var(--spot-glow); }
.roulette-avatar-zone .badge-verified-native { width: 24px; height: 24px; right: 2px; bottom: 2px; }
.card-influence-pill { position: absolute; left: 50%; transform: translateX(-50%); bottom: -12px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.6px; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.card-influence-pill.top-tier { color: var(--accent-gold); background: var(--accent-gold-subtle); border: 1px solid var(--accent-gold); }
.roulette-info-zone { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 22px 22px 24px; text-align: center; }
.roulette-name { font-size: 18px; font-weight: 800; }
.roulette-handle { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.roulette-bio { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.roulette-shuffling .roulette-avatar-img, .roulette-shuffling .roulette-name, .roulette-shuffling .roulette-handle, .roulette-shuffling .roulette-bio { opacity: 0.55; }
.roulette-shuffling .roulette-banner { animation: bannerShift 0.18s linear infinite alternate; }
@keyframes bannerShift { to { filter: hue-rotate(40deg); } }
.roulette-outside-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-roulette-visit { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px; background: var(--accent); color: #fff; border-radius: 12px; font-weight: 800; font-size: 13px; text-decoration: none; transition: all 0.2s ease; box-shadow: 0 4px 18px var(--spot-glow); }
.btn-roulette-visit:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-reshuffle { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; background: var(--bg-panel-strong); color: var(--text-main); border: 1px solid var(--border-strong); border-radius: 12px; font-family: var(--font-sans); font-weight: 700; font-size: 13px; cursor: pointer; transition: all 0.2s ease; }
.btn-reshuffle:hover { border-color: var(--accent); color: var(--accent); }
.roulette-dismiss-hint { font-size: 11.5px; color: rgba(255,255,255,0.5); }
/* ============ Inspector drawer ============ */
.inspector-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(4, 6, 10, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn 0.2s ease; }
.inspector-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(400px, 100vw); background: var(--bg-header); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-left: 1px solid var(--border-strong); box-shadow: var(--shadow-float); display: flex; flex-direction: column; animation: slideIn 0.32s var(--ease-spring); }
@keyframes slideIn { from { transform: translateX(60px); opacity: 0; } }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border-subtle); }
.drawer-title-group { display: flex; align-items: center; gap: 10px; }
.drawer-badge-tag { font-size: 12px; font-weight: 800; color: var(--accent); background: var(--accent-subtle); padding: 4px 11px; border-radius: 999px; }
.drawer-meta-tip { font-size: 11px; color: var(--text-dim); }
.drawer-close-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); border-radius: 9px; color: var(--text-secondary); cursor: pointer; }
.drawer-close-btn:hover { color: var(--accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
.drawer-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.drawer-name { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.drawer-handle { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.drawer-bio { margin-top: 8px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.drawer-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
.drawer-stat-item { background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 12px 14px; }
.drawer-stat-value { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text-main); }
.drawer-stat-label { font-size: 11px; color: var(--text-dim); margin-top: 3px; font-weight: 600; }
.drawer-meta-list { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; }
.drawer-meta-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-secondary); }
.drawer-meta-row svg { color: var(--text-dim); flex-shrink: 0; }
.drawer-meta-row a { color: var(--accent-blue); text-decoration: none; word-break: break-all; }
.drawer-meta-row a:hover { text-decoration: underline; }
.drawer-actions { display: flex; gap: 10px; padding-top: 6px; }
.btn-drawer-visit { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; background: var(--accent); color: #fff; border-radius: 12px; font-weight: 800; font-size: 13px; text-decoration: none; transition: background 0.2s ease; }
.btn-drawer-visit:hover { background: var(--accent-hover); }
/* ============ Toast / back-to-top / footer ============ */
.toast-container { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast-item { display: flex; align-items: center; gap: 8px; background: var(--bg-header); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-strong); color: var(--text-main); font-size: 12.5px; font-weight: 600; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow-float); animation: toastIn 0.3s var(--ease-spring); }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } }
.toast-item.hiding { opacity: 0; transform: translateY(8px); transition: all 0.3s ease; }
.btn-back-to-top { position: fixed; right: 26px; bottom: 26px; z-index: 80; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--bg-header); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text-secondary); cursor: pointer; box-shadow: var(--shadow-float); transition: all 0.2s ease; }
.btn-back-to-top:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.v2-footer { margin: 30px -28px 0; padding: 26px 28px 34px; border-top: 1px solid var(--border-subtle); }
.footer-inner { max-width: 1384px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.footer-row-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.dot-sep { color: var(--text-dim); }
.footer-shortcuts { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-dim); }
.footer-shortcuts kbd { font-family: var(--font-mono); font-size: 10.5px; border: 1px solid var(--border-subtle); border-radius: 5px; padding: 1px 6px; background: var(--bg-panel); margin-left: 4px; }
.footer-disclaimer { font-size: 11.5px; color: var(--text-dim); line-height: 1.8; }
/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-content-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
@media (max-width: 720px) {
  .app-container { padding: 0 16px; }
  .v2-header { margin: 0 -16px; padding: 0 16px; }
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .header-search-wrap { order: 3; flex-basis: 100%; }
  .search-box { max-width: none; }
  .btn-lucky-pick span { display: none; }
  .btn-lucky-pick { padding: 0 11px; }
  .hero-unified-capsule { gap: 14px; padding: 13px 16px; }
  .capsule-divider { display: none; }
  .filter-header-row { flex-direction: column; align-items: flex-start; }
  .drawer-stats-grid { grid-template-columns: 1fr 1fr; }
  .blogger-wall.grid-view, .blogger-wall.compact-view { grid-template-columns: 1fr 1fr; gap: 12px; }
  .blogger-card { padding: 14px; }
  .card-avatar, .card-avatar-fallback { width: 44px; height: 44px; font-size: 16px; }
  .card-bio { -webkit-line-clamp: 2; }
  .v2-footer { margin: 24px -16px 0; padding: 22px 16px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ============ 复刻参考站交互特效 ============ */
/* 卡片 bio 内链接 */
.card-bio a, .spotlight-bio a, .roulette-bio a, .drawer-bio a { color: var(--accent-blue); text-decoration: none; word-break: break-all; }
.card-bio a:hover, .spotlight-bio a:hover, .roulette-bio a:hover, .drawer-bio a:hover { text-decoration: underline; }
/* Spotlight 鼠标聚光 */
.spotlight-interactive::after { content: ''; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mouse-x, -300px) var(--mouse-y, -300px), rgba(255, 255, 255, 0.07), transparent 65%); pointer-events: none; z-index: 1; }
[data-theme="light"] .spotlight-interactive::after { background: radial-gradient(240px circle at var(--mouse-x, -300px) var(--mouse-y, -300px), rgba(15, 23, 42, 0.045), transparent 65%); }
.tilt-card-wrap { transition: transform 0.18s ease-out; will-change: transform; }
/* 点击火花 */
.click-spark-particle { position: fixed; z-index: 200; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: sparkFly 0.62s ease-out forwards; }
@keyframes sparkFly { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.2); opacity: 0; } }
/* 抽卡揭晓烟花 */
.celebration-burst-particle { position: fixed; z-index: 200; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); animation: burstFly var(--duration, 1s) cubic-bezier(0.15, 0.5, 0.4, 1) forwards; }
@keyframes burstFly { 0% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--vx)), calc(-50% + var(--vy))) scale(0.3); opacity: 0; } }
/* hero 胶囊数字等宽跳动避免抖动 */
.capsule-number { font-variant-numeric: tabular-nums; }
/* ============ 交易观点卡 ============ */
.icon-wrap-teal { color: #0f766e; background: rgba(15, 118, 110, 0.12); }
[data-theme="oled"] .icon-wrap-teal { color: #2dd4bf; background: rgba(45, 212, 191, 0.14); }
.take-card { padding: 20px 22px 16px; cursor: default; }
.take-quote-mark { position: absolute; top: 4px; right: 14px; font-size: 56px; line-height: 1; font-family: Georgia, serif; color: var(--card-accent, var(--accent)); opacity: 0.16; pointer-events: none; }
.take-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.take-author { font-size: 14px; font-weight: 800; }
.take-handle { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.take-date { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); margin-left: auto; }
.take-text { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--text-secondary); border-left: 3px solid var(--card-accent, var(--accent)); padding-left: 14px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.take-text a { color: var(--accent-blue); text-decoration: none; word-break: break-all; }
.take-text a:hover { text-decoration: underline; }
.take-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
.take-tickers { display: flex; gap: 6px; flex-wrap: wrap; }
.take-ticker-pill { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-main); background: var(--bg-panel-strong); border: 1px solid var(--border-subtle); border-radius: 999px; padding: 2px 10px; cursor: pointer; transition: all 0.15s ease; }
.take-ticker-pill:hover { border-color: var(--card-accent, var(--accent)); color: var(--card-accent, var(--accent)); }
.take-no-ticker { font-size: 11px; color: var(--text-dim); }
.take-direction { font-size: 11px; font-weight: 800; border: 1px solid; border-radius: 999px; padding: 2px 10px; }
.take-source { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--text-dim); text-decoration: none; }
.take-source:hover { color: var(--card-accent, var(--accent)); }
/* 抽屉内观点 */
.drawer-takes-block { padding: 16px 0 4px; border-bottom: 1px solid var(--border-subtle); }
.drawer-takes-title { font-size: 12px; font-weight: 800; color: var(--text-dim); letter-spacing: 0.5px; margin-bottom: 10px; }
.drawer-take-item { background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 11px 13px; margin-bottom: 8px; }
.drawer-take-text { font-size: 12.5px; line-height: 1.65; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-take-text a { color: var(--accent-blue); text-decoration: none; }
.drawer-take-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 7px; font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }
.drawer-take-ticker { color: var(--text-secondary); background: var(--bg-panel-strong); border-radius: 5px; padding: 1px 7px; }
.drawer-take-meta a { color: var(--accent-blue); text-decoration: none; }
.drawer-take-more { font-size: 11.5px; color: var(--text-dim); padding: 4px 0 8px; }
/* ============ 多空对垒台 ============ */
.battle-arena { display: flex; flex-direction: column; gap: 18px; animation: cardIn 0.45s var(--ease-spring) both; }
.battle-scoreboard { position: relative; background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 26px 26px 18px; overflow: hidden; }
.battle-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--bg-panel-strong); }
.battle-bar-seg { display: block; min-width: 0; transition: flex 0.4s var(--ease-spring); }
.battle-bar-seg.bull { background: var(--accent-up); }
.battle-bar-seg.neutral { background: var(--text-dim); opacity: 0.5; }
.battle-bar-seg.bear { background: var(--accent-down); }
.battle-vs-badge { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--bg-header); border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: 0.5px; color: var(--text-main); box-shadow: var(--shadow-card); }
.battle-counts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 16px; }
.battle-count { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: 14px; background: var(--bg-panel); border: 1px solid var(--border-subtle); }
.battle-count b { font-family: var(--font-mono); font-size: 26px; line-height: 1.1; }
.battle-count span { font-size: 11.5px; font-weight: 700; color: var(--text-dim); }
.battle-count.bull b { color: var(--accent-up); }
.battle-count.neutral b { color: var(--text-secondary); }
.battle-count.bear b { color: var(--accent-down); }
.battle-window { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.battle-window-label { font-size: 11.5px; color: var(--text-dim); font-weight: 600; margin-right: 2px; }
.battle-window button { height: 26px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border-subtle); background: var(--bg-panel-strong); color: var(--text-secondary); font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; cursor: pointer; transition: all 0.15s ease; }
.battle-window button:hover { color: var(--text-main); border-color: var(--border-strong); }
.battle-window button.active { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); }
.battle-note { margin-top: 12px; font-size: 11px; line-height: 1.7; color: var(--text-dim); text-align: center; }
.battle-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; align-items: start; }
.battle-col { border-radius: 18px; border: 1px solid var(--border-subtle); background: var(--bg-panel); overflow: hidden; }
.battle-col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border-subtle); }
.battle-flag { font-size: 13.5px; font-weight: 800; }
.battle-col-count { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); }
.battle-col.bull { border-top: 3px solid var(--accent-up); }
.battle-col.bull .battle-flag { color: var(--accent-up); }
.battle-col.bear { border-top: 3px solid var(--accent-down); }
.battle-col.bear .battle-flag { color: var(--accent-down); }
.battle-col.neutral { border-top: 3px solid var(--text-dim); }
.battle-col.neutral .battle-flag { color: var(--text-secondary); }
.battle-col-body { display: flex; flex-direction: column; gap: 10px; padding: 12px; max-height: 640px; overflow-y: auto; }
.battle-empty { padding: 26px 10px; text-align: center; font-size: 12px; color: var(--text-dim); }
.battle-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 13px 14px; cursor: pointer; transition: transform 0.18s var(--ease-spring), border-color 0.18s ease; }
.battle-item:hover { transform: translateY(-2px); border-color: var(--card-accent, var(--accent)); }
.battle-item-head { display: flex; align-items: center; gap: 9px; }
.battle-item-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--card-accent, var(--accent)); flex-shrink: 0; }
.battle-item-avatar-fb { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--card-accent, #888), color-mix(in srgb, var(--card-accent, #888) 55%, #000)); }
.battle-item-id { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.battle-item-name { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.battle-item-handle { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.battle-item-dir { font-size: 10px; font-weight: 800; color: var(--card-accent); border: 1px solid var(--card-accent); border-radius: 999px; padding: 2px 8px; flex-shrink: 0; }
.battle-item-text { margin-top: 9px; font-size: 12.5px; line-height: 1.65; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.battle-item-text a { color: var(--accent-blue); text-decoration: none; }
.battle-item-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
@media (max-width: 960px) {
  .battle-cols { grid-template-columns: 1fr; }
  .battle-col-body { max-height: none; }
  .battle-counts { gap: 6px; }
  .battle-count b { font-size: 20px; }
}
