/* =====================================================================
   MonShop theme. Two sides of one counter:
   tomato = shoppers, teal = shopkeepers, sun = specials, ink = everything else.
   ===================================================================== */
:root {
  --bg: #FFF8EF;
  --bg-2: #FBEFDF;
  --paper: #FFFFFF;
  --ink: #211C33;
  --ink-2: #5B5670;
  --ink-3: #8F8A9E;
  --line: #F0E6D7;
  --line-2: #E3D6C3;
  --tomato: #EE5235;
  --tomato-d: #C83E24;
  --tomato-l: #FFE7DF;
  --teal: #0F7D73;
  --teal-d: #0A5F57;
  --teal-l: #DDF3EF;
  --sun: #FFC845;
  --sun-d: #E0A314;
  --sun-l: #FFF3CC;
  --plum: #5B45B0;
  --plum-l: #ECE7FB;
  --ok: #1E9E62;
  --bad: #D2372C;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(33, 28, 51, .06), 0 4px 14px rgba(33, 28, 51, .06);
  --shadow-2: 0 2px 6px rgba(33, 28, 51, .08), 0 18px 40px rgba(33, 28, 51, .12);
  --head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
}

/* ------------------------------------------------------------ base */
html, body { background: var(--bg); }
body {
  font-family: var(--body);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); letter-spacing: -.01em; margin: 0 0 .4em; line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 .8em; }
a { color: var(--tomato-d); }
a:hover { color: var(--tomato); }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 16px; } .mt-lg { margin-top: 32px; } .mb { margin-bottom: 16px; }
.ser { font-family: var(--head); }

/* Anvil scaffolding we don't want */
.anvil-container, .html-templated-panel { min-width: 0; }
.anvil-spacing-above-small, .anvil-spacing-above-medium, .anvil-spacing-above-large { margin-top: 0 !important; }
.anvil-spacing-below-small, .anvil-spacing-below-medium, .anvil-spacing-below-large { margin-bottom: 0 !important; }
#appGoesHere { min-height: 100vh; }

/* Loading spinner: the MonShop pin hops, its door swings open (source: spinner.svg). */
.anvil-spinner, #loadingSpinner {
  animation: none !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 80 80%22 width=%2280%22 height=%2280%22%3E%3Cellipse cx=%2240%22 cy=%2273%22 rx=%2211%22 ry=%222.6%22 fill=%22%23211C33%22 opacity=%22.18%22%3E%3Canimate attributeName=%22rx%22 values=%2211;6;11%22 keyTimes=%220;.5;1%22 dur=%221s%22 repeatCount=%22indefinite%22 calcMode=%22spline%22 keySplines=%22.4 0 .6 1;.4 0 .6 1%22/%3E%3Canimate attributeName=%22opacity%22 values=%22.2;.08;.2%22 keyTimes=%220;.5;1%22 dur=%221s%22 repeatCount=%22indefinite%22/%3E%3C/ellipse%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%228 7;8 -3;8 7%22 keyTimes=%220;.5;1%22 dur=%221s%22 repeatCount=%22indefinite%22 calcMode=%22spline%22 keySplines=%22.3 0 .6 1;.4 0 .7 1%22/%3E%3Cpath d=%22M32 62C30.7 62 10 42.4 10 27a22 22 0 0 1 44 0C54 42.4 33.3 62 32 62Z%22 fill=%22%23211C33%22/%3E%3Crect x=%2218.5%22 y=%2225%22 width=%2227%22 height=%2217%22 rx=%222.5%22 fill=%22%23FFF8EF%22/%3E%3Crect x=%2221.5%22 y=%2229.5%22 width=%225.5%22 height=%225.5%22 rx=%221.2%22 fill=%22%23FFC845%22/%3E%3Crect x=%2237%22 y=%2229.5%22 width=%225.5%22 height=%225.5%22 rx=%221.2%22 fill=%22%23FFC845%22/%3E%3Crect x=%2228.5%22 y=%2230%22 width=%227%22 height=%2212%22 rx=%221.6%22 fill=%22%230F7D73%22%3E%3Canimate attributeName=%22height%22 values=%2212;12;3;12;12%22 keyTimes=%220;.35;.5;.65;1%22 dur=%221s%22 repeatCount=%22indefinite%22/%3E%3C/rect%3E%3Ccircle cx=%2234%22 cy=%2236.4%22 r=%22.9%22 fill=%22%23FFF8EF%22/%3E%3Cpath d=%22M18 13.5H46L49 22.5H15Z%22 fill=%22%23EE5235%22/%3E%3Cpath d=%22M22.67 13.5H27.33L26.33 22.5H20.67Z%22 fill=%22%23FFF8EF%22/%3E%3Cpath d=%22M32.00 13.5H36.67L37.67 22.5H32.00Z%22 fill=%22%23FFF8EF%22/%3E%3Cpath d=%22M41.33 13.5H46.00L49.00 22.5H43.33Z%22 fill=%22%23FFF8EF%22/%3E%3Cpath d=%22M15.00 22.5a2.83 2.83 0 0 0 5.67 0Z%22 fill=%22%23EE5235%22/%3E%3Cpath d=%22M20.67 22.5a2.83 2.83 0 0 0 5.67 0Z%22 fill=%22%23FFF8EF%22/%3E%3Cpath d=%22M26.33 22.5a2.83 2.83 0 0 0 5.67 0Z%22 fill=%22%23EE5235%22/%3E%3Cpath d=%22M32.00 22.5a2.83 2.83 0 0 0 5.67 0Z%22 fill=%22%23FFF8EF%22/%3E%3Cpath d=%22M37.67 22.5a2.83 2.83 0 0 0 5.67 0Z%22 fill=%22%23EE5235%22/%3E%3Cpath d=%22M43.33 22.5a2.83 2.83 0 0 0 5.67 0Z%22 fill=%22%23FFF8EF%22/%3E%3C/g%3E%3C/svg%3E") center / 66px 66px no-repeat !important;
  border: 0 !important;
  border-radius: 26px !important;
  box-shadow: 0 2px 4px rgba(33, 28, 51, .06), 0 16px 40px rgba(33, 28, 51, .18) !important;
  color: transparent !important;
  height: 84px !important;
  width: 84px !important;
  left: calc(50% - 42px) !important;
  top: calc(50% - 42px) !important;
  margin: 0 !important;
  position: fixed !important;
  transform: none !important;
  z-index: 100000;
}
.anvil-spinner::before, .anvil-spinner::after, #loadingSpinner::before, #loadingSpinner::after { display: none !important; }
.anvil-spinner > *, #loadingSpinner > * { display: none !important; }

