body.has-site-nav {
  margin: 0;
  overflow-x: hidden;
}

.board-fund-page {
  --fund-ink: #17243a;
  --fund-muted: #68758a;
  --fund-border: rgba(143, 160, 181, 0.34);
  --fund-border-strong: rgba(119, 139, 164, 0.46);
  --fund-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 254, 0.94));
  --fund-soft: rgba(246, 249, 252, 0.88);
  --fund-blue: #1c5fa8;
  --fund-blue-soft: #edf5ff;
  --fund-up: #c13c42;
  --fund-up-soft: #fff3f3;
  --fund-down: #147553;
  --fund-down-soft: #eff9f4;
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(42, 78, 120, 0.13), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(194, 156, 86, 0.10), transparent 24%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fd 44%, #edf2f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 24px 70px rgba(15, 31, 54, 0.08);
  display: grid;
  gap: 14px;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
  color: var(--fund-ink);
}

.board-fund-page *,
.board-fund-page *::before,
.board-fund-page *::after {
  box-sizing: border-box;
}

.board-fund-page [hidden] {
  display: none !important;
}

.fund-toolbar,
.fund-chart-panel,
.fund-table-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fund-border);
  border-radius: 8px;
  background: var(--fund-panel);
  box-shadow: 0 18px 46px rgba(17, 34, 58, 0.10);
}

.fund-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 19px;
  border-top: 1px solid rgba(194, 154, 88, 0.42);
}

.fund-title-block {
  min-width: 0;
}

.fund-title-block h1 {
  margin: 0;
  color: #132139;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.fund-title-meta,
.fund-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 6px;
  color: var(--fund-muted);
  font-size: 13px;
  line-height: 1.5;
}

.fund-title-meta span + span::before,
.fund-panel-meta span + span::before {
  content: "·";
  margin-right: 15px;
  color: #a2adbb;
}

.fund-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
}

.fund-segmented {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(66px, 1fr);
  padding: 3px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 7px;
  background: #eef2f6;
}

.fund-segment {
  min-height: 34px;
  padding: 6px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #536176;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-segment.active {
  background: #ffffff;
  color: var(--fund-blue);
  box-shadow: 0 2px 7px rgba(25, 43, 68, 0.12);
}

.fund-favorites-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 7px;
  background: #eef2f6;
  color: #536176;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-favorites-button:hover,
.fund-favorites-button:focus-visible {
  outline: 0;
  border-color: #c5d4e5;
  background: #ffffff;
  color: var(--fund-blue);
  box-shadow: 0 2px 7px rgba(25, 43, 68, 0.12);
}

.fund-segment:focus-visible,
.fund-back-button:focus-visible,
.fund-mobile-sort button:focus-visible,
.fund-board-button:focus-visible,
.fund-table th button:focus-visible {
  outline: 2px solid rgba(28, 95, 168, 0.48);
  outline-offset: 2px;
}

.fund-date-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 7px;
  background: #ffffff;
  color: var(--fund-muted);
  font-size: 13px;
}

.fund-date-control select {
  min-width: 118px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fund-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fund-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 7px;
  background: #ffffff;
  color: #536176;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.fund-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8794a8;
}

.fund-status[data-status="connected"] {
  border-color: #b9ddcd;
  background: var(--fund-down-soft);
  color: #166448;
}

.fund-status[data-status="connected"] .fund-status-dot {
  background: #16825d;
  box-shadow: 0 0 0 3px rgba(22, 130, 93, 0.14);
}

.fund-status[data-status="stale"],
.fund-status[data-status="error"] {
  border-color: #ebc4c4;
  background: var(--fund-up-soft);
  color: #9d3439;
}

.fund-status[data-status="stale"] .fund-status-dot,
.fund-status[data-status="error"] .fund-status-dot {
  background: #c04444;
  box-shadow: 0 0 0 3px rgba(192, 68, 68, 0.13);
}

.fund-status[data-status="paused"],
.fund-status[data-status="closed"] {
  border-color: #ead7b7;
  background: #fff8ec;
  color: #8b6426;
}

.fund-status[data-status="paused"] .fund-status-dot,
.fund-status[data-status="closed"] .fund-status-dot {
  background: #d08b24;
}

