@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* Live Lottos — component stylesheet.
   Every value is a token from tokens.json. Drop this in after tokens.css and
   render the markup shown in each component's preview. No JavaScript is
   required for any of it except the countdown tick and the carousel.        */

.ll,
.ll * { box-sizing: border-box; }

.ll {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.ll-tabular { font-variant-numeric: tabular-nums; }

/* ---------- focus ------------------------------------------------------ */
.ll :focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.ll-on-brand :focus-visible { outline-color: var(--focus-ring-inverse); }

/* ---------- button ----------------------------------------------------- */
.ll-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-size: 16px; line-height: 20px; font-weight: 700;
  padding: 14px var(--space-5);
  border: 0; border-radius: var(--radius-md);
  background: var(--cta-600); color: var(--ink-on-brand);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 80ms ease, background-color 120ms ease;
}
.ll-btn:hover { background: var(--cta-700); }
.ll-btn:active { transform: scale(0.98); }
.ll-btn[disabled]:not([aria-busy="true"]), .ll-btn[aria-disabled="true"] { opacity: var(--opacity-disabled); pointer-events: none; }
.ll-btn[aria-busy="true"] { pointer-events: none; }
.ll-btn--block { display: flex; width: 100%; }
.ll-btn--lg { padding: 17px var(--space-6); font-size: 18px; }
.ll-btn--sm { padding: 10px var(--space-4); font-size: 14px; }
.ll-btn--secondary { background: transparent; color: var(--cta-700); box-shadow: inset 0 0 0 2px var(--cta-600); }
.ll-btn--secondary:hover { background: var(--cta-100); }
.ll-btn--quiet { background: var(--surface-sunken); color: var(--ink); }
.ll-btn--quiet:hover { background: var(--border-hairline); }
.ll-btn--onbrand { background: var(--ink-on-brand); color: var(--surface-brand); }
.ll-btn--onbrand:hover { background: #f0e9f6; }

.ll-spin {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: currentColor;
  animation: ll-rotate 1s linear infinite;
}
@keyframes ll-rotate { to { transform: rotate(360deg); } }

/* ---------- pills, ribbons, tags --------------------------------------- */
.ll-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 11px; line-height: 11px; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--radius-pill);
  background: var(--live-500); color: var(--ink-on-brand);
}
.ll-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ll-pill--rollover { background: var(--live-500); letter-spacing: 0.06em; font-size: 12px; padding: 7px 12px; }
.ll-pill--muted { background: var(--surface-sunken); color: var(--ink-muted); }

.ll-ribbon {
  position: absolute; top: 12px; left: 0;
  font-family: var(--font-display); font-size: 12px; line-height: 14px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--live-500); color: var(--ink-on-brand);
  padding: 6px 12px 6px 10px; border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}

.ll-tag {
  display: inline-block;
  font-family: var(--font-display); font-size: 12px; line-height: 14px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--radius-sm);
  background: var(--surface-sunken); color: var(--ink);
}
.ll-tag--price { background: var(--cta-100); color: #05502e; }
.ll-tag--pending { background: var(--surface-sunken); color: var(--ink-muted); }

/* ---------- jackpot tag ------------------------------------------------ */
.ll-jackpot-tag {
  display: inline-block; transform: rotate(-2deg);
  background: var(--surface-tag); color: var(--ink-on-brand);
  padding: 10px var(--space-4); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-tag);
}
.ll-jackpot-tag > span {
  display: block; transform: rotate(0deg);
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: 34px; line-height: 36px; font-variant-numeric: tabular-nums;
}
.ll-jackpot-tag--hero > span { font-size: 44px; line-height: 44px; }
.ll-jackpot-tag--sm > span { font-size: 26px; line-height: 28px; }

/* ---------- countdown -------------------------------------------------- */
.ll-countdown {
  display: inline-flex; align-items: baseline; gap: var(--space-2);
  font-family: var(--font-body); font-size: 15px; line-height: 18px; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--ink-muted);
}
.ll-countdown--lg { font-size: 18px; line-height: 22px; }
.ll-countdown--onbrand { color: var(--ink-on-brand); }
.ll-countdown__grp { display: inline-flex; align-items: baseline; }
.ll-countdown__unit { display: inline-block; min-width: 2.1ch; text-align: right; }
.ll-countdown--final {
  color: var(--live-600); background: var(--live-100);
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.ll-countdown--closed {
  color: var(--ink-muted); background: var(--surface-sunken);
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- 18+ badge -------------------------------------------------- */
.ll-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-pill);
  border: 2px solid var(--live-500); color: var(--live-500);
  font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0;
}
.ll-18--onbrand { border-color: var(--live-500); color: var(--ink-on-brand); }

/* ---------- placeholder banner ----------------------------------------- */
.ll-placeholder {
  border-top: 4px solid var(--placeholder-500);
  background: var(--placeholder-200);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  display: flex; gap: var(--space-3); align-items: flex-start;
}
.ll-placeholder__label {
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--placeholder-700);
  white-space: nowrap;
}
.ll-placeholder__text { font-size: 13px; line-height: 19px; color: var(--ink); }

