:root {
  color: #161617;
  background: #f5f5f7;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #161617;
  --muted: #6e6e73;
  --quiet: #8e8e93;
  --line: rgba(22, 22, 23, 0.09);
  --blue: #0071e3;
  --blue-soft: #eaf4ff;
  --paper: #ffffff;
  --canvas: #f5f5f7;
  --gain: #d9363e;
  --gain-soft: #fff0f1;
  --loss: #168f68;
  --loss-soft: #ecfaf5;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% -5%, rgba(0, 113, 227, 0.1), transparent 31rem),
    var(--canvas);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(0, 113, 227, 0.38);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(22, 22, 23, 0.07);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.site-header-inner,
.fund-page-shell,
.site-footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #1688f8, #0067ce);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.site-brand span:last-child {
  display: grid;
  gap: 2px;
}

.site-brand strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.site-brand small {
  color: var(--muted);
  font-size: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 650;
}

.site-nav a {
  color: #5d5d62;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--blue);
}

.site-nav .login-link {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
}

.fund-page-shell {
  padding-block: 38px 96px;
}

.compact-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs span[aria-hidden="true"] {
  color: #b0b0b5;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.fund-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 8vw, 108px);
  padding-block: clamp(46px, 6vw, 76px) 48px;
}

.fund-directory-hero h1,
.fund-identity h1 {
  margin: 13px 0 0;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.06em;
}

.fund-directory-hero h1 {
  max-width: 720px;
}

.fund-directory-hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: #4d4d52;
  font-size: 17px;
  line-height: 1.8;
}

.directory-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.directory-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.directory-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21b86b;
  box-shadow: 0 0 0 5px rgba(33, 184, 107, 0.11);
}

.fund-directory-hero .fund-search {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 113, 227, 0.15), transparent 17rem),
    var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.065);
}

.fund-search label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 680;
}

.fund-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.fund-search-control input {
  width: 100%;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid rgba(22, 22, 23, 0.14);
  border-radius: 14px;
  background: rgba(247, 247, 249, 0.9);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.fund-search-control input::placeholder {
  color: #a2a2a7;
  font-family: inherit;
  letter-spacing: 0;
}

.fund-search-control button {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.fund-search-error {
  min-height: 18px;
  margin: 8px 0 0;
  color: #c6282f;
  font-size: 11px;
}

.code-preview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 26px;
}

.code-preview span,
.fund-code-stamp span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 113, 227, 0.12);
  background: var(--blue-soft);
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.code-preview span {
  aspect-ratio: 1;
  border-radius: 12px;
  font-size: clamp(18px, 2.5vw, 25px);
}

.directory-section {
  padding-block: 64px 78px;
  border-top: 1px solid var(--line);
}

.estimate-directory,
.directory-guide,
.directory-faq {
  padding-block: 52px 72px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2,
.fund-explainer h2,
.fund-action h2 {
  margin: 8px 0 0;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.section-heading > a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.estimate-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.045);
}

.estimate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.estimate-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.estimate-table th,
.estimate-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
}