.fund-system-message {
  padding: 11px 14px;
  border: 1px solid #ead09e;
  border-radius: 7px;
  background: #fff8e8;
  color: #805b18;
  font-size: 13px;
  line-height: 1.6;
}

.fund-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.fund-summary-item {
  position: relative;
  min-width: 0;
  padding: 13px 15px 14px;
  overflow: hidden;
  border: 1px solid var(--fund-border);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 254, 0.92));
  box-shadow: 0 12px 30px rgba(17, 34, 58, 0.07);
}

.fund-summary-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #7d8ba0;
}

.fund-summary-item--leader::before,
.fund-summary-item--inflow::before {
  background: var(--fund-up);
}

.fund-summary-item--share::before {
  background: var(--fund-blue);
}

.fund-summary-item--count::before {
  background: var(--fund-down);
}

.fund-summary-label {
  display: block;
  color: var(--fund-muted);
  font-size: 12px;
  line-height: 1.4;
}

.fund-summary-value {
  display: block;
  min-height: 28px;
  margin-top: 5px;
  overflow: hidden;
  color: var(--fund-ink);
  font-size: 20px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fund-summary-link {
  color: var(--fund-blue);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fund-summary-link::after {
  content: " 查看";
  font-size: 12px;
  font-weight: 700;
  color: #5c7698;
}

.fund-summary-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(28, 95, 168, 0.42);
  outline-offset: 2px;
}

.fund-summary-value.up {
  color: var(--fund-up);
}

.fund-summary-value.down {
  color: var(--fund-down);
}

.fund-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #e1e7ef;
  background: linear-gradient(180deg, rgba(249, 251, 253, 0.98), rgba(244, 248, 252, 0.94));
}

.fund-panel-head > div:first-child {
  min-width: 0;
}

.fund-panel-head h2 {
  margin: 0;
  color: var(--fund-ink);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.fund-chart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.fund-search.fund-chart-search {
  width: min(260px, 24vw);
}

.fund-search-shell {
  position: relative;
  width: min(260px, 24vw);
  min-width: 0;
}

.fund-search-shell .fund-search.fund-chart-search {
  width: 100%;
}

.fund-time-pill,
.fund-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: #34445b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.fund-time-pill {
  color: var(--fund-blue);
  font-variant-numeric: tabular-nums;
}

.fund-back-button {
  gap: 5px;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-back-button:hover {
  border-color: #8cb3df;
  background: var(--fund-blue-soft);
}

.fund-concept-notice {
  padding: 9px 16px;
  border-bottom: 1px solid #eadfbf;
  background: #fffaf0;
  color: #7c642f;
  font-size: 12px;
  line-height: 1.6;
}

.fund-chart-scroll {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.fund-chart {
  width: 100%;
  min-width: 0;
  height: 640px;
}

.fund-chart-guide-target {
  position: absolute;
  z-index: 7;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  pointer-events: none;
}

.fund-chart-guide-target[hidden] {
  display: none;
}

.board-fund-page .fund-chart-guide-target.user-onboarding-guide-target-active {
  position: absolute;
  pointer-events: auto;
}

.fund-chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #718096;
  font-size: 14px;
  pointer-events: none;
}

.fund-table-panel {
  display: none;
}

.fund-table-head {
  display: none;
  justify-content: flex-end;
  padding: 10px 16px;
}

.fund-table-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
}

.fund-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(280px, 100%);
}

.fund-search-icon {
  position: absolute;
  left: 10px;
  color: #6d7b90;
  font-size: 19px;
  pointer-events: none;
}

.fund-search input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 7px;
  outline: 0;
  background: #ffffff;
  color: var(--fund-ink);
  font: inherit;
  font-size: 14px;
}

.fund-search input:focus {
  border-color: #6e9fe0;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.11);
}

.fund-search-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  gap: 3px;
  max-height: 278px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #ccd8e7;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 31, 52, 0.16);
}

.fund-search-suggestion,
.fund-search-suggestion-empty {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.fund-search-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #26364c;
  text-align: left;
  cursor: pointer;
}

.fund-search-suggestion:hover,
.fund-search-suggestion:focus-visible {
  outline: 0;
  background: #f1f6fd;
}

.fund-search-suggestion-name {
  min-width: 0;
  overflow: visible;
  color: var(--fund-blue);
  font-weight: 700;
  overflow-wrap: anywhere;
  white-space: normal;
}

