/* Nov 14 2026: the binder share sheet + its once-per-binder ask line. bindershare.js */
.bsh { position:fixed; inset:0; z-index:79; display:flex; align-items:center; justify-content:center; overflow-y:auto; overscroll-behavior:contain;
  padding:calc(16px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  background:rgba(6,7,18,.78); opacity:0; transition:opacity .2s ease; }
.bsh::before { content:""; position:fixed; inset:0; z-index:-1; backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
.bsh.show { opacity:1; }
.bsh-box { position:relative; display:flex; flex-direction:column; width:100%; max-width:440px; margin:auto; padding:20px 18px 16px; box-sizing:border-box; border-radius:18px;
  background:radial-gradient(120% 60% at 50% -10%, rgba(120,150,255,.16), transparent 60%), linear-gradient(180deg,#1d2148,#141733);
  border:1px solid rgba(160,180,255,.28); box-shadow:0 0 0 1px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.6); transform:translateY(12px); transition:transform .26s cubic-bezier(.2,.9,.3,1.2); }
.bsh.show .bsh-box { transform:none; }
.bsh-box:focus { outline:none; }
.bsh-x { position:absolute; top:10px; right:10px; width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); color:var(--ink); font:inherit; font-size:15px; cursor:pointer; }
.bsh-k { font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#a9c4ff; }
.bsh-t { margin:2px 40px 12px 0; font-size:19px; line-height:1.2; color:var(--ink); text-wrap:balance; }
.bsh-seg { align-self:flex-start; margin-bottom:10px; }

/* the preview: the page in its pockets, or the whole binder as a wall */
.bsh-frame { padding:10px; border-radius:12px; background:linear-gradient(180deg,#0e1129,#090b1c); border:1px solid rgba(255,255,255,.08); box-shadow:inset 0 2px 10px rgba(0,0,0,.5); }
.bsh-pv { display:grid; grid-template-columns:repeat(var(--cols,3), minmax(0,1fr)); gap:6px; max-width:300px; margin:0 auto; }
.bsh-pv.all { gap:3px; max-width:none; }
.bsh-pk { display:block; aspect-ratio:245/342; border-radius:4px; overflow:hidden; background:#1a1e3c; box-shadow:0 2px 4px rgba(0,0,0,.4); }
.bsh-pv.all .bsh-pk { border-radius:2px; }
.bsh-pk img { width:100%; height:100%; object-fit:cover; display:block; }
.bsh-pk.g { box-shadow:0 0 0 1.5px #dbe1f0, 0 2px 4px rgba(0,0,0,.4); }
.bsh-pv.empty { display:block; padding:30px 0; text-align:center; color:var(--muted); font-size:13px; }
.bsh-more { margin-top:6px; text-align:center; font-size:11.5px; color:var(--muted); }

.bsh-h { margin:16px 0 7px; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.bsh-row { display:flex; gap:8px; } .bsh-row.two > * { flex:1 1 0; min-width:0; }
.bsh-big { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:12px 14px; font-size:14.5px; }
.bsh-note { margin-top:6px; font-size:11.5px; line-height:1.4; color:var(--muted); }
.bsh-ic { display:inline-grid; place-items:center; font-size:16px; line-height:1; }
.bsh-hb { display:flex; align-items:center; gap:10px; padding:10px 12px; text-align:left; cursor:pointer; font:inherit; color:var(--ink);
  border-radius:12px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); transition:border-color .15s ease, background-color .15s ease; }
.bsh-hb:not([disabled]):hover { border-color:rgba(169,196,255,.6); background:rgba(169,196,255,.1); }
.bsh-hb[disabled] { opacity:.5; cursor:default; }
.bsh-hb > span:last-child { display:flex; flex-direction:column; min-width:0; } .bsh-hb b { font-size:13.5px; } .bsh-hb i { font-style:normal; font-size:11.5px; color:var(--muted); }
.bsh-nets { display:grid; grid-template-columns:repeat(auto-fill, minmax(92px, 1fr)); gap:7px; }
.bsh-net { display:flex; align-items:center; justify-content:center; gap:7px; padding:10px 8px; border-radius:11px; font-size:13px; font-weight:700; color:var(--ink); text-decoration:none;
  border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); transition:border-color .15s ease, background-color .15s ease, transform .15s ease; }
a.bsh-net:hover { transform:translateY(-1px); border-color:rgba(255,255,255,.35); background:rgba(255,255,255,.1); }
.bsh-net.wait { opacity:.45; } .bsh-net.wait .bsh-ic { animation:bshPulse 1s ease-in-out infinite; }
@keyframes bshPulse { 50% { opacity:.3; } }
.n-x .bsh-ic { font-weight:900; } .n-facebook .bsh-ic { font-weight:900; color:#6ea0ff; font-family:Georgia, serif; }
.bsh-txt { padding:6px 0; border:0; background:none; color:#a9c4ff; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.bsh-moreapps { align-self:flex-start; margin-top:4px; }
.bsh-err { grid-column:1 / -1; font-size:12.5px; color:#ffbd8a; }
.bsh-foot { margin-top:12px; font-size:11px; line-height:1.4; color:var(--muted); }
.bsh-x:focus-visible, .bsh-hb:focus-visible, .bsh-net:focus-visible, .bsh-txt:focus-visible, .bsh-big:focus-visible { outline:2px solid #fff; outline-offset:2px; }

/* the toolbar button and the once-per-binder line */
.b-sharebtn { white-space:nowrap; }
.bsh-ask { display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; margin:8px 0 4px; padding:9px 10px 9px 14px; border-radius:12px; font-size:13px; line-height:1.35;
  background:linear-gradient(90deg, rgba(169,196,255,.14), rgba(169,196,255,.05)); border:1px solid rgba(169,196,255,.3); }
.bsh-ask > span { flex:1 1 200px; min-width:0; } .bsh-ask .deal-btn { padding:7px 14px; }
.bsh-ask-x { width:30px; height:30px; border-radius:50%; border:0; background:none; color:var(--muted); font:inherit; cursor:pointer; }
.bsh-ask-x:hover { color:var(--ink); background:rgba(255,255,255,.08); }
@media (min-width:640px) { .bsh-box { max-width:520px; padding:22px 22px 18px; } .bsh-pv { max-width:260px; } }
@media (prefers-reduced-motion: reduce) { .bsh, .bsh-box, .bsh-net { transition:none; } .bsh-net.wait .bsh-ic { animation:none; } }
/* phones: the extra Share button shouldn't push the toolbar onto two rows, so a long binder name gets cut instead */
@media (max-width:480px) {
  #binder .b-bar2 .b-picker { max-width:min(38vw, 150px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #binder .b-bar2 .b-sharebtn { display:none; }   /* phones: Share sits on the cards line instead (b-shareline) */
  .bsh-pv:not(.all) { max-width:210px; } .bsh-pv.all { max-height:200px; overflow:hidden; }
}
.bsh-ask { flex-wrap:nowrap; } .bsh-ask > span { flex:1 1 0; }
/* the Share chip at the end of the cards line: phones only (computers have room in the toolbar) */
.b-shareline { display:none; margin-left:auto; padding:5px 12px; border-radius:999px; border:1px solid rgba(169,196,255,.4); background:rgba(169,196,255,.1);
  color:#cfdcff; font:inherit; font-size:12.5px; font-weight:800; cursor:pointer; white-space:nowrap; }
@media (max-width:480px) { .b-shareline { display:inline-flex; align-items:center; } }
.bsh-l, .bsh-r { display:flex; flex-direction:column; min-width:0; }
@media (min-width:900px) {
  .bsh-box { max-width:860px; }
  .bsh-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
  .bsh-pv:not(.all) { max-width:300px; }
  .bsh-r > .bsh-h:first-child { margin-top:0; }
}
.bsh-nets { grid-template-columns:repeat(auto-fill, minmax(112px, 1fr)); }
/* what to share: page(s) on screen, binder art pages, whole binder */
.bsh-opts { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.bsh-opt { padding:7px 13px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.05); color:var(--ink); font:inherit; font-size:13px; font-weight:700; cursor:pointer; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bsh-opt:hover { border-color:rgba(255,255,255,.35); }
.bsh-opt.on { background:var(--accent); border-color:var(--accent); color:#1a1405; }
.bsh-opt:focus-visible, .bsh-fmt:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.bsh-art { display:block; max-width:100%; max-height:340px; margin:0 auto; border-radius:6px; box-shadow:0 4px 14px rgba(0,0,0,.5); }
.bsh-row.three { margin-top:8px; } .bsh-row.three > * { flex:1 1 0; min-width:0; }
.bsh-fmt { display:flex; flex-direction:column; align-items:center; gap:1px; padding:8px 6px; border-radius:10px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); color:var(--ink); font:inherit; cursor:pointer; }
.bsh-fmt:hover { border-color:rgba(255,214,90,.5); } .bsh-fmt b { font-size:13px; } .bsh-fmt i { font-style:normal; font-size:11px; color:var(--muted); }
@media (max-width:480px) { .bsh-art { max-height:240px; } }
/* Nov 14 2026 b: chips in binder order, art pages marked; the art page previews instantly (the binder's own page drawing) */
.bsh-opts { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; } .bsh-opts::-webkit-scrollbar { display:none; }
.bsh-opt { flex:none; display:inline-flex; align-items:center; gap:6px; }
.bsh-dot { width:9px; height:9px; border-radius:2px; background:conic-gradient(#ff7a7a,#ffd54a,#6fe3a0,#7ab8ff,#c99bff,#ff7a7a); }
.bsh-live { pointer-events:none; display:flex; justify-content:center; max-height:360px; overflow:hidden; }
.bsh-live .bpage { width:300px !important; max-width:100%; margin:0; box-shadow:none; }
.bsh-live .bp-head .bp-hbtn, .bsh-live .bp-head .bp-chip, .bsh-live .bcard-price, .bsh-live .bp-tip { display:none !important; }
.bsh-rd { display:inline-grid; place-items:center; width:18px; height:18px; border-radius:50%; background:#ff5a1f; color:#fff; font-size:9.5px; font-weight:900; letter-spacing:-.5px; }
@media (max-width:480px) { .bsh-live .bpage { width:230px !important; } .bsh-live { max-height:280px; } }
.bsh-live .bp-head { display:none !important; }
/* Nov 14 2026: binder settings is a gear; the cards line on phones keeps just count, value and Share (the best card lives in the value panel) */
.b-gear { display:block; }
#binder .b-arr { display:inline-flex; align-items:center; gap:4px; }
@media (max-width:480px) { #binder .b-crownline { display:none !important; } }
/* prices on: the REV tag moves to the bottom-left so the price pill can't cover it (above an edition tag if there is one) */
#binder.b-tidy:not(.b-noprice) .bcard .brev { bottom:28px; }   /* stacked just above the price pill */
#binder.b-tidy:not(.b-noprice) .b-d4 .bcard .brev { bottom:21px; }
#binder.b-tidy .b-dense .bcard .brev { bottom:6px; }
/* Nov 14 2026: a small Holobrook mark on the binder and All my cards (they cover the whole screen); tap = home */
.hb-brand { display:inline-flex; align-items:center; gap:7px; flex:none; padding:3px 10px 3px 3px; margin:-3px 4px -3px -3px; border:0; border-radius:999px; background:none; color:inherit; font:inherit; cursor:pointer; }
.hb-brand img { display:block; width:22px; height:22px; border-radius:6px; }
.hb-brand:hover { background:rgba(255,255,255,.06); }
.hb-brand:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.hb-word { font-family:var(--pixel); font-size:12px; letter-spacing:.02em; }
.b-line .hb-brand { border-right:1px solid rgba(255,255,255,.12); border-radius:999px 0 0 999px; margin-right:6px; }
.allc-brand { align-self:center; padding:3px; } .allc-brand img { width:26px; height:26px; }
@media (max-width:640px) { .hb-word { display:none; } .b-line .hb-brand { padding-right:8px; } }
/* phones: the binder's ✕ sits top right (it used to wrap onto its own toolbar row) */
@media (max-width:480px) {
  #binder.show .b-xbtn { position:fixed !important; top:calc(10px + env(safe-area-inset-top, 0px)); right:max(10px, env(safe-area-inset-right, 0px)); z-index:56; display:grid !important; place-items:center; width:38px !important; height:38px !important; min-width:0 !important; padding:0 !important; border-radius:50% !important; line-height:1 !important; font-size:15px; }
  #binder .b-line { padding-right:46px; }
}
@media (max-width:420px) { .b-shareline .bsl-t { display:none; } .b-shareline { padding:5px 10px; } }
@media (max-width:480px) { #binder .b-slabn { display:none; } }