.estimate-table thead th {
  padding-block: 14px;
  background: rgba(247, 247, 249, 0.82);
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.estimate-table th:first-child {
  width: 46%;
  text-align: left;
}

.estimate-table tbody tr:last-child th,
.estimate-table tbody tr:last-child td {
  border-bottom: 0;
}

.estimate-table tbody tr {
  transition: background 150ms ease;
}

.estimate-table tbody tr:hover {
  background: rgba(0, 113, 227, 0.025);
}

.estimate-table tbody th {
  font-weight: inherit;
}

.estimate-table tbody th > a {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.estimate-fund-code {
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.05em;
  text-align: center;
}

.estimate-table tbody th strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estimate-number,
.estimate-change {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
}

.estimate-table .gain .estimate-change {
  color: var(--gain);
}

.estimate-table .loss .estimate-change {
  color: var(--loss);
}

.estimate-table .flat .estimate-change,
.estimate-pending {
  color: var(--quiet);
}

.estimate-table time {
  color: var(--muted);
  font-size: 11px;
}

.estimate-detail-link {
  color: var(--blue);
  font-size: 11px;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.fund-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fund-topic-directory {
  padding-bottom: 34px;
}

.fund-topic-group {
  padding-block: 34px 42px;
  border-top: 1px solid var(--line);
}

.fund-topic-group:first-of-type {
  border-top: 0;
}

.fund-topic-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.fund-topic-heading h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.fund-topic-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.fund-catalog a,
.related-fund-grid a {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.fund-catalog a {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  padding: 22px;
  border-radius: 22px;
}

.fund-catalog a:hover,
.related-fund-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.055);
}

.fund-catalog-code,
.related-fund-grid span {
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.fund-catalog strong,
.related-fund-grid strong {
  overflow: hidden;
  color: var(--ink);
  line-height: 1.45;
}

.fund-catalog strong {
  display: -webkit-box;
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fund-catalog small,
.related-fund-grid small {
  color: var(--muted);
  font-size: 11px;
}

.fund-catalog small b {
  color: var(--blue);
}

.directory-knowledge {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 64px;
}

.directory-knowledge article {
  padding: 27px;
  border-radius: 24px;
  background: var(--paper);
}

.directory-knowledge span {
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 720;
}

.directory-knowledge h2,
.directory-knowledge h3 {
  margin: 17px 0 0;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.directory-knowledge p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.topic-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.topic-links a {
  display: grid;
  gap: 9px;
  padding: 23px 27px;
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 22px;
  background: var(--blue-soft);
  text-decoration: none;
}

.topic-links strong {
  font-size: 14px;
  letter-spacing: -0.015em;
}

.topic-links span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
}

.directory-faq > h2 {
  max-width: 720px;
  margin: 10px 0 34px;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.directory-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.directory-faq-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.directory-faq-grid h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.directory-faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.fund-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(54px, 8vw, 88px) 52px;
}

.fund-code-stamp {
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 8px;
}

.fund-code-stamp span {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 24px;
}

.fund-identity h1 {
  max-width: 820px;
  font-size: clamp(37px, 5.7vw, 65px);
}

.fund-identity-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.valuation-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 4%, rgba(0, 113, 227, 0.13), transparent 25rem),
    var(--paper);
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.06);
}

.valuation-primary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.valuation-primary p {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
}

.valuation-primary > strong {
  font-size: clamp(54px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}

.valuation-rate {
  font-size: clamp(20px, 3vw, 31px);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.valuation-status {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f1f3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.gain .movement,
.gain .valuation-rate {
  color: var(--gain);
}

.loss .movement,
.loss .valuation-rate {
  color: var(--loss);
}

.flat .movement,
.flat .valuation-rate {
  color: var(--muted);
}

.valuation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.valuation-meta article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: #f6f6f8;
}

.valuation-meta span {
  color: var(--muted);
  font-size: 11px;
}

.valuation-meta strong {
  overflow-wrap: anywhere;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.nav-rail {
  margin-top: 38px;
  padding: 23px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.nav-rail-label,
.nav-rail-values {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.nav-rail-label {
  color: var(--muted);
}

.nav-rail-values {
  font-weight: 690;
  font-variant-numeric: tabular-nums;
}

.nav-rail-track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-block: 13px 9px;
}

.nav-rail-track i {
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.2);
}

.nav-rail-track b {
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.28), var(--blue));
}

.valuation-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.valuation-note strong {
  font-size: 13px;
}

.fund-explainer {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 8vw, 102px);
  padding-block: 90px;
}

.fund-explainer-copy > p {
  margin: 0;
  color: #4d4d52;
  font-size: 16px;
  line-height: 1.85;
}

.explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.explain-grid article {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.explain-grid strong {
  font-size: 13px;
}

.explain-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.62;
}

.related-funds {
  padding-block: 68px;
  border-top: 1px solid var(--line);
}

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

.related-fund-grid a {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  gap: 14px;
  padding: 21px;
  border-radius: 20px;
}

.related-fund-grid strong {
  display: -webkit-box;
  font-size: 14px;
  letter-spacing: -0.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-fund-grid small b {
  color: var(--blue);
}

.fund-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  margin-top: 26px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 30px;
  background: #0d6fd7;
  color: white;
}

.fund-action .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.fund-action p:last-child {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.7;
}

.fund-action > a {
  flex: 0 0 auto;
  padding: 13px 18px;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}

.fund-page-shell > .fund-search {
  max-width: 610px;
  margin: 64px auto 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.official-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.official-resources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.official-resources strong {
  font-size: 13px;
}

.official-resources span {
  color: var(--muted);
  font-size: 11px;
}

.official-resources b {
  color: var(--blue);
}

.empty-fund-card {
  width: min(650px, 100%);
  padding: clamp(32px, 6vw, 60px);
  border-radius: 30px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.06);
}

.empty-fund-card h1 {
  margin: 13px 0 0;
  font-size: clamp(34px, 6vw, 54px);
  letter-spacing: -0.05em;
}

.empty-fund-card > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.empty-fund-card .fund-search {
  margin-top: 30px;
  text-align: left;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.site-footer-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .fund-directory-hero,
  .fund-explainer {
    grid-template-columns: 1fr;
  }

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

  .estimate-table th:first-child {
    width: 40%;
  }

  .fund-code-stamp {
    grid-template-columns: repeat(6, 46px);
  }

  .fund-code-stamp span {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 20px;
  }

  .fund-identity {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header-inner,
  .fund-page-shell,
  .site-footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header-inner {
    min-height: 62px;
  }

  .site-brand small,
  .site-nav a:not([aria-current="page"]):not(.login-link) {
    display: none;
  }

  .site-nav {
    gap: 10px;
  }

  .fund-page-shell {
    padding-block: 25px 70px;
  }

  .fund-directory-hero {
    padding-block: 50px 54px;
  }

  .fund-directory-hero h1,
  .fund-identity h1 {
    font-size: clamp(38px, 12vw, 55px);
  }

  .fund-directory-hero .fund-search,
  .valuation-panel {
    border-radius: 24px;
  }

  .fund-search-control {
    grid-template-columns: 1fr;
  }

  .fund-catalog {
    grid-template-columns: 1fr;
  }

  .estimate-table-wrap {
    overflow-x: auto;
    border-radius: 22px;
  }

  .estimate-table {
    min-width: 760px;
  }

  .fund-catalog a {
    min-height: 142px;
  }

  .directory-knowledge,
  .topic-links,
  .directory-faq-grid,
  .valuation-meta,
  .explain-grid,
  .related-fund-grid,
  .official-resources {
    grid-template-columns: 1fr;
  }

  .fund-code-stamp {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .fund-code-stamp span {
    width: auto;
    height: auto;
    aspect-ratio: 1;
  }

  .valuation-primary > strong {
    font-size: 52px;
  }

  .valuation-meta {
    margin-top: 30px;
  }

  .valuation-meta article {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-rail {
    padding-inline: 17px;
  }

  .fund-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fund-catalog a,
  .related-fund-grid a {
    transition: none;
  }
}
