/* DomainWhy v0.3 — blue→cyan gradient system, dark & light themes */
:root {
  --bg: #071a33;
  --bg-2: #082449;
  --surface: rgba(13, 36, 74, .62);
  --surface-solid: #0b2347;
  --surface-soft: rgba(255, 255, 255, .045);
  --surface-hover: rgba(255, 255, 255, .08);
  --text: #eaf3ff;
  --text-2: #a9c1e0;
  --text-3: #7590b5;
  --line: rgba(130, 175, 255, .16);
  --line-strong: rgba(130, 175, 255, .3);
  --accent: #6aa5ff;
  --accent-2: #42d9ff;
  --accent-3: #2f6bff;
  --accent-soft: rgba(47, 107, 255, .16);
  --on-accent: #ffffff;
  --grad: linear-gradient(120deg, var(--accent-3), var(--accent-2));
  --up: #48d9b5;
  --down: #ff7a90;
  --neutral: #8ba3c7;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 18px 48px rgba(2, 12, 32, .38);
  --grid-line: rgba(120, 170, 255, .06);
  --hero-grad: linear-gradient(160deg, #071a33 0%, #0a2a55 52%, #082449 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

[data-theme="light"] {
  --bg: #f4f8ff;
  --bg-2: #e8f2ff;
  --surface: rgba(255, 255, 255, .9);
  --surface-solid: #ffffff;
  --surface-soft: rgba(22, 70, 160, .04);
  --surface-hover: rgba(22, 70, 160, .07);
  --text: #0c1e3c;
  --text-2: #3f5678;
  --text-3: #7189ab;
  --line: rgba(30, 80, 170, .12);
  --line-strong: rgba(30, 80, 170, .22);
  --accent: #165dff;
  --accent-2: #28b7ef;
  --accent-3: #165dff;
  --accent-soft: rgba(47, 107, 255, .09);
  --on-accent: #ffffff;
  --grad: linear-gradient(120deg, #165dff, #28b7ef);
  --up: #0a9a78;
  --down: #d9485f;
  --neutral: #6b7f9e;
  --shadow: 0 14px 40px rgba(25, 60, 130, .12);
  --grid-line: rgba(30, 80, 170, .05);
  --hero-grad: linear-gradient(160deg, #ffffff 0%, #f2f8ff 46%, #e6f1ff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.bg-grid, .bg-glow { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.bg-grid {
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 78% 58% at 50% -8%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 58% at 50% -8%, #000 0%, transparent 78%);
}
.bg-glow {
  background:
    radial-gradient(680px 420px at 14% -8%, rgba(47, 107, 255, .22), transparent 70%),
    radial-gradient(760px 460px at 88% 2%, rgba(66, 217, 255, .14), transparent 72%);
}
[data-theme="light"] .bg-glow {
  background:
    radial-gradient(680px 420px at 14% -8%, rgba(47, 107, 255, .1), transparent 70%),
    radial-gradient(760px 460px at 88% 2%, rgba(40, 183, 239, .1), transparent 72%);
}

.wrap { width: min(1140px, calc(100% - 44px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; }
h1 { font-size: clamp(32px, 4.8vw, 52px); }
h2 { font-size: 26px; }
h3 { font-size: 15px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.header-inner { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; font-family: var(--mono); font-size: 15px; font-weight: 800;
  letter-spacing: -.09em; color: var(--on-accent);
  background: var(--grad);
  box-shadow: 0 6px 20px rgba(47, 107, 255, .35);
}
.brand-name { font-size: 17px; font-weight: 680; letter-spacing: -.035em; }
.brand-name em { font-style: normal; color: var(--accent); }
.footer-mark {
  display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: -.08em;
  color: var(--on-accent); background: var(--grad);
}
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 13.5px; color: var(--text-2); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 9px; align-items: center; }
.icon-btn, .lang-toggle {
  display: grid; place-items: center; min-width: 34px; height: 32px; padding: 0 9px;
  border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--text-2);
  border-radius: 9px; font-size: 12px; font-weight: 650;
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover, .lang-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.hero { padding: 82px 0 68px; background: var(--hero-grad); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 840px; }
.eyebrow, .section-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .17em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(47, 107, 255, .55); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,107,255,.5); } 70% { box-shadow: 0 0 0 9px rgba(47,107,255,0); } 100% { box-shadow: 0 0 0 0 rgba(47,107,255,0); } }
.hero h1 {
  background: linear-gradient(105deg, var(--text) 16%, var(--accent) 66%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { margin-top: 20px; color: var(--text-2); font-size: 17px; max-width: 680px; line-height: 1.75; }
.search-card {
  margin-top: 36px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  backdrop-filter: blur(14px);
  position: relative;
}
.search-card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-3), var(--accent-2), transparent);
  opacity: .8;
}
.mode-switch { display: flex; gap: 5px; padding: 14px 14px 0; }
.mode {
  border: 1px solid transparent; background: transparent; color: var(--text-3);
  padding: 7px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  transition: all .2s;
}
.mode:hover { color: var(--text-2); }
.mode.active { color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.search-row { display: flex; gap: 10px; padding: 14px; }
.search-row input, .ask-row input, .assistant-row input {
  flex: 1; min-width: 0; border: 1px solid var(--line-strong); background: var(--surface-soft);
  border-radius: var(--radius-sm); padding: 13px 15px; color: var(--text); outline: none;
  font-family: var(--mono); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.search-row input::placeholder, .ask-row input::placeholder, .assistant-row input::placeholder { font-family: var(--font); color: var(--text-3); }
.search-row input:focus, .ask-row input:focus, .assistant-row input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.btn-primary, .ask-row button, .assistant-row button {
  border: 0; color: var(--on-accent); font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius-sm); white-space: nowrap;
  background: var(--grad);
  box-shadow: 0 8px 26px rgba(47, 107, 255, .28);
  transition: filter .2s, transform .2s;
}
.btn-primary:hover, .ask-row button:hover, .assistant-row button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-primary:disabled, .ask-row button:disabled { opacity: .5; cursor: wait; transform: none; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 16px; align-items: center; }
.examples .ex-label { font-size: 12px; color: var(--text-3); margin-right: 4px; }
.chip {
  border: 1px solid var(--line); background: var(--surface-soft); color: var(--text-2);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-family: var(--mono);
  transition: all .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* --- multi-stage progress line --- */
.progress-line {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 0 4px; min-height: 24px;
  font-size: 12px; color: var(--text-2);
}
.progress-spin {
  width: 13px; height: 13px; flex: none; border-radius: 50%;
  border: 2px solid var(--line-strong); border-top-color: var(--accent);
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-line.done .progress-spin {
  border-color: var(--up); animation: none; position: relative;
}
.progress-line.done .progress-spin::after {
  content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--up);
}
.progress-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-dots { display: flex; gap: 4px; flex: none; }
.progress-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); transition: background .25s, box-shadow .25s; }
.progress-dots i.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* --- live activity "floating screen" strip --- */
.activity-strip {
  display: flex; align-items: center; gap: 13px; margin-top: 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); padding: 7px 15px; overflow: hidden;
}
.activity-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: var(--text-2); white-space: nowrap; flex: none; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5b6e; animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,91,110,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,91,110,0); } 100% { box-shadow: 0 0 0 0 rgba(255,91,110,0); } }
.activity-window { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.activity-track { display: flex; gap: 9px; width: max-content; animation: marquee 38s linear infinite; }
.activity-window:hover .activity-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.activity-item {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 11.5px; color: var(--text-2);
  background: var(--surface-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px;
}
.activity-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; }
.activity-item b { font-family: var(--mono); color: var(--text); font-weight: 650; }
.activity-item .val { font-family: var(--mono); font-weight: 700; color: var(--accent); }
.activity-item .ago { font-size: 10.5px; color: var(--text-3); }
.activity-demo { font-size: 10px; color: var(--text-3); white-space: nowrap; flex: none; opacity: .8; }

.result { padding-top: 56px; padding-bottom: 24px; animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.result-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px;
  flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.result-meta h2 { font-size: clamp(26px, 4vw, 36px); word-break: break-all; font-family: var(--mono); letter-spacing: -.04em; }
.result-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.badge {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: var(--surface-soft); color: var(--text-2); border: 1px solid var(--line);
}
.badge.outline { background: transparent; }
.badge.taken { color: var(--down); border-color: color-mix(in srgb, var(--down) 35%, transparent); background: color-mix(in srgb, var(--down) 10%, transparent); }
.badge.unregistered { color: var(--up); border-color: color-mix(in srgb, var(--up) 35%, transparent); background: color-mix(in srgb, var(--up) 10%, transparent); }
.badge.high { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.badge.medium { color: var(--accent-2); }
.price-hero { text-align: right; }
.price-label { font-size: 12px; color: var(--text-3); letter-spacing: .03em; }
.price-value { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; line-height: 1.1; }
.price-value > span:first-child {
  font-family: var(--mono); font-size: clamp(42px, 6.5vw, 70px); font-weight: 700; letter-spacing: -.055em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(47, 107, 255, .28));
}
.price-value .unit { font-family: var(--mono); font-size: 15px; color: var(--text-3); font-weight: 600; }
.price-sub { font-size: 11.5px; color: var(--text-3); margin-top: 8px; font-family: var(--mono); }
.price-note {
  margin-top: 10px; padding: 9px 13px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.6; color: #8a6216;
  background: linear-gradient(135deg, #fff6e2, #fffaf0);
  border: 1px solid rgba(201, 144, 47, .42);
  border-left: 3px solid #c9902f;
}
/* v0.20: live-trend freshness note. Explains WHY a trended value can shift
   between days without implying the model was "wrong" either time. */
.price-trend-note {
  margin-top: 8px; padding: 8px 13px; border-radius: 10px;
  font-size: 11.5px; line-height: 1.55; color: #3a6ea5;
  background: #eef4fb; border: 1px solid #b6cfe8; border-left: 3px solid #4a90d9;
}
.price-trend-note.is-floor {
  color: #9a5b16; background: linear-gradient(135deg, #fff4e2, #fffaf0);
  border-color: rgba(201, 144, 47, .5); border-left-color: #c9902f;
}

/* --- tiered share nudge --- */
.share-nudge {
  display: flex; align-items: center; gap: 16px; margin: 0 0 18px;
  padding: 16px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface);
  position: relative; overflow: hidden;
}
.share-nudge::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 160px at 92% -30%, var(--tier-glow, rgba(47,107,255,.2)), transparent 75%);
}
.nudge-emoji { font-size: 34px; line-height: 1; flex: none; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(5deg); } }
.nudge-copy { flex: 1; min-width: 0; }
.tier-badge {
  display: inline-block; font-size: 10px; font-weight: 750; letter-spacing: .06em;
  padding: 2px 9px; border-radius: 6px; margin-bottom: 6px;
  color: var(--tier-a, var(--accent));
  border: 1px solid var(--tier-border, var(--line-strong));
  background: var(--tier-soft, var(--accent-soft));
}
.nudge-line { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.6; }
.nudge-btn {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  border: 0; border-radius: var(--radius-sm); padding: 10px 16px;
  color: var(--on-accent); background: var(--grad); font-size: 12.5px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(47, 107, 255, .24); transition: filter .2s, transform .2s;
}
.nudge-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(12px); position: relative;
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-head h3 { flex: 1; margin: 0; }
.card-note, .card-sub { font-size: 11.5px; color: var(--text-3); }
.card-sub { margin-bottom: 16px; line-height: 1.6; }
.source-tag {
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}
.ai-tag {
  font-size: 10px; color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 6px; padding: 2px 8px; white-space: nowrap;
}
.ai-tag.rule { color: var(--neutral); background: var(--surface-soft); border-color: var(--line); }

.drivers-card { margin-bottom: 16px; }
.drivers { display: flex; flex-direction: column; gap: 2px; }
.driver { display: grid; grid-template-columns: 116px 1fr 96px; gap: 14px; align-items: center; padding: 8px 0; }
.driver-name { font-size: 12.5px; color: var(--text-2); }
.driver-track {
  height: 7px; border-radius: 99px; background: var(--surface-soft);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.driver-track i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.driver.up .driver-track i { background: var(--grad); left: 0; box-shadow: 0 0 14px rgba(47,107,255,.4); }
.driver.down .driver-track i { background: linear-gradient(90deg, var(--down), #ffb26b); left: 0; }
.driver.neutral .driver-track i { background: var(--neutral); left: 0; opacity: .5; }
.driver-delta { font-family: var(--mono); font-size: 12.5px; text-align: right; font-weight: 650; }
.driver.up .driver-delta { color: var(--accent); }
.driver.down .driver-delta { color: var(--down); }
.driver.neutral .driver-delta { color: var(--text-3); }
.driver-note { grid-column: 2 / 4; font-size: 11px; color: var(--text-3); margin-top: -4px; padding-bottom: 4px; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.insight { padding-top: 24px; transition: border-color .25s, transform .25s; }
.insight::before {
  content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2), transparent); opacity: .7;
}
.insight:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.insight-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.insight-num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent); opacity: .8; }
.insight-head h3 { flex: 1; font-size: 14.5px; }
.verdict { font-size: 14px; font-weight: 600; line-height: 1.6; margin-bottom: 14px; color: var(--text); }
.insight.rebuilding { opacity: .55; }
.logic-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 9px; }
.logic-list li { position: relative; padding-left: 15px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.logic-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(47,107,255,.7);
}
.insight-note { font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 11px; line-height: 1.6; }
.kv-list { margin: 0; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); padding-top: 12px; }
.kv-list div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; font-size: 12px; }
.kv-list dt { color: var(--text-3); }
.kv-list dd { margin: 0; color: var(--text-2); line-height: 1.55; }

