/* Black Friday sneaker resale (/stories/black-friday-sneakers-2026). Loaded after /style.css and
   /stories/story.css. Night hero (ink band) with a countdown, big counters and a replayed US map of
   last Black Friday weekend, a ticker of real sales, then white sections.
   Text/background pairs (WCAG, all >= 4.5:1): ink #0e2627 / #fff 15.9, #c3d0d0 11.0, #81d8d0 9.6,
   #f4c430 9.7 | white / #1c2426 15.9, #4a565b 7.6, #5f6b71 5.6, #077a76 5.2 | #81d8d0 / #0c2422 9.8 |
   #f4c430 / #0c2422 9.9. Minimum text 13px; controls 44px. */
.bf { --teal: #077a76; --tiff: #81d8d0; --tink: #0c2422; --ink: #0e2627; --warm: #f4c430; --on2: #c3d0d0;
  --grey: #7d898d; --line: #dfe7e7; --wash: #f4f9f9; --t1: #1c2426; --t2: #4a565b; --t3: #5f6b71; color: var(--t1); }
.bf a { color: var(--teal); }
.bf .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bf button { font: inherit; }

/* ---------- night hero ---------- */
.bf-night { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.bf-night a { color: var(--tiff); }
.bf-hero { max-width: 1280px; margin: 0 auto; padding: 36px 24px 28px; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; }
.bf-crumbs { font-size: .9rem; color: var(--on2); margin: 0 0 16px; }
.bf-crumbs a { color: var(--on2); text-decoration: none; }
.bf-crumbs a:hover { color: #fff; }
.bf-kicker { font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tiff); margin: 0; }
.bf-kicker .live-dot { display: none; }
.bf h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02;
  letter-spacing: -.025em; margin: .28em 0 .32em; color: #fff; max-width: 15ch; }
.bf-dek { font-size: 1.18rem; line-height: 1.55; color: var(--on2); max-width: 54ch; margin: 0 0 1rem; }
.bf-byline { font-size: .9rem; color: var(--on2); margin: 0; }
.bf-byline strong { color: #fff; font-weight: 600; }

.bf-count { display: flex; gap: 10px; margin: 22px 0 6px; flex-wrap: wrap; align-items: stretch; }
.bf-count .cd { background: rgba(129, 216, 208, .1); border: 1px solid rgba(129, 216, 208, .35); border-radius: 10px;
  min-width: 74px; padding: 8px 10px 6px; text-align: center; }
.bf-count .cd b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1; color: var(--tiff);
  font-variant-numeric: tabular-nums; }
.bf-count .cd span { display: block; font-size: .82rem; color: var(--on2); margin-top: 4px; }
.bf-count-l { font-size: .95rem; color: var(--on2); margin: 0 0 4px; }
.bf-count-l strong { color: #fff; }

/* the replay map in the hero */
.bf-replay { position: relative; min-width: 0; }
.bf-replay-map { position: relative; width: 100%; aspect-ratio: 975 / 610; }
.bf-replay-map svg, .bf-replay-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bf-replay-map .st { stroke: #0e2627; stroke-width: .8; }
.bf-replay-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.bf-clock { font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bf-clock small { display: block; font-family: "Source Sans 3", system-ui, sans-serif; font-size: .85rem; color: var(--on2); }
.bf-ctrl { display: flex; gap: 8px; align-items: center; }
.bf-btn { min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--tiff); background: var(--tiff);
  color: var(--tink); font-weight: 700; cursor: pointer; font-size: .95rem; }
.bf-btn.ghost { background: transparent; color: var(--tiff); }
.bf-btn:focus-visible, .bf-seg button:focus-visible, .bf-scrub:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; }
.bf-scrub { width: 100%; margin: 8px 0 0; accent-color: var(--tiff); height: 44px; }
.bf-replay-note { font-size: .82rem; color: var(--on2); margin: 4px 0 0; line-height: 1.4; }
.bf-replay-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--on2); margin-top: 6px; }
.bf-replay-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--warm); margin-right: 6px; vertical-align: -1px; }

