/* The Beach Buggy Blue-Mod page (templates/blue_mod.html). Its own palette, taken from the posters:
   a deep night blue, the electric blue of the title, the gold of the headlines and the fire of the
   explosions, in light and dark mode alike. The site's tokens are redefined inside .bm, so the
   soundtrack player and its lyrics (style.css) turn blue with the page. */

@font-face {
  font-family: "BBR Title";
  src: url("../online/Title.ttf") format("truetype");
  font-display: swap;
}

.bm {
  --bm-night: #050d24;
  --bm-navy: #0a1f4d;
  --bm-blue: #2f8cff;
  --bm-sky: #6cc4ff;
  --bm-gold: #ffd23f;
  --bm-fire: #ff7a1a;
  --bm-soft: rgba(214, 230, 255, .82);
  --bm-game: "BBR Title", "Inter", system-ui, sans-serif;

  /* the site's tokens, in blue, for the player and anything else from style.css */
  --bg: #050d24;  --bg-raise: #0b1c44;  --bg-raise-2: #0e2252;
  --panel: #0a1a40;  --panel-2: #0d2150;
  --line: rgba(108, 196, 255, .14);  --line-2: rgba(108, 196, 255, .26);  --line-soft: rgba(108, 196, 255, .08);
  --ink: #fff;  --ink-2: #d6e6ff;  --muted: #8fb0d9;  --muted-2: #6d8cb8;  --dim: #2c4777;
  --accent: #2f8cff;  --accent-2: #5aa8ff;
  --accent-soft: rgba(47, 140, 255, .16);  --accent-edge: rgba(47, 140, 255, .45);

  overflow: hidden;
  overflow: clip;            /* clip keeps the lyrics bar sticky where it's supported */
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(60% 40% at 85% 30%, rgba(47, 140, 255, .14), transparent 70%),
    radial-gradient(50% 30% at 10% 70%, rgba(108, 196, 255, .08), transparent 70%),
    var(--bm-night);
}
.bm p { color: inherit; }
.bm-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.bm-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bm-sky);
}
.bm-h2 {
  margin: 0;
  font-family: var(--bm-game);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--bm-gold);
  paint-order: stroke fill;
  -webkit-text-stroke: .12em #3a1600;
  text-shadow: 0 .06em 0 #3a1600;
}
.bm-sub { margin: 12px 0 0; color: var(--bm-soft); font-size: 15px; }

/* ---- the hero ------------------------------------------------------------------------------- */