/* ---------- card ------------------------------------------------------- */
.ll-card {
  position: relative; overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
@media (hover: hover) {
  .ll-card--link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--surface-brand-raised);
  }
}
.ll-card--rollover { border-color: var(--live-500); }
.ll-lottery-card { padding: var(--space-4); display: grid; gap: var(--space-3); }
.ll-lottery-card__top { display: flex; gap: var(--space-3); align-items: center; }
.ll-lottery-card__ball { width: 64px; height: 64px; flex: none; }
.ll-lottery-card__name { font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 600; }
.ll-lottery-card__meta { font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.ll-lottery-card__jackpot {
  font-family: var(--font-display); font-size: 26px; line-height: 28px; font-weight: 800;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.ll-lottery-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

/* ---------- product hero ----------------------------------------------- */
.ll-hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-brand);
  color: var(--ink-on-brand);
  padding: var(--space-6) var(--space-4) var(--space-5);
  text-align: center;
}
.ll-hero--game { background: var(--hero-game, var(--surface-brand)); }
.ll-hero--game .ll-hero__sub { color: var(--ink-on-brand); }
.ll-hero__art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: var(--opacity-hero-art); pointer-events: none;
}
.ll-hero__inner { position: relative; display: grid; justify-items: center; gap: var(--space-3); }
.ll-hero__ball { width: 120px; height: 120px; }
.ll-hero__name { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700; }
.ll-hero__sub { font-size: 13px; line-height: 19px; color: var(--ink-on-brand-muted); }

/* ---------- line grid --------------------------------------------------- */
.ll-lines { display: grid; gap: var(--space-2); }
.ll-lines__row { display: flex; align-items: center; gap: var(--space-2); }
.ll-lines__idx {
  width: 20px; flex: none; text-align: right;
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-subtle);
  font-variant-numeric: tabular-nums;
}
.ll-lines__nums { display: flex; gap: var(--space-2); flex: 1 1 auto; }
.ll-num {
  flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-sunken); color: var(--ink);
  border-radius: var(--radius-sm);
  font-size: 15px; line-height: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ll-num--bonus { background: var(--bonus-300); }
.ll-num--hit { box-shadow: inset 0 0 0 2px var(--cta-600); }
.ll-lines__legend { display: flex; gap: var(--space-4); font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.ll-lines__key { display: inline-flex; align-items: center; gap: 6px; }
.ll-lines__swatch { width: 12px; height: 12px; border-radius: 3px; }

/* ---------- sticky buy bar ---------------------------------------------- */
.ll-buybar {
  background: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sticky);
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: grid; gap: var(--space-3);
}
.ll-buybar__price {
  font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ll-buybar__price small { display: block; font-size: 17px; line-height: 22px; font-weight: 700; color: var(--ink-muted); }
.ll-seg {
  display: flex; background: var(--surface-sunken); border-radius: var(--radius-md); padding: 3px;
}
.ll-seg__opt {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 600;
  color: var(--ink-muted); padding: 8px 10px; border-radius: 8px;
}
.ll-seg__opt[aria-pressed="true"] {
  background: var(--surface-card); color: var(--ink);
  box-shadow: 0 1px 2px rgba(27,16,36,0.12);
}

/* ---------- forms -------------------------------------------------------- */
.ll-field { display: grid; gap: 6px; }
.ll-field__label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
.ll-input {
  font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--ink);
  background: var(--surface-card);
  border: 1px solid var(--border-control); border-radius: var(--radius-md);
  padding: 12px var(--space-3); width: 100%;
}
.ll-input::placeholder { color: var(--ink-subtle); }
.ll-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 13px; line-height: 19px; }
.ll-check input { width: 22px; height: 22px; flex: none; accent-color: var(--cta-600); margin: 0; }

/* ---------- summary / add-on -------------------------------------------- */
.ll-summary { display: grid; gap: var(--space-3); padding: var(--space-4); }
.ll-summary__row { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 15px; line-height: 22px; }
.ll-summary__row--total {
  border-top: 1px solid var(--border-hairline); padding-top: var(--space-3);
  font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ll-addon {
  background: var(--placeholder-200); border-radius: var(--radius-lg);
  padding: var(--space-4); display: grid; gap: var(--space-3);
}
.ll-warn {
  background: var(--live-100); color: var(--ink); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); font-size: 13px; line-height: 19px;
}
.ll-warn strong { color: var(--live-600); }

/* ---------- rating card -------------------------------------------------- */
.ll-rating {
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-4);
  background: linear-gradient(120deg, #b1266e 0%, #6f2a9c 52%, #2b3fa8 100%);
  color: var(--ink-on-brand); display: grid; gap: var(--space-2); justify-items: center; text-align: center;
}
.ll-rating__score { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; }
.ll-rating__stars { display: flex; gap: 3px; }
.ll-rating__meta { font-size: 13px; line-height: 19px; color: #f0e2f5; }
.ll-review {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-2);
  min-width: 232px;
}
.ll-review__text { font-size: 13px; line-height: 19px; }
.ll-review__by { font-size: 12px; line-height: 16px; color: var(--ink-subtle); }

/* ---------- header / footer ---------------------------------------------- */
.ll-header {
  background: var(--surface-brand); color: var(--ink-on-brand);
  padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
}
.ll-header__logo { height: 34px; }
.ll-header__nav { display: flex; gap: var(--space-5); margin-left: auto; }
.ll-header__nav a {
  color: var(--ink-on-brand); text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 600;
}
.ll-header__pill {
  background: var(--ink-on-brand); color: var(--surface-brand); white-space: nowrap;
  border-radius: var(--radius-pill); padding: 9px var(--space-4);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; text-decoration: none;
}
.ll-iconbtn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: transparent; border: 0; color: var(--ink-on-brand); cursor: pointer; border-radius: var(--radius-md);
}
.ll-tabs {
  background: var(--surface-brand-raised); display: flex; gap: var(--space-4);
  padding: 0 var(--space-4); overflow-x: auto;
}
.ll-tabs a {
  color: var(--ink-on-brand-muted); text-decoration: none; white-space: nowrap;
  font-size: 12px; line-height: 16px; font-weight: 500; padding: var(--space-3) 2px;
  border-bottom: 2px solid transparent;
}
.ll-tabs a[aria-current="page"] { color: var(--ink-on-brand); border-bottom-color: var(--accent-500); }

