:root {
  --bg: #16171c;
  --bg-2: #1c1d23;
  --panel: #22242b;
  --panel-2: #2a2c34;
  --line: #34363f;
  --ink: #f6f1e7;
  --ink-soft: #c6c3bb;
  --ink-mute: #8f919d;
  --orange: #ff6b2c;
  --orange-hi: #ff8a3d;
  --gold: #f5c04a;
  --cream: #fbf1dc;
  --red: #e2453c;
  --radius: 26px;
  --display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --sans: "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

b { font-weight: 800; }

.glow-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(600px 420px at 78% 38%, rgba(255,107,44,.16), transparent 70%),
    radial-gradient(500px 360px at 10% 0%, rgba(245,192,74,.07), transparent 70%);
}

.wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 32px;
  padding: 56px 0 40px;
  min-height: 680px;
}

.kicker, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-hi);
}
.kicker {
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
}
.blip { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,107,44,.6); animation: blip 2s infinite; }
@keyframes blip { 70% { box-shadow: 0 0 0 9px rgba(255,107,44,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,44,0); } }

.logo { margin: 0; font-family: var(--display); font-weight: 700; line-height: .9; text-transform: uppercase; }
.logo-main { display: block; font-size: clamp(3rem, 7vw, 5.4rem); letter-spacing: .02em; color: var(--cream); }
.logo-whiz {
  display: block;
  font-size: clamp(4.2rem, 10vw, 7.8rem);
  color: var(--orange);
  text-shadow: 0 0 40px rgba(255,107,44,.35);
}

.lede { margin: 26px 0 0; max-width: 520px; font-size: 1.14rem; color: var(--ink-soft); }
.lede b { color: var(--ink); }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 0 #b8431a, 0 14px 30px rgba(255,107,44,.25);
  transition: transform .15s, box-shadow .15s;
}
a.appstore-badge:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #b8431a, 0 18px 34px rgba(255,107,44,.3); }
.appstore-badge.is-soon { background: var(--panel-2); box-shadow: 0 5px 0 #101114; border: 1.5px solid var(--line); }
.appstore-badge .apple { width: 28px; height: 28px; }
.appstore-badge .bt { line-height: 1.15; }
.appstore-badge small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.appstore-badge b { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.platforms { font-weight: 700; color: var(--ink-mute); }

/* Hero art */
.hero-art { position: relative; height: 620px; }
.hero-pegs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  -webkit-mask: radial-gradient(closest-side, #000 60%, transparent);
          mask: radial-gradient(closest-side, #000 60%, transparent);
}
.trail { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .1 11; opacity: .8; }
.hero-pegs .trail { animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -22.2; } }
.hero-hole { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.1); } }

.hero-phone {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 270px;
  margin: 0 0 0 -120px;
  padding: 8px;
  border: 0;
  border-radius: 40px;
  background: #0b0b0e;
  box-shadow: 0 0 0 2px #3b3d48, 0 30px 70px rgba(0,0,0,.55), 0 0 80px rgba(255,107,44,.12);
  transform: rotate(4deg);
  animation: float 6s ease-in-out infinite;
  cursor: pointer;
}
.hero-phone video { display: block; width: 100%; height: auto; border-radius: 32px; background: var(--bg-2); }
.hero-phone:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.watch {
  position: absolute;
  left: 50%;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font: 800 .9rem var(--sans);
  white-space: nowrap;
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  transition: transform .2s;
}
.watch svg { width: 16px; height: 16px; color: var(--orange); }
.hero-phone:hover .watch { transform: translateX(-50%) rotate(-4deg) scale(1.06); }
@keyframes float {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-12px); }
}

/* ===== Sections ===== */
.block { padding: 56px 0; }
.section-kicker { display: block; text-align: center; margin-bottom: 6px; }
.block h2 {
  margin: 0 0 34px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  line-height: 1.1;
  color: var(--cream);
}
.h2-sub { color: var(--orange); }

