:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-soft: rgba(34, 197, 94, 0.14);
  --green-prefix: rgba(34, 197, 94, 0.2);
  --ink: #000000;
  --ink-muted: rgba(0, 0, 0, 0.48);
  --line: rgba(0, 0, 0, 0.1);
  --line-faint: rgba(0, 0, 0, 0.07);
  --danger: #ef4444;
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 8px 28px rgba(26, 28, 31, 0.06);
  --shadow-login: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-promo: 0 2px 12px rgba(26, 28, 31, 0.04);
  --nav-height: 72px;
  --font: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--green);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-barcode-open { overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Splash ── */

.splash {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 24px;
  animation: splashRise .7s var(--ease-out);
}
.splash-logo { width: min(180px, 46vw); margin: 0 auto 22px; }
.splash-logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.splash-arrow {
  transform-box: view-box; transform-origin: 100px 100px;
  animation: splashArrowSpin 1.6s linear 1.2s infinite;
}
.splash-arrow-ring {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: splashArrowDraw 1.15s var(--ease-out) forwards;
}
.splash-arrow-head {
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: splashArrowHeadIn .25s var(--ease-out) .95s forwards;
}
.splash-logo-24 {
  fill: #fff; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-size: 78px; font-weight: 700; letter-spacing: -1px;
}
.splash-brand {
  margin: 0; font-family: var(--font);
  font-size: clamp(1.15rem, 4.8vw, 1.45rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; color: #fff;
  opacity: 0; animation: splashBrandIn .5s var(--ease-out) .35s forwards;
}

@keyframes splashRise {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes splashArrowDraw {
  from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; }
}
@keyframes splashArrowHeadIn {
  from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); }
}
@keyframes splashArrowSpin {
  from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}
@keyframes splashBrandIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Shell + screens ── */

.shell {
  position: relative; z-index: 1;
  width: min(100%, 430px);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex; flex-direction: column;
}

