/* =========================================================
   FX Compass - App (auth/mypage) stylesheet
   - Font: Noto Sans JP
   - Base font-size: 17px
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #0f172a;
  background: #f8fafc;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0 0 12px; line-height: 1.5; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
a { color: #1d4ed8; text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
small { color: #64748b; }

.skip-link {
  position: absolute; top: -40px; left: 10px;
  background: #1d4ed8; color: #fff; padding: 8px 14px;
  border-radius: 6px; z-index: 2000; font-weight: 700;
}
.skip-link:focus { top: 10px; }

.container { width: min(1120px, 100%); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.app-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.app-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.app-logo img { width: 168px; height: auto; }
.app-nav {
  display: flex; gap: 20px; align-items: center;
}
.app-nav a {
  font-size: 0.96rem; font-weight: 600; color: #0f172a; text-decoration: none;
  padding: 8px 6px;
}
.app-nav a:hover { color: #1d4ed8; text-decoration: none; }
.app-nav__btn {
  background: #1d4ed8; color: #fff !important; border-radius: 999px;
  padding: 10px 18px !important;
}
.app-nav__btn:hover { background: #1e40af; color: #fff !important; }
@media (max-width: 640px) {
  .app-header__inner { height: 60px; }
  .app-logo img { width: 140px; }
  .app-nav { gap: 12px; }
  .app-nav a:not(.app-nav__btn) { display: none; }
}

/* ---------- Main ---------- */
.app-main { padding: 40px 0 64px; min-height: calc(100vh - 300px); }

.page-title { scroll-margin-top: 88px; }

/* ---------- Card ---------- */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 20px;
}
.card h1, .card h2 { margin-top: 0; }