.ll-footer { background: var(--surface-brand); color: var(--ink-on-brand-muted); padding: var(--space-6) var(--space-4); }
.ll-footer__cols { display: grid; gap: var(--space-5); }
.ll-footer h3 {
  font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 600;
  color: var(--ink-on-brand); margin: 0 0 var(--space-3);
}
.ll-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ll-footer a { color: var(--ink-on-brand-muted); text-decoration: none; font-size: 14px; line-height: 20px; }
.ll-footer__legal {
  background: var(--surface-brand-deep); color: var(--ink-on-brand-muted);
  font-size: 11px; line-height: 16px; padding: var(--space-4);
  display: grid; gap: var(--space-2);
}

/* ---------- account ------------------------------------------------------ */
.ll-syndicate { padding: var(--space-4); display: grid; gap: var(--space-3); }
.ll-syndicate__top { display: flex; align-items: center; gap: var(--space-3); }
.ll-syndicate__ball { width: 44px; height: 44px; flex: none; }
.ll-status {
  font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-pill);
  background: var(--cta-100); color: #05502e;
}
.ll-status--paused { background: var(--placeholder-200); color: var(--placeholder-700); }
.ll-status--left { background: var(--surface-sunken); color: var(--ink-muted); }
.ll-tile {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: 4px;
}
.ll-tile__label { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.ll-tile__value {
  font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ll-amount { font-variant-numeric: tabular-nums; white-space: nowrap; font: 700 17px/22px var(--font-body); }

/* ---------- modal --------------------------------------------------------- */
.ll-modal {
  background: var(--surface-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal); padding: var(--space-5); display: grid; gap: var(--space-4);
  max-width: 343px;
}
.ll-modal h2 { font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 600; margin: 0; }
.ll-modal__actions { display: grid; gap: var(--space-2); }
.ll-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.ll-reason {
  border: 1px solid var(--border-control); background: var(--surface-card);
  border-radius: var(--radius-md); padding: var(--space-3) 6px; display: grid; gap: 6px;
  justify-items: center; cursor: pointer; font-size: 11px; line-height: 14px; color: var(--ink);
  font-family: var(--font-body); text-align: center;
}
.ll-reason span { font-size: 20px; line-height: 20px; }

/* ---------- skeleton ------------------------------------------------------ */
.ll-skeleton {
  display: inline-block; background: var(--surface-sunken);
  border-radius: var(--radius-sm); position: relative; overflow: hidden;
}
.ll-skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%); animation: ll-shimmer 1.4s linear infinite;
}
@keyframes ll-shimmer { to { transform: translateX(100%); } }


/* ---------- trust bar ------------------------------------------------------ */
.ll-trustbar {
  background: var(--surface-brand-deep); color: var(--ink-on-brand);
  padding: var(--space-3) var(--space-4);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-4) var(--space-5);
}
.ll-trustbar__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  font-size: 12px; line-height: 16px; color: var(--ink-on-brand-muted);
}
.ll-trustbar__name {
  font-family: var(--font-display); font-size: 13px; line-height: 18px; font-weight: 600;
  color: var(--ink-on-brand);
}
.ll-trustbar__rule { width: 1px; align-self: stretch; background: rgba(255,255,255,0.20); }

/* ---------- chat bubble ---------------------------------------------------- */
.ll-chat {
  width: 56px; height: 56px; border-radius: var(--radius-pill); border: 0;
  background: var(--accent-500); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-card-hover);
}

/* ---------- reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ll *, .ll *::before, .ll *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   v2 — 26 September 2026. Round-2 selling surfaces.
   Appended, never edited over: round-1 classes still work unchanged.
   ========================================================================== */

/* ---------- JackpotRise ---------------------------------------------------
   How far a jackpot has climbed from the lottery's starting jackpot.
   Shown at 50% and above. Never on a fixed-prize game.                     */
.ll-rise {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--success-700); background: var(--success-100);
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.ll-rise__arrow { font-size: 9px; line-height: 16px; transform: translateY(-1px); }
.ll-rise--sm { font-size: 11px; padding: 2px 7px; }

/* 500% and over: one settle on load, then still. No loop. */
.ll-rise--big { animation: ll-rise-settle 260ms cubic-bezier(.2,.8,.2,1) 1; }
@keyframes ll-rise-settle { from { transform: translateY(3px); opacity: 0; } to { transform: none; opacity: 1; } }

/* On a hero it is a strap, not a pill — no fill, so it never competes with the tag. */
.ll-rise--hero {
  background: none; padding: 0; color: var(--gold-400);
  font-size: 13px; line-height: 18px;
}

/* ---------- LotteryCard v2 -------------------------------------------------
   Ball, name, jackpot, rise, countdown, one button. Nothing else.
   Fixed row template so every card in the grid is the same height.         */
