:root {
  --brand: #286248;
  --brand-dark: #1e3f30;
  --brand-tint: #edf2e7;
  --text: #29352d;
  --muted: #5f6c5d;
  --border: #dce2d4;
  --border-strong: #becbb6;
  --surface: #f4f3e9;
  --warning: #8c5f2a;
  --warning-bg: #faf2df;
  --error: #b43f35;
  --focus: #286248;
  --accent: #697842;
  --control-border: #87947d;
  --paper: #fffdf7;
  --sidebar-width: 212px;
  accent-color: var(--brand);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: #dfe8d5; color: var(--brand-dark); }
html { color-scheme: light; background: var(--paper); scroll-padding-top: 20px; }
body { margin: 0; color: var(--text); background: #f8f6ee; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .48; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button, select, input { transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
input:focus, select:focus { border-color: var(--focus); outline: 2px solid color-mix(in srgb, var(--focus) 18%, transparent); outline-offset: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--brand-dark); font-weight: 600; line-height: 1.45; }
h1 { font-size: 27px; letter-spacing: .025em; }
h2 { font-size: 19px; }
h3 { font-size: 17px; }
svg { vertical-align: middle; }
input, select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--control-border); border-radius: 3px; background: #fff; color: var(--text); padding: 8px 12px; }
input { font-variant-numeric: tabular-nums; }
select { padding-right: 26px; }
kbd { border: 1px solid var(--border-strong); border-bottom-width: 2px; padding: 0 5px; border-radius: 3px; background: #fff; font-family: inherit; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 30; left: 14px; top: -70px; padding: 9px 15px; background: var(--brand); color: #fff; border-radius: 3px; }
.skip-link:focus { top: 10px; color: #fff; }
.site-header { border-top: 3px solid var(--brand); border-bottom: 1px solid var(--border); background: var(--paper); }
.header-inner { min-height: 72px; max-width: 1376px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: baseline; gap: 13px; flex-shrink: 0; color: var(--brand-dark); }
.site-brand:hover { color: var(--brand); text-decoration: none; }
.site-brand > span { font-size: 27px; font-weight: 600; letter-spacing: .08em; }
.site-brand small { font-size: 13px; color: #5f6c5d; letter-spacing: .02em; }
.header-tools { display: flex; align-items: center; gap: 26px; }
.header-description { font-size: 13px; color: #5f6c5d; }
.bookmark-control { position: relative; flex-shrink: 0; }
.bookmark-button { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; padding: 10px 0 10px 8px; min-height: 44px; font-size: 13px; color: var(--brand); }
.bookmark-button:hover { color: var(--brand-dark); background: var(--brand-tint); }
.site-header :focus-visible { outline-color: var(--focus); }
.bookmark-help { position: absolute; z-index: 20; top: 46px; right: 0; width: 300px; padding: 15px 18px; color: var(--text); background: #fff; border: 1px solid var(--border-strong); box-shadow: 0 4px 16px #29352d12; font-size: 13px; line-height: 1.8; }
.bookmark-help p + p { margin-top: 8px; }
.text-button { padding: 7px 0; min-height: 36px; border: 0; background: none; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.site-frame { display: flex; align-items: stretch; max-width: 1376px; margin: 0 auto; min-height: calc(100vh - 76px); }
.site-sidebar { flex: 0 0 var(--sidebar-width); border-right: 1px solid var(--border); padding: 26px 18px 40px; background: #f1f3e9; }
.site-sidebar > nav { position: sticky; top: 24px; }
.nav-home { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 9px 12px; border: 1px solid transparent; font-weight: 600; }
.nav-label { margin: 22px 12px 8px; color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.currency-nav { list-style: none; padding: 0; margin: 0; }
.currency-nav li + li { margin-top: 1px; }
.currency-nav a { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; min-height: 37px; font-size: 14px; border: 1px solid transparent; border-radius: 2px; }
.nav-code { color: #5f6c5d; font-size: 11px; letter-spacing: .04em; }
.currency-nav a:hover, .nav-home:hover, .nav-bottom a:hover { background: var(--surface); text-decoration: none; }
.currency-nav a.is-active, .nav-home.is-active, .nav-bottom a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.currency-nav a.is-active .nav-code { color: #fffdf7; }
.nav-bottom { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); }
.nav-bottom a { display: flex; justify-content: space-between; padding: 8px 12px; min-height: 40px; font-size: 14px; border: 1px solid transparent; }
.nav-caption { margin: 27px 12px 0; font-size: 12px; color: var(--muted); }
.site-column { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: var(--paper); }
.site-main { flex: 1 0 auto; width: 100%; padding: 29px 42px 50px; }
.mobile-navigation { display: none; }
.page-header, .page-heading { margin-bottom: 23px; }
.page-header p, .page-heading p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.breadcrumb { margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.page-section, .trend-section { margin-top: 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.section-heading > a { font-size: 13px; }
.source-note { color: var(--muted); font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.page-section > .source-note { margin: 7px 0 11px; }
.notice { padding: 11px 15px; margin: 0 0 20px; background: var(--warning-bg); color: var(--warning); border-left: 3px solid #b19761; font-size: 13px; }
.quote-summary { margin-bottom: 19px; padding: 12px 0 16px; border-bottom: 1px solid var(--border); }
.quote-summary > p:first-child { font-size: 17px; }
.quote-value { margin: 0 4px; color: var(--brand); font-size: 29px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; }
.quote-summary .source-note { margin-top: 6px; }
.currency-converter { padding: 18px 22px 15px; border: 1px solid #becbb6; border-top: 2px solid var(--brand); background: #f7f6ed; }
.converter-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 13px; }
.converter-heading h2 { font-size: 17px; }
.converter-heading > span { color: var(--muted); font-size: 12px; }
.converter-fields { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(140px, 1fr) 38px minmax(140px, 1fr); gap: 10px; align-items: end; }
.converter-fields label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.converter-fields input { font-size: 18px; font-weight: 500; }
.converter-fields select { font-size: 14px; padding-left: 10px; }
.swap-button { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 0; border: 1px solid transparent; border-radius: 3px; background: #edf2e7; color: var(--brand); }
.swap-button:hover { background: var(--brand-tint); border-color: var(--border); }
.converter-result-row { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.converter-result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; min-width: 0; }
.converter-equation { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.converter-result-value { font-size: 29px; font-weight: 600; line-height: 1.4; color: var(--brand); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.converter-result-value > span { font-size: 16px; font-weight: 400; color: var(--text); }
.converter-unavailable { color: var(--muted); font-size: 14px; min-height: 40px; display: flex; align-items: center; }
.copy-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 6px 10px; background: var(--brand); border: 1px solid var(--border-strong); border-radius: 3px; font-size: 12px; color: #fff; white-space: nowrap; border-color: var(--brand); }
.copy-button:hover:not(:disabled) { background: #1f4d38; border-color: #1f4d38; }
.converter-source { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 14px; align-items: baseline; }
.converter-rate { font-size: 12px; font-variant-numeric: tabular-nums; }
.converter-disclaimer { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.65; }
.field-error { margin-top: 7px; color: var(--error); font-size: 12px; }
input[aria-invalid="true"] { border-color: var(--error); }
.copy-message { font-size: 12px; color: #286248; margin-top: 5px; }
.stale-note { color: var(--warning); font-size: 12px; flex-basis: 100%; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: left; }
.data-table thead th { font-size: 12px; font-weight: 500; color: #3c563e; background: #edf2e7; white-space: normal; }
.data-table tbody th { font-weight: 500; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: #f3f5ed; }
.data-table .number-cell { text-align: right; font-variant-numeric: tabular-nums; }
.currency-cell a, .bank-row-heading > a { display: inline-flex; gap: 9px; align-items: baseline; min-height: 23px; }
.currency-code { margin-left: 7px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .02em; }
.currency-cell .currency-code { margin-left: 0; }
.reference-price { color: var(--brand); font-size: 17px; font-weight: 500; white-space: nowrap; }
.reference-time { font-size: 12px; color: var(--muted); }
.reference-time time { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-kind { display: inline-block; margin-right: 13px; color: #5f6c5d; font-size: 11px; }
.reference-source { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.mobile-quote-kind { display: none; }
.row-status { display: inline-block; margin: 3px 0 0 7px; font-size: 10px; font-weight: 400; color: var(--warning); white-space: nowrap; }
.empty-state { padding: 27px 18px; text-align: center; color: var(--muted); font-size: 14px; }
.table-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.segmented-control { display: inline-flex; flex-shrink: 0; border: 1px solid var(--control-border); border-radius: 3px; overflow: hidden; background: #fff; }
.segmented-control > button { min-height: 36px; padding: 6px 16px; background: #fff; border: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.segmented-control > button + button { border-left: 1px solid var(--border-strong); }
.segmented-control > button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.segmented-control > button:hover:not([aria-pressed="true"]) { background: var(--brand-tint); }
.segmented-control > button:focus-visible { outline-offset: -4px; }
.segmented-control > button[aria-pressed="true"]:focus-visible { outline-color: var(--paper); }
.bank-sort { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.bank-sort label { color: var(--muted); font-size: 12px; white-space: nowrap; }
.bank-sort select { width: 207px; min-height: 38px; padding-top: 5px; padding-bottom: 5px; font-size: 12px; }
.table-unit { margin-left: auto; color: var(--muted); font-size: 12px; }
.bank-sort + .table-unit { margin-left: 0; }
.bank-table th:first-child { width: 25%; }
.bank-table thead th small, .th-subtitle { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.bank-table td.number-cell { font-size: 15px; color: #286248; white-space: nowrap; }
.bank-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bank-table-note { margin-top: 10px; }
.comparison-note { font-size: 12px; color: var(--muted); padding: 9px 12px; margin-top: 7px; background: var(--surface); border-left: 2px solid var(--border-strong); }
.trend-heading { margin-bottom: 6px; }
.chart-ranges > button { min-height: 34px; padding: 5px 12px; font-size: 12px; }
.chart-unit { margin-bottom: 7px; }
.trend-chart-body { min-height: 255px; border: 1px solid var(--border); background: #fff; border-radius: 2px; }
.trend-svg { display: block; width: 100%; height: auto; max-height: 330px; }
.chart-state { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 253px; padding: 20px; color: var(--muted); font-size: 13px; }
.loading-indicator { width: 13px; height: 13px; border: 2px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: loading-spin .8s linear infinite; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
.chart-axis { stroke: #c7d2bd; stroke-width: 1; }
.chart-grid { stroke: #e4e9de; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-axis-label { fill: #5f6c5d; font-size: 11px; font-variant-numeric: tabular-nums; }
.chart-line { stroke: var(--accent); vector-effect: non-scaling-stroke; }
.chart-point { fill: transparent; stroke: transparent; }
.chart-point:hover { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }
.chart-range-note { margin-top: 8px; }
.amount-table { max-width: 100%; }
.amount-table th, .amount-table td { width: 50%; font-variant-numeric: tabular-nums; }
.amount-table td:last-child, .amount-table th:last-child { text-align: right; }
.info-list { display: flex; flex-wrap: wrap; border: 1px solid var(--border); }
.info-list > a { flex: 0 0 25%; min-width: 130px; padding: 12px 16px; font-size: 14px; }
.info-list > a:hover { background: var(--surface); }
.currency-directory, .bank-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.currency-directory > a, .bank-directory > a { display: flex; flex-direction: column; gap: 4px; min-height: 96px; padding: 18px; border-bottom: 1px solid var(--border); }
.currency-directory > a:hover, .bank-directory > a:hover { background: var(--surface); text-decoration: none; }
.currency-directory strong, .bank-directory strong { font-size: 16px; font-weight: 500; color: var(--brand); }
.currency-directory span, .bank-directory span { font-size: 12px; color: var(--muted); }
.bank-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose { max-width: 790px; color: #3e5141; font-size: 15px; line-height: 1.95; }
.prose h2 { margin-top: 27px; margin-bottom: 9px; font-size: 18px; }
.prose h3 { margin-top: 20px; margin-bottom: 7px; }
.prose p + p { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; margin-top: 10px; margin-bottom: 16px; }
.prose li + li { margin-top: 5px; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 13px; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface); font-weight: 500; }
.prose code { padding: 1px 4px; background: var(--surface); font-size: .9em; overflow-wrap: anywhere; }
.site-footer { padding: 23px 42px 22px; border-top: 1px solid var(--border); background: #eff1e6; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-bottom: 9px; }
.footer-links a { color: #286248; }
.site-footer > p { line-height: 1.8; }
.footer-bottom { display: flex; gap: 18px; margin-top: 8px; font-size: 11px; }

@media (min-width: 1380px) {
  .site-frame { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
}
@media (max-width: 1100px) {
  :root { --sidebar-width: 200px; }
  .site-main { padding: 26px 28px 42px; }
  .site-footer { padding-left: 28px; padding-right: 28px; }
  .header-description { display: none; }
  .converter-fields { grid-template-columns: minmax(125px, 1.05fr) minmax(122px, 1fr) 30px minmax(122px, 1fr); gap: 7px; }
  .currency-converter { padding: 16px 18px 14px; }
  .data-table th, .data-table td { padding: 11px 12px; }
  .quote-kind { display: block; margin-right: 0; margin-bottom: 1px; }
  .bank-sort { margin-left: 0; }
  .table-unit { flex: 1; text-align: right; }
  .bank-sort + .table-unit { flex-basis: 100%; text-align: left; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 65px; padding: 0 23px; }
  .site-brand > span { font-size: 25px; }
  .site-frame { min-height: calc(100vh - 69px); }
  .site-sidebar { display: none; }
  .site-main { padding: 24px 28px 38px; }
  .mobile-navigation { display: block; padding: 0 28px; border-bottom: 1px solid var(--border); background: #f3f5ed; }
  .mobile-navigation > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--brand); cursor: pointer; list-style: none; }
  .mobile-navigation > summary::-webkit-details-marker { display: none; }
  .mobile-navigation[open] > summary { border-bottom: 1px solid var(--border); }
  .mobile-navigation nav { padding: 13px 0 17px; }
  .mobile-navigation .nav-label { margin-top: 13px; }
  .mobile-navigation .currency-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 12px; }
  .mobile-navigation .currency-nav a { min-height: 44px; }
  .mobile-navigation .nav-home { width: max-content; }
  .mobile-navigation .nav-bottom { display: flex; gap: 14px; padding-top: 10px; margin-top: 12px; }
  .mobile-navigation .nav-bottom a { min-height: 44px; gap: 20px; }
  .mobile-navigation .nav-caption { display: none; }
  .converter-fields { grid-template-columns: minmax(130px, 1.1fr) minmax(135px, 1fr) 35px minmax(135px, 1fr); gap: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 23px; }
  h2 { font-size: 18px; }
  .header-inner { min-height: 66px; padding: 0 17px; gap: 12px; }
  .site-brand { display: block; line-height: 1.3; }
  .site-brand > span { display: block; font-size: 23px; letter-spacing: .07em; }
  .site-brand small { display: block; margin-top: 1px; font-size: 10px; letter-spacing: .035em; }
  .header-tools { gap: 0; }
  .bookmark-button { padding-left: 2px; font-size: 12px; gap: 5px; }
  .bookmark-help { width: min(300px, calc(100vw - 34px)); }
  .mobile-navigation { padding: 0 18px; }
  .mobile-navigation .currency-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; }
  .mobile-navigation .currency-nav a { padding: 8px 10px; }
  .mobile-navigation .nav-bottom { gap: 8px; }
  .mobile-navigation .nav-bottom a { flex: 1; justify-content: space-between; padding: 8px; font-size: 13px; gap: 7px; }
  .site-main { padding: 23px 18px 34px; }
  .page-header, .page-heading { margin-bottom: 19px; }
  .page-header p, .page-heading p { font-size: 13px; line-height: 1.8; }
  .breadcrumb { margin-bottom: 13px; font-size: 11px; }
  .currency-converter { padding: 14px 14px 12px; }
  .converter-heading { margin-bottom: 12px; }
  .converter-heading h2 { font-size: 16px; }
  .converter-heading > span { font-size: 11px; }
  .converter-fields { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 8px; }
  .converter-amount { grid-column: 1 / -1; }
  .converter-fields input { min-height: 46px; font-size: 19px; }
  .converter-fields label { font-size: 12px; }
  .converter-fields select { font-size: 13px; padding-left: 8px; }
  .converter-result-row { margin-top: 12px; padding-top: 10px; align-items: flex-end; gap: 8px; }
  .converter-result { display: block; }
  .converter-equation { display: block; font-size: 12px; }
  .converter-result-value { display: block; font-size: 27px; }
  .converter-result-value > span { font-size: 14px; }
  .copy-button { min-height: 44px; padding: 7px 8px; font-size: 11px; gap: 5px; }
  .copy-button svg { width: 13px; }
  .converter-source { margin-top: 8px; gap: 2px; }
  .converter-source .source-note { font-size: 11px; line-height: 1.8; flex-basis: 100%; }
  .converter-rate { font-size: 11px; }
  .converter-disclaimer { font-size: 11px; margin-top: 7px; }
  .source-note { font-size: 11px; }
  .page-section, .trend-section { margin-top: 27px; }
  .section-heading { margin-bottom: 8px; gap: 6px 12px; }
  .section-heading > a { font-size: 12px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 11px 9px; }
  .data-table thead th { font-size: 11px; }
  .currency-cell a { flex-direction: column; gap: 2px; }
  .currency-code { font-size: 10px; }
  .currency-cell .currency-code { display: block; }
  .reference-table th:first-child { width: 24%; }
  .reference-price { font-size: 16px; width: 34%; }
  .reference-time-heading { width: 42%; }
  .quote-kind { display: none; }
  .reference-time { font-size: 11px; }
  .reference-time time { white-space: normal; display: block; line-height: 1.65; }
  .reference-source { font-size: 10px; line-height: 1.6; margin-top: 2px; }
  .mobile-quote-kind { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 3px; }
  .row-status { margin-left: 0; font-size: 9px; }
  .quote-summary { margin-bottom: 17px; padding: 6px 0 13px; }
  .quote-summary > p:first-child { font-size: 14px; }
  .quote-value { font-size: 26px; margin: 0 2px; }
  .table-toolbar { gap: 10px; margin-bottom: 10px; }
  .segmented-control > button { min-height: 44px; padding-left: 17px; padding-right: 17px; }
  .bank-sort { order: 3; width: 100%; gap: 9px; }
  .bank-sort select { flex: 1; width: 0; min-height: 44px; }
  .bank-sort label { font-size: 11px; }
  .table-unit, .bank-sort + .table-unit { flex: 1; flex-basis: auto; margin-left: auto; font-size: 10px; text-align: right; }
  .bank-table thead { display: none; }
  .bank-table tbody { display: block; }
  .bank-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 11px 13px 10px; border-bottom: 1px solid var(--border); }
  .bank-table tbody tr:last-child { border-bottom: 0; }
  .bank-table tbody tr > * { width: auto; border: 0; padding: 0; }
  .bank-table th.bank-row-heading { width: 100%; grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; font-size: 14px; }
  .bank-row-heading > a { gap: 8px; white-space: nowrap; }
  .bank-table td.number-cell { text-align: left; font-size: 17px; }
  .bank-table td.number-cell::before { display: block; content: attr(data-label); font-size: 10px; color: var(--muted); margin-bottom: 3px; }
  .bank-table .bank-time { grid-column: 1 / -1; margin-top: 8px; font-size: 10px; }
  .bank-time::before { content: "报价时间："; }
  .bank-table-note { margin-top: 9px; }
  .comparison-note { font-size: 11px; }
  .trend-heading { display: block; }
  .trend-heading h2 { margin-bottom: 10px; }
  .chart-ranges > button { min-height: 44px; padding: 5px 15px; font-size: 11px; }
  .chart-unit { margin-top: 8px; margin-bottom: 6px; }
  .trend-chart-body { min-height: 220px; display: flex; align-items: center; }
  .chart-state { width: 100%; min-height: 218px; font-size: 12px; }
  .trend-svg { height: auto; min-height: 218px; }
  .chart-axis-label { font-size: 12px; }
  .chart-range-note { font-size: 10px; margin-top: 7px; }
  .info-list > a { flex-basis: 50%; min-width: 0; padding: 11px 12px; font-size: 13px; }
  .currency-directory, .bank-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .currency-directory > a, .bank-directory > a { min-height: 91px; padding: 15px 11px; }
  .currency-directory strong, .bank-directory strong { font-size: 15px; }
  .prose { font-size: 14px; line-height: 1.9; }
  .prose h2 { font-size: 17px; margin-top: 23px; }
  .prose table { display: block; overflow-x: auto; font-size: 12px; }
  .prose th, .prose td { padding: 8px 10px; min-width: 90px; }
  .site-footer { padding: 21px 18px 20px; font-size: 11px; }
  .footer-links { gap: 9px 19px; }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .footer-bottom { font-size: 10px; gap: 14px; }
}
@media (max-width: 360px) {
  .site-main { padding-left: 13px; padding-right: 13px; }
  .converter-heading > span { display: none; }
  .converter-result-value { font-size: 24px; }
  .reference-price { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Complete bank quotations and the supplementary currency directory. */
.bank-currency-search { display: flex; align-items: center; gap: 9px; width: min(100%, 340px); }
.bank-currency-search label { flex-shrink: 0; color: var(--muted); font-size: 12px; }
.bank-currency-search input { flex: 1; width: 0; min-height: 44px; font-size: 13px; }
.bank-coverage { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.bank-full-table th:first-child { width: 19%; }
.bank-full-table .bank-row-heading { scroll-margin-top: 18px; }
.bank-row-heading > .bank-currency { display: inline-flex; align-items: baseline; gap: 9px; }
.bank-full-table tr:target { background: var(--brand-tint); }
.bank-only-currencies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.bank-only-currencies a { display: flex; flex-direction: column; gap: 4px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.bank-only-currencies a:hover { background: var(--surface); text-decoration: none; }
.bank-only-currencies small { color: var(--muted); font-size: 11px; }
.bank-only-currencies span > small { margin-left: 5px; }
@media (max-width: 1100px) and (min-width: 851px) {
  .bank-full-table th, .bank-full-table td { padding-left: 9px; padding-right: 9px; }
  .bank-full-table .bank-row-heading a, .bank-full-table .bank-currency { flex-wrap: wrap; gap: 2px 6px; }
  .bank-full-table td.number-cell { font-size: 13px; }
  .bank-full-table .bank-time { white-space: normal; font-size: 11px; }
}
@media (max-width: 600px) {
  .bank-currency-search { width: 100%; }
  .bank-currency-search + .table-unit { width: 100%; flex-basis: 100%; margin-left: 0; text-align: left; }
  .bank-coverage { font-size: 11px; }
  .bank-full-table tbody tr { row-gap: 9px; }
  .bank-full-table th.bank-row-heading { width: 100%; }
  .bank-full-table .bank-row-heading, .bank-full-table .bank-time { margin: 0; }
  .bank-full-table td.number-cell { font-size: 16px; }
  .bank-only-currencies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-only-currencies a { padding: 12px 9px; font-size: 13px; }
}

/* Bank amount examples and visible summaries of the displayed chart interval. */
.bank-exchange-example { margin: 18px 0 25px; padding: 16px 20px 14px; border: 1px solid var(--border); background: var(--surface); }
.bank-exchange-example h2 { font-size: 17px; }
.bank-example-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 22px; }
.bank-example-currency { width: min(100%, 310px); }
.bank-example-currency label { display: block; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
.bank-example-currency select { font-size: 14px; }
.bank-example-mode > button { min-height: 42px; }
.bank-example-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 15px 0 11px; padding-top: 12px; border-top: 1px solid var(--border); }
.bank-example-result { min-width: 0; }
.bank-example-result > p { font-size: 13px; }
.bank-example-result output { display: block; margin: 2px 0; font-size: 25px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank-example-result output > span { font-size: 13px; font-weight: 400; color: var(--text); }
.bank-example-result > small { display: block; font-size: 11px; color: var(--muted); }
.bank-example-result > .bank-example-unavailable { min-height: 42px; display: flex; align-items: center; color: var(--muted); font-size: 13px; }
.bank-example-hint { margin-top: 8px; }
.bank-example-source { margin-bottom: 3px; }
.trend-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 12px 16px; border: 1px solid var(--border); border-top: 0; background: var(--surface); }
.trend-summary > div { min-width: 0; }
.trend-summary dt { color: var(--muted); font-size: 12px; }
.trend-summary dd { margin: 3px 0 0; font-size: 17px; font-weight: 500; color: var(--brand-dark); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.trend-summary-percent { display: inline-block; margin-left: 7px; color: var(--muted); font-size: 12px; font-weight: 400; }
@media (max-width: 600px) {
  .bank-exchange-example { padding: 14px; margin-top: 15px; }
  .bank-example-controls { gap: 10px; }
  .bank-example-currency { flex: 1; width: auto; min-width: 0; }
  .bank-example-currency select { padding-left: 8px; font-size: 13px; }
  .bank-example-mode > button { min-height: 44px; padding-left: 13px; padding-right: 13px; }
  .bank-example-results { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bank-example-result output { font-size: 24px; }
  .trend-summary { gap: 9px; padding: 11px 10px; }
  .trend-summary dt { font-size: 11px; }
  .trend-summary dd { font-size: 14px; }
  .trend-summary-percent { display: block; margin: 2px 0 0; font-size: 11px; }
}

.reverse-quote { margin-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.reverse-quote span { color: var(--muted); font-size: 12px; }
.contextual-links { margin-top: 16px; }
.query-answers { border-top: 1px solid var(--border); padding-top: 22px; }
.query-answers > div { margin-top: 17px; }
.query-answers h3 { font-size: 15px; margin-bottom: 5px; }
.query-answers p { max-width: 68em; font-size: 14px; line-height: 1.9; }
.related-links, .quote-quick-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.related-links { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); }
.quote-quick-links { margin: 16px 0; }
.related-links > span, .quote-quick-links > span { color: var(--muted); }