/* counters band */
.bf-counters { max-width: 1280px; margin: 0 auto; padding: 0 24px 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-counter { padding: 18px 20px 6px 0; border-top: 1px solid rgba(195, 208, 208, .45); }
.bf-counter + .bf-counter { padding-left: 20px; border-left: 1px solid rgba(195, 208, 208, .25); }
.bf-counter .n { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1;
  color: var(--warm); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bf-counter .n.tiff { color: var(--tiff); }
.bf-counter .l { display: block; margin-top: 10px; font-size: 1rem; line-height: 1.45; color: var(--on2); max-width: 32ch; }

/* ticker */
.bf-ticker { border-top: 1px solid rgba(195, 208, 208, .25); background: #0b2021; overflow: hidden; position: relative; }
.bf-ticker-in { display: flex; gap: 0; width: max-content; animation: bf-tick 160s linear infinite; padding: 12px 0; }
.bf-ticker:hover .bf-ticker-in, .bf-ticker.paused .bf-ticker-in { animation-play-state: paused; }
.bf-tk { white-space: nowrap; font-size: .92rem; color: var(--on2); padding: 0 22px; border-right: 1px solid rgba(195, 208, 208, .2); }
.bf-tk b { color: #fff; font-weight: 600; }
.bf-tk .p { color: var(--warm); font-weight: 700; margin-left: 6px; }
.bf-tk .t { color: var(--tiff); margin-right: 8px; font-variant-numeric: tabular-nums; }
.bf-ticker-cap { max-width: 1280px; margin: 0 auto; padding: 0 24px 12px; font-size: .82rem; color: var(--on2); }
.bf-ticker-cap button { background: none; border: 0; color: var(--tiff); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
@keyframes bf-tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.bf-sec { max-width: 1160px; margin: 0 auto; padding: 56px 24px 8px; }
.bf-sec-k { font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 6px; }
.bf-sec h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.015em;
  margin: 0 0 .5rem; color: var(--t1); max-width: 26ch; }
.bf-lead { font-size: 1.12rem; line-height: 1.6; color: var(--t2); max-width: 64ch; margin: 0 0 1.1rem; }
.bf-lead strong { color: var(--t1); }
.bf-fine { font-size: .88rem; color: var(--t3); line-height: 1.55; max-width: 80ch; }
.bf-card { border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px; background: #fff; }
.bf-chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bf-chart-t { font-family: var(--serif); font-size: 1.25rem; margin: 0; color: var(--t1); }
.bf-chart-s { font-size: .9rem; color: var(--t3); margin: 2px 0 0; }
.bf-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.bf-seg button { min-height: 44px; padding: 0 14px; border: 0; background: #fff; color: var(--t2); cursor: pointer; font-weight: 600; font-size: .92rem; }
.bf-seg button + button { border-left: 1px solid var(--line); }
.bf-seg button[aria-pressed="true"] { background: var(--tiff); color: var(--tink); }
.bf-chart { position: relative; width: 100%; }
.bf-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.bf-chart .tick text { fill: var(--t3); font-size: 13px; font-family: "Source Sans 3", system-ui, sans-serif; }
.bf-chart .domain, .bf-chart .tick line { stroke: #c9d4d4; }
.bf-chart .grid line { stroke: #eef3f3; }
.bf-chart .grid .domain { display: none; }
.bf-ann { font-size: 13px; font-weight: 700; fill: var(--t1); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.bf-ann.teal { fill: var(--teal); }
.bf-ann.muted { fill: var(--t3); font-weight: 600; }
.bf-tip { position: absolute; z-index: 5; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 6px 22px rgba(12, 36, 34, .12); padding: 8px 10px; font-size: 13.5px; line-height: 1.4; color: var(--t1); max-width: 240px; }
.bf-tip b { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.bf-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--t2); margin: 6px 0 0; }
.bf-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }

/* day tiles */
.bf-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.bf-day { border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 10px; background: #fff; }
.bf-day.hot { background: var(--tiff); border-color: var(--tiff); }
.bf-day.hot, .bf-day.hot .dl, .bf-day.hot .dn { color: var(--tink); }
.bf-day .dl { font-size: .88rem; font-weight: 700; color: var(--t2); display: block; }
.bf-day .dx { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; display: block; margin: 4px 0 2px; color: var(--t1); }
.bf-day .dn { font-size: .84rem; color: var(--t3); display: block; line-height: 1.35; }

/* price answer */
.bf-answer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.bf-big { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 8vw, 6rem); line-height: .95; color: var(--teal); letter-spacing: -.03em; margin: 0; }
.bf-big-l { font-size: 1.02rem; color: var(--t2); line-height: 1.5; margin: 8px 0 0; max-width: 36ch; }
.bf-pill { display: inline-block; background: var(--warm); color: var(--tink); font-weight: 700; border-radius: 999px; padding: 3px 12px; font-size: .9rem; }

/* top shoes */
.bf-shoes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.bf-shoe { border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px 12px; background: #fff; position: relative; text-decoration: none; color: var(--t1); display: block; }
.bf-shoe:hover { border-color: var(--teal); }
.bf-shoe .rk { position: absolute; top: 8px; left: 10px; font-family: var(--serif); font-size: 1.15rem; color: var(--teal); }
.bf-shoe img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; background: #fff; }
.bf-shoe .nm { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; margin-top: 4px; color: var(--t1); }
.bf-shoe .st { display: block; font-size: .88rem; color: var(--t2); margin-top: 3px; }
.bf-shoe .st b { color: var(--t1); }
.bf-shoe .tag { display: inline-block; margin-top: 6px; background: var(--wash); color: var(--teal); border-radius: 999px; font-size: .8125rem; font-weight: 700; padding: 2px 9px; }
.bf-credit { font-size: .82rem; color: var(--t3); margin: 8px 0 0; }

/* category bars, price bands */
.bf-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.bf-bars { display: grid; gap: 10px; margin-top: 8px; }
.bf-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 60px; gap: 10px; align-items: center; font-size: .94rem; color: var(--t2); }
.bf-bar .tr { height: 22px; background: #eef3f3; border-radius: 6px; position: relative; overflow: hidden; }
.bf-bar .fl { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tiff); border-radius: 6px; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.bf-bar.base .fl { background: #b9c4c6; }
.bf-bar .v { font-family: var(--serif); font-size: 1.1rem; color: var(--t1); text-align: right; }
.bf-bar .ref { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--t1); }
.bf-stack { display: flex; height: 34px; border-radius: 8px; overflow: hidden; margin: 4px 0 2px; }
.bf-stack span { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--tink); white-space: nowrap; overflow: hidden; }
.bf-stack-l { font-size: .9rem; color: var(--t2); margin-top: 10px; font-weight: 600; }

/* state map section */
.bf-map-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 20px; align-items: start; }
.bf-map { position: relative; width: 100%; aspect-ratio: 975 / 610; }
.bf-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bf-map .st { stroke: #fff; stroke-width: 1; cursor: pointer; }
.bf-map .st:hover, .bf-map .st.on { stroke: var(--t1); stroke-width: 2; }
.bf-ramp { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--t2); margin-top: 6px; flex-wrap: wrap; }
.bf-ramp .rb { display: inline-block; width: 160px; height: 10px; border-radius: 5px; }
.bf-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.bf-list li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--t2); }
.bf-list li b { color: var(--t1); font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.bf-state-panel { min-height: 120px; }
.bf-state-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 0 0 4px; }

/* below-retail grid */
.bf-deals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.bf-deal { border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px 12px; background: #fff; text-decoration: none; display: block; color: var(--t1); }
.bf-deal:hover { border-color: var(--teal); }
.bf-deal img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.bf-deal .nm { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--t1); margin-top: 4px; }
.bf-deal .px { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.bf-deal .px b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--t1); }
.bf-deal .px s { color: var(--t3); font-size: .92rem; }
.bf-deal .off { display: inline-block; background: var(--warm); color: var(--tink); font-weight: 700; border-radius: 999px; padding: 2px 9px; font-size: .82rem; }
.bf-deal .sm { display: block; font-size: .84rem; color: var(--t3); margin-top: 4px; }
.bf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.bf-links a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; border-radius: 14px; padding: 10px 14px; background: var(--ink);
  color: #fff; text-decoration: none; font-weight: 700; }
.bf-links a span { font-weight: 400; color: var(--on2); font-size: .88rem; margin-top: 2px; }
.bf-links a:hover { background: #163a3b; }

/* ---------- live mode ---------- */
.bf-live { display: none; }
.bf.is-live .bf-live { display: block; }
.bf.is-live .bf-before-only { display: none; }
.bf.is-live .bf-kicker .live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--warm); margin-right: 8px; vertical-align: 0;
  animation: bf-pulse 1.8s ease-in-out infinite; }
@keyframes bf-pulse { 50% { opacity: .35; } }
.bf-live-band { background: var(--ink); color: #fff; padding: 0 0 28px; border-top: 1px solid rgba(195, 208, 208, .25); }
.bf-live-band .bf-sec { padding-top: 20px; }
.bf-live-band h2, .bf-live-band .bf-chart-t { color: #fff; }
.bf-live-band .bf-lead, .bf-live-band .bf-fine, .bf-live-band .bf-chart-s { color: var(--on2); }
.bf-live-band .bf-lead strong { color: #fff; }
.bf-live-band .bf-sec-k { color: var(--tiff); }
.bf-live-band .bf-card { background: #12302f; border-color: #234544; }
.bf-live-band .bf-chart .tick text { fill: var(--on2); }
.bf-live-band .bf-chart .domain, .bf-live-band .bf-chart .tick line { stroke: #3b5b5b; }
.bf-live-band .bf-chart .grid line { stroke: #1b3d3d; }
.bf-live-band .bf-ann { fill: #fff; stroke: #12302f; }
.bf-live-band .bf-legend { color: var(--on2); }
.bf-live-band .bf-shoe { background: #fff; }
.bf-live-band .bf-list, .bf-live-band .bf-list li { border-color: #234544; color: var(--on2); }
.bf-live-band .bf-list li b { color: #fff; }
.bf-fresh { display: inline-block; background: var(--warm); color: var(--tink); border-radius: 12px; padding: 6px 12px; font-weight: 700; font-size: .9rem; margin: 0 0 10px; }
.bf-debug { background: #fff3c4; color: var(--tink); padding: 10px 24px; font-size: .95rem; text-align: center; }

/* after */
.bf-after { max-width: 780px; margin: 0 auto; padding: 24px 24px 48px; }
.bf-after h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
.bf-after p { color: var(--t2); line-height: 1.7; font-size: 1.02rem; }
.bf-after details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.bf-after details.faq summary { cursor: pointer; font-weight: 700; color: var(--t1); min-height: 44px; display: flex; align-items: center; font-size: 1.04rem; }
.bf-after details.faq p { margin: 0 0 12px; }

/* ---------- phones ---------- */
@media (max-width: 899px) {
  .bf-hero { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px 14px; }
  .bf h1 { font-size: clamp(2.1rem, 9.4vw, 2.9rem); }
  .bf-dek { font-size: 1.04rem; }
  .bf-count .cd { min-width: 0; flex: 1 1 0; padding: 8px 4px 6px; }
  .bf-count .cd b { font-size: 1.9rem; }
  .bf-counters { grid-template-columns: 1fr; padding: 0 16px 20px; }
  .bf-counter, .bf-counter + .bf-counter { padding: 14px 0 6px; border-left: 0; }
  .bf-counter .n { font-size: 2.9rem; }
  .bf-ticker-cap { padding: 0 16px 10px; }
  .bf-sec { padding: 40px 16px 4px; }
  .bf-card { padding: 14px 12px; border-radius: 18px; }
  .bf-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-days .bf-day:first-child { grid-column: 1 / -1; }
  .bf-answer, .bf-two, .bf-map-wrap { grid-template-columns: 1fr; }
  .bf-shoes, .bf-deals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bf-links { grid-template-columns: 1fr 1fr; }
  .bf-bar { grid-template-columns: 112px minmax(0, 1fr) 50px; font-size: .88rem; }
  .bf-after { padding: 16px 16px 40px; }
  .bf-seg button { padding: 0 11px; }
  .bf.is-live .bf-replay { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-ticker-in { animation: none; overflow-x: auto; width: auto; }
  .bf-ticker { overflow-x: auto; }
  .bf-bar .fl { transition: none; }
  .bf.is-live .bf-kicker .live-dot { animation: none; }
}
