/* ==========================================================================
   Chique — Settings (menu) screen
   Theme picker cards, storage meter, backup buttons and the "About" link row.
   ========================================================================== */

/* ----- theme picker ----- */
.theme-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .theme-list { grid-template-columns: repeat(4, 1fr); } }
.theme-card { position: relative; display: grid; gap: 2px; text-align: left; padding: 12px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--surface); }
.theme-card small { color: var(--muted); font-size: .78rem; }
.theme-card[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 40%, var(--surface)); }
.theme-dots { display: flex; margin-bottom: 8px; }
.theme-dots i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); margin-right: -8px; }
.theme-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); display: none; place-items: center; }
.theme-card[aria-pressed="true"] .theme-check { display: grid; }

/* ----- storage meter ----- */
.storage { margin-bottom: 14px; display: grid; gap: 6px; font-size: .92rem; }
.meter { height: 10px; border-radius: 6px; background: var(--surface2); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); border-radius: 6px; min-width: 6px; }

/* ----- backup / delete buttons and About link ----- */
.data-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.linkrow { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: var(--text); }
.linkrow span { display: grid; }
