*{box-sizing:border-box;margin:0;padding:0}
:root{--bg:#e9ecf1;--ink:#151a24;--mut:#6c7383;--line:rgba(21,26,36,.07);--ok:#2a7a52;--card:linear-gradient(180deg,#fdfdfe,#f1f3f6);--lift:0 10px 18px -12px rgba(21,26,36,.35),0 1px 2px rgba(21,26,36,.06),inset 0 1px 0 #fff;--dark:linear-gradient(180deg,#2f3747,#151a24)}
html,body{background:var(--bg)}
body{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Inter,Roboto,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;min-height:100dvh}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
.app{max-width:520px;margin:0 auto;min-height:100dvh;padding-bottom:92px;position:relative}
.top{display:flex;justify-content:space-between;align-items:center;padding:calc(14px + env(safe-area-inset-top)) 18px 12px}
.kicker{font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--mut)}
.title{font-size:30px;font-weight:600;letter-spacing:-.035em;margin-top:2px;line-height:1.1}
.icon-btn{width:44px;height:44px;border-radius:50%;background:var(--card);box-shadow:0 6px 14px -6px rgba(21,26,36,.25),inset 0 1px 0 #fff;display:grid;place-items:center}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.7}

/* "Add to home screen": a small app-icon tile in the header, and the page it opens */
.top-actions{display:flex;align-items:center;gap:14px}
body.is-game #locate{display:none}
.a2hs{position:relative;flex:none;width:60px;height:60px;border-radius:15px;background:linear-gradient(160deg,#2f3747,#151a24);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;font-weight:700;line-height:1.1;letter-spacing:-.01em;box-shadow:0 10px 18px -8px rgba(21,26,36,.6),inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.06);touch-action:manipulation}
.a2hs[hidden]{display:none}
.a2hs:active{transform:scale(.95)}
.a2hs-plus{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border-radius:50%;background:#fff;color:var(--ink);font:700 17px/22px -apple-system,system-ui,sans-serif;font-style:normal;text-align:center;box-shadow:0 3px 8px -2px rgba(21,26,36,.5)}
.a2-page{position:fixed;inset:0;z-index:80;overflow-y:auto;background:#f6f3ec;color:var(--ink);padding:calc(18px + env(safe-area-inset-top)) 20px calc(26px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
.a2-in{max-width:520px;margin:0 auto}
.a2-close:focus{outline:none}.a2-close:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.a2-page h2{text-wrap:balance}
.a2-close{display:block;margin-left:auto;min-height:44px;padding:0 18px;border-radius:99px;background:#fff;font-weight:600;font-size:14px;box-shadow:0 4px 12px -6px rgba(21,26,36,.35)}
.a2-tile{width:84px;height:84px;margin:6px auto 0;border-radius:21px;background:linear-gradient(160deg,#2f3747,#151a24);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px;font-weight:700;line-height:1.1;box-shadow:0 16px 26px -12px rgba(21,26,36,.6),inset 0 1px 0 rgba(255,255,255,.2)}
.a2-page h2{margin-top:18px;text-align:center;font-size:27px;font-weight:600;letter-spacing:-.03em;line-height:1.15}
.a2-lead{margin:10px auto 0;max-width:420px;text-align:center;font-size:16px;line-height:1.45;color:#3d4554}
.a2-h{margin:22px 0 8px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mut)}
.a2-steps{list-style:none;display:flex;flex-direction:column;gap:10px}
.a2-steps li{display:flex;gap:14px;align-items:center;background:#fff;border-radius:18px;padding:14px 16px;box-shadow:0 8px 18px -12px rgba(21,26,36,.35),inset 0 0 0 1px rgba(21,26,36,.05)}
.a2-ico{flex:none;width:44px;height:44px;border-radius:12px;background:#efece4;display:grid;place-items:center;font:700 14px/1 -apple-system,system-ui,sans-serif}
.a2-ico svg{width:24px;height:24px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.a2-steps b{display:block;font-size:16px;margin-bottom:2px}
.a2-steps span.t{font-size:14px;line-height:1.4;color:#3d4554}
.a2-note{margin-top:12px;font-size:13.5px;line-height:1.45;color:var(--mut)}
.a2-acts{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.a2-acts .pill{min-height:48px;font-size:15px}
.a2-acts .pill.dark{flex:none}
/* map */
.map{height:min(38vh,300px);margin:0 0 -26px;position:relative;z-index:0;background:#e3e6ea}
.maplibregl-map{font-family:inherit}
.maplibregl-ctrl-attrib{font-size:10px}
.pin-bld{width:40px;height:40px;filter:drop-shadow(0 4px 6px rgba(21,26,36,.3))}
.dot{width:12px;height:12px;border-radius:50%;background:#9aa1ae;border:2px solid #fff;box-shadow:0 2px 5px rgba(21,26,36,.25)}
.me{width:16px;height:16px;border-radius:50%;background:#2f6bff;border:3px solid #fff;box-shadow:0 0 0 9px rgba(47,107,255,.16)}

/* sheet */
.sheet{position:relative;z-index:1;background:rgba(240,242,246,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:28px 28px 0 0;padding:10px 14px 24px;box-shadow:0 -14px 34px -10px rgba(21,26,36,.18),inset 0 1px 0 #fff;min-height:60vh}
.grab{width:38px;height:4px;border-radius:9px;background:#c9ced8;margin:0 auto 14px}
.spot-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px}
.spot-name{font-size:21px;font-weight:600;letter-spacing:-.025em}
.spot-sub{font-size:12.5px;color:var(--mut);margin-top:2px}
.search-group{font-size:14px;font-weight:600;color:var(--t-mut);padding:12px 4px 6px}
.search-kinds{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
:root.searching #drawer .srow{padding-top:4px!important;padding-bottom:4px!important}
.chips{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:0 -14px 14px;padding:2px 14px 6px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;padding:8px 13px;border-radius:99px;background:var(--card);box-shadow:0 4px 10px -6px rgba(21,26,36,.3),inset 0 1px 0 #fff;font-size:12.5px;font-weight:500;white-space:nowrap}
.chip.on{background:var(--dark);color:#fff}
.chip .n{opacity:.55;margin-left:4px}

/* shop block */
.shop{padding:4px 0 18px;margin-bottom:16px;border-bottom:1px solid var(--line);scroll-margin-top:12px}
.shop:last-child{border-bottom:0}
.sh{display:flex;align-items:center;gap:11px}
.av{flex:none;width:42px;height:42px;border-radius:14px;background:var(--card);box-shadow:0 6px 14px -7px rgba(21,26,36,.35),inset 0 1px 0 #fff;display:grid;place-items:center;font-weight:700;font-size:13px;letter-spacing:.02em}
.shm{min-width:0;flex:1}
.sn{font-weight:600;font-size:16.5px;letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--ink);color:#fff;font-size:9px;vertical-align:2px;margin-left:3px}
.sm{font-size:12.5px;color:var(--mut);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{flex:none;font-size:11px;font-weight:600;padding:5px 10px;border-radius:99px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);color:var(--mut)}
.badge.today{color:var(--ok)}

.g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.cd{position:relative;border-radius:16px;padding:7px 7px 8px;background:var(--card);box-shadow:var(--lift);min-width:0;text-align:left}
.pic{aspect-ratio:1;border-radius:11px;background:#f3f4f7;display:grid;place-items:center;overflow:hidden}
.pic img{width:100%;height:100%;object-fit:cover}
.mono{font-size:22px;font-weight:300;color:#8b92a1;letter-spacing:-.02em}
.cn{font-size:10.5px;font-weight:600;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}
.cp{position:absolute;top:11px;left:11px;font-size:10px;font-weight:700;padding:2px 7px;border-radius:99px;background:rgba(255,255,255,.9);box-shadow:0 2px 6px -2px rgba(21,26,36,.25)}
.guess .cd{box-shadow:0 1px 2px rgba(21,26,36,.05),inset 0 1px 0 #fff;background:linear-gradient(180deg,#f7f8fa,#eef0f3)}
.guess .pic{background:transparent}
.note{font-size:11.5px;color:var(--mut);margin-top:9px;line-height:1.4}
.acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;color:var(--ink);font-weight:600;font-size:13.5px;padding:11px 16px;border-radius:99px;background:var(--card);box-shadow:0 6px 14px -8px rgba(21,26,36,.35),inset 0 1px 0 #fff}
.pill.dark{flex:1;background:var(--dark);color:#fff;box-shadow:0 10px 20px -8px rgba(21,26,36,.6),inset 0 1px 0 rgba(255,255,255,.15)}
.pill.saved{background:#e7f3ec;color:var(--ok)}
.more{display:block;width:100%;margin-top:4px}

/* holo selected */
.holo{position:relative;border-radius:18px;padding:2.5px;background:conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);min-width:0}
.holo::before{content:"";position:absolute;inset:-6px;border-radius:24px;background:inherit;filter:blur(12px);opacity:.7;z-index:-1}
.holo .cd{border-radius:15.5px}

/* start & empty states */
.pad{padding:0 18px}
.hero{border-radius:26px;padding:22px 20px;background:var(--card);box-shadow:var(--lift);margin-bottom:18px}
.hero h2{font-size:22px;font-weight:600;letter-spacing:-.03em;line-height:1.2}
.hero p{font-size:14px;color:var(--mut);margin:8px 0 16px;line-height:1.45}
.hero .pill.dark{width:100%;padding:14px}
.label{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mut);margin:6px 0 10px}
.list{display:flex;flex-direction:column;gap:10px}
.row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;background:var(--card);box-shadow:var(--lift);width:100%;text-align:left}
.row .t{font-weight:600;font-size:15px}
.row .s{font-size:12.5px;color:var(--mut);margin-top:1px}
.row .go{margin-left:auto;color:var(--mut);font-size:18px}
.msg{text-align:center;color:var(--mut);font-size:14px;line-height:1.5;padding:28px 10px}
.spin{width:26px;height:26px;border-radius:50%;border:2.5px solid #cfd4dc;border-top-color:var(--ink);animation:r 1s linear infinite;margin:0 auto 12px}
@keyframes r{to{transform:rotate(360deg)}}

/* shelf */
.shelf .g{gap:9px}
.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;aspect-ratio:.82;border-radius:16px;background:#e3e6eb;box-shadow:inset 0 2px 5px rgba(21,26,36,.09),inset 0 -1px 0 #fff;font-size:10.5px;font-weight:600;color:#8a91a0}
.empty b{font-size:20px;font-weight:300}
.panel{margin-top:16px;padding:16px;border-radius:20px;background:var(--card);box-shadow:var(--lift)}
.panel label{display:block;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--mut);margin:10px 0 6px}
.panel input{width:100%;font:inherit;font-size:16px;padding:12px 14px;border-radius:12px;border:0;background:#f3f4f7;box-shadow:inset 0 1px 3px rgba(21,26,36,.1);color:var(--ink)}
.panel input:focus{outline:2px solid #a78bfa}
.count{flex:none;white-space:nowrap;font-size:13px;font-weight:600;padding:8px 13px;border-radius:99px;background:var(--dark);color:#fff}
.search{width:100%;font:inherit;font-size:16px;padding:14px 16px;border-radius:16px;border:0;background:var(--card);box-shadow:var(--lift);margin-bottom:12px}
.foot{font-size:11.5px;color:var(--mut);text-align:center;padding:14px 18px 0;line-height:1.5}
.foot a{color:inherit}

/* tabs */
.tabs{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:520px;height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(248,249,251,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:center;z-index:10}
.tabs button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10.5px;font-weight:500;color:#9097a5;min-width:72px}
.tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.tabs .on{color:var(--ink);font-weight:600}

/* ---------- Explore mode (game map) ---------- */
body.is-game .app{padding-bottom:0}
body.is-game .top{position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;z-index:20;pointer-events:none;background:linear-gradient(180deg,rgba(233,236,241,.92),rgba(233,236,241,0))}
body.is-game .top>*{pointer-events:auto}
.game{position:relative;height:calc(100dvh - 72px - env(safe-area-inset-bottom));overflow:hidden}
.gmap{position:absolute;inset:0;z-index:0;background:var(--t-page)} /* match the Day ground while the map loads */
:root.th-night .gmap{background:#181c1f}
/* Before the app draws its first screen (theme.js adds "booting", app.js takes it away): only the map's colour shows, so the
   first thing seen is not an intro page that is swapped out a moment later. */
:root.booting,:root.booting body{background:var(--t-page)!important}
:root.booting.th-night,:root.booting.th-night body{background:#181c1f!important}
:root.booting #view .boot{visibility:hidden}
@media (max-width:899px){:root.booting .top{display:none}}
.hud{position:absolute;top:calc(84px + env(safe-area-inset-top));left:14px;right:14px;display:flex;gap:8px;z-index:15;pointer-events:none}
.hud-chip{pointer-events:auto;padding:8px 13px;border-radius:99px;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:12.5px;font-weight:600;box-shadow:0 6px 16px -8px rgba(21,26,36,.4)}
/* the two shop arrows: previous shop, next shop */
.dpad{position:absolute;right:14px;bottom:150px;z-index:15;display:grid;grid-template-columns:repeat(2,52px);grid-template-rows:52px;gap:10px}
.dpad button{border-radius:16px;background:rgba(255,255,255,.85);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 6px 14px -6px rgba(21,26,36,.4),inset 0 1px 0 #fff;font-size:15px;color:#3d4554;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.dpad button:active{background:#fff;transform:scale(.94)}
.peek{position:absolute;left:10px;right:10px;bottom:10px;z-index:16;border-radius:24px;padding:10px 12px 12px;background:rgba(244,246,249,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 16px 40px -14px rgba(21,26,36,.45),inset 0 1px 0 #fff;max-height:72%;overflow:auto;transition:max-height .3s}
.peek.open{padding-top:8px}
.peek .close{position:absolute;top:10px;right:12px;width:32px;height:32px;border-radius:50%;background:var(--card);box-shadow:0 4px 10px -6px rgba(21,26,36,.4);font-size:13px;z-index:2}
.peek .shop{border:0;margin:0;padding-bottom:4px}
.peek-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left}
.peek-hint{font-size:11.5px;color:var(--mut);margin-top:8px}

/* the walker */
.walker{width:34px;height:34px}
.walker .hero-core{position:absolute;inset:8px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#7aa8ff 40%,#2f6bff);border:3px solid #fff;box-shadow:0 4px 12px rgba(47,107,255,.55)}
.walker .hero-ring{position:absolute;inset:-6px;border-radius:50%;background:radial-gradient(circle,rgba(47,107,255,.28),rgba(47,107,255,0) 70%);animation:hero-pulse 1.8s ease-out infinite}
@keyframes hero-pulse{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.5);opacity:0}}

/* shop avatars (claimed, with a My12 shelf) */
.avatar{width:92px;height:106px}
.av-ring{position:absolute;left:4px;top:4px;width:48px;height:48px;border-radius:50%;background:conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);animation:av-spin 6s linear infinite;box-shadow:0 0 22px rgba(167,139,250,.65)}
.av-face{position:absolute;left:8px;top:8px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#2f3747,#151a24);color:#fff;font-size:12px;font-weight:700;letter-spacing:.03em;border:2px solid #fff}
.av-tag{position:absolute;left:50%;top:56px;transform:translateX(-50%);white-space:nowrap;font-size:10px;font-weight:700;color:#1f6a46;background:#fff;padding:2px 7px;border-radius:99px;box-shadow:0 3px 8px -3px rgba(21,26,36,.4)}
.avatar.stale .av-ring{filter:grayscale(1);opacity:.5;animation:none;box-shadow:none}
.avatar.stale .av-tag{color:var(--mut)}
.avatar:hover .av-face{transform:scale(1.06)}
@keyframes av-spin{to{transform:rotate(360deg)}}

@media (prefers-reduced-motion: reduce){.av-ring,.walker .hero-ring{animation:none}}

/* building avatars */
.bld{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.av.bld-av{background:transparent;box-shadow:none;width:52px;height:52px;border-radius:0}
.av.off{filter:grayscale(1);opacity:.6}
.avatar .bld{position:absolute;left:0;top:0;width:92px;height:92px;filter:drop-shadow(0 8px 10px rgba(21,26,36,.25));transition:transform .2s}
.avatar:hover .bld{transform:translateY(-3px) scale(1.05)}
.bld-glow{position:absolute;left:12px;top:64px;width:68px;height:22px;border-radius:50%;background:radial-gradient(closest-side,rgba(167,139,250,.7),rgba(110,231,242,.3),transparent);animation:glow-breathe 2.4s ease-in-out infinite}
.avatar .av-tag{top:88px}
.avatar.setup .av-tag{color:var(--mut)}
.avatar.stale .bld{filter:grayscale(.85);opacity:.75}
.avatar.stale .bld-glow{display:none}
.storefront{width:38px;height:38px}
.storefront .bld{width:38px;height:38px;filter:grayscale(1) contrast(.85) brightness(1.08);opacity:.5}
@keyframes glow-breathe{50%{opacity:.55;transform:scale(1.12)}}
.shelf-empty .empty{aspect-ratio:1;min-height:0}
.pill.claim{width:100%;margin-top:10px;background:linear-gradient(180deg,#fff,#f1f3f6) padding-box,conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:2px solid transparent}
/* owner look picker */
.look{display:flex;gap:14px;align-items:center;padding:14px;border-radius:20px;background:var(--card);box-shadow:var(--lift);margin-bottom:10px}
.look-hero{flex:none;width:104px;height:104px}
.look-body{min-width:0;flex:1}
.picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:16px}
.pick{aspect-ratio:1;border-radius:14px;padding:4px;background:var(--card);box-shadow:0 6px 12px -9px rgba(21,26,36,.4),inset 0 1px 0 #fff}
.pick img{width:100%;height:100%;object-fit:contain}
.pick.on{background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:2px solid transparent;box-shadow:0 0 18px -4px rgba(167,139,250,.6)}

/* ---------- The world ---------- */
/* Quiet, slightly muted base map so local shops are the brightest thing on it. */
.gmap .maplibregl-canvas{filter:saturate(.62) brightness(1.04) contrast(.96)}
.seg{pointer-events:auto;display:flex;padding:3px;border-radius:99px;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 6px 16px -8px rgba(21,26,36,.4)}
.seg button{padding:6px 13px;border-radius:99px;font-size:12.5px;font-weight:700;color:var(--mut);letter-spacing:.02em}
.seg button.on{background:var(--dark);color:#fff;box-shadow:0 4px 10px -4px rgba(21,26,36,.6)}
.game.mode-2d .dpad{opacity:0;pointer-events:none;transform:scale(.9)}
.dpad{transition:opacity .3s,transform .3s}

/* drawer */
.drawer{position:absolute;left:0;right:0;bottom:0;height:86%;z-index:16;display:flex;flex-direction:column;border-radius:26px 26px 0 0;background:rgba(244,246,249,.95);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -16px 40px -14px rgba(21,26,36,.4),inset 0 1px 0 #fff;transition:transform .38s cubic-bezier(.2,.9,.25,1);touch-action:none}
.drawer.dragging{transition:none}
.drawer[data-snap="high"]{transform:translateY(0)}
.drawer[data-snap="mid"]{transform:translateY(calc(100% - 44vh))}
.drawer[data-snap="low"]{transform:translateY(calc(100% - 104px))}
.grab-zone{flex:none;padding:10px 0 6px;cursor:grab;touch-action:none}
.grab-zone .grab{margin:0 auto;width:44px;height:5px}
.drawer-body{flex:1;overflow-y:auto;padding:4px 14px 24px;overscroll-behavior:contain;touch-action:pan-y}
.drawer[data-snap="low"] .drawer-body{overflow:hidden}
.game.mode-3d .dpad{bottom:calc(44vh + 14px)}
.game:has(.drawer[data-snap="low"]) .dpad{bottom:120px}
.game:has(.drawer[data-snap="high"]) .dpad{opacity:0;pointer-events:none}
.near-row .kick{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mut)}
.rows{display:flex;flex-direction:column;gap:6px}
.srow{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:8px 10px;border-radius:16px;background:var(--card);box-shadow:0 6px 12px -10px rgba(21,26,36,.45),inset 0 1px 0 #fff}
.srow:active{transform:scale(.99)}
.av.bld-av.waiting{filter:none;opacity:1}
.claim-badge{color:#7c4ddb;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:1.5px solid transparent;box-shadow:none}
.back{font-size:13px;font-weight:600;color:var(--mut);padding:4px 2px 10px}

/* unclaimed shops: bright, clickable, "Claim me" */
.storefront{width:46px;height:46px}
.storefront .bld{width:46px;height:46px;filter:saturate(.9) drop-shadow(0 4px 6px rgba(21,26,36,.28));opacity:1}
.storefront .bld{transition:transform .2s}
.storefront:hover .bld,.storefront.sel .bld{transform:translateY(-3px) scale(1.12)}
.storefront .flag{position:absolute;left:50%;bottom:44px;transform:translateX(-50%) scale(.6);opacity:0;white-space:nowrap;font-size:10px;font-weight:800;letter-spacing:.02em;color:#5b33c4;padding:3px 8px;border-radius:99px;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:1.5px solid transparent;box-shadow:0 4px 10px -4px rgba(91,51,196,.5);transition:opacity .25s,transform .25s;pointer-events:none}
.show-flags .storefront .flag,.storefront.sel .flag{opacity:1;transform:translateX(-50%) scale(1);animation:flag-bob 2.6s ease-in-out infinite}
.game.mode-2d .storefront,.game.mode-2d .storefront .bld{width:34px;height:34px}
.game.mode-2d .storefront .flag{bottom:32px}
.avatar.sel .bld{transform:translateY(-4px) scale(1.08)}
.avatar.pop .bld{animation:pop-in .9s cubic-bezier(.2,1.6,.4,1)}
@keyframes flag-bob{50%{transform:translateX(-50%) translateY(-3px)}}
@keyframes pop-in{0%{transform:scale(.2) translateY(30px);opacity:0}100%{transform:none;opacity:1}}

/* claim quest */
.quest{text-align:center;padding:4px 6px 8px}
.quest h3{font-size:22px;font-weight:600;letter-spacing:-.03em;margin:4px 0 6px}
.quest p{font-size:14px;color:#3d4554;line-height:1.45;margin-bottom:12px}
.quest .acts{justify-content:center}
.quest-step{font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--mut);margin-top:8px}
.quest-stage{position:relative;width:170px;height:170px;margin:0 auto}
.quest-stage .bld{position:relative;z-index:1;filter:drop-shadow(0 14px 16px rgba(21,26,36,.25))}
.quest-stage.gray .bld{filter:grayscale(1) opacity(.65)}
.quest-stage .bob{animation:bob 2.8s ease-in-out infinite}
.quest-stage .rise{animation:pop-in 1s cubic-bezier(.2,1.6,.4,1)}
.burst{position:absolute;inset:-10px;border-radius:50%;background:conic-gradient(from 0deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);filter:blur(26px);opacity:.75;animation:burst 1.6s ease-out, glow-spin 8s linear infinite}
.quest .picker{margin:4px 0 14px}
.pill.wide{width:100%}
@keyframes bob{50%{transform:translateY(-6px)}}
@keyframes burst{0%{transform:scale(.2);opacity:0}40%{opacity:1}100%{transform:scale(1);opacity:.75}}
@keyframes glow-spin{to{rotate:360deg}}
@media (prefers-reduced-motion: reduce){.storefront .flag,.quest-stage .bob,.quest-stage .rise,.burst{animation:none}}
.report{display:block;text-align:center;font-size:11.5px;color:var(--mut);margin-top:12px;text-decoration:underline}

/* Map markers: MapLibre positions these absolutely; never override position or transform on the root. */
.maplibregl-marker.storefront,.maplibregl-marker.avatar,.maplibregl-marker.walker,.maplibregl-marker.dot,.maplibregl-marker.me,.maplibregl-marker.pin-bld{position:absolute}

/* ---------- Floating neon glass emblems ---------- */
.emb{position:absolute;display:block;pointer-events:none;z-index:3}
.emb svg{display:block;width:100%;height:100%;overflow:visible}
.emb svg g{stroke:rgba(255,255,255,.85);stroke-width:.6px;paint-order:stroke}
.emb-green{--c:#22e486}.emb-orange{--c:#ff8a3d}.emb-cyan{--c:#2fd8ff}.emb-pink{--c:#ff6fb5}.emb-amber{--c:#ffb23d}.emb-violet{--c:#9b7bff}.emb-magenta{--c:#f055ff}.emb-ice{--c:#7fd3ff}.emb-lilac{--c:#c08bff}.emb-red{--c:#ff4d6a}.emb-yellow{--c:#ffd23d}.emb-teal{--c:#2ee6c8}.emb-blue{--c:#4d8dff}
.emb svg{filter:drop-shadow(0 0 2px var(--c)) drop-shadow(0 0 7px color-mix(in srgb,var(--c) 80%,transparent)) drop-shadow(0 6px 5px rgba(21,26,36,.28))}
.emb::after{content:"";position:absolute;left:18%;right:18%;bottom:-9px;height:5px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--c) 55%,transparent),transparent)}
/* above a claimed building: big, floating */
.emb.float{left:50%;top:-30px;width:30px;height:30px;margin-left:-15px;animation:emb-float 3s ease-in-out infinite}
/* beside an unclaimed shop */
.emb.side{right:-10px;top:-12px;width:20px;height:20px}
.emb.side::after{display:none}
.game.mode-2d .emb.side{width:16px;height:16px;right:-8px;top:-8px}
/* small badge on list avatars */
.av .emb.mini{right:-4px;top:-4px;width:17px;height:17px}
.av .emb.mini::after{display:none}
.av.bld-av{position:relative}
/* the claim celebration */
.quest-stage .emb.hero-emb{left:50%;top:-6px;width:46px;height:46px;margin-left:-23px;z-index:2;animation:emb-float 3s ease-in-out infinite}
.emb-cross svg g{stroke-width:.9px}
@keyframes emb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media (prefers-reduced-motion:reduce){.emb{animation:none!important}}

/* ---------- Stock: in stock by default, one switch for sold out ---------- */
.cn .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#22c47a;box-shadow:0 0 6px rgba(34,196,122,.8);margin-right:5px;vertical-align:1px}
.cd.sold .pic img,.cd.sold .pic .mono{filter:grayscale(1);opacity:.45}
.cd.sold .cn,.cd.sold .cp{opacity:.55}
.pic{position:relative}
.sold-tag{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap;font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 7px;border-radius:99px;background:rgba(21,26,36,.82);color:#fff}
.switch-row{display:flex!important;align-items:center;gap:12px;margin:14px 0 4px!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}
.switch-row span{flex:1}.switch-row b{display:block;font-size:15px;color:var(--ink)}.switch-row small{font-size:12.5px;color:var(--mut);font-weight:500}
.switch-row input{position:absolute;opacity:0;width:1px;height:1px}
.switch{flex:none;width:52px;height:32px;border-radius:99px;background:#cfd4dc;position:relative;transition:background .25s}
.switch::after{content:"";position:absolute;left:3px;top:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(21,26,36,.3);transition:transform .25s}
.switch-row input:checked+.switch{background:#22c47a}
.switch-row input:checked+.switch::after{transform:translateX(20px)}
.switch-row input:focus-visible+.switch{outline:2px solid #a78bfa;outline-offset:2px}
.nudge{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px;border-radius:18px;background:linear-gradient(var(--card),var(--card)) padding-box,conic-gradient(from 200deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:2px solid transparent}
.nudge div{flex:1;min-width:0}.nudge b{display:block;font-size:15px}.nudge small{font-size:12.5px;color:var(--mut)}
.nudge .pill{flex:none;padding:10px 14px}

/* Shopper's My12: three across, bigger photos, full names */
.my12-head{display:flex;align-items:baseline;gap:8px;margin:14px 2px -4px}
.my12-head b{font-size:15px;letter-spacing:-.01em}
.my12-head span{font-size:12.5px;color:var(--mut)}
.g.g3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.g.g3 .cn{font-size:12px;white-space:normal;line-height:1.25;min-height:2.5em}
.g.g3 .cp{font-size:11px}

/* ---------- Premium product cards (My12) ----------
   Tall 3:4 cards, product floating on the card face, layered soft shadow,
   top-lit gradient, generous even gutters, quiet bottom-left labels. */
:root{--card-face:linear-gradient(180deg,#fdfdfe 0%,#f3f4f7 100%);--card-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 1px 2px rgba(22,26,40,.05),0 8px 16px -8px rgba(22,26,40,.12),0 24px 40px -22px rgba(22,26,40,.22)}
.g.g3,.shelf .g{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.g.g3 .cd,.shelf .g .cd{display:flex;flex-direction:column;aspect-ratio:3/4;padding:12px 12px 13px;border-radius:14px;background:var(--card-face);border:1px solid rgba(255,255,255,.75);box-shadow:var(--card-shadow);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.g.g3 .cd:active,.shelf .g .cd:active{transform:translateY(1px) scale(.99)}
.g.g3 .pic,.shelf .g .pic{flex:1;min-height:0;aspect-ratio:auto;background:transparent;border-radius:10px;padding:8% 10% 4%}
.g.g3 .pic img,.shelf .g .pic img{object-fit:contain;filter:drop-shadow(0 10px 10px rgba(22,26,40,.16))}
.g.g3 .cn,.shelf .g .cn{order:2;margin-top:8px;font-size:12.5px;font-weight:600;color:#2b303b;letter-spacing:-.01em;line-height:1.25;white-space:normal;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.g.g3 .cp,.shelf .g .cp{order:3;position:static;margin-top:2px;padding:0;background:none;box-shadow:none;font-size:11.5px;font-weight:600;color:#7a8090}
.g.g3 .cn .dot,.shelf .g .cn .dot{width:5px;height:5px}
.shelf .g .empty{aspect-ratio:3/4;border-radius:14px;background:linear-gradient(180deg,#f7f8fa,#eef0f3);border:1px solid rgba(255,255,255,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(22,26,40,.04),0 14px 26px -18px rgba(22,26,40,.16);gap:6px;font-size:12.5px;font-weight:500;color:#5d6372}
.shelf .g .empty b{font-size:26px;font-weight:200;color:#3d4250;line-height:1}
.shelf .holo{border-radius:16px}
.shelf .holo .cd{border-radius:13.5px}
.g.g3 .pic img,.shelf .g .pic img{filter:none;mix-blend-mode:multiply}
.g.g3 .pic,.shelf .g .pic{isolation:auto}
.g.g3 .cd,.shelf .g .cd{isolation:isolate}

/* ---------- Product window, linked to its card by a shared neon glow ---------- */
@property --glow{syntax:'<angle>';inherits:false;initial-value:0deg}
.g.g3 .cd.linked{border-color:transparent;background:linear-gradient(180deg,#fdfdfe,#f3f4f7) padding-box,conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:2px solid transparent;box-shadow:var(--card-shadow),0 0 22px -6px rgba(167,139,250,.55),0 0 34px -12px rgba(110,231,242,.6);animation:glow-turn 6s linear infinite;transform:translateY(-2px)}
.pwin{grid-column:1/-1;position:relative;border-radius:18px;padding:2px;background:conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);box-shadow:0 0 26px -8px rgba(167,139,250,.6),0 0 40px -16px rgba(110,231,242,.65),0 24px 40px -24px rgba(22,26,40,.3);animation:glow-turn 6s linear infinite,pwin-in .35s cubic-bezier(.2,.8,.2,1)}
.pwin::before{content:"";position:absolute;top:-8px;width:16px;height:16px;transform:rotate(45deg);border-radius:3px;background:conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);animation:glow-turn 6s linear infinite}
.pwin[data-col="0"]::before{left:calc(16.66% - 8px)}.pwin[data-col="1"]::before{left:calc(50% - 8px)}.pwin[data-col="2"]::before{left:calc(83.33% - 8px)}
.pwin-in{position:relative;display:flex;gap:14px;padding:14px;border-radius:16px;background:linear-gradient(180deg,#fdfdfe,#f3f4f7)}
.pwin-pic{flex:none;width:38%;aspect-ratio:3/4;border-radius:12px;display:grid;place-items:center;background:linear-gradient(180deg,#fff,#eef0f4);box-shadow:inset 0 1px 0 #fff,0 10px 20px -14px rgba(22,26,40,.3);padding:10%}
.pwin-pic img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.pwin-info{min-width:0;flex:1;display:flex;flex-direction:column}
.pwin-info h3{font-size:19px;font-weight:650;letter-spacing:-.02em;line-height:1.15;margin:2px 0 6px}
.pwin-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
.pwin-meta b{font-size:17px}
.pw-in{color:#1f8a55;font-weight:600;font-size:12.5px}.pw-out{color:#a3401f;font-weight:600;font-size:12.5px}
.pwin-note{font-size:13.5px;color:#454b58;line-height:1.4;margin:8px 0 0}
.pwin-when{font-size:12px;color:var(--mut);margin:8px 0 0}
.pwin-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:12px}
.pwin-acts .pill{padding:9px 13px;font-size:12.5px}
.opt{font-weight:500;text-transform:none;letter-spacing:0;color:var(--mut)}
@keyframes glow-turn{to{--glow:360deg}}
@keyframes pwin-in{from{opacity:0;transform:translateY(-6px) scale(.98)}}
@media (prefers-reduced-motion:reduce){.pwin,.pwin::before,.g.g3 .cd.linked{animation:none}}

/* Directional light from the top left: a crisp, confident shadow down the right and along the bottom. */
:root{--card-shadow:inset 1px 1px 0 rgba(255,255,255,.98),inset -1px -1px 0 rgba(22,26,40,.035),1px 2px 2px rgba(22,26,40,.10),3px 5px 6px -1px rgba(22,26,40,.12),7px 11px 18px -6px rgba(22,26,40,.20),14px 22px 34px -18px rgba(22,26,40,.16)}
.shelf .g .empty{box-shadow:inset 1px 1px 0 rgba(255,255,255,.95),1px 2px 2px rgba(22,26,40,.07),5px 8px 14px -6px rgba(22,26,40,.14),12px 18px 30px -18px rgba(22,26,40,.12)}
.pwin-pic{box-shadow:inset 1px 1px 0 #fff,1px 2px 2px rgba(22,26,40,.08),5px 8px 14px -6px rgba(22,26,40,.16)}

/* ---------- Viewer: tall glowing card to the right of the shelf ---------- */
.my12-wrap{display:block}
.my12-wrap.browsing{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;align-items:start;margin-top:16px}
.my12-wrap.browsing .g.g3{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}
.my12-wrap.browsing .g.g3 .cd{padding:9px 9px 10px}
.my12-wrap.browsing .g.g3 .cn{font-size:11.5px}
.my12-wrap.browsing .g.g3 .cp{font-size:10.5px}
.g.g3 .cd.linked{border-color:transparent;background:linear-gradient(180deg,#fdfdfe,#f3f4f7) padding-box,conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;border:2px solid transparent;box-shadow:var(--card-shadow),0 0 20px -6px rgba(167,139,250,.6),0 0 30px -12px rgba(110,231,242,.6);animation:glow-turn 6s linear infinite;transform:translateY(-2px)}
.viewer{position:sticky;top:6px;display:flex;flex-direction:column;border-radius:16px;padding:12px 11px 12px;border:2px solid transparent;background:linear-gradient(180deg,#fdfdfe,#f3f4f7) padding-box,conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2) border-box;box-shadow:var(--card-shadow),0 0 24px -6px rgba(167,139,250,.6),0 0 38px -14px rgba(110,231,242,.65);animation:glow-turn 6s linear infinite,v-in .3s cubic-bezier(.2,.8,.2,1)}
.v-close{position:absolute;top:6px;right:6px;width:26px;height:26px;border-radius:50%;font-size:11px;color:var(--mut);background:rgba(255,255,255,.8);box-shadow:1px 2px 4px rgba(22,26,40,.12);z-index:2}
.v-pic{aspect-ratio:3/4;display:grid;place-items:center;padding:10% 8% 4%}
.v-pic img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.viewer h3{font-size:15px;font-weight:650;letter-spacing:-.015em;line-height:1.2;margin:6px 0 4px}
.v-meta{display:flex;flex-direction:column;gap:2px}
.v-meta b{font-size:16px}
.v-note{font-size:12px;color:#454b58;line-height:1.4;margin:8px 0 0}
.v-when{font-size:11px;color:var(--mut);margin:6px 0 0}
.v-acts{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.v-acts .pill{padding:9px 10px;font-size:12px;width:100%}
.pwin{display:none}
@keyframes v-in{from{opacity:0;transform:translateX(8px)}}
@media (prefers-reduced-motion:reduce){.viewer{animation:none}}

/* Browse sizing: three compact cards across + the viewer as a fourth column. */
.my12-wrap.browsing{grid-template-columns:minmax(0,3fr) minmax(0,1.3fr);gap:9px}
.my12-wrap.browsing .g.g3{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.my12-wrap.browsing .g.g3 .cd{aspect-ratio:1/1.08;padding:7px 5px 8px;border-radius:12px;align-items:center;text-align:center}
.my12-wrap.browsing .g.g3 .pic{flex:0 0 52%;width:100%;padding:6% 18% 0}
.my12-wrap.browsing .g.g3 .cn{font-size:11px;font-weight:600;text-align:center;margin-top:auto;-webkit-line-clamp:2}
.my12-wrap.browsing .g.g3 .cn .dot{display:none}
.my12-wrap.browsing .g.g3 .cp{display:none}
.my12-wrap.browsing .viewer{padding:9px 9px 11px;border-radius:14px}
.my12-wrap.browsing .viewer h3{font-size:14px}
.my12-wrap.browsing .v-acts .pill{font-size:11.5px;padding:9px 8px}

/* ---------- Clarity and quiet motion pass ---------- */
body.is-game .top{padding-bottom:30px;background:linear-gradient(180deg,rgba(233,236,241,.97) 0,rgba(233,236,241,.9) 58%,rgba(233,236,241,0) 100%)}
.sm.wrap{white-space:normal;overflow:visible;line-height:1.35}
.note.quiet{font-size:13px;margin-top:12px;padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px var(--line)}
@media (prefers-reduced-motion:no-preference){
 .pill,.chip,.srow,.icon-btn,.seg button,.peek-row{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s cubic-bezier(.2,.8,.2,1),background-color .2s ease,color .2s ease}
 .tabs button{transition:color .2s ease,transform .2s cubic-bezier(.2,.8,.2,1)}
 .pill:active,.chip:active,.icon-btn:active,.tabs button:active{transform:scale(.96);transition-duration:.08s}
 @media (hover:hover){
  .pill:hover,.icon-btn:hover{transform:translateY(-1px);box-shadow:0 12px 22px -10px rgba(21,26,36,.4),inset 0 1px 0 rgba(255,255,255,.6)}
  .pill.dark:hover{box-shadow:0 14px 26px -10px rgba(21,26,36,.7),inset 0 1px 0 rgba(255,255,255,.18)}
  .chip:hover{transform:translateY(-1px)}
  .srow:hover{transform:translateY(-1px);box-shadow:0 12px 20px -12px rgba(21,26,36,.5),inset 0 1px 0 #fff}
  .tabs button:hover{color:var(--ink)}
  .pill:active,.chip:active,.icon-btn:active{transform:scale(.96)}
 }
}

/* ---------- Category badges: muted disc, white line icon, no glow ---------- */
.emb-green{--c:#5f8f72}.emb-orange{--c:#bd8358}.emb-cyan{--c:#5b8fa3}.emb-pink{--c:#b57a8d}.emb-amber{--c:#b39057}.emb-violet{--c:#7d76a8}.emb-magenta{--c:#9a6f96}.emb-ice{--c:#7890a8}.emb-lilac{--c:#8b82ab}.emb-red{--c:#a5626b}.emb-yellow{--c:#a3955b}.emb-teal{--c:#5a938c}.emb-blue{--c:#6681a8}
.emb{border-radius:50%;background:var(--c);box-shadow:0 0 0 1.5px #fff,0 5px 10px -4px rgba(21,26,36,.45);animation:none!important}
.emb::after{display:none!important}
.emb svg{filter:none;padding:21%;fill:none;stroke:#fff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;overflow:hidden}
.emb.float{top:-34px}
.emb.side{width:22px;height:22px;right:-9px;top:-13px}
.game.mode-2d .emb.side{width:19px;height:19px;right:-8px;top:-9px}
.av .emb.mini{width:19px;height:19px;right:-5px;top:-5px}
.quest-stage .emb.hero-emb{top:-10px}

/* ---------- Unclaimed shops: a small colourless glass box with a grey icon ---------- */
.box{width:42px;height:42px}
.box .bld{width:42px;height:42px;filter:grayscale(1) brightness(.9) contrast(1.12) drop-shadow(0 4px 5px rgba(21,26,36,.38));opacity:1;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
.emb.grey{width:17px;height:17px;right:-4px;top:-3px;background:#9aa0ab;box-shadow:0 0 0 1.25px #fff,0 2px 5px -2px rgba(21,26,36,.4)}
.box.sel .bld{opacity:1;transform:translateY(-2px) scale(1.14)}
.box.sel .emb.grey{background:#151a24}
@media (hover:hover){.box:hover .bld{opacity:1;transform:translateY(-2px) scale(1.08)}}
.game.mode-2d .box,.game.mode-2d .box .bld{width:30px;height:30px}
.av.box-av{position:relative;width:52px;height:52px;display:grid;place-items:center;background:transparent;box-shadow:none;border-radius:0}
.av.box-av .bld{width:44px;height:44px;filter:grayscale(1) brightness(.9) contrast(1.12);opacity:1}
.av.box-av .emb.grey{width:17px;height:17px;right:1px;top:1px}
/* Claimed shops: a soft warm light under the building instead of the neon glow */
.bld-glow{background:radial-gradient(closest-side,rgba(255,196,120,.75),rgba(255,176,96,.28),transparent);animation:none}
.avatar .bld{filter:drop-shadow(0 10px 12px rgba(21,26,36,.3))}

/* ---------- Crowded streets ---------- */
.box.crowded{visibility:hidden;pointer-events:none}
/* Glass stores in 3D are sized like real objects on the ground: --s is set for each store as the map moves. */
.game.mode-3d .box{width:var(--s,44px);height:var(--s,44px)}
.game.mode-3d .box .bld{width:100%;height:100%}
/* the grey badge sits on the glass cube's top corner at every size (the cube fills the lower two thirds of its picture) */
.game.mode-3d .box .emb.grey{--b:clamp(16px,calc(var(--s,44px)*.34),25px);width:var(--b);height:var(--b);right:auto;left:calc(var(--s,44px)*.88 - var(--b)/2);top:calc(var(--s,44px)*.3 - var(--b)/2)}
/* far away in 3D, a store is a small dot */
.game.mode-3d .box.as-dot{width:10px;height:10px}
.box.as-dot .bld,.box.as-dot .emb,.box.as-dot .more{display:none}
.box.as-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#9aa0ab;box-shadow:0 0 0 1.5px #fff}
.box.as-dot.sel::after{background:#151a24}
/* every store keeps a finger-sized target, whatever size it is drawn */
.box::before{content:"";position:absolute;left:50%;top:50%;width:max(44px,100%);height:max(44px,100%);transform:translate(-50%,-50%)}
/* in 3D only the glass cube takes a tap (the empty top of the picture lets taps through to the store behind) */
.game.mode-3d .box{pointer-events:none}
.game.mode-3d .box::before{pointer-events:auto;top:auto;bottom:0;width:max(44px,93%);height:max(44px,69%);transform:translateX(-47%)}
/* a dot (far away) is tapped on the dot itself, a little larger, so dots side by side can each be tapped */
.game.mode-3d .box.as-dot::before{bottom:auto;top:50%;width:16px;height:16px;transform:translate(-50%,-50%)}
.far .box::before{width:16px;height:16px}
/* two stores on almost the same spot: one store with a small number; its bubble names the other */
.box .more{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);min-width:22px;padding:0 6px;border-radius:99px;background:#fff;color:#3d4554;font-size:12px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 2px 6px -2px rgba(21,26,36,.45);pointer-events:none}
.avatar .more{position:absolute;left:4px;top:-2px;min-width:22px;padding:0 6px;border-radius:99px;background:#fff;color:#3d4554;font-size:12px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 2px 6px -2px rgba(21,26,36,.45);pointer-events:none;z-index:4}
.b-also{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.b-also .b-line{width:100%;margin:0}
/* the blue dot is you: drawn above every store, below an open bubble; a tap goes through it to the store under it */
.maplibregl-marker.walker{z-index:4500;pointer-events:none}
.maplibregl-marker.walker *{pointer-events:none}
/* far away: unclaimed shops are tiny grey dots */
.far .box{width:9px;height:9px}
.far .box .bld,.far .box .emb{display:none}
.far .box::after{content:"";position:absolute;inset:0;border-radius:50%;background:#9aa0ab;box-shadow:0 0 0 1.5px #fff}
.far .box.sel::after{background:#151a24}

/* ---------- Owner screens: find your shop, or add it ---------- */
.zip-row{display:flex;gap:8px;margin-top:10px}
.zip-row .search{margin:0;flex:1;min-width:0;background:#f3f4f7;box-shadow:inset 0 1px 3px rgba(21,26,36,.1)}
.zip-row .pill{flex:none;padding:0 20px}
.hero .note{margin-top:8px;min-height:1.4em}
.linkish{font:inherit;font-size:12.5px;font-weight:600;color:var(--mut);text-decoration:underline;text-underline-offset:3px;padding:8px 2px;letter-spacing:0;text-transform:none}
.own-where{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}
.add-shop{margin-top:14px;padding:14px}
.panel select{width:100%;font:inherit;font-size:16px;padding:12px 38px 12px 14px;border-radius:12px;border:0;color:var(--ink);appearance:none;-webkit-appearance:none;box-shadow:inset 0 1px 3px rgba(21,26,36,.1);background-color:#f3f4f7;background-image:linear-gradient(45deg,transparent 50%,#6c7383 50%),linear-gradient(135deg,#6c7383 50%,transparent 50%);background-position:calc(100% - 21px) 50%,calc(100% - 15px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.panel select:focus{outline:2px solid #a78bfa}
.add-acts{flex-direction:column}
.add-acts .pill{width:100%;padding:14px}
.owner-tools{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:14px}
.owner-links{display:flex;gap:6px 20px;justify-content:center;flex-wrap:wrap;padding-top:6px}
.pill:disabled{opacity:.55}
.confirm-shop{margin-bottom:16px}
.confirm-who{font-size:15px;line-height:1.45;margin-top:8px}
.confirm-who b{font-size:17px}

/* ---------- Window shopping: the bubble over a shop, the shop panel, search ---------- */
.maplibregl-marker.bubble-pin{position:absolute}
.bubble-pin{width:272px}
.bubble{position:relative;padding:12px 12px 11px;border-radius:20px;background:rgba(251,252,253,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 22px 44px -18px rgba(21,26,36,.55),0 3px 8px rgba(21,26,36,.12),inset 0 1px 0 #fff;text-align:left;cursor:pointer}
.bubble::after{content:"";position:absolute;left:50%;bottom:-6px;width:14px;height:14px;margin-left:-7px;border-radius:3px;background:rgba(251,252,253,.97);transform:rotate(45deg);box-shadow:4px 4px 8px -4px rgba(21,26,36,.25)}
.b-name{font-weight:650;font-size:16px;letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.b-meta{margin-top:1px;font-size:12px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.b-meta b,.hrs b{font-weight:650}
.b-meta .open,.hrs .open{color:var(--ok)}
.b-meta .shut,.hrs .shut{color:#8a5a2b}
.b-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:10px}
.b-t{aspect-ratio:1;border-radius:9px;background:#eceef2;display:grid;place-items:center;overflow:hidden;font-size:14px;font-weight:500;color:#8b92a1}
.b-t img{width:100%;height:100%;object-fit:cover}
.b-t.sold{opacity:.38;filter:grayscale(1)}
.b-hint{display:flex;justify-content:space-between;align-items:baseline;margin-top:9px;font-size:12px;color:var(--mut)}
.b-hint b{font-weight:650;color:var(--ink)}
.b-line{margin-top:8px;font-size:12.5px;line-height:1.4;color:#3d4554}
.b-line b{font-weight:650;color:var(--ink)}
.b-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.b-acts .pill{padding:9px 13px;font-size:12.5px}
.b-own{display:block;margin-top:8px;padding:4px 0;font-size:12px;font-weight:600;color:var(--mut);text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:no-preference){.bubble{animation:bubble-in .22s cubic-bezier(.2,.8,.2,1)}}
@keyframes bubble-in{from{opacity:0;transform:translateY(6px) scale(.97)}}
/* the shop panel: four products half way up, everything all the way up */
.drawer[data-snap="high"] .only-mid{display:none!important}
.drawer:not([data-snap="high"]) .only-high{display:none!important}
.g.row4{margin-top:12px}
.more-hint{margin-top:10px;text-align:center;font-size:12.5px;font-weight:600;color:var(--mut)}
.hrs{margin-top:11px;font-size:13.5px;line-height:1.35}
.hrs span{color:#3d4554}
.hrs span::before{content:" · "}
.hrs small{display:block;margin-top:2px;font-size:11.5px;color:var(--mut)}
.usual{margin-top:14px}
.usual .label{margin:0 0 8px}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{padding:6px 11px;border-radius:99px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);font-size:12.5px;color:#3d4554}
.closest{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.near-head{margin:0 2px 10px;font-size:15px;font-weight:650;letter-spacing:-.01em}
.nshop{display:block;width:100%;text-align:left;padding:10px 10px 11px;margin-bottom:10px;border-radius:18px;background:var(--card);box-shadow:var(--lift)}
.nshop .g{margin-top:9px}
/* search */
#near:empty{display:none}
.find{position:relative;margin:12px 0 2px}
#near:empty+.find{margin-top:2px}
.find input{width:100%;font:inherit;font-size:16px;padding:12px 42px 12px 15px;border-radius:15px;border:0;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line),0 8px 16px -12px rgba(21,26,36,.35);-webkit-appearance:none;appearance:none}
.find input::-webkit-search-cancel-button{display:none}
.find input:focus{outline:2px solid #a9b4c6;outline-offset:0}
.find button{position:absolute;right:5px;top:50%;margin-top:-17px;width:34px;height:34px;border-radius:50%;font-size:12px;color:var(--mut)}
.sm.why{color:var(--ok);font-weight:600}
.sm.why.typical{color:var(--mut);font-weight:500}
#list .spot-head{margin-top:14px}
/* lit buildings that would overlap shrink, so each one can still be tapped */
.avatar .bld{transition:transform .2s,width .2s,height .2s}
.avatar.tight{width:62px;height:76px}
.avatar.tight .bld{width:62px;height:62px}
.avatar.tight .av-tag{top:59px;font-size:9px;padding:1px 6px}
.avatar.tight .bld-glow{left:8px;top:43px;width:46px;height:15px}
.avatar.tight .emb.float{top:-25px;width:22px;height:22px;margin-left:-11px}
.grab-zone{user-select:none;-webkit-user-select:none}

/* ---------- The bottom panel moves with a finger; the find-me button sits where the thumb is ---------- */
.grab-zone{padding:12px 0 12px}
.drawer.dragging{user-select:none;-webkit-user-select:none}
/* Half way up or lower, the panel itself moves: the list does not scroll under the finger. */
.drawer:not([data-snap="high"]) .drawer-body{touch-action:none}
.drawer:not([data-snap="high"]) .chips{touch-action:pan-x}
.locate-me{position:absolute;left:14px;bottom:calc(44vh + 14px);z-index:15;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#2f6bff;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 6px 14px -6px rgba(21,26,36,.4),inset 0 1px 0 #fff;touch-action:manipulation}
.locate-me svg{width:21px;height:21px;fill:currentColor;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.game:has(.drawer[data-snap="low"]) .locate-me{bottom:120px}
.game:has(.drawer[data-snap="high"]) .locate-me{opacity:0;pointer-events:none}
body.is-game #locate{visibility:hidden}
.toast{position:absolute;left:16px;right:16px;top:calc(132px + env(safe-area-inset-top));z-index:25;padding:11px 14px;border-radius:14px;background:rgba(21,26,36,.9);color:#fff;font-size:13.5px;line-height:1.4;text-align:center;opacity:0;transform:translateY(-6px);pointer-events:none}
.toast.show{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
 .locate-me,.dpad{transition:bottom .38s cubic-bezier(.2,.9,.25,1),opacity .25s,transform .2s}
 .locate-me:active{transform:scale(.94)}
 .locate-me.busy svg,#locate.busy svg{animation:locate-pulse 1s ease-in-out infinite}
 .toast{transition:opacity .25s,transform .25s}
}
@keyframes locate-pulse{50%{opacity:.3}}
/* On the map, the place name opens the list of places */
#title.area-pick{cursor:pointer;pointer-events:auto}
#title.area-pick::after{content:"";display:inline-block;width:8px;height:8px;margin-left:10px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:translateY(-6px) rotate(45deg);opacity:.4}
/* Zoomed out in 2D, unclaimed shops are small dots too (the 2D box size was winning over the dot size) */
.game.mode-2d .far .box{width:10px;height:10px}

/* ---------- Report a problem, hide a shop on this phone, windows older than two weeks ---------- */
.report{display:block;width:100%;min-height:44px;margin-top:10px;padding:0 12px;font-size:13px;color:var(--mut);text-align:center;text-decoration:underline;background:none;border:0;cursor:pointer}
.v-report{display:block;width:100%;min-height:44px;margin-top:6px;font-size:12.5px;color:var(--mut);text-decoration:underline;background:none;border:0;cursor:pointer}
.report-form{padding:6px 2px 0}
.report-form h3{font-size:22px;font-weight:600;letter-spacing:-.02em;margin-bottom:2px}
.report-form fieldset{border:0;margin:16px 0 14px;padding:0;display:flex;flex-direction:column;gap:8px}
.report-form legend{font-size:13px;font-weight:600;color:var(--mut);padding:0;margin-bottom:8px}
.report-form .choice{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px var(--line);font-size:15px;cursor:pointer}
.report-form .choice:has(input:checked){box-shadow:inset 0 0 0 2px var(--ink);background:#fff}
.report-form .choice input{width:20px;height:20px;flex:none;accent-color:var(--ink)}
.report-form .lbl{display:block;font-size:13px;font-weight:600;color:var(--mut);margin-bottom:6px}
.report-form textarea{display:block;width:100%;font:inherit;font-size:16px;padding:12px 14px;border-radius:14px;border:0;background:#fff;box-shadow:inset 0 0 0 1px var(--line);resize:vertical;min-height:84px}
.report-form .msg{padding:8px 0 0;min-height:1.5em;text-align:left;color:#a3401f}
.report-form .pill.wide{margin-top:8px}
.hide-here{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.linkish{font-size:inherit;color:inherit;text-decoration:underline;background:none;border:0;cursor:pointer;padding:12px 4px;margin:-12px 0}
.pw-old{color:var(--mut);font-weight:600;font-size:12.5px}
.note.old-note{font-size:13px;margin:8px 0 2px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px var(--line)}
.report-form .note,.hide-here .note{font-size:12.5px}

/* ---------- Finger-size controls: nothing to tap is under 44px tall ---------- */
.pill{min-height:44px}
.back{display:inline-flex;align-items:center;min-height:44px;padding:0 12px 0 2px;margin-bottom:2px}

/* ---------- Legibility: no text under 12px ---------- */
.kicker{font-size:12px;letter-spacing:.12em}
.label,.panel label{font-size:12px;letter-spacing:.1em}
.note,.foot,.hrs small,.v-when,.badge,.opt,.cn,.cp{font-size:12px}
.near-row .kick,.quest-step{font-size:12px;letter-spacing:.12em}
.g.g3 .cp,.shelf .g .cp{font-size:12px}
.my12-wrap.browsing .g.g3 .cn{font-size:12px}
.v-acts .pill,.my12-wrap.browsing .v-acts .pill{font-size:12.5px}
.sold-tag{font-size:12px;font-weight:700;letter-spacing:0;text-transform:none}
.av-tag,.avatar.tight .av-tag{font-size:12px}
.report-form .choice{color:var(--ink)}

/* ---------- Finger-size controls, part two ---------- */
.tabs button{font-size:12px;min-height:48px;justify-content:center}
.chip{display:inline-flex;align-items:center;min-height:44px;padding:0 15px;font-size:13px}
.find button{right:0;width:44px;height:44px;margin-top:-22px}
.v-close{top:0;right:0;width:44px;height:44px;display:grid;place-items:center;font-size:13px;background:none;box-shadow:none}
.v-close::before{content:"";position:absolute;inset:8px;border-radius:50%;background:rgba(255,255,255,.85);box-shadow:1px 2px 4px rgba(22,26,40,.12);z-index:-1}
.linkish{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;margin:-12px 0;font-size:12.5px}
/* The 3D/2D switch keeps its slim look; a clear border above and below each side makes the part you can tap 45px tall. */
.seg button{min-width:44px;border:solid transparent;border-width:9px 0;margin:-9px 0;background-clip:padding-box}
.seg button.on{box-shadow:none;filter:drop-shadow(0 3px 4px rgba(21,26,36,.35))}
.seg button.on{background-clip:padding-box}
.v-acts .pill,.my12-wrap.browsing .v-acts .pill{font-size:12px;padding:9px 4px;white-space:nowrap}
.b-own{display:flex;align-items:center;min-height:44px;padding:0;margin-top:2px}

/* Privacy, Terms and Support links under the list and on the owner's first screen */
.legal-links{display:flex;justify-content:center;gap:6px;padding-top:2px}
.legal-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:inherit}

/* Find me: the arrow button says what it is doing. A ring turns while the phone is asked; solid blue means the dot follows you. */
.locate-me.on{background:#2f6bff;color:#fff;box-shadow:0 8px 18px -6px rgba(47,107,255,.7),inset 0 1px 0 rgba(255,255,255,.35)}
#locate{position:relative}
#locate.on svg{stroke:#2f6bff}
.locate-me.busy::after,#locate.busy::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:3px solid #2f6bff;pointer-events:none}
/* The blue dot flashes wide for a moment when the map has just found you. */
.walker.ping .hero-ring{inset:-26px;background:radial-gradient(circle,rgba(47,107,255,.42),rgba(47,107,255,0) 70%)}
@media (prefers-reduced-motion:no-preference){
 .locate-me.busy::after,#locate.busy::after{border-color:rgba(47,107,255,.2);border-top-color:#2f6bff;animation:locate-spin .8s linear infinite}
 .walker.ping .hero-ring{animation:hero-ping .85s ease-out 3}
}
@keyframes locate-spin{to{transform:rotate(360deg)}}
@keyframes hero-ping{0%{transform:scale(.25);opacity:1}100%{transform:scale(1.2);opacity:0}}

/* The owner's own tile says "Sold out" in words, as shoppers see it. */
.cd{position:relative}
.own-sold{position:absolute;left:6px;top:6px;padding:3px 7px;border-radius:8px;background:rgba(21,26,36,.82);color:#fff;font-size:12px;font-weight:600}
.foot{overflow-wrap:anywhere}

/* Add my shop: a message the owner cannot miss, and room under the form so the last button clears the bottom bar. */
.add-msg{color:#a2452f;font-weight:600}
.add-msg:empty{display:none}
.add-form{margin-bottom:90px}
.add-form input:not([type="checkbox"]),.add-form select{min-height:44px}
#locate[hidden]{display:none}

/* ---------- 21 or older: the question where a cannabis shop's window would be, and the line in its bubble ---------- */
.adult-card{margin-top:12px;padding:14px;border-radius:18px;background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px var(--line)}
.adult-q{font-size:17px;font-weight:650;letter-spacing:-.015em;line-height:1.25}
.adult-line{margin-top:4px;font-size:13.5px;line-height:1.4;color:#3d4554}
.adult-line:only-child{margin-top:0}
.adult-card .acts{margin-top:12px}
.adult-card [data-adult="no"]{flex:none;min-width:76px}
.adult-warn{margin-top:10px;font-size:12px;line-height:1.4;color:var(--mut)}
.adult-warn.b-warn{margin-top:8px}
/* "Connect your register" on the owner's My shop screen, and the line shoppers see on a window a register fills */
.reg{margin-top:16px;padding:16px;border-radius:20px;background:var(--card);box-shadow:var(--lift);text-align:left;overflow-wrap:anywhere}
.reg-h{font-size:17px;font-weight:650;letter-spacing:-.015em;line-height:1.25}
.reg-line,.reg-step{margin-top:6px;font-size:13.5px;line-height:1.45;color:#3d4554}
.reg-step{margin-top:12px}
.reg-warn{color:#a3401f}
.reg-link{display:flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;color:var(--ink);text-underline-offset:3px}
.reg-form label{display:block;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--mut);margin:12px 0 6px}
.reg-form input,.reg-form textarea{display:block;width:100%;min-width:0;min-height:46px;font:inherit;font-size:16px;padding:12px 14px;border-radius:12px;border:0;background:#f3f4f7;box-shadow:inset 0 1px 3px rgba(21,26,36,.1);color:var(--ink)}
.reg-form textarea{min-height:96px;resize:vertical}
.reg-form input:focus,.reg-form textarea:focus{outline:2px solid #a78bfa}
.reg-keyrow{display:flex;gap:8px;align-items:stretch}
.reg-keyrow input{flex:1}
.reg-keyrow .pill{flex:none;min-width:72px}
.reg-note{margin-top:12px;font-size:12.5px;line-height:1.45;color:#3d4554}
.reg-form .pill.wide{margin-top:12px;padding:14px}
.reg-msg{min-height:1.5em;margin-top:10px;font-size:13px;line-height:1.45;color:var(--ink)}
.reg-msg:empty{display:none}
.reg .pill.armed{background:#fbe9e3;color:#a3401f}
.note.reg-lock{margin-top:0}
.note.from-reg{margin:6px 2px 0;font-size:12px}

/* ---------- Look refresh (his brief, 2026-11-29): a charcoal panel, crisp white for what matters, greys for the quiet things,
   and one thin colour-changing neon line as the edge between map and panel. Product cards stay white so photos read true. ---------- */
:root{--neon:linear-gradient(90deg,#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2,#a78bfa,#f0abfc)}
.drawer,.tabs{--ink:#fff;--mut:#a4a9b4;--line:rgba(255,255,255,.1);--ok:#6fd6a2;--char:#15171c;--card:linear-gradient(180deg,#262a32,#1e2128);--lift:0 10px 18px -12px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(255,255,255,.05)}
/* the edge: a 2px neon line that follows the rounded corners and slowly shifts colour. It is its own thin layer, so the moving
   colours never repaint the panel (that slowed finger flicks). */
.drawer{color:var(--ink);background:var(--char);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 -22px 44px -14px rgba(10,12,16,.6),0 -8px 22px -10px rgba(167,139,250,.55),0 -6px 18px -10px rgba(110,231,242,.5)}
.drawer::before{content:"";position:absolute;left:0;right:0;top:-2px;height:30px;border-radius:28px 28px 0 0;padding:2px 0 0;background:var(--neon);background-size:300% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
@media (prefers-reduced-motion:no-preference){.drawer::before{animation:edge-shift 14s linear infinite}}
@keyframes edge-shift{to{background-position:-300% 0}}
/* the handle: a crisp white bar in a 44px zone */
.grab-zone{height:44px;padding:11px 0 0;margin-bottom:-8px;display:grid;justify-items:center;align-content:start}
.grab-zone .grab{width:68px;height:6px;border-radius:99px;background:#fff;box-shadow:0 0 12px rgba(255,255,255,.35)}
/* hierarchy: white headings, grey support text, hairline dividers */
.drawer .label,.drawer .near-row .kick,.drawer .quest-step{color:#c9cdd6}
.drawer .near-head{display:flex;align-items:center;gap:10px}
.drawer .near-head::after{content:"";flex:1;height:1px;background:var(--line)}
.drawer .near-row{padding:10px 12px;border-radius:18px;background:var(--card);box-shadow:var(--lift)}
.drawer .srow,.drawer .nshop{background:var(--card);box-shadow:var(--lift)}
.drawer #list .spot-head{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.drawer .usual{padding-top:14px;border-top:1px solid var(--line)}
.drawer .find input,.drawer .report-form textarea{background:#0e1013;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.drawer .find input::placeholder{color:#8d93a0}
.drawer .find input:focus,.drawer .report-form textarea:focus{outline:2px solid #fff;outline-offset:0}
/* controls: white is the one primary action; everything else is charcoal */
.drawer .pill{background:var(--card);color:#fff;box-shadow:var(--lift)}
.drawer .pill.dark{background:#fff;color:#111318;box-shadow:0 10px 22px -10px rgba(255,255,255,.35)}
.drawer .pill.saved{background:rgba(111,214,162,.16);color:var(--ok)}
.drawer .pill.claim{color:#fff;background:linear-gradient(#0b0c0f,#0b0c0f) padding-box,var(--neon) border-box;border:1.5px solid transparent;box-shadow:0 0 16px -4px rgba(167,139,250,.6)}
.drawer .badge,.drawer .tag{background:rgba(255,255,255,.07);color:#d5d8df;box-shadow:inset 0 0 0 1px var(--line)}
.drawer .badge.today{color:var(--ok)}
.drawer .ck{color:#111318}
.drawer .note.quiet,.drawer .note.old-note,.drawer .adult-card,.drawer .report-form .choice{background:rgba(255,255,255,.05);color:#d5d8df;box-shadow:inset 0 0 0 1px var(--line)}
.drawer .report-form .choice:has(input:checked){background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 2px #fff}
.drawer .hrs span,.drawer .adult-line,.drawer .quest p{color:#c9cdd6}
.drawer .hrs .shut,.drawer .report-form .msg{color:#e2b07a}
.drawer .spin{border-color:rgba(255,255,255,.2);border-top-color:#fff}
/* product cards and the product viewer stay crisp white, with their own dark text */
.drawer .cd,.drawer .viewer,.drawer .pwin{color:#151a24;--ink:#151a24;--mut:#6c7383;--ok:#2a7a52;--line:rgba(21,26,36,.07);--card:linear-gradient(180deg,#fdfdfe,#f1f3f6);--lift:0 10px 18px -12px rgba(0,0,0,.6),inset 0 1px 0 #fff}
.drawer .viewer .pill{background:var(--card);color:#151a24;box-shadow:0 6px 14px -8px rgba(21,26,36,.35),inset 0 1px 0 #fff}
.drawer .viewer .pill.dark{background:var(--dark);color:#fff}
/* the bottom bar is part of the panel: black, grey labels, the active tab in white under a short neon bar */
.tabs{background:rgba(13,14,17,.97);border-top:1px solid rgba(255,255,255,.08)}
.tabs button{position:relative;color:#8d93a0}
.tabs .on{color:#fff}
.tabs .on::before{content:"";position:absolute;top:-1px;left:50%;width:30px;height:2px;margin-left:-15px;border-radius:2px;background:var(--neon)}
@media (hover:hover){.tabs button:hover{color:#fff}.drawer .pill:hover{box-shadow:var(--lift)}}

/* ---------- Glows with a job (his brief, 2026-11-29). Each takes its colours from the edge line, so they read as one family.
   --g-sel: the shop you are on, the same on the map and in the list. --g-tog: switches (3D/2D, on/off). --g-pick: the chosen filter. ---------- */
:root{--g-sel:linear-gradient(120deg,#6ee7f2,#a78bfa);--g-tog:linear-gradient(120deg,#f0abfc,#fde68a);--g-pick:linear-gradient(120deg,#86efac,#d9f99d)}
.drawer .srow.sel::after,.drawer .near-row.sel::after,#drawer-body>.shop>.sh::after,.bubble::before,.drawer .chip.on::after,.seg button.on::after,.switch-row input:checked+.switch::before,.ledger-pane>.shop>.sh::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:var(--g-sel);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
/* 1. the shop you are on */
.drawer .srow,.drawer .near-row,#drawer-body>.shop>.sh,.drawer .chip,.seg button,.ledger-pane>.shop>.sh{position:relative}
.drawer .srow.sel,.drawer .near-row.sel,#drawer-body>.shop>.sh,.ledger-pane>.shop>.sh{box-shadow:var(--lift),0 0 16px -3px rgba(110,231,242,.65),0 0 28px -8px rgba(167,139,250,.7)}
#drawer-body>.shop>.sh,
.ledger-pane>.shop>.sh{padding:10px 12px;border-radius:18px;background:var(--card)}
.bubble{box-shadow:0 22px 44px -18px rgba(21,26,36,.55),0 3px 8px rgba(21,26,36,.12),inset 0 1px 0 #fff,0 0 18px -2px rgba(110,231,242,.75),0 0 30px -6px rgba(167,139,250,.7)}
.avatar.sel .bld{filter:drop-shadow(0 0 5px #6ee7f2) drop-shadow(0 0 13px #a78bfa)}
.box.sel .emb.grey{box-shadow:0 0 0 1.5px #6ee7f2,0 0 9px 1px #a78bfa}
.box.as-dot.sel::after,.far .box.sel::after{box-shadow:0 0 0 2px #6ee7f2,0 0 10px 3px #a78bfa}
/* 2. switches */
.seg button.on::after,.switch-row input:checked+.switch::before{background:var(--g-tog)}
.seg button.on{filter:drop-shadow(0 0 5px rgba(240,171,252,.95)) drop-shadow(0 3px 4px rgba(21,26,36,.35))}
.switch-row input:checked+.switch{background:#151a24;box-shadow:0 0 12px rgba(240,171,252,.8),0 0 20px -4px rgba(253,230,138,.7)}
.switch-row input:checked+.switch::before{padding:2px}
/* 3. the chosen filter: black with its own glowing edge; the rest crisp white with black text */
.drawer .chip{background:#fff;color:#111318;box-shadow:none}
.drawer .chip.on{background:#0b0c0f;color:#fff;box-shadow:0 0 14px -2px rgba(134,239,172,.8),0 0 24px -8px rgba(217,249,157,.7)}
.drawer .chip.on::after{background:var(--g-pick)}
/* small phones: the new handle zone and the selected-shop card must not push the first buttons off screen half way up */
.grab-zone{margin-bottom:-14px}
#drawer-body>.shop>.sh,
.ledger-pane>.shop>.sh{padding:6px 10px}
.drawer .adult-card{margin-top:8px}
.drawer .back{margin-bottom:0}

/* ---------- Lit or dark by opening hours (his brief, 2026-11-29). Every unclaimed shop is the same glass box.
   Open now: warm light in the glass. Closed now: dark glass. Hours not known for certain: plain glass. ---------- */
.box,.av.box-av{--tone:grayscale(1) brightness(.9) contrast(1.12);--halo:drop-shadow(0 4px 5px rgba(21,26,36,.38))}
.box .bld,.av.box-av .bld{filter:var(--tone) var(--halo)}
.av.box-av{--halo:drop-shadow(0 0 0 transparent)}
.box.lit,.av.box-av.lit{--tone:grayscale(1) sepia(.7) saturate(1.9) hue-rotate(-8deg) brightness(.98) contrast(1.12);--halo:drop-shadow(0 0 4px rgba(255,190,105,.9)) drop-shadow(0 0 12px rgba(255,170,80,.5))}
.box.dark,.av.box-av.dark{--tone:grayscale(1) brightness(.5) contrast(1.2)}
.box.sel{--halo:drop-shadow(0 0 4px #6ee7f2) drop-shadow(0 0 11px #a78bfa)}
/* far away, a shop is a dot: amber when open, dark when closed */
.box.lit.as-dot::after,.far .box.lit::after{background:#f0b25c;box-shadow:0 0 0 1.5px #fff,0 0 8px 1px rgba(255,180,90,.9)}
.box.dark.as-dot::after,.far .box.dark::after{background:#4a4f5a}
/* a claimed building keeps its own look; its light goes out while the shop is closed */
.avatar.dark .bld-glow{display:none}
.avatar.dark .bld{filter:brightness(.72) saturate(.7) drop-shadow(0 10px 12px rgba(21,26,36,.3))}
.avatar.dark.sel .bld{filter:brightness(.72) saturate(.7) drop-shadow(0 0 5px #6ee7f2) drop-shadow(0 0 13px #a78bfa)}

/* ---------- An empty window (his brief, 2026-11-29): the label "Window shopping" and the 12 open spots of the shop's window.
   Half way up they are one fine strip of 12 panes; all the way up, two rows of six. ---------- */
.slots{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;margin:12px 0 2px}
.slots i{aspect-ratio:1;border-radius:6px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.drawer[data-snap="high"] .slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.drawer[data-snap="high"] .slots i{border-radius:10px}
.win-head+.slots+.note.quiet{margin-top:10px}
.win-head{display:flex;align-items:baseline;gap:8px;margin:14px 2px -4px}
.win-head b{font-size:15px;letter-spacing:-.01em}
.win-head span{font-size:12.5px;color:var(--mut)}

/* ---------- Bigger shop pictures (his ask, 2026-11-29: "I can't even tell what that is") ---------- */
.drawer .srow .av.box-av,.drawer .near-row .av.box-av,.drawer .srow .av.bld-av,.drawer .near-row .av.bld-av{width:68px;height:68px}
.drawer .srow .av.box-av .bld,.drawer .near-row .av.box-av .bld{width:64px;height:64px}
.drawer .srow .emb.grey,.drawer .near-row .emb.grey,.drawer .srow .emb.mini,.drawer .near-row .emb.mini{width:22px;height:22px}
.drawer .srow,.drawer .near-row{padding-top:6px;padding-bottom:6px}
@media (min-height:740px){#drawer-body>.shop>.sh .av.box-av,#drawer-body>.shop>.sh .av.bld-av,.ledger-pane>.shop>.sh .av.box-av,.ledger-pane>.shop>.sh .av.bld-av{width:68px;height:68px}#drawer-body>.shop>.sh .av.box-av .bld,.ledger-pane>.shop>.sh .av.box-av .bld{width:64px;height:64px}#drawer-body>.shop>.sh .emb,.ledger-pane>.shop>.sh .emb{width:22px;height:22px}}

/* Sign in with Google card: on My route and on the owner's first screen; empty (and invisible) while the host's switch is off */
.auth-slot:empty{display:none}
.auth-card{margin:0 0 16px}
.auth-card .gbtn{margin-top:12px;min-height:44px;display:flex}
.auth-card .acts{align-items:center}

/* What a page reader sees before the map draws: the app's name, one line about it, and the Privacy and Terms links. The app replaces it at once. */
.boot{padding:calc(90px + env(safe-area-inset-top)) 20px 20px;color:#6c7383;font-size:14px;line-height:1.5}
.boot h2{font-size:18px;color:#151a24;margin-bottom:6px}
.boot a{display:inline-flex;align-items:center;min-height:44px;color:inherit}

/* ---------- The computer version (his asks, 2026-11-29: "a beautiful website", "make it luxurious"). The same charcoal, white and
   neon-line look as the phone, given room: a full-width header with the name, the place and the three sections; the shop panel
   floats over a full-screen map; the other screens are white cards on charcoal. Phones are unchanged. ---------- */
.brand{display:none}
@media (min-width:900px){
 html,body{background:#0f1114}
 .app{max-width:none;padding:72px 0 0;min-height:100dvh}
 /* header */
 body .app .top{position:fixed;top:0;left:0;right:0;transform:none;width:100%;max-width:none;height:72px;padding:0 28px;z-index:30;display:flex;justify-content:flex-start;align-items:center;gap:30px;background:linear-gradient(180deg,#16181d,#0c0d10);pointer-events:auto;box-shadow:0 14px 34px -14px rgba(8,9,12,.75),inset 0 1px 0 rgba(255,255,255,.05)}
 body .app .top::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--neon);background-size:300% 100%}
 .brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:#fff;white-space:nowrap}
 .brand img{width:42px;height:42px;border-radius:11px;object-fit:cover;background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 8px 16px -8px #000}
 .brand-t{display:flex;flex-direction:column;gap:1px}
 .brand-t b{font-size:17.5px;font-weight:650;letter-spacing:-.015em;line-height:1.15}
 .brand-t small{font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#8d93a0}
 .where{display:flex;align-items:baseline;gap:11px;padding-left:30px;border-left:1px solid rgba(255,255,255,.12)}
 .top .kicker{color:#8d93a0}
 .top .title{font-size:21px;margin:0;color:#fff;letter-spacing:-.02em}
 .top-actions{display:none}
 .tabs{left:auto;right:20px;top:0;bottom:auto;transform:none;width:auto;max-width:none;height:72px;padding:0;z-index:31;gap:4px;background:none;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}
 .tabs button{flex-direction:row;gap:9px;min-width:0;min-height:48px;padding:0 18px;font-size:14.5px;letter-spacing:.01em}
 .tabs svg{width:19px;height:19px}
 .tabs .on::before{top:auto;bottom:2px;left:18px;width:calc(100% - 36px);margin-left:0;height:2px}
 /* the map screen: a full-screen map with the panel floating over it */
 .game{height:calc(100dvh - 72px)}
 .game::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(13,14,17,.16),rgba(13,14,17,0) 110px),radial-gradient(120% 95% at 62% 48%,rgba(13,14,17,0) 58%,rgba(13,14,17,.2) 100%)}
 .drawer{left:20px;top:20px;bottom:20px;right:auto;width:420px;height:auto;border-radius:26px;transform:none!important;transition:none;touch-action:auto;background:linear-gradient(180deg,#191c22,#131519 220px);box-shadow:0 34px 70px -24px rgba(8,9,12,.75),0 0 0 1px rgba(255,255,255,.05),0 -8px 26px -12px rgba(167,139,250,.5),0 -6px 20px -12px rgba(110,231,242,.45)}
 .grab-zone{display:none}
 .drawer-body{padding:24px 20px 26px;border-radius:26px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
 .drawer .chips{flex-wrap:wrap;overflow:visible;margin:0 0 16px;padding:2px 0 4px;gap:8px}
 .drawer .rows{gap:8px}
 .drawer .srow{padding:8px 14px 8px 10px;border-radius:20px}
 .drawer .sn{font-size:17px}
 .drawer .spot-name{font-size:24px}
 .drawer .find input{padding:15px 46px 15px 18px;border-radius:16px}
 .drawer .srow:hover,.drawer .near-row:hover,.drawer .nshop:hover{transform:none;box-shadow:var(--lift),inset 0 0 0 1px rgba(255,255,255,.26)}
 .hud{left:464px;top:22px}
 .toast{left:464px;right:28px;top:76px}
 .game .dpad,.game.mode-3d .dpad,.game:has(.drawer[data-snap="high"]) .dpad{right:28px;bottom:32px;opacity:1;pointer-events:auto}
 .game.mode-2d .dpad{opacity:0;pointer-events:none}
 .game .locate-me,.game:has(.drawer[data-snap="high"]) .locate-me{left:464px;bottom:32px;opacity:1;pointer-events:auto}
 /* the other screens: white cards on charcoal, in one calm column */
 #view>.pad{max-width:780px;margin:0 auto;padding:44px 24px 90px;color:#eef0f3;--mut:#a4a9b4;--line:rgba(255,255,255,.12)}
 #view>.pad :is(.hero,.row,.panel,.look,.reg,.cd,.empty,.search,.pick,.nudge,.viewer){color:#151a24;--mut:#6c7383;--line:rgba(21,26,36,.07)}
 #view>.pad>.note.quiet{background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);color:#d5d8df}
 #view>.pad .hero{padding:30px 28px}
 #view>.pad .hero h2{font-size:28px}
 #view>.pad .hero p{font-size:15.5px}
 #view>.pad.shelf .g{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
 #view>.pad.shelf .g .cd,#view>.pad.shelf .g .empty{padding:9px 9px 10px}
 .drawer .acts .pill{white-space:nowrap}
 #view>.pad>.acts .pill.dark{background:#fff;color:#111318;box-shadow:0 10px 22px -10px rgba(255,255,255,.3)}
 #view>.pad>.acts .pill:not(.dark){background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
 .a2-page{padding-top:40px}
 .boot{padding:40px 24px;color:#a4a9b4}
 .boot h2{color:#fff}
}
@media (min-width:900px) and (prefers-reduced-motion:no-preference){body .app .top::after{animation:edge-shift 14s linear infinite}}
@media (min-width:900px) and (max-width:1139px){.brand-t small,.top .kicker{display:none}}

/* owner-set opening hours (My shop) */
.hrs-edit{margin:14px 0;padding:14px;border-radius:18px;background:var(--card);box-shadow:0 1px 3px rgba(21,26,36,.08)}
.hr-rows{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.hr-row{display:flex;align-items:center;gap:8px;min-height:44px}
.hr-day{display:flex;align-items:center;gap:8px;width:76px;flex:none;min-height:44px;font-weight:600;font-size:14px}
.hr-day input{width:22px;height:22px}
.hr-t{flex:1;min-width:0;min-height:44px;font:inherit;font-size:16px;padding:6px 8px;border-radius:12px;border:0;background:#f3f4f7;color:#151a24;box-shadow:inset 0 1px 3px rgba(21,26,36,.1)}
.hr-to,.hr-closed{font-size:13px;color:var(--mut)}
.hrs-edit .acts{flex-wrap:wrap}
.hr-row{gap:6px}.hr-day{width:66px}.hr-t{padding:6px 4px;text-align:center}
.hr-t::-webkit-calendar-picker-indicator{display:none}
.hr-day input{-webkit-appearance:none;appearance:none;position:relative;width:44px;height:44px;margin:0 -12px 0 -10px;background:none;border:0}
.hr-day input::before{content:"";position:absolute;inset:11px;border-radius:6px;border:2px solid #9aa1b0;background:#fff}
.hr-day input:checked::before{background:#151a24;border-color:#151a24;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 20px #151a24}
.hr-day input:focus-visible::before{outline:2px solid #a78bfa;outline-offset:2px}
.hrs-note{margin:8px 0 0;font-size:13px;line-height:1.4;color:var(--mut);min-height:1.4em}

/* shelf slots in the bubble: four slots, the shop's first four items, the rest an empty shelf */
.b-shelf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px;padding-bottom:6px;border-bottom:3px solid #d5d9e1;border-radius:0 0 3px 3px}
.b-s{aspect-ratio:1;border-radius:10px;background:#eceef2;display:grid;place-items:center;overflow:hidden;color:#6c7383;font-size:11px;line-height:1.15;text-align:center;padding:3px;box-shadow:inset 0 1px 2px rgba(21,26,36,.08)}
.b-s:has(img){padding:0}
.b-s img{width:100%;height:100%;object-fit:cover;display:block;border-radius:10px}
.b-s i{font-style:normal;font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.b-s.sold{opacity:.4;filter:grayscale(1)}
.b-s.empty{background:transparent;border:1.5px dashed #cdd1da;box-shadow:none}
/* swiping the bubble: it follows the finger and never drags the map */
.bubble{touch-action:none;will-change:transform}
@media (prefers-reduced-motion:no-preference){
  .bubble.in-next{animation:bubble-in-next .25s cubic-bezier(.2,.8,.2,1)}
  .bubble.in-prev{animation:bubble-in-prev .25s cubic-bezier(.2,.8,.2,1)}
}
@keyframes bubble-in-next{from{opacity:0;transform:translate3d(46px,0,0)}}
@keyframes bubble-in-prev{from{opacity:0;transform:translate3d(-46px,0,0)}}
.near-row{touch-action:pan-y;will-change:transform}
/* the ledger: a bottom sheet over the map with one shop's whole window */
.ledger{position:fixed;inset:0;z-index:9000}
.ledger[hidden]{display:none}
.ledger-scrim{position:absolute;inset:0;background:rgba(10,12,16,.5);opacity:0;transition:opacity 250ms ease-out}
.ledger.open .ledger-scrim{opacity:1}
.ledger .drawer.ledger-sheet{position:absolute;left:0;right:0;bottom:0;top:auto;width:auto;height:auto;max-height:90%;z-index:1;border-radius:26px 26px 0 0;margin:0;touch-action:none;transform:translate3d(0,var(--ly,100%),0)!important;transition:transform 250ms cubic-bezier(.2,.8,.2,1)!important;will-change:transform;overflow:hidden}
.ledger.open .drawer.ledger-sheet{--ly:0px}
.ledger .drawer.ledger-sheet.dragging{transition:none!important}
.ledger-clip{overflow-x:hidden;overflow-y:auto;touch-action:pan-y;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
.ledger-pane{will-change:transform;touch-action:pan-y}
.ledger-pane .back{display:none}
@media (min-width:900px){.ledger .drawer.ledger-sheet{left:50%;right:auto;width:560px;margin-left:-280px;bottom:0;top:auto;border-radius:26px 26px 0 0}}
@media (prefers-reduced-motion:reduce){.ledger .drawer.ledger-sheet,.ledger-scrim{transition-duration:1ms!important}}
/* a shop's twelve: crisp, compact cards in four columns; an unfilled slot is an empty shelf box */
.drawer .g.g3,.drawer .g.row4{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.drawer .g.g3 .cd,.drawer .g.row4 .cd{aspect-ratio:1/1.22;padding:6px 5px 7px;border-radius:11px;align-items:center;text-align:center;background:linear-gradient(180deg,#fff,#f0f2f5);border:0;box-shadow:0 0 0 1px rgba(21,26,36,.1),inset 0 1px 0 #fff,0 6px 10px -7px rgba(0,0,0,.7);-webkit-font-smoothing:antialiased}
.drawer .g.g3 .pic,.drawer .g.row4 .pic{flex:1 1 auto;width:100%;padding:3% 10% 0;border-radius:8px}
.drawer .g.g3 .pic img,.drawer .g.row4 .pic img{object-fit:contain}
.drawer .g.g3 .cn,.drawer .g.row4 .cn{width:100%;margin-top:3px;font-size:12px;font-weight:650;line-height:1.15;letter-spacing:-.01em;color:#151a24;text-align:center;-webkit-line-clamp:2}
.drawer .g.g3 .cn .dot,.drawer .g.row4 .cn .dot{display:none}
.drawer .g.g3 .cp,.drawer .g.row4 .cp{font-size:12px;font-weight:700;color:#4b5263;margin-top:1px}
.drawer .g .cd.slot-empty{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),inset 0 -3px 0 rgba(255,255,255,.1)}
.drawer .slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 2px}
.drawer .slots i,.drawer[data-snap="high"] .slots i{aspect-ratio:1/1.1;border-radius:11px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),inset 0 -3px 0 rgba(255,255,255,.1)}
.drawer[data-snap="high"] .slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}

/* "+4": the fourth slot of a shelf of more than four items opens the rest */
.b-s.more{background:#151a24;color:#fff;font-size:15px;font-weight:700;border:0;cursor:pointer;letter-spacing:-.01em;min-height:44px}
.b-less{display:block;margin:6px 0 0;padding:6px 2px;font-size:12px;font-weight:600;color:var(--mut);text-decoration:underline;text-underline-offset:3px}
.bubble:has(.b-shelf.open) .b-grid{display:none}
.drawer .g.row4 .cd.more-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:linear-gradient(180deg,#2d323c,#1d2027);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.14),inset 0 1px 0 rgba(255,255,255,.1),0 6px 10px -7px rgba(0,0,0,.7);cursor:pointer}
.drawer .g.row4 .cd.more-tile b{font-size:20px;font-weight:700;letter-spacing:-.02em}
.drawer .g.row4 .cd.more-tile span{font-size:12px;font-weight:600;color:#a4a9b4}
.b-s{padding:2px}
.b-s i{font-size:12px;font-weight:600;letter-spacing:-.015em;word-break:normal;overflow-wrap:break-word;hyphens:none}
/* ---------- Contrast pass (his brief, 2026-11-29 late): the closest-shop card and the search box go crisp frosted white with dark type,
   so they read as the premium surfaces on the charcoal. Search gets a turning neon ring while it is selected. The active-tab light is
   redone as a deliberate glowing pill hanging from the top edge of the bar. ---------- */
.drawer .near-row{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,241,246,.94));-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);color:#0f1218;--ink:#0f1218;--mut:#5b6272;--line:rgba(15,18,24,.08);box-shadow:0 16px 30px -18px rgba(0,0,0,.85),0 2px 6px -2px rgba(0,0,0,.35),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.7)}
.drawer .near-row .kick{color:#6b7280}
.drawer .near-row .sn{color:#0b0d12}
.drawer .near-row .sm{color:#4b5263}
.drawer .near-row .badge{background:rgba(15,18,24,.06);color:#2b303b;box-shadow:inset 0 0 0 1px rgba(15,18,24,.08)}
.drawer .near-row .badge.today{color:#2a7a52}
.drawer .near-row.sel{box-shadow:0 16px 30px -18px rgba(0,0,0,.85),inset 0 1px 0 #fff,0 0 16px -3px rgba(110,231,242,.65),0 0 28px -8px rgba(167,139,250,.7)}
@media (hover:hover){.drawer .near-row:hover{box-shadow:0 16px 30px -18px rgba(0,0,0,.85),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(15,18,24,.12)}}
/* search: white field, dark type, neon ring that turns while focused */
.drawer .find{position:relative;border-radius:17px;isolation:isolate}
.drawer .find::before{content:"";position:absolute;inset:-2px;border-radius:17px;padding:2px;background:conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:1}
.drawer .find::after{content:"";position:absolute;inset:-2px;border-radius:17px;box-shadow:0 0 18px -2px rgba(167,139,250,.7),0 0 30px -8px rgba(110,231,242,.7);opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:-1}
.drawer .find:focus-within::before,.drawer .find:focus-within::after{opacity:1}
@media (prefers-reduced-motion:no-preference){.drawer .find:focus-within::before{animation:glow-turn 4s linear infinite}}
.drawer .find input{background:linear-gradient(180deg,#fff,#f4f6f9);color:#0f1218;box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(15,18,24,.06),0 10px 20px -14px rgba(0,0,0,.8)}
.drawer .find input::placeholder{color:#7a8190}
.drawer .find input:focus{outline:0;box-shadow:inset 0 1px 0 #fff,0 10px 20px -14px rgba(0,0,0,.8)}
.drawer .find button{color:#5b6272;z-index:2}
/* the active tab: a short glowing pill hanging from the top edge, colours drifting like the panel edge, a soft light under it */
.tabs .on::before{top:0;width:36px;height:3px;margin-left:-18px;border-radius:0 0 3px 3px;background:var(--neon);background-size:300% 100%;box-shadow:0 0 10px rgba(167,139,250,.75),0 0 18px -2px rgba(110,231,242,.6)}
.tabs .on::after{content:"";position:absolute;top:0;left:50%;width:64px;height:26px;margin-left:-32px;background:radial-gradient(ellipse at 50% 0,rgba(167,139,250,.28),rgba(110,231,242,.1) 45%,transparent 72%);pointer-events:none}
.tabs .on svg{filter:drop-shadow(0 0 6px rgba(167,139,250,.55))}
@media (prefers-reduced-motion:no-preference){.tabs .on::before{animation:edge-shift 14s linear infinite}}
@media (min-width:900px){.tabs .on::before{top:auto;bottom:2px;left:18px;width:calc(100% - 36px);margin-left:0;border-radius:3px}.tabs .on::after{display:none}}
/* search: a magnifier icon at the left of the field */
.drawer .find input{padding-left:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6272' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff,#f4f6f9);background-repeat:no-repeat;background-position:15px 50%,0 0;background-size:20px 20px,100% 100%}
@media (min-width:900px){.drawer .find input{padding-left:48px;background-position:17px 50%,0 0}}
/* ---------- Light cards on the charcoal: the shop header (panel and ledger), the list rows and the closest-shop cards read like the
   closest-shop card above them: crisp frosted white, dark type. ---------- */
.drawer .srow,.drawer .nshop,#drawer-body>.shop>.sh,.ledger-pane>.shop>.sh{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,241,246,.94));color:#0f1218;--ink:#0f1218;--mut:#5b6272;--line:rgba(15,18,24,.08);box-shadow:0 16px 30px -18px rgba(0,0,0,.85),0 2px 6px -2px rgba(0,0,0,.35),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.7)}
.drawer .srow .sn,.drawer .nshop .sn,#drawer-body>.shop>.sh .sn,.ledger-pane>.shop>.sh .sn{color:#0b0d12}
.drawer .srow .sm,.drawer .nshop .sm,#drawer-body>.shop>.sh .sm,.ledger-pane>.shop>.sh .sm{color:#4b5263}
.drawer .srow .badge,.drawer .nshop .badge,#drawer-body>.shop>.sh .badge,.ledger-pane>.shop>.sh .badge{background:rgba(15,18,24,.06);color:#2b303b;box-shadow:inset 0 0 0 1px rgba(15,18,24,.08)}
.drawer .srow .badge.today,.drawer .nshop .badge.today,#drawer-body>.shop>.sh .badge.today,.ledger-pane>.shop>.sh .badge.today{color:#2a7a52}
.drawer .srow.sel,#drawer-body>.shop>.sh,.ledger-pane>.shop>.sh{box-shadow:0 16px 30px -18px rgba(0,0,0,.85),inset 0 1px 0 #fff,0 0 16px -3px rgba(110,231,242,.65),0 0 28px -8px rgba(167,139,250,.7)}
.drawer .srow .why,.drawer .nshop .why{color:#4b5263}

/* ---------- Wanted nearby ---------- */
.want-ask{margin:12px 0;padding:14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,241,246,.94));color:#0f1218;box-shadow:0 16px 30px -18px rgba(0,0,0,.85),inset 0 1px 0 #fff}
.want-ask b{display:block;font-size:15px;font-weight:650}
.want-ask .want-note{margin:4px 0 10px;font-size:13px;line-height:1.4;color:#4b5263}
.want-ask .pill{width:100%}
.want-pull{margin:10px 0 0;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.4;color:#fff;background:rgba(167,139,250,.14);box-shadow:inset 0 0 0 1px rgba(167,139,250,.4)}
.b-want{color:#5b3fb0;font-weight:600}
.want-card{margin:14px 0;padding:14px;border-radius:18px;background:var(--card);box-shadow:var(--lift)}
.want-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.want-list li{display:flex;justify-content:space-between;align-items:center;min-height:36px;padding:6px 10px;border-radius:12px;background:rgba(127,127,127,.08);font-size:14px}
.want-list b{font-size:13px;font-weight:650;color:var(--mut)}

/* ---------- In windows near you: the strip in the list and the full sheet ---------- */
.feed-strip{margin:4px 0 16px}
.feed-head{display:flex;justify-content:space-between;align-items:center;min-height:44px}
.feed-head b{font-size:17px;font-weight:650;letter-spacing:-.01em}
.feed-head .linkish{color:#c9cdd6;font-size:13px;min-height:44px}
.feed-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;margin:0 -2px;scrollbar-width:none;touch-action:pan-x pan-y}
.feed-row::-webkit-scrollbar{display:none}
.feed-row .feed-t{flex:0 0 132px;scroll-snap-align:start}
.feed-sub{margin:2px 0 0;font-size:12px;color:var(--mut)}
.feed-t{display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:7px 7px 9px;border-radius:14px;text-align:left;background:linear-gradient(180deg,#fff,#f0f2f5);color:#0f1218;box-shadow:0 0 0 1px rgba(21,26,36,.1),inset 0 1px 0 #fff,0 8px 14px -10px rgba(0,0,0,.8);-webkit-font-smoothing:antialiased;min-width:0}
.feed-t:active{transform:scale(.985)}
.feed-pic{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:10px;background:#f3f4f7;overflow:hidden;margin-bottom:4px}
.feed-pic img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.feed-pic i{font-style:normal;font-size:26px;color:#9aa1ae}
.feed-pic em{position:absolute;left:6px;top:6px;padding:2px 7px;border-radius:9px;font-style:normal;font-size:12px;font-weight:650;background:#151a24;color:#fff}
.feed-t.sold .feed-pic img,.feed-t.sold .feed-pic i{opacity:.4;filter:grayscale(1)}
.feed-t b{font-size:13px;font-weight:650;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feed-p{font-size:12.5px;font-weight:700;color:#2b303b}
.feed-t small{font-size:12px;color:#5b6272;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feed-top h3{margin:4px 0 2px;font-size:20px;font-weight:650;letter-spacing:-.015em}
.feed-top p{margin:0 0 12px;font-size:13px;color:var(--mut)}
.feed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:900px){.feed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- a shop's chat room ---------- */
/* In the new look (2026-12-02, before it goes on): the theme's own colours, Night (:root) and Day (:root.th-day). It was a white card,
   which sat bright in the Night panel; and the owner's Remove is 44px tall like every other tap. */
:root .chat{margin:16px 0 4px;padding:14px;border-radius:18px;background:var(--t-bg2);color:var(--t-ink);--mut:var(--t-mut);box-shadow:inset 0 0 0 1px var(--t-line)}
:root .chat .label{color:var(--t-mut)!important}
.chat-list{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-y:auto}
:root .chat-m{padding:8px 10px;border-radius:12px;background:var(--t-bg3);color:var(--t-ink)}
:root .chat-m.own{background:var(--t-pri);color:var(--t-pri-ink)}
.chat-m div{display:flex;justify-content:space-between;gap:8px;font-size:12.5px}
:root .chat-m small{font-size:12px;color:var(--t-mut)}
:root .chat-m.own small{color:inherit;opacity:.75}
.chat-m p{margin:3px 0 0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
:root .chat-m .linkish{margin-top:2px;min-height:44px}
:root .chat-m.own .linkish{color:var(--t-pri-ink)!important} /* the general link ink is the owner bubble's own colour: Remove was invisible there */
:root .chat-empty{margin:0 0 10px;font-size:13px;color:var(--t-mut)}
.chat-form{display:flex;flex-direction:column;gap:8px}
.chat-form input{width:100%;min-height:44px;font:inherit;font-size:16px;padding:10px 12px;border-radius:12px;border:0;background:var(--t-bg3);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line)}
.chat-row{display:flex;gap:8px}
.chat-row .pill{flex:none;min-height:44px}
:root .chat-note{margin:0;font-size:12px;color:var(--t-mut)}

/* ---------- looks this week (owner) ---------- */
.looks-n{display:flex;align-items:baseline;gap:10px;margin:2px 0 6px}
.looks-n b{font-size:34px;font-weight:700;letter-spacing:-.03em;line-height:1}
.looks-n span{font-size:14px;color:var(--mut)}

/* ---------- a shop's door turned to its other front face (doorSide in app.js): the picture is mirrored, and with it the
   badge and the tap zone of a glass store, so the whole store is a true mirror image ---------- */
.maplibregl-marker.flip .bld{scale:-1 1}
.game.mode-3d .box.flip .emb.grey{left:calc(var(--s,44px)*.12 - var(--b)/2)}
.game.mode-3d .box.flip:not(.as-dot)::before{transform:translateX(-53%)}

/* ================= Search first (his pick of three layouts, 2026-11-30) =================
   On a phone the search box sits at the top of the screen over the map, with the place name, the map view and
   "Home screen" as a row of chips under it; the big header is gone from the map. The panel starts with the kinds of shop
   and the shops themselves: no "Closest shop" card (it repeated the first row) and no count heading. While the box is in
   use the list takes the screen under it (search mode), with a Cancel button. On a computer the header stays and the
   search box is the first thing in the side panel. */
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.place-chip,.a2-chip,.q-cancel{display:none}
@media (max-width:899px){
  body.is-game .top{display:none}
  .topfind{position:absolute;left:14px;right:14px;top:calc(10px + env(safe-area-inset-top));z-index:21;display:flex;align-items:center;gap:8px}
  .game:has(#drawer-body .quest) .topfind,.game:has(#drawer-body #report-form) .topfind{display:none}
  .topfind .find{position:relative;flex:1;min-width:0;margin:0;border-radius:26px;isolation:isolate}
  .topfind .find::before{content:"";position:absolute;inset:-2px;border-radius:28px;padding:2px;background:conic-gradient(from var(--glow),#6ee7f2,#a78bfa,#f0abfc,#fde68a,#86efac,#6ee7f2);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:1}
  .topfind .find:focus-within::before{opacity:1}
  .topfind .find input{min-height:52px;font-size:17px;padding:12px 46px 12px 46px;border-radius:26px;color:#0f1218;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6272' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff,#f4f6f9);background-repeat:no-repeat;background-position:16px 50%,0 0;background-size:20px 20px,100% 100%;box-shadow:0 10px 24px -12px rgba(21,26,36,.55),inset 0 0 0 1px rgba(21,26,36,.08)}
  .topfind .find input::placeholder{color:#7a8190}
  .topfind .find input:focus{outline:0}
  .topfind .find button{color:#5b6272;z-index:2}
  .topfind .q-cancel{flex:none;min-height:44px;padding:0 14px;border-radius:22px;font-size:15px;font-weight:600;color:#151a24;background:rgba(255,255,255,.94);box-shadow:0 6px 16px -8px rgba(21,26,36,.45)}
  .searching .topfind .q-cancel{display:block}
  .hud{top:calc(72px + env(safe-area-inset-top));align-items:center}
  #hud-count{display:none}
  .hud-chip.place-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;flex:0 1 auto;min-width:0;font-size:14px;font-weight:700;color:var(--ink)}
  .place-chip #place-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .place-chip .chev{flex:none;width:7px;height:7px;margin-right:2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.5}
  .hud .seg{flex:none}
  .hud-chip.a2-chip{display:inline-flex;align-items:center;gap:5px;min-height:44px;margin-left:auto;flex:none;background:#151a24;color:#fff;font-weight:700;white-space:nowrap}
  .hud-chip.a2-chip[hidden]{display:none}
  .searching .game:has(#drawer[data-snap="high"]) .hud{display:none}
  /* the panel on a phone: the kinds of shop and the shops, a little tighter; the count heading only while searching */
  #drawer #list .spot-head{display:none}
  #drawer .chips{margin-bottom:8px}
  #drawer .srow{padding-top:4px;padding-bottom:4px}
  #drawer .srow .av.box-av,#drawer .srow .av.bld-av{width:56px;height:56px}
  #drawer .srow .av.box-av .bld{width:52px;height:52px}
  /* search mode */
  .searching #drawer{height:calc(100% - 72px - env(safe-area-inset-top))}
  .searching #drawer .grab-zone{padding:8px 0}
  .searching #drawer .chips{display:none}
  .searching #drawer #list .spot-head{display:flex;margin:0 0 8px;padding:0;border:0}
  .searching #drawer #list .spot-name{font-size:15px;font-weight:600;letter-spacing:0;color:#c9cdd6}
  .searching #drawer #list .spot-sub{display:none}
}
@media (max-width:899px) and (prefers-reduced-motion:no-preference){.topfind .find:focus-within::before{animation:glow-turn 4s linear infinite}}

/* the bubble is swiped, never selected or dragged: no text selection, no link or picture drag, no long-press menu */
.bubble{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.bubble a,.bubble img{-webkit-user-drag:none}

/* ================= The new look (his "go", 2026-11-30, after a screenshot of Reddit) =================
   One look for the whole screen, Night or Day: "Auto" follows the phone's own dark or light setting, the menu can fix one
   (theme.js sets html.th-night or html.th-day before anything is drawn). One kind of button: a round pill with a thin line,
   44px or taller; the one filled button in a place is its main action (Go, on a shop). Lists are rows split by thin lines,
   not boxes. Amber is for what is lit: a fresh window, "Claim", a saved shop. No glow and no neon edges.
   On a phone, laid out the way Reddit lays out its buttons, made for this app: the menu, the search box and ＋ along the top;
   the three tabs in a bar that floats at the bottom; a picked shop is a card at the bottom, in reach of the thumb.
   This layer comes last and must win over the earlier looks, which is what its !important marks are for. */
:root{
  --t-page:#171613;--t-bg:#201e1b;--t-bg2:#292622;--t-bg3:#34302b;--t-ink:#f6f1e7;--t-mut:#bcb2a5;--t-line:rgba(246,241,231,.12);
  --t-danger:#c62a2f;--t-danger-ink:#ff6b6b;
  --t-bline:#998b79;--t-btn:#292622;--t-pri:#f6f1e7;--t-pri-ink:#201e1b;--t-lit:#e4bb70;--t-ok:#88bd97;
  --t-warn:#efb180;--t-glass:rgba(32,30,27,.96);--t-shadow:rgba(14,11,7,.55);--t-scrim:rgba(14,11,7,.5);--tabz:0px;
  --t-tag:rgba(23,22,19,.94);--t-tag-ink:#f6f1e7;
  --t-radius:16px;--t-card-shadow:0 6px 18px -10px var(--t-shadow);
  --neon:none;--g-sel:none;--g-tog:none;--g-pick:none;color-scheme:dark
}
:root.th-day{
  --t-page:#f6f1e7;--t-bg:#fffdf8;--t-bg2:#fffdf8;--t-bg3:#eee7db;--t-ink:#2b2620;--t-mut:#655c50;--t-line:rgba(43,38,32,.12);
  --t-danger:#c62a2f;--t-danger-ink:#b3262d;
  --t-bline:#857866;--t-btn:#fffdf8;--t-pri:#1f2a44;--t-pri-ink:#fffdf8;--t-lit:#805600;--t-ok:#356549;
  --t-warn:#984719;--t-glass:rgba(255,253,248,.96);--t-shadow:rgba(78,57,29,.22);--t-scrim:rgba(43,38,32,.32);
  --t-tag:rgba(255,253,248,.96);--t-tag-ink:#2b2620;color-scheme:light
}
html,body{background:var(--t-page)!important;color:var(--t-ink)}
:root .app,:root .drawer,:root .tabs,:root .ledger,:root #view>.pad,:root .drawer .srow,:root .drawer .nshop,:root .drawer .near-row,
:root #drawer-body>.shop>.sh,:root .ledger-pane>.shop>.sh,:root #view>.pad :is(.hero,.row,.panel,.look,.reg,.cd,.empty,.search,.pick,.nudge,.viewer),
:root .drawer :is(.cd,.viewer,.pwin){--ink:var(--t-ink);--mut:var(--t-mut);--line:var(--t-line);--card:var(--t-bg2);--char:var(--t-bg);--lift:none;--ok:var(--t-ok);--dark:var(--t-pri);--card-face:var(--t-bg2)}

/* ---------- buttons: one kind ---------- */
.ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
:root .pill,:root .drawer .pill,:root .drawer .viewer .pill{background:var(--t-btn)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important;border:0!important;filter:none!important}
:root .pill.dark,:root .drawer .pill.dark,:root .drawer .viewer .pill.dark,:root #view>.pad>.acts .pill.dark{background:var(--t-pri)!important;color:var(--t-pri-ink)!important;box-shadow:none!important}
:root .drawer .pill.saved{color:var(--t-lit)!important;box-shadow:inset 0 0 0 1px var(--t-lit)!important;background:var(--t-btn)!important}
:root .pill.claim,:root .drawer .pill.claim{background:var(--t-btn)!important;color:var(--t-lit)!important;box-shadow:inset 0 0 0 1.5px var(--t-lit)!important;border:0!important}
.linkish,.drawer .linkish{color:var(--t-ink)!important}
:root .icon-btn{background:var(--t-btn)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important}
:root .a2hs{background:var(--t-btn)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important}
:root .a2hs .a2hs-plus{background:var(--t-pri)!important;color:var(--t-pri-ink)!important;box-shadow:none!important}
:root .seg,:root .hud-chip{background:var(--t-glass)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline),0 8px 20px -12px var(--t-shadow)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
:root .seg button{color:var(--t-mut)!important;background:none!important;filter:none!important;box-shadow:none!important}
:root .seg button.on{background:var(--t-pri)!important;color:var(--t-pri-ink)!important}
:root .seg button.on::after{display:none!important}
:root .switch{background:var(--t-bg3)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important}
:root .switch-row input:checked+.switch{background:var(--t-ok)!important;box-shadow:none!important}
:root .switch-row input:checked+.switch::before{display:none!important}
:root .dpad button{background:var(--t-glass)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline),0 8px 20px -12px var(--t-shadow)!important}
:root .locate-me{background:var(--t-glass)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline),0 10px 22px -12px var(--t-shadow)!important}
:root .locate-me.on{color:#3b82f6!important}
:root .toast{background:var(--t-pri)!important;color:var(--t-pri-ink)!important;box-shadow:0 12px 28px -12px var(--t-shadow)!important}

/* ---------- words ---------- */
:root .label,:root .kicker,:root .drawer .label,:root .drawer .quest-step,:root .drawer .near-row .kick{color:var(--t-mut)!important}
:root .note{color:var(--t-mut)!important}
:root .note.quiet,:root .note.old-note,:root .drawer .note.quiet,:root .drawer .note.old-note,:root .drawer .adult-card{background:var(--t-bg2)!important;color:var(--t-mut)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important}
:root .foot,:root .foot a{color:var(--t-mut)!important}
:root .back,:root .drawer .back{color:var(--t-mut)!important}
:root .spin,:root .drawer .spin{border-color:var(--t-line)!important;border-top-color:var(--t-ink)!important}

/* ---------- fields ---------- */
:root #view input:not([type=checkbox]):not([type=radio]):not([type=file]),:root #view textarea,:root #view select,
:root .drawer input:not([type=checkbox]):not([type=radio]):not([type=file]),:root .drawer textarea,:root .drawer .report-form textarea{background:var(--t-bg3)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important;border:0!important}
:root #view input::placeholder,:root #view textarea::placeholder,:root .drawer input::placeholder,:root .drawer textarea::placeholder{color:var(--t-mut)!important}
:root #view input:focus,:root #view textarea:focus,:root .drawer input:focus,:root .drawer textarea:focus{outline:0!important;box-shadow:inset 0 0 0 1.5px var(--t-ink)!important}
:root .choice,:root .report-form .choice,:root .drawer .report-form .choice{background:var(--t-bg2)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important}
:root .drawer .report-form .choice:has(input:checked),:root .choice:has(input:checked){box-shadow:inset 0 0 0 1.5px var(--t-ink)!important;background:var(--t-bg3)!important}
:root .drawer .report-form .msg,:root .drawer .hrs .shut{color:var(--t-warn)!important}

/* ---------- pages (My route, My shop, the list of places, Add to home screen) ---------- */
:root body .app .top{background:var(--t-page)!important;box-shadow:none!important;color:var(--t-ink)}
:root body .app .top::after{display:none!important}
:root .top .title,:root .top .brand-t b{color:var(--t-ink)!important}
:root .top .kicker,:root .top .brand-t small{color:var(--t-mut)!important}
:root #view>.pad{color:var(--t-ink)!important}
:root :is(.hero,.row,.panel,.look,.reg,.search,.pick,.nudge),:root #view>.pad :is(.hero,.row,.panel,.look,.reg,.search,.pick,.nudge){background:var(--t-bg2)!important;color:var(--t-ink)!important;border-radius:var(--t-radius)!important;box-shadow:inset 0 0 0 1px var(--t-line),var(--t-card-shadow)!important;border:0!important}
:root .row:hover{background:var(--t-bg3)!important}
:root :is(.hero,.row,.panel,.look,.reg,.pick,.nudge) :is(.sm,p,small,.mut){color:var(--t-mut)}
:root .row .av,:root .row .ini{background:var(--t-bg3)!important;color:var(--t-ink)!important;box-shadow:none!important}
:root .badge,:root .tag,:root .drawer .badge,:root .drawer .tag{background:none!important;color:var(--t-mut)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important}
:root .badge.today,:root .drawer .badge.today{color:var(--t-lit)!important;box-shadow:inset 0 0 0 1px var(--t-lit)!important}
/* product cards: the same raised card in both looks; product photos keep their white ground */
:root .cd,:root .g.g3 .cd,:root .shelf .g .cd,:root .drawer .cd,:root .drawer .g.g3 .cd,:root .drawer .g.row4 .cd{background:var(--t-bg2)!important;color:var(--t-ink)!important;border-radius:var(--t-radius)!important;box-shadow:inset 0 0 0 1px var(--t-line),var(--t-card-shadow)!important;border:0!important}
:root .cd .pic,:root .drawer .cd .pic{background:#fff!important}
:root .cd .cn,:root .cd b,:root .drawer .cd .cn{color:var(--t-ink)!important}
:root .cd .cp,:root .cd .sm,:root .drawer .cd .cp{color:var(--t-mut)!important}
:root .empty,:root .shelf .g .empty{background:none!important;color:var(--t-mut)!important;box-shadow:none!important;border:1.5px dashed var(--t-bline)!important}
:root .more-tile,:root .drawer .more-tile{background:var(--t-bg3)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important}
:root .viewer,:root .drawer .viewer{background:var(--t-bg2)!important;color:var(--t-ink)!important;border-radius:var(--t-radius)!important;box-shadow:inset 0 0 0 1px var(--t-bline),var(--t-card-shadow)!important;border:0!important}
:root .viewer .v-close{background:var(--t-bg3)!important;color:var(--t-ink)!important}

/* ---------- the panel ---------- */
:root .drawer{background:var(--t-bg)!important;color:var(--t-ink)!important;box-shadow:0 -1px 0 var(--t-line),0 -16px 36px -24px var(--t-shadow)!important}
:root .drawer::before{display:none!important}
:root .grab-zone .grab{background:var(--t-mut)!important;box-shadow:none!important;opacity:.45;width:40px!important;height:5px!important}
:root .drawer .chip{background:var(--t-btn)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important;font-weight:600}
:root .drawer .chip.on{background:var(--t-pri)!important;color:var(--t-pri-ink)!important;box-shadow:none!important}
:root .drawer .chip::after,:root .drawer .chip.on::after{display:none!important}
:root .drawer .rows{gap:0!important}
:root .drawer .srow,:root .drawer .nshop{background:none!important;box-shadow:none!important;border-radius:0!important;border-bottom:1px solid var(--t-line)!important;color:var(--t-ink)!important;transform:none!important}
:root .drawer .srow:hover,:root .drawer .nshop:hover{background:var(--t-bg3)!important;box-shadow:none!important}
:root .drawer .srow.sel,:root .drawer .near-row.sel{background:var(--t-bg3)!important;box-shadow:none!important}
:root .drawer .srow::after,:root .drawer .near-row::after,:root #drawer-body>.shop>.sh::after,:root .ledger-pane>.shop>.sh::after{display:none!important}
:root .drawer :is(.srow,.nshop) .sn{color:var(--t-ink)!important}
:root .drawer :is(.srow,.nshop) :is(.sm,.why){color:var(--t-mut)!important}
:root .drawer :is(.srow,.nshop) .why b{color:var(--t-ink)}
:root .drawer .av{background:none!important}
:root .drawer .spot-name{color:var(--t-ink)!important}
:root .drawer .spot-sub,:root .drawer .peek-row .sm{color:var(--t-mut)!important}
:root .drawer #list .spot-head{border-top:0!important}
:root .drawer .near-head::after{background:var(--t-line)!important}
/* "In windows near you" */
:root .feed-head b{color:var(--t-ink)}
:root .feed-head .linkish{color:var(--t-mut)!important}
:root .feed-t{background:var(--t-bg2)!important;color:var(--t-ink)!important;border-radius:var(--t-radius)!important;box-shadow:inset 0 0 0 1px var(--t-line),var(--t-card-shadow)!important}
:root .feed-t b,:root .feed-t .feed-p{color:var(--t-ink)!important;background:none!important}
:root .feed-t small,:root .feed-sub{color:var(--t-mut)!important}
:root .feed-pic{background:#fff!important}
:root.th-day .feed-pic,:root.th-day .cd .pic{box-shadow:inset 0 0 0 1px var(--t-line)}
/* "Wanted nearby" and the ask when nothing is found */
:root .want-ask,:root .want-card,:root .adult-card{background:var(--t-bg2)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important}
:root .want-ask p,:root .want-note,:root .want-card .spot-sub{color:var(--t-mut)!important}
:root .want-pull,:root .b-want{color:var(--t-lit)!important}
/* the claim steps */
:root .drawer .quest p,:root .drawer .hrs span,:root .drawer .adult-line{color:var(--t-mut)!important}
:root .drawer .quest h2,:root .drawer .quest h3{color:var(--t-ink)}
:root .drawer .opt{box-shadow:inset 0 0 0 1px var(--t-line)!important;background:var(--t-bg2)!important}
:root .drawer .opt.on,:root .drawer .opt[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--t-ink)!important}
/* a shop, open in the panel or the ledger */
:root #drawer-body>.shop>.sh,:root .ledger-pane>.shop>.sh{background:none!important;box-shadow:none!important;border-radius:0!important;padding:2px 0 12px!important;border-bottom:1px solid var(--t-line)}
:root .shop .sh .sn{color:var(--t-ink)!important;font-size:20px;font-weight:750;letter-spacing:-.015em}
:root .shop .sh .sm{color:var(--t-mut)!important}
.sh-claim{flex:none;align-self:center;min-height:44px;padding:0 18px;border-radius:22px;background:var(--t-btn);color:var(--t-lit);box-shadow:inset 0 0 0 1.5px var(--t-lit);font-size:15px;font-weight:700}
:root .shop .hrs b.open,:root .drawer .hrs b.open{color:var(--t-ok)!important}
:root .shop .hrs b.shut,:root .drawer .hrs b.shut{color:var(--t-warn)!important}
:root .shop .hrs small{color:var(--t-mut)!important}
:root .shop :is(.my12-head,.win-head) b{color:var(--t-ink)!important}
:root .shop :is(.my12-head,.win-head) span,:root .shop .more-hint{color:var(--t-mut)!important}
:root .shop .slots i,:root .drawer .slots i,:root .drawer[data-snap="high"] .slots i{background:none!important;box-shadow:none!important;border:1.5px dashed var(--t-bline)!important}
:root .shop .report,:root .drawer .report{color:var(--t-mut)!important}
:root .closest .near-head,:root .closest .label{color:var(--t-mut)!important}

/* ---------- one row of actions for a shop ---------- */
.acts2{display:flex;align-items:center;gap:8px;margin-top:12px}
.act-go{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 13px;border-radius:22px;background:var(--t-pri);color:var(--t-pri-ink)!important;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.act-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:0 15px 0 12px;border-radius:22px;background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline);color:var(--t-ink);font-size:15px;font-weight:600;white-space:nowrap}
.act-btn.on{color:var(--t-lit);box-shadow:inset 0 0 0 1.5px var(--t-lit)}
.act-btn.on .ico{fill:currentColor}
.act-sp{flex:1;min-width:0}
.act-ic{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline);color:var(--t-ink)}
@media (hover:hover){.act-btn:hover,.act-ic:hover{background:var(--t-bg3)}.act-go:hover{filter:brightness(1.08)}}
.shop .acts2{margin:14px 0 4px}

/* ---------- a picked shop's card ---------- */
:root .bubble{padding:14px 14px 12px!important;border-radius:var(--t-radius)!important;background:var(--t-bg2)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-line),var(--t-card-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root .bubble::before,:root .bubble::after{display:none!important}
.bubble-pin{width:362px} /* (344px before the shop's heart joined its row: 362 keeps "Go · 5 min" and "Save" in words, as on a phone) */
.b-head{display:flex;align-items:center;gap:12px}
.b-head .av{flex:none;width:52px;height:52px}
.b-head .av.box-av .bld,.b-head .av.bld-av .bld{width:50px;height:50px}
.b-title{flex:1;min-width:0}
:root .bubble .b-name{font-size:18px;font-weight:750;letter-spacing:-.01em;line-height:1.2;color:var(--t-ink)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
:root .bubble .b-meta{font-size:14px;color:var(--t-mut)!important;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:root .bubble .b-meta b.open{color:var(--t-ok)!important}
:root .bubble .b-meta b.shut{color:var(--t-mut)!important}
:root .bubble .b-own{flex:none;min-height:44px;padding:0 18px;border-radius:22px;background:var(--t-btn)!important;color:var(--t-lit)!important;box-shadow:inset 0 0 0 1.5px var(--t-lit)!important;font-size:15px;font-weight:700;text-decoration:none!important;margin:0!important;width:auto!important}
:root .bubble .b-line{margin:10px 0 0;font-size:14px;line-height:1.4;color:var(--t-mut)!important}
:root .bubble .b-line b{color:var(--t-ink)}
:root .bubble .b-shelf{margin:12px 0 0}
:root .bubble .b-s{background:var(--t-bg3)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important;border:0!important;color:var(--t-ink)!important}
:root .bubble .b-s img{background:#fff}
:root .bubble .b-s.empty{background:none!important;box-shadow:none!important;border:1.5px dashed var(--t-bline)!important}
:root .bubble .b-s.more,:root .bubble .b-less{background:var(--t-bg3)!important;color:var(--t-ink)!important}
:root .bubble .b-hint{display:flex;justify-content:space-between;gap:8px;margin:8px 0 0;font-size:13px;color:var(--t-mut)!important}
:root .bubble .b-hint b{color:var(--t-ink)!important}
:root .bubble .b-also{margin:10px 0 0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
:root .bubble .b-also .b-line{width:100%;margin:0;font-size:12px}
:root .bubble .b-also .pill{min-height:44px;padding:0 14px;font-size:14px;font-weight:600}
:root .bubble .b-acts{display:none}

/* ---------- the tabs ---------- */
:root .tabs{background:var(--t-glass)!important;border-top:0!important}
:root .tabs button{color:var(--t-mut)!important}
:root .tabs .on{color:var(--t-ink)!important}
:root .tabs .on::before{background:var(--t-ink)!important;box-shadow:none!important}
@media (hover:hover){:root .tabs button:hover{color:var(--t-ink)!important}}

.seg2{display:flex;gap:2px;padding:3px;border-radius:25px;box-shadow:inset 0 0 0 1px var(--t-bline)}
.seg2 button{min-width:48px;min-height:44px;padding:0 13px;border-radius:22px;font-size:14px;font-weight:700;color:var(--t-mut)}
.seg2 .on{background:var(--t-pri);color:var(--t-pri-ink)}
.area-line{display:none}

/* ---------- on a phone ---------- */
@media (max-width:899px){
  :root{--tabz:calc(76px + env(safe-area-inset-bottom))}
  .app{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
  body.is-game .app{padding-bottom:0}
  .game{height:100dvh}
  /* the map runs under the floating tabs; the panel stands that much higher */
  .drawer[data-snap="mid"]{transform:translateY(calc(100% - 44vh - var(--tabz)))}
  .drawer[data-snap="low"]{transform:translateY(calc(100% - 104px - var(--tabz)))}
  :root .drawer-body{padding-bottom:calc(24px + var(--tabz))}
  .hud,.dpad{display:none!important}
  :root .locate-me{bottom:calc(44vh + 14px + var(--tabz))}
  :root .game:has(.drawer[data-snap="low"]) .locate-me{bottom:calc(120px + var(--tabz))}
  :root .game.game:has(.bubble-pin) .locate-me{bottom:calc(var(--tabz) + 24px + var(--card-h, 230px));opacity:1;pointer-events:auto}
  :root .drawer{border-radius:24px 24px 0 0}
  /* the top bar: menu, search, ＋ */
  .topfind{gap:8px}
  .tb-btn{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--t-glass);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-bline),0 10px 22px -12px var(--t-shadow);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .tb-btn .ico{width:24px;height:24px}
  .searching .tb-btn{display:none}
  :root .topfind .find::before{display:none!important}
  :root .topfind .find input{background-color:var(--t-glass)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline),0 10px 22px -12px var(--t-shadow)!important;padding-left:42px!important;padding-right:14px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a919d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:20px 20px!important;background-position:13px 50%!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  :root .topfind .find input:not(:placeholder-shown){padding-right:44px!important}
  :root .topfind .find input:focus{box-shadow:inset 0 0 0 1.5px var(--t-ink),0 10px 22px -12px var(--t-shadow)!important}
  :root .topfind .find input::placeholder{color:var(--t-mut)!important}
  :root .topfind .find button{color:var(--t-mut)!important}
  :root .topfind .q-cancel{background:var(--t-glass)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important}
  /* the panel opens with the place and its number of shops */
  .area-line{display:flex;align-items:baseline;gap:8px;width:100%;min-height:44px;margin:0 0 6px;padding:0 2px;color:var(--t-ink);text-align:left}
  .area-line b{min-width:0;font-size:22px;font-weight:750;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .area-line span{flex:none;font-size:15px;color:var(--t-mut)}
  .area-line .chev{flex:none;width:8px;height:8px;border-right:2px solid var(--t-mut);border-bottom:2px solid var(--t-mut);transform:translateY(-3px) rotate(45deg)}
  .searching .area-line{display:none}
  :root #drawer .srow{padding:8px 2px!important}
  /* a picked shop: a card at the bottom, over the panel, with the edge of the next one showing at the right */
  :root .maplibregl-marker.bubble-pin{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(var(--tabz) + 12px)!important;transform:none!important;width:auto!important}
  :root .game:has(.bubble-pin) #drawer{transform:translateY(110%)!important}
  /* the picked store says its name over itself */
  :root .maplibregl-marker.sel[data-name]::after{content:attr(data-name);position:absolute;left:50%;bottom:100%;transform:translate(-50%,-4px);max-width:220px;padding:6px 11px;border-radius:13px;background:var(--t-pri);color:var(--t-pri-ink);font:700 13px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 8px 18px -8px var(--t-shadow);pointer-events:none;z-index:2}
  /* the three tabs, in a bar that floats */
  :root .tabs{left:50%!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:calc(100% - 28px)!important;max-width:440px!important;height:64px!important;padding:6px!important;border-radius:32px!important;box-shadow:inset 0 0 0 1px var(--t-bline),0 16px 34px -14px var(--t-shadow)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;z-index:40!important;display:flex;align-items:stretch;gap:2px}
  :root .tabs button{flex:1;min-width:0!important;border-radius:26px;min-height:52px!important;font-size:12px!important;font-weight:600!important;gap:3px!important}
  :root .tabs .on{background:var(--t-bg3)!important}
  :root .tabs .on::before{display:none!important}
}
@media (max-width:899px) and (prefers-reduced-motion:no-preference){
  :root .bubble:not(.in-next):not(.in-prev){animation:card-up .26s cubic-bezier(.2,.8,.2,1)}
}
@keyframes card-up{from{transform:translateY(22px);opacity:0}to{transform:none;opacity:1}}

/* ---------- on a computer ---------- */
@media (min-width:900px){
  :root .drawer{background:var(--t-bg)!important;box-shadow:inset 0 0 0 1px var(--t-line),0 24px 60px -24px var(--t-shadow)!important}
  :root .drawer .srow{padding:10px 8px!important;border-radius:0!important}
  .game::after{display:none}
  :root body .app .top{box-shadow:0 1px 0 var(--t-line)!important}
  :root #view>.pad{color:var(--t-ink)!important}
  :root #view>.pad>.acts .pill:not(.dark){background:var(--t-btn)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline)!important}
  :root .boot h2{color:var(--t-ink)!important}
}

/* a product with no photo shows its first letter: on the night look, on dark, so only real photos are white */
:root.th-night .cd .pic:has(.mono),:root.th-night .feed-pic:has(>i){background:var(--t-bg3)!important}
:root.th-night .cd .pic .mono,:root.th-night .feed-pic>i{color:var(--t-mut)!important}
/* the small labels on the map ("2h ago", "Setting up", "+2"): the same quiet chips as everywhere */
:root .av-tag,:root .maplibregl-marker .more{background:var(--t-glass)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1px var(--t-bline),0 4px 10px -6px var(--t-shadow)!important}
:root .avatar:not(.stale):not(.setup) .av-tag{color:var(--t-lit)!important}
/* the list ends softly under the floating tabs */
@media (max-width:899px){
  .game::after{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(var(--tabz) + 18px);background:linear-gradient(180deg,transparent,var(--t-bg) 62%);pointer-events:none;z-index:17}
  .game:has(.bubble-pin)::after{background:linear-gradient(180deg,transparent,var(--t-page) 70%);opacity:.75}
}

/* the count of items on My window: the filled pill reads in both looks */
:root .count{background:var(--t-pri)!important;color:var(--t-pri-ink)!important}

@media (min-width:900px){:root .tabs{background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* the picked store's name stands clear of its badge (a lit shop's badge sits over its roof) */
@media (max-width:899px){:root .maplibregl-marker.sel[data-name]::after{z-index:5}:root .maplibregl-marker.avatar.sel[data-name]::after{transform:translate(-50%,-34px)}}

/* ---------- Search that reads what you mean (Step 1, 2026-11-30) ----------
   Tap rows for suggestions and "Did you mean", one row of narrowing chips for a family, a card for a named product.
   Text 12px or more, every tap 44px or taller, nothing wider than the panel. Same tokens as the new look, Night and Day. */
.dym,.prod{margin:0 0 12px;border-radius:16px;background:var(--t-bg2);box-shadow:inset 0 0 0 1px var(--t-line);overflow:hidden}
.dym-t{padding:10px 14px 4px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--t-mut)}
.dym-row{display:flex;flex-direction:column;justify-content:center;gap:1px;width:100%;min-height:52px;padding:8px 14px;text-align:left;color:var(--t-ink);border-top:1px solid var(--t-line)}
.dym-t+.dym-row{border-top:0}
.dym-row b{font-size:15px;font-weight:600;color:var(--t-ink)}
.dym-row span{font-size:13px;line-height:1.3;color:var(--t-mut)}
.dym-row:active{background:var(--t-bg3)}
.dym-fix{margin:0 0 8px;font-size:13px;color:var(--t-mut)}
.fam-chips{display:flex;flex-wrap:nowrap;gap:8px;margin:0 0 14px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.fam-chips::-webkit-scrollbar{display:none}
.fam-chip{display:inline-flex;flex:0 0 auto;align-items:center;min-height:44px;padding:0 14px;white-space:nowrap;border-radius:99px;font-size:14px;font-weight:600;color:var(--t-ink);background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline)}
.fam-chip:active{background:var(--t-bg3)}
.prod{padding:14px}
.prod-name{font-size:18px;font-weight:650;letter-spacing:-.01em;color:var(--t-ink)}
.prod .sm{color:var(--t-mut)}
.prod-note{margin:10px 0 2px;font-size:14px;line-height:1.4;color:var(--t-ink)}
.prod-clear{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 2px;font-size:13px}

/* ---------- 2026-11-30 fixes: the empty shelf of four, a clean low panel ---------- */
/* A shop with nothing posted shows its four shelf spots, empty and a little shorter than filled ones. */
:root .bubble .b-shelf.bare .b-s{aspect-ratio:4/3}
/* The panel at its lowest shows its handle and the place line only: nothing half hidden under the tabs. */
@media (max-width:899px){
  .drawer[data-snap="low"][data-settled] .drawer-body{-webkit-mask-image:linear-gradient(#000 50px,transparent 62px);mask-image:linear-gradient(#000 50px,transparent 62px)} /* once it has slid down (app.js settleMask): on its way down it never flashes empty */
}

/* ---------- Welcome to your window: three screens before a first claim (2026-11-30) ---------- */
/* Quiet and minimal (his words). The new look's tokens, so Night and Day both work. Text 12px or more, every tap 44px or
   taller, and the screens slide inside their own box (the page never scrolls sideways). Each screen's words come before its
   picture, and the dots and buttons stick above the floating tabs when the screens are taller than the space (small phones, or
   the browser's bars showing), so the words and the buttons always show. */
.onb{display:flex;flex-direction:column;gap:10px;padding:0 0 10px;text-align:center}
.onb-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;text-align:left}
.onb-top .back{flex:0 1 auto;min-width:0;margin:0}
.onb-back-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.onb-skip{flex:none;min-height:44px;margin:0;padding:0 4px 0 16px;font-size:14px;color:var(--t-mut)}
.onb-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;outline:0}
.onb-track::-webkit-scrollbar{display:none}
.kbd .onb-track:focus-visible{outline:2px solid var(--t-ink);outline-offset:-2px;border-radius:12px} /* keyboard only (app.js puts .kbd on the page): a tap or a flyer's link shows no box */
.onb-slide{flex:0 0 100%;min-width:0;box-sizing:border-box;padding:6px 12px 2px;scroll-snap-align:start;scroll-snap-stop:always}
.onb-slide h3{margin:10px 0 6px;font-size:22px;font-weight:650;letter-spacing:-.02em;line-height:1.2;color:var(--t-ink)}
.onb-slide p{max-width:340px;margin:0 auto;font-size:15px;line-height:1.45;color:var(--t-mut)}
.onb .onb-stage{width:190px;height:190px;margin:24px auto 0} /* room above for the badge */
.onb .onb-stage .burst{inset:-22px;-webkit-mask-image:radial-gradient(closest-side,#000 55%,transparent);mask-image:radial-gradient(closest-side,#000 55%,transparent)} /* the glow fades out inside its own box: no hard line where the screens are cut */
.onb-window{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:292px;margin:16px auto 0}
.onb-cell{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;padding:4px;border:1.5px dashed var(--t-bline);border-radius:10px;font-size:12px;font-weight:600;line-height:1.15;color:var(--t-ink);overflow:hidden;overflow-wrap:anywhere}
.onb-cell.full{border:0;background:var(--t-bg2);box-shadow:inset 0 0 0 1px var(--t-bline)}
.onb-cell.new{box-shadow:inset 0 0 0 2px var(--t-ink)}
.onb-foot{position:sticky;bottom:calc(var(--tabz) + 8px);z-index:2;display:flex;flex-direction:column;gap:10px;padding:6px 0 2px;background:var(--t-bg)}
.onb-pad .onb-foot{background:var(--onb-page,var(--t-page))}
.onb-dots{display:flex;justify-content:center;gap:6px;padding:2px 0}
.onb-dots i{width:7px;height:7px;border-radius:4px;background:var(--t-mut)}
.onb-dots i.on{width:20px;background:var(--t-ink)}
.onb-text{display:flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
.onb-text.off{visibility:hidden;pointer-events:none} /* its room is kept on every screen, so Next never moves under a thumb */
.onb-num{display:none}
@media (hover:hover) and (pointer:fine){.onb-tap{display:none}.onb-num{display:inline}} /* a computer cannot send a text: it shows the number */
.onb [hidden]{display:none!important}
@media (max-height:680px){.onb .onb-stage,.onb-window{display:none}} /* a short screen keeps the words and the buttons; the pictures go */
@media (max-width:899px){.game:has(#drawer-body .onb) .topfind{display:none}}

/* ---------- Richfield lit up: example items until the shop posts its own (2026-11-30) ---------- */
/* On the map a small building in colour instead of grey glass; a claimed shop keeps its big glowing building. In the card and
   the panel the examples are dashed and quiet: a name only, no price and no "in stock" dot. */
.box.ex,.av.box-av.ex{--tone:saturate(1.05)}
.box.ex.dark,.av.box-av.ex.dark{--tone:brightness(.62) saturate(.65)}
.box.ex .emb.grey,.av.box-av.ex .emb.grey{background:var(--c)}
:root .cd.ex,:root .g.g3 .cd.ex,:root .drawer .cd.ex,:root .drawer .g.g3 .cd.ex,:root .drawer .g.row4 .cd.ex{background:transparent!important;box-shadow:none!important;border:1.5px dashed var(--t-bline)!important;cursor:default}
:root .cd.ex .pic,:root .drawer .cd.ex .pic,:root.th-night .cd.ex .pic:has(.mono){background:transparent!important;box-shadow:none!important}
:root .cd.ex .pic .mono,:root.th-night .cd.ex .pic .mono{color:var(--t-mut)!important;opacity:.6}
:root .cd.ex .cn,:root .drawer .cd.ex .cn{color:var(--t-mut)!important}
:root .cd.ex .cn,:root .bubble .b-shelf.ex .b-s{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere} /* a long example name breaks with a hyphen, not cut off */
:root .bubble .b-shelf.ex .b-s{background:transparent!important;box-shadow:none!important;border:1.5px dashed var(--t-bline)!important;color:var(--t-mut)!important}
:root .ex-head span{color:var(--t-mut)}

/* ---------- 2026-12-01: in-shop fixes ---------- */
/* No grey box flashes over a row or a button when it is tapped (each has its own press look). */
html{-webkit-tap-highlight-color:transparent}
/* An example with a picture (Sandy's Tavern): the icon in the text colour above its name, in the panel, the ledger and the card. */
:root .cd.ex.has-pic .pic{display:grid;place-items:center}
:root .cd.ex .pic svg.ex-pic{width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--t-ink);opacity:.85}
:root .bubble .b-s.has-pic{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
:root .bubble .b-s svg.b-pic{width:42%;height:42%;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--t-ink);opacity:.85}

/* ---------- Favourite shops on the map (2026-12-01): a saved shop is twice the size, pops when saved, and stays a building
   when the others are dots. The 3D size comes from --s (declutter in app.js doubles it). ---------- */
.game.mode-2d .box.fav,.game.mode-2d .box.fav .bld,.game.mode-2d .far .box.fav,.game.mode-2d .far .box.fav .bld{width:60px;height:60px}
.far .box.fav .bld,.far .box.fav .emb{display:block}
.far .box.fav::after{content:none}
.far .box.fav::before{width:max(44px,100%);height:max(44px,100%)}
/* (the store itself is never zoomed: the map places it by a pixel offset, which zoom would stretch, moving it off its spot.
   Each part inside it is enlarged instead, and the store is given the matching size, so it stays standing on its own spot.) */
.avatar.fav{width:138px;height:159px}
.avatar.fav.tight{width:93px;height:114px}
.avatar.fav>*{zoom:1.5}
.box.fav-pop .bld,.avatar.fav-pop .bld{transform-origin:50% 100%;animation:fav-pop .6s cubic-bezier(.2,1.5,.35,1)}
.box.fav-drop .bld,.avatar.fav-drop .bld{transform-origin:50% 100%;animation:fav-drop .35s ease-out}
@keyframes fav-pop{0%{transform:scale(.5)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes fav-drop{0%{transform:scale(2)}100%{transform:scale(1)}}
@media (prefers-reduced-motion: reduce){.box.fav-pop .bld,.avatar.fav-pop .bld,.box.fav-drop .bld,.avatar.fav-drop .bld{animation:none}}
/* The privacy line in the menu (his words, 2026-12-01). */
.menu-note{margin:10px 0 2px;font-size:12.5px;line-height:1.4;color:var(--mut)}
/* What an item still needs from its owner (2026-12-02): a red mark with "!" (a shape and a letter, not colour alone), and the one
   short question under the 12 slots. */
.cd .need{position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;background:#c62828;color:#fff;font:800 14px/22px Inter,system-ui,sans-serif;text-align:center;box-shadow:0 0 0 2px #fff}
.fix .fix-row{display:flex;gap:8px;align-items:center}
.fix .fix-row input{flex:1;min-width:0}
.fix .fix-or{margin:12px 0 8px;font-size:12.5px;line-height:1.4;color:var(--mut)}
.fix .fix-quick{flex-wrap:wrap;margin-top:8px}
.cp{max-width:calc(100% - 22px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The strip shows shops as shops (2026-12-02): a card for each shop, its first three items under its name. */
.stage-c{margin:0 0 12px;padding:4px 10px 10px;border-radius:16px;background:var(--t-bg2,#f6f7f9);box-shadow:inset 0 0 0 1px var(--t-line,rgba(21,26,36,.08))}
.stage-h{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;width:100%;min-height:48px;padding:6px 2px;text-align:left;background:none;border:0;color:var(--t-ink,#151a24);font:inherit;cursor:pointer}
.stage-h b{grid-column:1;font-size:16px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage-h small{grid-column:1;font-size:12.5px;color:var(--t-mut,#6c7383)}
.stage-h i{grid-column:2;grid-row:1 / span 2;font-style:normal;font-size:22px;color:var(--t-mut,#6c7383)}
.stage-c .feed-row{padding-bottom:2px;gap:8px}
.stage-c .feed-row .feed-t{flex:1 1 0;min-width:0;max-width:132px}
.feed-t.feed-more{align-items:center;justify-content:center;text-align:center;min-height:44px}
.feed-t.feed-more b{font-size:20px}
.stage-c .feed-grid{margin-top:2px}
#feed-clip .stage-c{margin-bottom:16px}
/* Two or more shops with items: their cards sit in one row that scrolls sideways, so the strip stays one card tall. */
.stage-row.many{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 6px;margin:0 -2px;scrollbar-width:none;touch-action:pan-x pan-y}
.stage-row.many::-webkit-scrollbar{display:none}
.stage-row.many .stage-c{flex:0 0 84%;min-width:0;margin:0;scroll-snap-align:start}
.stage-row .stage-c:last-child{margin-bottom:0}
.stage-c .feed-row{overflow:visible;scroll-snap-type:none}
.feed-strip{margin-bottom:14px}

/* ---------- a place's picture on its "Or start somewhere" card: the photo sits on the right and fades into the card ---------- */
.row.has-pic{position:relative;overflow:hidden;min-height:84px;padding:14px 12px}
.row.has-pic>:not(.pl-pic){position:relative;z-index:1}
.row .pl-pic{position:absolute;top:0;right:0;bottom:0;width:58%;z-index:0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)}
.row .pl-pic img{width:100%;height:100%;object-fit:cover;display:block}
.row.has-pic .pl-txt{max-width:52%}
.row.has-pic .t{font-size:16px;font-weight:700}
.row.has-pic .go{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:rgba(255,255,255,.82);color:#151a24!important;font-size:22px;line-height:1;box-shadow:0 1px 6px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}

/* ---------- "I want this" and the Want list ---------- */
.v-acts .pill.want-btn{min-height:44px}
.v-acts .pill.want-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.v-acts .pill.want-btn .ico{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* on: the selected-shop blue to purple glow, a filled bookmark; the words keep the theme's ink (readable in both themes, and
   unlike the solid "+ My route" pill beside it) */
:root .v-acts .pill.want-btn.on,:root .drawer .viewer .v-acts .pill.want-btn.on{background:rgba(124,92,255,.16)!important;color:var(--t-ink)!important;box-shadow:inset 0 0 0 1.5px #8b7bff,0 0 14px -4px rgba(124,92,255,.55)!important}
:root.th-day .v-acts .pill.want-btn.on,:root.th-day .drawer .viewer .v-acts .pill.want-btn.on{background:rgba(109,74,255,.09)!important;box-shadow:inset 0 0 0 1.5px #6d4aff,0 0 12px -5px rgba(109,74,255,.45)!important}
.v-acts .pill.want-btn.on .ico{fill:#8b7bff;stroke:#8b7bff}
:root.th-day .v-acts .pill.want-btn.on .ico{fill:#6d4aff;stroke:#6d4aff}
.want-row{gap:8px}
.want-row.off .want-txt{opacity:.6}
.want-open{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;min-height:44px;text-align:left;background:none;border:0;padding:0;color:inherit;font:inherit}
.want-pic{overflow:hidden;flex:0 0 auto}
.want-pic img{width:100%;height:100%;object-fit:cover;display:block}
.want-txt{display:flex;flex-direction:column;min-width:0}
.want-txt .t,.want-txt .s{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.want-x{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:none;border:0;color:var(--mut);font-size:15px}
.want-list{margin-bottom:18px}
.wants-ul{list-style:none;margin:4px 0 8px;padding:0;display:flex;flex-direction:column;gap:6px}
.wants-ul li{display:flex;align-items:baseline;gap:8px;font-size:14px}
.wants-ul b{font-size:20px;font-weight:700;min-width:22px}

/* ---------- the shop you are on: its card wears the same blue and purple glow as its store on the map (his ask, 2026-12-01) ---------- */
/* 2026-12-04, his ask ("the edge glow should be a little more pronounced"): a 2.5px edge (was 1.5px) and a wider, brighter halo. */
:root .bubble::before,:root #drawer-body>.shop>.sh::after,:root .ledger-pane>.shop>.sh::after{display:block!important;background:linear-gradient(120deg,#6ee7f2,#a78bfa)!important;padding:2.5px!important;pointer-events:none}
:root .bubble{box-shadow:0 22px 44px -20px var(--t-shadow),0 0 22px 0 rgba(110,231,242,.85),0 0 42px -4px rgba(167,139,250,.85)!important}
:root #drawer-body>.shop>.sh,:root .ledger-pane>.shop>.sh{box-shadow:0 0 20px -1px rgba(110,231,242,.8),0 0 36px -6px rgba(167,139,250,.85)!important}
:root #drawer-body>.shop>.sh,:root .ledger-pane>.shop>.sh{border-radius:20px!important;padding:10px 12px!important;margin-bottom:6px}

/* ---------- Explore: shop counts on the place cards and the "I'm feeling lucky!" button ---------- */
.explore{margin:0 0 18px}
.pill.lucky{width:100%;min-height:52px;font-size:17px;font-weight:700;background:linear-gradient(120deg,#6ee7f2,#a78bfa);color:#0f1218;border:0;box-shadow:0 8px 20px -10px rgba(120,100,240,.7)}
.row .area-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.chip-n{font-size:12px;font-weight:650;padding:3px 9px;border-radius:999px;background:rgba(15,18,24,.07);color:#2b303b}
.chip-n.lit{background:#fde68a;color:#5b4300}
:root .chip-n{background:var(--t-bg3,rgba(15,18,24,.07));color:var(--t-ink,#2b303b)}
:root .chip-n.lit{background:#fde68a;color:#5b4300}
.row.has-pic .pl-txt{max-width:56%}

/* ---------- map buttons (zoom, search, where I am) and the neighbourhood pill (his ask, 2026-12-02) ---------- */
.map-stack{position:absolute;left:14px;bottom:calc(44vh + 72px);z-index:15;display:flex;flex-direction:column;gap:10px;transition:bottom .38s cubic-bezier(.2,.9,.25,1),opacity .25s}
.map-stack .locate-me{position:static;color:#151a24}
.map-stack .zoom-btn svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.map-stack .search-fab{color:#fff;background:linear-gradient(135deg,#6ee7f2,#7c5cff);box-shadow:0 0 0 2px rgba(255,255,255,.85),0 0 18px 3px rgba(110,231,242,.75),0 0 34px 8px rgba(124,92,255,.55)}
.map-stack .search-fab svg{fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;width:23px;height:23px}
@media (prefers-reduced-motion:no-preference){.map-stack .search-fab{animation:fab-glow 3.2s ease-in-out infinite}}
@keyframes fab-glow{0%,100%{box-shadow:0 0 0 2px rgba(255,255,255,.85),0 0 14px 2px rgba(110,231,242,.65),0 0 26px 5px rgba(124,92,255,.45)}50%{box-shadow:0 0 0 2px rgba(255,255,255,.95),0 0 22px 5px rgba(110,231,242,.9),0 0 40px 11px rgba(124,92,255,.7)}}
.game:has(.drawer[data-snap="low"]) .map-stack{bottom:calc(120px + 58px)}
.game:has(.drawer[data-snap="high"]) .map-stack{opacity:0;pointer-events:none}
.findwrap{position:relative;flex:1;min-width:0;display:flex}
.findwrap .find{flex:1}
.area-pill{position:absolute;inset:0;z-index:3;display:flex;align-items:center;gap:8px;padding:0 16px;border-radius:26px;min-height:52px;text-align:left;font-size:17px;font-weight:650;color:#0f1218;background:rgba(255,255,255,.96);box-shadow:inset 0 0 0 1px rgba(15,18,24,.1)}
.area-pill svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:#5b6272}
.area-pill b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.area-pill .chev{width:8px;height:8px;border:solid #5b6272;border-width:0 2px 2px 0;transform:rotate(45deg);margin:-3px 4px 0 0;flex:none}
.searching .area-pill{display:none}
:root .area-pill{background:var(--t-bg2,rgba(255,255,255,.96));color:var(--t-ink,#0f1218);box-shadow:inset 0 0 0 1px var(--t-line,rgba(15,18,24,.1))}
:root .area-pill svg{color:var(--t-mut,#5b6272)}
:root .area-pill .chev{border-color:var(--t-mut,#5b6272)}
:root .map-stack .locate-me{background:var(--t-bg2,rgba(255,255,255,.9));color:var(--t-ink,#151a24)}
:root .map-stack .search-fab{background:linear-gradient(135deg,#6ee7f2,#7c5cff)!important;color:#fff!important}
/* the stack sits right above the "where I am" button, wherever that button is (one button's height and gap above it) */
:root .map-stack{bottom:calc(44vh + 14px + var(--tabz) + 58px)}
:root .game:has(.drawer[data-snap="low"]) .map-stack{bottom:calc(120px + var(--tabz) + 58px)}
:root .game.game:has(.bubble-pin) .map-stack{bottom:calc(var(--tabz) + 24px + var(--card-h, 230px) + 58px);opacity:1;pointer-events:auto}
:root .game:has(.drawer[data-snap="high"]) .map-stack{opacity:0;pointer-events:none}

/* ---------- the bottom bar: docked, solid and part of the app (his note, 2026-12-02: the floating pill "looks half done") ----------
   It sits flat on the bottom edge in the panel's own colour with a hairline on top, so the panel and the bar read as one surface.
   The tab you are on gets the same blue and purple glow as the selected shop and the search button. */
@media (max-width:899px){
  :root .tabs{left:0!important;right:0!important;transform:none!important;bottom:0!important;width:100%!important;max-width:none!important;height:var(--tabz)!important;padding:6px 12px env(safe-area-inset-bottom)!important;border-radius:0!important;background:var(--t-bg2)!important;box-shadow:0 -1px 0 var(--t-line),0 -14px 30px -22px var(--t-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;display:flex!important;align-items:stretch;gap:6px;z-index:40!important}
  :root .tabs button{flex:1;position:relative;min-width:0!important;min-height:58px!important;padding:6px 0 4px;border-radius:16px;background:none!important;font-size:12.5px!important;font-weight:650!important;letter-spacing:.01em;gap:5px!important;justify-content:flex-start;color:var(--t-mut)!important}
  :root .tabs button svg{position:relative;z-index:1;width:24px;height:24px;stroke-width:1.9;margin-top:4px}
  :root .tabs .on{color:var(--t-ink)!important;background:none!important}
  :root .tabs .on::before{display:block!important;content:"";position:absolute;top:2px;left:50%;width:62px;height:34px;margin-left:-31px;border-radius:17px;background:linear-gradient(120deg,rgba(110,231,242,.26),rgba(167,139,250,.32))!important;box-shadow:inset 0 0 0 1px rgba(167,139,250,.5),0 0 16px -3px rgba(124,92,255,.55)!important;animation:none!important}
  :root .tabs .on::after{display:none!important}
  :root .tabs .on svg{filter:none;stroke:var(--t-ink)}
  /* the panel's fade into the old floating pill is not needed now the bar is solid */
  .game::after{display:none}
}
@media (max-width:899px) and (prefers-reduced-motion:no-preference){
  :root .tabs button::before{transition:opacity .2s}
  :root .tabs button:active svg{transform:scale(.92);transition:transform .08s}
}

/* ---------- the item viewer on a phone: a wide card above the Pop-up Stage, not a thin column beside it (UX lab, 2026-12-02) ----------
   Measured before: the viewer was about 90px wide on a 390px phone, the photo small, the buttons stacked and cut short. Now: photo on
   the left, name, price and stock on the right, the actions in one row of full taps, and the grid keeps its four columns below. */
@media (max-width:899px){
  :root .my12-wrap.browsing{display:flex!important;flex-direction:column;gap:12px}
  :root .my12-wrap.browsing .viewer{order:-1;position:relative;top:auto;display:grid;grid-template-columns:40% minmax(0,1fr);column-gap:14px;align-content:start;padding:14px!important;border-radius:20px!important;scroll-margin:12px}
  :root .my12-wrap.browsing .viewer .v-pic{grid-column:1;grid-row:1 / span 5;aspect-ratio:1;padding:6%;border-radius:14px;background:#fff;align-self:start}
  :root .my12-wrap.browsing .viewer .v-pic .mono{font-size:40px;color:#9aa1ad}
  :root .my12-wrap.browsing .viewer h3{grid-column:2;font-size:18px!important;line-height:1.2;margin:2px 44px 6px 0}
  :root .my12-wrap.browsing .viewer .v-meta,:root .my12-wrap.browsing .viewer .v-note,:root .my12-wrap.browsing .viewer .v-when{grid-column:2}
  :root .my12-wrap.browsing .viewer .v-meta b{font-size:19px}
  :root .my12-wrap.browsing .viewer .v-note{font-size:13.5px;margin-top:8px}
  :root .my12-wrap.browsing .viewer .v-when{font-size:12.5px}
  :root .my12-wrap.browsing .viewer .v-acts{grid-column:1 / -1;flex-direction:row!important;flex-wrap:wrap;gap:8px;margin-top:14px}
  :root .my12-wrap.browsing .viewer .v-acts .pill{flex:1 1 30%;min-height:46px;padding:0 8px!important;font-size:14px!important;white-space:nowrap}
  :root .my12-wrap.browsing .viewer .v-report{grid-column:1 / -1;justify-self:center;margin-top:8px;min-height:44px}
  /* the grid below goes back to four full cards with names and prices */
  :root .my12-wrap.browsing .g.g3{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  :root .my12-wrap.browsing .g.g3 .cn{font-size:12px}
  :root .my12-wrap.browsing .g.g3 .cp{display:block}
}
/* readable everywhere (the lab measured these below 4.5 to 1) */
:root .v-note{color:var(--t-mut)!important}
:root .pw-in{color:var(--t-ok)}
:root .pw-out{color:var(--t-warn)}
/* a product photo keeps its true colours on a dark card (multiply darkened it) */
:root .v-pic img{mix-blend-mode:normal}
/* an item name in the strip wraps or ends in "…", never cut mid word */
.feed-t b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
/* the map's credits at the readable minimum */
.maplibregl-ctrl-attrib,.maplibregl-ctrl-attrib a{font-size:12px!important}
:root .my12-wrap.browsing .g.g3 .cp{font-size:12px!important}

/* the top-right button says "Post" in words, so it is not mistaken for zoom in (UX lab round 2, 2026-12-02) */
@media (max-width:899px){
  :root .topfind .tb-post{width:auto!important;min-width:44px;padding:0 14px 0 10px!important;gap:4px;border-radius:26px!important;font-size:15px;font-weight:700;display:inline-flex!important;align-items:center;justify-content:center}
  :root .topfind .tb-post .ico{width:18px;height:18px}
  /* while searching, the search box gets the whole top bar beside "Cancel" ("searching" is on <html> itself) */
  :root.searching .topfind .tb-post{display:none!important}
}

/* ---------- readability (2026-12-02): text size, and stillness for people who turn motion off ----------
   Text size is Normal, Large or Larger in the menu (saved on this phone as "lsf-text"). theme.js sets html.tx-large or
   html.tx-larger before anything is drawn and grows every font size given in pixels in this sheet, these rules included. The
   rules here only keep each screen whole with the bigger words. */
/* "See all" stays on one line beside its heading */
.feed-head .linkish{white-space:nowrap}
/* the small "Add to home screen" tile grows around its bigger words instead of spilling out */
:root.tx-large .a2hs,:root.tx-larger .a2hs{width:auto;min-width:60px;height:auto;min-height:60px;padding:6px 8px}
/* item names need wider cards: at Larger the Pop-up Stage goes to three across (still all 12), on a phone and in the
   computer's side panel alike */
:root.tx-larger .drawer .g.g3,:root.tx-larger .drawer .g.row4,:root.tx-larger .drawer .slots,:root.tx-larger .my12-wrap.browsing .g.g3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* at Large it stays four across, and a long name may take a third line rather than end in "…" */
:root.tx-large .drawer .g.g3 .cn,:root.tx-large .drawer .g.row4 .cn,:root.tx-large .my12-wrap.browsing .g.g3 .cn{-webkit-line-clamp:3}
/* The shop card on a phone stands at the bottom; with bigger words, a short phone or a long "Also here" list it could grow up under
   the top bar, or over the shop it is about. app.js (fitCard) then lets it shed, one step at a time: the "Swipe for the next shop"
   hint and the quiet lines under the row of actions ("Added by the owner", "Is this your shop? ..."; the panel and the ledger still
   show them) (fit1); all but two "Also here" shops, with a "+N more" button that brings them back (fit2); the "on the Pop-up Stage"
   line, as a tap on the card opens it anyway (fit3); today's hours after open or closed (fit4); last, on a short phone with the
   largest words and every "Also here" shop open, the address line (a tap on the card opens it) and the words under Call,
   Directions and Website (fit5); then the kind and walk line and the about line under the name (fit6). */
.b-also .also-more{display:none}
@media (max-width:899px){
  :root .bubble-pin.fit1 .bubble .by-owner,:root .bubble-pin.fit1 .bubble .add-contact{display:none}
  :root .bubble-pin.fit2:not(.also-all) .b-also [data-also]:nth-of-type(n+3){display:none}
  :root .bubble-pin.fit2:not(.also-all) .b-also .also-more{display:inline-flex;align-items:center}
  :root .bubble-pin.fit3 .bubble .b-hint,:root .bubble-pin.fit3 .bubble .b-want{display:none}
  :root .bubble-pin.fit4 .bubble .b-hours span{display:none}
  :root .bubble-pin.fit5 .bubble .b-addr{display:none}
  :root .bubble-pin.fit5 .bubble .acts2.stack .act-btn{height:44px}
  :root .bubble-pin.fit5 .bubble .acts2.stack .act-btn span{display:none}
  :root .bubble-pin.fit6 .bubble .b-meta,:root .bubble-pin.fit6 .bubble .b-about{display:none}
  /* with no room above the card for the find-me button or the map's buttons, they step aside while it is up (app.js cardHeight) */
  :root .game.game.no-room-me:has(.bubble-pin) #locate-map,:root .game.game.no-room-stack:has(.bubble-pin) .map-stack{opacity:0;pointer-events:none}
  /* the strip's cards widen for the bigger words */
  :root.tx-large .feed-row .feed-t{flex-basis:144px}
  :root.tx-larger .feed-row .feed-t{flex-basis:158px}
  :root.tx-large .stage-c .feed-row .feed-t{max-width:144px}
  :root.tx-larger .stage-c .feed-row .feed-t{max-width:158px}
}
/* Reduce motion (the phone's own setting): no turning glows, pulses, bobbing or sliding cards anywhere, including any added
   later; moves happen at once. The loading spinner keeps turning, slowly, so a wait never looks stuck. */
@media (prefers-reduced-motion:reduce){
  *:not(.spin),*::before,*::after{animation-duration:1ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:1ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
  .spin{animation-duration:2.4s!important}
}

/* ---------- fan favourites: a heart on an item (off unless the host switches it on; nothing shows while off) ----------
   In the item viewer, under when it was updated: a pill with a line heart and the count ("Like" while there is none). Filled on
   this phone, the heart takes the selected-shop glow (blue to purple) and the pill gets a thin ring of it. An owner sees the count
   alone. On a tile in "Shops showing items near you": a small heart count in the photo's top corner (Sold out keeps the other one). */
.v-like{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-height:44px;margin-top:10px;padding:0 16px 0 13px;border-radius:99px;font-size:13.5px;font-weight:650;cursor:pointer;justify-self:start;-webkit-tap-highlight-color:transparent}
.v-like .ico{width:18px;height:18px}
.v-like.on .ico{animation:like-pop .32s cubic-bezier(.2,.8,.2,1)}
@keyframes like-pop{40%{transform:scale(1.28)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.v-like.on .ico{animation:none}}
:root .pill.v-like.on,:root .drawer .viewer .pill.v-like.on{background:linear-gradient(135deg,rgba(110,231,242,.14),rgba(167,139,250,.2))!important;box-shadow:inset 0 0 0 1.5px #a78bfa!important}
:root.th-day .pill.v-like.on,:root.th-day .drawer .viewer .pill.v-like.on{background:linear-gradient(135deg,rgba(110,231,242,.16),rgba(124,92,255,.14))!important;box-shadow:inset 0 0 0 1.5px #7c5cff!important}
.v-like.own{display:flex;cursor:default;min-height:0;margin:8px 0 0;padding:0;font-size:13px;color:var(--t-mut)}
.v-like.own .ico{width:16px;height:16px}
@media (max-width:899px){
  :root .my12-wrap.browsing .viewer .v-like{grid-column:2}
}
.feed-like{position:absolute;right:3px;top:3px;display:inline-flex;align-items:center;gap:2px;padding:0 6px 0 4px;border-radius:9px;font-size:12px;font-weight:700;line-height:18px;background:rgba(17,19,24,.8);color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.feed-like .ico{width:12px;height:12px;stroke-width:2.4}
.feed-like.on .ico{fill:#c4b5fd;stroke:#c4b5fd}

/* "Usually carries" examples show a small line picture of their kind of thing instead of a big grey first letter (2026-12-02).
   Quiet like the rest of an example: muted colour, thin line, the same size on every tile; Night and Day both read --t-mut. */
:root .cd.ex.has-ic .pic{display:grid;place-items:center}
:root .cd.ex .pic svg.ex-ic{width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:var(--t-mut);opacity:.9}
:root .bubble .b-s.has-ic{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
/* the name keeps all three of its lines (the slot's usual clamp); on a narrow phone the picture gives up the room instead (22px down to 14px) */
:root .bubble .b-s.has-ic i{flex:none}
:root .bubble .b-s svg.b-ic{width:22px;height:22px;flex:0 1 22px;min-height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--t-mut);opacity:.9}

/* Example pictures (2026-12-02): a "Usually carries" example with a generic picture (public/discover/ex, from item-pics.js) shows
   the picture filling its tile, the name under it, and a small "Example" tag in the corner of the picture (top left, where a product shot is empty background). Locals called the site fake when
   examples looked like real stock, so the tile keeps its quiet dashed frame and the tag is always there; a shop's own photo
   never gets one. The picture sits in a box of a fixed size (it never sizes the box), so nothing moves when it arrives; until
   then the box shows the pictures' own warm light grey. Night and Day: --t-tag and --t-tag-ink. */
:root .cd.ex.has-photo .pic,:root .drawer .g.g3 .cd.ex.has-photo .pic,:root .drawer .g.row4 .cd.ex.has-photo .pic{position:relative;display:block;padding:0;overflow:hidden;border-radius:8px;background:#e9e6e1!important}
:root .cd.ex.has-photo .pic .ex-img,:root .bubble .b-s.ex-photo .ex-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
/* the picture reaches close to the dashed frame, so the tag fits on the narrowest phone (320px) */
:root .g .cd.ex.has-photo,:root .drawer .g.g3 .cd.ex.has-photo,:root .drawer .g.row4 .cd.ex.has-photo{padding:3px 3px 6px}
/* the picture stays square and the tile grows to fit a name on two lines ("Cinnamon roll" at 320px), so a long name never
   takes height from the picture and the tag never covers most of it; the other tiles in the row stretch to the same height */
:root .my12-wrap .g .cd.ex.has-photo,:root .drawer .g.g3 .cd.ex.has-photo,:root .drawer .g.row4 .cd.ex.has-photo{aspect-ratio:auto}
:root .cd.ex.has-photo .pic,:root .drawer .g.g3 .cd.ex.has-photo .pic,:root .drawer .g.row4 .cd.ex.has-photo .pic{flex:none;height:auto;min-height:0;aspect-ratio:1/1}
:root .drawer .g.g3 > .cd.ex,:root .drawer .g.row4 > .cd.ex,:root .drawer .g.row4 > .more-tile,:root .my12-wrap .g > .cd.ex{align-self:stretch}
:root .ex-tag,:root .cd .ex-tag,:root .bubble .b-s .ex-tag{position:absolute;left:0;top:0;z-index:1;max-width:100%;overflow:hidden;padding:0 4px;border-radius:8px 0 6px 0;background:var(--t-tag);color:var(--t-tag-ink)!important;box-shadow:0 0 0 1px var(--t-line);font-size:12px;line-height:16px;font-weight:600;font-style:normal;letter-spacing:0;white-space:nowrap;pointer-events:none}
:root .bubble .b-shelf.ex .b-s.ex-photo{position:relative;padding:0;overflow:hidden}
:root .bubble .b-s.ex-photo .ex-img{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);border-radius:7px;background:#e9e6e1}
/* on the card's small spots the tag stays at 12px with Large and Larger text (given in rem, which theme.js leaves alone), so the
   word fits whole on a 62px spot; the panel's tag grows with the text */
:root .bubble .b-s.ex-photo .ex-tag{left:2px;top:2px;max-width:calc(100% - 4px);border-radius:7px 0 6px 0;padding:0 3px;font-size:.75rem;line-height:16px}

/* "Open now" (2026-12-02): each row says open or closed right now, from the shop's posted hours, before its kind and walk.
   A small green "Open until 6 PM" or a muted "Closed till 10 AM"; a shop with no hours says nothing. The first chip in the
   row of kinds narrows the list and the map to shops open now, and a short line under the chips says what is hidden. */
.sl{display:flex;align-items:baseline;min-width:0;margin-top:1px;font-size:12.5px;line-height:1.35}
/* The open line keeps its full width and the kind, walk and street take what is left, but never less than 4em (about
   "Knife sh…"): only past that does the open line give way, with "…". */
.sl .sm{flex:1 1 0;min-width:4em;margin-top:0}
.sl .sm::before{content:"·";margin:0 4px}
.oc{flex:0 0 auto;max-width:calc(100% - 4em);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px;color:var(--t-mut,var(--mut))}
.oc b{font-weight:700}
/* On a phone a lit shop's badge ("Updated yesterday") takes two short lines, so it does not take the room of the open line and
   the kind and walk. A short one ("Setting up") stays on one line. */
@media (max-width:480px){
  .drawer :is(.srow,.nshop) .badge{max-width:7em;white-space:normal;text-align:center;line-height:1.25}
}
:root .drawer :is(.srow,.nshop,.near-row) .oc{color:var(--t-mut)!important}
:root .drawer :is(.srow,.nshop) .oc.is-open b,:root .oc.is-open b{color:var(--t-ok)!important}
:root .drawer :is(.srow,.nshop) .oc.is-shut b,:root .oc.is-shut b{color:var(--t-mut)!important}
:root .drawer .chips .oc-chip{gap:6px;padding-left:12px;margin-right:4px}
:root .drawer .chips .oc-chip svg{flex:none;width:16px;height:16px}
/* on, it reads as a switch that is on: a green line and green words, not the filled look of the kind picked */
:root .drawer .chips .oc-chip.on{background:rgba(95,211,154,.14)!important;color:var(--t-ok)!important;box-shadow:inset 0 0 0 1.5px var(--t-ok)!important}
:root.th-day .drawer .chips .oc-chip.on{background:rgba(31,138,87,.09)!important}
.oc-note{display:flex;align-items:center;gap:10px;margin:-4px 0 12px;font-size:13px;line-height:1.35;color:var(--t-mut)}
.oc-note span{flex:1;min-width:0}
.oc-off{flex:none;min-height:44px;padding:0 14px;border:0;border-radius:99px;font:inherit;font-size:13px;font-weight:600;color:var(--t-ink);background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline);cursor:pointer}
.oc-off:active{background:var(--t-bg3)}

/* ---------- Share in the item viewer (2026-12-02): "Share" sends a link to that one item ----------
   The share line icon sits before the word. On a phone the actions are two rows of two full taps (My route and Directions,
   then I want this and Share); with three, the last one takes the whole row. */
.v-acts .v-share{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.v-acts .v-share .ico{width:18px;height:18px}
@media (max-width:899px){
  /* the card is always the full width, also for an item with a short name and no note (it shrank to its words) */
  :root .my12-wrap.browsing .viewer{align-self:stretch}
  :root .my12-wrap.browsing .viewer .v-acts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  :root .my12-wrap.browsing .viewer .v-acts .pill{width:100%;min-width:0;min-height:46px}
  :root .my12-wrap.browsing .viewer .v-acts .pill:last-child:nth-child(odd){grid-column:1 / -1}
}
/* a message ("Link copied", "no longer showing") shows over an open shop sheet, in the strip of map above it, not behind it */
:root:has(.ledger.open) .toast{position:fixed;z-index:9500;top:calc(14px + env(safe-area-inset-top))}

/* ---------- Gift ideas under $25 nearby (the holiday gift guide, 2026-12-02) ----------
   A row under "Shops showing items near you" and on top of a gift search: real posted items at $25 or less, nearest first.
   The tiles are the strip's own (.feed-t); the row scrolls sideways inside itself only. The small gift icon is amber, the colour
   for what is lit. */
.gift-strip{margin:14px 0 0}
.gift-find{margin:4px 0 14px}
.gift-head{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px}
.gift-head b{display:flex;align-items:center;gap:7px;min-width:0;font-size:17px;font-weight:650;letter-spacing:-.01em;color:var(--t-ink)}
.gift-head b span{white-space:normal;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} /* on a narrow phone (375px, 360px) the title wraps to two lines, never cut */
.gift-i{flex:none;color:var(--t-lit)}
:root .gift-head .linkish{flex:none;min-height:44px;font-size:13px;color:var(--t-mut)!important}
.gift-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;margin:0 -2px;scrollbar-width:none;touch-action:pan-x pan-y;overscroll-behavior-x:contain}
.gift-row::-webkit-scrollbar{display:none}
.gift-row .feed-t{flex:0 0 116px;min-height:44px;scroll-snap-align:start}
.gift-strip .feed-p,.gift-grid .feed-p{font-size:13px}
.gift-row .feed-t small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} /* the shop and the walk in full, on two lines */
.gift-top h3{display:flex;align-items:center;gap:8px}
.gift-top h3 .gift-i{width:20px;height:20px}

/* the owner's photo, looked at before it is used (2026-12-02): squared and brightened on the phone, then "Use photo" or
   "Try again". A sheet from the bottom over a dim page, in the panel colours of the theme; the photo has a thin
   blue to purple edge, the selected-shop glow, so it reads as the one thing to look at. */
.pp{position:fixed;inset:0;z-index:9500;display:flex;align-items:flex-end;justify-content:center}
.pp-scrim{position:absolute;inset:0;background:var(--t-scrim);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.pp-card{position:relative;width:100%;max-width:520px;max-height:100%;overflow-y:auto;box-sizing:border-box;padding:20px 16px calc(18px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:var(--t-bg2);color:var(--t-ink);box-shadow:inset 0 1px 0 var(--t-line),0 -18px 40px -16px var(--t-shadow);--ink:var(--t-ink);--mut:var(--t-mut)}
.pp-card h3{margin:0;font-size:19px;font-weight:700;letter-spacing:-.01em}
.pp-sub{margin:4px 0 14px;font-size:13.5px;line-height:1.4;color:var(--t-mut)}
.pp-pic{width:min(100%,320px);aspect-ratio:1;margin:0 auto;padding:2px;border-radius:20px;background:linear-gradient(135deg,#6ee7f2,#a78bfa 55%,#7c5cff);box-shadow:0 14px 32px -16px rgba(124,92,255,.55)}
.pp-pic img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px;background:var(--t-bg3)}
.pp-card .switch-row{margin:16px 2px 2px!important;min-height:44px}
.pp-acts{flex-wrap:nowrap;margin-top:14px}
.pp-acts .pill{flex:1 1 0;min-height:48px;font-size:15px}
@media (min-width:900px){.pp{align-items:center}.pp-card{max-width:420px;border-radius:24px}}
@media (prefers-reduced-motion:no-preference){.pp-card{animation:pp-up .22s ease-out}@keyframes pp-up{from{transform:translateY(24px);opacity:0}}}

/* ---------- Roof objects (his ask, 2026-12-02: the giant open book on the bookstore in his reference picture, for every shop that
   gets claimed). A claimed building carries a big object on its roof that says what it sells (roofs.js): his own picture once it is
   in public/discover/roofs/, until then a stand-in, the key's Lucide icon in a soft glowing disc. It stands on the roof, grows with
   the building (tight, Favourite), and is put away when the map is zoomed far out. A tap on it opens its shop, as a tap on the
   building does. --b is the building picture's size; --rx, --ry: the middle of its roof, --rw: the object's width, as parts of
   that size (measured from each picture in stores/). ---------- */
.avatar{--b:92px}
.avatar.tight{--b:62px}
/* The roof layer is the building's own box, so it moves exactly as the building does (the pop of a new claim, the lift when the
   shop is picked or pointed at, the Favourite pop and drop: the same rules as .bld, from the same origin). The object stands in it. */
.avatar .roof{--rx:.5;--ry:.4;--rw:.42;--rk:1;--rs:calc(var(--b)*var(--rw)*var(--rk));position:absolute;left:0;top:0;width:var(--b);height:var(--b);pointer-events:none;z-index:3;transition:transform .2s}
.avatar .roof.st-brick{--rx:.493;--ry:.55;--rw:.42}
.avatar .roof.st-cafe{--rx:.563;--ry:.42;--rw:.48}
.avatar .roof.st-gallery{--rx:.585;--ry:.46;--rw:.46}
.avatar .roof.st-greenhouse{--rx:.53;--ry:.47;--rw:.42}
.avatar .roof.st-victorian{--rx:.575;--ry:.41;--rw:.48}
.avatar .roof.st-glass{--rx:.57;--ry:.47;--rw:.46}
.avatar .roof-at{position:absolute;left:calc(var(--b)*var(--rx));top:calc(var(--b)*var(--ry));width:var(--rs);height:calc(var(--rs)*1.16);transform:translate(-50%,-100%)}
.avatar.flip .roof-at{left:calc(var(--b)*(1 - var(--rx)))}
.avatar:hover .roof{transform:translateY(-3px) scale(1.05)}
.avatar.sel .roof{transform:translateY(-4px) scale(1.08)}
.avatar.pop .roof{animation:pop-in .9s cubic-bezier(.2,1.6,.4,1)}
.avatar.fav-pop .roof{transform-origin:50% 100%;animation:fav-pop .6s cubic-bezier(.2,1.5,.35,1)}
.avatar.fav-drop .roof{transform-origin:50% 100%;animation:fav-drop .35s ease-out}
.game.mode-2d .avatar .roof{--rk:.74}
.far .avatar .roof,.roof-off .avatar .roof{display:none}
.roof *{pointer-events:none}
.avatar .roof .roof-obj{pointer-events:auto;cursor:pointer}
/* One animation per roof object, nothing else on it moves: the glow is part of the object and the shadow stays still. It rests
   while the map moves and while its shop is off screen (app.js: #gmap.moving, .avatar.away). */
.roof-obj{position:absolute;left:0;top:0;width:100%;aspect-ratio:1;animation:roof-float 3s ease-in-out infinite}
#gmap.moving .roof-obj,.avatar.away .roof-obj{animation-play-state:paused}
/* the soft glow behind the object, in its own colour */
.roof-obj::before{content:"";position:absolute;inset:-22%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--c,#b39057) 60%,transparent) 55%,transparent);opacity:.55;pointer-events:none}
/* the stand-in: a chunky token, a white line icon on it */
.roof-disc{position:absolute;inset:0;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(130% 130% at 30% 18%,color-mix(in srgb,var(--c) 55%,#fff) 0,var(--c) 42%,color-mix(in srgb,var(--c) 74%,#0b0e14) 100%);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.55),inset 0 -3px 5px rgba(8,10,16,.3),0 0 0 1.5px color-mix(in srgb,var(--c) 45%,#fff),0 0 0 2.5px rgba(8,10,16,.18),0 10px 14px -8px rgba(8,10,16,.7)}
.roof-disc svg{width:54%;height:54%;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;overflow:visible;filter:drop-shadow(0 1px 0 rgba(8,10,16,.28))}
/* his picture, once it is in the build: the object alone, a soft shadow under it */
.roof-img{position:absolute;inset:-12%;width:124%;height:124%;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(8,10,16,.35))}
.roof.has-art .roof-obj::before{opacity:.45}
/* where it would touch the roof: a soft shadow that keeps it standing on its building */
.roof-shadow{position:absolute;left:24%;right:24%;bottom:0;height:9%;border-radius:50%;background:radial-gradient(closest-side,rgba(8,10,16,.42),transparent);opacity:.9}
.avatar.sel .roof-disc{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7),inset 0 -3px 0 rgba(8,10,16,.22),0 0 0 1.5px #6ee7f2,0 0 16px 2px rgba(167,139,250,.6),0 9px 12px -7px rgba(8,10,16,.6)}
.avatar.dark .roof-obj{filter:brightness(.8) saturate(.75)}
.avatar.stale .roof-obj{filter:grayscale(.85);opacity:.8}
:root.th-day .roof-obj::before{opacity:.62}
@keyframes roof-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}
@media (prefers-reduced-motion:reduce){.roof-obj{animation:none!important}.avatar.pop .bld,.avatar.pop .roof,.avatar.fav-pop .roof,.avatar.fav-drop .roof{animation:none}.avatar .roof{transition:none}}
/* the small number of shops drawn with this one sits beside the building, clear of its roof object */
.avatar:has(.roof) .more{width:auto;left:-6px;top:calc(var(--b)*.5)}
/* the selected shop says its name over itself: over its roof object too (the map keeps room for it under the top bar: app.js
   roofRoom) */
@media (max-width:899px){:root .maplibregl-marker.avatar.sel[data-name]:has(.roof)::after{transform:translate(-50%,-40px)}:root .maplibregl-marker.avatar.fav.sel[data-name]:has(.roof)::after{transform:translate(-50%,-56px)}}
/* beside the building on the shop's header card, the list and the bubble: a small token, still */
.av .roof.mini{position:absolute;right:-7px;top:-7px;width:44%;height:44%;transform:none;z-index:3;pointer-events:none}
.av .roof.mini .roof-at{position:absolute;inset:0}
.av .roof.mini .roof-obj{animation:none}
.av .roof.mini .roof-obj::before{inset:-18%;opacity:.5}
.av .roof.mini .roof-shadow{display:none}
.av .roof.mini .roof-disc{box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),inset 0 -2px 0 rgba(8,10,16,.22),0 0 0 1.5px var(--t-bg,#fff),0 4px 8px -4px rgba(8,10,16,.55)}
.av .roof.mini .roof-disc svg{stroke-width:2.2}

/* merge review (2026-12-02): long action words ("On my Want list") wrap inside their button at Large and Larger on narrow phones;
   the gift row title gets a third line at Larger, never cut */
@media (max-width:899px){:root .my12-wrap.browsing .viewer .v-acts .pill{white-space:normal;line-height:1.2;text-align:center}}
:root.tx-larger .gift-head b span{-webkit-line-clamp:3}

/* ---------- Local Favorites (his words, 2026-12-02: "the Local Favorites can be anything locals want to post and they just rotate
   out"). Neighbors' photos on a shop, below its own items: two to a row, the photo square, its caption, "From a neighbor" and when;
   a heart, Report, and the owner's Pin and Remove (every button 44px or taller). A shop nobody has claimed shows its top four in its
   spots (.lf-spot), solid like a shop's own item, while its examples stay dashed and quiet. Night is :root, Day is :root.th-day:
   only the --t-* colours are used. ---------- */
.lf:empty,.lf-claim:empty{display:none}
.lf{margin:14px 0 4px}
.lf .lf-head span{white-space:normal}
.lf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.lf-post{display:flex;flex-direction:column;min-width:0;padding:6px;border-radius:14px;background:var(--t-bg2);box-shadow:inset 0 0 0 1px var(--t-line);color:var(--t-ink)}
.lf-post.pinned{box-shadow:inset 0 0 0 1.5px var(--t-lit)}
.lf-post.waiting{box-shadow:inset 0 0 0 1.5px var(--t-bline);background:var(--t-bg2)}
.lf-pic{aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--t-bg3)}
.lf-pic img{display:block;width:100%;height:100%;object-fit:cover}
.lf-cap{margin:7px 2px 0;font-size:14px;line-height:1.3;font-weight:600;overflow-wrap:anywhere;color:var(--t-ink)}
.lf-by{margin:3px 2px 0;font-size:12px;line-height:1.3;color:var(--t-mut)}
.lf-wait{margin:6px 2px 0;padding:6px 8px;border-radius:9px;font-size:12px;line-height:1.35;color:var(--t-ink);background:var(--t-bg2);box-shadow:inset 0 0 0 1px var(--t-line)}
.lf-acts{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:auto;padding-top:4px}
.lf-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;min-width:44px;padding:0 8px;border:0;border-radius:99px;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--t-mut);cursor:pointer}
.lf-btn:focus-visible{outline:2px solid var(--t-ink);outline-offset:-2px}
.lf-btn .ico{width:18px;height:18px}
.lf-heart.on{color:#a78bfa}
.lf-heart.on .ico{fill:currentColor}
:root.th-day .lf-heart.on{color:#7c5cff}
.lf-n{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 6px;font-size:13px;font-weight:600;color:var(--t-mut)}
.lf-n .ico{width:18px;height:18px}
.lf-danger{color:var(--t-warn)}
.lf-danger.armed{color:var(--t-pri-ink);background:var(--t-warn)}
.lf-empty{margin:10px 2px 0;font-size:13.5px;line-height:1.4;color:var(--t-mut)}
.lf-add{margin-top:12px;width:100%;min-height:46px;font-size:14px}
.lf-add .ico{width:18px;height:18px}
.lf-msg{margin:6px 2px 0;font-size:13px;color:var(--t-warn)}
.lf-msg:empty{display:none}
/* in the spots of a shop nobody has claimed: the photo fills the tile, the caption under it */
:root .drawer .g.g3 .cd.lf-spot .pic,:root .drawer .g.row4 .cd.lf-spot .pic{padding:0;overflow:hidden;border-radius:8px;background:var(--t-bg3)}
:root .drawer .g.g3 .cd.lf-spot .pic img,:root .drawer .g.row4 .cd.lf-spot .pic img{object-fit:cover;width:100%;height:100%}
:root .drawer .g .cd.lf-spot .cn{color:var(--t-ink)!important;overflow-wrap:anywhere}
/* the card: a Local Favorite's spot is solid, its photo filling it */
:root .bubble .b-shelf.ex .b-s.lf-s,:root .bubble .b-shelf .b-s.lf-s{border:0!important;background:var(--t-bg3)!important;box-shadow:inset 0 0 0 1px var(--t-line)!important;color:var(--t-ink)!important;overflow:hidden}
:root .bubble .b-s.lf-s img{width:100%;height:100%;object-fit:cover}
:root .bubble .b-lf{color:var(--t-mut)}
/* posting: the same sheet as the owner's photo */
.lp-photo{display:flex;align-items:center;gap:12px;margin:2px 0 12px}
.lp-pic{flex:none;width:96px;height:96px;padding:2px;border-radius:16px;background:linear-gradient(135deg,#6ee7f2,#a78bfa 55%,#7c5cff)}
.lp-pic img{display:block;width:100%;height:100%;object-fit:cover;border-radius:14px;background:var(--t-bg3)}
.lp-choose{width:100%;min-height:48px;font-size:15px}
.lp-lbl{display:block;margin:0 2px 6px;font-size:13px;font-weight:600;color:var(--t-mut)}
.lp textarea{display:block;width:100%;box-sizing:border-box;min-height:64px;resize:vertical;font:inherit;font-size:16px;line-height:1.35;padding:12px 14px;border-radius:14px;border:0;background:var(--t-bg3);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line)}
.lp textarea::placeholder{color:var(--t-mut)}
.lp textarea:focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--t-ink)}
.lp-count{margin:4px 2px 0;font-size:12px;color:var(--t-mut);text-align:right}
.lp-rules{margin:8px 2px 0;font-size:13px;line-height:1.4;color:var(--t-mut)}
.lp-msg{margin:8px 2px 0;font-size:13.5px;color:var(--t-warn)}
.lp-msg:empty{display:none}
.lp .pp-acts .pill:disabled{opacity:.5}
.lp .auth-slot{margin:4px 0 0}
:root .lf-spots-head span,:root .lf .lf-head span{color:var(--t-mut)}
.lf-claim{margin:10px 0 0;font-size:14px;line-height:1.4;font-weight:600;color:var(--t-ink)}

/* ---------- "About your shop", owner accounts and the cap of 3 shops (2026-12-02) ---------- */
/* the one line about a shop, under its name: quiet ink, one line cut with "…" (the ledger shows all of it) */
:root .bubble .b-about,:root .shop .sh .sh-about{font-size:13px;line-height:1.35;font-weight:500;color:var(--t-mut)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0 0}
:root .ledger-pane .shop .sh .sh-about{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
/* the owner's cards on My shop: the line about the shop, keeping it with a Google account, "Your shops" */
:root .about-edit,:root .keep-card{margin:14px 0;padding:14px;border-radius:18px;background:var(--t-bg2);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line);overflow-wrap:anywhere}
:root .about-edit .spot-sub,:root .keep-card .spot-sub{color:var(--t-mut);font-size:13px;line-height:1.4}
:root .about-edit input{display:block;width:100%;box-sizing:border-box;min-width:0;min-height:46px;margin-top:10px;font:inherit;font-size:16px;padding:10px 12px;border-radius:12px;border:0;background:var(--t-bg3);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line)}
:root .about-edit input::placeholder{color:var(--t-mut)}
:root .about-edit input:focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--t-ink)}
.about-count{margin:4px 2px 0;font-size:12px;color:var(--t-mut);text-align:right}
.about-edit .acts{margin-top:8px}
.keep-card .pill.wide{margin-top:12px}
:root .keep-card.kept .label{color:var(--t-ok)!important}
.own-list .own-item{padding:12px 0 2px;border-top:1px solid var(--t-line);margin-top:10px}
.own-list .spot-sub + .own-item{border-top:0;margin-top:4px}
.own-name{font-weight:650;font-size:15px;line-height:1.3;margin:0 0 8px;color:var(--t-ink);overflow-wrap:anywhere}
/* no 4th shop on this phone (or account): said plainly, with "Text us instead" */
:root .cap-card{margin:14px 0;padding:16px;border-radius:18px;background:var(--t-bg2);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line);text-align:left;overflow-wrap:anywhere}
:root .cap-card h3{margin:0 0 6px;font-size:17px;font-weight:650;line-height:1.3;letter-spacing:-.01em;color:var(--t-ink)!important}
:root .cap-card p{margin:0 0 12px;font-size:14px;line-height:1.45;color:var(--t-mut)!important}
.quest.cap-quest{text-align:left;padding-top:8px}
.keep-card .hrs-note:empty,.own-list .hrs-note:empty,.own-switch .hrs-note:empty{min-height:0;margin:0}
/* My shop opens the shop (2026-12-02): with 2 or 3 shops kept with the account, one tap at the top switches between them */
.own-switch{margin:0 0 12px}
.own-switch .label{margin:0 0 6px}
.own-switch-row{display:flex;flex-wrap:wrap;gap:8px}
:root .own-tab{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:8px 14px;border-radius:99px;border:0;font:inherit;font-size:14px;font-weight:600;line-height:1.25;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:var(--t-bg2);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line)}
:root .own-tab.on{background:var(--t-pri);color:var(--t-pri-ink);box-shadow:none;cursor:default}
:root .own-tab:disabled{opacity:.6}
/* not signed in, on My shop: "Already have a shop? Sign in to open it." comes first, then finding a shop */
.auth-card.own-signin{margin:0 0 10px}
.owner-account{color:var(--t-mut);font-size:14px;margin-bottom:12px}
.owner-account summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.owner-find-title{font-size:22px;margin:12px 0}
.owner-find-label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.owner-find{display:flex;align-items:center;height:52px;background:var(--t-bg2);border:1px solid var(--t-line);border-radius:16px}
.owner-find:focus-within{outline:2px solid var(--t-pri);outline-offset:2px}
.owner-find svg{width:20px;height:20px;flex:none;margin-left:14px;fill:none;stroke:var(--t-mut);stroke-width:2}
:root #view>.pad .owner-find #find{min-width:0;height:50px;margin:0;padding:0 10px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}
.owner-find input::-webkit-search-cancel-button{display:none}
.owner-find button{min-width:44px;min-height:48px;color:var(--t-ink)}
.owner-no-match{margin:12px 0;color:var(--t-ink);font-size:14px}
.owner-no-match .pill{display:block;margin-top:8px}
.owner-add{min-height:44px;margin:12px 0}
.own-new{margin:4px 2px 10px}
.own-opening{margin-top:24px}

/* the card's hours get their own line (his ask 2026-12-02: "This should have their hours displayed"): never cut off by the
   Claim button; open in the green of the open sign, closed in quiet ink */
:root .bubble .b-hours{margin:1px 0 0;font-size:14px;line-height:1.3;color:var(--t-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:root .bubble .b-hours b{font-weight:700}
:root .bubble .b-hours b.open{color:var(--t-ok)!important}
:root .bubble .b-hours b.shut{color:var(--t-mut)!important}

/* the claim process (2026-12-02): signing in, the owner's tick and the optional phone, on the claim screens and Add my shop */
.claim-gate{margin:12px 0 4px;text-align:left}
:root .claim-gate .agree{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:10px 12px;border-radius:14px;background:var(--t-bg3);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line);font-size:15px;line-height:1.4;font-weight:600;cursor:pointer}
.claim-gate .agree input{flex:none;width:24px;height:24px;margin:1px 0 0;accent-color:var(--t-pri)}
:root .claim-gate .cg-label{display:block;margin:12px 2px 6px;font-size:14px;font-weight:600;color:var(--t-ink);letter-spacing:0;text-transform:none}
:root .claim-gate .cg-label .opt{font-weight:500;color:var(--t-mut)}
:root .claim-gate .cg-phone{display:block;width:100%;box-sizing:border-box;min-width:0;min-height:46px;font:inherit;font-size:16px;padding:10px 12px;border-radius:12px;border:0;background:var(--t-bg3);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line)}
:root .claim-gate .cg-phone::placeholder{color:var(--t-mut)}
:root .claim-gate .cg-why{margin:6px 2px 0;font-size:13px;line-height:1.4;color:var(--t-mut)}
.quest .auth-slot,.confirm-shop .auth-slot,.add-form .auth-slot{margin:10px 0 4px;text-align:left}
.quest .pill:disabled,.confirm-shop .pill:disabled{opacity:.45}
:root .own-verified{margin:-4px 0 10px;font-size:13px;font-weight:600;color:var(--t-ok)}
.prove-card .acts{display:flex;gap:8px;flex-wrap:wrap}

/* place cards (his picture 2026-12-02): no letter tile; the name on the left, a picture of that kind of place fading in on the right.
   The pictures are his own mockup's (public/discover/places/); places without their own picture borrow the nearest kind's for now */
.row.has-pic{min-height:96px}
.row.has-pic .pl-txt{padding-left:4px}
.mine-ask{margin-top:10px}
.mine-ask .pill{margin-top:10px;min-height:44px}

/* Choose an area (his ask 2026-12-02): one soft welcome line, the places first, "Shops near me" third, "I'm feeling lucky" last */
.start-hi{margin:4px 2px 14px;font-size:17px;line-height:1.35;color:var(--t-mut)}
.row.near-me{min-height:72px}
.row.near-me .nm-ic{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:var(--t-bg3,#eef0f4);color:var(--t-pri,#6d4aff);margin-right:12px}
.row.near-me .nm-ic svg{width:24px;height:24px}
.lucky-last{margin-top:16px}

/* the city header (his ask 2026-12-02): "Minneapolis" fixed in the top bar, the neighborhood under it, a tap opens the
   neighborhood menu right under the bar */
.area-pill.city b{display:flex;flex-direction:column;line-height:1.1}
.area-pill.city .ap-city{font-size:17px;font-weight:750;color:var(--t-ink,#0f1218)}
.area-pill.city .ap-hood{font-size:13px;font-weight:600;color:var(--t-mut,#5b6272);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.area-menu{position:absolute;left:14px;right:14px;top:calc(72px + env(safe-area-inset-top));z-index:30;max-height:min(62vh,520px);overflow:auto;
  padding:8px;border-radius:20px;background:var(--t-bg,#fff);box-shadow:0 12px 40px rgba(0,0,0,.28),inset 0 0 0 1px var(--t-line,rgba(15,18,24,.08))}
.area-menu .am-head{padding:8px 12px 6px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--t-mut,#5b6272)}
.area-menu .am-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:0 12px;border-radius:12px;
  font-size:16px;font-weight:600;color:var(--t-ink,#0f1218);text-align:left;background:none}
.area-menu .am-row.on{background:var(--t-bg3,#eef0f4)}
.area-menu .am-row i{font-style:normal;color:var(--t-pri,#6d4aff);font-weight:700}
.area-menu .am-other{margin-top:4px;border-top:1px solid var(--t-line,rgba(15,18,24,.08));border-radius:0 0 12px 12px;color:var(--t-mut,#5b6272)}
/* ---------- a heart on a shop itself (his words, 2026-12-02: "I still can't like my neighbor's shops") ----------
   On the card, in the row of actions beside Save: a 44px round button, a pill once its count stands beside the heart; filled on
   a phone that hearted the shop, in the item heart's glow (blue to purple). The same button in the header of the panel and the
   ledger, under Claim or the shop's badge. The shop's owner sees the count alone. A list row says "♥ 3" quietly after the name.
   A short pop when it is filled, still when the phone asks for less motion. */
.heart-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;height:44px;padding:0;border-radius:22px;background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline);color:var(--t-ink);font-size:15px;font-weight:700;line-height:1;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.heart-btn.has-n{padding:0 15px 0 12px}
.heart-btn .ico{width:20px;height:20px}
:root .heart-btn.on{background:linear-gradient(135deg,rgba(110,231,242,.14),rgba(167,139,250,.2));box-shadow:inset 0 0 0 1.5px #a78bfa}
:root .heart-btn.on .ico{fill:#a78bfa;stroke:#a78bfa}
:root.th-day .heart-btn.on{background:linear-gradient(135deg,rgba(110,231,242,.16),rgba(124,92,255,.14));box-shadow:inset 0 0 0 1.5px #7c5cff}
:root.th-day .heart-btn.on .ico{fill:#7c5cff;stroke:#7c5cff}
.heart-btn.pop .ico{animation:like-pop .32s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){.heart-btn.pop .ico{animation:none}}
@media (hover:hover){.heart-btn:hover{background:var(--t-bg3)}}
.heart-own{flex:none;display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:14px;font-weight:650;color:var(--t-mut)}
.heart-own .ico{width:16px;height:16px;fill:currentColor}
/* the panel and the ledger: Claim (or the shop's badge) with the heart under it, at the right of the shop's name */
.sh-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.sh-side>.sh-claim{align-self:auto}
.sh-side>.heart-own:empty{display:none}
/* a list row: the count after the shop's name, in quiet ink; the name gives way first */
.sn-line{display:flex;align-items:baseline;gap:7px;min-width:0}
.sn-line>.sn{flex:0 1 auto;min-width:0}
.row-heart{flex:none;display:inline-flex;align-items:center;gap:3px;font-size:13px;font-weight:600;line-height:1;color:var(--t-mut)}
.row-heart:empty{display:none}
.row-heart .ico{width:13px;height:13px;fill:currentColor;stroke:currentColor;align-self:center}
:root .row-heart.on .ico{fill:#a78bfa;stroke:#a78bfa}
:root.th-day .row-heart.on .ico{fill:#7c5cff;stroke:#7c5cff}
/* A shop's row of actions (on its card, in the panel and in the ledger) stays on one line (app.js fitRow): Call, Directions and
   Website with their words, then the heart, Save and Share. Where it is too narrow it gives up room one step at a time: r1 the gaps
   close a little; r2 Call, Directions and Website show their icons only; r3 the gaps close up; r4 (the card) the row takes most of
   the card's side padding. */
.bubble .acts2>:not(.act-sp),.shop>.acts2>:not(.act-sp){flex-shrink:0}
.acts2{gap:4px}
.acts2 .act-btn{text-decoration:none}
/* Call, Directions and Website share the room left by the heart, Save and Share: the icon over its word (as a maps place card does) */
.acts2.stack .act-sp{display:none}
.acts2.stack .act-btn{flex:1 1 0;min-width:44px;height:54px;flex-direction:column;justify-content:center;gap:3px;padding:0 1px;border-radius:16px;font-size:12px;font-weight:600;letter-spacing:-.015em;line-height:1.1}
.acts2.stack .act-btn span{display:block;max-width:100%;overflow:hidden;white-space:nowrap}
.acts2 .act-go{background:var(--t-pri);color:var(--t-pri-ink)!important;box-shadow:none;font-weight:700}
.acts2:not(.stack) .act-go{padding:0 16px 0 13px;gap:8px}
.acts2 .act-save.on{color:var(--t-lit);box-shadow:inset 0 0 0 1.5px var(--t-lit)}
.acts2 .act-save.on .ico{fill:currentColor}
.acts2.r1{gap:2px}
.acts2.r1 .heart-btn.has-n{padding:0 12px 0 10px}
.acts2.r2 .act-btn{height:44px;padding:0}
.acts2.r2 .act-btn span{display:none}
.acts2:not(.stack).r2 .act-go{width:44px;justify-content:center}
.acts2.r3{gap:0;justify-content:space-between}
.bubble .acts2.r4{margin-left:-8px;margin-right:-8px}

/* ---------- Owner share buttons (2026-12-02): quiet, in three places only ---------- */
/* (1) the first visit to a shop's controls after claiming it on this phone: one quiet card at the top */
:root .share-ask{margin:0 0 14px;padding:14px;border-radius:18px;background:var(--t-bg2);color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line);overflow-wrap:anywhere}
.share-ask-t{margin:0 0 12px;font-size:15px;font-weight:600;line-height:1.4;color:var(--t-ink)}
.share-ask-acts{display:flex;flex-wrap:wrap;gap:8px}
.share-ask-acts .pill{flex:1 1 auto;min-height:44px}
.share-ask-acts .ico,.item-share .ico{width:18px;height:18px}
/* (3) the shop's name on My shop, with the share icon beside it */
.own-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.own-head-n{flex:1;min-width:0;margin:0;font-size:18px;font-weight:650;line-height:1.3;letter-spacing:-.01em;color:var(--t-ink);overflow-wrap:anywhere}
:root .own-share{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:var(--t-btn);color:var(--t-mut);box-shadow:inset 0 0 0 1px var(--t-bline)}
:root .own-share:active{color:var(--t-ink)}
/* what happened when there was no share sheet ("Link copied", or the link itself), right under the name */
:root .own-share-note{margin:-4px 0 10px;font-size:13px;line-height:1.45;color:var(--t-mut);overflow-wrap:anywhere}
:root .own-share-note:empty{margin:0} /* kept in the page while empty, so a screen reader hears it when it fills */
/* (2) after a new item is saved: "Share this item" beside the save line, for a few seconds */
.item-share{display:flex;justify-content:center;margin:8px 0 0}
:root .item-share .pill{min-height:44px;font-size:13.5px}

/* ----- the shop's contact details on every card (2026-12-02, docs/owners/design-guidelines.md B1, B2) ----- */
:root .bubble .b-hours{white-space:normal}
.b-hours span,.hrs span{display:inline-block;margin-left:8px;font-weight:500;color:var(--t-mut)}
.addr-line{display:flex;align-items:center;gap:8px;min-height:44px;margin:2px 0 0;color:var(--t-ink)!important;text-decoration:none;font-size:14px;line-height:1.35}
.addr-line .ico{flex:none;width:18px;height:18px;color:var(--t-mut)}
.addr-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-decoration-color:var(--t-bline);text-underline-offset:3px}
.bubble .acts2{margin-top:6px}
.by-owner{margin:6px 0 0;font-size:12px;line-height:1.4;color:var(--t-mut)}
.add-contact{display:flex;align-items:center;width:100%;min-height:44px;margin:4px 0 0;padding:0;border:0;background:none;color:var(--t-mut);font:inherit;font-size:13px;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* ----- My shop for an owner: one screen, five sections that open and close ----- */
.own-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:44px;margin:0 0 6px}
.own-bar .back{margin:0}
.help-btn{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;margin-left:auto;padding:0 14px 0 11px;border:0;border-radius:22px;background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline);color:var(--t-ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.help-btn .ico{width:18px;height:18px}
.own-state{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:14px;font-size:13px;font-weight:700;color:var(--t-mut);box-shadow:inset 0 0 0 1px var(--t-bline)}
.own-state.on{color:var(--t-ok);box-shadow:inset 0 0 0 1px var(--t-ok)}
.own-state.off{color:var(--t-warn);box-shadow:inset 0 0 0 1px var(--t-warn)}
.own-one .own-head{margin:0 0 4px;align-items:flex-start}
.own-id{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.own-id .own-head-n{flex:0 1 auto;font-size:18px}
.own-bar .own-share{flex:none}
.own-bar .own-share+.help-btn{margin-left:0}
.own-one>.foot{margin:0 0 6px;padding:0;font-size:13px;line-height:1.4;text-align:left}
.own-prog{margin:0 0 8px;font-size:14px;color:var(--t-mut)}
.own-prog b{color:var(--t-ink)}
.acc{display:flex;flex-direction:column;gap:8px}
.acc-sec{border-radius:16px;background:var(--t-bg2);box-shadow:inset 0 0 0 1px var(--t-line)}
.acc-h{margin:0;font-size:inherit;font-weight:inherit}
.acc-b{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:0 12px 0 14px;border:0;border-radius:16px;background:none;color:var(--t-ink);font:inherit;font-size:16px;font-weight:700;text-align:left;cursor:pointer}
.acc-b:focus-visible,.more-b:focus-visible,.help-btn:focus-visible{outline:2px solid var(--t-ink);outline-offset:-3px}
.acc-i{flex:none;display:grid;place-items:center;width:24px}
.acc-i .ico{width:22px;height:22px}
.acc-t{flex:1;min-width:0}
.acc-s{flex:none;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:var(--t-mut);white-space:nowrap}
.acc-s.done{color:var(--t-ok)}
.acc-s .ico{width:16px;height:16px}
.acc-c{flex:none;display:grid;place-items:center}
.acc-c .ico{width:20px;height:20px;color:var(--t-mut);transition:transform .18s ease}
[aria-expanded="true"]>.acc-c .ico{transform:rotate(180deg)}
.acc-in{position:relative;padding:2px 12px 14px;overscroll-behavior:contain}
.acc-in>.g{margin-top:6px}
@keyframes acc-open{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){.acc-p.acc-opening{animation:acc-open .2s ease-out}}
@media (prefers-reduced-motion:reduce){.acc-c .ico{transition:none}}
.own-when{margin:8px 0 0}
.own-goal{margin:2px 0 6px;font-size:13px;line-height:1.4;color:var(--t-mut)}
.more-list{display:flex;flex-direction:column;gap:6px;padding-top:4px}
.more-acts{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.more-b{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;padding:0 12px;border:0;border-radius:12px;background:var(--t-bg3);color:var(--t-ink);font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
.more-b.danger{color:var(--t-warn)}
.more-p{padding:8px 2px 6px}
.more-p>section{margin:0}
.own-form label{display:block;margin:14px 0 4px;font-size:15px;font-weight:700;color:var(--t-ink)}
:root #view .own-form input{width:100%;min-height:48px;padding:10px 12px;border:0;border-radius:12px;font:inherit;font-size:16px}
.f-hint{margin:0 0 6px;font-size:13px;line-height:1.4;color:var(--t-mut)}
.f-err{margin:0 0 6px;font-size:14px;line-height:1.4;font-weight:600;color:var(--t-warn)}
:root .f-row.bad input,:root #view input[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--t-warn)!important}
.err-sum{margin:6px 0 10px;padding:10px 14px;border-radius:12px;box-shadow:inset 0 0 0 2px var(--t-warn)}
.err-sum:focus{outline:0}
.err-sum h4{margin:0 0 4px;font-size:15px}
.err-sum ul{margin:0;padding:0;list-style:none}
.err-sum a{display:flex;align-items:center;min-height:44px;color:var(--t-ink);font-size:14px;line-height:1.35}
.cf-ask{margin:12px 0;padding:12px;border-radius:12px;background:var(--t-bg3)}
.cf-label{font-size:15px;font-weight:700}
.cf-val{margin:4px 0;font-size:17px;overflow-wrap:anywhere}
.cf-q{margin:6px 0 2px;font-size:14px;color:var(--t-mut)}
.wk{margin:6px 0;padding:0;list-style:none}
.wk li{display:flex;gap:10px;padding:2px 0;font-size:14px}
.wk b{flex:none;width:2.6em}
:root .saved-line{font-weight:600;color:var(--t-ok)}
/* Remove with Undo: a bar at the bottom, above the tabs */
.undo-bar{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 92px);z-index:9000;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 32px);padding:4px 4px 4px 16px;border-radius:14px;background:var(--t-pri);color:var(--t-pri-ink);box-shadow:0 12px 28px -12px var(--t-shadow);font-size:15px;transform:translateX(-50%)}
.undo-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.undo-b{flex:none;min-height:44px;min-width:64px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}
@keyframes undo-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:no-preference){.undo-bar{animation:undo-in .2s ease-out}}
/* Help: a sheet from the bottom */
.help-scrim{position:fixed;inset:0;z-index:9500;display:flex;align-items:flex-end;justify-content:center;background:var(--t-scrim)}
.help-sheet{display:flex;flex-direction:column;gap:10px;width:min(480px,100%);padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:var(--t-bg);color:var(--t-ink)}
.help-sheet:focus{outline:0}
.help-sheet h3{margin:0;font-size:20px}
.help-sheet p{margin:0 0 4px;font-size:15px;line-height:1.45;color:var(--t-mut)}
.help-sheet .help-addr{color:var(--t-ink);font-weight:600;user-select:all;-webkit-user-select:all;overflow-wrap:anywhere}
.help-sheet .pill{display:flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;font-size:16px}
:root .help-sheet .pill.danger{background:var(--t-danger)!important;color:#fff!important}
.own-acts{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:8px}
.own-act{min-height:44px;padding:0 12px;border:0;background:transparent;color:var(--t-ink);font-size:15px}
.own-del{color:var(--t-danger-ink)}
@media (max-width:899px){
  .own-one .own-acts{flex-wrap:nowrap;gap:0}
  .own-one .own-act{padding:0 4px;font-size:12px;white-space:nowrap}
}
@media (max-width:899px) and (max-height:700px){
  .app:has(.own-one){padding-bottom:calc(var(--tabz) + 2px)}
  .app:has(.own-one) .top{padding:env(safe-area-inset-top) 18px 0}
  .own-one .acc{gap:2px}
  .own-one .own-head,.own-one .own-prog,.own-one .own-status{margin-bottom:0}
  .own-one .own-acts{margin-top:0}
}
/* the one screen before a claim: the owner's shop as neighbors see it */
.pv-t{margin:4px 0;font-size:22px;line-height:1.25}
.pv-sub{margin:0 0 12px;font-size:15px;line-height:1.45;color:var(--t-mut)}
.pv-card{margin:0 0 14px;padding:12px;border-radius:18px;background:var(--t-bg2);box-shadow:inset 0 0 0 1px var(--t-line)}
.pv-card .b-head{display:flex;align-items:center;gap:10px}
.pv-card .b-name{font-size:18px;font-weight:700}
.pv-card .b-meta{font-size:14px;color:var(--t-mut)}
.pv-ex{margin-top:8px}
.pv-ex-sub{margin:6px 0 0;font-size:12px;color:var(--t-mut)}
.own-pv .pill.big{display:flex;align-items:center;justify-content:center;min-height:56px;margin-top:10px;font-size:17px;text-decoration:none}
/* ----- one item, camera first: empty spots are cameras; the item form is one screen ----- */
:root .shelf .g .empty.cam{display:grid;place-items:center;color:var(--t-mut)}
:root .shelf .g .empty.cam .ico{width:34px;height:34px;stroke-width:1.6}
.lib-row{margin:2px 0 6px}
.lib-row .linkish,.ie-lib .linkish{min-height:44px;padding:0;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.saved-conf{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 6px;padding:8px 8px 8px 14px;border-radius:14px;background:var(--t-bg3);font-size:14px;font-weight:600}
.saved-conf span{min-width:0;overflow-wrap:anywhere}
.own-sig{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:2px;font-size:12px;font-weight:600;color:var(--t-mut)}
.own-sig .ico{width:12px;height:12px;fill:currentColor}
.item-edit{padding:4px 0 6px}
.ie-top{display:flex;justify-content:center}
:root .item-edit .ie-photo{display:flex;flex-direction:column;align-items:center;gap:6px;width:min(200px,52vw);padding:0;border:0;background:none;color:var(--t-ink);font:inherit;cursor:pointer}
:root .item-edit .ie-photo .pic{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:18px;overflow:hidden;background:var(--t-bg3)!important;box-shadow:inset 0 0 0 1px var(--t-line);color:var(--t-mut)}
.item-edit .ie-photo .pic img{width:100%;height:100%;object-fit:cover}
.item-edit .ie-photo .pic .ico{width:44px;height:44px;stroke-width:1.6}
.item-edit .ie-photo .cn{min-height:24px;font-size:15px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.ie-lib{margin:2px 0 0;text-align:center}
.item-edit label{display:block;margin:12px 0 4px;font-size:15px;font-weight:700;color:var(--t-ink)}
.item-edit .switch-row{font-weight:400}
:root #view .item-edit input:not([type=checkbox]){width:100%;min-height:48px;padding:10px 12px;border:0;border-radius:12px;font:inherit;font-size:16px}
.ie-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
:root .ie-chip,:root .ie-ask{min-height:44px;padding:0 14px;border:0;border-radius:22px;background:var(--t-btn);box-shadow:inset 0 0 0 1px var(--t-bline);color:var(--t-ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
:root .ie-ask.on,:root #view .ie-ask.on{background:var(--t-pri)!important;color:var(--t-pri-ink)!important;box-shadow:none!important}
.ie-price{display:flex;align-items:center;gap:8px}
.ie-cur{flex:none;font-size:18px;font-weight:700;color:var(--t-mut)}
:root #view .ie-price input{flex:1;min-width:0;width:auto}
.ie-price .ie-ask{flex:none}
.ie-more{margin:12px 0 0;border-radius:12px;background:var(--t-bg3);padding:0 12px}
.ie-more summary{display:flex;align-items:center;min-height:48px;font-weight:650;cursor:pointer}
.ie-more[open]{padding-bottom:10px}
.ie-acts{margin-top:14px}
.ie-links{display:flex;justify-content:space-between;gap:12px}
.ie-links .linkish{min-height:44px;font-size:15px}
:root .ie-links .danger{color:var(--t-warn)!important}
/* the save line, with "Share this item" beside it for a few seconds after a new item (so the screen does not grow) */
.own-status{display:flex;align-items:center;gap:8px;margin:0 0 6px}
.own-one .own-status>.foot{flex:1;min-width:0;margin:0}
.own-status .item-share{flex:none;margin:0}
.hrs-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:12px}
.hrs-actions .pill{min-height:48px}
.hrs-actions .linkish{align-self:flex-start;min-height:44px;padding:0 10px;color:var(--t-warn);font-size:14px;text-decoration:underline;text-underline-offset:3px}
.share-panel-note{min-height:20px;margin-top:4px}
.ie-acts{position:sticky;bottom:0;z-index:2;padding:8px 0 calc(8px + env(safe-area-inset-bottom));background:var(--t-bg);box-shadow:0 -8px 18px -16px var(--t-shadow)}
.ie-acts .pill{min-height:48px}
@media (max-width:899px){.owner-input-focused .tabs{display:none}}
.lfw{display:flex;gap:12px;margin:10px 0;padding:10px;border-radius:12px;background:var(--t-bg3)}
.lfw-pic{flex:none;width:88px;height:88px;border-radius:10px;overflow:hidden;background:var(--t-bg2)}
.lfw-pic img{width:100%;height:100%;object-fit:cover}
.lfw-body{flex:1;min-width:0}
.lfw-cap{margin:0 0 6px;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.lfw .acts{margin:0;gap:6px;flex-wrap:wrap}
/* ----- owner fixes after the usability tests (2026-12-03) ----- */
/* item tiles: no red mark; a quiet line says what would help shoppers; names and prices large enough to read with glasses */
.shelf .g>.cd{width:100%}
.own-one.shelf .g .cn{font-size:14px}
.own-one.shelf .g .cp{font-size:13px}
.own-add{order:4;display:block;margin-top:3px;font-size:12px;font-weight:600;line-height:1.3;color:var(--t-mut)}
/* items removed on this visit, each one tap to put back */
.own-removed{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0}
.own-removed .spot-sub{flex-basis:100%;margin:0}
.own-removed .pill{min-height:44px;max-width:100%;overflow-wrap:anywhere;text-align:left}
/* the nudge now sits under the items */
.acc-in .nudge{margin:14px 0 0}
/* while the Pop-up Stage is hidden: one banner at the top with its own way back */
.own-hidden{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 10px;padding:12px 12px 12px 14px;border-radius:14px;background:var(--t-bg3);box-shadow:inset 0 0 0 1px var(--t-warn);color:var(--t-ink)}
.own-hidden p{flex:1 1 180px;margin:0;font-size:15px;line-height:1.4}
.own-hidden .pill{flex:none;min-height:44px}
/* a line at the bottom that says what was just saved */
.undo-bar.snack{padding:12px 16px;min-height:44px;font-weight:600}
/* item form: hints above fields instead of grey example text inside them; three quick answers instead of a price */
.f-hint{margin:-2px 0 6px;font-size:14px;line-height:1.4;color:var(--t-mut)}
.ie-asks{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.ie-asks .chip{min-height:44px}
/* claim screens: the agreement in sentence case (it sat under an uppercase label style), Help in the same corner, Text us with
   what happens next, and the building picture smaller before sign-in so the sign-in button is above the tabs */
:root .claim-gate .agree,:root .panel .claim-gate .agree,:root .panel .cg-label{text-transform:none;letter-spacing:normal}
.quest-bar{margin:0 0 2px}
.quest-bar .back{min-width:44px;margin:0}
.quest-stage.short{width:110px;height:110px}
.q-text{margin:14px 0 6px}
.q-text .pill{display:flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none}
.q-text-sub{margin:6px 0 0;font-size:14px;line-height:1.4}
.quest .f-err{margin:8px 0 0;text-align:left}

/* ----- My route and My shop over the map (2026-12-03, his ask: "the map should never fully go away") -----
   The map screen waits in #backdrop behind the page (after .app in the page, so the first of anything is the panel's); the page (.app) is the panel over it. A tap on the map goes back to Window shop. */
.backdrop{display:none}
body.over-map .backdrop{display:block;position:fixed;inset:0;z-index:0;cursor:pointer;background:var(--t-page)}
body.over-map .backdrop>*{pointer-events:none}
body.over-map .backdrop .game{height:100%!important}
body.over-map .backdrop .gmap{position:absolute;inset:0}
body.over-map .backdrop :is(.drawer,.topfind,.ledger,.bubble-pin,.toast){display:none!important}
body.over-map{overflow:hidden}
body.over-map .app{position:fixed!important;z-index:5;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0!important;margin:0!important;background:var(--t-page)!important;scrollbar-width:thin}
@media (max-width:899px){
  /* a phone: a sheet with a strip of the map above it, the strip never under 80px (the sheet never moves while a field is in use: a tap would miss) */
  :root{--sheet-top:max(80px,12dvh)}
  body.over-map{--sheet-top:max(80px,34dvh)} /* his rule (2026-12-03): the map stays in sight above My route and My shop */
  body.over-map[data-tab="shelf"][data-own="1"]{--sheet-top:max(72px,9dvh)}
  body.over-map.own-typing[data-tab="shelf"]{--sheet-top:max(64px,8dvh)} /* My shop: its sections must fit on one screen (his rule, not a scrolling page) */ /* one height on every screen, so Help and the title never jump; the owner's sections still fit on one screen */
  body.over-map .app{left:0;right:0;top:var(--sheet-top);bottom:0;max-width:none!important;border-radius:22px 22px 0 0;box-shadow:0 -14px 34px -16px rgba(14,11,7,.45),0 -1px 0 var(--t-line);padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
  body.over-map .app::before{content:"";display:block;width:44px;height:5px;margin:8px auto 0;border-radius:3px;background:var(--t-line)}
  body.over-map .backdrop :is(.map-stack,.locate-me,.hud,.dpad){display:none!important}
  body.over-map .top{padding:4px 18px 6px!important}
  body.over-map .top .title{font-size:23px}
  body.over-map .app::before{margin-top:6px!important}
  body.over-map .top{position:sticky!important;top:0;transform:none!important;left:auto;width:auto;max-width:none;z-index:6;background:var(--t-page)!important}
}
@media (min-width:900px){
  /* a computer: the same floating card at the left as the shop list, the map and its controls stay put */
  body.over-map .app{left:20px;top:92px;bottom:20px;width:420px;max-width:none!important;padding:0!important;border-radius:26px;box-shadow:0 34px 70px -24px var(--t-shadow),0 0 0 1px var(--t-line)}
  body.over-map .backdrop{top:72px}
  body.over-map #view>.pad{max-width:none;margin:0;padding:24px 20px 28px;color:var(--t-ink);--mut:var(--t-mut);--line:var(--t-line)}
  body.over-map #view>.pad.shelf .g{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.over-map #view>.pad>.acts .pill.dark{background:var(--t-pri);color:var(--t-pri-ink)}
  body.over-map #view>.pad>.acts .pill:not(.dark){color:var(--t-ink);box-shadow:inset 0 0 0 1px var(--t-line)}
  body.over-map #view>.pad>.note.quiet{color:var(--t-mut)}
  body.over-map .backdrop .hud{left:464px}
  body.over-map .backdrop .locate-me{left:464px}
}
@media (max-width:899px) and (max-height:700px){body.over-map[data-tab="shelf"][data-own="1"]{--sheet-top:40px}body.over-map[data-tab="shelf"][data-own="1"] .app::before{display:none}body.over-map[data-tab="shelf"][data-own="1"] .top{display:none!important}body.over-map[data-tab="shelf"][data-own="1"] .app{padding-top:10px!important}} /* a small phone: a thin strip, so every section of My shop still fits */

/* ---- The You tab and the owner's tab (2026-12-03, placed by the rubric and simulation in docs/redesign/menu-sim) ---- */
.tabs button[hidden]{display:none!important}
body:not(.is-owner) #tb-plus{display:none!important} /* + Post is an owner's tool */
.you .you-list,.you .you-shop{margin-top:14px}
.you-shop{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:14px 16px;border:1px solid var(--t-line);border-radius:18px;background:var(--t-bg2);color:var(--t-ink);text-align:left;font:inherit;cursor:pointer}
.you-shop-i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--t-bg3);flex:none}
.you-shop-i svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.you-shop-t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.you-shop-t b{font-size:17px}
.you-shop-t span{font-size:14px;color:var(--t-mut)}
.you-list{border:1px solid var(--t-line);border-radius:18px;background:var(--t-bg2);overflow:hidden}
.you-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:8px 16px;border:0;border-top:1px solid var(--t-line);background:none;color:var(--t-ink);font:inherit;font-size:16px;text-align:left;cursor:pointer}
.you-list>.you-row:first-child{border-top:0}
.you-row b{margin-left:auto;font-weight:600;color:var(--t-mut);font-size:15px}
.you-row .seg2 button{min-height:44px}
.you .chev,.you-shop .chev,.wk-strip .chev{width:9px;height:9px;border-right:2px solid var(--t-mut);border-top:2px solid var(--t-mut);transform:rotate(45deg);flex:none}
.you .chev.down{transform:rotate(135deg)}
.you-sub{justify-content:flex-start;flex-wrap:wrap;background:var(--t-bg3);cursor:default}
.you-sub a{display:inline-flex;align-items:center;min-height:44px;margin-right:18px;color:var(--t-ink);font-weight:600}
.you-sub .legal-links{margin:0}
.you .auth-card{margin:0}
.you .menu-note{margin:16px 4px 0}
body.over-map.shop-mode{--sheet-top:max(72px,9dvh)}
.own-segs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:10px 0 6px;padding:4px;border-radius:14px;background:var(--t-bg2);border:1px solid var(--t-line)}
.own-segs button{position:relative;min-height:44px;padding:0 2px;border:0;border-radius:10px;background:none;color:var(--t-mut);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.own-segs button.on{background:var(--t-bg3);color:var(--t-ink);box-shadow:0 1px 3px rgba(0,0,0,.18)}
.own-segs button:focus-visible{outline:2px solid var(--t-ink);outline-offset:-2px}
.seg-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:var(--t-warn)} /* something in this part needs the owner */
.wk-strip{display:flex;align-items:center;gap:16px;width:100%;min-height:60px;margin:10px 0 4px;padding:8px 16px;border:1px solid var(--t-line);border-radius:16px;background:var(--t-bg2);color:var(--t-ink);font:inherit;text-align:left;cursor:pointer}
.wk-h{font-size:14px;font-weight:700;color:var(--t-mut);margin-right:auto}
.wk-c{display:flex;flex-direction:column;align-items:center;min-width:44px}
.wk-c b{font-size:20px;line-height:1.1}
.wk-c span{font-size:12px;color:var(--t-mut)}
.more-b>span:first-child{margin-right:auto}
.own-one:not(.own-part-items) .more-list{padding-top:8px}
.set-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.set-list:empty{display:none}
.own-danger{margin-top:22px}
.set-b.own-del{color:var(--t-warn)}
.sm-part{margin:14px 0}
.sm-part .sm-h{font-size:17px;margin:0 0 8px}
/* the You tab with bigger words: a row's choice drops under its name when both no longer fit on one line, and each text size
   choice is written a little bigger than the one before, so the difference shows before it is picked */
.you-row>span{white-space:nowrap}
.you-row:has(.seg2){flex-wrap:wrap;row-gap:4px}
.you-row .seg2{margin-left:auto;flex:none}
.you .seg2 [data-y="tx-large"]{font-size:15px}
.you .seg2 [data-y="tx-larger"]{font-size:16.5px}
/* My shop on a phone: the shop's own name row (name, Live, Share, Help) is the heading, so the page header that said the name
   again ("<shop> · Owner", "My shop") steps aside; the tab bar already says My shop */
@media (max-width:899px){body.over-map.shop-mode .top{display:none!important}body.over-map.shop-mode .app{padding-top:22px!important}}
/* ----- Favorites (his ask, 2026-12-04, with his screenshot of Saved): a row is the shop's name and kind, and a tap on it opens the
   shop on the map; no picture at the left; a gold star at the right is the favorite, and a tap on it takes the shop off (the row
   stays until the list is drawn again, so a second tap puts it back) ----- */
.fav-list{display:grid;gap:10px}
:root .fav-row{display:flex;align-items:center;gap:4px;padding:4px 6px 4px 4px;background:var(--t-bg2);color:var(--t-ink);border-radius:var(--t-radius,18px);box-shadow:inset 0 0 0 1px var(--t-line),var(--t-card-shadow)}
.fav-go{flex:1;min-width:0;min-height:64px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:10px 12px;border-radius:14px;text-align:left;color:inherit;background:none}
.fav-go:active{background:var(--t-bg3)}
.fav-go .t{font-weight:600;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.fav-go .s{font-size:13.5px;line-height:1.3;color:var(--t-mut);overflow-wrap:anywhere}
.fav-star{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:var(--t-mut);background:none}
.fav-star .ico{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s ease-out}
.fav-star.on{color:var(--t-lit)}
.fav-star.on .ico{fill:currentColor}
.fav-star:active .ico{transform:scale(.86)}
@media (prefers-reduced-motion:reduce){.fav-star .ico{transition:none}}
/* the item viewer's Favorite button carries the same star */
.fav-pill{display:inline-flex;align-items:center;gap:6px}
.fav-pill .ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.fav-pill.on .ico{fill:currentColor}
/* 2026-12-04, his screenshot of Greener Gardens: on an iPhone the example squares of a row with short names (Soil, Seeds, Pots, Fans)
   came out narrow. Safari works a stretched square's width out of its row's height (aspect-ratio), so each one now takes its column's
   full width, and every row of a Pop-up Stage with examples is as tall as the tallest. */
:root .drawer .g.g3>.cd.ex,:root .drawer .g.row4>.cd.ex,:root .drawer .g.row4>.more-tile,:root .my12-wrap .g>.cd.ex{width:100%;min-width:0;justify-self:stretch}
:root .drawer .g.g3:has(>.cd.ex),:root .my12-wrap .g:has(>.cd.ex){grid-auto-rows:1fr}
/* Swipe tips (his ask, 2026-12-04): brief, then gone. "Swipe down to close" under the shop view's handle as it opens (it takes no
   taps); "Swipe for the next shop" over the lower part of the shop's card once the view is put away, with "Don't show again" (44px tall). */
.tip-down{position:absolute;left:50%;top:34px;z-index:60;display:flex;align-items:center;gap:6px;padding:9px 16px 9px 12px;border-radius:999px;background:var(--t-pri);color:var(--t-pri-ink);font-size:14px;font-weight:700;white-space:nowrap;box-shadow:0 14px 30px -12px rgba(0,0,0,.55);pointer-events:none;transform:translateX(-50%);animation:tip-down 2.6s ease-out both}
.tip-down .ico{width:18px;height:18px}
@keyframes tip-down{0%{opacity:0;transform:translate(-50%,-6px)}10%{opacity:1;transform:translate(-50%,0)}26%{transform:translate(-50%,7px)}38%{transform:translate(-50%,0)}52%{transform:translate(-50%,7px)}64%{transform:translate(-50%,0)}86%{opacity:1}100%{opacity:0;transform:translate(-50%,0)}}
.tip-swipe{position:absolute;left:50%;bottom:16px;z-index:6;display:flex;flex-direction:column;align-items:center;width:max-content;max-width:calc(100% - 24px);padding:12px 16px 2px;border-radius:20px;background:var(--t-pri);color:var(--t-pri-ink);box-shadow:0 18px 40px -14px rgba(0,0,0,.6);transform:translateX(-50%);animation:tip-in .22s ease-out both;transition:opacity .25s}
.tip-swipe .tip-line{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;white-space:nowrap;animation:tip-nudge 1.5s ease-in-out .35s 2}
.tip-swipe .tip-line .ico{width:20px;height:20px}
.tip-swipe{pointer-events:none} /* (a tap on its words reaches the card under it; only its button takes taps) */
.tip-swipe .tip-off{pointer-events:auto;min-height:44px;padding:0 14px;border:0;background:none;color:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;opacity:.85;cursor:pointer}
.tip-swipe.gone{opacity:0}
@keyframes tip-in{from{opacity:0}to{opacity:1}}
@keyframes tip-nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-9px)}75%{transform:translateX(9px)}}
@keyframes tip-fade{0%,100%{opacity:0}10%,86%{opacity:1}}
@media (prefers-reduced-motion:reduce){.tip-down{animation:tip-fade 2.6s linear both}.tip-swipe,.tip-swipe .tip-line{animation:none}}

/* The map's own 3D/2D button (2026-12-04): top right on a phone, level with the top of the zoom buttons, as Apple Maps keeps it.
   It lives in the map's button stack, so it moves and hides with it. A computer keeps the switch in the map's top row. */
.map-stack .view-btn{position:absolute;top:0;left:calc(100vw - 76px);font:inherit;font-size:15px;font-weight:800;letter-spacing:.02em;color:var(--t-ink,#151a24)}
@media (min-width:900px){.map-stack .view-btn{display:none}}

/* You as an account page (2026-12-04, docs/redesign/account-page/DESIGN.md): the account card, then groups under small headings,
   rows of 56px with one Lucide icon each, Delete my account in red at the bottom. Night and Day from the theme tokens. */
.you .auth-slot:empty{display:none}
.you-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--t-line);border-radius:18px;background:var(--t-bg2);color:var(--t-ink)}
.you-av{flex:none;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--t-pri);color:var(--t-pri-ink);font-size:24px;font-weight:700}
.you-av.out{background:var(--t-bg3);color:var(--t-ink)}
.you-av .yi{width:26px;height:26px}
.you-who{min-width:0;flex:1}
.you-who b{display:block;font-size:18px;line-height:1.25;overflow-wrap:anywhere}
.you-who span{display:block;margin-top:2px;font-size:14px;line-height:1.35;color:var(--t-mut);overflow-wrap:anywhere}
.you-who .you-g{font-size:13px}
.you-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin-top:12px;border-radius:999px;font:inherit;font-size:16px;font-weight:600;border:0;box-shadow:inset 0 0 0 1px var(--t-bline);background:var(--t-btn,transparent);color:var(--t-ink);cursor:pointer}
.you-btn .yi{width:20px;height:20px}
.you .gbtn{display:flex;justify-content:center;min-height:44px;margin-top:12px}
.you .reg-msg:empty{display:none}
.you .reg-msg{margin:8px 4px 0;font-size:14px;color:var(--t-mut)}
.you .you-lab{margin:22px 4px 8px;font-size:12px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--t-mut)}
.you .you-list{margin-top:0}
.you-row.yr{justify-content:flex-start;gap:14px;text-decoration:none}
.you-row.yr .yi{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.you-row .yt{flex:1;min-width:0;white-space:normal}
.you-row .ys{display:block;margin-top:1px;font-size:13.5px;color:var(--t-mut);overflow-wrap:anywhere}
.you-row .yv{flex:none;font-size:15px;color:var(--t-mut)}
.you-row .yn{display:grid;place-items:center;flex:none;color:var(--t-mut)}
.you-row .yn .yi{width:18px;height:18px}
.you-row.red{color:#b3261e}
:root.th-night .you-row.red{color:#ff8a80}
.you-row.you-sub .seg2{margin-left:36px}

/* The owner's path (walk, 2026-12-04, docs/redesign/owner-path/WALK.md). Help in the page header on owner screens whose own top
   line has nothing else; one Google button under "Claim <shop>"; the "Next step" card at the top of My shop. */
.top-actions .top-help{margin-left:0}
.top-help[hidden]{display:none}
.claim-signin{margin:12px 0 4px}
.claim-signin .reg-line{margin:0 0 10px;font-size:15px;line-height:1.45;color:var(--t-mut)}
.claim-signin .gbtn{display:flex;min-height:44px}
.claim-signin .reg-msg:empty{display:none}
.confirm-shop .acts,.quest .acts{scroll-margin-bottom:calc(var(--tabz) + 16px)}
.own-next{margin:0 0 12px;padding:14px 16px 12px;border:1px solid var(--t-line);border-radius:18px;background:var(--t-bg2);color:var(--t-ink)}
.own-next .own-prog{margin:0 0 6px;font-size:13px}
.own-next-k{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--t-mut)}
.own-next-t{margin:2px 0 2px;font-size:18px;line-height:1.3;font-weight:650}
.own-next-d{margin:0 0 10px;font-size:14px;line-height:1.4;color:var(--t-mut)}
.own-next .pill{min-height:48px}
.own-ticks{display:flex;flex-wrap:wrap;gap:4px 14px;margin:10px 0 0;padding:0;list-style:none;font-size:13px;color:var(--t-mut)}
.own-ticks li{display:flex;align-items:center;gap:5px}
.own-ticks li.done{color:var(--t-ink)}
.own-ticks .ico{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.own-ticks li>i{width:11px;height:11px;margin:2px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--t-mut)}
/* The item form's Save bar sits right on the tabs, so nothing shows in a gap under it (the sheet's bottom padding had left one:
   the price box showed half under the bar). The tabs stay on screen while a field is in use (the docked bar's display:flex!important
   wins over the older rule that hid them), so the bar stays on them. */
@media (max-width:899px){body.over-map .ie-acts{bottom:calc(var(--tabz) - 100px - env(safe-area-inset-bottom));background:var(--t-page)}}
/* Shop banners: one storefront photo across the top of a shop (the site owner's own photo, or the shop owner's). A fixed 2:1 box,
   so nothing moves when the picture arrives. The credit line is 12px on a dark band so it reads on any photo. */
.sh-banner-slot:empty{display:none}
.sh-banner{position:relative;margin:0 0 12px;aspect-ratio:2/1;border-radius:14px;overflow:hidden;background:var(--t-bg2,#222)}
.sh-banner img{display:block;width:100%;height:100%;object-fit:cover}
.sh-banner figcaption{position:absolute;left:8px;bottom:8px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.58);color:#fff;font-size:12px;line-height:16px;font-weight:600}
.banner-edit .sh-banner{margin:10px 0}
.banner-edit .acts{display:flex;flex-wrap:wrap;gap:8px}
.banner-edit .acts .pill{min-height:44px}
.banner-edit .sh-banner-slot:not(:empty)+.banner-none{display:none}
