:root {
  color-scheme: light;
  --plane: #f9f9f7; --surface: #fcfcfb; --ink: #0b0b0b; --ink-2: #52514e; --muted: #898781;
  --grid: #e1e0d9; --axis: #c3c2b7; --line: #2a78d6; --border: rgba(11,11,11,.10);
  --up: #006300; --down: #d03b3b;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --plane: #0d0d0d; --surface: #1a1a19; --ink: #f0efec; --ink-2: #c3c2b7;
    --grid: #2c2c2a; --axis: #383835; --line: #3987e5; --border: rgba(255,255,255,.10);
    --up: #0ca30c; --down: #e66767;
  }
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: var(--plane); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--axis); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.topbar { background: #16171a; color: #fff; font-size: 14px; }
.topbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-name { display: block; height: 24px; width: auto; }
.mainnav { display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.mainnav a { flex: none; padding: 6px 8px; border-radius: 8px; color: #c3c2b7; text-decoration: none; white-space: nowrap; }
.mainnav a:hover { color: #fff; }
.mainnav a[aria-current] { color: #fff; background: rgba(255,255,255,.14); }
.search { flex: 1 1 120px; min-width: 0; display: flex; justify-content: flex-end; }
.search input { width: 100%; max-width: 280px; padding: 7px 12px; font: inherit; font-size: 14px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid transparent; border-radius: 8px; }
.currency { padding: 7px 8px; font: inherit; font-size: 14px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid transparent; border-radius: 8px; }
.currency option { color: #0b0b0b; }
.search input::placeholder { color: #c3c2b7; }
.search input:focus { outline: none; border-color: #86b6ef; }
.subnav { background: var(--surface); border-bottom: 1px solid var(--grid); font-size: 13px; }
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 9px 10px; color: var(--ink-2); text-decoration: none; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intro { padding: 44px 0 30px; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.intro p { margin: 14px 0 0; max-width: 680px; color: var(--ink-2); font-size: 18px; }
.ranges { display: flex; gap: 2px; margin-top: 6px; font-size: 13px; }
.ranges:empty { display: none; }
.ranges button { flex: 1; font: inherit; color: var(--ink-2); background: none; border: 1px solid transparent; border-radius: 8px; padding: 5px 4px; cursor: pointer; }
.ranges button:hover { background: var(--grid); }
.ranges button[aria-pressed="true"] { color: var(--ink); background: var(--surface); border-color: var(--border); font-weight: 600; }
.grid { --fill: var(--fill3); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card, .note { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 12px; min-width: 0; }
.card:has(h3 a) { cursor: pointer; }
.card .chart { cursor: default; }
.card:has(h3 a):hover { border-color: var(--axis); }
.card h2, .card h3 { margin: 0; font-size: 15px; font-weight: 600; }
.chg { color: var(--ink-2); }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.daily { margin-left: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); white-space: nowrap; }
.figures { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin: 4px 0 8px; }
.price { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.delta { margin: 0; font-size: 13px; color: var(--ink-2); text-align: right; }
.chart { position: relative; height: 170px; }
.card-large .chart { height: 340px; }
.card-large .figures { justify-content: flex-start; margin: 0 0 12px; }
.chart svg { display: block; overflow: visible; touch-action: pan-y; border-radius: 4px; }
.chart svg:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }
.chart text { font: 12px var(--sans); fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart text.reference { fill: var(--ink-2); }
.chart text.tag { fill: var(--surface); font-weight: 600; }
.tip { position: absolute; top: 2px; padding: 5px 9px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 12px; white-space: nowrap; pointer-events: none; }
.tip strong { display: block; font-size: 14px; }
.tip span { color: var(--ink-2); }
.note { grid-column: span var(--fill); padding-bottom: 18px; font-size: 15px; color: var(--ink-2); }
.note h2 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.note p { margin: 0 0 10px; }
.note p:last-child { margin-bottom: 0; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-top: 28px; align-items: start; }
.quote { display: flex; justify-content: space-between; gap: 24px; scroll-margin-top: 16px; }
.quote h1 { font-size: 28px; letter-spacing: -.01em; }
.quote-meta { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.quote-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 12px 0 0; }
.quote-value { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.quote-price .chg { font-size: 20px; font-weight: 600; }
.quote-ranges { flex: 0 0 240px; display: grid; gap: 12px; align-content: end; font-size: 13px; }
.range-name { color: var(--ink-2); }
.range-row { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 4px; border-radius: 2px; background: var(--grid); }
.track i { position: absolute; top: -4px; width: 2px; height: 12px; margin-left: -1px; background: var(--ink); }
.callout { margin: 18px 0 0; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--line); border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.tabs { display: flex; gap: 22px; margin: 22px 0 16px; border-bottom: 1px solid var(--grid); font-size: 16px; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.tabs a { flex: none; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--line); box-shadow: inset 0 -2px var(--line); }
.chart-note { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.chart-note:empty { display: none; }
.performance { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 10px -6px 4px; border: 1px solid var(--grid); border-radius: 6px; }
.performance button { padding: 7px 4px; font: inherit; font-size: 12px; text-align: center; color: inherit; background: none; border: 0; border-left: 1px solid var(--grid); cursor: pointer; }
.performance button:first-child { border-left: 0; }
.performance button:hover { background: var(--grid); }
.performance button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--line); font-weight: 600; }
.performance button:focus-visible { outline: 2px solid var(--line); outline-offset: -2px; }
.performance span { display: block; }
.performance .period { color: var(--ink-2); }
.performance .chg { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.block { padding-top: 34px; scroll-margin-top: 0; }
.facts { columns: 3; column-gap: 24px; margin: 0; font-size: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--grid); break-inside: avoid; }
.facts dt { flex: none; font-weight: 600; }
.facts dd { margin: 0; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink-2); }
.tags li { padding: 4px 10px; background: var(--grid); border-radius: 4px; }
.history { max-height: 420px; overflow: auto; }
.history thead th { position: sticky; top: 0; background: var(--surface); }
.watchlist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.watch { display: grid; gap: 2px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; text-decoration: none; min-width: 0; }
.watch:hover { border-color: var(--axis); }
.watch span:first-child { color: var(--ink-2); }
.watch b { font-size: 17px; }
.buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.buy-box { display: grid; gap: 6px; align-content: space-between; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; text-decoration: none; }
.buy-box:hover { border-color: var(--line); }
.buy-box b { font-size: 14px; line-height: 1.3; }
.buy-box strong { font-size: 18px; }
.buy-box em { font-size: 13px; font-style: normal; color: var(--up); }
.buy-box span { font-size: 13px; color: var(--line); }
.news { display: grid; grid-template-columns: minmax(0, 1fr); }
.news-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grid); text-decoration: none; }
.news-item div { display: grid; gap: 4px; align-content: start; min-width: 0; }
.news-item img { flex: none; width: 104px; height: 70px; object-fit: cover; border-radius: 6px; background: var(--grid); }
.news-item b { font-size: 15px; line-height: 1.35; }
.news-item:hover b { text-decoration: underline; }
.news-item span { font-size: 13px; color: var(--ink-2); }
.faq h3 { margin: 18px 0 4px; font-size: 16px; }
.faq p { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--grid); color: var(--ink-2); font-size: 15px; }
.side { display: grid; gap: 18px; min-width: 0; }
.panel { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.panel h2 { margin: 0 0 8px; font-size: 16px; }
.panel p { margin: 0; font-size: 14px; color: var(--ink-2); }
.market { font-size: 14px; }
.market th, .market td { padding: 7px 4px; }
.market thead th { font-size: 12px; }
.market tbody th { white-space: normal; }
.market tbody th a { text-decoration: none; }
.market tr.current > * { background: var(--grid); }
.market .chg { white-space: nowrap; }
section.tables { padding: 44px 0 0; }
h2.section { margin: 0 0 12px; font-size: 22px; letter-spacing: -.01em; }
.scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 16px; text-align: right; white-space: nowrap; border-top: 1px solid var(--grid); }
thead th { border-top: 0; color: var(--ink-2); font-weight: 500; font-size: 13px; }
th:first-child { text-align: left; }
tbody th { font-weight: 600; }
tbody tr:first-child > * { border-top: 0; }
thead + tbody tr:first-child > * { border-top: 1px solid var(--grid); }
table.specs th { font-weight: 500; color: var(--ink-2); }
table.specs td { white-space: normal; }
.source { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); max-width: 760px; }
details { margin-top: 14px; }
summary { cursor: pointer; color: var(--ink-2); font-size: 14px; padding: 6px 0; }
details .scroll { margin-top: 8px; max-height: 420px; overflow: auto; }
.site-footer { margin-top: 56px; padding: 36px 0 28px; background: #16171a; color: #c3c2b7; font-size: 13px; }
.footer-columns { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 32px; }
.site-footer ul.two { columns: 2; column-gap: 24px; }
.site-footer p { margin: 0; }
.site-footer h2 { margin: 0 0 8px; font-size: 14px; color: #fff; }
.site-footer h2 a { text-decoration: none; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 2px 0; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom p { margin: 0 0 4px; }
@media (max-width: 960px) {
  .grid { --fill: var(--fill2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns { grid-template-columns: minmax(0, 1fr); }
  .facts { columns: 2; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .grid { --fill: 1; grid-template-columns: minmax(0, 1fr); }
  .intro { padding: 32px 0 22px; }
  .intro p { font-size: 16px; }
  .card-large .chart { height: 260px; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .topbar-row { gap: 8px 12px; }
  .currency { order: 1; margin-left: auto; }
  .search { order: 2; flex: 1 1 100%; min-width: 0; }
  .search input { max-width: none; }
  .mainnav { order: 3; flex: 1 1 100%; min-width: 0; margin: 0 -12px; overflow-x: auto; scrollbar-width: none; font-size: 14px; }
  .mainnav::-webkit-scrollbar, .subnav .wrap::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .search input { max-width: none; }
  .quote { display: grid; }
  .quote-ranges { flex: none; }
  .performance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .performance button { border-left: 0; border-top: 1px solid var(--grid); }
  .performance button:nth-child(-n+4) { border-top: 0; }
  .facts { columns: 1; }
  .watchlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  th, td { padding: 10px 12px; }
}
.footer-link { margin-top: 10px !important; }
.footer-link a { color: #fff; font-weight: 600; }
.prose { max-width: 720px; font-size: 16px; }
.prose h2 { margin: 26px 0 6px; font-size: 20px; letter-spacing: -.01em; }
.prose p { margin: 0 0 12px; color: var(--ink-2); }
.columns [data-panel].block { padding-top: 6px; }
.columns [data-panel] { min-height: 300px; }
.chart, .chart * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 14px; }
.video { display: grid; gap: 4px; align-content: start; text-decoration: none; min-width: 0; }
.video img { width: 100%; height: auto; border-radius: 8px; background: var(--grid); }
.video b { font-size: 14px; line-height: 1.3; }
.video:hover b { text-decoration: underline; }
.video span { font-size: 13px; color: var(--ink-2); }
.buy-box img { width: 100%; height: 110px; object-fit: contain; border-radius: 6px; background: #fff; }
.buy-box .amazon-mark { padding: 30px 22px; box-sizing: border-box; }
.site-footer h2 .brand-name { height: 22px; margin-left: -1px; }
.home { padding-top: 24px; }
.card-hero { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "title title" "head chart" "feed chart" "foot foot"; gap: 0 32px; margin-bottom: 14px; padding: 24px 26px 16px; border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 28px rgba(0,0,0,.06); }
.card .hero-title { grid-area: title; margin: 0 0 14px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.hero-title a { text-decoration: none; }
.hero-title a:hover { text-decoration: underline; }
.hero-head { grid-area: head; }
.card-hero .price { font-size: 36px; font-weight: 700; letter-spacing: -.02em; }
.card-hero .figures { margin: 0; }
.card-hero .delta { width: 100%; text-align: left; font-size: 14px; }
.hero-chart { grid-area: chart; min-width: 0; }
.hero-legend { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.hero-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.hero-legend b { color: var(--ink); }
.card-hero .chart { height: 400px; }
.hero-feed { grid-area: feed; display: flex; flex-direction: column; min-height: 0; margin-top: 16px; }
.feed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card .feed-head h3 { font-size: 13px; color: var(--ink-2); }
.feed-pause { padding: 2px 0; font: inherit; font-size: 12px; color: var(--ink-2); background: none; border: 0; text-decoration: underline; text-decoration-color: var(--axis); text-underline-offset: 3px; cursor: pointer; }
.feed-pause:hover { color: var(--ink); }
.feed { position: relative; flex: 1 1 0; min-height: 0; overflow-y: auto; -webkit-mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.feed.moving { overflow: hidden; }
.feed-track { position: absolute; inset: 0 0 auto; }
.feed.moving .feed-track { animation: feed-scroll var(--feed-time, 90s) linear infinite; will-change: transform; }
.feed:hover .feed-track, .feed:focus-within .feed-track, .feed.paused .feed-track { animation-play-state: paused; }
@keyframes feed-scroll { to { transform: translateY(-50%); } }
.feed-item { display: grid; gap: 3px; padding: 9px 0; text-decoration: none; }
.feed-item span { font-size: 12px; color: var(--ink-2); }
.feed-item b { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.feed-item:hover b { text-decoration: underline; }
.hero-foot { grid-area: foot; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { opacity: .5; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }
@media (prefers-reduced-motion: reduce) { .pulse { display: none; } }
@media (max-width: 860px) {
  .card-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "title" "head" "chart" "feed" "foot"; padding: 18px 16px 14px; }
  .hero-chart { margin-top: 12px; }
  .card-hero .chart { height: 300px; }
  .feed { flex: none; height: 250px; }
}
.chart text.inside { paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.chart text.expected { fill: var(--up); font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.outlook { margin-top: 12px; padding: 10px 12px; background: var(--plane); border: 1px solid var(--border); border-left: 3px solid var(--up); border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.outlook b { display: block; font-size: 15px; color: var(--up); }
.outlook p { margin: 2px 0 4px; line-height: 1.4; }
@media (max-width: 620px) { .card-large:not(.card-hero) { padding: 14px 10px 10px; } .card-hero { padding-left: 12px; padding-right: 12px; } .card-large .performance { margin: 10px 0 4px; } }
.outlook.warning { border-left-color: #c77700; }
.outlook.warning b { color: #a86400; }
@media (prefers-color-scheme: dark) { .outlook.warning b { color: #e0a040; } }
.quote ~ .outlook { background: var(--surface); }
.card { position: relative; }
.card-img { position: absolute; top: 12px; right: 14px; width: 60px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.card:has(.card-img) h3 { padding-right: 68px; min-height: 58px; }
.hero-title { display: flex; align-items: center; gap: 12px; }
.hero-img { width: 64px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; }
.quote-img { flex: none; width: 112px; height: 88px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.quote .quote-main { flex: 1; min-width: 0; }
.news-item img.stand-in, .feed-item img.stand-in { object-fit: contain; background: #fff; }
.feed-item { grid-template-columns: minmax(0, 1fr) 60px; column-gap: 10px; }
.feed-item span, .feed-item b { grid-column: 1; }
.feed-item img { grid-column: 2; grid-row: 1 / span 2; width: 60px; height: 44px; object-fit: cover; border-radius: 5px; background: var(--grid); align-self: center; }
.card-flag { position: absolute; top: 60px; right: 14px; margin: 0; font-size: 11px; line-height: 1.2; font-weight: 600; white-space: nowrap; color: #a86400; }
@media (prefers-color-scheme: dark) { .card-flag { color: #e0a040; } }
.search-open { display: none; }
@media (max-width: 620px) {
  .search-open { display: inline-flex; order: 1; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: auto; padding: 0; color: #fff; background: rgba(255,255,255,.12); border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
  .search-open[aria-expanded="true"] { background: rgba(255,255,255,.24); }
  .currency { margin-left: 0; }
  .search { display: none; }
  .search.open { display: flex; }
}