.data-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 14px; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; }
.comps-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.comps-table th {
  text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .05em;
  color: var(--text-3); padding: 8px 10px; border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.comps-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.comps-table td.num, .comps-table th.num { text-align: right; font-family: var(--mono); }
.comps-table .kw { font-family: var(--mono); color: var(--text); font-weight: 600; }
.comps-table .pos { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.comps-table tr:last-child td { border-bottom: 0; }
.comps-empty { padding: 18px 10px; font-size: 12px; color: var(--text-3); }
/* v0.20 · flag a keyword's outlier max (high-water sale) in the comps table */
.comps-table td.num.outlier { color: #ffb454; font-weight: 700; cursor: help; position: relative; }
.comps-table td.num.outlier::after { content: '⚠'; font-size: 9px; margin-left: 3px; vertical-align: super; }
.comps-table td.num.outlier:hover { text-decoration: underline dotted; }
.anchor-box {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: linear-gradient(120deg, var(--accent-soft), transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 12px; color: var(--text-2); line-height: 1.6;
}
.anchor-box strong { font-family: var(--mono); color: var(--accent); font-size: 15px; }
.source-note { font-size: 10.5px; color: var(--text-3); line-height: 1.6; margin-top: 12px; }
.tm-findings { display: flex; flex-direction: column; gap: 8px; min-height: 40px; }
.tm-finding { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-soft); border: 1px solid var(--line); font-size: 12px; }
.tm-finding strong { font-family: var(--mono); color: var(--down); }
.tm-finding span { display: block; color: var(--text-2); margin-top: 3px; line-height: 1.5; }
.tm-clean { font-size: 12.5px; color: var(--text-2); padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.tm-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.tm-links a {
  font-size: 11px; text-align: center; padding: 8px 6px; border-radius: 8px;
  border: 1px solid var(--line-strong); color: var(--text-2); background: var(--surface-soft);
  transition: all .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tm-links a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.details-card { margin-bottom: 16px; padding: 0; }
.details-card summary {
  cursor: pointer; padding: 16px 22px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; list-style: none;
}
.details-card summary::-webkit-details-marker { display: none; }
.details-card summary::before { content: '＋'; color: var(--accent); font-family: var(--mono); }
.details-card[open] summary::before { content: '－'; }
.details-card summary:hover { color: var(--accent); }
.summary-hint { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--text-3); }
.details-card .signals { padding: 0 22px 16px; }
.details-card .source-note { padding: 0 22px 18px; margin-top: 0; }
.signals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
.signal { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.signal-name { color: var(--text-3); flex: 1; }
.signal-value { font-family: var(--mono); font-weight: 600; text-align: right; max-width: 52%; word-break: break-word; }
.impact { font-size: 10px; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.impact.up { background: var(--accent-soft); color: var(--accent); }
.impact.down { background: color-mix(in srgb, var(--down) 12%, transparent); color: var(--down); }
.impact.neutral { background: var(--surface-soft); color: var(--neutral); }

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.cta { border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--text-2); padding: 10px 18px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600; transition: all .2s; }
.cta:hover { border-color: var(--accent); color: var(--accent); }
.cta-primary {
  background: var(--grad); color: var(--on-accent);
  border-color: transparent; box-shadow: 0 8px 24px rgba(47,107,255,.24);
}
.cta-primary:hover { color: var(--on-accent); filter: brightness(1.1); }

.ask-card { margin-bottom: 4px; }
.thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.thread:empty { display: none; }
.msg { font-size: 13px; border-radius: 12px; padding: 10px 14px; max-width: 88%; line-height: 1.65; white-space: pre-wrap; }
.msg.user { align-self: flex-end; background: var(--accent-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.msg.ai { align-self: flex-start; background: var(--surface-soft); color: var(--text-2); border: 1px solid var(--line); }
.stream-cursor { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; margin-left: 2px; background: var(--accent); animation: blink .8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-row { display: flex; gap: 10px; }
.ask-row button { padding: 10px 20px; }
.disclaimer { font-size: 11px; color: var(--text-3); line-height: 1.75; margin: 18px 0 0; }

.hero-answer { margin-top: 18px; }
.hero-answer .section-label { margin-bottom: 8px; }

.section-lead { color: var(--text-2); margin: 10px 0 24px; max-width: 660px; }

.about { padding: 56px 0 76px; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; }
.about-grid p { color: var(--text-2); margin-top: 14px; line-height: 1.75; }
.about-facts { display: flex; flex-direction: column; gap: 16px; }
.fact { border-left: 2px solid var(--accent); padding-left: 15px; }
.fact span { font-size: 11.5px; font-weight: 700; color: var(--accent); }
.fact p { font-size: 12.5px; margin-top: 4px; }

.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 70%, transparent); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-3); }
.footer-brand { font-weight: 650; color: var(--text-2); display: flex; align-items: center; gap: 7px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 14px);
  background: var(--surface-solid); color: var(--text); border: 1px solid var(--line-strong);
  font-size: 12.5px; padding: 10px 18px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- Floating AI assistant --- */
.assistant-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  display: grid; place-items: center; color: var(--on-accent);
  background: var(--grad);
  box-shadow: 0 12px 34px rgba(47, 107, 255, .38), 0 4px 14px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
}
.assistant-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 40px rgba(47,107,255,.5); }
.assistant-fab[aria-expanded="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent), 0 12px 34px rgba(47, 107, 255, .35); }
.fab-pulse {
  position: absolute; inset: -5px; border-radius: 22px; border: 1px solid var(--accent);
  opacity: 0; animation: fabPulse 3s infinite; pointer-events: none;
}
@keyframes fabPulse { 0% { opacity: .5; transform: scale(.92); } 70%, 100% { opacity: 0; transform: scale(1.16); } }
.assistant-panel {
  position: fixed; right: 24px; bottom: 92px; z-index: 60;
  width: min(390px, calc(100vw - 32px)); height: min(540px, calc(100vh - 130px));
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0,0,0,.5); overflow: hidden;
  backdrop-filter: blur(20px);
  animation: panelIn .25s ease both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.assistant-head {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--accent-soft), transparent);
}
.assistant-id { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.bot-mini {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--surface-soft);
}
.assistant-id strong { display: block; font-size: 13px; }
.assistant-id small { display: block; font-size: 10.5px; color: var(--text-3); }
.assistant-actions { display: flex; gap: 6px; }
.assistant-actions button {
  border: 1px solid var(--line); background: var(--surface-soft); color: var(--text-3);
  border-radius: 8px; padding: 4px 9px; font-size: 11px;
}
.assistant-actions button:hover { color: var(--accent); border-color: var(--accent); }
.assistant-actions #assistantClose { font-size: 17px; line-height: 1; padding: 2px 9px; }
.assistant-messages { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 11px; }
.assistant-messages::-webkit-scrollbar { width: 6px; }
.assistant-messages::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 9px; }
.bubble { font-size: 12.5px; line-height: 1.65; border-radius: 12px; padding: 9px 12px; max-width: 90%; white-space: pre-wrap; word-break: break-word; }
.bubble.user { align-self: flex-end; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.bubble.bot { align-self: flex-start; background: var(--surface-soft); border: 1px solid var(--line); color: var(--text-2); }
.bubble.system { align-self: center; background: transparent; border: 0; color: var(--text-3); font-size: 11px; text-align: center; max-width: 100%; }
.assistant-foot { border-top: 1px solid var(--line); padding: 10px 12px 12px; }
.turn-meter { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.turn-meter span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.turn-bar { flex: 1; height: 3px; border-radius: 9px; background: var(--surface-soft); overflow: hidden; }
.turn-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s; }
.assistant-row { display: flex; gap: 8px; }
.assistant-row input { padding: 9px 11px; font-size: 12.5px; }
.assistant-row button { padding: 0 13px; display: grid; place-items: center; }
.assistant-row button:disabled { opacity: .5; cursor: wait; }

/* --- Share poster modal: 3D reveal, spin halo, sheen, fireworks canvas --- */
.poster-overlay {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px;
  background: rgba(3, 10, 26, .74); backdrop-filter: blur(9px);
  overflow: hidden; perspective: 1400px;
  --tier-a: #2f6bff; --tier-b: #42d9ff;
  animation: fadeIn .2s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
.poster-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.poster-modal {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 330px);
  gap: 26px; width: min(710px, 100%); max-height: min(90vh, 780px); padding: 24px;
  border-radius: 22px; background: var(--surface-solid);
  border: 1px solid var(--line-strong); box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
  overflow: auto; transform-style: preserve-3d; will-change: transform;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.poster-modal::-webkit-scrollbar { width: 6px; height: 6px; }
.poster-modal::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
.poster-modal::-webkit-scrollbar-track { background: transparent; }
/* Animations are replayed by toggling .fx-replay on every openPoster(). */
.poster-overlay.fx-replay .poster-modal { animation: posterReveal .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes posterReveal {
  0% { opacity: 0; filter: blur(10px); transform: translateY(64px) translateZ(-280px) rotateY(-34deg) rotateZ(-7deg) scale(.56); }
  52% { opacity: 1; filter: blur(0); }
  74% { transform: translateY(-7px) translateZ(34px) rotateY(4deg) rotateZ(1.2deg) scale(1.035); }
  100% { opacity: 1; filter: none; transform: none; }
}
.poster-overlay.is-closing { animation: fadeOut .22s ease both; }
.poster-overlay.is-closing .poster-modal { animation: posterOut .22s ease both; }
@keyframes posterOut { to { opacity: 0; transform: translateY(12px) scale(.94) rotateY(9deg); } }
.poster-x {
  position: absolute; right: 14px; top: 10px; z-index: 3;
  width: 30px; height: 30px; border-radius: 9px; font-size: 19px; line-height: 1;
  border: 1px solid var(--line); background: var(--surface-soft); color: var(--text-2);
}
.poster-x:hover { color: var(--accent); border-color: var(--accent); }
.poster-preview { position: relative; overflow: hidden; border-radius: 16px; transform-style: preserve-3d; isolation: isolate; }
.poster-overlay.fx-replay .poster-preview { animation: cardRise .9s .1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cardRise {
  from { opacity: 0; transform: rotateY(-24deg) rotateX(13deg) scale(.68) translateY(30px); }
  to { opacity: 1; transform: none; }
}
.poster-preview::before {
  content: ''; position: absolute; inset: -16px; z-index: -1; border-radius: 26px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg 130deg, var(--tier-a) 185deg, var(--tier-b) 235deg, transparent 295deg 360deg);
  filter: blur(20px); opacity: .5; animation: haloSpin 7s linear infinite;
}
@keyframes haloSpin { to { transform: rotate(360deg); } }
.poster-preview::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .34) 48%, transparent 68%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: -120% 0;
}
.poster-overlay.fx-replay .poster-preview::after { animation: sheen 1.4s .5s ease-out both; }
@keyframes sheen {
  0% { background-position: -120% 0; opacity: 0; }
  14% { opacity: 1; }
  100% { background-position: 120% 0; opacity: 0; }
}
.poster-preview img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 223, 165, .28); box-shadow: 0 18px 46px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 223, 165, .1); }
.poster-overlay.fx-replay .poster-preview img { animation: cardFloat 7s 1.05s ease-in-out infinite; }
@keyframes cardFloat {
  0%, 100% { transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(0); }
  50% { transform: perspective(900px) rotateY(2deg) rotateX(-1deg) translateY(-6px); }
}
.poster-side { display: flex; flex-direction: column; min-width: 0; }
.poster-side h3 { font-size: 21px; margin-bottom: 14px; }
.poster-talk {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px;
  border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line);
}
.poster-talk span { font-size: 27px; line-height: 1.2; }
.poster-talk p { font-size: 13px; line-height: 1.7; color: var(--text); font-weight: 550; }
.poster-overlay.fx-replay #posterEmoji { animation: emojiSpin .95s .28s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes emojiSpin {
  0% { opacity: 0; transform: rotate(-190deg) scale(.15); }
  62% { opacity: 1; transform: rotate(14deg) scale(1.3); }
  100% { opacity: 1; transform: none; }
}
.poster-slogan {
  position: relative; margin-top: 14px; padding: 11px 14px 12px 18px; overflow: hidden;
  border-radius: 12px; background: var(--surface-soft); border: 1px solid var(--line);
}
.poster-slogan::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--tier-a), var(--tier-b));
}
.poster-slogan-kicker { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.poster-slogan blockquote { margin: 7px 0 0; font-size: 15px; line-height: 1.6; font-weight: 650; font-style: italic; color: var(--text); }
.poster-slogan blockquote::before, .poster-slogan blockquote::after { color: var(--accent-2); }
.poster-slogan blockquote::before { content: '“'; margin-right: 2px; }
.poster-slogan blockquote::after { content: '”'; margin-left: 2px; }
.poster-overlay.fx-replay .poster-slogan { animation: sloganIn .7s .42s ease both; }
@keyframes sloganIn { from { opacity: 0; transform: translateX(16px) rotateY(-12deg); } to { opacity: 1; transform: none; } }
.poster-tip { font-size: 12px; color: var(--text-2); line-height: 1.7; margin-top: 14px; }
.poster-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.poster-act {
  border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--text-2);
  padding: 9px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 650; transition: all .2s;
}
.poster-act:hover { border-color: var(--accent); color: var(--accent); }
.poster-act.primary { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.poster-act.primary:hover { color: var(--on-accent); filter: brightness(1.1); }
.poster-link { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); word-break: break-all; margin-top: 14px; }
.poster-fine { font-size: 10.5px; color: var(--text-3); line-height: 1.6; margin-top: auto; padding-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .poster-overlay, .poster-overlay *, .poster-overlay *::before, .poster-overlay *::after {
    animation: none !important; transition: none !important;
  }
}

