:root {
  --brand-primary: #019AB3;
  --brand-secondary: #17B5AD;
  --brand-deep: #003D91;
  --up: #d62828;
  --down: #2a9d8f;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --text: #1a1a1a;
  --text-mute: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --bg-alt: #1a212a;
    --text: #f3f4f6;
    --text-mute: #9ca3af;
    --border: #2d3748;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: -apple-system, "Noto Sans CJK TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(1, 154, 179, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(23, 181, 173, 0.09), transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(0, 61, 145, 0.05), transparent 70%),
    var(--bg-alt);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: contain;
}

#pull-indicator {
  position: fixed;
  top: -56px;
  left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  background: linear-gradient(180deg, #003D91, #019AB3);
  box-shadow: 0 2px 8px rgba(0, 31, 77, 0.3);
  transition: transform 0.25s ease;
  pointer-events: none;
}
#pull-indicator .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 18px;
}
#pull-indicator.ready .arrow { transform: rotate(180deg); }
#pull-indicator.refreshing .arrow {
  animation: pull-spin 0.8s linear infinite;
}
#pull-indicator.done {
  background: linear-gradient(180deg, #17B5AD, #019AB3);
}
@keyframes pull-spin {
  to { transform: rotate(360deg); }
}

.topbar {
  position: relative;
  padding: 14px 18px 12px;
  background:
    radial-gradient(circle at 90% -20%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at -10% 110%, rgba(23, 181, 173, 0.55), transparent 60%),
    linear-gradient(135deg, #003D91 0%, #019AB3 55%, #17B5AD 100%);
  color: white;
  overflow: hidden;
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 130%, rgba(255, 217, 107, 0.18), transparent 45%);
  pointer-events: none;
}
.topbar::after {
  content: "";
  position: absolute;
  top: -40%; right: -25%;
  width: 70%; height: 200%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  transform: rotate(12deg);
  pointer-events: none;
}
.topbar > * { position: relative; z-index: 1; }

.topbar h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.topbar .updated {
  margin: 8px 0 0;
  padding: 0;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.92;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-bottom: 4px solid var(--brand-secondary);
  box-shadow: 0 2px 8px rgba(0, 31, 77, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.main-nav::-webkit-scrollbar { display: none; }

.main-tab {
  flex: 1 1 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.tab-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}
.main-tab + .main-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 18px;
  width: 1px;
  background: var(--border);
  transform: translateY(-50%);
}
.main-tab:hover { color: var(--brand-deep); }
.main-tab.active {
  color: var(--brand-deep);
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .main-nav {
    background: #1a212a;
    border-bottom-color: var(--brand-secondary);
  }
  .main-tab + .main-tab::before { background: var(--border); }
}

#content {
  padding: 20px 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
  animation: contentIn 0.25s ease-out;
}

#content h3.section-title,
#content > h3 {
  position: relative;
  padding-left: 0;
  margin: 24px 0 10px;
  font-size: 17px;
  color: var(--brand-deep);
}
#content > h3:first-child,
#content h3.section-title:first-child { margin-top: 4px; }
#content h3.section-title::before,
#content > h3::before { display: none; }

#content table.indices {
  background: var(--bg);
  border-radius: 12px;
  padding: 4px 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
@keyframes contentIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#cards {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  animation: cardIn 0.4s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0ms; }
.card:nth-child(2) { animation-delay: 60ms; }
.card:nth-child(3) { animation-delay: 120ms; }

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.card > header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.card h2 { margin: 0; font-size: 18px; color: var(--brand-deep); }
.card-date { font-size: 12px; color: var(--text-mute); }

.preview {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.preview .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.preview .name { color: var(--text-mute); }
.preview .val { font-weight: 600; font-variant-numeric: tabular-nums; }

.up { color: var(--up); }
.down { color: var(--down); }

.expand-btn {
  width: 100%;
  padding: 10px;
  border: none;
  background: var(--bg-alt);
  color: var(--brand-primary);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}
.expand-btn:active { background: var(--border); }

.sheet-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  opacity: 0;
  animation: fadeIn 0.32s ease-out forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 92vh;
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  z-index: 101;
  transform: translateY(100%);
  animation: sheetUp 0.32s ease-out forwards;
  display: flex;
  flex-direction: column;
}
@keyframes sheetUp { to { transform: translateY(0); } }

.sheet-head {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.back-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 4px 8px;
}
.sheet-head h2 { margin: 0; font-size: 18px; }
.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