.fund-search-suggestion-category {
  padding: 2px 5px;
  border: 1px solid #cbd8e8;
  border-radius: 4px;
  background: #f4f7fb;
  color: #52637a;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.fund-search-suggestion-amount {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fund-search-suggestion-empty {
  color: #738095;
  text-align: center;
}

.fund-mobile-sort {
  display: none;
}

.fund-table-scroll {
  max-height: 680px;
  overflow: auto;
  overscroll-behavior: contain;
}

.fund-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  table-layout: fixed;
}

.fund-table th,
.fund-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e5eaf1;
  color: #25344b;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
}

.fund-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #eef3f8;
  color: #56647a;
  font-weight: 700;
}

.fund-table th:first-child,
.fund-table td:first-child {
  width: 30%;
}

.fund-table th.numeric,
.fund-table td.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fund-table th button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.fund-table th.numeric button {
  width: 100%;
  text-align: right;
}

.fund-table th button[data-sort-active="true"] {
  color: var(--fund-blue);
}

.fund-table th button[data-sort-active="true"]::after {
  content: " ↓";
}

.fund-table th button[data-sort-direction="asc"]::after {
  content: " ↑";
}

.fund-board-button {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--fund-blue);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-favorite-star {
  display: inline-block;
  margin-left: 4px;
  color: #d28a28;
  font-size: 0.82em;
  line-height: 1;
  vertical-align: 0.08em;
}

.fund-board-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fund-board-button::after {
  flex: 0 0 auto;
  content: " 查看";
  margin-left: 6px;
  color: #5c7698;
  font-size: 12px;
  font-weight: 700;
}

.fund-value-up {
  color: var(--fund-up) !important;
}

.fund-value-down {
  color: var(--fund-down) !important;
}

.fund-value-muted {
  color: #8490a3 !important;
}

.fund-table tbody tr:hover {
  background: #f7faff;
}

.fund-table-empty {
  padding: 30px !important;
  color: #718096 !important;
  text-align: center !important;
}

body.fund-stock-modal-open {
  overflow: hidden;
}

body.fund-stock-modal-open .board-fund-page {
  z-index: 10050;
}

body.fund-favorites-modal-open {
  overflow: hidden;
}

body.fund-favorites-modal-open .board-fund-page {
  z-index: 10050;
}

.fund-favorites-modal {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px;
}

.fund-favorites-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 42, 0.52);
  backdrop-filter: blur(2px);
}

.fund-favorites-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(660px, 100%);
  max-height: min(740px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid #cbd8e8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(12, 22, 38, 0.34);
}

.fund-favorites-modal-head,
.fund-favorites-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px 15px;
  border-bottom: 1px solid #dfe7f1;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

.fund-favorites-modal-head h2 {
  margin: 0;
  color: var(--fund-ink);
  font-size: 19px;
  line-height: 1.35;
}

.fund-favorites-modal-hint {
  margin: 5px 0 0;
  color: var(--fund-muted);
  font-size: 12px;
  line-height: 1.5;
}

.fund-favorites-close,
.fund-favorites-cancel,
.fund-favorites-save {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-favorites-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #ced8e5;
  background: #ffffff;
  color: #35445a;
  font-size: 22px;
  line-height: 1;
}

.fund-favorites-close:hover,
.fund-favorites-close:focus-visible {
  border-color: #8cb3df;
  outline: 0;
  background: var(--fund-blue-soft);
  color: var(--fund-blue);
}

.fund-favorites-modal-body {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow: auto;
  padding: 18px 20px;
}

.fund-favorites-count {
  color: var(--fund-blue);
  font-size: 13px;
  font-weight: 700;
}

.fund-favorites-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 62px;
  padding: 11px;
  border: 1px dashed #cbd8e8;
  border-radius: 9px;
  background: #f7fbff;
}

.fund-favorites-empty,
.fund-favorites-option-empty {
  align-self: center;
  color: #7a8799;
  font-size: 13px;
}

.fund-favorite-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 32px;
  padding: 4px 5px 4px 9px;
  border: 1px solid #bcd1e8;
  border-radius: 16px;
  background: #ffffff;
  color: #284768;
  font-size: 13px;
  font-weight: 700;
}