@media (max-width: 980px) {
  .insight-grid, .data-grid, .about-grid, .signals { grid-template-columns: 1fr; }
  .data-grid { gap: 14px; }
  .about-grid { gap: 26px; }
  .result-head { align-items: flex-start; }
  .price-hero { text-align: left; }
  .price-value { justify-content: flex-start; }
  .nav { gap: 16px; font-size: 13px; }
  .poster-modal { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 620px) {
  .hero { padding: 56px 0 48px; }
  .search-row, .ask-row { flex-direction: column; }
  .nav { display: none; }
  .wrap { width: min(1140px, calc(100% - 28px)); }
  .driver { grid-template-columns: 88px 1fr 78px; gap: 8px; }
  .card { padding: 18px; }
  .assistant-fab { right: 16px; bottom: 16px; }
  .assistant-panel { right: 12px; left: 12px; bottom: 82px; width: auto; }
  .tm-links { grid-template-columns: 1fr; }
  .activity-demo { display: none; }
  .share-nudge { flex-wrap: wrap; gap: 10px; }
  .nudge-btn { width: 100%; justify-content: center; }
  .poster-modal { grid-template-columns: 1fr; max-height: 88vh; }
  .poster-preview { max-width: 260px; margin: 0 auto; }
}

/* v0.4 — credibility, evidence and method panel */
.audit-card { margin-bottom: 16px; }
.audit-card h4 { margin: 0 0 10px; font-size: 12px; font-weight: 650; color: var(--text-2); }
.apply-banner { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; background: var(--surface-soft); }
.apply-banner.caution { border-color: color-mix(in srgb, #f0b429 45%, transparent); background: color-mix(in srgb, #f0b429 10%, transparent); }
.apply-banner.not_applicable { border-color: color-mix(in srgb, var(--down) 45%, transparent); background: color-mix(in srgb, var(--down) 10%, transparent); }
.apply-banner strong { display: block; font-size: 12.5px; color: var(--text); margin-bottom: 4px; }
.apply-banner p { margin: 0; font-size: 11.5px; line-height: 1.65; color: var(--text-2); }
.audit-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.audit-metric { background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.audit-metric > span { display: block; font-size: 10.5px; color: var(--text-3); }
.audit-metric > strong { display: block; font: 600 18px/1.35 var(--mono); color: var(--text); margin-top: 4px; }
.audit-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 4px; }
.conf-list { display: flex; flex-direction: column; gap: 4px; max-height: 230px; overflow: auto; }
.conf-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; padding: 5px 9px; border-radius: 6px; background: var(--surface-soft); color: var(--text-2); }
.conf-row > span:last-child { white-space: nowrap; font-family: var(--mono); }
.conf-delta.up { color: var(--up); }
.conf-delta.down { color: var(--down); }
.conf-value { color: var(--text); }
.audit-details { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.audit-details summary { cursor: pointer; font-size: 12px; color: var(--text-2); list-style: none; }
.audit-details summary::-webkit-details-marker { display: none; }
.audit-details summary::before { content: '＋ '; color: var(--accent); }
.audit-details[open] summary::before { content: '－ '; }
.audit-details > div { margin-top: 12px; }
.method-row { display: grid; grid-template-columns: 170px 1fr; gap: 12px; font-size: 11.5px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.method-row > strong { color: var(--text-2); font-weight: 600; }
.method-row > span { color: var(--text-3); word-break: break-word; }
.limit-row { position: relative; font-size: 11.5px; line-height: 1.65; color: var(--text-3); padding: 5px 0 5px 15px; }
.limit-row::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 720px) {
  .audit-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-cols { grid-template-columns: 1fr; }
  .method-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ===== v0.5 — DOMAIN / WHY narrative, brand asset, two one-liners, warm gold ===== */
:root {
  --gold: #e3b65c;
  --gold-soft: rgba(227, 182, 92, .12);
  --gold-line: rgba(227, 182, 92, .32);
  --gold-ink: #f6d797;
}
[data-theme="light"] {
  --gold: #a8761f;
  --gold-soft: rgba(168, 118, 31, .08);
  --gold-line: rgba(168, 118, 31, .28);
  --gold-ink: #7d5712;
}

/* Two-act rail in the hero: 01 DOMAIN -> 02 WHY
   The number chip (.act b) is the shared design token also used by the
   result header (.act-head-tag b) so the two never disagree in size. */
.act-rail { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 9px; font: 700 12.5px/1 var(--mono); letter-spacing: .14em; color: var(--text-3); opacity: .6; }
.act b { font: 800 13px/1 var(--mono); letter-spacing: .03em; padding: 6px 9px; border-radius: 7px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--text-3); }
.act em { font: 500 12.5px/1 var(--font); letter-spacing: 0; font-style: normal; opacity: .9; margin-left: 1px; }
.act.act-on { opacity: 1; color: var(--text); }
.act.act-on b { color: var(--accent); border-color: var(--line-strong); background: var(--accent-soft); }
.act-arrow { color: var(--text-3); opacity: .45; font-size: 13px; align-self: center; }

/* Second-act header above the report — same chip language as the hero rail */
.act-head { display: flex; align-items: center; gap: 18px; padding: 18px 0 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.act-head-tag { display: flex; align-items: center; gap: 9px; font: 700 12.5px/1 var(--mono); letter-spacing: .14em; color: var(--gold); white-space: nowrap; text-transform: uppercase; }
.act-head-tag b { font: 800 13px/1 var(--mono); letter-spacing: .03em; padding: 6px 9px; border-radius: 7px; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.act-head-tag span { font-size: 12.5px; opacity: .85; }
.act-head-copy h2 { margin: 0; font-size: clamp(19px, 2.6vw, 25px); letter-spacing: -.025em; }
.act-head-copy p { margin: 5px 0 0; font-size: 12px; color: var(--text-3); }

/* Small layout refinements */
.result-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.hero-inner .eyebrow { margin-bottom: 18px; }

/* Recognised brand asset — warm, echoes the gold share poster */
.brand-banner {
  display: flex; gap: 14px; padding: 16px 18px; margin: 0 0 16px;
  border-radius: var(--radius); border: 1px solid var(--gold-line);
  background: linear-gradient(115deg, var(--gold-soft), transparent 74%);
  position: relative; overflow: hidden;
}
.brand-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 150px at 92% 0%, var(--gold-soft), transparent 70%);
}
.brand-banner-mark {
  flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-size: 18px; color: #2a1a05; background: linear-gradient(135deg, #b98422, #e8c46f);
  box-shadow: 0 6px 18px rgba(185, 132, 34, .25);
}
.brand-banner-body { min-width: 0; position: relative; z-index: 1; }
.brand-banner-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.brand-banner-tag {
  font: 700 10px/1 var(--mono); letter-spacing: .1em; padding: 5px 9px; border-radius: 6px;
  color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-line);
}
.brand-banner-src { font-size: 10.5px; color: var(--text-3); }
.brand-banner-body strong { display: block; font-size: 15px; color: var(--text); line-height: 1.5; }
.brand-banner-body p { margin: 5px 0 0; font-size: 12px; color: var(--text-2); line-height: 1.6; }
.brand-banner-body small { display: block; margin-top: 8px; font-size: 10.5px; color: var(--text-3); line-height: 1.6; }

/* Brand-asset floor price */
.price-value > span#priceValue.is-floor {
  background: linear-gradient(120deg, #c9902f, #f2cf83);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(227, 182, 92, .28));
}

/* The two one-liners */
.insight-lines { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; margin-bottom: 16px; }
.insight-lines .line-block { padding: 22px 24px; min-width: 0; }
.insight-lines .line-brand { background: linear-gradient(150deg, var(--gold-soft), transparent 78%); border-right: 1px solid var(--line); }
.insight-lines .line-value { background: var(--surface-soft); }
.line-kicker { display: flex; align-items: center; gap: 9px; font: 700 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--text-3); margin-bottom: 14px; }
.line-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.line-block blockquote { margin: 0; font-size: clamp(17px, 2vw, 22px); font-weight: 650; font-style: italic; line-height: 1.6; color: var(--text); letter-spacing: -.01em; }
.line-value > p:not(.line-hint) { margin: 0; font-size: 15px; line-height: 1.7; font-weight: 600; color: var(--text); }
.line-hint { margin: 14px 0 0; font-size: 11px; color: var(--text-3); }
.line-brand .line-hint { color: var(--gold-ink); opacity: .8; }

/* Poster modal: warm accents consistent with the gold card */
.poster-value { margin-top: 12px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.poster-value > p:last-child { margin: 7px 0 0; font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--text); }
.poster-overlay .poster-slogan blockquote::before, .poster-overlay .poster-slogan blockquote::after { color: var(--gold); }
.poster-overlay .poster-act.primary { background: linear-gradient(120deg, #b98422, #e8c46f); color: #241704; }

@media (max-width: 720px) {
  .insight-lines { grid-template-columns: 1fr; }
  .insight-lines .line-brand { border-right: 0; border-bottom: 1px solid var(--line); }
  .act-head { flex-direction: column; align-items: flex-start; gap: 9px; }
  .act-rail { gap: 8px; }
  .act em { display: none; }
  .brand-banner { padding: 14px; }
}


/* ============================================================================
   v0.11 — "AURORA" visual layer
   A darker, more engineered light theme; a stage-like hero; one shared act
   component for 01 DOMAIN / 02 WHY; per-section accent cards; motion.
   ========================================================================== */

/* --- 1. Light theme: cool graphite paper, not white ---------------------- */
[data-theme="light"] {
  --bg: #e9edf5;
  --bg-2: #dfe5f0;
  --surface: rgba(255, 255, 255, .78);
  --surface-solid: #f7f9fd;
  --surface-soft: rgba(18, 38, 74, .05);
  --surface-hover: rgba(18, 38, 74, .09);
  --text: #0d1627;
  --text-2: #3a4761;
  --text-3: #67748c;
  --line: rgba(18, 38, 74, .15);
  --line-strong: rgba(18, 38, 74, .28);
  --accent: #1f55e6;
  --accent-2: #0aa7c9;
  --accent-3: #21388f;
  --accent-soft: rgba(31, 85, 230, .10);
  --grad: linear-gradient(120deg, #21388f, #1f55e6 45%, #0aa7c9);
  --up: #07836a;
  --down: #c93b52;
  --neutral: #5f6f89;
  --shadow: 0 20px 48px rgba(14, 30, 62, .12), 0 2px 8px rgba(14, 30, 62, .06);
  --grid-line: rgba(18, 38, 74, .07);
  --hero-grad: radial-gradient(900px 520px at 12% -10%, rgba(31, 85, 230, .16), transparent 68%),
               radial-gradient(760px 480px at 88% 0%, rgba(10, 167, 201, .14), transparent 70%),
               radial-gradient(520px 360px at 60% 10%, rgba(224, 169, 63, .12), transparent 72%),
               linear-gradient(180deg, #eef2fa 0%, #e7ecf6 60%, #e9edf5 100%);
}

/* Dark theme: deeper stage, warmer gold accents */
[data-theme="dark"] {
  --hero-grad: radial-gradient(900px 520px at 12% -10%, rgba(47, 107, 255, .26), transparent 68%),
               radial-gradient(760px 480px at 88% 0%, rgba(66, 217, 255, .18), transparent 70%),
               radial-gradient(560px 360px at 62% 12%, rgba(227, 182, 92, .12), transparent 72%),
               linear-gradient(180deg, #06152b 0%, #08203d 58%, #071a33 100%);
}

/* --- 2. Type scale: bigger, more editorial ------------------------------ */
body { font-size: 15.5px; }
h1, h2, h3 { letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 2.9vw, 34px); font-weight: 720; }
h3 { font-size: 17px; font-weight: 700; }
.card-head h3 { font-size: 17.5px; }
.card-note, .card-sub { font-size: 12.5px; }

/* --- 3. Hero: aurora blobs, oversized gradient headline, stat row -------- */
.hero { position: relative; overflow: hidden; padding: 68px 0 74px; }
.hero-inner { position: relative; z-index: 2; }
.hero-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-aurora i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: auroraFloat 18s ease-in-out infinite alternate;
}
.hero-aurora i:nth-child(1) { width: 460px; height: 460px; top: -180px; left: -80px; background: radial-gradient(circle, rgba(47,107,255,.55), transparent 68%); }
.hero-aurora i:nth-child(2) { width: 420px; height: 420px; top: -140px; right: -60px; background: radial-gradient(circle, rgba(66,217,255,.42), transparent 70%); animation-delay: -6s; }
.hero-aurora i:nth-child(3) { width: 360px; height: 360px; top: 120px; right: 32%; background: radial-gradient(circle, rgba(227,182,92,.30), transparent 72%); animation-delay: -11s; }
[data-theme="light"] .hero-aurora i { opacity: .38; }
@keyframes auroraFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(34px, 26px, 0) scale(1.12); }
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  margin-top: 18px;
  background: linear-gradient(96deg, var(--text) 0%, var(--accent) 38%, var(--accent-2) 62%, var(--text) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: titleSheen 9s ease-in-out infinite;
}
@keyframes titleSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.lead { font-size: 17.5px; max-width: 700px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-top: 26px; max-width: 760px;
}
.hero-stat {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  background: linear-gradient(160deg, var(--surface), transparent 92%);
  backdrop-filter: blur(10px);
}
.hero-stat strong {
  display: block; font: 800 22px/1.1 var(--mono); letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat span { display: block; margin-top: 5px; font-size: 11.5px; color: var(--text-3); }
.hero-stat--gold strong { background: linear-gradient(120deg, #c9902f, #f2cf83); -webkit-background-clip: text; background-clip: text; }

/* Search card gets a luminous ring */
.search-card { box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent); }
.search-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from 180deg, transparent, color-mix(in srgb, var(--accent) 45%, transparent), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; animation: ringSpin 14s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(1turn); } }

/* --- 4. Shared act component (01 DOMAIN / 02 WHY) ----------------------- */
.act-pair { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.act-card {
  position: relative; flex: 1 1 240px; min-width: 220px;
  padding: 16px 20px 18px; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--surface), transparent 90%);
  backdrop-filter: blur(12px);
  opacity: .72; transition: opacity .3s, border-color .3s, transform .3s;
}
.act-card.act-on {
  opacity: 1; border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 16%, transparent);
}
.act-tag { display: flex; align-items: baseline; gap: 8px; }
.act-tag b {
  font: 800 clamp(30px, 3.6vw, 42px)/1 var(--mono); letter-spacing: -.06em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.act-card:not(.act-on) .act-tag b {
  background: none; -webkit-text-fill-color: var(--text-3); color: var(--text-3); opacity: .8;
}
.act-tag i { font-style: normal; font-size: 22px; color: var(--text-3); opacity: .55; }
.act-tag span {
  font: 700 13px/1 var(--mono); letter-spacing: .26em; color: var(--text-2);
}
.act-name {
  margin: 10px 0 0; font-size: clamp(17px, 1.7vw, 21px); font-weight: 750; letter-spacing: -.02em; color: var(--text);
}
.act-sub { margin: 8px 0 0; font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.act-bar { display: block; width: 46px; height: 3px; border-radius: 3px; margin-top: 14px; background: var(--grad); opacity: .9; }
.act-card:not(.act-on) .act-bar { background: var(--line-strong); opacity: .6; }
.act-link { display: grid; place-items: center; color: var(--text-3); opacity: .6; flex: none; }
.act-pair--result { margin-bottom: 8px; }
.act-pair--result .act-card { flex: 1 1 100%; padding: 20px 24px 22px; }
.act-pair--result .act-tag b { font-size: clamp(34px, 4vw, 46px); }

/* --- 5. Per-section accent cards --------------------------------------- */
.card {
  --card-a: var(--accent);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s, box-shadow .28s;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--card-a), transparent);
  opacity: .8;
}
.card:hover { border-color: color-mix(in srgb, var(--card-a) 45%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 42px color-mix(in srgb, var(--card-a) 12%, transparent); }
.card--gold    { --card-a: #e0a93f; background: linear-gradient(165deg, color-mix(in srgb, #e0a93f 9%, var(--surface)), var(--surface) 58%); }
.card--cyan    { --card-a: #31bcd4; background: linear-gradient(165deg, color-mix(in srgb, #31bcd4 9%, var(--surface)), var(--surface) 58%); }
.card--violet  { --card-a: #8b6cf0; background: linear-gradient(165deg, color-mix(in srgb, #8b6cf0 10%, var(--surface)), var(--surface) 58%); }
.card--rose    { --card-a: #ec6f94; background: linear-gradient(165deg, color-mix(in srgb, #ec6f94 9%, var(--surface)), var(--surface) 58%); }
.card--emerald { --card-a: #35bd92; background: linear-gradient(165deg, color-mix(in srgb, #35bd92 9%, var(--surface)), var(--surface) 58%); }
.card--blue    { --card-a: #4a86ff; background: linear-gradient(165deg, color-mix(in srgb, #4a86ff 8%, var(--surface)), var(--surface) 58%); }
.card--amber   { --card-a: #ef9f4a; background: linear-gradient(165deg, color-mix(in srgb, #ef9f4a 9%, var(--surface)), var(--surface) 58%); }
.card--teal    { --card-a: #2ec4ad; background: linear-gradient(165deg, color-mix(in srgb, #2ec4ad 8%, var(--surface)), var(--surface) 58%); }

.insight .insight-num { color: var(--card-a); font-size: 12px; opacity: .95; }
.insight::before { background: linear-gradient(90deg, var(--card-a), transparent); }
.insight-head h3 { font-size: 18px; }
.card--gold .card-head h3, .card--cyan .card-head h3 { font-size: 18.5px; }

/* --- 6. Motion: reveal on scroll --------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora i, .hero h1, .search-card::after { animation: none; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .card, .act-card { transition: none; }
}

/* --- 7. Responsive ------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-pair { flex-direction: column; }
  .act-link { transform: rotate(90deg); padding: 2px 0; }
}
@media (max-width: 640px) {
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .act-tag b { font-size: 28px; }
}

/* insight cards already draw their own top rule */
.insight::after { display: none; }
/* keep the audit / details cards from clipping their hairline */
.details-card { position: relative; }

/* ============================================================================
   v0.11.1 — DOMAIN / WHY as the hero typography (brand initials in colour),
   and a much wider, more cinematic hero stage.
   ========================================================================== */

/* --- act words: the words dominate, D/W carry the brand ----------------- */
.act-tag { gap: 12px; align-items: baseline; }
.act-tag b { font-size: clamp(19px, 2vw, 25px); letter-spacing: -.05em; opacity: .8; }
.act-tag i { font-size: clamp(17px, 1.7vw, 21px); }
.act-word {
  display: inline-flex; align-items: baseline;
  font: 800 clamp(27px, 3.4vw, 42px)/1 var(--mono);
  letter-spacing: .15em; color: var(--text); text-transform: uppercase;
}
.act-word em {
  font-style: normal; font-weight: 900; letter-spacing: 0; padding-right: .05em;
  background: linear-gradient(125deg, #2f6bff 0%, #42d9ff 70%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(66, 217, 255, .30));
}
.act-word--why em {
  background: linear-gradient(125deg, #c9902f 0%, #f6d894 70%);
  filter: drop-shadow(0 0 20px rgba(227, 182, 92, .34));
}
.act-card:not(.act-on) .act-word { color: var(--text-3); }
.act-card:not(.act-on) .act-word em { background: none; -webkit-text-fill-color: var(--text-3); filter: none; }
.act-name { font-size: 14.5px; font-weight: 600; color: var(--text-2); letter-spacing: .02em; margin-top: 7px; }
.act-pair--result .act-word { font-size: clamp(32px, 4vw, 48px); }
.act-pair--result .act-name { font-size: 15px; }

/* --- hero: wider stage, drifting grid, rotating beam, pulsing spotlight -- */
.hero {
  min-height: min(88vh, 820px);
  padding: 96px 0 108px;
  display: flex; align-items: center;
  isolation: isolate;
}
.hero-inner { width: 100%; }

.hero-aurora i:nth-child(1) { width: 680px; height: 680px; top: -300px; left: -180px; filter: blur(90px); }
.hero-aurora i:nth-child(2) { width: 620px; height: 620px; top: -240px; right: -140px; filter: blur(95px); }
.hero-aurora i:nth-child(3) { width: 520px; height: 520px; top: 150px; right: 30%; filter: blur(100px); }
.hero-aurora i:nth-child(4) { width: 420px; height: 420px; bottom: -220px; left: 24%; background: radial-gradient(circle, rgba(139,108,240,.32), transparent 70%); filter: blur(90px); animation-delay: -14s; }

/* rotating conic beam, blurred so it reads as light, not a shape */
.hero::before {
  content: ''; position: absolute; left: -20%; right: -20%; top: -70%; height: 170%;
  background: conic-gradient(from 200deg at 50% 50%,
    transparent 0deg, rgba(47,107,255,.20) 36deg, transparent 92deg,
    rgba(66,217,255,.16) 158deg, transparent 214deg,
    rgba(227,182,92,.16) 296deg, transparent 360deg);
  filter: blur(46px); opacity: .75; transform-origin: 50% 50%;
  animation: beamSpin 28s linear infinite; pointer-events: none; z-index: 0;
}
@keyframes beamSpin { to { transform: rotate(360deg); } }

/* pulsing top spotlight */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(680px 340px at 50% 4%, rgba(66, 217, 255, .16), transparent 72%);
  animation: spotPulse 9s ease-in-out infinite;
}
@keyframes spotPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* drifting grid across the whole page */
.bg-grid { animation: gridDrift 30s linear infinite; }
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 46px 46px, 46px 46px; }
}

/* larger display headline to match the bigger stage */
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.06; max-width: 15em; }
.lead { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .bg-grid { animation: none; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding: 52px 0 60px; }
  .act-word { font-size: 26px; letter-spacing: .10em; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* specificity fix: .act-tag span (0,1,1) would override .act-word (0,1,0) */
.act-tag .act-word {
  display: inline-flex; align-items: baseline;
  font: 800 clamp(27px, 3.4vw, 42px)/1 var(--mono);
  letter-spacing: .15em; color: var(--text); text-transform: uppercase;
}
.act-card:not(.act-on) .act-tag .act-word { color: var(--text-3); }
.act-pair--result .act-tag .act-word { font-size: clamp(32px, 4vw, 48px); }
@media (max-width: 640px) {
  .act-tag .act-word { font-size: 26px; letter-spacing: .10em; }
}

/* keep the search box inside the first screen: tighter stage, stats below it */
.hero { min-height: min(84vh, 760px); padding: 80px 0 86px; }
.hero .hero-stats { margin-top: 18px; max-width: none; }
.hero .search-card { margin-top: 30px; }
@media (max-width: 640px) {
  .hero { min-height: 0; padding: 44px 0 52px; }
}

/* flex safety: keep the hero column centred and non-shrinking */
.hero { justify-content: center; }
.hero .hero-inner { flex: 0 1 auto; }

/* ============================================================================
   v0.11.2 — fixes: one-line headline, "tech light" instead of a sun, and the
   invisible W (transparent fill left without a gradient background).
   ========================================================================== */

/* 1. headline on ONE line (zh): wider column + size tuned so the Chinese
      title fits without wrapping; English wraps naturally */
.hero .hero-inner { max-width: 980px; }
.hero h1 {
  max-width: none;
  font-size: clamp(26px, 3.9vw, 50px);
  line-height: 1.16;
  letter-spacing: -.035em;
  white-space: normal;
}
@media (max-width: 899px) {
  .hero h1 { font-size: clamp(25px, 6.2vw, 38px); }
}

/* 2. tech light: kill the sun (centre radial + rotating conic), use a
      horizontal aurora wash + a slow scan line instead */
.hero::before {
  content: ''; position: absolute; left: -12%; right: -12%; top: -140px; height: 560px;
  background:
    radial-gradient(58% 100% at 18% 55%, rgba(47, 107, 255, .30), transparent 72%),
    radial-gradient(52% 100% at 52% 42%, rgba(66, 217, 255, .20), transparent 74%),
    radial-gradient(44% 100% at 86% 58%, rgba(227, 182, 92, .16), transparent 74%);
  filter: blur(72px); opacity: .85;
  animation: washDrift 24s ease-in-out infinite alternate;
  transform: none; border-radius: 0;
}
@keyframes washDrift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to   { transform: translate3d(2.5%, 1.5%, 0); }
}

/* slow horizontal scan line — reads as instrumentation, not sunlight */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: auto; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent 4%, rgba(66, 217, 255, .55) 42%, rgba(47, 107, 255, .45) 58%, transparent 96%);
  box-shadow: 0 0 26px rgba(66, 217, 255, .35);
  opacity: 0; animation: scanLine 11s cubic-bezier(.4, 0, .6, 1) infinite;
  pointer-events: none;
}
@keyframes scanLine {
  0% { top: 4%; opacity: 0; }
  12% { opacity: .75; }
  82% { opacity: .5; }
  100% { top: 92%; opacity: 0; }
}

/* 3. initials: theme-aware brand gradients + fix the transparent-fill bug */
:root {
  --init-blue: linear-gradient(125deg, #2f6bff 0%, #42d9ff 100%);
  --init-gold: linear-gradient(125deg, #c9902f 0%, #f2cf83 100%);
}
[data-theme="light"] {
  --init-blue: linear-gradient(125deg, #1b3fd0 0%, #0a86a8 100%);
  --init-gold: linear-gradient(125deg, #8f5f0c 0%, #b8801f 100%);
}
.act-word em {
  background: var(--init-blue);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.act-word--why em { background: var(--init-gold); }

/* inactive act cards: give the initial a real colour instead of killing the
   gradient while keeping a transparent fill (that made the W disappear) */
.act-card:not(.act-on) .act-word { color: var(--text-2); }
.act-card:not(.act-on) .act-word em {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text-2);
  filter: none;
  opacity: .85;
}
.act-card.act-on .act-word em { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
  .hero::after { opacity: .35; }
}
@media (max-width: 899px) {
  .hero h1 { white-space: normal; font-size: clamp(26px, 6.4vw, 40px); }
}

/* inactive act cards: keep the brand gradient, just dim it — never a flat
   grey and never a transparent fill without a background (the W bug) */
.act-card:not(.act-on) .act-word em {
  background: var(--init-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none; opacity: .55;
}
.act-card:not(.act-on) .act-word:not(.act-word--why) em { background: var(--init-blue); }
.act-card:not(.act-on) .act-word { color: var(--text-2); opacity: .9; }

/* ============================================================================
   v0.11.3 — remove the scan line and the "mask" on 02/WHY, add a pointer-lit
   ripple, and widen the hero text column so EN headline/lead stop wrapping early.
   ========================================================================== */

/* 1. kill the travelling scan line (too distracting) */
.hero::after { display: none; }

/* 2. act cards become pure typography — no glass panel, no border, no shadow */
.act-pair .act-card {
  background: none; border: 0; box-shadow: none; backdrop-filter: none;
  -webkit-backdrop-filter: none; padding: 0; border-radius: 0;
  opacity: .58; transform: none;
}
.act-pair .act-card.act-on { opacity: 1; }
.act-pair .act-card::after { display: none; }
.act-pair .act-card.act-on::after { display: none; }
.act-card:hover { transform: none; }
.act-tag { flex-wrap: nowrap; gap: 10px; }
.act-tag .act-word { white-space: nowrap; letter-spacing: .11em; }
.act-name { font-size: 14px; }

/* 3. wider text column so the headline + lead breathe (EN included) */
.hero .hero-inner { max-width: 1140px; }
.hero h1 { max-width: none; font-size: clamp(26px, 3.5vw, 46px); line-height: 1.18; }
html[lang="en"] .hero h1 { font-size: clamp(23px, 3.05vw, 41px); letter-spacing: -.03em; }
.hero .lead { max-width: 1080px; font-size: 16.5px; line-height: 1.7; }
.hero .hero-stats { max-width: 1080px; }

/* 4. pointer-lit ripple: a soft light wave that follows the cursor */
.hero-light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background:
    radial-gradient(360px 280px at var(--lx, 50%) var(--ly, 34%), rgba(66, 217, 255, .22), transparent 68%),
    radial-gradient(680px 460px at var(--lx, 50%) var(--ly, 34%), rgba(47, 107, 255, .16), transparent 74%);
  mix-blend-mode: screen;
  will-change: background;
}
.hero-light.on { opacity: 1; }
[data-theme="light"] .hero-light { mix-blend-mode: normal; }
[data-theme="light"] .hero-light.on { opacity: .8; }

.hero-ripple {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  border: 1px solid rgba(66, 217, 255, .55);
  animation: rippleOut 1.25s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes rippleOut {
  from { transform: scale(.35); opacity: .95; box-shadow: 0 0 0 0 rgba(66, 217, 255, .30); }
  to   { transform: scale(26); opacity: 0; box-shadow: 0 0 0 46px rgba(66, 217, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light { display: none; }
  .hero-ripple { display: none; }
}
@media (max-width: 899px) {
  .act-tag .act-word { font-size: 24px; letter-spacing: .06em; }
  .hero .hero-inner { max-width: 100%; }
}

/* ============================================================================
   v0.11.4 — act pair as a balanced 3-column grid with framed cards; the word
   is inline (no flex-item wrapping), and no opacity ghosting ("mask" feel).
   ========================================================================== */

.act-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 34px;
}
.act-pair--result { grid-template-columns: 1fr; }

/* framed cards again, but crisp: full opacity, real border, no blur panel */
.act-pair .act-card {
  padding: 18px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(158deg, var(--surface), transparent 94%);
  opacity: 1;
  transform: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.act-pair .act-card.act-on {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  background: linear-gradient(158deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), transparent 94%);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 10%, transparent);
}
.act-pair .act-card::after { display: none; }
.act-pair .act-card.act-on::after { display: none; }

/* one unbreakable word: inline, never a flex item */
.act-tag { display: flex; align-items: baseline; gap: 10px; flex-wrap: nowrap; white-space: nowrap; }
.act-tag .act-word { display: inline; white-space: nowrap; letter-spacing: .11em; }
.act-word em { display: inline; }

/* arrow: a small centred chip, not a stray glyph */
.act-link {
  align-self: center;
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--text-3);
  opacity: 1; flex: none;
}

/* crisp text: solid colours, the brand gradient still marks D / W */
.act-pair .act-card .act-word { color: var(--text); }
.act-pair .act-card .act-word em {
  background: var(--init-blue);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .9;
}
.act-pair .act-card .act-word--why em { background: var(--init-gold); }
.act-pair .act-card.act-on .act-word em { opacity: 1; }
.act-name { color: var(--text-2); }
.act-pair .act-card:not(.act-on) .act-name { color: var(--text-3); }

@media (max-width: 899px) {
  .act-pair { grid-template-columns: 1fr; }
  .act-link { justify-self: start; margin-left: 6px; transform: rotate(90deg); }
  .act-tag .act-word { font-size: 25px; letter-spacing: .07em; }
  .act-pair .act-card { padding: 16px 18px 18px; }
}

/* outline-only cards: no translucent fill at all, so nothing reads as a veil */
.act-pair .act-card,
.act-pair .act-card.act-on { background: none; }
.act-pair .act-card.act-on {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
              0 16px 40px color-mix(in srgb, var(--accent) 10%, transparent);
}

/* no glow behind the initials — keeps the word sharp */
.act-pair .act-card .act-word em { filter: none; }

/* ============================================================================
   v0.11.5 — the real cause of the "gold block covering W":
   `background: <gradient>` is a SHORTHAND that resets background-clip to
   border-box, so the gradient painted the whole glyph box while the fill stayed
   transparent. Use background-image (longhand) + forced text clip.
   ========================================================================== */
.act-pair .act-card .act-word em,
.act-pair .act-card .act-word--why em,
.act-card:not(.act-on) .act-word em,
.act-card:not(.act-on) .act-word:not(.act-word--why) em {
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.act-pair .act-card .act-word em,
.act-card:not(.act-on) .act-word:not(.act-word--why) em {
  background-image: var(--init-blue) !important;
}
.act-pair .act-card .act-word--why em,
.act-card:not(.act-on) .act-word--why em {
  background-image: var(--init-gold) !important;
}
/* inactive act cards: dim the glyph itself, never the whole card */
.act-card:not(.act-on) .act-word em { opacity: .72; }

/* fallback: if text clipping is unsupported, use solid ink (never a colour block) */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .act-word em,
  .act-pair .act-card .act-word em {
    background-image: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--accent) !important;
  }
  .act-word--why em,
  .act-pair .act-card .act-word--why em {
    color: #a8761f !important;
  }
}

/* ==========================================================================
   v0.12.0 — LIVE TREND RADAR (前端追加层，不覆盖既有规则)
   ========================================================================== */
.trend {
  position: relative;
  padding-top: 30px;
  padding-bottom: 54px;
}
.trend::before {
  content: "";
  position: absolute;
  inset: 8% -6% 30% -6%;
  pointer-events: none;
  background:
    radial-gradient(60% 48% at 18% 12%, color-mix(in srgb, var(--accent-3) 16%, transparent), transparent 70%),
    radial-gradient(52% 44% at 88% 4%, color-mix(in srgb, var(--accent-2) 13%, transparent), transparent 72%);
  filter: blur(26px);
  opacity: .55;
  z-index: -1;
}
.trend-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.trend-copy { max-width: 760px; }
.trend-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: .19em;
}
.trend-h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.trend-h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--grad);
  opacity: .85;
}
.trend .section-lead { max-width: 720px; line-height: 1.85; }

/* ---- live clock card ---- */
.trend-clockbox {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  position: relative;
  overflow: hidden;
}
.trend-clockbox::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, var(--accent-2) 16%, transparent) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: trendSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes trendSheen {
  0%, 62% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.trend-clock { display: grid; gap: 2px; min-width: 96px; }
.trend-upd { font-size: 11px; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; }
.trend-clock strong {
  font-family: var(--mono);
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--text);
}
.trend-next { font-size: 11px; color: var(--text-3); }
.trend-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text-2);
  cursor: pointer;
  transition: color .18s, background .18s, transform .5s;
}
.trend-btn:hover { color: var(--accent-2); background: var(--surface-hover); }
.trend-btn.spinning svg { animation: spin 1s linear infinite; }
.trend-btn:disabled { opacity: .55; cursor: default; }

/* ---- source health chips ---- */
.trend-src {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 16px;
}
.tsrc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.tsrc i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 18%, transparent);
}
.tsrc.off { color: var(--text-3); }
.tsrc.off i { background: var(--text-3); box-shadow: none; }
.tsrc b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.tsrc em { font-style: normal; color: var(--text-3); font-size: 11px; }

/* ---- toolbar ---- */
.trend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.trend-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.trend-tabs button {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: color .18s, background .18s;
}
.trend-tabs button:hover { color: var(--text); }
.trend-tabs button.on {
  color: var(--on-accent);
  background: var(--grad);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-3) 32%, transparent);
}
.trend-summary { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---- table ---- */
.trend-table {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(2, 12, 32, .7);
}
.trend-headrow,
.trow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 132px 168px 92px;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}
.trend-headrow {
  height: 42px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 40%, transparent);
}
.trend-list { list-style: none; margin: 0; padding: 0; }
.trow {
  position: relative;
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: background .2s;
}
.trow:last-child { border-bottom: 0; }
.trow::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .2s;
}
.trow:hover { background: var(--surface-hover); }
.trow:hover::before { opacity: 1; }
.trow.is-clickable { cursor: pointer; }

