/* x2 t411: blog post share buttons — brand-colour pills (row), sticky round rail (desktop), bottom bar (phone), copied toast */
.bsh{--fb:#1877f2;--x:#000;--tg:#229ed9;--wa:#25d366;--in:#0a66c2;--em:#6b6b6b;--ln:#8a1d14;--na:#8a1d14}
.bsh-b{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;color:#fff!important;text-decoration:none!important;font:600 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;transition:transform .15s,box-shadow .15s,filter .15s}
.bsh-b svg{width:18px;height:18px;fill:currentColor;flex:none}
.bsh-b i{font-style:normal}
.bsh-b:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.18);filter:brightness(1.08);color:#fff!important}
.bsh-b:focus-visible{outline:3px solid #f3c1bd;outline-offset:2px}
.bsh-b.fb{background:var(--fb)}.bsh-b.x{background:var(--x)}.bsh-b.tg{background:var(--tg)}.bsh-b.wa{background:var(--wa)}.bsh-b.in{background:var(--in)}.bsh-b.em{background:var(--em)}.bsh-b.ln{background:var(--ln)}.bsh-b.na{background:var(--na)}
.bsh-b[hidden]{display:none!important}
/* row: under title & at end */
.bsh-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 4px;padding:0}
@media (min-width:761px){.bsh-b.na{display:none!important}}
.bsh-row .bsh-lbl{font:700 12px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#6b6b6b;margin-right:4px}
.bsh-row .bsh-b{height:38px;padding:0 16px;border-radius:999px}
.bsh-end{margin:26px 0 8px;padding:20px 22px;border:1px solid #e4e4e4;border-left:4px solid #8a1d14;border-radius:12px;background:#fafafa}
.bsh-end>b{display:block;font-size:17px;margin-bottom:2px}
.bsh-end .bsh-row{border-top:0;margin:8px 0 0;padding:0}
.bsh-end .bsh-lbl{display:none}
/* rail: desktop sticky vertical */
.bsh-rail{position:fixed;left:max(12px,calc(50% - 600px));top:50%;transform:translate(-14px,-50%);display:flex;flex-direction:column;gap:10px;z-index:40;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.bsh-rail.on{opacity:1;pointer-events:auto;transform:translate(0,-50%)}
.bsh-rail .bsh-b{width:44px;height:44px;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.14)}
.bsh-rail .bsh-b i{display:none}
.bsh-rail .bsh-b.em{display:none}
.bsh-bar{display:none}
@media (max-width:1180px){.bsh-rail{display:none}}
/* phone: bottom bar, icons only, labels hidden in rows */
@media (max-width:760px){
 .bsh-row{gap:6px} .bsh-row .bsh-b{width:38px;height:38px;padding:0;border-radius:50%}
 .bsh-row .bsh-b i{display:none}
 .bsh-row .bsh-lbl{width:100%;margin:0 0 2px}
 .bsh-bar{display:flex;position:fixed;left:0;right:0;bottom:56px;z-index:899;background:#fff;border-top:1px solid #e4e4e4;box-shadow:0 -4px 14px rgba(0,0,0,.08);padding:7px 8px;justify-content:space-around;transform:translateY(calc(100% + 60px));transition:transform .25s}
 .bsh-bar.on{transform:none}
 body.bsh-bar-on .desp-totop,body.bsh-bar-on #desp-totop{bottom:126px!important;transition:bottom .25s}
 .bsh-bar .bsh-b{width:40px;height:40px;border-radius:50%}
 .bsh-bar .bsh-b i,.bsh-bar .bsh-b.em,.bsh-bar .bsh-b.in{display:none}
}
.bsh-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#1f1f1f;color:#fff;padding:11px 20px;border-radius:999px;font:600 14px/1 system-ui,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100}
.bsh-toast.on{opacity:1;transform:translate(-50%,0)}
@media (max-width:760px){.bsh-toast{bottom:136px}}

/* t655: compact meta-line share trigger + popover. Bottom .bsh-end card stays as the full row. */
.bsh-mi{display:inline-flex;align-items:center;gap:5px;margin:0;padding:4px 11px;border:0;border-radius:999px;background:rgba(255,255,255,.18);color:inherit;font:inherit;cursor:pointer;line-height:1.2}
.bsh-mi svg{width:14px;height:14px;fill:currentColor;flex:none;opacity:.95}
.bsh-mi:hover,.bsh-mi[aria-expanded=true]{background:rgba(255,255,255,.3)}
.bsh-mi:focus-visible,.bsh-x:focus-visible{outline:3px solid #f3c1bd;outline-offset:2px}
/* blog author row (light surface) */
.blg-author .bsh-mi{background:#fff;color:#7d0001;border:1px solid #e3d3d3;font:700 13px/1 Tahoma,sans-serif;height:32px;padding:0 12px;flex:none;margin-left:auto}
.blg-author .bsh-mi:hover,.blg-author .bsh-mi[aria-expanded=true]{background:#fbf1f1;border-color:#d9b9b9}
/* popover / fallback sheet */
.bsh-pop{position:fixed;z-index:2300;width:320px;max-width:calc(100vw - 16px);background:#fff;border:1px solid #eadede;border-radius:14px;box-shadow:0 14px 40px rgba(40,0,0,.18),0 2px 6px rgba(0,0,0,.06);padding:10px 10px 12px;animation:bshIn .16s ease-out}
.bsh-pop[hidden],.bsh-scrim[hidden]{display:none!important}
@keyframes bshIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.bsh-phd{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px 6px;border-bottom:1px solid #f3eaea;margin-bottom:6px}
.bsh-phd b{font:700 14px Tahoma,sans-serif;color:#5a1010}
.bsh-x{width:30px;height:30px;border:0;border-radius:50%;background:none;color:#7a6a6a;cursor:pointer;display:grid;place-items:center}
.bsh-x:hover{background:#f6eeee}.bsh-x svg{width:16px;height:16px;fill:currentColor}
.bsh-pop .bsh{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:0;padding:0}
.bsh-pop .bsh-b{justify-content:flex-start;gap:10px;height:auto;min-height:44px;padding:6px 8px;border-radius:10px;background:none!important;color:#2b1d1d!important;font:600 13.5px/1.2 Tahoma,sans-serif;box-shadow:none!important;transform:none!important;filter:none!important;text-align:left}
.bsh-pop .bsh-b:hover{background:#f8f0f0!important}
.bsh-pop .bsh-b svg{width:32px;height:32px;padding:7px;box-sizing:border-box;border-radius:50%;color:#fff;fill:#fff}
.bsh-pop .fb svg{background:var(--fb)}.bsh-pop .x svg{background:var(--x)}.bsh-pop .tg svg{background:var(--tg)}.bsh-pop .wa svg{background:var(--wa)}.bsh-pop .in svg{background:var(--in)}.bsh-pop .em svg{background:var(--em)}.bsh-pop .ln svg,.bsh-pop .na svg{background:var(--ln)}
.bsh-scrim{position:fixed;inset:0;z-index:2290;background:rgba(20,0,0,.38);animation:bshFade .18s}
@keyframes bshFade{from{opacity:0}to{opacity:1}}
html.bsh-lock,html.bsh-lock body{overflow:hidden}
.bsh-pop.sheet{left:0!important;right:0;top:auto!important;bottom:0;width:auto;max-width:none;border-radius:18px 18px 0 0;padding:8px 14px calc(16px + env(safe-area-inset-bottom));animation:bshUp .22s ease-out}
.bsh-pop.sheet:before{content:"";display:block;width:38px;height:4px;border-radius:4px;background:#e2d6d6;margin:0 auto 8px}
@keyframes bshUp{from{transform:translateY(100%)}to{transform:none}}
.bsh-pop.sheet .bsh{grid-template-columns:repeat(4,1fr);gap:8px 4px;padding-top:6px}
.bsh-pop.sheet .bsh-b{flex-direction:column;justify-content:flex-start;gap:6px;padding:6px 2px;font-size:12px;text-align:center}
.bsh-pop.sheet .bsh-b svg{width:48px;height:48px;padding:13px}
/* no share bar on phones anymore: sit the copied-toast at a normal offset */
@media (max-width:760px){
 .bsh-toast{bottom:calc(28px + env(safe-area-inset-bottom))}
 .blg-author{flex-wrap:wrap}
 .blg-author .bsh-mi{margin-left:0}
}

/* t655: compact quiet share icons — bottom card and top popover.
   32-34px outline buttons, dark gray icons, burgundy hover. Labels live in the title/tooltip. */
.bsh-end,.arx-end{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 22px 16px;padding:10px 0 2px;border:0;border-top:1px solid #efe6e6;border-radius:0;background:none;box-shadow:none}
.bsh-end>b,.arx-end b{display:inline;margin:0;padding:0;color:#5a1010;font:700 13px/32px Tahoma,sans-serif;flex:none}
.bsh-end .bsh-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0}
.bsh-end .bsh-lbl{display:none}
.bsh-end .bsh-b,
.bsh-pop .bsh-b{width:32px;height:32px;min-width:32px;min-height:32px;padding:0;margin:0;border-radius:50%;border:1px solid #d8d0d0;background:#fff!important;color:#4a4545!important;box-shadow:none!important;transform:none!important;filter:none!important;gap:0}
.bsh-end .bsh-b i,
.bsh-pop .bsh-b i{display:none!important}
.bsh-end .bsh-b svg,
.bsh-pop .bsh-b svg{width:15px;height:15px;padding:0;border-radius:0;background:none!important;color:currentColor;fill:currentColor}
.bsh-end .bsh-b:hover,
.bsh-end .bsh-b:focus-visible,
.bsh-pop .bsh-b:hover,
.bsh-pop .bsh-b:focus-visible{background:#fbf1f1!important;border-color:#7d0001;color:#7d0001!important;transform:none;filter:none;box-shadow:none}
/* compact popover: a short toolbar of the same icons, not a branded two-column list */
.bsh-pop{width:auto;min-width:0;max-width:calc(100vw - 16px);padding:8px 10px 10px}
.bsh-phd{padding:0 2px 6px;margin-bottom:6px}
.bsh-phd b{font-size:13px}
.bsh-pop .bsh{display:flex;flex-wrap:nowrap;grid-template-columns:none;gap:6px;margin:0;padding:0}
.bsh-pop.sheet{padding:10px 14px calc(14px + env(safe-area-inset-bottom))}
.bsh-pop.sheet .bsh{display:flex;flex-wrap:wrap;justify-content:center;grid-template-columns:none;gap:8px;padding-top:4px}
.bsh-pop.sheet .bsh-b{width:36px;height:36px;min-width:36px;min-height:36px;flex-direction:row;padding:0;font-size:0}
.bsh-pop.sheet .bsh-b svg{width:16px;height:16px;padding:0}
@media (max-width:760px){
 .bsh-end,.arx-end{margin:10px 14px 14px;gap:8px 10px}
 .bsh-end .bsh-b{width:34px;height:34px;min-width:34px;min-height:34px}
}
