/* =====================================================================================
   THE KIDS' BOWLING DESIGN (theme envelope_style "bowling"), loaded only for it (views/guest.ejs).
   Ported 29 Sep 2026 from the test page Gary approved (previews/kids-bowling) - a copy of kids-laser.css in the film's
   colours (gold #FFDA77 + ice cyan #9BEDFF on the alley's night navy): the silent film at the top
   (views/partials/bowling-stage.ejs, public/js/kids-bowling-stage.js) with the live scoreboard, the ring on the ball and
   STRIKE! + this child's invitation written on the big screen, the top block (pins, age, details), then the ordinary
   scroll sections restyled with one real object per section, Bowl-a-Strike and the bowling card (kids-bowling-decor.js).
   FONTS (Gary 29/9): no invented font picks. Everything is the approved film's lettering, Arial Bold, served on the web
   as Arimo (the metric-compatible, Apache-licensed lookalike; Windows Arial can't be embedded). Every text font is one
   of the three variables below, so a later font decision is a one-place change.
   ===================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&display=swap');

.bowl-page { --b-bg: #060a24; --b-panel: #0b1540; --b-gold: #ffda77; --b-cyan: #9bedff; --b-neon: #2acdeb; --b-violet: #8a5cff;
  --b-ink: #eef3ff; --b-muted: #a3b1d4; --b-line: rgba(42,205,235,.28); --b-navy-ink: #0b1a3a;
  --b-head: "Arimo", Arial, "Helvetica Neue", sans-serif;     /* headings, big numbers, buttons */
  --b-caps: "Arimo", Arial, "Helvetica Neue", sans-serif;     /* small spaced capitals: labels, eyebrows */
  --b-body: "Arimo", Arial, "Helvetica Neue", sans-serif;     /* running text */
  color-scheme: dark; }

/* the app has no global [hidden] rule, and these pieces set their own display: hidden must win */
.bowl-page [hidden] { display: none !important; }

/* ---- locking: until the film has played the page is just the stage (kids-bowling-stage.js .bowl-sealed) ---- */
.bowl-page.gf-locked { position: static; height: auto; overflow: visible; }
.bowl-page.gf-locked .stage-scroll { pointer-events: auto; }
body.bowl-sealed { overflow: hidden; overscroll-behavior: none; }
.bowl-sealed .sc-flow, .bowl-sealed .sc-music, .bowl-sealed .bowl-top { display: none !important; }
/* the screen and the top block carry the name, age, date and place */
.bowl-page .sc-hero { display: none; }
html:has(body.bowl-page), body.bowl-page { overflow-x: hidden; background: var(--b-bg); }
.bowl-page #card-stage.stage-scroll { background: var(--b-bg); }
.bowl-page .sc-flow { position: relative; overflow-x: clip; }

/* ---- the stage ---- */
.bowl-scene { position: relative; display: block; width: 100%; height: 100vh; height: 100svh; margin: 0 auto; overflow: hidden;
  background: var(--b-bg); touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none;
  -webkit-user-select: none; user-select: none; font-family: var(--b-body); color: var(--b-ink); }
.bowl-scene > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--b-bg); z-index: 1; }
.bowl-scene > .bowl-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; pointer-events: none; }
.bowl-frame { position: absolute; z-index: 3; left: 0; top: 0; width: 720px; height: 1280px; transform-origin: 0 0; pointer-events: none; }
.bowl-frame canvas { position: absolute; }
#bowl-board { opacity: 0; }
#bowl-reveal, #bowl-gate { left: 0; top: 0; width: 720px; height: 1280px; }

.bowl-open { position: absolute; z-index: 20; inset: 0; display: grid; place-items: end center; padding: 0 16px calc(64px + env(safe-area-inset-bottom));
  background: var(--b-bg) center / cover no-repeat; cursor: pointer; border: 0; color: var(--b-ink); font: inherit; margin: 0; width: 100%; overflow: hidden; }
