/* money 首頁：利率牌告＋錢的地圖（money/hub/render.mjs）。
   站根（style.css＋product.css）與 /zh-tw/money/（同兩支）都載這一支；只用 .mh- 開頭的 class，不改既有規則。
   色票沿用主站：墨 #15191e、紙 #f6f1e8、黃 #ffdc55、灰藍 #526981。牌告的漲跌照台灣、韓國習慣：紅漲綠跌。 */

.mh-hero, .mh-map {
  --mh-ink: #15191e;
  --mh-paper: #f6f1e8;
  --mh-yellow: #ffdc55;
  --mh-slate: #526981;
  --mh-muted: #5b636c;
  --mh-led: #ffc94a;
  --mh-up: #ff6b5e;
  --mh-down: #3ddc84;
  --mh-board: #0d1013;
  --mh-line: #262c33;
  --mh-cjk: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", system-ui, sans-serif;
  --mh-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: var(--mh-ink);
  font-family: var(--mh-cjk);
}
html[lang="zh-Hans"] .mh-hero, html[lang="zh-Hans"] .mh-map, html[lang="zh-cn"] .mh-hero, html[lang="zh-cn"] .mh-map {
  --mh-cjk: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
.mh-hero *, .mh-map * { box-sizing: border-box; }

/* ------------------------------------------------------------------ hero -- */
.mh-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "copy board" "extra board";
  column-gap: clamp(28px, 4vw, 60px);
  row-gap: 0;
  align-items: start;
  padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 58px) clamp(40px, 5vw, 72px);
  background: var(--mh-paper);
  border-bottom: 1px solid var(--mh-ink);
}
.mh-hero-copy { grid-area: copy; min-width: 0; padding-top: 42px; }
.mh-hero-extra { grid-area: extra; min-width: 0; }
.mh-hero .eyebrow { margin: 0; }
.mh-hero h1, .mh-hero h2#mh-title {
  margin: 12px 0 16px;
  font: 800 clamp(32px, 3.5vw, 54px)/1.16 var(--mh-cjk);
  letter-spacing: -0.015em;
  color: var(--mh-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mh-hero h1 em, .mh-hero h2#mh-title em { display: block; font-style: italic; color: var(--mh-slate); }
.mh-lead { max-width: 33em; margin: 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.85; color: #2b3138; }
.mh-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mh-jump p { flex: 1 0 100%; margin: 0 0 2px; font: 500 11px/1 var(--mh-mono); letter-spacing: .14em; color: var(--mh-muted); }
.mh-jump a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border: 1px solid var(--mh-ink); background: #fff;
  color: var(--mh-ink); font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.mh-jump a span { font: 500 11px/1 var(--mh-mono); color: var(--mh-slate); }
.mh-jump a:hover, .mh-jump a:focus-visible { background: var(--mh-yellow); transform: translateY(-1px); }

.mh-points { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--mh-ink); background: #fff; max-width: 34em; }
.mh-points p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; font: 500 11px/1 var(--mh-mono); letter-spacing: .14em; color: var(--mh-muted); }
.mh-points p span { color: var(--mh-slate); }
.mh-points ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.6; }
.mh-points li { position: relative; padding-left: 16px; }
.mh-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--mh-up); }
.mh-points b { font-family: var(--mh-mono); font-weight: 500; }

/* ----------------------------------------------------------------- board -- */
.mh-board-wrap { grid-area: board; position: relative; min-width: 0; padding-top: 42px; }
.mh-hero-racco {
  position: absolute; top: -6px; right: clamp(16px, 6%, 48px); z-index: 1;
  width: clamp(78px, 9vw, 112px); height: auto; pointer-events: none;
}
.mh-board {
  position: relative; z-index: 2;
  overflow: hidden;
  border: 1px solid var(--mh-ink);
  border-radius: 12px;
  background:
    radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.4px) 0 0 / 6px 6px,
    var(--mh-board);
  box-shadow: 0 0 0 7px #262b31, 0 0 0 8px var(--mh-ink), 0 22px 44px rgba(21, 25, 30, .3);
  color: #e9e4da;
}
.mh-board a { color: #d9d3c7; }
.mh-board-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 18px; border-bottom: 1px solid var(--mh-line);
  font: 500 12px/1 var(--mh-mono); letter-spacing: .12em; color: #9aa1a9;
}
.mh-board-top b { font: 800 15px/1 var(--mh-cjk); letter-spacing: .08em; color: #f6f1e8; }
.mh-board-top time { margin-left: auto; color: var(--mh-led); }
.mh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mh-up); box-shadow: 0 0 9px var(--mh-up); animation: mh-blink 1.8s steps(2, start) infinite; }
@keyframes mh-blink { 50% { opacity: .25; } }

