/* ================================================================
   TRAILHOPPER - styles.css   (BUILD 61 · VERSION B: search for "BUILD 61" at the very bottom; BUILD 60 just above it)
   All the styles. BUILD 55 (Oct 25, 2026): moved here unchanged from index.html (54.1).
   ================================================================ */

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    /* BUILD 42: the page itself never scrolls; only the map and the lists inside the app do. */
    html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
    /* BUILD 50 (item 2b): the page can never be wider than the screen. Some phone browsers (Samsung Internet,
       Firefox, sometimes Chrome) counted the PLACES slide-out parked off the right edge and laid the page out
       wider, which pushed the intro off the right side. clip also stops the frame being scrolled sideways. */
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; }

    body {
      background-color: #0b1d19;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      min-height: var(--app-h, 100vh);   /* MOD 31 #10: the space you can really see */
      padding: 10px;
    }

    .phone-container {
      width: 100%;
      max-width: 412px;
      height: 880px;
      height: var(--frame-h, 880px);     /* MOD 31 #10: never taller than the screen */
      background-color: #052b20;
      border: 3px solid #1a4d3e;
      border-radius: 36px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      overflow: clip;                    /* BUILD 50 (item 2b): parked slide-outs never add width */
      box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }

    @media (max-width: 450px) {
      body {
        padding: 0;
        background-color: #052b20;
        align-items: stretch;
      }
      .phone-container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;                  /* BUILD 42: the visible height, before the script measures it */
        height: var(--app-h, 100dvh);    /* MOD 31 #10 */
        border: none;
        border-radius: 0;
        box-shadow: none;
      }
    }

    .app-header {
      background: linear-gradient(180deg, #023826 0%, #064e3b 100%);
      padding: 12px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 2px solid #0f5c44;
      z-index: 1000;
      flex-shrink: 0;
    }

    .drawer-handle {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 500;
      background: rgba(6, 78, 59, 0.6);  /* MOD 31 #3: 60% solid green */
      color: #ffffff;
      text-shadow: 0 1px 2px rgba(0,0,0,.75);
      width: 32px;
      height: 106px;                     /* MOD 31 #2: two-thirds of 160 */
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      line-height: 1.1;
      padding: 4px 0;
    }

    .drawer-handle-left {
      left: 0px;
      border-top-right-radius: 8px;
      border-bottom-right-radius: 8px;
    }

    .drawer-handle-right {
      right: 0px;
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
    }

    .drawer-panel {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 82%;
      background-color: #ffffff;
      z-index: 900;
      box-shadow: 0 0 15px rgba(0,0,0,0.4);
      transition: transform 0.3s ease-in-out;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .drawer-left {
      left: 0;
      transform: translateX(-100%);
    }

    .drawer-right {
      right: 0;
      transform: translateX(100%);
    }

    .drawer-panel.open {
      transform: translateX(0);
    }

    .guest-locked-container {
      position: relative;
    }

    .guest-locked-container.is-locked .locked-content {
      filter: grayscale(0.85) opacity(0.45);
      pointer-events: none;
      user-select: none;
    }

    .guest-lock-overlay {
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.45);
      backdrop-filter: blur(1.5px);
      z-index: 30;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 12px;
      text-align: center;
      border-radius: 12px;
    }

    @keyframes fastPulse {
      0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px #22c55e, 0 0 4px #4ade80;
      }
      50% {
        opacity: 0.35;
        transform: scale(0.82);
        box-shadow: 0 0 2px #22c55e;
      }
    }

    .animate-pulse-fast {
      animation: fastPulse 0.75s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

    .app-modal {
      position: absolute;
      inset: 0;
      background: rgba(5, 43, 32, 0.75);
      backdrop-filter: blur(3px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .animate-fade-in {
      animation: fadeIn 0.25s ease-in-out forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* RABBIT PAW indicator: green + pulsing = Broadcasting, gray + still = Not Broadcasting */
    .paw { display:inline-flex; align-items:center; justify-content:center; border-radius:9999px; background:#fff; border:2px solid currentColor; }
    .paw-green { color:#16a34a; animation: pawPulse 1.6s ease-out infinite; }
    .paw-gray { color:#9ca3af; }
    .paw-marker { background: transparent; border: none; }
    /* Friends on the map: initial in a green circle, Hopper Name underneath */
    .friend-marker { background: transparent; border: none; }
    /* #3: help topics never squeeze together; the list scrolls instead */
    .help-scroll > * { flex-shrink: 0; }
    .help-scroll { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
    .fm { display:flex; flex-direction:column; align-items:center; pointer-events:auto; }
    .fm-dot { width:30px; height:30px; border-radius:9999px; background:#fff; color:#064e3b; border:3px solid #16a34a; font:800 14px/24px Arial,sans-serif; text-align:center; animation: pawPulse 1.6s ease-out infinite; }
    .fm-name { margin-top:2px; padding:1px 5px; border-radius:6px; background:rgba(6,78,59,.9); color:#fff; font:700 10px/1.3 Arial,sans-serif; white-space:nowrap; }
    .fm-age { margin-top:1px; padding:0 4px; border-radius:5px; background:rgba(255,255,255,.92); color:#334155; font:700 9px/1.3 Arial,sans-serif; white-space:nowrap; }
    .fm.fm-old .fm-dot { animation:none; border-color:#94a3b8; }
    @keyframes pawPulse { 0% { box-shadow:0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow:0 0 0 12px rgba(34,197,94,0); } 100% { box-shadow:0 0 0 0 rgba(34,197,94,0); } }

    /* ===== JOB 3 additions ===== */
    /* Buttons read as tappable: modest depth, small press response */
    button:not([disabled]) { transition: transform .06s, box-shadow .06s, filter .06s; }
    button[class*="bg-"]:not([disabled]):not([class*="border-b-4"]) { box-shadow: 0 2px 0 rgba(0,0,0,.22), 0 3px 6px rgba(0,0,0,.12); }
    button:not([disabled]):not([class*="border-b-4"]):active { transform: translateY(1px); box-shadow: 0 0 0 rgba(0,0,0,0); filter: brightness(.94); }
    button[disabled] { opacity: .5; cursor: not-allowed; }

    /* Stable screen identifiers (small, fixed, never move) */
    .screen-id { position:absolute; right:6px; bottom:3px; font:700 9px/1 ui-monospace,Menlo,Consolas,monospace; color:rgba(71,85,105,.75); letter-spacing:.5px; pointer-events:none; z-index:2800; }
    .drawer-panel .screen-id { z-index:5; }

    /* Status icon (slot-map-marker.png) - green ring pulses when Broadcasting, gray + still when not */
    .paw img { border-radius:9999px; object-fit:cover; display:block; }
    .paw-gray img { filter: grayscale(1) opacity(.85); }

    /* Drawer tabs */
    .tab-carrot { font-size:12px; line-height:1; background:transparent; border:0; padding:2px; margin-bottom:2px; box-shadow:none !important; cursor:pointer; }
    .tab-caret { display:block; margin:1px 0 3px; }
    .drawer-handle { box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,.18); }

    /* Help accordion */
    .help-item { border:1px solid #d1fae5; border-radius:10px; background:#f0fdf4; overflow:hidden; }
    .help-head { width:100%; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 10px; background:transparent; border:0; text-align:left; font-weight:800; color:#064e3b; font-size:13px; cursor:pointer; box-shadow:none !important; }
    .help-caret { transition: transform .15s; flex:0 0 auto; }
    .help-item.open .help-caret { transform: rotate(90deg); }
    .help-text { display:none; padding:0 10px 10px 10px; font-size:13px; line-height:1.45; color:#334155; }
    .help-item.open .help-text { display:block; }

    /* Guest drawers: see-through so the real drawer shows behind Skip */
    .guest-sheet { background: rgba(255,255,255,0.5); }
    .guest-note { background: rgba(255,255,255,.92); border-radius:12px; padding:6px 10px; }
    .guest-locked-container.is-locked .locked-content { filter: grayscale(.85) opacity(.75); }

    /* Ring + quick zoom */
    .ring-btn { font-size:10px; font-weight:800; padding:3px 7px; border:1px solid #cbd5e1; background:#fff; color:#0f172a; }
    .ring-btn.active { background:#064e3b; color:#fff; border-color:#064e3b; }
    .ring-wrap { display:flex; border-radius:8px; overflow:hidden; box-shadow:0 2px 4px rgba(0,0,0,.25); }
    .ring-wrap .ring-btn { box-shadow:none !important; border-radius:0; }

    /* Header */
    .brand-name { color:#fff; font-weight:800; font-size:clamp(11px, 3.6vw, 14px); letter-spacing:-.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
    /* #4: the badge stays small and Exit + the menu always keep their room; only the title shrinks */
    .app-header { gap:6px; }
    #mode-badge { flex-shrink:0; font-size:9px; line-height:1.2; padding:3px 7px; white-space:nowrap; }
    #brand { flex:1 1 auto; justify-content:center; overflow:hidden; }
    #brand img { flex-shrink:0; }
    .header-right { flex-shrink:0; }
    .hamburger { color:#d1fae5; font-size:20px; line-height:1; background:transparent; border:0; padding:0 2px; box-shadow:none !important; cursor:pointer; }

    /* ===== JOB 4 additions ===== */

    /* MOD 1 / MOD 31 #9: a plain carrot sits directly above each drawer tab (no ring, no white circle).
       The tappable area is still 36 x 36. */
    .drawer-handle { top: 50%; }
    .carrot-btn { position:absolute; top: calc(50% - 53px - 38px); z-index:500; width:36px; height:36px; background:transparent; border:0; box-shadow:none !important; filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)); font-size:24px; line-height:1; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; }
    .carrot-left { left:3px; }
    .carrot-right { right:3px; }

    /* MOD 2: the ring bar hides whenever a drawer is open */
    .phone-container.drawer-open #ring-control { display:none; }
    .phone-container.drawer-open #share-banner { display:none; }
    .share-dot { width:8px; height:8px; border-radius:9999px; background:#4ade80; box-shadow:0 0 0 0 rgba(74,222,128,.7); animation: shareDot 1.6s ease-out infinite; }
    @keyframes shareDot { 0% { box-shadow:0 0 0 0 rgba(74,222,128,.7); } 70% { box-shadow:0 0 0 6px rgba(74,222,128,0); } 100% { box-shadow:0 0 0 0 rgba(74,222,128,0); } }

    /* MOD 9 / MOD 12: ring bar (Off, 500 ft, 1/2 mi, 1 mi) with its own carrot */
    #ring-control { display:flex; align-items:center; gap:5px; position:absolute; top:4px; left:50%; transform:translateX(-50%); white-space:nowrap; }   /* MOD 31 #8: top centre */

    /* MOD 31 #4 / #5: share button under the Hoppers tab, gear under the Places tab (members only) */
    .map-side-btn { position:absolute; top: calc(50% + 53px + 6px); z-index:500; width:36px; height:36px; display:none; align-items:center; justify-content:center; padding:0; cursor:pointer; background:#064e3b; color:#fff; border:2px solid #064e3b; box-shadow:0 3px 6px rgba(0,0,0,.3); }
    .is-member .map-side-btn { display:flex; }
    .map-side-left { left:0; border-radius:0 8px 8px 0; }
    .map-side-right { right:0; border-radius:8px 0 0 8px; }
    #map-share-btn .share-slash { display:none; }
    #map-share-btn.share-on { background:#052b20; border-color:#39ff14; color:#39ff14; box-shadow:0 0 8px rgba(57,255,20,.75); }
    #map-share-btn.share-off { background:#fff; border-color:#111827; color:#111827; }
    #map-share-btn.share-off .share-slash { display:inline; }

    /* MOD 32 #13: CLOSE tab on the open drawer; everything else on the map edge hides */
    .close-tab { position:absolute; top:50%; transform:translateY(-50%); z-index:950; display:none; flex-direction:column; align-items:center; justify-content:center; width:32px; height:106px; padding:4px 0; background:rgba(6,78,59,.92); color:#fff; font-size:9px; font-weight:800; letter-spacing:.5px; line-height:1.1; text-transform:uppercase; text-align:center; cursor:pointer; border:0; box-shadow:0 4px 6px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.18); }
    #close-tab-left { left:82%; border-radius:0 8px 8px 0; }
    #close-tab-right { right:82%; border-radius:8px 0 0 8px; }
    .drawer-open-left #close-tab-left, .drawer-open-right #close-tab-right { display:flex; }
    .phone-container.drawer-open .drawer-handle,
    .phone-container.drawer-open .carrot-btn,
    .phone-container.drawer-open .map-side-btn { display:none; }

    /* MOD 32 #15 / #17: the short row in your box (share symbol + Hop button) */
    /* BUILD 45 (item 14): a header title never lets its carrot drop to a line of its own */
    .head-title { display:inline-flex; align-items:center; gap:3px; white-space:nowrap; min-width:0; font-size:clamp(10px, 3.1vw, 12px); }
    .head-title + div { flex-shrink:0; }
    .share-dot { display:inline-block; width:8px; height:8px; margin-right:4px; vertical-align:middle; border-radius:9999px; background:#39ff14; box-shadow:0 0 6px rgba(57,255,20,.9); }
    .me-row { display:flex; align-items:stretch; gap:6px; }   /* BUILD 45 (item 11): about 30% smaller */
    #me-share-btn { flex:0 0 40px; height:40px; display:flex; align-items:center; justify-content:center; padding:0; border-radius:12px; cursor:pointer; border:2px solid #111827; background:#fff; color:#111827; }
    #me-share-btn .share-slash { display:none; }
    #me-share-btn.share-on { background:#052b20; border-color:#39ff14; color:#39ff14; box-shadow:0 0 10px rgba(57,255,20,.8) !important; }
    #me-share-btn.share-off .share-slash { display:inline; }
    .me-hop-btn { flex:1 1 auto; min-width:0; height:40px; display:flex; align-items:center; justify-content:center; gap:6px; padding:0 10px 0 4px; border-radius:10px; border:0; cursor:pointer; color:#fff; font-size:12px; font-weight:900; letter-spacing:.5px; text-transform:uppercase; white-space:nowrap; }
    .me-hop-btn svg { flex:0 0 34px; width:34px; height:34px; }
    .me-hop-btn.hop-start { background:#047857; }
    .me-hop-btn.hop-end { background:#b91c1c; }
    .me-hop-btn, #me-share-btn { box-shadow:0 2px 0 rgba(0,0,0,.22), 0 3px 6px rgba(0,0,0,.12); }
    .friend-initial.can-find { -webkit-tap-highlight-color:transparent; }

    /* MOD 34 #23: while a drawer is open, the rest of the map screen is dimmed and locked */
    #drawer-shield { position:absolute; top:0; left:0; right:0; bottom:0; z-index:850; display:none; background:rgba(15,23,42,.3); touch-action:none; }
    .phone-container.drawer-open #drawer-shield { display:block; }

    /* MOD 34 #22: the badge is a button for members */
    #mode-badge.badge-tap { cursor:pointer; }

    /* MOD 34 #25: the two lists in the Hoppers drawer scroll on their own */
    #friends-list-container, #groups-list-container { overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
    #friends-list-container > *, #groups-list-container > * { flex-shrink:0; }

    /* MOD 34 #24: groups box and the slide-up panel */
    .group-row { display:flex; align-items:center; gap:6px; width:100%; text-align:left; background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:7px 8px; cursor:pointer; box-shadow:none !important; }
    .group-row .group-num { flex:0 0 auto; font-size:11px; font-weight:800; color:#92400e; min-width:14px; }
    .group-row .group-name { flex:1 1 auto; min-width:0; font-size:12px; font-weight:700; color:#1e293b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .group-row .group-dot { flex:0 0 auto; width:9px; height:9px; border-radius:9999px; background:#22c55e; box-shadow:0 0 0 2px #dcfce7; }
    .group-row .group-more { flex:0 0 auto; color:#94a3b8; font-weight:800; font-size:13px; }
    #group-panel { position:absolute; top:0; left:0; right:0; bottom:84px; z-index:3500; background:rgba(15,23,42,.5); display:flex; align-items:flex-end; }
    #group-panel.hidden { display:none; }
    #group-panel-card { width:100%; background:#fff; border-radius:16px 16px 0 0; border-top:3px solid #f59e0b; padding:14px; display:flex; flex-direction:column; gap:10px; box-shadow:0 -8px 20px rgba(0,0,0,.3); animation: groupUp .18s ease-out; }
    @keyframes groupUp { from { transform:translateY(30px); opacity:.4; } to { transform:translateY(0); opacity:1; } }

    /* MOD 33: groups */
    .ring-btn.ring-disabled { opacity:.4; }
    #group-bar { position:absolute; top:38px; left:6px; right:6px; z-index:800; display:flex; align-items:center; gap:6px; padding:6px 8px; border-radius:10px; background:rgba(76,29,149,.95); color:#fff; box-shadow:0 3px 8px rgba(0,0,0,.35); }
    #group-bar.hidden { display:none; }
    #group-bar-text { flex:1 1 auto; min-width:0; font-size:11px; font-weight:800; line-height:1.25; }
    #group-bar button { flex:0 0 auto; font-size:10px; font-weight:800; padding:4px 8px; border-radius:9999px; border:0; background:#fff; color:#4c1d95; cursor:pointer; white-space:nowrap; }
    .phone-container.drawer-open #group-bar { display:none; }

    /* MOD 31 #6: large message when sharing changes */
    #share-toast { position:absolute; left:10px; right:10px; top:70px; z-index:5000; display:none; padding:16px 14px; border-radius:14px; border:3px solid #fff; color:#fff; font-size:19px; line-height:1.25; font-weight:800; text-align:center; box-shadow:0 8px 20px rgba(0,0,0,.45); cursor:pointer; }
    #share-toast.show { display:block; }
    #share-toast.toast-on { background:#15803d; }
    #share-toast.toast-off { background:#334155; }

    /* MOD 31 #5: members no longer have a bottom button, so the map and Settings use that room */
    .is-member #app-footer { display:none !important; }
    .is-member #guest-dashboard, .is-member #profile-view { padding-bottom:88px !important; }
    .ring-carrot { width:28px; height:28px; background:transparent; border:0; box-shadow:none !important; filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)); font-size:19px; line-height:1; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; }

    /* One-tap choice buttons (age question, activity, Family Hopper type, survey) */
    .choice-btn { border:1px solid #cbd5e1; background:#fff; color:#0f172a; font-size:12px; font-weight:800; padding:7px 6px; border-radius:8px; cursor:pointer; text-align:center; }
    .choice-btn.selected { background:#064e3b; color:#fff; border-color:#064e3b; }

    /* Replaceable pictures and their hot spots */
    .art-slot { flex:1 1 0; min-height:0; position:relative; margin:0 12px; }
    .art-frame { position:absolute; top:0; left:50%; transform:translateX(-50%); }
    .art-frame img { display:block; width:100%; height:100%; }
    .art-scroll-frame { position:relative; width:100%; }
    .banner-frame { position:relative; display:block; height:44px; }
    .banner-frame img { display:block; height:44px; width:auto; max-width:210px; object-fit:contain; }
    .hotspot { position:absolute; display:block; background:transparent; border:0; padding:0; margin:0; cursor:pointer; box-shadow:none !important; }

    /* MOD 5: hamburger menu */
    .menu-item { display:block; width:100%; text-align:left; padding:11px 14px; font-size:13px; font-weight:800; color:#064e3b; background:#fff; border:0; border-bottom:1px solid #e2e8f0; cursor:pointer; box-shadow:none !important; }
    .menu-item:last-child { border-bottom:0; }
    .menu-item:active { background:#ecfdf5; }
    /* BUILD 50 (item 4): SUGGESTIONS (SG01 choices, SG02 the form) */
    .sg-choice { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:12px; border-radius:12px; border:2px solid #a7f3d0; background:#ecfdf5; color:#064e3b; cursor:pointer; box-shadow:none !important; }
    .sg-choice:active { background:#d1fae5; }
    .sg-choice .sg-emoji { font-size:24px; line-height:1; flex:0 0 auto; }
    .sg-choice b { display:block; font-size:14px; font-weight:900; }
    .sg-choice span.sg-sub { display:block; font-size:11px; font-weight:600; color:#047857; margin-top:2px; }
    .sg-chips { display:flex; flex-wrap:wrap; gap:6px; }
    .sg-chip { font-size:12px; font-weight:800; padding:6px 10px; border-radius:999px; border:1.5px solid #6ee7b7; background:#fff; color:#065f46; cursor:pointer; box-shadow:none !important; }
    .sg-chip.on { background:#065f46; color:#fff; border-color:#065f46; }
    #sg-photo-wrap { position:relative; border-radius:12px; overflow:hidden; background:#0f172a; }
    #sg-photo-wrap img { display:block; width:100%; max-height:180px; object-fit:cover; }
    #sg-loc { font-size:11px; font-weight:700; line-height:1.35; border-radius:8px; padding:6px 8px; }
    #sg-loc.ok { background:#ecfdf5; color:#065f46; }
    #sg-loc.wait { background:#fef9c3; color:#713f12; }
    #sg-loc.bad { background:#fee2e2; color:#991b1b; }

    #notice-body { white-space: pre-line; }

    /* ===== JOB 5 additions ===== */

    /* Large screen code for testing: one badge, at the top left of the ad banner, that always names the screen on top. */
    #screen-badge { position:absolute; bottom:56px; left:6px; z-index:4000; pointer-events:none; display:none;
      font:800 13px/1 ui-monospace,Menlo,Consolas,monospace; letter-spacing:1px; color:#111827;
      background:#fde047; border:2px solid #111827; border-radius:6px; padding:4px 7px; }
    .big-codes #screen-badge { display:block; }
    .big-codes .screen-id { opacity:0; }
    .preview-mode .screen-id { display:none !important; }   /* PREVIEW: no codes for the public */

    /* MOD 24: searchable help */
    .help-go { display:inline-block; margin-top:8px; padding:6px 10px; font-size:12px; font-weight:800; color:#fff; background:#064e3b; border:0; border-radius:8px; cursor:pointer; }
    #help-mic { width:38px; flex:0 0 38px; border-radius:9999px; border:2px solid #064e3b; background:#fff; font-size:17px; line-height:1; cursor:pointer; padding:0; }
    #help-mic.listening { background:#dc2626; border-color:#dc2626; animation: fastPulse 0.9s ease-in-out infinite; }

    /* MOD 27: "tap where you turned around" bar */
    #turnaround-bar { position:absolute; top:58px; left:8px; right:8px; z-index:3300; }

    /* ===== BUILD 40 additions ===== */

    /* MOD 38: Skip stands 60% of the screen tall (slot 1080 x 1400); the bottom 8% of the picture sits behind the ad. */
    /* Oct 17: Skip's picture is the same frame as the background (the whole splash), stretched the same way,
       so wherever Anthony places Skip on the background slide is where he shows. Only Skip's own
       (non-transparent) pixels start the tour. */
    #splash-skip { position:absolute; left:0; top:0; width:100%; height:100%; max-width:none; object-fit:fill; z-index:2400; pointer-events:none; }
    /* ITEM v: Skip's speech bubble. Tapping it starts the tour too. */
    #splash-bubble { position:absolute; right:12px; width:42%; max-width:190px; bottom:calc(84px - 4.8% + 34%); z-index:2650; background:#fff; color:#064e3b; border:3px solid #064e3b; border-radius:16px; padding:8px 10px; font-size:14px; line-height:1.25; font-weight:900; text-align:center; cursor:pointer; box-shadow:0 6px 14px rgba(0,0,0,.35); }
    #splash-bubble::after { content:''; position:absolute; left:-14px; bottom:14px; border-width:9px 14px 9px 0; border-style:solid; border-color:transparent #064e3b transparent transparent; }
    #splash-bubble.hidden { display:none; }
    #splash-carrot { position:absolute; top:8px; left:8px; z-index:2650; width:40px; height:40px; border-radius:9999px; background:rgba(255,255,255,.92); border:2px solid #f97316; font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.35) !important; }
    /* MOD 37 + ITEM p: the splash buttons. One width setting (SPLASH_BUTTON_WIDTH_PERCENT). */
    :root { --splash-btn-w: 29%; }
    .splash-btn { width:var(--splash-btn-w); min-width:100px; }
    .splash-btn img { display:none; width:100%; height:auto; }
    .splash-btn.has-pic { background:transparent !important; border:0 !important; padding:0 !important; box-shadow:none !important; }
    .splash-btn.has-pic img { display:block; filter:drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
    .splash-btn.has-pic .splash-btn-label { display:none; }
    .splash-btn.no-pic { min-width:130px; white-space:nowrap; }   /* the drawn fallback keeps its words on one line */
    /* Oct 17: a button picture that is TALLER than wide is a full-splash layer (same frame as the background),
       drawn over the whole splash; the small button then hides. Taps go to whichever picture is solid there. */
    .splash-layer { position:absolute; left:0; top:0; width:100%; height:100%; max-width:none; object-fit:fill; pointer-events:none; z-index:2450; }
    .splash-btn.is-layer { display:none !important; }
    #landing-view.tap-skip { cursor:pointer; }

    /* ITEM a: guests see the Share button with a padlock; the gear stays members only */
    #map-share-btn.map-side-btn { display:flex; }
    .phone-container.drawer-open #map-share-btn.map-side-btn { display:none; }
    .share-lock { position:absolute; right:-5px; top:-7px; font-size:12px; line-height:1; background:#fff; border-radius:9999px; padding:1px; box-shadow:0 1px 3px rgba(0,0,0,.4); }
    .is-member .share-lock { display:none; }

    /* ITEM h: small carrots beside headings */
    .head-carrot { background:transparent; border:0; padding:0 2px; font-size:15px; line-height:1; cursor:pointer; box-shadow:none !important; filter:drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

    /* ITEM c: red privacy box (PV01) */
    #privacy-box { position:absolute; top:58px; left:8px; right:8px; z-index:3300; background:#fff; border:4px solid #dc2626; border-radius:14px; padding:10px 12px; box-shadow:0 8px 20px rgba(0,0,0,.4); display:flex; flex-direction:column; gap:6px; }
    #privacy-box.hidden { display:none; }
    #privacy-box h4 { color:#dc2626; font-size:14px; font-weight:900; line-height:1.2; }
    #privacy-box p { color:#1e293b; font-size:12px; line-height:1.35; }
    .touring #privacy-box { z-index:6100; }

    /* ITEM b-g: THE TOUR (the education deck) */
    #tour-layer { position:absolute; inset:0; z-index:6000; touch-action:none; }
    #tour-layer.hidden { display:none; }
    #tour-layer.tour-dim { background:rgba(2,20,15,.6); }
    #tour-spot { position:absolute; display:none; border:3px solid #4ade80; border-radius:12px; box-shadow:0 0 0 9999px rgba(2,20,15,.6), 0 0 14px rgba(74,222,128,.9); pointer-events:none; }
    .tour-ring { position:absolute; border:3px solid #22c55e; border-radius:12px; cursor:pointer; background:rgba(34,197,94,.08); animation: tourPulse 1.4s ease-out infinite; }
    @keyframes tourPulse { 0% { box-shadow:0 0 0 0 rgba(34,197,94,.75); } 70% { box-shadow:0 0 0 14px rgba(34,197,94,0); } 100% { box-shadow:0 0 0 0 rgba(34,197,94,0); } }
    #tour-card { position:absolute; left:10px; right:10px; background:#fff; border-radius:16px; border-top:4px solid #f59e0b; padding:12px 14px 10px; box-shadow:0 10px 28px rgba(0,0,0,.45); display:flex; flex-direction:column; gap:6px; max-height:60%; }
    #tour-card-title { font-size:15px; font-weight:900; color:#064e3b; line-height:1.2; }
    #tour-card-text { font-size:13px; line-height:1.4; color:#334155; overflow-y:auto; white-space:pre-line; }
    #tour-card-buttons { display:flex; align-items:center; gap:8px; margin-top:2px; }
    #tour-card-buttons .tour-link { background:transparent; border:0; padding:6px 2px; font-size:12px; font-weight:700; color:#64748b; text-decoration:underline; cursor:pointer; box-shadow:none !important; }
    #tour-card-buttons .tour-btn { border:0; border-radius:10px; padding:8px 14px; font-size:13px; font-weight:900; cursor:pointer; }
    #tour-card-buttons .tour-next { background:#047857; color:#fff; }
    #tour-card-buttons .tour-back { background:#e2e8f0; color:#334155; }
    #tour-card-buttons .tour-gold { background:#f59e0b; color:#0f172a; }
    #tour-card-buttons .tour-space { flex:1 1 auto; }
    .tour-sample #guest-skip-overlay { display:none !important; }
    .tour-sample #left-drawer-container.is-locked .locked-content { filter:grayscale(.6) opacity(.85); }

    /* ITEM w: Maggie on the welcome card (slot-survey-maggie; nothing shows if it is missing) */
    #gw-maggie { display:none; max-height:130px; width:auto; margin:0 auto; }
    #gw-maggie.loaded { display:block; }

    /* BUILD 40: the header picture (slot-header-title, 960 x 160) replaces the round logo and the typed name */
    #header-title { display:none; height:28px; width:auto; max-width:100%; object-fit:contain; }
    #brand.has-title #header-title { display:block; }
    #brand.has-title .brand-default { display:none; }

    /* BUILD 40: rotating ads in the bottom strip (BOTTOM_ADS) */
    .bottom-ad-pic { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .8s ease; }
    .bottom-ad-pic.showing { opacity:1; }

    /* BUILD 40: the build number at the bottom of the menu */
    .menu-build { display:block; padding:6px 14px 8px; font-size:10px; font-weight:700; color:#94a3b8; text-align:right; }

    /* ===== BUILD 41 additions ===== */

    /* ARROWS: which way you (and each friend) are going. North-up map, so the arrow turns, never the map. */
    .paw-wrap { position:relative; display:block; width:38px; height:38px; }
    .dir-arrow { position:absolute; left:-11px; top:-11px; width:60px; height:60px; pointer-events:none; transition:opacity .4s; }
    .dir-arrow svg { display:block; width:100%; height:100%; }
    .dir-arrow.pale { opacity:.3; }
    .fm-dotwrap { position:relative; display:block; width:30px; height:30px; }
    .fm-dotwrap .fm-dot { display:block; box-sizing:border-box; }   /* BUILD 43: keep the friend dot a true circle inside its arrow holder */
    .fm-dotwrap .dir-arrow { left:-11px; top:-11px; width:52px; height:52px; }

    /* FOLLOW ME + SCREEN ON: a small bar at the bottom middle of the map */
    #map-bottom-bar { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); z-index:800; display:flex; align-items:center; gap:6px; }
    #recenter-btn { width:38px; height:38px; border-radius:9999px; border:2px solid #064e3b; background:#fff; color:#064e3b; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; box-shadow:0 3px 8px rgba(0,0,0,.35) !important; }
    #recenter-btn.hidden { display:none; }
    /* BUILD 45 (item 9): the eye at the top right of the map */
    #wake-eye.hidden, #eye-note.hidden { display:none; }
    #eye-note { position:absolute; top:50px; right:6px; z-index:821; max-width:210px; background:#064e3b; color:#fff; font-size:11px; font-weight:700; line-height:1.35; padding:8px 10px; border-radius:10px; box-shadow:0 4px 10px rgba(0,0,0,.35); cursor:pointer; }
    #eye-note::before { content:''; position:absolute; top:-6px; right:13px; border:6px solid transparent; border-top:0; border-bottom-color:#064e3b; }

    /* INVITE (bottom left, everyone) and the two partner deck tabs (bottom right) */
    .bottom-tab { position:absolute; z-index:500; display:flex; align-items:center; gap:4px; padding:5px 8px; border:0; color:#fff; font-size:9px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; cursor:pointer; line-height:1; text-shadow:0 1px 2px rgba(0,0,0,.6); box-shadow:0 3px 6px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.18) !important; }
    #invite-tab { left:0; bottom:20px; border-radius:0 9px 9px 0; background:rgba(6,78,59,.75); }
    #deck-tabs { position:absolute; right:0; bottom:20px; z-index:500; display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
    #deck-tabs.hidden { display:none; }
    #deck-tabs .bottom-tab { position:static; border-radius:9px 0 0 9px; background:rgba(30,58,138,.85); }
    .phone-container.drawer-open #invite-tab,
    .phone-container.drawer-open #deck-tabs,
    .phone-container.drawer-open #map-bottom-bar { display:none; }

    /* INVITE PANEL (IV01): slides up from the bottom */
    #invite-panel { position:absolute; top:0; left:0; right:0; bottom:84px; z-index:3500; background:rgba(15,23,42,.5); display:flex; align-items:flex-end; }
    #invite-panel.hidden { display:none; }
    #invite-card { width:100%; max-height:100%; overflow-y:auto; background:#fff; border-radius:16px 16px 0 0; border-top:3px solid #047857; padding:14px; display:flex; flex-direction:column; align-items:center; gap:8px; box-shadow:0 -8px 20px rgba(0,0,0,.3); animation: groupUp .18s ease-out; }
    #invite-qr { width:min(62vw, 230px); aspect-ratio:1; }
    #invite-qr svg { display:block; width:100%; height:100%; }

    /* PARTNER DECK VIEW (DK01): the sales deck page inside the app */
    #deck-view { position:absolute; inset:0; z-index:3700; background:#f8fafc; display:flex; flex-direction:column; }
    #deck-view.hidden { display:none; }
    #deck-head { flex:0 0 auto; background:#1e3a8a; color:#fff; padding:8px 10px; display:flex; flex-direction:column; gap:6px; }
    #deck-head .deck-row { display:flex; align-items:center; gap:8px; }
    #deck-title { flex:1 1 auto; min-width:0; font-size:13px; font-weight:900; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    #deck-close { flex:0 0 auto; background:#fff; color:#1e3a8a; border:0; border-radius:9999px; padding:5px 12px; font-size:11px; font-weight:900; cursor:pointer; }
    .deck-as { display:flex; border-radius:8px; overflow:hidden; border:1px solid rgba(255,255,255,.6); }
    .deck-as button { background:transparent; color:#fff; border:0; padding:3px 9px; font-size:10px; font-weight:800; cursor:pointer; box-shadow:none !important; }
    .deck-as button.on { background:#fff; color:#1e3a8a; }
    #deck-count { font-size:10px; font-weight:700; color:#bfdbfe; }
    #deck-frame { flex:1 1 auto; width:100%; border:0; background:#fff; }

    /* HELP: lines with a bitten carrot open one deeper topic (two levels at most) */
    .help-more { display:flex; align-items:flex-start; gap:6px; width:100%; margin-top:7px; padding:5px 6px; text-align:left; background:#fff; border:1px solid #d1fae5; border-radius:8px; font-size:12px; line-height:1.35; color:#334155; cursor:pointer; box-shadow:none !important; }
    .bitten { flex:0 0 auto; display:inline-flex; width:20px; height:20px; }
    .bitten img, .bitten svg { width:20px; height:20px; display:block; }
    .help-back { align-self:flex-start; background:transparent; border:0; padding:2px 0; font-size:12px; font-weight:800; color:#047857; text-decoration:underline; cursor:pointer; box-shadow:none !important; }

    /* ===== BUILD 46 additions (items 16-21) ===== */

    /* ITEM 16: the app body never scrolls as a page while the splash or the map shows.
       Login, Register and Settings still scroll inside the body. */
    #app-body.body-locked { overflow:hidden !important; }
    /* Room kept free at the bottom: the ad strip (84) and, for guests, the BECOME A HOPPER bar. */
    .phone-container { --bottom-space: 162px; }
    .phone-container.is-member { --bottom-space: 84px; }
    /* The map screen fills exactly the space it has (no min-heights that made it taller than an iPhone screen). */
    #guest-dashboard { position:absolute; left:0; right:0; top:0; bottom:var(--bottom-space); display:flex; flex-direction:column; padding:0 !important; }
    #guest-dashboard.hidden { display:none !important; }
    .phone-container.is-member #guest-dashboard, .phone-container #guest-dashboard { padding-bottom:0 !important; }
    #map-outer { flex:1 1 auto; min-height:0; display:flex; }
    #map-inner { flex:1 1 auto; min-height:0; position:relative; overflow:hidden; }
    /* ITEMS 16-17: the slide-outs end above the bottom strip, so nothing in them (the guest panels' words and
       buttons included) hides behind it, and they never need dragging. */
    .drawer-panel { bottom:var(--bottom-space) !important; }
    #drawer-shield { bottom:var(--bottom-space); }
    .guest-sheet { background: rgba(255,255,255,0.82); }

    /* ITEM 19: THE HEADER. [circle]  logo + Invite  [circle] */
    .app-header { display:grid !important; grid-template-columns:40px 1fr 40px; align-items:center; gap:6px; padding:4px 10px 5px !important; }
    #brand-col { display:flex; flex-direction:column; align-items:center; gap:2px; min-width:0; }
    #brand { justify-content:center; max-width:100%; }
    .hdr-circle { width:36px; height:36px; border-radius:9999px; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; font:900 16px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; box-shadow:0 2px 5px rgba(0,0,0,.35) !important; -webkit-tap-highlight-color:transparent; }
    #mode-badge.hdr-circle { font-size:16px !important; padding:0 !important; border:2px solid transparent; }
    #mode-badge.st-m { background:#f59e0b; color:#0f172a; border-color:#fbbf24; }
    #mode-badge.st-g { background:#065f46; color:#fff; border-color:#f59e0b; }
    #mode-badge.st-h { background:#dc2626; color:#fff; border-color:#fca5a5; }
    .hdr-menu { background:#f59e0b; color:#0f172a; border:2px solid #fbbf24; font-size:19px; justify-self:end; }
    .hdr-invite { display:inline-flex; align-items:center; gap:3px; padding:2px 10px; border-radius:9999px; border:0; background:#f59e0b; color:#0f172a; font-size:9px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; line-height:1.3; cursor:pointer; box-shadow:0 1px 3px rgba(0,0,0,.35) !important; }
    #badge-bubble { position:absolute; top:52px; left:8px; z-index:3900; max-width:230px; background:#fff; color:#064e3b; border:2px solid #064e3b; border-radius:12px; padding:7px 10px; font-size:12px; font-weight:800; line-height:1.35; box-shadow:0 6px 14px rgba(0,0,0,.35); transition:opacity .4s; }
    #badge-bubble::before { content:''; position:absolute; top:-8px; left:14px; border:7px solid transparent; border-top:0; border-bottom-color:#064e3b; }
    #badge-bubble.hidden { display:none; }
    #badge-bubble.fading { opacity:0; }
    #badge-bubble.can-tap { cursor:pointer; text-decoration:underline; }
    #menu-panel { top:52px !important; }

    /* ITEM 20b: the row across the top of the map */
    #map-top-row { position:absolute; top:6px; left:6px; right:6px; z-index:820; display:flex; align-items:flex-start; justify-content:space-between; gap:6px; pointer-events:none; }
    #map-top-row > * { pointer-events:auto; }
    /* BUILD 51 (item 13d): [Rings] [Weather] [Eye]; the two side boxes are the same size (narrower on small phones) */
    .phone-container { --top-box-w: clamp(68px, 21vw, 86px); }
    #ring-cycle-wrap, #eye-wrap { position:relative; flex:0 0 var(--top-box-w); width:var(--top-box-w); display:flex; flex-direction:column; align-items:stretch; gap:6px; }
    #ring-carrot-btn { position:absolute; right:-9px; bottom:-14px; width:26px; height:26px; font-size:17px; z-index:2; }
    /* BUILD 51 (item 11): normal map / satellite, under the eye */
    #sat-btn { display:flex; align-items:center; justify-content:center; gap:3px; height:24px; padding:0 4px; border-radius:8px; border:1.5px solid #fff; background:rgba(255,255,255,.9); color:#064e3b; font-size:10px; font-weight:900; letter-spacing:.2px; cursor:pointer; box-shadow:0 2px 5px rgba(0,0,0,.3) !important; white-space:nowrap; overflow:hidden; }
    #sat-btn.sat-on { background:#064e3b; color:#fff; }
    .phone-container.drawer-open #map-top-row { visibility:hidden; }
    #weather-strip { flex:0 1 auto; min-width:0; max-width:calc(100% - 2 * var(--top-box-w) - 12px); margin:0 auto; text-align:center; padding:3px 12px 4px; border-radius:12px; background:rgba(255,255,255,.55); -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); border:1px solid rgba(255,255,255,.75); box-shadow:0 2px 6px rgba(0,0,0,.18); color:#064e3b; position:relative; z-index:2; }
    #weather-strip .wx-line1 { display:flex; align-items:baseline; justify-content:center; gap:5px; white-space:nowrap; }
    #weather-icon { font-size:17px; line-height:1; align-self:center; }
    #weather-temp { font-size:15px; font-weight:900; color:#052e22; }
    #weather-place { font-size:11px; font-weight:800; color:#065f46; overflow:hidden; text-overflow:ellipsis; }
    #weather-desc { font-size:11px; font-weight:700; color:#134e3a; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    #online-line { font-size:10px; font-weight:800; color:#065f46; line-height:1.2; }
    #weather-banner { display:none !important; }

    /* ITEM 20e: the ad that drops down from under the weather */
    #drop-ad-wrap { position:absolute; top:52px; left:50%; transform:translateX(-50%); width:min(66%, 250px); overflow:hidden; z-index:815; pointer-events:none; padding:0 4px 8px; }
    #drop-ad { display:block; transform:translateY(-130%); visibility:hidden; transition:transform .55s ease, visibility 0s linear .55s; pointer-events:none; }
    #drop-ad.down { transform:translateY(0); visibility:visible; transition:transform .55s ease; pointer-events:auto; }
    #drop-ad img { display:block; width:100%; height:auto; border-radius:0 0 12px 12px; box-shadow:0 6px 12px rgba(0,0,0,.35); }
    .phone-container.drawer-open #drop-ad-wrap { display:none; }

    /* ITEM 20g: HOPPERS and PLACES sit near the top, under the top row, so the middle of the map is clear */
    .drawer-handle { top:84px !important; transform:none !important; }   /* BUILD 51: below the satellite button */

    /* ITEM 20c: the one rotating rings button (BUILD 51: top left, in the top row), with its carrot */
    #ring-cycle { display:flex; align-items:center; gap:4px; min-width:66px; height:36px; padding:0 9px; border-radius:10px; border:2px solid #fff; background:#064e3b; color:#fff; font-size:12px; font-weight:900; white-space:nowrap; cursor:pointer; box-shadow:0 3px 7px rgba(0,0,0,.35) !important; }
    #ring-cycle.ring-on { background:#047857; border-color:#a7f3d0; }

    /* ITEM 20h: the re-center target in the middle of the map (see-through) */
    #map-bottom-bar { position:absolute !important; inset:0 !important; left:0 !important; bottom:0 !important; transform:none !important; display:block !important; pointer-events:none; z-index:805 !important; }
    #recenter-btn { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:64px !important; height:64px !important; padding:0; border:0 !important; background:transparent !important; box-shadow:none !important; pointer-events:auto; border-radius:9999px; filter:drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
    #recenter-btn.hidden { display:none !important; }
    /* BUILD 53: the target is faint, so it barely shows over the map (Anthony). Change the number freely:
       0 = invisible, 1 = full strength (Build 52). It still works the same when tapped. */
    #recenter-btn svg { opacity:.3; }
    #recenter-btn { filter:none !important; }

    /* Bars that used to sit just under the old ring buttons move below the new top row */
    #group-bar { top:56px; }
    #turnaround-bar { top:60px; }
    #privacy-box { top:60px; }

    /* ITEM 20 (gear for guests): the Settings page shows a short Hopper-feature card to guests */
    #profile-guest-card.hidden, #profile-member-card.hidden { display:none; }

    /* ITEM 21: rabbits (picture slots icon-rabbit-*.png) */
    .rabbit-pic { display:block; object-fit:contain; }
    #rabbit-row { display:flex; align-items:center; gap:10px; padding:6px 8px; border:1px solid #d1fae5; border-radius:10px; background:#f0fdf4; }
    #rabbit-row img { width:44px; height:44px; flex:0 0 44px; }
    #rabbit-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; }
    .rabbit-tile { aspect-ratio:1; border:2px solid #e2e8f0; border-radius:12px; background:#f8fafc; padding:4px; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:none !important; }
    .rabbit-tile.mine { border-color:#047857; background:#ecfdf5; }
    .rabbit-tile img { width:100%; height:100%; }
    .rabbit-soon { font-size:10px; font-weight:800; color:#64748b; text-align:center; line-height:1.2; cursor:default; }
    #rabbit-preview img { width:140px; height:140px; margin:0 auto; }
    #group-rabbits .rabbit-tile { width:52px; height:52px; }

    /* ===== BUILD 47 additions (items 22-31) ===== */

    /* ITEM 27: HOPPERS / PLACES / CLOSE look like speech bubbles: just the letters, no caret,
       a small pointer from the middle of the side facing the map. */
    .drawer-handle, .close-tab { width:22px !important; height:auto !important; padding:7px 0 !important; border-radius:9px !important; font-size:9px; line-height:1.05; }
    .drawer-handle::after, .close-tab::after { content:''; position:absolute; top:50%; margin-top:-6px; width:0; height:0; border:6px solid transparent; pointer-events:none; }
    .drawer-handle-left { left:4px !important; }
    .drawer-handle-right { right:4px !important; }
    .drawer-handle-left::after { right:-12px; border-left-color:rgba(6,78,59,.6); }
    .drawer-handle-right::after { left:-12px; border-right-color:rgba(6,78,59,.6); }
    #close-tab-left { left:calc(82% + 4px) !important; }
    #close-tab-right { right:calc(82% + 4px) !important; }
    #close-tab-left::after { right:-12px; border-left-color:rgba(6,78,59,.92); }
    #close-tab-right::after { left:-12px; border-right-color:rgba(6,78,59,.92); }

    /* ITEM 28: the rings button keeps one size; the eye is a box of the same size, same height */
    /* BUILD 51 (item 13d): the rings and the eye are the same-size boxes, one on each side of the weather */
    .top-box { width:var(--top-box-w); min-width:0 !important; height:36px; display:flex; align-items:center; justify-content:center; gap:4px; padding:0 6px !important; border-radius:10px !important; border:2px solid #fff; background:#064e3b; color:#fff; cursor:pointer; box-shadow:0 3px 7px rgba(0,0,0,.35) !important; }
    #wake-eye { background:#064e3b; color:#fff; }
    #wake-eye.eye-closed { background:rgba(6,78,59,.55); color:#d1fae5; border-color:rgba(255,255,255,.7); }
    #eye-note::before { right:30px !important; }

    /* ITEM 22a: the slide-out's top line: "Anthony's Hoppers", carrot, your rabbit */
    #drawer-title { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.15; }
    #drawer-my-rabbit { width:38px; height:38px; flex:0 0 38px; border-radius:9999px; padding:2px; background:#fff; border:2px solid #cbd5e1; cursor:pointer; box-shadow:none !important; display:flex; align-items:center; justify-content:center; -webkit-tap-highlight-color:transparent; }
    #drawer-my-rabbit.hidden { display:none; }
    #drawer-my-rabbit img { width:100%; height:100%; object-fit:contain; display:block; }
    #drawer-my-rabbit.glow { border-color:#22c55e; animation: pawPulse 1.6s ease-out infinite; }

    /* ITEM 22b: the green stats strip */
    .hop-stats { background:#047857; color:#fff; border-radius:8px; padding:4px 9px; display:grid; grid-template-columns:auto 1fr; column-gap:10px; row-gap:1px; font-size:11px; line-height:1.3; }
    .hop-stats .k { font-weight:800; color:#d1fae5; white-space:nowrap; }
    .hop-stats .v { font-weight:900; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
    .hop-stats .none { grid-column:1 / -1; text-align:center; font-weight:800; }
    /* ITEM 22b: this Hop's numbers inside the red END HOP bar */
    .me-hop-btn .hop-live { font-size:11px; font-weight:800; letter-spacing:0; text-transform:none; opacity:.95; font-variant-numeric:tabular-nums; }
    .me-note { font-size:10px; line-height:1.25; font-weight:600; }

    /* ITEM 31: the decorative divider above Family & Friends */
    .th-divider { display:flex; align-items:center; justify-content:center; gap:3px; height:30px; pointer-events:none; }
    .th-divider svg { flex:1 1 0; min-width:0; max-width:120px; height:22px; }
    .th-divider img { width:28px; height:28px; flex:0 0 28px; border-radius:9999px; object-fit:cover; box-shadow:0 0 0 2px #f59e0b, 0 1px 3px rgba(0,0,0,.3); }

    /* ITEM 22d: Family & Friends may take two lines; the carrot always stays beside "Friends" */
    .head-title.ff-title { white-space:normal; flex:1 1 auto; line-height:1.15; }
    .ff-title .nw { white-space:nowrap; display:inline-flex; align-items:center; gap:3px; }

    /* ITEMS 22e / 25: your own marker is your rabbit. Square green frame during a Hop, and the Hop's numbers under it. */
    .me-mk { position:relative; display:block; width:38px; height:38px; }
    .me-rabbit { position:absolute; inset:0; border-radius:9999px; background:#fff; border:2px solid #94a3b8; display:flex; align-items:center; justify-content:center; overflow:hidden; box-shadow:0 2px 5px rgba(0,0,0,.35); }
    .me-rabbit img { width:30px; height:30px; object-fit:contain; display:block; }
    /* BUILD 51 (items 12h, 13b): always a circle. On a Hop = solid green ring. Sharing = a wide, bright green glow
       (#39ff14, same as the Share button) that pulses. Both = ring and glow. Neither = a plain circle. */
    .me-mk .me-rabbit { border-radius:9999px !important; }
    .me-mk.sharing .me-rabbit { border-color:#ffffff; box-shadow:0 0 0 3px rgba(57,255,20,.75), 0 0 16px 6px rgba(57,255,20,.85); }
    .me-mk.sharing::before { content:''; position:absolute; inset:-4px; border-radius:9999px; pointer-events:none; animation: meGlow 1.6s ease-out infinite; }
    @keyframes meGlow { 0% { box-shadow:0 0 0 0 rgba(57,255,20,.8); } 70% { box-shadow:0 0 0 18px rgba(57,255,20,0); } 100% { box-shadow:0 0 0 0 rgba(57,255,20,0); } }
    .me-mk.on-hop .me-rabbit { border:3px solid #16a34a; }
    .me-hopline { position:absolute; top:44px; left:50%; transform:translateX(-50%); white-space:nowrap; background:rgba(6,78,59,.92); color:#fff; font:800 10px/1.35 Arial,sans-serif; padding:1px 6px; border-radius:6px; pointer-events:none; }

    /* ITEM 24: friends' rabbits on the map, Hopper name over first name; zoomed out = Hopper name only */
    .fm-dot.has-rabbit { display:flex !important; align-items:center; justify-content:center; overflow:hidden; padding:0; }
    .fm-dot.has-rabbit img { width:21px; height:21px; object-fit:contain; display:block; }
    /* BUILD 51 (item 13b): friends are always circles too. A friend on the map is sharing (their small pulse);
       a solid green ring means they are on a Hop. */
    .fm .fm-dot { border-color:#ffffff; box-shadow:0 1px 4px rgba(0,0,0,.35); }
    .fm.fm-hop .fm-dot { border-radius:9999px; border-color:#16a34a; }
    .fm-name { display:flex; flex-direction:column; align-items:center; line-height:1.15; }
    .fm-first { font-weight:600; font-size:9px; opacity:.92; }
    #map.map-far .fm-first { display:none; }

    /* ITEM 30: short friend cards; "Where are you?" always fully inside */
    .friend-card { padding:4px 6px !important; gap:6px; }
    .fc-icon { display:flex; flex-direction:column; align-items:center; flex:0 0 auto; width:40px; }
    .fc-icon .friend-initial { width:28px !important; height:28px !important; font-size:12px; overflow:hidden; }
    .fc-icon .friend-initial img.rabbit-pic { width:22px !important; height:22px !important; object-fit:contain; border-radius:0; }
    .fc-first { display:block; max-width:40px; font-size:9px; line-height:1.15; color:#64748b; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .fc-first:empty { display:none; }
    .friend-card .hidden { display:none !important; }

    /* ===== BUILD 48 additions ===== */

    /* ITEMS 1-2: your rabbit at the top of HOPPERS and the Share button in your box glow AND pulse while you share.
       (Their plain box-shadow rules carry !important, which stopped the pulse; the pulse now runs on a ring of its own.) */
    #drawer-my-rabbit, #me-share-btn { position:relative; }
    #drawer-my-rabbit.glow { border-color:#39ff14; box-shadow:0 0 10px rgba(57,255,20,.85) !important; }
    #me-share-btn.share-on { box-shadow:0 0 12px rgba(57,255,20,.9) !important; }
    #drawer-my-rabbit.glow::after, #me-share-btn.share-on::after { content:''; position:absolute; inset:-2px; border-radius:inherit; pointer-events:none; animation: pawPulse 1.6s ease-out infinite; }

    /* ITEM 3: HOPPERS and PLACES are the same size (the size of HOPPERS) */
    .drawer-handle { min-height:84px; justify-content:center; }
    /* ITEM 4: an open slide-out's CLOSE tab points the closing way (toward the slide-out) */
    #close-tab-left { left:calc(82% + 10px) !important; }
    #close-tab-right { right:calc(82% + 10px) !important; }
    #close-tab-left::after { right:auto; left:-12px; border-left-color:transparent; border-right-color:rgba(6,78,59,.92); }
    #close-tab-right::after { left:auto; right:-12px; border-right-color:transparent; border-left-color:rgba(6,78,59,.92); }

    /* ITEM 6: RETAIL / COMMUNITY sit above the eye */
    #deck-tabs { bottom:22px; }   /* BUILD 51: the eye left the bottom corner */

    /* ITEM 9: friends' labels: Hopper name, then the distance (first name in front when zoomed in) */
    .fm-dist { font-weight:700; font-size:9px; opacity:.95; white-space:nowrap; }
    #map.map-far .fm-dist .fm-first { display:none; }

    /* ITEM 14: PAUSE / RESUME beside END HOP */
    .me-hop-btn.hop-end { gap:4px; padding:0 8px; flex-direction:column; line-height:1.05; }
    .me-hop-btn.hop-end .hop-live { font-size:10px; }
    .me-pause-btn { flex:0 0 auto; height:40px; display:flex; align-items:center; justify-content:center; gap:4px; padding:0 10px; border-radius:10px; border:0; cursor:pointer; background:#f59e0b; color:#0f172a; font-size:11px; font-weight:900; letter-spacing:.4px; text-transform:uppercase; white-space:nowrap; box-shadow:0 2px 0 rgba(0,0,0,.22), 0 3px 6px rgba(0,0,0,.12); }
    .me-hop-btn.hop-resume { background:#047857; flex-direction:column; line-height:1.05; gap:2px; }
    .me-hop-btn.hop-resume .hop-live { font-size:10px; }
    .me-hop-btn svg.play-i { display:inline; width:11px !important; height:11px !important; flex:none !important; vertical-align:-1px; }
    .me-end-small { flex:0 0 auto; height:40px; padding:0 12px; border-radius:10px; border:0; cursor:pointer; background:#b91c1c; color:#fff; font-size:11px; font-weight:900; letter-spacing:.4px; text-transform:uppercase; box-shadow:0 2px 0 rgba(0,0,0,.22), 0 3px 6px rgba(0,0,0,.12); }
    .me-mk.paused .me-rabbit { border-color:#f59e0b !important; }
    .me-mk.paused .me-hopline { background:rgba(180,83,9,.95); }

    /* ITEM 18: "Weak signal, trying again..." */
    #signal-toast { position:absolute; left:50%; bottom:64px; transform:translateX(-50%); z-index:3990; display:flex; align-items:center; gap:7px; max-width:calc(100% - 32px); background:#1e293b; color:#fff; font-size:12px; font-weight:800; padding:7px 14px; border-radius:9999px; box-shadow:0 4px 12px rgba(0,0,0,.4); pointer-events:none; white-space:nowrap; }
    #signal-toast.hidden { display:none; }
    #signal-toast .sig-dot { width:8px; height:8px; border-radius:9999px; background:#fbbf24; animation: sigBlink 1s ease-in-out infinite; }
    @keyframes sigBlink { 0%,100% { opacity:1; } 50% { opacity:.25; } }

    /* Sheets that slide up from the bottom (quick messages, My Hops) */
    .th-sheet { position:absolute; top:0; left:0; right:0; bottom:84px; z-index:3500; background:rgba(15,23,42,.5); display:flex; align-items:flex-end; }
    .th-sheet.hidden { display:none; }
    .th-sheet-card { width:100%; max-height:100%; overflow-y:auto; background:#fff; border-radius:16px 16px 0 0; border-top:3px solid #047857; padding:12px 14px 14px; display:flex; flex-direction:column; gap:10px; box-shadow:0 -8px 20px rgba(0,0,0,.3); animation: groupUp .18s ease-out; }
    .th-sheet-head { display:flex; align-items:center; gap:10px; }
    .th-sheet-head .th-x { margin-left:auto; flex:0 0 auto; width:32px; height:32px; border-radius:9999px; background:#f1f5f9; border:0; color:#475569; font-size:14px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .qm-rabbit { width:46px; height:46px; flex:0 0 46px; border-radius:9999px; border:2px solid #16a34a; background:#fff; display:flex; align-items:center; justify-content:center; overflow:hidden; font:900 18px/1 Arial,sans-serif; color:#064e3b; }
    .qm-rabbit img { width:36px; height:36px; object-fit:contain; display:block; }
    .qm-name { font-size:15px; font-weight:900; color:#064e3b; line-height:1.15; }
    .qm-sub { font-size:11px; font-weight:700; color:#475569; line-height:1.25; }
    .qm-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
    .qm-btn { border:2px solid #047857; background:#ecfdf5; color:#064e3b; border-radius:12px; padding:10px 6px; font-size:13px; font-weight:900; cursor:pointer; line-height:1.15; box-shadow:none !important; }
    .qm-btn.qm-thumb { font-size:20px; padding:6px; }
    .qm-btn:disabled { opacity:.5; }
    .qm-note { font-size:11px; font-weight:700; color:#047857; text-align:center; min-height:14px; }

    /* ITEM 11: a message from a friend, and the answer to yours */
    #qm-in { position:absolute; left:10px; right:10px; top:64px; z-index:3970; background:#fff; border-radius:16px; border:3px solid #047857; padding:12px; display:flex; flex-direction:column; gap:10px; box-shadow:0 10px 26px rgba(0,0,0,.45); animation: groupUp .18s ease-out; }
    #qm-in.hidden { display:none; }
    #qm-in .qm-says { font-size:20px; font-weight:900; color:#0f172a; line-height:1.2; }
    #qm-in .qm-replies { display:flex; gap:7px; }
    #qm-in .qm-replies .qm-btn { flex:1 1 0; }
    #qm-toast { position:absolute; left:10px; right:10px; top:64px; z-index:3965; display:flex; align-items:center; gap:10px; background:#15803d; color:#fff; border:3px solid #fff; border-radius:14px; padding:10px 12px; font-size:16px; font-weight:800; line-height:1.25; box-shadow:0 8px 20px rgba(0,0,0,.45); cursor:pointer; }
    #qm-toast.hidden { display:none; }
    #qm-toast .qm-rabbit { width:40px; height:40px; flex:0 0 40px; border-color:#fff; }
    #qm-toast .qm-rabbit img { width:30px; height:30px; }

    /* BUILD 54 (item 6): MEET HERE PIN */
    .qm-meet { width:100%; border:0; background:#16a34a; color:#fff; border-radius:12px; padding:11px 8px; font-size:15px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .mt-pin-wrap { background:transparent; border:0; }
    .mt-pin { position:relative; width:44px; height:58px; display:flex; flex-direction:column; align-items:center; pointer-events:auto; }
    .mt-pin-head { width:40px; height:40px; border-radius:9999px; background:#fff; border:4px solid #16a34a; display:flex; align-items:center; justify-content:center; overflow:hidden; box-shadow:0 3px 8px rgba(0,0,0,.4); }
    .mt-pin-head img { width:30px; height:30px; object-fit:contain; }
    .mt-pin-blank { background:#dcfce7; }
    .mt-pin-tip { width:0; height:0; border-left:9px solid transparent; border-right:9px solid transparent; border-top:16px solid #16a34a; margin-top:-3px; }
    .mt-pin-dist { position:absolute; top:-18px; left:50%; transform:translateX(-50%); white-space:nowrap; background:#16a34a; color:#fff; font:900 11px/1 Arial,sans-serif; padding:3px 6px; border-radius:9999px; border:1.5px solid #fff; }
    #meet-pin-fixed { position:absolute; left:50%; top:50%; transform:translate(-22px,-56px); z-index:820; pointer-events:none; }
    #meet-pin-fixed.hidden, #meet-pick-bar.hidden, #meet-tag.hidden, #meet-send.hidden, #mt-in.hidden, #mt-toast.hidden { display:none; }
    #meet-pick-bar { position:absolute; left:10px; right:10px; bottom:14px; z-index:830; background:#fff; border:3px solid #16a34a; border-radius:14px; padding:10px; display:flex; flex-direction:column; gap:8px; box-shadow:0 8px 20px rgba(0,0,0,.4); }
    #meet-pick-bar p { margin:0; font-size:14px; font-weight:800; color:#064e3b; text-align:center; }
    .mt-row { display:flex; gap:8px; }
    .mt-row button { flex:1 1 0; border-radius:12px; padding:11px 6px; font-size:15px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .mt-go { background:#16a34a; color:#fff; border:0; }
    .mt-go:disabled { opacity:.45; }
    .mt-plain { background:#f1f5f9; color:#334155; border:2px solid #cbd5e1; }
    #meet-tag { position:absolute; left:8px; bottom:14px; z-index:810; background:#fff; color:#15803d; border:2px solid #16a34a; border-radius:9999px; padding:6px 10px; font-size:12px; font-weight:900; cursor:pointer; box-shadow:0 3px 8px rgba(0,0,0,.3) !important; }
    #meet-send { position:absolute; left:0; right:0; bottom:84px; z-index:3500; max-height:56%; display:flex; }
    .mt-send-card { max-height:100%; }
    .mt-friends { display:flex; flex-direction:column; gap:5px; overflow-y:auto; max-height:34vh; }
    .mt-friend { display:flex; align-items:center; gap:8px; width:100%; text-align:left; background:#fff; border:2px solid #d1fae5; border-radius:12px; padding:5px 8px; cursor:pointer; box-shadow:none !important; }
    .mt-friend.on { border-color:#16a34a; background:#f0fdf4; }
    .mt-friend.off { opacity:.4; cursor:default; }
    .mt-friend .qm-rabbit { width:34px; height:34px; flex:0 0 34px; font-size:14px; }
    .mt-friend .qm-rabbit img { width:26px; height:26px; }
    .mt-check { width:22px; height:22px; flex:0 0 22px; border-radius:6px; border:2px solid #16a34a; color:#fff; background:#fff; font:900 15px/18px Arial,sans-serif; text-align:center; }
    .mt-friend.on .mt-check { background:#16a34a; }
    .mt-friend-words { display:flex; flex-direction:column; min-width:0; }
    .mt-friend-name { font-size:14px; font-weight:900; color:#064e3b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .mt-friend-sub { font-size:10px; font-weight:800; color:#15803d; }
    .mt-when { display:flex; align-items:center; gap:10px; width:100%; background:#ecfdf5; border:2px solid #047857; border-radius:12px; padding:9px 12px; cursor:pointer; box-shadow:none !important; color:#064e3b; }
    .mt-when span { font-size:11px; font-weight:900; letter-spacing:.06em; }
    .mt-when b { font-size:17px; font-weight:900; }
    .mt-when .mt-when-tap { margin-left:auto; font-weight:700; letter-spacing:0; color:#475569; }
    .mt-btns { display:flex; gap:7px; flex-wrap:wrap; }
    .mt-btns .qm-btn { flex:1 1 0; min-width:62px; }
    .mt-btns .qm-btn.mt-show { background:#16a34a; color:#fff; border-color:#16a34a; }
    .mt-btns .qm-btn.mt-on { background:#047857; color:#fff; }
    .mt-btns .qm-btn.mt-cancel { border-color:#b91c1c; color:#b91c1c; background:#fff; }
    #mt-in { position:absolute; left:10px; right:10px; top:64px; z-index:3972; background:#fff; border-radius:16px; border:3px solid #16a34a; padding:12px; display:flex; flex-direction:column; gap:10px; box-shadow:0 10px 26px rgba(0,0,0,.45); animation: groupUp .18s ease-out; }
    #mt-in .qm-says { font-size:19px; font-weight:900; color:#0f172a; line-height:1.2; }
    #mt-toast { position:absolute; left:10px; right:10px; top:64px; z-index:3966; display:flex; align-items:center; gap:10px; background:#15803d; color:#fff; border:3px solid #fff; border-radius:14px; padding:10px 12px; font-size:16px; font-weight:800; line-height:1.25; box-shadow:0 8px 20px rgba(0,0,0,.45); cursor:pointer; }
    #mt-toast .qm-rabbit { width:40px; height:40px; flex:0 0 40px; border-color:#fff; }
    #mt-toast .qm-rabbit img { width:30px; height:30px; }
    /* BUILD 54 (N6a / N7): the team's picture on a place's card, and Admin Photos */
    .sf-photo { width:calc(100% + 28px); max-width:none; margin:-12px -14px 0; height:160px; object-fit:cover; border-radius:14px 14px 0 0; display:block; }
    .sf-photo.hidden { display:none; }
    .ap-img { width:100%; max-height:180px; object-fit:cover; border-radius:12px; background:#f1f5f9; }
    .ap-choice { width:100%; text-align:left; background:#fff; border:2px solid #d1fae5; border-radius:10px; padding:8px 10px; font-size:13px; font-weight:800; color:#064e3b; cursor:pointer; box-shadow:none !important; }
    .ap-choice.on { border-color:#16a34a; background:#f0fdf4; }
    .ap-btn { width:100%; background:#f1f5f9; border:2px solid #cbd5e1; border-radius:12px; padding:10px; font-size:14px; font-weight:900; color:#334155; cursor:pointer; box-shadow:none !important; }
    .ap-btn.ap-btn-go { background:#16a34a; border-color:#16a34a; color:#fff; }
    .ap-btn:disabled { opacity:.5; }

    /* ITEM 10: My Hops */
    .mh-row { display:flex; align-items:center; gap:10px; width:100%; text-align:left; background:#fff; border:1px solid #d1fae5; border-radius:10px; padding:8px 10px; cursor:pointer; box-shadow:none !important; }
    .mh-row.locked { cursor:default; background:#f8fafc; border-color:#e2e8f0; }
    .mh-main { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
    .mh-title { font-size:13px; font-weight:900; color:#064e3b; line-height:1.2; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
    .mh-when { font-size:10px; font-weight:700; color:#64748b; }
    .mh-nums { flex:0 0 auto; text-align:right; font-size:12px; font-weight:900; color:#0f172a; font-variant-numeric:tabular-nums; line-height:1.25; }
    .mh-nums .mh-fixed { display:block; font-size:9px; font-weight:800; color:#b45309; }
    .mh-edit { font-size:16px; color:#047857; flex:0 0 auto; }
    .mh-field { display:flex; flex-direction:column; gap:3px; }
    .mh-field label { font-size:11px; font-weight:800; color:#334155; }
    .mh-field input { border:2px solid #cbd5e1; border-radius:10px; padding:9px 10px; font-size:16px; font-weight:700; color:#0f172a; }
    .mh-err { font-size:11px; font-weight:700; color:#b91c1c; }
    .mh-err:empty { display:none; }
    .hop-stats { cursor:pointer; }
    .phone-container:not(.is-member) .menu-member-only { display:none; }
    .hop-stats .mh-go { grid-column:1 / -1; text-align:center; font-size:9px; font-weight:800; color:#a7f3d0; letter-spacing:.3px; }

    /* ITEM 13 / 17: a small tip that does not block anything */
    #jit-tip { position:absolute; left:12px; right:12px; bottom:100px; z-index:3940; display:flex; align-items:flex-start; gap:8px; background:#064e3b; color:#fff; border:2px solid #f59e0b; border-radius:12px; padding:9px 10px; box-shadow:0 6px 16px rgba(0,0,0,.4); }
    #jit-tip.hidden { display:none; }
    #jit-tip p { flex:1 1 auto; font-size:12px; font-weight:700; line-height:1.35; }
    #jit-tip button { flex:0 0 auto; background:#f59e0b; color:#0f172a; border:0; border-radius:8px; padding:5px 9px; font-size:11px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    /* ===== BUILD 51 additions (items 10-13) ===== */
    /* ITEM 10: safety and comfort places */
    .safety-marker { background:transparent; border:0; }
    .sf-pin { display:flex; align-items:center; justify-content:center; filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
    .sf-pin img { width:100%; height:100%; display:block; object-fit:contain; max-width:none; }
    .sf-dot { display:block; width:70%; height:70%; border-radius:9999px; border:2px solid #fff; }
    .sf-icon { width:46px; height:46px; flex:0 0 46px; display:flex; align-items:center; justify-content:center; }
    .sf-icon img { width:46px; height:46px; object-fit:contain; }
    .sf-icon .sf-dot { width:34px; height:34px; }
    .sf-facts { list-style:none; display:flex; flex-wrap:wrap; gap:6px; }
    .sf-facts li { font-size:11px; font-weight:800; color:#065f46; background:#ecfdf5; border:1px solid #a7f3d0; border-radius:9999px; padding:3px 9px; }
    .sf-facts.hidden, #sf-note.hidden { display:none; }
    /* ITEM 12 / 13: during the tour a sample rabbit marks the middle of the map */
    #tour-center-spot { position:absolute; left:50%; top:50%; width:44px; height:44px; margin:-22px 0 0 -22px; border-radius:9999px; z-index:806; pointer-events:none; visibility:hidden;
      background:#fff url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='25' cy='13' rx='5' ry='12' fill='%2394a3b8'/%3E%3Cellipse cx='37' cy='12' rx='5' ry='12' fill='%2394a3b8' transform='rotate(10 37 12)'/%3E%3Ccircle cx='31' cy='30' r='12' fill='%2394a3b8'/%3E%3Cellipse cx='32' cy='48' rx='16' ry='13' fill='%2394a3b8'/%3E%3C/svg%3E") center/70% no-repeat;
      border:2px solid #fff; box-shadow:0 0 0 3px rgba(57,255,20,.75), 0 0 16px 6px rgba(57,255,20,.85); }
    .touring #tour-center-spot { visibility:visible; }
    /* ===== BUILD 53 additions ===== */
    /* ITEM 5: your own quick messages (gold) */
    .qm-badge { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-width:26px; height:20px; padding:0 5px; border-radius:6px; background:#d4a017; color:#3b2a00; font-size:11px; font-weight:900; line-height:1; }
    .qm-btn.qm-custom { grid-column:1 / -1; display:flex; align-items:center; gap:8px; border-color:#d4a017; background:#fffbeb; color:#4a3300; text-align:left; padding:9px 10px; }
    .qm-btn.qm-custom .qm-ctext { flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .qm-btn.qm-custom.qm-empty { border-color:#cbd5e1; background:#f8fafc; color:#94a3b8; font-weight:800; }
    .qm-btn.qm-custom.qm-empty .qm-badge { background:#e2e8f0; color:#64748b; }
    #qm-in.qm-in-custom { border-color:#d4a017; }
    .qm-crow { grid-column:1 / -1; display:flex; gap:6px; }
    .qm-crow .qm-btn.qm-custom { flex:1 1 auto; min-width:0; }
    .qm-cpen { flex:0 0 auto; border:2px solid #d4a017; background:#fff; color:#7a5a00; border-radius:12px; padding:0 12px; font-size:13px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .qm-cedit { grid-column:1 / -1; display:flex; flex-direction:column; gap:7px; border:2px solid #d4a017; background:#fffbeb; border-radius:12px; padding:8px; }
    .qm-cedit-top { display:flex; align-items:center; gap:6px; }
    .qm-cedit-btns { display:flex; gap:6px; }
    .qm-cbtn { flex:1 1 0; border-radius:10px; padding:9px 4px; font-size:13px; font-weight:900; cursor:pointer; box-shadow:none !important; border:2px solid transparent; }
    .qm-cbtn-plain { background:#fff; border-color:#cbd5e1; color:#475569; }
    .qm-cbtn-gold { background:#fff; border-color:#d4a017; color:#7a5a00; }
    .qm-cbtn-send { background:#047857; color:#fff; }
    .qm-cbtn:disabled { opacity:.5; }
    .qm-cedit input { flex:1 1 auto; min-width:0; border:1px solid #e5c76b; border-radius:8px; padding:7px 8px; font-size:16px; font-weight:700; color:#3b2a00; background:#fff; }
    .qm-cedit input::placeholder { color:#9ca3af; font-weight:600; }
    .qm-csend { flex:0 0 auto; border:0; background:#047857; color:#fff; border-radius:10px; padding:9px 14px; font-size:14px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .qm-csend:disabled, .qm-cpen:disabled { opacity:.5; }
    .cq-row { display:flex; align-items:center; gap:8px; }
    .cq-row .qm-badge { min-width:30px; height:24px; font-size:12px; }
    .cq-row input { flex:1 1 auto; min-width:0; }
    .cq-row input::placeholder { color:#9ca3af; }
    .cq-row input.cq-flash { outline:3px solid #d4a017; outline-offset:1px; }
    /* ITEM 8: Blocked Hoppers */
    .bl-row { display:flex; align-items:center; gap:8px; padding:6px 0; border-top:1px solid #f1f5f9; }
    .bl-row:first-child { border-top:0; }
    .bl-row .qm-rabbit { width:32px; height:32px; flex:0 0 32px; font-size:13px; }
    .bl-row .qm-rabbit img { width:24px; height:24px; }
    /* ITEM 9: Delete my account */
    #del-account-link { color:#b91c1c; font-weight:800; text-decoration:underline; background:none; border:0; box-shadow:none !important; cursor:pointer; font-size:11px; }
    /* ===== BUILD 52 additions ===== */
    /* T7: the small level dot (with a bigger invisible tap area), and the pulse for a place picked in PLACES */
    .sf-tapdot { display:flex; align-items:center; justify-content:center; }
    .sf-lvdot { display:block; border-radius:9999px; border:0; box-sizing:content-box; box-shadow:0 1px 3px rgba(0,0,0,.45); }
    .safety-marker.sf-pulse .sf-pin, .safety-marker.sf-pulse .sf-lvdot { animation: sfPulse 1s ease-out infinite; border-radius:9999px; }
    @keyframes sfPulse { 0% { box-shadow:0 0 0 0 rgba(245,158,11,.95); transform:scale(1); } 50% { transform:scale(1.25); } 100% { box-shadow:0 0 0 16px rgba(245,158,11,0); transform:scale(1); } }
    /* T6: PLACES - Closest help */
    #places-list { display:flex; flex-direction:column; gap:6px; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; min-height:0; flex:1 1 auto; }
    #places-list > * { flex-shrink:0; }
    .pl-911 { font-size:13px; font-weight:900; color:#b91c1c; background:#fef2f2; border:1px solid #fecaca; border-radius:10px; padding:7px 9px; text-align:center; }
    .pl-head { font-size:12px; font-weight:900; color:#064e3b; text-transform:uppercase; letter-spacing:.4px; margin-top:4px; padding-bottom:2px; border-bottom:1px solid #d1fae5; }
    .pl-row { display:flex; align-items:center; gap:6px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:4px; }
    .pl-go { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:7px; background:transparent; border:0; padding:2px; text-align:left; cursor:pointer; box-shadow:none !important; }
    .pl-icon { flex:0 0 28px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; }
    .pl-icon img { width:28px; height:28px; object-fit:contain; }
    .pl-icon .sf-dot { width:20px; height:20px; }
    .pl-text { min-width:0; display:flex; flex-direction:column; }
    .pl-name { font-size:12px; font-weight:800; color:#0f172a; line-height:1.2; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
    .pl-sub { font-size:10px; font-weight:700; color:#475569; line-height:1.25; }
    .pl-call { flex:0 0 auto; background:#047857; color:#fff; font-size:11px; font-weight:900; padding:7px 10px; border-radius:9px; text-decoration:none; }
    .pl-note { font-size:11px; font-weight:600; color:#475569; line-height:1.35; }
    /* T4c: the location help card */
    #lochelp-pic { display:none; width:100%; max-height:150px; object-fit:contain; }
    #lochelp-pic.loaded { display:block; }
    /* T13: the trust line */
    .trust-line { font-size:11px; font-weight:700; line-height:1.35; color:#7c2d12; background:#fff7ed; border:1px solid #fed7aa; border-radius:8px; padding:6px 8px; }
    /* ITEM 13h: legal links */
    .legal-links a { color:#047857; text-decoration:underline; font-weight:700; cursor:pointer; }

    /* ===== BUILD 49: THE FIRST-VISIT INTRO (TI01) =====
       One full-screen layer over everything (the whole window, also on a computer).
       Every rule starts with #th-intro so the app's own styles and the intro's never mix. */
    #th-intro { display:none; position:fixed; inset:0; z-index:20000; overflow:hidden;
      --ti-night:#0b0a08; --ti-cream:#f6ead0; --ti-carrot:#f08a24; --ti-sun:#ffd27a; --ti-ink:#1c1a15;
      --ti-display:"Rye", "Georgia", serif; --ti-body:"Lora", "Georgia", "Times New Roman", serif;
      --ti-ui:system-ui, -apple-system, "Segoe UI", sans-serif;
      background:var(--ti-night); color:var(--ti-cream); font-family:var(--ti-body); line-height:normal; color-scheme:dark; }
    html.ti-first #th-intro, #th-intro.ti-open { display:block; }
    #th-intro, #th-intro * { box-sizing:content-box; font-family:inherit; }
    #th-intro [hidden] { display:none !important; }
    #th-intro img { max-width:none; }

    /* the video (gets the old-film look while the message plays) */
    #th-intro #ti-video-stage { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:var(--ti-night); }
    #th-intro #ti-video { width:100%; height:100%; max-width:none; object-fit:contain; background:var(--ti-night); will-change:filter, transform; }
    #th-intro #ti-loop { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:contain; opacity:0; transition:opacity .5s ease; pointer-events:none; }

    /* the message, laid over the video */
    #th-intro #ti-msg { position:absolute; inset:0; pointer-events:none; }
    #th-intro #ti-scrim { position:absolute; inset:0; opacity:0; background:
        radial-gradient(ellipse 90% 70% at 50% 52%, rgba(11,10,8,.62) 0%, rgba(11,10,8,.45) 55%, rgba(11,10,8,.8) 100%); }

    #th-intro #ti-card { position:absolute; left:50%; top:50%; width:min(calc(var(--ti-vw, 1vw) * 88), 560px); transform:translate(-50%, -50%); text-align:center;
      padding:clamp(18px, calc(var(--ti-vw, 1vw) * 5), 34px) clamp(14px, calc(var(--ti-vw, 1vw) * 4), 30px); border:3px double var(--ti-cream); outline:1px solid rgba(246,234,208,.5); outline-offset:6px;
      background:rgba(11,10,8,.72); opacity:0; }
    #th-intro #ti-card .ti-eyebrow { font-style:italic; font-size:clamp(14px, calc(var(--ti-vw, 1vw) * 3.8), 18px); letter-spacing:.04em; color:var(--ti-cream); }
    #th-intro #ti-card h1 { margin:.15em 0 .2em; font-family:var(--ti-display); font-weight:400; font-size:clamp(40px, calc(var(--ti-vw, 1vw) * 12.5), 84px); line-height:.95; color:var(--ti-carrot);
      text-shadow:0 2px 0 #7a3c08, 0 0 24px rgba(240,138,36,.35); text-wrap:balance; }
    #th-intro #ti-card .ti-sub { font-weight:700; font-size:clamp(16px, calc(var(--ti-vw, 1vw) * 4.6), 24px); line-height:1.3; color:var(--ti-cream); text-wrap:balance; opacity:0; }
    #th-intro .ti-rule { display:flex; align-items:center; gap:10px; justify-content:center; margin:.5em auto 0; width:70%; color:var(--ti-cream); font-size:12px; }
    #th-intro .ti-rule::before, #th-intro .ti-rule::after { content:""; flex:1; height:1px; background:currentColor; opacity:.7; }

    /* the rolling crawl */
    #th-intro #ti-crawl-stage { position:absolute; left:0; right:0; top:14%; bottom:0; perspective:420px; perspective-origin:50% 0%; overflow:hidden;
      -webkit-mask-image:linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%); mask-image:linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
      padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px)); }
    #th-intro #ti-crawl { position:absolute; left:50%; top:100%; width:min(calc(var(--ti-vw, 1vw) * 90), 620px); transform-origin:50% 0%; text-align:center; will-change:transform; }
    #th-intro #ti-crawl p { margin:0 0 2em; font-size:clamp(25px, calc(var(--ti-vw, 1vw) * 7), 38px); line-height:2; font-weight:700; color:var(--ti-cream);
      text-shadow:0 2px 3px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.85); text-wrap:pretty; }
    #th-intro #ti-crawl .ti-list { color:var(--ti-sun); }

    /* the closing line */
    #th-intro #ti-tag { position:absolute; left:50%; top:46%; width:min(calc(var(--ti-vw, 1vw) * 94), 900px); transform:translate(-50%, -50%); text-align:center; }
    #th-intro #ti-tag .ti-t1 { font-style:italic; font-weight:500; font-size:clamp(20px, calc(var(--ti-vw, 1vw) * 5.6), 30px); line-height:1.3; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.9); text-wrap:balance; opacity:0; }
    #th-intro #ti-tag .ti-t2 { margin-top:.4em; font-family:var(--ti-display); font-size:min(calc(var(--ti-vw, 1vw) * 10.5), 88px); line-height:1.12; color:var(--ti-carrot);
      text-shadow:0 3px 0 #7a3c08, 0 0 30px rgba(255,210,122,.65), 0 0 70px rgba(240,138,36,.45); opacity:0; }
    #th-intro #ti-tag .ti-t2 .ti-line { display:block; white-space:nowrap; }
    #th-intro .ti-rwrap { position:relative; display:inline-block; padding-right:.4em; }
    #th-intro .ti-rab { position:absolute; left:.18em; bottom:-.05em; height:1.2em; width:auto; display:block;
      filter:drop-shadow(0 3px 0 #7a3c08) drop-shadow(0 0 16px rgba(255,210,122,.5)); }

    /* the new logo: wordmark on top, round rabbit icon beneath, each with its trademark sign */
    #th-intro #ti-logoset { position:absolute; left:50%; top:44%; transform:translate(-50%, -50%); display:flex; flex-direction:column; align-items:center; gap:min(calc(var(--ti-vh, 1vh) * 3), 22px); }
    #th-intro .ti-tmwrap { position:relative; display:block; }
    #th-intro #ti-wordmark { width:min(calc(var(--ti-vw, 1vw) * 84), 620px); height:auto; display:block; opacity:0; will-change:transform, opacity, filter; }
    #th-intro #ti-icon { width:min(calc(var(--ti-vw, 1vw) * 58), calc(var(--ti-vh, 1vh) * 40), 360px); height:auto; display:block; opacity:0; filter:drop-shadow(0 8px 24px rgba(0,0,0,.55)); }
    #th-intro .ti-tm { position:absolute; font-family:var(--ti-ui); font-weight:700; line-height:1; color:var(--ti-cream); letter-spacing:.02em;
      text-shadow:0 1px 2px rgba(0,0,0,.95), 0 0 6px rgba(0,0,0,.7); pointer-events:none; opacity:0; }
    #th-intro #ti-wordmark-tm { right:2.5%; top:12%; font-size:clamp(15px, calc(var(--ti-vw, 1vw) * 4), 24px); }
    #th-intro #ti-icon-tm { right:0; bottom:6%; font-size:clamp(15px, calc(var(--ti-vw, 1vw) * 4), 24px); }
    #th-intro #ti-halo { position:absolute; left:50%; top:44%; width:min(calc(var(--ti-vw, 1vw) * 130), 1000px); height:min(calc(var(--ti-vh, 1vh) * 110), 900px); transform:translate(-50%, -50%); opacity:0; pointer-events:none;
      background:radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,236,190,.5) 0%, rgba(255,226,170,.24) 42%, rgba(255,220,160,0) 70%); }
    #th-intro #ti-puffs { position:absolute; inset:0; width:100%; height:100%; max-width:none; pointer-events:none; }

    /* film damage on top; it fades out as the color comes in */
    #th-intro #ti-grain { position:absolute; inset:0; width:100%; height:100%; max-width:none; pointer-events:none; mix-blend-mode:screen; }
    #th-intro #ti-vignette { position:absolute; inset:0; pointer-events:none; opacity:0; background:radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%); }

    /* THE BOTTOM BAR: Skip intro sits on the right the whole time; at the end "Free to join. Free to use."
       appears above it, with Replay on the left and On to the Trail in the middle */
    #th-intro #ti-bottombar { position:absolute; left:0; right:0; bottom:0; z-index:15; display:flex; flex-direction:column; align-items:center; gap:12px;
      padding-block:28px calc(env(safe-area-inset-bottom, 0px) + 20px);
      padding-left:max(14px, env(safe-area-inset-left, 0px)); padding-right:max(14px, env(safe-area-inset-right, 0px));
      background:linear-gradient(to top, rgba(11,10,8,.85), rgba(11,10,8,0)); background-size:100% 0; background-repeat:no-repeat; background-position:bottom;
      transition:background-size .6s ease; pointer-events:none; }
    #th-intro #ti-bottombar.ti-end { background-size:100% 100%; }
    #th-intro #ti-freeline { font-family:var(--ti-display); font-size:clamp(19px, calc(var(--ti-vw, 1vw) * 5.4), 30px); line-height:1.2; color:var(--ti-sun); text-align:center;
      text-shadow:0 2px 0 #7a3c08, 0 0 18px rgba(0,0,0,.8); opacity:0; transform:translateY(10px); transition:opacity .6s ease, transform .6s ease; }
    #th-intro #ti-bottombar.ti-end #ti-freeline { opacity:1; transform:none; }
    #th-intro #ti-btnrow { width:min(100%, 560px); display:flex; align-items:center; justify-content:space-between; gap:6px; }
    #th-intro .ti-btn { pointer-events:auto; white-space:nowrap; font-family:var(--ti-ui); font-size:15px; font-weight:600; line-height:normal; border-radius:999px; padding:10px 18px; margin:0;
      cursor:pointer; border:1.5px solid currentColor; box-shadow:none; -webkit-tap-highlight-color:transparent; box-sizing:border-box; }
    #th-intro .ti-btn:focus-visible { outline:3px solid var(--ti-sun); outline-offset:3px; }
    #th-intro #ti-replay, #th-intro #ti-continue { visibility:hidden; opacity:0; transform:translateY(12px); transition:opacity .6s ease, transform .6s ease, visibility 0s .6s; }
    #th-intro #ti-bottombar.ti-end #ti-replay, #th-intro #ti-bottombar.ti-end #ti-continue { visibility:visible; opacity:1; transform:none; transition:opacity .6s ease, transform .6s ease; }
    #th-intro #ti-replay, #th-intro #ti-skip { font-size:clamp(13px, calc(var(--ti-vw, 1vw) * 3.6), 15px); padding:9px clamp(9px, calc(var(--ti-vw, 1vw) * 2.6), 15px); min-height:44px; background:rgba(11,10,8,.55); color:var(--ti-cream); border-color:rgba(246,234,208,.65); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
    /* BUILD 50 (item 2c): if the end row is too wide for the screen, it gets smaller, then Skip drops to its own line */
    #th-intro #ti-btnrow.ti-tight .ti-btn { font-size:13px; padding-left:9px; padding-right:9px; }
    #th-intro #ti-btnrow.ti-wrap { flex-wrap:wrap; justify-content:center; row-gap:10px; }
    #th-intro #ti-btnrow.ti-wrap::before { content:""; order:2; flex-basis:100%; height:0; }
    #th-intro #ti-btnrow.ti-wrap #ti-skip { order:3; }
    #th-intro #ti-continue { font-size:clamp(14px, calc(var(--ti-vw, 1vw) * 4.1), 17px); padding:11px clamp(11px, calc(var(--ti-vw, 1vw) * 3.4), 22px); min-height:48px; font-weight:700; background:var(--ti-carrot); color:var(--ti-ink); border-color:var(--ti-carrot); box-shadow:0 4px 18px rgba(240,138,36,.45); }

    /* ===== BUILD 56 additions ===== */

    /* F1: THE MEET-UP PIN IS RED (white edge), so it is never taken for a sharing friend's green glow.
       The fixed pin while picking and the draft pin use the same classes, so they are red too. */
    .mt-pin-head { border-color:#dc2626 !important; }
    .mt-pin-blank { background:#fee2e2 !important; }
    .mt-pin-tip { border-top-color:#dc2626 !important; filter:drop-shadow(0 0 1px #fff); }
    .mt-pin-head { box-shadow:0 0 0 2px #fff, 0 3px 8px rgba(0,0,0,.4) !important; }
    .mt-pin-dist { background:#dc2626 !important; border-color:#fff !important; }
    .qm-meet { background:#dc2626 !important; }
    #meet-tag { color:#b91c1c !important; border-color:#dc2626 !important; }
    #meet-pick-bar { border-color:#dc2626 !important; }
    #meet-pick-bar .mt-go, #meet-send .mt-go { background:#dc2626; }
    #mt-in { border-color:#dc2626 !important; }
    .mt-btns .qm-btn.mt-show { background:#dc2626 !important; border-color:#dc2626 !important; }

    /* F2: nothing on the map screen can make the page wider than the phone (the "squeezed" iPhone screen).
       The map's own frame clips everything in it; the script pulls the page back if it ever measures wider. */
    #map-inner { contain:paint; }
    #mt-in, #qm-in, #qm-toast, #mt-toast, #meet-pick-bar, #measure-pick-bar, #convo { max-width:calc(100% - 20px); box-sizing:border-box; }
    #mt-in .qm-says, #qm-toast span, #mt-toast span { overflow-wrap:anywhere; }

    /* F3: the drop-down ad stays down until its X is tapped */
    #drop-ad-box { position:relative; }
    #drop-ad-x { position:absolute; right:3px; bottom:11px; width:26px; height:26px; border-radius:9999px; border:2px solid #fff; background:rgba(15,23,42,.8); color:#fff; font-size:12px; font-weight:900; line-height:1; display:none; align-items:center; justify-content:center; padding:0; cursor:pointer; pointer-events:auto; box-shadow:0 1px 4px rgba(0,0,0,.4) !important; }
    #drop-ad.down + #drop-ad-x { display:flex; }

    /* F10: the password box and its eye */
    .pw-row { position:relative; display:flex; align-items:center; }
    .pw-row input { padding-right:40px !important; }
    .pw-eye { position:absolute; right:4px; top:50%; transform:translateY(-50%); width:32px; height:30px; display:flex; align-items:center; justify-content:center; background:transparent; border:0; color:#475569; cursor:pointer; box-shadow:none !important; padding:0; }
    .pw-eye .eye-shut { display:none; }
    .pw-eye.showing .eye-open { display:none; }
    .pw-eye.showing .eye-shut { display:block; }
    #pw-card.hidden { display:none; }

    /* F11: a computer with nobody signed in */
    #pc-screen { position:absolute; inset:0; z-index:5200; background:#052b20; display:flex; align-items:center; justify-content:center; padding:20px; }
    #pc-screen.hidden { display:none; }
    #pc-card { background:#fff; border-radius:20px; padding:22px 20px; max-width:340px; width:100%; display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; box-shadow:0 12px 30px rgba(0,0,0,.45); }
    #pc-card .pc-logo { width:64px; height:64px; border-radius:9999px; object-fit:cover; }
    #pc-card h2 { font-size:20px; font-weight:900; color:#064e3b; line-height:1.2; }
    #pc-card p { font-size:13px; color:#334155; line-height:1.4; }
    #pc-card .pc-small { font-size:12px; color:#475569; }
    #pc-qr { width:200px; height:200px; }
    #pc-qr svg { display:block; width:100%; height:100%; }
    .pc-signin { background:transparent; border:0; color:#047857; font-size:13px; font-weight:800; text-decoration:underline; cursor:pointer; box-shadow:none !important; }

    /* F12: the target is smaller (56 px) and very faintly says BACK TO ME */
    #recenter-btn { width:56px !important; height:56px !important; }
    #recenter-btn .btm-words { font:900 7px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing:.9px; fill:#064e3b; stroke:#fff; stroke-width:1.6px; paint-order:stroke; }

    /* F14: an X on a friend's answer and on the meet-up banners (they stay until it is tapped) */
    #qm-toast, #mt-toast { padding-right:44px; }
    .toast-x { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:30px; height:30px; border-radius:9999px; border:2px solid #fff; background:rgba(255,255,255,.18); color:#fff; font-size:13px; font-weight:900; line-height:1; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; box-shadow:none !important; }

    /* F17: THE CONVERSATION BOX (bottom of the map, above the ad strip) */
    #convo { position:absolute; left:10px; right:10px; bottom:92px; z-index:3420; max-height:46%; display:flex; flex-direction:column; background:#fff; border:3px solid #047857; border-radius:16px; box-shadow:0 8px 22px rgba(0,0,0,.4); overflow:hidden; }
    .is-member #convo { bottom:92px; }
    #convo.hidden { display:none; }
    #convo-tabs { flex:0 0 auto; display:flex; gap:4px; overflow-x:auto; padding:6px 6px 0; background:#ecfdf5; border-bottom:2px solid #047857; scrollbar-width:none; }
    #convo-tabs::-webkit-scrollbar { display:none; }
    .cv-tab { flex:0 0 auto; max-width:46%; min-width:0; display:flex; align-items:center; gap:4px; padding:3px 4px 4px 4px; border:2px solid #a7f3d0; border-bottom:0; border-radius:10px 10px 0 0; background:#fff; cursor:pointer; position:relative; box-shadow:none !important; }
    .cv-tab.on { border-color:#047857; background:#f0fdf4; }
    .cv-tab .qm-rabbit { width:24px; height:24px; flex:0 0 24px; font-size:11px; border-width:1.5px; }
    .cv-tab .qm-rabbit img { width:18px; height:18px; }
    .cv-tab-name { font-size:11px; font-weight:900; color:#064e3b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
    .cv-badge { flex:0 0 auto; min-width:17px; height:17px; padding:0 4px; border-radius:9999px; background:#dc2626; color:#fff; font-size:10px; font-weight:900; line-height:17px; text-align:center; }
    .cv-badge:empty { display:none; }
    .cv-tab-x { flex:0 0 auto; width:20px; height:20px; border-radius:9999px; border:0; background:#e2e8f0; color:#334155; font-size:10px; font-weight:900; line-height:1; padding:0; cursor:pointer; box-shadow:none !important; }
    #convo-log { flex:1 1 auto; min-height:60px; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; padding:8px; display:flex; flex-direction:column; gap:6px; }
    .cv-msg { max-width:86%; padding:6px 9px; border-radius:12px; font-size:14px; font-weight:800; line-height:1.25; overflow-wrap:anywhere; }
    .cv-msg small { display:block; font-size:10px; font-weight:700; opacity:.75; margin-top:1px; }
    .cv-out { align-self:flex-end; background:#047857; color:#fff; border-bottom-right-radius:4px; }
    .cv-in { align-self:flex-start; background:#f1f5f9; color:#0f172a; border-bottom-left-radius:4px; }
    .cv-in.cv-custom { background:#fffbeb; border:1.5px solid #d4a017; }
    .cv-answer { font-size:12px; font-weight:800; color:#065f46; background:#ecfdf5; border-radius:9px; padding:3px 8px; margin-top:4px; display:inline-block; }
    .cv-out .cv-answer { color:#064e3b; }
    .cv-replies { display:flex; gap:5px; flex-wrap:wrap; margin-top:5px; }
    .cv-replies .qm-btn { padding:6px 9px; font-size:12px; border-radius:9px; }
    .cv-empty { font-size:12px; color:#64748b; text-align:center; padding:6px; }
    #convo-send { flex:0 0 auto; display:flex; gap:5px; overflow-x:auto; padding:6px; border-top:1px solid #d1fae5; background:#f8fafc; scrollbar-width:none; }
    #convo-send::-webkit-scrollbar { display:none; }
    #convo-send .qm-btn { flex:0 0 auto; padding:7px 10px; font-size:12px; border-radius:10px; white-space:nowrap; }
    #convo-send .qm-btn.qm-custom { display:flex; grid-column:auto; max-width:180px; }
    #convo-note { padding:0 6px 4px; min-height:0; }
    #convo-note:empty { display:none; }

    /* F18: THE MEASURE BUTTON (where the M / G / H circle was) and the blue pin */
    .hdr-measure { position:relative; background:#0369a1; color:#fff; border:2px solid #7dd3fc; }
    .hdr-measure.ms-on { background:#0284c7; box-shadow:0 0 0 3px rgba(125,211,252,.6), 0 2px 5px rgba(0,0,0,.35) !important; }
    .measure-lock { position:absolute; right:-5px; bottom:-5px; font-size:11px; line-height:1; background:#fff; border-radius:9999px; padding:1px; box-shadow:0 1px 3px rgba(0,0,0,.4); }
    .is-member .measure-lock { display:none; }
    .ms-pin-wrap { background:transparent; border:0; }
    .ms-pin { position:relative; width:30px; height:42px; display:flex; flex-direction:column; align-items:center; pointer-events:none; }
    .ms-pin-head { width:26px; height:26px; border-radius:9999px; background:#2563eb; border:3px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.45); }
    .ms-pin-tip { width:0; height:0; border-left:7px solid transparent; border-right:7px solid transparent; border-top:13px solid #2563eb; margin-top:-3px; }
    #measure-pin-fixed { position:absolute; left:50%; top:50%; transform:translate(-15px,-40px); z-index:820; pointer-events:none; }
    #measure-pin-fixed.hidden, #measure-pick-bar.hidden, #measure-box.hidden { display:none; }
    #measure-pick-bar { position:absolute; left:10px; right:10px; bottom:14px; z-index:830; background:#fff; border:3px solid #2563eb; border-radius:14px; padding:10px; display:flex; flex-direction:column; gap:8px; box-shadow:0 8px 20px rgba(0,0,0,.4); }
    #measure-pick-bar p { margin:0; font-size:14px; font-weight:800; color:#1e3a8a; text-align:center; }
    .ms-go { background:#2563eb; color:#fff; border:0; }
    #measure-box { position:absolute; left:50%; transform:translateX(-50%); bottom:14px; z-index:812; display:flex; align-items:center; gap:8px; max-width:calc(100% - 24px); background:#fff; border:2.5px solid #2563eb; border-radius:9999px; padding:5px 6px 5px 12px; box-shadow:0 3px 10px rgba(0,0,0,.35); }
    #measure-text { font-size:13px; font-weight:900; color:#1e3a8a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
    .ms-dot { flex:0 0 auto; width:11px; height:11px; border-radius:9999px; background:#2563eb; border:2px solid #fff; box-shadow:0 0 0 1px #2563eb; }
    .ms-x { flex:0 0 auto; width:26px; height:26px; border-radius:9999px; border:0; background:#dbeafe; color:#1e3a8a; font-size:12px; font-weight:900; padding:0; cursor:pointer; box-shadow:none !important; }
    .phone-container.drawer-open #measure-box, .phone-container.drawer-open #measure-pick-bar { display:none; }

    /* F20: guests see a lock centered at the bottom of their own rabbit */
    .me-lock { position:absolute; left:50%; bottom:-9px; transform:translateX(-50%); width:18px; height:18px; border-radius:9999px; background:#fff; font-size:10px; line-height:18px; text-align:center; box-shadow:0 1px 3px rgba(0,0,0,.35); pointer-events:none; }
    #tour-center-spot .me-lock { bottom:-10px; }

    /* F20: THE NEW TOUR (card with a grab bar; gold box around areas; orange pulsing ring around one small item) */
    #tour-layer { pointer-events:none; touch-action:auto !important; }
    #tour-layer > * { pointer-events:none; }
    #tour-layer #tour-card, #tour-layer #tour-pop, #tour-layer #tour-tip { pointer-events:auto; }
    #tour-layer.tour-dim { background:rgba(2,20,15,.35); }
    #tour-spot { border:4px solid #d9a521 !important; border-radius:14px; box-shadow:0 0 0 9999px rgba(15,25,15,.42), 0 0 12px rgba(217,165,33,.85) !important; transition:all .3s ease; }
    #tour-spot.no-dim { box-shadow:0 0 12px rgba(217,165,33,.85) !important; }
    #tour-mark { position:absolute; border:3px solid #f08a1c; border-radius:9999px; box-sizing:border-box; animation:tourMark 1.6s ease-in-out infinite; }
    #tour-mark.hidden, #tour-ring-demo.hidden, #tour-tip.hidden, #tour-pop.hidden { display:none; }
    @keyframes tourMark { 50% { box-shadow:0 0 0 7px rgba(240,138,28,.35); } }
    #tour-ring-demo { position:absolute; border:2px dashed #0f766e; border-radius:9999px; background:rgba(20,184,166,.06); transition:width .3s, height .3s; transform:translate(-50%,-50%); }
    #tour-card { left:10px; right:10px; padding:8px 14px 10px !important; gap:6px !important; border-top:0 !important; border-radius:16px; }
    #tour-grab { width:44px; height:5px; border-radius:3px; background:#c9d2c3; margin:0 auto 2px; cursor:grab; touch-action:none; position:relative; flex:0 0 auto; }
    #tour-grab::before { content:''; position:absolute; inset:-14px -60px; }
    #tour-card-body { display:flex; flex-direction:column; gap:6px; overflow:hidden; min-height:0; }
    .tour-who { display:flex; align-items:center; gap:8px; min-height:0; }
    .tour-who:has(#tour-face.hidden):has(#tour-count:empty) { display:none; }
    #tour-face { width:46px; height:46px; object-fit:contain; flex:0 0 auto; }
    #tour-face.hidden { display:none; }
    #tour-count { font-size:10px; font-weight:800; letter-spacing:.08em; color:#64748b; text-transform:uppercase; }
    #tour-card-title { font-size:18px !important; }
    #tour-card-text { font-size:14px !important; white-space:normal !important; overflow:visible !important; }
    #tour-card-text .tour-line2 { display:block; margin-top:6px; }
    #tour-card-text em.tour-yum { color:#c2410c; font-weight:800; }
    .tour-tb-mini { display:inline-block; border:2px solid #f08a1c; border-radius:6px; padding:0 4px; background:#fff; color:#8a4b00; font-weight:800; font-size:12px; white-space:nowrap; }
    #tour-card-extra:empty { display:none; }
    .tour-guestbox { background:#fff6e5; border:1px solid #f3c77a; border-radius:10px; padding:8px 10px; font-size:13px; line-height:1.4; color:#3b2a00; }
    .tour-guestbox b { color:#8a4b00; }
    .tour-more { background:none; border:0; padding:4px 0 0; font-size:14px; font-weight:800; color:#b85f00; cursor:pointer; text-align:left; box-shadow:none !important; }
    .tour-chap { display:flex; gap:8px; flex-wrap:wrap; margin-top:2px; }
    .tour-chap button { border:0; border-radius:9999px; padding:8px 14px; font-size:13px; font-weight:900; background:#f08a1c; color:#fff; cursor:pointer; }
    .tour-soon { font-size:12px; font-weight:800; color:#8a4b00; }
    .tour-hopnow { display:inline-block; margin-top:6px; background:#d9a521; color:#3a2a00; border:0; border-radius:9999px; padding:6px 14px; font-size:13px; font-weight:900; cursor:pointer; }
    #tour-card-buttons .tour-link { text-decoration:none !important; padding-left:0 !important; }
    #tour-tip { position:absolute; z-index:6; background:#fff; color:#1f2a1f; border:2px solid #f08a1c; border-radius:10px; padding:6px 10px; font-size:13px; font-weight:700; line-height:1.3; box-shadow:0 3px 10px rgba(0,0,0,.25); max-width:220px; }
    #tour-tip em { display:block; color:#c2410c; font-weight:800; }
    #tour-pop { position:absolute; inset:0; background:rgba(15,25,15,.5); display:flex; align-items:center; justify-content:center; padding:16px; z-index:8; }
    #tour-pop-box { background:#fff; border-radius:14px; padding:14px; max-width:300px; width:100%; display:flex; flex-direction:column; gap:8px; box-shadow:0 8px 24px rgba(0,0,0,.35); }
    #tour-pop-box h3 { font-size:17px; font-weight:900; color:#064e3b; }
    #tour-pop-box p { font-size:14px; line-height:1.4; color:#1f2a1f; }
    #tour-pop-box .tour-choice { text-align:left; border:1px solid #b9dcbd; background:#f1f8f2; border-radius:10px; padding:8px 10px; font-size:12.5px; font-weight:600; line-height:1.35; color:#1f2a1f; cursor:pointer; box-shadow:none !important; }
    #tour-pop-box .tour-choice b { display:block; color:#205a29; font-size:14px; }
    #tour-pop-box .tour-demo-note { font-size:12px; font-weight:800; color:#8a4b00; }
    #tour-pop-box .tour-pop-ok { align-self:flex-end; background:#047857; color:#fff; border:0; border-radius:9999px; padding:7px 18px; font-size:13px; font-weight:800; cursor:pointer; }
    #tour-pop-box .tour-pop-ok.ghost { background:#eef3ec; color:#205a29; }
    .tour-chap-btn { position:absolute; z-index:501; width:40px; padding:4px 0 3px; border-radius:9px; border:2px solid #f08a1c; background:#fff; color:#8a4b00; display:none; flex-direction:column; align-items:center; gap:1px; cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.25) !important; font-size:8px; font-weight:800; letter-spacing:.06em; line-height:1.1; }
    .tour-chap-btn span:first-child { font-size:15px; line-height:1; }
    .tour-chap-left { left:3px; }
    .tour-chap-right { right:3px; }
    .touring .tour-chap-btn { display:flex; }
    .phone-container.drawer-open .tour-chap-btn { display:none !important; }
    .tour-pulse-carrots .head-carrot, .tour-pulse-carrots #carrot-help-btn { animation:tourCarrot 1s ease-in-out infinite; display:inline-block; }
    @keyframes tourCarrot { 50% { transform:scale(1.6); } }
    .touring #safety-card { z-index:6100; }
    /* guests see the full HOPPERS sample during the tour (it stays locked outside the tour) */
    .tour-sample #left-drawer-container.is-locked .locked-content { filter:none !important; pointer-events:auto !important; }
    .tour-sample .drawer-guest-overlay { display:none !important; }
    .tour-sample #drawer-my-rabbit { display:flex !important; }
    #tour-hint { position:absolute; left:8px; width:calc(82% - 16px); top:62px; z-index:960; display:flex; flex-direction:row; align-items:center; gap:8px; background:#fff; border:2px solid #f08a1c; border-radius:12px; padding:8px; box-shadow:0 4px 12px rgba(0,0,0,.35); }
    #tour-hint.hidden { display:none; }
    #tour-hint p { flex:1; min-width:0; font-size:12px; font-weight:800; color:#3b2a00; line-height:1.3; }
    #tour-hint .tour-hint-go { flex:none; background:#f08a1c; color:#fff; border:0; border-radius:9999px; padding:6px 12px; font-size:11px; font-weight:900; cursor:pointer; }
    #tour-hint .tour-hint-x { position:absolute; top:-10px; right:-8px; width:22px; height:22px; border-radius:9999px; border:2px solid #fff; background:#334155; color:#fff; font-size:10px; font-weight:900; padding:0; cursor:pointer; }

    /* F4: the intro's "Tap to play" */
    #th-intro #ti-tap { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:16; font-family:var(--ti-ui); font-size:20px; font-weight:700; padding:16px 30px; min-height:56px; border-radius:999px; border:2px solid var(--ti-cream); background:rgba(11,10,8,.72); color:var(--ti-cream); cursor:pointer; box-shadow:0 6px 24px rgba(0,0,0,.5); -webkit-tap-highlight-color:transparent; box-sizing:border-box; }
    .phone-container.drawer-open #convo { display:none; }
    .phone-container.convo-open #measure-box, .phone-container.convo-open #meet-tag { bottom:calc(var(--convo-lift, 0px) + 10px); }
    /* BUILD 56 (F20): small tour extras */
    .touring.tour-has-me #tour-center-spot { visibility:hidden; }
    .tour-bitten { position:relative; filter:saturate(.75); }
    .tour-bitten::after { content:''; position:absolute; top:-2px; right:-2px; width:9px; height:9px; border-radius:9999px; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.08); }
    .tour-fbtn { font-size:9px; font-weight:800; color:#065f46; border:1px solid #a7f3d0; background:#ecfdf5; border-radius:9999px; padding:2px 6px; white-space:nowrap; }
    .tour-sample .tour-carlos-card .fc-icon { cursor:pointer; }
    .touring .tour-glow { box-shadow:0 0 0 3px #f5c400, 0 0 12px 4px rgba(245,196,0,.7) !important; z-index:5900; }

    /* ===== BUILD 57 · VERSION B (Nov 1, 2026): the new menu, the screen frame, the switches, the Hop bar ===== */

    /* Gone from the map in Version B (now in the menu): HOPPERS / PLACES tabs, CLOSE tabs, Satellite button, deck tabs */
    .version-b .drawer-handle, .version-b .close-tab, .version-b #sat-btn, .version-b #deck-tabs,
    .version-b .tour-chap-btn, .version-b #tour-hint, .version-b #drawer-shield { display:none !important; }
    .version-b #group-bar { top:var(--vb-under, 56px) !important; }

    /* THE MENU: wider, scrolls, sections open in place */
    .version-b #menu-panel { width:min(300px, calc(100% - 16px)); max-height:calc(100% - 150px); flex-direction:column; }
    .version-b #menu-panel:not(.hidden) { display:flex; }
    .version-b #menu-list { overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
    .vb-top { padding:8px; background:#ecfdf5; border-bottom:2px solid #a7f3d0; display:flex; flex-direction:column; gap:6px; }
    .vb-me { display:flex; align-items:center; gap:10px; width:100%; background:#fff; border:2px solid #a7f3d0; border-radius:12px; padding:6px 10px; cursor:pointer; box-shadow:none !important; text-align:left; }
    .vb-me img { width:40px; height:40px; flex:0 0 40px; object-fit:contain; border-radius:9999px; background:#fff; border:2px solid #cbd5e1; }
    .vb-me-name { flex:1 1 auto; min-width:0; font-size:15px; font-weight:900; color:#064e3b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .vb-join { width:100%; background:#f59e0b; color:#0f172a; border:0; border-radius:12px; padding:10px; font-size:13px; font-weight:900; cursor:pointer; }
    .vb-signin { background:transparent; border:0; color:#047857; font-size:12px; font-weight:800; text-decoration:underline; cursor:pointer; box-shadow:none !important; }
    .vb-sec { display:flex; align-items:center; justify-content:space-between; width:100%; padding:12px 14px; background:#fff; border:0; border-bottom:1px solid #e2e8f0; font-size:12px; font-weight:900; letter-spacing:.06em; color:#064e3b; cursor:pointer; box-shadow:none !important; text-align:left; }
    .vb-sec.open { background:#f0fdf4; }
    .vb-caret, .vb-chev { color:#64748b; font-size:13px; font-weight:900; }
    .vb-items { background:#f8fafc; border-bottom:1px solid #e2e8f0; }
    .vb-row { display:flex; align-items:center; gap:8px; width:100%; padding:10px 14px 10px 24px; background:transparent; border:0; border-top:1px solid #eef2f7; font-size:13px; font-weight:800; color:#0f172a; cursor:pointer; box-shadow:none !important; text-align:left; text-decoration:none; }
    .vb-row:first-child { border-top:0; }
    .vb-row-label { flex:1 1 auto; min-width:0; }
    .vb-team .vb-row-label::before { content:'TEAM \00b7 '; font-size:9px; font-weight:900; color:#1e3a8a; letter-spacing:.06em; }
    .vb-mini-carrot { flex:0 0 auto; background:transparent; border:0; padding:2px 4px; font-size:15px; line-height:1; cursor:pointer; box-shadow:none !important; filter:drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
    .vb-switch { position:relative; flex:0 0 42px; width:42px; height:24px; border-radius:9999px; border:0; background:#cbd5e1; cursor:pointer; padding:0; box-shadow:inset 0 1px 2px rgba(0,0,0,.2) !important; transition:background .15s; }
    .vb-switch .vb-knob { position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:9999px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.35); transition:left .15s; }
    .vb-switch.on { background:#16a34a; }
    .vb-switch.on .vb-knob { left:21px; }
    .vb-exit { display:block; width:100%; text-align:left; padding:12px 14px; background:#fff; border:0; border-top:2px solid #e2e8f0; font-size:13px; font-weight:900; color:#b91c1c; cursor:pointer; box-shadow:none !important; }

    /* THE SCREEN FRAME (Rule 2): ‹ Back left, title middle, carrot right; covers the map down to the ad strip */
    #vb-screen { position:absolute; top:0; left:0; right:0; bottom:84px; z-index:3480; background:#f1f5f9; display:flex; flex-direction:column; }
    #vb-screen.hidden { display:none; }
    .vb-head { flex:0 0 auto; display:grid; grid-template-columns:74px 1fr 74px; align-items:center; gap:4px; padding:8px 8px; background:#064e3b; color:#fff; box-shadow:0 2px 6px rgba(0,0,0,.25); }
    .vb-head h2 { margin:0; text-align:center; font-size:16px; font-weight:900; line-height:1.15; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .vb-back { justify-self:start; background:transparent; border:0; color:#d1fae5; font-size:14px; font-weight:900; padding:6px 4px; cursor:pointer; box-shadow:none !important; }
    .vb-carrot { justify-self:end; width:36px; height:36px; border-radius:9999px; background:rgba(255,255,255,.95); border:2px solid #f97316; font-size:19px; line-height:1; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; box-shadow:none !important; }
    #vb-body { flex:1 1 auto; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; padding:12px; display:flex; flex-direction:column; gap:10px; }
    #vb-body > * { flex-shrink:0; }
    .vb-card { background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:12px; display:flex; flex-direction:column; gap:8px; box-shadow:0 1px 3px rgba(0,0,0,.06); }
    .vb-center { align-items:center; text-align:center; }
    .vb-h3 { font-size:14px; font-weight:900; color:#064e3b; margin:0; }
    .vb-small { font-size:12px; line-height:1.4; color:#475569; margin:0; }
    .vb-bold { font-weight:800; color:#064e3b; }
    .vb-lock { font-size:14px; font-weight:800; color:#0f172a; line-height:1.4; margin:0; }
    .vb-label { font-size:11px; font-weight:800; color:#334155; }
    .vb-note { font-size:12px; font-weight:800; color:#047857; min-height:14px; margin:0; }
    .vb-btnrow { display:flex; gap:8px; }
    .vb-btnrow .vb-btn { flex:1 1 0; }
    .vb-btn { border:0; border-radius:12px; padding:11px 12px; font-size:13px; font-weight:900; cursor:pointer; }
    .vb-wide { width:100%; }
    .vb-green { background:#047857; color:#fff; }
    .vb-gold { background:#f59e0b; color:#0f172a; }
    .vb-plain { background:#fff; color:#064e3b; border:2px solid #a7f3d0; }
    .vb-twoline { display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left; }
    .vb-twoline span { font-size:11px; font-weight:600; color:#475569; }
    .vb-link { align-self:center; background:transparent; border:0; color:#047857; font-size:13px; font-weight:800; text-decoration:underline; cursor:pointer; box-shadow:none !important; }
    .vb-mail { color:#047857; font-weight:800; text-decoration:underline; }
    .vb-linkrow { padding:12px 6px; border-top:1px solid #eef2f7; }
    .vb-linkrow:first-child { border-top:0; }
    .vb-pick { display:flex; gap:6px; flex-wrap:wrap; }
    .vb-chip { border:2px solid #6ee7b7; background:#fff; color:#065f46; border-radius:9999px; padding:7px 12px; font-size:12px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .vb-chip.on { background:#065f46; color:#fff; border-color:#065f46; }
    #vb-body input[type=text], #vb-body input[type=email], #vb-body input[type=tel], #vb-body input[type=search] { font-size:16px; }
    #vb-body #add-friend-input, #vb-body #add-friend-email-input { width:100%; padding:9px 10px; border:1px solid #cbd5e1; border-radius:10px; }
    #vb-body #invite-qr { width:min(56vw, 210px); aspect-ratio:1; }
    #vb-body #invite-qr svg { display:block; width:100%; height:100%; }
    /* borrowed parts: their old headers and Back buttons are not needed inside the frame */
    #vb-body #ff-box > div:first-child, #vb-body #groups-card > div:first-child, #vb-body #groups-card > button:last-child,
    #vb-body #sg-title, #vb-body #sg-back, #vb-body #vb-info-back { display:none !important; }
    #vb-body #groups-card { max-height:none; border:0; box-shadow:none; padding:0; background:transparent; }
    #vb-body #suggest-card { max-height:none; box-shadow:none; border:1px solid #e2e8f0; max-width:none; }
    #vb-body #friends-list-container:empty::after { content:'No friends here yet. Tap + Add a friend.'; display:block; font-size:12px; color:#64748b; padding:6px 2px; }
    #vb-body #friends-list-container, #vb-body #groups-list-container { max-height:none !important; overflow:visible; }
    #vb-body #places-list { overflow:visible; }
    #vb-body .hop-stats { cursor:default; font-size:13px; padding:8px 12px; }
    #vb-body #help-list { overflow:visible; }
    #vb-body #rabbit-grid, #vb-body #rabbit-preview { background:#fff; border-radius:14px; padding:10px; }
    #vb-body #vb-info-fields, #vb-body #pw-section, #vb-body #cq-section, #vb-body #bl-section { background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:12px; }
    .vb-911 { display:block; text-decoration:none; }
    .vb-gdot { display:inline-block; margin-left:5px; vertical-align:middle; }
    .vb-bar-carrot { position:absolute; top:4px; right:6px; width:26px; height:26px; font-size:16px; }
    #measure-pick-bar, #meet-pick-bar { position:absolute; }
    #measure-pick-bar p, #meet-pick-bar p { padding:0 26px; }

    /* THE START HOP BAR: under the top row (its top is set by renderHopBar so it always clears the weather box) */
    #hopbar { position:absolute; left:6px; right:6px; top:56px; z-index:819; display:flex; gap:6px; }
    #hopbar.hidden { display:none; }
    #hopbar button { flex:1 1 0; height:38px; display:flex; align-items:center; justify-content:center; gap:6px; border:2px solid #fff; border-radius:12px; font-size:13px; font-weight:900; letter-spacing:.5px; cursor:pointer; box-shadow:0 3px 7px rgba(0,0,0,.3) !important; white-space:nowrap; }
    #hopbar button svg { width:28px; height:28px; flex:0 0 28px; }
    #hopbar button svg.play-i { width:12px; height:12px; flex:0 0 12px; }
    #hopbar .hb-start { background:#047857; color:#fff; }
    #hopbar .hb-pause { background:#f59e0b; color:#0f172a; }
    #hopbar .hb-resume { background:#047857; color:#fff; }
    #hopbar .hb-end { background:#b91c1c; color:#fff; }
    #hopbar .hb-lock { font-size:12px; background:#fff; border-radius:9999px; padding:1px; line-height:1; }
    /* a switch's small carrot opens its help while the menu is open: help sits above the menu */
    .version-b #carrot-help-modal { z-index:3850 !important; }

    /* ===== BUILD 58 · VERSION B (Nov 1, 2026): the Build 58 List ===== */
    /* item 1: ☰ on the left, the Ruler on the right */
    .version-b #hamburger-btn { grid-column:1; grid-row:1; justify-self:start; }
    .version-b #brand-col { grid-column:2; grid-row:1; }
    .version-b #measure-btn { grid-column:3; grid-row:1; justify-self:end; }
    /* items 2, 3: a narrower menu that slides out from the left, partway over the map; smaller type and padding */
    .version-b #menu-panel { left:0 !important; right:auto !important; top:50px !important; width:min(232px, 66%); max-height:calc(100% - 58px);
      border-radius:0 14px 14px 0; border:0; border-right:2px solid #6ee7b7; box-shadow:6px 0 22px rgba(0,0,0,.35) !important; }
    .version-b #menu-panel:not(.hidden) { animation:vb-slide .18s ease-out; }
    @keyframes vb-slide { from { transform:translateX(-100%); } to { transform:translateX(0); } }
    .version-b #menu-backdrop:not(.hidden) { background:rgba(15,23,42,.18); }
    /* item 4: the colored band at the top */
    .vb-band { display:flex; align-items:center; gap:8px; padding:8px 10px; background:#064e3b; color:#fff; }
    .vb-band-rabbit { flex:0 0 36px; width:36px; height:36px; padding:0; border:2px solid #a7f3d0; border-radius:9999px; background:#fff; cursor:pointer; box-shadow:none !important; overflow:hidden; }
    .vb-band-rabbit img { width:100%; height:100%; object-fit:contain; display:block; }
    .vb-band-name { flex:1 1 auto; min-width:0; background:transparent; border:0; padding:4px 0; color:#fff; font-size:14px; font-weight:900; text-align:left; cursor:pointer; box-shadow:none !important;
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .vb-band-hn { font-weight:700; color:#bbf7d0; }
    .vb-band-guest { flex-direction:column; align-items:stretch; gap:4px; }
    .vb-band-guest .vb-join { padding:8px; font-size:12px; border-radius:10px; }
    .vb-band-guest .vb-signin { color:#d1fae5; font-size:11px; }
    /* item 6: one compact box per section: a bigger name, then small italic lines (the sublines) */
    .vb-box { display:block; position:relative; padding:7px 10px 7px 14px; border-bottom:1px solid #e2e8f0; background:#fff; cursor:pointer; -webkit-tap-highlight-color:transparent; }
    .vb-box::before { content:''; position:absolute; left:0; top:6px; bottom:6px; width:4px; border-radius:0 4px 4px 0; background:var(--vb-c, #047857); }
    .vb-box:active { background:#f0fdf4; }
    .vb-box-name { display:block; font-size:13px; font-weight:900; letter-spacing:.04em; color:var(--vb-c, #064e3b); line-height:1.2; }
    .vb-lines { display:flex; flex-direction:column; padding:2px 0 0 10px; }
    .vb-line { display:flex; align-items:center; gap:4px; font-size:11px; font-style:italic; font-weight:600; color:#475569; line-height:1.3; }
    .vb-line-signal { color:#92400e; }
    .version-b .vb-exit { padding:9px 12px; font-size:12px; }
    .version-b .menu-build { padding:4px 12px 7px; }
    /* item 13: the smoke signal icon puffs once when the menu opens */
    .vb-smoke { display:inline-flex; flex:0 0 auto; }
    .vb-smoke.puff .pf { animation:vb-puff 1.4s ease-out 1 both; transform-box:fill-box; transform-origin:center; }
    .vb-smoke.puff .pf2 { animation-delay:.18s; }
    .vb-smoke.puff .pf3 { animation-delay:.36s; }
    @keyframes vb-puff { 0% { opacity:0; transform:translateY(6px) scale(.4); } 45% { opacity:1; } 100% { opacity:1; transform:translateY(0) scale(1); } }
    @media (prefers-reduced-motion: reduce) { .vb-smoke.puff .pf { animation:none; } .version-b #menu-panel:not(.hidden) { animation:none; } }
    /* item 10: ‹ Back is a white rounded button with a bigger tap area */
    .version-b .vb-back { background:#fff; color:#064e3b; border-radius:9999px; padding:8px 12px; min-height:38px; min-width:66px; font-size:13px; font-weight:900; box-shadow:0 1px 3px rgba(0,0,0,.3) !important; }
    .version-b .vb-head { grid-template-columns:80px 1fr 80px; }
    /* the part pinned under the header, and the tabs */
    #vb-top:empty, #vb-tabs:empty { display:none; }
    #vb-top { flex:0 0 auto; }
    #vb-tabs { flex:0 0 auto; display:flex; gap:4px; padding:6px 8px 0; background:#e2e8f0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
    .vb-tab { flex:1 0 auto; border:0; border-radius:10px 10px 0 0; padding:8px 8px; background:#cbd5e1; color:#334155; font-size:12px; font-weight:900; cursor:pointer; box-shadow:none !important; white-space:nowrap; }
    .vb-tab.on { background:#f1f5f9; color:#064e3b; }
    /* item 15: PLACES' red bar */
    .vb-sos { display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap; padding:8px 10px; background:#b91c1c; color:#fff; font-size:13px; font-weight:800; }
    .vb-sos-near { background:transparent; border:0; padding:4px 2px; color:#fff; font-size:13px; font-weight:900; text-decoration:underline; cursor:pointer; box-shadow:none !important; }
    .vb-sos-call { background:#fff; color:#b91c1c; border-radius:9999px; padding:5px 12px; font-weight:900; text-decoration:none; }
    .vb-sos-dot { opacity:.8; }
    .vb-preview svg { display:block; width:100%; height:auto; }
    .vb-soon-tag { align-self:flex-start; background:#fef3c7; color:#92400e; border-radius:9999px; padding:2px 8px; font-size:10px; font-weight:900; letter-spacing:.06em; }
    .vb-muted { color:#64748b; }
    /* item 13: the Trail Signals line on the Connections screen */
    .vb-signal { display:flex; align-items:center; gap:10px; width:100%; padding:9px 12px; background:#fffbeb; border:0; border-bottom:1px solid #fde68a; cursor:pointer; text-align:left; box-shadow:none !important; }
    .vb-signal .vb-smoke svg { width:24px; height:24px; }
    .vb-signal-text { flex:1 1 auto; display:flex; flex-direction:column; font-size:12px; color:#78350f; line-height:1.3; }
    .vb-signal-text b { font-size:13px; color:#064e3b; }
    .vb-signal-note { position:absolute; left:50%; transform:translateX(-50%); top:calc(var(--vb-under, 100px) + 4px); z-index:830; display:flex; align-items:center; gap:6px;
      max-width:calc(100% - 24px); background:#fff; color:#064e3b; border:2px solid #f59e0b; border-radius:14px; padding:7px 10px; font-size:12px; font-weight:800; line-height:1.3; box-shadow:0 4px 12px rgba(0,0,0,.3); cursor:pointer; }
    .vb-signal-note.hidden { display:none; }
    .vb-signal-x { margin-left:2px; color:#64748b; font-size:11px; }
    /* item 7: switch rows on Trail Session and Map Options (the switches moved off the menu) */
    .vb-swcard { padding:4px 12px; gap:0; }
    .vb-swrow { display:flex; align-items:center; gap:10px; padding:10px 0; border-top:1px solid #eef2f7; cursor:pointer; }
    .vb-swrow:first-child { border-top:0; }
    .vb-swtext { flex:1 1 auto; display:flex; flex-direction:column; min-width:0; }
    .vb-swname { font-size:14px; font-weight:900; color:#0f172a; }
    .vb-swsub { font-size:11px; color:#64748b; }
    /* item 8: the Help & More list */
    .vb-list { padding:2px 12px; gap:0; }
    .vb-hm { display:flex; align-items:center; gap:8px; width:100%; padding:10px 0; background:transparent; border:0; border-top:1px solid #eef2f7; cursor:pointer; text-align:left; box-shadow:none !important; }
    .vb-hm:first-child { border-top:0; }
    .vb-hm-last { border-top:2px solid #e2e8f0; }
    .vb-hm-text { flex:1 1 auto; display:flex; flex-direction:column; min-width:0; }
    .vb-hm-name { font-size:14px; font-weight:900; color:#0f172a; }
    .vb-hm-sub { font-size:11px; color:#64748b; line-height:1.3; }
    .vb-hm.vb-team .vb-hm-name::before { content:'TEAM \00b7 '; font-size:9px; font-weight:900; color:#1e3a8a; letter-spacing:.06em; }
    /* items 11, 12: Invite a friend */
    .vb-age { font-size:12px; font-weight:800; color:#064e3b; margin:0; text-align:center; }
    .vb-divider { border:0; border-top:2px dashed #cbd5e1; margin:4px 0; }
    .vb-fam .vb-h3 { display:flex; align-items:center; gap:4px; }
    /* item 5: help topics in short pieces */
    .help-text { white-space:pre-line; }
    /* item 18: Go to the trail, and the far-away note */
    #trail-go { position:absolute; left:50%; transform:translateX(-50%); bottom:16px; z-index:815; display:flex; align-items:center; gap:6px;
      padding:8px 14px; border-radius:9999px; border:2px solid #fff; background:#047857; color:#fff; font-size:13px; font-weight:900; cursor:pointer; box-shadow:0 3px 8px rgba(0,0,0,.35) !important; white-space:nowrap; }
    #trail-go.hidden { display:none; }
    #far-note { position:absolute; left:50%; transform:translateX(-50%); top:calc(var(--vb-under, 100px) + 4px); z-index:829; display:flex; align-items:center; gap:8px;
      max-width:calc(100% - 24px); background:#064e3b; color:#fff; border-radius:14px; padding:8px 12px; font-size:12px; font-weight:800; line-height:1.3; box-shadow:0 4px 12px rgba(0,0,0,.35); cursor:pointer; }
    #far-note.hidden { display:none; }
    .far-x { color:#a7f3d0; font-size:11px; }
    /* BUILD 58: borrowed lists take the height of what's in them on a screen (Still stuck? no longer sits on the list) */
    #vb-body #help-list, #vb-body #places-list, #vb-body #mh-list { flex:0 0 auto; }

    /* ===== BUILD 59 · VERSION B (Nov 1, 2026): the Build 59 List ===== */
    /* item 19: the header. [☰]  MyTrailHopper.com / INVITE  [rings][ruler]. Spare padding trimmed a little. */
    .version-b .app-header { grid-template-columns:40px 1fr auto; padding:2px 8px 2px !important; }
    .version-b #brand-col { gap:1px; }
    #hdr-right { grid-column:3; grid-row:1; justify-self:end; display:flex; align-items:center; gap:5px; }
    #hdr-right #ring-cycle-wrap { flex:none; width:auto; display:block; gap:0; }
    .hdr-tall { position:relative; width:34px; height:44px; padding:0 0 3px !important; border-radius:10px !important; border:2px solid #fff !important;
      display:flex; flex-direction:column; align-items:center; justify-content:flex-end; cursor:pointer; -webkit-tap-highlight-color:transparent;
      box-shadow:0 2px 5px rgba(0,0,0,.35) !important; }
    /* the rings: a dot with dashed rings running off the button's edges, the size small along the bottom */
    #hdr-right #ring-cycle { min-width:0; overflow:hidden; background:#064e3b; color:#a7f3d0; font-size:9px; gap:0; }
    #hdr-right #ring-cycle.ring-on { background:#047857; color:#fff; border-color:#a7f3d0 !important; }
    #ring-cycle .ring-art { position:absolute; left:50%; top:3px; width:34px; height:30px; margin-left:-17px; overflow:visible; pointer-events:none; }
    #ring-cycle:not(.ring-on) .ring-art { opacity:.5; }
    #ring-cycle-label { position:relative; z-index:1; font-size:9px; font-weight:900; line-height:1; letter-spacing:.2px; background:rgba(6,78,59,.85); color:#fff; border-radius:4px; padding:1px 3px; white-space:nowrap; }
    /* the Ruler: blue, standing on end */
    .hdr-measure.hdr-tall { background:#2563eb; color:#1e3a8a; justify-content:center; padding:0 !important; }
    .hdr-measure.hdr-tall svg { width:18px; height:32px; }
    .hdr-measure.hdr-tall.ms-on { background:#1d4ed8; box-shadow:0 0 0 3px rgba(147,197,253,.75), 0 2px 5px rgba(0,0,0,.35) !important; }
    .hdr-measure.hdr-tall .measure-lock { right:1px; bottom:1px; font-size:10px; }
    /* small phones: the smaller logo if the name doesn't fit (checked at 320 px wide) */
    @media (max-width:340px) {
      .version-b #header-title { max-width:150px; }
      .version-b .brand-name { font-size:12px; }
      .hdr-tall { width:30px; }
      #hdr-right { gap:3px; }
    }

    /* item 19: the map's top row. [Satellite*]  [weather]  [eye*] */
    #mapsat-wrap { position:relative; flex:0 0 var(--top-box-w); width:var(--top-box-w); display:flex; flex-direction:column; align-items:flex-start; }
    #map-sat-btn { width:auto; height:30px; padding:0 8px !important; font-size:11px; font-weight:900; gap:4px; background:rgba(255,255,255,.95); color:#064e3b; border:2px solid #fff; }
    #map-sat-btn.sat-on { background:#064e3b; color:#fff; }
    .version-b #eye-wrap { align-items:flex-end; }
    .version-b #wake-eye { width:44px; height:32px; }

    /* item 18: the smaller weather box: icon, temperature and a word or two, one line */
    .version-b #weather-strip { padding:3px 10px; border-radius:11px; }
    .version-b #weather-strip .wx-line1 { align-items:center; gap:4px; }
    .version-b #weather-icon { font-size:14px; }
    .version-b #weather-temp { font-size:13px; }
    .version-b #weather-desc { font-size:11px; font-weight:800; color:#134e3a; line-height:1.2; }
    .version-b #weather-place, .version-b #weather-wind { display:none !important; }

    /* item 20: THE HOP BUNNIES, centered under the weather */
    .version-b #hopbar { left:50%; right:auto; transform:translateX(-50%); gap:10px; }
    #hopbar .hop-bunny { flex:0 0 auto; position:relative; width:44px; height:44px; padding:0; border-radius:12px; background:#fff; border:2px solid var(--hb-c) !important;
      box-shadow:0 2px 8px rgba(0,0,0,.28) !important; display:flex; align-items:center; justify-content:center; letter-spacing:0; }
    #hopbar .hop-bunny .hb-pic { width:34px; height:34px; display:flex; align-items:center; justify-content:center; }
    #hopbar .hop-bunny .hb-pic img, #hopbar .hop-bunny .hb-pic svg { width:34px !important; height:34px !important; flex:0 0 auto; object-fit:contain; }
    #hopbar .hop-bunny .hb-sym { position:absolute; right:-6px; bottom:-6px; width:20px; height:20px; border-radius:9999px; background:var(--hb-c); border:2px solid #fff; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 3px rgba(0,0,0,.3); }
    #hopbar .hop-bunny .hb-sym svg { width:12px !important; height:12px !important; flex:0 0 12px; }
    #hopbar .hop-bunny .hb-lock { position:absolute; left:-6px; top:-6px; font-size:11px; background:#fff; border-radius:9999px; padding:1px; line-height:1; box-shadow:0 1px 3px rgba(0,0,0,.3); }
    @media (prefers-reduced-motion: no-preference) { #hopbar .hop-bunny { transition:transform .12s; } #hopbar .hop-bunny:active { transform:scale(.93); } }

    /* item 10: "can't find you" hint on the map */
    #findme-hint { position:absolute; left:50%; transform:translateX(-50%); top:calc(var(--vb-under, 100px) + 2px); z-index:828; width:max-content; max-width:min(270px, calc(100% - 24px));
      background:#fff; color:#064e3b; border:2px solid #0e7490; border-radius:12px; padding:5px 9px; font-size:11.5px; font-weight:800; line-height:1.3; text-align:left;
      box-shadow:0 3px 10px rgba(0,0,0,.3) !important; cursor:pointer; }
    #findme-hint.hidden { display:none; }

    /* item 2: zoomed way out with you in the middle: the target sits a little below your rabbit */
    #recenter-btn.btm-low { top:calc(50% + 72px) !important; }

    /* item 5: the test copy's bright label (only on an address with /ab_dev/) */
    .test-copy-tag { display:none; }
    .th-test-copy .test-copy-tag { display:block; position:absolute; z-index:821; pointer-events:none; background:#ff00a8; color:#fff200; font:900 10px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      letter-spacing:.6px; padding:3px 6px; border-radius:6px; border:1.5px solid #fff200; box-shadow:0 2px 6px rgba(0,0,0,.35); white-space:nowrap; }
    #test-copy-map { left:6px; top:44px; }
    .th-test-copy #test-copy-splash { left:50%; transform:translateX(-50%); top:10px; z-index:2700; font-size:13px; padding:5px 10px; }
    .th-test-copy .menu-build { color:#be185d; font-weight:900; }

    /* item 7: THE SIGNAL TRAY (placement preview) */
    #sig-tray { position:absolute; left:0; right:0; bottom:0; z-index:826; height:44px; display:flex; flex-direction:column; overflow:hidden;
      background:rgba(255,255,255,.97); border-top:2px solid #047857; border-radius:14px 14px 0 0; box-shadow:0 -4px 14px rgba(0,0,0,.22);
      transition:height .3s cubic-bezier(.22,.61,.36,1); -webkit-user-select:none; user-select:none; }
    #sig-tray.hidden { display:none; }
    #sig-tray.st-dragging { transition:none; }
    .st-grab { flex:0 0 13px; position:relative; display:flex; align-items:center; justify-content:center; cursor:grab; touch-action:none; -webkit-tap-highlight-color:transparent; }
    .st-bar { width:38px; height:4px; border-radius:9999px; background:#94a3b8; }
    .st-chip { position:absolute; left:8px; top:2px; font:900 8px/10px -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing:.5px; background:#f59e0b; color:#0f172a; border-radius:5px; padding:0 4px; }
    .st-tabs { flex:0 0 29px; display:flex; align-items:center; gap:5px; overflow-x:auto; overflow-y:hidden; padding:0 8px 3px; scrollbar-width:none; touch-action:pan-x; }
    .st-tabs::-webkit-scrollbar, .st-strip::-webkit-scrollbar { display:none; }
    .st-tab { flex:0 0 auto; height:24px; padding:0 11px; border-radius:9999px; border:1.5px solid rgba(15,23,42,.18); font-size:11px; font-weight:900; cursor:pointer; box-shadow:none !important; white-space:nowrap; }
    .st-green { background:#16a34a; color:#fff; }
    .st-yellow { background:#fde047; color:#422006; }
    .st-gray { background:#e2e8f0; color:#475569; }
    .st-tab.on { outline:2.5px solid #064e3b; outline-offset:1px; }
    .st-panel { flex:1 1 auto; min-height:0; display:none; flex-direction:column; gap:6px; padding:2px 8px 8px; }
    #sig-tray.st-up .st-panel { display:flex; }
    .st-note { margin:0; font-size:11px; font-weight:800; line-height:1.3; color:#92400e; background:#fef3c7; border-radius:8px; padding:4px 8px; }
    .st-win { flex:1 1 auto; min-height:40px; overflow:auto; background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:8px 10px; }
    .st-win-head { display:flex; align-items:center; gap:6px; font-size:14px; color:#064e3b; }
    .st-dot { width:10px; height:10px; flex:0 0 10px; border-radius:9999px; border:1px solid rgba(15,23,42,.2); }
    .st-win-state { margin:2px 0 0; font-size:11px; color:#64748b; }
    .st-win-prev { margin:10px 0 0; font-size:12px; font-style:italic; color:#94a3b8; text-align:center; }
    .st-strip { flex:0 0 auto; display:flex; gap:6px; overflow-x:auto; overflow-y:hidden; padding:2px 0; scrollbar-width:none; touch-action:pan-x; }
    .st-sig { flex:0 0 58px; display:flex; flex-direction:column; align-items:center; gap:2px; padding:0; background:transparent; border:0; cursor:pointer; box-shadow:none !important; }
    .st-pic { width:46px; height:46px; border-radius:12px; background:#fff; border:1.5px solid #cbd5e1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
    .st-pic img { width:100%; height:100%; object-fit:contain; }
    .st-lab { font-size:9px; font-weight:800; line-height:1.1; color:#334155; text-align:center; }
    .st-sig.nopic .st-pic { display:none; }   /* a missing picture = a plain labeled button */
    .st-sig.nopic .st-lab { width:58px; height:46px; display:flex; align-items:center; justify-content:center; padding:2px 4px; border-radius:12px; background:#ecfdf5; border:1.5px solid #6ee7b7; color:#064e3b; font-size:10px; }
    .st-sig.st-tapped .st-pic, .st-sig.st-tapped .st-lab { outline:2px solid #f59e0b; }
    @media (prefers-reduced-motion: reduce) { #sig-tray { transition:none; } }
    /* everything else at the bottom of the map sits above the strip; while the tray is up it steps aside */
    .version-b #trail-go { bottom:calc(var(--tray-h, 0px) + 12px); }
    .version-b #measure-box, .version-b #measure-pick-bar, .version-b #meet-pick-bar { bottom:calc(var(--tray-h, 0px) + 14px); z-index:831; }
    .version-b #convo, .version-b.is-member #convo, .version-b .is-member #convo { bottom:calc(92px + var(--tray-h, 0px)); }
    .version-b #jit-tip { bottom:calc(100px + var(--tray-h, 0px)); }
    .version-b .leaflet-bottom { bottom:var(--tray-h, 0px); }
    .tray-up #trail-go, .tray-up #convo, .tray-up #jit-tip { display:none !important; }

    /* item 14: the fat "Help" carrot on the right of every screen header (bitten once opened) */
    .version-b .vb-help-carrot { position:relative; width:66px; height:36px; border-radius:18px; border:2px solid #fdba74; background:#fff7ed; padding:0; overflow:hidden; }
    .vb-help-carrot .hc-pic { position:absolute; inset:2px 3px; display:flex; align-items:center; justify-content:center; }
    .vb-help-carrot .hc-pic img, .vb-help-carrot .hc-pic svg { width:100%; height:100%; object-fit:contain; display:block; }
    .vb-help-carrot .hc-word { position:relative; z-index:1; margin-left:-6px; font:900 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color:#fff;
      -webkit-text-stroke:.6px #7c2d12; text-shadow:0 1px 1px rgba(124,45,18,.6); letter-spacing:.2px; }
    .vb-help-carrot.bitten .hc-pic { -webkit-mask:radial-gradient(circle at 16% 72%, transparent 0 6px, #000 6.5px); mask:radial-gradient(circle at 16% 72%, transparent 0 6px, #000 6.5px); }

    /* item 16: tabs look like real tabs. The open one is white with a green top edge and joins its (white) page; the
       others are a darker gray-green with a thin outline, behind it; a green line runs under the row. */
    #vb-tabs { gap:3px; padding:6px 8px 0; background:#e7ede9; border-bottom:2px solid #047857; align-items:flex-end; overflow:visible; }
    .vb-tab { flex:1 1 0; min-width:0; white-space:normal; line-height:1.15; padding:7px 4px 6px; margin-top:3px; border-radius:10px 10px 0 0;
      background:#b4c7bc; color:#1f3b30; border:1px solid #87a395; border-bottom:0; font-size:11.5px; }
    .vb-tab.on { position:relative; z-index:1; margin-top:0; margin-bottom:-2px; padding:8px 4px 9px; background:#fff; color:#064e3b;
      border:1px solid #047857; border-top:4px solid #047857; border-bottom:0; }
    #vb-screen.vb-has-tabs #vb-body { background:#fff; }

    /* item 17: the menu slides out and back in (about 1/3 second each way, eased) */
    .version-b #menu-panel:not(.hidden) { animation:none; }
    .version-b #menu-panel.vb-menu-in { animation:vb-menu-in .33s cubic-bezier(.22,.61,.36,1) both; }
    .version-b #menu-panel.vb-menu-out { animation:vb-menu-out .33s cubic-bezier(.55,.06,.68,.19) both; }
    @keyframes vb-menu-in { from { transform:translateX(-105%); } to { transform:translateX(0); } }
    @keyframes vb-menu-out { from { transform:translateX(0); } to { transform:translateX(-105%); } }
    .version-b #menu-backdrop { transition:opacity .33s; }
    .version-b #menu-backdrop.vb-fade-out { opacity:0; }
    @media (prefers-reduced-motion: reduce) { .version-b #menu-panel.vb-menu-in, .version-b #menu-panel.vb-menu-out { animation:none; } .version-b #menu-backdrop { transition:none; } }

    /* Map Options: BUTTONS ON YOUR MAP, HOW THE MAP LOOKS */
    .vb-caps { font-size:11px; letter-spacing:.08em; color:#475569; margin:2px 2px -4px; }
    .vb-look { flex-direction:row; gap:8px; }
    .vb-look-btn { flex:1 1 0; background:#fff; color:#334155; border:2px solid #cbd5e1; }
    .vb-look-btn.on { background:#1d4ed8; border-color:#1d4ed8; color:#fff; }

    /* Connections: the Trail Signals row with the tray switch, and the "no friends on your map" note (item 9) */
    .vb-signal-wrap { background:#fffbeb; border-bottom:1px solid #fde68a; }
    .vb-signal-wrap .vb-signal { border-bottom:0; }
    .vb-tray-sw { padding:4px 12px 8px 46px; border-top:1px dashed #fde68a !important; }
    .vb-tray-sw .vb-swname { font-size:12px; }
    .vb-signal-inline { margin:0 12px 10px; padding:7px 9px; font-size:12px; font-weight:800; line-height:1.35; color:#92400e; background:#fff; border:1.5px solid #f59e0b; border-radius:10px; }
    .vb-signal-inline.hidden { display:none; }
    .vb-signal-back { flex:0 0 auto; background:#064e3b; color:#fff; border:0; border-radius:9999px; padding:4px 9px; font-size:11px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    /* item 12: a section topic's parts, in screen order, each with its carrot right under it */
    .help-part { margin-top:12px; }
    .help-more.help-more-part { margin-top:4px; margin-left:10px; width:calc(100% - 10px); }

    /* ===== BUILD 60 · VERSION B (Nov 2, 2026): the Build 60 List ===== */
    /* the header: [☰]  MyTrailHopper.com / INVITE  [Ruler]. The rings button is gone. */
    .version-b .app-header { grid-template-columns:auto 1fr auto; }
    #hdr-left { grid-column:1; grid-row:1; justify-self:start; display:flex; align-items:center; gap:4px; }
    .version-b #hamburger-btn { grid-column:auto; grid-row:auto; }
    #ring-cycle-wrap[hidden], #eye-wrap[hidden] { display:none !important; }
    .version-b #recenter-btn { display:none !important; }   /* item 5: the BACK TO ME target is gone */

    /* the map's top line: [satellite][Center on me]   [weather]   [+][-] */
    .version-b #mapsat-wrap { flex:0 0 auto; width:auto; flex-direction:row; align-items:flex-start; gap:4px; }
    #zoom-wrap { position:relative; flex:0 0 auto; display:flex; gap:4px; align-items:flex-start; }
    .vb-mapbtn { width:34px; height:34px; flex:0 0 34px; display:flex; align-items:center; justify-content:center; padding:0 !important; border-radius:10px !important;
      border:2px solid #fff !important; background:rgba(255,255,255,.96); color:#064e3b; cursor:pointer; -webkit-tap-highlight-color:transparent;
      box-shadow:0 2px 6px rgba(0,0,0,.3) !important; font-weight:900; }
    .vb-mapbtn:active { transform:scale(.94); }
    #map-sat-btn.vb-mapbtn { gap:0; font-size:0; }
    #map-sat-btn.vb-mapbtn.sat-on { background:#0f172a; color:#fff; border-color:#94a3b8 !important; }   /* dark while satellite is on */
    #map-center-btn.cm-away { background:#064e3b; color:#fff; }   /* a hint: you (or your 1-mile view) aren't properly in view */
    .vb-zoom { font-size:23px; line-height:1; }
    .vb-zoom:disabled { opacity:.45; }
    .version-b #weather-strip { max-width:calc(100% - 2 * 72px - 16px); }
    /* the narrow-phone fallback: + / - in the header where the Ruler was (one tall button), the Ruler next to ☰ */
    .vb-tight #hdr-right #zoom-wrap { flex-direction:column; gap:0; width:34px; height:44px; border-radius:10px; overflow:hidden; border:2px solid #fff;
      box-shadow:0 2px 5px rgba(0,0,0,.35); background:#fff; }
    .vb-tight #hdr-right .vb-zoom { width:100%; height:20px; flex:1 1 0; border:0 !important; border-radius:0 !important; box-shadow:none !important; font-size:19px; }
    .vb-tight #hdr-right #zoom-in { border-bottom:1px solid #cbd5e1 !important; }
    .vb-tight #map-top-row { justify-content:flex-start; }
    .version-b .vb-tight #weather-strip, .vb-tight #weather-strip { max-width:calc(100% - 72px - 14px); margin:0 auto; }   /* centered in the room right of the two buttons */
    @media (max-width:340px) { #hdr-left .hdr-tall { width:30px; } }

    /* item 1: the rings' labels ("1 mi", "½ mi", "500 ft"), on the top of each ring */
    .ring-tag-wrap { background:none !important; border:0 !important; }
    .ring-tag { display:block; width:max-content; margin:0 auto; font:800 9.5px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color:#0f766e;
      background:rgba(255,255,255,.78); border-radius:6px; padding:2px 4px; pointer-events:none; white-space:nowrap; }
    .ring-tag.ring-tag-1 { font-size:10.5px; color:#064e3b; background:rgba(255,255,255,.9); }

    /* item 3: the Hop bunnies, smaller (about 34 px), drawn as the old hopping rabbit */
    #hopbar .hop-bunny { width:34px; height:34px; border-radius:10px; }
    #hopbar .hop-bunny .hb-pic { width:28px; height:28px; }
    #hopbar .hop-bunny .hb-pic img, #hopbar .hop-bunny .hb-pic svg, #hopbar .hop-bunny .hb-art { width:28px !important; height:28px !important; }
    #hopbar .hop-bunny .hb-art { display:block; }
    #hopbar .hop-bunny .hb-sym { right:-5px; bottom:-5px; width:15px; height:15px; border-width:1.5px; }
    #hopbar .hop-bunny .hb-sym svg { width:9px !important; height:9px !important; flex:0 0 9px; }
    #hopbar .hop-bunny .hb-lock { left:-5px; top:-5px; font-size:9px; }
    .version-b #hopbar { gap:9px; }

    /* item 11: Fixin' the Map, the Trail photo line */
    .sg-photo-note { margin:4px 0 0; font-size:11.5px; font-weight:700; line-height:1.35; color:#065f46; background:#ecfdf5; border:1px solid #a7f3d0; border-radius:8px; padding:5px 8px; }
    .sg-photo-note.hidden { display:none; }

    /* item 12: THE SIGNAL TRAY, WORKING */
    .st-tab { position:relative; }
    .st-reddot { position:absolute; top:-3px; right:-3px; width:10px; height:10px; border-radius:9999px; background:#dc2626; border:2px solid #fff; box-shadow:0 1px 2px rgba(0,0,0,.3); }
    @keyframes st-bounce { 0%, 100% { transform:translateY(0); } 30% { transform:translateY(-6px); } 60% { transform:translateY(0); } 80% { transform:translateY(-2px); } }
    .st-tab.st-bounce { animation:st-bounce .7s ease-out 1; }
    .st-tab.st-sent { box-shadow:0 0 0 3px #a7f3d0 !important; }
    .st-panel { gap:5px; }
    .st-win { display:flex; flex-direction:column; gap:5px; padding:6px 8px; -webkit-user-select:text; user-select:text; }
    .st-win-head { gap:8px; }
    .st-rabbit { flex:0 0 32px; width:32px; height:32px; border-radius:9999px; border:2px solid #cbd5e1; background:#fff; padding:0; overflow:hidden; display:flex; align-items:center;
      justify-content:center; font-weight:900; color:#064e3b; cursor:pointer; box-shadow:none !important; }
    .st-rabbit img { width:26px; height:26px; object-fit:contain; }
    .st-who { display:flex; flex-direction:column; min-width:0; font-size:13px; line-height:1.2; color:#064e3b; }
    .st-who b { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .st-win-state { display:flex; align-items:center; gap:4px; margin:1px 0 0; }
    .st-win-state .st-dot { width:8px; height:8px; flex:0 0 8px; }
    .st-empty { margin:4px 0 0; font-size:12px; font-style:italic; color:#94a3b8; text-align:center; }
    .st-hint { margin:2px 0 0; font-size:11px; font-weight:700; line-height:1.3; color:#854d0e; background:#fef9c3; border-radius:8px; padding:4px 7px; }
    .st-note { margin:2px 0 0; font-size:11.5px; font-weight:800; line-height:1.3; color:#92400e; background:#fef3c7; border-radius:8px; padding:4px 8px; }
    .st-line { display:flex; flex-wrap:wrap; align-items:flex-start; gap:6px; max-width:92%; font-size:12.5px; line-height:1.3; color:#0f172a; border-radius:10px; padding:4px 7px; }
    .st-line.st-in { align-self:flex-start; background:#ecfdf5; border:1px solid #a7f3d0; }
    .st-line.st-out { align-self:flex-end; background:#f1f5f9; border:1px solid #e2e8f0; }
    .st-line.st-new { border-color:#dc2626; box-shadow:0 0 0 1px #fecaca; }
    .st-licon { flex:0 0 26px; width:26px; height:26px; }
    .st-licon img { width:26px; height:26px; object-fit:contain; }
    .st-ltext { flex:1 1 auto; min-width:0; }
    .st-ltext small { color:#64748b; font-size:10.5px; }
    .st-answer { display:block; margin-top:2px; font-size:11.5px; font-weight:800; color:#047857; }
    .st-replies { flex:1 1 100%; display:flex; flex-wrap:wrap; gap:5px; }
    .st-reply { padding:4px 10px; border-radius:9999px; border:1.5px solid #047857; background:#fff; color:#065f46; font-size:12px; font-weight:900; cursor:pointer; box-shadow:none !important; }
    .st-reply:disabled { opacity:.5; }
    .st-pic { position:relative; }
    .st-cbadge { position:absolute; left:2px; top:2px; font:900 9px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background:#f59e0b; color:#0f172a; border-radius:4px; padding:2px 3px; }
    .st-cbadge-inline { position:static; display:inline-block; margin-right:6px; vertical-align:middle; }
    .st-sig.nopic.st-c .st-lab { background:#fffbeb; border-color:#fbbf24; }
    .st-sig.st-off .st-pic, .st-sig.st-off .st-lab { opacity:.35; filter:grayscale(1); }
    .st-sig.st-hint-me .st-pic, .st-sig.st-hint-me .st-lab { outline:3px solid #f59e0b; outline-offset:1px; }
    .st-custom { display:flex; flex-wrap:wrap; align-items:center; gap:6px; background:#fffbeb; border:1.5px solid #fbbf24; border-radius:10px; padding:6px 8px; font-size:13px; color:#0f172a; }
    .st-ctext { flex:1 1 auto; min-width:0; font-weight:800; }
    .st-cinput { flex:1 1 140px; min-width:0; font-size:16px; padding:5px 8px; border:1.5px solid #cbd5e1; border-radius:8px; }
    .st-crow { flex:1 1 100%; display:flex; gap:6px; justify-content:flex-end; }
    .st-cbtn { padding:5px 12px; font-size:12px; border-radius:9999px; background:#fff; color:#334155; border:1.5px solid #cbd5e1; }
    .st-cbtn-go { background:#047857; color:#fff; border-color:#047857; }
    .st-cbtn-x { padding:5px 10px; }
    /* the sent puff: a little smoke off the tab */
    .st-puff { position:absolute; z-index:5; width:0; height:0; pointer-events:none; }
    .st-puff i { position:absolute; left:-6px; top:-4px; width:12px; height:12px; border-radius:9999px; background:#cbd5e1; opacity:0; animation:st-puff .9s ease-out forwards; }
    .st-puff i:nth-child(2) { left:-2px; width:9px; height:9px; animation-delay:.12s; background:#e2e8f0; }
    .st-puff i:nth-child(3) { left:-9px; width:7px; height:7px; animation-delay:.24s; background:#f1f5f9; }
    @keyframes st-puff { 0% { opacity:.95; transform:translateY(0) scale(.6); } 100% { opacity:0; transform:translateY(-26px) scale(1.5); } }
    /* the waiting smoke: slow wisps from the bottom edge while the tray is hidden and a signal is waiting */
    #sig-smoke { position:absolute; left:50%; bottom:6px; transform:translateX(-50%); z-index:826; width:120px; height:62px; padding:0; border:0; background:transparent;
      box-shadow:none !important; cursor:pointer; }
    #sig-smoke.hidden { display:none; }
    #sig-smoke span { position:absolute; left:50%; bottom:0; transform:translateX(-50%); white-space:nowrap; font-size:10px; font-weight:900; color:#475569; background:rgba(255,255,255,.85);
      border-radius:9999px; padding:1px 7px; }
    #sig-smoke i { position:absolute; bottom:12px; width:16px; height:16px; border-radius:9999px; background:rgba(148,163,184,.8); filter:blur(1.5px); animation:sig-wisp 3.2s ease-in infinite; }
    #sig-smoke i:nth-child(1) { left:38px; }
    #sig-smoke i:nth-child(2) { left:56px; animation-delay:.8s; width:13px; height:13px; }
    #sig-smoke i:nth-child(3) { left:70px; animation-delay:1.6s; }
    #sig-smoke i:nth-child(4) { left:48px; animation-delay:2.4s; width:11px; height:11px; }
    @keyframes sig-wisp { 0% { opacity:0; transform:translate(0, 0) scale(.6); } 20% { opacity:.85; } 100% { opacity:0; transform:translate(8px, -44px) scale(1.7); } }
    @media (prefers-reduced-motion: reduce) { .st-tab.st-bounce, .st-puff i { animation:none; } #sig-smoke i { animation:none; opacity:.7; bottom:16px; } }
    /* Version B: the conversation box is replaced by the tray */
    .version-b #convo { display:none !important; }

    /* ===== BUILD 61 · VERSION B additions (Build 61 List 11-02) ===== */

    /* Item 9: "everything got big". An iPhone zooms in (and stays zoomed) when you tap a typing box with letters under 16 px,
       so every typing box is 16 px. The phone never enlarges the page's letters on its own either. */
    html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
    input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"],
    input:not([type]), textarea, select { font-size:16px !important; }
    #vb-body { max-width:100%; overflow-x:hidden; }
    #vb-body img, #vb-body video, #vb-body canvas { max-width:100%; height:auto; }

    /* Items 1, 2: the weather is one short word, centered between [map][◎] and [+][-]; no header fallback any more.
       wx-short (set by js/menu-b.js on a phone where even the word won't fit): only the icon and temperature. */
    .version-b #weather-strip { flex:0 1 auto; margin:0 auto; }
    .version-b #weather-strip.wx-short #weather-desc { display:none; }
    .version-b #zoom-wrap { justify-content:flex-end; }

    /* Item 3: the TEST COPY tag is small, at the bottom left of the map, just above the signal tray (the menu's build line
       still says TEST COPY). It steps out of the way while the tray is up. */
    #test-copy-map { top:auto; left:6px; bottom:calc(var(--tray-h, 0px) + 22px); font-size:8px !important; padding:2px 4px !important; opacity:.9; }
    .phone-container.tray-up #test-copy-map { display:none !important; }

    /* Item 12: the rings are green on the normal map, white with a faint dark edge on satellite (labels too). */
    .th-ring-edge { display:none; }
    .map-sat .th-ring-edge { display:inline; }
    .map-sat path.th-ring { stroke:#fff; stroke-opacity:.95; fill:#fff; fill-opacity:.04; }
    .ring-tag { color:#15803d; }
    .ring-tag.ring-tag-1 { color:#14532d; }
    .map-sat .ring-tag { color:#fff !important; background:rgba(15,23,42,.55) !important; text-shadow:0 0 2px rgba(0,0,0,.8); }

    /* Item 31: the Ruler looks PRESSED while it's on (pushed in, darker, a ring around it); a second tap turns it off. */
    .hdr-measure.hdr-tall.ms-on { background:#1e3a8a !important; color:#bfdbfe; transform:translateY(1px);
      box-shadow:inset 0 3px 6px rgba(0,0,0,.55), 0 0 0 3px #fde047 !important; }
    .hdr-measure.hdr-tall.ms-on svg rect { fill:#dbeafe; }

    /* Item 21: THE MEET HERE PIN IS TRAILHOPPER ORANGE (it was red), the same marker as the strip's picture, with a white edge
       so it stands out on the normal map and on satellite. Its banners and buttons match. */
    .mt-pin-head { border-color:#ea580c !important; }
    .mt-pin-blank { background:#ffedd5 !important; }
    .mt-pin-tip { border-top-color:#ea580c !important; filter:drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff); }
    .mt-pin-dist { background:#ea580c !important; }
    .qm-meet { background:#ea580c !important; }
    #meet-tag { color:#c2410c !important; border-color:#ea580c !important; }
    #meet-pick-bar { border-color:#ea580c !important; }
    #meet-pick-bar .mt-go, #meet-send .mt-go { background:#ea580c; }
    #mt-in { border-color:#ea580c !important; }
    .mt-btns .qm-btn.mt-show { background:#ea580c !important; border-color:#ea580c !important; }

    /* Item 30: "Back to map" at the bottom of every screen */
    .vb-tomap { margin-top:14px; margin-bottom:6px; border-color:#cbd5e1; color:#334155; }

    /* Items 4, 5, 14: Photo Patch, Local Eats, Advertise with us */
    .vb-input { width:100%; padding:8px 10px; border:1.5px solid #cbd5e1; border-radius:10px; background:#fff; color:#0f172a; margin:2px 0 8px; }
    .vb-photo .ph-wrap { display:flex; flex-direction:column; align-items:center; gap:4px; margin-top:6px; }
    .vb-photo .ph-wrap.hidden { display:none; }
    .vb-photo #ph-img { max-height:220px; border-radius:12px; border:1px solid #e2e8f0; object-fit:contain; }
    .ph-loc { margin:6px 0 0; font-size:12px; font-weight:800; line-height:1.35; border-radius:8px; padding:5px 8px; }
    .ph-loc.hidden { display:none; }
    .ph-ok { color:#065f46; background:#ecfdf5; }
    .ph-wait { color:#92400e; background:#fef3c7; }
    .ph-bad { color:#991b1b; background:#fee2e2; }
    #ph-locbtns { margin-top:6px; }
    #ph-locbtns.hidden { display:none; }
    .ph-chips { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 10px; }
    .ph-err, #ad-err { color:#b91c1c; }

    /* Items 18-22: THE SIGNAL STRIP AND THE FRIEND'S WINDOW
       The strip: pictures only. The word under a picture is gone; it shows only as the plain button while a picture is missing,
       and C1-C3 keep their own words. A carrot sits right by C1-C3 (item 29). */
    .st-sig .st-lab { display:none; }
    .st-sig.nopic .st-lab, .st-sig.st-c .st-lab { display:flex; }
    .st-sig.st-c:not(.nopic) .st-lab { display:block; font-size:9px; max-width:58px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .st-sig.st-cempty .st-lab { color:#94a3b8; font-style:italic; }
    .st-ccarrot { flex:0 0 30px; align-self:center; width:30px; height:30px; padding:0; border-radius:9999px; border:1.5px solid #fdba74; background:#fff7ed;
      font-size:16px; line-height:1; cursor:pointer; box-shadow:none !important; }
    /* The window, like a text thread: the friend's character on the left by their column; theirs left (light tan), yours right
       (TrailHopper green); a small rounded square each, a tiny time under it. */
    .st-win { flex-direction:row !important; align-items:stretch; gap:8px !important; padding:6px 6px 6px 4px !important; overflow:hidden !important; }
    .st-side { flex:0 0 46px; display:flex; flex-direction:column; align-items:center; gap:2px; padding-top:2px; }
    .st-side .st-rabbit { flex:0 0 40px; width:40px; height:40px; }
    .st-side .st-rabbit img { width:34px; height:34px; }
    .st-sname { max-width:46px; font-size:10px; font-weight:900; color:#064e3b; line-height:1.1; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .st-side .st-dot { width:9px; height:9px; flex:0 0 9px; }
    .st-thread { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:6px; overflow-y:auto; overscroll-behavior:contain; padding:2px 2px 4px; }
    .st-row { display:flex; flex-direction:column; gap:1px; max-width:80%; }
    .st-row.st-in { align-self:flex-start; align-items:flex-start; }
    .st-row.st-out { align-self:flex-end; align-items:flex-end; }
    .st-bub { width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:3px; }
    .st-in .st-bub { background:#f5ecd9; border:1.5px solid #e2d3b0; }
    .st-out .st-bub { background:#16a34a; border:1.5px solid #15803d; }
    .st-bub img { width:100%; height:100%; object-fit:contain; }
    .st-bub-words, .st-bub-nopic { width:auto; min-width:46px; max-width:100%; height:auto; min-height:34px; padding:5px 9px; }
    .st-bwords { font-size:12.5px; font-weight:800; line-height:1.25; overflow-wrap:anywhere; }
    .st-in .st-bwords { color:#422006; }
    .st-out .st-bwords { color:#fff; }
    .st-row.st-new .st-bub { box-shadow:0 0 0 2px #dc2626; }
    .st-time { font-size:9.5px; color:#94a3b8; line-height:1; padding:0 2px; }
    .st-note { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
    .st-note span { flex:1 1 150px; }
