:root {
  color-scheme: dark;
  --bg: #0a0e15;
  --surface: #101620;
  --panel: #151d29;
  --text: #eef2f8;
  --muted: #97a4b6;
  --line: #283344;
  --accent: #adcfff;
  --accent-ink: #0c233b;
  --mint: #9cdec5;
  --warn: #f3c794;
  --shadow: 0 25px 90px #0005;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f0;
  --surface: #fff;
  --panel: #eeefea;
  --text: #14212d;
  --muted: #586775;
  --line: #d7ddd9;
  --accent: #225b91;
  --accent-ink: #fff;
  --mint: #237353;
  --warn: #9b5818;
  --shadow: 0 25px 80px #34455517;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}
button {
  padding: 9px 15px;
}
button:hover {
  border-color: var(--accent);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}
label input,
label select,
label textarea {
  color: var(--text);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.09;
  white-space: pre-line;
}
h2 {
  font-size: clamp(25px, 3vw, 40px);
  letter-spacing: -0.035em;
  font-weight: 500;
  line-height: 1.2;
}
h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
small,
.muted {
  color: var(--muted);
}
p {
  color: var(--muted);
}
.skip {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 99;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
#header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: 19px 4vw;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  font-size: 30px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.brand strong {
  font-size: 12px;
  letter-spacing: 0.18em;
  display: block;
}
.brand small {
  font-size: 8px;
  letter-spacing: 0.24em;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav > a,
.nav summary {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  list-style: none;
  cursor: pointer;
}
.nav a.active,
.nav summary.active {
  color: var(--text);
}
.nav summary::-webkit-details-marker {
  display: none;
}
.nav details {
  position: relative;
}
.dropdown {
  position: absolute;
  left: -18px;
  top: 100%;
  min-width: 205px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: none;
}
.nav details:hover .dropdown,
.nav details[open] .dropdown,
.nav details:focus-within .dropdown {
  display: grid;
}
.dropdown a {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 5px;
}
.dropdown a:hover {
  background: var(--panel);
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-button {
  padding: 8px 12px;
  background: transparent;
}
.account-link {
  font-size: 12px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}
.mobile-toggle {
  display: none;
}
.eyebrow {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 9px;
  vertical-align: 2px;
}
.button,
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 20px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.primary:hover {
  filter: brightness(1.1);
  color: var(--accent-ink);
}
.link {
  color: var(--accent);
  font-size: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.hero {
  position: relative;
  min-height: calc(90svh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg), transparent 90%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1270px, 92%);
  margin: auto;
  padding: 90px 0 115px;
}
.hero h1 {
  font-size: clamp(64px, 9vw, 126px);
  max-width: 750px;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero p {
  max-width: 460px;
  margin: 26px 0 32px;
  font-size: 15px;
  line-height: 1.8;
}
.hero .scroll {
  margin-top: 64px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hero-orbit {
  position: absolute;
  right: 4vw;
  top: 20%;
  width: 44vw;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 13%, transparent);
  border-radius: 50%;
  transform: rotate(-30deg) scaleY(0.5);
  pointer-events: none;
}
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 50%;
}
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 66px 30px 88px;
}
.section {
  max-width: 1280px;
  margin: auto;
  padding: 90px 30px;
}
.intro-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-about p {
  line-height: 1.9;
  max-width: 580px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 70px;
}
.principle {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.principle .num {
  font: 12px monospace;
  color: var(--accent);
  margin-bottom: 24px;
}
.principle h3 {
  margin-bottom: 16px;
}
.page-head {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}
.page-head p {
  max-width: 480px;
  margin-top: 19px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px 10px;
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 7px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 27px;
}
.panel h3 {
  margin-bottom: 12px;
}
.notice {
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding: 12px 17px;
  background: var(--surface);
  line-height: 1.8;
}
.notice.warning {
  border-color: var(--warn);
}
.notice.warning p {
  color: var(--warn);
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 30px 0 22px;
}
.toolbar input {
  flex: 1;
}
.toolbar select {
  width: 200px;
}
.toolbar small {
  white-space: nowrap;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.asset-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 248px;
  padding: 24px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.asset-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.asset-code {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.asset-card p {
  font-size: 12px;
  margin: 10px 0 22px;
}
.asset-card .row:last-child {
  margin-top: auto;
}
.asset-glyph {
  height: 50px;
  font:
    40px ui-monospace,
    monospace;
  color: color-mix(in srgb, var(--accent) 40%, transparent);
  line-height: 1;
}
.small {
  font-size: 11px;
}
.card-link {
  position: absolute;
  inset: 0;
  border-radius: 10px;
}
.asset-card button {
  position: relative;
  z-index: 1;
  font-size: 11px;
  padding: 6px 10px;
}
.asset-card .badge {
  position: relative;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
}
.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}
.detail-sidebar p {
  font-size: 12px;
  line-height: 1.8;
}
.chart-frame {
  height: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.chart-frame.compact {
  height: 330px;
}
.chart-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  background: radial-gradient(
    ellipse at 50% 70%,
    color-mix(in srgb, var(--accent) 8%, transparent),
    transparent 70%
  );
}
.chart-consent .symbol-watermark {
  font-size: 56px;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.45;
  letter-spacing: -0.03em;
}
.chart-consent p {
  max-width: 500px;
  font-size: 12px;
}
.source-link {
  font-size: 11px;
  display: block;
  margin-top: 10px;
  color: var(--muted);
}
.metrics-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}
.metrics-placeholder div {
  padding: 12px 18px;
  border-left: 1px solid var(--line);
}
.metrics-placeholder strong {
  display: block;
  font-size: 26px;
  font-weight: 400;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 48px 0 22px;
}
.section-heading h2 {
  font-size: 25px;
}
.macro-readouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.readout {
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.readout .value {
  font-size: 32px;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 12px 0;
}
.readout small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
}
.readout a {
  color: var(--accent);
}
.macro-map-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.world-map {
  width: 100%;
  height: auto;
  display: block;
}
.world-map path {
  fill: var(--panel);
  stroke: var(--line);
  stroke-width: 2;
}
.world-map line {
  stroke: var(--line);
  stroke-dasharray: 4 6;
  opacity: 0.5;
}
.world-map circle {
  fill: var(--accent);
}
.world-map text {
  font: 12px system-ui;
  fill: var(--muted);
}
.map-marker {
  cursor: pointer;
}
.map-marker:hover circle,
.map-marker.selected circle {
  fill: var(--mint);
  stroke: var(--mint);
  stroke-width: 8;
  stroke-opacity: 0.15;
}
.region-buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.region-buttons button {
  font-size: 10px;
  padding: 6px 9px;
}
.region-buttons button.active {
  border-color: var(--accent);
  color: var(--accent);
}
.region-values {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.region-values > div {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.region-values strong {
  font-size: 19px;
  font-weight: 500;
  white-space: nowrap;
}
.market-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.market-block {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.market-block:hover {
  border-color: var(--accent);
}
.market-block span {
  display: block;
  color: var(--muted);
  font: 11px monospace;
  margin-bottom: 20px;
}
.market-block h3 {
  font-size: 15px;
}
.source-status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.center-state {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.center-state p {
  max-width: 560px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 26px;
}
.community-layout aside {
  align-self: start;
  position: sticky;
  top: 105px;
}
.community-layout aside p {
  font-size: 12px;
  line-height: 1.9;
}
.post-card {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.post-card:first-child {
  padding-top: 5px;
}
.post-card h3 {
  font-size: 23px;
  margin: 10px 0;
  line-height: 1.3;
}
.post-card p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 84px;
  overflow: hidden;
}
.post-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.post-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
}
.post-actions button {
  font-size: 11px;
  padding: 5px 10px;
}
.post-full {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  margin: 25px 0;
}
.comment {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.comment p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.form-grid {
  display: grid;
  gap: 20px;
}
.profile-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
}
.avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--accent);
  font-size: 25px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.profile-card {
  align-self: start;
}
.profile-card p {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.profile-card .row {
  margin-top: 20px;
}
.profile-card .button {
  width: 100%;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.settings-grid .panel {
  display: grid;
  align-content: start;
  gap: 20px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-label input {
  width: 18px;
  height: 18px;
}
.history-item,
.follow-item {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.history-item small {
  font-size: 11px;
}
.history-item a {
  color: var(--accent);
}
.follow-item button {
  font-size: 11px;
}
.loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}
.danger {
  color: var(--warn);
}
#footer {
  border-top: 1px solid var(--line);
  padding: 35px 4vw;
  max-width: 1440px;
  margin: auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}
.footer-top .row {
  font-size: 12px;
}
.footer-note {
  font-size: 10px;
  max-width: 850px;
  color: var(--muted);
}
dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 520px;
  width: calc(100% - 32px);
  padding: 34px;
  max-height: 90svh;
  overflow: auto;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(8px);
}
dialog h2 {
  margin-bottom: 18px;
  font-size: 32px;
}
dialog p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 22px;
}
dialog .close {
  float: right;
  margin: -12px -12px 10px 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 0 10px;
}
dialog form {
  clear: both;
}
.form-error {
  font-size: 12px;
  color: var(--warn);
  margin-top: 15px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow);
  border-radius: 9px;
  padding: 13px 23px;
  z-index: 100;
  max-width: 90%;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
@media (min-width: 1000px) {
  .nav details .dropdown {
    margin-top: 0;
    padding-top: 16px;
  }
  .nav details summary {
    padding: 10px 0;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }
  .nav {
    gap: 14px;
  }
  .brand small {
    display: none;
  }
  .brand strong {
    font-size: 10px;
  }
  .header-actions {
    gap: 5px;
  }
  .nav > a,
  .nav summary {
    font-size: 11px;
  }
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .market-blocks {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 820px) {
  .header-inner {
    padding: 15px 20px;
  }
  .header-actions {
    margin-left: auto;
  }
  .mobile-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .nav.open {
    display: grid;
  }
  .nav > a,
  .nav summary {
    font-size: 14px;
    padding: 8px;
  }
  .dropdown {
    z-index: 2;
    left: 0;
  }
  .hero-content {
    padding: 80px 8px;
  }
  .hero {
    min-height: 75svh;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero p {
    max-width: 360px;
  }
  .page,
  .section {
    padding: 45px 22px 60px;
  }
  .page-head {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .intro-about {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .principles {
    gap: 20px;
    margin-top: 40px;
  }
  .detail-layout,
  .macro-map-layout,
  .community-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .macro-readouts {
    grid-template-columns: repeat(2, 1fr);
  }
  .market-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-layout aside {
    position: static;
  }
  .profile-card {
    display: none;
  }
  .settings-grid {
    gap: 16px;
  }
  .chart-frame {
    height: 430px;
  }
}
@media (max-width: 500px) {
  .header-inner {
    gap: 10px;
  }
  .brand strong {
    font-size: 9px;
  }
  .brand-mark {
    font-size: 27px;
  }
  .account-link {
    padding: 7px 10px;
    font-size: 10px;
  }
  .header-actions .icon-button {
    padding: 6px 9px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-content {
    padding-top: 60px;
  }
  .hero .scroll {
    margin-top: 50px;
  }
  .principles,
  .asset-grid,
  .settings-grid,
  .detail-sidebar {
    grid-template-columns: 1fr;
  }
  .principles {
    gap: 30px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar input {
    flex-basis: 100%;
  }
  .toolbar select {
    flex: 1;
  }
  .toolbar small {
    margin-left: auto;
  }
  .panel {
    padding: 22px;
  }
  .asset-card {
    min-height: 210px;
  }
  .macro-readouts {
    gap: 10px;
  }
  .readout {
    padding: 18px;
  }
  .readout .value {
    font-size: 27px;
  }
  .chart-frame {
    height: 380px;
  }
  .chart-consent {
    padding: 24px;
  }
  .chart-consent .symbol-watermark {
    font-size: 40px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
  }
  .post-card h3 {
    font-size: 20px;
  }
  .metrics-placeholder div {
    padding: 8px;
  }
  .metrics-placeholder small {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* First-party charts inherit the same light/dark tokens as the rest of the product. */
.own-chart {
  border: 1px solid var(--line, #38404e);
  border-radius: 16px;
  padding: 20px;
}
.chart-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.chart-controls select {
  width: auto;
  min-width: 85px;
  flex: 1;
}
.own-chart-body {
  min-height: 300px;
}
.own-chart-body svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: pan-y;
}
.chart-readout {
  min-height: 48px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.chart-meta {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.chart-meta p {
  margin: 8px 0;
}
.chart-grid {
  stroke: currentColor;
  opacity: 0.13;
}
.chart-axis {
  fill: currentColor;
  font-size: 14px;
  opacity: 0.8;
}
.chart-line {
  fill: none;
  stroke: #578cff;
  stroke-width: 2.5;
}
.chart-area {
  fill: #578cff;
  opacity: 0.09;
}
.chart-up {
  fill: #18896e;
  stroke: #18896e;
}
.chart-down {
  fill: #df626d;
  stroke: #df626d;
}
.chart-crosshair {
  stroke: currentColor;
  opacity: 0.45;
  stroke-dasharray: 4 4;
}
.chart-dot {
  fill: #578cff;
}
@media (max-width: 600px) {
  .own-chart {
    padding: 12px;
  }
  .own-chart-body {
    min-height: 220px;
  }
}

.reference-notice { margin-top: 24px; font-size: 0.875rem; line-height: 1.6; max-width: 85ch; overflow-wrap: anywhere; }
.reference-notice p + p { margin-top: 8px; }