.mh-ticker { overflow: hidden; border-bottom: 1px solid var(--mh-line); background: #08090b; white-space: nowrap; }
.mh-ticker-track { display: inline-flex; padding: 10px 0; animation: mh-scroll 70s linear infinite; font: 500 13px/1 var(--mh-mono); color: var(--mh-led); }
.mh-ticker-track span { margin-right: 34px; }
.mh-ticker-track b { font: 700 13px/1 var(--mh-cjk); color: #f3eee4; margin-right: 6px; }
.mh-ticker-track i { font-style: normal; margin-left: 4px; }
.mh-ticker:hover .mh-ticker-track { animation-play-state: paused; }
@keyframes mh-scroll { to { transform: translateX(-50%); } }

.mh-board-tabs { display: flex; border-bottom: 1px solid var(--mh-line); }
.mh-board-tabs button {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px 11px; border: 0; border-bottom: 3px solid transparent; background: transparent;
  color: #9aa1a9; font: 800 16px/1 var(--mh-cjk); cursor: pointer;
}
.mh-board-tabs button small { font: 500 10px/1 var(--mh-mono); letter-spacing: .16em; }
.mh-board-tabs button[aria-selected="true"] { color: #f6f1e8; border-bottom-color: var(--mh-led); background: #12161a; }
.mh-board-tabs button:focus-visible { outline: 2px solid var(--mh-led); outline-offset: -4px; }
.mh-board-tabs { display: none; }
.mh-js .mh-board-tabs { display: flex; }
.mh-js .mh-board-panel { display: none; }
.mh-js .mh-board-panel.is-active { display: block; }
.mh-board-h { margin: 0; padding: 12px 18px 0; font: 800 15px/1 var(--mh-cjk); color: #f6f1e8; }
.mh-board-h small { font: 500 10px/1 var(--mh-mono); letter-spacing: .16em; color: #7d858e; }
.mh-js .mh-board-h { display: none; }

.mh-rates { width: 100%; border-collapse: collapse; }
.mh-rates thead th { padding: 10px 18px 8px; border-bottom: 1px solid var(--mh-line); text-align: left; font: 500 10.5px/1 var(--mh-mono); letter-spacing: .16em; color: #6f7780; }
.mh-rates thead th:nth-child(2), .mh-rates thead th:nth-child(3) { text-align: right; }
.mh-rates tbody th, .mh-rates td { padding: 12px 18px; border-bottom: 1px dashed #22282e; vertical-align: middle; text-align: left; font-weight: 400; }
.mh-rates tbody tr:last-child th, .mh-rates tbody tr:last-child td { border-bottom: 0; }
.mh-rate.is-calc { cursor: pointer; }
.mh-rate.is-calc:hover { background: #14181d; }
.mh-rate.is-active { background: #171c21; box-shadow: inset 3px 0 0 var(--mh-led); }
.mh-pick { all: unset; display: block; cursor: pointer; }
.mh-pick:focus-visible { outline: 2px solid var(--mh-led); outline-offset: 4px; border-radius: 2px; }
.mh-rates tbody th b { display: block; font: 700 16px/1.3 var(--mh-cjk); color: #f3eee4; }
.mh-rates tbody th small { display: block; margin-top: 3px; font: 400 11px/1.3 var(--mh-mono); color: #7d858e; letter-spacing: .02em; }
.mh-rates tbody th em { display: block; margin-top: 5px; font: 400 12px/1.5 var(--mh-cjk); font-style: normal; color: #9aa1a9; }
.mh-trend { width: 92px; padding-left: 0 !important; padding-right: 0 !important; text-align: center !important; }
.mh-spark { display: block; margin: 0 auto; overflow: visible; }
.mh-spark polygon { fill: rgba(255, 201, 74, .12); }
.mh-spark polyline { fill: none; stroke: var(--mh-led); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.mh-spark circle { fill: var(--mh-led); }
.mh-num { text-align: right; white-space: nowrap; }
.mh-led { font: 500 clamp(26px, 2.6vw, 34px)/1 var(--mh-mono); color: var(--mh-led); text-shadow: 0 0 12px rgba(255, 176, 40, .42); letter-spacing: .01em; }
.mh-num i { margin-left: 2px; font: 500 15px/1 var(--mh-mono); font-style: normal; color: var(--mh-led); opacity: .75; }
.mh-chg { text-align: right; white-space: nowrap; font: 500 13px/1 var(--mh-mono); }
.mh-chg.up, .mh-ticker i.up { color: var(--mh-up); }
.mh-chg.down, .mh-ticker i.down { color: var(--mh-down); }
.mh-chg.flat, .mh-ticker i.flat { color: #6f7780; }
.mh-date { font: 500 12.5px/1.35 var(--mh-mono); color: #d9d3c7; white-space: nowrap; }
.mh-date small { display: block; max-width: 11em; white-space: normal; font: 400 10.5px/1.35 var(--mh-cjk); color: #6f7780; }

.mh-calc { margin: 0; padding: 16px 18px 18px; border-top: 1px solid var(--mh-line); background: #101418; }
.mh-calc-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 12px; font: 500 12px/1.4 var(--mh-mono); letter-spacing: .1em; color: #9aa1a9; }
.mh-calc-title b { font: 800 15px/1.2 var(--mh-cjk); letter-spacing: 0; color: var(--mh-led); }
.mh-calc-hint { font: 400 12px/1.4 var(--mh-cjk); letter-spacing: 0; color: #6f7780; }
.mh-calc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mh-calc label { display: grid; gap: 6px; font: 400 12px/1.3 var(--mh-cjk); color: #9aa1a9; }
.mh-calc label[hidden] { display: none; }
.mh-calc input {
  width: 100%; padding: 10px 11px; border: 1px solid #2f363e; border-radius: 7px;
  background: #0a0c0f; color: #f6f1e8; font: 500 16px/1 var(--mh-mono);
}
.mh-calc input:focus { outline: 2px solid var(--mh-led); outline-offset: 1px; border-color: transparent; }
.mh-calc-out { display: block; margin-top: 14px; font: 400 15px/1.75 var(--mh-cjk); color: #e9e4da; }
.mh-calc-out b { font: 500 21px/1 var(--mh-mono); color: var(--mh-led); }
.mh-calc-out .warn { color: var(--mh-up); }
.mh-calc-fine { margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: #6f7780; }
.mh-board-src { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--mh-line); font-size: 12px; line-height: 1.7; color: #8d949c; }
.mh-stale { display: block; margin-top: 6px; color: var(--mh-up); font-weight: 700; }
.mh-stale[hidden] { display: none; }

/* --------------------------------------------------------------- the map -- */
.mh-map { padding: clamp(44px, 6vw, 96px) clamp(18px, 4vw, 58px); background: #fffdf8; border-bottom: 1px solid var(--mh-ink); }
.mh-map-head { max-width: 860px; }
.mh-map-head .eyebrow { margin: 0; }
.mh-map-head h2 { text-wrap: balance; margin: 10px 0 14px; font: 800 clamp(26px, 3.2vw, 44px)/1.22 var(--mh-cjk); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
.mh-map-head h2 em { font-style: italic; color: var(--mh-slate); }
.mh-map-head > p:last-child { margin: 0; font-size: 16px; line-height: 1.85; color: #2b3138; }

.mh-tabs {
  display: none; gap: 8px; margin: 30px -4px 26px; padding: 4px; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.mh-tabs::-webkit-scrollbar { display: none; }
.mh-js .mh-tabs { display: flex; }
.mh-tabs button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; scroll-snap-align: start;
  padding: 11px 15px; border: 1px solid var(--mh-ink); border-radius: 999px; background: #fff;
  color: var(--mh-ink); font: 700 15px/1 var(--mh-cjk); cursor: pointer;
  transition: background .15s ease;
}
.mh-tabs button span { font: 500 11px/1 var(--mh-mono); color: var(--mh-slate); }
.mh-tabs button:hover { background: #fff4c2; }
.mh-tabs button[aria-selected="true"] { background: var(--mh-ink); color: var(--mh-paper); }
.mh-tabs button[aria-selected="true"] span { color: var(--mh-yellow); }
.mh-tabs button:focus-visible { outline: 2px solid var(--mh-slate); outline-offset: 2px; }

.mh-panel { padding-top: 34px; border-top: 1px solid var(--mh-ink); margin-top: 34px; }
.mh-js .mh-panel { display: none; margin-top: 0; }
.mh-js .mh-panel.is-active { display: block; }
.mh-panel:focus { outline: none; }
.mh-panel-head { max-width: 760px; }
.mh-panel-head .eyebrow { margin: 0; }
.mh-panel-head h3 { margin: 8px 0 10px; font: 800 clamp(22px, 2.5vw, 32px)/1.25 var(--mh-cjk); text-wrap: balance; }
.mh-panel-head p:last-child { margin: 0; font-size: 15.5px; line-height: 1.85; color: #2b3138; }
.mh-panel-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: clamp(20px, 3vw, 40px); margin-top: 24px; align-items: start; }
.mh-panel-side { display: grid; gap: 16px; position: sticky; top: 16px; }

.mh-know { padding: 16px 18px; border: 1px solid var(--mh-ink); background: var(--mh-yellow); }
.mh-know p { margin: 0 0 10px; font: 700 14px/1.3 var(--mh-cjk); }
.mh-know ul { display: grid; gap: 8px; margin: 0; padding-left: 1.15em; font-size: 14px; line-height: 1.7; }
.mh-know a { color: var(--mh-ink); }
.mh-reads { padding: 16px 18px; border: 1px solid var(--mh-ink); background: #fff; }
.mh-reads p { margin: 0 0 8px; font: 500 11px/1 var(--mh-mono); letter-spacing: .14em; color: var(--mh-muted); }
.mh-reads ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.55; }
.mh-reads a { color: var(--mh-ink); font-weight: 700; text-underline-offset: 3px; }
.mh-reads small { display: block; color: var(--mh-muted); font-size: 12px; }
.mh-checked { margin: 0; font-size: 12px; line-height: 1.6; color: var(--mh-muted); }

.mh-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.mh-filters[hidden] { display: none; }
.mh-filters button {
  padding: 7px 12px; border: 1px dashed var(--mh-ink); border-radius: 999px; background: transparent;
  color: var(--mh-ink); font: 700 13px/1 var(--mh-cjk); cursor: pointer;
}
.mh-filters button[aria-pressed="true"] { border-style: solid; background: var(--mh-ink); color: var(--mh-paper); }
.mh-filters button[aria-pressed="true"]::before { content: "✓ "; }
.mh-filter-count { font: 500 12px/1 var(--mh-mono); color: var(--mh-muted); }
.mh-empty { padding: 18px; border: 1px dashed var(--mh-ink); font-size: 14px; color: var(--mh-muted); }

.mh-group + .mh-group { margin-top: 26px; }
.mh-group-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; font: 800 17px/1.3 var(--mh-cjk); }
.mh-group-h small { font: 400 13px/1.4 var(--mh-cjk); color: var(--mh-muted); }
.mh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.mh-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--mh-ink); background: #fff; }
.mh-card[hidden], .mh-app[hidden] { display: none; }
.mh-card header { display: flex; align-items: center; gap: 12px; }
.mh-logo, .mh-app-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--logo, var(--mh-ink)); color: #fff; font: 700 17px/1 var(--mh-mono); letter-spacing: -.02em;
}
.mh-card h4 { margin: 0; font: 800 17px/1.25 var(--mh-cjk); }
.mh-card header p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--mh-muted); }
.mh-card-lead { margin: 0; font-size: 14px; line-height: 1.7; color: #2b3138; }
.mh-facts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.mh-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted #d3cbbd; }
.mh-facts li:last-child { border-bottom: 0; }
.mh-facts span { flex: 0 0 auto; color: var(--mh-muted); }
.mh-facts b { text-align: right; font-weight: 700; }
.mh-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.mh-chips span { padding: 3px 8px; border: 1px solid var(--mh-ink); border-radius: 999px; font-size: 11.5px; line-height: 1.3; }
.mh-out { margin-top: auto; color: var(--mh-ink); font-weight: 700; font-size: 14px; text-underline-offset: 3px; }

/* 美股 app：手機外框裡的自選股清單＋一眼比較表 */
.mh-appwrap { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: clamp(18px, 2.5vw, 32px); align-items: start; }
.mh-matrix { overflow-x: auto; border: 1px solid var(--mh-ink); background: #fff; }
.mh-matrix table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 13.5px; }
.mh-matrix caption { padding: 12px 14px 6px; text-align: left; font: 700 14px/1.4 var(--mh-cjk); }
.mh-matrix th, .mh-matrix td { padding: 8px 10px; border-bottom: 1px dotted #d3cbbd; text-align: center; font-weight: 400; }
.mh-matrix thead th { font: 700 12px/1.3 var(--mh-cjk); color: var(--mh-muted); border-bottom: 1px solid var(--mh-ink); vertical-align: bottom; }
.mh-matrix tbody th { text-align: left; font-weight: 700; white-space: nowrap; }
.mh-matrix td.y { color: #1f7a2e; font-weight: 800; }
.mh-matrix td.n { color: #b8b0a2; }
.mh-matrix tr[hidden] { display: none; }
.mh-matrix p { margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--mh-ink); font-size: 12px; line-height: 1.6; color: var(--mh-muted); }
.mh-phone {
  max-width: 470px; padding: 12px 0 16px; border: 10px solid var(--mh-ink); border-radius: 36px;
  background: var(--mh-board); color: #e9e4da; box-shadow: 0 22px 44px rgba(21, 25, 30, .25);
}
.mh-phone-bar { display: flex; justify-content: space-between; margin: 0; padding: 4px 22px 12px; font: 500 12px/1 var(--mh-mono); letter-spacing: .08em; color: #8d949c; }
.mh-applist { margin: 0; padding: 0; list-style: none; }
.mh-app details { border-top: 1px solid #1d2227; }
.mh-app summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 20px; cursor: pointer; list-style: none; }
.mh-app summary::-webkit-details-marker { display: none; }
.mh-app summary:hover, .mh-app details[open] summary { background: #151a1f; }
.mh-app summary:focus-visible { outline: 2px solid var(--mh-led); outline-offset: -2px; }
.mh-app-name b { display: block; font: 700 15.5px/1.3 var(--mh-cjk); color: #f3eee4; }
.mh-app-name small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #8d949c; }
.mh-app-price { text-align: right; font: 500 19px/1 var(--mh-mono); color: var(--mh-down); }
.mh-app-price small { display: block; margin-top: 4px; font: 400 10.5px/1 var(--mh-cjk); color: #8d949c; }
.mh-app-body { padding: 2px 20px 16px 74px; font-size: 13.5px; line-height: 1.7; color: #c9c3b8; }
.mh-app-body p { margin: 0 0 8px; }
.mh-app-body .mh-facts li { border-bottom-color: #2a3037; }
.mh-app-body .mh-facts span { color: #8d949c; }
.mh-app-body .mh-facts b { color: #f3eee4; }
.mh-app-body .mh-out { display: inline-block; margin-top: 10px; color: var(--mh-led); }

/* 依信用分數的利率表 */
.mh-tier { overflow-x: auto; border: 1px solid var(--mh-ink); background: #fff; }
.mh-tier table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.mh-tier caption { padding: 12px 14px 4px; text-align: left; font: 700 14px/1.4 var(--mh-cjk); }
.mh-tier th, .mh-tier td { padding: 9px 14px; border-bottom: 1px dotted #d3cbbd; text-align: left; font-weight: 400; }
.mh-tier thead th { font: 500 11px/1.2 var(--mh-mono); letter-spacing: .08em; color: var(--mh-muted); border-bottom: 1px solid var(--mh-ink); }
.mh-tier tbody th { font-weight: 700; }
.mh-tier .n { text-align: right; font-family: var(--mh-mono); white-space: nowrap; }
.mh-tier tbody tr:last-child th, .mh-tier tbody tr:last-child td { border-bottom: 0; }
.mh-tier p { margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--mh-ink); font-size: 12px; line-height: 1.6; color: var(--mh-muted); }
.mh-tier p a { color: var(--mh-ink); }

.mh-independent { max-width: 900px; margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--mh-ink); font-size: 13px; line-height: 1.8; color: var(--mh-muted); }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1080px) {
  .mh-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "board" "extra"; row-gap: 8px; }
  .mh-hero-copy { padding-top: 0; }
  .mh-hero-extra { margin-top: 18px; }
  .mh-board-wrap { max-width: 760px; }
}
@media (max-width: 1180px) {
  .mh-appwrap { grid-template-columns: minmax(0, 1fr); }
  .mh-phone { max-width: 470px; }
}
@media (max-width: 860px) {
  .mh-panel-body { grid-template-columns: minmax(0, 1fr); }
  .mh-panel-side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .mh-calc-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mh-rates thead, .mh-trend { display: none; }
  .mh-rates tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 12px 16px; border-bottom: 1px dashed #22282e; }
  .mh-rates tbody tr:last-child { border-bottom: 0; }
  .mh-rates tbody th, .mh-rates td { padding: 0; border: 0; }
  .mh-rates tbody th { grid-row: 1 / span 2; }
  .mh-num, .mh-chg { grid-column: 2; }
  .mh-chg { padding-top: 6px; font-size: 12px; }
  .mh-date { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-size: 11.5px; }
  .mh-date small { display: inline; max-width: none; }
  .mh-rate.is-active { box-shadow: inset 3px 0 0 var(--mh-led); }
  .mh-app-body { padding-left: 20px; }
  .mh-phone { border-width: 8px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-ticker-track, .mh-dot { animation: none; }
  .mh-ticker { overflow-x: auto; }
  .mh-jump a { transition: none; }
}
@media print {
  .mh-ticker, .mh-tabs, .mh-board-tabs, .mh-filters, .mh-calc { display: none !important; }
  .mh-js .mh-panel, .mh-js .mh-board-panel { display: block !important; }
  .mh-js .mh-board-h { display: block; }
}
