/* ═══════ GRUFFIO - design tokens ═══════ */
:root {
  --orange: #E8500F;
  --orange-deep: #C43E06;
  --orange-soft: #FFF1EA;
  --orange-glow: rgba(232, 80, 15, .35);
  --navy: #1E2A3A;
  --navy-soft: #35455C;
  --cream: #FDF8F3;
  --paper: #FFFFFF;
  --ink: #22303F;
  --ink-mute: #6B7787;
  --line: #EEE3DA;
  --green: #2E9E5B;
  --green-soft: #E5F6EC;
  --red: #D9483B;
  --radius: 18px;
  --shadow: 0 4px 10px rgba(30, 42, 58, .08), 0 14px 34px rgba(30, 42, 58, .12);
  --font-display: "Baloo 2", "Nunito Sans", sans-serif; /* pełne polskie znaki */
  --font-logo: "Fredoka", "Baloo 2", sans-serif;    /* tylko logo „gruffio” */
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --tabbar-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  min-height: 100dvh;
  overscroll-behavior-y: none;
}

/* grain atmosphere */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: 1.45rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
input { font-family: inherit; font-size: 1rem; }
[hidden] { display: none !important; }
.empty { color: var(--ink-mute); font-size: .92rem; padding: 14px 4px; }

/* ═══════ buttons ═══════ */
.btn-primary {
  display: block; width: 100%; padding: 14px 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  border-radius: 999px; box-shadow: 0 6px 18px var(--orange-glow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:active { transform: scale(.97); }
.btn-lg { padding: 16px 24px; font-size: 1.12rem; }
.btn-secondary {
  display: block; width: 100%; padding: 12px 20px; border-radius: 999px;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600;
}
.btn-ghost {
  display: block; width: 100%; padding: 12px; margin-top: 14px;
  color: var(--ink-mute); font-size: .9rem; text-decoration: underline;
}

/* ═══════ onboarding ═══════ */
.onboarding {
  min-height: 100dvh; padding: max(24px, env(safe-area-inset-top)) 20px 40px;
  background:
    radial-gradient(ellipse 90% 45% at 85% -5%, rgba(232, 80, 15, .16), transparent),
    radial-gradient(ellipse 70% 40% at 0% 100%, rgba(30, 42, 58, .10), transparent),
    var(--cream);
}
.ob-inner { max-width: 460px; margin: 0 auto; }
.ob-hero { text-align: center; padding: 26px 0 30px; }
.ob-paw { color: var(--orange); animation: bounceIn .7s cubic-bezier(.34,1.56,.64,1) both; }
.brand {
  font-size: clamp(2.6rem, 10vw, 3.4rem); font-weight: 700; color: var(--orange);
  letter-spacing: .02em; line-height: 1;
}
.tagline { font-family: var(--font-display); color: var(--navy-soft); font-size: 1.02rem; margin-top: 8px; }

.ob-form {
  background: var(--paper); border-radius: 24px; padding: 26px 22px 22px;
  box-shadow: var(--shadow); display: grid; gap: 16px;
  animation: riseIn .55s .15s ease both;
}
.ob-form h2 { font-size: 1.25rem; }
.field { display: grid; gap: 6px; border: 0; }
.field > span, .field > legend { font-weight: 700; font-size: .85rem; color: var(--navy-soft); }
.field legend { margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--ink-mute); }
.field input[type=text], .field input[type=number] {
  width: 100%; min-width: 0;
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .15s;
}
.field input:focus { outline: none; border-color: var(--orange); }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; min-width: 0; }
.field-sm { max-width: 110px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }

.avatar-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.avatar-picker button {
  font-size: 1.7rem; width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream); border: 2px solid var(--line); transition: all .12s;
}
.avatar-picker button[aria-checked=true] { border-color: var(--orange); background: var(--orange-soft); transform: scale(1.08); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 999px; background: var(--cream);
  border: 2px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--ink);
  transition: all .12s;
}
.chip[aria-pressed=true], .chip[aria-checked=true] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.ob-note { text-align: center; font-size: .75rem; color: var(--ink-mute); }

/* ═══════ app shell ═══════ */
.app { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(253, 248, 243, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-brand {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--orange);
}
.walk-toggle {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--line);
  font-size: .8rem; font-weight: 800; color: var(--ink-mute); transition: all .2s;
}
.walk-dot { width: 9px; height: 9px; border-radius: 50%; background: #C6CBD4; transition: background .2s; }
.walk-toggle[aria-pressed=true] { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.walk-toggle[aria-pressed=true] .walk-dot { background: var(--green); animation: pulse 1.6s infinite; }

.views { flex: 1; padding: 18px 16px calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom)); }
.view { animation: fadeIn .25s ease; }

