:root {
  color-scheme: dark;
  /* One design pixel of the hero. The layout was designed on a 13" laptop
     (about 1440x820); larger screens scale it up with whichever dimension
     runs out first, so it fills a desktop monitor the way it fills a laptop.
     The design height is 976 rather than 820 so the hourly strip fits under
     the hero with the margins the page had before it. It never shrinks
     below 1px, so laptops and phones are unchanged. */
  --u: clamp(1px, min(100vw / 1440, 100vh / 976), 1.75px);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #05050d;
}

* {
  box-sizing: border-box;
}

.bfcm-page[hidden] {
  display: none;
}

/* The shared fallback grid has three columns; this page shows four figures. */
.bfcm-fallback__metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-public="true"] .bfcm-fallback__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bfcm-kpi[hidden],
.bfcm-fallback__metric[hidden] {
  display: none;
}

/* The headline is wider than the shared stylesheet's 780px measure, so it
   takes the content's width, at a size that keeps each sentence on one
   line on a laptop. */
.bfcm-fallback h1 {
  max-width: none;
  font-size: clamp(36px, 4.4vw, 64px);
}

@media (max-width: 700px) {
  .bfcm-fallback__metrics,
  body[data-public="true"] .bfcm-fallback__metrics {
    grid-template-columns: 1fr;
  }
}

.bfcm-fallback:not([hidden]) + .bfcm-page {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.bfcm-page {
  min-height: 100vh;
  overflow: hidden;
  background: #05050d;
  color: #eef0f5;
  font-family: "Inter", "Inter Fallback", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bfcm-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 13, 0.72);
  backdrop-filter: blur(10px);
}

.bfcm-brand,
.bfcm-status {
  display: flex;
  align-items: center;
}

.bfcm-brand {
  gap: 16px;
}

/* On a phone the <picture> swaps in the mark alone (the 480px query). */
.bfcm-logo {
  display: block;
  width: auto;
  height: 22px;
}

.bfcm-brand i {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.bfcm-brand span:last-child,
.bfcm-status {
  color: #9fa2b8;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bfcm-brand {
  flex: none;
}

.bfcm-status {
  flex: none;
  gap: 8px;
  color: #5cc596;
}

.bfcm-header-side {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.bfcm-header-meta {
  margin: 0;
  overflow: hidden;
  color: #9fa2b8;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfcm-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5cc596;
  animation: bfcm-pulse 1.6s ease-in-out infinite;
}

/* The hero and the hourly strip under it fill the first screen. Spare
   height first opens the gap above the strip (.bfcm-hero-gap); past its
   limit the two centre together, with even margins above and below. */
.bfcm-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Equal space below the fixed header and below the bars; any height to
     spare is split evenly between the two. */
  padding: calc(56px + 24 * var(--u)) 24px calc(24 * var(--u));
}

#bfcm-globe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* The headline spans the hero above the figures and the globe. Up to 1200px
   the figures sit left of the globe; wider screens put the globe in the
   middle (the 1201px query), and a phone stacks everything (the 700px
   query). The DOM keeps the reading order headline, totals, per-minute
   figures, globe. */
.bfcm-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: calc(1280 * var(--u));
  grid-template-areas:
    "title title"
    "intro intro"
    "copy globe";
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  align-items: center;
  gap: calc(24 * var(--u)) calc(48 * var(--u));
  margin: 0 auto;
  pointer-events: none;
}

.bfcm-hero-copy {
  display: flex;
  min-width: 0;
  grid-area: copy;
  flex-direction: column;
  gap: calc(24 * var(--u));
}

.bfcm-hero-totals {
  display: flex;
  flex-direction: column;
  gap: calc(32 * var(--u));
}

/* One sentence a line. The longer, "Black Friday runs on discovery.", is
   about 14.3em wide in Inter and in its bold fallback (fonts.css), so at
   4.4vw or 40px both lines fit any screen wider than a phone and keep their
   line breaks when Inter arrives. The size scales with --u, so the ratio
   holds on large screens. */
.bfcm-hero h1 {
  grid-area: title;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.4vw, calc(52 * var(--u)));
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: pretty;
}

.bfcm-hero-brand {
  color: #6a81f4;
}

.bfcm-intro {
  grid-area: intro;
  max-width: calc(1120 * var(--u));
  margin: 0 auto;
  color: #9fa2b8;
  font-size: calc(14 * var(--u));
  line-height: 1.5;
  text-align: center;
}

