/* Mobile share button + iPhone-style share sheet on every page (operator 2026-10-15, sheet restyled 2026-10-17). Hidden at 901px and wider. */
.ws-share-btn,.ws-sheet,.ws-sheet-backdrop{display:none}
@media (max-width:900px){
  .ws-share-btn{display:grid;place-items:center;position:fixed;right:14px;bottom:84px;z-index:90;width:52px;height:52px;border-radius:50%;border:2px solid #c8a84b;background:#0b1e3d;color:#c8a84b;box-shadow:0 6px 18px rgba(0,0,0,.35);cursor:pointer;padding:0}
  .ws-share-btn img{width:24px;height:24px;display:block}
  .ws-share-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
  .ws-sheet-backdrop{display:block;position:fixed;inset:0;z-index:998;background:rgba(0,0,0,.38);opacity:0;pointer-events:none;transition:opacity .28s ease}
  .ws-sheet-backdrop.open{opacity:1;pointer-events:auto}
  .ws-sheet{--bg:rgba(242,242,247,.97);--card:#fff;--tx:#000;--sub:#8e8e93;--sep:rgba(60,60,67,.18);--x:rgba(120,120,128,.2);
    display:block;position:fixed;left:0;right:0;bottom:0;z-index:999;box-sizing:border-box;max-height:88vh;overflow-y:auto;overscroll-behavior:contain;
    background:var(--bg);-webkit-backdrop-filter:saturate(180%) blur(24px);backdrop-filter:saturate(180%) blur(24px);border-radius:14px 14px 0 0;
    padding:6px 16px calc(18px + env(safe-area-inset-bottom));font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;color:var(--tx);
    transform:translateY(105%);transition:transform .34s cubic-bezier(.32,.72,0,1);box-shadow:0 -8px 40px rgba(0,0,0,.25)}
  .ws-sheet.open{transform:translateY(0)}
  .ws-sheet[hidden]{display:none}
  .ws-sheet-grab{width:36px;height:5px;border-radius:3px;background:var(--sub);opacity:.5;margin:2px auto 10px;touch-action:none}
  .ws-sheet-head{display:flex;align-items:center;gap:12px;background:var(--card);border-radius:14px;padding:12px 14px}
  .ws-sheet-head .th{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none;background:#e8edf5}
  .ws-sheet-head .tx{min-width:0;flex:1}
  .ws-sheet-head strong{display:block;font-size:15px;font-weight:600;line-height:1.25;color:var(--tx);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .ws-sheet-head span{display:block;font-size:13px;color:var(--sub);margin-top:2px}
  .ws-sheet-head .x{flex:none;width:30px;height:30px;border-radius:50%;border:0;background:var(--x);color:var(--sub);font-size:18px;line-height:30px;font-weight:600;cursor:pointer;padding:0}
  .ws-sheet-apps{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;margin:14px -16px 0;padding:2px 16px 6px;scrollbar-width:none}
  .ws-sheet-apps::-webkit-scrollbar{display:none}
  .ws-sheet-apps a{flex:none;width:74px;display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--tx);scroll-snap-align:start;-webkit-tap-highlight-color:transparent}
  .ws-sheet-apps img{width:60px;height:60px;display:block;border-radius:13.4px}
  .ws-sheet-apps span{font-size:12px;line-height:1.2;text-align:center;color:var(--tx)}
  .ws-sheet-apps a:active img{opacity:.6}
  .ws-sheet-list{margin-top:14px;background:var(--card);border-radius:14px;overflow:hidden}
  .ws-sheet-list button{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;border:0;background:transparent;color:var(--tx);font:inherit;font-size:17px;padding:0 16px;min-height:50px;text-align:left;cursor:pointer}
  .ws-sheet-list button+button{border-top:.5px solid var(--sep)}
  .ws-sheet-list button:active{background:var(--sep)}
  .ws-sheet-list img{width:28px;height:28px;display:block;border-radius:6.3px}
  .ws-sheet-list svg{width:22px;height:22px;color:var(--sub)}
  .ws-toast{position:fixed;left:50%;top:18px;transform:translateX(-50%);z-index:1000;background:rgba(28,28,30,.94);color:#fff;font:600 15px -apple-system,BlinkMacSystemFont,system-ui,sans-serif;padding:10px 18px;border-radius:999px;white-space:nowrap;box-shadow:0 6px 20px rgba(0,0,0,.3)}
  .ws-toast[hidden]{display:none}
}
@media (max-width:900px){.ws-sheet,.ws-sheet *{letter-spacing:0!important;text-transform:none!important}.ws-sheet-list button{font-weight:400!important;font-size:17px!important}}
@media (max-width:900px) and (prefers-color-scheme:dark){
  .ws-sheet{--bg:rgba(28,28,30,.97);--card:#2c2c2e;--tx:#fff;--sub:#98989f;--sep:rgba(84,84,88,.6);--x:rgba(120,120,128,.36)}
}
@media (prefers-reduced-motion:reduce){.ws-sheet,.ws-sheet-backdrop{transition:none}}
