﻿/* ?쎌뒪鍮꾪듃 硫붿씤 ???ㅽ겕 ?붾젆?곕━??硫붾돱諛?+ 湲濡쒖슦 ?덉뼱濡?*/
:root {
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --accent-soft: rgba(239, 68, 68, 0.14);
  --accent-line: rgba(248, 113, 113, 0.28);
  --blue-glow: rgba(59, 130, 246, 0.34);
  --bg: #171a20;
  --bg-2: #20242b;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-2: rgba(17, 24, 39, 0.86);
  --text: #f8fafc;
  --text-light: #aab4c4;
  --muted: #7b8798;
  --border: rgba(255, 255, 255, 0.11);
  --nav-bg: rgba(23, 26, 32, 0.88);
  --footer-bg: #14171d;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.075);
  --card-bg: rgba(15, 23, 42, 0.62);
  --lang-menu-bg: #080d18;
  --search-bg: rgba(255, 255, 255, 0.94);
  --search-text: #111827;
  --search-button-bg: #111827;
  --grid-line: rgba(255, 255, 255, 0.035);
  --grid-line-2: rgba(255, 255, 255, 0.028);
  --on-accent: #ffffff;
  --max-width: 1500px;
}

html[data-theme="light"] {
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --accent-soft: rgba(220, 38, 38, 0.08);
  --accent-line: rgba(220, 38, 38, 0.2);
  --bg: #f3f4f6;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-2: rgba(255, 255, 255, 0.96);
  --text: #111827;
  --text-light: #4b5563;
  --muted: #6b7280;
  --border: rgba(17, 24, 39, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --footer-bg: #ffffff;
  --surface-soft: rgba(17, 24, 39, 0.045);
  --surface-hover: rgba(17, 24, 39, 0.075);
  --card-bg: rgba(255, 255, 255, 0.82);
  --lang-menu-bg: #ffffff;
  --search-bg: #ffffff;
  --search-text: #111827;
  --search-button-bg: #171a20;
  --grid-line: rgba(17, 24, 39, 0.035);
  --grid-line-2: rgba(17, 24, 39, 0.028);
  --on-accent: #ffffff;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 76px;
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { opacity: 0.9; }

.picks-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.picks-nav__container {
  max-width: var(--max-width);
  height: 76px;
  margin: 0 auto;
  padding: 0 38px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.picks-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
}

.picks-logo__image {
  display: block;
  width: 174px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.picks-logo__text {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.picks-logo__text--footer {
  font-size: 30px;
}

.picks-logo__image--footer {
  width: 210px;
  max-height: 55px;
}

.picks-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  list-style: none;
}

.picks-menu > li { list-style: none; }

.picks-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.picks-menu > li > a:hover,
.picks-menu > li:hover > a {
  color: var(--text);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.picks-menu__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--text);
  background: var(--accent-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.picks-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.picks-icon-btn,
.picks-lang {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-light);
  background: var(--surface-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.picks-icon-btn {
  width: 38px;
  font-size: 20px;
}

.picks-lang { padding: 0 14px; }

.picks-lang-wrap {
  position: relative;
  display: inline-flex;
}

.picks-lang {
  gap: 8px;
  min-width: 124px;
}

.picks-lang__flag,
.picks-lang-menu__flag {
  display: inline-flex;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.picks-lang__flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
}

.picks-lang__caret {
  color: var(--text-light);
  transition: transform 0.2s;
}

.picks-lang-wrap.is-open .picks-lang__caret {
  transform: rotate(180deg);
}

.picks-lang-menu {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  z-index: 1002;
  width: 184px;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: var(--lang-menu-bg);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
}

.picks-lang-wrap.is-open .picks-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.picks-lang-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 22px;
  color: var(--text);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.picks-lang-menu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.07);
}

.picks-lang-menu a.is-current {
  color: var(--text);
  font-weight: 400;
}

.picks-lang-menu__flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
}

.picks-lang-menu a.is-current .picks-lang-menu__flag {
  width: 26px;
}

.flag-kr { background-image: url('https://flagcdn.com/w40/kr.png'); }
.flag-us { background-image: url('https://flagcdn.com/w40/us.png'); }
.flag-br { background-image: url('https://flagcdn.com/w40/br.png'); }
.flag-es { background-image: url('https://flagcdn.com/w40/es.png'); }
.flag-fr { background-image: url('https://flagcdn.com/w40/fr.png'); }
.flag-jp { background-image: url('https://flagcdn.com/w40/jp.png'); }
.flag-cn { background-image: url('https://flagcdn.com/w40/cn.png'); }
.flag-id { background-image: url('https://flagcdn.com/w40/id.png'); }
.flag-vn { background-image: url('https://flagcdn.com/w40/vn.png'); }
.flag-th { background-image: url('https://flagcdn.com/w40/th.png'); }
.flag-tr { background-image: url('https://flagcdn.com/w40/tr.png'); }

main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 38px 88px;
  flex: 1;
}

.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero__glow {
  display: none;
}

.hero__text {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 38px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1 {
  color: var(--text);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.082em;
  text-wrap: balance;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
}

.hero__subtitle {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--text-light);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.hero-search {
  width: min(680px, 100%);
  height: 54px;
  margin: 26px auto 0;
  padding: 6px 7px 6px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--search-bg);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28), 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--search-text);
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}

.hero-search input::placeholder { color: #7b8798; }

.hero-search button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--search-button-bg);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hero__quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero__quick-links a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
  font-weight: 800;
}

.error-page main {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}

.error-hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
}

.error-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  left: -120px;
  top: 20px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.24), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.error-hero__content,
.error-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.error-hero__content {
  padding: clamp(34px, 5vw, 58px);
  border-radius: 34px;
}

.error-hero__code {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: clamp(64px, 12vw, 136px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.error-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.error-hero__description {
  max-width: 680px;
  color: var(--text-light);
  font-size: 17px;
  letter-spacing: -0.025em;
}

.error-hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hero__primary,
.error-hero__secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.error-hero__primary {
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.22);
}

.error-hero__secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.error-card {
  padding: 30px;
  border-radius: 28px;
}

.error-card__badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.error-card h2 {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.error-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.error-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface-soft);
  font-weight: 700;
}

.error-card a::after {
  content: '→';
  color: var(--accent);
}

@media (max-width: 860px) {
  .error-hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 640px);
    padding: 52px 0;
  }
}

.home-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.home-preview-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.68);
}

.home-preview-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 26px;
}

.home-preview-grid h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 21px;
  letter-spacing: -0.045em;
}

.home-preview-grid p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}



.coin-ranking {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 28px auto 0;
}

.ranking-head {
  margin-bottom: 16px;
  text-align: left;
}

.ranking-head__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 11px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: #fecaca;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-head h2 {
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.ranking-head p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.ranking-item summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 56px minmax(240px, 1fr) auto 32px;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
}

.ranking-item summary::-webkit-details-marker { display: none; }

.ranking-item__rank {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  font-size: 17px;
  font-weight: 900;
}

.ranking-item__coin {
  display: grid;
  gap: 2px;
}