/* ═══════ tabbar ═══════ */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 520px; z-index: 30;
  display: flex; justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: var(--navy); border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 30px rgba(30, 42, 58, .25);
}
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 10px; border-radius: 12px; min-width: 58px;
  color: #97A3B5; font-size: .68rem; font-weight: 800; transition: color .15s;
}
.tab-ico { font-size: 1.25rem; filter: grayscale(1) brightness(1.4); transition: filter .15s, transform .15s; }
.tab.active { color: #fff; }
.tab.active .tab-ico { filter: none; transform: translateY(-2px) scale(1.12); }
.badge {
  position: absolute; top: 2px; right: 8px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--orange); color: #fff; border-radius: 999px;
  font-size: .66rem; line-height: 17px; text-align: center;
}

/* ═══════ deck / odkrywaj ═══════ */
.deck-header, .map-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.quota { font-size: .78rem; font-weight: 800; color: var(--orange); background: var(--orange-soft); padding: 5px 11px; border-radius: 999px; }

.deck-tools { display: flex; align-items: center; gap: 8px; }
.filters-btn {
  font-size: .78rem; font-weight: 800; color: var(--navy-soft);
  background: var(--paper); border: 2px solid var(--line); padding: 5px 11px; border-radius: 999px;
}
.filters-btn[aria-expanded=true] { border-color: var(--navy); color: var(--navy); }
.filters-panel {
  background: var(--paper); border-radius: 16px; padding: 14px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(30,42,58,.07); display: grid; gap: 12px;
  animation: fadeIn .2s;
}
.filters-label { font-size: .78rem; font-weight: 800; color: var(--navy-soft); display: block; margin-bottom: 6px; }
.chip-lock { border-style: dashed; color: var(--ink-mute); }
.filters-premium { border-top: 1px dashed var(--line); padding-top: 10px; }

.deck { position: relative; height: min(62vh, 520px); }
.dog-card {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow);
  touch-action: none; user-select: none; -webkit-user-select: none;
  display: flex; flex-direction: column;
  transition: transform .3s ease, opacity .3s ease;
}
.dog-card.dragging { transition: none; }
.dog-card.gone-left { transform: translate(-130%, 20px) rotate(-18deg) !important; opacity: 0; }
.dog-card.gone-right { transform: translate(130%, 20px) rotate(18deg) !important; opacity: 0; }
.dog-photo {
  flex: 1; display: flex; align-items: flex-end; position: relative; min-height: 0; background: #DCEFE2;
}
.dog-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; pointer-events: none; }
.dog-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,42,58,.75), transparent 50%);
}
.stamp {
  position: absolute; top: 22px; padding: 8px 18px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .05em;
  border: 3px solid; opacity: 0; transform: rotate(-12deg); z-index: 3; pointer-events: none;
  background: rgba(255,255,255,.88);
}
.stamp.like { left: 18px; color: var(--green); border-color: var(--green); }
.stamp.nope { right: 18px; color: var(--red); border-color: var(--red); transform: rotate(12deg); }
.dog-meta { position: relative; z-index: 2; padding: 14px 18px 16px; width: 100%; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.dog-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; }
.dog-name .active-now {
  font-size: .62rem; font-weight: 800; background: var(--green); padding: 3px 9px; border-radius: 999px;
  letter-spacing: .03em; animation: pulse 1.6s infinite;
}
.dog-sub { font-size: .9rem; opacity: .92; margin-top: 2px; }
.dog-body { padding: 14px 18px 18px; display: grid; gap: 10px; background: var(--paper); }
.dog-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .74rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); }
.tag.health { background: var(--green-soft); color: var(--green); }
.dog-bio { font-size: .88rem; color: var(--ink-mute); line-height: 1.45; }
.deck-empty {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px;
  color: var(--ink-mute); padding: 24px;
}
.deck-empty b { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }

.deck-actions { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.swipe-btn {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); box-shadow: var(--shadow); font-size: 1.5rem; font-weight: 700;
  transition: transform .12s;
}
.swipe-btn:active { transform: scale(.9); }
.swipe-left { color: var(--red); }
.swipe-right { color: var(--orange); width: 72px; height: 72px; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 8px 22px var(--orange-glow); }
.swipe-info { width: 48px; height: 48px; align-self: center; color: var(--navy-soft); font-family: var(--font-display); font-style: italic; }

