/* ==========================================================================
   LP Superbet Ad — LP5 (penalty shoot-out) kit
   Ported from new-SC assets/css/LPs/lp-superbet-ad.css — only the parts the
   LP5 page uses: shared chrome (top bar, header, footer incl. the --split
   layout, CTA), the prize popup (--lp5 variant + coins) and the penalty
   game. LP1–LP4 component styles (hero, video card, legal links, steps,
   sticky CTA, title, wheel, cards hero) are not included.
   Mobile-first; BEM, "sb-lp" namespace.
   ========================================================================== */

/* Fonts
   Unlike new-SC (where index.css declares the rest of the family), this file
   is self-contained: Georama 400 is split latin / latin-ext so Romanian
   diacritics (ă â î ș ț) load only when used; 600–900 are full-charset files.
   Open Sans Bold is the CTA font.
   ========================================================================== */

@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/Georama-Regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/Georama-Regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/Georama-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/Georama-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../../fonts/Georama-ExtraBold.woff2") format("woff2");
}

@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../../fonts/Georama-Black.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/OpenSans-Bold.woff2") format("woff2");
}

/* Tokens
   ========================================================================== */

.sb-lp {
  /* Colors — palette */
  --sb-lp-color-brand: #413dee;
  --sb-lp-color-brand-dark: #2b25bc;
  --sb-lp-color-red: #f91c26;
  --sb-lp-color-orange: #d98d37;
  --sb-lp-color-white: #ffffff;

  /* Colors — by role */
  --sb-lp-color-bg: #0b0b0c;
  --sb-lp-color-legal-bg: #006618; /* beturi brand green (was --sb-lp-color-brand-dark on SC) */
  --sb-lp-color-legal-text: var(--sb-lp-color-white); /* white for contrast on the green bar (was #c7dbff) */
  --sb-lp-color-header-bg: #028a1b; /* beturi brand green (was --sb-lp-color-brand on SC) */
  --sb-lp-color-footer-bg: #171717;
  --sb-lp-color-footer-text: #cccccc;
  --sb-lp-color-footer-muted: #6f7481; /* LP5 desktop footer: disclaimer, copyright */
  --sb-lp-color-copyright-bg: #2b2b2b;
  --sb-lp-color-highlight: #ff2500; /* red words in headlines */
  --sb-lp-color-cta-bg: var(--sb-lp-color-red);
  --sb-lp-color-cta-bg-hover: #e0101a;
  --sb-lp-color-cta-border: rgba(65, 61, 238, 0.6);
  --sb-lp-color-tag-bg: rgba(43, 37, 188, 0.4);
  --sb-lp-color-section-title: #f2efe9;
  /* Steps cards: #141416 @ 80% and #F91C26 @ 25% (sampled from the rendered
     design — the build sheet lists the colors without their opacity) */
  --sb-lp-color-card-bg: rgba(20, 20, 22, 0.8);
  --sb-lp-color-card-border: rgba(249, 28, 38, 0.25);
  --sb-lp-prize-bg: linear-gradient(180deg, #811746 0%, #3c42e3 100%);
  --sb-lp-overlay: rgba(23, 23, 23, 0.8); /* #171717 @ 80%, + blur */
  /* LP2 cards: golden glow around the card art, light burst on reveal */
  --sb-lp-card-glow: drop-shadow(0 0 6px rgba(255, 204, 0, 0.75)) drop-shadow(0 0 14px rgba(255, 170, 0, 0.45));
  --sb-lp-card-glow-hover: drop-shadow(0 0 8px rgba(255, 214, 0, 0.95)) drop-shadow(0 0 22px rgba(255, 170, 0, 0.6));
  --sb-lp-card-burst: radial-gradient(closest-side, rgba(255, 231, 150, 0.9), rgba(255, 190, 40, 0));
  /* Approximates bg-main.webp — shown while it loads or if it fails */
  --sb-lp-main-bg-fallback: linear-gradient(to top right, #2520aa 0%, #49196a 55%, #a51935 100%);
  /* Approximates bg-home.webp (LP2, LP3) */
  --sb-lp-main-home-bg-fallback: linear-gradient(to top right, #281ea2 0%, #5a175c 50%, #cf1d30 100%);

  /* Typography */
  --sb-lp-font: "Georama", Arial, Helvetica, sans-serif;
  --sb-lp-font-cta: "Open Sans", Arial, Helvetica, sans-serif;

  /* Layout */
  --sb-lp-content-width: 1280px;
  --sb-lp-gutter: 20px;
}

@media (min-width: 768px) {
  .sb-lp {
    --sb-lp-gutter: 40px;
  }
}

@media (min-width: 1200px) {
  .sb-lp {
    --sb-lp-gutter: 80px;
  }
}

/* Base
   Scoped to the LP wrapper so global theme/Bootstrap styles can't leak in.
   ========================================================================== */

/* Column layout keeps the footer at the bottom on short pages */
.sb-lp {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--sb-lp-color-bg);
  font-family: var(--sb-lp-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.sb-lp *,
.sb-lp *::before,
.sb-lp *::after {
  box-sizing: border-box;
}

/* Element resets use :where() so they weigh exactly one class (0,1,0):
   enough to beat the global element rules below, while any component class
   declared later in this file still overrides them. */

/* index.css gives every img a bottom margin and width: 100%; components
   set their own image sizes via classes, which override the width. */
.sb-lp :where(img) {
  max-width: 100%;
  margin: 0;
}

/* Image box: the wrapper gets the size from its component class (width +
   aspect-ratio or height), the image fills it — an export with a different
   ratio or margins never moves the layout. --cover crops instead of fitting. */
.sb-lp-img > img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.sb-lp-img--cover > img {
  -o-object-fit: cover;
  object-fit: cover;
}

/* Read by screen readers and search engines, not shown (e.g. the h1 of an
   LP whose heading is part of an image) */
.sb-lp-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* index.css / Bootstrap give p and headings a font, size, line-height and
   margins — components set their own typography via classes */
.sb-lp :where(p, h1, h2, h3, h4) {
  margin: 0;
}

/* Headings are semantic only: they inherit typography from their parent
   (index.css sets font, size, weight, color per level and switches h3 to
   Open Sans on mobile), so a component's class decides how they look. */
.sb-lp :where(h1, h2, h3, h4) {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

/* index.css / style.css style every list: margins, padding, counters and
   ::before bullets/numbers. style.css also forces `ol li { display: block
   !important }` — so put layout (flex/grid) on an element inside the li. */
.sb-lp :where(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.sb-lp :where(li) {
  margin: 0;
  padding: 0;
  font: inherit;
  counter-increment: none;
}

.sb-lp :where(li)::before {
  content: none;
}

/* Links never show an underline anywhere on the LP (beats the topbar and
   footer link hover/focus rules on specificity) */
.sb-lp a,
.sb-lp a:hover,
.sb-lp a:focus,
.sb-lp a:focus-visible {
  text-decoration: none;
}

.sb-lp-container {
  width: 100%;
  max-width: calc(var(--sb-lp-content-width) + 2 * var(--sb-lp-gutter));
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--sb-lp-gutter);
  padding-left: var(--sb-lp-gutter);
}

/* Main area between header and footer. Grows to fill short pages so the
   background always reaches the footer. The gradient layer under the image
   is the fallback while the image loads (or if it can't).
   ========================================================================== */

.sb-lp-main {
  flex: 1 0 auto;
  background-color: #2520aa;
  background-image: url("../../img/LPs/superbet-ad/common/bg-main.webp"), var(--sb-lp-main-bg-fallback);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* "Home" background — LP2, LP3 (set via main_class in the LP twig) */
.sb-lp-main--home {
  background-color: #281ea2;
  background-image: url("../../img/LPs/superbet-ad/common/bg-home.webp"), var(--sb-lp-main-home-bg-fallback);
}

/* LP5: the penalty scene is its own background; any room left under it on
   short pages continues the stadium's bottom edge */
.sb-lp-main--penalty {
  background: #030701;
}

/* Component: legal top bar
   Mobile: spans the full row, ONJN logo pushed to the right edge.
   Below the 375px design width, font sizes and the main gap shrink linearly
   (by 2px / 4px at 320px) so the bar stays on one line; the plain values
   before each clamp() are the fallback for browsers without clamp().
   Desktop: right-aligned group, 32px between the two blocks.
   ========================================================================== */

.sb-lp-topbar {
  background-color: var(--sb-lp-color-legal-bg);
}

.sb-lp-topbar__in {
  display: flex;
  flex-wrap: wrap; /* last resort (e.g. enlarged system font): licence drops under the link */
  align-items: center;
  column-gap: 10px;
  column-gap: clamp(6px, calc(10px - (375px - 100vw) * 0.0727), 10px);
  row-gap: 6px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.sb-lp-topbar__link {
  color: var(--sb-lp-color-legal-text) !important;
  font-family: var(--sb-lp-font);
  font-weight: 400;
  font-size: 12px;
  font-size: clamp(10px, calc(12px - (375px - 100vw) * 0.0364), 12px);
  line-height: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.sb-lp-topbar__link:hover,
.sb-lp-topbar__link:focus {
  color: var(--sb-lp-color-legal-text);
}

.sb-lp-topbar__link:focus-visible {
  outline: 1px solid var(--sb-lp-color-legal-text);
  outline-offset: 2px;
}

/* 18+ icon, licence text and ONJN logo move as one group, pushed right */
.sb-lp-topbar__licence {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.sb-lp-topbar__onjn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-size: clamp(9px, calc(11px - (375px - 100vw) * 0.0364), 11px);
}

.sb-lp-topbar__age,
.sb-lp-topbar__onjn-logo {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (min-width: 768px) {
  .sb-lp-topbar__in {
    justify-content: flex-end;
    column-gap: 32px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sb-lp-topbar__licence {
    gap: 8px;
    margin-left: 0; /* let justify-content group both blocks on the right */
  }

  .sb-lp-topbar__onjn {
    font-size: 12px;
  }
}

/* Component: header
   Logos on opposite edges; sized by width (height follows the SVG ratio).
   Mobile: 14px vertical padding. Desktop: 16px.
   ========================================================================== */

.sb-lp-header {
  background-color: var(--sb-lp-color-header-bg);
}

.sb-lp-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.sb-lp-header__logo {
  display: block;
  flex-shrink: 0;
  height: auto;
}

.sb-lp-header__logo--site {
  width: 110px;
}

.sb-lp-header__logo--superbet {
  width: 117px;
}

@media (min-width: 768px) {
  .sb-lp-header__in {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .sb-lp-header__logo--site {
    width: 185px;
  }

  .sb-lp-header__logo--superbet {
    width: 162px;
  }
}

/* Component: footer
   Legal block: title + two paragraphs (12px / 4px gaps), 24px 20px padding
   on mobile, 32px 80px on desktop. Copyright bar: 12px vertical padding,
   centered on mobile, left-aligned on desktop. All text line-height 1.2.
   --split (LP5), from 1024px: content 1200px wide (120px in at 1440), 48px
   top/bottom; left column 592px (keeps the design's line breaks): title
   Bold 15, 16px → text Regular 13 / 22px, 16px → disclaimer 12 / 18px
   muted; right column, right-aligned: links SemiBold 14 white 12px apart,
   24px → copyright Regular 12.5 muted. No copyright bar.
   ========================================================================== */

.sb-lp-footer {
  /* Bottom of short pages (see .sb-lp). !important beats the global
     style.css rule `footer { margin-top: 100px !important }`. */
  margin-top: auto !important;
  font-family: var(--sb-lp-font);
  line-height: 1.2;
}

.sb-lp-footer__legal {
  background-color: var(--sb-lp-color-footer-bg);
}

.sb-lp-footer__legal-in {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.sb-lp-footer__title {
  color: var(--sb-lp-color-white);
  font-family: var(--sb-lp-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.sb-lp-footer__texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sb-lp-footer__text,
.sb-lp-footer__copyright-text {
  font-family: var(--sb-lp-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
}

.sb-lp-footer__text {
  color: var(--sb-lp-color-footer-text);
}

.sb-lp-footer__copyright {
  background-color: var(--sb-lp-color-copyright-bg);
}

.sb-lp-footer__copyright-text {
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--sb-lp-color-white);
  text-align: center;
}

/* Title + texts (12px apart, as the legal block's gap before) */
.sb-lp-footer__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --split: the right-hand column is desktop only */
.sb-lp-footer__aside {
  display: none;
}

@media (min-width: 768px) {
  .sb-lp-footer__legal-in {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .sb-lp-footer__copyright-text {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .sb-lp-footer--split .sb-lp-footer__legal-in {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: calc(1200px + 2 * var(--sb-lp-gutter));
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .sb-lp-footer--split .sb-lp-footer__main {
    gap: 16px;
    max-width: 592px;
  }

  .sb-lp-footer--split .sb-lp-footer__title {
    font-size: 15px;
  }

  .sb-lp-footer--split .sb-lp-footer__texts {
    gap: 16px;
  }

  .sb-lp-footer--split .sb-lp-footer__text {
    font-size: 13px;
    line-height: 22px;
  }

  .sb-lp-footer--split .sb-lp-footer__text--disclaimer {
    color: var(--sb-lp-color-footer-muted);
    font-size: 12px;
    line-height: 18px;
  }

  .sb-lp-footer--split .sb-lp-footer__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    flex-shrink: 0;
    text-align: right;
  }

  .sb-lp-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .sb-lp-footer__link,
  .sb-lp-footer__link:hover,
  .sb-lp-footer__link:focus {
    color: var(--sb-lp-color-white) !important;
  }

  .sb-lp-footer__link {
    font-family: var(--sb-lp-font);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
  }

  .sb-lp-footer__copyright-note {
    color: var(--sb-lp-color-footer-muted);
    font-family: var(--sb-lp-font);
    font-weight: 400;
    font-size: 12.5px;
    line-height: 1.2;
  }

  .sb-lp-footer--split .sb-lp-footer__copyright {
    display: none;
  }
}

/* Component: CTA button (hero, sticky CTA, prize popup)
   Red pill, Open Sans Bold 16/24. Default = full-width block, 52px tall
   (design 14px padding incl. 1px border). Contexts may resize it.
   --solid: fully opaque brand border (prize popup).
   ========================================================================== */

.sb-lp-cta,
.sb-lp-cta:hover,
.sb-lp-cta:focus {
  color: var(--sb-lp-color-white);
  text-decoration: none;
}

.sb-lp-cta {
  display: block;
  padding: 13px 16px; /* + 1px border = 14px (52px tall) */
  border: 1px solid var(--sb-lp-color-cta-border);
  border-radius: 999px;
  background-color: var(--sb-lp-color-cta-bg);
  font-family: var(--sb-lp-font-cta);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.sb-lp-cta--solid {
  border-color: var(--sb-lp-color-brand);
}

.sb-lp-cta:hover {
  background-color: var(--sb-lp-color-cta-bg-hover);
}

.sb-lp-cta:focus-visible {
  outline: 2px solid var(--sb-lp-color-white);
  outline-offset: 2px;
}


/* Decorative coin/chip, centred on (--x, --y) in --cu units of its
   positioned parent; behind the card unless --front. Floats gently. */
.sb-lp-coin {
  position: absolute;
  z-index: 0;
  top: calc((var(--y) - var(--h) / 2) * var(--cu, 1px));
  left: calc((var(--x) - var(--w) / 2) * var(--cu, 1px));
  width: calc(var(--w) * var(--cu, 1px));
  max-width: none;
  height: auto;
  pointer-events: none;
  -webkit-animation: sb-lp-coin-float 4s ease-in-out infinite alternate;
  animation: sb-lp-coin-float 4s ease-in-out infinite alternate;
}

.sb-lp-coin:nth-child(2n) {
  -webkit-animation-duration: 5s;
  animation-duration: 5s;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

.sb-lp-coin:nth-child(3n) {
  -webkit-animation-duration: 3.4s;
  animation-duration: 3.4s;
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.sb-lp-coin--front {
  z-index: 2;
}

@-webkit-keyframes sb-lp-coin-float {
  from { -webkit-transform: translate3d(0, -3px, 0); transform: translate3d(0, -3px, 0); }
  to { -webkit-transform: translate3d(0, 3px, 0); transform: translate3d(0, 3px, 0); }
}

@keyframes sb-lp-coin-float {
  from { -webkit-transform: translate3d(0, -3px, 0); transform: translate3d(0, -3px, 0); }
  to { -webkit-transform: translate3d(0, 3px, 0); transform: translate3d(0, 3px, 0); }
}

/* Component: prize popup (LP2, LP3, LP5)
   Native <dialog> covering the viewport: the dialog itself is the blurred
   dark overlay (works both for showModal() and the no-JS :target fallback),
   the stage (card-sized, animated) is centred with margin: auto (safe when
   taller than the screen); coins sit behind (z 0) or in front (z 2) of the
   card (z 1) inside it.
   Card 346px (LP2: see --lp2): 24/16 padding (incl. 1px border), 8px under the banner,
   24px title → lines, 64px lines → CTA.
   ========================================================================== */

.sb-lp-prize {
  display: none;
}

.sb-lp-prize[open],
.sb-lp-prize:target {
  display: -webkit-box;
  display: flex;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px 16px;
  overflow: auto;
  border: 0;
  background: var(--sb-lp-overlay);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--sb-lp-color-white);
  -webkit-animation: sb-lp-fade-in 0.25s ease-out;
  animation: sb-lp-fade-in 0.25s ease-out;
  cursor: pointer; /* any click follows the offer link (lp-superbet-ad.js) */
}

.sb-lp-prize::-webkit-backdrop {
  background: transparent;
}

.sb-lp-prize::backdrop {
  background: transparent;
}

html.sb-lp-modal-open {
  overflow: hidden;
}

.sb-lp-prize__stage {
  --cu: 1px;
  position: relative;
  width: 346px;
  max-width: 100%;
  margin: auto;
  -webkit-animation: sb-lp-prize-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  animation: sb-lp-prize-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.sb-lp-prize__card {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  flex-direction: column;
  gap: 8px;
  padding: 23px 15px; /* + 1px border = 24px 16px */
  border: 1px solid var(--sb-lp-color-brand);
  border-radius: 10px;
  background: var(--sb-lp-prize-bg);
}

/* Ratio comes from the image params (inline aspect-ratio) */
.sb-lp-prize__image {
  width: 100%;
}

.sb-lp-prize__body {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.sb-lp-prize__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sb-lp-prize__title {
  font-family: var(--sb-lp-font);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.sb-lp-prize__lines {
  font-family: var(--sb-lp-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

/* Lead line (bold) + prize lines, 12px apart */
.sb-lp-prize__prizes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-lp-prize__lead {
  font-family: var(--sb-lp-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

/* LP2: card 350px with a 2px translucent brand border (24/16 padding incl.
   border), title 24px / 36px desktop, lead Bold 16 + lines Regular 16 (left
   aligned), 48px lines → CTA. The lead stays one line down to 360px. */
.sb-lp-prize--lp2 .sb-lp-prize__stage {
  width: 350px;
}

.sb-lp-prize--lp2 .sb-lp-prize__card {
  padding: 22px 14px; /* + 2px border = 24px 16px */
  border: 2px solid var(--sb-lp-color-cta-border);
}

.sb-lp-prize--lp2 .sb-lp-prize__body {
  gap: 48px;
}

.sb-lp-prize--lp2 .sb-lp-prize__lead {
  font-size: min(16px, 4.1vw);
}

.sb-lp-prize--lp2 .sb-lp-prize__lines {
  font-weight: 400;
  font-size: 16px;
}

@media (min-width: 768px) {
  .sb-lp-prize--lp2 .sb-lp-prize__title {
    font-size: 36px;
  }
}

/* LP5: 3:2 card (300×200, 480×320 from 768px) with the content centred
   vertically (min padding 16/12, 48/16), white 1px stroke, blue glow, and
   a big 3D ball centred behind it (267 / 400px). Title Georama Black 24 / 36,
   prize lines Bold 14 / 18 centred, 5.33 / 8px apart (line-height = 1.2em
   + gap, so the gaps around them are set 2.67 / 4px smaller), 24px title →
   lines (28px on desktop, as measured), 24 / 46px lines → CTA. CTA full width, white stroke,
   Open Sans Bold 12 / 16 → 38 / 52px tall.
   TODO: card background and ball are stand-ins until the design exports
   ("Container" background, "ball-3d 2/3") arrive — ball-3d.webp is the game
   ball recoloured blue (gradient map #0f3f7a → #8cc0ec), cropped to the
   sphere so its box is the ball. */
.sb-lp-prize--lp5 .sb-lp-prize__stage {
  width: 300px;
}

.sb-lp-prize--lp5 .sb-lp-prize__stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 267px;
  height: 267px;
  margin: -133.5px 0 0 -133.5px;
  background: url("../../img/LPs/superbet-ad/lp-5/ball-3d.webp") center / contain no-repeat;
  -webkit-filter: drop-shadow(0 0 24px rgba(30, 136, 229, 0.7));
  filter: drop-shadow(0 0 24px rgba(30, 136, 229, 0.7));
  pointer-events: none;
}

.sb-lp-prize--lp5 .sb-lp-prize__card {
  justify-content: center;
  gap: 0;
  aspect-ratio: 3 / 2;
  padding: 15px 11px; /* + 1px border = 16px 12px */
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6.67px;
  background: linear-gradient(180deg, #251e35 0%, #270f48 15%, #2a1467 30%, #2f187b 45%, #2b1f9e 60%, #2330b5 100%);
  text-align: center;
}

/* Card glow, under the ball (a box-shadow on the card would wash it out) */
.sb-lp-prize--lp5 .sb-lp-prize__stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 6.67px;
  box-shadow: 0 0 16px 2px rgba(30, 136, 229, 0.85), 0 0 56px 10px rgba(30, 136, 229, 0.45);
  pointer-events: none;
}

.sb-lp-prize--lp5 .sb-lp-prize__body {
  gap: 21.33px;
}

.sb-lp-prize--lp5 .sb-lp-prize__text {
  gap: 21.33px;
}

.sb-lp-prize--lp5 .sb-lp-prize__lines {
  font-size: 14px;
  line-height: 22.13px; /* 14 × 1.2 + 5.33 gap */
}

.sb-lp-prize--lp5 .sb-lp-cta {
  padding: 9px 16px; /* + 1px border = 10px (38px tall) */
  border-color: var(--sb-lp-color-white);
  font-size: 12px;
  line-height: 18px;
}

@media (min-width: 768px) {
  .sb-lp-prize--lp5 .sb-lp-prize__stage {
    width: 480px;
  }

  .sb-lp-prize--lp5 .sb-lp-prize__stage::before {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
  }

  .sb-lp-prize--lp5 .sb-lp-prize__card,
  .sb-lp-prize--lp5 .sb-lp-prize__stage::after {
    border-radius: 10px;
  }

  .sb-lp-prize--lp5 .sb-lp-prize__card {
    padding: 47px 15px; /* + 1px border = 48px 16px */
  }

  .sb-lp-prize--lp5 .sb-lp-prize__body {
    gap: 42px;
  }

  .sb-lp-prize--lp5 .sb-lp-prize__text {
    gap: 24px; /* measured: the desktop lines sit 4px lower than the sheet's 24 */
  }

  .sb-lp-prize--lp5 .sb-lp-prize__title {
    font-size: 36px;
  }

  .sb-lp-prize--lp5 .sb-lp-prize__lines {
    font-size: 18px;
    line-height: 29.6px; /* 18 × 1.2 + 8 gap */
  }

  .sb-lp-prize--lp5 .sb-lp-cta {
    padding: 13px 16px; /* + 1px border = 14px (52px tall) */
    font-size: 16px;
    line-height: 24px;
  }
}

@-webkit-keyframes sb-lp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sb-lp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@-webkit-keyframes sb-lp-prize-in {
  from { opacity: 0; -webkit-transform: translateY(12px) scale(0.92); transform: translateY(12px) scale(0.92); }
  to { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes sb-lp-prize-in {
  from { opacity: 0; -webkit-transform: translateY(12px) scale(0.92); transform: translateY(12px) scale(0.92); }
  to { opacity: 1; -webkit-transform: none; transform: none; }
}

/* Reduced motion: no idle pulse/ripples/nudge, no win glow pulse, no
   floating coins, no pop-in; the spin itself is shortened in JS */
@media (prefers-reduced-motion: reduce) {
  .sb-lp-wheel:not(.is-spinning):not(.is-won) .sb-lp-wheel__button-img,
  .sb-lp-wheel:not(.is-spinning):not(.is-won) .sb-lp-wheel__button::before,
  .sb-lp-wheel:not(.is-spinning):not(.is-won) .sb-lp-wheel__button::after,
  .sb-lp-wheel:not(.is-spinning):not(.is-won) .sb-lp-wheel__disc,
  .sb-lp-wheel.is-won .sb-lp-wheel__label--win,
  .sb-lp-coin,
  .sb-lp-prize__stage,
  .sb-lp-prize[open],
  .sb-lp-prize:target {
    -webkit-animation: none;
    animation: none;
  }
}

/* Component: penalty game (LP5)
   The goal is part of the background image, so the targets, keeper, ball
   and banner must stay locked to it: the scene is built in design px × --u
   and scales as one picture with the viewport width.
     Mobile  — 390×580 frame; --u = 100vw / 390, capped at 1.25px
     Desktop — 1440×800 frame (≥1024px); --u = 100vw / 1440, capped at 1px
     (tablets get the mobile frame: the desktop one would shrink the banner
     text below 9px at 768px)
   When the viewport is wider than the scene (mobile cap, or >1440px), the
   sides show a blurred copy of the stadium and the scene edges fade into it.

   Default view — column flow (design auto layout), from the frame top:
     Mobile:  199px; targets 30, columns 80 apart, 72 between the side
              targets, 24 target → keeper (80 wide), 40 → ball 80, 40 → text
     Desktop: 246px; targets 60, columns 160 apart, 140 between the side
              targets, 32 target → keeper (160 wide), 32 → ball 120, 32 → text
   Text: Georama Regular 18px white (scales with the scene, min 14px).

   Game (lp-superbet-ad.js → initPenalty) — nothing reflows (the spot ball
   keeps its room, so the targets and the counter stay put):
     .is-shooting   — the ball flies to the clicked target: the JS sets
                      --shot-x/--shot-y (px to the target centre) and
                      --shot-s (target / ball size)
     .is-hit target — the ball (target size) replaces the target ring
     .is-dive-right — keeper swaps to the arms-up pose, same height as the
                      idle one, rotated 25° and moved off-centre:
                      desktop (+97.2, −23.4); mobile (+46.3, −21.7) ×1.05
                      (measured on the build sheets). --left is the
                      same rotated −25°: the arms-up pose is symmetric, so
                      no mirroring (a scaleX(-1) would animate through 0 —
                      the keeper seems to spin — and flip the shirt text).
     .is-visible banner — banner.webp (plate 2067×403 inside 2167×726 with
                      glow) at 360 / 180px wide = plate 343 / 171px.
                      Desktop: banner 1 box 8px left of the left targets,
                      banner 2 8px right of the right ones, both centred
                      on them. Mobile: side by side above the goal.
                      Text Georama 16 / 13px, line-height 1.2 / 1.1, "100 LEI"
                      extra bold, vertically centred, 78 / 28.8px from the
                      box's left edge (banner 2 on desktop: 69px).
   ========================================================================== */

.sb-lp-penalty {
  --u: 1px;
  --u: min(calc(100vw / 390), 1.25px);
  --sb-lp-penalty-bg: url("../../img/LPs/superbet-ad/lp-5/bg-stadium-mobile.webp");
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-color: #00122a; /* top edge of the stadium image */
}

/* Blurred stadium beside the scene (only visible on wide viewports) */
.sb-lp-penalty::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40px;
  right: -40px;
  bottom: -40px;
  left: -40px;
  background: var(--sb-lp-penalty-bg) center / cover no-repeat;
  -webkit-filter: blur(24px) brightness(0.7);
  filter: blur(24px) brightness(0.7);
}

.sb-lp-penalty__scene {
  position: relative;
  z-index: 0; /* own stacking context: the background image sits above its fill */
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40 * var(--u));
  width: calc(390 * var(--u));
  height: calc(580 * var(--u));
  padding-top: calc(199 * var(--u));
}

/* Stadium fills the scene: bg-stadium-mobile.webp (390×580, logo baked in)
   below 1024px, bg-stadium.webp (1440×800) above — picked by <picture> */
.sb-lp-penalty__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sb-lp-penalty__goal {
  display: flex;
  align-items: flex-start;
  gap: calc(80 * var(--u));
}

.sb-lp-penalty__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(72 * var(--u));
}

.sb-lp-penalty__col--center {
  gap: calc(24 * var(--u));
}

/* Target: the ring (ball-target.svg); once hit, the ball covers it */
.sb-lp-penalty__target {
  display: block;
  position: relative;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sb-lp-penalty__target > img {
  -webkit-transition: -webkit-transform 0.15s ease, -webkit-filter 0.15s ease;
  transition: transform 0.15s ease, filter 0.15s ease;
}

/* Ready to shoot: the targets invite a click — they breathe with a glow and
   send out a ring, in a wave (top row left → right, then the bottom row) */
.sb-lp-penalty__target::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.sb-lp-penalty:not(.is-shooting):not(.is-scored):not(.is-done) .sb-lp-penalty__target > img {
  -webkit-animation: sb-lp-target-pulse 1.4s ease-in-out infinite;
  animation: sb-lp-target-pulse 1.4s ease-in-out infinite;
  -webkit-animation-delay: var(--wave, 0s);
  animation-delay: var(--wave, 0s);
}

.sb-lp-penalty:not(.is-shooting):not(.is-scored):not(.is-done) .sb-lp-penalty__target::before {
  -webkit-animation: sb-lp-target-ripple 1.4s ease-out infinite;
  animation: sb-lp-target-ripple 1.4s ease-out infinite;
  -webkit-animation-delay: var(--wave, 0s);
  animation-delay: var(--wave, 0s);
}

[data-sb-lp-penalty-target="top-center"] { --wave: 0.15s; }
[data-sb-lp-penalty-target="top-right"] { --wave: 0.3s; }
[data-sb-lp-penalty-target="bottom-left"] { --wave: 0.45s; }
[data-sb-lp-penalty-target="bottom-right"] { --wave: 0.6s; }

/* Hover/focus: the pulse stops on a bigger, brighter target */
.sb-lp-penalty:not(.is-shooting):not(.is-scored):not(.is-done) .sb-lp-penalty__target:hover > img,
.sb-lp-penalty:not(.is-shooting):not(.is-scored):not(.is-done) .sb-lp-penalty__target:focus-visible > img {
  -webkit-animation: none;
  animation: none;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95));
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95));
}

@-webkit-keyframes sb-lp-target-pulse {
  0%, 100% { -webkit-transform: scale(1); transform: scale(1); -webkit-filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); }
  50% { -webkit-transform: scale(1.12); transform: scale(1.12); -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); }
}

@keyframes sb-lp-target-pulse {
  0%, 100% { -webkit-transform: scale(1); transform: scale(1); -webkit-filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); }
  50% { -webkit-transform: scale(1.12); transform: scale(1.12); -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); }
}

@-webkit-keyframes sb-lp-target-ripple {
  0% { opacity: 0.8; -webkit-transform: scale(1); transform: scale(1); }
  70%, 100% { opacity: 0; -webkit-transform: scale(1.7); transform: scale(1.7); }
}

@keyframes sb-lp-target-ripple {
  0% { opacity: 0.8; -webkit-transform: scale(1); transform: scale(1); }
  70%, 100% { opacity: 0; -webkit-transform: scale(1.7); transform: scale(1.7); }
}

.is-shooting .sb-lp-penalty__target,
.is-scored .sb-lp-penalty__target {
  cursor: default;
}

.is-done .sb-lp-penalty__target {
  cursor: pointer;
}

.sb-lp-penalty__target::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("../../img/LPs/superbet-ad/lp-5/ball.webp") center / contain no-repeat;
  opacity: 0;
}

.sb-lp-penalty__target.is-hit > img {
  opacity: 0;
}

.sb-lp-penalty__target.is-hit::after {
  opacity: 1;
  -webkit-animation: sb-lp-target-hit 0.3s ease-out;
  animation: sb-lp-target-hit 0.3s ease-out;
}

/* Impact: the ball lands a little big and settles into the target */
@-webkit-keyframes sb-lp-target-hit {
  from { -webkit-transform: scale(1.3); transform: scale(1.3); }
  to { -webkit-transform: none; transform: none; }
}

@keyframes sb-lp-target-hit {
  from { -webkit-transform: scale(1.3); transform: scale(1.3); }
  to { -webkit-transform: none; transform: none; }
}

.sb-lp-penalty__target:focus-visible {
  outline: 2px solid var(--sb-lp-color-white);
  outline-offset: 2px;
}

/* Keeper: idle box in the flow; both poses fill it and are swapped by state */
.sb-lp-penalty__keeper {
  position: relative;
  width: calc(80 * var(--u));
  aspect-ratio: 320 / 403;
}

.sb-lp-penalty__keeper-pose {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.1s ease;
  transition: opacity 0.1s ease;
}

/* Arms-up pose: same height as the idle one, narrower (304×404 vs 320×403).
   It springs out of the idle spot into the dive, in step with the ball. */
.sb-lp-penalty__keeper-pose--dive {
  left: 2.53%;
  width: 94.94%;
  opacity: 0;
  -webkit-transition: opacity 0.1s ease, -webkit-transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
  transition: opacity 0.1s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.is-dive-right .sb-lp-penalty__keeper-pose,
.is-dive-left .sb-lp-penalty__keeper-pose {
  opacity: 0;
}

.is-dive-right .sb-lp-penalty__keeper-pose--dive,
.is-dive-left .sb-lp-penalty__keeper-pose--dive {
  opacity: 1;
}

.is-dive-right .sb-lp-penalty__keeper-pose--dive {
  -webkit-transform: translate(calc(46.3 * var(--u)), calc(-21.7 * var(--u))) rotate(25deg) scale(1.05);
  transform: translate(calc(46.3 * var(--u)), calc(-21.7 * var(--u))) rotate(25deg) scale(1.05);
}

.is-dive-left .sb-lp-penalty__keeper-pose--dive {
  -webkit-transform: translate(calc(-46.3 * var(--u)), calc(-21.7 * var(--u))) rotate(-25deg) scale(1.05);
  transform: translate(calc(-46.3 * var(--u)), calc(-21.7 * var(--u))) rotate(-25deg) scale(1.05);
}

.sb-lp-penalty__ball {
  position: relative;
  z-index: 2; /* flies over the keeper and the targets */
  width: calc(80 * var(--u));
  height: calc(80 * var(--u));
  -webkit-transition: opacity 0.2s ease; /* fades back in for the next shot */
  transition: opacity 0.2s ease;
}

/* Shot: spin into the target, shrinking to its size. Keep the duration in
   sync with SHOT_MS in lp-superbet-ad.js (420). */
.is-shooting .sb-lp-penalty__ball {
  -webkit-transform: translate(var(--shot-x, 0), var(--shot-y, 0)) scale(var(--shot-s, 1)) rotate(540deg);
  transform: translate(var(--shot-x, 0), var(--shot-y, 0)) scale(var(--shot-s, 1)) rotate(540deg);
  -webkit-transition: -webkit-transform 0.42s cubic-bezier(0.3, 0.6, 0.4, 1);
  transition: transform 0.42s cubic-bezier(0.3, 0.6, 0.4, 1);
}

/* Goal: the target shows the ball, the spot ball is gone at once (no
   transition, so it doesn't fly back) but keeps its room */
.is-scored .sb-lp-penalty__ball {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: none;
  transition: none;
}

/* Banners: a layer over the whole scene (out of the flow), so their
   coordinates are the design frame's */
.sb-lp-penalty__banners {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Banner after a shot: hidden until .is-visible */
.sb-lp-penalty__banner {
  position: absolute;
  top: calc(108.6 * var(--u));
  left: calc(14.25 * var(--u));
  width: calc(180 * var(--u));
  aspect-ratio: 720 / 241;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translateX(calc(-16 * var(--u))) scale(0.9);
  transform: translateX(calc(-16 * var(--u))) scale(0.9);
  -webkit-transition: opacity 0.25s ease, visibility 0.25s ease, -webkit-transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.sb-lp-penalty__banner--2 {
  left: calc(198.35 * var(--u));
  -webkit-transform: translateX(calc(16 * var(--u))) scale(0.9);
  transform: translateX(calc(16 * var(--u))) scale(0.9);
}

.sb-lp-penalty__banner.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.sb-lp-penalty__banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sb-lp-penalty__banner-text {
  position: absolute;
  top: 50%;
  left: calc(28.8 * var(--u));
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--sb-lp-color-white);
  font-family: var(--sb-lp-font);
  font-weight: 400;
  font-size: calc(13 * var(--u));
  line-height: 1.1;
  white-space: nowrap;
}

.sb-lp-penalty__banner-text strong {
  font-weight: 800;
}

/* Line breaks that differ per layout (banner markup) */
.sb-lp-penalty__br-desktop {
  display: none;
}

/* Shots-left number: bumps when it changes (.is-bump, set by the JS) */
.sb-lp-penalty__tries [data-sb-lp-penalty-left] {
  display: inline-block;
}

.sb-lp-penalty__tries .is-bump {
  -webkit-animation: sb-lp-tries-bump 0.3s ease-out;
  animation: sb-lp-tries-bump 0.3s ease-out;
}

@-webkit-keyframes sb-lp-tries-bump {
  from { -webkit-transform: scale(1.5); transform: scale(1.5); }
  to { -webkit-transform: none; transform: none; }
}

@keyframes sb-lp-tries-bump {
  from { -webkit-transform: scale(1.5); transform: scale(1.5); }
  to { -webkit-transform: none; transform: none; }
}

.sb-lp-penalty__tries {
  color: var(--sb-lp-color-white);
  font-family: var(--sb-lp-font);
  font-weight: 400;
  font-size: 18px;
  font-size: max(14px, calc(18 * var(--u)));
  line-height: 1.2;
  text-align: center;
}

/* Scene narrower than the viewport: fade its edges into the blurred sides */
@media (min-width: 488px) and (max-width: 1023px), (min-width: 1441px) {
  .sb-lp-penalty__scene {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  }
}

@media (min-width: 1024px) {
  .sb-lp-penalty {
    --u: 1px;
    --u: min(calc(100vw / 1440), 1px);
    --sb-lp-penalty-bg: url("../../img/LPs/superbet-ad/lp-5/bg-stadium.webp");
    background-color: #011f4b; /* top edge of the stadium image */
  }

  .sb-lp-penalty__scene {
    gap: calc(32 * var(--u));
    width: calc(1440 * var(--u));
    height: calc(800 * var(--u));
    padding-top: calc(246 * var(--u));
  }

  .sb-lp-penalty__goal {
    gap: calc(160 * var(--u));
  }

  .sb-lp-penalty__col {
    gap: calc(140 * var(--u));
  }

  .sb-lp-penalty__col--center {
    gap: calc(32 * var(--u));
  }

  .sb-lp-penalty__target {
    width: calc(60 * var(--u));
    height: calc(60 * var(--u));
  }

  .sb-lp-penalty__keeper {
    width: calc(160 * var(--u));
  }

  .is-dive-right .sb-lp-penalty__keeper-pose--dive {
    -webkit-transform: translate(calc(97.2 * var(--u)), calc(-23.4 * var(--u))) rotate(25deg);
    transform: translate(calc(97.2 * var(--u)), calc(-23.4 * var(--u))) rotate(25deg);
  }

  .is-dive-left .sb-lp-penalty__keeper-pose--dive {
    -webkit-transform: translate(calc(-97.2 * var(--u)), calc(-23.4 * var(--u))) rotate(-25deg);
    transform: translate(calc(-97.2 * var(--u)), calc(-23.4 * var(--u))) rotate(-25deg);
  }

  .sb-lp-penalty__ball {
    width: calc(120 * var(--u));
    height: calc(120 * var(--u));
  }

  /* Right edge 8px left of the left targets (x 420), centred on them (y 376) */
  .sb-lp-penalty__banner {
    top: calc(315.7 * var(--u));
    left: calc(52 * var(--u));
    width: calc(360 * var(--u));
  }

  .sb-lp-penalty__banner-text {
    left: calc(78 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: 1.2;
  }

  /* Mirror of banner 1: 8px right of the right targets (x 1020) */
  .sb-lp-penalty__banner--2 {
    left: calc(1028 * var(--u));
  }

  .sb-lp-penalty__banner--2 .sb-lp-penalty__banner-text {
    left: calc(69 * var(--u));
  }

  .sb-lp-penalty__br-desktop {
    display: inline;
  }

  .sb-lp-penalty__br-mobile {
    display: none;
  }
}

/* Reduced motion: no flight, dive swing, slide, pulse or pops — states
   swap with fades */
@media (prefers-reduced-motion: reduce) {
  .sb-lp-penalty .sb-lp-penalty__target > img,
  .sb-lp-penalty .sb-lp-penalty__target::before,
  .sb-lp-penalty__target.is-hit::after,
  .sb-lp-penalty__tries .is-bump {
    -webkit-animation: none !important;
    animation: none !important;
  }

  .sb-lp-penalty__target > img,
  .is-shooting .sb-lp-penalty__ball,
  .sb-lp-penalty__keeper-pose--dive {
    -webkit-transition: opacity 0.12s ease;
    transition: opacity 0.12s ease;
  }

  .is-shooting .sb-lp-penalty__ball {
    -webkit-transform: none;
    transform: none;
  }

  .sb-lp-penalty__banner {
    -webkit-transform: none;
    transform: none;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
}
