:root {
  --paper: #f5f5f0;
  --ink: #142429;
  --muted: #7a8585;
  --line: #dce1db;
  --orange: #ff7048;
  --green: #13866a;
  --red: #d15e59;
  --night: #172a2f;
  font-family: Arial, 'Microsoft YaHei', sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
button:hover,
a.button:hover {
  filter: brightness(0.97);
}
.header {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1500px;
  margin: auto;
  padding: 26px 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-mark {
  height: 24px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-right: 9px;
}
.brand-mark i {
  display: block;
  width: 4px;
  background: var(--orange);
  height: 9px;
}
.brand-mark i:nth-child(2) {
  height: 14px;
}
.brand-mark i:nth-child(3) {
  height: 19px;
}
.brand-mark i:nth-child(4) {
  height: 24px;
}
.brand-period {
  color: var(--orange);
  margin-left: 2px;
}
.header nav {
  display: flex;
  gap: 30px;
}
.header nav a {
  font-size: 11px;
  color: #6e7b7c;
}
.header nav a:hover {
  color: var(--orange);
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
#language {
  max-width: 135px;
  background: none;
  border: 0;
  color: #586a6c;
  font-size: 10px;
  padding: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 23px;
  min-height: 52px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition: transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.small {
  padding: 11px 15px;
  min-height: 38px;
  font-size: 10px;
  gap: 9px;
}
.dark {
  background: var(--ink);
  color: white;
}
.coral {
  background: var(--orange);
  color: #fff;
}
.star-icon {
  font-size: 17px;
}
.hero {
  max-width: 1500px;
  margin: auto;
  padding: 75px 5% 70px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 655px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718083;
}
.accent-line {
  height: 2px;
  width: 24px;
  background: var(--orange);
}
h1 {
  font-size: clamp(53px, 5.8vw, 86px);
  font-weight: 500;
  letter-spacing: -5px;
  line-height: 1.05;
  margin: 30px 0 25px;
}
.orange-text {
  color: var(--orange);
}
.hero-description {
  font-size: 14px;
  line-height: 1.95;
  color: #788385;
  max-width: 450px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.text-button {
  background: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid #b8c3bd;
}
.text-button > span:last-child {
  color: var(--orange);
  font-size: 18px;
}
.hero-footnotes {
  display: flex;
  gap: 35px;
  margin-top: 45px;
}
.hero-footnotes > span {
  display: grid;
  gap: 6px;
}
.hero-footnotes b {
  font:
    25px Georgia,
    serif;
  letter-spacing: -1px;
  font-weight: 400;
}
.hero-footnotes small {
  font-size: 6px;
  color: #89928b;
  letter-spacing: 1.3px;
}
.hero-visual {
  min-width: 0;
  height: 480px;
  position: relative;
  perspective: 1000px;
}
.visual-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#73888a10 1px, transparent 1px),
    linear-gradient(90deg, #73888a10 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.orbit {
  position: absolute;
  width: 420px;
  height: 190px;
  border: 1px solid #acbdb655;
  border-radius: 50%;
  top: 135px;
  left: 10%;
  transform: rotate(-25deg);
  pointer-events: none;
}
.orbit-one:after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
  top: 31px;
  left: 58px;
  box-shadow: 0 0 0 5px #ff704818;
}
.orbit-two {
  transform: rotate(55deg);
  animation: slow-orbit 30s linear infinite;
}
.coral-sphere {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: absolute;
  top: 85px;
  left: 28%;
  background: radial-gradient(circle at 30% 20%, #ffe9dc, #ff966e 30%, #ed6d3b 50%, #9b4b2a 80%);
  box-shadow:
    inset -20px -10px 30px #3c1e2e25,
    0 30px 70px #e68a4a22;
  animation: sphere-float 8s ease-in-out infinite;
}
.spotlight-card {
  position: absolute;
  top: 94px;
  left: 3%;
  width: 89%;
  min-height: 300px;
  padding: 23px 25px;
  text-align: left;
  background: linear-gradient(145deg, #20383e, #14272d);
  border: 1px solid #4e6867;
  border-radius: 15px;
  color: #f2f5ec;
  box-shadow: 18px 25px 45px #172e3525;
  transform: rotate(-6deg);
  animation: dashboard-float 8s ease-in-out infinite;
  transition: box-shadow 0.3s;
  overflow: hidden;
}
.spotlight-card:hover {
  box-shadow: 18px 25px 45px #172e3540;
}
.spotlight-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #91a6a3;
  font: 7px monospace;
  letter-spacing: 1.4px;
}
.spotlight-switch {
  font-size: 17px;
  color: #dcf5c8;
}
.spotlight-company {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}
.stock-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #daf0b7;
  color: #233c2a;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex: none;
}
.spotlight-company b {
  font-size: 12px;
  letter-spacing: 0.5px;
  display: block;
}
.spotlight-company div > span {
  font-size: 8px;
  color: #a8bab1;
  display: block;
  margin-top: 6px;
}
.company-exchange {
  margin-left: auto;
  font-size: 7px;
  color: #89a19a;
  border: 1px solid #48665f;
  border-radius: 3px;
  padding: 5px;
}
.spotlight-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.spotlight-price strong {
  font: 34px Arial;
  font-weight: 500;
  letter-spacing: -1.3px;
}
.spotlight-price > span {
  font-size: 9px;
  padding: 5px 7px;
  background: #b4ccbc16;
  border-radius: 4px;
}
#spotlight-chart {
  display: block;
  width: 100%;
  height: 100px;
  margin: 10px 0 0;
  color: #e6e9a3;
}
.spotlight-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font: 6px monospace;
  color: #8aa49b;
  margin-top: 3px;
}
.spotlight-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.spotlight-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #607e74;
}
.spotlight-dots i.active {
  background: #f5a17b;
  width: 12px;
  border-radius: 4px;
}
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 9px;
  padding: 14px 17px;
  background: #fffdf6;
  border: 1px solid #e0e5dc;
  box-shadow: 0 12px 30px #3c494215;
  z-index: 2;
  animation: chip-float 7s ease-in-out infinite;
}
.chip-top {
  top: 20px;
  right: -3%;
  transform: rotate(6deg);
}
.chip-bottom {
  bottom: 5px;
  left: 8%;
  transform: rotate(-3deg);
  animation-delay: -3s;
}
.mini-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ebece3;
  font-size: 20px;
  color: #5a6f70;
}
.microsoft-logo {
  background: #fff0df;
  color: #d47e49;
}
.floating-chip div b {
  display: block;
  font: 9px monospace;
}
.floating-chip div small {
  display: block;
  font-size: 13px;
  margin-top: 5px;
  letter-spacing: -0.5px;
}
.floating-chip > span:last-child {
  font-size: 8px;
  margin-left: 7px;
}
.visual-tag {
  position: absolute;
  right: 0;
  bottom: 26px;
  font: 6px monospace;
  letter-spacing: 1px;
  color: #859793;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tiny-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
.index-strip {
  padding: 24px 5%;
  max-width: 1500px;
  margin: auto;
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 35px;
}
.index-title {
  font: 7px monospace;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 120px;
  color: #81908c;
  line-height: 1.8;
  flex: none;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  flex: 1;
}
.index-grid > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  border-left: 1px solid #dee4dc;
  padding-left: 25px;
}
.index-grid > div > span {
  grid-column: 1/-1;
  font-size: 8px;
  color: #80908c;
}
.index-grid b {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.index-grid small {
  font-size: 8px;
  align-self: center;
}
.up {
  color: var(--green) !important;
}
.down {
  color: var(--red) !important;
}
.spotlight-card .up {
  color: #b9e5ba !important;
}
.spotlight-card .down {
  color: #ffae9c !important;
}
.section {
  max-width: 1500px;
  margin: auto;
  padding: 80px 5%;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: -1.8px;
  line-height: 1.2;
  margin: 15px 0 0;
}
.refresh-button {
  background: #e9ede4;
  border: 1px solid #dce3d5;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  border-radius: 6px;
  flex: none;
}
.refresh-icon {
  font-size: 17px;
}
.refresh-button.loading .refresh-icon {
  animation: refresh-spin 1s linear infinite;
}
.market-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.market-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.market-tabs button {
  background: transparent;
  border-radius: 5px;
  font-size: 10px;
  padding: 11px 13px;
  white-space: nowrap;
  color: #798786;
}
.market-tabs button.active {
  background: var(--ink);
  color: white;
}
.market-tabs button small {
  margin-left: 5px;
  background: #d6e1d5;
  color: #30433b;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 7px;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid #d8e0d5;
  padding: 0 12px;
  border-radius: 6px;
  gap: 9px;
  background: #fcfcf7;
  min-width: 210px;
}
.search-field > span {
  font-size: 22px;
  color: #84958e;
}
.search-field input {
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  font-size: 10px;
  padding: 12px 0;
  background: none;
  color: var(--ink);
}
.stock-table-wrap {
  min-height: 240px;
}
.stock-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}
.stock-table th {
  font-size: 8px;
  color: #82928d;
  font-weight: 400;
  padding: 20px 10px;
  border-bottom: 1px solid #e4e8e0;
}
.stock-table th button {
  background: none;
  padding: 0;
  font-size: 8px;
  color: inherit;
}
.stock-table th:nth-child(2) {
  width: 25%;
}
.stock-table th:nth-child(3) {
  width: 16%;
}
.stock-table th:nth-child(4) {
  width: 13%;
}
.stock-table th:nth-child(5) {
  width: 18%;
}
.stock-table th:nth-child(6) {
  width: 13%;
}
.stock-table th:last-child {
  width: 35px;
}
.stock-table .star-cell {
  width: 40px;
  padding-left: 0;
}
.stock-table td {
  padding: 15px 10px;
  border-bottom: 1px solid #e1e7df;
  font-size: 12px;
  vertical-align: middle;
}
.stock-table tbody tr {
  cursor: pointer;
  transition: background 0.2s;
}
.stock-table tbody tr:hover,
.stock-table tbody tr.selected {
  background: #e9eee4;
}
.stock-table td:first-child {
  padding-left: 0;
}
.table-star {
  background: none;
  color: #9da99b;
  padding: 5px;
  font-size: 19px;
}
.table-star.saved {
  color: var(--orange);
}
.company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.company-cell .stock-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  font-size: 12px;
}
.company-cell strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.company-cell small {
  display: block;
  color: #8c9990;
  font-size: 8px;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
.table-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.table-price small {
  font-size: 7px;
  font-weight: 400;
  color: #91a093;
  margin-left: 5px;
}
.table-change {
  font-size: 10px !important;
}
.table-spark {
  width: 100%;
  max-width: 140px;
  height: 30px;
  display: block;
}
.table-volume {
  font-size: 10px !important;
  color: #75897c;
}
.table-arrow {
  font-size: 17px;
  color: #8fa08f;
}
.quote-up {
  animation: quote-up 1.2s ease;
}
.quote-down {
  animation: quote-down 1.2s ease;
}
.table-empty {
  padding: 50px;
  text-align: center;
  color: #81928a;
  font-size: 12px;
}
.data-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  color: #87958a;
  line-height: 1.8;
  margin-top: 18px;
  flex-wrap: wrap;
}
.data-footer > span:last-child {
  max-width: 400px;
  text-align: right;
}
.explorer-section {
  padding-top: 15px;
}
.section-number {
  font: 9px monospace;
  color: #9aa89c;
}
.explorer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border: 1px solid #d8e1d3;
  border-radius: 13px;
  overflow: hidden;
  background: #fcfcf8;
}
.chart-main {
  padding: 27px;
  min-width: 0;
}
.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chart-company {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chart-company select {
  background: none;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  max-width: 220px;
  padding: 0;
}
.chart-company p {
  font-size: 9px;
  color: #89998b;
  margin: 5px 0 0;
}
.detail-star {
  background: #f0f3e9;
  padding: 7px 10px;
  border: 1px solid #dde5d6;
  border-radius: 6px;
  font-size: 19px;
  color: #879980;
}
.detail-star.saved {
  color: var(--orange);
}
.chart-price-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin: 25px 0;
}
.chart-price-row strong {
  font-size: 38px;
  letter-spacing: -1.5px;
  font-weight: 500;
}
.chart-price-row > span {
  font-size: 11px;
}
.chart-price-row > span:last-child {
  font-size: 8px;
  color: #99a48f;
}
.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.range-buttons,
.chart-type {
  display: flex;
  gap: 5px;
}
.chart-toolbar button {
  padding: 7px 11px;
  background: none;
  font-size: 9px;
  color: #96a08f;
  border-radius: 4px;
}
.chart-toolbar button.active {
  color: #284032;
  background: #e5edde;
}
.chart-stage {
  position: relative;
  min-height: 270px;
  margin-top: 15px;
}
#detail-chart {
  display: block;
  width: 100%;
  aspect-ratio: 800/320;
  overflow: visible;
}
.chart-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-size: 11px;
  color: #8b9c87;
}
.chart-tooltip {
  position: absolute;
  left: 10px;
  top: 10px;
  pointer-events: none;
  background: #f7faf2e8;
  padding: 8px 10px;
  font: 9px monospace;
  border: 1px solid #d9e4cf;
  color: #687d5c;
  border-radius: 4px;
}
.chart-caption {
  font: 7px monospace;
  color: #96a48b;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  line-height: 1.8;
  padding-top: 15px;
  border-top: 1px solid #e4eadd;
}
.company-panel {
  padding: 30px;
  background: #eaf0e3;
  border-left: 1px solid #d8e2ce;
}
.company-panel h3 {
  font-size: 24px;
  letter-spacing: -0.9px;
  line-height: 1.3;
  margin: 16px 0;
}
.company-panel > p {
  font-size: 11px;
  line-height: 1.9;
  color: #7e9076;
  min-height: 50px;
}
.company-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.company-tags > span {
  font-size: 7px;
  border: 1px solid #cddbc1;
  padding: 5px 8px;
  border-radius: 4px;
  color: #7d906d;
}
.stock-stats {
  margin: 25px 0;
}
.stock-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #dce6d0;
  font-size: 9px;
}
.stock-stats dt {
  color: #80936e;
}
.stock-stats dd {
  margin: 0;
  font: 10px monospace;
  color: #435c34;
  text-align: right;
}
.day-range > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  color: #87966f;
}
.range-track {
  height: 3px;
  background: linear-gradient(90deg, #deb1a3, #c6d6a3);
  margin: 12px 0;
  position: relative;
}
.range-track i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #4a6a36;
  border-radius: 50%;
  top: -2px;
  left: 50%;
  box-shadow: 0 0 0 2px #eaf0e3;
  transition: left 1s;
}
.day-range b {
  font: 8px monospace;
  color: #6d8154;
}
.company-panel .button {
  width: 100%;
  margin-top: 25px;
  font-size: 10px;
  min-height: 45px;
  padding: 13px;
}
.pulse-section {
  padding-top: 25px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px 60px;
}
.pulse-heading p {
  font-size: 12px;
  line-height: 1.9;
  color: #899682;
  max-width: 400px;
}
.pulse-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  padding-top: 15px;
}
.pulse-summary > div:not(.pulse-meter) {
  display: grid;
  gap: 12px;
}
.pulse-summary b {
  font:
    44px Georgia,
    serif;
  font-weight: 400;
}
.pulse-summary > div:first-child b {
  color: var(--green);
}
.pulse-summary > div:nth-child(2) b {
  color: var(--red);
}
.pulse-summary span {
  font-size: 8px;
  color: #93a080;
}
.pulse-meter {
  grid-column: 1/-1;
}
.pulse-meter > div {
  display: flex;
  height: 5px;
  border-radius: 4px;
  overflow: hidden;
  background: #e1e6d6;
  margin-bottom: 10px;
}
.pulse-meter i {
  height: 100%;
  transition: width 1s;
}
.heatmap {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.heat-cell {
  min-height: 108px;
  position: relative;
  overflow: hidden;
  background: #e2eadd;
  border: 1px solid #d7e1ce;
  border-radius: 7px;
  padding: 18px;
  text-align: left;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.heat-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px #2e432215;
}
.heat-cell.positive {
  background: #d7e9da;
  border-color: #c8dfca;
}
.heat-cell.negative {
  background: #f0ded5;
  border-color: #e7d3c8;
}
.heat-cell b {
  display: block;
  font-size: 11px;
}
.heat-cell small {
  display: block;
  font-size: 7px;
  margin-top: 8px;
  color: #819274;
}
.heat-cell strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  margin-top: 14px;
}
.heat-cell:after {
  content: '↗';
  position: absolute;
  right: 10px;
  top: 10px;
  color: #a1b28f;
  font-size: 15px;
}
.perspectives-section {
  padding-top: 25px;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.learn-grid article {
  border-top: 1px solid #d5dfcc;
  padding-top: 20px;
  min-width: 0;
}
.learn-art {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.art-waves {
  gap: 9px;
}
.art-waves i {
  display: block;
  height: 50px;
  width: 7px;
  background: #d38d6a;
  transform: skewY(-20deg);
  animation: bar-wave 5s ease-in-out infinite;
}
.art-waves i:nth-child(2) {
  height: 75px;
  animation-delay: -1s;
  background: #f8ac80;
}
.art-waves i:nth-child(3) {
  height: 90px;
  animation-delay: -2s;
  background: #f5c9a9;
}
.art-waves i:nth-child(4) {
  height: 65px;
  animation-delay: -3s;
  background: #dc9d70;
}
.art-waves i:nth-child(5) {
  height: 85px;
  animation-delay: -4s;
}
.art-circles i {
  position: absolute;
  border: 1px solid #93b1a0;
  border-radius: 50%;
  width: 100px;
  height: 52px;
  rotate: 25deg;
  animation: slow-orbit 15s linear infinite;
}
.art-circles i:nth-child(2) {
  rotate: -25deg;
}
.art-circles i:nth-child(3) {
  rotate: 90deg;
  background: #dbe8cf44;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 25px);
  grid-template-rows: repeat(2, 25px);
  gap: 7px;
  align-content: center;
}
.art-grid i {
  background: #ceddc3;
  border: 1px solid #bed2af;
  border-radius: 4px;
  animation: grid-glow 6s ease-in-out infinite;
}
.art-grid i:nth-child(2n) {
  background: #eeccac;
  animation-delay: -3s;
}
.learn-index {
  font: 6px monospace;
  letter-spacing: 1px;
  color: #91a081;
  display: block;
  margin-top: 23px;
}
.learn-grid h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.35;
  margin: 17px 0;
}
.learn-grid p {
  font-size: 12px;
  line-height: 1.9;
  color: #839373;
  min-height: 90px;
}
.learn-toggle {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: none;
  padding: 13px 0;
  border-bottom: 1px solid #d2dfc5;
  font-size: 10px;
  text-align: left;
}
.learn-toggle > span:last-child {
  color: var(--orange);
  font-size: 14px;
}
.learn-grid .learn-more {
  margin-top: 15px;
  min-height: 0;
  font-size: 11px;
  border-left: 2px solid #e4b695;
  padding-left: 12px;
}
.closing-section {
  text-align: center;
  padding-top: 35px;
  padding-bottom: 85px;
  position: relative;
  overflow: hidden;
}
.closing-section .eyebrow {
  justify-content: center;
}
.closing-section h2 {
  font-size: clamp(40px, 5.4vw, 76px);
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 30px 0;
}
.closing-section .button {
  position: relative;
  z-index: 2;
}
.closing-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  z-index: -1;
}
.closing-line svg {
  width: 100%;
  height: 100%;
}
.closing-line path {
  fill: none;
  stroke: #ddb29155;
  stroke-width: 1.2;
  stroke-dasharray: 1200;
  animation: line-draw 6s ease-in-out infinite;
}
footer {
  padding: 30px 5%;
  max-width: 1500px;
  margin: auto;
  border-top: 1px solid #d6dfcc;
  display: flex;
  align-items: center;
  gap: 40px;
}
footer .brand {
  font-size: 19px;
}
footer p {
  font-size: 8px;
  color: #8c9a7d;
  line-height: 1.8;
  max-width: 560px;
  margin: 0;
}
footer > span {
  font: 7px monospace;
  white-space: nowrap;
  color: #9da58d;
  margin-left: auto;
}
dialog {
  width: min(560px, calc(100% - 30px));
  max-height: 85vh;
  padding: 35px;
  border: 1px solid #d5dfc6;
  border-radius: 14px;
  color: var(--ink);
  background: #fafcf5;
  box-shadow: 0 30px 100px #12272033;
}
dialog::backdrop {
  background: #132c275e;
  backdrop-filter: blur(6px);
}
#close-watch {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  font-size: 24px;
  color: #7f936f;
}
dialog h2 {
  font-size: 29px;
  max-width: 410px;
}
dialog > p {
  font-size: 12px;
  color: #849574;
  line-height: 1.8;
}
#watch-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 25px 0;
}
#watch-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #d8e3cd;
  border-radius: 7px;
  font-size: 11px;
  background: #f0f5e9;
  cursor: pointer;
}
#watch-options input {
  accent-color: var(--orange);
  width: 15px;
  height: 15px;
}
#watch-options label small {
  display: block;
  font-size: 8px;
  color: #93a27c;
  margin-top: 5px;
}
#save-watch {
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  translate: -50% 0;
  z-index: 20;
  background: var(--ink);
  color: #f0f6df;
  padding: 14px 24px;
  font-size: 11px;
  border-radius: 7px;
  box-shadow: 0 10px 35px #172a2a22;
  max-width: 90%;
  text-align: center;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s,
    transform 0.65s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
