:root {
  color-scheme: light;
  --canvas: #f3f5f6;
  --canvas-warm: #f7f2e8;
  --surface: #ffffff;
  --surface-muted: #f8fafb;
  --surface-blue: #eef5f8;
  --ink: #112a43;
  --ink-strong: #071d32;
  --muted: #65778a;
  --muted-light: #8593a1;
  --navy: #123553;
  --navy-soft: #e7eff4;
  --gold: #b5842d;
  --gold-deep: #8f641a;
  --gold-light: #efd08c;
  --gold-soft: #fbf1d9;
  --blue: #3f82ad;
  --blue-soft: #e7f2f8;
  --green: #16775d;
  --green-soft: #e6f4ef;
  --yellow: #9c6d16;
  --yellow-soft: #fbf2dc;
  --red: #ad4e4d;
  --red-soft: #faeaea;
  --purple: #755fa7;
  --line: #dce4e9;
  --line-strong: #c9d4dc;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 7px 22px rgba(27, 50, 72, 0.06);
  --shadow: 0 18px 55px rgba(27, 50, 72, 0.1);
  --shadow-raised: 0 28px 80px rgba(27, 50, 72, 0.14);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-family: var(--font-ui);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--canvas); }
::selection { color: var(--ink-strong); background: var(--gold-light); }
body {
  position: relative;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 92% 3%, rgba(220, 188, 117, 0.22), transparent 25rem),
    radial-gradient(circle at 3% 45%, rgba(102, 159, 190, 0.12), transparent 28rem),
    linear-gradient(180deg, #fafbfb 0%, var(--canvas) 50%, #eef2f4 100%);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 42, 67, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 42, 67, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:where(a, button):focus-visible {
  outline: 3px solid rgba(63, 130, 173, 0.28);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--navy);
}
.skip-link:focus { top: 12px; }
.ambient { display: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 70px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(201, 212, 220, 0.78);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 18px rgba(20, 48, 73, 0.04);
  backdrop-filter: blur(20px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 12px; border-radius: 14px; }
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(18, 53, 83, 0.18);
}
.brand strong, .brand small { display: block; }
.brand strong { color: var(--ink-strong); font-size: 16px; letter-spacing: 0.015em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.brand:hover strong { color: var(--gold-deep); }
.header-actions { display: flex; flex: 0 1 auto; min-width: 0; align-items: center; gap: 10px; }
.data-state, .date-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  white-space: nowrap;
}
.data-state.ok { color: var(--green); border-color: #bcded1; background: var(--green-soft); }
.data-state.warning { color: var(--yellow); border-color: #ead19e; background: var(--yellow-soft); }
.ghost-button {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  cursor: pointer;
}
.ghost-button:hover { border-color: var(--gold); color: var(--gold-deep); }
.ghost-button:active { transform: translateY(1px); box-shadow: none; }

main { position: relative; z-index: 1; }
.asset-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(245px, 1.02fr) minmax(195px, 0.58fr) minmax(380px, 1.32fr);
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 212, 220, 0.92);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.site-header, .header-actions, .asset-hero > *, .hero-meta { min-width: 0; }
.asset-heading { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; }
.asset-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 44px;
  flex: none;
  border: 1px solid #d8bd80;
  border-radius: 12px;
  color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 4px rgba(239, 208, 140, 0.15), 0 7px 18px rgba(143, 100, 26, 0.08);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.035em;
}
.eyebrow, .panel-kicker {
  margin: 0 0 7px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 2px;
  color: var(--ink-strong);
  font-size: clamp(25px, 2.6vw, 30px);
  font-weight: 750;
  letter-spacing: -0.025em;
}
.asset-heading .eyebrow { margin-bottom: 2px; font-size: 7px; letter-spacing: 0.14em; }
.asset-benchmark { margin: 0; color: var(--muted); font-size: 10px; }
.quote-block {
  position: relative;
  z-index: 1;
  display: block;
  padding-left: 16px;
  border-left: 1px solid rgba(143, 100, 26, 0.24);
}
.quote-label { display: block; margin-bottom: 1px; color: var(--muted); font-size: 9px; }
.quote-value { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; }
.quote-block strong {
  display: inline;
  color: var(--ink-strong);
  font-size: clamp(25px, 2.7vw, 30px);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  line-height: 1.07;
}
.quote-value > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
#quote-change {
  display: inline-flex;
  align-items: center;
  margin: 3px 0 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.positive { color: var(--green); }
