/* share.css: share buttons + share popover for haritahov.com (chrome / teal #46d7cd / gold #e6c25a / lavender) */
.ht-share-btn{--t:#46d7cd;--g:#e6c25a;--lav:#b9a7ff;appearance:none;margin:0;cursor:pointer;display:inline-grid;place-items:center;
  width:32px;height:32px;padding:0;border-radius:50%;color:#1f5f63;font:600 12px/1 Inter,system-ui,sans-serif;
  border:1px solid rgba(255,255,255,.95);
  background:linear-gradient(180deg,#ffffff 0%,#eef1f6 45%,#cfd5df 55%,#f6f8fb 100%);
  box-shadow:0 0 0 1px rgba(150,140,210,.35),0 0 0 2.5px rgba(230,194,90,.0),0 5px 12px -5px rgba(60,50,150,.55),inset 0 1px 0 #fff;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .25s,color .2s;-webkit-tap-highlight-color:transparent}
.ht-share-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ht-share-btn svg circle{fill:rgba(70,215,205,.35)}
.ht-share-btn:hover{transform:scale(1.12);color:#0d3f43;box-shadow:0 0 0 1px rgba(230,194,90,.95),0 0 12px rgba(70,215,205,.55),0 5px 12px -5px rgba(60,50,150,.55),inset 0 1px 0 #fff}
.ht-share-btn:focus-visible{outline:2px solid #e6c25a;outline-offset:2px}
.ht-share-btn[aria-expanded="true"]{color:#08262a;background:linear-gradient(180deg,#7ff0e6 0%,#46d7cd 55%,#2fb8ae 100%);box-shadow:0 0 0 1px rgba(230,194,90,.95),0 0 10px rgba(70,215,205,.55)}
.ht-share-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* book cards: top-left over the cover (the page's expand button sits top-right) */
.book{position:relative}
.ht-share-btn--card{position:absolute;top:18px;left:18px;z-index:3}
/* new-book banner: inline with the buy buttons */
.ht-share-btn--inline{align-self:center;width:30px;height:30px}
/* press photos */
.ht-photo{position:relative;display:block;min-width:0}
.ht-share-btn--photo{position:absolute;right:12px;bottom:12px;z-index:2}
/* pill: page button + lightbox button */
.ht-share-btn--pill{width:auto;height:auto;display:inline-flex;align-items:center;gap:8px;padding:10px 16px 10px 13px;border-radius:999px;font-size:13px;letter-spacing:.01em;color:#173b40}
.ht-share-btn--pill .ht-share-lbl{position:static;width:auto;height:auto;overflow:visible;clip:auto}
.ht-share-btn--pill:hover{transform:translateY(-1px) scale(1.03)}
.ht-share-page{display:flex;justify-content:center;padding:26px 16px 0}
.ht-share-page .ht-share-btn--pill{box-shadow:0 0 0 1px rgba(150,140,210,.35),0 8px 20px -10px rgba(60,50,150,.6),0 0 18px -6px rgba(70,215,205,.55),inset 0 1px 0 #fff}
.ht-share-modalrow{display:flex;justify-content:center;margin:12px 0 4px}
/* a book card cloned into the page's lightbox: show the button as a pill */
.mbody .ht-share-btn--card{position:static;width:auto;height:auto;display:inline-flex;gap:8px;padding:9px 15px 9px 12px;border-radius:999px;margin-top:12px;align-self:flex-start}
.mbody .ht-share-btn--card .ht-share-lbl{position:static;width:auto;height:auto;overflow:visible;clip:auto}
/* popover */
.ht-share-pop{position:fixed;z-index:2147483100;width:264px;padding:12px 12px 12px;border-radius:20px;color:#1d2236;font:500 13px/1.3 Inter,system-ui,sans-serif;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(240,242,248,.97));border:1px solid rgba(255,255,255,.95);
  box-shadow:0 0 0 1px rgba(150,140,210,.4),0 0 0 3px rgba(70,215,205,.12),0 22px 50px -18px rgba(50,40,130,.55);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:htShareIn .22s cubic-bezier(.2,.9,.3,1.2)}
@keyframes htShareIn{from{opacity:0;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:none}}
.ht-share-pop__head{display:flex;align-items:center;justify-content:space-between;margin:0 0 4px}
.ht-share-pop__t{font-family:Michroma,system-ui,sans-serif;font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  background:linear-gradient(90deg,#2a8a92,#46d7cd 40%,#b9a7ff 70%,#c4a24a);-webkit-background-clip:text;background-clip:text;color:transparent;padding-top:.15em}
.ht-share-pop__x{appearance:none;border:0;background:rgba(120,110,180,.12);color:#3a3f58;width:26px;height:26px;border-radius:50%;cursor:pointer;font-size:17px;line-height:1}
.ht-share-pop__x:hover{background:rgba(70,215,205,.25)}
.ht-share-pop__what{margin:0 0 10px;font-size:12px;color:#5a5f78;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht-share-pop__grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ht-share-it{appearance:none;display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 10px;border-radius:12px;cursor:pointer;text-decoration:none;color:#1d2236;font:inherit;text-align:left;
  background:linear-gradient(180deg,#fff,#f1f3f8);border:1px solid rgba(150,140,210,.28);box-shadow:inset 0 1px 0 #fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.ht-share-it:hover,.ht-share-it:focus-visible{border-color:rgba(70,215,205,.9);box-shadow:0 0 0 2px rgba(70,215,205,.22);outline:0;transform:translateY(-1px)}
.ht-share-it svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ht-share-it svg.f,.ht-share-it svg .f{fill:currentColor;stroke:none}
.ht-share-it--copy{grid-column:1/-1;color:#0f4a4f;background:linear-gradient(180deg,#e8fffc 0%,#c4f1ed 50%,#a3e3de 51%,#dcf8f5 100%);border-color:rgba(42,138,146,.45)}
.ht-share-it--copy.is-done{border-color:#e6c25a;box-shadow:0 0 0 2px rgba(230,194,90,.35)}
.ht-share-it--fb svg{color:#1877f2}.ht-share-it--wa svg{color:#1faa53}.ht-share-it--x svg{color:#111}.ht-share-it--mail svg{color:#7a5fd0}.ht-share-it--msg svg{color:#7b3cff}.ht-share-it--sms svg{color:#2a8a92}
.ht-share-pop__url{display:block;width:100%;box-sizing:border-box;margin:8px 0 0;padding:7px 9px;border-radius:10px;border:1px solid rgba(150,140,210,.3);background:#fff;color:#4a4f68;font:12px/1.2 ui-monospace,Menlo,monospace}
.ht-share-pop.is-sheet{left:10px!important;right:10px;top:auto!important;bottom:max(10px,env(safe-area-inset-bottom));width:auto}
@media (max-width:560px){.ht-share-btn--card{top:16px;left:16px;width:30px;height:30px}.ht-share-btn--photo{right:9px;bottom:9px}}
@media (prefers-reduced-motion:reduce){.ht-share-btn,.ht-share-it{transition:none}.ht-share-pop{animation:none}}
