/* Route 66 Copilot: Settings screen and "Visiting from abroad" (home card, tips screen). */

/* ---------- Settings ---------- */
.settings { max-width: 680px; }
.set-lead { margin: 0 0 24px; font-size: 1.06rem; color: var(--ink-2); }
.set-group { margin: 0 0 28px; }
.set-h { margin: 0 0 10px; font-size: 1.2rem; font-weight: 700; }
.set-note { margin: -4px 0 12px; color: var(--ink-2); }
.set-menus { margin: 12px 0 0; font-weight: 600; color: var(--ink); }
.set-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.set-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.set-choice {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; text-align: left;
  border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
  box-shadow: var(--inner-hl); transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.set-choice:hover { background: var(--sand); }
.set-choice[aria-pressed="true"] { border: 2.5px solid var(--rust-strong); background: var(--sand); padding: 11px 15px; }
.set-tick {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong); background: var(--paper); color: #fff;
}
.set-choice[aria-pressed="true"] .set-tick { background: var(--rust-strong); border-color: var(--rust-strong); }
.set-choice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.set-choice-text strong { font-size: 1.1rem; }
.set-choice-text span { font-size: 0.95rem; color: var(--ink-2); }
.set-switch {
  width: 100%; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 16px; text-align: left;
  border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); box-shadow: var(--inner-hl);
}
.set-switch-text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.set-switch-text strong { font-size: 1.1rem; }
.set-switch-text span { color: var(--ink-2); }
.set-knob { width: 60px; height: 34px; border-radius: 17px; background: #8C7F6D; position: relative; flex-shrink: 0; transition: background-color .25s var(--ease); }
.set-knob::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); transition: transform .25s var(--ease); }
.set-switch[aria-checked="true"] { border: 2.5px solid var(--rust-strong); padding: 15px; }
.set-switch[aria-checked="true"] .set-knob { background: var(--rust-strong); }
.set-switch[aria-checked="true"] .set-knob::after { transform: translateX(26px); }
.set-status { min-height: 1.6em; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.set-status-warn { padding: 12px 16px; border-radius: 14px; background: var(--error-bg); color: var(--error-ink); font-weight: 600; }
.set-done { min-width: 160px; }

/* ---------- Home: card and hint ---------- */
.intl-card {
  width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left;
  border-radius: var(--r-shell); border: 1px solid var(--hair); background: var(--paper); color: var(--ink);
  border-left: 4px solid var(--yellow); box-shadow: var(--inner-hl), var(--shadow-warm);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.intl-card:hover { transform: translateY(-2px); box-shadow: var(--inner-hl), var(--shadow-float); }
.intl-card-text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.intl-card-title { font-family: var(--head); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.intl-card-sub { font-size: 0.95rem; color: var(--ink-2); }
.intl-go { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--sand); }
.intl-hint { margin-top: 12px; display: flex; align-items: stretch; gap: 4px; }
.intl-hint-open {
  flex: 1; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-align: left;
  border-radius: 16px; border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink); font-weight: 600;
}
.intl-hint-open:hover { background: var(--paper); }
.intl-hint-x {
  width: 56px; min-height: 56px; border-radius: 16px; border: 1.5px solid transparent; background: transparent; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
}
.intl-hint-x:hover { background: var(--paper); border-color: var(--line-strong); }

/* ---------- Tips screen ---------- */
.intl { max-width: 720px; }
.intl-lead { margin: -8px 0 20px; font-size: 1.06rem; color: var(--ink-2); }
.intl-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.intl-tip {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--paper);
  border: 1px solid var(--hair); box-shadow: var(--inner-hl);
}
.intl-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--rust-strong); color: #fff; font-weight: 700;
}
.intl-tip-title { margin: 4px 0 6px; display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.intl-tip-title .ico { color: var(--rust-ink); }
.intl-tip p { margin: 0; }
.intl-ask { margin-top: 24px; padding: 18px 20px; border-radius: 20px; background: var(--sand); border: 1px solid var(--hair); }
.intl-ask p { margin: 0 0 12px; }
.intl-btns { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 560px) {
  .set-seg, .set-langs { grid-template-columns: 1fr; }
  .intl-tip { padding: 14px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .intl-card, .set-knob, .set-knob::after { transition: none; }
}

/* Account section of Settings (phone tab "Account") */
.set-account { display: flex; flex-direction: column; gap: 12px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.set-who { margin: 4px 0 0; color: var(--ink-2); overflow-wrap: anywhere; }