.trow-rank {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.trow:nth-child(1) .trow-rank,
.trow:nth-child(2) .trow-rank,
.trow:nth-child(3) .trow-rank {
  font-size: 17px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-2);
}

.trow-main { min-width: 0; }
.trow-word {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.trow-word span.t {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.trow-badge {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  color: var(--text-3);
  text-transform: uppercase;
}
.trow-badge.hot {
  color: #ff8a5b;
  border-color: color-mix(in srgb, #ff8a5b 42%, transparent);
  background: color-mix(in srgb, #ff8a5b 12%, transparent);
}
.trow-badge.up { color: var(--up); border-color: color-mix(in srgb, var(--up) 40%, transparent); }
.trow-badge.down { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.trow-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-3);
  min-width: 0;
}
.trow-dom {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-2) 24%, transparent);
  padding: 1px 7px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}
.trow-sub .zh { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow-ai {
  flex: none;
  font-size: 10px;
  color: var(--text-3);
  border: 1px dashed var(--line-strong);
  padding: 0 5px;
  border-radius: 5px;
}

/* heat */
.trow-heat { display: grid; gap: 6px; }
.heat-track {
  height: 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  overflow: hidden;
}
.heat-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--grad);
  width: 0;
  transition: width .9s cubic-bezier(.22, .61, .36, 1);
}
.trow.is-cool .heat-fill { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--accent-2)); opacity: .7; }
.trow-heat b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.trow-heat b span { color: var(--text-3); font-weight: 400; font-size: 10px; margin-left: 3px; }