.bfcm-fallback .bfcm-intro {
  margin: 24px 0 0;
  text-align: left;
}

a.bfcm-hero-brand {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  pointer-events: auto;
}

@media (hover: hover) {
  a.bfcm-hero-brand:hover {
    color: #a3b3f9;
  }
}

a.bfcm-hero-brand:focus-visible {
  outline: 2px solid #a3b3f9;
  outline-offset: 4px;
  border-radius: 2px;
}

/* A phone splits each sentence in two (the 700px query). */
.bfcm-phone-break {
  display: none;
}

.bfcm-total-block {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
}

.bfcm-total {
  color: #fff;
  font-family: "JetBrains Mono", "JetBrains Mono Fallback", monospace;
  font-size: clamp(42px, 4.2vw, calc(64 * var(--u)));
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bfcm-total-block > span {
  color: #7d8192;
  font-size: calc(10 * var(--u));
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: calc(12 * var(--u));
  text-transform: uppercase;
}

/* The purchase value sits under the query total at about two thirds of its
   size, in the same family and the live green, so the two read as one pair
   of totals. Being smaller, it has less leading above its digits, so a
   wider gap keeps the space under the two labels even. */
.bfcm-total-block--revenue {
  position: relative;
  gap: calc(11 * var(--u));
}

.bfcm-total--revenue {
  color: #5cc596;
  font-size: clamp(30px, 2.8vw, calc(42 * var(--u)));
}

.bfcm-total-heading {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(3 * var(--u)) calc(6 * var(--u));
  pointer-events: auto;
}

/* The window label and its info button wrap together, so a narrow screen
   moves "last 4 days (i)" to a second line rather than splitting the label
   into a column or leaving the button on its own. */
.bfcm-total-heading__window {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
}

.bfcm-total-heading [data-window-label] {
  white-space: nowrap;
}

/* Wide enough to reach past the info button with any window label, live
   ("last 90 minutes") or frozen ("28 Nov – 30 Nov 2026"), so the pointer can
   move diagonally from the button into the tooltip. */
.bfcm-total-block .bfcm-kpi-tooltip {
  left: 0;
  width: calc(380 * var(--u));
  max-width: 100%;
}

.bfcm-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(20 * var(--u));
  padding-top: calc(20 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bfcm-kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--u));
}

.bfcm-kpi > strong {
  color: #fff;
  font-family: "JetBrains Mono", "JetBrains Mono Fallback", monospace;
  font-size: calc(28 * var(--u));
  font-variant-numeric: tabular-nums;
  line-height: calc(34 * var(--u));
  white-space: nowrap;
}

.bfcm-kpi-heading {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  color: #a7aabd;
  font-size: calc(13 * var(--u));
  font-weight: 500;
  line-height: calc(18 * var(--u));
  pointer-events: auto;
}

/* Each tooltip sits 8px from its heading. An open tooltip fills that gap
   with an invisible bridge, so the pointer can cross into the tooltip
   without leaving the heading and closing it. */
.bfcm-kpi-heading::after,
.bfcm-total-heading::after,
.bfcm-globe-caption::after,
.bfcm-hours__title::after {
  position: absolute;
  z-index: 4;
  bottom: 100%;
  left: 0;
  width: calc(220 * var(--u));
  height: calc(8 * var(--u));
  content: "";
  pointer-events: none;
}

/* The purchases heading leads its block, which is the tooltip's containing
   block, so the tooltip opens upward from the block like the KPI ones. The
   bridge spans the whole block, so it reaches the info button whatever the
   window label's length. */
.bfcm-total-heading::after {
  right: 0;
  width: auto;
}

.bfcm-globe-caption::after {
  left: 50%;
  width: calc(240 * var(--u));
  translate: -50% 0;
}

.bfcm-kpi:last-child .bfcm-kpi-heading::after {
  right: 0;
  left: auto;
}

.bfcm-kpi:nth-child(2) .bfcm-kpi-heading::after {
  right: auto;
  left: 50%;
  translate: -50% 0;
}

.bfcm-kpi-heading:has(.bfcm-info[aria-expanded="true"])::after,
.bfcm-total-heading:has(.bfcm-info[aria-expanded="true"])::after,
.bfcm-globe-caption:has(.bfcm-info[aria-expanded="true"])::after,
.bfcm-hours__title:has(.bfcm-info[aria-expanded="true"])::after {
  pointer-events: auto;
}

