/* Trust pop-up (assets/trust.js). One small card, bottom-left; on a phone at the bottom, in the pay bar's place (2026-11-17). 2026-11-07.
   2026-11-08 (Dan via Alfred: "the UI needs to be exactly the same" as the tools that do this): the ProveSource / FOMO card, measured
   on provesrc.com: 330 px wide, white, 7 px corners, shadow 0 5px 20px rgba(0,0,0,.15), no border, picture on the left, line 1 bold 15 px,
   line 2 13 px, line 3 11 px grey time + a small round mark, slides up from the bottom, 10 px from the corner. Slate colors: navy #152a45,
   orange #ee7000 for the accents only. */
.tp{position:fixed;left:12px;bottom:12px;z-index:40;width:340px;max-width:calc(100vw - 24px);box-sizing:border-box;background:#fff;color:#152a45;border-radius:7px;box-shadow:0 5px 20px rgba(0,0,0,.15);padding:7px 30px 7px 7px;font-family:var(--sans,Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif);line-height:1.25;opacity:0;transform:translateY(24px);transition:opacity .35s ease,transform .35s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.tp.on{opacity:1;transform:none;pointer-events:auto}
.tp.tp-still,.tp.tp-still.on{transform:none;transition:none}
.tp-body{display:flex;align-items:center;gap:11px}
.tp-pic{flex:0 0 58px;width:58px;height:58px;border-radius:50%;background:#152a45;color:#fff;display:flex;align-items:center;justify-content:center}
.tp-pic svg{width:28px;height:28px;fill:currentColor}
.tp-pic-buy svg,.tp-pic-week svg{color:#ee7000}
.tp-pic-result,.tp-pic-review{background:#fff4ea}
.tp-pic-result svg,.tp-pic-review svg{color:#ee7000}
.tp-txt{display:flex;flex-direction:column;min-width:0;gap:2px}
.tp-l1{font-size:15px;font-weight:700;color:#152a45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tp-l2{font-size:13px;color:#1f2933;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tp-l2.tp-said{font-style:italic;-webkit-line-clamp:3}
.tp-l3{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:11px;color:#888;margin-top:1px}
.tp-mark{display:inline-flex;align-items:center;gap:4px;color:#666}
.tp-mark svg{width:13px;height:13px;fill:#ee7000;flex:0 0 13px}
.tp-stars{color:#ee7000;letter-spacing:1px;font-size:12px;font-weight:400;white-space:nowrap}
.tp-x{position:absolute;top:4px;right:4px;width:24px;height:24px;padding:0;border:0;background:transparent;color:#888;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center}
.tp-x svg{width:12px;height:12px}
.tp-x:hover,.tp-x:focus-visible{background:rgba(21,42,69,.08);color:#152a45}
@media (max-width:899px){
  .tp{left:8px;right:8px;width:auto;max-width:none;padding:6px 30px 6px 6px}
  .tp-body{gap:10px}
  .tp-pic{flex-basis:48px;width:48px;height:48px}
  .tp-pic svg{width:24px;height:24px}
  .tp-l1{font-size:14px}
  .tp-l2{font-size:12.5px}
}
/* 2026-11-17 (Dan: "the pop-up needs to go by itself ... sits too high"): on a phone the card takes the pay bar's place. trust.js puts
   html.tp-up while a card shows: the bar slides out, the card sits at the bottom; the class goes after the card has gone. */
@media (max-width:899px){html.tp-up .s2-bar,html.tp-up .s2-bar.on{transform:translateY(110%)}}
@media (prefers-reduced-motion:reduce){.tp,.tp.on{transition:none;transform:none}.s2-bar{transition:none}}
