/* Theme tokens: defaults are the For Him dark green; theme.js overwrites these inline on <body> (see LeopardTheme.derive). */
:root {
  --bg: #0F3D2E; --surf: #195240; --surf2: #236450; --txt: #F2F8F4; --txt2: #C3DDCF;
  --acc: #8FD9B3; --acc-ink: #0B0B0B; --acc-text: #8FD9B3; --acc-hover: #A8E3C5; --acc-soft: rgba(143,217,179,.18);
  --line: rgba(242,248,244,.14); --tabbg: rgba(15,61,46,.94); --frame: #07241b;
  --navy: #060b18;
  --navy-2: #081023;
  --navy-3: #111d38;
  --blue: #8aa4d4;
  --blue-2: #c5d4ee;
  --blush: #f3c8d3;
  --pink-screen: #fef4f6;
  --pink-deep: #c45b7a;
  --pink-ink: #3d1f2c;
  --pink-mute: #7a4a58;
  --word-white: #f0f5ff;
  --serif: "Cormorant Garamond", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--word-white);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 16px 32px;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 18px 12px at 12% 18%, rgba(255,255,255,.045) 0 42%, transparent 44%),
    radial-gradient(ellipse 14px 10px at 22% 42%, rgba(255,255,255,.03) 0 40%, transparent 43%),
    radial-gradient(ellipse 16px 11px at 8% 70%, rgba(255,255,255,.035) 0 40%, transparent 43%),
    linear-gradient(155deg, #060b1b 0 46%, #efc5d0 46% 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 18px 12px at 78% 22%, rgba(180,80,110,.12) 0 42%, transparent 44%),
    radial-gradient(ellipse 14px 10px at 88% 48%, rgba(180,80,110,.1) 0 40%, transparent 43%),
    radial-gradient(ellipse 16px 11px at 70% 78%, rgba(180,80,110,.1) 0 40%, transparent 43%);
}
.stage-brand, .phone-wrap, .stage-note { position: relative; z-index: 1; }
.stage-brand { text-align: center; display: none; }
@media (min-height: 980px) and (min-width: 520px) {
  .stage-brand { display: block; }
}
.stage-kicker {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: #e9bbca; margin-bottom: 4px;
}
.stage-word {
  font-family: var(--serif); font-weight: 500; font-size: 42px;
  letter-spacing: .16em; line-height: 1; color: var(--word-white);
}
.stage-word .d, .wordmark .d {
  background: linear-gradient(90deg, #f0f5ff 0%, #f4dde4 35%, #e9bbca 70%, #dca7ba 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stage-tag {
  font-family: var(--serif); font-style: italic;
  color: rgba(240,245,255,.78); margin-top: 6px; font-size: 16px;
}
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  width: 390px; height: 844px; max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 120px); aspect-ratio: 390 / 844;
  height: auto; min-height: 640px; background: var(--frame);
  border-radius: 52px; padding: 11px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: background .4s ease, box-shadow .4s ease; position: relative;
}
body[data-theme="her"] .phone {
  background: var(--frame);
  box-shadow: 0 40px 80px rgba(80,30,50,.28), 0 0 0 1px rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.55);
}
body[data-theme="both"] .phone { background: linear-gradient(180deg, #0a0a0c 0 50%, #e8d0d6 50%); }
.phone-screen {
  height: 100%; border-radius: 42px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  background: var(--bg); color: var(--txt);
  transition: background .35s ease, color .35s ease;
}
body[data-theme="her"] .phone-screen { background: var(--bg); color: var(--txt); }
body[data-theme="both"] .phone-screen { background: var(--bg); color: var(--word-white); }
.status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px 0; height: 44px; flex-shrink: 0;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; position: relative; z-index: 3;
}
.island {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 108px; height: 28px; background: #000; border-radius: 20px; z-index: 4;
}
body[data-theme="her"] .island {
  width: 12px; height: 12px; top: 14px; border-radius: 50%;
  background: #1a1014; box-shadow: 0 0 0 2px rgba(0,0,0,.15);
}
.status-right { display: flex; gap: 6px; align-items: center; }
.app { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; }
.scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; padding: 8px 20px 16px;
}
.scroll::-webkit-scrollbar { width: 0; }
.tabs {
  flex-shrink: 0; display: none; grid-template-columns: repeat(5, 1fr);
  padding: 8px 10px 16px; border-top: 1px solid rgba(255,255,255,.08);
  background: var(--tabbg); backdrop-filter: blur(12px);
}
body.is-main .tabs { display: grid; }
body[data-theme="her"] .tabs { background: var(--tabbg); border-top-color: var(--line); }
body[data-theme="both"] .tabs { background: var(--tabbg); }
.tab {
  appearance: none; border: 0; background: none; color: inherit;
  font: inherit; font-size: 10px; font-weight: 500; letter-spacing: .04em;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: .45; cursor: pointer; padding: 4px 0;
}
.tab svg { width: 22px; height: 22px; }
.tab.is-on { opacity: 1; }
body[data-theme="him"] .tab.is-on { color: var(--acc-text); }
body[data-theme="her"] .tab.is-on { color: var(--acc-text); }
body[data-theme="both"] .tab.is-on { color: var(--acc-text); }
.screen { display: none; flex-direction: column; min-height: 100%; }
.screen.is-on { display: flex; }
.badge-sample {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); opacity: .8;
}
body[data-theme="her"] .badge-sample { border-color: var(--line); }
#screen-welcome {
  text-align: center; padding: 28px 22px 20px; justify-content: space-between;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,187,202,.16), transparent 55%);
}
.logo-wrap { margin: 28px auto 10px; width: 86px; height: 86px; }
.logo-wrap img, .logo-wrap svg { width: 100%; height: 100%; }
.kicker { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #e9bbca; margin-top: 6px; }
.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 52px;
  letter-spacing: .14em; line-height: 1; margin: 8px 0 6px; color: var(--word-white);
}
body[data-theme="her"] .wordmark { color: var(--txt); }
.tagline { font-family: var(--serif); font-style: italic; font-size: 17px; opacity: .82; margin-bottom: 8px; }
.coming { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin: 10px 0 18px; }
.welcome-copy { font-size: 13px; opacity: .7; margin-bottom: 16px; line-height: 1.45; }
.choice { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.choice-btn {
  appearance: none; border: 0; cursor: pointer; border-radius: 20px;
  padding: 16px 18px; font: inherit; text-align: left; color: inherit;
  display: flex; flex-direction: column; gap: 2px;
  transition: transform .15s ease;
}
.choice-btn:hover { transform: translateY(-1px); }
.choice-btn:active { transform: scale(.99); }
.choice-btn .side { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.choice-btn .title { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.choice-him { background: linear-gradient(145deg, #1a5240, #0F3D2E); color: #f0f5ff; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.choice-her { background: linear-gradient(145deg, #f8d7e0, #f0c2cf); color: #3d1f2c; box-shadow: 0 8px 24px rgba(80,30,50,.12); }
.choice-both { background: linear-gradient(115deg, #0F3D2E 0 50%, #F8D7E3 50% 100%); color: #f0f5ff; }
.side-split { display: flex; justify-content: space-between; align-items: baseline; }
.her-bit { color: #3d1f2c; }
.greet { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; margin-top: 6px; }
.headline-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 4px 0 16px; }
.headline { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; flex-shrink: 0; margin-top: 6px;
}
body[data-theme="him"] .avatar, body[data-theme="both"] .avatar {
  background: var(--surf2); color: var(--txt2); border: 1px solid var(--line);
}
body[data-theme="her"] .avatar { background: var(--surf2); color: var(--txt); border: 1px solid var(--line); }
.search {
  display: flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 10px 14px; font-size: 13px; width: 100%; border: 0; font-family: inherit; margin-bottom: 14px;
}
body[data-theme="him"] .search, body[data-theme="both"] .search { background: var(--surf); color: var(--txt2); }
body[data-theme="her"] .search { background: var(--surf); color: var(--txt2); box-shadow: 0 1px 0 var(--line); }
.search::placeholder { color: inherit; opacity: .7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; margin-bottom: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 500;
  white-space: nowrap; background: transparent;
}
body[data-theme="him"] .chip, body[data-theme="both"] .chip { color: var(--txt2); background: var(--surf); }
body[data-theme="him"] .chip.is-on, body[data-theme="both"] .chip.is-on { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .chip { color: var(--txt); background: var(--surf); }
body[data-theme="her"] .chip.is-on { background: var(--acc); color: var(--acc-ink); }
.feature {
  appearance: none; border: 0; width: 100%; text-align: left; cursor: pointer;
  border-radius: 22px; padding: 18px 18px 16px; font: inherit; color: inherit;
  display: grid; grid-template-columns: 1fr 92px; gap: 8px;
  margin-bottom: 16px; min-height: 148px; position: relative; overflow: hidden;
}
body[data-theme="him"] .feature, body[data-theme="both"] .feature {
  background: linear-gradient(160deg, var(--surf2), var(--surf)); color: var(--txt);
}
body[data-theme="her"] .feature, body[data-theme="both"] .feature.her-feature {
  background: linear-gradient(160deg, var(--acc-soft), var(--surf2)); color: var(--txt);
}
.feature-kicker { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.feature-title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.1; margin-top: 4px; }
.feature-meta { font-size: 12px; opacity: .75; margin-top: 10px; }
.feature-art { grid-row: 1 / span 3; grid-column: 2; align-self: center; justify-self: end; }
.section-label { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 10px; font-size: 13px; }
.section-label .left { font-weight: 600; }
.section-label .right { opacity: .55; font-size: 12px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.slot {
  appearance: none; border: 0; cursor: pointer; border-radius: 14px;
  padding: 10px 4px; font: inherit; font-size: 12px; font-weight: 600; text-align: center;
}
body[data-theme="him"] .slot, body[data-theme="both"] .slot { background: var(--surf); color: var(--txt); }
body[data-theme="her"] .slot { background: var(--surf); color: var(--txt); }
.slot small { display: block; font-weight: 400; font-size: 9px; opacity: .65; margin-top: 2px; }
.slot.is-on { outline: 2px solid currentColor; }
body[data-theme="him"] .slot.is-mine, body[data-theme="both"] .slot.is-mine { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .slot.is-mine { background: var(--acc); color: var(--acc-ink); }
.slot:disabled { opacity: .35; cursor: not-allowed; }
.card-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.svc {
  appearance: none; border: 0; width: 100%; cursor: pointer; border-radius: 16px;
  padding: 12px 14px; font: inherit; color: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
}
body[data-theme="him"] .svc, body[data-theme="both"] .svc { background: var(--surf); }
body[data-theme="her"] .svc { background: var(--surf); }
.svc-name { font-weight: 500; font-size: 14px; }
.svc-sub { font-size: 11px; opacity: .6; margin-top: 2px; }
.svc-price { font-weight: 600; font-size: 13px; white-space: nowrap; }
.svc-price span { display: block; font-weight: 400; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.explore-btn {
  appearance: none; border: 0; cursor: pointer; background: #fff; color: inherit;
  border-radius: 16px; padding: 12px 6px 10px; font: inherit; font-size: 11px; font-weight: 500;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
body[data-theme="him"] .explore-btn, body[data-theme="both"] .explore-btn { background: var(--surf); color: var(--txt2); }
body[data-theme="her"] .explore-btn { background: var(--surf); color: var(--txt); }
.explore-btn svg { width: 22px; height: 22px; }
.topbar { display: flex; align-items: center; gap: 8px; padding: 4px 0 12px; min-height: 36px; }
.icon-btn {
  appearance: none; border: 0; background: none; color: inherit;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  cursor: pointer; font: inherit;
}
body[data-theme="him"] .icon-btn, body[data-theme="both"] .icon-btn { background: var(--surf); }
body[data-theme="her"] .icon-btn { background: var(--surf); }
.topbar h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; flex: 1; }
.studio-hero { text-align: center; padding: 8px 0 16px; }
.studio-hero .logo-wrap { width: 96px; height: 96px; margin: 0 auto 10px; }
.studio-hero h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.studio-hero p { font-size: 13px; opacity: .7; margin-top: 4px; }
.pills-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0; }
.mini-pill { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }
body[data-theme="her"] .mini-pill { background: var(--surf); }
.primary {
  appearance: none; border: 0; width: 100%; cursor: pointer; border-radius: 999px;
  padding: 14px 18px; font: inherit; font-weight: 600; font-size: 15px; margin-top: 8px;
}
body[data-theme="him"] .primary, body[data-theme="both"] .primary { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .primary { background: var(--acc); color: var(--acc-ink); }
.primary:disabled { opacity: .4; cursor: not-allowed; }
.ghost {
  appearance: none; border: 0; width: 100%; cursor: pointer; background: none;
  color: inherit; font: inherit; font-size: 13px; padding: 12px; opacity: .7;
}
.artist { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.artist .meta { flex: 1; }
.artist .meta strong { display: block; font-size: 14px; font-weight: 500; }
.artist .meta span { font-size: 11px; opacity: .6; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.piece {
  appearance: none; border: 0; cursor: pointer; font: inherit; color: inherit;
  text-align: left; border-radius: 18px; overflow: hidden; padding: 0;
}
body[data-theme="him"] .piece, body[data-theme="both"] .piece { background: var(--surf); }
body[data-theme="her"] .piece { background: var(--surf); }
.piece-art { height: 120px; display: grid; place-items: center; }
.piece-info { padding: 10px 12px 12px; }
.piece-info strong { display: block; font-size: 13px; font-weight: 500; }
.piece-info span { font-size: 11px; opacity: .65; }
.steps { display: flex; gap: 6px; margin-bottom: 16px; }
.step-dot { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); }
body[data-theme="her"] .step-dot { background: var(--line); }
.step-dot.is-on { background: currentColor; }
.dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 18px; }
.date-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; color: inherit;
  background: transparent; border-radius: 12px; padding: 8px 0; text-align: center;
}
.date-btn em { display: block; font-style: normal; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.date-btn strong { display: block; font-size: 15px; font-weight: 600; }
body[data-theme="him"] .date-btn.is-on, body[data-theme="both"] .date-btn.is-on { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .date-btn.is-on { background: var(--acc); color: var(--acc-ink); }
.summary { border-radius: 18px; padding: 16px; margin-bottom: 16px; font-size: 14px; }
body[data-theme="him"] .summary, body[data-theme="both"] .summary { background: var(--surf); }
body[data-theme="her"] .summary { background: var(--surf); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row span { opacity: .6; }
.sum-note { font-size: 11px; opacity: .65; margin-top: 8px; line-height: 1.45; }
.done { text-align: center; padding: 28px 8px 16px; }
.done h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 12px 0 8px; }
.done p { font-size: 14px; opacity: .75; line-height: 1.45; }
.profile-head { text-align: center; padding: 12px 0 18px; }
.profile-head h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.seg {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  padding: 4px; border-radius: 14px; margin: 8px 0 16px;
}
body[data-theme="him"] .seg, body[data-theme="both"] .seg { background: var(--surf); }
body[data-theme="her"] .seg { background: var(--surf); }
.seg button {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600;
  padding: 8px 4px; border-radius: 11px; background: transparent; color: inherit;
}
body[data-theme="him"] .seg button.is-on, body[data-theme="both"] .seg button.is-on { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .seg button.is-on { background: var(--acc); color: var(--acc-ink); }
.empty { font-size: 13px; opacity: .65; padding: 16px 0; line-height: 1.45; }
.lock-bar { text-align: center; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .45; padding: 6px 0 2px; }
.stage-note {
  max-width: 390px; text-align: center; font-size: 12px; line-height: 1.45;
  color: #3d1f2c; background: rgba(255,255,255,.72); padding: 8px 12px; border-radius: 12px;
}
@media (max-width: 540px) {
  body { padding: 8px 8px 16px; justify-content: flex-start; }
  .phone {
    max-height: calc(100dvh - 72px); min-height: 0; height: calc(100dvh - 72px);
    width: min(390px, 100%); aspect-ratio: auto;
  }
  .stage-note { max-width: 100%; }
}
  

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
.phone-screen, .svc, .chip, .feature, .tabs, .avatar, .primary, .slot, .choice-btn, .listing, .pay-card {
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise .32s ease; }
.hub-card {
  border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; font-size: 13px; line-height: 1.45;
}
body[data-theme="him"] .hub-card, body[data-theme="both"] .hub-card { background: var(--surf); }
body[data-theme="her"] .hub-card { background: var(--surf); }
.hub-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 10px 0 0; }
.hub-step { text-align: center; font-size: 11px; opacity: .85; }
.hub-step strong { display: block; font-size: 12px; margin-bottom: 2px; }
.note-line {
  font-size: 11px; line-height: 1.45; opacity: .7; margin: 8px 0 14px;
}
.listing {
  appearance: none; border: 0; width: 100%; cursor: pointer; border-radius: 16px;
  padding: 12px 14px; font: inherit; color: inherit; text-align: left; margin-bottom: 8px;
}
body[data-theme="him"] .listing, body[data-theme="both"] .listing { background: var(--surf); }
body[data-theme="her"] .listing { background: var(--surf); }
.listing-name { font-weight: 600; font-size: 14px; }
.listing-meta { font-size: 12px; opacity: .7; margin-top: 3px; }
.feat-tag {
  display: inline-block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; padding: 2px 7px; border-radius: 999px; margin-bottom: 6px;
}
body[data-theme="him"] .feat-tag, body[data-theme="both"] .feat-tag { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .feat-tag { background: var(--acc); color: var(--acc-ink); }
.ext-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.ext-btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; color: inherit;
}
body[data-theme="him"] .ext-btn, body[data-theme="both"] .ext-btn { background: var(--surf2); color: var(--txt2); }
body[data-theme="her"] .ext-btn { background: var(--surf); color: var(--txt); box-shadow: 0 0 0 1px var(--line); }
.ext-btn.wa { background: #1f8a4c !important; color: #fff !important; }
.ext-btn.wa-placeholder { opacity: .45; cursor: not-allowed; pointer-events: none; }
.pay-grid { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 16px; }
.pay-card {
  appearance: none; border: 2px solid transparent; width: 100%; cursor: pointer;
  border-radius: 16px; padding: 12px 14px; font: inherit; color: inherit; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
}
body[data-theme="him"] .pay-card, body[data-theme="both"] .pay-card { background: var(--surf); }
body[data-theme="her"] .pay-card { background: var(--surf); }
.pay-card.is-on { border-color: currentColor; }
.pay-card .brand { font-weight: 600; font-size: 14px; }
.pay-card .sub { font-size: 11px; opacity: .65; }
.pill-airtel { color: #e31c23; font-weight: 700; font-size: 11px; }
.pill-mtn { color: #ffcb05; font-weight: 700; font-size: 11px; background: #1a1a1a; padding: 2px 6px; border-radius: 4px; }
body[data-theme="her"] .pill-mtn { color: #8a6d00; background: #fff6c8; }
.pill-zamtel { color: #0b8a4e; font-weight: 700; font-size: 11px; }
.policy {
  border-radius: 14px; padding: 12px 14px; font-size: 12px; line-height: 1.45; margin: 12px 0; opacity: .9;
}
body[data-theme="him"] .policy, body[data-theme="both"] .policy { background: var(--surf); }
body[data-theme="her"] .policy { background: var(--surf); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; }
.cal-cell {
  min-height: 54px; border-radius: 10px; padding: 4px 2px; font-size: 10px; text-align: center;
}
body[data-theme="him"] .cal-cell, body[data-theme="both"] .cal-cell { background: var(--surf); }
body[data-theme="her"] .cal-cell { background: var(--surf); }
.cal-cell strong { display: block; font-size: 13px; }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin: 3px auto 0; }
.toggle-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-radius: 16px; padding: 12px 14px; margin-bottom: 14px;
}
body[data-theme="him"] .toggle-row, body[data-theme="both"] .toggle-row { background: var(--surf); }
body[data-theme="her"] .toggle-row { background: var(--surf); }
.switch {
  width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.2);
  position: relative; cursor: pointer; border: 0; appearance: none; flex-shrink: 0;
}
body[data-theme="her"] .switch { background: var(--line); }
.switch.is-on { background: #1f8a4c; }
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: left .2s ease;
}
.switch.is-on::after { left: 21px; }
.biz-banner {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: center;
  padding: 6px 0 2px; opacity: .7;
}
  

.flash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.flash-tile {
  appearance: none; border: 0; cursor: pointer; border-radius: 18px;
  min-height: 118px; padding: 14px 12px; text-align: left; font: inherit;
  position: relative; overflow: hidden;
}
body[data-theme="him"] .flash-tile, body[data-theme="both"] .flash-tile {
  background: linear-gradient(160deg, var(--surf2) 0%, var(--surf) 70%);
  color: var(--txt); border: 1px solid var(--line);
}
body[data-theme="her"] .flash-tile {
  background: linear-gradient(160deg, var(--surf) 0%, var(--surf2) 80%);
  color: var(--txt); border: 1px solid var(--line);
}
.flash-tile .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.flash-tile .t { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-top: 18px; }
.flash-tile::after {
  content: ""; position: absolute; right: -18px; top: -18px;
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .18;
}
.flash-tile:nth-child(2)::after { width: 50px; height: 110px; border-radius: 40px; right: 12px; top: 20px; }
.flash-tile:nth-child(3)::after { width: 14px; height: 14px; right: 22px; top: 28px; box-shadow: 0 22px 0 currentColor; }
.flash-tile:nth-child(4)::after { width: 36px; height: 36px; right: 16px; top: 36px; }

.listing-wrap { position: relative; margin-bottom: 8px; }
.listing-wrap .listing { margin-bottom: 0; padding-right: 48px; }
.heart {
  appearance: none; border: 0; cursor: pointer; position: absolute;
  right: 6px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: transparent;
  color: inherit; opacity: .5; display: grid; place-items: center; padding: 0;
}
.heart.is-on { opacity: 1; color: #c45b7a; }
body[data-theme="him"] .heart.is-on, body[data-theme="both"] .heart.is-on { color: #f4a5b8; }
.heart svg { width: 20px; height: 20px; pointer-events: none; }
.heart-inline { position: relative; right: auto; top: auto; transform: none; }
.seg.quad { grid-template-columns: 1fr 1fr 1fr 1fr; }
.seg.quad button { font-size: 11px; padding: 8px 2px; }
.msg {
  border-radius: 16px; padding: 14px 16px; margin-bottom: 8px; text-align: left;
}
body[data-theme="him"] .msg, body[data-theme="both"] .msg { background: var(--surf); }
body[data-theme="her"] .msg { background: var(--surf); }
.book-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.book-actions a, .book-actions button {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 8px 12px; text-decoration: none; color: inherit;
}
body[data-theme="him"] .book-actions a, body[data-theme="him"] .book-actions button,
body[data-theme="both"] .book-actions a, body[data-theme="both"] .book-actions button { background: var(--surf2); color: var(--txt); }
body[data-theme="her"] .book-actions a, body[data-theme="her"] .book-actions button { background: var(--surf2); color: var(--txt); }
.status-pill { display: inline-block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-bottom: 4px; opacity: .8; }
.match-line { font-size: 12px; margin-top: 6px; opacity: .8; }

/* ===== Tester build additions ===== */
.test-banner {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; max-width: 100%; box-sizing: border-box; overflow: hidden;
  padding: 5px 12px; font-size: 11px; line-height: 1.2; z-index: 3;
  background: #f0b429; color: #2a1d00; font-weight: 600; letter-spacing: .02em;
}
.tb-text { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.tb-mode { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 2px 6px; border-radius: 999px; background: rgba(42,29,0,.14); white-space: nowrap; }
.tb-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; background: #2a1d00; color: #ffe9b0; white-space: nowrap;
}
.install-btn { margin-top: 4px; }
.install-btn[hidden] { display: none !important; }
.err {
  font-size: 12px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; margin: 0 0 12px;
  background: rgba(214,69,69,.16); color: inherit; border: 1px solid rgba(214,69,69,.45);
}
.ok-note { font-size: 12px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; margin: 0 0 12px; background: rgba(60,170,110,.16); border: 1px solid rgba(60,170,110,.4); }
.facts { border-radius: 16px; padding: 12px 14px; margin: 10px 0 12px; font-size: 13px; line-height: 1.5; }
body[data-theme="him"] .facts, body[data-theme="both"] .facts { background: var(--surf); }
body[data-theme="her"] .facts { background: var(--surf); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.facts div span:first-child { opacity: .6; }
.facts div span:last-child { text-align: right; }
.facts a { color: inherit; }
.pending-note { font-size: 11px; opacity: .8; margin-top: 6px; font-style: italic; }
.hold-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px;
  padding: 8px 12px; border-radius: 12px; margin-bottom: 12px; background: rgba(240,180,41,.18); border: 1px solid rgba(240,180,41,.5);
}
.hold-bar b { font-variant-numeric: tabular-nums; }
.field { display: block; margin-bottom: 12px; font-size: 12px; }
.field > span { display: block; opacity: .7; margin-bottom: 4px; }
.input {
  width: 100%; font: inherit; font-size: 14px; padding: 11px 14px; border-radius: 14px; border: 1px solid transparent; color: inherit;
}
textarea.input { min-height: 96px; resize: vertical; }
body[data-theme="him"] .input, body[data-theme="both"] .input { background: var(--surf); border-color: var(--line); }
body[data-theme="her"] .input { background: var(--surf); border-color: var(--line); }
.input:focus { outline: 2px solid currentColor; outline-offset: 1px; }
.row-inline { display: flex; gap: 8px; align-items: stretch; }
.row-inline .input { flex: 1; }
.row-inline .small-btn, .small-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; padding: 0 16px; border-radius: 14px;
}
body[data-theme="him"] .small-btn, body[data-theme="both"] .small-btn { background: var(--acc); color: var(--acc-ink); }
body[data-theme="her"] .small-btn { background: var(--acc); color: var(--acc-ink); }
.small-btn:disabled { opacity: .45; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; margin: 12px 0; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; }
.policy-card { border-radius: 16px; padding: 16px; margin-bottom: 10px; }
body[data-theme="him"] .policy-card, body[data-theme="both"] .policy-card { background: var(--surf); }
body[data-theme="her"] .policy-card { background: var(--surf); }
.policy-card strong { font-family: var(--serif); font-size: 20px; font-weight: 500; display: block; margin-bottom: 6px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(128,128,128,.3); border-top-color: currentColor; margin: 14px auto; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.push-card { text-align: center; padding: 18px 8px; }
.push-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 6px; }
.date-btn:disabled { opacity: .3; cursor: not-allowed; }
.date-btn.is-today em::after { content: " ·"; }
.date-btn small { display: block; font-size: 8px; opacity: .7; }
.voucher-chip { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(128,128,128,.2); margin: 2px 4px 2px 0; cursor: pointer; border: 0; color: inherit; font-family: inherit; }
.preview-box { font-size: 12px; line-height: 1.45; white-space: pre-wrap; border-radius: 12px; padding: 10px 12px; margin: 6px 0 12px; background: rgba(128,128,128,.14); }
.tool-card { border-radius: 16px; padding: 14px; margin: 8px 0 12px; }
body[data-theme="him"] .tool-card, body[data-theme="both"] .tool-card { background: var(--surf); }
body[data-theme="her"] .tool-card { background: var(--surf); }
#screen-report.is-on { display: flex; }

/* Real phones and the installed app: drop the fake phone frame and fake status bar. */
@media (max-width: 520px), (display-mode: standalone) {
  html, body { height: 100%; }
  body { padding: 0; gap: 0; display: block; background: var(--navy); }
  body::before, body::after, .stage-brand, .stage-note, .status { display: none !important; }
  .phone-wrap { display: block; width: 100%; height: 100dvh; }
  .phone, body[data-theme="her"] .phone, body[data-theme="both"] .phone {
    width: 100vw; max-width: none; height: 100dvh; max-height: none; min-height: 0; aspect-ratio: auto;
    border-radius: 0; padding: 0; box-shadow: none;
  }
  .phone-screen { border-radius: 0; padding-top: env(safe-area-inset-top); }
  .tabs { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .test-banner { padding-top: 5px; }
  .phone-screen { padding-top: 0; }
}

/* ===== App colour picker ===== */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.swatch { appearance: none; border: 0; background: var(--surf); color: var(--txt); border-radius: 12px; padding: 6px 10px 6px 6px; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 12px; cursor: pointer; min-height: 40px; box-shadow: 0 0 0 1px var(--line); }
.swatch i { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px var(--line); display: block; flex: none; }
.swatch.is-on { box-shadow: 0 0 0 2px var(--acc); }
.swatch-sm { padding: 5px; min-height: 38px; border-radius: 50%; }
.pk-preview { border-radius: 18px; padding: 12px; margin: 0 0 8px; background: var(--bg); color: var(--txt); box-shadow: 0 0 0 1px var(--line); }
.pk-ph { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--surf2); color: var(--txt); margin-bottom: 8px; }
.pk-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--acc); }
.pk-pc { background: var(--surf); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.pk-pt { font-weight: 600; font-size: 14px; } .pk-ps { font-size: 12px; color: var(--txt2); margin-top: 2px; }
.pk-pb { appearance: none; border: 0; border-radius: 999px; padding: 10px 18px; width: 100%; font: inherit; font-weight: 600; background: var(--acc); color: var(--acc-ink); }
.pk-contrast { font-size: 11px; opacity: .85; margin: 0 0 12px; line-height: 1.4; }
.pk-sv { position: relative; width: 100%; height: 220px; border-radius: 14px; touch-action: none; cursor: crosshair; margin-bottom: 14px; box-shadow: 0 0 0 1px var(--line); }
.pk-sv-w, .pk-sv-b { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.pk-sv-w { background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.pk-sv-b { background: linear-gradient(0deg, #000, rgba(0,0,0,0)); }
.pk-handle { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.4); transform: translate(-50%, -50%); pointer-events: none; }
.pk-bar { position: relative; height: 24px; border-radius: 999px; touch-action: none; margin: 4px 0 14px; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.pk-bar .pk-handle { top: 50%; }
.pk-hue { background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.pk-lbl { font-size: 12px; font-weight: 600; margin: 4px 0 2px; } .pk-lbl small { font-weight: 400; opacity: .7; }
.pk-sv:focus-visible, .pk-bar:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 3px; }
.pk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.pk-f { display: flex; flex-direction: column; gap: 3px; font-size: 11px; } .pk-f span { opacity: .75; }
.pk-f .input { padding: 10px 8px; font-size: 14px; min-height: 44px; width: 100%; }
.pk-hexf { grid-column: span 3; }
.input.is-bad { box-shadow: 0 0 0 2px #e5484d; }
button, [role=slider] { -webkit-tap-highlight-color: transparent; }

/* ===== v0.2: home cards, strip, shop, profile, filters, map, tips, inspiration ===== */
.ico { width: 18px; height: 18px; flex: none; vertical-align: -4px; }
.seg.two { grid-template-columns: 1fr 1fr; }
.seg.two button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; font-size: 13px; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
a.ghost { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
.xcard { position: relative; background: var(--surf); border-radius: 18px; padding: 14px 14px 12px; margin: 0 0 14px; }
.xhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 15px; }
.xcard .ghost { opacity: 1; background: var(--bg); border-radius: 14px; }
.xline { font-size: 13px; line-height: 1.45; margin: 8px 0; color: var(--txt2); }
.badge-sample { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px dashed currentColor; opacity: .8; }
.progress { height: 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: var(--acc); }
.voucher-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--acc-soft); color: var(--txt); border: 1px dashed var(--line); }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; }
.code-row code { font-size: 18px; letter-spacing: .12em; font-weight: 700; }
.small-btn { display: inline-flex; align-items: center; gap: 6px; }
.x-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(128,128,128,.22); color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; }
.x-close .ico { width: 16px; height: 16px; }
.perks .xhead { padding-right: 36px; }
.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 6px 0 4px; min-height: 64px; }
.strip-load { grid-column: 1 / -1; font-size: 12px; opacity: .7; margin: 8px 0; }
.strip-day { appearance: none; border: 1px solid var(--line); background: var(--bg); color: inherit; border-radius: 12px; padding: 6px 0 7px; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; min-height: 62px; }
.strip-day em { font-style: normal; font-size: 10px; opacity: .7; }
.strip-day strong { font-size: 15px; font-weight: 600; }
.strip-day.is-off { opacity: .45; cursor: default; }
.dots { display: flex; gap: 2px; height: 6px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--acc-text); }
.strip-actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; align-items: stretch; }
.strip-actions .primary { margin: 0; padding: 12px 6px; }
.strip-actions .ghost { padding: 12px 6px; opacity: 1; background: var(--bg); border-radius: 14px; }
.shop-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -2px 4px; }
.shop-tile { flex: 0 0 128px; scroll-snap-align: start; background: var(--surf); border-radius: 16px; padding: 10px; }
.shop-art { height: 74px; border-radius: 12px; background: var(--acc-soft); display: grid; place-items: center; margin-bottom: 8px; border: 1px dashed var(--line); }
.shop-art .ico { width: 28px; height: 28px; opacity: .7; }
.shop-kind { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.shop-title { font-size: 13px; font-weight: 600; line-height: 1.25; margin: 2px 0; }
.shop-price { font-size: 12px; opacity: .75; }
/* explore */
.tool-row { display: flex; gap: 8px; align-items: stretch; margin: 0 0 8px; }
.filter-btn { appearance: none; border: 1px solid var(--line); background: var(--surf); color: inherit; border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; min-height: 44px; }
.sort-sel { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--surf); border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; font-size: 12px; min-height: 44px; }
.sort-sel span { opacity: .7; white-space: nowrap; }
.sort-sel select { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 600; }
.sort-sel select option, .input option { color: #111; background: #fff; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin: 12px 0; }
.check-row input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--acc); }
.check-row small { opacity: .7; }
/* map */
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin: 4px 0 8px; }
.map-box { height: 330px; background: var(--surf); position: relative; z-index: 0; color: #111; }
.map-msg { padding: 120px 20px 0; text-align: center; font-size: 13px; color: var(--txt2); margin: 0; }
.lp-wrap { background: none; border: 0; }
.lp-pin { width: 34px; height: 34px; border-radius: 50%; background: #0F3D2E; color: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); display: grid; place-items: center; font: 700 13px/1 system-ui, sans-serif; box-sizing: border-box; }
.lp-pin.is-approx { background: #fff; color: #0F3D2E; border: 3px dashed #0F3D2E; }
.lp-pin.is-cluster { background: #1d5a45; }
.lp-pin.is-cluster.is-approx { background: #fff; }
.lp-pin.is-luna { background: #C9A227; color: #111; border-color: #111; font-size: 17px; width: 40px; height: 40px; margin: -3px 0 0 -3px; }
.pop-list { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.pop-list button { border: 0; background: #0F3D2E; color: #fff; border-radius: 8px; padding: 8px; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.town-block { margin-bottom: 10px; }
.town-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin: 6px 0; }
.town-row { appearance: none; width: 100%; border: 0; background: var(--surf); color: inherit; font: inherit; display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; margin-bottom: 6px; cursor: pointer; text-align: left; font-size: 14px; min-height: 44px; }
.town-row small { opacity: .7; }
/* profile */
.gal { position: relative; margin: -4px -4px 0; border-radius: 18px; overflow: hidden; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: center; height: 210px; display: grid; place-items: center; background: linear-gradient(150deg, var(--surf2), var(--surf)); }
.gal-slide.gs-1 { background: linear-gradient(200deg, var(--surf), var(--surf2)); }
.gal-slide.gs-2 { background: linear-gradient(110deg, var(--surf2), var(--acc-soft)); }
.gal-slide.gs-3 { background: linear-gradient(20deg, var(--acc-soft), var(--surf)); }
.gal-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; opacity: .75; }
.gal-ph .ico { width: 34px; height: 34px; }
.gal-ph em { font-style: normal; }
.gal-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.gal-back { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.55); color: #fff; }
.act-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 8px; margin: 10px 0 8px; }
.act { appearance: none; border: 1px solid var(--line); background: var(--surf); color: inherit; border-radius: 14px; padding: 9px 4px; font: inherit; font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; text-decoration: none; min-height: 56px; box-sizing: border-box; }
.act .ico { width: 20px; height: 20px; }
.act.is-on { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.rev-box { display: flex; justify-content: space-between; gap: 10px; background: var(--surf); border-radius: 14px; padding: 12px 14px; font-size: 13px; margin: 6px 0; }
.rev-box span { opacity: .75; }
.big-book { margin-top: 10px; padding-top: 16px; padding-bottom: 16px; font-size: 16px; }
.maps-link { text-decoration: underline; }
/* tips + inspo */
.test-note { background: var(--acc-soft); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; }
.tip-done { font-weight: 600; }
.insp-open { margin: 12px 0 4px; border: 1px dashed var(--line); border-radius: 14px; background: var(--surf); opacity: 1; display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 48px; }
.inspo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.inspo-th { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--surf); }
.inspo-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-btn { cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--line); border-radius: 14px; background: var(--surf); opacity: 1; min-height: 48px; margin-bottom: 4px; }
.file-btn.is-off { opacity: .45; cursor: default; }

.tb-btn { flex: none; }
@media (max-width: 359px) { .tb-long { display: none; } .tb-mode { font-size: 8px; padding: 2px 5px; } .test-banner { padding-left: 10px; padding-right: 10px; } }

/* multi-service picker (0.4) */
.svc-pick { padding: 0; flex-direction: column; align-items: stretch; gap: 0; cursor: default; }
.svc-pick .svc-main { appearance: none; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; width: 100%; min-height: 56px;
  padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; border-radius: 16px; }
.svc-pick.is-on { box-shadow: inset 0 0 0 2px var(--acc); }
.qty { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 12px 10px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; font: inherit; font-size: 20px; cursor: pointer; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty b { min-width: 24px; text-align: center; font-size: 16px; }
.cart-bar { position: sticky; bottom: 8px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px;
  padding: 12px 12px 12px 16px; border-radius: 18px; background: var(--surf2); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cart-bar .primary { width: auto; margin: 0; padding: 12px 18px; white-space: nowrap; }
.svc-main:focus-visible, .qty button:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* My spot (0.4) */
.spot-card { border-radius: 18px; padding: 14px; margin-bottom: 12px; background: var(--surf); }
.spot-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: baseline; margin-bottom: 10px; }
.spot-now { font-size: 12px; opacity: .8; }
.spot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.spot-actions .small-btn { min-height: 44px; padding: 10px 14px; }
.spot-actions .small-btn.is-on { background: var(--acc); color: var(--acc-ink); }
.spot-actions .ghosty { background: none; box-shadow: inset 0 0 0 1px currentColor; }
.spot-town { flex: 1 1 140px; min-height: 44px; width: auto; }
.map-wrap.is-picking .map-box { box-shadow: 0 0 0 3px var(--acc); cursor: crosshair; }
.lp-spot { width: 26px; height: 26px; border-radius: 50%; background: #c2416b; border: 4px solid #fff; box-shadow: 0 0 0 2px #c2416b, 0 4px 12px rgba(0,0,0,.4); }
.near-sub { opacity: .65; font-size: 11px; }
.town-row b { font-weight: 600; }

/* membership (0.4) */
.meter { height: 10px; border-radius: 6px; background: rgba(127,127,127,.25); overflow: hidden; margin: 6px 0 4px; }
.meter i { display: block; height: 100%; background: var(--acc); border-radius: 6px; }
.small-btn.danger { background: #b3261e; color: #fff; }
.seg.three { display: grid; grid-template-columns: repeat(3, 1fr); }
.member-card .row-inline { flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* 0.4.1: photos, home shortcuts, simple map */
@media (display-mode: standalone) { .test-banner { padding-top: calc(5px + env(safe-area-inset-top)); } }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-slide:has(img) { height: 300px; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 10px -2px 14px; padding: 0 2px; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-tile { flex: 0 0 38%; max-width: 170px; aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--surf2); cursor: pointer; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.new-card { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; border: 0; border-radius: 14px; padding: 12px 10px; background: var(--surf); color: inherit; font: inherit; cursor: pointer; min-height: 96px; }
.new-card .ico { width: 20px; height: 20px; color: var(--acc); }
.new-card strong { font-size: 13px; line-height: 1.2; }
.new-card span { font-size: 11px; opacity: .75; line-height: 1.25; }
.map-box.is-simple { background: #dfeaf0; }
.lp-town i { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #5b4a1a; }
.lp-town span { position: absolute; left: 5px; top: -7px; font: 600 10px/1.2 system-ui, sans-serif; color: #3d3210; white-space: nowrap; text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.lp-area span { left: 0; top: 0; transform: translate(-50%, -50%); font-weight: 500; font-size: 10.5px; color: #5a5330; }
.map-simple-note { position: absolute; left: 8px; bottom: 8px; z-index: 500; font: 500 10.5px/1.2 system-ui, sans-serif; color: #4a4320; background: rgba(255,255,255,.85); padding: 3px 7px; border-radius: 8px; max-width: 55%; }
.svc-pick .svc-main { cursor: default; }
.qty .qty-add { width: auto; height: 40px; border-radius: 20px; padding: 0 20px; font-size: 14px; font-weight: 600; background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.link-btn { appearance: none; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 4px; }
.svc-offer { padding: 0 14px 8px; font-size: 12px; color: var(--acc-text); }
.qty-lbl { font-size: 12px; opacity: .75; margin-right: 4px; }
.qty .small-btn { width: auto; height: auto; border-radius: 14px; padding: 9px 14px; font-size: 13px; }
.bv-edit { padding: 0 12px 12px; display: grid; gap: 10px; }
.bv-edit .chip:disabled { opacity: .3; }

/* 0.5.1: was only provided by the Claude artifact wrapper page; needed once index.html is a normal document */
[hidden]:not([hidden=until-found i]) { display: none !important; }
img { max-width: 100%; }

/* 0.6: Leopard sections on Home */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.sec-tile { position: relative; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; text-align: left; border: 0; border-radius: 14px; padding: 12px 12px 10px; background: var(--surf); color: inherit; font: inherit; cursor: pointer; min-height: 92px; }
.sec-tile .ico { width: 22px; height: 22px; color: var(--acc-text); margin-bottom: 2px; }
.sec-tile strong { font-size: 14px; line-height: 1.2; }
.sec-tile span { font-size: 11.5px; opacity: .75; }
.sec-tile em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 8px; background: var(--acc-soft); }
.sec-tile.is-planned { opacity: .72; }
.sec-tile.is-planned em { background: none; border: 1px dashed currentColor; opacity: .8; }

/* ---- 0.7.0: Events and Stores inside the app ---- */
.field-label { display: block; font-size: 12px; font-weight: 600; margin: 4px 0 8px; opacity: .85; }
.ev-regions { flex-wrap: nowrap; overflow-x: auto; margin-top: -8px; scrollbar-width: none; }
.ev-card { appearance: none; border: 0; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  background: var(--surf); color: inherit; font: inherit; border-radius: 16px; padding: 12px; margin: 0 0 8px; }
.ev-card:focus-visible, .prod:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 2px; }
.ev-date { flex: none; width: 52px; height: 56px; border-radius: 12px; background: var(--acc-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ev-date strong { font-size: 17px; font-weight: 700; color: var(--acc-text); }
.ev-date span { font-size: 10.5px; opacity: .75; text-transform: uppercase; letter-spacing: .05em; }
.ev-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ev-name { font-size: 15px; line-height: 1.25; }
.ev-meta { font-size: 12px; opacity: .72; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); }
.ev-tag.is-demo { background: transparent; color: inherit; border: 1px dashed currentColor; opacity: .85; }
.ev-mine { font-size: 11px; opacity: .8; }
.ev-prov { font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px dashed currentColor; opacity: .8; white-space: nowrap; }
.ev-chev { flex: none; opacity: .5; }
.ticket { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--acc); color: var(--acc-ink); border-radius: 18px; padding: 16px 18px; margin: 0 0 12px; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--bg); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket-head { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; opacity: .85; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ticket strong { font-size: 18px; margin-top: 4px; }
.ticket span { font-size: 13px; }
.store-head { display: flex; align-items: center; gap: 12px; }
.store-head .store-logo { flex: none; width: 44px; height: 44px; }
.store-head div:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-head span { font-size: 12px; opacity: .75; }
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.prod { appearance: none; border: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; text-align: left; cursor: pointer; padding: 0 0 10px;
  background: var(--surf); color: inherit; font: inherit; border-radius: 16px; overflow: hidden; min-width: 0; }
.prod > *:not(.prod-art) { padding: 0 10px; }
.prod-art { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--surf2); margin-bottom: 6px; }
.prod-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-badge { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); }
.prod-cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.prod strong { font-size: 13.5px; line-height: 1.25; }
.prod-price { font-size: 13px; font-weight: 600; color: var(--acc-text); }
.prod-price.ask { color: inherit; opacity: .7; font-weight: 500; }
.prod-price small, .prod-big-price small { font-weight: 500; font-size: 10.5px; opacity: .75; }
.prod-big-price { font-size: 20px; font-weight: 700; margin: 8px 0; color: var(--acc-text); }
.prod-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: 18px; scrollbar-width: none; }
.prod-gallery figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1; background: var(--surf2); border-radius: 18px; overflow: hidden; }
.prod-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