html[dir='rtl'] .header-tools,
html[dir='rtl'] footer > span {
  margin-left: 0;
  margin-right: auto;
}
html[dir='rtl'] .brand {
  direction: ltr;
}
html[dir='rtl'] .stock-table {
  text-align: right;
}
html[dir='rtl'] .index-grid > div {
  border-left: 0;
  border-right: 1px solid #dee4dc;
  padding-left: 0;
  padding-right: 25px;
}
html[dir='rtl'] .company-panel {
  border-left: 0;
  border-right: 1px solid #d8e2ce;
}
html[dir='rtl'] .chart-stage,
html[dir='rtl'] .hero-visual {
  direction: ltr;
}
html[lang^='zh'] h1,
html[lang='ja'] h1,
html[lang='ko'] h1 {
  font-size: clamp(45px, 5.4vw, 76px);
  letter-spacing: -2px;
  line-height: 1.2;
}
html[lang='ar'] h1 {
  letter-spacing: 0;
  line-height: 1.4;
  font-size: clamp(45px, 5vw, 75px);
}
html[lang='ar'] h2 {
  letter-spacing: 0;
}
@keyframes dashboard-float {
  50% {
    translate: 0 -10px;
    rotate: 1.2deg;
  }
}
@keyframes chip-float {
  50% {
    translate: 0 -9px;
  }
}
@keyframes sphere-float {
  50% {
    translate: 0 -12px;
    scale: 1.03;
  }
}
@keyframes slow-orbit {
  to {
    transform: rotate(335deg);
  }
}
@keyframes bar-wave {
  50% {
    scale: 1 0.8;
  }
}
@keyframes grid-glow {
  50% {
    opacity: 0.55;
    translate: 0 -4px;
  }
}
@keyframes line-draw {
  0%,
  100% {
    stroke-dashoffset: 1200;
  }
  50% {
    stroke-dashoffset: 0;
  }
}
@keyframes refresh-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes quote-up {
  0% {
    background: #b6dfbd;
  }
  100% {
    background: transparent;
  }
}
@keyframes quote-down {
  0% {
    background: #efc0ae;
  }
  100% {
    background: transparent;
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 35px;
  }
  .header nav {
    gap: 22px;
  }
  .hero {
    gap: 20px;
    padding-top: 60px;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 63px;
    letter-spacing: -3.4px;
  }
  .hero-visual {
    height: 430px;
  }
  .spotlight-card {
    padding: 20px;
    top: 83px;
  }
  .chip-top {
    right: 0;
    top: 12px;
  }
  .chip-bottom {
    bottom: 0;
  }
  .orbit {
    width: 330px;
    left: 7%;
  }
  .coral-sphere {
    width: 230px;
    height: 230px;
  }
  .hero-footnotes {
    gap: 25px;
  }
  .index-strip {
    gap: 20px;
  }
  .index-grid {
    gap: 20px;
  }
  .index-grid > div {
    padding-left: 15px;
    gap: 7px;
  }
  .index-grid b {
    font-size: 15px;
  }
  .explorer-shell {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .chart-main {
    padding: 23px;
  }
  .company-panel {
    padding: 25px;
  }
  .heat-cell {
    padding: 14px;
  }
  .pulse-section {
    gap: 30px;
  }
  .learn-grid {
    gap: 25px;
  }
}
@media (max-width: 800px) {
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 22px 6%;
    gap: 20px;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: space-between;
    border-top: 1px solid #dce4d6;
    padding-top: 16px;
  }
  .header-tools {
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 6%;
    gap: 25px;
  }
  .hero h1 {
    font-size: clamp(58px, 10vw, 80px);
  }
  .hero-description {
    max-width: 530px;
  }
  .hero-visual {
    width: 80%;
    max-width: 530px;
    justify-self: center;
    height: 450px;
  }
  .index-strip {
    display: block;
    padding: 22px 6%;
  }
  .index-title {
    max-width: none;
    margin-bottom: 18px;
  }
  .index-grid {
    gap: 15px;
  }
  .index-grid > div:first-child {
    border: 0;
    padding-left: 0;
  }
  .index-grid > div {
    grid-template-columns: 1fr;
  }
  .index-grid > div > span {
    font-size: 7px;
  }
  .index-grid small {
    font-size: 8px;
  }
  .section {
    padding: 60px 6%;
  }
  .section-header h2 {
    font-size: 33px;
  }
  .market-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    flex: 1;
    max-width: 300px;
  }
  .stock-table th:nth-child(2) {
    width: 28%;
  }
  .stock-table th:nth-child(3) {
    width: 19%;
  }
  .stock-table th:nth-child(4) {
    width: 17%;
  }
  .stock-table th:nth-child(5) {
    width: 22%;
  }
  .volume-col,
  .table-volume {
    display: none;
  }
  .data-footer > span:last-child {
    text-align: left;
    max-width: none;
  }
  .explorer-section {
    padding-top: 15px;
  }
  .explorer-shell {
    grid-template-columns: 1fr;
  }
  .company-panel {
    border-left: 0;
    border-top: 1px solid #d8e2ce;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .company-panel > .eyebrow,
  .company-panel > h3,
  .company-panel > p,
  .company-tags {
    grid-column: 1;
  }
  .stock-stats {
    grid-column: 2;
    grid-row: 1/6;
    margin: 0;
  }
  .company-panel > p {
    min-height: 0;
  }
  .company-panel .day-range {
    grid-column: 1;
    align-self: end;
  }
  .company-panel .button {
    grid-column: 2;
    margin-top: 15px;
  }
  .pulse-section {
    padding-top: 25px;
    grid-template-columns: 1fr;
  }
  .pulse-heading p {
    max-width: 550px;
  }
  .pulse-summary {
    padding-top: 0;
  }
  .heatmap {
    grid-template-columns: repeat(4, 1fr);
  }
  .pulse-summary b {
    font-size: 40px;
  }
  .learn-grid p {
    font-size: 11px;
  }
  .learn-grid h3 {
    font-size: 21px;
  }
  .closing-section {
    padding-top: 20px;
  }
  .closing-section h2 {
    font-size: 60px;
  }
  .footer,
  footer {
    gap: 25px;
  }
  .header-tools .button span:last-child {
    font-size: 9px;
  }
  .header-tools .button {
    padding: 10px 12px;
  }
  .header .brand {
    font-size: 22px;
  }
  html[dir='rtl'] .company-panel {
    border-right: 0;
  }
}
@media (max-width: 520px) {
  .header {
    padding: 20px 6%;
    column-gap: 10px;
  }
  .header .brand {
    font-size: 19px;
  }
  .brand-mark {
    gap: 2px;
    margin-right: 6px;
    height: 21px;
  }
  .brand-mark i {
    width: 3px;
  }
  .brand-mark i:nth-child(4) {
    height: 21px;
  }
  .header-tools {
    gap: 8px;
  }
  #language {
    max-width: 82px;
    font-size: 9px;
    padding: 7px 2px;
  }
  .header-tools .button {
    padding: 8px 10px;
    min-height: 34px;
  }
  .header-tools .button span:last-child {
    display: none;
  }
  .header-tools .star-icon {
    font-size: 17px;
  }
  .header nav a {
    font-size: 10px;
  }
  .hero {
    padding-top: 35px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 52px;
    letter-spacing: -3px;
    line-height: 1.1;
    margin: 24px 0;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 15px 18px;
    min-height: 47px;
    gap: 17px;
  }
  .hero-actions .text-button {
    font-size: 9px;
    gap: 10px;
  }
  .hero-footnotes {
    gap: 28px;
    margin-top: 28px;
  }
  .hero-footnotes b {
    font-size: 24px;
  }
  .hero-footnotes small {
    font-size: 5px;
    letter-spacing: 0.7px;
  }
  .hero-visual {
    width: 100%;
    height: 380px;
  }
  .spotlight-card {
    top: 73px;
    left: 2%;
    width: 94%;
    padding: 18px;
    min-height: 270px;
    border-radius: 12px;
  }
  .spotlight-company {
    margin-top: 16px;
  }
  .spotlight-company .stock-logo {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .spotlight-price {
    margin-top: 16px;
  }
  .spotlight-price strong {
    font-size: 31px;
  }
  #spotlight-chart {
    height: 85px;
    margin-top: 7px;
  }
  .spotlight-caption {
    font-size: 6px;
  }
  .company-exchange {
    font-size: 6px;
    padding: 4px;
  }
  .floating-chip {
    padding: 10px 12px;
    gap: 9px;
  }
  .chip-top {
    right: 0;
    top: 8px;
  }
  .chip-bottom {
    bottom: 1px;
    left: 2%;
  }
  .floating-chip div b {
    font-size: 8px;
  }
  .floating-chip div small {
    font-size: 12px;
  }
  .floating-chip > span:last-child {
    font-size: 7px;
  }
  .mini-logo {
    width: 24px;
    height: 24px;
    font-size: 17px;
  }
  .visual-tag {
    font-size: 5px;
    right: 0;
    bottom: 9px;
    max-width: 110px;
    line-height: 1.8;
  }
  .coral-sphere {
    top: 50px;
    left: 24%;
    width: 200px;
    height: 200px;
  }
  .orbit {
    width: 280px;
    height: 150px;
    left: 6%;
    top: 100px;
  }
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }
  .index-grid > div:nth-child(3) {
    border: 0;
    padding-left: 0;
  }
  .index-grid > div {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .index-grid b {
    font-size: 17px;
  }
  .index-grid small {
    font-size: 8px;
  }
  .section {
    padding: 45px 6%;
  }
  .section-header {
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .section-header h2 {
    font-size: 29px;
    letter-spacing: -1.3px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .refresh-button {
    font-size: 0;
    padding: 8px 11px;
    margin-top: 5px;
  }
  .refresh-button .refresh-icon {
    font-size: 20px;
  }
  .market-toolbar {
    padding-bottom: 15px;
    gap: 15px;
  }
  .market-tabs {
    gap: 2px;
    width: 100%;
  }
  .market-tabs button {
    font-size: 8px;
    padding: 10px;
  }
  .search-field {
    max-width: none;
    min-width: 0;
    width: 100%;
    flex-basis: 100%;
  }
  .search-field input {
    font-size: 10px;
    padding: 10px 0;
  }
  .stock-table .star-cell {
    width: 27px;
  }
  .stock-table th {
    font-size: 7px;
    padding: 16px 6px;
  }
  .stock-table th:nth-child(2) {
    width: 42%;
  }
  .stock-table th:nth-child(3) {
    width: 29%;
  }
  .stock-table th:nth-child(4) {
    width: 24%;
  }
  .stock-table th:last-child {
    width: 18px;
  }
  .trend-col,
  .stock-table .spark-cell {
    display: none;
  }
  .stock-table td {
    padding: 14px 5px;
    font-size: 11px;
  }
  .table-star {
    padding: 3px;
    font-size: 17px;
  }
  .company-cell {
    gap: 8px;
  }
  .company-cell .stock-logo {
    width: 26px;
    height: 26px;
    font-size: 10px;
    border-radius: 6px;
  }
  .company-cell strong {
    font-size: 9px;
  }
  .company-cell small {
    font-size: 6px;
    max-width: 85px;
    line-height: 1.5;
  }
  .table-price {
    font-size: 11px !important;
  }
  .table-price small {
    display: block;
    font-size: 6px;
    margin: 4px 0 0;
  }
  .table-change {
    font-size: 8px !important;
  }
  .table-arrow {
    font-size: 14px;
  }
  .data-footer {
    font-size: 7px;
    gap: 6px;
  }
  .data-footer > span:last-child {
    flex-basis: 100%;
  }
  .explorer-section {
    padding-top: 10px;
  }
  .section-number {
    display: none;
  }
  .chart-main {
    padding: 20px 16px;
  }
  .chart-company {
    gap: 9px;
  }
  .chart-company .stock-logo {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .chart-company select {
    max-width: 175px;
    font-size: 12px;
  }
  .chart-company p {
    font-size: 8px;
    max-width: 195px;
  }
  .detail-star {
    padding: 5px 8px;
    font-size: 17px;
  }
  .chart-price-row {
    gap: 10px;
    margin: 22px 0;
  }
  .chart-price-row strong {
    font-size: 33px;
  }
  .chart-price-row > span {
    font-size: 9px;
  }
  .chart-toolbar {
    gap: 10px;
  }
  .chart-toolbar button {
    font-size: 8px;
    padding: 6px 8px;
  }
  .chart-stage {
    min-height: 210px;
    overflow: hidden;
  }
  #detail-chart {
    width: 100%;
    height: 230px;
    aspect-ratio: auto;
  }
  .chart-caption {
    display: block;
    font-size: 6px;
  }
  .chart-caption > span {
    display: block;
    margin-top: 4px;
  }
  .company-panel {
    padding: 24px;
    display: block;
  }
  .company-panel h3 {
    font-size: 23px;
  }
  .company-panel > p {
    font-size: 11px;
  }
  .company-tags {
    margin-top: 15px;
  }
  .stock-stats {
    margin: 22px 0;
  }
  .stock-stats > div {
    font-size: 10px;
  }
  .day-range {
    margin-top: 20px;
  }
  .company-panel .button {
    font-size: 11px;
    margin-top: 25px;
  }
  .pulse-section {
    padding-top: 10px;
    gap: 25px;
  }
  .pulse-summary {
    gap: 20px;
  }
  .pulse-summary b {
    font-size: 39px;
  }
  .heatmap {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .heat-cell {
    padding: 13px 10px;
    min-height: 97px;
  }
  .heat-cell b {
    font-size: 9px;
  }
  .heat-cell strong {
    font-size: 17px;
  }
  .heat-cell small {
    font-size: 6px;
  }
  .heat-cell:after {
    font-size: 11px;
    right: 7px;
    top: 8px;
  }
  .learn-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .learn-grid article {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 0 15px;
    padding-top: 16px;
  }
  .learn-art {
    grid-column: 2;
    grid-row: 2/4;
    height: 115px;
    align-self: center;
  }
  .learn-index {
    grid-column: 1/-1;
    margin-top: 0;
    font-size: 6px;
  }
  .learn-grid h3 {
    font-size: 22px;
    margin: 19px 0 13px;
    grid-column: 1;
  }
  .learn-grid p {
    min-height: 0;
    grid-column: 1;
    font-size: 11px;
    margin: 0 0 12px;
  }
  .learn-toggle {
    grid-column: 1/-1;
  }
  .learn-grid .learn-more {
    grid-column: 1/-1;
    margin: 15px 0 0;
  }
  .art-waves {
    gap: 6px;
  }
  .art-waves i {
    width: 5px;
  }
  .art-waves i:nth-child(3) {
    height: 76px;
  }
  .art-circles i {
    width: 85px;
    height: 43px;
  }
  .art-grid {
    grid-template-columns: repeat(3, 20px);
    grid-template-rows: repeat(2, 20px);
    gap: 5px;
  }
  .closing-section {
    padding-top: 25px;
    padding-bottom: 70px;
  }
  .closing-section h2 {
    font-size: 42px;
    letter-spacing: -2px;
    line-height: 1.15;
  }
  .closing-section .eyebrow {
    font-size: 6px;
  }
  .closing-section .button {
    font-size: 11px;
  }
  .closing-line {
    height: 80px;
  }
  footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 25px 6%;
  }
  footer p {
    grid-row: 2;
    grid-column: 1/-1;
    font-size: 7px;
  }
  footer > span {
    grid-column: 2;
    grid-row: 1;
    font-size: 6px;
  }
  footer .brand {
    font-size: 18px;
  }
  #watch-options {
    gap: 7px;
  }
  #watch-options label {
    padding: 11px 8px;
    gap: 7px;
    font-size: 10px;
  }
  dialog {
    padding: 30px 23px;
  }
  dialog h2 {
    font-size: 25px;
  }
  dialog > p {
    font-size: 11px;
  }
  html[lang^='zh'] .hero h1,
  html[lang='ja'] .hero h1,
  html[lang='ko'] .hero h1 {
    font-size: 46px;
    letter-spacing: -1px;
  }
  html[lang='ar'] .hero h1 {
    font-size: 43px;
    line-height: 1.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .learn-art *,
  .closing-line path {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .heat-cell,
  .market-card {
    transition: none;
  }
}

html[dir='rtl'] .chart-price-row strong,
html[dir='rtl'] .table-price,
html[dir='rtl'] .index-grid b {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir='rtl'] .chart-stage {
  direction: ltr;
}

.local-file-notice {
  padding: 16px 6%;
  background: #fff2d8;
  color: #583c13;
  font:
    14px/1.7 system-ui,
    sans-serif;
  border-bottom: 1px solid #e5c68b;
}
.local-file-notice[hidden] {
  display: none;
}