/* ------------------------------------------------------------ header */
.ms-shell { min-height: 100vh; display: flex; flex-direction: column; }
.ms-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 248, 239, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ms-header-inner { max-width: 1280px; margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 18px; padding: 0 20px; }
.ms-logo { display: flex; align-items: center; gap: 8px; text-decoration: none !important; color: var(--ink) !important; flex-shrink: 0; }
.ms-logo img { width: 34px; height: 34px; display: block; }
.ms-logo .word { font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -.02em; }
.ms-logo .word b { color: var(--tomato); font-weight: 800; }
.ms-nav { display: flex; gap: 4px; align-items: center; flex: 1 1 auto; }
.ms-nav a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.ms-nav a .ico { font-size: 17px; }
.ms-nav a:hover { background: var(--bg-2); color: var(--ink); }
.ms-nav a.active { background: var(--ink); color: #fff; }
.ms-nav .sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 6px; }
.ms-nav a.sell { color: var(--teal-d); background: var(--teal-l); }
.ms-nav a.sell:hover { background: #cdeee8; }
.ms-nav a.sell.active { background: var(--teal); color: #fff; }
.ms-nav a.admin { color: var(--plum); }
.ms-nav a.admin.active { background: var(--plum); color: #fff; }
.ms-header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.landing-mode .ms-nav { visibility: hidden; }

.ms-me { position: relative; }
.ms-me-btn { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.ms-avatar {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--tomato); color: #fff; font-weight: 800; font-size: 15px; border: 2px solid #fff; box-shadow: var(--shadow-1);
}
.ms-menu {
  position: absolute; right: 0; top: 48px; min-width: 240px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-2);
  padding: 8px; display: none; border: 1px solid var(--line);
}
.ms-me.open .ms-menu { display: block; }
.ms-menu .head { padding: 8px 12px 4px; display: flex; flex-direction: column; }
.ms-menu a, .ms-menu button {
  display: flex; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--ink); text-decoration: none; font: inherit; font-size: 15px; cursor: pointer;
}
.ms-menu a:hover, .ms-menu button:hover { background: var(--bg); }
.ms-menu hr { margin: 6px 0; }

.ms-main { flex: 1 1 auto; }
.ms-page { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.ms-page.narrow { max-width: 760px; }
.ms-page.full { max-width: none; padding: 0; }
.ms-footer { border-top: 1px solid var(--line); padding: 26px 20px 30px; text-align: center; color: var(--ink-3); font-size: 14px; }
.ms-footer a { color: var(--ink-2); }

@media (max-width: 860px) {
  /* backdrop-filter would trap the fixed bottom tab bar inside the header */
  .ms-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .ms-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line); justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    gap: 0; box-shadow: 0 -6px 20px rgba(33, 28, 51, .06);
  }
  .ms-nav a { flex-direction: column; gap: 1px; font-size: 11.5px; padding: 5px 8px; border-radius: 12px; }
  .ms-nav a .ico { font-size: 21px; }
  .ms-nav .sep, .ms-nav a.admin { display: none; }
  .landing-mode .ms-nav { display: none; }
  .ms-shell:not(.landing-mode) .ms-main { padding-bottom: 78px; }
  .ms-header-inner { padding: 0 14px; }
  .ms-page { padding: 18px 14px 40px; }
}