/* ═══════ mapa ═══════ */
.live-count { font-size: .78rem; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 5px 11px; border-radius: 999px; }
.map-wrap { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #EAF2E6; position: relative; isolation: isolate; }
#citymap { display: block; width: 100%; height: 400px; background: #EAF2E6; font-family: var(--font-body); }
#citymap.fallback { display: grid; place-items: center; text-align: center; color: var(--ink-mute); font-size: .85rem; padding: 24px; }
.leaflet-container { font-family: var(--font-body); }
.leaflet-control-attribution { font-size: 9px; background: rgba(255,255,255,.75) !important; }
.leaflet-control-zoom a { color: var(--navy) !important; font-weight: 700; }
.leaflet-div-icon { background: transparent; border: 0; }
.dog-pin { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.dog-pin .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ringPulse 2.2s infinite; }
.dog-pin .face { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2.5px solid var(--green); display: grid; place-items: center; font-size: 18px; line-height: 1; box-shadow: 0 3px 10px rgba(30,42,58,.25); }
.dog-pin .label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 2px; font-size: 11px; font-weight: 800; color: var(--navy); background: rgba(255,255,255,.9); padding: 1px 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 1px 4px rgba(30,42,58,.15); }
.dog-pin.me .ring { border-color: var(--orange); }
.dog-pin.me .face { background: var(--orange); border-color: var(--orange); }
.dog-pin.me .label { color: var(--orange); }
.spot-pin { width: 28px; height: 28px; display: grid; place-items: center; font-size: 16px; background: rgba(255,255,255,.85); border-radius: 8px; box-shadow: 0 2px 6px rgba(30,42,58,.2); }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 12px 14px; font-size: .86rem; line-height: 1.4; }
.leaflet-popup-content b { font-family: var(--font-display); font-size: 1rem; }
.leaflet-popup-content .muted { color: var(--ink-mute); font-weight: 600; display: block; margin: 2px 0 8px; }
.leaflet-popup-content .btn-mini { display: inline-block; background: var(--orange); color: #fff; border: 0; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .8rem; cursor: pointer; font-family: var(--font-body); }
.map-privacy { font-size: .76rem; color: var(--ink-mute); margin: 10px 4px 18px; }
.map-popular h3 { margin-bottom: 8px; }
#popular-spots { list-style: none; display: grid; gap: 8px; }
#popular-spots li { cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--paper); padding: 12px 14px; border-radius: 14px; box-shadow: 0 2px 8px rgba(30,42,58,.06);
  font-size: .9rem; font-weight: 700;
}
#popular-spots small { color: var(--ink-mute); font-weight: 600; }
.place-add {
  display: block; width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: 14px;
  border: 2px dashed var(--line); color: var(--orange-deep); font-weight: 800; font-size: .9rem;
}
.place-add:active { background: var(--paper); }
.sheet-hint { color: var(--ink-mute); font-size: .88rem; line-height: 1.45; margin-top: -4px; }

