/* Koleje Lisewo — wygląd wg projektu (granatowy nagłówek, niebieskie akcenty, zielone odliczanie) */
:root {
  --navy: #0b2250;
  --navy-2: #12357a;
  --blue: #1f5fd8;
  --blue-2: #3b82f6;
  --blue-ink: #1d4fbf;
  --green: #149a3a;
  --green-badge: #1e9e40;
  --green-soft: #e8f6ec;
  --green-line: #2fb24c;
  --ink: #0f1b33;
  --ink-2: #26324a;
  --muted: #5e6b80;
  --faint: #8a95a8;
  --line: #e3e9f2;
  --page: #f2f5fa;
  --card: #ffffff;
  --chip: #edf1f7;
  --amber: #b45309;
  --amber-bg: #fff4e0;
  --red: #d92d20;
  --shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 3px 10px rgba(15, 27, 51, .06);
  --tabbar-h: 66px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--navy); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
a { color: var(--blue); }
[hidden] { display: none !important; }
.t { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.view { min-height: calc(100vh - var(--tabbar-h)); overflow-x: hidden; overflow-x: clip; }
.dep-mid .train { margin-right: 4px; }
.page {
  max-width: 600px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* ---------- Start: granatowy nagłówek ---------- */
.hero-head {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #081b42 0%, #0d2a62 55%, #153c80 100%);
  padding-top: calc(env(safe-area-inset-top) + 14px);
  padding-bottom: 64px;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hh-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
}
.hh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-ico { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.logo-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.logo-card img { display: block; width: 99px; height: auto; }
a.logo-card { text-decoration: none; -webkit-tap-highlight-color: rgba(255, 255, 255, .2); }
a.logo-card:active { transform: scale(.97); }
a.logo-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.brand-name { font-size: 22px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.icon-btn:active { background: rgba(127, 127, 127, .15); }
.bell { color: #fff; }
.badge-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0 2px #0d2a62;
}
.greet { margin: 26px 0 0; font-size: 34px; line-height: 1.1; font-weight: 750; letter-spacing: -.02em; }
.greet-sub { margin: 8px 0 0; font-size: 19px; color: rgba(255, 255, 255, .82); }
.station-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 62%;
  max-width: 100%;
  height: 52px;
  margin-top: 20px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}
.station-pill span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-pill:active { background: rgba(255, 255, 255, .2); }

/* Karta najbliższego odjazdu (nachodzi na nagłówek) */
.start-body { position: relative; margin-top: -46px; padding-bottom: 18px; }
.next-card {
  display: block;
  width: 100%;
  padding: 16px 18px 18px;
  border: 3px solid var(--green-line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(8, 27, 66, .22);
  text-align: left;
}
.next-card .lbl { font-size: 16px; color: var(--muted); }
.next-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.next-row .tr-ico { flex: 0 0 auto; width: 36px; height: 36px; color: var(--blue-ink); }
.nw { white-space: nowrap; }
.next-main { flex: 1; min-width: 0; }
.next-main b { display: block; font-size: 20px; line-height: 1.2; font-weight: 650; color: var(--ink); }
.next-main > span { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); white-space: nowrap; }
.next-cd { flex: 0 0 auto; color: var(--green); font-size: 20px; font-weight: 650; white-space: nowrap; text-align: right; }
.next-cd b { font-size: 34px; font-weight: 750; letter-spacing: -.02em; }
.next-card.calm { border-color: var(--line); }
.next-card.calm .next-cd { color: var(--muted); font-size: 16px; }

.sec-title { margin: 26px 2px 12px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }

/* Karty odjazdów (Start) */
.cards { display: grid; gap: 10px; }
.dep-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  width: 100%;
  min-height: 76px;
  padding: 12px 16px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}
.dep-card:active, .row-card:active { transform: scale(.99); }
.dep-card .tr-ico { width: 32px; height: 32px; color: var(--blue-ink); }
.dep-mid { min-width: 0; }
.dest { display: block; font-size: 17px; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest .arr { font-weight: 500; margin-right: 4px; }
.dep-right { text-align: right; }
.dep-right .time { display: block; font-size: 22px; font-weight: 700; color: var(--ink); }
.cd { display: block; margin-top: 2px; color: var(--green); font-size: 16px; font-weight: 600; white-space: nowrap; }
.cd b { font-size: 19px; font-weight: 750; }
.cd.muted { color: var(--muted); font-weight: 500; }
.train {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--green-badge);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}
.train.dim { background: #8fc79f; }
.flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
}
.flag.nz { background: #eef2ff; color: var(--blue-ink); }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 14px 2px 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 16px;
  font-weight: 650;
}
.empty-card {
  padding: 18px;
  border: 1px dashed #c9d3e2;
  border-radius: 16px;
  background: var(--card);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.note {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 14px;
  line-height: 1.45;
}
.note.blue { background: #eaf1ff; color: var(--blue-ink); }

/* ---------- Widoki z białym arkuszem (Rozkład, Ulubione, Info) ---------- */
.sheet-view { background: var(--navy); padding-top: calc(env(safe-area-inset-top) + 10px); }
.sheet {
  min-height: calc(100vh - var(--tabbar-h) - env(safe-area-inset-top) - 10px);
  max-width: 600px;
  margin: 0 auto;
  padding: 6px max(14px, env(safe-area-inset-right)) 24px max(14px, env(safe-area-inset-left));
  border-radius: 26px 26px 0 0;
  background: #fff;
}
.topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 56px;
  color: var(--ink);
}
.topbar h1 { margin: 0; font-size: 19px; font-weight: 700; text-align: center; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star svg { fill: none; }
.star[aria-pressed="true"] { color: #f5a400; }
.star[aria-pressed="true"] svg { fill: #f5b800; }

.dir-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.dir-tabs.single { grid-template-columns: 1fr; }
.dir-tab {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: var(--chip);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}
.dir-tab .tr-ico { flex: 0 0 auto; width: 30px; height: 30px; color: var(--ink-2); }
.dir-tab[aria-pressed="true"] {
  background: linear-gradient(180deg, #3c86ff 0%, #1f5fd8 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(31, 95, 216, .35);
}
.dir-tab[aria-pressed="true"] .tr-ico { color: #fff; }
.dir-tab[aria-pressed="true"] .tr-ico .win { fill: #2f74f0; }

.days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 14px -14px 0;
  padding: 2px 14px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.days::-webkit-scrollbar { display: none; }
.day {
  position: relative;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.day.hol { color: var(--red); }
.day[aria-pressed="true"], .day.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.day.pick { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; }
.day.pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}

.list-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 4px 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.list-title .tr-ico { width: 30px; height: 30px; color: var(--blue-ink); }
.tr-ico .win { fill: #fff; }
.list-title small { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--faint); }

.row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 2px 8px;
  width: 100%;
  min-height: 74px;
  padding: 11px 12px 11px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}
.row-card.next { background: var(--green-soft); border-color: #cfe9d6; }
.row-card.past { opacity: .5; }
.row-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.row-top .time { font-size: 21px; font-weight: 700; color: var(--ink); }
.row-top .dest { font-size: 16px; letter-spacing: -.01em; }
.row-card .cd { font-size: 15px; }
.row-card .cd b { font-size: 17px; }
.row-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; color: var(--muted); font-size: 15px; }
.row-sub > span { white-space: nowrap; }
.row-sub .flag { margin-left: 0; }
.row-sub .train { margin-top: 0; }
.row-card .cd { margin: 0; text-align: right; }
.chev-r { width: 18px; height: 18px; color: var(--ink-2); }
.more-btn {
  width: 100%;
  padding: 12px;
  border: 1px dashed #c9d3e2;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

/* Ulubione */
.fav-card {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fav-head { display: flex; align-items: center; gap: 10px; padding: 12px 8px 8px 16px; }
.fav-head .tr-ico { width: 28px; height: 28px; color: var(--blue-ink); }
.fav-head b { flex: 1; font-size: 17px; }
.fav-head .star { color: #f5a400; }
.fav-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
}
.fav-row .time { font-size: 19px; font-weight: 700; }
.fav-row .dest { font-size: 15px; }
.fav-open {
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--blue);
  font-weight: 650;
  text-align: left;
}
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
}
.quick button::before { content: "☆ "; color: #f5a400; }
.intro { margin: 8px 4px 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Info */
.info-card {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.info-card h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; }
.info-card h2 .ico {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(180deg, #4a8bff, #1d4fcf);
  color: #fff;
}
.info-card p, .info-card li { color: var(--muted); font-size: 15px; line-height: 1.5; }
.info-card p { margin: 10px 0 0; }
.info-card ul { margin: 8px 0 0; padding-left: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #3c86ff 0%, #1f5fd8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}
.btn.ghost { background: var(--chip); color: var(--ink-2); }
.fineprint { margin: 18px 4px 0; color: var(--faint); font-size: 13px; line-height: 1.5; }

/* ---------- Dolne menu ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding: 6px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
.tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 550;
}
.tabbar svg { fill: none; }
.tabbar button[aria-current="page"] { color: var(--blue); font-weight: 700; }
.tabbar button[aria-current="page"] svg { fill: currentColor; fill-opacity: .14; }

/* ---------- Arkusz od dołu (szczegóły, stacje, powiadomienia) ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 20, 45, .45);
  animation: fade .18s ease-out;
}
.bsheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-width: 600px;
  max-height: 86vh;
  margin: 0 auto;
  overflow-y: auto;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(8, 20, 45, .25);
  animation: up .22s cubic-bezier(.2, .8, .2, 1);
}
.grab { width: 40px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: #d5dce8; }
.bs-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--chip);
  color: var(--ink-2);
}
.bsheet h2 { margin: 6px 44px 4px 0; font-size: 21px; letter-spacing: -.01em; }
.bsheet .sub { margin: 0; color: var(--muted); font-size: 15px; }
.bsheet .btn { width: 100%; text-align: center; }
.bs-train { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 15px; }
.bs-train .train { margin: 0; }
.stops { list-style: none; margin: 16px 0 0; padding: 0; }
.stops li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 7px 0 7px 22px;
  font-size: 16px;
}
.stops li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d5dce8;
}
.stops li:first-child::before { top: 50%; }
.stops li:last-child::before { bottom: 50%; }
.stops li::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #b8c4d6;
}
.stops li.key { font-weight: 700; }
.stops li.key::after { border-color: var(--blue); background: var(--blue); }
.stops li.dim { color: var(--faint); }
.bs-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #f4f7fb; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.bs-note.warn { background: var(--amber-bg); color: var(--amber); }
.opt-list { display: grid; gap: 8px; margin-top: 14px; }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.opt small { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.opt[aria-pressed="true"] { border: 2px solid var(--blue); background: #f3f7ff; }
.opt .tr-ico { width: 28px; height: 28px; color: var(--blue-ink); }
.notice { padding: 12px 0; border-bottom: 1px solid var(--line); }
.notice:last-of-type { border-bottom: 0; }
.notice b { display: block; font-size: 16px; }
.notice p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.notice time { color: var(--faint); font-size: 13px; }
.noscript { padding: 24px; }

@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 360px) {
  .brand-name { font-size: 21px; }
  .greet { font-size: 30px; }
  .next-cd b { font-size: 31px; }
  .dir-tab { font-size: 14px; gap: 8px; padding: 10px; }
  .row-top .time { font-size: 19px; }
  .row-top .dest { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .dep-card:active, .row-card:active { transform: none; }
}

/* ---------- Okienko „Wyjdź na pociąg” ---------- */
.walk-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 4px 14px;
  width: 100%;
  margin-top: 12px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}
.walk-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
}
.walk-ico svg { width: 32px; height: 32px; }
.walk-card.soon .walk-ico { background: var(--amber-bg); color: var(--amber); }
.walk-card.now .walk-ico { background: #fde8e6; color: var(--red); animation: pulse 1.6s ease-in-out infinite; }
.walk-card.calm .walk-ico { background: #eaf1ff; color: var(--blue-ink); }
.walk-main { min-width: 0; }
.walk-title { display: block; font-size: 15px; color: var(--muted); }
.walk-big { display: block; margin-top: 1px; font-size: 24px; line-height: 1.15; font-weight: 750; letter-spacing: -.01em; color: var(--green); }
.walk-big b { font-size: 30px; }
.walk-card.soon .walk-big { color: var(--amber); }
.walk-card.now .walk-big { color: var(--red); }
.walk-card.calm .walk-big { color: var(--ink); font-size: 18px; font-weight: 700; }
.walk-sub { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.walk-meta { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.walk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.walk-actions .btn { margin-top: 0; min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
.spin {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin .8s linear infinite;
}
.set-group { margin-top: 18px; }
.set-group h3 { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }
.seg-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opts button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.seg-opts button small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.seg-opts button[aria-pressed="true"] { border: 2px solid var(--blue); background: #f3f7ff; color: var(--blue-ink); }
.seg-opts button:disabled { opacity: .45; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 24px;
  font-weight: 600;
  color: var(--blue-ink);
}
.stepper output { min-width: 90px; font-size: 22px; font-weight: 700; text-align: center; }
.logo-info { display: block; width: 100%; max-width: 360px; height: auto; margin: 2px auto 0; border-radius: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 45, 32, .35); } 50% { box-shadow: 0 0 0 8px rgba(217, 45, 32, 0); } }
@media (max-width: 360px) {
  .logo-card { padding: 4px 7px; }
  .logo-card img { width: 74px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 17px; }
  .walk-big { font-size: 21px; }
  .walk-big b { font-size: 26px; }
}
