/* Wallpapers, Themes & Ringtones (personalize.html). Builds on style.css and design.css. */

.tabs { margin-bottom: 16px; }
.tabs button.seg { background: none; border: none; font: inherit; font-size: 13px; }
.tabs button.seg.active { background: var(--primary); }

[data-for] .checks { margin-bottom: 12px; }
[data-for] > .hint { display: block; margin-bottom: 16px; line-height: 1.5; }

.p-section { margin-bottom: 18px; }
.p-section h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Phone screens: tall, so narrower cards than a design's. */
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

.icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.icon {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted); text-align: center;
}
.icon a { display: block; width: 100%; }
.icon img { width: 100%; aspect-ratio: 1; border-radius: 22%; display: block; }
.icon span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* A theme's four options: pick one to build the theme from. */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.option { display: flex; flex-direction: column; gap: 8px; }
.option img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); display: block; }
.option button { width: 100%; }

.tones { display: flex; flex-direction: column; gap: 12px; }
.tone {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.tone-title { font-size: 13px; font-weight: 600; }
.tone audio { width: 100%; }
.tone .design-actions { padding: 0; }
