:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --green: #8bcf46;
  --green-dark: #58a629;
  --green-soft: #eefbdc;
  --up: #4dad64;
  --down: #e35b59;
  --navy: #1e293b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
body.verification-open { overflow: hidden; }
.human-verification[hidden] { display: none; }
.human-verification {
  position: fixed;
  z-index: 30000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(45, 52, 64, .48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.human-verification-card {
  width: 100%;
  max-width: 320px;
  min-height: 116px;
  padding: 18px 22px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.24);
  color: #343434;
}
.human-verification-check {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #343434;
  text-align: left;
  cursor: pointer;
}
.human-verification-check strong { font-size: 18px; font-weight: 500; }
.human-verification-box {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 2px solid #777;
  border-radius: 2px;
  color: #56a92f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.human-verification-check.is-checking .human-verification-box {
  border-color: #79bd47;
  border-top-color: transparent;
  border-radius: 50%;
  animation: human-verification-spin .65s linear infinite;
}
.human-verification-check.is-verified .human-verification-box { border-color: #69b63d; }
.human-verification-divider { height: 1px; margin: 12px 0 9px; background: #e5e5e5; }
.human-verification-progress {
  height: 6px;
  margin: 10px 0 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f3;
  opacity: .72;
  transition: opacity .18s ease, transform .18s ease;
}
.human-verification-progress.is-active { opacity: 1; }
.human-verification-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8bcf46, #5eb536 55%, #a9dd67);
  box-shadow: 0 0 10px rgba(94,181,54,.42);
  transition: width .08s linear;
}
.human-verification-card p { margin: 0; color: #8a8a8a; text-align: center; font-size: 13px; line-height: 1.45; }
.human-verification-status { display: block; min-height: 17px; margin-top: 3px; color: #667085; text-align: center; font-size: 12px; }
.human-verification-check.is-checking { cursor: wait; }
.human-verification-progress.is-complete span { background: #62b63b; }
@keyframes human-verification-spin { to { transform: rotate(360deg); } }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.wide-row, .content-shell { width: calc(100% - 30px); max-width: 1600px; margin-left: auto; margin-right: auto; width: min(100% - 30px, 1600px); margin-inline: auto; }
.up { color: var(--up); font-style: normal; }
.down { color: var(--down); font-style: normal; }

.study-notice {
  height: 28px;
  display: grid;
  place-items: center;
  background: #fff4b5;
  color: #5d4a00;
  border-bottom: 1px solid #f1df7d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.announcement { height: 36px; color: white; background: var(--navy); }
.announcement .wide-row { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.announcement a { color: #79c443; font-weight: 700; }
.icon-button { border: 0; background: transparent; cursor: pointer; color: inherit; font-size: 20px; }
.market-strip { height: 54px; border-bottom: 1px solid var(--line); }
.market-strip-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.market-data { display: flex; align-items: center; gap: 20px; color: #586174; font-size: 13px; white-space: nowrap; }
.market-data strong { color: #394150; }
.account-actions { display: flex; align-items: center; gap: 8px; }
.square-button, .outline-button, .green-button {
  height: 36px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,23,42,.08);
}
.square-button { width: 40px; padding: 0; font-size: 17px; }
.green-button { color: #fff; background: #85c93f; border-color: #76b936; }
.use-app-link { display: inline-flex; align-items: center; justify-content: center; }
.main-nav { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 150px; }
.brand img { display: block; width: 146px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; min-width: 0; flex: 1; }
.nav-links a { font-weight: 650; font-size: 14px; color: #333b4a; white-space: nowrap; }
.nav-links a:hover { color: #65b32e; }
.nav-links i { display: inline-block; width: 8px; height: 8px; background: #73d134; border-radius: 50%; }
.split-link { display: flex; align-items: center; gap: 4px; line-height: 1.05; }
.search-trigger {
  border: 0;
  height: 40px;
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
}
.search-trigger kbd { margin-left: auto; background: #dce2ea; border-radius: 5px; padding: 2px 7px; font: inherit; }
.mobile-logo-row { display: none; }

main { border-top: 1px solid #f4f4f4; }
.ad-banner {
  width: calc(100% - 30px);
  max-width: 970px;
  width: min(calc(100% - 30px), 970px);
  height: 90px;
  margin: 12px auto 32px;
  border: 3px solid #ffd331;
  background: #301270;
  color: #fff326;
  position: relative;
  overflow: hidden;
  display: block;
}
.ad-banner::before, .ad-banner::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; opacity: .27; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 12px 12px; }
.ad-banner > .close-ad { position: absolute; z-index: 4; left: 4px; top: 3px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #aab1c0; color: white; cursor: pointer; }
.ad-rotator { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; inset: 0; }
.ad-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 34px;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity .42s ease, transform .42s ease;
}
.ad-link.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.ad-theme-bitstarz { background: radial-gradient(circle at 76% 27%, #ffd43b 0 3%, transparent 3.2%), linear-gradient(110deg, #301270 0%, #6e1da3 48%, #35257b 100%); }
.ad-theme-app { background: radial-gradient(circle at 79% 18%, rgba(255,255,255,.24) 0 9%, transparent 9.2%), linear-gradient(110deg, #103d2c, #20874e 54%, #6dbf3c); }
.ad-theme-api { background: radial-gradient(circle at 80% 23%, rgba(255,255,255,.14) 0 8%, transparent 8.2%), linear-gradient(110deg, #101d3d, #244aa2 52%, #3b79d0); }
.ad-logo { z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 18px; background: #2b196d; color: #66ff74; font-size: 52px; font-weight: 900; font-style: italic; }
.ad-logo-image { padding: 10px; background: #fff; }
.ad-logo-image img { width: 100%; height: 100%; }
.ad-logo-api { background: rgba(3,12,36,.45); color: #d8ecff; font-size: 26px; font-style: normal; letter-spacing: -.03em; }
.ad-copy { z-index: 1; display: flex; flex-direction: column; font-weight: 1000; font-style: italic; line-height: .85; letter-spacing: .02em; text-shadow: 4px 4px 0 #932e8f; }
.ad-copy strong { font-size: 41px; }
.ad-copy span { font-size: 33px; color: #fff; }
.ad-theme-app .ad-copy, .ad-theme-api .ad-copy { text-shadow: 3px 3px 0 rgba(3,12,36,.32); }
.ad-theme-app .ad-copy strong, .ad-theme-api .ad-copy strong { color: #fff; font-size: 35px; }
.ad-theme-app .ad-copy span { color: #d8ffd0; font-size: 26px; }
.ad-theme-api .ad-copy span { color: #d8ecff; font-size: 26px; }
.ad-rocket { z-index: 1; font-size: 70px; margin-left: auto; transform: rotate(-42deg); }
.ad-theme-app .ad-rocket, .ad-theme-api .ad-rocket { transform: none; font-size: 58px; }
.ad-cta { z-index: 1; border-radius: 30px; background: #ffde42; color: #241832; font-size: 20px; font-weight: 1000; padding: 10px 25px; transform: rotate(-3deg); }
.ad-theme-app .ad-cta, .ad-theme-api .ad-cta { transform: none; background: #fff; color: #173b2a; }
.ad-theme-api .ad-cta { color: #183770; }
.ad-indicators { position: absolute; z-index: 4; left: 50%; bottom: 4px; display: flex; gap: 5px; transform: translateX(-50%); }
.ad-indicators button { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.52); cursor: pointer; transition: width .2s ease, background .2s ease; }
.ad-indicators button.is-active { width: 15px; border-radius: 999px; background: #fff; }

.homepage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 286px; align-items: start; }
.homepage-grid.content-shell { width: 100%; max-width: none; margin-left: 0; margin-right: 0; padding-left: 15px; }
.homepage-main { min-width: 0; padding-right: 16px; }
.hero-section { padding-top: 0; }
.hero-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 34px; }
h1 { margin: 0 0 2px; font-size: 25px; line-height: 1.3; letter-spacing: -.02em; }
.hero-heading-row p { margin: 0; color: #6b7280; font-size: 15px; }
.hero-heading-row p a { color: #374151; font-weight: 650; text-decoration: underline; }
.highlight-toggle { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.highlight-toggle input { position: absolute; opacity: 0; }
.highlight-toggle span { width: 49px; height: 22px; background: var(--green); border-radius: 20px; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.highlight-toggle span::after { content: "✓"; position: absolute; right: -1px; top: -2px; width: 24px; height: 24px; display: grid; place-items: center; background: white; color: var(--green-dark); border: 2px solid var(--green); border-radius: 8px; font-weight: 900; }
.highlight-toggle input:not(:checked) + span { background: #cbd5e1; }
.highlight-toggle input:not(:checked) + span::after { transform: translateX(-25px); color: #94a3b8; border-color: #cbd5e1; }

.highlights-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 34px; }
.highlight-card { min-width: 0; height: 290px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.08); overflow: hidden; }
.market-card-head { height: 76px; padding: 18px 16px 10px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: flex-start; gap: 12px; }
.market-card-head div { display: flex; flex-direction: column; gap: 7px; }
.market-card-head strong { font-size: 16px; white-space: nowrap; }
.market-card-head strong span { font-size: 13px; }
.market-card-head small { color: #667085; font-weight: 650; }
.market-card-head a { margin-left: auto; font-weight: 600; white-space: nowrap; }
.market-chart { height: calc(100% - 76px); position: relative; border-top: 1px solid #f0f1f2; overflow: hidden; }
.market-chart svg { position: absolute; left: 20px; right: 54px; top: 4px; width: calc(100% - 74px); height: 150px; }
.market-chart .area { fill: url(#marketFill); }
.market-chart .line { fill: none; stroke: #4fae66; stroke-width: 2; }
.market-card.market-down .market-chart .line { stroke: #ed5b52; }
.chart-grid { position: absolute; top: 10px; right: 54px; bottom: 45px; left: 20px; inset: 10px 54px 45px 20px; background: repeating-linear-gradient(to bottom, transparent 0 31px, #edf0f2 32px 33px); }
.chart-y { position: absolute; right: 12px; top: 8px; height: 150px; display: flex; flex-direction: column; justify-content: space-between; color: #667085; font-size: 12px; }
.chart-x { position: absolute; left: 28px; right: 66px; bottom: 10px; display: flex; justify-content: space-between; color: #667085; font-size: 12px; }
.chart-watermark { position: absolute; right: 72px; bottom: 32px; display: flex; align-items: center; gap: 4px; color: #8d949e; font-weight: 700; }
.chart-watermark img { width: 22px; height: 22px; }
.card-title-row { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 8px; }
.card-title-row > a, .card-title-row > strong { font-size: 17px; font-weight: 750; }
.segmented { display: flex; background: #f5f6f8; border-radius: 10px; padding: 2px; }
.segmented button { border: 0; background: transparent; border-radius: 8px; padding: 6px 12px; color: #5e6675; font-weight: 650; cursor: pointer; }
.segmented button.active { background: white; color: #222b3a; box-shadow: 0 1px 4px rgba(15,23,42,.18); }
.mini-list { padding: 0 16px 10px; }
.mini-row { height: 42px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; }
.mini-row img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.mini-row strong { font-size: 14px; }
.mini-row .mini-price { display: flex; gap: 6px; align-items: baseline; font-weight: 650; }
.mini-row .up { color: var(--up); }
.mobile-only-card { display: none; }

.desktop-insights {
  min-height: 720px;
  padding: 11px 15px 28px;
  border-left: 1px solid var(--line);
  background: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}
.insights-header { height: 25px; display: flex; align-items: center; gap: 12px; }
.insights-header strong { font-size: 16px; }
.insights-header > a { color: #64748b; }
.insights-header button { margin-left: auto; border: 0; background: transparent; color: #64748b; cursor: pointer; font-size: 16px; }
.insights-header button + button { margin-left: 2px; }
.insights-header button:last-child { color: #65c82f; }
.insights-label-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #64748b; font-size: 12px; }
.insights-label-row > span, .insights-latest-title > span { height: 1px; flex: 1; background: #edf0f3; }
.insights-label-row button { flex: 0 0 24px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #f3f5f7; color: #475569; cursor: pointer; font-size: 20px; line-height: 20px; }
.insight-story h2 { margin: 14px 0 8px; font-size: 15px; line-height: 1.35; }
.insight-story p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.45; }
.insight-story-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: #94a3b8; font-size: 12px; }
.insight-story-meta span { color: #dfe3e8; letter-spacing: 3px; }
.insight-story-meta span::first-letter { color: #6fce42; }
.full-insights-link { height: 34px; margin-top: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid #cfd6df; border-radius: 7px; box-shadow: 0 2px 0 #d7dde5; font-weight: 750; }
.insights-latest-title { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: #64748b; font-size: 12px; }
.insights-today { margin-top: 12px; color: #64748b; font-size: 12px; }
.insights-news-list { margin-top: 10px; border-left: 1px solid #e5e7eb; }
.insights-news-list a { position: relative; display: block; padding: 0 0 18px 18px; }
.insights-news-list a::before { content: ""; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #dbe2ea; }
.insights-news-list time { display: block; margin-bottom: 9px; color: #64748b; font-size: 11px; }
.insights-news-list strong { display: block; font-size: 13px; line-height: 1.45; }

.market-section { padding-bottom: 36px; }
.market-tabs-row { min-height: 46px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.market-tabs { display: flex; gap: 12px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.market-tabs::-webkit-scrollbar { display: none; }
.market-tabs button, .market-tabs a, .table-actions button { border: 0; background: transparent; padding: 8px 10px; color: #677084; white-space: nowrap; font-weight: 650; cursor: pointer; border-radius: 8px; }
.market-tabs button.active, .market-tabs a.active { color: #62a934; background: var(--green-soft); }
.table-actions { display: flex; gap: 8px; }
.table-actions button { color: #1f2937; background: #f4f6f9; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.table-scroll { overflow-x: auto; }
.coin-table { width: 100%; border-collapse: collapse; min-width: 1000px; }
.coin-table th { height: 43px; font-size: 12px; text-align: right; color: #1f2937; white-space: nowrap; }
.coin-table th:nth-child(1), .coin-table th:nth-child(2), .coin-table th:nth-child(3), .coin-table th:nth-child(4) { text-align: left; }
.coin-table th:first-child { width: 36px; }
.coin-table th:nth-child(2) { width: 48px; }
.coin-table th:nth-child(3) { min-width: 250px; }
.coin-table td { height: 70px; padding: 0 8px; border-top: 1px solid #eceff2; text-align: right; white-space: nowrap; font-weight: 520; }
.coin-table td:nth-child(1), .coin-table td:nth-child(2), .coin-table td:nth-child(3), .coin-table td:nth-child(4) { text-align: left; }
.favorite { border: 0; background: transparent; font-size: 21px; cursor: pointer; padding: 0; }
.favorite.active { color: #efb70f; }
.coin-cell { display: flex; align-items: center; gap: 9px; }
.coin-cell img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.coin-cell strong { font-size: 14px; }
.coin-cell span { color: #6b7280; margin-left: 4px; font-size: 12px; }
.buy { border: 1px solid #84c94b; color: #68b02e; background: white; border-radius: 6px; padding: 1px 11px; }
.percent.up { color: var(--up); }
.percent.down { color: var(--down); }
.sparkline { width: 138px; height: 42px; }
.sparkline path { fill: none; stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.sparkline.up path { stroke: #4cad65; }
.sparkline.down path { stroke: #e45d5b; }
.table-footer-row { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; color: #667085; }
.table-footer-row > label { justify-self: end; }
.pagination { display: flex; align-items: center; gap: 4px; }
.pagination button, .table-footer-row label button, .rows-select { border: 0; background: transparent; border-radius: 8px; height: 36px; min-width: 36px; cursor: pointer; }
.pagination button.active { color: #64a932; background: var(--green-soft); font-weight: 800; }
.table-footer-row label button, .rows-select { background: #f4f6f8; margin-left: 6px; padding: 0 10px; }
.faq-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-strip summary { cursor: pointer; color: #5f6877; }
.faq-strip summary::marker { display: none; }
.faq-strip u { margin-left: 5px; font-weight: 700; color: #344054; }
.faq-strip p { max-width: 760px; color: #667085; }

.news-section { padding: 30px 0 48px; }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; }
.section-heading-row h2 { margin: 0 0 20px; font-size: 24px; }
.section-heading-row button { border: 1px solid #d7dce3; background: white; border-radius: 8px; padding: 8px 15px; font-weight: 650; }
.news-grid, .article-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.news-card, .article-grid article, .article-grid > a { min-width: 0; }
.news-image { height: 155px; border-radius: 10px; background-size: cover; background-position: center; }
.news-image.capitol { background: linear-gradient(150deg, transparent 0 35%, rgba(255,255,255,.24)), linear-gradient(#76a0d4 0 38%, #e8e9eb 39% 53%, #746b5f 54% 100%); position: relative; }
.news-image.capitol::after { content: "🏛️"; position: absolute; top: 24px; right: 0; bottom: 0; left: 0; inset: 24px 0 0; text-align: center; font-size: 102px; filter: grayscale(.3); }
.news-image.ai { background: radial-gradient(circle at 70% 30%, #b7f5f1, transparent 25%), linear-gradient(135deg, #14213d, #6b21a8 52%, #2dd4bf); }
.news-image.ai::after { content: "AI"; display: grid; place-items: center; height: 100%; font-size: 74px; font-weight: 900; color: rgba(255,255,255,.82); }
.news-image.hong-kong { background: linear-gradient(145deg, #ff6b5b, #f5b33c 48%, #225ca8); }
.news-image.hong-kong::after { content: "AI × BANKING"; display: grid; place-items: center; height: 100%; color: white; font-size: 25px; font-weight: 900; }
.news-image.bitcoin { background: radial-gradient(circle, #ffbe2f 0 24%, transparent 25%), linear-gradient(135deg,#161d35,#4c1d95); }
.news-image.bitcoin::after { content: "₿"; display: grid; place-items: center; height: 100%; color: #fff; font-size: 82px; font-weight: 800; }
.news-card h3 { font-size: 17px; line-height: 1.35; margin: 12px 0; min-height: 46px; }
.news-card > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #6b7280; font-size: 12px; }
.token-chip { border-radius: 6px; background: #f1f5f9; padding: 5px 8px; color: #394150; font-weight: 650; }
.token-chip b { color: var(--up); }
.articles-heading { margin-top: 42px; }
.article-grid article { height: 100%; border: 1px solid #e7e9ed; border-radius: 10px; overflow: hidden; padding-bottom: 14px; }
.article-art { height: 135px; display: grid; place-items: center; color: white; font-size: 70px; font-weight: 900; }
.wallet-art { background: linear-gradient(135deg,#3db84d,#d9f569); }
.sol-art { background: linear-gradient(135deg,#15152b,#9b5cff,#43f1c4); }
.pulse-art { background: linear-gradient(135deg,#f4cf3b,#59b145); }
.wlfi-art { background: linear-gradient(135deg,#1e293b,#f59e0b); }
.article-grid p, .article-grid h3, .article-grid span { margin-left: 14px; margin-right: 14px; }
.article-grid p { margin-bottom: 4px; color: #6aaf36; font-size: 12px; font-weight: 700; }
.article-grid h3 { margin-top: 0; margin-bottom: 12px; font-size: 16px; }
.article-grid span { color: #6b7280; font-size: 12px; }

footer { border-top: 1px solid var(--line); background: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 3fr; gap: 58px; padding-top: 42px; }
.footer-about img { width: 146px; }
.footer-about p { color: #596273; line-height: 1.65; }
.footer-link-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.footer-link-groups details > summary { list-style: none; font-weight: 750; font-size: 15px; margin-bottom: 16px; pointer-events: none; }
.footer-link-groups details > summary::-webkit-details-marker { display: none; }
.footer-link-groups a { display: block; color: #5d6676; margin: 9px 0; }
.footer-link-groups a:hover { color: #5ea82e; }
.newsletter { display: grid; grid-template-columns: 1fr 520px; gap: 40px; align-items: end; padding: 32px 0; border-top: 1px solid var(--line); margin-top: 32px; }
.newsletter strong { font-size: 16px; }
.newsletter p { margin: 8px 0 0; color: #657082; }
.newsletter form { display: grid; grid-template-columns: 1fr 130px; gap: 10px; }
.newsletter-field { min-width: 0; }
.newsletter input { width: 100%; height: 44px; border: 1px solid #d8dde4; border-radius: 8px; padding: 0 14px; outline: none; }
.newsletter input:focus { border-color: #2f68c8; box-shadow: 0 0 0 2px rgba(47,104,200,.12); }
.newsletter input[aria-invalid="true"] { border-color: #dc4c4c; }
.newsletter-error { display: block; min-height: 0; margin-top: 5px; color: #dc4c4c; font-size: 12px; font-weight: 650; }
.newsletter-error:empty { display: none; }
.newsletter button { height: 44px; border: 0; border-radius: 8px; background: #8bcf46; color: white; font-weight: 750; cursor: pointer; }
.newsletter button:disabled { background: #b6e495; cursor: not-allowed; }
.copyright-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 25px 0; color: #657082; }
.copyright-row img { height: 40px; margin-left: 8px; }
.copyright-row a { display: inline-flex; }
.disclaimer { margin-top: 0; margin-bottom: 0; padding: 0 0 45px; color: #667085; line-height: 1.55; }
.disclaimer strong { color: #465162; }
.mobile-bottom-nav { display: none; }
.back-to-top { position: fixed; z-index: 10; right: 18px; bottom: 70px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #f1f5f9; box-shadow: 0 1px 4px rgba(15,23,42,.08); font-size: 19px; }

.search-dialog { width: calc(100% - 28px); max-width: 580px; width: min(580px, calc(100% - 28px)); padding: 18px; border: 0; border-radius: 14px; box-shadow: 0 18px 60px rgba(15,23,42,.28); }
.search-dialog::backdrop { background: rgba(15,23,42,.46); }
.search-dialog > form { text-align: right; }
.search-dialog > form button { border: 0; background: transparent; font-size: 22px; }
.search-dialog > label { display: flex; align-items: center; gap: 10px; height: 52px; border: 1px solid #cfd6df; border-radius: 10px; padding: 0 14px; }
.search-dialog input { border: 0; outline: 0; width: 100%; font-size: 17px; }
.search-dialog > div { display: grid; gap: 9px; margin-top: 18px; }
.search-dialog > div a { display: flex; justify-content: space-between; padding: 10px; border-radius: 8px; background: #f8fafc; }
.search-dialog > div span { color: #64748b; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 80px); opacity: 0; pointer-events: none; background: #172033; color: white; border-radius: 10px; padding: 11px 16px; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.newsletter-toaster { position: fixed; z-index: 20000; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 16px; padding: 24px; pointer-events: none; }
.newsletter-result { width: 100%; max-width: 384px; padding: 16px; overflow: hidden; border-radius: 8px; background: white; color: #344054; box-shadow: 0 10px 30px rgba(15,23,42,.18), 0 0 0 1px #e5e7eb; opacity: 0; transform: translateY(-20px); transition: opacity .3s ease-out, transform .3s ease-out; pointer-events: auto; }
.newsletter-result.show { opacity: 1; transform: translateY(0); }
.newsletter-result.leave { opacity: 0; transform: translateY(-100%); transition-duration: .2s; }
.newsletter-result-inner { display: flex; justify-content: space-between; gap: 8px; }
.newsletter-result-icon { flex: 0 0 20px; margin-top: 1px; color: #4dad64; font-size: 18px; font-weight: 800; line-height: 20px; }
.newsletter-result-message { flex: 1; font-size: 14px; font-weight: 650; line-height: 20px; }
.newsletter-result-close { flex: 0 0 24px; border: 0; background: transparent; color: #667085; cursor: pointer; font-size: 20px; line-height: 20px; }

.compact-market .coin-table td { height: 52px; }
.coin-table.hide-col-price th:nth-child(5), .coin-table.hide-col-price td:nth-child(5),
.coin-table.hide-col-change th:nth-child(6), .coin-table.hide-col-change td:nth-child(6),
.coin-table.hide-col-change th:nth-child(7), .coin-table.hide-col-change td:nth-child(7),
.coin-table.hide-col-change th:nth-child(8), .coin-table.hide-col-change td:nth-child(8),
.coin-table.hide-col-volume th:nth-child(9), .coin-table.hide-col-volume td:nth-child(9),
.coin-table.hide-col-cap th:nth-child(10), .coin-table.hide-col-cap td:nth-child(10),
.coin-table.hide-col-chart th:nth-child(11), .coin-table.hide-col-chart td:nth-child(11) { display: none; }

.action-dialog {
  width: calc(100% - 30px);
  max-width: 520px;
  width: min(520px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  max-height: min(760px, calc(100dvh - 30px));
  padding: 0;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(15,23,42,.3);
  overflow: auto;
}
.action-dialog::backdrop { background: rgba(15,23,42,.52); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dialog-close-row { position: -webkit-sticky; position: sticky; z-index: 2; top: 0; height: 0; text-align: right; }
.dialog-close-row button { margin: 12px 12px 0 0; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; color: #475569; font-size: 21px; cursor: pointer; }
.action-dialog-content { padding: 34px; }
.action-dialog-content h2 { margin: 5px 42px 8px 0; font-size: 25px; }
.action-dialog-content > p { margin: 0 0 20px; color: #64748b; line-height: 1.55; }
.dialog-kicker, .eyebrow { color: #65a934; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.dialog-form { display: grid; gap: 15px; }
.dialog-form label { display: grid; gap: 6px; color: #475569; font-weight: 700; }
.dialog-form input, .dialog-form select, .info-copy input, .info-copy textarea {
  width: 100%; min-height: 44px; border: 1px solid #d6dce4; border-radius: 9px; background: white; padding: 9px 12px; outline: 0;
}
.dialog-form input:focus, .dialog-form select:focus, .info-copy input:focus, .info-copy textarea:focus { border-color: #6fba37; box-shadow: 0 0 0 3px rgba(111,186,55,.13); }
.dialog-form button, .action-dialog-content > button, .trade-options button, .info-copy button, .chat-form button, .empty-state button {
  min-height: 44px; border: 0; border-radius: 9px; background: #8bcf46; color: white; font-weight: 800; padding: 0 16px; cursor: pointer;
}
.dialog-form .check-row, .check-list label { display: flex; grid-template-columns: none; align-items: center; gap: 10px; min-height: 38px; }
.dialog-form .check-row input, .check-list input { width: 18px; min-height: 18px; height: 18px; }
.dialog-menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.dialog-menu a { display: flex; align-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; font-weight: 700; }
.dialog-menu a:hover { border-color: #8bcf46; background: var(--green-soft); }
.app-dialog-visual { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; background: #f7dd61; }
.app-dialog-visual img { width: 58px; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store-links img { height: 44px; }
.trade-options { display: grid; gap: 10px; }
.trade-options button:nth-child(2) { background: white; color: #334155; border: 1px solid #cbd5e1; }
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 18px; }
.pricing-grid article { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.pricing-grid strong { font-size: 26px; }
.pricing-grid span { color: #64748b; font-size: 12px; }

.route-main { min-height: 60vh; padding-bottom: 48px; background: #fff; }
.subpage-shell, .coin-page, .story-page { padding-top: 22px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #64748b; font-size: 13px; margin-bottom: 28px; }
.breadcrumbs a { color: #3d4758; font-weight: 700; }
.subpage-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.subpage-hero h1 { margin: 6px 0 8px; font-size: 42px; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.subpage-hero p { max-width: 720px; margin: 0; color: #64748b; font-size: 17px; line-height: 1.55; }
.subpage-hero > button, .panel-heading > button {
  min-width: 92px; min-height: 40px; border: 1px solid #d6dce4; border-radius: 9px; background: white; font-weight: 750; cursor: pointer;
}
.subpage-stat-grid, .portfolio-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.subpage-stat { min-width: 0; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 13px; padding: 18px; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.subpage-stat > span { color: #64748b; font-weight: 700; }
.subpage-stat strong { font-size: 23px; }
.subpage-stat small { color: #64748b; }
.subpage-panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 1px 4px rgba(15,23,42,.06); }
.chart-panel, .data-panel { margin-bottom: 18px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-heading span { color: #64748b; font-size: 12px; }
.panel-heading h2 { margin: 4px 0 0; font-size: 19px; }
.timeframe-group { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 9px; background: #f1f5f9; }
.timeframe-group button { min-width: 44px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: #64748b; font-weight: 750; cursor: pointer; }
.timeframe-group button.active { background: white; color: #253045; box-shadow: 0 1px 3px rgba(15,23,42,.14); }
.large-chart { height: 330px; position: relative; overflow: hidden; padding: 18px; }
.large-chart-grid { position: absolute; top: 28px; right: 22px; bottom: 28px; left: 22px; inset: 28px 22px; background: repeating-linear-gradient(to bottom, transparent 0 60px, #edf0f3 61px 62px); }
.large-chart svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.large-chart .chart-area { fill: url(#subFill); }
.large-chart .chart-line { fill: none; stroke: #72be3a; stroke-width: 3; vector-effect: non-scaling-stroke; }
.large-chart[data-range="7D"] .chart-line { stroke: #3b82f6; }
.large-chart[data-range="1M"] .chart-line { stroke: #8b5cf6; }
.large-chart[data-range="1Y"] .chart-line { stroke: #f59e0b; }
.subpage-table-scroll { overflow-x: auto; }
.subpage-table { width: 100%; min-width: 660px; border-collapse: collapse; }
.subpage-table th, .subpage-table td { height: 60px; padding: 0 18px; border-bottom: 1px solid #edf0f3; text-align: right; white-space: nowrap; }
.subpage-table th:first-child, .subpage-table td:first-child { text-align: left; }
.subpage-table th { color: #64748b; font-size: 12px; }
.subpage-table td:first-child a:hover { color: #5aa529; }

.editorial-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.editorial-card { min-width: 0; display: block; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; padding-bottom: 18px; }
.editorial-card > span, .editorial-card h2, .editorial-card p, .editorial-card b { margin-left: 16px; margin-right: 16px; }
.editorial-card > span { display: block; margin-top: 16px; color: #5aa529; font-size: 11px; font-weight: 800; }
.editorial-card h2 { margin-top: 6px; margin-bottom: 8px; font-size: 18px; }
.editorial-card p { min-height: 58px; color: #64748b; }
.editorial-card b { color: #4f9426; }
.editorial-art { height: 160px; display: grid; place-items: center; color: white; font-size: 62px; font-weight: 900; }
.editorial-art-1 { background: linear-gradient(135deg,#13203d,#7c3aed); }
.editorial-art-2 { background: linear-gradient(135deg,#16a34a,#bef264); }
.editorial-art-3 { background: linear-gradient(135deg,#0e7490,#67e8f9); }
.editorial-art-4 { background: linear-gradient(135deg,#c2410c,#fbbf24); }

.api-layout, .product-grid, .info-layout, .coin-lower-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.api-copy, .product-copy, .info-copy, .converter, .ask-card { padding: 28px; }
.api-copy h2, .product-copy h2 { margin: 8px 0 12px; font-size: 31px; }
.api-copy p, .product-copy p, .info-copy p { color: #64748b; line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.button-row button, .primary-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: #8bcf46; color: white; padding: 0 16px; font-weight: 800; cursor: pointer; }
.button-row .secondary { color: #334155; background: white; border: 1px solid #cbd5e1; }
.code-panel { overflow: hidden; color: #e2e8f0; background: #111827; }
.code-panel > div { height: 54px; display: flex; align-items: center; gap: 7px; padding: 0 18px; background: #1f2937; }
.code-panel i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.code-panel i:nth-child(2) { background: #fbbf24; }
.code-panel i:nth-child(3) { background: #4ade80; }
.code-panel span { margin-left: 8px; font-family: ui-monospace, monospace; font-size: 12px; }
.code-panel pre { margin: 0; padding: 28px; overflow: auto; font-size: 14px; line-height: 1.7; }
.product-grid { align-items: stretch; }
.product-visual { min-height: 360px; display: grid; place-items: center; border-radius: 18px; color: white; background: radial-gradient(circle at 70% 20%, #bef264, transparent 30%), linear-gradient(135deg,#243048,#69b332); font-size: 120px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.info-layout { grid-template-columns: 220px 1fr; }
.info-nav { display: grid; align-content: start; gap: 6px; }
.info-nav a { border-radius: 8px; padding: 12px; color: #475569; font-weight: 700; }
.info-nav a:hover { background: var(--green-soft); color: #579b2e; }
.info-copy { max-width: 860px; }
.info-copy h2 { margin-top: 0; font-size: 30px; }
.info-copy form { display: grid; gap: 15px; margin-top: 24px; }
.info-copy label { display: grid; gap: 7px; font-weight: 750; }
.info-copy textarea { min-height: 130px; resize: vertical; }

.chat-shell { max-width: 880px; margin: 0 auto; padding: 26px; }
.chat-message { max-width: 78%; display: flex; gap: 10px; margin-bottom: 14px; }
.chat-message span { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); }
.chat-message p { margin: 0; border-radius: 12px; background: #f1f5f9; padding: 12px 14px; line-height: 1.6; }
.chat-message.user { margin-left: auto; justify-content: flex-end; }
.chat-message.user p { color: white; background: #67ad38; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 26px; }
.chat-form input { min-width: 0; height: 50px; border: 1px solid #cfd7e2; border-radius: 10px; padding: 0 15px; font-size: 15px; }
.prompt-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.prompt-chips button { border: 1px solid #d7dde5; border-radius: 999px; background: white; padding: 7px 11px; color: #526075; cursor: pointer; }
.empty-state { text-align: center; padding: 52px 24px; }
.empty-state > div { font-size: 55px; color: #efb70f; }
.empty-state p { color: #64748b; }

.coin-detail-grid { display: grid; grid-template-columns: minmax(300px,.75fr) minmax(0,1.5fr); gap: 18px; align-items: start; }
.coin-summary { padding: 10px 12px 24px 0; }
.coin-title { display: flex; align-items: center; gap: 9px; }
.coin-title img { width: 30px; height: 30px; border-radius: 50%; }
.coin-title h1 { flex: 1; margin: 0; font-size: 20px; }
.coin-title h1 span { color: #64748b; font-size: 14px; font-weight: 550; }
.coin-title > b { border-radius: 6px; background: #f1f5f9; padding: 4px 7px; color: #64748b; }
.coin-price { margin-top: 20px; font-size: 40px; font-size: clamp(30px,4vw,46px); font-weight: 850; letter-spacing: -.035em; }
.coin-price span { font-size: 15px; letter-spacing: 0; }
.range-bar { height: 7px; margin-top: 26px; border-radius: 8px; background: #edf0f4; overflow: hidden; }
.range-bar i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg,#85cb42,#f2cc52); }
.range-labels { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; }
.range-labels span { color: #64748b; }
.coin-action-row { display: grid; grid-template-columns: 1fr 46px; gap: 8px; margin-top: 18px; }
.coin-action-row button { min-height: 44px; border: 1px solid #cfd7e2; border-radius: 8px; background: white; font-weight: 750; cursor: pointer; }
.coin-action-row button.active { color: #9c7900; background: #fff9d8; border-color: #f1cf58; }
.coin-stats { margin: 20px 0 0; }
.coin-stats div { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.coin-stats dt { color: #64748b; }
.coin-stats dd { margin: 0; font-weight: 800; text-align: right; }
.route-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.route-tabs button { flex: 0 0 auto; min-height: 48px; border: 0; border-bottom: 2px solid transparent; background: white; padding: 0 16px; color: #64748b; font-weight: 750; cursor: pointer; }
.route-tabs button.active { color: #243048; border-color: #78bf3f; }
.coin-chart-column .chart-panel { border-top: 0; border-radius: 0 0 14px 14px; }
.coin-lower-grid { margin-top: 18px; }
.converter h2, .ask-card h2 { margin-top: 0; }
.converter label { display: grid; grid-template-columns: 1fr 70px; align-items: center; border: 1px solid #d7dde5; border-radius: 9px; margin-top: 10px; overflow: hidden; }
.converter input { min-width: 0; height: 48px; border: 0; padding: 0 13px; font-size: 17px; outline: 0; }
.converter label span { text-align: center; color: #64748b; font-weight: 800; }
.ask-card p { color: #64748b; }
.ask-card button { width: 100%; min-height: 40px; margin-top: 8px; border: 1px solid #d7dde5; border-radius: 8px; background: white; text-align: left; padding: 0 12px; cursor: pointer; }

.story-hero { max-width: 940px; margin: 20px auto 34px; text-align: center; }
.story-hero > span { color: #5ca82c; font-weight: 850; letter-spacing: .1em; }
.story-hero h1 { margin: 10px 0 12px; font-size: 48px; font-size: clamp(34px,5vw,60px); line-height: 1.08; }
.story-hero p { color: #64748b; }
.story-layout { display: grid; grid-template-columns: minmax(0,760px) 220px; justify-content: center; gap: 44px; }
.story-body { font-size: 17px; line-height: 1.8; }
.story-cover { height: 360px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 16px; color: rgba(255,255,255,.9); background: linear-gradient(135deg,#1e293b,#7c3aed 55%,#8bcf46); font-size: 70px; font-weight: 900; letter-spacing: .08em; }
.story-body h2 { margin-top: 34px; font-size: 28px; }
.story-body blockquote { margin: 28px 0; border-left: 4px solid #84ca45; background: #f5fce9; padding: 18px 22px; color: #475569; }
.story-layout aside { position: -webkit-sticky; position: sticky; top: 18px; align-self: start; display: grid; gap: 8px; border-left: 1px solid var(--line); padding-left: 22px; }

dialog:not([open]) { display: none; }
body.dialog-fallback-open { overflow: hidden; }
body.dialog-fallback-open::before { content: ""; position: fixed; z-index: 19000; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15,23,42,.52); }
dialog.dialog-fallback[open] { display: block; position: fixed; z-index: 19001; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }

@supports not (aspect-ratio: 1 / 1) {
  .market-data > * + *, .account-actions > * + *, .main-nav > * + *, .nav-links > * + *, .split-link > * + *, .ad-link > * + *, .hero-heading-row > * + *, .highlight-toggle > * + *, .market-card-head > * + *, .chart-watermark > * + *, .card-title-row > * + *, .market-tabs > * + *, .table-actions > * + *, .coin-cell > * + *, .pagination > * + *, .newsletter-result-inner > * + *, .breadcrumbs > * + *, .subpage-hero > * + *, .panel-heading > * + *, .timeframe-group > * + *, .button-row > * + *, .store-links > * + *, .chat-message > * + *, .prompt-chips > * + *, .coin-title > * + *, .route-tabs > * + * { margin-left: 8px; }
  .market-card-head div > * + *, .store-links > * + * { margin-top: 8px; }
  .market-strip-inner > * + *, .search-trigger > * + *, .market-tabs-row > * + *, .mini-row .mini-price > * + *, .search-dialog > label > * + *, .search-dialog > div a > * + *, .dialog-form .check-row > * + *, .code-panel > div > * + *, .coin-stats div > * + *, .range-labels > * + *, .insight-meta > * + *, .mobile-logo-row > * + * { margin-left: 8px; }
  .news-card > div:last-child > * + *, .mobile-bottom-nav a > * + *, .mobile-bottom-nav button > * + * { margin-top: 4px; }
}
.story-layout aside a { color: #64748b; padding: 4px 0; }
.story-layout aside button { min-height: 38px; margin-top: 10px; border: 0; border-radius: 8px; background: #8bcf46; color: white; font-weight: 750; }

@media (max-width: 1320px) {
  .market-data { min-width: 0; gap: 14px; overflow: hidden; }
  .market-data span:nth-child(1), .market-data span:nth-child(6) { display: none; }
  .main-nav { gap: 16px; }
  .brand { flex-basis: 145px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .search-trigger { min-width: 180px; }
}

@media (max-width: 1180px) {
  .homepage-grid { display: block; }
  .homepage-grid.content-shell { width: calc(100% - 30px); max-width: 1600px; margin-left: auto; margin-right: auto; padding-left: 0; }
  .homepage-main { padding-right: 0; }
  .desktop-insights { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(7), .nav-links a:nth-child(8), .nav-links a:nth-child(10), .nav-links a:nth-child(11) { display: none; }
  .search-trigger { min-width: 170px; }
  .market-data span:nth-child(1), .market-data span:nth-child(2), .market-data span:nth-child(6) { display: none; }
  .editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  body { padding-bottom: 62px; font-size: 13px; overflow-x: hidden; }
  .site-header { display: flex; flex-direction: column; }
  .wide-row, .content-shell { width: calc(100% - 30px); }
  .study-notice { height: 24px; font-size: 11px; }
  .announcement { order: 1; height: 56px; }
  .announcement .wide-row { align-items: flex-start; padding-top: 8px; line-height: 1.35; }
  .announcement span { max-width: 315px; font-size: 14px; }
  .market-strip { order: 3; height: 30px; overflow: hidden; }
  .market-strip-inner { width: 100%; padding: 0 15px; overflow: hidden; }
  .market-data { gap: 20px; transform: translateX(0); width: max-content; font-size: 12px; }
  .market-data span:nth-child(1), .market-data span:nth-child(2), .market-data span:nth-child(6) { display: none; }
  .account-actions { display: none; }
  .mobile-logo-row { order: 2; display: flex; height: 50px; align-items: center; justify-content: space-between; }
  .mobile-logo-row img { width: 126px; }
  .mobile-logo-row .green-button { height: 35px; padding-left: 12px; padding-right: 12px; padding-inline: 12px; }
  .main-nav { order: 4; display: none; }
  main { border: 0; }
  .ad-banner {
    display: block;
    width: calc(100% - 20px);
    height: 76px;
    margin: 8px auto 18px;
    border-width: 2px;
  }
  .ad-link { gap: 10px; padding: 0 12px 0 22px; }
  .ad-logo { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; font-size: 34px; }
  .ad-copy { min-width: 0; }
  .ad-copy strong { font-size: 26px; font-size: clamp(20px, 7vw, 30px); white-space: nowrap; }
  .ad-copy span { font-size: 18px; font-size: clamp(15px, 5vw, 22px); white-space: nowrap; }
  .ad-theme-app .ad-copy strong, .ad-theme-api .ad-copy strong { font-size: 20px; font-size: clamp(16px, 5.1vw, 21px); }
  .ad-theme-app .ad-copy span, .ad-theme-api .ad-copy span { font-size: 13px; font-size: clamp(11px, 3.2vw, 14px); }
  .ad-rocket { display: none; }
  .ad-cta { flex: 0 0 auto; margin-left: auto; font-size: 0; padding: 0; width: 42px; height: 42px; display: grid; place-items: center; }
  .ad-cta::after { content: "›"; font-size: 28px; }
  .hero-section { padding-top: 0; }
  .hero-heading-row { margin: 0 0 7px; display: block; }
  h1 { font-size: 14px; line-height: 20px; margin-top: 0; }
  .hero-heading-row p { font-size: 13px; line-height: 1.45; }
  .highlight-toggle { margin-top: 16px; font-size: 14px; }
  .mobile-only-card { display: block; height: 168px; margin-bottom: 8px; border: 1px solid #e4e7eb; border-radius: 14px; box-shadow: 0 1px 3px rgba(15,23,42,.1); }
  .market-insight .card-title-row { min-height: 46px; }
  .market-insight .card-title-row > strong { font-size: 14px; }
  .market-insight .card-title-row a { font-size: 13px; }
  .market-insight p { margin: 4px 16px 0; font-size: 14px; line-height: 1.35; color: #667085; }
  .market-insight p strong { color: #283142; }
  .insight-meta { display: flex; justify-content: space-between; padding: 10px 16px; color: #748093; font-size: 12px; }
  .dots { color: #cbd5e1; letter-spacing: 3px; }
  .dots b { color: var(--green); }
  .highlights-grid { display: block; margin-bottom: 18px; }
  .highlight-card { height: 260px; margin-bottom: 8px; }
  .market-card { height: 260px; }
  .market-card-head { height: 76px; padding-top: 16px; gap: 8px; }
  .market-card-head strong { font-size: 17px; }
  .market-card-head a { font-size: 0; }
  .market-card-head a::after { content: "›"; font-size: 28px; }
  .market-chart svg { left: 18px; right: 52px; width: calc(100% - 70px); height: 140px; }
  .chart-y { top: 8px; height: 140px; }
  .chart-x { bottom: 8px; }
  .chart-watermark { right: 65px; }
  .trending-card, .gainers-card { height: auto; min-height: 262px; }
  .gainers-card { display: none; }
  .market-tabs-row { align-items: flex-start; position: relative; padding-bottom: 46px; }
  .market-tabs { width: 100%; height: 46px; }
  .table-actions { position: absolute; right: 0; bottom: 7px; }
  .table-actions button:first-child { display: none; }
  .coin-table { min-width: 978px; }
  .coin-table th, .coin-table td { height: 70px; }
  .coin-table th:first-child, .coin-table td:first-child { position: -webkit-sticky; position: sticky; left: 0; z-index: 2; background: white; }
  .coin-table th:nth-child(2), .coin-table td:nth-child(2) { position: -webkit-sticky; position: sticky; left: 34px; z-index: 2; background: white; }
  .coin-table th:nth-child(3), .coin-table td:nth-child(3) { position: -webkit-sticky; position: sticky; left: 78px; z-index: 2; background: white; box-shadow: 8px 0 9px -10px rgba(15,23,42,.5); }
  .coin-table th:nth-child(3) { min-width: 182px; }
  .coin-table td:nth-child(3) { min-width: 182px; }
  .coin-table th:nth-child(4), .coin-table td:nth-child(4) { display: none; }
  .table-scroll { width: 100%; margin-right: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
  .table-footer-row { grid-template-columns: 1fr; justify-items: center; padding: 18px 0; }
  .table-footer-row > span, .table-footer-row > label { display: none; }
  .pagination { grid-row: 1; }
  .faq-strip { padding: 14px 0; }
  .news-section { padding-top: 22px; }
  .section-heading-row button { display: none; }
  .section-heading-row h2 { font-size: 21px; }
  .news-grid, .article-grid { display: block; }
  .news-card, .article-grid > a { display: block; margin-bottom: 26px; }
  .news-image { height: 190px; }
  .news-card h3 { font-size: 20px; min-height: 0; }
  .news-card:nth-child(n+2) { display: none; }
  .article-grid > a:nth-child(n+3) { display: none; }
  .article-art { height: 170px; }
  .footer-top { display: block; padding-top: 30px; }
  .footer-about { display: none; }
  .footer-link-groups { display: block; }
  .footer-link-groups details { border-top: 1px solid var(--line); }
  .footer-link-groups details:last-child { border-bottom: 1px solid var(--line); }
  .footer-link-groups details > summary { pointer-events: auto; margin: 0; padding: 16px 0; position: relative; }
  .footer-link-groups details > summary::after { content: "+"; position: absolute; right: 2px; font-size: 19px; }
  .footer-link-groups details[open] > summary::after { content: "−"; }
  .footer-link-groups details:not([open]) > a { display: none; }
  .newsletter { display: block; padding: 28px 0 36px; margin-top: 0; border-top: 0; }
  .newsletter p { line-height: 1.45; }
  .newsletter form { display: block; margin-top: 12px; }
  .newsletter input, .newsletter button { width: 100%; height: 42px; }
  .newsletter button { margin-top: 8px; }
  .copyright-row { flex-direction: column; gap: 16px; text-align: center; }
  .copyright-row img { height: 39px; margin: 0 3px; }
  .disclaimer { font-size: 14px; line-height: 1.4; padding-bottom: 28px; }
  .mobile-bottom-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: 62px; display: grid; grid-template-columns: repeat(6,1fr); background: white; border-top: 1px solid var(--line); box-shadow: 0 -3px 12px rgba(15,23,42,.07); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: white; color: #667085; font-size: 11px; }
  .mobile-bottom-nav b { font-size: 22px; font-weight: 500; line-height: 1; }
  .mobile-bottom-nav .active { color: #65bd35; }
  .mobile-bottom-nav .search-trigger { min-width: 0; height: auto; padding: 0; border-radius: 0; }
  .back-to-top { bottom: 74px; right: 20px; }
  .toast { bottom: 75px; width: calc(100% - 34px); text-align: center; }
  .newsletter-toaster { align-items: center; justify-content: flex-end; padding: 24px 16px 86px; }

  .action-dialog { width: calc(100% - 30px); max-width: 520px; max-height: calc(100vh - 30px); max-height: calc(100dvh - 30px); margin: auto; border-radius: 18px; }
  dialog.dialog-fallback[open] { top: 50%; right: auto; bottom: auto; left: 50%; transform: translate(-50%, -50%); }
  .action-dialog-content { padding: 30px 20px 28px; padding: 30px 20px calc(28px + env(safe-area-inset-bottom)); }
  .dialog-menu { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .store-links { flex-direction: column; align-items: flex-start; }

  .route-main { padding-bottom: 24px; }
  .subpage-shell, .coin-page, .story-page { padding-top: 15px; }
  .breadcrumbs { margin-bottom: 18px; font-size: 12px; }
  .subpage-hero { display: block; margin-bottom: 20px; }
  .subpage-hero h1 { font-size: 30px; }
  .subpage-hero p { font-size: 14px; }
  .subpage-hero > button { width: 100%; margin-top: 14px; }
  .subpage-stat-grid, .portfolio-summary { grid-template-columns: 1fr; gap: 8px; }
  .subpage-stat { grid-template-columns: 1fr auto; align-items: center; padding: 14px; }
  .subpage-stat span, .subpage-stat small { grid-column: 1; }
  .subpage-stat strong { grid-column: 2; grid-row: 1 / span 2; font-size: 19px; }
  .panel-heading { align-items: flex-start; min-height: 70px; padding: 12px; }
  .panel-heading h2 { font-size: 16px; }
  .timeframe-group { max-width: 54%; overflow-x: auto; }
  .timeframe-group button { min-width: 38px; }
  .large-chart { height: 240px; padding: 8px; }
  .large-chart-grid { top: 18px; right: 12px; bottom: 18px; left: 12px; inset: 18px 12px; }
  .subpage-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .subpage-table { min-width: 620px; }
  .subpage-table th, .subpage-table td { height: 54px; padding: 0 12px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card p { min-height: 0; }
  .api-layout, .product-grid, .info-layout, .coin-lower-grid, .coin-detail-grid { grid-template-columns: 1fr; }
  .api-copy, .product-copy, .info-copy, .converter, .ask-card { padding: 20px; }
  .api-copy h2, .product-copy h2 { font-size: 25px; }
  .code-panel pre { padding: 20px; font-size: 12px; }
  .product-visual { min-height: 230px; font-size: 84px; }
  .info-nav { display: flex; width: 100%; overflow-x: auto; gap: 4px; }
  .info-nav a { flex: 0 0 auto; }
  .chat-shell { padding: 16px; }
  .chat-message { max-width: 92%; }
  .chat-form { grid-template-columns: 1fr; }
  .chat-form button { width: 100%; }

  .coin-summary { padding: 0; }
  .coin-title h1 { font-size: 17px; }
  .coin-price { font-size: 33px; }
  .coin-chart-column { min-width: 0; }
  .route-tabs { margin-top: 8px; }
  .route-tabs button { min-height: 43px; padding: 0 12px; }
  .coin-chart-column .chart-panel { border-radius: 0 0 12px 12px; }
  .story-hero { margin: 12px 0 24px; text-align: left; }
  .story-hero h1 { font-size: 34px; }
  .story-layout { grid-template-columns: 1fr; gap: 22px; }
  .story-body { font-size: 15px; line-height: 1.75; }
  .story-cover { height: 220px; font-size: 48px; }
  .story-layout aside { position: static; grid-row: 1; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
}

@media (max-width: 360px) {
  .wide-row, .content-shell { width: calc(100% - 20px); }
  .announcement span { max-width: 270px; font-size: 12px; }
  .mobile-logo-row img { width: 112px; }
  .mobile-logo-row .green-button { padding-left: 10px; padding-right: 10px; padding-inline: 10px; }
  .ad-banner { width: calc(100% - 20px); }
  .ad-link { padding-left: 20px; }
  .ad-logo { display: none; }
  .ad-copy strong { font-size: 23px; }
  .ad-copy span { font-size: 16px; }
  .market-card-head { gap: 11px; padding-left: 12px; padding-right: 12px; padding-inline: 12px; }
  .market-card-head strong { font-size: 15px; }
  .mobile-bottom-nav { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .mobile-bottom-nav b { font-size: 19px; }
  .mobile-bottom-nav a, .mobile-bottom-nav button { min-width: 0; font-size: 10px; }
  .newsletter-result { padding: 13px; }
  .subpage-hero h1 { font-size: 27px; }
  .coin-price { font-size: 29px; }
  .coin-title h1 span { display: block; }
}
