/*
  🧭 Setup's newer parts (web/setup.js): how you get around (step 3), 🔔 Reminders (step 5), 🎨 Make
  it yours (step 6) and Done's "Want more?". The card, the progress bar, the places list and the
  summary are choreboy.css's "🧭 setup" section; this file uses its tokens and components (seg,
  switch-row, btn), so light and dark follow the device. Every class here starts with su-. Nothing
  moves unless <html data-fx="full"> (ChoreFX: Settings → Animations, and never under Reduce motion).
  Responsive from 320 px.
*/

/* A new step's heading takes the focus (for screen readers); it isn't something to click. */
.setup-h:focus { outline: none; }

/* ---------- choices as tiles: 🚗 how you get around, 🎨 your character ---------- */

.su-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-width: 0; padding: .65rem .35rem .55rem; background: var(--surface); color: var(--text-2); border: 1px solid var(--border-strong); border-radius: var(--radius); font: 600 .84rem var(--font); line-height: 1.2; text-align: center; overflow-wrap: anywhere; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.su-tile:hover { border-color: var(--accent); color: var(--text); }
.su-tile.on { border-color: var(--accent); background: var(--accent-soft); color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.su-tile.on::after { content: '✓'; position: absolute; top: .3rem; right: .3rem; width: 1.1rem; height: 1.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font: 800 .64rem/1 var(--font); }
.su-tile-ico { font-size: 1.55rem; line-height: 1; }
html[data-fx="full"] .su-tile { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
html[data-fx="full"] .su-tile:hover { transform: translateY(-2px); }
html[data-fx="full"] .su-tile:active { transform: scale(.97); }

/* Step 3, under your places: your usual way (four tiles) and, by car, the time to park. */
.su-travel { margin-top: 1.1rem; padding-top: .2rem; border-top: 1px solid var(--border); }
.su-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.su-travel > .small-muted { margin: .65rem 0 0; }
.su-travel > .btn { margin-top: .55rem; }

/* ---------- 🔔 Reminders ---------- */

.su-try { margin: .45rem 0 0; }
.su-note { margin: .35rem 0 0; }

/* ---------- 🎨 Make it yours ---------- */

/* Tiles wide enough for the longest one-word names (Snowboarder, Necromancer): a name wraps only
   between its words, never "Snowboar-der" (hyphens only if a tile is ever squeezed past that). */
.su-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: .5rem; }
.su-char { padding-top: .55rem; }
.su-char img { width: 3rem; height: 3rem; image-rendering: pixelated; -webkit-user-drag: none; user-select: none; }
.su-char span { font-size: .78rem; overflow-wrap: normal; hyphens: auto; }
/* The next ones to unlock: greyed, with what it takes. */
.su-locked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.su-locked li { display: flex; align-items: center; gap: .6rem; min-width: 0; font-size: .88rem; color: var(--text-2); overflow-wrap: anywhere; }
.su-locked b { color: var(--text); font-weight: 650; }
.su-locked img { flex-shrink: 0; width: 2rem; height: 2rem; image-rendering: pixelated; filter: grayscale(1); opacity: .45; }
.su-locked + .small-muted { margin: .55rem 0 0; }

/* ---------- Done ---------- */

.su-sum-ico { flex-shrink: 0; width: 1.5rem; display: grid; place-items: center; }
.su-sum-ico img { width: 1.5rem; height: 1.5rem; image-rendering: pixelated; }
.su-verify { margin: -.4rem 0 1.2rem; padding: .6rem .85rem; border-radius: var(--radius); background: var(--info-soft); color: var(--info); font-size: .9rem; }
.su-more-h { margin: 1.5rem 0 .5rem; font-size: .78rem; font-weight: 650; color: var(--text-2); text-transform: uppercase; letter-spacing: .03em; }
.su-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .5rem; }
.su-more-btn { display: flex; align-items: flex-start; gap: .6rem; min-width: 0; padding: .7rem .8rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); font: inherit; text-align: left; cursor: pointer; }
.su-more-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.su-more-ico { flex-shrink: 0; font-size: 1.25rem; line-height: 1.25; }
.su-more-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
.su-more-text b { font-weight: 650; }

/* ---------- small screens ---------- */

@media (max-width: 600px) {
  .su-modes, .su-chars { gap: .35rem; }
  .su-tile { padding-left: .2rem; padding-right: .2rem; font-size: .8rem; }
  .su-more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .su-chars { grid-template-columns: repeat(auto-fill, minmax(4.9rem, 1fr)); }
  .su-char { padding-left: 0; padding-right: 0; }
  .su-char span { font-size: .72rem; }
}