.ll-cardv2 {
  position: relative; overflow: hidden;
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  /* Rows: ball, name, figure, countdown, button. The countdown row takes the
     slack so that cards of unequal height keep their jackpots on one line
     and their buttons on the bottom edge. */
  display: grid; grid-template-rows: auto auto auto 1fr auto; align-content: stretch;
  gap: var(--space-2);
  /* The ribbon band is reserved on every card, ribbon or not, so that the
     jackpots in a row sit on one optical line. */
  padding: 34px var(--space-3) var(--space-3);
  text-align: center; transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
@media (hover: hover) {
  .ll-cardv2--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); border-color: var(--surface-brand-raised); }
}
.ll-cardv2--rollover { border-color: var(--coral-500); }
.ll-cardv2__ball { width: 64px; height: 64px; justify-self: center; }
.ll-cardv2__name {
  font-family: var(--font-display); font-size: 14px; line-height: 19px; font-weight: 600;
  /* Fixed two-line box: one- and two-line names must leave the jackpot on the
     same optical line across a row. Three-line names are clipped, not allowed
     to shove the row out of alignment. */
  height: 40px; overflow: hidden;
  display: grid; place-content: center;
}
.ll-cardv2__figure { display: flex; align-items: baseline; justify-content: center; gap: var(--space-2); flex-wrap: wrap; }
.ll-cardv2__jackpot {
  font-family: var(--font-display); font-size: 26px; line-height: 30px; font-weight: 800;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.ll-cardv2__countdown { min-height: 18px; }
.ll-ribbon--coral { background: var(--coral-500); }

/* Grid: one column, two from 360px, four from 1000px (viewport fallback). */
.ll-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 360px) { .ll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ll-grid { grid-template-columns: repeat(4, 1fr); } }
/* Wrap the grid in .ll-gridwrap and it measures its own width instead of the
   viewport's — which is what you want in any column narrower than the page. */
/* min-width:0 so the wrapper can shrink inside a flex or grid parent; without
   it the grid sizes to its cards' max-content and overflows a narrow column. */
.ll-gridwrap { container: llgrid / inline-size; min-width: 0; }
@container llgrid (max-width: 899px) { .ll-grid { grid-template-columns: repeat(2, 1fr); } }
@container llgrid (max-width: 319px) { .ll-grid { grid-template-columns: 1fr; } }
@container llgrid (min-width: 900px) { .ll-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- ProductHero v2 -------------------------------------------------
   Adds the rise strap and the gold jackpot figure on the dark tag.         */
.ll-jackpot-tag--gold > span { color: var(--gold-400); }
.ll-jackpot-tag--super { box-shadow: var(--shadow-tag), 0 0 0 2px var(--gold-100); }
.ll-hero__meta { display: grid; gap: 6px; justify-items: center; }

/* ---------- BuyBar v2 ------------------------------------------------------
   In flow under the line grid, not sticky. Quantity, tier, two prices.     */
.ll-buy {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: var(--space-4);
  display: grid; gap: var(--space-3);
}
.ll-buy__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.ll-buy__label { font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.ll-qty { display: inline-flex; align-items: center; background: var(--surface-sunken); border-radius: var(--radius-md); padding: 3px; }
.ll-qty__btn {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 8px;
  font-family: var(--font-display); font-size: 20px; line-height: 1; font-weight: 700; color: var(--ink);
}
.ll-qty__btn[disabled] { opacity: var(--opacity-disabled); cursor: default; }
.ll-qty__value {
  min-width: 44px; text-align: center; font-family: var(--font-display); font-size: 17px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ll-buy__prices {
  display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap;
  font-size: 17px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ll-buy__prices .sep { color: var(--ink-subtle); font-weight: 400; }
/* Same size, same weight, same colour as the £1. This is the load-bearing
   rule of the whole flow — do not mute, shrink or move it. */
.ll-buy__prices .then { color: var(--ink); }
.ll-buy__was { font-size: 17px; font-weight: 700; color: var(--ink-subtle); text-decoration: line-through; }
.ll-buy__benefit { font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.ll-buy__note { font-size: 11px; line-height: 16px; color: var(--ink-subtle); text-align: center; }

/* Tier control: Standard | Big Share. Same shape as the segmented control. */
.ll-tier { display: flex; background: var(--surface-sunken); border-radius: var(--radius-md); padding: 3px; }
.ll-tier__opt {
  flex: 1; border: 0; background: transparent; cursor: pointer; padding: 9px 8px; border-radius: 8px;
  font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted);
}
.ll-tier__opt[aria-pressed="true"] { background: var(--surface-card); color: var(--ink); box-shadow: 0 1px 2px rgba(27,16,36,0.12); }

/* ---------- TrustRow ------------------------------------------------------- */
.ll-trustrow {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2) var(--space-4);
  flex-wrap: wrap; padding: var(--space-3) 0;
  font-size: 13px; line-height: 19px; color: var(--ink-muted);
}
.ll-trustrow__stars { display: inline-flex; gap: 2px; }

/* ---------- Facts ---------------------------------------------------------- */
.ll-facts { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); }
.ll-facts__row { display: grid; grid-template-columns: 116px 1fr; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.ll-facts__row + .ll-facts__row { border-top: 1px solid var(--border-hairline); }
.ll-facts__k { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.ll-facts__v { font-size: 14px; line-height: 20px; }

/* ---------- info icon ------------------------------------------------------ */
.ll-info {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border-control); color: var(--ink-muted);
  font: 700 11px/1 var(--font-body); cursor: help; vertical-align: middle;
}
.ll-info--onbrand { border-color: var(--ink-on-brand-muted); color: var(--ink-on-brand-muted); }

/* ---------- ProductHero v2 ------------------------------------------------- */
.ll-hero__clock {
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--ink-on-brand); letter-spacing: 0.01em;
}
.ll-hero__clock--final { color: var(--coral-300); }
/* v2: rollover is coral everywhere. live-500 now means "live" and nothing else. */
.ll-pill--rollover { background: var(--coral-500); color: var(--ink-on-brand); }
.ll-hero__sub--quiet { color: var(--ink-on-brand-muted); font-size: 12px; line-height: 18px; }
.ll-pill--super {
  background: var(--surface-tag); color: var(--gold-400);
  box-shadow: inset 0 0 0 1px var(--gold-100);
}

/* ---------- TrustRow v2 ---------------------------------------------------- */
.ll-trustrow__item { display: inline-flex; align-items: center; gap: var(--space-2); }
/* No dot separators: they strand on their own line the moment the row wraps.
   The gap does the separating. */
.ll-trustrow .ll-18 { width: 26px; height: 26px; font-size: 9px; border-width: 1.5px; }
.ll-trustrow__link { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.ll-trustrow--stack { flex-direction: column; align-items: flex-start; gap: var(--space-2); }

/* ==========================================================================
   v2 — THE SIGN-UP JOURNEY
   Landing → Step 1 (contact) → SMS code → Step 2 (pay) → Step 3 (profile)
   → Preparing → Confirmation → Welcome home.
   ========================================================================== */

/* ---------- step indicator -------------------------------------------- */
.ll-steps {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-muted);
}
.ll-steps__bar { display: flex; gap: 4px; flex: 1 1 auto; }
.ll-steps__seg { height: 4px; flex: 1 1 0; border-radius: 2px; background: var(--surface-sunken); }
.ll-steps__seg--done { background: var(--cta-600); }
.ll-steps__seg--now { background: var(--cta-400); }

/* ---------- tick list --------------------------------------------------- */
.ll-ticks { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.ll-ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2);
  font-size: 14px; line-height: 20px;
}
.ll-ticks__mark {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cta-100); color: var(--cta-700); font-size: 11px; font-weight: 800;
}
.ll-ticks--onbrand li { color: var(--ink-on-brand); }
.ll-ticks--onbrand .ll-ticks__mark { background: var(--cta-400); color: var(--surface-brand-deep); }