.bfcm-info {
  position: relative;
  z-index: 5;
  display: inline-grid;
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  padding: 0;
  place-items: center;
  border: 1px solid rgba(163, 179, 249, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #a3b3f9;
  cursor: help;
  font: 700 calc(10 * var(--u))/1 "Inter", "Inter Fallback", sans-serif;
  pointer-events: auto;
}

.bfcm-info::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  content: "";
  transform: translate(-50%, -50%);
}

.bfcm-info:focus-visible {
  outline: 2px solid #a3b3f9;
  outline-offset: 2px;
}

/* Above the info buttons (z-index 5): an open tooltip must cover any info
   button beneath it, not show it through. */
.bfcm-kpi-tooltip {
  position: absolute;
  z-index: 6;
  bottom: calc(100% + 8 * var(--u));
  left: 0;
  width: calc(220 * var(--u));
  padding: calc(9 * var(--u)) calc(11 * var(--u));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #111329;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  color: #c7cbd4;
  font-size: calc(11 * var(--u));
  font-weight: 500;
  letter-spacing: 0;
  line-height: calc(16 * var(--u));
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease;
  visibility: hidden;
}

.bfcm-kpi:last-child .bfcm-kpi-tooltip {
  right: 0;
  left: auto;
}

.bfcm-kpi:nth-child(2) .bfcm-kpi-tooltip {
  right: auto;
  left: 50%;
  translate: -50% 0;
}

.bfcm-kpi .bfcm-kpi-tooltip {
  top: auto;
  bottom: calc(100% + 8 * var(--u));
}

.bfcm-info[aria-expanded="true"] + .bfcm-kpi-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.bfcm-kpi:first-child > strong {
  color: #6a81f4;
}

.bfcm-kpi:last-child > strong {
  color: #5cc596;
}

/* The label and value have equal line heights. Center their boxes so the
   different regular/bold fallback baselines cannot enlarge the row while
   Inter loads and move the vertically centered KPI stack. */
.bfcm-kpi-peak {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  color: #7d8192;
  font-size: calc(13 * var(--u));
  line-height: calc(18 * var(--u));
}

.bfcm-kpi-peak strong {
  color: #c7cbd4;
  font-size: inherit;
  font-weight: 600;
}

/* The hero and the hourly strip fill the first screen, so on a short screen
   the globe narrows. Besides the globe the page needs the 56px header, 2px
   to spare for rounding, 313 design pixels (the paddings, row gaps, intro,
   caption, gap above the strip and the strip) and the two-line
   headline; the globe adds 0.96 of its width, as it is drawn at 92% of its
   slot and the caption rises into the rest. At 280px the figures beside it
   are as tall, so it stops there. The 1201px query sizes the wide layout's
   globe track the same way. */
.bfcm-globe-column {
  display: flex;
  width: max(280px, min(100%, (100vh - 58px - 313 * var(--u) - 2.12 * clamp(40px, 4.4vw, 52 * var(--u))) / 0.96));
  min-width: 0;
  grid-area: globe;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  container-type: inline-size;
}

/* A globe that cannot draw (failGlobe in live.js), or a browser too old to
   run live.js (the check at the end of index.html), hides the globe. Its
   space is kept, so nothing moves if a retry draws it, and a note centred
   in it says why it is empty. The note uses fixed sizes: a browser too old
   for live.js may not support clamp(), which --u needs. */
.bfcm-page[data-globe-failed] #bfcm-globe,
.bfcm-page[data-globe-failed] .bfcm-globe-slot,
.bfcm-page[data-globe-failed] .bfcm-globe-caption {
  visibility: hidden;
}

.bfcm-page[data-globe-failed] .bfcm-globe-column {
  position: relative;
}

.bfcm-globe-unavailable {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 48px;
  color: #a7aabd;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.bfcm-globe-unavailable[hidden] {
  display: none;
}

