/* PatientZero brand extras (loaded on every page by includes/site-extras.php, after main.css).
   1. Branded card icons  2. Animated logo page loader */

/* ------------------------------------------------------------------ 1. Branded card icons */
.card__icon { position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #E9EBEF;
  border: 1px solid rgba(247,248,250,.12);
  background: radial-gradient(120% 120% at 100% 0, rgba(229,20,31,.24), transparent 58%), linear-gradient(180deg, #1C1E23, #0D0E11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 28px -14px rgba(229,20,31,.45);
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
.card__icon::after { content: ""; position: absolute; top: 7px; right: 7px; width: 3px; height: 3px; border-radius: .5px; background: #E5141F;
  box-shadow: -4.5px 0 0 rgba(229,20,31,.55), 0 4.5px 0 rgba(229,20,31,.3), -4.5px 4.5px 0 rgba(229,20,31,.12); }
.card__icon > svg { width: 26px; height: 26px; stroke: url(#pz-ico-silver24) #E9EBEF; stroke-width: 1.7; filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); }
.card__icon--danger { border-color: rgba(229,20,31,.42);
  background: radial-gradient(120% 120% at 100% 0, rgba(229,20,31,.42), transparent 62%), linear-gradient(180deg, #24171B, #0D0E11); }
.card__icon--danger > svg { stroke: #FF3B45; }
.card:hover .card__icon { border-color: rgba(229,20,31,.45); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 36px -12px rgba(229,20,31,.65); }
/* Large custom check icons (check_cards()) */
.card__icon--check { width: 72px; height: 72px; border-radius: 18px; }
.card__icon--check::after { top: 8px; right: 8px; }
.card__icon--check > svg { width: 44px; height: 44px; stroke: none; }
.card__n { position: absolute; left: 7px; bottom: 5px; font-family: var(--mono, monospace); font-size: 9px; letter-spacing: .08em; color: rgba(201,205,211,.45); }
.arch__node .card__icon { margin-inline: auto; }

/* ------------------------------------------------------------------ 2. Logo page loader */
#pz-loader { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center;
  background: radial-gradient(55% 45% at 50% 46%, rgba(229,20,31,.12), transparent 70%), #050506;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), visibility .7s; }
.no-js #pz-loader, .pz-nointro #pz-loader { display: none; }
.pz-intro-out #pz-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.pzl { display: grid; justify-items: center; gap: 22px; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.pz-intro-out .pzl { transform: scale(1.08); }
.pzl__mark { width: 104px; height: auto; overflow: visible; filter: drop-shadow(0 10px 40px rgba(229,20,31,.35)); }
.pzl__mark .mark-origin { transform-box: fill-box; transform-origin: center; animation: pzl-origin .55s cubic-bezier(.3,1.5,.5,1) both; }
.pzl__mark .mark-px { transform-box: fill-box; transform-origin: center; animation: pzl-px .42s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(240ms + var(--d, 0) * 42ms); }
.pzl__mark .mark-shield { animation: pzl-shield .75s cubic-bezier(.2,.7,.2,1) .78s both; }
.pzl__word { font-family: Inter, "Segoe UI", Arial, sans-serif; font-weight: 300; font-size: 17px; letter-spacing: .38em; padding-left: .38em; text-transform: uppercase; color: #F7F8FA; animation: pzl-word .7s ease-out 1s both; }
.pzl__word b { font-weight: 300; color: #C9CDD3; }
.pzl__bar { position: relative; width: 150px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(247,248,250,.08); animation: pzl-word .5s ease-out .2s both; }
.pzl__bar i { position: absolute; inset: 0 auto 0 0; width: 45%; background: linear-gradient(90deg, transparent, #E5141F, transparent); animation: pzl-scan 1.15s ease-in-out infinite; }
@keyframes pzl-origin { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: none; } }
@keyframes pzl-px { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes pzl-shield { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: none; } }
@keyframes pzl-word { from { opacity: 0; transform: translateY(8px); letter-spacing: .6em; } to { opacity: 1; transform: none; } }
@keyframes pzl-scan { from { transform: translateX(-110%); } to { transform: translateX(240%); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.pz-forceintro) #pz-loader { display: none; }
  .card__icon { transition: none; } .card:hover .card__icon { transform: none; }
}
