#atomx-blackfriday {
  margin: 0 0 8px;
  border-block-end: 1px solid #e8e8e8;
  background: #fff;
  color: #161616;
  font-family: inherit;
}

#atomx-blackfriday[hidden] { display: none; }

#atomx-blackfriday .atomx-bf__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 10px;
}

#atomx-blackfriday .atomx-bf__layout::after { content: none; }
#atomx-blackfriday .atomx-bf__intro { flex: 1 0 178px; }

#atomx-blackfriday .atomx-bf__title {
  margin: 0 0 4px;
  color: inherit;
  line-height: 1;
}

#atomx-blackfriday .atomx-bf__wordmark {
  display: block;
  width: clamp(178px, 22vw, 251px);
  max-width: 100%;
  height: auto;
}

#atomx-blackfriday .atomx-bf__date {
  flex: 0 1 220px;
  margin: 0;
  color: #575757;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

#atomx-blackfriday .atomx-bf__timezone {
  display: block;
  margin-inline-start: 0;
}

#atomx-blackfriday .atomx-bf__timer {
  display: grid;
  flex: 0 1 320px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 100%;
}

#atomx-blackfriday .atomx-bf__unit {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding-inline: 2px;
  text-align: center;
}

#atomx-blackfriday .atomx-bf__unit + .atomx-bf__unit {
  border-inline-start: 1px solid #e3e3e3;
}

#atomx-blackfriday .atomx-bf__number {
  box-sizing: border-box;
  min-inline-size: 2.5ch;
  padding: 2px 5px;
  border-radius: 4px;
  color: inherit;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#atomx-blackfriday [data-unit="seconds"] {
  background: #f1f1f1;
  color: #161616;
}

#atomx-blackfriday .atomx-bf__label {
  color: #575757;
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

@media (min-width: 576px) and (max-width: 767px) {
  #atomx-blackfriday .atomx-bf__layout { column-gap: 14px; }
}

@media (max-width: 575px) {
  #atomx-blackfriday .atomx-bf__layout {
    flex-direction: column;
    padding-block: 9px;
    text-align: center;
  }

  #atomx-blackfriday .atomx-bf__wordmark { margin-inline: auto; }
  #atomx-blackfriday .atomx-bf__intro { flex: none; }
  #atomx-blackfriday .atomx-bf__timer { flex: none; width: min(100%, 320px); }
  #atomx-blackfriday .atomx-bf__date { flex: none; text-align: center; }
}
/* Transparent entrance: no surface, scroll lock, backdrop or pointer capture. */
#atomx-bf-entrance {
  --stagger-dur: 200ms;
  --stagger-distance: 12px;
  --stagger-stagger: 40ms;
  --stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  background: transparent;
  font-family: inherit;
}
#atomx-bf-entrance[hidden], #atomx-bf-campaign[hidden] { display: none !important; }
#atomx-bf-entrance .atomx-bfi__scene {
  width: min(80vw, 860px);
  max-width: 100%;
  text-align: center;
}
#atomx-bf-entrance .atomx-bfi__eyebrow {
  margin-bottom: 20px;
  color: #fff7e5;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .28em;
  text-shadow: 0 1px 2px #151515, 1px 0 1px #151515, -1px 0 1px #151515;
}
#atomx-bf-entrance .atomx-bfi__words.t-stagger-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.8%;
  color: #fff7e5;
}
#atomx-bf-entrance .atomx-bfi__words svg {
  display: block;
  height: auto;
  overflow: visible;
  stroke: #161616;
  stroke-width: 1px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .35));
}
#atomx-bf-entrance .atomx-bfi__black { width: 45%; }
#atomx-bf-entrance .atomx-bfi__friday { width: 50.3%; color: #ffdf00; }
#atomx-bf-entrance .atomx-bfi__words path { vector-effect: non-scaling-stroke; }
#atomx-bf-entrance .atomx-bfi__accent {
  display: block;
  width: 44px;
  height: 3px;
  margin: 22px auto 0;
  background: #ffdf00;
  box-shadow: 0 1px 1px #161616;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 250ms var(--stagger-ease) 120ms, opacity 200ms ease 120ms;
}
#atomx-bf-entrance .t-stagger-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  transition:
    opacity var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease);
}
#atomx-bf-entrance:not([hidden]) .t-stagger-line { will-change: transform, opacity; }
#atomx-bf-entrance .t-stagger-line--2 { transition-delay: var(--stagger-stagger); }
#atomx-bf-entrance .t-stagger.is-shown .t-stagger-line {
  opacity: 1;
  transform: translateY(0);
}
#atomx-bf-entrance .t-stagger.is-shown .atomx-bfi__accent { transform: scaleX(1); opacity: 1; }
#atomx-bf-entrance .t-stagger.is-hiding .t-stagger-line {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 0s linear;
  transition-delay: 0s;
}
#atomx-bf-entrance .t-stagger.is-hiding .atomx-bfi__accent { opacity: 0; transition: opacity 200ms ease; }
#atomx-bf-entrance[data-static="1"] .t-stagger-line,
#atomx-bf-entrance[data-static="1"] .atomx-bfi__accent { transition: none !important; }
#atomx-bf-campaign {
  margin: 0 0 8px;
  background: #161616;
  color: #fff7e5;
  font-family: inherit;
}
#atomx-bf-campaign .atomx-bf-campaign__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 12px;
  padding-block: 12px;
  font-size: 12px;
  line-height: 1.3;
}
#atomx-bf-campaign strong { color: #ffdf00; font-size: 16px; letter-spacing: .025em; }
#atomx-bf-campaign .atomx-bf-campaign__brand { margin-inline-start: 16px; }
#atomx-bf-preview {
  position: fixed;
  z-index: 1050;
  bottom: 16px;
  left: 16px;
  max-width: calc(100vw - 32px);
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: #161616;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
}
#atomx-bf-preview .atomx-bf-preview__controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#atomx-bf-preview button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #b0b0b0;
  border-radius: 4px;
  background: #fff;
  color: #161616;
  font: inherit;
  cursor: pointer;
}
#atomx-bf-preview button:first-child { border-color: #161616; background: #161616; color: #fff; }
#atomx-bf-preview button:focus-visible { outline: 3px solid #d09500; outline-offset: 2px; }
@media (max-width: 575px) {
  #atomx-bf-entrance { padding: 28px; }
  #atomx-bf-entrance .atomx-bfi__scene { width: min(78vw, 310px); }
  #atomx-bf-entrance .atomx-bfi__eyebrow { font-size: 14px; letter-spacing: .24em; margin-bottom: 18px; }
  #atomx-bf-entrance .atomx-bfi__words { display: flex; flex-direction: column; gap: 12px; }
  #atomx-bf-entrance .atomx-bfi__black { width: 89.5%; }
  #atomx-bf-entrance .atomx-bfi__friday { width: 100%; }
  #atomx-bf-campaign .atomx-bf-campaign__brand { display: none; }
  #atomx-bf-preview { bottom: 10px; left: 10px; max-width: calc(100vw - 20px); padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #atomx-bf-entrance .t-stagger-line,
  #atomx-bf-entrance .atomx-bfi__accent { transition: none !important; }
}