.negative { color: var(--red); }
.hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-left: 4px;
  border-left: 1px solid rgba(201, 212, 220, 0.84);
}
.hero-meta div {
  min-width: 0;
  padding: 2px 11px;
  border-left: 1px solid rgba(201, 212, 220, 0.72);
}
.hero-meta div:first-child { border-left: 0; }
.hero-meta dt { color: var(--muted); font-size: 9px; }
.hero-meta dd {
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-tabs {
  position: sticky;
  top: 81px;
  z-index: 20;
  display: flex;
  gap: 5px;
  margin-top: 10px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid rgba(201, 212, 220, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}
.module-tabs::-webkit-scrollbar { display: none; }
.module-tabs a {
  position: relative;
  flex: 1 0 auto;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s ease;
}
.module-tabs a:hover { color: var(--ink); background: var(--surface-muted); }
.module-tabs a.active {
  color: var(--navy);
  border-color: rgba(63, 130, 173, 0.25);
  background: rgba(63, 130, 173, 0.18);
  box-shadow: 0 5px 14px rgba(18, 53, 83, 0.09);
}

.route-panel { padding-top: 22px; padding-bottom: 48px; animation: route-in 0.34s ease both; }
@keyframes route-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  color: var(--muted);
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-state { flex-direction: column; color: var(--red); }

.conclusion-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  align-items: center;
  padding: 27px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.conclusion-card h2 { margin-bottom: 0; color: var(--ink-strong); font-size: 22px; }
.conclusion-card > p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 560;
  line-height: 1.8;
}
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 17px 0; }
.signal-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.signal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.signal-card .card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signal-card .card-title { color: var(--muted); font-size: 12px; font-weight: 700; }
.signal-card .signal-main {
  position: relative;
  z-index: 1;
  margin: 20px 0 9px;
  color: var(--ink-strong);
  font-size: 29px;
  font-weight: 730;
}
.signal-card.support .signal-main { color: var(--green); }
.signal-card.pressure .signal-main { color: var(--red); }
.signal-card.support .signal-icon { color: var(--green); border-color: #bcded1; background: var(--green-soft); }
.signal-card.pressure .signal-icon { color: var(--red); border-color: #ecc4c4; background: var(--red-soft); }
.signal-card p { position: relative; z-index: 1; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.signal-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--gold-deep);
  background: var(--surface-muted);
  font-size: 12px;
  font-weight: 800;
}
.tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-muted);
  font-size: 11px;
  font-weight: 650;
}
.tag.support, .tag.ok { color: var(--green); background: var(--green-soft); }
.tag.pressure, .tag.warning { color: var(--red); background: var(--red-soft); }
.tag.neutral { color: var(--yellow); background: var(--yellow-soft); }