table.indices {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.indices th, table.indices td {
  text-align: right;
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
}
table.indices th:first-child, table.indices td:first-child { text-align: left; }
table.indices thead th {
  position: sticky; top: 0;
  background: var(--bg);
  font-weight: 600;
}
table.indices .date-col {
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
  text-align: center;
}

.tabs {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.tab {
  flex: 1;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab:hover { color: var(--brand-primary); }
.tab.active {
  color: white;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.news-item {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.news-item h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); padding-left: 0; }
.news-item h3::before { display: none; }
.news-item .summary { font-size: 14px; line-height: 1.6; color: var(--text); }
.news-item .source { font-size: 13px; color: var(--brand-primary); margin-top: 6px; display: inline-block; }
/* English toggle removed — site is Chinese-only */

.disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  padding: 16px 16px 24px;
}

/* ===== 桌面版響應式（>= 768px）===== */
@media (min-width: 768px) {
  .topbar {
    padding: 32px 48px 28px;
  }
  .topbar h1 {
    font-size: 32px;
    max-width: 1200px;
    margin: 0 auto 6px;
  }
  .topbar .updated {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 15px;
  }

  #cards {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .main-nav {
    padding: 0 40px;
    gap: 40px;
    justify-content: center;
  }
  .main-tab {
    padding: 20px 4px;
    font-size: 16px;
  }

  #content {
    padding: 32px;
  }

  .card {
    padding: 24px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
  }
  .card h2 { font-size: 22px; }
  .card-date { font-size: 14px; }
  .preview {
    font-size: 16px;
    flex: 1;
  }
  .preview .row { padding: 6px 0; }
  .expand-btn {
    padding: 12px;
    font-size: 15px;
  }

  .disclaimer {
    font-size: 13px;
    padding: 24px 16px 40px;
  }

  /* Sheet — 桌面變成置中 modal、不是全屏 */
  .sheet {
    left: 50%;
    right: auto;
    transform: translate(-50%, 100%);
    width: 90vw;
    max-width: 900px;
    height: 85vh;
    border-radius: 16px;
    margin-bottom: 5vh;
  }
  @keyframes sheetUp {
    to { transform: translate(-50%, 0); }
  }
  .sheet-head { padding: 18px 24px; }
  .sheet-head h2 { font-size: 22px; }
  .sheet-body { padding: 24px; }

  table.indices { font-size: 15px; }
  table.indices th, table.indices td { padding: 10px 8px; }

  .fund-card { padding: 16px; }
  .fund-card h3 { font-size: 17px; }
  .fund-card .grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    font-size: 14px;
  }

  .news-item h3 { font-size: 18px; }
  .news-item .summary { font-size: 15px; }
}

/* ===== 大螢幕（>= 1280px）— 4 欄佈局 ===== */
@media (min-width: 1280px) {
  #cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1400px;
  }
  .card { min-height: 240px; }
}

.fund-card {
  position: relative;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--bg);
  border: 1px solid var(--border) !important;
  border-left: 1px solid var(--border) !important;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* 強制覆寫：所有分頁、所有 section 下的 fund-card 都禁止彩色左襯線 */
#content[data-section] .fund-card,
.fund-card { border-left-color: var(--border) !important; border-left-width: 1px !important; }
.fund-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 31, 77, 0.08);
}
.fund-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-deep);
  padding-left: 0;
}
.fund-card h3::before { display: none; }