.fund-favorite-pill-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fund-favorite-pill-type,
.fund-favorites-option-type {
  padding: 2px 5px;
  border-radius: 4px;
  background: #edf5ff;
  color: #52708f;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.fund-favorite-pill-remove {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7890a9;
  font: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.fund-favorite-pill-remove:hover,
.fund-favorite-pill-remove:focus-visible {
  outline: 0;
  background: #eaf3ff;
  color: #b13a42;
}

.fund-favorites-search {
  width: 100%;
}

.fund-favorites-options {
  display: grid;
  gap: 3px;
  max-height: 250px;
  overflow: auto;
  padding: 7px;
  border: 1px solid #ccd8e7;
  border-radius: 9px;
  background: #fbfdff;
}

.fund-favorites-option,
.fund-favorites-option-empty {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.fund-favorites-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #26364c;
  text-align: left;
  cursor: pointer;
}

.fund-favorites-option:hover,
.fund-favorites-option:focus-visible {
  outline: 0;
  background: #f1f6fd;
}

.fund-favorites-option-name {
  min-width: 0;
  overflow: hidden;
  color: var(--fund-blue);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fund-favorites-option-code {
  color: #7a8799;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fund-favorites-option-empty {
  color: #738095;
  text-align: center;
}

.fund-favorites-alert {
  padding: 8px 10px;
  border: 1px solid #ead09e;
  border-radius: 7px;
  background: #fff8e8;
  color: #805b18;
  font-size: 12px;
  line-height: 1.5;
}

.fund-favorites-modal-foot {
  justify-content: flex-end;
  border-top: 1px solid #dfe7f1;
  border-bottom: 0;
}

.fund-favorites-cancel {
  border: 1px solid #ced8e5;
  background: #ffffff;
  color: #52637a;
}

.fund-favorites-cancel:hover,
.fund-favorites-cancel:focus-visible {
  outline: 0;
  border-color: #8cb3df;
  background: var(--fund-blue-soft);
}

.fund-favorites-save {
  border: 1px solid #1c5fa8;
  background: #1c5fa8;
  color: #ffffff;
}

.fund-favorites-save:hover,
.fund-favorites-save:focus-visible {
  outline: 0;
  border-color: #174d87;
  background: #174d87;
}

.fund-favorites-save:disabled {
  opacity: 0.6;
  cursor: wait;
}

.fund-stock-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 22px;
}

.fund-stock-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 27, 42, 0.46);
}

.fund-stock-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid #d6dee9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(12, 22, 38, 0.28);
}

.fund-stock-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px 13px;
  border-bottom: 1px solid #e1e7ef;
  background: #f8fafc;
}

.fund-stock-modal-head h2 {
  margin: 0;
  color: var(--fund-ink);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.fund-stock-modal-meta {
  margin-top: 5px;
  color: var(--fund-muted);
  font-size: 12px;
  line-height: 1.5;
}

.fund-stock-modal-subline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fund-stock-modal-close {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #ced8e5;
  border-radius: 7px;
  background: #ffffff;
  color: #35445a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-stock-modal-close:hover,
.fund-stock-modal-close:focus-visible {
  border-color: #8cb3df;
  outline: 0;
  background: var(--fund-blue-soft);
  color: var(--fund-blue);
}

.fund-stock-modal-alert {
  margin: 10px 14px 0;
  padding: 8px 10px;
  border: 1px solid #ead09e;
  border-radius: 7px;
  background: #fff8e8;
  color: #805b18;
  font-size: 12px;
  line-height: 1.5;
}

.fund-stock-table-scroll {
  overflow: auto;
}

.fund-stock-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
}

.fund-stock-table th,
.fund-stock-table td {
  padding: 10px 13px;
  border-bottom: 1px solid #e5eaf1;
  color: #25344b;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.fund-stock-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f6fa;
  color: #56647a;
  font-weight: 700;
}

.fund-stock-code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.fund-stock-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.fund-stock-main-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 2px 6px;
  border: 1px solid #ccd8e7;
  border-radius: 5px;
  background: #ffffff;
  color: #46566d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.fund-stock-main-filter:hover {
  border-color: #8eb4df;
  background: #f4f8fd;
}

.fund-stock-main-filter input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--fund-blue);
  cursor: pointer;
}

.fund-stock-main-filter input:disabled {
  cursor: wait;
  opacity: 0.45;
}