.bfcm-globe-slot {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: calc(620 * var(--u));
  aspect-ratio: 1;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

/* The caption sits under the globe. Its tooltip opens above the caption,
   centred, so it never covers the copy column or leaves the viewport. */
.bfcm-globe-caption {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  /* The globe is drawn at 92% of its slot (sizeCanvas in live.js), leaving
     4% of the slot's width empty below it. The caption moves up into that
     margin so it sits 10px under the globe, not under the empty slot. */
  margin: calc(10 * var(--u) - 0.04 * min(100cqw, 620 * var(--u))) 0 0;
  color: #a7aabd;
  font-size: calc(13 * var(--u));
  font-weight: 500;
  line-height: calc(18 * var(--u));
  pointer-events: auto;
}

/* The caption dot matches the origin dots on the globe: soft blue-white. */
.bfcm-globe-caption__dot {
  flex: none;
  width: calc(7 * var(--u));
  height: calc(7 * var(--u));
  border-radius: 50%;
  background: #a3b3f9;
  box-shadow: 0 0 8px rgba(106, 129, 244, 0.9);
  animation: bfcm-pulse 1.6s ease-in-out infinite;
}

.bfcm-globe-caption .bfcm-kpi-tooltip {
  right: auto;
  bottom: calc(100% + 8 * var(--u));
  left: 50%;
  width: calc(240 * var(--u));
  text-align: center;
  translate: -50% 0;
}

/* Data-centre details, placed by live.js above the highlighted ring. It
   matches the KPI tooltips and never takes the pointer from the globe. */
.bfcm-datacenter-tip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  padding: calc(8 * var(--u)) calc(11 * var(--u));
  border: 1px solid rgba(0, 196, 224, 0.35);
  border-radius: 6px;
  background: #111329;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  color: #9fa2b8;
  font-size: calc(12 * var(--u));
  line-height: calc(16 * var(--u));
  pointer-events: none;
  translate: -50% calc(-100% - 12px);
  white-space: nowrap;
}

.bfcm-datacenter-tip[data-below] {
  translate: -50% 12px;
}

.bfcm-datacenter-tip[hidden] {
  display: none;
}

.bfcm-datacenter-tip strong {
  color: #ffffff;
  font-size: calc(13 * var(--u));
  font-weight: 700;
}