/* ---------- consent sentence -------------------------------------------- */
/* One sentence under the button. No checkboxes, and nothing pre-ticked:
   the act of continuing is the consent, and it says so in words.          */
.ll-consent {
  font-size: 12px; line-height: 18px; color: var(--ink-muted); text-align: center;
}
.ll-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- SMS code entry ---------------------------------------------- */
.ll-code { display: flex; gap: var(--space-2); justify-content: center; }
.ll-code__box {
  width: 46px; height: 56px; border-radius: var(--radius-md);
  border: 1px solid var(--border-control); background: var(--surface-card);
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  font-variant-numeric: tabular-nums; text-align: center; color: var(--ink);
}
.ll-code__box[data-filled="true"] { border-color: var(--ink); }
.ll-code__box[aria-invalid="true"] { border-color: var(--error-600); background: var(--error-100); }
.ll-code__resend { font-size: 13px; line-height: 19px; color: var(--ink-muted); text-align: center; }
.ll-code__resend button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--ink);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.ll-code__resend button[disabled] { color: var(--ink-subtle); text-decoration: none; cursor: default; }

/* ---------- offer radio list -------------------------------------------- */
.ll-offers { display: grid; gap: var(--space-2); }
.ll-offer {
  display: grid; grid-template-columns: 22px 1fr auto; gap: var(--space-3); align-items: center;
  padding: var(--space-3); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md); background: var(--surface-card); text-align: left;
}
.ll-offer[aria-checked="true"] { border-color: var(--cta-600); box-shadow: inset 0 0 0 1px var(--cta-600); }
.ll-offer input { width: 22px; height: 22px; margin: 0; accent-color: var(--cta-600); }
.ll-offer__name { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.ll-offer__desc { display: block; font-size: 12px; line-height: 17px; color: var(--ink-muted); }
.ll-offer__price {
  font-size: 15px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ll-offer__price small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-muted); }

/* ---------- running weekly total ---------------------------------------- */
/* Shown wherever an add-on changes the recurring commitment. Both figures at
   the same size as each other and as the £1 — the two-price rule, applied to
   the basket instead of to one product.                                    */
.ll-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); background: var(--surface-sunken);
  border-radius: var(--radius-md);
  font-size: 15px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ll-total__label { font-weight: 500; color: var(--ink-muted); font-size: 13px; }
.ll-total__step { color: var(--ink); }
.ll-total__step .from { color: var(--ink-subtle); }
.ll-total__step .arrow { color: var(--ink-subtle); font-weight: 400; padding: 0 2px; }