/* How to play */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  transition: transform .2s, border-color .2s;
}
.step:hover { transform: translateY(-4px) rotate(-.4deg); border-color: #4a4d5a; }
.step:nth-child(2):hover { transform: translateY(-4px) rotate(.4deg); }
.illo {
  height: 170px;
  margin: 0 -8px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #2c2e37, #1d1e24);
  overflow: hidden;
}
.illo svg { width: 100%; height: 100%; }

.drag { animation: drag 3.6s ease-in-out infinite; }
@keyframes drag {
  0%, 12% { transform: translate(0, 0) rotate(0deg); }
  50%, 70% { transform: translate(40px, -86px) rotate(-18deg); }
  100% { transform: translate(40px, -86px) rotate(-18deg); opacity: 0; }
}
.step-build .drag { transform-box: fill-box; transform-origin: center; }
.drag-path { stroke: var(--ink-mute); stroke-width: 2; stroke-dasharray: 3 6; opacity: .6; }

.spring { transform-box: fill-box; transform-origin: bottom; animation: spring 2.4s ease-in-out infinite; }
@keyframes spring { 0%, 100% { transform: scaleY(1); } 35% { transform: scaleY(.55); } 42% { transform: scaleY(1.1); } 50% { transform: scaleY(1); } }
.launch-ball { animation: launch 2.4s ease-in infinite; }
@keyframes launch {
  0%, 35% { transform: translate(0, 12px); opacity: 1; }
  42% { transform: translate(0, -40px); }
  60% { transform: translate(-30px, -84px); opacity: 1; }
  70%, 100% { transform: translate(-60px, -84px); opacity: 0; }
}
.pull { animation: pull 2.4s ease-in-out infinite; }
@keyframes pull { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(8px); } 42% { transform: translateY(0); } }

.hole-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
.sink-ball { transform-box: fill-box; transform-origin: center; animation: sink 3s ease-in infinite; }
@keyframes sink {
  0% { transform: translate(-100px, -60px) scale(1); opacity: 0; }
  10% { opacity: 1; }
  55% { transform: translate(0, 0) scale(1); opacity: 1; }
  70%, 100% { transform: translate(0, 0) scale(.2); opacity: 0; }
}
.whiz-pop { font: 700 22px var(--display); fill: var(--orange); opacity: 0; animation: whiz 3s ease-out infinite; }
@keyframes whiz { 0%, 62% { opacity: 0; } 72%, 92% { opacity: 1; } 100% { opacity: 0; } }

.num {
  position: absolute;
  top: 168px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 0 5px var(--panel);
}
.step h3 { margin: 6px 0 8px; font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--cream); }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.step p b { color: var(--ink); }

.bin {
  margin: 34px auto 0;
  padding: 18px 22px 20px;
  border: 1.5px dashed #444754;
  border-radius: 22px;
  text-align: center;
}
.bin-head { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.bin ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bin li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}
.bin li svg { width: 26px; height: 26px; }