.bowl-open::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,10,36,.05) 38%, rgba(6,10,36,.9)); }
.bowl-open > .bowl-open-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.bowl-card { position: relative; z-index: 2; text-align: center; max-width: 420px; display: block; }
.bowl-kicker { display: block; color: var(--b-gold); letter-spacing: .16em; font: 700 17px var(--b-caps); text-transform: uppercase; margin: 0 0 12px; }
.bowl-go { position: relative; display: inline-block; padding: 16px 30px; border-radius: 999px; background: var(--b-gold); color: var(--b-navy-ink);
  font: 700 22px var(--b-head); letter-spacing: .04em; text-transform: uppercase; }
.bowl-open.ready .bowl-go { animation: bowl-pulse 1.8s infinite; }
.bowl-hint { display: block; margin: 12px 0 0; font-size: 14px; opacity: .85; }
@keyframes bowl-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,218,119,.55); } 70% { box-shadow: 0 0 0 18px rgba(255,218,119,0); } 100% { box-shadow: 0 0 0 0 rgba(255,218,119,0); } }

.bowl-bar { position: absolute; z-index: 15; top: calc(12px + env(safe-area-inset-top)); right: 12px; display: flex; gap: 8px; }
body:not(.bowl-sealed) .bowl-bar { left: 12px; right: auto; }
.bowl-chip { border: 1px solid rgba(238,243,255,.35); background: rgba(6,10,36,.6); color: var(--b-ink); border-radius: 999px;
  padding: 8px 14px; font: 700 14px var(--b-body); cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bowl-chip.bowl-icon { width: 40px; height: 40px; padding: 0; font-size: 18px; line-height: 1; }
.edit-mode .bowl-bar, .edit-mode .bowl-open, .edit-mode .bowl-egg, .edit-mode .bowl-scroll { display: none !important; }

/* the pause on the ball: the whole stage is the button; the ring, the sheen and the sparkles are painted on #bowl-gate */
.bowl-egg { position: absolute; inset: 0; z-index: 4; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; width: 100%; }
.bowl-egg-label { position: absolute; transform: translateX(-50%); pointer-events: none; white-space: nowrap; padding: 10px 22px;
  border-radius: 999px; background: var(--b-gold); color: var(--b-navy-ink); font: 700 21px var(--b-head); letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(0,0,0,.45); animation: bowl-bob 1.6s ease-in-out infinite; }
@keyframes bowl-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }

.bowl-scroll { position: absolute; z-index: 6; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--b-ink); text-decoration: none; text-align: center;
  font: 700 15px var(--b-caps); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.9); white-space: nowrap;
  animation: bowl-fadein 1s ease both; }