.ranking-item__coin strong {
  color: var(--text);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.ranking-item__coin em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ranking-item__tag {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ranking-item__arrow {
  color: var(--text-light);
  font-size: 20px;
  transition: transform 0.2s;
}

.ranking-item[open] .ranking-item__arrow { transform: rotate(180deg); }

.ranking-detail {
  padding: 0 24px 22px 104px;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ranking-detail p {
  max-width: 760px;
  padding-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.ranking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ranking-links a {
  padding: 8px 11px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.content-hub,
.topic-strip {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: #fecaca;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.section-heading h2 {
  color: var(--text);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.065em;
}

.section-heading p {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hub-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.46));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.hub-card--large {
  grid-column: span 2;
  background:
    radial-gradient(circle at 15% 10%, rgba(239, 68, 68, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.52));
}

.hub-card__label {
  margin-bottom: 16px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.hub-card p,
.hub-card li {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.hub-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.hub-card li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 700;
}

.topic-strip {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
}

.topic-strip__title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-list a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.hero__breadcrumb,
.hero__meta,
.hero__badge,
.section-label { display: none; }

.picks-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  color: var(--text);
}

.picks-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.picks-footer__brand {
  flex: 1.5;
  min-width: 280px;
}

.picks-logo--footer { margin-bottom: 16px; }

.picks-footer__brand p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.picks-footer__col {
  flex: 1;
  min-width: 190px;
}

.picks-footer__col h4 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.picks-footer__col ul { list-style: none; }
.picks-footer__col li { margin-bottom: 10px; }

.picks-footer__col a {
  color: var(--text-light);
  font-size: 15px;
  transition: color 0.2s;
}

.picks-footer__col a:hover { color: #f87171; }

.picks-footer__disclaimer {
  max-width: var(--max-width);
  margin: 34px auto 0;
  padding: 16px 40px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

.picks-footer__copyright {
  margin-top: 34px;
  padding: 24px 0;
  text-align: center;
  color: #8f98a6;
  border-top: 1px solid var(--border);
}

.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  color: #ffffff;
  background: var(--accent);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(220, 38, 38, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.2s;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--accent-dark);
  opacity: 1;
}

.policy-page main { max-width: 1240px; }

.policy-page main > h1,
.policy-page main > h2,
.policy-page main > p,
.policy-page main > ul { max-width: 860px; }

.policy-page main > h1 {
  margin: 24px 0 14px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.policy-page main > h2 {
  margin: 48px 0 14px;
  padding-top: 24px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.04em;
  border-top: 1px solid var(--border);
}

.policy-page main > p,
.policy-page main > ul {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.9;
}

.policy-page main > p { margin: 14px 0; }

.policy-page main > ul {
  margin: 14px 0 18px;
  padding-left: 22px;
}

.policy-page main li { margin: 8px 0; }
.policy-page main a { color: #f87171; font-weight: 700; }
.policy-page main strong { color: var(--text); }

@media (max-width: 1180px) {
  .picks-nav__container { gap: 14px; }
  .picks-logo__image { width: 150px; }
  .picks-menu { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .picks-menu::-webkit-scrollbar { display: none; }
  .picks-nav__actions { display: none; }
}

@media (max-width: 768px) {
  body { padding-top: 64px; }

  .picks-nav__container {
    height: 64px;
    padding: 0 16px;
  }

  .picks-logo__image { width: 132px; max-height: 36px; }
  .picks-logo__image--footer { width: 170px; max-height: 44px; }
  .picks-menu > li > a { padding: 8px 10px; font-size: 14px; }

  main { padding: 14px 14px 56px; }

  .hero {
    min-height: 340px;
    border-radius: 0;
  }

  .hero__text { padding: 36px 14px 32px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: 0.08em; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero__subtitle { font-size: 15px; }

  .hero-search {
    height: 52px;
    margin-top: 24px;
    padding-left: 18px;
  }

  .hero-search input { font-size: 14px; }
  .hero-search button { width: 40px; height: 40px; }

  .home-preview-grid { grid-template-columns: 1fr; }
  .coin-ranking { margin-top: 20px; }
  .ranking-item summary { grid-template-columns: 42px minmax(0, 1fr) 24px; gap: 10px; padding: 13px 14px; }
  .ranking-item__tag { grid-column: 2 / 3; width: fit-content; }
  .ranking-item__arrow { grid-column: 3; grid-row: 1; }
  .ranking-detail { padding: 0 14px 16px 66px; }
  .ranking-head p { font-size: 14px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card, .hub-card--large { grid-column: auto; min-height: auto; padding: 22px; }
  
.coin-ranking {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 28px auto 0;
}

.ranking-head {
  margin-bottom: 16px;
  text-align: left;
}

.ranking-head__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 11px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: #fecaca;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-head h2 {
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.ranking-head p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.ranking-item summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 56px minmax(240px, 1fr) auto 32px;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
}

.ranking-item summary::-webkit-details-marker { display: none; }

.ranking-item__rank {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  font-size: 17px;
  font-weight: 900;
}

.ranking-item__coin {
  display: grid;
  gap: 2px;
}

.ranking-item__coin strong {
  color: var(--text);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.ranking-item__coin em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ranking-item__tag {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ranking-item__arrow {
  color: var(--text-light);
  font-size: 20px;
  transition: transform 0.2s;
}

.ranking-item[open] .ranking-item__arrow { transform: rotate(180deg); }

.ranking-detail {
  padding: 0 24px 22px 104px;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ranking-detail p {
  max-width: 760px;
  padding-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.ranking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ranking-links a {
  padding: 8px 11px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.content-hub, .topic-strip { margin-top: 26px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 15px; }
  .topic-strip { padding: 20px; }

  .picks-footer { padding-top: 34px; }
  .picks-footer__inner { padding: 0 16px; gap: 26px; }
  .picks-footer__brand { min-width: 100%; }
  .picks-footer__col { min-width: calc(50% - 16px); }
  .picks-footer__disclaimer { padding: 14px 16px; font-size: 12px; }
  .picks-footer__copyright { padding: 16px 0; font-size: 13px; }

  .scroll-top-btn {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 22px;
  }

  .policy-page main > h1 { font-size: 34px; }
  .policy-page main > h2 { font-size: 23px; margin-top: 38px; }
  .policy-page main > p,
  .policy-page main > ul { font-size: 15px; }
}
.search-modal[hidden] {
  display: none;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 18px 30px;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .search-modal__backdrop {
  background: rgba(17, 24, 39, 0.28);
}

.search-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  padding: 26px 26px 30px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 10px;
  color: var(--text);
  background: #060b15;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

html[data-theme="light"] .search-modal__panel {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
}

.search-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: var(--text-light);
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.search-modal__form {
  height: 72px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}

.search-modal__icon {
  color: var(--muted);
  font-size: 34px;
  line-height: 1;
}

.search-modal__form input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.search-modal__form input::placeholder {
  color: var(--muted);
}

.search-modal__form button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--muted);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.search-modal__popular {
  margin-top: 24px;
}

.search-modal__popular strong {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.search-modal__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 20px;
}

.search-modal__keywords a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-light);
  background: transparent;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.search-modal__keywords a:hover {
  opacity: 1;
  color: var(--text);
  border-color: var(--text-light);
}

.search-modal__help {
  display: inline-flex;
  margin-top: 34px;
  color: var(--text-light);
  border-bottom: 1px dotted var(--text-light);
  font-size: 19px;
  letter-spacing: -0.04em;
}

.share-modal[hidden] {
  display: none;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .share-modal__backdrop {
  background: rgba(17, 24, 39, 0.28);
}

.share-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  color: var(--text);
  background: #050a14;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

html[data-theme="light"] .share-modal__panel {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
}

.share-modal__head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.share-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.share-modal__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
}

.share-modal__favicon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.share-modal__favicon--light,
html[data-theme="light"] .share-modal__favicon--dark {
  display: none;
}

html[data-theme="light"] .share-modal__favicon--light {
  display: block;
}

.share-modal h2 {
  overflow: hidden;
  color: var(--text);
  font-size: clamp(24px, 4vw, 31px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-modal__close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  color: var(--text-light);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.share-modal__close:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.share-modal__body {
  padding: 26px 32px 30px;
}

.share-modal__body p {
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.share-modal__services {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 28px;
}

.share-modal__service {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.55);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}

.share-modal__service-icon {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

.share-modal__service--facebook .share-modal__service-icon {
  width: 38px;
  height: 38px;
}

.share-modal__service--x .share-modal__service-icon {
  width: 32px;
  height: 32px;
}

.share-modal__service--telegram .share-modal__service-icon,
.share-modal__service--whatsapp .share-modal__service-icon {
  width: 36px;
  height: 36px;
}

.share-modal__service--kakao .share-modal__service-icon {
  width: 44px;
  height: 44px;
}

.share-modal__service:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: var(--surface-hover);
}

.share-modal__service--facebook { color: #1877f2; }
.share-modal__service--x { color: var(--text); }
.share-modal__service--telegram { color: #2aabee; border-color: rgba(42, 171, 238, 0.6); }
.share-modal__service--kakao { color: #111827; background: #fee500; border-color: rgba(254, 229, 0, 0.78); }
.share-modal__service--whatsapp { color: #25d366; border-color: rgba(37, 211, 102, 0.6); }

.share-modal__copy {
  height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

html[data-theme="light"] .share-modal__copy {
  background: rgba(17, 24, 39, 0.04);
}

.share-modal__copy input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 22px;
  letter-spacing: -0.045em;
}

.share-modal__copy button {
  min-width: 92px;
  border: 0;
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  cursor: pointer;
}

.share-modal__copy button:hover {
  background: var(--surface-hover);
}

.share-modal__status {
  min-height: 20px;
  display: block;
  margin-top: 10px;
  color: #22c55e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (max-width: 560px) {
  .share-modal {
    padding: 14px;
  }

  .share-modal__head {
    min-height: 72px;
    padding: 20px 20px;
  }

  .share-modal__body {
    padding: 22px 20px 24px;
  }

  .share-modal__services {
    gap: 10px;
  }

  .share-modal__service {
    width: 54px;
    height: 54px;
    font-size: 25px;
  }

  .share-modal__body p,
  .share-modal__copy input {
    font-size: 18px;
  }

  .share-modal__copy {
    height: 62px;
  }

  .share-modal__copy button {
    min-width: 72px;
    font-size: 17px;
  }
}

.search-modal__eyebrow,
.search-modal h2:not(.sr-only) {
  display: none;
}

@media (max-width: 768px) {
  .search-modal {
    padding: 78px 12px 24px;
  }

  .search-modal__panel {
    padding: 22px 18px 26px;
  }

  .search-modal__form {
    height: 62px;
    grid-template-columns: 28px minmax(0, 1fr) 36px;
  }

  .search-modal__icon {
    font-size: 28px;
  }

  .search-modal__form input {
    font-size: 21px;
  }

  .search-modal__popular strong {
    font-size: 21px;
  }

  .search-modal__keywords {
    gap: 12px 10px;
  }

  .search-modal__keywords a {
    min-height: 36px;
    padding: 0 14px;
    font-size: 16px;
  }

  .search-modal__help {
    margin-top: 26px;
    font-size: 16px;
  }
}


/* UI refinement: compact, cleaner proportions */
body {
  padding-top: 64px;
}

.picks-nav__container {
  height: 64px;
  padding: 0 32px;
  gap: 18px;
}

.picks-logo__image {
  width: 148px;
  max-height: 38px;
}

.picks-menu > li > a {
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 400;
}

.picks-icon-btn,
.picks-lang {
  height: 34px;
  font-size: 13px;
}

.picks-icon-btn {
  width: 34px;
  font-size: 17px;
}

.picks-lang {
  min-width: 108px;
  padding: 0 11px;
  gap: 7px;
}

.picks-lang__flag {
  width: 19px;
  height: 14px;
}

main {
  padding-top: 16px;
}

.hero {
  min-height: 280px;
}

.hero__text {
  padding: 34px 20px 30px;
}

.hero__eyebrow {
  margin-bottom: 12px;
  padding: 5px 10px;
  font-size: 10px;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -0.07em;
}

.hero__subtitle {
  margin-top: 12px;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.7;
}

.hero-search {
  width: min(560px, 100%);
  height: 46px;
  margin-top: 20px;
  padding: 5px 6px 5px 17px;
}

.hero-search input {
  font-size: 14px;
  font-weight: 400;
}

.hero-search button {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.hero__quick-links a {
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 500;
}

.coin-ranking,
.coin-ranking--page {
  max-width: 1080px;
  margin-top: 22px;
}

.ranking-head {
  margin-bottom: 14px;
}

.ranking-head__eyebrow {
  padding: 5px 10px;
  font-size: 10px;
}

.ranking-head h1,
.ranking-head h2 {
  font-size: clamp(26px, 2.7vw, 34px);
  letter-spacing: -0.055em;
}

.ranking-head p {
  max-width: 680px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.ranking-list {
  gap: 8px;
}

.ranking-item {
  border-radius: 14px;
  box-shadow: none;
}

.ranking-item summary {
  min-height: 60px;
  grid-template-columns: 44px minmax(200px, 1fr) auto 24px;
  gap: 12px;
  padding: 11px 16px;
}

.ranking-item__rank {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
}

.ranking-item__coin strong {
  font-size: 16px;
  font-weight: 600;
}

.ranking-item__coin em {
  font-size: 11px;
}

.ranking-item__tag {
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 500;
}

.ranking-detail {
  padding: 0 16px 15px 72px;
}

.ranking-detail p {
  padding-top: 13px;
  font-size: 14px;
  line-height: 1.7;
}

.ranking-links a {
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
}

.search-modal {
  padding: 86px 18px 30px;
}

.search-modal__panel {
  width: min(760px, 100%);
  padding: 22px 24px 24px;
  border-radius: 12px;
}

.search-modal__close {
  top: 11px;
  right: 11px;
  width: 28px;
  height: 28px;
  font-size: 20px;
}

.search-modal__form {
  height: 54px;
  grid-template-columns: 24px minmax(0, 1fr) 30px;
  padding-bottom: 10px;
}

.search-modal__icon {
  font-size: 24px;
}

.search-modal__form input {
  font-size: clamp(17px, 2.1vw, 21px);
  letter-spacing: -0.035em;
}

.search-modal__form button {
  width: 28px;
  height: 28px;
  border-width: 1px;
  font-size: 15px;
}

.search-modal__popular {
  margin-top: 18px;
}

.search-modal__popular strong {
  margin-bottom: 13px;
  font-size: 17px;
  font-weight: 600;
}

.search-modal__keywords {
  gap: 10px 8px;
}

.search-modal__keywords a {
  min-height: 32px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 400;
}

.search-modal__help {
  margin-top: 22px;
  font-size: 14px;
}

@media (max-width: 768px) {
  body {
    padding-top: 56px;
  }

  .picks-nav__container {
    height: 56px;
    padding: 0 14px;
  }

  .picks-logo__image {
    width: 118px;
    max-height: 32px;
  }

  .picks-menu > li > a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 260px;
  }

  .hero__text {
    padding: 28px 10px 26px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-search {
    height: 44px;
  }

  .hero-search button {
    width: 32px;
    height: 32px;
  }

  .ranking-item summary {
    min-height: 56px;
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    padding: 10px 12px;
  }

  .ranking-detail {
    padding: 0 12px 14px 58px;
  }

  .search-modal {
    padding: 70px 12px 22px;
  }

  .search-modal__panel {
    padding: 20px 16px 22px;
  }

  .search-modal__form input {
    font-size: 18px;
  }
}

/* Theme-aware logo swap */
.picks-logo {
  position: relative;
}

.picks-logo__image--light {
  display: none;
}

html[data-theme="light"] .picks-logo__image--dark {
  display: none;
}

html[data-theme="light"] .picks-logo__image--light {
  display: block;
}

/* Ranking page refinement */
.ranking-page .ranking-head {
  text-align: center;
  margin-bottom: 24px;
}

.ranking-page .ranking-head__eyebrow {
  display: none;
}

.ranking-page .ranking-head h1 {
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.ranking-page .ranking-head p {
  max-width: 720px;
  margin: 12px auto 0;
}

.ranking-page .ranking-head p {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ranking-page .ranking-head p {
    white-space: normal;
  }
}

/* Static ranking list design */
.ranking-toolbar {
  width: min(1080px, 100%);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
}

.ranking-toolbar strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ranking-toolbar span {
  display: block;
  margin-top: 2px;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: -0.025em;
}

.ranking-share-btn {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.ranking-share-btn:hover {
  opacity: 1;
  background: var(--surface-hover);
}

.ranking-share-btn__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ranking-share-btn__icon circle {
  fill: var(--bg);
}

html[data-theme="light"] .ranking-share-btn__icon circle {
  fill: #ffffff;
}

.ranking-list--static {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.ranking-card {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: none;
}

.ranking-card__top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ranking-card__coin {
  display: grid;
  gap: 2px;
}

.ranking-card__coin strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.ranking-card__coin em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ranking-card p {
  margin: 0;
  padding-left: 54px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.ranking-card .ranking-links {
  margin-top: 0;
  padding-left: 54px;
}

.ranking-card .ranking-links a {
  background: var(--surface-soft);
}

@media (max-width: 768px) {
  .ranking-toolbar {
    align-items: flex-start;
    padding: 14px;
  }

  .ranking-card {
    padding: 15px 14px;
    border-radius: 15px;
  }

  .ranking-card__top {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .ranking-card__top .ranking-item__tag {
    grid-column: 2;
    width: fit-content;
  }

  .ranking-card p,
  .ranking-card .ranking-links {
    padding-left: 48px;
  }
}

/* Ranking table layout - reference style */
.ranking-page .ranking-board {
  width: min(1120px, 100%);
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.ranking-page .ranking-board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.ranking-page .ranking-board__top strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ranking-page .ranking-board__top span {
  display: block;
  margin-top: 4px;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: -0.025em;
}

.ranking-page .ranking-table {
  display: grid;
}

.ranking-page .ranking-table__row {
  display: grid;
  grid-template-columns: 70px minmax(160px, 1fr) 140px minmax(260px, 1.45fr) 190px;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
}

.ranking-page .ranking-table__row:last-child {
  border-bottom: 0;
}

.ranking-page .ranking-table__row--head {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ranking-page .ranking-table__rank {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.ranking-page .ranking-table__coin {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.ranking-page .coin-symbol {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.ranking-page .coin-symbol--btc { background: #f7931a; }
.ranking-page .coin-symbol--eth { background: #627eea; }
.ranking-page .coin-symbol--xrp { background: #23292f; }
.ranking-page .coin-symbol--sol { background: linear-gradient(135deg, #14f195, #9945ff); }
.ranking-page .coin-symbol--bnb { background: #f3ba2f; color: #111827; }

.ranking-page .ranking-table__coin strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-page .ranking-table__coin em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ranking-page .ranking-table__tag {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.ranking-page .ranking-table__row p {
  margin: 0;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.ranking-page .ranking-table__links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.ranking-page .ranking-table__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ranking-page .ranking-table__links a:hover,
.ranking-page .ranking-share-btn:hover {
  background: var(--surface-hover);
}

@media (max-width: 980px) {
  .ranking-page .ranking-board {
    overflow-x: auto;
  }

  .ranking-page .ranking-table {
    min-width: 880px;
  }
}

@media (max-width: 640px) {
  .ranking-page .ranking-board {
    border-radius: 18px;
  }

  .ranking-page .ranking-board__top {
    align-items: flex-start;
    padding: 15px;
  }

  .ranking-page .ranking-board__top span {
    max-width: 220px;
  }
}

.ranking-page .ranking-board__top--share-only {
  justify-content: flex-end;
  padding: 12px 18px;
  border-bottom: 0;
  background: transparent;
}

.ranking-page .ranking-board__top--share-only + .ranking-table .ranking-table__row--head {
  border-top: 1px solid var(--border);
}

/* Remove outer ranking wrapper box */
.ranking-page .ranking-board {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ranking-page .ranking-board__top--share-only {
  padding: 0 0 10px;
  border: 0;
  background: transparent;
}

.ranking-page .ranking-board__top--share-only + .ranking-table .ranking-table__row--head {
  border-top: 0;
}

.ranking-page .ranking-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
}

/* Ranking table color refinement */
.ranking-page .ranking-table {
  border-color: rgba(148, 163, 184, 0.16);
  background: #0b1220;
}

.ranking-page .ranking-table__row {
  border-bottom-color: rgba(148, 163, 184, 0.13);
  background: #0f172a;
}

.ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  background: #111c2f;
}

.ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #162238;
}

.ranking-page .ranking-table__row--head {
  color: #94a3b8;
  background: #172033;
}

.ranking-page .ranking-table__rank,
.ranking-page .ranking-table__coin strong {
  color: #f8fafc;
}

.ranking-page .ranking-table__coin em,
.ranking-page .ranking-table__row p {
  color: #a8b3c7;
}

.ranking-page .ranking-table__tag {
  border-color: rgba(148, 163, 184, 0.18);
  color: #dbeafe;
  background: #1e293b;
}

.ranking-page .ranking-table__links a {
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
  background: #1e293b;
}

.ranking-page .ranking-table__links a:hover {
  color: #ffffff;
  background: #2563eb;
  border-color: #2563eb;
}

html[data-theme="light"] .ranking-page .ranking-table {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .ranking-page .ranking-table__row {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

html[data-theme="light"] .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  background: #f8fafc;
}

html[data-theme="light"] .ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #eff6ff;
}

html[data-theme="light"] .ranking-page .ranking-table__row--head {
  color: #64748b;
  background: #f1f5f9;
}

html[data-theme="light"] .ranking-page .ranking-table__rank,
html[data-theme="light"] .ranking-page .ranking-table__coin strong {
  color: #0f172a;
}

html[data-theme="light"] .ranking-page .ranking-table__coin em,
html[data-theme="light"] .ranking-page .ranking-table__row p {
  color: #475569;
}

html[data-theme="light"] .ranking-page .ranking-table__tag,
html[data-theme="light"] .ranking-page .ranking-table__links a {
  border-color: rgba(15, 23, 42, 0.1);
  color: #1e293b;
  background: #f1f5f9;
}

/* Ranking table final dark tone adjustment */
.ranking-page .ranking-table {
  border-color: rgba(255, 255, 255, 0.08);
  background: #111318;
}

.ranking-page .ranking-table__row {
  border-bottom-color: rgba(255, 255, 255, 0.075);
  background: #111318;
}

.ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  background: #14171d;
}

.ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #181c23;
}

.ranking-page .ranking-table__row--head {
  color: #cbd5e1;
  background: #2b3038;
}

.ranking-page .ranking-table__tag,
.ranking-page .ranking-table__links a {
  border-color: rgba(255, 255, 255, 0.09);
  background: #1b2028;
}

/* Ranking table width adjustment */
.ranking-page .coin-ranking,
.ranking-page .ranking-board {
  max-width: 1280px;
  width: min(1280px, calc(100% - 32px));
}

.ranking-page .ranking-table__row {
  grid-template-columns: 76px minmax(190px, 1.05fr) 160px minmax(340px, 1.75fr) 210px;
}

@media (max-width: 980px) {
  .ranking-page .ranking-board {
    width: min(100%, calc(100% - 24px));
  }

  .ranking-page .ranking-table {
    min-width: 1040px;
  }
}

/* Ranking table slight width increase */
.ranking-page .coin-ranking,
.ranking-page .ranking-board {
  max-width: 1320px;
  width: min(1320px, calc(100% - 28px));
}

.ranking-page .ranking-table__row {
  grid-template-columns: 78px minmax(200px, 1.08fr) 165px minmax(360px, 1.82fr) 220px;
}

/* Ranking table row color unified */
.ranking-page .ranking-table__row:not(.ranking-table__row--head),
.ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  background: #14171d;
}

.ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #181c23;
}

/* Ranking table hover matches header */
.ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #2b3038;
}

/* Ranking live data columns */
.ranking-page .ranking-table__row {
  grid-template-columns: 68px minmax(190px, 1.1fr) 120px 86px 140px 140px 150px;
}

.ranking-page .ranking-live-status {
  margin-right: auto;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.ranking-page .ranking-live-value,
.ranking-page .ranking-live-change {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ranking-page .ranking-live-change.is-up { color: #ef4444; }
.ranking-page .ranking-live-change.is-down { color: #3b82f6; }
.ranking-page .ranking-live-change.is-flat { color: #94a3b8; }

html[data-theme="light"] .ranking-page .ranking-live-value {
  color: #0f172a;
}

html[data-theme="light"] .ranking-page .ranking-live-change.is-flat {
  color: #1f2937;
}

@media (max-width: 980px) {
  .ranking-page .ranking-table {
    min-width: 1080px;
  }
}

/* Dynamic crypto ranking rows */
.ranking-page .ranking-table__body {
  display: grid;
}

.ranking-page .ranking-table__body .ranking-table__row:last-child {
  border-bottom: 0;
}

.ranking-page .ranking-table__row--loading {
  color: #a8b3c7;
}

.ranking-page .ranking-table__coin img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #1b2028;
}

.ranking-page .ranking-table__links .is-disabled {
  opacity: 0.62;
  cursor: default;
}

/* Ranking table readability and alignment */
.ranking-page .ranking-table__row {
  grid-template-columns: 72px minmax(220px, 1.15fr) 150px 110px 160px 160px 150px;
  column-gap: 18px;
  min-height: 72px;
}

.ranking-page .ranking-table__row--head {
  min-height: 46px;
  font-size: 13px;
}

.ranking-page .ranking-table__row > * {
  min-width: 0;
}

.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__row > :nth-child(3),
.ranking-page .ranking-table__row > :nth-child(4),
.ranking-page .ranking-table__row > :nth-child(5),
.ranking-page .ranking-table__row > :nth-child(6) {
  text-align: right;
  justify-self: end;
}

.ranking-page .ranking-table__row--head > :nth-child(1),
.ranking-page .ranking-table__row--head > :nth-child(3),
.ranking-page .ranking-table__row--head > :nth-child(4),
.ranking-page .ranking-table__row--head > :nth-child(5),
.ranking-page .ranking-table__row--head > :nth-child(6) {
  text-align: right;
  justify-self: end;
}

.ranking-page .ranking-table__row > :nth-child(7),
.ranking-page .ranking-table__row--head > :nth-child(7) {
  justify-self: end;
}

.ranking-page .ranking-table__rank {
  min-width: 28px;
  font-size: 15px;
  text-align: right;
}

.ranking-page .ranking-table__coin strong {
  font-size: 16px;
}

.ranking-page .ranking-table__coin em {
  font-size: 12px;
}

.ranking-page .ranking-live-value,
.ranking-page .ranking-live-change {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.ranking-page .ranking-table__rank.is-live-updated,
.ranking-page .ranking-live-value.is-live-updated,
.ranking-page .ranking-live-change.is-live-updated {
  animation: ranking-live-flash 1.15s ease-out;
}

@keyframes ranking-live-flash {
  0% {
    color: #ffffff;
    background: rgba(34, 197, 94, 0.34);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.34);
  }
  45% {
    background: rgba(34, 197, 94, 0.18);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

html[data-theme="light"] .ranking-page .ranking-table__rank.is-live-updated,
html[data-theme="light"] .ranking-page .ranking-live-value.is-live-updated,
html[data-theme="light"] .ranking-page .ranking-live-change.is-live-updated {
  animation-name: ranking-live-flash-light;
}

@keyframes ranking-live-flash-light {
  0% {
    color: #0f172a;
    background: rgba(34, 197, 94, 0.22);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.24);
  }
  45% {
    background: rgba(34, 197, 94, 0.12);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ranking-page .ranking-table__rank.is-live-updated,
  .ranking-page .ranking-live-value.is-live-updated,
  .ranking-page .ranking-live-change.is-live-updated {
    animation: none;
  }
}

.ranking-page .ranking-table__links {
  width: 100%;
  justify-content: flex-end;
}

.ranking-page .ranking-table__links .is-disabled,
.ranking-page .ranking-table__links a {
  min-width: 74px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #d1d5db;
  background: #1b2028;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .ranking-page .ranking-table {
    min-width: 1180px;
  }
}

/* Ranking change color: plus green, minus red */
.ranking-page .ranking-live-change.is-up {
  color: #22c55e;
}

.ranking-page .ranking-live-change.is-down {
  color: #ef4444;
}

/* Ranking table metrics without detail column */
.ranking-page .ranking-table__row {
  grid-template-columns: 72px minmax(220px, 1.2fr) 150px 92px 92px 92px 160px 160px;
}

.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__row > :nth-child(3),
.ranking-page .ranking-table__row > :nth-child(4),
.ranking-page .ranking-table__row > :nth-child(5),
.ranking-page .ranking-table__row > :nth-child(6),
.ranking-page .ranking-table__row > :nth-child(7),
.ranking-page .ranking-table__row > :nth-child(8) {
  text-align: right;
  justify-self: end;
}

.ranking-page .ranking-table__row--head > :nth-child(1),
.ranking-page .ranking-table__row--head > :nth-child(3),
.ranking-page .ranking-table__row--head > :nth-child(4),
.ranking-page .ranking-table__row--head > :nth-child(5),
.ranking-page .ranking-table__row--head > :nth-child(6),
.ranking-page .ranking-table__row--head > :nth-child(7),
.ranking-page .ranking-table__row--head > :nth-child(8) {
  text-align: right;
  justify-self: end;
}

@media (max-width: 980px) {
  .ranking-page .ranking-table {
    min-width: 1220px;
  }
}

/* Ranking rank column center align */
.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__row--head > :nth-child(1),
.ranking-page .ranking-table__rank {
  text-align: center;
  justify-self: center;
}

/* Ranking table edge column balance */
.ranking-page .ranking-table__row {
  padding-left: 14px;
  padding-right: 28px;
}

.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__row--head > :nth-child(1),
.ranking-page .ranking-table__rank {
  justify-self: start;
  width: 100%;
  text-align: center;
}

.ranking-page .ranking-table__row > :nth-child(8),
.ranking-page .ranking-table__row--head > :nth-child(8) {
  justify-self: center;
  text-align: center;
}

/* Ranking load more button */
.ranking-page .ranking-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.ranking-page .ranking-more-btn {
  min-width: 132px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #f8fafc;
  background: #2b3038;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ranking-page .ranking-more-btn:hover:not(:disabled) {
  background: #3a404a;
}

.ranking-page .ranking-more-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Prevent browser scroll anchoring on ranking load-more */
.ranking-page .ranking-table,
.ranking-page .ranking-table__body,
.ranking-page .ranking-more-wrap {
  overflow-anchor: none;
}

/* Mobile optimization pass */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  main {
    width: 100%;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .picks-nav {
    overflow: hidden;
  }

  .picks-nav__container {
    max-width: 100%;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .picks-menu {
    min-width: 0;
    margin-left: auto;
    padding-bottom: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .picks-menu::-webkit-scrollbar {
    display: none;
  }

  .picks-menu > li {
    flex: 0 0 auto;
  }

  .hero,
  .error-hero {
    width: 100%;
    min-height: auto;
    border-radius: 18px;
  }

  .hero__text,
  .error-hero__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .error-hero h1,
  .ranking-head h1,
  .ranking-head h2,
  .policy-page main > h1 {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero__subtitle,
  .ranking-head p,
  .policy-page main > p,
  .policy-page main > li,
  .policy-page main > ul,
  .ranking-detail p {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-search {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .hero__quick-links,
  .ranking-links,
  .search-modal__keywords {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero__quick-links::-webkit-scrollbar,
  .ranking-links::-webkit-scrollbar,
  .search-modal__keywords::-webkit-scrollbar {
    display: none;
  }

  .hero__quick-links a,
  .ranking-links a,
  .search-modal__keywords a {
    flex: 0 0 auto;
  }

  .policy-page main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .policy-page main > h1,
  .policy-page main > h2,
  .policy-page main > p,
  .policy-page main > ul {
    max-width: 100%;
  }

  .picks-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .picks-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ranking-page .coin-ranking,
  .ranking-page .ranking-board {
    width: 100%;
    max-width: 100%;
  }

  .ranking-page .ranking-head {
    margin-bottom: 18px;
    text-align: left;
  }

  .ranking-page .ranking-head h1,
  .ranking-page .ranking-head h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.16;
  }

  .ranking-page .ranking-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .ranking-page .ranking-board__top--share-only {
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
  }

  .ranking-page .ranking-live-status {
    min-width: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .ranking-share-btn {
    min-width: 76px;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ranking-page .ranking-table {
    display: grid;
    min-width: 0;
    overflow: visible;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ranking-page .ranking-table__row--head {
    display: none;
  }

  .ranking-page .ranking-table__body {
    gap: 10px;
  }

  .ranking-page .ranking-table__row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(86px, auto);
    gap: 8px 10px;
    min-height: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #14171d;
  }

  html[data-theme="light"] .ranking-page .ranking-table__row {
    border-color: rgba(15, 23, 42, 0.09);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  }

  .ranking-page .ranking-table__rank {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #f8fafc;
    background: #2b3038;
    font-size: 13px;
  }

  html[data-theme="light"] .ranking-page .ranking-table__rank {
    color: #0f172a;
    background: #f1f5f9;
  }

  .ranking-page .ranking-table__coin {
    grid-column: 2 / 4;
    grid-row: 1;
    gap: 10px;
    min-width: 0;
  }

  .ranking-page .ranking-table__coin img {
    width: 34px;
    height: 34px;
  }

  .ranking-page .ranking-table__coin strong {
    max-width: 100%;
    font-size: 15px;
  }

  .ranking-page .ranking-table__coin em {
    font-size: 11px;
  }

  .ranking-page .ranking-table__row > [data-label] {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    text-align: right;
    justify-self: stretch;
  }

  html[data-theme="light"] .ranking-page .ranking-table__row > [data-label] {
    background: #f8fafc;
  }

  .ranking-page .ranking-table__row > [data-label]::before {
    content: attr(data-label);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-align: left;
  }

  html[data-theme="light"] .ranking-page .ranking-table__row > [data-label]::before {
    color: #64748b;
  }

  .ranking-page .ranking-table__row > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .ranking-page .ranking-table__row > :nth-child(4),
  .ranking-page .ranking-table__row > :nth-child(5),
  .ranking-page .ranking-table__row > :nth-child(6) {
    grid-column: auto;
  }

  .ranking-page .ranking-table__row > :nth-child(7),
  .ranking-page .ranking-table__row > :nth-child(8) {
    grid-column: 1 / -1;
  }

  .ranking-page .ranking-live-value,
  .ranking-page .ranking-live-change {
    font-size: 13px;
  }

  .ranking-page .ranking-more-wrap {
    margin-top: 14px;
  }

  .ranking-page .ranking-more-btn {
    width: 100%;
    max-width: 260px;
  }

  .share-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .share-modal__panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    border-radius: 20px;
  }

  .share-modal__head {
    padding: 18px;
  }

  .share-modal h2 {
    font-size: 20px;
  }

  .share-modal__body {
    padding: 20px 18px 22px;
  }

  .share-modal__body p {
    font-size: 17px;
  }

  .share-modal__services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 22px;
  }

  .share-modal__service {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    min-height: 50px;
  }

  .share-modal__service-icon {
    width: 28px;
    height: 28px;
  }

  .share-modal__service--kakao .share-modal__service-icon {
    width: 34px;
    height: 34px;
  }

  .share-modal__copy {
    height: auto;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .share-modal__copy input {
    min-height: 40px;
    font-size: 15px;
  }

  .share-modal__copy button {
    width: 100%;
    min-height: 42px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .picks-logo__image {
    width: 108px;
  }

  .picks-menu > li > a {
    padding: 7px 7px;
    font-size: 12px;
  }

  .hero__text {
    padding: 24px 12px;
  }

  .hero h1 {
    font-size: clamp(28px, 10vw, 36px);
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .ranking-page .ranking-table__row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
  }

  .ranking-page .ranking-table__coin {
    grid-column: 2;
  }

  .ranking-page .ranking-table__row > [data-label] {
    grid-column: 1 / -1 !important;
  }

  .picks-footer__inner {
    grid-template-columns: 1fr;
  }

  .picks-footer__col {
    min-width: 100%;
  }
}

/* Mobile header: hamburger + language selector */
.picks-mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-soft);
  cursor: pointer;
}

.picks-mobile-menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

body.is-mobile-menu-open .picks-mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.is-mobile-menu-open .picks-mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.is-mobile-menu-open .picks-mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .picks-nav {
    overflow: visible;
  }

  .picks-nav__container {
    gap: 8px;
  }

  .picks-logo {
    margin-right: auto;
  }

  .picks-mobile-menu-toggle {
    display: inline-flex;
    order: 2;
    flex: 0 0 auto;
  }

  .picks-nav__actions {
    display: flex;
    order: 3;
    gap: 6px;
    flex: 0 0 auto;
  }

  .picks-nav__actions .search-toggle,
  .picks-nav__actions .theme-toggle {
    display: none;
  }

  .picks-lang {
    min-width: 42px;
    width: 42px;
    height: 38px;
    padding: 0;
  }

  .picks-lang > span:not(.picks-lang__flag):not(.picks-lang__caret) {
    display: none;
  }

  .picks-lang__caret {
    display: none;
  }

  .picks-lang-menu {
    position: fixed;
    top: 62px;
    right: max(12px, env(safe-area-inset-right));
    width: min(240px, calc(100vw - 24px));
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    border-radius: 14px;
  }

  .picks-menu {
    position: fixed;
    top: 62px;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    z-index: 1001;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
    overflow: visible;
  }

  body.is-mobile-menu-open .picks-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .picks-menu > li,
  .picks-menu > li > a {
    width: 100%;
  }

  .picks-menu > li > a {
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--surface-soft);
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .picks-mobile-menu-toggle,
  .picks-lang {
    width: 36px;
    height: 36px;
  }

  .picks-lang__flag {
    width: 20px;
    height: 14px;
  }
}

/* Ranking simplified table: rank, coin, price, market cap */
.ranking-page .ranking-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #070d18;
}

.ranking-page .ranking-table__row,
.ranking-page .ranking-table__row:not(.ranking-table__row--head),
.ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  grid-template-columns: 58px minmax(0, 1fr) minmax(120px, 0.52fr) minmax(130px, 0.55fr);
  column-gap: 18px;
  min-height: 76px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #070d18;
}

.ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #0c1424;
}

.ranking-page .ranking-table__row--head {
  min-height: 56px;
  color: #9ca3af;
  background: #252c3a;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__row--head > :nth-child(1),
.ranking-page .ranking-table__rank {
  justify-self: center;
  width: auto;
  color: #f8fafc;
  text-align: center;
}

.ranking-page .ranking-table__row > :nth-child(3),
.ranking-page .ranking-table__row > :nth-child(4),
.ranking-page .ranking-table__row--head > :nth-child(3),
.ranking-page .ranking-table__row--head > :nth-child(4) {
  justify-self: end;
  text-align: right;
}

.ranking-page .ranking-table__coin {
  gap: 14px;
}

.ranking-page .ranking-table__coin img {
  width: 36px;
  height: 36px;
}

.ranking-page .ranking-table__coin strong {
  color: #f8fafc;
  font-size: 17px;
  font-weight: 700;
}

.ranking-page .ranking-table__coin em {
  color: #64748b;
  font-size: 11px;
}

.ranking-page .ranking-live-value {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 600;
}

html[data-theme="light"] .ranking-page .ranking-table {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

html[data-theme="light"] .ranking-page .ranking-table__row,
html[data-theme="light"] .ranking-page .ranking-table__row:not(.ranking-table__row--head),
html[data-theme="light"] .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

html[data-theme="light"] .ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #f8fafc;
}

html[data-theme="light"] .ranking-page .ranking-table__row--head {
  color: #64748b;
  background: #f1f5f9;
}

html[data-theme="light"] .ranking-page .ranking-table__rank,
html[data-theme="light"] .ranking-page .ranking-table__coin strong,
html[data-theme="light"] .ranking-page .ranking-live-value {
  color: #0f172a;
}

@media (max-width: 980px) {
  .ranking-page .ranking-table {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .ranking-page .ranking-table {
    display: grid;
    overflow: hidden;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #070d18;
  }

  .ranking-page .ranking-table__row--head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) minmax(84px, auto) minmax(88px, auto);
    min-height: 48px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ranking-page .ranking-table__body {
    gap: 0;
  }

  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) minmax(84px, auto) minmax(88px, auto);
    gap: 8px;
    min-height: 64px;
    padding: 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    background: #070d18;
    box-shadow: none;
  }

  .ranking-page .ranking-table__body .ranking-table__row:last-child {
    border-bottom: 0;
  }

  .ranking-page .ranking-table__rank {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    display: block;
    border-radius: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 700;
  }

  .ranking-page .ranking-table__coin {
    grid-column: auto;
    grid-row: auto;
    gap: 10px;
  }

  .ranking-page .ranking-table__coin img {
    width: 30px;
    height: 30px;
  }

  .ranking-page .ranking-table__coin strong {
    font-size: 15px;
  }

  .ranking-page .ranking-table__coin em {
    display: none;
  }

  .ranking-page .ranking-table__row > [data-label] {
    min-height: 0;
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    text-align: right;
  }

  .ranking-page .ranking-table__row > [data-label]::before {
    display: none;
  }

  .ranking-page .ranking-table__row > :nth-child(3),
  .ranking-page .ranking-table__row > :nth-child(4) {
    grid-column: auto;
  }

  .ranking-page .ranking-live-value {
    font-size: 14px;
  }

  html[data-theme="light"] .ranking-page .ranking-table,
  html[data-theme="light"] .ranking-page .ranking-table__row,
  html[data-theme="light"] .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  html[data-theme="light"] .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
    border-color: rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: none;
  }

  html[data-theme="light"] .ranking-page .ranking-table__rank {
    background: transparent;
  }
}

@media (max-width: 420px) {
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
    grid-template-columns: 30px minmax(92px, 1fr) minmax(76px, auto) minmax(76px, auto);
    gap: 7px;
    padding: 0 10px;
  }

  .ranking-page .ranking-table__coin img {
    width: 28px;
    height: 28px;
  }

  .ranking-page .ranking-table__coin strong,
  .ranking-page .ranking-live-value {
    font-size: 13px;
  }
}

/* Ranking motif UX refinement */
.ranking-page .ranking-board {
  border-radius: 22px;
}

.ranking-page .ranking-table {
  overflow: hidden;
  border: 1px solid #1b2433;
  border-radius: 22px;
  background: #050b16;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.ranking-page .ranking-table__row,
.ranking-page .ranking-table__row:not(.ranking-table__row--head),
.ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  grid-template-columns: 58px minmax(0, 1fr) minmax(130px, 0.56fr) minmax(132px, 0.56fr);
  gap: 20px;
  min-height: 84px;
  padding: 0 28px;
  border-bottom: 1px solid #172131;
  background: #050b16;
}

.ranking-page .ranking-table__body .ranking-table__row:last-child {
  border-bottom: 0;
}

.ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #08111f;
}

.ranking-page .ranking-table__row--head,
.ranking-page .ranking-table__row.ranking-table__row--head {
  min-height: 64px;
  color: #a6afbd;
  background: #28313f;
  border-bottom: 1px solid #172131;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.ranking-page .ranking-table__row--head > * {
  color: inherit;
}

.ranking-page .ranking-table__rank,
.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__row--head > :nth-child(1) {
  justify-self: start;
  width: auto;
  color: #f8fafc;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
}

.ranking-page .ranking-table__row--head > :nth-child(1) {
  color: #a6afbd;
  font-weight: 600;
}

.ranking-page .ranking-table__coin {
  gap: 16px;
}

.ranking-page .ranking-table__coin img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.ranking-page .ranking-table__coin strong {
  color: #f8fafc;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.ranking-page .ranking-table__coin em {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ranking-page .ranking-live-value {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.ranking-page .ranking-table__row > :nth-child(3),
.ranking-page .ranking-table__row > :nth-child(4),
.ranking-page .ranking-table__row--head > :nth-child(3),
.ranking-page .ranking-table__row--head > :nth-child(4) {
  justify-self: end;
  text-align: right;
}

html[data-theme="light"] .ranking-page .ranking-table {
  border-color: #d9e2ef;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .ranking-page .ranking-table__row,
html[data-theme="light"] .ranking-page .ranking-table__row:not(.ranking-table__row--head),
html[data-theme="light"] .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
  border-bottom-color: #e5edf7;
  background: #ffffff;
}

html[data-theme="light"] .ranking-page .ranking-table__row:hover:not(.ranking-table__row--head) {
  background: #f8fafc;
}

html[data-theme="light"] .ranking-page .ranking-table__row--head,
html[data-theme="light"] .ranking-page .ranking-table__row.ranking-table__row--head {
  color: #657286;
  background: #eef3f9;
  border-bottom-color: #d9e2ef;
}

html[data-theme="light"] .ranking-page .ranking-table__rank,
html[data-theme="light"] .ranking-page .ranking-table__coin strong,
html[data-theme="light"] .ranking-page .ranking-live-value {
  color: #0f172a;
}

@media (max-width: 640px) {
  .ranking-page .ranking-board {
    margin-top: 18px;
  }

  .ranking-page .ranking-table {
    border-radius: 18px;
    background: #050b16;
  }

  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    display: grid;
    grid-template-columns: 36px minmax(104px, 1fr) minmax(78px, auto) minmax(78px, auto);
    gap: 8px;
    min-height: 58px;
    padding: 0 18px;
    color: #a6afbd;
    background: #28313f;
    font-size: 16px;
    font-weight: 600;
  }

  .ranking-page .ranking-table__body {
    gap: 0;
  }

  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
    display: grid;
    grid-template-columns: 36px minmax(104px, 1fr) minmax(78px, auto) minmax(78px, auto);
    gap: 8px;
    min-height: 84px;
    padding: 0 18px;
    border: 0;
    border-bottom: 1px solid #172131;
    border-radius: 0;
    background: #050b16;
    box-shadow: none;
  }

  .ranking-page .ranking-table__rank,
  .ranking-page .ranking-table__row > :nth-child(1) {
    justify-self: start;
    color: #f8fafc;
    font-size: 17px;
    font-weight: 800;
    text-align: left;
  }

  .ranking-page .ranking-table__row--head > :nth-child(1) {
    justify-self: start;
    color: #a6afbd;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
  }

  .ranking-page .ranking-table__coin {
    gap: 12px;
    min-width: 0;
  }

  .ranking-page .ranking-table__coin img {
    width: 38px;
    height: 38px;
  }

  .ranking-page .ranking-table__coin strong {
    max-width: 100%;
    overflow: hidden;
    color: #f8fafc;
    font-size: 17px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ranking-page .ranking-table__coin em {
    display: none;
  }

  .ranking-page .ranking-table__row > [data-label] {
    display: block;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-align: right;
  }

  .ranking-page .ranking-table__row > [data-label]::before {
    display: none;
  }

  .ranking-page .ranking-live-value {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  .ranking-page .ranking-table__row > :nth-child(3),
  .ranking-page .ranking-table__row > :nth-child(4),
  .ranking-page .ranking-table__row--head > :nth-child(3),
  .ranking-page .ranking-table__row--head > :nth-child(4) {
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 420px) {
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head,
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
    grid-template-columns: 32px minmax(88px, 1fr) minmax(74px, auto) minmax(74px, auto);
    gap: 7px;
    padding: 0 14px;
  }

  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    font-size: 14px;
  }

  .ranking-page .ranking-table__coin img {
    width: 34px;
    height: 34px;
  }

  .ranking-page .ranking-table__coin strong,
  .ranking-page .ranking-table__rank,
  .ranking-page .ranking-live-value {
    font-size: 14px;
  }
}

/* Ranking motif strict mobile table override */
@media (max-width: 640px) {
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head) {
    align-items: center !important;
    grid-template-columns: 34px minmax(128px, 1fr) minmax(86px, auto) minmax(86px, auto) !important;
    min-height: 72px !important;
    padding: 0 14px !important;
  }

  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    align-items: center !important;
    grid-template-columns: 34px minmax(128px, 1fr) minmax(86px, auto) minmax(86px, auto) !important;
    min-height: 54px !important;
    padding: 0 14px !important;
  }

  .ranking-page .ranking-table__row > [data-label] {
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: center !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #f8fafc !important;
    line-height: 1.1 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .ranking-page .ranking-table__row > [data-label]::before {
    content: none !important;
    display: none !important;
  }

  .ranking-page .ranking-table__coin {
    min-width: 0 !important;
  }

  .ranking-page .ranking-table__coin strong {
    display: block !important;
    overflow: hidden !important;
    max-width: 100% !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ranking-page .ranking-live-value {
    display: block !important;
    color: #f8fafc !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head),
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    grid-template-columns: 30px minmax(108px, 1fr) minmax(76px, auto) minmax(76px, auto) !important;
    gap: 6px !important;
    padding: 0 10px !important;
  }

  .ranking-page .ranking-live-value,
  .ranking-page .ranking-table__coin strong,
  .ranking-page .ranking-table__rank {
    font-size: 13px !important;
  }
}

/* Ranking long coin name ellipsis guard */
.ranking-page .ranking-table__coin,
.ranking-page .ranking-table__coin > span {
  min-width: 0;
}

.ranking-page .ranking-table__coin strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-page .ranking-table__row > :nth-child(3),
.ranking-page .ranking-table__row > :nth-child(4) {
  min-width: max-content;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head),
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    grid-template-columns: 30px minmax(0, 1fr) minmax(78px, max-content) minmax(74px, max-content) !important;
  }

  .ranking-page .ranking-table__coin {
    overflow: hidden !important;
  }

  .ranking-page .ranking-table__coin > span {
    overflow: hidden !important;
  }

  .ranking-page .ranking-table__coin strong {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head),
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    grid-template-columns: 26px minmax(0, 1fr) minmax(70px, max-content) minmax(68px, max-content) !important;
  }
}

/* Desktop restores full ranking metrics; mobile keeps simplified motif view */
@media (min-width: 641px) {
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head),
  .ranking-page .ranking-table__row.ranking-table__row--head {
    grid-template-columns: 68px minmax(190px, 1.1fr) 120px 86px 86px 86px 140px 140px !important;
  }

  .ranking-page .ranking-table__row > :nth-child(3),
  .ranking-page .ranking-table__row > :nth-child(4),
  .ranking-page .ranking-table__row > :nth-child(5),
  .ranking-page .ranking-table__row > :nth-child(6),
  .ranking-page .ranking-table__row > :nth-child(7),
  .ranking-page .ranking-table__row > :nth-child(8),
  .ranking-page .ranking-table__row--head > :nth-child(3),
  .ranking-page .ranking-table__row--head > :nth-child(4),
  .ranking-page .ranking-table__row--head > :nth-child(5),
  .ranking-page .ranking-table__row--head > :nth-child(6),
  .ranking-page .ranking-table__row--head > :nth-child(7),
  .ranking-page .ranking-table__row--head > :nth-child(8) {
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .ranking-page .ranking-table__row > :nth-child(4),
  .ranking-page .ranking-table__row > :nth-child(5),
  .ranking-page .ranking-table__row > :nth-child(6),
  .ranking-page .ranking-table__row > :nth-child(8),
  .ranking-page .ranking-table__row--head > :nth-child(4),
  .ranking-page .ranking-table__row--head > :nth-child(5),
  .ranking-page .ranking-table__row--head > :nth-child(6),
  .ranking-page .ranking-table__row--head > :nth-child(8) {
    display: none !important;
  }

  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head),
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    grid-template-columns: 30px minmax(0, 1fr) minmax(78px, max-content) minmax(74px, max-content) !important;
  }

  .ranking-page .ranking-table__row > :nth-child(7),
  .ranking-page .ranking-table__row--head > :nth-child(7) {
    grid-column: 4 !important;
    justify-self: end !important;
    text-align: right !important;
  }

  .ranking-page .ranking-table__row--head > :nth-child(7)::before {
    content: none !important;
  }
}

@media (max-width: 420px) {
  .ranking-page .ranking-table__row,
  .ranking-page .ranking-table__row:not(.ranking-table__row--head),
  .ranking-page .ranking-table__row:nth-child(even):not(.ranking-table__row--head),
  .ranking-page .ranking-table__row--head,
  .ranking-page .ranking-table__row.ranking-table__row--head {
    grid-template-columns: 26px minmax(0, 1fr) minmax(70px, max-content) minmax(68px, max-content) !important;
  }
}

/* Coin detail pages */
.coin-detail-page main {
  background:
    radial-gradient(circle at 18% 10%, rgba(239, 68, 68, 0.14), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(245, 158, 11, 0.16), transparent 34%);
}

.coin-detail {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 34px 38px 92px;
}

.coin-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(15, 23, 42, 0.66);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.coin-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 18%, rgba(245, 158, 11, 0.22), transparent 26%),
    linear-gradient(120deg, transparent 0 52%, rgba(255, 255, 255, 0.05) 52% 100%);
}

.coin-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.coin-breadcrumb a {
  color: var(--text-light);
}

.coin-breadcrumb span:last-child {
  color: var(--text);
}

.coin-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 54px;
}

.coin-hero__identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.coin-hero__logo,
.coin-hero__orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  background: linear-gradient(145deg, #fbbf24, #f59e0b 58%, #d97706);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.coin-hero__logo {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  font-size: 48px;
  font-weight: 900;
}

.coin-hero__eyebrow,
.coin-section__eyebrow {
  color: #fbbf24;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coin-hero h1 {
  color: var(--text);
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.coin-hero__lead {
  max-width: 760px;
  color: var(--text-light);
  font-size: 20px;
  line-height: 1.78;
  letter-spacing: -0.035em;
}

.coin-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.coin-hero__tags a,
.coin-hero__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
  font-weight: 800;
}

.coin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.coin-hero__primary,
.coin-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.coin-hero__primary {
  color: #111827;
  background: #fbbf24;
}

.coin-hero__secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.coin-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(8, 13, 24, 0.62);
  backdrop-filter: blur(14px);
}

.coin-hero__orb {
  grid-column: 1 / -1;
  width: 170px;
  height: 170px;
  margin: 6px auto 18px;
  border-radius: 48px;
  font-size: 104px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.coin-stat {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.coin-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.coin-stat strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.coin-stat--main strong {
  color: #fbbf24;
}

.coin-section {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card-bg);
}

.coin-section--summary {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
}

.coin-section h2 {
  color: var(--text);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.coin-section p,
.coin-check-list {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: -0.028em;
}

.coin-section__head {
  margin-bottom: 22px;
}

.coin-feature-grid,
.coin-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.coin-feature-card,
.coin-link-grid a {
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-soft);
}

.coin-feature-card strong,
.coin-link-grid strong {
  display: block;
  color: var(--text);
  font-size: 19px;
  letter-spacing: -0.04em;
}

.coin-feature-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.coin-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coin-link-grid a {
  min-height: 118px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.coin-link-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(251, 191, 36, 0.08);
  opacity: 1;
}

.coin-link-grid span {
  display: block;
  margin-bottom: 10px;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 900;
}

.coin-section--notice {
  border-color: rgba(251, 191, 36, 0.2);
}

.coin-check-list {
  padding-left: 20px;
}

.coin-check-list li + li {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .coin-detail {
    padding: 22px 18px 72px;
  }

  .coin-hero {
    padding: 22px;
    border-radius: 26px;
  }

  .coin-hero__grid,
  .coin-section--summary {
    grid-template-columns: 1fr;
  }

  .coin-hero__visual {
    max-width: 520px;
  }

  .coin-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .coin-detail {
    padding-inline: 14px;
  }

  .coin-hero {
    min-height: auto;
    padding: 18px;
  }

  .coin-breadcrumb {
    margin-bottom: 28px;
    font-size: 13px;
  }

  .coin-hero__identity {
    align-items: flex-start;
    gap: 14px;
  }

  .coin-hero__logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 34px;
  }

  .coin-hero h1 {
    font-size: 44px;
  }

  .coin-hero__lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .coin-hero__actions,
  .coin-hero__actions a {
    width: 100%;
  }

  .coin-hero__visual,
  .coin-feature-grid,
  .coin-link-grid {
    grid-template-columns: 1fr;
  }

  .coin-hero__orb {
    width: 132px;
    height: 132px;
    border-radius: 36px;
    font-size: 82px;
  }

  .coin-section {
    padding: 24px;
    border-radius: 22px;
  }
}

/* Coin detail clean hero override */
.coin-detail-page main {
  min-height: calc(100vh - 76px);
  background: var(--bg);
}

.coin-detail--hero-only {
  max-width: 1180px;
  min-height: calc(100vh - 76px - 70px);
  display: flex;
  align-items: center;
  padding: 48px 28px 84px;
}

.coin-hero--minimal {
  width: 100%;
  min-height: 430px;
  padding: 34px 42px 48px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.coin-hero--minimal::before {
  content: '';
  position: absolute;
  right: 3%;
  top: 18%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05) 42%, transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.coin-hero--minimal .coin-breadcrumb {
  margin-bottom: 74px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.coin-hero--minimal .coin-breadcrumb a {
  color: var(--text-light);
}

.coin-hero--minimal .coin-breadcrumb span:last-child {
  color: var(--text);
}

.coin-hero__minimal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 72px;
}

.coin-hero__brand-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.coin-hero--minimal .coin-hero__logo {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  color: #111827;
  font-size: 44px;
  font-weight: 950;
  background: linear-gradient(145deg, #fcd34d, #f59e0b);
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.24);
}

.coin-hero--minimal .coin-hero__eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.coin-hero--minimal h1 {
  color: var(--text);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.coin-hero--minimal .coin-hero__lead {
  max-width: 720px;
  color: var(--text-light);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: -0.04em;
}

.coin-hero--minimal .coin-hero__tags {
  margin-top: 30px;
  gap: 8px;
}

.coin-hero--minimal .coin-hero__tags span {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-light);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 700;
}

.coin-hero__side {
  position: relative;
  padding-bottom: 8px;
}

.coin-hero__side dl {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.coin-hero__side div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.coin-hero__side dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.coin-hero__side dd {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

@media (max-width: 860px) {
  .coin-detail--hero-only {
    align-items: flex-start;
    padding: 28px 18px 70px;
  }

  .coin-hero--minimal {
    padding: 22px 4px 34px;
  }

  .coin-hero--minimal .coin-breadcrumb {
    margin-bottom: 54px;
  }

  .coin-hero__minimal-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .coin-hero__side {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .coin-hero__brand-row {
    gap: 14px;
  }

  .coin-hero--minimal .coin-hero__logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 34px;
  }

  .coin-hero--minimal h1 {
    font-size: 52px;
  }

  .coin-hero--minimal .coin-hero__lead {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* Coin detail motif-like top hero override */
.coin-detail-page main {
  min-height: calc(100vh - 76px);
  background: var(--bg);
}

.coin-detail--hero-only {
  max-width: var(--max-width);
  min-height: 0;
  display: block;
  padding: 34px 38px 88px;
}

.coin-hero--minimal {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.coin-hero--minimal::before {
  content: none;
}

.coin-hero--minimal .coin-breadcrumb {
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.coin-hero--minimal .coin-breadcrumb a {
  color: var(--text-light);
}

.coin-hero--minimal .coin-breadcrumb span:last-child {
  color: var(--text);
}

.coin-hero__minimal-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 56px;
}

.coin-hero__content {
  min-width: 0;
}

.coin-hero__brand-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin: 0 0 26px;
}

.coin-hero--minimal .coin-hero__logo {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  color: #16181d;
  font-size: 52px;
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(145deg, #fcd34d 0%, #f59e0b 62%, #d97706 100%);
  box-shadow: none;
}

.coin-hero--minimal .coin-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-transform: none;
}

.coin-hero--minimal h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(54px, 7.2vw, 98px);
  font-weight: 880;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.coin-hero--minimal .coin-hero__lead {
  max-width: 790px;
  margin: 0;
  color: var(--text-light);
  font-size: 20px;
  font-weight: 450;
  line-height: 1.82;
  letter-spacing: -0.04em;
}

.coin-hero--minimal .coin-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.coin-hero--minimal .coin-hero__tags span {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-light);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 750;
}

.coin-hero__side {
  align-self: start;
  min-height: 252px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 18%, rgba(245, 158, 11, 0.22), transparent 42%),
    var(--card-bg);
}

.coin-hero__side::before {
  content: '₿';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  margin: 0 auto 24px;
  border-radius: 30px;
  color: #16181d;
  background: linear-gradient(145deg, #fcd34d, #f59e0b);
  font-size: 74px;
  font-weight: 950;
  line-height: 1;
}

.coin-hero__side dl {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.coin-hero__side div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.coin-hero__side dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.coin-hero__side dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

@media (max-width: 980px) {
  .coin-detail--hero-only {
    padding: 26px 20px 72px;
  }

  .coin-hero__minimal-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .coin-hero__side {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .coin-detail--hero-only {
    padding: 22px 16px 64px;
  }

  .coin-hero--minimal .coin-breadcrumb {
    margin-bottom: 28px;
    font-size: 13px;
  }

  .coin-hero__brand-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
  }

  .coin-hero--minimal .coin-hero__logo {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 38px;
  }

  .coin-hero--minimal h1 {
    font-size: 52px;
  }

  .coin-hero--minimal .coin-hero__lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .coin-hero__side {
    padding: 22px;
    border-radius: 22px;
  }
}

/* Coin detail typography size tuning */
.coin-hero--minimal h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  letter-spacing: -0.065em;
}

.coin-hero--minimal .coin-hero__lead {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.72;
}

.coin-hero--minimal .coin-hero__eyebrow {
  font-size: 13px;
}

.coin-hero--minimal .coin-hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 19px;
  font-size: 44px;
}

.coin-hero__brand-row {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.coin-hero--minimal .coin-hero__tags span {
  min-height: 31px;
  padding: 6px 11px;
  font-size: 12px;
}

.coin-hero__side dd {
  font-size: 14px;
}

@media (max-width: 560px) {
  .coin-hero--minimal h1 {
    font-size: 42px;
  }

  .coin-hero--minimal .coin-hero__lead {
    font-size: 15px;
  }
}

/* Bitcoin hero logo/text alignment fix */
.coin-hero__brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.coin-hero--minimal .coin-hero__logo {
  flex: 0 0 auto;
  transform: translateY(1px);
}

.coin-hero__brand-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.coin-hero--minimal .coin-hero__eyebrow {
  margin-bottom: 6px;
  line-height: 1.1;
}

.coin-hero--minimal h1 {
  line-height: 0.96;
}

@media (max-width: 560px) {
  .coin-hero__brand-row {
    align-items: center;
    gap: 13px;
  }
}

/* Coin detail motif typography reset - cleaner product-directory feel */
.coin-detail--hero-only {
  max-width: 1180px;
  padding: 32px 32px 80px;
}

.coin-hero--minimal .coin-breadcrumb {
  margin-bottom: 28px;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.coin-hero__minimal-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.coin-hero__brand-row {
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.coin-hero--minimal .coin-hero__logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  font-size: 34px;
  font-weight: 800;
  box-shadow: none;
  transform: none;
}

.coin-hero--minimal .coin-hero__eyebrow {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

.coin-hero--minimal h1 {
  color: var(--text);
  font-size: 38px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: -0.02em;
}

.coin-hero--minimal .coin-hero__lead {
  max-width: 680px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

.coin-hero--minimal .coin-hero__tags {
  margin-top: 20px;
  gap: 8px;
}

.coin-hero--minimal .coin-hero__tags span {
  min-height: 30px;
  padding: 5px 11px;
  border-color: var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.coin-hero__side {
  min-height: auto;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--card-bg);
}

.coin-hero__side::before {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 46px;
  font-weight: 800;
}

.coin-hero__side div {
  padding: 11px 0;
}

.coin-hero__side dt {
  font-size: 13px;
  font-weight: 400;
}

.coin-hero__side dd {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .coin-detail--hero-only {
    padding: 26px 20px 72px;
  }

  .coin-hero__minimal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .coin-detail--hero-only {
    padding: 22px 16px 64px;
  }

  .coin-hero--minimal h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .coin-hero--minimal .coin-hero__lead {
    font-size: 15px;
    line-height: 24px;
  }

  .coin-hero--minimal .coin-hero__logo {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    font-size: 31px;
  }
}

/* Navigation aligned to ranking table layout width */
.picks-nav__container {
  width: min(1320px, calc(100% - 28px));
  max-width: 1320px;
  height: 64px;
  padding: 0;
}

.picks-nav {
  background: rgba(20, 23, 29, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.picks-logo__image {
  width: 150px;
  max-height: 40px;
}

.picks-menu {
  justify-content: flex-start;
  gap: 2px;
}

.picks-menu > li > a {
  min-height: 36px;
  padding: 8px 12px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 8px;
}

.picks-menu > li > a:hover,
.picks-menu > li:hover > a {
  color: #f8fafc;
  background: #2b3038;
  transform: none;
  opacity: 1;
}

.picks-icon-btn,
.picks-lang {
  height: 34px;
  border-color: rgba(255, 255, 255, 0.09);
  background: #1b2028;
  color: #cbd5e1;
  font-size: 13px;
}

.picks-icon-btn {
  width: 34px;
}

.picks-lang {
  min-width: 112px;
  padding: 0 11px;
}

body {
  padding-top: 64px;
}

@media (max-width: 1180px) {
  .picks-nav__container {
    width: calc(100% - 28px);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .picks-nav__container {
    width: calc(100% - 24px);
    height: 56px;
    padding: 0;
  }

  body {
    padding-top: 56px;
  }

  .picks-logo__image {
    width: 130px;
  }
}

/* Coin detail aligned to ranking/nav layout width */
.coin-detail--hero-only {
  width: min(1320px, calc(100% - 28px));
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 0 80px;
}

.coin-hero__minimal-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
}

.coin-hero--minimal .coin-breadcrumb {
  margin-bottom: 26px;
}

@media (max-width: 980px) {
  .coin-detail--hero-only {
    width: calc(100% - 28px);
    padding: 26px 0 72px;
  }
}

@media (max-width: 768px) {
  .coin-detail--hero-only {
    width: calc(100% - 24px);
  }
}

/* Coin detail right image placeholder */
.coin-hero__minimal-grid {
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
}

.coin-hero__media {
  width: 100%;
}

.coin-hero__media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 38%, rgba(245, 158, 11, 0.24), transparent 33%),
    linear-gradient(135deg, #111827 0%, #0b1220 52%, #151a23 100%);
}

.coin-hero__media-frame::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.22);
  border-radius: 16px;
}

.coin-hero__media-symbol {
  position: absolute;
  left: 50%;
  top: 47%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  color: #111827;
  background: linear-gradient(145deg, #fcd34d, #f59e0b);
  font-size: 70px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.coin-hero__media-label {
  position: absolute;
  left: 50%;
  bottom: 38px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .coin-hero__minimal-grid {
    grid-template-columns: 1fr;
  }

  .coin-hero__media {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .coin-hero__media-frame {
    min-height: 240px;
    border-radius: 18px;
  }

  .coin-hero__media-symbol {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    font-size: 54px;
  }
}

/* Coin detail action/resource buttons */
.coin-hero__actions--directory {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.coin-hero__visit,
.coin-hero__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.coin-hero__visit {
  min-width: 178px;
  padding: 0 22px;
  color: #ffffff;
  background: #3b82f6;
}

.coin-hero__share {
  width: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #f8fafc;
  background: #0f172a;
  cursor: pointer;
}

.coin-hero__share svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coin-hero__visit:hover,
.coin-hero__share:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.coin-hero__share:hover {
  background: #1e293b;
}

.coin-hero__resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-top: 14px;
}

.coin-hero__resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  color: #cbd5e1;
  background: #111827;
  font-size: 13px;
  font-weight: 500;
}

.coin-hero__resource-links a:hover {
  color: #ffffff;
  background: #1e293b;
  opacity: 1;
}

html[data-theme="light"] .coin-hero__share,
html[data-theme="light"] .coin-hero__resource-links a {
  color: #111827;
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .coin-hero__resource-links a:hover,
html[data-theme="light"] .coin-hero__share:hover {
  background: #f1f5f9;
}

@media (max-width: 560px) {
  .coin-hero__visit {
    min-width: 0;
    flex: 1;
  }
}

/* Coin detail resources moved to category position */
.coin-hero__resource-links {
  margin-top: 20px;
  margin-bottom: 0;
}

.coin-hero__actions--directory {
  margin-top: 16px;
}

/* Coin logo image support */
.coin-hero__logo--image,
.coin-hero__media-symbol--image {
  background: transparent !important;
  box-shadow: none !important;
}

.coin-hero__logo--image img,
.coin-hero__media-symbol--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coin-hero__logo--image {
  padding: 0;
}

.coin-hero__media-symbol--image {
  padding: 0;
}

/* Bitcoin logo/title bottom alignment */
.coin-hero__brand-row {
  align-items: flex-end;
}

.coin-hero__brand-row > div {
  justify-content: flex-end;
}

.coin-hero--minimal .coin-hero__logo--image {
  transform: translateY(-1px);
}

.coin-hero--minimal h1 {
  line-height: 1;
}

@media (max-width: 560px) {
  .coin-hero__brand-row {
    align-items: flex-end;
  }
}

/* Coin detail official website screenshot preview */
.coin-hero__media-frame--screen {
  background: #0b1220;
}

.coin-hero__media-frame--screen::before {
  content: none;
}

.coin-hero__media-frame--screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coin-hero__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.24), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.18), transparent 34%),
    #0b1220;
}

.coin-hero__placeholder strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #f8fafc;
}

.coin-hero__placeholder span {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.95rem;
}

/* Coin detail hero image size/alignment refinement */
.coin-hero__minimal-grid {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 560px);
  align-items: start;
  gap: 64px;
}

.coin-hero__media {
  align-self: start;
  width: 100%;
  margin-top: 0;
}

.coin-hero__media-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
}

.coin-hero__media-frame--screen img {
  object-fit: contain;
  object-position: center;
}

@media (min-width: 1180px) {
  .coin-hero__content {
    padding-top: 2px;
  }
}

@media (max-width: 1180px) {
  .coin-hero__minimal-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    gap: 44px;
  }

  .coin-hero__media-frame {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 980px) {
  .coin-hero__minimal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .coin-hero__media {
    max-width: none;
  }

  .coin-hero__media-frame {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 560px) {
  .coin-hero__media-frame {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
}

/* Coin detail media vertical alignment tweak */
.coin-hero__media {
  margin-top: -18px;
}

@media (max-width: 980px) {
  .coin-hero__media {
    margin-top: 0;
  }
}

/* Coin detail media aligned from breadcrumb line to visit button line */
@media (min-width: 981px) {
  .coin-hero__media {
    margin-top: -50px;
  }

  .coin-hero__media-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
}

/* Coin detail table of contents divider */
.coin-detail__toc {
  width: min(1320px, calc(100% - 28px));
  margin: 34px auto 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.1));
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.coin-detail__toc::-webkit-scrollbar {
  display: none;
}

.coin-detail__toc a {
  flex: 0 0 auto;
  color: var(--text-muted, #64748b);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.coin-detail__toc a:hover,
.coin-detail__toc a:focus-visible {
  color: var(--text-strong, #0f172a);
}

@media (max-width: 720px) {
  .coin-detail__toc {
    margin-top: 28px;
    gap: 18px;
    padding-top: 15px;
  }

  .coin-detail__toc a {
    font-size: 13px;
  }
}

/* Coin detail visible divider + toc spacing fix */
.coin-detail__section-divider {
  width: min(1320px, calc(100% - 28px));
  height: 1px;
  margin: 34px auto 0;
  background: rgba(148, 163, 184, 0.32);
}

.coin-detail__toc {
  margin-top: 0 !important;
  padding-top: 17px;
  border-top: 0 !important;
}

html[data-theme="light"] .coin-detail__section-divider {
  background: rgba(15, 23, 42, 0.16);
}

/* Share modal favicon visibility safeguard */
.share-modal__icon {
  background: rgba(255, 255, 255, 0.08);
}

.share-modal__favicon {
  padding: 2px;
}

html[data-theme="light"] .share-modal__icon {
  background: rgba(15, 23, 42, 0.04);
}

@media (max-width: 720px) {
  .coin-detail__section-divider {
    margin-top: 28px;
  }
}

/* Coin detail toc bottom divider */
.coin-detail__toc {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.32) !important;
}

html[data-theme="light"] .coin-detail__toc {
  border-bottom-color: rgba(15, 23, 42, 0.16) !important;
}

/* Light theme navigation color fix */
html[data-theme="light"] .picks-nav {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .picks-menu > li > a,
html[data-theme="light"] .picks-icon-btn,
html[data-theme="light"] .picks-lang {
  color: #475569;
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.035);
}

html[data-theme="light"] .picks-menu > li > a {
  background: transparent;
}

html[data-theme="light"] .picks-menu > li > a:hover,
html[data-theme="light"] .picks-menu > li:hover > a {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .picks-icon-btn:hover,
html[data-theme="light"] .picks-lang:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.07);
}

/* Coin detail toc theme text color */
.coin-detail__toc a {
  color: #f8fafc !important;
}

.coin-detail__toc a:hover,
.coin-detail__toc a:focus-visible {
  color: #ffffff !important;
}

html[data-theme="light"] .coin-detail__toc a {
  color: #0f172a !important;
}

html[data-theme="light"] .coin-detail__toc a:hover,
html[data-theme="light"] .coin-detail__toc a:focus-visible {
  color: #000000 !important;
}

/* Coin detail content body */
.coin-detail__body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  margin-top: 34px;
  align-items: start;
}

.coin-detail__main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.coin-content-card,
.coin-side-card,
.coin-analysis {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.34);
}

.coin-content-card {
  padding: 26px;
}

.coin-section-label {
  margin: 0 0 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.coin-content-card h2,
.coin-side-card h2,
.coin-analysis h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.coin-content-card h2 + p,
.coin-content-card p + p {
  margin-top: 14px;
}

.coin-content-card p,
.coin-feature-list p,
.coin-use-list span,
.coin-faq-list p,
.coin-analysis__head p,
.coin-chart-card p {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: -0.02em;
}

.coin-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.coin-feature-list article {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.coin-feature-list h3,
.coin-chart-card h3,
.coin-region-card h3 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.coin-feature-list p,
.coin-chart-card p {
  margin: 0;
}

.coin-use-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.coin-use-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.coin-use-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.coin-use-list strong {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
}

.coin-faq-list {
  margin-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.coin-faq-list details {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.coin-faq-list summary {
  cursor: pointer;
  padding: 17px 0;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.coin-faq-list summary::-webkit-details-marker {
  display: none;
}

.coin-faq-list summary::after {
  content: '+';
  float: right;
  color: #94a3b8;
  font-weight: 600;
}

.coin-faq-list details[open] summary::after {
  content: '−';
}

.coin-faq-list p {
  margin: -4px 0 16px;
}

.coin-detail__side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.coin-side-card {
  padding: 20px;
}

.coin-side-card__head {
  margin-bottom: 16px;
}

.coin-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coin-related-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 3px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.coin-related-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 250, 252, 0.24);
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.coin-related-list span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #f8fafc;
  background: rgba(59, 130, 246, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.coin-related-list strong {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
}

.coin-related-list em {
  overflow: hidden;
  color: #94a3b8;
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-side-card--note ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.8;
}

.coin-analysis {
  margin-top: 34px;
  padding: 28px;
}

.coin-analysis__head {
  max-width: 720px;
}

.coin-analysis__head p:last-child {
  margin: 10px 0 0;
}

.coin-analysis__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.coin-analysis__stats article,
.coin-chart-card,
.coin-region-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.coin-analysis__stats article {
  padding: 18px;
}

.coin-analysis__stats span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.coin-analysis__stats strong {
  display: block;
  margin-top: 8px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.coin-analysis__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}

.coin-chart-card,
.coin-region-card {
  padding: 22px;
}

.coin-chart-placeholder {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 220px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.2));
}

.coin-chart-placeholder span {
  flex: 1;
  min-width: 28px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.coin-chart-card p {
  margin-top: 14px;
}

.coin-region-card ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.coin-region-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.coin-region-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.coin-region-card span {
  color: #cbd5e1;
  font-size: 14px;
}

.coin-region-card strong {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
}

html[data-theme="light"] .coin-content-card,
html[data-theme="light"] .coin-side-card,
html[data-theme="light"] .coin-analysis {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .coin-content-card h2,
html[data-theme="light"] .coin-side-card h2,
html[data-theme="light"] .coin-analysis h2,
html[data-theme="light"] .coin-feature-list h3,
html[data-theme="light"] .coin-chart-card h3,
html[data-theme="light"] .coin-region-card h3,
html[data-theme="light"] .coin-use-list strong,
html[data-theme="light"] .coin-faq-list summary,
html[data-theme="light"] .coin-related-list strong,
html[data-theme="light"] .coin-analysis__stats strong,
html[data-theme="light"] .coin-region-card strong {
  color: #0f172a;
}

html[data-theme="light"] .coin-content-card p,
html[data-theme="light"] .coin-feature-list p,
html[data-theme="light"] .coin-use-list span,
html[data-theme="light"] .coin-faq-list p,
html[data-theme="light"] .coin-analysis__head p,
html[data-theme="light"] .coin-chart-card p,
html[data-theme="light"] .coin-side-card--note ul,
html[data-theme="light"] .coin-region-card span {
  color: #475569;
}

html[data-theme="light"] .coin-section-label,
html[data-theme="light"] .coin-related-list em,
html[data-theme="light"] .coin-analysis__stats span {
  color: #64748b;
}

html[data-theme="light"] .coin-feature-list article,
html[data-theme="light"] .coin-related-list a,
html[data-theme="light"] .coin-analysis__stats article,
html[data-theme="light"] .coin-chart-card,
html[data-theme="light"] .coin-region-card {
  border-color: rgba(15, 23, 42, 0.09);
  background: #f8fafc;
}

html[data-theme="light"] .coin-chart-placeholder {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(241, 245, 249, 0.9));
}

@media (max-width: 1080px) {
  .coin-detail__body-grid,
  .coin-analysis__grid {
    grid-template-columns: 1fr;
  }

  .coin-detail__side {
    position: static;
  }

  .coin-analysis__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .coin-content-card,
  .coin-side-card,
  .coin-analysis {
    border-radius: 16px;
    padding: 20px;
  }

  .coin-feature-list,
  .coin-analysis__stats {
    grid-template-columns: 1fr;
  }

  .coin-use-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .coin-chart-placeholder {
    height: 170px;
    gap: 8px;
  }
}

/* Coin detail main content: remove separated card-box feel */
.coin-detail__main {
  gap: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.34);
  overflow: hidden;
}

.coin-detail__main .coin-content-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 30px 30px;
}

.coin-detail__main .coin-content-card + .coin-content-card {
  border-top: 1px solid rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] .coin-detail__main {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .coin-detail__main .coin-content-card + .coin-content-card {
  border-top-color: rgba(15, 23, 42, 0.09) !important;
}

@media (max-width: 680px) {
  .coin-detail__main .coin-content-card {
    padding: 22px 20px;
  }
}

/* Coin detail anchor offset for fixed nav */
.coin-detail #overview,
.coin-detail #features,
.coin-detail #use-cases,
.coin-detail #faq,
.coin-detail #market-analysis {
  scroll-margin-top: 92px;
}

@media (max-width: 768px) {
  .coin-detail #overview,
  .coin-detail #features,
  .coin-detail #use-cases,
  .coin-detail #faq,
  .coin-detail #market-analysis {
    scroll-margin-top: 78px;
  }
}

/* Coin use cases: cleaner semantic list layout */
.coin-use-list {
  gap: 0;
  margin-top: 22px;
}

.coin-use-list li {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top-color: rgba(148, 163, 184, 0.18);
}

.coin-use-list strong {
  position: relative;
  padding-left: 14px;
  line-height: 1.5;
}

.coin-use-list strong::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
}

.coin-use-list span {
  display: block;
  max-width: 760px;
}

html[data-theme="light"] .coin-use-list li {
  border-top-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .coin-use-list strong::before {
  background: #2563eb;
}

@media (max-width: 680px) {
  .coin-use-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}

/* Coin FAQ refined accordion */
.coin-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  border-top: 0;
}

.coin-faq-list details {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.coin-faq-list details[open] {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(59, 130, 246, 0.055);
}

.coin-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

.coin-faq-list summary span {
  min-width: 0;
}

.coin-faq-list summary::after {
  content: '+';
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.16);
  font-size: 16px;
  font-weight: 700;
}

.coin-faq-list details[open] summary::after {
  content: '−';
  color: #ffffff;
  background: rgba(37, 99, 235, 0.52);
}

.coin-faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.78;
}

html[data-theme="light"] .coin-faq-list details {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

html[data-theme="light"] .coin-faq-list details[open] {
  border-color: rgba(37, 99, 235, 0.22);
  background: #eff6ff;
}

html[data-theme="light"] .coin-faq-list summary {
  color: #0f172a;
}

html[data-theme="light"] .coin-faq-list summary::after {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
}

html[data-theme="light"] .coin-faq-list details[open] summary::after {
  color: #ffffff;
  background: #2563eb;
}

html[data-theme="light"] .coin-faq-list p {
  color: #475569;
}

/* Coin market analysis: MOGE-like compact analytics board */
.coin-analysis-board {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.2fr) minmax(260px, 1fr);
  gap: 28px;
  margin-top: 24px;
  padding: 24px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.coin-analysis-panel {
  min-width: 0;
  overflow: hidden;
}

.coin-analysis-panel h3 {
  margin: 0 0 18px;
  overflow: hidden;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-analysis-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
  align-items: center;
  min-height: 170px;
}

.coin-analysis-metrics div {
  min-width: 0;
  text-align: center;
}

.coin-analysis-metrics strong {
  display: block;
  overflow: hidden;
  color: #4f77f0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-analysis-metrics span {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-line-chart {
  width: 100%;
  height: 190px;
}

.coin-line-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.coin-line-chart__grid line {
  stroke: rgba(148, 163, 184, 0.18);
  stroke-dasharray: 3 3;
}

.coin-line-chart__area {
  fill: url(#bitcoinTrendFill);
}

.coin-line-chart__line {
  fill: none;
  stroke: #4f77f0;
  stroke-width: 3;
  stroke-linecap: round;
}

.coin-line-chart__labels text {
  fill: #94a3b8;
  font-size: 12px;
  text-anchor: middle;
}

.coin-line-chart__labels text:nth-last-child(-n + 2) {
  text-anchor: end;
}

.coin-analysis-panel--chart p {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.coin-donut-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
}

.coin-donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(#74b9ff 0 32%, #55efc4 32% 55%, #ffeaa7 55% 73%, #fab1a0 73% 88%, #aab8b9 88% 100%);
}

.coin-donut::after {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #151a22;
}

.coin-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 800;
}

.coin-watch-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coin-watch-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.coin-watch-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
}

.coin-watch-list span {
  overflow: hidden;
  color: #cbd5e1;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-watch-list strong {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

html[data-theme="light"] .coin-analysis-board {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .coin-analysis-panel h3,
html[data-theme="light"] .coin-donut__center {
  color: #0f172a;
}

html[data-theme="light"] .coin-analysis-metrics strong {
  color: #2563eb;
}

html[data-theme="light"] .coin-analysis-metrics span,
html[data-theme="light"] .coin-line-chart__labels text,
html[data-theme="light"] .coin-analysis-panel--chart p,
html[data-theme="light"] .coin-watch-list strong {
  color: #64748b;
  fill: #64748b;
}

html[data-theme="light"] .coin-line-chart__grid line {
  stroke: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .coin-donut::after {
  background: #ffffff;
}

html[data-theme="light"] .coin-watch-list span {
  color: #334155;
}

@media (max-width: 1120px) {
  .coin-analysis-board {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .coin-analysis-metrics {
    min-height: auto;
  }

  .coin-analysis-panel h3 {
    text-align: left;
  }

  .coin-analysis-panel--chart p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .coin-analysis-board {
    padding: 20px 14px;
  }

  .coin-analysis-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
  }

  .coin-line-chart {
    height: 170px;
  }
}

/* Coin analysis alignment refinement */
.coin-analysis-board {
  align-items: stretch;
  gap: 34px;
  padding: 26px 22px;
}

.coin-analysis-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.coin-analysis-panel h3 {
  min-height: 28px;
  margin-bottom: 18px;
  text-align: center;
}

.coin-analysis-panel--metrics,
.coin-analysis-panel--watch {
  justify-content: flex-start;
}

.coin-analysis-metrics {
  flex: 1;
  min-height: 170px;
  align-content: center;
}

.coin-analysis-panel--chart {
  align-items: stretch;
}

.coin-line-chart {
  flex: 1;
  height: 190px;
  min-height: 190px;
  margin-top: 0;
}

.coin-donut-wrap {
  margin-top: 2px;
  margin-bottom: 16px;
}

.coin-watch-list {
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 1120px) {
  .coin-analysis-panel h3 {
    min-height: 0;
    text-align: left;
  }

  .coin-watch-list {
    max-width: none;
    margin: 0;
  }
}

.coin-watch-list strong.is-up {
  color: #22c55e;
}

.coin-watch-list strong.is-down {
  color: #ef4444;
}

/* Bitcoin 7-day chart hover tooltip */
.coin-line-chart {
  position: relative;
}

.coin-line-chart__dot {
  fill: #4f77f0;
  stroke: #ffffff;
  stroke-width: 2;
  pointer-events: none;
}

.coin-line-chart__hit {
  fill: transparent;
  cursor: pointer;
  outline: none;
}

.coin-line-chart__hit:hover + .coin-line-chart__dot,
.coin-line-chart__hit:focus + .coin-line-chart__dot {
  r: 5;
}

.coin-chart-tooltip {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, calc(-100% - 10px));
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}

.coin-chart-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.96);
}

.coin-chart-tooltip span,
.coin-chart-tooltip strong {
  display: block;
}

.coin-chart-tooltip span {
  margin-bottom: 2px;
  color: #94a3b8;
  font-weight: 600;
}

.coin-chart-tooltip strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

html[data-theme="light"] .coin-chart-tooltip {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  color: #0f172a;
}

html[data-theme="light"] .coin-chart-tooltip::after {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .coin-chart-tooltip strong {
  color: #0f172a;
}

/* Coin market watch card refinement */
.coin-analysis-panel--watch {
  gap: 12px;
}

.coin-watch-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin: 0 auto 8px;
  padding: 14px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(79, 119, 240, 0.08);
  text-align: center;
}

.coin-watch-summary span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.coin-watch-summary strong {
  margin-top: 5px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.coin-watch-summary strong.is-up {
  color: #22c55e;
}

.coin-watch-summary strong.is-down {
  color: #ef4444;
}

.coin-watch-list--cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  max-width: none;
  width: 100%;
  margin: 0;
}

.coin-watch-list--cards li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.coin-watch-list--cards span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.coin-watch-list--cards strong {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.coin-watch-list--cards em {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

html[data-theme="light"] .coin-watch-summary {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(37, 99, 235, 0.06);
}

html[data-theme="light"] .coin-watch-summary strong,
html[data-theme="light"] .coin-watch-list--cards strong {
  color: #0f172a;
}

html[data-theme="light"] .coin-watch-list--cards li {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .coin-watch-list--cards span {
  color: #334155;
}

html[data-theme="light"] .coin-watch-list--cards em,
html[data-theme="light"] .coin-watch-summary span {
  color: #64748b;
}

/* Stabilize API-loaded bitcoin analysis to avoid preview flicker/layout shift */
.coin-analysis-board {
  min-height: 282px;
}

.coin-analysis-board [data-btc-price],
.coin-analysis-board [data-btc-market-cap],
.coin-analysis-board [data-btc-volume],
.coin-analysis-board [data-btc-change],
.coin-analysis-board [data-btc-volume-check],
.coin-analysis-board [data-btc-market-cap-check] {
  display: inline-block;
  min-width: 7.5ch;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.coin-analysis-board [aria-busy="true"] {
  color: transparent !important;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.28), rgba(148, 163, 184, 0.12));
  background-size: 220% 100%;
  animation: coinMetricLoading 1.1s ease-in-out infinite;
}

.coin-watch-summary [aria-busy="true"] {
  min-width: 5.5ch;
  height: 30px;
}

.coin-watch-list--cards [aria-busy="true"] {
  min-width: 7ch;
  height: 17px;
}

.coin-analysis-metrics [aria-busy="true"] {
  height: 27px;
}

.coin-analysis-board.is-loading .coin-line-chart__line,
.coin-analysis-board.is-loading .coin-line-chart__area {
  opacity: 0.72;
}

.coin-analysis-board.is-loading .coin-line-chart__points {
  opacity: 0;
}

.coin-analysis-board:not(.is-loading) .coin-line-chart__points {
  opacity: 1;
  transition: opacity 0.18s ease;
}

@keyframes coinMetricLoading {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@media (max-width: 1120px) {
  .coin-analysis-board {
    min-height: 0;
  }
}

/* Market watch: 2-column horizontal cards */
.coin-watch-list--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.coin-watch-list--cards li {
  min-height: 68px;
  grid-template-columns: 1fr;
  gap: 3px;
  align-content: center;
  padding: 11px 12px;
}

.coin-watch-list--cards span,
.coin-watch-list--cards strong,
.coin-watch-list--cards em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-watch-list--cards strong {
  text-align: left;
}

.coin-watch-list--cards em {
  grid-column: auto;
}

@media (max-width: 560px) {
  .coin-watch-list--cards {
    grid-template-columns: 1fr;
  }
}

/* Coin analysis panel baseline alignment */
.coin-analysis-board {
  align-items: stretch;
}

.coin-analysis-panel {
  display: grid;
  grid-template-rows: 28px 1fr;
  row-gap: 18px;
  min-height: 236px;
}

.coin-analysis-panel h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0;
  line-height: 1.35;
}

.coin-analysis-metrics,
.coin-line-chart,
.coin-analysis-panel--watch .coin-watch-summary + .coin-watch-list--cards {
  min-height: 190px;
}

.coin-analysis-metrics {
  align-self: stretch;
  align-content: center;
}

.coin-line-chart {
  align-self: stretch;
  height: 190px;
}

.coin-analysis-panel--watch {
  grid-template-rows: 28px auto 1fr;
}

.coin-watch-summary {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 10px 14px;
}

.coin-watch-list--cards {
  align-self: stretch;
  align-content: stretch;
}

.coin-watch-list--cards li {
  min-height: 0;
  height: 100%;
}

@media (max-width: 1120px) {
  .coin-analysis-panel,
  .coin-analysis-panel--watch {
    display: flex;
    min-height: 0;
  }

  .coin-analysis-panel h3 {
    justify-content: flex-start;
  }

  .coin-analysis-metrics,
  .coin-line-chart,
  .coin-analysis-panel--watch .coin-watch-summary + .coin-watch-list--cards {
    min-height: 0;
  }
}

/* Revert over-aligned grid and restore natural analytics layout */
.coin-analysis-panel,
.coin-analysis-panel--watch {
  display: flex;
  flex-direction: column;
  min-height: 0;
  row-gap: initial;
}

.coin-analysis-panel h3 {
  display: block;
  min-height: 0;
  margin: 0 0 18px;
  line-height: 1.55;
  text-align: center;
}

.coin-analysis-metrics {
  min-height: 190px;
  align-content: center;
}

.coin-line-chart {
  height: 190px;
  min-height: 190px;
}

.coin-analysis-panel--watch {
  gap: 0;
}

.coin-watch-summary {
  width: 100%;
  min-height: 56px;
  margin: 0 0 10px;
  padding: 10px 14px;
}

.coin-watch-list--cards {
  min-height: 124px;
  align-content: stretch;
}

.coin-watch-list--cards li {
  min-height: 56px;
  height: auto;
}

@media (max-width: 1120px) {
  .coin-analysis-panel h3 {
    text-align: left;
  }

  .coin-analysis-metrics,
  .coin-line-chart,
  .coin-watch-list--cards {
    min-height: 0;
  }
}

/* Market analysis intro: keep desktop description on one line */
.coin-analysis__head {
  max-width: none;
}

.coin-analysis__head p {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .coin-analysis__head p {
    white-space: normal;
  }
}

/* Final market analysis UI balance: right panel as single metric card */
.coin-analysis-board {
  grid-template-columns: minmax(220px, 1fr) minmax(380px, 1.24fr) minmax(210px, 0.82fr);
  align-items: stretch;
}

.coin-analysis-panel,
.coin-analysis-panel--watch {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.coin-analysis-panel h3 {
  min-height: 25px !important;
  margin: 0 0 18px !important;
  line-height: 25px !important;
  text-align: center !important;
}

.coin-analysis-metrics,
.coin-line-chart,
.coin-analysis-panel--watch .coin-watch-summary {
  height: 190px !important;
  min-height: 190px !important;
  box-sizing: border-box;
}

.coin-analysis-metrics {
  align-content: center !important;
}

.coin-analysis-panel--watch .coin-watch-summary {
  width: 100%;
  margin: 0 !important;
  padding: 22px 18px !important;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(79, 119, 240, 0.075);
  align-items: center;
  justify-content: center;
}

.coin-watch-summary span {
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.coin-watch-summary strong {
  margin-top: 0;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

@media (max-width: 1120px) {
  .coin-analysis-board {
    grid-template-columns: 1fr;
  }

  .coin-analysis-panel h3 {
    text-align: left !important;
  }

  .coin-analysis-metrics,
  .coin-line-chart,
  .coin-analysis-panel--watch .coin-watch-summary {
    height: auto !important;
    min-height: 0 !important;
  }

  .coin-analysis-panel--watch .coin-watch-summary {
    min-height: 96px !important;
  }
}

/* Market watch: 4-period change rates */
.coin-analysis-panel--watch .coin-change-summary {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  justify-content: stretch;
}

.coin-change-summary__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 13px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}

.coin-change-summary__item span {
  margin: 0 0 7px !important;
  color: #94a3b8;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.2;
}

.coin-change-summary__item strong {
  display: block;
  min-width: 6.5ch;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 900;
  line-height: 1.15 !important;
  letter-spacing: -0.04em;
}

.coin-change-summary__item strong.is-up {
  color: #22c55e !important;
}

.coin-change-summary__item strong.is-down {
  color: #ef4444 !important;
}

.coin-change-summary__item [aria-busy="true"] {
  height: 23px;
}

html[data-theme="light"] .coin-change-summary__item {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(37, 99, 235, 0.035);
}

html[data-theme="light"] .coin-change-summary__item strong.is-up {
  color: #16a34a !important;
}

html[data-theme="light"] .coin-change-summary__item strong.is-down {
  color: #dc2626 !important;
}

@media (max-width: 420px) {
  .coin-analysis-panel--watch .coin-change-summary {
    grid-template-columns: 1fr;
  }
}

/* Bitcoin TradingView chart below TOC */
.coin-tradingview {
  margin: 26px 0 34px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.coin-tradingview__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.coin-tradingview__head h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.coin-tradingview__head p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.coin-tradingview__widget {
  overflow: hidden;
  height: 440px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: #0f172a;
}

.coin-tradingview .tradingview-widget-container,
.coin-tradingview .tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

html[data-theme="light"] .coin-tradingview {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .coin-tradingview__head h2 {
  color: #0f172a;
}

html[data-theme="light"] .coin-tradingview__head p {
  color: #64748b;
}

@media (max-width: 760px) {
  .coin-tradingview {
    margin: 22px 0 28px;
    padding: 18px;
  }

  .coin-tradingview__head {
    display: block;
  }

  .coin-tradingview__head p {
    margin-top: 8px;
    text-align: left;
  }

  .coin-tradingview__widget {
    height: 360px;
  }
}

/* Related coins sidebar: MOGE-like larger cards */
.coin-related-list--featured {
  gap: 14px;
}

.coin-related-list--featured a {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 8px;
  min-height: 136px;
  padding: 20px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.36);
}

.coin-related-list--featured span {
  grid-row: 1;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.coin-related-list--featured strong {
  align-self: center;
  overflow: hidden;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-related-list--featured em {
  grid-column: 1 / -1;
  display: -webkit-box;
  overflow: hidden;
  min-height: 54px;
  color: #aab3c2;
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.coin-related-list--featured a::after {
  content: '코인 정보';
  grid-column: 1 / -1;
  justify-self: end;
  align-self: end;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.coin-related-list--featured a:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 250, 252, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="light"] .coin-related-list--featured a {
  background: #f8fafc;
}

html[data-theme="light"] .coin-related-list--featured strong {
  color: #0f172a;
}

html[data-theme="light"] .coin-related-list--featured em,
html[data-theme="light"] .coin-related-list--featured a::after {
  color: #64748b;
}

@media (max-width: 980px) {
  .coin-related-list--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .coin-related-list--featured {
    display: flex;
    flex-direction: column;
  }

  .coin-related-list--featured a {
    min-height: 124px;
  }

  .coin-related-list--featured strong {
    font-size: 22px;
  }

  .coin-related-list--featured em {
    font-size: 15px;
  }
}

/* Related coins typography refinement */
.coin-related-list--featured a {
  min-height: 126px;
  padding: 18px 17px;
}

.coin-related-list--featured strong {
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.coin-related-list--featured em {
  min-height: 48px;
  color: #9ca7b8;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.coin-related-list--featured span {
  font-size: 10px;
  font-weight: 700;
}

.coin-related-list--featured a::after {
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .coin-related-list--featured strong {
    font-size: 19px !important;
  }

  .coin-related-list--featured em {
    font-size: 14px !important;
  }
}

/* Ranking detail row links */
.ranking-page .ranking-table__row--link {
  cursor: pointer;
}

.ranking-page .ranking-table__row--link:focus-visible {
  outline: 2px solid rgba(79, 119, 240, 0.9);
  outline-offset: -2px;
}

/* Ranking typography weight refinement */
.ranking-page .ranking-table__row--head,
.ranking-page .ranking-table__row.ranking-table__row--head,
.ranking-page .ranking-table__row--head > *,
.ranking-page .ranking-board__status,
.ranking-page .ranking-toolbar strong {
  font-weight: 500 !important;
}

.ranking-page .ranking-table__rank,
.ranking-page .ranking-table__row > :nth-child(1),
.ranking-page .ranking-table__coin strong,
.ranking-page .ranking-live-value,
.ranking-page .ranking-live-symbol,
.ranking-page .ranking-live-change,
.ranking-page .ranking-more-button {
  font-weight: 500 !important;
}

.ranking-page .ranking-table__coin em,
.ranking-page .coin-symbol {
  font-weight: 400 !important;
}
