/* Paper Daily share module (deep-dive pages only). Generated into share/share.css by src/share.py. */
.pd-sh-cell{border:0;background:none;padding:0 0 0 26px;margin:0;font:inherit;color:var(--ink2);cursor:pointer;text-align:center;border-left:1px solid var(--line);line-height:inherit}
/* the icon sits in a <b> like the other cells' numbers, so it gets the same line box and the labels align */
.pd-sh-cell b{display:block;color:var(--red)}
.pd-sh-cell svg{display:inline-block;width:19px;height:19px;vertical-align:-.17em}
.pd-sh-cell:hover,.pd-sh-cell[aria-expanded=true]{color:var(--red)}
.pd-sh-cell:focus-visible,.pd-sh-btn:focus-visible,.pd-sh-it:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:6px}
.pd-ic{width:16px;height:16px;flex:none}
/* B: end-of-article card */
.pd-shB{margin:44px 0 0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--tint);display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap}
.pd-shB-t{font:600 15px/1.4 var(--serif);color:var(--ink)}
.pd-shB-t small{display:block;font:12.5px/1.5 var(--sans);color:var(--mute);font-weight:400}
.pd-sh-acts{display:flex;flex-wrap:wrap;gap:8px}
.pd-sh-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);font:500 13px/1 var(--sans);cursor:pointer;text-decoration:none}
.pd-sh-btn .pd-ic{width:15px;height:15px}
.pd-sh-btn:hover,.pd-sh-btn[aria-expanded=true]{border-color:var(--red);color:var(--red);text-decoration:none}
/* beat the article link style (.long a{color:var(--tc);text-decoration:underline}) */
.long .pd-shB a.pd-sh-btn{color:var(--ink);text-decoration:none}
.long .pd-shB a.pd-sh-btn:hover{color:var(--red)}
/* desktop popover */
.pd-pop{position:absolute;z-index:70;width:248px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 36px rgba(20,20,20,.16);padding:6px;text-align:left}
.pd-pop:before{content:"";position:absolute;top:-6px;left:var(--ax,120px);width:10px;height:10px;background:var(--paper);border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.pd-pop.up:before{top:auto;bottom:-6px;transform:rotate(225deg)}
.pd-sh-it{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--ink);font:500 13.5px/1 var(--sans);cursor:pointer;text-decoration:none;box-sizing:border-box}
.pd-sh-it .pd-ic{color:var(--ink2)}
.pd-sh-it:hover{background:var(--tint);text-decoration:none;color:var(--ink)}
.pd-pop-wx{display:flex;gap:12px;align-items:center;margin:4px 4px 2px;padding:10px 8px 8px;border-top:1px solid var(--line)}
.pd-pop.qr-only .pd-pop-wx{border-top:0;margin-top:0}
.pd-qr{flex:none;width:84px;height:84px;padding:5px;background:#fff;color:#141414;border:1px solid var(--line);border-radius:6px;box-sizing:content-box}
.pd-qr svg{display:block;width:100%;height:100%}
.pd-pop-wx b{display:flex;align-items:center;gap:5px;font:600 13px/1.3 var(--sans);color:var(--ink)}
.pd-pop-wx b .pd-ic{width:15px;height:15px;color:#2AAE67}
.pd-pop-wx small{display:block;margin-top:4px;font:12px/1.5 var(--sans);color:var(--mute)}
/* mobile bottom sheet */
.pd-dim{position:fixed;inset:0;z-index:80;background:rgba(10,10,10,.42)}
.pd-bs{position:fixed;left:0;right:0;bottom:0;z-index:81;background:var(--paper);border-radius:16px 16px 0 0;padding:10px 16px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(0,0,0,.18)}
.pd-bs-grab{width:36px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 12px}
.pd-bs-h{margin:0 0 4px;font:600 15px/1.4 var(--serif);color:var(--ink);text-align:center}
.pd-bs-sub{margin:0 0 16px;font:12px/1.5 var(--sans);color:var(--mute);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pd-bs-g{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pd-bs-g>*{display:flex;flex-direction:column;align-items:center;gap:8px;border:0;background:none;color:var(--ink2);font:500 12px/1.2 var(--sans);text-decoration:none;cursor:pointer;padding:0}
.pd-bs-g i{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:26px;background:var(--tint);color:var(--ink)}
.pd-bs-g i .pd-ic{width:22px;height:22px}
.pd-bs-g .pri i{background:var(--red);color:#fff}
.pd-bs-x{display:block;width:100%;margin-top:16px;height:44px;border:0;border-radius:12px;background:var(--tint);color:var(--ink);font:500 14px/1 var(--sans);cursor:pointer}
/* toast */
.pd-toast{position:fixed;left:50%;bottom:40px;transform:translateX(-50%);background:var(--ink);color:var(--paper);font:500 14px/1.3 var(--sans);padding:12px 18px;border-radius:20px;z-index:99;box-shadow:0 8px 24px rgba(0,0,0,.2);max-width:calc(100vw - 40px);text-align:center}
/* poster sheet */
.pd-ps{position:fixed;inset:0;z-index:90;background:rgba(10,10,10,.72);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px}
.pd-ps img{display:block;-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto;pointer-events:auto;position:relative;z-index:1;max-width:min(78vw,460px);max-height:calc(100vh - 170px);border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.4);background:#FBF6EC}
.pd-ps p{margin:0;color:#fff;font:500 14px/1.4 var(--sans);opacity:.92;text-align:center}
.pd-ps-x{position:absolute;top:12px;right:14px;width:40px;height:40px;border:0;background:none;color:#fff;font:400 28px/1 var(--sans);cursor:pointer}
.pd-ps-acts{display:flex;gap:10px}
.pd-ps-acts a,.pd-ps-acts button{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 18px;border-radius:19px;border:0;background:#fff;color:#141414;font:600 14px/1 var(--sans);text-decoration:none;cursor:pointer}
.pd-ps-ld{display:flex;flex-direction:column;align-items:center;gap:14px;color:#fff;font:500 14px/1.4 var(--sans)}
.pd-spin{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;animation:pdspin .8s linear infinite}
@keyframes pdspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.pd-spin{animation-duration:2.4s}}
/* mobile: keep the stats strip on one row (compact rank cell, its link may wrap to 2 lines) */
@media (max-width:640px){
  .rmeta.pd-sh-has{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;gap:0 10px;padding:12px 2px;font-size:12px}
  .rmeta.pd-sh-has>*{flex:none}
  .rmeta.pd-sh-has b{font-size:16px}
  .rmeta.pd-sh-has>.pd-rk{flex:0 1 auto;min-width:0}
  .rmeta.pd-sh-has>.pd-rk a{display:block;line-height:1.35;overflow-wrap:anywhere}
  .pd-sh-cell{border-left:0;padding-left:0}
  .pd-shB{padding:16px}
  .pd-sh-acts{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .pd-sh-btn{justify-content:center;height:38px;border-radius:19px}
}
/* C: share card with a mini poster preview, under the 阅读原文 pill (Felix 2026-10-27 「用 C」「手机也加」)
   data-pd-place=side: desktop sidebar; data-pd-place=top: the ≤1180px top box (compact, no heading) */
.pd-shC{background:var(--tint);border-radius:12px;padding:14px 16px 6px}
.pd-shC h6{font-size:11px;letter-spacing:.16em;color:var(--mute);margin:0 0 12px;font-weight:700}
.pd-shC button{font-family:var(--sans);-webkit-tap-highlight-color:transparent}
.pd-shC button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.pd-shC-r{display:flex;gap:14px;align-items:center}
.pd-shC-th{flex:none;position:relative;width:68px;height:92px;padding:0;border:0;border-radius:6px;background:#FBF6EC;color:#1E1A16;box-shadow:0 6px 16px rgba(0,0,0,.16);cursor:pointer;overflow:hidden;text-align:left}
.pd-shC-th:hover{box-shadow:0 0 0 2px var(--red),0 6px 16px rgba(0,0,0,.16)}
.pd-shC-bar{position:absolute;left:0;right:0;top:0;height:3px;background:#D9643A}
.pd-shC-ti{position:absolute;left:7px;right:7px;top:11px;font:700 7.2px/1.28 "Source Serif 4","Source Serif Pro",Georgia,"Noto Serif",var(--serif);letter-spacing:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.pd-shC-ln{position:absolute;left:7px;right:7px;top:52px;height:2px;background:rgba(30,26,22,.14);box-shadow:0 5px 0 rgba(30,26,22,.14),0 10px 0 rgba(30,26,22,.14)}
.pd-shC-th svg{position:absolute;right:6px;bottom:6px;width:20px;height:20px}
.pd-shC-t{min-width:0;flex:1}
.pd-shC-t b{display:block;font:600 14px/1.35 var(--sans);color:var(--ink)}
.pd-shC-t small{display:block;margin:3px 0 10px;font:12px/1.5 var(--sans);color:var(--mute);text-wrap:balance}
.pd-shC-go{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;border:0;border-radius:999px;background:var(--red);color:#fff;font:600 13px/1 var(--sans);cursor:pointer;white-space:nowrap}
.pd-shC-go:hover{filter:brightness(1.06)}
.pd-shC-go .pd-ic{width:15px;height:15px}
.pd-shC-f{display:flex;margin-top:14px;border-top:1px solid var(--line);padding:6px 0 0}
.pd-shC-f button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:38px;border:0;border-radius:8px;background:none;color:var(--ink2);font:500 13px/1 var(--sans);cursor:pointer;white-space:nowrap}
.pd-shC-f button:hover,.pd-shC-f button[aria-expanded=true]{color:var(--red)}
.pd-shC-f button .pd-ic{width:15px;height:15px}
.pd-shC-f i{width:1px;margin:9px 0;background:var(--line)}
.aside .pd-shC{margin-top:0}
/* top box (≤1180px; hidden on desktop with the rest of .r-narrow): compact, sits on --paper inside the --tint box */
.r-links .pd-shC{flex-basis:100%;background:var(--paper);padding:12px 14px 4px;box-sizing:border-box}
.r-links .pd-shC h6{display:none}
.r-links .pd-shC-r{gap:14px}
.r-links .pd-shC-t small{font-size:12.5px;margin:2px 0 10px}
.r-links .pd-shC-t b{font-size:14.5px}
.r-links .pd-shC-go{height:38px;padding:0 16px;font-size:14px}
.r-links .pd-shC-f{margin-top:12px;padding-top:4px}
.r-links .pd-shC-f button{height:42px;font-size:14px}
/* Hoot 夜读鸮 (2026-10-27): reading pose at the right end of the C card's 分享 SHARE heading row, 34px */
.pd-shC h6{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pd-shC h6 .pd-mk-card{display:block;flex:none;width:34px;height:34px;margin:-10px -4px -8px 0}