.screen {
  flex: 1; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(18px);
  pointer-events: none;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.screen[hidden] { display: none !important; }
.screen.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ── Login screens (phone, name) ── */

.screen-phone,
.screen-name {
  background: var(--green);
  padding: calc(44px + var(--safe-top)) 0 calc(32px + var(--safe-bottom));
}

.login-hero {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px; padding: 24px 22px;
}

.login-logo-box {
  width: 88px; height: 88px;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  flex-shrink: 0;
}

.login-logo-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.login-brand-name {
  margin: 0; font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: #000; text-align: center;
}
.login-brand-sub {
  margin: 6px 0 0; font-size: 14px; font-weight: 500;
  color: rgba(0, 0, 0, .55); text-align: center;
}

.login-card {
  margin: 0 22px;
  background: #fff; border-radius: var(--radius-xl);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-login);
  display: flex; flex-direction: column; gap: 14px;
}

.login-card-grow { flex: 1; }

.login-card-title {
  margin: 0; font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: #000; line-height: 1.2;
}

.login-form { display: flex; flex-direction: column; gap: 14px; }

.login-divider {
  display: flex; align-items: center; gap: 12px; margin: 2px 0;
}
.login-divider-line { flex: 1; height: 1px; background: var(--line); }
.login-divider-text {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(0, 0, 0, .38);
}

.btn-social {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 15px; font-weight: 600;
  border-radius: 999px; padding: 13px 20px;
}
.btn-google {
  background: #fff; color: #000;
  border: 1.5px solid rgba(0, 0, 0, .14) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.btn-apple {
  background: #000; color: #fff; border: 0 !important;
}

.login-header-top { padding: 0 22px 24px; }

.login-back-btn {
  appearance: none; border: 0; background: transparent;
  color: rgba(0, 0, 0, .6); font: inherit; font-size: 14px; font-weight: 600;
  padding: 0; margin-bottom: 18px; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
}
.login-back-btn:hover { color: #000; }

.login-header-title {
  margin: 0; font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em; color: #000; line-height: 1.2;
}
.login-header-sub {
  margin: 8px 0 0; font-size: 14px; color: rgba(0, 0, 0, .55); font-weight: 500;
}

/* ── App screens (home, profile, likes) ── */

.screen-home,
.screen-profile,
.screen-likes {
  background: #fff;
}

.app-header {
  flex-shrink: 0;
  padding: calc(52px + var(--safe-top)) 22px 28px;
}

.app-header-green { background: var(--green); }

.screen-kicker {
  margin: 0 0 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0, 0, 0, .5);
}

.screen-greeting {
  margin: 0; font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1; color: #000;
}

.screen-phone-sub {
  margin: 10px 0 0; font-size: 14px; font-weight: 600;
  color: rgba(0, 0, 0, .55); letter-spacing: 0.02em;
}

.app-content {
  flex: 1; overflow-y: auto;
  padding: 20px 22px calc(var(--nav-height) + 28px + var(--safe-bottom));
  display: flex; flex-direction: column; gap: 16px;
}

/* ── Barcode card (home) ── */

.barcode-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 20px;
  box-shadow: var(--shadow-card); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.barcode-card-title {
  margin: 0; font-size: 15px; font-weight: 700; color: #000;
}
.barcode-preview {
  background: #f5f5f7; border-radius: var(--radius-sm);
  padding: 12px 20px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.barcode-bar { height: 40px; background: #000; border-radius: 1px; flex-shrink: 0; }
.barcode-gap { height: 40px; background: transparent; flex-shrink: 0; }
.barcode-card-hint {
  margin: 0; font-size: 12px; line-height: 1.45; color: rgba(0, 0, 0, .45);
}

/* ── Discounts ── */

.discounts-section { display: flex; flex-direction: column; gap: 10px; }
.discounts-title { margin: 0; font-size: 18px; font-weight: 700; color: #000; }
.discount-list { display: flex; flex-direction: column; gap: 12px; }

.discount-card {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, .08); overflow: hidden;
  box-shadow: var(--shadow-promo); background: #fff;
}
.discount-card.is-showing-like-tip { z-index: 5; }

.discount-image {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: contain;
  object-position: center; vertical-align: middle;
  border-radius: var(--radius-lg);
  background: #f5f5f7;
}

/* ── Like button ── */

.promo-like-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #9ca3af;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12); cursor: pointer;
  transition: color .15s var(--ease-out), background .15s var(--ease-out);
}
.promo-like-btn svg {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linejoin: round; transform-origin: center;
}
.promo-like-btn.is-liked { color: var(--green); }
.promo-like-btn.is-liked svg { fill: currentColor; }
.promo-like-btn.is-popping svg { animation: like-heart-pop .55s var(--ease-spring); }
.promo-like-btn:active { transform: scale(.94); }
.promo-like-btn:disabled { opacity: .7; cursor: wait; }

.promo-like-tooltip {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 3;
  width: max-content; max-width: min(220px, calc(100vw - 48px));
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: #111827; color: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.35;
  pointer-events: none; opacity: 0;
  transform: translateY(-6px) scale(.96);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .28);
}
.promo-like-tooltip::before {
  content: ''; position: absolute;
  top: -6px; right: 14px; width: 12px; height: 12px;
  background: #111827; transform: rotate(45deg); border-radius: 2px;
}
.promo-like-tooltip.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.promo-like-tooltip.is-hiding { opacity: 0; transform: translateY(-4px) scale(.98); }

/* ── Profile screen ── */

.profile-avatar-row {
  display: flex; align-items: center; gap: 16px; padding: 4px 0 8px;
}
.profile-avatar {
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 22px; font-weight: 700; color: #000; letter-spacing: -0.02em;
}
.profile-avatar-name {
  margin: 0; font-size: 20px; font-weight: 700; color: #000; letter-spacing: -0.01em;
}
.profile-avatar-phone {
  margin: 4px 0 0; font-size: 13px; color: rgba(0, 0, 0, .5); font-weight: 500;
}

.profile-info-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 22px;
  box-shadow: var(--shadow-card);
}
.profile-info-row {
  display: grid; grid-template-columns: 104px 1fr;
  gap: 10px; align-items: center; padding: 14px 0;
}
.profile-info-divider { height: 1px; background: var(--line-faint); }
.profile-info-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: rgba(0, 0, 0, .42);
}
.profile-info-value { font-size: 16px; font-weight: 600; color: #000; }

.liked-empty {
  margin: 0; font-size: 15px; line-height: 1.45; color: rgba(0, 0, 0, .45);
}

/* ── Language switcher ── */

.lang-switcher {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 16px 22px;
  box-shadow: var(--shadow-card);
}

.lang-options {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: #f0f0f2; gap: 2px;
}

.lang-btn {
  appearance: none; border: 0; background: transparent;
  color: #666; font: inherit; font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.lang-btn.is-active {
  background: #fff; color: #000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

/* ── Fields ── */

.field { display: flex; flex-direction: column; gap: 7px; }
.field-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.field-input {
  width: 100%; border: 1.5px solid var(--line);
  border-radius: var(--radius-md); background: #f7f7f8;
  color: var(--ink); font: inherit;
  font-size: 16px; font-weight: 500;
  padding: 14px 16px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field-input::placeholder { color: rgba(139, 144, 153, .7); }
.field-input:focus {
  border-color: rgba(34, 197, 94, .55);
  box-shadow: 0 0 0 3px var(--green-soft);
  background: #fff;
}
.field.is-invalid .field-input,
.field.is-invalid .phone-row {
  border-color: rgba(239, 68, 68, .65);
  animation: shake .42s var(--ease-out);
}

.phone-row {
  display: flex; align-items: stretch;
  border: 1.5px solid var(--line); border-radius: var(--radius-md);
  background: #f7f7f8; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.phone-row:focus-within {
  border-color: rgba(34, 197, 94, .55);
  box-shadow: 0 0 0 3px var(--green-soft);
  background: #fff;
}
.phone-prefix {
  display: flex; align-items: center;
  padding: 0 14px; font-weight: 700; font-size: 15px;
  color: #000; background: var(--green-prefix);
  border-right: 1px solid var(--line); user-select: none;
}
.phone-input {
  border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; background: transparent !important;
  letter-spacing: 0.04em;
}
.field-hint { font-size: 12px; color: var(--ink-muted); }

.form-error {
  margin: 0; padding: 0;
  color: var(--danger); font-size: 12px; font-weight: 600;
}

/* ── Buttons ── */

.btn {
  position: relative; appearance: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 16px;
  border-radius: 999px; padding: 15px 22px;
  transition: transform .18s var(--ease-out), background .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  overflow: hidden; color: #000; background: var(--green-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform .18s var(--ease-out), background .2s ease, opacity .25s ease, filter .25s ease;
}
.btn-primary:disabled { cursor: not-allowed; }
.btn-primary.is-blurred { opacity: .45; filter: blur(1.5px); pointer-events: none; }
.btn-primary:disabled:not(.is-blurred) { opacity: .65; cursor: wait; filter: none; }

.btn-shine {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); pointer-events: none;
}
.btn-primary.is-success .btn-shine { animation: shine .7s var(--ease-out); }

/* ── Bottom nav ── */

.bottom-nav {
  position: fixed; z-index: 120;
  left: 50%; bottom: calc(20px + var(--safe-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 400px);
  height: var(--nav-height);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(26, 28, 31, .12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.bottom-nav[hidden] { display: none !important; }

.nav-side { display: flex; align-items: center; min-width: 0; }
.nav-side-left { justify-content: flex-start; gap: 2px; }
.nav-side-right { justify-content: flex-end; gap: 2px; }

.nav-item {
  appearance: none; border: 0; background: transparent;
  color: rgba(0, 0, 0, .45);
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; font: inherit; font-size: 10px; font-weight: 600;
  cursor: pointer; padding: 6px 8px;
  transition: color .2s ease, transform .18s var(--ease-out);
}
.nav-item.is-active { color: #000; font-weight: 700; }
.nav-item.is-active[data-nav='likes'] svg { fill: currentColor; }
.nav-item:active { transform: scale(.96); }

.nav-barcode {
  appearance: none; border: 0;
  width: 48px; height: 48px; margin: 0;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #000; background: #f3f3f5; cursor: pointer;
  transition: transform .22s var(--ease-spring), background .2s ease;
}
.nav-barcode:active { transform: scale(.94); }
.nav-barcode:focus-visible { outline: 3px solid var(--green-soft); outline-offset: 2px; }

/* ── Modal ── */

.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
.modal-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(100%, 430px);
  background: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 28px 22px calc(32px + var(--safe-bottom));
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .14);
  transform: translateY(40px);
  transition: transform .35s var(--ease-out);
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #f3f3f5; color: #000;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.modal-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: #000;
  margin-bottom: 4px;
}

/* ── Confirm dialog ── */

.confirm-overlay { align-items: center; }

.confirm-card {
  border-radius: var(--radius-xl) !important;
  padding: 28px 24px 24px !important;
  margin: 24px;
  gap: 20px !important;
  max-width: 320px; width: 100%;
}

.confirm-message {
  margin: 0; font-size: 17px; font-weight: 600;
  color: #000; line-height: 1.4; text-align: center;
}

.confirm-actions {
  display: flex; gap: 10px;
}

.confirm-cancel-btn {
  flex: 1; background: #f0f0f2; color: #000;
  font-size: 15px; font-weight: 700;
}
.confirm-cancel-btn:hover { background: #e4e4e7; }

.confirm-yes-btn {
  flex: 1; font-size: 15px;
}

/* ── Barcode overlay ── */

.barcode-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
.barcode-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.barcode-close {
  position: absolute; top: calc(14px + var(--safe-top)); right: 16px;
  z-index: 3; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: #111; color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.barcode-landscape {
  position: absolute; top: 50%; left: 50%;
  width: 100vh; height: 100vw;
  display: flex; align-items: center; justify-content: center;
  padding: 40px; background: var(--green);
  transform: translate(-50%, -50%) rotate(90deg);
  animation: barcodeIn .4s var(--ease-out);
}
.barcode-fullscreen-image {
  width: 92%; height: auto; max-height: 70%;
  object-fit: contain; background: #fff;
  user-select: none; -webkit-user-drag: none;
}

/* ── Map overlay ── */

.map-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: #fff; opacity: 0; visibility: hidden;
  pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease-out), visibility .3s, transform .3s var(--ease-out);
}
.map-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.map-overlay-header {
  position: relative; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: calc(14px + var(--safe-top)) 56px 12px 20px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.map-overlay-title { margin: 0; font-size: 18px; font-weight: 700; color: #000; }

.map-layer-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: #f0f0f2; gap: 2px;
}
.map-layer-btn {
  appearance: none; border: 0; background: transparent;
  color: #666; font: inherit; font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.map-layer-btn.is-active {
  background: #fff; color: #000; box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.screen-close {
  appearance: none; border: 0; background: transparent;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #000; cursor: pointer;
}
.map-close {
  position: absolute; top: calc(8px + var(--safe-top)); right: 12px;
}

.map-canvas { flex: 1 1 auto; min-height: 0; width: 100%; background: #e8e8e8; }

.map-locations {
  flex: 0 0 auto; list-style: none;
  margin: 0; padding: 12px 16px calc(18px + var(--safe-bottom));
  display: grid; gap: 8px;
  background: #fff; border-top: 1px solid var(--line);
  max-height: 34vh; overflow: auto;
}
.map-locations li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: #f5f5f5; font-size: 14px; font-weight: 600;
  color: #000; cursor: pointer; border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.map-locations li.is-active,
.map-locations li:active {
  background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .35);
}
.map-locations .map-pin-index {
  flex: 0 0 auto; width: 24px; height: 24px;
  border-radius: 50%; background: var(--green); color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.leaflet-container { font: inherit; }

/* ── Animations ── */

@keyframes barcodeIn {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(.9); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(90deg) scale(1); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
@keyframes shine {
  from { transform: translateX(-120%); } to { transform: translateX(120%); }
}
@keyframes like-heart-pop {
  0% { transform: scale(1); }
  28% { transform: scale(1.45); }
  52% { transform: scale(.88); }
  72% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .screen, .btn, .btn-shine, .splash-inner,
  .splash-arrow, .splash-arrow-ring, .splash-arrow-head, .splash-brand,
  .barcode-landscape,
  .field.is-invalid .field-input, .field.is-invalid .phone-row {
    animation: none !important; transition: none !important;
  }
  .splash-arrow-ring { stroke-dashoffset: 0; }
  .splash-arrow-head, .splash-brand { opacity: 1; }
}