/* source chips inside a row */
.trow-src { display: flex; flex-wrap: wrap; gap: 4px; }
.trow-src i {
  font-style: normal;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--text-2);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.trow-src i.multi {
  color: var(--accent-2);
  border-color: color-mix(in srgb, var(--accent-2) 32%, transparent);
  background: color-mix(in srgb, var(--accent-2) 9%, transparent);
}

.trow-go {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s;
}
.trow-go:hover {
  color: var(--on-accent);
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-3) 34%, transparent);
}
.trow-go.ghost { opacity: .45; cursor: default; }
.trow-go.ghost:hover { background: transparent; color: var(--text-2); border-color: var(--line-strong); box-shadow: none; }

/* skeleton & empty */
.trow.skeleton { pointer-events: none; }
.sk {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--text) 6%, transparent) 25%, color-mix(in srgb, var(--text) 12%, transparent) 37%, color-mix(in srgb, var(--text) 6%, transparent) 63%);
  background-size: 400% 100%;
  animation: skShine 1.5s ease-in-out infinite;
}
@keyframes skShine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.trend-empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}
.trend-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-3);
  max-width: 900px;
}

@media (max-width: 980px) {
  .trend-headrow { display: none; }
  .trow {
    grid-template-columns: 40px minmax(0, 1fr) 84px;
    grid-template-areas:
      "rank main go"
      ".    heat src";
    row-gap: 8px;
    padding: 14px 16px;
  }
  .trow-rank { grid-area: rank; }
  .trow-main { grid-area: main; }
  .trow-heat { grid-area: heat; }
  .trow-src { grid-area: src; justify-content: flex-end; }
  .trow-go { grid-area: go; }
  .trow-dom { max-width: 150px; }
}
@media (max-width: 560px) {
  .trend-clockbox { width: 100%; justify-content: space-between; }
  .trow { grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "rank main" ". heat"; }
  .trow-go, .trow-src { display: none; }
  .trow-word { font-size: 14px; }
}