.fund-stock-table th:first-child,
.fund-stock-table td:first-child {
  width: 56px;
}

.fund-stock-table th:nth-child(2),
.fund-stock-table td:nth-child(2) {
  width: 25%;
}

.fund-stock-table th:nth-child(3),
.fund-stock-table td:nth-child(3) {
  width: 32%;
}

.fund-stock-table th.numeric,
.fund-stock-table td.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fund-stock-rank,
.fund-stock-code {
  color: #718096 !important;
  font-variant-numeric: tabular-nums;
}

.fund-stock-name {
  font-weight: 700;
}

.fund-stock-copy {
  max-width: 100%;
  padding: 3px 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  touch-action: manipulation;
}

.fund-stock-copy:hover,
.fund-stock-copy:focus-visible {
  outline: 0;
  background: #eaf3ff;
  color: var(--fund-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fund-stock-copy.is-copied {
  background: #e9f7f0;
  color: #147451;
  font-weight: 700;
  text-decoration: none;
}

.fund-stock-copy.is-copy-error {
  background: #fff0f0;
  color: #b63131;
  font-weight: 700;
  text-decoration: none;
}

.fund-stock-empty {
  padding: 34px 12px !important;
  color: #718096 !important;
  text-align: center !important;
}

/* The constituent dialog has a few dedicated light surfaces that need their
   own dark-mode treatment instead of inheriting the page panel colors. */
body.site-eye-care-mode .board-fund-page .fund-stock-modal-panel {
  border-color: #343c47 !important;
  background: #1a1f27 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42) !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-modal-head {
  border-bottom-color: #343c47 !important;
  background: #222831 !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-modal-head h2 {
  color: #e6e9ee !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-modal-meta {
  color: #a6afbd !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-modal-alert {
  border-color: #80652e !important;
  background: rgba(128, 101, 46, 0.18) !important;
  color: #f2d58f !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-table th,
body.site-eye-care-mode .board-fund-page .fund-stock-table td {
  border-bottom-color: #343c47 !important;
  color: #e6e9ee !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-table th {
  background: #222831 !important;
  color: #e6e9ee !important;
  box-shadow: 0 1px 0 #343c47 !important;
}

body.site-eye-care-mode .board-fund-page .fund-stock-rank,
body.site-eye-care-mode .board-fund-page .fund-stock-code {
  color: #a6afbd !important;
}

@media (max-width: 1100px) {
  .fund-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .fund-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .fund-controls {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .board-fund-page {
    gap: 9px;
  }

  .fund-toolbar,
  .fund-chart-panel,
  .fund-table-panel {
    box-shadow: 0 4px 14px rgba(25, 43, 68, 0.05);
  }

  .fund-toolbar {
    gap: 13px;
    padding: 13px 12px 12px;
  }

  .fund-title-block h1 {
    font-size: 21px;
  }

  .fund-title-meta,
  .fund-panel-meta {
    gap: 3px 10px;
    margin-top: 4px;
    font-size: 12px;
  }

  .fund-title-meta span + span::before,
  .fund-panel-meta span + span::before {
    margin-right: 10px;
  }

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

  .fund-segmented {
    grid-column: 1;
    width: auto;
    min-width: 0;
  }

  .fund-segment {
    min-height: 36px;
    white-space: nowrap;
  }

  .fund-favorites-button {
    grid-column: 2;
    justify-self: stretch;
    min-width: 0;
    white-space: nowrap;
    padding-right: 10px;
    padding-left: 10px;
  }

  .fund-date-control {
    grid-column: 1;
    min-width: 0;
    min-height: 40px;
    justify-content: space-between;
  }

  .fund-date-control > span {
    white-space: nowrap;
  }

  .fund-date-control select {
    min-width: 0;
    width: 100%;
    text-align: right;
  }

  .fund-status {
    grid-column: 2;
    min-height: 40px;
    padding: 0 10px;
  }

  .fund-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .fund-summary-item {
    padding: 11px 11px 12px;
  }

  .fund-summary-label {
    font-size: 11px;
  }

  .fund-summary-value {
    min-height: 24px;
    margin-top: 4px;
    font-size: 16px;
  }

  .fund-panel-head {
    align-items: flex-start;
    padding: 12px;
  }

  .fund-panel-head h2 {
    font-size: 16px;
  }

  .fund-chart-panel > .fund-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .fund-chart-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .fund-search.fund-chart-search {
    width: 100%;
  }

  .fund-search-shell {
    width: 100%;
  }

  .fund-search-suggestions {
    max-height: 238px;
  }

  .fund-chart-actions .fund-back-button {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .fund-favorites-modal {
    align-items: center;
    padding: 12px;
  }

  .fund-favorites-modal-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border: 1px solid #cbd8e8;
    border-radius: 12px;
  }

  .fund-favorites-modal-head {
    padding: 13px 12px 11px;
  }

  .fund-favorites-modal-body {
    padding: 13px 12px;
  }

  .fund-favorites-modal-foot {
    padding: 12px;
  }

  .fund-favorite-pill-name {
    max-width: 160px;
  }

  @supports (height: 100dvh) {
    .fund-favorites-modal-panel {
      max-height: calc(100dvh - 24px);
    }
  }

  .fund-time-pill,
  .fund-back-button {
    min-height: 31px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .fund-concept-notice {
    padding: 8px 12px;
  }

  .fund-chart {
    width: 100%;
    min-width: 0;
    height: 560px;
  }

  .fund-table-head {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .fund-table-tools {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  .fund-mobile-sort {
    display: flex;
    align-items: stretch;
    gap: 5px;
  }

  .fund-mobile-sort label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 8px;
    border: 1px solid var(--fund-border-strong);
    border-radius: 7px;
    background: #ffffff;
    color: var(--fund-muted);
    font-size: 11px;
  }

  .fund-mobile-sort select {
    max-width: 88px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--fund-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
  }

  .fund-mobile-sort button {
    width: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid var(--fund-border-strong);
    border-radius: 7px;
    background: #ffffff;
    color: var(--fund-blue);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
  }

  .fund-table-scroll {
    max-height: 72vh;
    overflow-x: hidden;
    background: #f4f7fa;
  }

  .fund-table,
  .fund-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .fund-table thead {
    display: none;
  }

  .fund-table tbody {
    padding: 8px;
  }

  .fund-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 8px;
    margin: 0 0 8px;
    padding: 9px 10px 8px;
    border: 1px solid #dce3eb;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(25, 43, 68, 0.035);
  }

  .fund-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .fund-table tbody tr:hover {
    background: #ffffff;
  }

  .fund-table td,
  .fund-table td:first-child {
    display: block;
    width: auto;
    padding: 7px 3px;
    border: 0;
    text-align: left;
  }

  .fund-table td.numeric {
    min-width: 0;
    color: #34445b;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
  }

  .fund-table td.numeric::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #7a8799;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
  }

  .fund-table td[data-label="当日累计"] {
    padding-left: 7px;
    border-left: 2px solid currentColor;
  }

  .fund-board-name-cell {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #edf0f4 !important;
  }

  .fund-board-button {
    font-size: 15px;
  }

  .fund-table-empty {
    grid-column: 1 / -1;
    padding: 28px 12px !important;
    text-align: center !important;
  }

  .fund-stock-modal {
    align-items: end;
    padding: 0;
  }

  .fund-stock-modal-panel {
    width: 100%;
    height: calc(100vh - 8px);
    max-height: calc(100vh - 8px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  @supports (height: 100dvh) {
    .fund-stock-modal-panel {
      height: calc(100dvh - 8px);
      max-height: calc(100dvh - 8px);
    }
  }

  .fund-stock-modal-head {
    padding: 13px 12px 11px;
  }

  .fund-stock-modal-head h2 {
    font-size: 16px;
  }

  .fund-stock-table {
    min-width: 0;
  }

  .fund-stock-table th,
  .fund-stock-table td {
    padding: 9px 3px;
    font-size: 12px;
  }

  .fund-stock-table th:first-child,
  .fund-stock-table td:first-child {
    width: 36px;
  }

  .fund-stock-table th:nth-child(2),
  .fund-stock-table td:nth-child(2) {
    width: 23%;
  }

  .fund-stock-table th:nth-child(3),
  .fund-stock-table td:nth-child(3) {
    width: 35%;
  }

  .fund-stock-table th:nth-child(3) {
    padding-right: 4px;
    padding-left: 4px;
  }

  .fund-stock-table th:last-child,
  .fund-stock-table td:last-child {
    padding-right: 1px;
    padding-left: 1px;
  }

  .fund-stock-code-head {
    align-items: flex-start;
    gap: 3px;
    flex-direction: column;
    white-space: normal;
  }

  .fund-stock-filter-group {
    align-items: flex-start;
    gap: 2px;
    flex-direction: column;
  }

  .fund-stock-main-filter {
    gap: 2px;
    min-height: 20px;
    padding: 1px 2px;
    font-size: 10px;
  }

  .fund-stock-main-filter input {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 420px) {
  .fund-date-control {
    padding: 0 8px;
  }

  .fund-date-control > span {
    display: none;
  }

  .fund-status {
    font-size: 12px;
  }

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

  .fund-mobile-sort {
    justify-content: space-between;
  }

  .fund-mobile-sort label {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .fund-mobile-sort select {
    max-width: none;
  }

  .fund-chart {
    height: 540px;
  }

}

/* Historical daily ranking displayed below the intraday chart. */
.fund-daily-ranking-shell {
  min-width: 0;
}

.fund-daily-ranking {
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid var(--fund-border);
  background: var(--fund-panel);
  color: var(--fund-ink);
}

.fund-daily-ranking-shell.is-loading .fund-daily-ranking {
  cursor: progress;
}

.fund-daily-ranking-shell.is-loading .fund-daily-history-link {
  opacity: 0.58;
  pointer-events: none;
}

.fund-daily-ranking-shell.is-loading .fund-daily-history-link.is-loading {
  opacity: 1;
  border-color: var(--fund-blue);
  box-shadow: 0 0 0 2px rgba(28, 95, 168, 0.12);
}

.fund-daily-ranking-feedback {
  margin: 0;
  padding: 10px 20px 0;
  color: var(--fund-blue);
  font-size: 11px;
  line-height: 1.5;
}

.fund-daily-ranking-feedback.is-error {
  color: var(--fund-up);
}

.fund-daily-ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--fund-border);
  background: var(--fund-soft);
}

.fund-daily-ranking-copy {
  min-width: 0;
}

.fund-daily-ranking-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 999px;
  color: var(--fund-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fund-daily-ranking-copy h2 {
  margin: 6px 0 0;
  color: var(--fund-ink);
  font-size: 20px;
  line-height: 1.3;
}

.fund-daily-ranking-copy p {
  margin: 5px 0 0;
  color: var(--fund-muted);
  font-size: 12px;
  line-height: 1.6;
}

.fund-daily-ranking-as-of {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  min-width: 132px;
  padding: 9px 12px;
  border: 1px solid var(--fund-border-strong);
  border-radius: 7px;
  background: var(--fund-panel);
  text-align: right;
}

.fund-daily-ranking-as-of span {
  color: var(--fund-muted);
  font-size: 11px;
}

.fund-daily-ranking-as-of strong {
  color: var(--fund-blue);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.fund-daily-history {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 20px 13px;
  border-bottom: 1px solid var(--fund-border);
}

.fund-daily-history-label {
  flex: 0 0 auto;
  color: var(--fund-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.fund-daily-history-nav {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding: 1px 1px 3px;
  scrollbar-width: thin;
}

.fund-daily-history-link {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 6px;
  align-items: baseline;
  min-width: 70px;
  padding: 6px 9px;
  border: 1px solid var(--fund-border);
  border-radius: 6px;
  background: var(--fund-panel);
  color: var(--fund-ink);
  text-decoration: none;
  white-space: nowrap;
}

.fund-daily-history-link:hover,
.fund-daily-history-link:focus-visible,
.fund-daily-history-link.is-active {
  outline: 0;
  border-color: var(--fund-blue);
  background: var(--fund-blue-soft);
  color: var(--fund-blue);
}

.fund-daily-history-link strong {
  grid-column: 1 / -1;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.fund-daily-history-link > span:not(.fund-daily-history-latest) {
  grid-column: 1 / -1;
  margin-top: 1px;
  color: var(--fund-muted);
  font-size: 10px;
}

.fund-daily-history-latest {
  grid-column: 1 / -1;
  min-height: 12px;
  color: var(--fund-blue);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.fund-daily-periods {
  min-width: 0;
}

.fund-daily-period {
  min-width: 0;
}

.fund-daily-period-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 12px;
}

.fund-daily-period-head h3 {
  margin: 0;
  color: var(--fund-ink);
  font-size: 17px;
  line-height: 1.35;
}

.fund-daily-period-head p {
  margin: 4px 0 0;
  color: var(--fund-muted);
  font-size: 11px;
}

.fund-daily-period-state {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(20, 117, 83, 0.22);
  border-radius: 6px;
  background: var(--fund-down-soft);
  color: var(--fund-down);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.fund-daily-period-state.is-partial {
  border-color: rgba(208, 139, 36, 0.30);
  background: rgba(208, 139, 36, 0.12);
  color: #9a6700;
}

.fund-daily-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 18px;
}

.fund-daily-category {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fund-border);
  border-radius: 7px;
  background: var(--fund-panel);
}

.fund-daily-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px 10px;
  border-bottom: 1px solid var(--fund-border);
  background: var(--fund-soft);
}

.fund-daily-category-head h4 {
  margin: 0;
  color: var(--fund-ink);
  font-size: 15px;
}

.fund-daily-category-head span {
  color: var(--fund-muted);
  font-size: 10px;
  white-space: nowrap;
}

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

.fund-daily-rank-box {
  min-width: 0;
}

.fund-daily-rank-box + .fund-daily-rank-box {
  border-left: 1px solid var(--fund-border);
}

.fund-daily-rank-box h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid var(--fund-border);
  background: var(--fund-soft);
  color: var(--fund-ink);
  font-size: 11px;
}

.fund-daily-rank-box--inflow h5 {
  border-top: 2px solid var(--fund-up);
}

.fund-daily-rank-box--outflow h5 {
  border-top: 2px solid var(--fund-down);
}

.fund-daily-rank-box h5 small {
  color: var(--fund-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.fund-daily-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.fund-daily-table {
  width: 100%;
  min-width: 255px;
  border-collapse: collapse;
  table-layout: fixed;
}

.fund-daily-table thead {
  background: var(--fund-soft) !important;
}

.fund-daily-table th,
.fund-daily-table td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--fund-border);
  color: var(--fund-ink);
  text-align: left;
  vertical-align: middle;
}

.fund-daily-table th {
  color: var(--fund-muted);
  font-size: 10px;
  font-weight: 700;
}

.fund-daily-table th:first-child {
  width: 60%;
}

.fund-daily-table tbody tr:last-child td {
  border-bottom: 0;
}

.fund-daily-table tbody tr:hover {
  background: var(--fund-blue-soft);
}

.fund-daily-board-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.fund-daily-board-name strong {
  min-width: 0;
  overflow: hidden;
  color: var(--fund-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fund-daily-rank {
  display: inline-grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--fund-blue-soft);
  color: var(--fund-blue);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.fund-daily-table td > small {
  display: block;
  margin-top: 3px;
  color: var(--fund-muted);
  font-size: 9px;
  line-height: 1.3;
}

.fund-daily-amount {
  color: var(--fund-ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: right !important;
  white-space: nowrap;
}

.fund-daily-amount.is-positive {
  color: var(--fund-up);
}

.fund-daily-amount.is-negative {
  color: var(--fund-down);
}

.fund-daily-rank-empty,
.fund-daily-empty {
  color: var(--fund-muted);
  font-size: 12px;
  text-align: center;
}

.fund-daily-rank-empty {
  padding: 18px 10px;
}

.fund-daily-empty {
  display: grid;
  gap: 5px;
  padding: 28px 20px;
}

.fund-daily-empty strong {
  color: var(--fund-ink);
}

.fund-daily-method {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--fund-muted);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .fund-daily-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fund-daily-ranking-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 15px 12px 12px;
  }

  .fund-daily-ranking-as-of {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .fund-daily-history {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px 11px;
  }

  .fund-daily-history-nav {
    width: 100%;
  }

  .fund-daily-period-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px 10px;
  }

  .fund-daily-period-state {
    width: fit-content;
  }

  .fund-daily-category-grid {
    gap: 10px;
    padding: 0 12px 14px;
  }

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

  .fund-daily-rank-box + .fund-daily-rank-box {
    border-top: 1px solid var(--fund-border);
    border-left: 0;
  }

  .fund-daily-method {
    padding: 0 12px 14px;
  }

  .fund-daily-ranking-feedback {
    padding: 9px 12px 0;
  }
}