/* ---------- payment block ------------------------------------------------ */
.ll-pay { display: grid; gap: var(--space-3); }
.ll-pay__wallets { display: grid; gap: var(--space-2); }
.ll-wallet {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  width: 100%; padding: 15px var(--space-4); border: 0; border-radius: var(--radius-md);
  background: var(--surface-tag); color: var(--ink-on-brand);
  font-family: var(--font-display); font-size: 16px; font-weight: 700; cursor: pointer;
}
.ll-wallet--google { background: var(--ink); }
.ll-pay__or {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: 12px; line-height: 16px; color: var(--ink-subtle);
}
.ll-pay__or::before, .ll-pay__or::after {
  content: ""; flex: 1 1 0; height: 1px; background: var(--border-hairline);
}
.ll-pay__card { display: grid; gap: var(--space-3); }
.ll-pay__split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.ll-pay__brands { display: flex; gap: 6px; align-items: center; }
.ll-pay__brand {
  height: 20px; padding: 0 6px; border-radius: 3px; background: var(--surface-sunken);
  font-size: 9px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-muted);
  display: inline-flex; align-items: center;
}
.ll-pay__secure { font-size: 12px; line-height: 18px; color: var(--ink-muted); }

/* ---------- progress / preparing ----------------------------------------- */
.ll-progress {
  display: grid; justify-items: center; gap: var(--space-4);
  padding: var(--space-8) var(--space-4); text-align: center;
}
.ll-progress__title { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; }
.ll-progress__sub { font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 30ch; }
.ll-progress__steps { display: grid; gap: var(--space-2); justify-items: start; text-align: left; }
.ll-progress__step {
  display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2);
  font-size: 14px; line-height: 20px; color: var(--ink-subtle);
}
.ll-progress__step[data-state="done"] { color: var(--ink); }
.ll-progress__step[data-state="now"] { color: var(--ink); font-weight: 600; }

/* ---------- confirmation -------------------------------------------------- */
/* Warm and clear, not celebratory: this screen confirms a purchase, and the
   confetti in motion.md belongs to a win.                                   */
.ll-confirm { display: grid; justify-items: center; gap: var(--space-4); text-align: center; }
.ll-confirm__mark {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cta-100); color: var(--cta-700); font-size: 26px; font-weight: 800;
}
.ll-confirm__ref {
  font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 700;
  letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
  padding: var(--space-3) var(--space-4); background: var(--surface-sunken);
  border-radius: var(--radius-md);
}
.ll-confirm__next { font-size: 14px; line-height: 21px; color: var(--ink-muted); }

/* ---------- onboarding checklist ------------------------------------------ */
.ll-checklist { display: grid; gap: 0; }
.ll-checklist__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-3);
}
.ll-checklist__title { font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 700; }
.ll-checklist__count { font-size: 13px; line-height: 19px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
button.ll-checklist__item, button.ll-offer, button.ll-wallet {
  border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
}
.ll-checklist__item {
  display: grid; grid-template-columns: 24px 1fr auto; gap: var(--space-3); align-items: center;
  padding: var(--space-3) var(--space-4); border: 0; border-top: 1px solid var(--border-hairline);
  background: none; font: inherit; font-size: 14px; line-height: 20px; color: inherit;
  text-align: left; width: 100%;
}
button.ll-checklist__item { cursor: pointer; }
@media (hover: hover) { button.ll-checklist__item:hover { background: var(--surface-sunken); } }
.ll-checklist__box {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border-control); color: transparent; font-size: 12px; font-weight: 800;
}
.ll-checklist__item[data-done="true"] .ll-checklist__box {
  background: var(--cta-600); border-color: var(--cta-600); color: var(--ink-on-brand);
}
.ll-checklist__item[data-done="true"] { color: var(--ink-muted); }
.ll-checklist__go { font-size: 13px; font-weight: 600; color: var(--cta-700); }

/* ---------- desktop side panel -------------------------------------------- */
.ll-signup { display: grid; gap: 0; }
@media (min-width: 900px) {
  .ll-signup { grid-template-columns: 1fr 480px; min-height: 100%; }
}
.ll-sidepanel {
  background: var(--surface-brand); color: var(--ink-on-brand);
  padding: var(--space-8) var(--space-6); display: grid; align-content: center; gap: var(--space-5);
}
.ll-sidepanel__logo { height: 32px; justify-self: start; }
.ll-sidepanel__line { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 700; }
.ll-signup__pane { padding: var(--space-5) var(--space-4); display: grid; gap: var(--space-4); align-content: start; }

/* ---------- downsell modal -------------------------------------------------- */
.ll-downsell { display: grid; gap: var(--space-4); }
.ll-downsell__once {
  font-size: 11px; line-height: 16px; color: var(--ink-subtle); text-align: center;
}

/* ==========================================================================
   v2 — JACKPOT CLUB
   A weekly membership across several draws. Not tied to one lottery.
   ========================================================================== */

/* ---------- ball cluster (five big draws, overlapping) ------------------- */
.ll-cluster { display: flex; align-items: center; }
.ll-cluster > * { flex: none; border-radius: 50%; }
.ll-cluster > * + * { margin-left: -14px; }
.ll-cluster--sm > * + * { margin-left: -10px; }

/* ---------- club hero ---------------------------------------------------- */
.ll-clubhero__name {
  font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400);
}
.ll-clubhero__figure {
  font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 800;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--gold-400);
}
.ll-clubhero__promise {
  font-size: 13px; line-height: 19px; font-weight: 600; color: var(--ink-on-brand);
  background: rgba(255,255,255,0.12); padding: 4px 10px; border-radius: var(--radius-pill);
}