/* 卡片標題若為外部連結，加 ↗ icon 與 hover 強化 */
.fund-card h3 a[target="_blank"] {
  color: var(--brand-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.fund-card h3 a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--brand-primary);
  margin-left: 2px;
}
.fund-card h3 a[target="_blank"]:hover {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

/* 卡片左側色條已移除（保留 hook 不再設色） */

/* 色塊標籤 */
.chip {
  display: inline-block;
  padding: 2px 10px;
  margin-right: 4px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.6;
}
.chip-usd { background: #E5F2F5; color: #0a5a6e; }
.chip-twd { background: #E1F5F0; color: #0d6e5a; }
.chip-aud { background: #FFF3D6; color: #8a5a00; }
.chip-corp { background: #E8EBF5; color: #1f3072; }
.chip-sov { background: #F0E1F5; color: #5a1f72; }
.chip-zero { background: #FFE5E5; color: #8a2020; }
.chip-default { background: #EDEDED; color: #555; }
.fund-card .tagline { font-size: 14px; color: var(--text-sub); margin: 0 0 10px; }
.fund-card .grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  font-size: 15px;
}
.fund-card .grid > div { text-align: center; }
.fund-card .grid label { display: block; font-size: 13px; color: var(--text-mute); margin-bottom: 2px; }
.fund-card .grid .cell-sub { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

/* ===== Targets (主題市場) ===== */
.targets-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.t-kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.t-kpi-label { font-size: 12px; color: var(--text-mute); letter-spacing: 0.5px; margin-bottom: 4px; }
.t-kpi-value { font-size: 24px; font-weight: 700; color: var(--brand-deep); line-height: 1.1; }
.t-kpi-value.t-up { color: var(--up); }
.t-kpi-value.t-mute { color: var(--text-mute); }

.t-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.t-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-mute);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.t-tab:hover { background: var(--bg-alt); color: var(--brand-deep); }
.t-tab.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.t-tab.active .stance-pill { background: rgba(255,255,255,0.25); color: #fff; }

.stance-pill {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.stance-pill.stance-ow { background: #fde4e1; color: var(--up); }
.stance-pill.stance-uw { background: #d4ede7; color: var(--down); }
.stance-pill.stance-nt { background: #e5e7eb; color: var(--text-mute); }

.t-pane { display: none; }
.t-pane.active { display: block; }

.t-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #E5F2F5, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
}
.t-name { font-size: 19px; font-weight: 700; color: var(--brand-deep); line-height: 1.3; }
.t-alloc { color: var(--brand-primary); font-size: 16px; font-weight: 600; }
.t-tagline { font-size: 14px; color: var(--text-sub); margin-top: 4px; }

.t-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.t-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}
.t-stat-k { font-size: 12px; color: var(--text-mute); letter-spacing: 0.5px; }
.t-stat-v { font-size: 20px; font-weight: 700; color: var(--brand-deep); margin: 4px 0 2px; }
.t-stat-sub { font-size: 12px; color: var(--text-mute); }

.t-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.t-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 6px;
}
.t-section-icon { font-size: 18px; }
.t-section-body { font-size: 15px; line-height: 1.75; color: var(--text); }
.t-section.t-pitch .t-section-body {
  font-weight: 600;
  color: var(--brand-deep);
  font-size: 16px;
}

.t-detail {
  margin-top: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.t-detail summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 600;
  padding: 4px 0;
}
.t-detail summary:hover { color: var(--brand-deep); }
.t-detail .t-section {
  border-left: none;
  margin-top: 8px;
  background: var(--bg);
}

.t-triggers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.t-trigger {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}
.t-trigger strong { display: block; font-size: 11px; margin-bottom: 4px; letter-spacing: 0.5px; }
.t-trigger-add { background: #fde4e1; color: var(--up); }
.t-trigger-trim { background: #d4ede7; color: var(--down); }

.t-seq {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.t-seq li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
}
.t-seq li .t-seq-note { display: none; }
@media (max-width: 768px) {
  .t-seq li .t-seq-note { display: none; }
}
.t-seq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex: 0 0 26px;
}
.t-seq-note { color: var(--text-mute); font-size: 13px; }

@media (max-width: 768px) {
  .targets-kpi { grid-template-columns: 1fr 1fr; }
  .t-stats { grid-template-columns: 1fr 1fr; }
  .t-triggers { grid-template-columns: 1fr; }
  .t-head { flex-direction: column; }
}

/* ===== Allocation (資產配置) ===== */
.a-note {
  background: var(--bg-alt);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.a-head {
  background: var(--bg);
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.a-name { font-size: 20px; font-weight: 700; color: var(--brand-deep); }
.a-sub { font-size: 14px; color: var(--text-mute); font-weight: 400; margin-left: 8px; }
.a-stat-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 6px; font-size: 14px; }
.a-stat label { font-size: 12px; color: var(--text-mute); margin-right: 6px; }

.a-table {
  background: var(--bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.a-header, .a-row {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
}
.a-header {
  background: var(--bg-alt);
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.a-row {
  border-bottom: 1px solid #eef3f6;
  font-size: 14px;
}
.a-row:last-child { border-bottom: none; }
.a-row:hover { background: var(--bg-alt); }
.a-asset-name { font-weight: 600; color: var(--text); }
.a-asset-note { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.a-bar-wrap {
  position: relative;
  background: var(--bg-alt);
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
}
.a-bar { position: absolute; left: 0; top: 0; height: 100%; transition: width 0.3s ease; }
.a-pct {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 13px; font-weight: 700; color: var(--text);
  z-index: 2;
}
.a-panhsin { font-size: 13px; color: var(--text-sub); line-height: 1.4; }

.a-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.a-ref {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.a-ref:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,31,77,0.08); }
.a-ref-name { font-weight: 700; color: var(--brand-deep); font-size: 14px; margin-bottom: 4px; }
.a-ref-note { font-size: 12px; color: var(--text-mute); }

@media (max-width: 768px) {
  .a-header { display: none; }
  .a-row { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .a-stat-row { gap: 12px; font-size: 13px; }
}