/* ═══════ spacer ═══════ */
.walk-card {
  background: var(--navy); border-radius: 24px; padding: 20px; margin-top: 12px;
  box-shadow: var(--shadow); display: grid; gap: 16px;
}
.walk-stats { display: flex; justify-content: space-around; }
.stat { text-align: center; color: #fff; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; display: block; font-variant-numeric: tabular-nums; }
.stat span { font-size: .72rem; font-weight: 800; color: #97A3B5; text-transform: uppercase; letter-spacing: .06em; }
#routemap { width: 100%; height: 220px; background: #26354A; border-radius: 14px; overflow: hidden; }
#routemap.fallback { display: grid; place-items: center; color: #97A3B5; font-size: .85rem; text-align: center; padding: 16px; }
#routemap .leaflet-control-attribution { font-size: 8px; }
.route-head { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 0 0 6px rgba(232,80,15,.25); }
.route-start { width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.walk-history { margin-top: 22px; }
.walk-history h3 { margin-bottom: 8px; }
#walk-history-list { list-style: none; display: grid; gap: 8px; }
#walk-history-list li:not(.empty) {
  background: var(--paper); border-radius: 14px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; font-size: .9rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(30,42,58,.06);
}
#walk-history-list small { color: var(--ink-mute); font-weight: 600; }

/* ═══════ lokalni partnerzy (Faza 2) ═══════ */
.map-partners { margin-top: 18px; }
.map-partners h3 { margin-bottom: 8px; }
#partners { list-style: none; display: grid; gap: 8px; }
#partners li {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--paper); padding: 12px 14px; border-radius: 14px;
  box-shadow: 0 2px 8px rgba(30,42,58,.06); font-size: .9rem;
}
#partners li.featured { border: 2px solid var(--orange); background: var(--orange-soft); }
#partners b { display: block; font-family: var(--font-display); font-weight: 600; }
#partners small { color: var(--ink-mute); font-size: .76rem; }
.feat-tag { font-size: .66rem; font-weight: 800; color: var(--orange-deep); white-space: nowrap; }

/* ═══════ statystyki tygodnia (Faza 2) ═══════ */
.walk-week { margin-top: 22px; }
.walk-week h3 { margin-bottom: 8px; }
.week-card { background: var(--paper); border-radius: 18px; padding: 14px; box-shadow: 0 2px 8px rgba(30,42,58,.07); }
#weekchart { width: 100%; height: auto; }
.week-totals { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; text-align: center; }
.week-totals b { font-family: var(--font-display); color: var(--orange); display: block; font-size: 1.1rem; }
.week-totals span { font-size: .7rem; font-weight: 800; color: var(--ink-mute); }

/* ═══════ osiągnięcia (Faza 2) ═══════ */
.badges-card { background: var(--paper); border-radius: 24px; padding: 18px; margin-top: 16px; box-shadow: var(--shadow); }
.badges-card h3 { margin-bottom: 12px; }
.badges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.badge-tile {
  display: grid; place-items: center; gap: 4px; text-align: center;
  padding: 10px 4px; border-radius: 14px; background: var(--cream); opacity: .55;
}
.badge-tile.earned { opacity: 1; background: var(--orange-soft); box-shadow: 0 2px 8px var(--orange-glow); }
.badge-emoji { font-size: 1.5rem; }
.badge-tile small { font-size: .62rem; font-weight: 800; color: var(--navy-soft); line-height: 1.2; }

/* ═══════ polubiły Cię (Faza 2 / Premium) ═══════ */
.likes-you { margin: 12px 0 16px; }
.likes-you h3 { margin-bottom: 8px; }
.likes-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.like-ava {
  display: grid; place-items: center; gap: 2px; flex-shrink: 0;
  width: 68px; padding: 10px 4px; border-radius: 16px;
  background: var(--paper); box-shadow: 0 2px 8px rgba(30,42,58,.07);
  font-size: 1.7rem; transition: transform .12s;
}
.like-ava:active { transform: scale(.94); }
.like-ava small { font-size: .68rem; font-weight: 800; color: var(--navy-soft); }
.like-ava.blurred span { filter: blur(6px); }

/* ═══════ wiadomości ═══════ */
.match-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.match-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--paper); padding: 13px 14px; border-radius: 16px; box-shadow: 0 2px 8px rgba(30,42,58,.06);
  transition: transform .12s;
}
.match-item:active { transform: scale(.98); }
.match-ava { font-size: 1.9rem; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); flex-shrink: 0; }
.match-body { flex: 1; min-width: 0; }
.match-body b { font-family: var(--font-display); font-weight: 600; }
.match-body p { font-size: .82rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-new { font-size: .64rem; font-weight: 800; background: var(--orange); color: #fff; padding: 3px 8px; border-radius: 999px; }

/* ═══════ chat panel ═══════ */
.chat-panel {
  position: fixed; inset: 0; z-index: 50; background: var(--cream);
  display: flex; flex-direction: column; max-width: 520px; margin: 0 auto;
  animation: slideUp .28s cubic-bezier(.3,1,.4,1);
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.chat-back { font-size: 1.9rem; color: var(--navy); line-height: 1; padding: 0 6px; }
.chat-ava { font-size: 1.6rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); }
.chat-head b { font-family: var(--font-display); display: block; }
.chat-head small { color: var(--ink-mute); font-size: .74rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.4; animation: msgIn .2s ease; }
.msg.me { align-self: flex-end; background: var(--orange); color: #fff; border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: var(--paper); box-shadow: 0 2px 6px rgba(30,42,58,.07); border-bottom-left-radius: 6px; }
.msg.sys { align-self: center; background: none; color: var(--ink-mute); font-size: .74rem; font-weight: 700; }
.msg.proposal { border: 2px solid var(--orange); background: var(--orange-soft); color: var(--ink); align-self: stretch; max-width: 100%; }
.msg.proposal b { font-family: var(--font-display); color: var(--orange-deep); display: block; margin-bottom: 4px; }
.msg.proposal .prop-actions { display: flex; gap: 8px; margin-top: 10px; }
.msg.proposal .prop-actions button {
  flex: 1; padding: 9px; border-radius: 999px; font-weight: 800; font-size: .84rem;
}
.prop-yes { background: var(--orange); color: #fff; }
.prop-no { background: var(--paper); color: var(--ink-mute); }
.chat-compose {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.chat-compose input {
  flex: 1; padding: 12px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--cream);
}
.chat-compose input:focus { outline: none; border-color: var(--orange); }
.propose-btn { font-size: 1.4rem; }
.send-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff;
  font-size: 1.1rem; display: grid; place-items: center; flex-shrink: 0;
}

/* ═══════ profil ═══════ */
.profile-card {
  background: var(--paper); border-radius: 24px; padding: 22px; margin-top: 12px;
  box-shadow: var(--shadow); display: grid; gap: 12px; text-align: center;
}
.profile-ava { font-size: 4rem; }
.profile-card h3 { font-size: 1.5rem; }
.profile-sub { color: var(--ink-mute); font-size: .9rem; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.profile-stats { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.profile-stats b { font-family: var(--font-display); font-size: 1.3rem; color: var(--orange); display: block; }
.profile-stats span { font-size: .72rem; font-weight: 800; color: var(--ink-mute); }
.premium-card {
  margin-top: 16px; border-radius: 24px; padding: 22px;
  background: linear-gradient(140deg, var(--navy), #2C3E56);
  color: #fff; display: grid; gap: 12px; box-shadow: var(--shadow);
}
.premium-card h3 { color: #fff; display: flex; justify-content: space-between; align-items: baseline; }
.premium-card .price { color: var(--orange); font-size: .9rem; }
.premium-card ul { list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.premium-card li::before { content: "🧡 "; }
.premium-card .btn-secondary { background: var(--orange); }

/* ═══════ match overlay ═══════ */
.match-overlay {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: rgba(30, 42, 58, .78); backdrop-filter: blur(4px);
  animation: fadeIn .25s;
}
.match-box {
  position: relative; background: var(--paper); border-radius: 28px; padding: 34px 26px 24px;
  width: min(88vw, 380px); text-align: center; display: grid; gap: 14px;
  animation: bounceIn .5s cubic-bezier(.34,1.56,.64,1);
  overflow: hidden;
}
.match-kicker { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--orange); }
.match-dogs { font-size: 3.2rem; display: flex; justify-content: center; gap: 14px; align-items: center; }
.match-heart { font-size: 2rem; animation: pulse 1s infinite; }
.match-copy { color: var(--ink-mute); font-size: .92rem; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i {
  position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px;
  animation: confettiFall linear forwards;
}

/* ═══════ toast ═══════ */
.toast {
  position: fixed; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%); z-index: 70;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 22px;
  font-size: .88rem; font-weight: 700; line-height: 1.4; box-shadow: var(--shadow);
  animation: riseIn .3s ease; width: max-content; max-width: min(90vw, 440px); text-align: center;
}

/* ═══════ animations ═══════ */
@keyframes fadeIn { from { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translate(-50%, 14px); } to { transform: translateX(-50%); } }
.ob-form { animation-name: riseInPlain; }
@keyframes riseInPlain { from { opacity: 0; transform: translateY(18px); } }
@keyframes slideUp { from { transform: translateY(6%); opacity: .4; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes bounceIn { from { opacity: 0; transform: scale(.6); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes ringPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes confettiFall { to { transform: translateY(460px) rotate(540deg); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════ zdjęcia psów ═══════ */
.match-ava img, .chat-ava img, .like-ava span img, .dog-pin .face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.match-ava, .chat-ava { overflow: hidden; }
.like-ava span { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: block; }
.dog-pin .face { overflow: hidden; padding: 0; }
#match-them img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); vertical-align: middle; }
.pop-img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 8px; }

/* ═══════ Human+ ═══════ */
.human-card {
  margin-top: 16px; border-radius: 24px; padding: 22px;
  background: linear-gradient(140deg, #1F6B45, var(--green));
  color: #fff; display: grid; gap: 12px; box-shadow: var(--shadow);
}
.human-card h3 { color: #fff; display: flex; justify-content: space-between; align-items: baseline; }
.human-card .price { color: #FFD9A8; font-size: .9rem; }
.human-lead { font-family: var(--font-display); font-size: 1.05rem; opacity: .95; }
.human-card ul { list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.human-card li::before { content: "👤 "; }
.human-card .btn-secondary { background: #fff; color: #1F6B45; }
.human-card .field span { color: #E5F6EC; }
.human-card textarea {
  width: 100%; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; padding: 10px 12px;
  font: inherit; font-size: .92rem; background: rgba(255,255,255,.14); color: #fff; resize: vertical;
}
.human-card textarea::placeholder { color: rgba(255,255,255,.6); }
.human-card textarea:focus { outline: none; border-color: #fff; }
.profile-bio { font-size: .9rem; color: var(--ink); font-style: italic; }
.owner-box {
  position: relative; border-top: 1px dashed var(--line); padding-top: 10px; font-size: .84rem; line-height: 1.4;
  display: grid; grid-template-columns: 68px 1fr; gap: 12px; align-items: center; cursor: pointer;
}
.owner-box b { color: var(--green); }
.owner-box p { color: var(--ink-mute); }
.owner-box.locked { cursor: pointer; }
.owner-box.locked p, .owner-box.locked .owner-ava { filter: blur(5px); user-select: none; }
.owner-ava { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(30,42,58,.18); }
.owner-ph { background: var(--green-soft); color: var(--green); font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; }
.owner-ava.big { width: 96px; height: 96px; font-size: 2.2rem; border: 3px solid rgba(255,255,255,.7); }
.owner-mini { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; vertical-align: middle; font-size: .8rem; margin-right: 2px; }
.chat-who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; color: inherit; padding: 4px 8px 4px 0; border-radius: 14px; }
.chat-who:active { background: var(--cream); }
.chat-who .chat-ava { flex-shrink: 0; }
.profile-owner { display: flex; gap: 12px; align-items: center; text-align: left; border-top: 1px solid var(--line); padding-top: 12px; font-size: .9rem; }
.profile-owner .owner-ava { width: 64px; height: 64px; }
.profile-owner p { color: var(--ink); font-style: italic; font-size: .86rem; }
.profile-owner p.muted { color: var(--ink-mute); font-style: normal; }
.photo-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-file { cursor: pointer; padding: 10px 16px; font-size: .88rem; }
.btn-link { background: none; border: 0; color: #E5F6EC; text-decoration: underline; font: inherit; font-size: .84rem; cursor: pointer; }
.owner-lock {
  position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%);
  background: var(--navy); color: #fff; font-size: .74rem; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; box-shadow: var(--shadow);
}
.owner-pop { margin-top: 8px; }

/* ═══════ podgląd właściciela ═══════ */
.owner-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(30,42,58,.72); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(4px); }
.owner-sheet { background: var(--paper); border-radius: 26px; padding: 22px; width: min(100%, 360px); text-align: center; display: grid; gap: 10px; box-shadow: var(--shadow); animation: riseIn .25s ease; }
.owner-sheet img { width: min(100%, 260px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; justify-self: center; }
.owner-sheet h3 { font-size: 1.5rem; }
.owner-sheet-dog { color: var(--ink-mute); font-size: .86rem; font-weight: 700; }
.owner-sheet-bio { font-size: .95rem; line-height: 1.5; }
.owner-ph.huge { width: 160px; height: 160px; font-size: 4rem; justify-self: center; }

/* ═══════ podgląd profilu psa (mapa live, czat) ═══════ */
.dog-sheet-wrap { padding: 12px; width: min(100%, 400px); max-height: calc(100dvh - 48px); overflow-y: auto; text-align: left; }
.dog-sheet { position: relative; inset: auto; flex-shrink: 0; box-shadow: none; transition: none; touch-action: auto; user-select: auto; -webkit-user-select: auto; }
.dog-sheet .dog-photo { flex: none; height: min(44vh, 340px); }
.owner-sheet .dog-sheet .dog-img { width: 100%; aspect-ratio: auto; border-radius: 0; }
.owner-sheet .dog-sheet .owner-ava { width: 68px; aspect-ratio: auto; border-radius: 50%; }
.dog-sheet-wrap .btn-ghost { margin-top: 0; }
.dog-sheet-wrap .btn-secondary[disabled] { opacity: .55; cursor: default; }
.leaflet-popup-content .pop-actions { display: flex; gap: 6px; margin-top: 10px; }
.leaflet-popup-content .btn-mini-alt { background: var(--navy); }

/* ═══════ marka Gruffio ═══════ */
.wordmark { font-family: var(--font-logo); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.wm-i { position: relative; display: inline-block; line-height: 1; } /* niezależnie od wysokości linii strony, inaczej łapka „ucieka” w górę */
.wm-i svg { position: absolute; left: 50%; top: -.04em; width: .42em; height: .42em; transform: translateX(-50%) rotate(-12deg); color: var(--navy); }
.brand.wordmark { letter-spacing: -.01em; }
.topbar-brand .wordmark { font-size: 1.3rem; }
.topbar-brand .wm-i svg { top: -.02em; }
.beta-chip {
  font-family: var(--font-body); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-soft); background: rgba(30, 42, 58, .07); padding: 3px 7px; border-radius: 999px; align-self: center;
}

/* ═══════ przełącznik języka ═══════ */
.ob-top { display: flex; justify-content: space-between; align-items: center; }
.lang-switch { display: inline-flex; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 2px; }
.lang-switch button {
  min-width: 40px; min-height: 32px; padding: 0 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; color: var(--ink-mute); letter-spacing: .04em;
}
.lang-switch button[aria-pressed=true] { background: var(--navy); color: #fff; }

/* ═══════ onboarding: zgoda ═══════ */
.field-wrap { flex-wrap: wrap; gap: 10px 18px; }
.check.consent { align-items: flex-start; font-size: .84rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.check.consent input { margin-top: 2px; flex-shrink: 0; }
.check.consent a, .consent-links a { color: var(--orange-deep); font-weight: 800; }

/* ═══════ wykonawca: MASTI ═══════ */
.made-by { text-align: center; margin: 26px 0 8px; font-size: .74rem; color: var(--ink-mute); }
.made-by a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: inherit; text-decoration: none; }
.made-by b { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; color: var(--navy); font-size: .78rem; }
.masti-mark { width: 15px; height: 15px; color: #FF5B27; }
.made-by.about { margin-top: 18px; }
.made-by p { line-height: 1.6; font-size: .7rem; }

/* ═══════ ustawienia ═══════ */
.settings-card { background: var(--paper); border-radius: 24px; padding: 18px 18px 8px; margin-top: 16px; box-shadow: var(--shadow); }
.settings-card h3 { margin-bottom: 6px; }
.set-row, .set-link {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 50px;
  border-top: 1px solid var(--line); font-size: .92rem; font-weight: 700; color: var(--ink); text-decoration: none; text-align: left;
}
.set-row:first-of-type { border-top: 0; }
.set-link i { font-style: normal; color: var(--ink-mute); font-size: 1.2rem; }
.set-link.danger { color: var(--red); }

/* ═══════ plany ═══════ */
.plan-on { font-family: var(--font-display); font-weight: 600; color: var(--orange); }
.btn-stop { background: linear-gradient(135deg, #D9483B, #B03225); box-shadow: 0 6px 18px rgba(217, 72, 59, .35); }

/* ═══════ czat: menu ═══════ */
.chat-title { flex: 1; min-width: 0; }
.chat-more { font-size: 1.5rem; line-height: 1; color: var(--navy); width: 44px; height: 44px; border-radius: 50%; }
.chat-more:active { background: var(--cream); }
.action-sheet { gap: 10px; }
.btn-danger { background: var(--red); }
.consent-sheet { text-align: left; }
.consent-sheet h3 { font-size: 1.25rem; }
.consent-links { font-size: .9rem; }

/* ═══════ dokumenty prawne ═══════ */
.doc-sheet { position: fixed; inset: 0; z-index: 95; background: rgba(30,42,58,.72); backdrop-filter: blur(4px); display: grid; place-items: end center; animation: fadeIn .2s; }
.doc-box {
  width: min(100%, 720px); height: calc(100dvh - max(24px, env(safe-area-inset-top))); background: var(--paper);
  border-radius: 24px 24px 0 0; overflow: hidden; display: flex; flex-direction: column;
  animation: slideUp .28s cubic-bezier(.3,1,.4,1);
}
.doc-box iframe { flex: 1; width: 100%; border: 0; background: var(--paper); }
.doc-close { border-radius: 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ═══════ logowanie ═══════ */
.auth-home { font-size: .84rem; font-weight: 800; color: var(--navy-soft); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.auth-lead { font-size: .92rem; color: var(--ink-mute); line-height: 1.45; margin-top: -6px; }
.field input[type=email] {
  width: 100%; min-width: 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .15s;
}
.set-value { font-size: .86rem; font-weight: 600; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }

/* ═══════ podpis wykonawców: MASTI & C3S & czujowski.pl ═══════ */
.credits { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; }
.credits a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: inherit; text-decoration: none; }
.credits b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .78rem; color: var(--navy); }
.credits a:first-of-type b { letter-spacing: .14em; }
.credits .amp { opacity: .55; }
.credits .c3s-logo { display: block; width: auto; height: 18px; }
.credits .cz-name { letter-spacing: -.04em; }
.credits .cz-name i { font-style: normal; opacity: .55; }
.credits a:hover b, .credits a:focus-visible b { color: var(--orange-deep); }
/* ciemna stopka strony głównej */
.credits-dark b { color: #fff; }
.credits-dark .c3s-logo { filter: brightness(0) invert(1); }
.credits-dark a:hover b { color: #FFB089; }

/* ═══════ konta w chmurze: logowanie kodem, zdjęcia, arkusze ═══════ */
.boot { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--cream); }
.boot-paw { font-size: 3rem; animation: pulse 1.2s infinite; }
.auth-note { font-size: .9rem; line-height: 1.45; color: var(--navy-soft); background: var(--cream); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; }
.auth-note.invited { background: var(--green-soft); border-color: transparent; color: #1F7A47; font-weight: 700; }
.auth-err { font-size: .88rem; font-weight: 700; color: #B03225; background: #FDECEA; border-radius: 12px; padding: 10px 12px; }
.auth-waitlist { text-align: center; font-size: .88rem; font-weight: 700; color: var(--orange-deep); }
.code-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.code-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.link-btn { font-size: .85rem; font-weight: 700; color: var(--navy-soft); text-decoration: underline; min-height: 40px; }
.link-btn:disabled { color: var(--ink-mute); text-decoration: none; cursor: default; }
.photo-pick { display: flex; align-items: center; gap: 14px; }
.photo-pick small { display: block; margin-top: 6px; font-size: .78rem; color: var(--ink-mute); font-weight: 400; }
.photo-pick .btn-file { display: inline-block; width: auto; }
.photo-preview { width: 84px; height: 84px; flex-shrink: 0; border-radius: 20px; background: var(--orange-soft); display: grid; place-items: center; font-size: 2.6rem; overflow: hidden; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.place-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.place-row small { font-size: .8rem; color: var(--ink-mute); }
.dog-avatar { position: absolute; inset: 0; display: grid; place-items: center; font-size: 7rem; padding-bottom: 40px; }
.face-emoji { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.5em; line-height: 1; }
.profile-ava { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--orange-soft); display: grid; place-items: center; }
.profile-ava img { width: 100%; height: 100%; object-fit: cover; }
.profile-ava .face-emoji { font-size: 4rem; }
.profile-edit { width: auto; justify-self: center; padding: 10px 22px; }
#match-me img, #match-them img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); vertical-align: middle; }
#match-me .face-emoji, #match-them .face-emoji { font-size: 3.2rem; }
.deck-invite { width: auto; margin-top: 14px; padding: 12px 24px; }
.sheet-form { display: grid; gap: 12px; text-align: left; }
/* tylko pola tekstowe, bo radio i checkbox zostają małe (inaczej rozciągają się na całą szerokość) */
.sheet-form .field input:not([type=radio]):not([type=checkbox]), .sheet-form textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--cream); font: inherit;
}
.sheet-form .field input:focus, .sheet-form textarea:focus { outline: none; border-color: var(--orange); }
.sheet-form fieldset { text-align: left; gap: 2px; }
.sheet-form .check { justify-content: flex-start; text-align: left; font-weight: 600; font-size: .92rem; padding: 8px 0; min-height: 40px; }
.sheet-form .check input { flex-shrink: 0; margin: 0; }
.action-sheet h3 { font-size: 1.2rem; }

/* ═══════ prezent dla betatesterów + rozmyte oferty płatne ═══════ */
.gift-card {
  margin-top: 16px; border-radius: 24px; padding: 18px 20px; display: grid; gap: 6px;
  background: linear-gradient(135deg, #FFF1EA, #FFE3D3); border: 2px dashed rgba(232, 80, 15, .35);
}
.gift-card h3 { color: var(--orange-deep); }
.gift-card p { font-size: .92rem; line-height: 1.5; color: var(--navy-soft); }
.owner-card { padding-bottom: 18px; display: grid; gap: 12px; }
.owner-card-lead { font-size: .9rem; color: var(--ink-mute); line-height: 1.45; }
.owner-card .field span { color: var(--navy-soft); }
.owner-card textarea {
  width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px;
  font: inherit; font-size: .92rem; background: var(--cream); color: var(--ink); resize: vertical;
}
.owner-card textarea:focus { outline: none; border-color: var(--orange); }
.owner-card .owner-ava.big { border-color: var(--orange-soft); }
.premium-card, .human-card { position: relative; overflow: hidden; }
.offer-blur { display: grid; gap: 12px; filter: blur(5px); opacity: .7; pointer-events: none; user-select: none; }
.offer-overlay {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; color: #fff;
}
.offer-overlay b {
  font-family: var(--font-display); font-size: 1.15rem; background: rgba(0, 0, 0, .28);
  padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(2px);
}
.offer-overlay small { font-weight: 700; font-size: .85rem; opacity: .95; }
.owner-card .btn-file { width: auto; display: inline-block; }

/* ═══════ instalacja PWA ═══════ */
.install-banner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  margin: -4px 0 14px; padding: 10px 10px 10px 12px; border-radius: 18px;
  background: var(--paper); box-shadow: 0 2px 10px rgba(30, 42, 58, .08); border: 1px solid var(--line);
}
.install-ico { width: 44px; height: 44px; border-radius: 12px; }
.install-banner p { font-size: .82rem; line-height: 1.35; font-weight: 600; color: var(--navy-soft); }
.install-cta {
  padding: 9px 14px; border-radius: 999px; background: var(--orange); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.install-close { width: 32px; height: 32px; border-radius: 50%; color: var(--ink-mute); font-size: .9rem; }
.install-close:hover { background: var(--cream); }
.install-steps { text-align: left; display: grid; gap: 12px; padding-left: 1.4em; font-size: .95rem; line-height: 1.45; }
.install-steps b { color: var(--navy); }
.ios-share { width: 20px; height: 20px; vertical-align: -4px; color: #0A84FF; }
.install-note { text-align: left; font-size: .82rem; color: var(--ink-mute); background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.install-body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.install-body p { flex: 1 1 190px; }
.install-close { align-self: start; }