.bowl-arrow { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--b-gold); background: rgba(6,10,36,.55); display: grid; place-items: center; animation: bowl-nudge 1.4s ease-in-out infinite; }
.bowl-arrow::before { content: ""; width: 10px; height: 10px; border: solid var(--b-gold); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }
@keyframes bowl-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes bowl-fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---- the top block: the pins, the age, the details ---- */
.bowl-top { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 56px 20px 30px; text-align: center; font-family: var(--b-body); color: var(--b-ink); }
.bowl-age-line { margin: 6px 0 14px; color: var(--b-ink); font: 700 20px var(--b-caps); letter-spacing: .18em; text-transform: uppercase; }
.bowl-age { margin: 0 0 22px; font: 700 150px/0.95 var(--b-head); color: var(--b-gold); text-shadow: 0 6px 0 #8a5a00, 0 0 30px rgba(255,218,119,.35); }
.bowl-title { margin: 0 0 22px; color: #fff; font: 700 38px/1.12 var(--b-head); letter-spacing: .01em; text-transform: uppercase;
  text-shadow: 0 4px 0 #1b1a5c, 0 0 26px rgba(138,92,255,.45); overflow-wrap: anywhere; }
.bowl-details { display: grid; gap: 18px; margin: 30px 0 30px; }
.bowl-details div { padding: 14px 12px; border: 1px solid var(--b-line); border-radius: 14px; background: rgba(11,21,64,.72); }
.bowl-details dt { color: var(--b-gold); font: 700 14px var(--b-caps); letter-spacing: .2em; text-transform: uppercase; }
.bowl-details dd { margin: 6px 0 0; font-weight: 700; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.bowl-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 6px; }
.bowl-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 2px solid var(--b-gold); background: var(--b-gold); color: var(--b-navy-ink); font: 700 17px var(--b-caps); letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; }
.bowl-btn.bowl-ghost { background: transparent; color: var(--b-gold); }

/* ---- the real objects (the film's own pictures), faded at the edges; they light up as they arrive ---- */
.bowl-relic-wrap { position: relative; width: min(78vw, 340px); aspect-ratio: 1; margin: 0 auto 10px; }
.bowl-toy { cursor: pointer; }
.bowl-relic { display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  filter: brightness(.22) saturate(.5); transform: scale(.93); transition: filter 1.6s ease, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.lit > .bowl-relic, .bowl-relic.lit { filter: none; transform: none; }
.bowl-tap-hint { margin: -4px 0 12px; color: var(--b-muted); font-style: italic; font-size: 14px; }
/* the toys: the pins = a strike (they shake and tip); the ball rolls away and back; the others hop */
.bowl-hop { animation: bowl-hop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes bowl-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px) rotate(-4deg); } }
.bowl-pins.bowl-crash .bowl-relic { animation: bowl-crash .9s cubic-bezier(.3,.7,.3,1); transform-origin: 50% 85%; }
@keyframes bowl-crash { 0% { transform: none; } 12% { transform: translateX(-10px) rotate(-7deg) scale(1.05); } 30% { transform: translateX(12px) rotate(9deg); }
  48% { transform: translateX(-6px) rotate(-5deg); } 66% { transform: translateX(4px) rotate(3deg); } 100% { transform: none; } }
.bowl-flashfx { position: absolute; left: 50%; top: 45%; width: 40%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(.2); opacity: 0; }
.bowl-crash .bowl-flashfx, .bowl-boom .bowl-flashfx { animation: bowl-flashfx .6s ease-out; }
@keyframes bowl-flashfx { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.3); box-shadow: 0 0 0 6px rgba(255,218,119,.9), 0 0 40px 10px rgba(155,237,255,.6); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); box-shadow: 0 0 0 2px rgba(255,218,119,0), 0 0 40px 10px rgba(155,237,255,0); } }
.bowl-ball.bowl-rolled .bowl-relic { animation: bowl-rolled 1.5s cubic-bezier(.45,0,.35,1); }
@keyframes bowl-rolled { 0% { transform: none; } 45% { transform: translateX(120%) rotate(300deg) scale(.7); opacity: 0; } 55% { transform: translateX(-120%) rotate(-60deg) scale(.7); opacity: 0; } 100% { transform: none; opacity: 1; } }
.bowl-strike.bowl-boom .bowl-relic { animation: bowl-boom .6s ease-out; }
@keyframes bowl-boom { 0% { transform: none; } 25% { transform: scale(1.08); } 100% { transform: none; } }

/* the cake: the bowling cake photo with this child's number of candles drawn live; tap them out */
.bowl-cake-wrap { position: relative; width: min(92vw, 420px); margin: 0 auto 4px; }
canvas.bowl-cake { display: block; width: 100%; height: auto; cursor: pointer; touch-action: manipulation;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); }
.bowl-cake-hint { margin: -6px 0 18px; color: var(--b-gold); font: 700 19px var(--b-head); letter-spacing: .02em; text-transform: uppercase; min-height: 1.4em; }
#bowl-confetti { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; pointer-events: none; }

/* bowl a strike: the lane, pins and ball are painted on a canvas (the same in every browser, Samsung included) */
.bowl-lane { position: relative; width: min(88vw, 360px); margin: 6px auto 12px; }
.bowl-lane canvas { display: block; width: 100%; height: auto; cursor: pointer; touch-action: manipulation; border-radius: 18px; }
.bowl-range-bar { display: flex; justify-content: space-between; align-items: baseline; width: min(88vw, 360px); margin: 0 auto;
  font: 700 16px var(--b-caps); letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); }
