/* Lock box for locked articles and concepts (content tiers, 2026-11-22). Marginalia Bold:
   solid colours, no borders, rounded white card with a hard yellow offset + soft lift. */
.pl-gate{position:relative;margin:6px 0 40px}
.pl-gate-fade{display:grid;gap:12px;padding:6px 0 22px}
.pl-gate-fade span{display:block;height:13px;border-radius:7px;background:#e9e2d0}
.pl-gate-fade span:nth-child(1){width:96%;opacity:.9}
.pl-gate-fade span:nth-child(2){width:88%;opacity:.65}
.pl-gate-fade span:nth-child(3){width:92%;opacity:.4}
.pl-gate-fade span:nth-child(4){width:70%;opacity:.2}
.pl-gate-card{background:#fff;border-radius:20px;padding:30px 30px 26px;text-align:center;
  box-shadow:7px 7px 0 var(--hl,#ffd435),0 18px 44px rgba(21,26,46,.12)}
.pl-gate-inside{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0 0 18px}
.pl-gate-inside-l{font-size:13px;font-weight:700;color:var(--ink-soft,#555b70);margin-right:2px}
.pl-gate-chip{font-size:13px;font-weight:800;color:var(--ink,#191f33);background:#fff4c2;padding:6px 12px;border-radius:999px;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-gate-chip--plain{background:#f1ece0}
.pl-gate-h{font-size:clamp(22px,3.4vw,28px);font-weight:800;line-height:1.22;letter-spacing:-.015em;margin:0 auto 10px;max-width:24ch}
.pl-gate-mark{background:var(--hl,#ffd435);padding:0 .18em;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.pl-gate-sub{font-size:16px;line-height:1.5;color:var(--ink-soft,#555b70);margin:0 auto 22px;max-width:44ch}
.pl-gate-acts{display:flex;flex-direction:column;align-items:center;gap:12px}
.pl-gate-go{padding:14px 30px;font-size:16px;min-width:220px}
.pl-gate-login{font-family:inherit;font-size:14px;color:var(--ink-soft,#555b70);background:none;border:0;cursor:pointer;padding:8px}
.pl-gate-login b{color:var(--ink,#191f33);text-decoration:underline;text-underline-offset:3px}

/* one tier's copy at a time; "Log in" only for visitors */
.pl-gate[data-tier="login"] [data-for="paid"],
.pl-gate[data-tier="paid"] [data-for="login"]{display:none}
.pl-gate.signed-in [data-anon]{display:none}

/* while gate.js checks the reader, hide the card (a reader with access never sees it flash);
   if the check stalls, the card shows anyway after 2.5 s */
.pl-gate.is-loading .pl-gate-card{visibility:hidden;animation:plGateShow 0s linear 2.5s forwards}
@keyframes plGateShow{to{visibility:visible}}

@media (max-width:560px){
  .pl-gate-card{padding:24px 18px 20px;box-shadow:5px 5px 0 var(--hl,#ffd435),0 14px 32px rgba(21,26,46,.12)}
  .pl-gate-go{width:100%;min-width:0}
}

/* tier tags on lists (concept timelines, listings) */
.tier-tag{display:inline-block;white-space:nowrap;flex:none;font-size:11px;font-weight:800;letter-spacing:.02em;padding:2px 8px;border-radius:999px;
  vertical-align:middle;margin-left:4px;text-transform:none}
.tier-tag--login{background:#f1ece0;color:var(--ink,#191f33)}
.tier-tag--paid{background:var(--ink,#191f33);color:var(--hl,#ffd435)}