/* Scoring */
.score-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: center; max-width: 940px; margin: 0 auto; }
.scorecard {
  padding: 26px 26px 20px;
  border-radius: 30px;
  background: linear-gradient(180deg, #f3f0ea, #e5e8ec);
  color: #2b2d35;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(-2deg);
}
.scorecard p { margin: 0; }
.sc-title { text-align: center; font: 700 2.6rem/1 var(--display); text-transform: uppercase; color: var(--orange); }
.sc-meta { margin: 12px 0 14px !important; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b6e7a; }
.sc-badge { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--gold); color: #2b2d35; letter-spacing: .04em; }
.scorecard dl { margin: 0; }
.scorecard dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.scorecard dt { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #4f5b6e; }
.scorecard dt small { margin-left: 4px; font-size: .68rem; color: #8b8f9b; }
.scorecard dd { margin: 0; font: 600 1.25rem var(--display); }
.scorecard .sc-total { margin-top: 6px; padding-top: 10px; border-top: 1.5px solid #c9ccd3; }
.scorecard .sc-total dd { font-size: 1.6rem; color: var(--orange); }
.sc-stars { margin-top: 10px !important; text-align: center; font-size: 2.6rem; line-height: 1; letter-spacing: 6px; color: #f39a2c; }
.sc-stars .off { color: #9a6a3c; }
.score-list { margin: 0; padding: 0; list-style: none; }
.score-list li {
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
}
.score-list b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--gold); }
.score-note { max-width: 640px; margin: 30px auto 0; text-align: center; color: var(--ink-mute); }
.score-note b { color: var(--ink); }

/* Modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode {
  padding: 24px 26px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1.5px solid var(--line);
}
.mode-packs { grid-column: 1 / -1; }
.mode-icon { width: 34px; height: 34px; color: var(--orange); }
.mode h3 { margin: 8px 0 6px; font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--cream); }
.mode p { margin: 0; color: var(--ink-soft); }
.mode p b { color: var(--ink); }
.packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pack;
}
.packs li {
  position: relative;
  padding: 12px 14px 12px 52px;
  border-radius: 16px;
  background: var(--panel-2);
  color: var(--ink-mute);
  font-size: .92rem;
  line-height: 1.4;
  counter-increment: pack;
}
.packs li::before {
  content: counter(pack);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255,107,44,.15);
  color: var(--orange);
  font: 700 1rem var(--display);
}
.packs b { display: block; color: var(--ink); font-size: 1rem; }

/* ===== Screenshots ===== */
.device-toggle {
  position: relative;
  display: flex;
  width: max-content;
  margin: -12px auto 36px;
  padding: 5px;
  border-radius: 999px;
  background: var(--panel);
  border: 1.5px solid var(--line);
}
.device-toggle button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 130px;
  padding: 10px 0;
  font: 700 1rem var(--sans);
  color: var(--ink-mute);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s;
}
.device-toggle button svg { width: 20px; height: 20px; }
.device-toggle button[aria-pressed="true"] { color: #fff; }
.device-toggle button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.toggle-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 130px;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: var(--orange);
  transition: transform .35s cubic-bezier(.5, 1.6, .5, 1);
}
#shots[data-device="ipad"] .toggle-pill { transform: translateX(130px); }

.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 22px; }
.shots-iphone .shot-fig { width: calc((100% - 66px) / 4); }
.shots-ipad .shot-fig { width: calc((100% - 22px) / 2); }
#shots[data-device="iphone"] .shots-ipad,
#shots[data-device="ipad"] .shots-iphone { display: none; }

.shot-fig { margin: 0; animation: pop .5s both cubic-bezier(.3, 1.4, .5, 1); animation-delay: calc(var(--i) * 70ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.shot {
  display: block;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 30px;
  background: #0b0b0e;
  box-shadow: 0 0 0 2px #3b3d48, 0 18px 40px rgba(0,0,0,.4);
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}
.shots-ipad .shot { border-radius: 22px; }
.shot:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 0 0 2px var(--orange), 0 22px 44px rgba(0,0,0,.45); }
.shot-fig:nth-child(even) .shot:hover { transform: translateY(-6px) rotate(1deg); }
.shot:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 24px; }
.shots-ipad .shot img { border-radius: 16px; }
.shot-fig figcaption { margin-top: 16px; text-align: center; line-height: 1.35; }
.cap-head { display: block; font-family: var(--display); font-weight: 600; font-size: 1.06rem; color: var(--cream); }
.cap-head b { color: var(--orange); font-weight: 600; }
.cap-sub { display: block; margin-top: 4px; font-size: .88rem; color: var(--ink-mute); }

/* ===== Pro ===== */
.pro-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 32px 34px;
  border-radius: 30px;
  background: radial-gradient(circle at 0% 0%, rgba(255,107,44,.16), transparent 50%), var(--panel);
  border: 1.5px solid var(--line);
}
.pro-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.pro-tag svg { width: 20px; height: 20px; }
.pro-card h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--cream); }
.pro-card h3 span { color: var(--gold); }
.pro-card p { margin: 0; color: var(--ink-soft); }
.pro-card p b { color: var(--ink); }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.theme { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.theme i {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  overflow: hidden;
  transition: transform .2s;
}
.theme:hover i { transform: translateY(-4px) rotate(-3deg); }
.theme:nth-child(even):hover i { transform: translateY(-4px) rotate(3deg); }
.theme i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; }
.t-classic i { background: radial-gradient(circle at 50% 42%, #fff 0 9%, transparent 10%), linear-gradient(#fbf1dc, #f1e3c4); border: 4px solid #7a4a2a; }
.t-classic i::after { background: #b5342c; }
.t-midnight i { background: radial-gradient(circle at 60% 35%, #f5e7b0 0 9%, transparent 10%), radial-gradient(1px 1px at 25% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 65%, #fff, transparent), linear-gradient(#1d2347, #2b2f5e); border: 4px solid #121530; }
.t-midnight i::after { background: #3d55c9; }
.t-bubblegum i { background: radial-gradient(circle at 50% 42%, #fff 0 9%, transparent 10%), linear-gradient(#ff9bc4, #f472a8); border: 4px solid #d9558f; }
.t-bubblegum i::after { background: #4ad0c0; }
.t-random i { background: conic-gradient(#fbf1dc 0 25%, #2b2f5e 0 50%, #f472a8 0 75%, #4ba3d9 0); border: 4px solid #3a3c45; }
.t-random i::after { display: none; }

/* ===== Closing ===== */
.closing-card {
  position: relative;
  max-width: 760px;
  margin: 30px auto 0;
  padding: 56px 30px 44px;
  text-align: center;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 0%, rgba(255,107,44,.2), transparent 55%), var(--panel);
  border: 1.5px solid var(--line);
}
.closing-hole { position: absolute; top: -40px; left: 50%; width: 80px; height: 80px; margin-left: -40px; animation: pulse 2.2s ease-in-out infinite; }
.closing h2 { margin-bottom: 14px; }
.closing h2 span { color: var(--orange); }
.closing p { margin: 0 auto; max-width: 460px; color: var(--ink-soft); }
.closing .cta { justify-content: center; }

footer { padding: 30px 0 50px; text-align: center; color: var(--ink-mute); font-size: .95rem; }
footer p { margin: 4px 0; }
footer a { color: var(--orange-hi); font-weight: 800; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ===== Lightbox ===== */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(8,8,10,.8); backdrop-filter: blur(6px); }
.lightbox img, .lightbox video { display: block; max-width: 94vw; max-height: 90vh; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox video, .lightbox.is-video img { display: none; }
.lightbox.is-video video { display: block; background: #000; }
.lb-close {
  position: absolute;
  z-index: 1;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--bg);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; min-height: 0; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-art { width: 100%; max-width: 440px; height: 620px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .score-wrap { grid-template-columns: 1fr; max-width: 520px; gap: 34px; }
  .scorecard { max-width: 380px; width: 100%; margin: 0 auto; }
  .packs { grid-template-columns: 1fr 1fr; }
  .shots-iphone .shot-fig { width: calc((100% - 44px) / 3); }
  .pro-card { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .kicker { font-size: .7rem; letter-spacing: .1em; white-space: nowrap; }
  .hero-art { height: 540px; }
  .hero-phone { width: 230px; margin-left: -110px; }
  .modes, .packs { grid-template-columns: 1fr; }
  .mode { padding: 22px 20px 24px; }
  .pro-card { padding: 26px 20px; }
  .themes { gap: 8px; }
  .scorecard { padding: 22px 18px 18px; }
  .sc-title { font-size: 2.2rem; }
  /* Swipeable screenshot rail on phones */
  .shots {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    justify-content: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 10px 16px 18px;
    scrollbar-width: none;
  }
  .shots-ipad { grid-auto-columns: 84%; }
  #shots[data-device="iphone"] .shots-ipad,
  #shots[data-device="ipad"] .shots-iphone { display: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot-fig, .shots-iphone .shot-fig, .shots-ipad .shot-fig { width: auto; scroll-snap-align: center; }
  .device-toggle button, .toggle-pill { width: 116px; }
  #shots[data-device="ipad"] .toggle-pill { transform: translateX(116px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-pegs use[href="#ball"] { display: none; }
}