/* ---------- tier control -------------------------------------------------- */
.ll-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  background: var(--surface-sunken); border-radius: var(--radius-md); padding: 3px; }
.ll-tier3 {
  border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-2); display: grid; gap: 2px; text-align: center;
  font-family: var(--font-body); color: var(--ink-muted);
}
.ll-tier3__name {
  display: block; font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700;
  font-variant-numeric: tabular-nums; color: inherit;
}
.ll-tier3__price { display: block; font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; }
.ll-tier3[aria-pressed="true"] {
  background: var(--surface-card); color: var(--ink); box-shadow: 0 1px 2px rgba(27,16,36,0.12);
}

/* ---------- this week's draws --------------------------------------------- */
.ll-week { background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); overflow: hidden; }
.ll-week__row {
  display: grid; grid-template-columns: 36px 1fr auto; gap: var(--space-3); align-items: center;
  padding: var(--space-3) var(--space-4);
}
.ll-week__row + .ll-week__row { border-top: 1px solid var(--border-hairline); }
.ll-week__ball { width: 36px; height: 36px; }
.ll-week__name { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.ll-week__day { display: block; font-size: 12px; line-height: 17px; color: var(--ink-muted); }
.ll-week__amount {
  font-family: var(--font-display); font-size: 17px; line-height: 22px; font-weight: 800;
  font-variant-numeric: tabular-nums; text-align: right;
}
.ll-week__why {
  display: inline-block; font-size: 10px; line-height: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted);
  background: var(--surface-sunken); padding: 2px 6px; border-radius: var(--radius-sm);
  margin-left: 6px; vertical-align: 1px;
}
.ll-week__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); background: var(--surface-sunken);
  border-top: 1px solid var(--border-hairline);
  font-size: 15px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ---------- wins strip ----------------------------------------------------- */
.ll-wins { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none; min-width: 0; }
.ll-wins::-webkit-scrollbar { display: none; }
.ll-win {
  flex: none; display: grid; gap: 1px; padding: var(--space-2) var(--space-3);
  background: var(--success-100); border-radius: var(--radius-md); white-space: nowrap;
}
.ll-win__amount {
  display: block; font-size: 14px; line-height: 19px; font-weight: 700; color: var(--success-700);
  font-variant-numeric: tabular-nums;
}
.ll-win__meta { display: block; font-size: 11px; line-height: 15px; color: var(--ink-muted); }
.ll-wins__total {
  font-size: 13px; line-height: 19px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ll-wins__empty {
  font-size: 13px; line-height: 19px; color: var(--ink-muted);
  padding: var(--space-3) var(--space-4); background: var(--surface-sunken);
  border-radius: var(--radius-md); text-align: center;
}

/* ---------- evidence chart -------------------------------------------------- */
.ll-evidence {
  background: var(--surface-brand); color: var(--ink-on-brand);
  border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-3);
}
.ll-evidence__title { font-family: var(--font-display); font-size: 15px; line-height: 21px; font-weight: 700; }
.ll-evidence__note { font-size: 11px; line-height: 16px; color: var(--ink-on-brand-muted); }

/* ---------- club card ------------------------------------------------------- */
.ll-clubcard__name {
  font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ll-clubcard__figure {
  font-family: var(--font-display); font-size: 24px; line-height: 28px; font-weight: 800;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.ll-clubrow { display: flex; gap: var(--space-3); overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; min-width: 0; }
.ll-clubrow::-webkit-scrollbar { display: none; }
/* The row measures itself, not the viewport: a phone-width column inside a
   wide page still scrolls rather than squeezing three cards to 106px. */
.ll-clubrow { container: llclub / inline-size; }
.ll-clubrow > * { flex: none; width: 212px; }
/* A package card carries a two-price line and a ball row; it needs more. */
.ll-clubrow > .ll-pkg { width: 252px; }
@container llclub (min-width: 700px) {
  .ll-clubrow { overflow: visible; }
  .ll-clubrow > *, .ll-clubrow > .ll-pkg { flex: 1 1 0; width: auto; }
}

/* ---------- steps (how the club works) --------------------------------------- */
.ll-steps3 { display: grid; gap: var(--space-4); }
.ll-steps3__item { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); }
.ll-steps3__n {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-500); color: var(--ink);
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
}
.ll-steps3__text { font-size: 14px; line-height: 20px; }

/* ---------- hero art, v2 ----------------------------------------------------
   Seven layers baked into the SVG (base, depth, sweep, motif, particles, grain,
   vignette). The art carries no text: everything legible is DOM on top of it,
   and the centre band of every variant is kept quiet so white type clears
   4.5:1 there — measured on the rasterised art, not judged by eye.          */
.ll-hero__art--v2 {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; opacity: 1;
  overflow: hidden; border-radius: inherit;
}
/* The v2 art is a full composition, not a texture: it fills the panel at
   whatever aspect the panel happens to be, and carries its own opacity. */
.ll-hero__art--v2 > svg, .ll-hero__art--v2 > img { width: 100%; height: 100%; display: block; }
/* Per-lottery tint: set --hero-tint to the game's own colour. 12%, over the
   calm art only, so the page feels like its lottery without leaving the brand. */
.ll-hero--tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--hero-tint, transparent); opacity: 0.12;
}

/* ==========================================================================
   v2.1 — PACKAGE CARDS, PHONE NAVIGATION, RESULTS, TRUST TRIPLE
   ========================================================================== */