.bfcm-datacenter-tip__kind {
  color: #00c4e0;
  font-size: calc(10 * var(--u));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bfcm-globe-slot:focus-visible {
  outline: 2px solid #a3b3f9;
  outline-offset: 4px;
}

/* The gap above the strip takes spare height up to 56 design pixels; the
   rest centres the hero and strip together. */
.bfcm-hero-gap {
  flex: 1 1 0;
  min-height: calc(12 * var(--u));
  max-height: calc(56 * var(--u));
}

/* The weekend's hours, one bar each. The strip keeps its space while it
   waits for data, so the hero does not move when the bars arrive. */
.bfcm-hours {
  position: relative;
  z-index: 4;
  display: flex;
  width: 100%;
  max-width: calc(1280 * var(--u));
  flex-direction: column;
  /* The tallest bar has no leading above it, unlike the figures under the
     other labels, so the strip needs a wider gap for the same 16px from the
     label's baseline to the top of what it labels. */
  gap: calc(12 * var(--u));
}

.bfcm-hours:not([data-ready]) {
  visibility: hidden;
}

/* The heading is only as wide as its text, so its tooltip can open above
   the info button at its end, and the bridge spans the whole heading. */
.bfcm-hours__title {
  position: relative;
  display: flex;
  align-self: flex-start;
  align-items: center;
  gap: calc(6 * var(--u));
  margin: 0;
  color: #9fa2b8;
  font-size: calc(11 * var(--u));
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: calc(14 * var(--u));
  text-transform: uppercase;
}

.bfcm-hours__title .bfcm-kpi-tooltip {
  right: 0;
  left: auto;
  width: calc(280 * var(--u));
}

.bfcm-hours__title::after {
  right: 0;
  width: auto;
}

.bfcm-hours__chart {
  --bfcm-hours-height: calc(64 * var(--u));
  position: relative;
  height: var(--bfcm-hours-height);
  cursor: crosshair;
  touch-action: pan-y;
}

.bfcm-hours__chart:focus-visible {
  outline: 2px solid #a3b3f9;
  outline-offset: 4px;
}

.bfcm-hours__bars {
  display: flex;
  height: 100%;
  align-items: flex-end;
  gap: max(1px, calc(2 * var(--u)));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bfcm-hours__bars > span {
  min-height: 2px;
  flex: 1 1 0;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(to top, #6a81f4, #a3b3f9);
}

/* The hour still filling in is drawn in the live green and pulses slowly,
   like the live dots. Early in the hour its bar is only a sliver, so a
   fainter bar above it extends it to the whole hour at its pace so far
   (--projected, a fraction of the chart's height, set by live.js). */
.bfcm-hours__bars > [data-state="partial"] {
  position: relative;
  background: linear-gradient(to top, #3fa47a, #5cc596);
  opacity: 0.45;
  animation: bfcm-bar-pulse 2.4s ease-in-out infinite;
}

.bfcm-hours__bars > [data-state="partial"]::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  /* The bars stand on the 1px baseline, inside the chart's height. */
  height: calc((var(--bfcm-hours-height) - 1px) * var(--projected, 0) - 100%);
  border-radius: 1px 1px 0 0;
  background: rgba(92, 197, 150, 0.3);
  content: "";
}

.bfcm-hours__bars > [data-state="future"] {
  background: rgba(255, 255, 255, 0.08);
}

.bfcm-hours__bars > [data-active] {
  background: #ffffff;
  opacity: 1;
  animation: none;
}

/* The hour's figures, placed by live.js above its bar. */
.bfcm-hour-panel {
  position: absolute;
  z-index: 7;
  bottom: calc(100% + 10 * var(--u));
  min-width: calc(220 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  border: 1px solid rgba(163, 179, 249, 0.35);
  border-radius: 6px;
  background: #111329;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  color: #9fa2b8;
  font-size: calc(12 * var(--u));
  line-height: calc(16 * var(--u));
  pointer-events: none;
  translate: -50% 0;
}

.bfcm-hour-panel[hidden] {
  display: none;
}

.bfcm-hour-panel strong {
  display: block;
  margin-bottom: calc(6 * var(--u));
  color: #ffffff;
  font-size: calc(13 * var(--u));
  font-weight: 700;
  white-space: nowrap;
}

.bfcm-hour-panel dl {
  display: grid;
  gap: calc(3 * var(--u));
  margin: 0;
}

.bfcm-hour-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: calc(16 * var(--u));
}

.bfcm-hour-panel [hidden] {
  display: none;
}

.bfcm-hour-panel [data-hour-sales-note] {
  margin: calc(6 * var(--u)) 0 0;
  font-size: calc(11 * var(--u));
}

.bfcm-hour-panel dt {
  white-space: nowrap;
}

.bfcm-hour-panel dd {
  margin: 0;
  color: #eef0f5;
  font-family: "JetBrains Mono", "JetBrains Mono Fallback", monospace;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes bfcm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

@keyframes bfcm-bar-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Wide screens put the globe in the middle, the totals to its left and the
   per-minute figures stacked to its right. The copy's two parts become grid
   items of their own. The globe is at most 480 design pixels; shorter
   screens narrow it to leave room for the introduction and hourly strip.
   With the 8px row gaps and a 52px headline, reserve 391.24 design pixels
   besides the globe. */
@media (min-width: 1201px) {
  .bfcm-hero-content {
    grid-template-areas:
      "title title title"
      "intro intro intro"
      "totals globe kpis";
    grid-template-columns: minmax(0, 1fr) min(480 * var(--u), max(280px, (100vh - 58px - 391.24 * var(--u)) / 0.96)) minmax(0, 1fr);
    gap: calc(8 * var(--u)) calc(40 * var(--u));
  }

  .bfcm-globe-column {
    width: auto;
    justify-self: stretch;
  }

  .bfcm-hero-copy {
    display: contents;
  }

  /* The totals face the globe. Each figure spans its column, so a font swap
     cannot move its left edge, and its size follows the column. A
     14-character total such as 25,123,456,789 is 7.77em wide; 8em leaves
     room for engines that round each digit to whole pixels. 8.4em holds a
     15-character purchase value. */
  .bfcm-hero-totals {
    grid-area: totals;
    container-type: inline-size;
    text-align: right;
  }

  .bfcm-hero-totals .bfcm-total-heading {
    justify-content: flex-end;
  }

  .bfcm-total {
    font-size: min(calc(48 * var(--u)), 100cqi / 8);
  }

  .bfcm-total--revenue {
    font-size: min(calc(34 * var(--u)), 100cqi / 8.4);
  }

  .bfcm-kpis {
    grid-area: kpis;
    grid-template-columns: minmax(0, 1fr);
    gap: calc(28 * var(--u));
    padding-top: 0;
    border-top: 0;
  }

  /* Stacked, every tooltip and its bridge start at the heading's left edge,
     which keeps the bridge under the info button. */
  .bfcm-kpi:nth-child(n) .bfcm-kpi-tooltip,
  .bfcm-kpi:nth-child(n) .bfcm-kpi-heading::after {
    right: auto;
    left: 0;
    translate: none;
  }
}

/* The header keeps the timestamp on narrower screens; the refresh note goes
   first, before the brand and status would have to wrap. */
@media (max-width: 1200px) {
  .bfcm-header-meta__note {
    display: none;
  }

  body[data-public="true"] .bfcm-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 701px) and (max-height: 700px) {
  .bfcm-hero {
    padding-top: 64px;
    padding-bottom: 8px;
  }

  body[data-public="true"] .bfcm-hero {
    padding-top: 80px;
    padding-bottom: 24px;
  }

  .bfcm-hero h1 {
    font-size: 40px;
  }

  .bfcm-intro {
    font-size: 12px;
  }
}

/* The edition name needs about 250px; below 800px only the logo and the
   status and timestamp fit on one line with room to spare. */
@media (max-width: 800px) {
  .bfcm-brand span:last-child,
  .bfcm-brand i {
    display: none;
  }
}

@media (max-width: 700px) {
  .bfcm-header {
    height: 52px;
    padding: 0 16px;
  }

  .bfcm-brand .bfcm-logo {
    height: 18px;
  }

  .bfcm-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 82px 16px 64px;
  }

  .bfcm-hero-content {
    grid-template-areas:
      "title"
      "intro"
      "copy"
      "globe";
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .bfcm-hero-copy {
    gap: 20px;
  }

  .bfcm-hero-totals {
    text-align: center;
  }

  .bfcm-hero-totals .bfcm-total-heading {
    justify-content: center;
  }

  /* The headline keeps its four lines, two to a sentence. The longest,
     "Black Friday runs", is about 7.9em wide in Inter, so on a screen
     narrower than about 356px the size follows the hero's width rather
     than wrapping a line. The hero, not the viewport: 100vw also counts a
     desktop browser's scrollbar, as in a device emulator. */
  .bfcm-hero-content {
    container-type: inline-size;
  }

  .bfcm-hero h1 {
    font-size: min(40px, 100cqi / 8.1);
  }

  .bfcm-phone-break {
    display: revert;
  }

  .bfcm-header-side {
    gap: 10px;
  }

  .bfcm-total {
    /* 13 monospace characters at about 0.6em each must fit the viewport. */
    font-size: clamp(30px, 11.4vw, 48px);
    letter-spacing: -0.055em;
  }

  .bfcm-total--revenue {
    /* "$1,234,567,890" is 14 characters. */
    font-size: clamp(22px, 8vw, 34px);
  }

  .bfcm-kpis {
    gap: 12px;
  }

  .bfcm-kpis:has(.bfcm-info[aria-expanded="true"]) {
    padding-bottom: 120px;
  }

  .bfcm-kpi .bfcm-kpi-tooltip {
    top: calc(100% + 8px);
    bottom: auto;
  }

  .bfcm-kpi-heading::after {
    top: 18px;
    bottom: -8px;
    height: auto;
  }

  .bfcm-kpi > strong {
    font-size: clamp(18px, 6vw, 24px);
  }

  .bfcm-globe-column {
    width: auto;
    margin-top: 10px;
    justify-self: stretch;
  }

  /* On a phone the globe sits between the figures and the hourly chart, so
     its empty space would read as a gap in the page; the note takes a line
     in the copy column instead. */
  .bfcm-page[data-globe-failed] .bfcm-globe-slot,
  .bfcm-page[data-globe-failed] .bfcm-globe-caption {
    display: none;
  }

  .bfcm-globe-unavailable {
    position: static;
    align-self: stretch;
    justify-content: flex-start;
    padding: 0;
    text-align: left;
  }

  /* 202 bars share about 360px, so the gaps close to keep each bar wider
     than a pixel. */
  .bfcm-hours__bars {
    gap: 0;
  }
}

/* Next to the status, the full logo would cut the timestamp short on a
   phone: "As of 21 Sept 2026, 10:49 GMT+5:30" needs about 480px. Both
   headers' <picture> show the Algolia mark alone there instead, so the page
   loads only the file it shows. */
@media (max-width: 480px) {
  .bfcm-brand .bfcm-logo,
  .bfcm-fallback__brand .bfcm-logo {
    height: 20px;
  }
}

/* A frozen board is not live: the status and caption dots stop pulsing. */
#bfcm-live[data-frozen] .bfcm-status__dot,
#bfcm-live[data-frozen] .bfcm-globe-caption__dot {
  animation: none;
}

/* OneTrust's cookie banner on the public board, in the board's card style.
   OneTrust adds its stylesheet after this one, with selectors of up to two
   IDs, so each rule here starts with body to outrank it. The banner keeps
   OneTrust's position, which its entrance animation sets. */
body #onetrust-consent-sdk {
  font-family: "Inter", "Inter Fallback", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body #onetrust-consent-sdk #onetrust-banner-sdk {
  width: 480px;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(163, 179, 249, 0.35);
  border-radius: 8px;
  background: rgba(17, 19, 41, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

body #onetrust-consent-sdk #onetrust-policy {
  margin: 0;
}

body #onetrust-consent-sdk #onetrust-policy-text {
  padding: 18px 48px 0 20px;
  color: #c7cbd4;
  font-size: 12.5px;
  line-height: 1.6;
}

body #onetrust-consent-sdk #onetrust-banner-sdk a[href] {
  color: #a3b3f9;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(163, 179, 249, 0.5);
  text-underline-offset: 0.15em;
}

body #onetrust-consent-sdk #onetrust-banner-sdk a[href]:hover {
  color: #ffffff;
  text-decoration-color: currentColor;
}