.bowl-range-bar strong { color: var(--b-gold); font: 700 30px var(--b-head); font-variant-numeric: tabular-nums; }
.bowl-range-msg { min-height: 1.5em; margin: 6px 0 0; color: var(--b-gold); font: 700 22px var(--b-head); letter-spacing: .02em; text-transform: uppercase; }

/* the bowling card: a nickname, lane and team made from the guest's name (the same name always gets the same card) */
.bowl-bcard { position: relative; z-index: 0; width: min(84vw, 320px); margin: 14px auto 16px; padding: 20px 20px 18px; border-radius: 22px; text-align: left; overflow: hidden; }
.bowl-bcard .bowl-bc-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.bowl-bcard .bowl-bc-top { display: flex; justify-content: space-between; align-items: center; font: 700 12px var(--b-caps); letter-spacing: .22em; text-transform: uppercase; color: var(--b-cyan); }
.bowl-bcard .bowl-bc-who { margin: 14px 0 2px; font: 700 32px/1.08 var(--b-head); color: #fff; text-transform: uppercase; overflow-wrap: anywhere; }
.bowl-bcard .bowl-bc-nick { margin: 0; font: 700 18px var(--b-caps); letter-spacing: .06em; text-transform: uppercase; color: var(--b-gold); }
.bowl-bcard .bowl-bc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(42,205,235,.35); text-align: center; }
.bowl-bcard .bowl-bc-row b { display: block; font: 700 22px/1 var(--b-head); color: #fff; }
.bowl-bcard .bowl-bc-row span { font: 700 11px var(--b-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--b-cyan); }
.bowl-bcard .bowl-shine { position: absolute; top: -40%; left: -60%; width: 40%; height: 180%; transform: rotate(20deg); pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.bowl-bcard.bowl-flash .bowl-shine { animation: bowl-shine .9s ease-in-out; }
@keyframes bowl-shine { 0% { opacity: 1; left: -60%; } 100% { opacity: 1; left: 130%; } }
.bowl-pass-form { display: flex; gap: 10px; max-width: 360px; margin: 0 auto; }
.bowl-pass-form input { flex: 1; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(42,205,235,.4); background: rgba(11,21,64,.9); color: var(--b-ink); font: 700 17px var(--b-body); }
.bowl-pass-form .bowl-btn { flex: none; min-height: 48px; padding: 10px 16px; font-size: 15px; }

/* little windows into the alley between some sections: the film's own footage as looping strips, faded at the edges */
.bowl-sceneband { position: relative; height: 210px; max-width: 680px; margin: 44px auto 6px; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 130% at 50% 50%, #000 42%, transparent 82%); mask-image: radial-gradient(120% 130% at 50% 50%, #000 42%, transparent 82%); }
.bowl-sceneband video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02) brightness(.85); }
.bowl-sceneband .bowl-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 105%, rgba(138,92,255,.16), transparent 70%),
  linear-gradient(180deg, rgba(6,10,36,.75), rgba(6,10,36,0) 32%, rgba(6,10,36,0) 62%, rgba(6,10,36,.85)); }
