/* Reload-page styles (reload/index.html). Shared rules live in site.css. */
section { padding: 48px 0; }
.page-head { padding-top: 56px; padding-bottom: 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin: 10px 0 0; color: var(--fg-muted); max-width: 40rem; }
#banner { margin-top: 24px; }
#banner .notice + .notice { margin-top: 8px; }

.gate { max-width: 32rem; text-align: center; margin: 0 auto; padding: 40px 24px; }
.gate h2 { font-size: 1.4rem; }
.gate p { color: var(--fg-muted); margin: 10px 0 24px; }

.balance-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.balance { display: flex; flex-direction: column; }
.balance .value { font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--primary); }
.balance .label { color: var(--fg-muted); font-size: .9rem; margin-top: 6px; }
.balance-row .signed-as { margin-left: auto; text-align: right; color: var(--fg-muted); font-size: .9rem; }
.balance-row .signed-as strong { color: var(--fg); display: block; font-size: 1rem; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-title h2 { font-size: 1.3rem; }
.badge { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--warn); color: var(--warn); font-size: .75rem; font-weight: 700; }

.history { width: 100%; border-collapse: collapse; font-size: .95rem; }
.history th { text-align: left; color: var(--fg-faint); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 0 12px 10px; }
.history td { padding: 12px; border-top: 1px solid var(--line); }
.history td.num { text-align: right; font-family: var(--mono); }
.history th.num { text-align: right; }
.empty { color: var(--fg-muted); margin: 0; }

.fine { color: var(--fg-faint); font-size: .85rem; margin-top: 20px; }

@media (max-width: 560px) {
  .balance-row .signed-as { margin-left: 0; text-align: left; }
  .history .date { display: none; }
}