body #onetrust-consent-sdk #onetrust-button-group-parent {
  padding: 14px 20px 18px;
}

body #onetrust-consent-sdk #onetrust-policy-title {
  color: #ffffff;
}

body #onetrust-consent-sdk .ot-b-addl-desc {
  color: #c7cbd4;
}

/* Regions that ask for consent add accept and reject buttons. All the
   banner's buttons look alike, so rejecting is as plain as accepting. */
body #onetrust-consent-sdk #onetrust-pc-btn-handler,
body #onetrust-consent-sdk #onetrust-accept-btn-handler,
body #onetrust-consent-sdk #onetrust-reject-all-handler {
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(163, 179, 249, 0.55);
  border-radius: 6px;
  background: rgba(106, 129, 244, 0.14);
  color: #eef0f5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

body #onetrust-consent-sdk #onetrust-pc-btn-handler:hover,
body #onetrust-consent-sdk #onetrust-accept-btn-handler:hover,
body #onetrust-consent-sdk #onetrust-reject-all-handler:hover {
  border-color: #a3b3f9;
  background: rgba(106, 129, 244, 0.26);
}

/* OneTrust floats the accept and reject pair beside the first button, and
   when it does not fit, drops it onto a line touching the first. A wrapping
   row keeps 8px between them either way, with the pair on the right. */