/* v0.13.0 — industry badge on each board row */
.trow-badge.ind {
  color: var(--accent-2);
  border-color: color-mix(in srgb, var(--accent-2) 34%, transparent);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  font-size: 10.5px;
}
.trend-tabs button { font-size: 12.5px; padding: 7px 11px; }

/* v0.16.0 — related-party conflict-of-interest notice.
   Deliberately quiet and cool-toned: it informs, it does not sell. */
.rp-note[hidden] { display: none; }
.rp-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0 4px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent-2);
  border-radius: 12px;
  background: var(--surface-soft);
}
.rp-note-mark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-2) 55%, transparent);
  color: var(--accent-2);
  font: 700 12px var(--mono);
}
.rp-note-body { min-width: 0; }
.rp-note-body strong {
  display: block;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--accent-2);
  margin-bottom: 5px;
}
.rp-note-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-2);
}
[data-theme="light"] .rp-note-body strong,
[data-theme="light"] .rp-note-mark { color: #125e96; }
@media (max-width: 560px) {
  .rp-note { padding: 12px 14px; gap: 10px; }
  .rp-note-body p { font-size: 12px; }
}

/* --- v0.19 · free-user retention: neutral examples, recent lookups --- */
/* Append-only override layer: no historical rule above is modified. */
.examples .examples-break { flex-basis: 100%; height: 0; margin: 0; padding: 0; }
.examples .recent-label { margin-left: 0; }
.examples .chip--recent {
  border-style: dashed;
  border-color: var(--line);
  opacity: .88;
}
.examples .chip--recent:hover {
  border-style: solid;
  opacity: 1;
}
#dataAsOf { margin-top: 5px; opacity: .82; }
#dataAsOf[hidden] { display: none; }

/* --- v0.20 · 我的域名清单 (My Domains): pure-frontend list, compare, export --- */
/* Append-only override layer: no historical rule above is modified. */
.list-toggle { position: relative; }
.list-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--accent, #3f8cff); color: #fff;
  font-size: 10px; line-height: 16px; text-align: center; font-weight: 700;
}
.list-count[hidden] { display: none; }