/* ---------- Forms ---------- */
.form-wrap {
  width: min(480px, 100%);
  margin: 20px auto;
}
.form-wrap h1 {
  font-size: 1.6rem; font-weight: 900; text-align: center; margin-bottom: 8px;
}
.form-wrap .form-lead {
  text-align: center; color: #475569; font-size: 0.96rem; margin-bottom: 24px;
}
.form-row { margin-bottom: 18px; }
.form-label {
  display: block; font-weight: 700; font-size: 0.94rem; margin-bottom: 6px; color: #0f172a;
}
.form-input {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
  outline: none; border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.form-hint { display: block; color: #64748b; font-size: 0.86rem; margin-top: 4px; }
.form-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 10px 14px; border-radius: 8px; font-size: 0.94rem; margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 1rem; font-weight: 700; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.btn--primary:hover { background: #1e40af; border-color: #1e40af; text-decoration: none; color: #fff; }
.btn--ghost { background: transparent; color: #1d4ed8; border-color: currentColor; }
.btn--ghost:hover { background: rgba(29, 78, 216, 0.08); text-decoration: none; }
.btn--danger { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.btn--danger:hover { background: #991b1b; border-color: #991b1b; color: #fff; text-decoration: none; }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }

/* ---------- Flash ---------- */
.flash-stack { margin-bottom: 20px; display: grid; gap: 10px; }
.flash {
  padding: 12px 16px; border-radius: 10px; font-size: 0.96rem; font-weight: 500;
  border: 1px solid transparent;
}
.flash--success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.flash--error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.flash--info { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; }
.flash--warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* ---------- Mypage ---------- */
.page-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; }
.page-lead { color: #475569; margin-bottom: 24px; }

.mypage-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
@media (max-width: 860px) {
  .mypage-grid { grid-template-columns: 1fr; }
}
.plan-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1d4ed8; color: #fff; padding: 6px 14px; border-radius: 999px;
  font-weight: 800; font-size: 0.86rem; letter-spacing: 0.04em;
}
.plan-info-list {
  display: grid; gap: 10px; margin: 16px 0 0;
}
.plan-info-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #e2e8f0;
}
.plan-info-list li:last-child { border-bottom: 0; }
.plan-info-list dt { color: #475569; font-weight: 500; font-size: 0.94rem; }
.plan-info-list dd { margin: 0; font-weight: 700; font-size: 0.96rem; color: #0f172a; }

.dashboard-stub {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border: 1px dashed #bfdbfe;
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
}
.dashboard-stub h3 {
  font-size: 1.2rem; font-weight: 800; color: #1e3a8a;
}
.dashboard-stub p { color: #475569; margin: 0; }

/* ---------- Account page sections ---------- */
.section-title-sm {
  font-size: 1.1rem; font-weight: 800; margin: 0 0 12px;
  padding-bottom: 10px; border-bottom: 2px solid #eff6ff;
}
.danger-zone {
  border: 1px solid #fecaca;
  background: #fff1f2;
}
.danger-zone h2 { color: #991b1b; }

/* ---------- Compare card (Free vs Pro) ---------- */
.compare-card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.compare-card__head h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 0.96rem;
}
.compare-table th, .compare-table td {
  padding: 10px 12px; border-bottom: 1px solid #e2e8f0; text-align: left;
}
.compare-table thead th {
  background: #eff6ff; color: #1e3a8a; font-weight: 800;
}
.compare-table tbody th { color: #475569; font-weight: 600; width: 36%; }
.compare-table td:first-of-type { color: #64748b; }
.compare-table td:last-of-type { color: #0f172a; font-weight: 700; }

/* ---------- Refresh indicator ---------- */
.refresh-indicator {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a;
  padding: 10px 16px; border-radius: 10px; margin: 16px 0 20px;
  font-size: 0.96rem;
}
.refresh-indicator__count {
  font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums;
  min-width: 3.5em;
}
.refresh-indicator__hint { color: #64748b; font-size: 0.9rem; }

/* ---------- Dashboard (Free) ---------- */
.dash {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  grid-auto-rows: 1fr;  /* カード高さを揃える */
}
@media (max-width: 900px) { .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dash { grid-template-columns: 1fr; } }

.dash-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 20px; position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  min-height: 200px;
  display: flex; flex-direction: column;
}
.dash-meta { color: #64748b; font-size: 0.9rem; margin: 0 0 6px; }
.dash-big {
  font-size: 2rem; font-weight: 900; color: #0f172a; margin: 0 0 6px;
  font-variant-numeric: tabular-nums;
}
.dash-verdict {
  font-size: 1.4rem; font-weight: 900; margin: 4px 0 16px;
  letter-spacing: 0.02em;
}
.dash-verdict.is-bull       { color: #059669; }
.dash-verdict.is-bull-weak  { color: #16a34a; }
.dash-verdict.is-bear       { color: #dc2626; }
.dash-verdict.is-bear-weak  { color: #b91c1c; }
.dash-verdict.is-neutral    { color: #64748b; }
.dash-verdict.is-locked     { color: #94a3b8; letter-spacing: 0.08em; font-weight: 700; }
.dash-signals {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0 0; padding: 12px 0 0;
  border-top: 1px dashed #e2e8f0;
  list-style: none;
}
.chip {
  display: inline-flex; align-items: center; padding: 5px 11px;
  border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  border: 1px solid transparent;
}
.chip--bull    { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.chip--bear    { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.chip--neutral { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }

/* Lock card (Pro 限定) */
.dash-card--locked { padding: 0; }
.dash-card--locked .lock-blur {
  padding: 20px; filter: blur(5px); pointer-events: none; user-select: none;
  opacity: 0.55;
  height: 100%;
  text-align: center;
}
.dash-card--locked .lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.98));
  backdrop-filter: blur(2px);
  padding: 20px;
  z-index: 2;
  text-wrap: balance;
}
.dash-card--locked .lock-overlay__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: #eff6ff; color: #1d4ed8;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.dash-card--locked .lock-overlay__icon .lock-icon {
  width: 26px; height: 26px;
}
.dash-card--locked .lock-overlay__title {
  color: #1d4ed8; font-weight: 900; font-size: 1rem; letter-spacing: 0.04em;
}
.dash-card--locked .lock-overlay__text {
  color: #334155; font-size: 0.94rem; line-height: 1.55;
  max-width: 24em;
}
.dash-card--locked .lock-overlay__link {
  margin-top: 6px;
  color: #1d4ed8; font-weight: 700; font-size: 0.92rem; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.dash-card--locked .lock-overlay__link:hover {
  border-bottom-color: #1d4ed8;
}

/* Fixed CTA banner */
.fixed-cta {
  position: fixed; bottom: 24px; right: 24px;
  background: #0b1220; color: #e2e8f0;
  border: 1px solid #1e293b; border-radius: 14px;
  padding: 16px 18px 14px; max-width: 320px; width: calc(100% - 32px);
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.45);
  z-index: 90;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
/* 比較カードと重なっているとき / 閉じられたとき は引っ込める */
.fixed-cta.is-overlapping,
.fixed-cta.is-dismissed {
  opacity: 0; transform: translateY(20px); visibility: hidden; pointer-events: none;
}
.fixed-cta__title {
  font-weight: 900; font-size: 1rem; margin: 0 0 4px; color: #fff;
}
.fixed-cta__desc { font-size: 0.86rem; color: #cbd5e1; margin: 0 0 6px; }
.fixed-cta__price { font-size: 0.9rem; margin: 0 0 10px; color: #fff; }
.fixed-cta__price strong { font-size: 1.05rem; color: #fbbf24; font-weight: 900; }
.fixed-cta__close {
  position: absolute; top: 8px; right: 8px;
  background: transparent; border: 0; color: #94a3b8;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem; line-height: 1;
}
.fixed-cta__close:hover { background: rgba(255,255,255,0.08); color: #fff; }
@media (max-width: 480px) {
  .fixed-cta { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* compare card 上の余白 */
.compare-card { margin-top: 32px; }

/* ---------- Free dashboard: 拡張要素 ---------- */
.dash-section-title {
  font-size: 1.05rem; font-weight: 800; color: #0f172a;
  margin: 28px 0 12px; padding: 0;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.dash-section-title:first-of-type { margin-top: 8px; }

/* 当日変化率の表示 */
.dash-change {
  font-size: 1.1rem; font-weight: 800; margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.dash-change.is-bull { color: #059669; }
.dash-change.is-bear { color: #dc2626; }
.dash-change small { font-weight: 600; color: inherit; opacity: 0.8; }

/* 当日サマリ stat list */
.dash-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px; margin: 4px 0 0;
}
.dash-stats > div { display: flex; justify-content: space-between; align-items: baseline; }
.dash-stats dt {
  color: #64748b; font-size: 0.86rem; font-weight: 600;
  margin: 0;
}
.dash-stats dd {
  color: #0f172a; font-size: 1rem; font-weight: 800;
  margin: 0; font-variant-numeric: tabular-nums;
}

/* スパークラインカード */
.dash-card--spark { padding-bottom: 14px; }
.sparkline-wrap { width: 100%; margin: 6px 0 4px; }
.sparkline-wrap svg { display: block; width: 100%; height: 90px; }

/* 縦軸 + チャート */
.spark-chart {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  gap: 8px;
  margin: 8px 0 6px;
}
.spark-chart__yaxis {
  position: relative; width: 56px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem; color: #64748b; font-weight: 700;
  padding: 4px 0;
  border-right: 1px dashed #e2e8f0;
  text-align: right;
}
.spark-chart__ylabel {
  position: absolute; top: -16px; left: 0;
  font-size: 0.7rem; font-weight: 700; color: #94a3b8;
  letter-spacing: 0.04em;
}
.spark-chart__ymax { color: #0f172a; }
.spark-chart__ymin { color: #0f172a; }
.spark-chart__plot { min-width: 0; padding-right: 4px; }
.spark-chart__plot svg { display: block; width: 100%; height: 90px; }

/* 横軸 */
.spark-chart__xaxis {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 8px;
  margin: 0 0 6px 64px;  /* yaxis 幅 + 余白ぶん右にずらす */
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.74rem; color: #64748b; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.spark-chart__xlabel {
  text-align: center;
  color: #94a3b8; font-size: 0.7rem; letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .spark-chart__yaxis { width: 48px; font-size: 0.68rem; }
  .spark-chart__xaxis { margin-left: 56px; }
}

/* 判定スコアメーター */
.score-meter { margin: 4px 0 12px; }
.score-meter__bar {
  position: relative; height: 8px; background: #f1f5f9; border-radius: 999px;
  overflow: hidden;
}
.score-meter__center {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: #94a3b8;
}
.score-meter__fill {
  position: absolute; top: 0; bottom: 0; border-radius: 999px;
  background: #059669;
  transition: all 0.3s ease;
}
.score-meter__fill[data-score^="-"] { background: #dc2626; }
.score-meter__labels {
  display: flex; justify-content: space-between; margin-top: 4px;
  font-size: 0.72rem; color: #94a3b8; font-weight: 600;
}

/* 指標テーブル */
.dash-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  margin: 6px 0;
}
.dash-table th, .dash-table td {
  padding: 6px 4px; text-align: left;
  border-bottom: 1px solid #f1f5f9;
}
.dash-table th {
  color: #64748b; font-weight: 600; width: 45%;
  white-space: nowrap;
}
.dash-table td {
  color: #0f172a; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dash-table td:nth-of-type(2) {
  text-align: right; width: 35%;
}
.dash-table td:last-child {
  text-align: right; width: auto;
}
.dash-table tr:last-child th, .dash-table tr:last-child td { border-bottom: 0; }
.dash-table .chip {
  font-size: 0.78rem; padding: 2px 8px;
}

/* クロス通知 */
.dash-cross-note {
  margin: 8px 0 0; padding: 6px 10px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 700;
}
.dash-cross-note.is-bull { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.dash-cross-note.is-bear { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.dash-cross-note small { font-weight: 500; opacity: 0.8; }

/* ボリンジャー %B ゲージ */
.bb-gauge { margin: 8px 0 4px; }
.bb-gauge__bar {
  position: relative; height: 28px;
  background: linear-gradient(90deg, #fee2e2 0%, #fef9c3 50%, #fee2e2 100%);
  border: 1px solid #e2e8f0; border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px;
  font-size: 0.7rem; color: #475569; font-weight: 700;
}
.bb-gauge__band { z-index: 1; }
.bb-gauge__pin {
  position: absolute; top: -3px; bottom: -3px; width: 4px;
  background: #1d4ed8; border-radius: 2px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.8);
  transform: translateX(-2px);
  z-index: 2;
}

/* マルチタイムフレーム */
.tf-list { list-style: none; padding: 0; margin: 8px 0; }
.tf-row {
  display: grid; grid-template-columns: 64px 24px 1fr auto;
  align-items: center; gap: 10px;
  padding: 8px 4px; border-bottom: 1px solid #f1f5f9;
  font-size: 0.94rem;
}
.tf-row:last-child { border-bottom: 0; }
.tf-row__name { color: #475569; font-weight: 600; }
.tf-row__arrow svg { display: block; }
.tf-row__label { font-weight: 700; color: #0f172a; }
.tf-row__chg {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.86rem;
  color: #64748b;
}
.tf-row--up   .tf-row__arrow,
.tf-row--up   .tf-row__label { color: #059669; }
.tf-row--up   .tf-row__chg   { color: #059669; }
.tf-row--down .tf-row__arrow,
.tf-row--down .tf-row__label { color: #dc2626; }
.tf-row--down .tf-row__chg   { color: #dc2626; }
.tf-row--flat .tf-row__arrow,
.tf-row--flat .tf-row__label { color: #94a3b8; }

/* シグナル解説（横長カード） */
.dash-card--reasons { grid-column: span 3; }
@media (max-width: 900px) { .dash-card--reasons { grid-column: span 2; } }
@media (max-width: 600px) { .dash-card--reasons { grid-column: auto; } }
.reason-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .reason-list { grid-template-columns: 1fr; } }
.reason-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  font-size: 0.92rem; line-height: 1.5;
  background: #f8fafc;
  border-left: 3px solid #cbd5e1;
}
.reason-item--bull    { background: #ecfdf5; border-left-color: #059669; color: #065f46; }
.reason-item--bear    { background: #fef2f2; border-left-color: #dc2626; color: #991b1b; }
.reason-item--neutral { background: #f8fafc; border-left-color: #94a3b8; color: #475569; }
.reason-mark { font-weight: 900; flex-shrink: 0; line-height: 1.5; }

/* verdict カードを少し目立たせる */
.dash-card--verdict { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.dash-card--verdict .dash-verdict { font-size: 1.6rem; }

/* ニュース見出し一覧（マイページ） */
.dash-card--news-headlines {
  grid-column: 1 / -1;
  min-height: 0;
}
.news-headlines__lead { line-height: 1.55; margin-bottom: 12px !important; }
.news-headlines__lead small { color: #94a3b8; font-weight: 500; }
.news-headlines__legend {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  line-height: 1.55;
}
.news-headlines__legend-note {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}
.news-hot-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.news-hot-tag--indicator {
  color: #92400e;
  background: #fef3c7;
  border-color: #fbbf24;
}
.news-hot-tag--centralbank {
  color: #1e3a8a;
  background: #dbeafe;
  border-color: #60a5fa;
}
.news-hot-tag--intervention {
  color: #991b1b;
  background: #fee2e2;
  border-color: #f87171;
}
.news-headlines__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(65vh, 480px);
  overflow-y: auto;
}
.news-headlines__item {
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
.news-headlines__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.news-headlines__title-row {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.news-headlines__link {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-headlines__link:hover { color: #1e3a8a; }
.news-headlines__title { color: #0f172a; }
.news-headlines__meta {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}
.news-headlines__sep { margin: 0 0.35em; }

/* Pro top hero card */
.card--hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #fff; border: 0;
}
.card--hero h2, .card--hero p { color: #fff; }
.card--hero .btn--primary {
  background: #fbbf24; border-color: #fbbf24; color: #0b1220;
}
.card--hero .btn--primary:hover { background: #f59e0b; border-color: #f59e0b; color: #0b1220; }

/* ---------- Footer ---------- */
.app-footer {
  background: #0b1220; color: #cbd5e1; padding: 32px 0; margin-top: 48px;
}
.app-footer__copy { margin: 0 0 10px; text-align: center; }
.app-footer__copy small { color: #94a3b8; }
.app-footer__risk { margin: 0; text-align: center; max-width: 820px; margin: 0 auto; }
.app-footer__risk small { color: #94a3b8; line-height: 1.8; }
