/* The reading notice over the paid views after paying (app-paid-reads.js): a small card in Marcus's night colours in
   either theme, as his tour card is; bottom left on a computer (the chat's bubble is bottom right), under the top bar
   on a phone (the tab bar and the tour's card use the foot). Inside a tour's <dialog> it sits over the dimmed page. */
.pd-reads{position:fixed;left:16px;bottom:16px;z-index:210;width:min(340px,calc(100vw - 32px));box-sizing:border-box;padding:12px 40px 12px 12px;
  border:1px solid rgba(207,224,243,.16);border-radius:14px;background:#1B2B40;color:#F1F5FB;box-shadow:0 12px 32px rgba(3,10,20,.42);
  font-size:.9rem;line-height:1.35;animation:pd-reads-in .28s ease both}
.pd-reads p{margin:0}
.pd-reads-head{display:flex;gap:10px;align-items:center}
.pd-reads-mk{flex:none;line-height:0}
.pd-reads-mk .br-mk{width:28px;height:28px}
.pd-reads-t{min-width:0;flex:1}
.pd-reads-n{font-weight:700;font-variant-numeric:tabular-nums}
.pd-reads-bar{display:block;height:3px;margin-top:6px;border-radius:2px;background:rgba(207,224,243,.16);overflow:hidden}
.pd-reads-bar-i{display:block;height:100%;background:#FFF55B;transform-origin:0 50%;transform:scaleX(var(--p,0));transition:transform .4s ease}
.pd-reads-carry{margin-top:4px!important;color:#A9B6C9;font-size:.8rem}
.pd-reads-carry[hidden]{display:none}
.pd-reads-latest{margin-top:10px!important;color:#CFE0F3}
.pd-reads-latest[hidden],.pd-reads-see[hidden],.pd-reads-problem[hidden]{display:none}
.pd-reads-see{margin-top:8px;min-height:34px;padding:0 14px;border:0;border-radius:999px;background:#FFF55B;color:#0B1424;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer}
.pd-reads-see::after{content:" →"}
.pd-reads-see:hover{filter:brightness(.96)}
.pd-reads-problem{margin-top:8px!important;color:#F7C6C6;font-size:.85rem}
.pd-reads-x{position:absolute;top:6px;right:6px;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:none;color:#A9B6C9;font:inherit;font-size:1.2rem;line-height:1;cursor:pointer}
.pd-reads-x:hover{background:rgba(207,224,243,.1);color:#F1F5FB}
.pd-reads :is(button):focus-visible{outline:2px solid #F1F5FB;outline-offset:2px}
@keyframes pd-reads-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html.pf-reduce-motion .pd-reads,html.pf-reduce-motion .pd-reads-bar-i{animation:none;transition:none}
@media (prefers-reduced-motion: reduce){.pd-reads,.pd-reads-bar-i{animation:none;transition:none}}
@media (max-width:640px){
  .pd-reads{left:8px;right:8px;bottom:auto;top:calc(var(--bm-top-h,0px) + 8px);width:auto}
}
