/* ============================================================
     LOOK & FEEL — black & white. Accent knob in CONFIG → --accent.
     ============================================================ */
  :root{
    --bg:#ffffff;
    --soft:#f4f4f4;
    --ink:#111111;
    --ink-2:#3a3a3a;
    --muted:#8c8c8c;
    --line:#ebebeb;
    --accent:#111111;
    --radius:18px;
    --radius-sm:13px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{-webkit-text-size-adjust:100%}
  body{
    background:var(--bg);color:var(--ink);
    font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    line-height:1.5;letter-spacing:-.011em;
    -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
    /* iOS: kill the grey flash on every tap, and stop Safari zooming on landscape rotate. */
    -webkit-tap-highlight-color:transparent;
    -webkit-text-size-adjust:100%;
  }
  /* Buttons/links feel like native controls, not web widgets. */
  button,a,select,input{-webkit-tap-highlight-color:transparent}
  button{font-family:inherit}
  /* NOTE: iOS zooms the page when a focused text field is under 16px. .searchbig input is
     already 16px — keep it that way. Deliberately NOT a blanket rule: the filter pills run
     at 13px and forcing 16px there would blow up the controls row. */
  a{color:inherit;text-decoration:none}
  .wrap{max-width:1240px;margin:0 auto;padding:0 24px}

  /* ---- Promo banner (Shop-style) — scrolls away; the nav is the sticky header ---- */
  .promo{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;
    background:var(--ink);color:#fff;padding:11px 16px;font-size:14px;text-align:center}
  .promo .pbadge{background:#fff;color:var(--ink);font-weight:800;font-size:11px;letter-spacing:.02em;padding:3px 8px;border-radius:6px}
  .promo strong{font-weight:600}
  .promo .psub{color:#b3b3b3;font-weight:400}
  .promo .parrow{display:inline-block;transition:transform .2s ease}
  .promo:hover .parrow{transform:translateX(4px)}

  /* Nav bar — sticks to the top on scroll. max-width matches the content/tiles below so the logo lines up. */
  .nav{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line);background:var(--bg)}
  .nav-inner{max-width:1240px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
  .nav-logo{font-weight:800;font-size:18px;letter-spacing:-.03em}
  .nav-links{display:flex;align-items:center;gap:22px}
  .nav-links a{position:relative;font-size:14.5px;font-weight:500;color:var(--ink-2);white-space:nowrap}
  .nav-links a:hover{color:var(--ink)}
  .nav-links a.active{color:var(--ink);font-weight:600}
  /* selected-tab underline, sits on the nav's bottom border */
  .nav-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:-18px;height:2px;background:var(--ink);border-radius:2px}
  /* hamburger — desktop hidden, shown on small screens (see media query below) */
  .nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;margin:-6px;color:var(--ink)}
  .nav-toggle svg{width:24px;height:24px;display:block}
  .nav-toggle .ic-close{display:none}
  .nav-toggle[aria-expanded="true"] .ic-open{display:none}
  .nav-toggle[aria-expanded="true"] .ic-close{display:block}

  /* ---- Hero (Shop-style centered) ---- */
  .hero{position:relative;overflow:hidden;padding:54px 20px 16px}
  .hero-inner{position:relative;z-index:3;max-width:660px;margin:0 auto;text-align:center}
  .logo{font-weight:800;font-size:clamp(34px,7vw,58px);letter-spacing:-.045em;line-height:1;
    display:inline-flex;align-items:center;gap:13px;justify-content:center}
  .logo .ldot{width:14px;height:14px;border-radius:50%;background:var(--accent);flex:none}
  .hero-sub{margin-top:14px;color:var(--muted);font-size:15px}
  .searchbig{position:relative;margin:28px auto 0;max-width:600px}
  .searchbig input{width:100%;padding:19px 64px 19px 24px;border:1px solid var(--line);border-radius:18px;
    background:#fff;font:inherit;font-size:16px;color:var(--ink);
    box-shadow:0 12px 34px rgba(0,0,0,.07);transition:border-color .15s ease,box-shadow .15s ease}
  .searchbig input::placeholder{color:var(--muted)}
  .searchbig input:focus{outline:none;border-color:var(--ink);box-shadow:0 14px 38px rgba(0,0,0,.12)}
  .search-go{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;
    background:var(--accent);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s ease}
  .search-go svg{width:22px;height:22px;display:block}
  .search-go:hover{opacity:.86}
  .hero-link{display:inline-block;margin-top:18px;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
  .hero-link:hover{color:var(--ink)}

  /* ---- Controls: Sort + Brand + Price dropdowns (sit below the category tiles) ---- */
  .controls{position:relative;z-index:3;max-width:1240px;margin:16px auto 0;padding:0 24px;
    display:flex;align-items:center;gap:12px}
  .tools{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
  .selpill{display:inline-flex;align-items:center;gap:7px;background:#ececec;
    border-radius:999px;padding:5px 8px 5px 15px;font-size:13px;white-space:nowrap}
  .selpill .sellbl{color:var(--muted)}
  .selpill select{appearance:none;-webkit-appearance:none;border:none;outline:none;cursor:pointer;
    font:inherit;font-size:13px;font-weight:500;color:var(--ink);width:auto;padding:5px 30px 5px 0;
    background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right center;
    background-size:24px}
  /* Reset button — pushed to the right, shown only when 2+ filters are combined */
  .resetbtn{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:5px;
    background:none;border:none;cursor:pointer;font:inherit;font-size:13px;font-weight:500;
    color:var(--muted);padding:6px 4px;white-space:nowrap;transition:color .15s ease}
  .resetbtn[hidden]{display:none}
  .resetbtn:hover{color:var(--ink)}
  .resetbtn svg{width:14px;height:14px}

  /* ---- Category tiles (Shop.app style: one representative item on a pastel bg) ---- */
  .cats{position:relative;max-width:1240px;margin:18px auto 0;padding:0 24px}
  .cats:empty{display:none}
  .cats-title{font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--ink);margin-bottom:10px}
  .catrow{display:flex;gap:14px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 0 8px;scroll-behavior:smooth}
  .catrow::-webkit-scrollbar{display:none}
  .catrow-wrap{position:relative}
  /* arrow FAB that scrolls the row right — desktop only (phones swipe instead) */
  .catnext{position:absolute;right:-6px;top:50%;transform:translateY(-50%);z-index:4;
    width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);cursor:pointer;
    display:flex;align-items:center;justify-content:center;color:var(--ink);
    box-shadow:0 6px 18px rgba(0,0,0,.16);transition:opacity .2s ease,transform .15s ease}
  .catnext:hover{transform:translateY(-50%) scale(1.07)}
  .catnext svg{width:20px;height:20px}
  .catnext[hidden]{display:none}
  @media(max-width:700px){ .catnext{display:none} }
  .catcard{flex:none;width:158px;display:block;transition:transform .2s ease}
  .catcard:hover{transform:translateY(-3px)}
  .catimg{position:relative;width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,.07)}
  .catcard.current .catimg{outline:2px solid var(--ink);outline-offset:2px}
  /* the product photo: contained + blended so a white studio bg melts into the pastel */
  .catimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
    padding:14%;display:block;mix-blend-mode:multiply}
  /* hand-made tiles already sit on a pastel bg → show them full-bleed, no blend/padding */
  .catimg.custom img{object-fit:cover;padding:0;mix-blend-mode:normal}
  .catcard:hover .catimg img{transform:scale(1.04);transition:transform .3s ease}
  .catimg .cph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:40px;opacity:.6}
  .catmeta{position:absolute;left:12px;right:12px;bottom:10px;color:var(--ink)}
  .catmeta .cname{font-weight:700;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .catmeta .ccount{font-size:11.5px;color:var(--ink-2);margin-top:1px}
  @media(max-width:600px){ .cats{padding:0 16px} .catcard{width:132px} .catmeta .cname{font-size:13px} }

  /* Load more */
  .loadmore-wrap{text-align:center;padding:6px 0 60px}
  .loadmore{background:var(--ink);color:#fff;border:none;border-radius:999px;padding:13px 28px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .15s ease}
  .loadmore:hover{opacity:.86}

  /* ---- Grid ---- */
  .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 14px;padding:26px 0 70px}
  .card{display:flex;flex-direction:column;transition:transform .22s ease}
  .card:hover{transform:translateY(-5px)}
  .thumb{aspect-ratio:1/1;background:var(--soft);position:relative;overflow:hidden;
    border-radius:var(--radius);transition:box-shadow .22s ease}
  .card:hover .thumb{box-shadow:0 16px 34px rgba(0,0,0,.13)}
  .thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
  .card:hover .thumb img{transform:scale(1.05)}
  .thumb .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#cfcfcf;font-size:30px}
  .cbody{padding:14px 3px 4px;display:flex;flex-direction:column;flex:1}
  .clabel{font-size:12px;color:var(--muted);margin-bottom:6px}
  .pname{font-size:14.5px;font-weight:500;line-height:1.35;color:var(--ink);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
  .price{font-weight:600;font-size:14.5px;margin-top:7px}

  /* ---- Card action row: View / agent switch / Save / Share ----
     The buttons are SIBLINGS of the card's <a>, never children: a <button> inside an <a>
     is invalid HTML and traps screen readers. */
  .cardlink{display:flex;flex-direction:column;color:inherit;text-decoration:none}
  .cactions{display:flex;align-items:center;gap:5px;margin-top:10px}
  /* Hugs its content — the row is View + Save + Share sitting together, not a stretched bar.
     Background colour is the agent's brand colour, set inline per card. */
  .viewgrp{display:inline-flex;align-items:stretch;flex:none;
    border-radius:999px;overflow:hidden}
  .viewbtn{display:inline-flex;align-items:center;gap:6px;flex:none;
    padding:4px 3px 4px 4px;color:#fff;text-decoration:none;font-weight:600;font-size:12.5px}
  .vlogo{width:22px;height:22px;border-radius:50%;background:#fff;flex:none;
    display:flex;align-items:center;justify-content:center;overflow:hidden}
  .vlogo img{width:16px;height:16px;object-fit:contain}
  .viewchev{position:relative;flex:none;width:28px;border:none;background:transparent;
    color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
  .viewchev::before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:1px;
    background:rgba(255,255,255,.32)}
  .viewchev svg{width:13px;height:13px}
  .iconbtn{flex:none;width:28px;height:28px;border:none;border-radius:50%;
    background:var(--soft);color:var(--ink);cursor:pointer;
    display:flex;align-items:center;justify-content:center;transition:background .15s ease}
  .iconbtn:hover{background:#e8e8e8}
  .iconbtn svg{width:15px;height:15px}
  .savebtn[aria-pressed="true"]{background:var(--ink);color:#fff}
  @media (min-width:700px){
    .cactions{gap:7px;margin-top:12px}
    .viewbtn{font-size:13.5px;padding:5px 5px 5px 5px;gap:7px}
    .vlogo{width:26px;height:26px}
    .vlogo img{width:18px;height:18px}
    .viewchev{width:30px}
    .iconbtn{width:32px;height:32px}
    .iconbtn svg{width:16px;height:16px}
  }

  /* "Saved" filter — sits inside .tools and matches .selpill's shape, since it is a filter too */
  .savedtog{display:inline-flex;align-items:center;gap:7px;flex:none;
    background:#ececec;border:none;border-radius:999px;padding:5px 15px;
    font-size:13px;font-family:inherit;color:var(--ink);cursor:pointer;white-space:nowrap;
    align-self:stretch}
  .savedtog svg{width:14px;height:14px}
  .savedtog[aria-pressed="true"]{background:var(--ink);color:#fff}

  /* ---- Agent sheet ---- */
  .asheet-back{position:fixed;inset:0;z-index:60;padding-bottom:env(safe-area-inset-bottom);background:rgba(0,0,0,.45);
    display:flex;align-items:flex-end;justify-content:center;
    opacity:0;pointer-events:none;transition:opacity .2s ease}
  .asheet-back.show{opacity:1;pointer-events:auto}
  .asheet{width:100%;max-width:460px;max-height:82vh;overflow-y:auto;
    background:#fff;border-radius:22px 22px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom));
    transform:translateY(16px);transition:transform .22s cubic-bezier(.2,.7,.2,1)}
  .asheet-back.show .asheet{transform:translateY(0)}
  .asheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
  .asheet-head h3{font-size:17px;font-weight:600;letter-spacing:-.01em}
  .asheet-x{border:none;background:var(--soft);width:32px;height:32px;border-radius:50%;
    cursor:pointer;font-size:17px;line-height:1;color:var(--ink)}
  .aopt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;cursor:pointer;
    border:1.5px solid var(--line);background:#fff;border-radius:14px;padding:13px 14px;margin-bottom:9px}
  .aopt:hover{border-color:#d0d0d0}
  .aopt[aria-checked="true"]{border-color:var(--ink);background:var(--soft)}
  /* Ringed rather than plain white: the sheet background is white too, so an unbordered
     circle would have no visible edge. */
  .aopt .alogo{width:36px;height:36px;border-radius:50%;background:#fff;flex:none;
    border:1.5px solid var(--line);overflow:hidden;
    display:flex;align-items:center;justify-content:center}
  .aopt .alogo img{width:22px;height:22px;object-fit:contain}
  .aopt[aria-checked="true"] .alogo{border-color:var(--ink)}
  .aopt .an{font-weight:600;font-size:15px;color:var(--ink)}
  .aopt .ad{font-size:12.5px;color:var(--muted);margin-top:2px}
  .aopt .atick{margin-left:auto;font-weight:700}
  .asheet-note{font-size:12px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.5}
  @media (min-width:700px){
    .asheet-back{align-items:center}
    .asheet{border-radius:22px;max-height:76vh}
  }

  /* ---- States / banner ---- */
  .state{padding:80px 16px;text-align:center;color:var(--muted)}
  .state h3{color:var(--ink);font-size:21px;font-weight:600;margin-bottom:10px;letter-spacing:-.02em}
  .state code{background:var(--soft);border:1px solid var(--line);border-radius:7px;padding:3px 7px;font-size:13px;word-break:break-all}
  .state a{text-decoration:underline}
  .banner{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius-sm);
    padding:13px 16px;margin:16px 0;font-size:13.5px;color:var(--ink)}
  /* ---- Skeleton cards (shown while products.js loads) ---- */
  .sk{position:relative;overflow:hidden;background:var(--soft)}
  .sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);
    animation:sk-shimmer 1.3s infinite}
  @keyframes sk-shimmer{to{transform:translateX(100%)}}
  .sk-line{height:12px;border-radius:6px;margin-top:9px}
  .sk-line.first{margin-top:14px;height:10px}
  .sk-line.price{height:14px;margin-top:11px}
  @media (prefers-reduced-motion:reduce){ .sk::after{animation:none} }

  /* ---- Footer ---- */
  footer{border-top:1px solid var(--line);padding:44px 0 60px;font-size:13px;color:var(--muted);margin-top:10px}
  footer .wrap{display:flex;flex-direction:column;gap:10px}
  footer a{text-decoration:underline;text-underline-offset:2px}
  footer .disc{max-width:740px;line-height:1.65}

  @media(min-width:640px){
    .grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:30px 24px}
  }
  /* Live activity toast */
  .toast{position:fixed;left:20px;bottom:20px;z-index:200;max-width:330px;display:flex;align-items:center;gap:11px;
    background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 16px;
    box-shadow:0 14px 36px rgba(0,0,0,.14);font-size:13.5px;line-height:1.35;color:var(--ink-2);
    opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .4s ease,transform .4s ease}
  .toast.show{opacity:1;transform:none}
  .toast .tdot{flex:none;width:9px;height:9px;border-radius:50%;background:#22c55e;animation:tpulse 2s infinite}
  .toast b{color:var(--ink);font-weight:600}
  @keyframes tpulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.45)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
  @media(max-width:600px){ .toast{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:none} }
  @media (prefers-reduced-motion:reduce){ .toast{transition:none} .toast .tdot{animation:none} }

  /* Page-views counter (bottom-right) */
  .viewcount{position:fixed;right:calc(20px + env(safe-area-inset-right));bottom:calc(74px + env(safe-area-inset-bottom));z-index:200;display:inline-flex;align-items:center;gap:8px;
    background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 15px;
    box-shadow:0 10px 28px rgba(0,0,0,.12);font-size:13px;color:var(--muted)}
  .viewcount b{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
  .viewcount .vc-eye{width:15px;height:15px;color:var(--ink-2);flex:none}
  @media(max-width:600px){ .viewcount{display:none} }   /* off on mobile to avoid the toast */

  /* Back-to-top FAB */
  .totop{position:fixed;right:calc(20px + env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));z-index:210;width:46px;height:46px;border-radius:50%;
    background:var(--ink);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;
    box-shadow:0 10px 26px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(10px);
    transition:opacity .25s ease,transform .25s ease,visibility .25s}
  .totop.show{opacity:1;visibility:visible;transform:none}
  .totop:hover{transform:translateY(-2px)}
  .totop svg{width:22px;height:22px}
  @media(max-width:600px){ .totop{right:16px;bottom:16px;width:44px;height:44px} }

  @media(max-width:680px){
    .wrap{padding-left:16px;padding-right:16px}
    /* mobile nav: logo left + hamburger right; links become a drop-down panel */
    .nav-inner{padding:12px 16px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
    .nav-toggle{display:block}
    .nav-links{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;
      background:var(--bg);padding:2px 16px 10px;border-bottom:1px solid var(--line);box-shadow:0 14px 28px rgba(0,0,0,.09)}
    .nav-links.open{display:flex}
    .nav-links a{padding:13px 2px;font-size:15.5px;border-top:1px solid var(--line)}
    .nav-links a:first-child{border-top:none}
    .nav-links a.active::after{display:none}   /* underline makes no sense in the stacked panel */
    .hero{padding:34px 16px 16px}
    /* mobile: keep the Sort/Brand/Price dropdowns on one scrollable row, Reset stays at right */
    .controls{padding:0 16px}
    .tools{flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
    .tools::-webkit-scrollbar{display:none}
    .promo{flex-wrap:nowrap;gap:7px;padding:10px 14px;font-size:13px;white-space:nowrap}
    .promo .psub{display:none}            /* keep the banner to a single row on phones */
  }

  /* ============================================================
     iOS / installed-app behaviour
     ============================================================ */

  /* Landscape on a notched iPhone: keep content out from under the sensor housing.
     Vertical insets are handled per-widget above. */
  @supports (padding:max(0px)){
    .wrap, .nav-inner, .controls{
      padding-left:max(24px, env(safe-area-inset-left));
      padding-right:max(24px, env(safe-area-inset-right));
    }
    @media(max-width:680px){
      .wrap, .nav-inner, .controls{
        padding-left:max(16px, env(safe-area-inset-left));
        padding-right:max(16px, env(safe-area-inset-right));
      }
    }
  }

  /* Only when launched from the home screen. In the browser these would fight with
     Safari's own chrome, so they stay scoped to standalone. */
  @media (display-mode:standalone), (display-mode:fullscreen){
    /* No URL bar to pull down to, so the rubber-band scroll just looks like a glitch. */
    body{overscroll-behavior-y:none}
    /* Status bar sits above the content in "default" mode; this covers landscape notches. */
    .promo{padding-top:calc(11px + env(safe-area-inset-top))}
    /* The page can't be re-shared from a URL bar, so give the footer room above the
       home indicator instead. */
    footer{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  }
  /* iOS standalone also reports this legacy flag; mirrored via a class on <html>. */
  html.ios-standalone body{overscroll-behavior-y:none}
  html.ios-standalone .promo{padding-top:calc(11px + env(safe-area-inset-top))}
  html.ios-standalone footer{padding-bottom:calc(28px + env(safe-area-inset-bottom))}

  /* ---- "Add to Home Screen" prompt ---- */
  .a2hs{position:fixed;left:12px;right:12px;bottom:12px;z-index:300;
    bottom:calc(12px + env(safe-area-inset-bottom));
    background:#fff;border:1px solid var(--line);border-radius:20px;
    padding:16px 16px 14px;box-shadow:0 18px 50px rgba(0,0,0,.22);
    display:flex;gap:13px;align-items:flex-start;
    transform:translateY(140%);transition:transform .38s cubic-bezier(.2,.8,.2,1)}
  .a2hs.show{transform:none}
  .a2hs-icon{flex:none;width:46px;height:46px;border-radius:11px;overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.18)}
  .a2hs-icon img{width:100%;height:100%;display:block}
  .a2hs-body{flex:1;min-width:0}
  .a2hs-title{font-weight:650;font-size:15px;letter-spacing:-.01em;color:var(--ink)}
  .a2hs-text{font-size:13px;color:var(--muted);line-height:1.45;margin-top:3px}
  .a2hs-text b{color:var(--ink-2);font-weight:600}
  .a2hs-share{display:inline-block;width:14px;height:14px;vertical-align:-2px;margin:0 1px}
  .a2hs-actions{display:flex;gap:8px;margin-top:11px}
  .a2hs-btn{flex:1;height:38px;border:none;border-radius:999px;cursor:pointer;
    font-size:13.5px;font-weight:600;font-family:inherit;background:var(--ink);color:#fff}
  .a2hs-btn.ghost{background:var(--soft);color:var(--ink-2);font-weight:500}
  .a2hs-x{flex:none;width:28px;height:28px;border:none;border-radius:50%;background:var(--soft);
    color:var(--ink-2);font-size:16px;line-height:1;cursor:pointer;margin:-2px -2px 0 0}
  @media(min-width:560px){
    .a2hs{left:auto;right:20px;width:370px}
  }
  @media (prefers-reduced-motion:reduce){ .a2hs{transition:none} }