.bm-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.bm-hero-bg {
  position: absolute;
  inset: -40px;
  z-index: -2;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  filter: blur(26px) saturate(1.3);
  opacity: .55;
}
.bm-hero::before {                        /* the night falling over the backdrop */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 36, .96) 0%, rgba(5, 13, 36, .82) 45%, rgba(5, 13, 36, .55) 100%),
    linear-gradient(0deg, var(--bm-night) 0%, transparent 35%);
}
.bm-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.bm-badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 18px; }
.bm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bm-sky);
  background: rgba(47, 140, 255, .12);
  border: 1px solid rgba(108, 196, 255, .35);
  border-radius: 999px;
}
.bm-badge--legend {
  color: #2a1600;
  background: linear-gradient(180deg, #ffe680, var(--bm-gold));
  border-color: #fff3b0;
  box-shadow: 0 3px 0 #9a6b00, 0 0 22px rgba(255, 210, 63, .45);
  animation: bm-crown 3s ease-in-out infinite;
}
@keyframes bm-crown { 50% { box-shadow: 0 3px 0 #9a6b00, 0 0 34px rgba(255, 210, 63, .75); } }
/* Turbo, the new version, burns in the fire of the explosions */
.bm-badge--turbo {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #ff9a3c, #ff5a1a);
  border-color: #ffd2a8;
  box-shadow: 0 3px 0 #8a2a00, 0 0 22px rgba(255, 122, 26, .5);
  animation: bm-flame 1.8s ease-in-out infinite;
}
.bm-badge--turbo:hover { filter: brightness(1.1); }
@keyframes bm-flame { 50% { box-shadow: 0 3px 0 #8a2a00, 0 0 34px rgba(255, 154, 60, .85); } }

/* the title as the posters draw it: white "BEACH BUGGY", then BLUE-MOD in blue with a white edge */
.bm-title { margin: 0; font-family: var(--bm-game); font-weight: 400; line-height: .9; letter-spacing: .01em; }
.bm-title-top {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: #fff;
  paint-order: stroke fill;
  -webkit-text-stroke: .14em var(--bm-navy);
  text-shadow: 0 .06em 0 var(--bm-navy);
}
.bm-title-main {
  display: block;
  margin-top: .04em;
  font-size: clamp(3.6rem, 9vw, 7.2rem);
  color: #3d9bff;
  paint-order: stroke fill;
  -webkit-text-stroke: .1em #fff;
  text-shadow: 0 .05em 0 #0b2a6e, 0 .09em 0 rgba(5, 13, 36, .8), 0 0 60px rgba(47, 140, 255, .65);
  animation: bm-glow 3.2s ease-in-out infinite;
}
@keyframes bm-glow {
  50% { text-shadow: 0 .05em 0 #0b2a6e, 0 .09em 0 rgba(5, 13, 36, .8), 0 0 90px rgba(108, 196, 255, .95); }
}
.bm-lead { max-width: 36rem; margin: 22px 0 0; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--bm-soft); }
.bm-lead b { color: #fff; }
.bm-lead em { font-style: normal; font-weight: 800; color: var(--bm-gold); }
.bm-legend { margin: 12px 0 0; font-size: 1.05rem; color: var(--bm-sky); }
.bm-legend b { color: #fff; }
.bm-turbo-line { margin: 10px 0 28px; font-size: 1.05rem; color: #ffd2a8; }
.bm-turbo-line b { color: #ff9a3c; }

/* the hero poster, tilted like a card thrown on the table, glowing like the title */
.bm-hero-shot { position: relative; margin: 0; transform: rotate(1.6deg); }
.bm-hero-shot figcaption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bm-soft);
}
.bm-live {
  width: 9px;
  height: 9px;
  background: #ff3b3b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, .7);
  animation: bm-live 1.6s ease-out infinite;
}
@keyframes bm-live { 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); } }

.bm-shot {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: none;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(47, 140, 255, .6), 0 24px 60px -18px rgba(47, 140, 255, .8), 0 30px 60px rgba(0, 0, 0, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bm-shot img { display: block; width: 100%; height: auto; }
.bm-shot:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 0 0 1px rgba(108, 196, 255, .9), 0 30px 70px -16px rgba(108, 196, 255, .95), 0 30px 60px rgba(0, 0, 0, .5); }
.bm-shot:focus-visible { outline: 3px solid var(--bm-gold); outline-offset: 4px; }

/* ---- the download button: a glossy blue game button that pulses and shines ------------------- */

.bm-dl {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: min(100%, 360px);
  padding: 14px 22px 14px 14px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #6cc4ff 0%, #2f8cff 48%, #1a5fd8 100%);
  border: 3px solid #fff;
  border-radius: 20px;
  box-shadow: 0 7px 0 #0b2a6e, 0 22px 44px -12px rgba(47, 140, 255, .95);
  transition: transform .12s ease-out, box-shadow .12s ease-out, filter .15s;
  -webkit-tap-highlight-color: transparent;
}
.bm-dl::before {                          /* the gloss on the top half */
  content: "";
  position: absolute;
  inset: 3px 3px 50% 3px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08));
  border-radius: 15px 15px 40% 40% / 15px 15px 12px 12px;
}
.bm-dl::after {                           /* the pulse ring calling to be pressed */
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -2;
  border-radius: 20px;
  box-shadow: 0 0 0 0 rgba(108, 196, 255, .75);
  animation: bm-ring 2.2s ease-out infinite;
}
@keyframes bm-ring { 70%, 100% { box-shadow: 0 0 0 18px rgba(108, 196, 255, 0); } }
.bm-dl:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 9px 0 #0b2a6e, 0 28px 50px -12px rgba(108, 196, 255, 1); }
.bm-dl:active { transform: translateY(5px) scale(.98); box-shadow: 0 2px 0 #0b2a6e, 0 12px 30px -12px rgba(47, 140, 255, .9); }
.bm-dl:focus-visible { outline: 3px solid var(--bm-gold); outline-offset: 5px; }
.bm-dl-chip {                             /* "New · Turbo", stuck on the corner like a sticker */
  position: absolute;
  top: -13px;
  right: 14px;
  padding: 4px 10px 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #ff9a3c, #ff5a1a);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 3px 0 #8a2a00;
  transform: rotate(4deg);
}
.bm-dl-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  background: linear-gradient(180deg, #4ee07a, #1fa94a);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  box-shadow: 0 3px 0 #0d5a26;
}
.bm-dl-icon svg { width: 30px; height: 30px; fill: #fff; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.bm-dl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bm-dl-text b {
  font-family: var(--bm-game);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1;
  letter-spacing: .01em;
  paint-order: stroke fill;
  -webkit-text-stroke: .12em #0b2a6e;
  text-shadow: 0 .06em 0 #0b2a6e;
}
.bm-dl-text small { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 0 rgba(11, 42, 110, .8); }
.bm-dl-arrow { flex: none; margin-left: auto; width: 26px; height: 26px; }
.bm-dl-arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 0 #0b2a6e); animation: bm-bob 1.6s ease-in-out infinite; }
@keyframes bm-bob { 50% { transform: translateY(3px); } }
.bm-dl-meta { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* the MediaFire mirror: a quieter second way to get the same APK, under the big button */
.bm-get { display: inline-flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 100%; }
.bm-mirror {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--bm-soft);
  text-decoration: none;
  background: rgba(10, 31, 77, .65);
  border: 2px solid rgba(108, 196, 255, .4);
  border-radius: 14px;
  transition: color .15s, border-color .15s, background .15s, transform .12s;
}
.bm-mirror b { color: #fff; }
.bm-mirror svg { flex: none; width: 20px; height: 20px; color: var(--bm-sky); }
.bm-mirror-ext { font-weight: 700; color: var(--bm-sky); }
.bm-mirror:hover { color: #fff; background: rgba(47, 140, 255, .22); border-color: var(--bm-sky); transform: translateY(-1px); }
.bm-mirror:focus-visible { outline: 3px solid var(--bm-gold); outline-offset: 3px; }

/* ---- the numbers of the hunt ---------------------------------------------------------------- */

.bm-facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  list-style: none;
}
.bm-facts li {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(47, 140, 255, .14), rgba(47, 140, 255, .04));
  border: 1px solid rgba(108, 196, 255, .25);
  border-radius: 16px;
}
.bm-facts b {
  display: block;
  font-family: var(--bm-game);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  color: var(--bm-gold);
  paint-order: stroke fill;
  -webkit-text-stroke: .1em #3a1600;
}
.bm-facts span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--bm-soft); }

/* ---- the new version: Turbo ------------------------------------------------------------------ */

.bm-turbo { max-width: var(--maxw); margin: clamp(28px, 4vw, 40px) auto 0; padding: 0 clamp(16px, 4vw, 24px); }
.bm-turbo-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(70% 120% at 0% 50%, rgba(255, 122, 26, .28), transparent 65%),
    linear-gradient(180deg, #13214a, #0b1838);
  border: 2px solid rgba(255, 154, 60, .55);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, .2), 0 24px 50px -24px rgba(255, 122, 26, .7);
}
.bm-turbo-icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 8vw, 88px);
  aspect-ratio: 1;
  background: linear-gradient(180deg, #ffb35c, #ff5a1a);
  border: 3px solid #fff;
  border-radius: 22px;
  box-shadow: 0 5px 0 #8a2a00, 0 0 40px rgba(255, 122, 26, .6);
  animation: bm-flame 1.8s ease-in-out infinite;
}
.bm-turbo-icon svg { width: 56%; height: 56%; fill: #fff; filter: drop-shadow(0 2px 0 rgba(138, 42, 0, .8)); }
.bm-turbo .bm-kicker { color: #ffb35c; }
.bm-turbo .bm-h2 { color: #ff9a3c; -webkit-text-stroke-color: #3a1000; }
.bm-turbo-copy p:last-child { max-width: 44rem; margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--bm-soft); }
.bm-turbo-copy b { color: #fff; }
.bm-turbo-get {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #ff9a3c, #ff5a1a);
  border: 2px solid #fff;
  border-radius: 14px;
  box-shadow: 0 4px 0 #8a2a00;
  transition: transform .12s ease-out, box-shadow .12s ease-out, filter .15s;
}
.bm-turbo-get svg { width: 18px; height: 18px; }
.bm-turbo-get:hover { filter: brightness(1.08); transform: translateY(-2px); }
.bm-turbo-get:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a2a00; }
.bm-turbo-get:focus-visible { outline: 3px solid var(--bm-gold); outline-offset: 3px; }

/* ---- what's hunting you --------------------------------------------------------------------- */

.bm-feats { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.bm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.bm-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  background: linear-gradient(180deg, #0d2150, #091838);
  border: 1px solid rgba(108, 196, 255, .22);
  border-radius: 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bm-card:hover { transform: translateY(-5px); border-color: rgba(108, 196, 255, .7); box-shadow: 0 22px 44px -18px rgba(47, 140, 255, .85); }
.bm-card:focus-visible { outline: 3px solid var(--bm-gold); outline-offset: 3px; }
.bm-card-shot { position: relative; display: block; }
.bm-card-shot img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.bm-card:hover .bm-card-shot img { transform: scale(1.05); }
.bm-card-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(5, 13, 36, .7);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  opacity: 0;
  transition: opacity .2s ease;
}
.bm-card-zoom svg { width: 16px; height: 16px; }
.bm-card:hover .bm-card-zoom, .bm-card:focus-visible .bm-card-zoom { opacity: 1; }
.bm-card-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.bm-card-text b { font-size: 16px; font-weight: 800; color: var(--bm-gold); }
.bm-card-text small { font-size: 13.5px; line-height: 1.5; color: var(--bm-soft); }

/* ---- the anthem: the shared player, in the page's blue -------------------------------------- */

.bm-anthem { padding: 8px 0 clamp(40px, 6vw, 64px); }
.bm .beachfm-bar-fill { box-shadow: 0 0 12px rgba(47, 140, 255, .6); }
.bm .beachfm-ctrl-main { box-shadow: 0 8px 22px rgba(47, 140, 255, .45); }

/* ---- installing ----------------------------------------------------------------------------- */

.bm-install { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid rgba(108, 196, 255, .12); }
.bm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: bm-step;
}
.bm-steps li {
  position: relative;
  padding: 22px 20px 20px 72px;
  background: rgba(47, 140, 255, .07);
  border: 1px solid rgba(108, 196, 255, .2);
  border-radius: 16px;
  counter-increment: bm-step;
}
.bm-steps li::before {
  content: counter(bm-step);
  position: absolute;
  top: 20px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--bm-game);
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(180deg, #6cc4ff, #1a5fd8);
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 3px 0 #0b2a6e;
}
.bm-steps b { display: block; margin-bottom: 6px; font-size: 15.5px; line-height: 1.35; }
.bm-steps span { font-size: 14px; line-height: 1.55; color: var(--bm-soft); }

/* ---- the dare -------------------------------------------------------------------------------- */

.bm-final {
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 110px);
  background: radial-gradient(60% 70% at 30% 50%, rgba(255, 122, 26, .16), transparent 70%);
}
.bm-final-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.bm-final-shot { transform: rotate(-1.4deg); }
.bm-final-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.bm-final-copy p { margin: 14px 0 26px; font-size: 1.1rem; color: var(--bm-soft); }
.bm-final-copy .bm-classic { margin: 22px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.bm-classic a { font-weight: 700; color: var(--bm-sky); text-underline-offset: 3px; }
.bm-classic a:hover { color: #fff; }

/* ---- the lightbox --------------------------------------------------------------------------- */

.bm-lb {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}
.bm-lb::backdrop { background: rgba(3, 8, 22, .92); backdrop-filter: blur(6px); }
.bm-lb figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  margin: 0;
  padding: 64px clamp(12px, 6vw, 88px);
  pointer-events: none;
}
.bm-lb img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(47, 140, 255, .8);
  pointer-events: auto;
}
.bm-lb figcaption { max-width: 46rem; font-size: 15px; text-align: center; color: var(--bm-soft); pointer-events: auto; }
.bm-lb figcaption b { color: var(--bm-gold); }
.bm-lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  cursor: pointer;
  background: rgba(47, 140, 255, .25);
  border: 1px solid rgba(108, 196, 255, .5);
  border-radius: 50%;
  transition: background .15s;
}
.bm-lb-btn:hover { background: rgba(47, 140, 255, .55); }
.bm-lb-btn:focus-visible { outline: 3px solid var(--bm-gold); outline-offset: 2px; }
.bm-lb-btn svg { width: 22px; height: 22px; }
.bm-lb-prev { top: 50%; left: clamp(8px, 2vw, 24px); transform: translateY(-50%); }
.bm-lb-next { top: 50%; right: clamp(8px, 2vw, 24px); transform: translateY(-50%); }
.bm-lb-close { top: 14px; right: 14px; }

/* ---- tablets and phones ---------------------------------------------------------------------- */

@media (max-width: 900px) {
  .bm-hero-inner, .bm-final-inner { grid-template-columns: minmax(0, 1fr); }
  .bm-hero::before { background: linear-gradient(180deg, rgba(5, 13, 36, .9), rgba(5, 13, 36, .75) 60%, var(--bm-night)); }
  .bm-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-steps { grid-template-columns: minmax(0, 1fr); }
  .bm-final-copy { order: -1; }
  .bm-turbo-inner { grid-template-columns: auto minmax(0, 1fr); }
  .bm-turbo-get { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 520px) {
  .bm-get { display: flex; }
  .bm-dl { display: flex; width: 100%; padding-right: 16px; }
  .bm-dl-icon { width: 46px; height: 46px; }
  .bm-hero-shot, .bm-final-shot { transform: none; }
  .bm-turbo-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bm-turbo-icon { width: 60px; border-radius: 18px; }
  .bm-lb-prev, .bm-lb-next { top: auto; bottom: 16px; transform: none; }
  .bm-lb figure { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-badge--legend, .bm-badge--turbo, .bm-turbo-icon, .bm-title-main, .bm-live, .bm-dl::after, .bm-dl-arrow svg { animation: none; }
  .bm-shot, .bm-card, .bm-card-shot img, .bm-dl { transition: none; }
}