.content-grid { display: grid; gap: 17px; }
.overview-grid { grid-template-columns: 1.2fr 0.8fr; }
.detail-grid { grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.78fr); }
.lower-grid { grid-template-columns: 1fr 1fr; margin-top: 17px; }
.panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel, .factor-card, .signal-card { isolation: isolate; }
.panel-heading { margin-bottom: 20px; }
.panel-heading h2 { margin-bottom: 0; color: var(--ink-strong); font-size: 18px; }
.tension-panel {
  background: var(--surface);
}
.lead-copy { color: var(--ink); font-size: 19px; font-weight: 520; line-height: 1.85; }
.muted-copy { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 8px; bottom: 8px; left: 5px; width: 1px; content: ""; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 18px 25px; color: var(--ink); font-size: 13px; line-height: 1.55; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 0 1px #d8bd80;
}
.timeline time { display: block; margin-top: 4px; color: var(--muted-light); font-size: 10px; }
.quality-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 17px;
  padding: 17px 20px;
  border: 1px solid #ead6a9;
  border-radius: 15px;
  color: #705319;
  background: var(--yellow-soft);
  font-size: 12px;
  line-height: 1.7;
}
.quality-banner > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: var(--gold);
  font-size: 8px;
  box-shadow: 0 0 0 5px rgba(181, 132, 45, 0.1);
}

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2 {
  margin-bottom: 0;
  color: var(--ink-strong);
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.chart-panel { padding: 18px; overflow: hidden; }
.chart-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 4px 6px 16px; }
.chart-title { min-width: 0; }
.chart-header h3 { margin: 0; color: var(--ink); font-size: 15px; }
.chart-title > span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.chart-legend span::before { width: 15px; height: 2px; border-radius: 999px; content: ""; background: currentColor; }
.chart-legend .ma20 { color: var(--gold); }
.chart-legend .ma30, .chart-legend .ma50 { color: var(--blue); }
.chart-legend .ma200 { color: var(--purple); }
.stage-key, .band-marker-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 6px 12px;
}
.stage-key span, .band-marker-key span {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}
.stage-key .s1 { color: #3f7fd2; background: #e9f1fb; }
.stage-key .s2 { color: #329b57; background: #e7f5ec; }
.stage-key .s3 { color: #d68428; background: #fcf0e1; }
.stage-key .s4 { color: #d0444e; background: #fae9eb; }
.band-marker-key .positive-marker { color: #06a94f; background: #e7f7ed; }
.band-marker-key .uptrend-marker { color: #1769dc; background: #edf4ff; }
.band-marker-key .watch-marker { color: #d99822; background: #fff4df; }
.band-marker-key .protection-marker { color: #d68428; background: #fcf0e1; }
.band-marker-key .risk-marker { color: #f23845; background: #fff0f1; }
.chart {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
  border: 1px solid #edf1f3;
  border-radius: 14px;
  background: var(--surface);
}
.chart > :not(.stage-background-layer):not(.stage-label-layer):not(.stage-transition-layer):not(.band-history-marker-layer):not(.stoch-rsi-label) { position: relative; z-index: 1; }
.stage-background-layer, .stage-label-layer, .stage-transition-layer, .band-history-marker-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.stage-background-layer { z-index: 0; }
.stage-label-layer { z-index: 3; }
.stage-transition-layer { z-index: 4; }
.stage-zone { position: absolute; top: 0; bottom: 0; border-right: 1px solid rgba(17, 42, 67, 0.08); }
.stage-zone.s1 { background: rgba(63, 127, 210, 0.1); }
.stage-zone.s2 { background: rgba(50, 155, 87, 0.09); }
.stage-zone.s3 { background: rgba(214, 132, 40, 0.1); }
.stage-zone.s4 { background: rgba(208, 68, 78, 0.09); }
.stage-zone-label {
  position: absolute;
  top: 9px;
  overflow: hidden;
  padding: 3px 5px;
  text-align: center;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-zone-label.s1 { color: #3f7fd2; }
.stage-zone-label.s2 { color: #278348; }
.stage-zone-label.s3 { color: #b66b1d; }
.stage-zone-label.s4 { color: #b93641; }
.stage-transition-badge {
  --stage-color: #65778a;
  position: absolute;
  padding: 7px 10px;
  border-radius: 7px;
  color: white;
  background: var(--stage-color);
  box-shadow: 0 7px 18px rgba(17, 42, 67, 0.22);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
}
.stage-transition-badge:focus-visible { outline: 3px solid rgba(63, 130, 173, 0.3); outline-offset: 3px; }
.stage-transition-badge.above { transform: translate(-50%, -100%); }
.stage-transition-badge::after {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  transform: translateX(-50%);
}
.stage-transition-badge.below::after { top: -6px; border-bottom: 6px solid var(--stage-color); }
.stage-transition-badge.above::after { bottom: -6px; border-top: 6px solid var(--stage-color); }
.stage-transition-badge.s1 { --stage-color: #3f7fd2; }
.stage-transition-badge.s2 { --stage-color: #329b57; }
.stage-transition-badge.s3 { --stage-color: #d68428; }
.stage-transition-badge.s4 { --stage-color: #d0444e; }
.stage-transition-label { display: block; }
.stage-transition-tooltip {
  position: absolute;
  left: 50%;
  z-index: 5;
  display: block;
  width: max-content;
  min-width: 245px;
  max-width: 285px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  color: #f7f8fa;
  background: rgba(45, 49, 53, 0.96);
  box-shadow: 0 12px 30px rgba(7, 29, 50, 0.28);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.65;
  text-align: left;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}
.stage-transition-badge.above .stage-transition-tooltip { top: calc(100% + 10px); }
.stage-transition-badge.below .stage-transition-tooltip { bottom: calc(100% + 10px); }
.stage-transition-tooltip span { display: block; }
.stage-transition-tooltip.align-left { left: 0; transform: translateX(-8px); }
.stage-transition-tooltip.align-right { right: 0; left: auto; transform: translateX(8px); }
.stage-transition-badge:hover .stage-transition-tooltip,
.stage-transition-badge:focus .stage-transition-tooltip,
.stage-transition-badge:focus-within .stage-transition-tooltip { opacity: 1; visibility: visible; }
.band-history-marker-layer { z-index: 4; }
.band-history-marker {
  --marker-color: #d99822;
  position: absolute;
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--marker-color);
  background: transparent;
  filter: drop-shadow(0 3px 4px rgba(17, 42, 67, 0.18));
  transform: translateX(-50%);
  cursor: pointer;
  pointer-events: auto;
}
.band-history-marker.above { transform: translate(-50%, -100%); }
.band-history-marker.positive { --marker-color: #06a94f; }
.band-history-marker.uptrend { --marker-color: #1769dc; }
.band-history-marker.watch { --marker-color: #e49a13; }
.band-history-marker.protection { --marker-color: #d68428; }
.band-history-marker.risk { --marker-color: #f23845; }
.band-history-marker-icon { display: block; width: 0; height: 0; }
.band-history-marker.positive .band-history-marker-icon {
  border-right: 8px solid transparent;
  border-bottom: 14px solid var(--marker-color);
  border-left: 8px solid transparent;
}
.band-history-marker.risk .band-history-marker-icon,
.band-history-marker.protection .band-history-marker-icon {
  border-top: 14px solid var(--marker-color);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
.band-history-marker.watch .band-history-marker-icon,
.band-history-marker.uptrend .band-history-marker-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--marker-color);
}
.band-history-marker:hover,
.band-history-marker:focus,
.band-history-marker:focus-within { z-index: 20; filter: none; }
.band-history-marker:focus-visible { outline: 3px solid rgba(63, 130, 173, 0.3); outline-offset: 2px; }
.band-history-marker-tooltip {
  position: absolute;
  left: 50%;
  z-index: 6;
  display: block;
  width: max-content;
  min-width: 240px;
  max-width: 310px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  color: #f7f8fa;
  background: #30353a;
  box-shadow: 0 12px 30px rgba(7, 29, 50, 0.28);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.6;
  text-align: left;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}
.band-history-marker.above .band-history-marker-tooltip { top: calc(100% + 8px); }
.band-history-marker.below .band-history-marker-tooltip { bottom: calc(100% + 8px); }
.band-history-marker-tooltip span { display: block; }
.band-history-marker-tooltip.align-left { left: 0; transform: translateX(-4px); }
.band-history-marker-tooltip.align-right { right: 0; left: auto; transform: translateX(4px); }
.band-history-marker:hover .band-history-marker-tooltip,
.band-history-marker:focus .band-history-marker-tooltip,
.band-history-marker:focus-within .band-history-marker-tooltip { opacity: 1; visibility: visible; }
.stoch-rsi-label {
  position: absolute;
  top: 73%;
  right: 0;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.stoch-rsi-label::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(17, 42, 67, 0.12);
  content: "";
}
.stoch-rsi-label strong { color: var(--ink); letter-spacing: 0.04em; }
.stoch-rsi-label span { font-weight: 800; }
.stoch-rsi-label .k-line { color: var(--blue); }
.stoch-rsi-label .d-line { color: var(--orange); }
.stoch-rsi-label small { color: var(--muted); font-size: inherit; }
.stat-panel { display: flex; flex-direction: column; background: var(--surface); }
.big-state { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin: 12px 0 18px; color: var(--navy); font-size: 38px; font-weight: 750; letter-spacing: -0.025em; }
.big-state small { font-family: inherit; font-size: 17px; font-weight: 650; letter-spacing: 0.01em; }
.big-state.support { color: var(--green); }
.big-state.pressure { color: var(--red); }
.big-state.neutral { color: var(--gold-deep); }
.stat-list { display: grid; gap: 0; margin: 0; }
.stat-list div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stat-list div:last-child { border-bottom: 0; }
.stat-list dt { color: var(--muted); font-size: 11px; }
.stat-list dd { margin: 0; color: var(--ink); text-align: right; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.metric-track {
  width: 100%;
  height: 5px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--navy-soft);
}
.metric-track span {
  display: block;
  width: var(--metric);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.explanation { margin: auto 0 0; padding-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.daily-side-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}
.daily-change-summary {
  display: grid;
  gap: 7px;
  padding-block: 18px;
}
.daily-change-summary span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.daily-change-summary strong { color: var(--ink); font-size: 14px; line-height: 1.55; }
.evidence-list, .history-list { display: grid; gap: 10px; }
.evidence-item, .history-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-muted);
}
.evidence-item strong, .history-item strong { color: var(--ink); font-size: 13px; }
.evidence-item p, .history-item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.history-item.stage-bg-s1 { border-color: #dce8f3; background: #f4f8fd; }
.history-item.stage-bg-s2 { border-color: #d9ebdf; background: #f2faf5; }
.history-item.stage-bg-s3 { border-color: #f3e3cf; background: #fdf7ef; }
.history-item.stage-bg-s4 { border-color: #f3dadd; background: #fdf3f4; }
.band-history-panel { margin-top: 17px; padding-bottom: 14px; }
.history-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.history-heading > div { min-width: 0; }
.history-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--purple);
  background: #f1eef9;
  font-size: 10px;
  font-weight: 750;
}
.history-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.band-history-table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.band-history-table th, .band-history-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f3;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}
.band-history-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: #f7f9fa;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.03em;
}
.band-history-table tr:last-child td { border-bottom: 0; }
.band-history-table tbody tr:hover { background: #fbfcfc; }
.band-history-table th:nth-child(1) { width: 14%; }
.band-history-table th:nth-child(2) { width: 17%; }
.band-history-table th:nth-child(3) { width: 13%; }
.band-history-table th:nth-child(4), .band-history-table th:nth-child(5) { width: 13%; }
.band-history-table th:nth-child(6) { width: 30%; }
.band-history-table th:not(:last-child), .band-history-table td:not(:last-child) { white-space: nowrap; }
.band-status-chip {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 7px;
  font-weight: 750;
  white-space: nowrap;
}
.band-status-chip.band-tone-green { color: #067f3d; background: #e7f7ed; }
.band-status-chip.band-tone-blue { color: #1769dc; background: #edf4ff; }
.band-status-chip.band-tone-orange { color: #d65f00; background: #fff0e6; }
.band-status-chip.band-tone-amber { color: #a66f0d; background: #fff4df; }
.band-status-chip.band-tone-red { color: #c52d39; background: #fff0f1; }
.band-status-chip.band-tone-neutral { color: #6f65a4; background: #f1f0f8; }
.number-cell, .fusion-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fusion-cell { color: var(--muted); }
.action-cell { color: var(--muted) !important; }
.band-history-table td.positive { color: var(--green); }
.band-history-table td.negative { color: var(--red); }
.pending { color: var(--muted-light) !important; }
.empty-history { padding: 30px !important; color: var(--muted) !important; text-align: center !important; }

.fundamental-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  margin-bottom: 17px;
  background: var(--surface);
}
.fundamental-intro p { margin-bottom: 0; line-height: 1.8; }
.fundamental-intro p:first-child { color: var(--ink); font-size: 19px; font-weight: 520; }
.fundamental-intro p:last-child { color: var(--muted); font-size: 12px; }
.factor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.factor-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.factor-card .factor-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.factor-card h3 { margin: 0; color: var(--ink); font-size: 14px; }
.factor-value { margin: 18px 0 12px; color: var(--ink-strong); font-size: 30px; font-weight: 730; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.factor-value small { color: var(--muted); font-family: inherit; font-size: 12px; }
.factor-change { font-size: 12px; font-weight: 650; }
.factor-card p { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.factor-source { display: flex; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted-light); font-size: 10px; }
.coverage-panel { margin-top: 17px; }
.coverage-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.coverage-columns h3 { color: var(--ink); font-size: 13px; }
.coverage-columns ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }

.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.method-card { position: relative; min-height: 188px; padding-right: 70px; overflow: hidden; }
.method-card > span { position: absolute; z-index: 1; top: 17px; right: 22px; color: rgba(181, 132, 45, 0.5); font-size: 28px; font-weight: 750; }
.method-card h3 { position: relative; z-index: 1; color: var(--ink); font-size: 17px; }
.method-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.provenance-panel { margin-top: 17px; }
.provenance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.code-block {
  padding: 14px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #4f6577;
  background: #f5f8fa;
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}
.disclaimer {
  margin-top: 17px;
  padding: 20px 24px;
  border: 1px solid #ead6a9;
  border-radius: 14px;
  color: var(--muted);
  background: var(--gold-soft);
  font-size: 12px;
}
.disclaimer strong { color: var(--gold-deep); }
.disclaimer p { margin: 7px 0 0; line-height: 1.7; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.site-footer a:hover { color: var(--gold-deep); }
.mobile-nav { display: none; }

@media (max-width: 1200px) and (min-width: 901px) {
  .asset-hero { grid-template-columns: minmax(230px, 1fr) minmax(180px, 0.62fr) minmax(320px, 1.25fr); }
  .hero-meta div { padding-inline: 10px; }
}

@media (max-width: 900px) {
  .asset-hero { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-column: 1 / -1; padding: 12px 0 0; border-top: 1px solid rgba(201, 212, 220, 0.84); border-left: 0; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .detail-grid { grid-template-columns: 1fr; }
  .daily-side-stack { gap: 12px; }
  .stat-panel { min-height: 330px; }
  .daily-side-stack .stat-panel { min-height: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 62px; padding-inline: 14px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .header-actions { gap: 6px; }
  .data-state { max-width: 128px; overflow: hidden; padding: 6px 9px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .ghost-button { display: none; }
  .asset-hero { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; padding: 14px 16px; border-radius: 16px; }
  .asset-symbol { width: 48px; height: 42px; border-radius: 12px; font-size: 14px; }
  .quote-block { padding: 9px 0 0; border-top: 1px solid rgba(143, 100, 26, 0.18); border-left: 0; }
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 11px; }
  .hero-meta div { padding: 2px 8px; }
  .module-tabs { display: none; }
  .route-panel { padding-top: 14px; padding-bottom: 92px; }
  .conclusion-card { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .signal-grid, .factor-grid, .method-grid, .lower-grid { grid-template-columns: 1fr; }
  .signal-card { min-height: 0; }
  .panel { padding: 20px; }
  .chart-panel { padding: 12px; }
  .chart-header { align-items: flex-start; padding-inline: 4px; }
  .chart-legend { max-width: 48%; gap: 7px; }
  .stage-key, .band-marker-key { padding-inline: 4px; }
  .chart { height: 350px; }
  .band-history-panel { padding: 18px 14px 12px; }
  .section-heading { align-items: flex-end; }
  .section-heading h2 { font-size: 25px; }
  .fundamental-intro, .coverage-columns, .provenance-grid { grid-template-columns: 1fr; }
  .factor-source { flex-direction: column; gap: 4px; }
  .site-footer { flex-direction: column; padding-bottom: 90px; }
  .mobile-nav {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px;
    border: 1px solid rgba(201, 212, 220, 0.92);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 50px rgba(23, 52, 76, 0.2);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a { padding: 10px 4px; border-radius: 11px; color: var(--muted); text-align: center; font-size: 11px; font-weight: 650; }
  .mobile-nav a.active { color: white; background: var(--navy); box-shadow: 0 7px 17px rgba(18, 53, 83, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