.bowl-sceneband::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -28px 30px -18px rgba(6,10,36,.95), inset 0 28px 30px -18px rgba(6,10,36,.95); }
.bowl-lights { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bowl-sealed .bowl-lights { display: none; }
.bowl-lights i { position: absolute; width: 140vmax; height: 60vmax; border-radius: 50%; filter: blur(60px); opacity: .5;
  background: radial-gradient(closest-side, rgba(138,92,255,.22), rgba(138,92,255,0)); animation: bowl-drift 38s ease-in-out infinite alternate; }
.bowl-lights i:nth-child(1) { left: -60vmax; top: 10%; }
.bowl-lights i:nth-child(2) { right: -70vmax; top: 45%; animation-duration: 46s; animation-delay: -12s; background: radial-gradient(closest-side, rgba(42,205,235,.16), rgba(42,205,235,0)); }
.bowl-lights i:nth-child(3) { left: -40vmax; top: 75%; animation-duration: 54s; animation-delay: -30s; }
@keyframes bowl-drift { from { transform: translateX(-12vmax); } to { transform: translateX(22vmax); } }

/* ---- the page below: the test page's look on the app's own sections ---- */
.bowl-page .sc-section { position: relative; max-width: 560px; padding: 44px 20px 34px; border-bottom: 0; text-align: center; font-family: var(--b-body); color: var(--b-ink); }
.bowl-page .sc-flow > .sc-section, .bowl-page .sc-flow > .sc-footer { position: relative; z-index: 1; }
.bowl-page .sc-h2, .bowl-page .sc-script { margin: 0 0 22px; color: #fff; font: 700 38px/1.12 var(--b-head); letter-spacing: .01em; text-transform: uppercase;
  text-shadow: 0 4px 0 #1b1a5c, 0 0 26px rgba(138,92,255,.45); }
.bowl-page .sc-rule, .bowl-page .sc-rule-sm { width: 72px; height: 3px; margin: 0 auto 20px; border: 0; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--b-gold), transparent); }
.bowl-page .sc-lead { font-size: 17px; line-height: 1.6; color: var(--b-ink); }
.bowl-page .sc-signature { font: 700 22px/1.3 var(--b-body); color: var(--b-gold); margin-top: 12px; }
.bowl-page #dresscode .sc-lead { font: 700 20px/1.4 var(--b-body); }
.bowl-eyebrow { margin: 0 0 10px; color: var(--b-cyan); font: 700 15px var(--b-caps); letter-spacing: .24em; text-transform: uppercase; }
.bowl-page .sc-detail { display: block; padding: 14px 12px; margin: 0 0 14px; border: 1px solid var(--b-line); border-radius: 14px; background: rgba(11,21,64,.72); }
.bowl-page .sc-label { display: block; margin: 0 0 4px; color: var(--b-gold); font: 700 14px var(--b-caps); letter-spacing: .2em; text-transform: uppercase; }
.bowl-page .sc-value { font-weight: 700; font-size: 18px; line-height: 1.45; color: var(--b-ink); }
.bowl-page .countdown-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 12px; padding: 0; background: none; border: 0; }
.bowl-page .countdown-item { padding: 12px 0 8px; border: 1px solid var(--b-line); border-radius: 14px; background: rgba(11,21,64,.72); }
.bowl-page .countdown-val { display: block; font: 700 36px/1.1 var(--b-head); color: var(--b-gold); font-variant-numeric: tabular-nums; }
.bowl-page .countdown-lbl { color: var(--b-muted); font: 700 11px var(--b-caps); letter-spacing: .18em; text-transform: uppercase; }
.bowl-page .sc-timeline { list-style: none; margin: 16px 0 12px; padding: 0; text-align: left; }
.bowl-page .sc-timeline li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 11px 4px; border-bottom: 1px dashed var(--b-line); }
.bowl-page .sc-timeline .sc-dot, .bowl-page .sc-timeline .sc-ico { display: none; }
.bowl-page .sc-time { color: var(--b-gold); font: 700 17px var(--b-caps); letter-spacing: .02em; }
.bowl-page .sc-what { font-size: 17px; line-height: 1.45; color: var(--b-ink); }
.bowl-page .sc-map { margin: 18px 0 10px; padding: 8px; border: 0; border-radius: 16px; background: linear-gradient(145deg, #2acdeb, #1b1a5c 50%, #8a5cff);
  box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.bowl-page .sc-map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: 10px; background: #0c1220; }
.bowl-page .sc-btn { border-radius: 999px; min-height: 48px; padding: 12px 22px; font: 700 17px var(--b-caps); letter-spacing: .08em; text-transform: uppercase; }
html:not([data-ss]) .bowl-page .sc-btn-solid { background: var(--b-gold); border: 2px solid var(--b-gold); color: var(--b-navy-ink); }
.bowl-page .sc-btn-ghost { background: transparent; border: 2px solid var(--b-gold); color: var(--b-gold); }
.bowl-page .sc-alt-links, .bowl-page .sc-alt-links a { color: var(--b-muted); }
.bowl-page .sc-form { text-align: left; }
.bowl-page .sc-form label, .bowl-page .sc-legend { display: block; margin: 22px 0 8px; color: var(--b-gold); font: 700 14px var(--b-caps); letter-spacing: .16em; text-transform: uppercase; }
.bowl-page .sc-form input[type="text"], .bowl-page .sc-form input[type="tel"], .bowl-page .sc-form input[type="email"], .bowl-page .sc-form select, .bowl-page .sc-form textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(42,205,235,.4); background: rgba(11,21,64,.9); color: var(--b-ink); font: 700 17px var(--b-body); }
.bowl-page .sc-choice span { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px; border-radius: 14px; text-align: center;
  border: 2px solid rgba(255,218,119,.55); color: var(--b-ink); font: 700 17px var(--b-body); letter-spacing: 0; text-transform: none; box-shadow: none; }
html:not([data-ss]) .bowl-page .sc-choice span { background: transparent; }
html:not([data-ss]) .bowl-page .sc-choice input:checked + span { background: var(--b-gold); border-color: var(--b-gold); color: var(--b-navy-ink); }
[data-ss] .bowl-page .sc-choice input:checked + span { border-color: var(--b-gold); }
.bowl-page .sc-thanks { border: 2px solid var(--b-gold); border-radius: 16px; background: rgba(255,218,119,.08); padding: 16px; text-align: left; }
.bowl-page .sc-footer { position: relative; padding: 50px 24px 70px; text-align: center; }
.bowl-page .sc-footer .sc-script { font: 700 38px/1.12 var(--b-head); color: #fff; text-transform: uppercase; }
.bowl-page .bowl-again { margin-top: 18px; }

@media (min-width: 700px) { .bowl-page .sc-h2, .bowl-page .sc-script, .bowl-title { font-size: 46px; } .bowl-top, .bowl-page .sc-section { padding-top: 64px; } }
@media (prefers-reduced-motion: reduce) {
  .bowl-lights i, .bowl-open.ready .bowl-go, .bowl-egg-label, .bowl-arrow { animation: none !important; }
}

/* ---- Samsung Internet (html[data-ss], Android): its dark mode flips any colour the page draws and dims pictures, but
   leaves canvases and videos alone. So the page colour is a canvas (#bowl-ss-page), pictures become canvases
   (public/js/ss-canvas.js), and each gold button takes its gold from a picture inside it and its dark words from an ink
   picture shaped to the letters (kids-bowling-stage.js ssButton; themes/kids-bowling/assets/ss-button.jpg +
   ss-ink-button.jpg). Everything on the film (scoreboard, ring, STRIKE! and the invitation) is already painted on canvases. ---- */
#bowl-ss-page { display: none; }
[data-ss] #bowl-ss-page { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
html[data-ss]:has(body.bowl-page), [data-ss] body.bowl-page, [data-ss] .bowl-page #card-stage.stage-scroll, [data-ss] .bowl-page .app-container { background: transparent; }
[data-ss] .bowl-scene, [data-ss] .bowl-scene > video { background: transparent; }
.bowl-btn, .bowl-go, .bowl-egg-label { isolation: isolate; }
[data-ss] .bowl-btn:not(.bowl-ghost), [data-ss] .bowl-go, [data-ss] .bowl-egg-label { background: transparent; border-color: transparent; box-shadow: none; overflow: hidden; }
[data-ss] :is(.bowl-btn, .bowl-go, .bowl-egg-label) > .ss-fill { position: absolute; left: -1px; top: -1px; width: calc(100% + 2px); height: calc(100% + 2px);
  border-radius: inherit; object-fit: cover; z-index: -1; pointer-events: none; }
[data-ss] .ss-ink-gold { background: url('/themes/kids-bowling/assets/ss-ink-button.jpg') center / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none; }
[data-ss] .ss-emoji { margin-left: .25em; }
