:root {
  --accent: #9c3b22;
  --paper: #f6f2ea;
  --ink: #211d16;
  --muted: #7a7264;
  --line: #211d16;
  --soft-line: #d8d0be;
  --faint-line: #ece5d6;
  --card: #fdfcf9;
  --card-warm: #fbf6ec;
  --green: #2f5c3e;
  --green-2: #5a8150;
  --neutral: #8c7c52;
  --amber: #b3702c;
  --red: #a03d2a;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.sanlou-page {
  width: min(1060px, calc(100vw - 56px));
  margin: 54px auto 64px;
}

.sanlou-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.sanlou-titlebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.sanlou-name {
  display: flex;
  gap: 22px;
  align-items: baseline;
  min-width: 0;
}

.sanlou-name h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 64px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: 0;
}

.sanlou-ticker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.sanlou-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.sanlou-tab {
  min-width: 80px;
  padding: 9px 15px;
  border: 1px solid #cfc7b4;
  background: var(--card);
  color: var(--ink);
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
}

.sanlou-tab.active {
  border-color: var(--line);
  background: var(--ink);
  color: var(--paper);
}

.essence-strip {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 24px;
  margin-top: 0;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.essence-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.essence-copy {
  max-width: 820px;
}

.essence-copy p {
  margin: 0;
  font-size: clamp(21px, 2.35vw, 30px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.essence-copy strong {
  color: var(--accent);
  font-weight: 900;
}

.essence-source {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.sanlou-section {
  margin-top: 50px;
}

.sanlou-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.sanlou-section-num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.sanlou-section-head h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sanlou-section-sub {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.monitor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 28px;
  margin-top: 28px;
}

.price-main {
  min-width: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  flex-wrap: wrap;
}

.price-value {
  font-family: var(--mono);
  font-size: clamp(48px, 6vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.price-change {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-tag {
  padding: 5px 10px;
  border: 1px solid #c2bba9;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  line-height: 1;
}

.live-tag.live {
  border-color: #3f6b4a;
  color: #3f6b4a;
}

.price-main.quote-live .price-value,
.index-row.quote-live .index-price {
  color: #2f7f5f;
}

.price-main.quote-cache .price-value,
.index-row.quote-cache .index-price {
  color: #9c6b1e;
}

.price-main.quote-delayed .price-value,
.index-row.quote-delayed .index-price {
  color: #376d8f;
}

.price-main.quote-stale .price-value,
.index-row.quote-stale .index-price {
  color: #856250;
}

.price-main.quote-fallback .price-value,
.index-row.quote-fallback .index-price {
  color: var(--accent);
}

.price-main.quote-conflict .price-value,
.index-row.quote-conflict .index-price {
  color: #9c3b22;
}

.price-main.quote-live .price-note,
.index-row.quote-live .index-live {
  color: #2f7f5f;
}

.price-main.quote-cache .price-note,
.index-row.quote-cache .index-live {
  color: #9c6b1e;
}

.price-main.quote-delayed .price-note,
.index-row.quote-delayed .index-live {
  color: #376d8f;
}

.price-main.quote-stale .price-note,
.index-row.quote-stale .index-live {
  color: #856250;
}

.price-main.quote-fallback .price-note,
.index-row.quote-fallback .index-live {
  color: var(--accent);
}

.price-main.quote-conflict .price-note,
.index-row.quote-conflict .index-live {
  color: #9c3b22;
}

.live-tag.quote-live {
  border-color: #2f7f5f;
  color: #2f7f5f;
  background: rgba(47, 127, 95, 0.08);
}

.live-tag.quote-cache {
  border-color: #9c6b1e;
  color: #9c6b1e;
  background: rgba(156, 107, 30, 0.08);
}

.live-tag.quote-delayed {
  border-color: #376d8f;
  color: #376d8f;
  background: rgba(55, 109, 143, 0.08);
}

.live-tag.quote-stale {
  border-color: #856250;
  color: #856250;
  background: rgba(133, 98, 80, 0.08);
}

.live-tag.quote-fallback {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(156, 59, 34, 0.08);
}

.live-tag.quote-conflict {
  border-color: #9c3b22;
  color: #9c3b22;
  background: rgba(156, 59, 34, 0.14);
}

.asset-bubble.quote-live {
  border-color: #2f7f5f;
  outline: 3px solid rgba(47, 127, 95, 0.22);
}

.asset-bubble.quote-cache {
  border-color: #9c6b1e;
  outline: 3px solid rgba(156, 107, 30, 0.22);
}

.asset-bubble.quote-delayed {
  border-color: #376d8f;
  outline: 3px solid rgba(55, 109, 143, 0.22);
}

.asset-bubble.quote-stale {
  border-color: #856250;
  outline: 3px solid rgba(133, 98, 80, 0.24);
}

.asset-bubble.quote-conflict {
  border-color: #9c3b22;
  outline: 3px solid rgba(156, 59, 34, 0.28);
}

.asset-bubble.quote-fallback {
  border-color: var(--accent);
  outline: 3px solid rgba(156, 59, 34, 0.24);
}

.price-note,
.implied-note {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--faint-line);
}

.cap-metric {
  min-height: 76px;
  padding-right: 22px;
}

.cap-metric + .cap-metric {
  padding-left: 40px;
  border-left: 1px solid var(--faint-line);
}

.metric-label {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.metric-value {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.metric-note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.position-card {
  min-height: 226px;
  padding: 23px 24px;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 18px;
}

.position-value {
  margin-top: 7px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
}

.position-note {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--faint-line);
  color: var(--muted);
  font-size: 13px;
}

.band-block {
  margin-top: 40px;
}

.band-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.band-title,
.ladder-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.band-above {
  color: var(--muted);
  font-size: 12px;
}

.band-tail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.band-mobile-current {
  display: none;
}

.band-wrap {
  position: relative;
  margin-top: 42px;
}

.price-pill {
  position: absolute;
  top: -34px;
  left: var(--price-pct, 50%);
  transform: translateX(-50%);
  z-index: 2;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 2px 0 rgba(33, 29, 22, .25);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.price-rail {
  position: relative;
  display: flex;
  height: 76px;
  border: 2px solid var(--line);
  box-shadow: 0 3px 0 rgba(33, 29, 22, .12);
  overflow: visible;
}

.price-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 14px;
  overflow: hidden;
  border-right: 2px solid var(--line);
  color: #f9f6ef;
}

.price-zone:last-child {
  border-right: 0;
}

.price-zone b {
  font-size: 14px;
  line-height: 1.12;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(33, 29, 22, .3);
}

.price-zone span {
  margin-top: 4px;
  color: rgba(249, 246, 239, .85);
  font-family: var(--serif);
  font-size: 11.5px;
  white-space: nowrap;
}

.price-pin {
  position: absolute;
  top: -12px;
  bottom: -40px;
  left: var(--price-pct, 50%);
  width: 3px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(246, 242, 234, .7);
}

.band-ticks {
  position: relative;
  height: 18px;
  margin-top: 8px;
  color: #4d463a;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
}

.band-tick {
  position: absolute;
  left: var(--tick-left);
  transform: translateX(-50%);
  white-space: nowrap;
}

.ladder-block {
  margin-top: 36px;
}

.ladder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.floor-card {
  position: relative;
  min-height: 112px;
  padding: 16px 18px;
  border: 1px solid var(--soft-line);
  border-radius: 2px;
  background: var(--card);
}

.floor-card.active {
  border: 2px solid var(--accent);
  background: var(--card-warm);
}

.floor-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.floor-name {
  margin-top: 5px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.floor-card.active .floor-name {
  color: var(--accent);
}

.floor-rule {
  margin-top: 8px;
  color: #6b655c;
  font-family: var(--mono);
  font-size: 12px;
}

.floor-current {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.verdict-strip {
  display: flex;
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.verdict-cell {
  flex: 1;
  padding: 13px 18px;
  border-right: 1px solid var(--faint-line);
}

.verdict-cell:last-child {
  flex: 1.1;
  border-right: 0;
}

.verdict-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.verdict-cell:last-child .verdict-label {
  color: var(--accent);
}

.verdict-text {
  margin-top: 5px;
  font-size: 14px;
}

.verdict-cell:last-child .verdict-text {
  font-weight: 800;
}

.judgment-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.confidence-rubric {
  margin-top: 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(156, 59, 34, 0.06);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.judgment-source {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.55;
}

.judgment-card {
  padding: 20px 24px;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.judgment-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.judgment-id {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.judgment-title {
  flex: 1;
  min-width: 200px;
  font-size: 18px;
  font-weight: 800;
}

.confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.confidence-bar {
  flex: 1;
  height: 6px;
  background: #e8e2d3;
}

.confidence-fill {
  width: var(--conf, 50%);
  height: 6px;
  background: var(--accent);
}

.confidence-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.judgment-thesis {
  margin-top: 8px;
  color: #4d463a;
  font-size: 14px;
  line-height: 1.65;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--faint-line);
}

.evidence-label {
  font-size: 11px;
  letter-spacing: 0.18em;
}

.evidence-label.for {
  color: #3f6b4a;
}

.evidence-label.against {
  color: var(--red);
}

.evidence-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.evidence-line {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.6;
}

.evidence-line .plus {
  color: #3f6b4a;
  font-family: var(--mono);
}

.evidence-line .minus {
  color: var(--red);
  font-family: var(--mono);
}

.event-list {
  margin-top: 8px;
}

.event-row {
  display: grid;
  grid-template-columns: 96px 64px 1fr 70px 168px;
  gap: 16px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid #e3dccc;
}

.event-date {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.event-tag {
  padding: 3px 0;
  border: 1px solid #c2bba9;
  color: #6b655c;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.event-tag.pivot {
  border-color: #b98a7d;
  color: var(--red);
}

.event-title {
  font-size: 15px;
  font-weight: 800;
}

.event-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.event-affects {
  color: var(--muted);
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
}

.watch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #e3dccc;
  background: transparent;
}

.watch.active {
  border-color: #a9c0a6;
  background: #eaf0e4;
}

.watch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c2bba9;
  flex-shrink: 0;
}

.watch.active .watch-dot {
  background: #3f6b4a;
}

.watch-label {
  min-width: 0;
  overflow: hidden;
  color: #a49b8a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.watch.active .watch-label {
  color: #2f5c3e;
}

.stops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.stop-card {
  padding: 18px 22px;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.stop-floor {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.stop-question {
  margin-top: 8px;
  color: var(--accent);
  font-size: 19px;
  font-weight: 800;
}

.stop-detail {
  margin-top: 8px;
  color: #4d463a;
  font-size: 13.5px;
  line-height: 1.65;
}

.no-action {
  margin-top: 52px;
  padding: 26px 8px;
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
  text-align: center;
}

.no-action-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.24em;
}

.no-action-text {
  max-width: 820px;
  margin: 12px auto 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
}

.sanlou-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.sanlou-footer div:first-child {
  max-width: 640px;
}

.sanlou-footer div:last-child {
  font-family: var(--mono);
}

.link-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.link-row {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 18px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid #e3dccc;
}

.link-row strong {
  font-size: 16px;
}

.link-row p {
  margin: 0;
  color: #4d463a;
  font-size: 13.5px;
}

.link-row span {
  color: var(--muted);
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
}

.index-page {
  width: min(1180px, calc(100vw - 56px));
  margin: 32px auto 76px;
}

.index-firstscreen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
  gap: 34px;
  align-items: stretch;
  padding-bottom: 24px;
  border-bottom: 3px double var(--line);
}

.index-leftpane {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.index-header {
  min-width: 0;
}

.index-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.index-kicker-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.index-stable-link {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 59, 34, 0.55);
}

.index-stable-link:hover,
.index-stable-link:focus-visible {
  color: var(--red);
  border-bottom-color: currentColor;
}

.index-title {
  margin: 12px 0 0;
  color: #4d463a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.index-subtitle {
  margin-top: 8px;
  width: 100%;
  max-width: 730px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.38;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.mark-fear {
  color: var(--red);
}

.mark-awe {
  color: var(--green);
}

.mark-correct {
  color: var(--accent);
}

.index-maxim {
  max-width: 700px;
  margin-top: 8px;
  color: #4d463a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.subtitle-mobile-break {
  display: none;
}

.maxim-mobile-break {
  display: none;
}

.index-statbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
  margin-top: 18px;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.index-stat {
  min-height: 76px;
  padding: 13px 16px;
  border-right: 1px solid var(--faint-line);
}

.index-stat:last-child {
  border-right: 0;
}

.index-stat-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.index-stat-label {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.index-scan-panel {
  margin-top: 15px;
  padding: 13px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scan-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  border: 1px solid var(--faint-line);
  background: rgba(255, 252, 246, 0.54);
}

.scan-cell {
  min-width: 0;
  padding: 10px 11px;
  border-right: 1px solid var(--faint-line);
}

.scan-cell:last-child {
  border-right: 0;
}

.scan-cell strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.15;
}

.scan-cell span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.quote-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.quote-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.quote-dot-live {
  background: #2f7f5f;
}

.quote-dot-delayed {
  background: #7b6832;
}

.quote-dot-cache {
  background: #9c6b1e;
}

.quote-dot-stale {
  background: #856250;
}

.quote-dot-conflict {
  background: #9c3b22;
}

.quote-dot-fallback {
  background: var(--accent);
}

.index-asset-summary {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-kicker {
  padding: 10px 0 7px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--faint-line);
}

.summary-row {
  min-width: 0;
  padding: 12px 14px 13px 0;
  border-bottom: 1px solid var(--faint-line);
}

.summary-row:nth-child(odd) {
  border-right: 1px solid var(--faint-line);
}

.summary-row:nth-child(even) {
  padding-left: 14px;
}

.summary-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.summary-row strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.summary-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.portfolio-map {
  width: 100%;
  margin: 0;
  align-self: stretch;
}

.portfolio-map-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: end;
  padding: 0 2px 7px;
  border-bottom: 1px solid var(--line);
}

.map-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.portfolio-map-head h2 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.map-note,
.portfolio-map-foot {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.4;
}

.map-note {
  text-align: left;
}

.quadrant-stage {
  position: relative;
  height: 430px;
  min-height: 430px;
  margin-top: 9px;
  border: 1px solid var(--soft-line);
  background:
    linear-gradient(90deg, rgba(156, 59, 34, 0.04), transparent 46%, rgba(47, 92, 62, 0.05)),
    #f3eee5;
  overflow: hidden;
}

.quadrant-stage::before,
.quadrant-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  background: rgba(33, 29, 22, 0.22);
}

.quadrant-stage::before {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
}

.quadrant-stage::after {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
}

.axis-label {
  position: absolute;
  z-index: 3;
  color: #205d73;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.axis-top {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.axis-bottom {
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
}

.axis-left {
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
}

.axis-right {
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
}

.quadrant-name {
  position: absolute;
  z-index: 2;
  color: #0d5d8c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.quadrant-tl {
  left: 14px;
  top: 30px;
}

.quadrant-tr {
  right: 14px;
  top: 30px;
}

.quadrant-bl {
  left: 14px;
  bottom: 28px;
}

.quadrant-br {
  right: 14px;
  bottom: 28px;
}

.map-center-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(#1f4e87 0 25%, #c9c6be 25% 50%, #e4d2b5 50% 75%, #3ea7a8 75% 100%);
  transform: translate(-50%, -50%);
  opacity: 0.72;
}

.map-center-mark::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #f3eee5;
}

.asset-bubble {
  --bubble-fill: var(--neutral);
  position: absolute;
  z-index: 4;
  left: var(--x);
  top: var(--y);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max(calc(var(--size) * 0.42), 17px);
  height: max(calc(var(--size) * 0.42), 17px);
  border: 1px solid rgba(33, 29, 22, 0.2);
  border-radius: 50%;
  background: var(--bubble-fill);
  color: #fdfcf9;
  box-shadow: inset 0 0 0 2px rgba(253, 252, 249, 0.26), 0 7px 14px rgba(33, 29, 22, 0.12);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.asset-bubble:hover {
  box-shadow: inset 0 0 0 2px rgba(253, 252, 249, 0.38), 0 11px 20px rgba(33, 29, 22, 0.18);
  transform: translate(-50%, -50%) scale(1.04);
}

.asset-bubble b {
  max-width: calc(var(--size) * 0.4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: clamp(5.5px, calc(var(--size) * 0.075), 9px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.asset-bubble small {
  display: none;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: clamp(8px, calc(var(--size) * 0.11), 10px);
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.84;
}

.bubble-core {
  --bubble-fill: var(--accent);
}

.bubble-satellite-2 {
  --bubble-fill: var(--green);
}

.bubble-satellite-1 {
  --bubble-fill: var(--amber);
}

.bubble-watch-1 {
  --bubble-fill: #6f7f54;
}

.bubble-ground {
  --bubble-fill: #777064;
}

.portfolio-map-foot {
  margin-top: 6px;
  padding: 0 2px;
}

.index-table-head,
.index-row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(320px, 1fr) minmax(128px, 148px) minmax(98px, 118px) minmax(146px, 170px) 78px;
  gap: 12px;
}

.index-table-head {
  margin-top: 24px;
  padding: 18px 4px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.index-floor-group {
  padding: 18px 4px 8px;
  border-bottom: 2px solid var(--line);
}

.index-floor-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.index-floor-label span:first-child {
  color: var(--accent);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.index-floor-label span:last-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: right;
}

.index-row {
  align-items: start;
  padding: 22px 4px;
  border-bottom: 1px solid #e3dccc;
}

.index-asset a,
.index-asset span {
  color: var(--accent);
  border-bottom: 2px solid #d8c3ba;
  font-size: 21px;
  font-weight: 900;
}

.index-asset span {
  border-bottom: 0;
}

.index-ticker,
.index-live,
.index-date {
  font-family: var(--mono);
}

.index-ticker {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.index-conclusion {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.index-source {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.index-price {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
}

.zone-badge {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 10px;
  background: var(--amber);
  color: #f9f6ef;
  font-size: 12px;
  font-weight: 800;
}

.index-live {
  margin-top: 6px;
  color: #a49b8a;
  font-size: 11px;
}

.floor-mini {
  display: flex;
  align-items: center;
  gap: 9px;
}

.floor-bars {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.floor-bars span {
  width: 16px;
  height: 5px;
  background: #ddd5c2;
}

.floor-bars .active {
  background: var(--neutral);
}

.floor-chip {
  padding: 4px 11px;
  background: var(--neutral);
  color: #f9f6ef;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.floor-subline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.position-line {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.position-actual {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
}

.consistency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1.5px solid #a9c0a6;
  background: #eaf0e4;
  color: #2f5c3e;
  font-size: 12px;
  font-weight: 800;
}

.consistency-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f6b4a;
}

.index-date {
  text-align: right;
  font-size: 13px;
}

.index-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.index-foot {
  margin-top: 36px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-all;
}

@media (max-width: 980px) {
  .index-firstscreen,
  .portfolio-map-head {
    grid-template-columns: 1fr;
  }

  .index-statbar {
    margin-top: 12px;
  }

  .map-note {
    text-align: left;
  }

  .quadrant-stage {
    height: 360px;
    min-height: 360px;
  }

  .index-table-head,
  .index-floor-label,
  .index-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .index-floor-label span:last-child,
  .index-date {
    text-align: left;
  }
}

@media (max-width: 920px) {
  .sanlou-page {
    width: min(100vw - 32px, 720px);
    margin: 28px auto 48px;
  }

  .sanlou-titlebar,
  .essence-strip,
  .monitor-grid {
    grid-template-columns: 1fr;
  }

  .sanlou-tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .position-card {
    min-height: 0;
  }

  .ladder-grid,
  .stops-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .event-row,
  .link-row,
  .index-table-head,
  .index-floor-label,
  .index-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .event-affects,
  .link-row span,
  .index-floor-label span:last-child,
  .index-date {
    text-align: left;
  }

}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .sanlou-page {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 18px;
    overflow: hidden;
  }

  .sanlou-topline,
  .sanlou-name,
  .sanlou-titlebar,
  .cap-grid,
  .position-grid,
  .verdict-strip,
  .index-kicker,
  .index-statbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sanlou-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .sanlou-tab {
    min-width: 0;
    padding-inline: 8px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }

  .sanlou-topline,
  .sanlou-ticker,
  .essence-source,
  .price-note,
  .implied-note,
  .event-note,
  .stop-detail,
  .sanlou-footer {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .sanlou-topline {
    letter-spacing: 0.08em;
  }

  .sanlou-titlebar {
    gap: 16px;
    margin-top: 18px;
    padding-bottom: 14px;
  }

  .sanlou-name,
  .sanlou-name > * {
    min-width: 0;
    max-width: 100%;
  }

  .sanlou-ticker {
    white-space: normal;
  }

  .index-page {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 18px;
    overflow: hidden;
  }

  .index-firstscreen {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 14px;
  }

  .index-kicker {
    gap: 4px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  .index-kicker-meta {
    justify-content: space-between;
    gap: 8px;
    white-space: normal;
  }

  .index-stable-link {
    letter-spacing: 0.05em;
  }

  .index-title {
    margin-top: 8px;
    font-size: 25px;
  }

  .index-subtitle {
    margin-top: 6px;
    font-size: 16.5px;
    line-height: 1.36;
  }

  .index-maxim {
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.42;
  }

  .subtitle-mobile-break {
    display: block;
  }

  .maxim-mobile-break {
    display: block;
  }

  .index-statbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }

  .index-scan-panel {
    margin-top: 10px;
    padding: 10px 0;
  }

  .scan-grid {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .scan-cell {
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid var(--faint-line);
  }

  .scan-cell:last-child {
    border-bottom: 0;
  }

  .scan-cell strong {
    font-size: 13px;
  }

  .scan-cell span,
  .quote-legend {
    font-size: 9.5px;
  }

  .index-asset-summary {
    margin-top: 12px;
  }

  .summary-kicker {
    padding-top: 8px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-row,
  .summary-row:nth-child(even) {
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid var(--faint-line);
  }

  .summary-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--faint-line);
  }

  .summary-row:last-child {
    border-bottom: 0;
  }

  .summary-row strong {
    font-size: 12px;
  }

  .summary-row span {
    margin-top: 4px;
    font-size: 9.5px;
    line-height: 1.35;
  }

  .index-stat {
    min-height: 56px;
    padding: 9px 8px;
    border-right: 1px solid var(--faint-line);
    border-bottom: 0;
  }

  .index-stat:last-child {
    border-right: 0;
  }

  .index-stat-value {
    font-size: 22px;
  }

  .index-stat-label {
    margin-top: 5px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .portfolio-map {
    width: 100%;
    margin-top: 12px;
  }

  .portfolio-map-head {
    gap: 6px;
    padding-bottom: 8px;
  }

  .portfolio-map-head h2 {
    font-size: 18px;
  }

  .map-kicker {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .map-note,
  .portfolio-map-foot {
    font-size: 10px;
    line-height: 1.4;
  }

  .quadrant-stage {
    height: 305px;
    min-height: 305px;
    margin-top: 9px;
  }

  .quadrant-stage::before {
    left: 5%;
    right: 5%;
  }

  .quadrant-stage::after {
    top: 7%;
    bottom: 7%;
  }

  .axis-label {
    font-size: 9px;
  }

  .axis-top {
    top: 11px;
  }

  .axis-bottom {
    bottom: 10px;
  }

  .axis-left {
    left: 8px;
  }

  .axis-right {
    right: 8px;
  }

  .quadrant-name {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .quadrant-tl {
    left: 13px;
    top: 31px;
  }

  .quadrant-tr {
    right: 13px;
    top: 31px;
  }

  .quadrant-bl {
    left: 13px;
    bottom: 31px;
  }

  .quadrant-br {
    right: 13px;
    bottom: 31px;
  }

  .map-center-mark {
    width: 48px;
    height: 48px;
  }

  .map-center-mark::after {
    inset: 13px;
  }

  .asset-bubble {
    width: max(calc(var(--size) * 0.46), 17px);
    height: max(calc(var(--size) * 0.46), 17px);
    box-shadow: inset 0 0 0 2px rgba(253, 252, 249, 0.26), 0 8px 16px rgba(33, 29, 22, 0.12);
  }

  .asset-bubble b {
    max-width: calc(var(--size) * 0.44);
    font-size: clamp(5.5px, calc(var(--size) * 0.078), 9px);
  }

  .bubble-core b {
    font-size: clamp(7px, calc(var(--size) * 0.085), 9px);
  }

  .asset-bubble small {
    display: none;
  }

  .index-table-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 4px 8px;
  }

  .index-table-head div:first-child::after {
    content: " / 结论 / 价格 / 楼层 / 状态";
    color: var(--muted);
  }

  .index-table-head div:nth-child(2),
  .index-table-head div:nth-child(3),
  .index-table-head div:nth-child(4),
  .index-table-head div:nth-child(5) {
    display: none;
  }

  .sanlou-name h1 {
    font-size: 42px;
  }

  .essence-strip {
    gap: 10px;
    padding: 16px 0 18px;
  }

  .essence-kicker {
    font-size: 11.5px;
  }

  .essence-copy p {
    font-size: 18.5px;
    line-height: 1.5;
  }

  .sanlou-section {
    margin-top: 38px;
  }

  .sanlou-section-head {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .monitor-grid {
    gap: 22px;
    margin-top: 22px;
  }

  .price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .price-value {
    font-size: clamp(38px, 13vw, 46px);
  }

  .live-tag {
    width: auto;
    justify-self: start;
    display: inline-flex;
    align-items: center;
  }

  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap-metric {
    min-height: 70px;
    padding-right: 12px;
  }

  .cap-metric + .cap-metric {
    padding-left: 14px;
    border-left: 1px solid var(--faint-line);
    border-top: 0;
  }

  .position-card {
    padding: 18px 18px;
  }

  .position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .position-value {
    font-size: 21px;
  }

  .cap-metric + .cap-metric,
  .verdict-cell {
    padding-left: 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--faint-line);
  }

  .cap-metric + .cap-metric {
    padding-left: 14px;
    border-left: 1px solid var(--faint-line);
    border-top: 0;
  }

  .price-rail {
    display: grid;
    height: auto;
  }

  .band-tail-row {
    align-items: flex-start;
    font-size: 10.5px;
  }

  .band-mobile-current {
    display: block;
    margin-top: 14px;
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
    background: rgba(156, 59, 34, 0.08);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
  }

  .price-zone {
    width: 100% !important;
    min-height: 56px;
    padding: 0 12px;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .price-zone b,
  .price-zone span {
    white-space: normal;
  }

  .price-zone:last-child {
    border-bottom: 0;
  }

  .ladder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floor-card {
    min-height: 104px;
    padding: 14px 14px;
  }

  .floor-name {
    font-size: 20px;
  }

  .event-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 14px 0;
  }

  .event-row > div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .event-affects {
    text-align: left;
  }

  .watch {
    justify-content: flex-start;
  }

  .no-action {
    margin-top: 42px;
    padding: 22px 4px;
  }

  .no-action-text {
    font-size: 18px;
    line-height: 1.65;
  }

  .price-pin,
  .price-pill,
  .band-ticks {
    display: none;
  }
}

@media (min-width: 760px) and (max-width: 980px) and (orientation: landscape) {
  .index-page {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-top: 18px;
  }

  .index-firstscreen {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 20px;
    padding-bottom: 16px;
  }

  .index-title {
    margin-top: 8px;
    font-size: 28px;
  }

  .index-subtitle {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.32;
  }

  .index-maxim {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.36;
  }

  .index-statbar {
    margin-top: 10px;
  }

  .index-stat {
    min-height: 56px;
    padding: 9px 10px;
  }

  .index-stat-value {
    font-size: 22px;
  }

  .index-stat-label {
    margin-top: 5px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .index-asset-summary {
    margin-top: 12px;
  }

  .summary-kicker {
    padding: 8px 0 6px;
    font-size: 10px;
  }

  .summary-row {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .summary-row strong {
    font-size: 12px;
  }

  .summary-row span {
    margin-top: 4px;
    font-size: 9.5px;
    line-height: 1.34;
  }

  .portfolio-map-head {
    padding-bottom: 6px;
  }

  .portfolio-map-head h2 {
    font-size: 16px;
  }

  .map-kicker {
    font-size: 9px;
  }

  .map-note,
  .portfolio-map-foot {
    font-size: 9px;
    line-height: 1.28;
  }

  .quadrant-stage {
    height: 300px;
    min-height: 300px;
    margin-top: 7px;
  }
}

@media (max-width: 380px) {
  .cap-grid,
  .position-grid,
  .ladder-grid {
    grid-template-columns: 1fr;
  }

  .index-statbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .index-stat {
    border-right: 1px solid var(--faint-line);
    border-bottom: 0;
  }

  .index-stat:last-child {
    border-right: 0;
  }

  .cap-metric + .cap-metric {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--faint-line);
  }
}

/* bucket strip — market-cap decomposition (net-dashboard-20260710+) */
.bucket-strip {
  display: flex;
  gap: 0;
  margin-top: 14px;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.bucket-cell {
  flex: 1;
  padding: 13px 18px;
  border-right: 1px solid var(--faint-line);
}

.bucket-cell:last-child {
  border-right: 0;
}

.bucket-cell.alert .metric-value {
  color: var(--accent);
}

.bucket-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .bucket-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bucket-cell {
    border-right: 0;
    border-bottom: 1px solid var(--faint-line);
  }

  .bucket-cell:last-child {
    border-bottom: 0;
  }
}
