:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe7ee;
  --paper: #ffffff;
  --dark: #071827;
  --deep: #0b2637;
  --teal: #0f766e;
  --cyan: #22d3ee;
  --mint: #5eead4;
  --soft: #ecfeff;
  --shadow: 0 24px 70px rgba(15, 23, 42, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #eef8fb 48%, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

img {
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand-mark,
.logo-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #0f766e 56%, #22d3ee);
  font-size: 24px;
  font-weight: 1000;
  box-shadow: 0 16px 36px rgba(15, 118, 110, .22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 22px;
}

.brand small {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.topbar nav,
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: #1e293b;
  font-size: 15px;
  font-weight: 900;
}

.topbar nav a,
.nav a {
  position: relative;
  padding: 28px 0;
}

.topbar nav a:hover,
.nav a:hover {
  color: #0f766e;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  color: #fff;
  background: #0f172a;
  font-weight: 900;
}

.codex-unlock-entry {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  margin-left: 26px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #ecfeff !important;
  background: linear-gradient(135deg, #071827 0%, #0b3442 58%, #0d7168 100%);
  text-decoration: none !important;
  box-shadow: 0 16px 30px rgba(15, 118, 110, .20);
}

.codex-unlock-entry__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.codex-unlock-entry__text {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1.18;
  white-space: nowrap;
}

.codex-unlock-entry__svg {
  display: block;
  width: 44px;
  height: 33px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 96px 6vw 56px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 211, 238, .24), transparent 25%),
    radial-gradient(circle at 20% 86%, rgba(15, 118, 110, .30), transparent 34%),
    linear-gradient(135deg, #081426 0%, #0b2637 52%, #073f43 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .8fr);
  gap: 54px;
  align-items: center;
  max-width: 1420px;
  margin: 0 auto;
}

.compact-hero {
  min-height: auto;
  padding: 86px 6vw 72px;
}

.article-hero {
  min-height: auto;
  padding: 84px 6vw 70px;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow,
.commander-eyebrow {
  margin: 0 0 18px;
  color: #67e8f9;
  font-weight: 900;
}

.hero h1,
.article-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #f8fdff;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 #c7f9ff,
    0 2px 0 rgba(103, 232, 249, .34),
    0 12px 24px rgba(0, 0, 0, .38);
  filter: drop-shadow(6px 8px 0 rgba(3, 11, 25, .20));
}

.compact-hero h1,
.article-hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.lead,
.hero p {
  max-width: 820px;
  color: #d9e7ef;
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.primary-btn,
.secondary-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.primary-btn,
.btn.primary {
  color: #07111f;
  background: linear-gradient(135deg, #22d3ee, #5eead4);
  box-shadow: 0 18px 46px rgba(34, 211, 238, .22);
}

.secondary-btn,
.btn.ghost {
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .04);
}

.primary-btn:hover,
.secondary-btn:hover,
.btn:hover {
  transform: translateY(-3px);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.hero-points a {
  display: block;
  min-height: 136px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 42px rgba(0, 0, 0, .12);
}

.hero-points a::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #67e8f9, #34d399);
}

.hero-points strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-points span {
  color: #c3d7e5;
  font-size: 14px;
  line-height: 1.7;
}

.focus-card,
.dark-panel,
.analysis-card,
.data-dashboard {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0c1628, #083943);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .20);
}

.focus-card {
  overflow: hidden;
}

.focus-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.focus-head b {
  color: #67e8f9;
}

.match {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.pill {
  align-self: start;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, .14);
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
}

.match strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.match span,
.dark-panel p,
.analysis-card p,
.data-dashboard p {
  color: #bfd0df;
  line-height: 1.7;
}

.section {
  padding: 76px 6vw;
}

.section.soft {
  background: linear-gradient(135deg, #effaf8, #eef7ff);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title p {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
}

.section-title span {
  color: #64748b;
  line-height: 1.8;
}

.grid,
.faq-grid,
.longform-grid,
.topic-grid,
.feature-list {
  display: grid;
  gap: 22px;
}

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

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.longform-grid,
.topic-grid,
.feature-list {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.faq,
.feature,
.longform-card,
.note-box,
.quality-links,
.quality-enhance,
.faq-depth-final {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(15, 23, 42, .08);
}

.card,
.faq,
.feature,
.longform-card {
  min-height: 220px;
  padding: 26px;
}

.card:hover,
.faq:hover,
.feature:hover,
.longform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .35);
  box-shadow: 0 30px 76px rgba(15, 23, 42, .15);
}

.tag,
.card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.card h2,
.card h3,
.faq h3,
.longform-card h3 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.25;
}

.card p,
.faq p,
.feature p,
.longform-card p,
.note-box p,
.quality-links p,
.quality-enhance p,
.faq-depth-final p {
  margin: 0 0 12px;
  color: #64748b;
  line-height: 1.8;
}

.home-article-link,
.quality-links .related a,
.commander-links a,
.related a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: #0f766e;
  font-weight: 900;
}

.topic-layout,
.knowledge,
.schedule-wrap,
.analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 28px;
}