body #onetrust-consent-sdk .has-reject-all-button #onetrust-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body #onetrust-consent-sdk .has-reject-all-button .onetrust-banner-options {
  display: flex;
  float: none;
  max-width: none;
  gap: 8px;
  margin-left: auto;
}

body #onetrust-consent-sdk #onetrust-banner-sdk :focus-visible {
  outline: 2px solid #a3b3f9;
  outline-offset: 2px;
}

body #onetrust-consent-sdk #onetrust-close-btn-container {
  top: 10px;
  right: 10px;
}

/* OneTrust sets its dark cross inline, so a light one needs !important.
   Inverting the button instead would invert its focus ring too. */
body #onetrust-consent-sdk #onetrust-banner-sdk .banner-close-button,
body #onetrust-consent-sdk #onetrust-pc-sdk #close-pc-btn-handler {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9m0-9l-9 9' stroke='%23eef0f5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  opacity: 0.7;
}

body #onetrust-consent-sdk #onetrust-banner-sdk .banner-close-button:hover,
body #onetrust-consent-sdk #onetrust-pc-sdk #close-pc-btn-handler:hover {
  opacity: 1;
}

body #onetrust-consent-sdk #onetrust-banner-sdk .banner-close-button {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background-size: 10px;
}

/* Shown where a browser sends Global Privacy Control, in the banner and the
   preference center. */
