/* Black Friday 2026 (founder 27 Nov, F-059/F-060: "look with discounts is key"). Applies only while the Worker marks the page
   <html data-festive="blackfriday"> (tools/festive.js: 27 Nov to the end of 3 Dec, India time), so afterwards nothing here matches.
   Music mode (html.lite) is left alone; "Animations off" (html.still) and reduced motion keep the look but nothing moves. */
html[data-festive="blackfriday"]:not(.lite){--a1:#e9c47a;--a2:#c99a4b;--beam:#f3e1b6;--bf-gold:#e9c47a;--bf-gold-hi:#fff1c9;--bf-ink:#0b0a0c}

/* The offer band across the top of the home hero: black glass, a fine gold rule, scrolls away with the hero. Its content sits on the
   site's .wrap column (founder F-062: no empty sides), so its edges line up with the header at 1440 and with the search box and buttons
   on a phone. The hero (a centred flex box) moves its content down by the band's height so nothing sits under it. */
.bp-bf{position:absolute;left:0;right:0;top:0;z-index:4;
 background:linear-gradient(180deg,rgba(8,7,9,.86),rgba(8,7,9,.66));border-bottom:1px solid rgba(233,196,122,.34);box-shadow:0 10px 30px -18px rgba(0,0,0,.9);
 backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#efe6d6;font:500 13px/1.25 var(--text,system-ui);letter-spacing:.01em;
 animation:bpBfIn .9s cubic-bezier(.2,.75,.2,1) .15s both}
@keyframes bpBfIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.bp-bf-in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:20px;min-height:48px;padding-top:8px;padding-bottom:8px;box-sizing:border-box}
html[data-festive="blackfriday"]:not(.lite) #hero .hero-in{margin-top:48px}
.bp-bf-tag{font:400 clamp(17px,1.7vw,21px)/1 var(--display,inherit);letter-spacing:.06em;white-space:nowrap;
 background:linear-gradient(100deg,var(--bf-gold) 0%,var(--bf-gold) 38%,var(--bf-gold-hi) 50%,var(--bf-gold) 62%,var(--bf-gold) 100%);
 background-size:260% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent;
 animation:bpBfSheen 7s cubic-bezier(.45,0,.55,1) 1.2s infinite}
@keyframes bpBfSheen{0%,60%{background-position:100% 0}100%{background-position:0 0}}
.bp-bf-mid{display:flex;align-items:center;gap:14px;white-space:nowrap}   /* on the page's centre axis, like the headline */
.bp-bf-tag{justify-self:start}.bp-bf-go{justify-self:end}
.bp-bf b{color:var(--bf-gold-hi);font-weight:700}
.bp-bf-dot{width:3px;height:3px;border-radius:50%;background:rgba(233,196,122,.6);flex:none}
.bp-bf-left{font-variant-numeric:tabular-nums;color:rgba(239,230,214,.72);white-space:nowrap}
.bp-bf-go{display:flex;gap:8px;flex:none}
.bp-bf a,.bp-bf button{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 15px;border-radius:999px;
 font:600 12.5px/1 var(--text,system-ui);white-space:nowrap;transition:background-color .25s ease,color .25s ease,border-color .25s ease}
.bp-bf .bp-bf-shop{background:var(--bf-gold);color:var(--bf-ink)}
.bp-bf .bp-bf-shop:hover{background:var(--bf-gold-hi)}
.bp-bf .bp-bf-tribe{border:1px solid rgba(233,196,122,.5);color:var(--bf-gold-hi)}
.bp-bf .bp-bf-tribe:hover{background:rgba(233,196,122,.12)}
.bp-bf a:focus-visible,.bp-bf button:focus-visible{outline:2px solid var(--bf-gold-hi);outline-offset:2px}
.bp-bf-glow{position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(60% 46% at 50% 44%,rgba(233,196,122,.10),rgba(201,154,75,.035) 50%,transparent 72%)}

