/* CapSkip Black Friday 2026 (mu-plugins/capskip-bf). Version is in the filename (static assets ignore ?ver). */

/* ---- top strip (4, Ali 2026-11-23: urgency + breaking prices). Red = the pricing table's sale accent (Palette A --pa-danger).
   Fixed above the theme's fixed header; the body class moves header and page down. ---- */
.cskbf-strip{position:fixed;top:0;left:0;right:0;z-index:10001;height:40px;overflow:hidden;background:var(--pa-danger,#c9302c);color:#fff;box-shadow:0 1px 0 rgba(0,0,0,.25)}
.cskbf-strip .cskbf-in{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:14px;height:100%;padding:0 16px;color:#fff!important;text-decoration:none!important;font-family:inherit;font-size:14px;line-height:1;white-space:nowrap;overflow:hidden}
.cskbf-strip .cskbf-live{position:relative;flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#fff}
.cskbf-strip .cskbf-live:after{content:"";position:absolute;inset:0;border-radius:50%;background:#fff;animation:cskbf-ping 1.4s cubic-bezier(0,0,.2,1) infinite}
.cskbf-strip .cskbf-tag{padding:5px 9px;border-radius:999px;background:var(--pa-ink,#0a0e14);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cskbf-strip .cskbf-h{font-weight:800;font-size:15px}
.cskbf-strip .cskbf-six{font-weight:600;opacity:.9}
.cskbf-strip .cskbf-cd{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:7px;background:#fff;color:var(--pa-danger,#c9302c);font-weight:800;font-variant-numeric:tabular-nums;box-shadow:0 1px 2px rgba(0,0,0,.15)}
.cskbf-strip .cskbf-cd:empty{display:none}
.cskbf-strip .cskbf-pre{font-weight:700;color:var(--pa-ink,#0a0e14)}
.cskbf-strip.is-last .cskbf-cd{animation:cskbf-beat 1s ease-in-out infinite}
.cskbf-strip .cskbf-go{font-weight:800;text-decoration:underline;text-underline-offset:3px}
.cskbf-strip .cskbf-in:hover .cskbf-go,.cskbf-strip .cskbf-in:focus-visible .cskbf-go{text-decoration-thickness:2px}

/* sale tape (Ali 2026-11-24, option A): striped tape slides in from both edges, fading toward the text,
   then a soft light sweeps across twice. Plays once per page view, then stays still. */
.cskbf-strip .cskbf-fx{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.cskbf-strip .cskbf-tape{position:absolute;top:0;bottom:0;width:38%;opacity:0;background:repeating-linear-gradient(-55deg,rgba(10,14,20,.16) 0 10px,transparent 10px 22px);animation:cskbf-tape 1.1s cubic-bezier(.2,.8,.2,1) .15s forwards}
.cskbf-strip .cskbf-tape.is-l{left:0;-webkit-mask-image:linear-gradient(90deg,#000 40%,transparent);mask-image:linear-gradient(90deg,#000 40%,transparent);--cskbf-from:-60px}
.cskbf-strip .cskbf-tape.is-r{right:0;-webkit-mask-image:linear-gradient(270deg,#000 40%,transparent);mask-image:linear-gradient(270deg,#000 40%,transparent);--cskbf-from:60px}
.cskbf-strip .cskbf-shine{position:absolute;top:-20px;bottom:-20px;left:0;width:180px;transform:translateX(-220px) skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);animation:cskbf-shine 1.1s cubic-bezier(.4,0,.2,1) .9s 2 both}
.cskbf-strip .cskbf-tag{animation:cskbf-pop .5s cubic-bezier(.3,1.6,.5,1) .1s both}
@keyframes cskbf-tape{from{opacity:0;transform:translateX(var(--cskbf-from))}to{opacity:1;transform:none}}
@keyframes cskbf-shine{to{transform:translateX(calc(100vw + 40px)) skewX(-20deg)}}
@keyframes cskbf-pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
@media (max-width:860px){.cskbf-strip .cskbf-tape{display:none}}
@keyframes cskbf-ping{75%,100%{transform:scale(2.4);opacity:0}}
@keyframes cskbf-beat{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.cskbf-strip .cskbf-live:after,.cskbf-strip.is-last .cskbf-cd,.cskbf-strip .cskbf-tag{animation:none}.cskbf-strip .cskbf-tape{animation:none;opacity:1}.cskbf-strip .cskbf-shine{display:none}}

body.cskbf-on #page{padding-top:40px}
body.cskbf-on header.site-header{top:40px}
body.admin-bar .cskbf-strip{top:32px}
body.admin-bar.cskbf-on header.site-header{top:72px}
@media (max-width:782px){body.admin-bar .cskbf-strip{top:46px}body.admin-bar.cskbf-on header.site-header{top:86px}}
@media (max-width:860px){.cskbf-strip .cskbf-six{display:none}}
.cskbf-strip .cskbf-hs{display:none;font-weight:800;font-size:14px}
@media (max-width:560px){.cskbf-strip .cskbf-in{gap:9px;font-size:13px}.cskbf-strip .cskbf-h{display:none}.cskbf-strip .cskbf-hs{display:inline}.cskbf-strip .cskbf-pre{display:none}.cskbf-strip .cskbf-cd{padding:4px 7px}}
@media (max-width:400px){.cskbf-strip .cskbf-go{display:none}.cskbf-strip .cskbf-tag{padding:4px 7px;font-size:10px}}

/* ---- My Account card ---- */
.cskbf-acct .cskbf-eye{display:inline-block;margin:0 0 6px;padding:3px 8px;border-radius:999px;background:#34d27a;color:#04130a;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cskbf-acct{box-sizing:border-box;margin:0 0 20px;padding:18px 20px;border:1px solid rgba(52,210,122,.45);border-radius:16px;background:#0b100d;color:#fff}
.cskbf-acct .cskbf-h{margin:0 0 4px;font-size:20px;font-weight:800;line-height:1.25;color:#fff}
.cskbf-acct .cskbf-p{margin:0 0 14px;font-size:14px;color:rgba(255,255,255,.75)}
.cskbf-acct .cskbf-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cskbf-acct .cskbf-tier{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.04);color:#fff!important;text-decoration:none!important}
.cskbf-acct .cskbf-tier:hover,.cskbf-acct .cskbf-tier:focus-visible{border-color:#34d27a}
.cskbf-acct .cskbf-tier b{font-size:15px}
.cskbf-acct .cskbf-tier span{font-size:18px;font-weight:800;color:#34d27a}
.cskbf-acct .cskbf-tier s{font-size:13px;font-weight:600;color:rgba(255,255,255,.5)}
.cskbf-acct .cskbf-tier small{font-size:12px;color:rgba(255,255,255,.6)}
.cskbf-acct .cskbf-six{margin:12px 0 0;font-size:14px;color:rgba(255,255,255,.8)}
.cskbf-acct .cskbf-six a{color:#34d27a!important;font-weight:700}
.cskbf-acct .cskbf-pay{margin:8px 0 0;font-size:12.5px;color:rgba(255,255,255,.55)}
@media (max-width:560px){.cskbf-acct .cskbf-tiers{grid-template-columns:1fr}}