body #onetrust-consent-sdk #onetrust-banner-sdk .ot-optout-signal,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-optout-signal {
  border-color: rgba(92, 197, 150, 0.5);
  border-radius: 6px;
  background: rgba(92, 197, 150, 0.1);
  color: #c7cbd4;
}

/* The preference center behind "Adjust settings", in the same style. Its
   buttons take OneTrust's colours from a rule that chains :not(#id) up to
   four IDs, so their colours need !important. */
body #onetrust-consent-sdk .onetrust-pc-dark-filter {
  background: rgba(5, 5, 13, 0.72);
}

body #onetrust-consent-sdk #onetrust-pc-sdk {
  border: 1px solid rgba(163, 179, 249, 0.35);
  border-radius: 10px;
  background: #111329;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  color: #c7cbd4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-header,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

/* OneTrust's logos are dark artwork. */
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-logo img,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer-logo {
  background: rgba(255, 255, 255, 0.03);
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-title,
body #onetrust-consent-sdk #onetrust-pc-sdk #ot-category-title,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-cat-header {
  color: #ffffff;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-desc,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-category-desc {
  color: #c7cbd4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-desc a,
body #onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-always-active {
  color: #a3b3f9;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-desc a:hover {
  color: #ffffff;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout.ot-cat-item {
  border-color: rgba(255, 255, 255, 0.1);
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-acc-grpcntr.ot-acc-txt {
  background: rgba(255, 255, 255, 0.04);
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-plus-minus span {
  background: #a3b3f9;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-switch-nob {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input:checked + .ot-switch .ot-switch-nob {
  border-color: #6a81f4;
  background: #6a81f4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer button,
body #onetrust-consent-sdk #onetrust-pc-sdk #accept-recommended-btn-handler,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-fltr-btns button {
  border: 1px solid rgba(163, 179, 249, 0.55) !important;
  border-radius: 6px;
  background: rgba(106, 129, 244, 0.14) !important;
  color: #eef0f5 !important;
  font-weight: 600;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer button:hover,
body #onetrust-consent-sdk #onetrust-pc-sdk #accept-recommended-btn-handler:hover,
body #onetrust-consent-sdk #onetrust-pc-sdk .ot-fltr-btns button:hover {
  border-color: #a3b3f9 !important;
  background: rgba(106, 129, 244, 0.26) !important;
  opacity: 1;
}

/* OneTrust's focus outlines are 1px black, which the dark card would hide.
   A toggle's input is invisible, so its ring goes on the switch. */
body #onetrust-consent-sdk #onetrust-pc-sdk :focus-visible {
  outline: 2px solid #a3b3f9;
  outline-offset: 2px;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input:focus-visible + .ot-switch {
  outline: 2px solid #a3b3f9;
  outline-offset: 2px;
}

/* The cookie list. No link opens it with Algolia's settings, but it stays
   legible if one does. */
body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-lst #ot-lst-title h3,
body #onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk span {
  color: #eef0f5;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-search-cntr,
body #onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk {
  background: transparent;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #vendor-search-handler {
  border-color: rgba(163, 179, 249, 0.6);
  background: rgba(255, 255, 255, 0.06);
  color: #eef0f5;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #vendor-search-handler::placeholder {
  color: #9fa2b8;
  opacity: 1;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #filter-btn-handler {
  border-color: #6a81f4;
  background: #6a81f4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-lst svg,
body #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-lst svg path {
  fill: #c7cbd4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-chkbox label::before {
  border-color: #a3b3f9;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-chkbox input:checked ~ label::before {
  background-color: #6a81f4;
}

/* The filter popover over the cookie list, a step lighter than the card. */
body #onetrust-consent-sdk #onetrust-pc-sdk #ot-fltr-cnt {
  border: 1px solid rgba(163, 179, 249, 0.35);
  background: #1a1d3d;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #c7cbd4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #clear-filters-handler {
  border-color: transparent;
  background: transparent;
  color: #a3b3f9;
}

body #onetrust-consent-sdk #onetrust-pc-sdk #ot-fltr-cnt .ot-label-txt {
  color: #c7cbd4;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-scrollbar {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

body #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  body #onetrust-consent-sdk #onetrust-banner-sdk {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  body #onetrust-consent-sdk #onetrust-pc-btn-handler {
    width: 100%;
  }

  body #onetrust-consent-sdk .has-reject-all-button .onetrust-banner-options {
    flex-direction: column;
    width: 100%;
  }
}
