:root {
  --ink: #111824;
  --navy: #121a26;
  --navy-2: #0a1019;
  --red: #f5394a;
  --red-soft: #fff0f2;
  --green: #00a86b;
  --orange: #f5a623;
  --paper: #f6f7f9;
  --white: #fff;
  --muted: #67717e;
  --line: #dfe3e8;
  --blue: #4a7cff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 99; padding: 10px 16px; border-radius: 8px; background: white; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; color: white; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(10,16,25,.94); backdrop-filter: blur(16px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 11px; color: white; background: var(--red); font-weight: 800; box-shadow: 0 10px 30px rgba(245,57,74,.25); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: .08em; }
.brand small { color: rgba(255,255,255,.48); font-size: 9px; }
nav { display: flex; gap: clamp(14px, 2vw, 27px); }
nav a { color: rgba(255,255,255,.68); text-decoration: none; font-size: 13px; }
nav a:hover, nav a:focus-visible { color: white; }
.header-cta { padding: 9px 14px; border-radius: 8px; color: white; background: var(--red); text-decoration: none; font-size: 12px; font-weight: 700; }

.hero { position: relative; overflow: hidden; color: white; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 15%, rgba(245,57,74,.18), transparent 30%), radial-gradient(circle at 15% 85%, rgba(74,124,255,.12), transparent 28%); }
.market-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent 0, black 55%, transparent); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 75px; align-items: center; min-height: 680px; padding-block: 88px; }
.eyebrow, .section-label { margin: 0 0 18px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.7); }
.hero .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(245,57,74,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-size: clamp(44px, 6vw, 76px); line-height: 1.12; letter-spacing: -.05em; }
h1 em { color: var(--red); font-style: normal; }
h2 { margin-bottom: 18px; font-size: clamp(31px, 4.2vw, 50px); line-height: 1.22; letter-spacing: -.035em; }
h3 { line-height: 1.35; }
.lead { max-width: 680px; color: rgba(255,255,255,.68); font-size: 18px; }
.slogan { color: white; font-weight: 800; letter-spacing: .08em; }
.slogan i { margin: 0 7px; color: var(--red); font-style: normal; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.red { color: white; background: var(--red); }
.button.outline { color: white; border: 1px solid rgba(255,255,255,.22); }
.quote-card { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(9,15,24,.82); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.quote-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.quote-head span, .quote-head strong { display: block; }
.quote-head span { color: var(--orange); font-size: 11px; }
.quote-head strong { margin-top: 5px; }
.quote-head small { color: rgba(255,255,255,.42); }
.price-row { display: flex; align-items: baseline; gap: 9px; padding: 28px 0 20px; }
.price-row > strong { font-size: clamp(47px, 6vw, 66px); line-height: 1; font-variant-numeric: tabular-nums; }
.price-row > span { color: rgba(255,255,255,.45); font-size: 12px; }
.price-row > b { margin-left: auto; color: var(--red); font-size: 14px; }
.price-row > b.negative { color: var(--green); }
.ohlc-grid, .volume-grid { display: grid; gap: 8px; }
.ohlc-grid { grid-template-columns: repeat(3, 1fr); }
.volume-grid { grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
.ohlc-grid div, .volume-grid div { padding: 13px; border-radius: 9px; background: rgba(255,255,255,.05); }
.ohlc-grid span, .ohlc-grid b, .volume-grid span, .volume-grid b, .volume-grid small { display: block; }
.ohlc-grid span, .volume-grid span, .volume-grid small { color: rgba(255,255,255,.4); font-size: 10px; }
.ohlc-grid b, .volume-grid b { margin-top: 5px; font-variant-numeric: tabular-nums; }
.quote-card > p { margin: 18px 0 10px; color: rgba(255,255,255,.43); font-size: 11px; }
.quote-source { color: rgba(255,255,255,.32); font-size: 10px; }

.minute-market { border-top: 1px solid #d9dee6; background: #edf0f4; }
.minute-heading { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: end; margin-bottom: 35px; }
.minute-heading h2 { max-width: 850px; }
.minute-heading > div:first-child > p:last-child { max-width: 820px; margin-bottom: 0; color: var(--muted); }
.minute-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.minute-controls label { display: flex; min-width: 178px; flex-direction: column; gap: 3px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.minute-controls label span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.minute-controls input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 12px; }
.minute-controls button, .minute-controls a { display: inline-flex; min-height: 51px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.minute-controls button { border: 0; color: white; background: var(--red); }
.minute-controls button:disabled { cursor: wait; opacity: .6; }
.minute-controls a { border: 1px solid var(--line); background: white; }

.minute-status-bar { display: grid; grid-template-columns: 1.35fr .72fr .88fr 1.35fr; overflow: hidden; border-radius: 15px; color: white; background: var(--navy); box-shadow: 0 18px 45px rgba(17,24,36,.1); }
.minute-status-bar > div { min-height: 96px; padding: 20px 22px; }
.minute-status-bar > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.minute-status-bar span, .minute-status-bar b, .minute-status-bar small { display: block; }
.minute-status-bar > div > span, .minute-status-bar small { color: rgba(255,255,255,.46); font-size: 10px; }
.minute-status-bar > div > b { margin-top: 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.minute-live-state { display: flex; align-items: center; gap: 13px; }
.minute-live-state i { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(245,166,35,.15); }
.minute-live-state[data-state="active"] i { background: var(--red); box-shadow: 0 0 0 7px rgba(245,57,74,.15); }
.minute-live-state[data-state="historical"] i, .minute-live-state[data-state="after"] i { background: var(--blue); box-shadow: 0 0 0 7px rgba(74,124,255,.15); }
.minute-live-state[data-state="error"] i { background: #9ba4b1; box-shadow: 0 0 0 7px rgba(155,164,177,.14); }
.minute-live-state b { font-size: 13px; }
.minute-live-state small { margin-top: 3px; }

.minute-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.minute-summary article { min-height: 135px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.minute-summary span, .minute-summary b, .minute-summary small { display: block; }
.minute-summary span { color: var(--muted); font-size: 11px; }
.minute-summary b { margin-top: 20px; overflow-wrap: anywhere; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.minute-summary small { margin-top: 7px; color: var(--muted); font-size: 9px; }

.minute-table-card { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 18px 50px rgba(17,24,36,.06); }
.minute-table-head { display: flex; justify-content: space-between; gap: 25px; align-items: start; padding: 25px 27px; border-bottom: 1px solid var(--line); }
.minute-table-head h3 { margin-bottom: 4px; font-size: 19px; }
.minute-table-head p { max-width: 820px; margin-bottom: 0; color: var(--muted); font-size: 11px; }
.minute-table-head > span { flex: 0 0 auto; padding: 7px 10px; border-radius: 6px; color: #b41e2d; background: var(--red-soft); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.minute-table-scroll { max-height: 650px; overflow: auto; outline: 0; }
.minute-table-scroll:focus-visible { box-shadow: inset 0 0 0 3px rgba(74,124,255,.35); }
.minute-table-card table { width: 100%; min-width: 1160px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.minute-table-card thead { position: sticky; top: 0; z-index: 2; color: white; background: var(--navy); }
.minute-table-card th, .minute-table-card td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.minute-table-card thead th { color: rgba(255,255,255,.9); font-size: 10px; font-weight: 700; }
.minute-table-card thead small { color: rgba(255,255,255,.42); font-weight: 400; }
.minute-table-card th:first-child, .minute-table-card td:first-child { position: sticky; left: 0; text-align: left; }
.minute-table-card thead th:first-child { z-index: 3; background: var(--navy); }
.minute-table-card tbody th:first-child { background: white; }
.minute-table-card tbody tr:nth-child(even), .minute-table-card tbody tr:nth-child(even) th:first-child { background: #fafbfc; }
.minute-table-card tbody tr:hover, .minute-table-card tbody tr:hover th:first-child { background: #fff6f7; }
.minute-table-card tbody td:nth-child(2), .minute-table-card tbody td:nth-child(7) { font-weight: 800; }
.minute-empty { position: static !important; height: 130px; color: var(--muted); text-align: center !important; white-space: normal !important; }
.minute-empty.error { color: #a82431; background: #fff5f6; }
.volume-badge { display: inline-block; min-width: 54px; padding: 4px 7px; border-radius: 999px; text-align: center; font-size: 9px; font-weight: 800; }
.volume-badge.normal { color: #566170; background: #eef1f4; }
.volume-badge.heavy { color: #9b6100; background: #fff2d8; }
.volume-badge.mega { color: #b41e2d; background: #ffe6e9; }

.minute-boundaries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--line); }
.minute-boundaries p { display: grid; grid-template-columns: 92px 1fr; gap: 15px; margin: 0; padding: 19px 21px; background: white; }
.minute-boundaries b { color: var(--red); font-size: 11px; }
.minute-boundaries span { color: var(--muted); font-size: 11px; }
.minute-noscript { margin: 12px 0 0; padding: 15px 18px; border-left: 4px solid var(--orange); background: #fff8e9; color: #665227; font-size: 12px; }

.identity { padding-block: 95px; background: white; }
.identity-intro { display: grid; grid-template-columns: .25fr .75fr 1fr; gap: 35px; align-items: end; margin-bottom: 40px; }
.identity-intro .section-label { align-self: start; }
.identity-intro h2 { margin-bottom: 0; }
.identity-intro > p:last-child { margin-bottom: 0; color: var(--muted); }
.identity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.identity-grid article { min-height: 310px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.identity-grid .primary-product { color: white; border-color: var(--red); background: var(--red); }
.entity-tag { display: inline-block; padding: 5px 8px; border-radius: 5px; color: var(--red); background: var(--red-soft); font-size: 10px; font-weight: 800; }
.primary-product .entity-tag { color: var(--red); background: white; }
.identity-grid h3 { margin-top: 38px; font-size: 25px; }
.identity-grid p { color: var(--muted); font-size: 14px; }
.primary-product p { color: rgba(255,255,255,.78); }
.identity-grid article > span { display: block; margin-top: 25px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.primary-product > span { border-color: rgba(255,255,255,.28) !important; color: rgba(255,255,255,.68) !important; }
.disambiguation { margin: 26px 0 0; padding: 18px 20px; border-left: 4px solid var(--orange); background: #fff8e9; color: #665227; font-size: 13px; }

.section { padding-block: 104px; }
.section-heading { max-width: 820px; margin-bottom: 45px; }
.section-heading > p:last-child { color: var(--muted); }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.data-grid article { min-height: 245px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.data-grid span { color: var(--red); font: 800 11px ui-monospace, monospace; }
.data-grid h3 { margin: 42px 0 10px; font-size: 19px; }
.data-grid p { color: var(--muted); font-size: 13px; }
.terminology-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 25px; border-radius: 15px; overflow: hidden; background: var(--navy); color: white; }
.terminology-strip div { padding: 24px; }
.terminology-strip div + div { border-left: 1px solid rgba(255,255,255,.1); }
.terminology-strip b, .terminology-strip span { display: block; }
.terminology-strip b { color: #ff8792; }
.terminology-strip span { margin-top: 8px; color: rgba(255,255,255,.5); font-size: 12px; }

.dictionary { background: white; }
.dictionary-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; }
.dictionary-layout > div:first-child > p { color: var(--muted); }
.dictionary dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dictionary dl div { min-height: 150px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dictionary dt { color: var(--red); font-weight: 800; }
.dictionary dd { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.user-scenes { background: #f0f2f5; }
.user-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.user-grid article { min-height: 285px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.user-grid b { font-size: 16px; }
.user-grid p { margin: 28px 0 0; color: var(--muted); font-size: 12px; }
.user-grid span { display: block; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--red); font-size: 10px; }

.quality { color: white; background: var(--navy); }
.quality-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; }
.quality-copy .section-label { color: #ff8792; }
.quality-copy > p { color: rgba(255,255,255,.58); }
.quality-copy a { color: #ff8792; font-size: 13px; font-weight: 700; }
.quality-board { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.quality-board div { min-height: 170px; padding: 23px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.quality-board span { color: var(--red); font: 800 11px ui-monospace, monospace; }
.quality-board strong { display: block; margin-top: 23px; }
.quality-board p { margin: 6px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }

.publication-state { background: #f0f2f5; }
.publication-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; }
.publication-layout > div:first-child > p { color: var(--muted); }
.state-cards { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.state-cards article { min-height: 185px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.state-cards b { color: var(--red); }
.state-cards p { margin: 23px 0 0; color: var(--muted); font-size: 12px; }

.carbonbro { background: white; }
.carbonbro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.dialogue { padding: 35px; border-radius: 24px; background: #f1f3f6; }
.user-bubble { max-width: 78%; margin-left: auto; padding: 16px 18px; border-radius: 17px 17px 4px 17px; color: white; background: var(--navy); font-size: 14px; }
.ai-bubble { max-width: 88%; margin-top: 18px; padding: 20px; border: 1px solid #f6c4ca; border-radius: 17px 17px 17px 4px; background: white; }
.ai-bubble span { color: var(--red); font-size: 11px; font-weight: 800; }
.ai-bubble p { margin: 10px 0; font-size: 14px; }
.ai-bubble small { color: var(--muted); font-size: 10px; }
.carbonbro-copy > p { color: var(--muted); }
.carbonbro-copy ul { margin: 25px 0; padding: 0; list-style: none; }
.carbonbro-copy li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.carbonbro-copy li::before { content: "✓"; float: left; margin-left: -20px; color: var(--red); }
.ai-boundary { padding: 20px; border-left: 4px solid var(--orange); background: #fff8e9; }
.ai-boundary p { margin: 4px 0 0; color: #665227; font-size: 12px; }

.library { background: #f0f2f5; }
.library-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.library-layout > div:first-child > p { color: var(--muted); }
.text-link { color: var(--red); font-weight: 700; text-decoration: none; }
.document-stack { position: relative; min-height: 340px; }
.document-stack div { position: absolute; width: 72%; height: 215px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 25px 60px rgba(17,24,36,.08); }
.document-stack div:nth-child(1) { left: 0; top: 0; transform: rotate(-5deg); }
.document-stack div:nth-child(2) { left: 14%; top: 58px; transform: rotate(2deg); }
.document-stack div:nth-child(3) { left: 27%; top: 112px; transform: rotate(6deg); }
.document-stack span, .document-stack b { display: block; }
.document-stack span { color: var(--red); font-size: 11px; }
.document-stack b { margin-top: 80px; font-size: 19px; }

.api-section { color: white; background: var(--navy-2); }
.api-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.api-layout > div:first-child > p { color: rgba(255,255,255,.55); }
.api-layout .section-label { color: #ff8792; }
.code-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #080d14; }
.code-head { padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font: 700 10px ui-monospace, monospace; }
.code-head i { float: right; width: 7px; height: 7px; margin: 3px 0 0 6px; border-radius: 50%; background: rgba(255,255,255,.2); }
pre { margin: 0; padding: 27px; overflow-x: auto; color: #a9b7cb; line-height: 1.85; font-size: 13px; }

.api-detail { background: white; }
.api-detail-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; }
.api-detail-layout > div:first-child > p { color: var(--muted); }
.api-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.api-cards article { min-height: 170px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.api-cards b { color: var(--red); }
.api-cards p { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.subscription-note { grid-column: 2; margin-top: 20px; padding: 22px; border-left: 4px solid var(--orange); background: #fff8e9; }
.subscription-note p { margin: 5px 0 0; color: #6e592e; font-size: 12px; }

.service-hub { background: #f0f2f5; }
.service-hub-heading { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.service-hub-heading h2 { margin-bottom: 0; }
.service-hub-heading > p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.service-hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.service-hub-grid a { min-height: 255px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: white; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-hub-grid a:hover, .service-hub-grid a:focus-visible { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 18px 45px rgba(17,24,36,.08); }
.service-hub-grid span, .service-hub-grid b { display: block; }
.service-hub-grid span { color: var(--red); font: 800 10px ui-monospace, monospace; }
.service-hub-grid b { margin-top: 46px; font-size: 18px; }
.service-hub-grid p { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.service-hub-cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 18px; padding: 25px 28px; border-radius: 14px; color: white; background: var(--navy); }
.service-hub-cta b { font-size: 17px; }
.service-hub-cta p { max-width: 760px; margin: 5px 0 0; color: rgba(255,255,255,.55); font-size: 12px; }
.service-hub-cta a { flex: 0 0 auto; padding: 11px 15px; border-radius: 8px; color: white; background: var(--red); text-decoration: none; font-size: 12px; font-weight: 800; }

.boundary { background: var(--red-soft); }
.boundary-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.boundary-grid span { display: grid; min-height: 88px; place-items: center; border: 1px solid #facbd0; border-radius: 12px; color: #b41e2d; background: white; font-weight: 800; }
.boundary-layout > p { grid-column: 2; color: #7e4147; font-size: 13px; }

.faq { background: white; }
.faq-layout { display: grid; grid-template-columns: .5fr 1.5fr; gap: 90px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 22px 42px 22px 0; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--red); font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { padding-right: 45px; color: var(--muted); }

footer { padding: 47px 0 28px; color: rgba(255,255,255,.65); background: var(--navy-2); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr .8fr; gap: 28px; }
.footer-main strong { color: white; font-size: 20px; }
.footer-main span { color: rgba(255,255,255,.38); font-size: 11px; letter-spacing: .1em; }
.footer-main p { margin: 5px 0 0; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 16px; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero-layout, .quality-layout, .carbonbro-layout, .library-layout, .api-layout, .boundary-layout, .faq-layout, .dictionary-layout, .api-detail-layout, .publication-layout, .service-hub-heading { grid-template-columns: 1fr; }
  .hero-layout { min-height: auto; padding-block: 72px; }
  .quote-card { max-width: 660px; }
  .identity-intro { grid-template-columns: 1fr; gap: 10px; }
  .identity-grid, .data-grid { grid-template-columns: repeat(2, 1fr); }
  .user-grid { grid-template-columns: repeat(2, 1fr); }
  .user-grid article:last-child { grid-column: 1 / -1; }
  .subscription-note { grid-column: auto; }
  .boundary-layout > p { grid-column: auto; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .minute-heading { grid-template-columns: 1fr; gap: 20px; }
  .minute-controls { justify-content: flex-start; }
  .minute-status-bar, .minute-summary { grid-template-columns: repeat(2, 1fr); }
  .minute-status-bar > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .minute-status-bar > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .service-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 66px; }
  .header-cta { display: none; }
  h1 { font-size: 44px; }
  .actions .button { width: 100%; }
  .quote-card { padding: 21px; }
  .identity, .section { padding-block: 74px; }
  .identity-grid, .data-grid, .quality-board, .terminology-strip, .boundary-grid, .dictionary dl, .user-grid, .api-cards, .state-cards { grid-template-columns: 1fr; }
  .user-grid article:last-child { grid-column: auto; }
  .terminology-strip div + div { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .document-stack { transform: scale(.88); transform-origin: left center; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .minute-controls, .minute-controls label, .minute-controls button, .minute-controls a { width: 100%; }
  .minute-status-bar, .minute-summary, .minute-boundaries { grid-template-columns: 1fr; }
  .minute-status-bar > div + div { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .minute-summary article { min-height: 118px; }
  .minute-table-head { flex-direction: column; }
  .minute-table-head > span { flex: auto; }
  .minute-boundaries p { grid-template-columns: 1fr; gap: 7px; }
  .service-hub-grid { grid-template-columns: 1fr; }
  .service-hub-cta { align-items: stretch; flex-direction: column; }
  .service-hub-cta a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* 2026-09-04 青绿政务型视觉主题
   取北京绿色交易所的生态绿意与上海环境能源交易所的白底蓝色秩序感。
   红色仅保留给产品识别、上涨和异常提示；代码示例是唯一保留的小面积深色功能区。 */
:root {
  --ink: #1e2b24;
  --navy: #1f6b47;
  --navy-2: #174f39;
  --red: #c43c3c;
  --red-soft: #fff4f2;
  --green: #2f7d4a;
  --orange: #b58a32;
  --paper: #f7f9f5;
  --white: #fff;
  --muted: #66736b;
  --line: #d9e5dd;
  --blue: #2f6fae;
  --jade: #edf5ef;
  --blue-soft: #eef4fb;
  --gold-soft: #fbf6e9;
}

body { background: var(--paper); }
.site-header {
  color: var(--ink);
  border-bottom: 1px solid #c9ddd0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 24px rgba(31,107,71,.07);
}
.brand-icon { background: var(--red); box-shadow: 0 8px 22px rgba(196,60,60,.18); }
.brand strong { color: var(--ink); }
.brand small { color: var(--muted); }
nav a { color: #4f6057; }
nav a:hover, nav a:focus-visible { color: var(--navy); }
.header-cta { background: var(--navy); }

.hero {
  color: var(--ink);
  background: linear-gradient(135deg, #fbfcf8 0%, #edf5ef 58%, #eef4fb 100%);
}
.hero::before {
  background:
    radial-gradient(circle at 88% 15%, rgba(47,111,174,.12), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(31,107,71,.13), transparent 28%);
}
.market-grid {
  opacity: .44;
  background-image: linear-gradient(rgba(31,107,71,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(31,107,71,.09) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, transparent 0, black 55%, transparent);
}
.hero .eyebrow { color: var(--navy); }
.hero .eyebrow span { background: var(--orange); box-shadow: 0 0 0 6px rgba(181,138,50,.14); }
h1 em { color: var(--navy); }
.lead { color: var(--muted); }
.slogan { color: var(--ink); }
.slogan i { color: var(--orange); }
.button.red { background: var(--navy); }
.button.outline { color: var(--navy); border-color: #a9c8b5; background: rgba(255,255,255,.62); }
.quote-card {
  color: var(--ink);
  border-color: #c9ddd0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 26px 70px rgba(31,107,71,.13);
}
.quote-head { border-color: var(--line); }
.quote-head span { color: var(--orange); }
.quote-head strong, .price-row > strong, .ohlc-grid b, .volume-grid b { color: var(--ink); }
.quote-head small, .price-row > span, .ohlc-grid span, .volume-grid span, .volume-grid small, .quote-card > p, .quote-source { color: var(--muted); }
.price-row > b { color: var(--red); }
.price-row > b.negative { color: var(--green); }
.ohlc-grid div, .volume-grid div { background: var(--jade); }

.eyebrow, .section-label { color: var(--navy); }
.minute-market, .user-scenes, .publication-state, .library, .service-hub { background: #f1f6f2; }
.minute-controls button { background: var(--navy); }
.minute-status-bar {
  color: var(--ink);
  border: 1px solid #c9ddd0;
  border-top: 4px solid var(--navy);
  background: white;
  box-shadow: 0 16px 40px rgba(31,107,71,.09);
}
.minute-status-bar > div + div,
.minute-status-bar > div:nth-child(3),
.minute-status-bar > div:nth-child(4) { border-color: var(--line); }
.minute-status-bar > div > span, .minute-status-bar small { color: var(--muted); }
.minute-table-card thead, .minute-table-card thead th:first-child { background: var(--navy); }
.minute-table-card tbody tr:nth-child(even), .minute-table-card tbody tr:nth-child(even) th:first-child { background: #f6faf7; }
.minute-table-card tbody tr:hover, .minute-table-card tbody tr:hover th:first-child { background: #edf6f0; }
.minute-boundaries b, .data-grid span, .dictionary dt, .state-cards b, .api-cards b, .service-hub-grid span { color: var(--navy); }

.identity-grid .primary-product {
  color: var(--ink);
  border-color: #a9c8b5;
  background: linear-gradient(145deg, #e6f2e9, #f4f8f5);
}
.primary-product .entity-tag { color: var(--navy); background: white; }
.primary-product p { color: var(--muted); }
.primary-product > span { border-color: #c9ddd0 !important; color: var(--navy) !important; }
.entity-tag { color: var(--navy); background: var(--jade); }

.terminology-strip {
  color: var(--ink);
  border: 1px solid #c9ddd0;
  background: var(--jade);
}
.terminology-strip div + div { border-color: #c9ddd0; }
.terminology-strip b { color: var(--navy); }
.terminology-strip span { color: var(--muted); }

.quality {
  color: var(--ink);
  background: linear-gradient(135deg, var(--jade), var(--blue-soft));
}
.quality-copy .section-label, .quality-board span { color: var(--navy); }
.quality-copy > p, .quality-board p { color: var(--muted); }
.quality-copy a { color: var(--blue); }
.quality-board { border-color: #c9ddd0; }
.quality-board div { border-color: #c9ddd0; background: rgba(255,255,255,.7); }

.dialogue { background: var(--jade); }
.user-bubble { background: var(--navy); }
.ai-bubble { border-color: #c9ddd0; }
.ai-bubble span, .carbonbro-copy li::before, .text-link { color: var(--navy); }

.api-section {
  color: var(--ink);
  background: var(--blue-soft);
}
.api-layout > div:first-child > p { color: var(--muted); }
.api-layout .section-label { color: var(--blue); }
.code-card { border-color: #315545; background: #17382b; box-shadow: 0 18px 45px rgba(23,79,57,.13); }
.code-head { border-color: rgba(255,255,255,.13); color: rgba(255,255,255,.62); }
pre { color: #e0ece4; }

.service-hub-grid a:hover, .service-hub-grid a:focus-visible { border-color: var(--navy); box-shadow: 0 18px 45px rgba(31,107,71,.09); }
.service-hub-cta {
  color: var(--ink);
  border: 1px solid #c9ddd0;
  background: linear-gradient(120deg, white, var(--jade));
}
.service-hub-cta p { color: var(--muted); }
.service-hub-cta a { background: var(--navy); }

.boundary { background: var(--gold-soft); }
.boundary-grid span { color: var(--navy); border-color: #e5d7ad; background: rgba(255,255,255,.78); }
.boundary-layout > p { color: #665f4a; }
summary::after { color: var(--navy); }

footer {
  color: var(--muted);
  border-top: 1px solid #c9ddd0;
  background: var(--jade);
}
.footer-main strong { color: var(--ink); }
.footer-main span { color: #5c6d63; }
.footer-bottom { border-color: #c9ddd0; }
footer a { color: var(--navy); }