/* ---------- package card (clubs and Live Pass) -------------------------- */
.ll-pkg {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: var(--space-4); display: grid; gap: var(--space-3);
  text-align: center; justify-items: center;
}
.ll-pkg__name {
  font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ll-pkg__art { width: 96px; height: 96px; }
.ll-pkg__art svg, .ll-pkg__art img { display: block; width: 100%; height: 100%; }
.ll-pkg__figure {
  font-family: var(--font-display); font-size: 30px; line-height: 34px; font-weight: 800;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.ll-pkg__caption { display: block; font-size: 12px; line-height: 17px; color: var(--ink-muted); margin-top: -6px; }
.ll-btn--pill { border-radius: var(--radius-pill); }
.ll-pkg__duration {
  font-size: 13px; line-height: 19px; font-weight: 600; color: var(--ink-muted);
  margin-top: -4px;
}
/* The two prices, at the same size, under the pill. The pill is the action;
   this line is the commitment, and it never shrinks. */
.ll-pkg__prices {
  display: flex; align-items: baseline; justify-content: center; gap: var(--space-2);
  flex-wrap: wrap;
  font-size: 15px; line-height: 21px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ll-pkg__prices .sep { color: var(--ink-subtle); font-weight: 400; }

/* the lottery row: a ball with the number of lines under it */
.ll-pkg__lots {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-3) var(--space-4);
  padding-top: var(--space-2); border-top: 1px solid var(--border-hairline);
  width: 100%;
}
.ll-lot { display: grid; justify-items: center; gap: 3px; width: 46px; }
.ll-lot__ball { width: 30px; height: 30px; }
.ll-lot__ball svg { display: block; width: 100%; height: 100%; }
.ll-lot__lines {
  font-size: 11px; line-height: 15px; font-weight: 700; color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.ll-pkg__more {
  border: 0; background: none; padding: 0; cursor: pointer;
  font: 600 13px/19px var(--font-body); color: var(--ink);
  text-decoration: underline; text-underline-offset: 2px;
}
.ll-pkg__hidden { display: none; }
.ll-pkg[data-expanded="true"] .ll-pkg__hidden { display: grid; }

/* ---------- phone navigation, option A: hamburger + tab strip ------------ */
.ll-header--nav { gap: var(--space-3); }
.ll-burger {
  display: inline-grid; place-items: center; gap: 4px;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0;
}
.ll-burger span {
  display: block; width: 20px; height: 2px; border-radius: 1px;
  background: var(--ink-on-brand);
}
.ll-drawer {
  background: var(--surface-brand-deep); color: var(--ink-on-brand);
  padding: var(--space-4) 0;
}
.ll-drawer a {
  display: block; padding: var(--space-3) var(--space-4);
  color: var(--ink-on-brand); text-decoration: none;
  font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 600;
}
.ll-drawer a + a { border-top: 1px solid rgba(255,255,255,0.10); }

/* ---------- phone navigation, option B: bottom tab bar ------------------- */
.ll-tabbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface-card); border-top: 1px solid var(--border-hairline);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.ll-tabbar__item {
  border: 0; background: none; cursor: pointer;
  display: grid; justify-items: center; gap: 3px; padding: 8px 2px 10px;
  color: var(--ink-muted); font: 500 10px/13px var(--font-body);
  min-height: 56px;
}
.ll-tabbar__icon { width: 24px; height: 24px; display: block; }
.ll-tabbar__item[aria-current="page"] { color: var(--surface-brand); font-weight: 700; }
.ll-tabbar__item[aria-current="page"] .ll-tabbar__icon { color: var(--surface-brand); }
.ll-header--slim { justify-content: space-between; }

/* ---------- results ------------------------------------------------------ */
.ll-results { display: grid; gap: var(--space-3); }
.ll-result {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); overflow: hidden;
}
.ll-result__top {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.ll-result__ball { width: 40px; height: 40px; flex: none; }
.ll-result__name { display: block; font-size: 15px; line-height: 21px; font-weight: 700;
  font-family: var(--font-display); }
.ll-result__when { display: block; font-size: 12px; line-height: 17px; color: var(--ink-muted); }
.ll-result__nums {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  padding: 0 var(--space-4) var(--space-3);
}
.ll-result__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-sunken); border-top: 1px solid var(--border-hairline);
}
.ll-result__next { display: grid; gap: 1px; }
.ll-result__next-label { font-size: 11px; line-height: 15px; color: var(--ink-muted); }

/* ---------- trust triple -------------------------------------------------- */
.ll-trio { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .ll-trio { grid-template-columns: repeat(3, 1fr); } }
.ll-triowrap { container: lltrio / inline-size; min-width: 0; }
@container lltrio (min-width: 560px) { .ll-trio { grid-template-columns: repeat(3, 1fr); } }
@container lltrio (max-width: 559px) { .ll-trio { grid-template-columns: 1fr; } }
.ll-trio__item { display: grid; grid-template-columns: 36px 1fr; gap: var(--space-3); align-items: start; }
.ll-trio__icon {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-sunken); color: var(--surface-brand);
}
.ll-trio__icon svg { width: 20px; height: 20px; display: block; }
.ll-trio__title { display: block; font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 700; }
.ll-trio__text { display: block; font-size: 13px; line-height: 19px; color: var(--ink-muted); }

/* ---------- hero: the week's total across all syndicates ------------------ */
.ll-hero__week {
  font-size: 13px; line-height: 19px; font-weight: 600; color: var(--ink-on-brand);
  background: rgba(255,255,255,0.12); padding: 5px 12px; border-radius: var(--radius-pill);
}
.ll-hero__week b { color: var(--gold-400); font-variant-numeric: tabular-nums; }