/* Save-to-list button on the result card */
.save-list-btn {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: transparent; color: var(--text, #e8f0ff);
  border: 1px solid var(--line, rgba(255,255,255,.16));
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.save-list-btn:hover { border-color: var(--accent, #3f8cff); }
.save-list-btn svg { stroke: var(--text-2, #9fb3cf); transition: stroke .15s; }
.save-list-btn.saved { background: rgba(63,140,255,.16); border-color: var(--accent, #3f8cff); color: var(--accent, #3f8cff); }
.save-list-btn.saved svg { fill: var(--accent, #3f8cff); stroke: var(--accent, #3f8cff); }

/* Drawer */
.mylist-drawer { position: fixed; inset: 0; z-index: 80; }
.mylist-drawer[hidden] { display: none; }
.mylist-scrim { position: absolute; inset: 0; background: rgba(3,10,22,.55); backdrop-filter: blur(2px); }
.mylist-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(420px, 92vw);
  background: var(--card, #0c1c34); border-left: 1px solid var(--line, rgba(255,255,255,.12));
  box-shadow: -16px 0 48px rgba(0,0,0,.4);
  display: flex; flex-direction: column; padding: 20px 20px 24px;
  animation: mylist-in .22s ease;
}
@keyframes mylist-in { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.mylist-head { display: flex; align-items: flex-start; justify-content: space-between; }
.mylist-head h3 { margin: 2px 0 0; font-size: 18px; color: var(--text, #e8f0ff); }
.mylist-private { margin: 8px 0 6px; font-size: 11.5px; color: var(--text-2, #9fb3cf); opacity: .8; }
.mylist-toolbar { display: flex; gap: 8px; margin: 10px 0 14px; flex-wrap: wrap; }
.mylist-toolbar[hidden] { display: none; }
.mylist-tool {
  flex: 1; min-width: 90px; padding: 8px 10px; border-radius: 9px;
  background: rgba(255,255,255,.04); color: var(--text, #e8f0ff);
  border: 1px solid var(--line, rgba(255,255,255,.14)); font-size: 12.5px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.mylist-tool:hover:not(:disabled) { border-color: var(--accent, #3f8cff); }
.mylist-tool:disabled { opacity: .4; cursor: not-allowed; }
.mylist-tool.danger:hover { border-color: #ff6b6b; color: #ff8c8c; }
.mylist-body { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.mylist-empty { color: var(--text-2, #9fb3cf); font-size: 13px; line-height: 1.7; margin-top: 18px; }
.mylist-empty[hidden] { display: none; }
.mylist-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line, rgba(255,255,255,.1));
}
.mylist-check { width: 16px; height: 16px; accent-color: var(--accent, #3f8cff); flex: none; }
.mylist-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mylist-domain { font-weight: 700; color: var(--text, #e8f0ff); font-size: 14px; word-break: break-all; }
.mylist-sub { font-size: 11.5px; color: var(--text-2, #9fb3cf); }
.mylist-acts { display: flex; flex-direction: column; gap: 5px; flex: none; }
.mylist-act {
  padding: 5px 10px; border-radius: 7px; font-size: 12px; cursor: pointer;
  background: transparent; color: var(--text-2, #9fb3cf); border: 1px solid var(--line, rgba(255,255,255,.14));
  transition: color .15s, border-color .15s;
}
.mylist-act:hover { color: var(--accent, #3f8cff); border-color: var(--accent, #3f8cff); }
.mylist-act.danger:hover { color: #ff8c8c; border-color: #ff6b6b; }

/* Compare modal */
.compare-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(3,10,22,.6); backdrop-filter: blur(3px); }
.compare-overlay[hidden] { display: none; }
.compare-modal {
  width: min(680px, 96vw); max-height: 88vh; overflow: auto;
  background: var(--card, #0c1c34); border: 1px solid var(--line, rgba(255,255,255,.12));
  border-radius: 16px; padding: 18px 18px 22px; box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.compare-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.compare-head h3 { margin: 0; font-size: 17px; color: var(--text, #e8f0ff); }
.compare-body { display: flex; flex-direction: column; gap: 2px; }
.compare-row { display: grid; grid-template-columns: 1.1fr repeat(var(--cc, 2), 1fr); gap: 8px; padding: 10px 6px; border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); }
.compare-row.compare-head { border-bottom: 1px solid var(--line, rgba(255,255,255,.18)); font-weight: 700; }
.compare-cell { font-size: 13px; color: var(--text, #e8f0ff); word-break: break-word; }
.compare-cell.compare-key { color: var(--text-2, #9fb3cf); font-size: 12px; }
.compare-row:not(.compare-head) .compare-cell:first-child { color: var(--text-2, #9fb3cf); }

body.no-scroll { overflow: hidden; }
@media (max-width: 560px) {
  .mylist-panel { width: 100vw; }
  .mylist-acts { flex-direction: row; }
}

/* --- v0.22 · 深度报告 (Deep Report): pronunciation clarity + web footprint --- */
/* Append-only override layer: no historical rule above is modified. */

.result-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.deep-report-btn {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: transparent; color: var(--text, #e8f0ff);
  border: 1px solid var(--line, rgba(255,255,255,.16));
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.deep-report-btn:hover { border-color: var(--accent, #3f8cff); }
.deep-report-btn svg { stroke: var(--text-2, #9fb3cf); }
.deep-report-tag {
  padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  background: rgba(63,140,255,.18); color: var(--accent, #3f8cff);
  border: 1px solid rgba(63,140,255,.35);
}

/* Drawer */
.deep-drawer { position: fixed; inset: 0; z-index: 85; }
.deep-drawer[hidden] { display: none; }
.deep-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(520px, 96vw);
  background: var(--card, #0c1c34); border-left: 1px solid var(--line, rgba(255,255,255,.12));
  box-shadow: -16px 0 48px rgba(0,0,0,.4);
  display: flex; flex-direction: column; padding: 20px 20px 26px;
  animation: deep-in .22s ease;
}
@keyframes deep-in { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }

.deep-banner {
  margin: 14px 0 4px; padding: 9px 12px; border-radius: 10px;
  font-size: 12px; line-height: 1.6;
  background: rgba(63,140,255,.12); border: 1px solid rgba(63,140,255,.28);
  color: var(--text, #e8f0ff);
}

.deep-body { overflow-y: auto; flex: 1; padding: 6px 4px 10px 0; }
.deep-loading { font-size: 13px; color: var(--text-2, #9fb3cf); padding: 12px 2px; }
.deep-error { font-size: 13px; color: #ff8c8c; padding: 12px 2px; }

.deep-section { margin-top: 18px; }
.deep-section[hidden] { display: none; }
.deep-section h4 {
  margin: 0 0 9px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #9fb3cf);
}

.deep-kv { display: flex; flex-direction: column; gap: 1px; }
.deep-kv-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 7px 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.07));
  font-size: 13px;
}
.deep-kv-key { color: var(--text-2, #9fb3cf); flex: none; }
.deep-kv-val { color: var(--text, #e8f0ff); text-align: right; word-break: break-word; }

.deep-readings {
  margin: 9px 0 0; padding: 8px 11px; border-radius: 9px;
  font-size: 12px; line-height: 1.65;
  background: rgba(255,180,80,.10); border: 1px solid rgba(255,180,80,.26);
  color: #ffc98a;
}

.deep-meter { margin-top: 12px; }
.deep-meter[hidden] { display: none; }
.deep-meter-bar {
  height: 7px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.08); border: 1px solid var(--line, rgba(255,255,255,.1));
}
.deep-meter-bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #3f8cff, #6ee7b7);
  transition: width .4s ease;
}
.deep-meter-label { display: block; margin-top: 7px; font-size: 12px; color: var(--text-2, #9fb3cf); }

.deep-band {
  margin: 0; padding: 12px 14px; border-radius: 11px;
  font-size: 19px; font-weight: 700; letter-spacing: .01em;
  background: rgba(110,231,183,.10); border: 1px solid rgba(110,231,183,.28);
  color: #8ff0c4;
}
.deep-hint { margin: 9px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--text-2, #9fb3cf); opacity: .85; }

.deep-deferred { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.deep-deferred-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line, rgba(255,255,255,.1));
}
.deep-deferred-name { font-size: 13px; font-weight: 600; color: var(--text, #e8f0ff); }
.deep-deferred-src { font-size: 11.5px; color: var(--accent, #3f8cff); }
.deep-deferred-note { font-size: 11.5px; line-height: 1.6; color: var(--text-2, #9fb3cf); }

.deep-sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.deep-sources li { font-size: 12px; line-height: 1.6; color: var(--text-2, #9fb3cf); padding-left: 13px; position: relative; }
.deep-sources li::before { content: '·'; position: absolute; left: 3px; color: var(--accent, #3f8cff); }

@media (max-width: 560px) { .deep-panel { width: 100vw; } }

/* ==========================================================================
   v0.26.0 — gold-card poster, WHOIS record modal, trend appraisal progress
   Append-only override layer: nothing above is modified.
   ========================================================================== */

/* Live-activity strip: fixed-width masked label so the three asterisks align. */
.activity-demo { display: none; }
.activity-item b {
  display: inline-block;
  min-width: 5.4ch;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

/* WHOIS chip next to the "Registered" badge. */
.whois-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold);
  font: 700 10.5px/1 var(--mono);
  letter-spacing: .08em;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.whois-btn:hover {
  transform: translateY(-1px);
  background: var(--gold);
  color: #241704;
  box-shadow: 0 6px 18px rgba(201, 144, 47, .28);
}

/* --- gold card: the share poster stage --- */
.poster-overlay {
  background:
    radial-gradient(900px 620px at 22% 10%, rgba(201, 144, 47, .22), transparent 68%),
    radial-gradient(780px 580px at 84% 86%, rgba(242, 207, 131, .15), transparent 70%),
    rgba(9, 7, 3, .84);
}
[data-theme="light"] .poster-overlay {
  background:
    radial-gradient(900px 620px at 22% 10%, rgba(201, 144, 47, .26), transparent 68%),
    radial-gradient(780px 580px at 84% 86%, rgba(242, 207, 131, .24), transparent 70%),
    rgba(30, 21, 8, .66);
}
.poster-modal {
  padding: 26px;
  border: 1px solid rgba(226, 188, 110, .58);
  background:
    linear-gradient(150deg, rgba(255, 236, 190, .10), transparent 42%),
    linear-gradient(180deg, #1c1408, #110c05 60%, #1d1509);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, .68),
    inset 0 1px 0 rgba(255, 236, 190, .22),
    inset 0 0 0 1px rgba(255, 220, 150, .06);
}
[data-theme="light"] .poster-modal {
  border-color: rgba(168, 118, 31, .48);
  background: linear-gradient(150deg, #fffaf0, #f6ead0 58%, #fff7e6);
  box-shadow: 0 30px 90px rgba(48, 32, 6, .30), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.poster-modal::before {
  content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #b98422, #fff0c4, #c9902f, transparent);
  opacity: .9; pointer-events: none;
}
.poster-overlay .poster-x { border-color: rgba(226, 188, 110, .4); background: rgba(255, 236, 190, .08); }
.poster-overlay .poster-x:hover { color: var(--gold); border-color: var(--gold); }
.poster-overlay .poster-side .section-label { color: var(--gold); }
.poster-overlay .poster-talk,
.poster-overlay .poster-slogan,
.poster-overlay .poster-value {
  background: rgba(255, 236, 190, .06);
  border-color: rgba(226, 188, 110, .32);
}
[data-theme="light"] .poster-overlay .poster-talk,
[data-theme="light"] .poster-overlay .poster-slogan,
[data-theme="light"] .poster-overlay .poster-value {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(168, 118, 31, .26);
}
.poster-overlay .poster-slogan-kicker { color: var(--gold); }
.poster-overlay .poster-act { border-color: rgba(226, 188, 110, .42); }
.poster-overlay .poster-act:hover { border-color: var(--gold); color: var(--gold); }
.poster-overlay .poster-act.primary {
  background: linear-gradient(120deg, #b98422, #f0cd80);
  color: #241704;
  box-shadow: 0 8px 24px rgba(201, 144, 47, .3);
}
.poster-overlay .poster-preview img {
  box-shadow: 0 20px 54px rgba(0, 0, 0, .58), 0 0 0 1px rgba(242, 207, 131, .48);
}
.poster-overlay .poster-preview::before { opacity: .72; }
.poster-overlay .poster-fine,
.poster-overlay .poster-link { color: var(--text-3); }

/* --- WHOIS record modal --- */
.whois-overlay {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 18px;
  background: rgba(5, 9, 19, .70); backdrop-filter: blur(8px);
  animation: fadeIn .2s ease both;
}
.whois-modal {
  position: relative; width: min(720px, 100%);
  max-height: min(88vh, 860px); overflow: auto;
  padding: 26px 28px 20px; border-radius: 22px;
  border: 1px solid rgba(226, 188, 110, .52);
  background:
    linear-gradient(150deg, rgba(255, 236, 190, .08), transparent 38%),
    linear-gradient(180deg, #1a1308, #100c05 62%, #1b1409);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .64), inset 0 1px 0 rgba(255, 236, 190, .18);
  color: var(--text);
  scrollbar-width: thin; scrollbar-color: rgba(226, 188, 110, .5) transparent;
}
[data-theme="light"] .whois-modal {
  border-color: rgba(168, 118, 31, .44);
  background: linear-gradient(160deg, #fffaf0, #f7edd6);
  box-shadow: 0 28px 80px rgba(48, 32, 6, .24);
}
.whois-modal::before {
  content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #b98422, #fff0c4, #c9902f, transparent);
}
.whois-x {
  position: absolute; right: 16px; top: 14px; z-index: 2;
  width: 30px; height: 30px; border-radius: 9px; font-size: 19px; line-height: 1;
  border: 1px solid rgba(226, 188, 110, .4); background: rgba(255, 236, 190, .08);
  color: var(--text-2);
}
.whois-x:hover { color: var(--gold); border-color: var(--gold); }
.whois-head .section-label { color: var(--gold); }
.whois-head h3 { font-size: 21px; margin: 8px 0 6px; word-break: break-all; }
.whois-sub { font-size: 12px; color: var(--text-3); line-height: 1.6; }
.whois-body { margin-top: 20px; }
.whois-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0;
}
.whois-row {
  min-width: 0; padding: 10px 13px; border-radius: 11px;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}
.whois-row dt {
  font-size: 10.5px; letter-spacing: .06em; color: var(--text-3);
  margin-bottom: 4px;
}
.whois-row dd {
  margin: 0; font-family: var(--mono); font-size: 12.5px; font-weight: 650;
  color: var(--text); word-break: break-word;
}
.whois-body h4 {
  font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold); margin: 20px 0 9px;
}
.whois-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.whois-chips.col { flex-direction: column; }
.whois-chips span {
  display: inline-block; padding: 5px 10px; border-radius: 7px;
  border: 1px solid var(--gold-line); background: var(--gold-soft);
  font: 600 11.5px/1.45 var(--mono); color: var(--text); word-break: break-all;
}
.whois-muted { font-size: 12px; color: var(--text-3); margin: 0; }
.whois-foot {
  margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.7; color: var(--text-3);
}
.whois-loading, .whois-empty {
  padding: 36px 16px; text-align: center; font-size: 13px; color: var(--text-3);
}
.whois-loading::before {
  content: ''; display: block; width: 24px; height: 24px; margin: 0 auto 14px;
  border: 2px solid var(--gold-line); border-top-color: var(--gold);
  border-radius: 50%; animation: whoisSpin .8s linear infinite;
}
@keyframes whoisSpin { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .whois-modal { padding: 22px 18px 16px; }
  .whois-grid { grid-template-columns: 1fr; }
  .whois-head h3 { font-size: 18px; }
}

/* --- trend board: visible in-page appraisal progress --- */
.trend-progress-overlay {
  position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 18px;
  background: rgba(5, 9, 19, .68); backdrop-filter: blur(9px);
  animation: fadeIn .2s ease both;
}
.trend-progress-card {
  width: min(430px, 100%); padding: 32px 30px 26px; text-align: center;
  border-radius: 22px; border: 1px solid rgba(226, 188, 110, .5);
  background:
    linear-gradient(150deg, rgba(255, 236, 190, .09), transparent 40%),
    linear-gradient(180deg, #1a1308, #100c05);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 236, 190, .18);
  color: var(--text);
}
[data-theme="light"] .trend-progress-card {
  background: linear-gradient(160deg, #fffaf0, #f7edd6);
  border-color: rgba(168, 118, 31, .44);
}
.trend-progress-ring {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 0deg, #b98422, #f2cf83, #b98422);
  animation: whoisSpin 1.5s linear infinite;
}
.trend-progress-ring span {
  width: 42px; height: 42px; border-radius: 50%;
  background: #140e05;
}
[data-theme="light"] .trend-progress-ring span { background: #fffaf0; }
.trend-progress-overlay.done .trend-progress-ring { animation: none; }
.trend-progress-card .section-label { color: var(--gold); }
.trend-progress-card h3 {
  font-family: var(--mono); font-size: 22px; margin: 12px 0 8px; word-break: break-all;
}
.trend-progress-step { min-height: 20px; font-size: 13px; color: var(--text-2); }
.trend-progress-bar {
  height: 5px; margin: 18px 0 10px; border-radius: 99px; overflow: hidden;
  background: rgba(226, 188, 110, .18);
}
.trend-progress-bar i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #b98422, #f2cf83);
  transition: width .5s ease;
}
.trend-progress-sub { font-size: 11.5px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) {
  .whois-loading::before, .trend-progress-ring { animation: none !important; }
}

/* --- v0.27.0 · 30-dimension scorecard --- */
.scorecard-card .card-head h3 { font-size: 18.5px; }
.scorecard-composite { display: flex; justify-content: center; margin: 2px 0 18px; }
.sc-ring {
  width: 104px; height: 104px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--card-a) 22%, var(--surface)), var(--surface) 70%);
  border: 1.5px solid color-mix(in srgb, var(--card-a) 55%, transparent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--card-a) 22%, transparent);
}
.sc-ring-num { font-family: var(--mono); font-size: 34px; font-weight: 750; color: var(--card-a); line-height: 1; }
.sc-ring-cap { font-size: 11px; color: var(--text-3); margin-top: 5px; letter-spacing: .04em; }

.scorecard { display: flex; flex-direction: column; gap: 18px; }
.sc-group { display: flex; flex-direction: column; gap: 2px; }
.sc-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.sc-group-name { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: color-mix(in srgb, var(--card-a) 78%, var(--text-2)); }
.sc-group-count { font-family: var(--mono); font-size: 11px; color: var(--text-3); background: color-mix(in srgb, var(--card-a) 14%, transparent); padding: 1px 8px; border-radius: 99px; }

.sc-row { display: grid; grid-template-columns: 132px 1fr 72px; gap: 14px; align-items: center; padding: 7px 0; }
.sc-name { font-size: 13px; color: var(--text-2); }
.sc-bar { position: relative; height: 9px; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.sc-bar--pending { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--text) 8%, transparent), color-mix(in srgb, var(--text) 8%, transparent) 6px, transparent 6px, transparent 12px); }
.sc-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 99px; }
.sc-fill--excellent { background: linear-gradient(90deg, #2bb98a, #35bd92); }
.sc-fill--strong { background: linear-gradient(90deg, #3f7ff0, #4a86ff); }
.sc-fill--fair { background: linear-gradient(90deg, #e0a93f, #f0c060); }
.sc-fill--moderate { background: linear-gradient(90deg, #ef9f4a, #f4b96a); }
.sc-fill--weak { background: linear-gradient(90deg, #ec6f94, #f08aa8); }
.sc-pending { font-size: 11px; color: var(--text-3); font-style: italic; letter-spacing: .02em; }
.sc-right { display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; }
.sc-num { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--text); }
.sc-band { font-size: 10.5px; padding: 1px 7px; border-radius: 99px; white-space: nowrap; }
.sc-band--excellent { color: #2bb98a; background: color-mix(in srgb, #35bd92 16%, transparent); }
.sc-band--strong { color: #4a86ff; background: color-mix(in srgb, #4a86ff 16%, transparent); }
.sc-band--fair { color: #e0a93f; background: color-mix(in srgb, #e0a93f 18%, transparent); }
.sc-band--moderate { color: #ef9f4a; background: color-mix(in srgb, #ef9f4a 18%, transparent); }
.sc-band--weak { color: #ec6f94; background: color-mix(in srgb, #ec6f94 18%, transparent); }
.sc-row--pending .sc-name { color: var(--text-3); }
@media (max-width: 560px) {
  .sc-row { grid-template-columns: 102px 1fr 62px; gap: 10px; }
  .sc-name { font-size: 12px; }
}
/* v0.29: per-dimension explanation line (full-width, under the score bar) */
.sc-row { row-gap: 2px; }
.sc-ev { grid-column: 1 / -1; font-size: 11.5px; line-height: 1.5; color: var(--text-3); padding: 0 0 4px; }
.sc-row { padding: 8px 0 6px; }
@media (max-width: 560px) { .sc-ev { font-size: 11px; } }
/* v0.30: "返回查看报告" button under the poster card actions */
.poster-view-report { display: block; width: 100%; margin-top: 10px; }

/* ===== v0.31 market modules: pulse / radar / legends ===== */
.market-block { margin-top: 46px; }
.mk-head { position: relative; margin-bottom: 18px; }
.mk-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--mono); letter-spacing: .16em; color: var(--gold, #c9902f); text-transform: uppercase; }
.mk-live { width: 8px; height: 8px; border-radius: 50%; background: #e8543f; box-shadow: 0 0 0 0 rgba(232,84,63,.6); animation: mkpulse 1.6s infinite; }
@keyframes mkpulse { 0% { box-shadow: 0 0 0 0 rgba(232,84,63,.55); } 70% { box-shadow: 0 0 0 9px rgba(232,84,63,0); } 100% { box-shadow: 0 0 0 0 rgba(232,84,63,0); } }
.mk-title { font-size: 24px; margin: 8px 0 4px; color: var(--text); letter-spacing: .01em; }
.mk-sub { font-size: 13px; color: var(--text-3); margin: 0; }
.mk-updated { position: absolute; right: 0; top: 2px; font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.mk-src { margin: 12px 2px 0; font-size: 11px; line-height: 1.6; color: var(--text-3); }

/* pulse — styled to match the trend board's table language */
.pulse-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.pulse-tile {
  position: relative; padding: 18px 20px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, #e0a93f 12%, var(--surface, #10182b)), var(--surface, #10182b) 62%);
  border: 1px solid color-mix(in srgb, #e0a93f 26%, var(--line, #24314d));
  box-shadow: 0 18px 40px -30px rgba(2, 12, 32, .7);
}
.pulse-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad, linear-gradient(180deg, #b98422, #e8c46f)); }
.pt-k { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-family: var(--mono); }
.pt-v { display: block; margin-top: 8px; font: 800 28px/1.05 var(--mono); color: var(--text); letter-spacing: -.01em; }
.pt-s { display: block; margin-top: 6px; font-size: 11.5px; color: var(--gold, #c9902f); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pulse-tape {
  padding: 0; border: 1px solid var(--line, #24314d); border-radius: 20px;
  background: var(--surface, #10182b); backdrop-filter: blur(12px); overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(2, 12, 32, .7);
}
.tape-head, .tape-row { display: grid; grid-template-columns: 48px minmax(120px, 1fr) 58px 120px minmax(84px, 128px) 78px; gap: 14px; align-items: center; padding: 0 20px; }
.tape-head {
  height: 42px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
  border-bottom: 1px solid var(--line, #24314d); background: color-mix(in srgb, var(--surface-solid, #0d1526) 40%, transparent);
}
.tape-head .th-rank { text-align: left; }
.tape-head .th-price, .tape-head .th-ago { text-align: right; }
.tape-head .th-venue { text-align: left; }
.tape-row { position: relative; padding-top: 13px; padding-bottom: 13px; border-bottom: 1px solid color-mix(in srgb, var(--line, #24314d) 60%, transparent); transition: background .2s; }
.tape-row:last-child { border-bottom: 0; }
.tape-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad, linear-gradient(180deg, #b98422, #e8c46f)); opacity: 0; transition: opacity .2s; }
.tape-row:hover { background: var(--surface-hover, color-mix(in srgb, #e0a93f 6%, transparent)); }
.tape-row:hover::before { opacity: 1; }
.tape-rank { font-family: var(--mono); font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tape-row:nth-child(2) .tape-rank, .tape-row:nth-child(3) .tape-rank, .tape-row:nth-child(4) .tape-rank {
  font-size: 16px; font-weight: 800; color: var(--gold, #c9902f);
}
.tape-domain { font: 700 14.5px var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em; }
.tape-domain:hover { color: var(--gold, #c9902f); text-decoration: underline; text-underline-offset: 3px; }
.tape-tld { justify-self: start; font: 700 10.5px var(--mono); letter-spacing: .04em; color: #f0d79a; padding: 2px 7px; border-radius: 6px; background: color-mix(in srgb, #e0a93f 18%, transparent); border: 1px solid color-mix(in srgb, #e0a93f 40%, transparent); }
.tape-price { font: 800 16px var(--mono); color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.tape-venue { font-size: 12px; color: var(--text-2); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tape-ago { font-size: 11.5px; color: var(--text-3); text-align: right; font-family: var(--mono); white-space: nowrap; }

/* radar */
.radar-movers { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px,1fr)); gap: 12px; margin-bottom: 14px; }
.mv-card { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--text) 4%, transparent); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); display: grid; gap: 3px; }
.mv-tld { font: 800 18px var(--mono); color: var(--gold,#c9902f); }
.mv-mult { font: 800 22px/1 var(--mono); color: var(--text); }
.mv-pct { font: 700 12px var(--mono); }
.mv-pct.up { color: #e8543f; }
.mv-pct.down { color: #2bb98a; }
.mv-avg { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.radar-key { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; margin-bottom: 14px; }
.key-card { padding: 12px 13px; border-radius: 12px; background: color-mix(in srgb, var(--text) 3%, transparent); border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.key-tld { font: 800 15px var(--mono); color: var(--text); }
.key-avg { display: block; margin-top: 3px; font: 800 17px var(--mono); color: var(--text); }
.key-bar { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; margin: 8px 0 5px; }
.key-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #b98422, #e8c46f); }
.key-vs { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.radar-kw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kw-lab { font: 700 11px var(--mono); letter-spacing: .08em; color: var(--text-3); }
.kw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: color-mix(in srgb, var(--gold,#c9902f) 10%, transparent); border: 1px solid color-mix(in srgb, var(--gold,#c9902f) 26%, transparent); font-size: 12px; color: var(--text); }
.kw-h { font: 700 10px var(--mono); color: var(--gold,#c9902f); }

/* legends */
.legends-list { display: grid; gap: 10px; }
.lg-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--text) 3.5%, transparent); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }
.lg-row:hover { border-color: color-mix(in srgb, var(--gold,#c9902f) 34%, transparent); }
.lg-rank { font: 900 24px/1 var(--mono); color: color-mix(in srgb, var(--gold,#c9902f) 80%, var(--text)); }
.lg-main { min-width: 0; }
.lg-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lg-dom { font: 800 18px var(--mono); color: var(--text); }
.lg-cat { font: 700 10px var(--mono); letter-spacing: .06em; color: var(--gold,#c9902f); background: color-mix(in srgb, var(--gold,#c9902f) 12%, transparent); padding: 2px 8px; border-radius: 99px; }
.lg-note { margin: 6px 0 4px; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }
.lg-party { font-size: 11.5px; color: var(--text-3); }
.lg-price { text-align: right; }
.lg-usd { display: block; font: 900 22px/1 var(--mono); color: var(--text); }
.lg-year { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
@media (max-width: 640px) {
  .pulse-stats { grid-template-columns: 1fr; }
  .tape-head, .tape-row { grid-template-columns: 34px 1fr 78px; gap: 10px; padding: 0 14px; }
  .tape-head .th-tld, .tape-head .th-venue, .tape-head .th-ago,
  .tape-tld, .tape-venue, .tape-ago { display: none; }
  .tape-row:nth-child(2) .tape-rank, .tape-row:nth-child(3) .tape-rank, .tape-row:nth-child(4) .tape-rank { font-size: 15px; }
  .lg-row { grid-template-columns: 40px 1fr; }
  .lg-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 10px; }
}
/* v0.36: "品牌潜力股 / Brand potential" badge for coined brandable names */
.badge.potential {
  color: var(--gold, #c9902f);
  border-color: color-mix(in srgb, #e0a93f 42%, transparent);
  background: color-mix(in srgb, #e0a93f 12%, transparent);
  font-weight: 700;
}

/* v0.41 - verified completed-sale badge */
.badge.sold {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #1B4DE4, #0e2f9e);
  font-weight: 700;
  letter-spacing: .03em;
}

/* v0.39 - language picker (9 locales) + baseline RTL support */
.lang-picker { position: relative; }
.lang-toggle {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  gap: 6px; min-width: 64px; padding: 0 10px;
}
.lang-toggle svg { flex: none; }
.lang-caret { font-size: 9px; opacity: .7; line-height: 1; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  z-index: 60; min-width: 172px; max-height: 340px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.lang-menu[hidden] { display: none !important; }
.lang-menu li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: var(--text-2); cursor: pointer;
  transition: background .16s, color .16s;
}
.lang-menu li:hover { background: var(--accent-soft); color: var(--accent); }
.lang-menu li.active { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.lm-code { font-family: var(--mono); font-size: 10px; opacity: .55; letter-spacing: .06em; }
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] .header-inner,
html[dir="rtl"] .hero-inner { text-align: right; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .lang-toggle,
html[dir="rtl"] .brand-name { direction: ltr; }
html[dir="rtl"] .lm-code { direction: ltr; }

/* v0.42 · mainland edition: ICP filing line injected by the server config.
   Append-only overlay, consistent with the project's CSS convention. */
.icp-link {
  color: var(--text-3);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .18s ease;
}
.icp-link:hover { color: var(--text-1); text-decoration: underline; }
/* v0.42: ICP + algorithm filing lines occupy their own wrapped row. */
.cn-filings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem 1.1rem;
  width: 100%;
  margin-top: .35rem;
  font-size: 11.5px;
  line-height: 1.7;
}
.cn-filings .icp-plain { cursor: default; }
.cn-filings .icp-plain:hover { color: var(--text-3); text-decoration: none; }

/* ---- SEO content hub: homepage entry to server-rendered content pages ---- */
.seo-hub { margin: 2.6rem auto 1.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.seo-hub .hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.seo-hub .hub-head h2 { margin: .15rem 0 .1rem; }
.seo-hub .hub-more { font-size: 13px; color: var(--text-2); white-space: nowrap; padding-bottom: .3rem; }
.seo-hub .hub-more span { display: inline-block; transition: transform .16s ease; }
.seo-hub .hub-more:hover { color: var(--accent-2); text-decoration: none; }
.seo-hub .hub-more:hover span { transform: translateX(3px); }
.seo-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem; }
@media (max-width: 860px) { .seo-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .seo-hub-grid { grid-template-columns: 1fr; } }
.seo-hub-card { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 12px; background: var(--surface-soft, rgba(255,255,255,.04)); text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.seo-hub-card:hover { transform: translateY(-2px); border-color: var(--line-strong); text-decoration: none; }
.seo-hub-card b { font-size: 15px; }
.seo-hub-card span { font-size: 12.5px; color: var(--text-3, #8ea8c9); line-height: 1.55; }

/* ---- latest-article carousel ---- */
.hub-carousel { position: relative; margin: 1.2rem 0 .5rem; display: flex; align-items: center; gap: .4rem; }
.hub-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; flex: 1 1 auto; border-radius: 16px; }
.hub-viewport::-webkit-scrollbar { display: none; }
.hub-track { display: flex; gap: .8rem; }
.hub-track:empty::after { content: "文章正在生成中，请稍后再来。"; color: var(--text-3); font-size: 13px; padding: 1.6rem .2rem; display: block; }
.hub-slide { scroll-snap-align: start; flex: 0 0 calc((100% - 1.6rem) / 3); box-sizing: border-box; display: flex; flex-direction: column; min-height: 196px; padding: 1rem 1.05rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-solid, #0b2347); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.hub-slide:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); text-decoration: none; }
.hub-slide-tag { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); margin-bottom: .55rem; }
.hub-slide-tag.t-deal { background: rgba(66,217,255,.13); color: #7fe3ff; }
.hub-slide-tag.t-legend { background: rgba(255,204,102,.13); color: #ffd479; }
.hub-slide-tag.t-daily { background: rgba(160,180,210,.12); color: #b9c9e0; }
.hub-slide h3 { margin: 0 0 .4rem; font-size: 14.6px; line-height: 1.55; font-weight: 700; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-slide p { margin: 0 0 .7rem; font-size: 12.6px; line-height: 1.65; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-slide-meta { margin-top: auto; font-size: 11.5px; color: var(--text-3); letter-spacing: .01em; }
.hub-arrow { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-solid, #0b2347); color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .15s ease, color .15s ease; }
.hub-arrow:hover { border-color: var(--accent-2); color: var(--accent-2); }
.hub-dots { display: flex; gap: 6px; justify-content: center; margin: .1rem 0 .2rem; }
.hub-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: var(--line-strong); cursor: pointer; transition: width .18s ease, background .18s ease; }
.hub-dot.on { width: 18px; border-radius: 4px; background: var(--accent-2); }
@media (max-width: 1080px) { .hub-slide { flex-basis: calc((100% - .8rem) / 2); } }
@media (max-width: 719px) {
  .hub-slide { flex-basis: 100%; min-height: 168px; }
  .hub-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hub-slide, .hub-dot, .seo-hub-card { transition: none; } }

/* ---- bilingual blocks: html[lang] is resolved in <head> before first paint ---- */
.i18n-en { display: none; }
html:not([lang="zh-CN"]) .i18n-zh { display: none; }
html:not([lang="zh-CN"]) .i18n-en { display: inline; }