.dark-panel,
.analysis-card {
  padding: 32px;
}

.dark-panel h3,
.analysis-card h3 {
  margin: 0 0 18px;
  font-size: 32px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.steps b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #0f766e;
  background: #ccfbf1;
}

.schedule-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 2fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: #fff;
  background: #0f172a;
  font-weight: 900;
}

a.table-row:hover {
  background: #f0fdfa;
  transform: translateX(3px);
}

.table-row em {
  color: #0f766e;
  font-style: normal;
  font-weight: 900;
}

.data-dashboard {
  padding: 24px;
}

.data-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.data-score {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 76px;
  border-radius: 18px;
  color: #07111f;
  background: linear-gradient(135deg, #67e8f9, #34d399);
}

.data-score b {
  font-size: 32px;
  line-height: 1;
}

.score-grid,
.heat-metrics,
.chain-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.score-grid article,
.heat-metrics b,
.chain-metrics span {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}

.score-grid strong,
.chain-metrics small {
  display: block;
  color: #9fefff;
  font-size: 12px;
}

.score-grid b,
.chain-metrics b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 22px;
}

.trend-box svg {
  display: block;
  width: 100%;
  height: 106px;
}

.rank-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list li {
  display: grid;
  grid-template-columns: 68px 1fr 44px;
  gap: 10px;
  align-items: center;
  color: #cfe3ef;
  font-size: 13px;
}

.rank-list i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #67e8f9, #0f766e);
}

.article-directory-callout,
.notice,
.faq-note,
.note-box {
  margin: 22px 0;
  padding: 22px 24px;
  border: 1px solid rgba(13, 148, 136, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, #f0fdfa, #eff6ff);
}

.article-directory-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-directory-callout strong {
  font-size: 20px;
}

.article-directory-callout a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: #0f172a;
  font-weight: 900;
}

.site-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 6vw 54px;
  border: 1px solid var(--line);
  background: #fff;
}

.site-index a {
  padding: 20px;
  border-right: 1px solid var(--line);
  font-weight: 900;
}

.site-index a:last-child {
  border-right: 0;
}

.site-index span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.seo-visual,
.commander-content-enhancement figure {
  margin: 22px 0;
  border: 1px solid rgba(30, 62, 102, .12);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff, #ecfeff);
}

.seo-visual img,
.commander-content-enhancement img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}

.seo-visual figcaption,
.commander-content-enhancement figcaption {
  padding: 10px 14px 14px;
  color: #51616f;
  font-size: 14px;
  line-height: 1.6;
}

.commander-content-enhancement {
  margin: 0 6vw 70px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.commander-content-enhancement h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.16;
}

.commander-content-enhancement h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.commander-content-enhancement p,
.commander-content-enhancement li {
  color: #475569;
  line-height: 1.9;
}

.commander-links,
.quality-links .related,
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.related {
  margin: 28px 6vw;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 6vw;
  color: #cbd5e1;
  background: #0f172a;
}

.footer p {
  margin: 6px 0 0;
  color: #94a3b8;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 13px 16px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.footer-contact a {
  color: #a5f3fc;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .hero-inner,
  .section-title,
  .topic-layout,
  .knowledge,
  .schedule-wrap,
  .analysis-layout {
    grid-template-columns: 1fr;
  }

  .grid,
  .faq-grid,
  .longform-grid,
  .hero-points {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .topbar nav,
  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    margin-left: 0;
  }

  .topbar nav a,
  .nav a {
    padding: 8px 0;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .hero,
  .compact-hero,
  .article-hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .grid,
  .faq-grid,
  .longform-grid,
  .topic-grid,
  .feature-list,
  .hero-points,
  .stats,
  .site-index,
  .sports-briefs,
  .chain-metrics,
  .score-grid,
  .heat-metrics {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .compact-hero h1,
  .article-hero h1 {
    font-size: clamp(30px, 10vw, 44px);
    filter: none;
  }

  .lead,
  .hero p {
    font-size: 17px;
  }

  .table-row,
  .match {
    grid-template-columns: 1fr;
  }

  .article-directory-callout,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .commander-content-enhancement,
  .related,
  .site-index {
    margin-left: 22px;
    margin-right: 22px;
  }
}