/* Phone: the hero's own column (as .hero-in, same 760px switch), two equal columns with the hero buttons' 8px gap: music on the left, Tribe on the right */
@media (max-width:760px){
 .bp-bf-in{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"tag left" "o1 o2" "shop tribe";column-gap:8px;row-gap:7px;
  width:100%;margin:0;padding:11px 18px 12px;justify-content:stretch;align-items:center}
 html[data-festive="blackfriday"]:not(.lite) #hero .hero-in{margin-top:44px}
 .bp-bf-mid,.bp-bf-go{display:contents}
 .bp-bf-dot{display:none}
 .bp-bf-tag{grid-area:tag;font-size:17px}.bp-bf-left{grid-area:left}.bp-bf-o1{grid-area:o1}.bp-bf-o2{grid-area:o2}
 .bp-bf-o1,.bp-bf-o2{font-size:12.5px;white-space:normal}
 .bp-bf-shop{grid-area:shop}.bp-bf-tribe{grid-area:tribe}
 .bp-bf a,.bp-bf button{width:100%;min-height:38px;margin-top:3px}
}

html.lite .bp-bf,html.lite .bp-bf-glow{display:none}
html.still .bp-bf,html.still .bp-bf-tag{animation:none}
@media (prefers-reduced-motion:reduce){.bp-bf,.bp-bf-tag{animation:none}}

/* Black Friday, desktop only (founder F-152/F-156/F-158: option 7 "light through code" picked; phones keep the band exactly as before).
   A canvas field of characters with light flowing through it, dimmed behind every word; slim gold Shop the sale + Tribe yearly text
   link; the Tribe offer is a link too; a code-field strip at the top of the footer and faint gold code in the page margins. All of it
   comes from sale.js on screens 761 px and wider, eases in and out, takes no taps, holds still with Animations off / reduced motion,
   and leaves with the band when the sale ends. */
