:root { --tap: 58px; }
body { font-size: 17px; }
body.text-large { font-size: 19px; }
body.text-xl { font-size: 21px; }
button, .source-button { min-height: var(--tap); font-size: 16px; }
.primary, .secondary, .mini-action, .source-button { padding: 0 22px; border-radius: 14px; }
.source-button { font-size: 16px; }
.daily-copy { font-size: 18px; }
.daily-context { font-size: 15px; }
.side-card p, .archive-card p { font-size: 15px; }
.archive-card { min-height: 190px; padding: 24px; }
.archive-card h3 { font-size: 23px; }
.archive-card.favorite { border-color: rgba(245,198,83,.6); }
.archive-card.locked { cursor: default; opacity: .78; background: rgba(8,21,44,.92); }
.archive-card.locked:hover { transform: none; }
.favorite-button.saved { color: #07142d; background: var(--gold); border-color: var(--gold); }
.archive-toolbar { display:grid; gap:14px; margin:18px 0 22px; }
.archive-summary { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:16px 18px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.05); }
.archive-summary strong { color:var(--gold); }
.filter-row { display:flex; gap:10px; overflow-x:auto; padding:2px 0 8px; scrollbar-width:thin; }
.filter-chip { flex:0 0 auto; min-height:48px; padding:0 17px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.05); color:var(--white); font-weight:850; }
.filter-chip.active { color:#07142d; border-color:var(--gold); background:var(--gold); }
.unlock-panel { margin-top:20px; padding:26px; border:1px solid rgba(245,198,83,.35); border-radius:22px; text-align:center; background:linear-gradient(145deg,rgba(245,198,83,.10),rgba(227,28,43,.08)); }
.unlock-panel h3 { margin:8px 0; font-size:26px; }
.unlock-panel p { color:var(--muted); line-height:1.55; }
.unlock-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:18px; }
.bottom-nav { position:fixed; z-index:40; left:50%; bottom:max(8px,env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(700px,calc(100% - 18px)); display:grid; grid-template-columns:repeat(5,1fr); padding:8px; border:1px solid rgba(255,255,255,.16); border-radius:22px; background:rgba(4,12,28,.96); box-shadow:0 18px 55px rgba(0,0,0,.55); backdrop-filter:blur(18px); }
.bottom-nav button { min-width:0; min-height:62px; padding:7px 4px; border:0; border-radius:15px; color:#c8d3e5; background:transparent; font-size:12px; font-weight:850; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.bottom-nav button.active { color:#07142d; background:var(--gold); }
.bottom-nav svg { width:23px; height:23px; }
.settings-card { max-width:760px; margin:28px auto; padding:28px; border:1px solid var(--line); border-radius:24px; background:var(--card); box-shadow:var(--shadow); }
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; border-bottom:1px solid var(--line); }
.setting-row:last-child { border-bottom:0; }
.setting-row h3 { margin:0 0 5px; }
.setting-row p { margin:0; color:var(--muted); font-size:14px; line-height:1.45; }
.setting-control { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.setting-control button, .setting-control input { min-height:52px; border:1px solid var(--line); border-radius:12px; color:var(--white); background:rgba(255,255,255,.06); padding:0 14px; font-weight:800; }
.setting-control button.active { color:#07142d; background:var(--gold); }
.founder-banner { display:flex; align-items:center; gap:15px; color:#07142d; background:linear-gradient(135deg,#f5c653,#fff0a8); padding:18px; border-radius:18px; margin-bottom:18px; }
.founder-banner svg { width:48px; height:48px; }
.founder-banner strong { display:block; font-size:21px; }
.empty-state { padding:42px 22px; text-align:center; border:1px dashed rgba(255,255,255,.2); border-radius:20px; color:var(--muted); }
.ad-placeholder { margin:20px 0; min-height:74px; display:flex; align-items:center; justify-content:center; border:1px dashed rgba(255,255,255,.25); border-radius:14px; color:#91a2bb; background:rgba(0,0,0,.15); font-size:13px; letter-spacing:.06em; text-transform:uppercase; }
.shell { padding-bottom:120px; }
.toast { bottom:102px; max-width:calc(100% - 32px); text-align:center; }
@media (max-width:720px) {
  .top-actions { display:none; }
  .daily-actions > * { width:100%; }
  .archive-summary, .setting-row { align-items:stretch; flex-direction:column; }
  .setting-control { justify-content:flex-start; }
  .setting-control button { flex:1; }
  .section-title { align-items:flex-start; flex-direction:column; }
  .daily-title { font-size:clamp(38px,12vw,54px); }
}
@media (max-width:430px) {
  .bottom-nav { width:calc(100% - 10px); bottom:max(4px,env(safe-area-inset-bottom)); padding:5px; border-radius:18px; }
  .bottom-nav button { min-height:59px; font-size:11px; }
  .bottom-nav svg { width:21px; height:21px; }
  .daily-card { padding:25px 19px; }
}