/* ------------------------------------------------------------ buttons & inputs */
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; text-decoration: none !important;
  font: 700 15.5px/1.2 var(--body); background: var(--tomato); color: #fff !important;
  box-shadow: 0 2px 0 var(--tomato-d); transition: transform .08s ease, box-shadow .08s ease, background .15s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.ms-btn:hover { background: #F2654A; }
.ms-btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--tomato-d); }
.ms-btn.teal { background: var(--teal); box-shadow: 0 2px 0 var(--teal-d); }
.ms-btn.teal:hover { background: #13897E; }
.ms-btn.ink { background: var(--ink); box-shadow: 0 2px 0 #000; }
.ms-btn.plum { background: var(--plum); box-shadow: 0 2px 0 #3E2E86; }
.ms-btn.sun { background: var(--sun); color: var(--ink) !important; box-shadow: 0 2px 0 var(--sun-d); }
.ms-btn.ghost { background: #fff; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ms-btn.ghost:hover { background: var(--bg); }
.ms-btn.ghost.teal-t { color: var(--teal-d) !important; }
.ms-btn.ghost.bad { color: var(--bad) !important; }
.ms-btn.ok { background: var(--ok); box-shadow: 0 2px 0 #157548; }
.ms-btn.sm { padding: 7px 13px; font-size: 14px; }
.ms-btn.lg { padding: 15px 26px; font-size: 17px; }
.ms-btn.xl { padding: 18px 30px; font-size: 19px; }
.ms-btn.block { display: flex; width: 100%; }
.ms-btn[disabled], .ms-btn.busy { opacity: .55; pointer-events: none; }
.ms-link { border: 0; background: none; padding: 0; color: var(--tomato-d); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ms-link.teal-t { color: var(--teal-d); }
.ms-icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-1); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}

.ms-field { display: block; margin-bottom: 14px; }
.ms-field > .lbl { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.ms-field > .hint { display: block; font-size: 13px; color: var(--ink-3); margin-top: 5px; }
.ms-input, .ms-textarea, .ms-select {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff;
  padding: 11px 13px; font: 500 16px/1.35 var(--body); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.ms-input:focus, .ms-textarea:focus, .ms-select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(33, 28, 51, .08); }
.ms-textarea { min-height: 96px; resize: vertical; }
.ms-input.big { font-size: 20px; padding: 14px 16px; font-weight: 700; }
.ms-money { position: relative; }
.ms-money .cur { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink-2); font-size: 20px; }
.ms-money .ms-input { padding-left: 38px; }
.ms-error { background: #FDE8E5; color: var(--bad); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 14.5px; margin-bottom: 12px; }

.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: #fff; color: var(--ink); font: 600 14px/1.2 var(--body); cursor: pointer; white-space: nowrap; user-select: none;
}
.ms-chip:hover { border-color: var(--ink-3); }
.ms-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ms-chip.on.t { background: var(--teal); border-color: var(--teal); }
.ms-chip.on.s { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.ms-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ms-chips.scroll::-webkit-scrollbar { display: none; }

.ms-switch { position: relative; width: 54px; height: 32px; flex-shrink: 0; cursor: pointer; display: inline-block; }
.ms-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.ms-switch .tr { position: absolute; inset: 0; border-radius: 999px; background: #D9D2C6; transition: background .2s; }
.ms-switch .tr::after { content: ''; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.ms-switch input:checked + .tr { background: var(--ok); }
.ms-switch input:checked + .tr::after { transform: translateX(22px); }

.ms-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 22px; border: 1px solid rgba(240, 230, 215, .7); }
.ms-card.flat { box-shadow: none; border: 1.5px solid var(--line); }
.ms-card.tight { padding: 14px; }
.ms-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.ms-pill.tomato { background: var(--tomato-l); color: var(--tomato-d); }
.ms-pill.teal { background: var(--teal-l); color: var(--teal-d); }
.ms-pill.sun { background: var(--sun-l); color: #8A5D00; }
.ms-pill.plum { background: var(--plum-l); color: var(--plum); }
.ms-pill.ok { background: #DDF5E8; color: #13784A; }
.ms-pill.bad { background: #FDE3E0; color: var(--bad); }
.ms-pill.ink { background: var(--ink); color: #fff; }

.ms-empty { text-align: center; padding: 44px 20px; color: var(--ink-2); }
.ms-empty .big { font-size: 52px; display: block; margin-bottom: 8px; }
.ms-empty h3 { margin-bottom: 6px; }

.ms-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.ms-section-title h2, .ms-section-title h3 { margin: 0; }
.ms-kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 12.5px; color: var(--tomato-d); }
.ms-kicker.teal { color: var(--teal); }

/* ------------------------------------------------------------ toast */
.ms-toasts { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 200000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 30px); }
.ms-toast { background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 18px; font-weight: 600; box-shadow: var(--shadow-2); animation: ms-pop .25s ease; font-size: 15px; }
.ms-toast.bad { background: var(--bad); }
.ms-toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes ms-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ modals (Anvil alert) */
.modal-backdrop.in, .modal-backdrop.show { opacity: .45; background: var(--ink); }
.modal-content { border-radius: 24px !important; border: 0 !important; box-shadow: var(--shadow-2) !important; overflow: hidden; }
.modal-header { border-bottom: 0 !important; padding: 18px 22px 0 !important; }
.modal-title { font-family: var(--head); font-weight: 700; font-size: 22px; }
.modal-body { padding: 22px !important; }
.modal-footer { border-top: 0 !important; padding: 0 22px 18px !important; }
.modal-footer:empty { display: none; }
.modal-footer .btn { border-radius: 999px; font-weight: 700; padding: 9px 18px; }
.modal-footer .btn-primary, .modal-footer .btn-default { background: var(--ink); color: #fff; border: 0; }
.ms-modal-title { font-family: var(--head); font-size: 25px; font-weight: 800; margin: 0 0 4px; }
.ms-modal-sub { color: var(--ink-2); margin-bottom: 18px; }
.ms-x { position: absolute; right: 14px; top: 14px; z-index: 5; }
@media (max-width: 600px) {
  .modal-dialog { margin: 10px !important; }
  .modal-body { padding: 18px !important; }
}

/* ------------------------------------------------------------ map & pins */
.ms-map { width: 100%; border-radius: var(--radius); overflow: hidden; background: #E9E3D8; z-index: 1; }
.ms-map.square { border-radius: 0; }
/* OpenStreetMap tiles are busy and cold; calm them down to sit on MonShop's cream. */
.ms-map .leaflet-tile-pane { filter: saturate(.72) sepia(.14) brightness(1.03) contrast(.96); }
.ms-pin-wrap { background: none !important; border: 0 !important; }
.ms-pin {
  position: relative; box-sizing: border-box; width: 40px; height: 40px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg);
  background: var(--tomato); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(33, 28, 51, .3);
  display: flex; align-items: center; justify-content: center; transition: transform .15s;
}
.ms-pin > span.e { transform: rotate(45deg); font-size: 19px; line-height: 1; }
.ms-pin.restaurant { background: var(--teal); }
.ms-pin.dim { opacity: .3; filter: grayscale(.6); }
.ms-pin.hot { transform: rotate(-45deg) scale(1.22); z-index: 5; }
.ms-pin .badge {
  position: absolute; transform: rotate(45deg); top: -9px; right: -11px; background: var(--sun); color: var(--ink); border: 2px solid #fff;
  border-radius: 999px; font-size: 10px; font-weight: 900; padding: 1px 5px; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.ms-pin .badge.saved { background: var(--ink); color: #fff; top: auto; bottom: -10px; right: -12px; }
.ms-pin.pending { background: var(--ink-3); }
.ms-me-dot { width: 18px; height: 18px; border-radius: 50%; background: #2F7BF6; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47, 123, 246, .25); }
.leaflet-popup-content-wrapper { border-radius: 18px !important; box-shadow: var(--shadow-2) !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 260px !important; font-family: var(--body); }
.leaflet-container { font-family: var(--body) !important; }
.leaflet-control-zoom a { border-radius: 10px !important; }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow-1) !important; border-radius: 12px !important; overflow: hidden; }
.ms-popup .ph { height: 108px; display: grid; grid-template-columns: 2fr 1fr; gap: 2px; background: var(--bg-2); }
.ms-popup .ph .t { background-size: cover; background-position: center; position: relative; }
.ms-popup .ph.one { grid-template-columns: 1fr; }
.ms-popup .bd { padding: 12px 14px 14px; }
.ms-popup h4 { font-size: 17px; margin: 0 0 2px; }
.ms-popup .special { background: var(--sun-l); border-radius: 10px; padding: 6px 9px; font-size: 13px; font-weight: 600; margin: 8px 0; }

/* ------------------------------------------------------------ item tiles (photo or emoji) */
.ms-tile { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); aspect-ratio: 1 / 1; cursor: pointer; }
.ms-tile .img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .35s ease; }
.ms-tile:hover .img { transform: scale(1.04); }
.ms-tile .emo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.ms-tile .so { position: absolute; inset: 0; background: rgba(33, 28, 51, .55); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.ms-price {
  position: absolute; left: 10px; bottom: 10px; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 15px;
  padding: 5px 10px 5px 14px; border-radius: 4px 10px 10px 4px; box-shadow: 0 2px 8px rgba(0,0,0,.18); transform: rotate(-3deg);
}
.ms-price::before { content: ''; position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.ms-price .u { font-weight: 700; font-size: 12px; opacity: .75; margin-left: 2px; }
.ms-star { position: absolute; right: 10px; top: 10px; background: var(--ink); color: var(--sun); border-radius: 999px; font-size: 12px; font-weight: 800; padding: 4px 9px; }
.ms-pinned { position: absolute; left: 10px; top: 10px; background: #fff; border-radius: 999px; font-size: 12px; padding: 3px 8px; font-weight: 800; box-shadow: var(--shadow-1); }
.ms-cap { padding: 8px 4px 0; }
.ms-cap .t { font-weight: 700; font-size: 15px; line-height: 1.25; }
.ms-cap .s { color: var(--ink-3); font-size: 13px; }

.g1 { background: linear-gradient(135deg, #FFE1D6, #FFC4B0); }
.g2 { background: linear-gradient(135deg, #D7F2EC, #A9DFD5); }
.g3 { background: linear-gradient(135deg, #FFF0C2, #FFD979); }
.g4 { background: linear-gradient(135deg, #E9E2FB, #CBBDF4); }
.g5 { background: linear-gradient(135deg, #DCEEFF, #B5D7FA); }
.g6 { background: linear-gradient(135deg, #FDE2EC, #F7B9CF); }
.g7 { background: linear-gradient(135deg, #E7F3D7, #C5E3A1); }
.g8 { background: linear-gradient(135deg, #F3E7DA, #E1C9AE); }

/* ------------------------------------------------------------ map page */
.mp { display: grid; grid-template-columns: 410px 1fr; height: calc(100vh - var(--header-h)); }
.mp-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--bg); }
.mp-top { padding: 16px 16px 10px; border-bottom: 1px solid var(--line); }
.mp-search { position: relative; }
.mp-search input {
  width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--line-2);
  padding: 14px 44px 14px 46px; font: 600 16.5px var(--body); color: var(--ink); outline: none;
}
.mp-search input:focus { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--ink); }
.mp-search .lens { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.mp-search .clr { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: var(--bg-2); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-weight: 800; color: var(--ink-2); }
.mp-hint { font-size: 12.5px; color: var(--ink-3); margin: 8px 2px 10px; }
.mp-hint code { background: var(--bg-2); padding: 1px 6px; border-radius: 6px; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.mp-count { padding: 10px 18px 0; font-size: 13.5px; color: var(--ink-2); font-weight: 600; display: flex; justify-content: space-between; }
.mp-list { overflow-y: auto; padding: 8px 12px 30px; flex: 1 1 auto; }
.mp-card { display: flex; gap: 12px; padding: 12px; border-radius: 18px; cursor: pointer; transition: background .15s; position: relative; }
.mp-card:hover, .mp-card.hot { background: #fff; box-shadow: var(--shadow-1); }
.mp-card .pic { width: 86px; height: 86px; border-radius: 14px; flex-shrink: 0; position: relative; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font-size: 38px; }
.mp-card .pic .n { position: absolute; right: 5px; bottom: 5px; background: rgba(33,28,51,.75); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 7px; }
.mp-card h4 { font-size: 17px; margin: 0 0 1px; }
.mp-card .meta { font-size: 13px; color: var(--ink-2); }
.mp-card .special { margin-top: 6px; font-size: 13px; background: var(--sun-l); border-radius: 10px; padding: 4px 8px; font-weight: 600; display: inline-block; }
.mp-card .hits { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.mp-card .hit { font-size: 13px; color: var(--ink); }
.mp-card .hit mark { background: #FFE58A; border-radius: 3px; padding: 0 1px; color: inherit; }
.mp-card .hit .p { font-weight: 800; color: var(--tomato-d); }
.mp-card .save5 { position: absolute; top: 10px; right: 10px; }
.mp-mapwrap { position: relative; min-height: 0; }
.mp-mapwrap .ms-map { height: calc(100vh - var(--header-h)) !important; border-radius: 0; }
.mp-float { position: absolute; z-index: 500; display: flex; gap: 8px; }
.mp-float.tc { top: 14px; left: 50%; transform: translateX(-50%); }
.mp-float.br { bottom: 22px; right: 14px; flex-direction: column; }
.mp-tabs { display: flex; gap: 6px; padding: 0 16px; margin-top: 2px; }
@media (max-width: 860px) {
  .mp { grid-template-columns: 1fr; grid-template-rows: 46vh auto; height: auto; }
  .mp-mapwrap { order: -1; height: 46vh; }
  .mp-mapwrap .ms-map { height: 46vh !important; }
  .mp-side { border-right: 0; }
  .mp-list { overflow: visible; }
  .mp-top { position: sticky; top: var(--header-h); z-index: 600; background: var(--bg); }
}

/* ------------------------------------------------------------ fresh feed */
.fr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.fr-grid { columns: 4 240px; column-gap: 16px; }
.fr-card { break-inside: avoid; margin-bottom: 16px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-1); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.fr-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.fr-card .ms-tile { border-radius: 0; }
.fr-card .ms-tile.tall { aspect-ratio: 4 / 5; }
.fr-card .bd { padding: 11px 14px 13px; }
.fr-card .t { font-weight: 700; font-size: 15.5px; }
.fr-card .shop { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-top: 3px; }

/* ------------------------------------------------------------ shop page */
.sp-hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; box-shadow: var(--shadow-1); }
.sp-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sp-hero .bg.emo { display: flex; align-items: center; justify-content: flex-end; font-size: 170px; padding-right: 6%; }
.sp-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,28,51,0) 30%, rgba(33,28,51,.78)); }
.sp-hero .shade.light { background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.2) 70%); }
.sp-hero .in { position: relative; padding: 26px 28px; color: #fff; width: 100%; }
.sp-hero.no-photo .in { color: var(--ink); }
.sp-hero h1 { color: inherit; font-size: clamp(30px, 5vw, 50px); margin-bottom: 6px; }
.sp-hero .tag { font-size: 18px; opacity: .92; }
.sp-hero .ms-awn { position: absolute; left: 0; right: 0; top: 0; }
.sp-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: 22px; align-items: start; }
.sp-cta { display: flex; flex-direction: column; gap: 10px; }
.sp-five { display: flex; gap: 14px; align-items: center; }
.sp-five .badge { width: 62px; height: 62px; border-radius: 18px; background: var(--ink); color: var(--sun); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 24px; flex-shrink: 0; transform: rotate(-4deg); }
.sp-special { background: var(--sun-l); border: 2px dashed var(--sun-d); border-radius: 20px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.sp-special .s-ico { font-size: 34px; }
.sp-special .s-t { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; }
.sp-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 16px; }
.sp-info dl { margin: 0; }
.sp-info .r { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sp-info .r:last-child { border-bottom: 0; }
.sp-info .r .i { width: 22px; text-align: center; flex-shrink: 0; }
.sp-owner { background: var(--teal-l); color: var(--teal-d); border-radius: 18px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; font-weight: 600; }
@media (max-width: 900px) { .sp-grid { grid-template-columns: 1fr; } .sp-hero .bg.emo { font-size: 110px; } }

/* ------------------------------------------------------------ item viewer */
.iv { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin: -22px; }
.iv .ph { background: var(--bg-2); min-height: 340px; position: relative; }
.iv .ph img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 78vh; }
.iv .ph .emo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 120px; }
.iv .bd { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.iv .price-big { font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--tomato-d); }
@media (max-width: 700px) { .iv { grid-template-columns: 1fr; margin: -18px; } .iv .ph { min-height: 260px; } }

/* ------------------------------------------------------------ member pass */
.ms-pass {
  position: relative; border-radius: 28px; overflow: hidden; color: #fff; padding: 26px 24px 22px; margin: -22px;
  background: var(--ink); min-height: 440px; display: flex; flex-direction: column;
}
.ms-pass .stripes {
  position: absolute; inset: -40%; opacity: .2;
  background: repeating-linear-gradient(45deg, var(--tomato) 0 18px, transparent 18px 36px, var(--teal) 36px 54px, transparent 54px 72px);
  animation: ms-slide 6s linear infinite;
}
@keyframes ms-slide { from { transform: translateX(0); } to { transform: translateX(101.8px); } }
.ms-pass > * { position: relative; }
.ms-pass .top { display: flex; align-items: center; justify-content: space-between; }
.ms-pass .brand { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 20px; }
.ms-pass .brand img { width: 30px; height: 30px; background: #fff; border-radius: 9px; padding: 3px; }
.ms-pass .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.ms-pass .live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3BE08A; animation: ms-blink 1s infinite; }
@keyframes ms-blink { 50% { opacity: .2; } }
.ms-pass .five { font-family: var(--head); font-weight: 800; font-size: 88px; line-height: 1; color: var(--sun); margin: 26px 0 0; }
.ms-pass .off { font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.ms-pass .shop { font-family: var(--head); font-size: 26px; font-weight: 700; margin-top: 18px; }
.ms-pass .who { opacity: .8; }
.ms-pass .word { margin-top: auto; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.ms-pass .word .e { font-size: 40px; }
.ms-pass .word .w { font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing: .04em; }
.ms-pass .clock { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 15px; margin-top: 12px; text-align: center; opacity: .9; }

/* ------------------------------------------------------------ shopkeeper hub */
.sk-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sk-head h1 { font-size: clamp(28px, 4vw, 42px); margin: 0; }
.sk-snap {
  display: flex; align-items: center; gap: 20px; border-radius: 28px; padding: 26px 28px; cursor: pointer; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #17A094 0%, var(--teal) 45%, var(--teal-d) 100%); box-shadow: 0 3px 0 #08463F, var(--shadow-2);
  transition: transform .1s; position: relative; overflow: hidden; user-select: none;
}
.sk-snap:active { transform: translateY(3px); box-shadow: 0 0 0 #08463F, var(--shadow-1); }
.sk-snap input { display: none; }
.sk-snap .cam { width: 84px; height: 84px; border-radius: 26px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 46px; flex-shrink: 0; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.sk-snap .t { font-family: var(--head); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.05; }
.sk-snap .s { opacity: .85; margin-top: 4px; }
.sk-snap.pulse .cam { animation: ms-bounce 1.2s ease infinite; }
@keyframes ms-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px) rotate(-6deg); } }
.sk-gal { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sk-gal input { display: none; }
.sk-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.sk-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sk-stat { background: #fff; border-radius: 18px; padding: 14px 16px; border: 1.5px solid var(--line); }
.sk-stat .n { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; }
.sk-stat .l { color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.sk-word { background: var(--ink); color: #fff; border-radius: 22px; padding: 18px 20px; }
.sk-word .w { font-family: var(--head); font-weight: 800; font-size: 30px; color: var(--sun); }
.sk-meter { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.sk-meter > i { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.sk-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.sk-item .acts { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.sk-item .acts button { border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); border-radius: 10px; padding: 5px 8px; cursor: pointer; font-size: 14px; }
.sk-item .acts button:hover { background: var(--bg); }
.sk-item .acts button.on { background: var(--ink); color: #fff; box-shadow: none; }
.sk-status { border-radius: 20px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.sk-status.pending { background: var(--sun-l); }
.sk-status.rejected, .sk-status.suspended { background: #FDE8E5; }
.sk-status .i { font-size: 30px; }
.sk-council { background: var(--plum-l); border-radius: 22px; padding: 18px 20px; }
.sk-compose .prev { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; background-size: cover; background-position: center; background-color: var(--bg-2); margin-bottom: 14px; position: relative; }
.sk-compose .prev .busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.6); font-weight: 800; }
@media (max-width: 900px) { .sk-grid { grid-template-columns: 1fr; } .sk-snap { padding: 20px; gap: 16px; } .sk-snap .cam { width: 68px; height: 68px; font-size: 38px; } }

/* onboarding */
.ob-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.ob-steps i { flex: 1; height: 6px; border-radius: 999px; background: var(--line-2); }
.ob-steps i.on { background: var(--teal); }
.ob-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ob-kind { border: 2px solid var(--line-2); border-radius: 22px; padding: 22px 18px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.ob-kind .e { font-size: 44px; display: block; }
.ob-kind b { font-family: var(--head); font-size: 21px; display: block; margin-top: 6px; }
.ob-kind.on { border-color: var(--teal); background: var(--teal-l); box-shadow: 0 0 0 3px rgba(15,125,115,.15); }
.ob-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.ob-cat { border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; padding: 10px 10px; cursor: pointer; font: 600 14px var(--body); color: var(--ink); display: flex; align-items: center; gap: 8px; text-align: left; }
.ob-cat .e { font-size: 22px; }
.ob-cat.on { border-color: var(--teal); background: var(--teal-l); }
.ob-results { margin-top: 8px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; }
.ob-results button { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 10px 14px; text-align: left; font: 500 14.5px var(--body); cursor: pointer; color: var(--ink); }
.ob-results button:hover { background: var(--teal-l); }
.ob-results button:last-child { border-bottom: 0; }

/* ------------------------------------------------------------ council */
.cn-hero { background: var(--plum); color: #fff; border-radius: 28px; padding: 30px 30px; position: relative; overflow: hidden; }
.cn-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
.cn-hero p { opacity: .9; max-width: 640px; }
.cn-princ { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.cn-princ div { background: rgba(255,255,255,.12); border-radius: 16px; padding: 12px 14px; font-weight: 600; font-size: 14.5px; }
.cn-idea { display: flex; gap: 14px; padding: 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); margin-bottom: 10px; }
.cn-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; padding: 8px 6px; font: inherit; color: var(--ink); }
.cn-vote .a { font-size: 18px; }
.cn-vote .n { font-family: var(--head); font-weight: 800; font-size: 22px; }
.cn-vote.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.cn-vote[disabled] { cursor: default; opacity: .8; }
.cn-note { margin-top: 8px; background: var(--plum-l); border-radius: 12px; padding: 8px 12px; font-size: 14px; }

/* ------------------------------------------------------------ admin */
.ad-head { background: var(--ink); color: #fff; border-radius: 26px; padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ad-head h1 { color: #fff; font-size: clamp(26px, 3.8vw, 38px); margin: 0; }
.ad-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.ad-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ad-toggle { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); }
.ad-toggle .e { font-size: 34px; }
.ad-toggle.on { border-color: var(--ok); background: #F0FBF5; }
.ad-tabs { display: flex; gap: 6px; margin: 24px 0 16px; flex-wrap: wrap; }
.ad-q { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); margin-bottom: 12px; }
.ad-q .pic { width: 120px; height: 120px; border-radius: 16px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.ad-q .acts { display: flex; flex-direction: column; gap: 8px; }
.ad-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); font-size: 14.5px; }
.ad-table th { text-align: left; background: var(--bg-2); padding: 10px 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.ad-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
@media (max-width: 760px) {
  .ad-toggles { grid-template-columns: 1fr; }
  .ad-q { grid-template-columns: 80px 1fr; }
  .ad-q .pic { width: 80px; height: 80px; font-size: 34px; }
  .ad-q .acts { grid-column: 1 / -1; flex-direction: row; }
  .ad-table .hide-m { display: none; }
}

/* ------------------------------------------------------------ auth */
.ms-auth .head { text-align: center; margin-bottom: 14px; }
.ms-auth .head img { width: 58px; height: 58px; }
.ms-auth .switch { text-align: center; margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.ms-auth.keeper .ms-btn { background: var(--teal); box-shadow: 0 2px 0 var(--teal-d); }

/* ------------------------------------------------------------ landing */
.lp { overflow: hidden; }
.lp-hero { max-width: 1240px; margin: 0 auto; padding: 48px 20px 30px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.lp-hero h1 { margin-bottom: 18px; }
.lp-hero h1 em { font-style: italic; color: var(--tomato); }
.lp-hero .lede { font-size: 19.5px; color: var(--ink-2); max-width: 560px; }
.lp-street { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(33,28,51,.12)); }
.lp-doors { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.lp-door { border-radius: 30px; padding: 30px 30px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; }
.lp-door .who { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.lp-door h2 { margin: 10px 0 10px; font-size: clamp(28px, 3.4vw, 40px); }
.lp-door ul { list-style: none; padding: 0; margin: 4px 0 22px; }
.lp-door li { padding: 5px 0 5px 30px; position: relative; font-size: 16.5px; }
.lp-door li::before { content: '✓'; position: absolute; left: 0; top: 5px; width: 21px; height: 21px; border-radius: 50%; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.lp-door .acts { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.lp-door.shop { background: var(--tomato); color: #fff; box-shadow: 0 4px 0 var(--tomato-d), var(--shadow-2); }
.lp-door.shop h2 { color: #fff; }
.lp-door.shop li::before { background: #fff; color: var(--tomato); }
.lp-door.shop .ms-btn { background: #fff; color: var(--tomato-d) !important; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.lp-door.shop .ms-btn.ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.lp-door.keep { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000, var(--shadow-2); }
.lp-door.keep h2 { color: #fff; }
.lp-door.keep .who { color: #6EE0D2; }
.lp-door.keep li::before { background: var(--teal); color: #fff; }
.lp-door.keep .ms-btn.ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.lp-door .deco { position: absolute; right: -20px; top: -20px; font-size: 150px; opacity: .13; transform: rotate(12deg); pointer-events: none; }
.lp-strip { margin: 46px 0 0; background: var(--ink); color: #fff; padding: 16px 0; overflow: hidden; white-space: nowrap; }
.lp-strip .run { display: inline-flex; gap: 40px; animation: lp-run 38s linear infinite; font-family: var(--head); font-size: 22px; font-weight: 700; padding-left: 40px; }
.lp-strip .run span::after { content: '✦'; color: var(--sun); margin-left: 40px; }
@keyframes lp-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lp-sec { max-width: 1180px; margin: 0 auto; padding: 70px 20px 10px; }
.lp-sec .intro { max-width: 680px; margin-bottom: 30px; }
.lp-sec .intro p { font-size: 18px; color: var(--ink-2); }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-step { background: #fff; border-radius: 26px; padding: 24px; box-shadow: var(--shadow-1); position: relative; }
.lp-step .n { position: absolute; right: 20px; top: 16px; font-family: var(--head); font-weight: 800; font-size: 46px; color: var(--line-2); }
.lp-step .e { font-size: 40px; display: block; margin-bottom: 8px; }
.lp-step code { background: var(--bg-2); padding: 1px 7px; border-radius: 6px; font-size: 14px; }
.lp-keep { background: var(--teal-d); color: #fff; margin-top: 70px; padding: 70px 0 70px; position: relative; }
.lp-keep .lp-sec { padding-top: 0; }
.lp-keep h2 { color: #fff; }
.lp-keep .intro p { color: rgba(255,255,255,.85); }
.lp-keep .ms-kicker { color: #9BEDE2; }
.lp-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-feat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 20px; }
.lp-feat .e { font-size: 32px; }
.lp-feat h3 { color: #fff; font-size: 20px; margin: 8px 0 6px; }
.lp-feat p { color: rgba(255,255,255,.82); margin: 0; font-size: 15.5px; }
.lp-phone { background: #fff; color: var(--ink); border-radius: 34px; padding: 16px; max-width: 300px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0,0,0,.3); border: 8px solid #10322E; }
.lp-phone .scr { border-radius: 20px; overflow: hidden; background: var(--bg); }
.lp-keep-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.lp-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-promise .col { border-radius: 26px; padding: 26px; }
.lp-promise .col.s { background: var(--tomato-l); }
.lp-promise .col.k { background: var(--teal-l); }
.lp-promise ul { padding-left: 0; list-style: none; margin: 10px 0 0; }
.lp-promise li { padding: 8px 0; border-bottom: 1px dashed rgba(33,28,51,.12); font-weight: 600; }
.lp-promise li:last-child { border-bottom: 0; }
.lp-five { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-radius: 28px; box-shadow: var(--shadow-1); overflow: hidden; }
.lp-five > div { padding: 26px; border-right: 1px solid var(--line); }
.lp-five > div:last-child { border-right: 0; }
.lp-five .big { font-family: var(--head); font-weight: 800; font-size: 44px; color: var(--tomato); line-height: 1; margin-bottom: 8px; }
.lp-final { max-width: 1180px; margin: 70px auto 0; padding: 0 20px 60px; }
.lp-final .box { background: var(--sun); border-radius: 32px; padding: 40px 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-final h2 { margin: 0; }
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 26px; gap: 10px; }
  .lp-hero .art { order: -1; max-width: 520px; }
  .lp-doors, .lp-steps, .lp-feats, .lp-promise, .lp-five, .lp-keep-grid { grid-template-columns: 1fr; }
  .lp-five > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-door { padding: 24px 22px; min-height: 0; }
}

/* ------------------------------------------------------------ confetti */
.ms-confetti { position: fixed; left: 50%; top: 45%; z-index: 300000; pointer-events: none; }
.ms-confetti span { position: absolute; font-size: 26px; animation: ms-burst 1.4s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes ms-burst { 0% { transform: translate(0,0) scale(.4); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); opacity: 0; } }