@media (min-width:761px){
.bp-bf{overflow:hidden}
.bp-bf-in{position:relative;z-index:2}
.bp-bf-field{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:0;animation:bpBfFieldIn 1.4s cubic-bezier(.4,0,.2,1) .4s forwards}
@keyframes bpBfFieldIn{to{opacity:1}}
html.still .bp-bf-field{animation:none;opacity:1}
@media (prefers-reduced-motion:reduce){.bp-bf-field{animation:none;opacity:1}}
.bp-bf .bp-bf-go{gap:16px;align-items:center}
.bp-bf .bp-bf-shop,.bp-bf .bp-bf-tribe{min-height:32px;gap:7px;font:600 12.5px/1 var(--text,system-ui);letter-spacing:.01em}
.bp-bf .bp-bf-shop{padding:0 14px 0 17px;background:linear-gradient(180deg,#f5dc9c,#e3b866);color:#151015;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 20px -10px rgba(233,196,122,.75);transition:box-shadow .35s cubic-bezier(.22,1,.36,1),filter .35s ease}
.bp-bf .bp-bf-shop:hover{background:linear-gradient(180deg,#f8e4b0,#e8c172);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 26px -10px rgba(233,196,122,.9)}
.bp-bf .bp-bf-tribe{border:0;padding:0 2px;background:none;color:var(--bf-gold-hi);border-radius:4px}
.bp-bf .bp-bf-tribe:hover{background:none;text-decoration:underline;text-decoration-color:rgba(233,196,122,.55);text-underline-offset:5px}
.bp-bf .bp-bf-shop::after,.bp-bf .bp-bf-tribe::after{content:"→";display:inline-block;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.bp-bf .bp-bf-shop:hover::after,.bp-bf .bp-bf-tribe:hover::after{transform:translateX(3px)}
.bp-bf-edge{position:fixed;top:0;bottom:0;width:70px;z-index:1;pointer-events:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='70' height='600'><g fill='%23e9c47a' font-family='monospace' font-size='11'><text x='6' y='14' fill-opacity='0.52'>0</text><text x='6' y='34' fill-opacity='0.73'>0</text><text x='6' y='54' fill-opacity='0.32'>0</text><text x='6' y='74' fill-opacity='0.80'>0</text><text x='6' y='94' fill-opacity='0.71'>1</text><text x='6' y='114' fill-opacity='0.43'>0</text><text x='6' y='134' fill-opacity='0.21'>0</text><text x='6' y='154' fill-opacity='0.16'>0</text><text x='6' y='174' fill-opacity='0.55'>1</text><text x='6' y='194' fill-opacity='0.72'>0</text><text x='6' y='214' fill-opacity='0.87'>1</text><text x='6' y='234' fill-opacity='0.23'>1</text><text x='6' y='254' fill-opacity='0.19'>0</text><text x='6' y='274' fill-opacity='0.53'>1</text><text x='6' y='294' fill-opacity='0.83'>1</text><text x='6' y='314' fill-opacity='0.17'>0</text><text x='6' y='334' fill-opacity='0.21'>0</text><text x='6' y='354' fill-opacity='0.75'>1</text><text x='6' y='374' fill-opacity='0.35'>0</text><text x='6' y='394' fill-opacity='0.41'>1</text><text x='6' y='414' fill-opacity='0.61'>0</text><text x='6' y='434' fill-opacity='0.47'>0</text><text x='6' y='454' fill-opacity='0.58'>0</text><text x='6' y='474' fill-opacity='0.82'>0</text><text x='6' y='494' fill-opacity='0.51'>0</text><text x='6' y='514' fill-opacity='0.87'>0</text><text x='6' y='534' fill-opacity='0.73'>1</text><text x='6' y='554' fill-opacity='0.44'>1</text><text x='6' y='574' fill-opacity='0.20'>1</text><text x='6' y='594' fill-opacity='0.72'>1</text><text x='22' y='14' fill-opacity='0.54'>0</text><text x='22' y='34' fill-opacity='0.61'>1</text><text x='22' y='54' fill-opacity='0.69'>1</text><text x='22' y='74' fill-opacity='0.72'>1</text><text x='22' y='94' fill-opacity='0.81'>1</text><text x='22' y='114' fill-opacity='0.74'>0</text><text x='22' y='134' fill-opacity='0.56'>0</text><text x='22' y='154' fill-opacity='0.49'>1</text><text x='22' y='174' fill-opacity='0.26'>1</text><text x='22' y='194' fill-opacity='0.46'>0</text><text x='22' y='214' fill-opacity='0.58'>0</text><text x='22' y='234' fill-opacity='0.44'>0</text><text x='22' y='254' fill-opacity='0.29'>1</text><text x='22' y='274' fill-opacity='0.37'>1</text><text x='22' y='294' fill-opacity='0.32'>1</text><text x='22' y='314' fill-opacity='0.64'>0</text><text x='22' y='334' fill-opacity='0.41'>0</text><text x='22' y='354' fill-opacity='0.89'>1</text><text x='22' y='374' fill-opacity='0.87'>0</text><text x='22' y='394' fill-opacity='0.33'>0</text><text x='22' y='414' fill-opacity='0.86'>1</text><text x='22' y='434' fill-opacity='0.64'>0</text><text x='22' y='454' fill-opacity='0.84'>0</text><text x='22' y='474' fill-opacity='0.44'>1</text><text x='22' y='494' fill-opacity='0.25'>1</text><text x='22' y='514' fill-opacity='0.73'>1</text><text x='22' y='534' fill-opacity='0.48'>0</text><text x='22' y='554' fill-opacity='0.41'>0</text><text x='22' y='574' fill-opacity='0.84'>1</text><text x='22' y='594' fill-opacity='0.45'>0</text><text x='38' y='14' fill-opacity='0.69'>0</text><text x='38' y='34' fill-opacity='0.19'>0</text><text x='38' y='54' fill-opacity='0.39'>1</text><text x='38' y='74' fill-opacity='0.25'>1</text><text x='38' y='94' fill-opacity='0.33'>1</text><text x='38' y='114' fill-opacity='0.24'>1</text><text x='38' y='134' fill-opacity='0.17'>0</text><text x='38' y='154' fill-opacity='0.79'>1</text><text x='38' y='174' fill-opacity='0.80'>0</text><text x='38' y='194' fill-opacity='0.63'>0</text><text x='38' y='214' fill-opacity='0.31'>0</text><text x='38' y='234' fill-opacity='0.70'>0</text><text x='38' y='254' fill-opacity='0.32'>1</text><text x='38' y='274' fill-opacity='0.18'>1</text><text x='38' y='294' fill-opacity='0.67'>0</text><text x='38' y='314' fill-opacity='0.15'>0</text><text x='38' y='334' fill-opacity='0.63'>0</text><text x='38' y='354' fill-opacity='0.65'>0</text><text x='38' y='374' fill-opacity='0.31'>1</text><text x='38' y='394' fill-opacity='0.55'>1</text><text x='38' y='414' fill-opacity='0.21'>1</text><text x='38' y='434' fill-opacity='0.42'>0</text><text x='38' y='454' fill-opacity='0.37'>1</text><text x='38' y='474' fill-opacity='0.53'>1</text><text x='38' y='494' fill-opacity='0.75'>1</text><text x='38' y='514' fill-opacity='0.41'>1</text><text x='38' y='534' fill-opacity='0.88'>0</text><text x='38' y='554' fill-opacity='0.83'>1</text><text x='38' y='574' fill-opacity='0.26'>1</text><text x='38' y='594' fill-opacity='0.62'>0</text><text x='54' y='14' fill-opacity='0.85'>0</text><text x='54' y='34' fill-opacity='0.54'>0</text><text x='54' y='54' fill-opacity='0.78'>1</text><text x='54' y='74' fill-opacity='0.33'>0</text><text x='54' y='94' fill-opacity='0.16'>0</text><text x='54' y='114' fill-opacity='0.41'>1</text><text x='54' y='134' fill-opacity='0.85'>1</text><text x='54' y='154' fill-opacity='0.39'>1</text><text x='54' y='174' fill-opacity='0.60'>1</text><text x='54' y='194' fill-opacity='0.67'>1</text><text x='54' y='214' fill-opacity='0.72'>0</text><text x='54' y='234' fill-opacity='0.79'>1</text><text x='54' y='254' fill-opacity='0.27'>0</text><text x='54' y='274' fill-opacity='0.72'>1</text><text x='54' y='294' fill-opacity='0.59'>1</text><text x='54' y='314' fill-opacity='0.18'>0</text><text x='54' y='334' fill-opacity='0.16'>1</text><text x='54' y='354' fill-opacity='0.59'>0</text><text x='54' y='374' fill-opacity='0.44'>1</text><text x='54' y='394' fill-opacity='0.55'>1</text><text x='54' y='414' fill-opacity='0.19'>1</text><text x='54' y='434' fill-opacity='0.83'>1</text><text x='54' y='454' fill-opacity='0.71'>0</text><text x='54' y='474' fill-opacity='0.34'>1</text><text x='54' y='494' fill-opacity='0.40'>1</text><text x='54' y='514' fill-opacity='0.32'>0</text><text x='54' y='534' fill-opacity='0.87'>1</text><text x='54' y='554' fill-opacity='0.20'>1</text><text x='54' y='574' fill-opacity='0.61'>0</text><text x='54' y='594' fill-opacity='0.36'>1</text></g></svg>");background-size:70px 600px;opacity:.13;
 -webkit-mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent);
 animation:bpBfEdge 40s linear infinite}
.bp-bf-edge.l{left:max(8px,calc((100vw - 1320px) / 2 - 80px))}.bp-bf-edge.r{right:max(8px,calc((100vw - 1320px) / 2 - 80px));animation-duration:52s}
@keyframes bpBfEdge{from{background-position:0 0}to{background-position:0 -600px}}
@media (max-width:1180px){.bp-bf-edge{display:none}}
.bp-bf-foot{position:relative;overflow:hidden;margin:0 0 26px;border:1px solid rgba(233,196,122,.22);border-radius:14px;background:rgba(8,7,9,.72)}
.bp-bf-foot .bp-bf-field{opacity:1;animation:none}
.bp-bf-foot-in{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;min-height:46px;padding:9px 18px;font:500 13px/1.3 var(--text,system-ui);color:#efe6d6}
.bp-bf-foot-in b{font:400 18px/1 var(--display,inherit);letter-spacing:.06em;color:var(--bf-gold)}
.bp-bf-foot-in span{color:rgba(239,230,214,.72);font-variant-numeric:tabular-nums}
.bp-bf-foot-in a{all:unset;cursor:pointer;color:var(--bf-gold-hi);font-weight:600}
.bp-bf-foot-in a::after{content:" →"}
.bp-bf-foot-in a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(233,196,122,.55)}
.bp-bf-foot-in a:focus-visible{outline:2px solid var(--bf-gold-hi);outline-offset:3px;border-radius:4px}
html.still .bp-bf-edge{animation:none}
@media (prefers-reduced-motion:reduce){.bp-bf-edge{animation:none}}
.bp-bf .bp-bf-o2[data-open]{cursor:pointer;text-decoration:underline;text-decoration-color:rgba(233,196,122,.35);text-underline-offset:4px;border-radius:3px}
.bp-bf .bp-bf-o2[data-open]:hover{text-decoration-color:rgba(233,196,122,.8)}
.bp-bf .bp-bf-o2[data-open]:focus-visible{outline:2px solid var(--bf-gold-hi);outline-offset:3px}
}
@media (max-width:760px){.bp-bf-field,.bp-bf-foot,.bp-bf-edge{display:none!important}}
/* Black Friday checkpoints (F-162): the Records tag, the easter-egg note and rain. Every width; the band itself is untouched. */
.bp-bf-rtag{display:inline-flex;align-items:center;gap:7px;margin:0 0 0 14px;vertical-align:middle;padding:4px 10px 4px 9px;white-space:nowrap;border:1px solid rgba(233,196,122,.38);border-radius:999px;
 font:600 11px/1 var(--text,system-ui);letter-spacing:.08em;text-transform:uppercase;color:#e9c47a;background:rgba(233,196,122,.06)}
.bp-bf-rtag::before{content:"";width:6px;height:6px;border-radius:50%;background:#e9c47a;box-shadow:0 0 8px rgba(233,196,122,.8)}
.bp-bf-note{position:fixed;left:50%;bottom:calc(110px + env(safe-area-inset-bottom,0px));z-index:9999;transform:translate(-50%,12px);opacity:0;pointer-events:none;
 max-width:min(420px,calc(100vw - 32px));padding:11px 16px;border-radius:14px;border:1px solid rgba(233,196,122,.4);background:rgba(10,9,11,.94);color:#efe6d6;
 font:500 13.5px/1.35 var(--text,system-ui);text-align:center;box-shadow:0 18px 40px -16px rgba(0,0,0,.9);transition:opacity .45s cubic-bezier(.22,1,.36,1),transform .45s cubic-bezier(.22,1,.36,1)}
.bp-bf-note.in{opacity:1;transform:translate(-50%,0)}
.bp-bf-note.out{opacity:0;transform:translate(-50%,8px)}
.bp-bf-rain{position:fixed;inset:0;z-index:9998;pointer-events:none;width:100vw;height:100vh;opacity:0}
html.still .bp-bf-note,html.lite .bp-bf-note{transition:none}
@media (prefers-reduced-motion:reduce){.bp-bf-note{transition:none}}
/* the tag follows the kicker's gold rule; the kicker never squeezes its words; on a narrow screen the tag takes its own line */
:has(>.bp-bf-rtag){flex-wrap:wrap;white-space:nowrap;row-gap:8px}
.bp-bf-rtag{order:2}
@media (max-width:760px){:has(>.bp-bf-rtag){flex-wrap:nowrap}:has(>.bp-bf-rtag)::after{display:none}.bp-bf-rtag{margin-left:10px;padding:3px 8px 3px 7px;font-size:10.5px}}
@media (max-width:359px){.bp-bf-rtag{display:none}}

/* F-175 (founder 28 Nov: "add a cyber_glitch sort of a effect to this logo, logo glitches with being enlarged then back to normal cycles"):
   every 6.4 s the BLACK FRIDAY wordmark eases up to 1.14x, holds for ~0.45 s while two sliced copies (bright gold and cream) jump sideways
   through horizontal bands, then eases back. Gold/cream only (site tone). Transform/opacity/clip only (compositor). The copies are
   aria-hidden generated text. Animations off / reduced motion: still, no copies. */
.bp-bf .bp-bf-tag{position:relative;display:inline-block;transform-origin:0 50%;will-change:transform;
 animation:bpBfSheen 7s cubic-bezier(.45,0,.55,1) 1.2s infinite,bpBfGrow 6.4s cubic-bezier(.65,0,.35,1) 2.4s infinite}
.bp-bf .bp-bf-tag::before,.bp-bf .bp-bf-tag::after{content:attr(data-g);content:attr(data-g)/"";position:absolute;left:0;top:0;width:100%;height:100%;
 pointer-events:none;opacity:0;-webkit-background-clip:text;background-clip:text;color:transparent;animation:bpBfSliceA 6.4s steps(1,end) 2.4s infinite}
.bp-bf .bp-bf-tag::before{background-image:linear-gradient(var(--bf-gold-hi),var(--bf-gold-hi))}
.bp-bf .bp-bf-tag::after{background-image:linear-gradient(rgba(245,236,220,.9),rgba(245,236,220,.9));animation-name:bpBfSliceB}
@keyframes bpBfGrow{0%,84%{transform:scale(1)}88.5%{transform:scale(1.14)}90%{transform:scale(1.14) translateX(1px)}91.5%{transform:scale(1.14) translateX(-1px)}95%{transform:scale(1.14)}100%{transform:scale(1)}}
@keyframes bpBfSliceA{0%,85.5%{opacity:0;transform:none;clip-path:inset(0 0 100% 0)}86.5%{opacity:.95;transform:translateX(-4px);clip-path:inset(12% 0 58% 0)}
 88%{opacity:.9;transform:translateX(3px);clip-path:inset(62% 0 10% 0)}89.5%{opacity:.95;transform:translateX(-2px);clip-path:inset(34% 0 44% 0)}
 91%{opacity:.85;transform:translateX(5px);clip-path:inset(72% 0 4% 0)}92.5%{opacity:.9;transform:translateX(-3px);clip-path:inset(4% 0 78% 0)}94%,100%{opacity:0;transform:none;clip-path:inset(0 0 100% 0)}}
@keyframes bpBfSliceB{0%,86%{opacity:0;transform:none;clip-path:inset(0 0 100% 0)}87%{opacity:.7;transform:translateX(4px);clip-path:inset(48% 0 30% 0)}
 88.5%{opacity:.6;transform:translateX(-3px);clip-path:inset(8% 0 70% 0)}90%{opacity:.7;transform:translateX(2px);clip-path:inset(80% 0 2% 0)}
 91.5%{opacity:.6;transform:translateX(-5px);clip-path:inset(22% 0 52% 0)}93%{opacity:.5;transform:translateX(2px);clip-path:inset(55% 0 25% 0)}94.5%,100%{opacity:0;transform:none;clip-path:inset(0 0 100% 0)}}
html.still .bp-bf .bp-bf-tag{animation:none;transform:none}html.still .bp-bf .bp-bf-tag::before,html.still .bp-bf .bp-bf-tag::after{animation:none;display:none}
@media (prefers-reduced-motion:reduce){.bp-bf .bp-bf-tag{animation:none;transform:none}.bp-bf .bp-bf-tag::before,.bp-bf .bp-bf-tag::after{animation:none;display:none}}

/* --- Black Friday 2026: Cyber Glyph-Glitch Price Decryption & Eye Candies --- */
html[data-festive="blackfriday"]:not(.lite) .bf-price-glitch {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  position: relative;
  transition: color 0.15s ease;
}

html[data-festive="blackfriday"]:not(.lite) .bf-price-glitch.is-scrambling {
  color: var(--bf-gold-hi, #fff1c9) !important;
  text-shadow: 1.5px 0 rgba(233,196,122,0.9), -1.5px 0 rgba(0,229,255,0.7);
  letter-spacing: 0.04em;
}

/* Cyber Terminal Bracket Badge */
html[data-festive="blackfriday"]:not(.lite) .bf-cyber-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 9.5px/1 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-gold, #e9c47a);
  background: rgba(233,196,122,0.08);
  border: 1px solid rgba(233,196,122,0.3);
  border-radius: 4px;
  padding: 3px 7px;
  vertical-align: middle;
}

html[data-festive="blackfriday"]:not(.lite) .bf-cyber-chip .cursor {
  display: inline-block;
  width: 4px;
  height: 8px;
  background: currentColor;
  animation: bfCursorBlink 1s infinite steps(2, start);
}

@keyframes bfCursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Telemetry Micro-Readout for Player Dock */
html[data-festive="blackfriday"]:not(.lite) .bf-dock-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 8.5px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233,196,122,0.7);
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(233,196,122,0.05);
  border: 1px solid rgba(233,196,122,0.15);
}

/* Fader ASCII Wave Underlay */
html[data-festive="blackfriday"]:not(.lite) .fader-track::after {
  content: "01001011 01000101 01011001";
  position: absolute;
  top: -14px;
  right: 0;
  font: 600 8px/1 ui-monospace, monospace;
  color: rgba(233,196,122,0.35);
  letter-spacing: 0.15em;
  pointer-events: none;
}

html.still .bf-price-glitch.is-scrambling,
html.lite .bf-price-glitch.is-scrambling {
  text-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .bf-price-glitch.is-scrambling { text-shadow: none !important; }
  .bf-cyber-chip .cursor { animation: none; }
}

/* Restrained cyber pass: the decrypt layer is fixed to the live anchor box and takes no
   space in the page. Cells are equal width, so the glyph pool cannot change the anchor width. */
html[data-festive="blackfriday"] .bf-price-glitch.bf-price-overlay {
  position: fixed;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2147483006;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  transform: none;
  translate: none !important;
  animation: none !important;
  transition: none !important;
}
html[data-festive="blackfriday"] .bf-price-glitch.bf-price-overlay.is-scrambling {
  letter-spacing: 0;
  color: var(--bf-gold-hi, #fff1c9) !important;
  text-shadow: 1.5px 0 rgba(233,196,122,.9), -1.5px 0 rgba(0,229,255,.7);
}
html[data-festive="blackfriday"] .bf-price-glitch.bf-price-overlay > span {
  display: block;
  width: 100%;
  text-align: center;
}
html.still .bf-price-glitch.bf-price-overlay,
html.lite .bf-price-glitch.bf-price-overlay { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .bf-price-glitch.bf-price-overlay { display: none !important; }
}

/* One cipher chip in the checkout step line; it takes its own line on the phone. */
html[data-festive="blackfriday"] #ownDlg .steps .bf-cyber-chip { margin-top: 6px; }
html.still .bf-cyber-chip .cursor { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .bf-cyber-chip .cursor { animation: none !important; }
}

/* One telemetry line under the dock title, absolutely placed so the dock grid never moves. */
html[data-festive="blackfriday"] #dock .d-text { position: relative; }
html[data-festive="blackfriday"] #dock .d-text > .bf-dock-telemetry {
  position: absolute;
  left: 0;
  bottom: -10px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  white-space: nowrap;
}
