/*
 * Campaign landing pages and the front-page campaign banner (inc/campaign.php).
 *
 * Loaded only on a giveaway shown as a campaign and on a front page whose
 * banner is switched on. The campaign's own colour is one variable,
 * --cmp-accent, set per giveaway; the rest are the theme's tokens, so the
 * sections under the stage follow light and dark like the site around them.
 * Flat on purpose: solid fills, no glows, no outlined pills. The one
 * gradient is the stage fading into the page, so the background picture has
 * no hard edge above the prizes.
 */

.vt-cmp, .vt-takeover {
  --cmp-ink: #150c00;
  --cmp-accent: #ff7a1a;
}

/* ---------------------------------------------------------------- button -- */
/* The theme's .vt-btn, sizes and all; only the colour is the campaign's. */
.vt-cmp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
  background: var(--cmp-accent); color: var(--cmp-ink);
  font: inherit; font-size: 13.5px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: filter .14s ease;
}
.vt-cmp-btn:hover, .vt-cmp-btn:focus-visible { filter: brightness(.93); color: var(--cmp-ink); }
.vt-cmp-btn--lg { height: 44px; padding: 0 22px; font-size: 15px; }

/* ------------------------------------------------------------- countdown -- */
.vt-cd { display: flex; gap: 10px; margin: 18px 0 0; }
.vt-cd--unit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 78px; padding: 12px 8px 9px; border-radius: var(--vt-r-xl); background: var(--cmp-cd-bg, #0d0e11);
}
.vt-cd--unit b { font-size: 36px; font-weight: 800; line-height: 1; color: var(--cmp-cd-num, #fff); font-variant-numeric: tabular-nums; }
.vt-cd--unit small { margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--cmp-cd-label, var(--cmp-accent)); }
.vt-cd.is-ended { font-weight: 800; }
.vt-cd--sm { gap: 7px; margin-top: 12px; }
.vt-cd--sm .vt-cd--unit { min-width: 56px; padding: 7px 6px 6px; border-radius: var(--vt-r-lg); }
.vt-cd--sm .vt-cd--unit b { font-size: 24px; }
.vt-cd--sm .vt-cd--unit small { font-size: 9.5px; }

/* ------------------------------------------------- casino leaderboards -- */
/* A race's own page (template-parts/board/page.php) on the campaign stage:
   the casino × Velatonmies, title, the podium, the countdown, then the
   standings as rows and the terms in a card. The stage is dark in both
   themes, so accent text on it stays readable. */
/* No prize cards pulled up over the fade here, so the stage ends at the
   same distance from the standings as every other section gap. */
.vt-cmp-stage.vt-lb-stage { padding-bottom: var(--vt-s-6); }
.vt-lb-stage.has-bg { min-height: 0; justify-content: flex-start; }
.vt-lb-stage .vt-cmp-stage--inner { color: var(--lb-text, #fff); }
.vt-lb-art { position: absolute; bottom: 0; z-index: -1; height: 94%; width: auto; max-width: 30vw; object-fit: contain; pointer-events: none; }
.vt-lb-art.is-l { left: 0; object-position: left bottom; }
.vt-lb-art.is-r { right: 0; object-position: right bottom; }
.vt-lb-lockup { display: flex; align-items: center; justify-content: center; gap: var(--vt-s-4); margin-bottom: var(--vt-s-4); }
.vt-lb-lockup--casino { display: grid; place-items: center; height: 46px; }
.vt-lb-lockup--x { font-size: 22px; color: rgba(255, 255, 255, .55); }
.vt-lb-lockup--site { display: block; height: 40px; width: auto; }
.vt-lb-lockup--name { font-size: 22px; font-weight: 800; }
.vt-lb-title { max-width: 900px; }
.vt-lb-sub { max-width: 560px; margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.5; color: var(--lb-text, #fff); opacity: .8; }
.vt-lb-stage .vt-cmp-chips { margin-top: var(--vt-s-2); }

.vt-lb-podium {
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); align-items: end; justify-content: center; gap: var(--vt-s-5);
  width: 100%; margin: var(--vt-s-8) 0 var(--vt-s-8); padding: 0; list-style: none;
}
.vt-lb-podium--card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--vt-s-8) var(--vt-s-4) var(--vt-s-5);
  background: var(--lb-card, #141519); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--vt-r-lg);
  color: var(--lb-text, #fff);
}
.vt-lb-podium--card.is-2 { order: 1; }
.vt-lb-podium--card.is-1 { order: 2; margin-bottom: var(--vt-s-8); border-color: var(--cmp-accent); background: color-mix(in srgb, var(--cmp-accent) 14%, var(--lb-card, #141519)); }
.vt-lb-podium--card.is-3 { order: 3; }
.vt-lb-podium--badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  background: var(--cmp-pill-bg, #0d0e11); border: 1px solid rgba(255, 255, 255, .14); color: var(--cmp-pill-ink, #fff); font-size: 12.5px; font-weight: 700;
}
.vt-lb-podium--card.is-1 .vt-lb-podium--badge { background: var(--cmp-accent); border-color: transparent; color: var(--cmp-ink); }
.vt-lb-avatar {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--vt-s-2); overflow: hidden;
  border-radius: 50%; background: #2a2b31; color: #fff; font-size: 26px; font-weight: 800;
}
.vt-lb-podium--card.is-1 .vt-lb-avatar { width: 72px; height: 72px; box-shadow: 0 0 0 2px var(--cmp-accent); }
.vt-lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vt-lb-podium--name { max-width: 100%; font-size: 18px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.vt-lb-podium--card.is-open .vt-lb-podium--name { color: rgba(255, 255, 255, .55); }
.vt-lb-podium--cap { margin-top: var(--vt-s-2); font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.vt-lb-podium--wager { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vt-lb-podium--prize { font-size: 22px; font-weight: 800; color: var(--lb-prize, var(--cmp-accent)); font-variant-numeric: tabular-nums; }
.vt-lb-podium--card { padding-top: var(--vt-s-8); }
.vt-lb-podium--name { margin-top: var(--vt-s-2); }

/* How to take part: three cards with an arrow between them. */
.vt-lb-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vt-s-10);
  width: 100%; max-width: var(--cmp-w); margin: var(--vt-s-8) 0 0; padding: 0; list-style: none; counter-reset: none;
}
.vt-lb-step {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--vt-s-2);
  padding: var(--vt-s-8) var(--vt-s-6) var(--vt-s-6);
  background: var(--lb-card, #141519); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--vt-r-lg);
}
.vt-lb-step:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: calc(-1 * var(--vt-s-10) / 2); transform: translate(50%, -50%);
  font-size: 26px; font-weight: 800; line-height: 1; color: var(--cmp-accent);
}
.vt-lb-step--n {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cmp-accent); color: var(--cmp-ink); font-size: 14px; font-weight: 800;
}
.vt-lb-step--icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--cmp-accent); }
.vt-lb-step--title { margin-top: var(--vt-s-1); font-size: 17px; font-weight: 800; line-height: 1.25; }
.vt-lb-step--text { margin: 0; font-size: 14px; line-height: 1.55; opacity: .78; }
/* On the campaign page the steps sit on the page, not the dark stage: the
   theme's card, the campaign's accent for the numbers, icons and arrows. */
.vt-cmp-info .vt-lb-steps { max-width: none; margin-top: calc(var(--vt-s-5) + 15px); } /* 15px = the number badge above each card */
.vt-cmp-info .vt-lb-step { background: var(--vt-surface); border-color: var(--vt-line); color: var(--vt-text); }
.vt-cmp-info .vt-lb-step--text { color: var(--vt-text-dim); opacity: 1; }
.vt-cmp-info .vt-lb-step--icon { background: var(--cmp-accent); color: var(--cmp-ink); }
.vt-cmp-info .vt-lb-step--offer { margin-top: auto; padding: 6px 14px; border-radius: 999px; background: var(--cmp-accent); color: var(--cmp-ink); font-size: 13.5px; }
/* Icon and title line up across the cards; the highlighted line sits on the bottom. */
.vt-lb-step--offer { margin: auto 0 0; padding-top: var(--vt-s-1); font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--lb-prize, var(--cmp-accent)); }

.vt-lb-ends { margin: var(--vt-s-4) 0 0; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.vt-lb-stage .vt-cd { margin-top: var(--vt-s-2); gap: 12px; }
/* A size up from the campaign countdown. */
.vt-lb-stage .vt-cd--unit { min-width: 98px; padding: 16px 10px 12px; }
.vt-lb-stage .vt-cd--unit b { font-size: 46px; }
.vt-lb-stage .vt-cd--unit small { margin-top: 8px; font-size: 12.5px; }
.vt-lb-ends { font-size: 15px; }
.vt-lb-cta { display: flex; flex-direction: column; align-items: center; gap: var(--vt-s-3); margin-top: var(--vt-s-6); }
/* Play now: its own colours (Colours tab), bigger than the theme button. */
.vt-lb-play {
  display: inline-flex; align-items: center; justify-content: center; min-width: 240px; height: 56px; padding: 0 36px;
  border-radius: 999px; background: var(--lb-btn, var(--cmp-accent)); color: var(--lb-btn-ink, var(--cmp-ink));
  font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; transition: filter .14s ease;
}
.vt-lb-play:hover, .vt-lb-play:focus-visible { filter: brightness(.93); color: var(--lb-btn-ink, var(--cmp-ink)); text-decoration: none; }
.vt-lb-play.is-sm { min-width: 0; height: 44px; padding: 0 26px; margin-top: var(--vt-s-2); font-size: 15px; }
.vt-lb-review { font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .8); }

.vt-lb-rows { display: grid; gap: var(--vt-s-2); text-align: left; }
.vt-lb-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px 130px; align-items: center; gap: var(--vt-s-4);
  padding: var(--vt-s-3) var(--vt-s-5); background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg);
  font-size: 15px; color: var(--vt-text);
}
.vt-lb-row.is-head { padding-top: 0; padding-bottom: 0; background: none; border: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--vt-text-dim); }
.vt-lb-row > :nth-child(3), .vt-lb-row > :nth-child(4) { text-align: right; }
.vt-lb-row--place { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--vt-r-md); border: 1px solid var(--vt-line); font-size: 13px; font-weight: 800; color: var(--vt-text-dim); }
.vt-lb-row--name { font-weight: 700; overflow-wrap: anywhere; }
.vt-lb-row.is-open .vt-lb-row--name { color: var(--vt-text-faint); font-weight: 600; }
.vt-lb-row--wager { font-weight: 700; font-variant-numeric: tabular-nums; }
.vt-lb-row--prize b { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--cmp-accent); color: var(--cmp-ink); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vt-lb-note { margin-top: calc(-1 * var(--vt-s-6)); font-size: 13px; color: var(--vt-text-dim); }
.vt-lb-back { font-size: 14px; font-weight: 700; }
.vt-lb-back a { color: var(--vt-link); }

@media (max-width: 1100px) {
  .vt-lb-art { max-width: 24vw; opacity: .45; }
}
@media (max-width: 860px) {
  .vt-lb-steps { grid-template-columns: minmax(0, 420px); justify-content: center; gap: var(--vt-s-10); }
  .vt-lb-step:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: calc(-1 * var(--vt-s-10) / 2); left: 50%; transform: translate(-50%, 50%); }
}
@media (max-width: 760px) {
  .vt-lb-art { display: none; }
  .vt-lb-stage .vt-cd { gap: 8px; }
  .vt-lb-stage .vt-cd--unit { min-width: 72px; padding: 12px 6px 10px; }
  .vt-lb-stage .vt-cd--unit b { font-size: 34px; }
  .vt-lb-podium { grid-template-columns: minmax(0, 340px); gap: var(--vt-s-8); }
  .vt-lb-podium--card.is-1, .vt-lb-podium--card.is-2, .vt-lb-podium--card.is-3 { order: 0; margin-bottom: 0; }
  .vt-lb-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--vt-s-3); padding: var(--vt-s-3); font-size: 14px; }
  .vt-lb-row > :nth-child(3) { display: none; }
}

/* ------------------------------------------ exclusive offer cards -- */
/* With "Exclusive offers" on, each casino is a bigger card with the whole
   offer: the slot cover (or the casino's mark on its colour), the title,
   min deposit / max cashout / wagering, the bonus code and the buttons. */
.vt-cmp-offers { display: grid; gap: var(--vt-s-5); margin: 0; padding: 0; list-style: none; text-align: left; }
.vt-cmp-offer {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); overflow: hidden;
  background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg);
}
.vt-cmp-offer.is-exclusive { border-color: var(--cmp-accent); }
.vt-cmp-offer--media { position: relative; display: block; min-height: 260px; background: var(--tint, #2a2b31); }
.vt-cmp-offer:not(.has-cover) .vt-cmp-offer--media { display: grid; place-items: center; padding: var(--vt-s-6); }
.vt-cmp-offer--cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* On the cover the casino's mark sits centred at the foot of the art, on a
   dark fade that keeps it readable over any cover. No tile behind it. */
.vt-cmp-offer.has-cover .vt-cmp-offer--logo {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center;
  padding: 170px var(--vt-s-4) var(--vt-s-8);
  /* Tall and nearly solid at the foot: a cover's own printed title sits
     right there and must not show through the casino's mark. */
  background: linear-gradient(180deg, rgba(8, 9, 12, 0) 0%, rgba(8, 9, 12, 0.82) 38%, rgba(8, 9, 12, 0.97) 70%, #08090c 100%);
}
.vt-cmp-offer.has-cover .vt-cmp-offer--logo .vt-logo-fit { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }
.vt-cmp-offer--body { display: flex; flex-direction: column; gap: var(--vt-s-3); min-width: 0; padding: var(--vt-s-6); }
.vt-cmp-offer--casino { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vt-s-2); margin: 0; font-size: 14px; font-weight: 700; }
.vt-cmp-offer--casino a { color: var(--vt-text-dim); text-decoration: none; }
.vt-cmp-offer--casino a:hover { color: var(--vt-text); }
.vt-cmp-offer--badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--cmp-accent); color: var(--cmp-ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.vt-cmp-offer--title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--vt-text); }
.vt-cmp-offer--text { margin: 0; font-size: var(--fs-lg); line-height: 1.55; color: var(--vt-text-dim); }
.vt-cmp-offer--facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vt-s-2); margin: var(--vt-s-1) 0 0; }
.vt-cmp-offer--facts > div { min-width: 0; padding: 10px 14px; border-radius: var(--vt-r-md); background: var(--vt-hover); }
/* Normal case and no tracking: "Vähimmäistalletus" in spaced capitals did not fit its box. */
.vt-cmp-offer--facts dt { margin: 0 0 2px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--vt-text-dim); overflow-wrap: anywhere; }
.vt-cmp-offer--facts dd { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.25; color: var(--vt-text); overflow-wrap: anywhere; }
.vt-cmp-offer--code { align-self: stretch; text-align: left; }
.vt-cmp-offer--code .bonus-card--code-label { text-align: left; }
.vt-cmp-offer--foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vt-s-3) var(--vt-s-4); margin-top: auto; padding-top: var(--vt-s-2); }
.vt-cmp-offer--qual { flex: 1 1 100%; margin: 0; font-size: 13.5px; font-weight: 700; color: var(--vt-text-dim); }
@media (max-width: 760px) {
  .vt-cmp-offer { grid-template-columns: minmax(0, 1fr); }
  .vt-cmp-offer--media { min-height: 0; aspect-ratio: 16 / 9; }
  /* Phones: the top half of the cover (the art, not the title printed at
     its foot), dimmed, with the casino's mark in the middle as the first
     thing the eye finds. */
  .vt-cmp-offer--cover { object-position: center top; }
  .vt-cmp-offer.has-cover .vt-cmp-offer--logo { top: 0; align-items: center; padding: var(--vt-s-4); background: rgba(8, 9, 12, 0.62); }
  .vt-cmp-offer:not(.has-cover) .vt-cmp-offer--media { aspect-ratio: auto; min-height: 140px; }
  .vt-cmp-offer--body { padding: var(--vt-s-5); }
  .vt-cmp-offer--title { font-size: 21px; }
  .vt-cmp-offer--cta { flex: 1 1 100%; }
}

/* ---------------------------------------------------- front-page banner -- */
.vt-takeover {
  align-items: center; justify-content: center; min-height: 480px; padding: 0;
  background: #101114; color: #fff; text-align: center;
}
.vt-takeover--bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.vt-takeover--bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; animation: vtTkSettle 14s cubic-bezier(.2, .6, .2, 1) both; }
/* One flat veil over the picture so the centred words read anywhere on it. */
.vt-takeover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 8, 12, .58); }
.vt-takeover--inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 860px; margin: 0 auto; padding: 44px 28px;
}
/* Each part eases in a beat after the one above it. */
.vt-takeover--inner > * { animation: vtTkIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.vt-takeover--inner > :nth-child(1) { animation-delay: .05s; }
.vt-takeover--inner > :nth-child(2) { animation-delay: .15s; }
.vt-takeover--inner > :nth-child(3) { animation-delay: .27s; }
.vt-takeover--inner > :nth-child(4) { animation-delay: .39s; }
.vt-takeover--inner > :nth-child(5) { animation-delay: .51s; }
.vt-takeover--inner > :nth-child(6) { animation-delay: .63s; }
@keyframes vtTkIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vtTkSettle { from { transform: scale(1.08); } to { transform: scale(1); } }
.vt-takeover--kicker {
  margin: 0; display: inline-block; padding: 7px 14px 6px; border-radius: 999px;
  background: var(--cmp-accent); color: var(--cmp-ink);
  font-size: 13px; font-weight: 800; letter-spacing: .03em; line-height: 1.1;
}
.vt-takeover--title { margin: 0; font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.vt-takeover--title a { display: block; color: #fff; text-decoration: none; }
.vt-takeover--title a:hover { color: #fff; }
.vt-takeover--logo { display: block; width: auto; max-width: min(620px, 100%); max-height: 190px; height: auto; margin: 0 auto; transition: transform .25s ease; }
.vt-takeover--title a:hover .vt-takeover--logo { transform: scale(1.02); }
.vt-takeover--text { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.vt-takeover--prizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.vt-takeover--prizes li {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px;
  background: rgba(13, 14, 17, .82); color: #fff; font-size: 13.5px; font-weight: 700;
}
.vt-takeover--prizes svg { color: var(--cmp-accent); }
.vt-takeover--cd { justify-content: center; margin-top: 6px; }
.vt-takeover--cd .vt-cd--unit { min-width: 74px; padding: 11px 8px 9px; }
.vt-takeover--cd .vt-cd--unit b { font-size: 32px; }
.vt-takeover--foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; }
.vt-takeover--casinos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin: 4px 0 0; padding: 0; list-style: none; }
.vt-takeover--casinos li { display: flex; align-items: center; justify-content: center; min-height: 32px; }
.vt-takeover--casinos .casino-tile--logo-text { font-size: 15px; font-weight: 800; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .vt-takeover--inner > *, .vt-takeover--bg img { animation: none; }
}
/* Beside the page heading the row is a fixed 430px (_app-cards.css), so the
   banner fills it and keeps its parts compact: button and casinos share a line. */
@media (min-width: 1181px) {
  .vt-hero-row > .vt-takeover { min-height: 0; height: 100%; }
  .vt-takeover--inner { gap: 10px; padding: 24px 28px; }
  .vt-takeover--logo { max-height: 128px; }
  .vt-takeover--title { font-size: clamp(36px, 4vw, 56px); }
  .vt-takeover--text { font-size: clamp(20px, 1.9vw, 27px); }
  .vt-takeover--cd { margin-top: 2px; }
  .vt-takeover--cd .vt-cd--unit { min-width: 64px; padding: 8px 6px 7px; }
  .vt-takeover--cd .vt-cd--unit b { font-size: 26px; }
  .vt-takeover--cd .vt-cd--unit small { margin-top: 4px; font-size: 10px; }
  .vt-takeover--foot { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 4px; }
}

/* --------------------------------------------------------- landing page -- */
/* Built on the theme's own system (_app-shell.css, _app-cards.css): the card
   is .vt-card (surface, 1px line, --vt-r-lg), the button is .vt-btn, section
   titles are .vt-sec--title, sections sit --vt-s-10 apart with --vt-s-5 from
   a title to its content and between cards. Only the stage is the campaign's
   own, and only the accent colour is new. */

/* The stage runs the full width of the window, so nothing may push the page sideways. */
body.vt-campaign-page { overflow-x: clip; }

.vt-cmp { --cmp-w: 980px; display: flex; flex-direction: column; align-items: center; gap: var(--vt-s-10); margin: 0 0 var(--vt-s-10); text-align: center; }
/* One content width for every section under the stage, the entry form included. */
.vt-cmp-sec, .vt-cmp-entry { width: 100%; max-width: var(--cmp-w); margin: 0 auto; }
.vt-cmp-h2 { margin: 0 0 var(--vt-s-5); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--vt-text); }
.vt-cmp-h3 { margin: 0 0 var(--vt-s-3); font-size: 15.5px; font-weight: 800; color: var(--vt-text); }
/* The theme's card. */
.vt-cmp-card, .vt-cmp-prize-card, .vt-cmp-stream--side, .vt-cmp-person.is-guest {
  background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg);
}

/* The stage: background picture, corner pictures, logo, prize, countdown. */
.vt-cmp-stage {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100vw; margin: -24px calc(50% - 50vw) 0;
  padding: var(--vt-s-12) var(--vt-s-4) var(--vt-s-12);
  background: #0f1013; color: #fff;
}
.vt-cmp.is-light .vt-cmp-stage { background: #e8ecec; color: var(--cmp-ink); }
.vt-cmp-stage--bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.vt-cmp-stage--video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
@media (prefers-reduced-motion: reduce) { .vt-cmp-stage--video { display: none; } }
/* With a picture or a video behind it, the stage is tall and its text sits at
   the bottom, so the middle of the artwork is left to be seen. */
.vt-cmp-stage.has-bg { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(86vh, 820px); }
/* Over a video the logo is smaller, so the moving picture keeps the middle. */
.vt-cmp-stage.has-video .vt-cmp-logo img { max-width: min(560px, 100%); max-height: 190px; }
/* The fade into the page, so the prizes sit on the page and not in a box. */
.vt-cmp-stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1;
  background: linear-gradient(180deg, transparent 0%, var(--vt-canvas, #16171a) 100%);
}
.vt-cmp-corner { position: absolute; z-index: 1; pointer-events: none; width: clamp(130px, 22vw, 380px); height: auto; }
.vt-cmp-corner.is-tr { top: 0; right: 0; }
.vt-cmp-corner.is-bl { bottom: 0; left: 0; }
.vt-cmp-stage--inner { position: relative; z-index: 2; max-width: var(--cmp-w); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--vt-s-3); }

/* The heading takes the column's width and the picture is centred in it; left
   to size itself, the heading took the image's natural width (2000px) and the
   shrunk picture sat at its left edge. */
.vt-cmp-logo { align-self: stretch; width: 100%; margin: 0; line-height: 0; text-align: center; }
.vt-cmp-logo img { display: block; width: auto; max-width: min(760px, 100%); max-height: 280px; height: auto; margin: 0 auto; }
.vt-cmp-title { margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.vt-cmp-prize { margin: var(--vt-s-1) 0 0; font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.vt-cmp .vt-cd { justify-content: center; margin-top: var(--vt-s-2); }
/* The same space above and below the Enter button: the stage's 12px gap plus 12px each side. */
.vt-cmp-stage .vt-cmp-btn--lg { margin: var(--vt-s-3) 0; }

/* The theme's .vt-chip, solid on the picture. */
.vt-cmp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--vt-s-2); margin: 0; padding: 0; list-style: none; }
.vt-cmp-chips li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--cmp-pill-bg, #0d0e11); color: var(--cmp-pill-ink, rgba(255, 255, 255, .92)); font-size: 13px; font-weight: 700; }

/* What is raffled: the main prize first, in the accent. */
.vt-cmp-prizes { position: relative; z-index: 2; }
.vt-cmp-prizes--list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--vt-s-5); margin: 0; padding: 0; list-style: none; }
.vt-cmp-prize-card { display: flex; flex-direction: column; justify-content: center; gap: var(--vt-s-1); padding: var(--vt-s-5) var(--vt-s-4); }
.vt-cmp-prize-card strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--vt-text); }
.vt-cmp-prize-card span { font-size: 13px; line-height: 1.5; color: var(--vt-text-dim); }
.vt-cmp-prize-card.is-main { background: var(--cmp-accent); border-color: transparent; }
.vt-cmp-prize-card.is-main strong, .vt-cmp-prize-card.is-main span { color: var(--cmp-ink); }
/* A prize picture runs edge to edge across the top of its card. */
.vt-cmp-prize-card.has-img { overflow: hidden; justify-content: flex-start; padding-top: 0; }
.vt-cmp-prize-card--img { display: block; width: calc(100% + 2 * var(--vt-s-4)); max-width: none; margin: 0 calc(-1 * var(--vt-s-4)) var(--vt-s-3); aspect-ratio: 16 / 10; height: auto; object-fit: cover; }

/* Raffle information: the theme's body copy. */
.vt-cmp-info--text {
  padding: var(--vt-s-8) var(--vt-s-10); text-align: left;
  background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg);
  font-size: var(--fs-lg); line-height: 1.65; color: var(--vt-text-dim);
}
.vt-cmp-info--text > :last-child { margin-bottom: 0; }
.vt-cmp-info--text p { margin: 0 0 var(--vt-s-4); }
.vt-cmp-info--text h2, .vt-cmp-info--text h3, .vt-cmp-info--text h4 { margin: var(--vt-s-6) 0 var(--vt-s-3); color: var(--vt-text); line-height: 1.25; letter-spacing: -.01em; }
.vt-cmp-info--text > h2:first-child, .vt-cmp-info--text > h3:first-child, .vt-cmp-info--text > h4:first-child { margin-top: 0; }
.vt-cmp-info--text h3 { font-size: 20px; font-weight: 800; }
.vt-cmp-info--text h4 { font-size: 17px; font-weight: 800; }
.vt-cmp-info--text strong, .vt-cmp-info--text b { color: var(--vt-text); }
.vt-cmp-info--text a { color: var(--vt-link); }
.vt-cmp-info--text ul, .vt-cmp-info--text ol { margin: 0 0 var(--vt-s-4); padding-left: 1.3em; }
.vt-cmp-info--text li { margin: 0 0 var(--vt-s-2); }
.vt-cmp-info--text blockquote { margin: 0 0 var(--vt-s-4); padding-left: var(--vt-s-4); border-left: 3px solid var(--cmp-accent); color: var(--vt-text); }
.vt-cmp-info--text hr { margin: var(--vt-s-6) 0; border: 0; border-top: 1px solid var(--vt-line); }
.vt-cmp-info--pics { display: grid; gap: var(--vt-s-5); margin-top: var(--vt-s-5); }
.vt-cmp-info--pics.is-2 { grid-template-columns: 1fr 1fr; }
.vt-cmp-info--pics img { display: block; width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: var(--vt-r-lg); }

/* The stream: player and main streamer side by side, guests in smaller cards below. */
.vt-cmp-stream { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--vt-s-5); margin-top: var(--vt-s-5); align-items: stretch; }
.vt-cmp-stream.has-player { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
/* Beside the card the player takes the row's height; 16:9 here made it wider than its column. */
.vt-cmp-stream.has-player .vt-cmp-player { aspect-ratio: auto; min-height: 320px; }
.vt-cmp-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--vt-r-lg); overflow: hidden; background: #0d0e11; border: 1px solid var(--vt-line); }
.vt-cmp-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vt-cmp-player--load {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--vt-s-2);
  width: 100%; border: 0; background: #0d0e11; color: #fff; font: inherit; cursor: pointer;
}
/* A picture behind the play button, under a flat veil so the button reads. */
.vt-cmp-player--load.has-bg { isolation: isolate; }
.vt-cmp-player--bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vt-cmp-player--load.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 9, 12, .5); transition: background .15s ease; }
.vt-cmp-player--load.has-bg:hover::before { background: rgba(8, 9, 12, .38); }
.vt-cmp-player--load.has-bg strong, .vt-cmp-player--load.has-bg small { text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.vt-cmp-player--play { width: 60px; height: 60px; border-radius: 50%; background: var(--cmp-accent); position: relative; margin-bottom: var(--vt-s-1); }
.vt-cmp-player--play::after { content: ""; position: absolute; left: 24px; top: 18px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--cmp-ink); }
.vt-cmp-player--load strong { font-size: 15.5px; font-weight: 800; }
.vt-cmp-player--load small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.vt-cmp-player--load:hover .vt-cmp-player--play { filter: brightness(.93); }
.vt-cmp-stream--side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--vt-s-3); padding: var(--vt-s-5); }
.vt-cmp-event--when { display: flex; flex-direction: column; align-items: center; gap: var(--vt-s-1); margin: 0; }
.vt-cmp-event--when span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--vt-link); }
.vt-cmp-event--when strong { font-size: 17px; font-weight: 800; color: var(--vt-text); }
.vt-cmp-person { display: flex; flex-direction: column; align-items: center; gap: var(--vt-s-1); }
.vt-cmp-person--img { display: block; width: 96px; height: 96px; margin-bottom: var(--vt-s-2); border-radius: 50%; object-fit: cover; }
.vt-cmp-person--img.is-initial { display: grid; place-items: center; background: var(--cmp-accent); color: var(--cmp-ink); font-size: 36px; font-weight: 800; }
.vt-cmp-person--name { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; color: var(--vt-text); }
.vt-cmp-person--role { font-size: 13px; color: var(--vt-text-dim); }
.vt-cmp-person--link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--vt-s-1); font-size: 13px; font-weight: 700; color: var(--vt-link); text-decoration: none; }
.vt-cmp-person--link:hover { text-decoration: underline; }
.vt-cmp-person.is-main .vt-cmp-person--img { width: 104px; height: 104px; }
.vt-cmp-guests { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--vt-s-5); margin-top: var(--vt-s-5); }
.vt-cmp-person.is-guest { padding: var(--vt-s-5) var(--vt-s-4); }
.vt-cmp-person.is-guest .vt-cmp-person--img { width: 64px; height: 64px; font-size: 26px; }
.vt-cmp-btn--watch svg { flex: 0 0 auto; }
/* The platform's own colour on its own button. */
.vt-cmp-btn--watch.is-twitch { background: #9146ff; color: #fff; }
.vt-cmp-btn--watch.is-kick { background: #53fc18; color: #0b0e0f; }
.vt-cmp-btn--watch.is-youtube { background: #ff0033; color: #fff; }
.vt-cmp-btn--watch.is-twitch:hover, .vt-cmp-btn--watch.is-youtube:hover { color: #fff; }
.vt-cmp-btn--watch.is-kick:hover { color: #0b0e0f; }

/* Casino offers: the normal giveaway rows, stacked. */
.vt-cmp-rules { margin: 0 0 var(--vt-s-5); font-size: var(--fs-lg); line-height: 1.65; color: var(--vt-text-dim); }
.vt-cmp-rules p { margin: 0 0 var(--vt-s-2); }
.vt-cmp-rules strong { color: var(--vt-text); }
.vt-cmp-casinos--list { margin: 0; padding: 0; list-style: none; text-align: left; }
.vt-campaign-page .vt-cmp-casinos .giveaway-casino--cta { background: var(--cmp-accent); color: var(--cmp-ink); }
.vt-cmp-casino--sub { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--vt-text-dim); }
.vt-cmp-casino--facts { display: block; margin-top: var(--vt-s-1); font-size: 12.5px; font-weight: 700; color: var(--vt-text-faint, var(--vt-text-dim)); }
.vt-cmp-casino--act { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; }
.vt-cmp-casino--review { font-size: 12.5px; font-weight: 700; color: var(--vt-link); text-decoration: none; }
.vt-cmp-casino--review:hover { text-decoration: underline; }
/* Phones and tablets: logo and offer, then the deposit, then a full-width
   button with the review link under it. The theme's own two-line grid places
   the bare button by class; here it sits in a wrapper with the review link,
   which that grid had no cell for. */
@media (max-width: 860px) {
  .vt-cmp-casinos .giveaway-casino { grid-template-areas: "logo text" "deposit deposit" "act act"; align-items: start; }
  .vt-cmp-casinos .giveaway-casino--deposit {
    grid-area: deposit; display: flex; align-items: baseline; justify-content: space-between; gap: var(--vt-s-3);
    padding: var(--vt-s-2) var(--vt-s-3); border-radius: var(--vt-r-md); background: var(--vt-raised); text-align: left;
  }
  .vt-cmp-casino--act { grid-area: act; align-items: stretch; gap: var(--vt-s-2); }
  .vt-cmp-casinos .giveaway-casino--cta { justify-self: stretch; width: 100%; height: 40px; }
  .vt-cmp-casino--review { align-self: center; }
}
.vt-cmp-fine { margin: var(--vt-s-3) 0 0; font-size: 12px; line-height: 1.5; color: var(--vt-text-faint, var(--vt-text-dim)); }

/* Leaderboard. */
.vt-cmp-board iframe { width: 100%; border: 0; border-radius: var(--vt-r-lg); }
.vt-cmp-link { font-weight: 700; color: var(--vt-link); }

/* The shared entry card, at the shared width and in the campaign's colour. */
.vt-cmp-entry { text-align: left; }
.vt-campaign-page .vt-cmp-entry .grid-container { width: 100%; max-width: none; margin: 0; padding: 0; }
.vt-campaign-page .vt-cmp-entry .giveaway-body--grid,
.vt-campaign-page .vt-cmp-entry .giveaway-body--grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.vt-campaign-page .vt-cmp-entry .giveaway-body { margin-top: 0; padding: 0; }
.vt-campaign-page .vt-cmp-entry .giveaway-body--grid { gap: var(--vt-s-5); }
.vt-campaign-page .vt-cmp-entry .giveaway-body--entry { order: -1; }
.vt-campaign-page .vt-cmp-entry .vt-btn--primary { background: var(--cmp-accent); color: var(--cmp-ink); }
.vt-campaign-page .vt-cmp-entry .giveaway-step::before { background: var(--cmp-accent); color: var(--cmp-ink); }

/* The campaign's own terms. */
.vt-cmp-terms--text { font-size: 13px; line-height: 1.6; color: var(--vt-text-dim); }
.vt-cmp-terms--text p { margin: 0 0 var(--vt-s-2); }
.vt-cmp-terms--text a { color: var(--vt-link); }

/* ---------------------------------------------------------------- phones -- */
@media (max-width: 760px) {
  .vt-cmp-stage { padding: var(--vt-s-10) var(--vt-s-4) var(--vt-s-10); }
  .vt-cmp-corner { width: clamp(90px, 30vw, 160px); }
  .vt-cd { gap: 7px; width: 100%; max-width: 360px; }
  .vt-cd--unit { min-width: 0; flex: 1 1 0; }
  .vt-cd--unit b { font-size: 26px; }
  /* Two prize cards a row on a phone: one a row was a screen per prize. */
  .vt-cmp-prizes--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vt-s-3); }
  .vt-cmp-prize-card { padding: var(--vt-s-3); }
  .vt-cmp-prize-card.has-img { padding-top: 0; }
  .vt-cmp-prize-card--img { width: calc(100% + 2 * var(--vt-s-3)); margin: 0 calc(-1 * var(--vt-s-3)) var(--vt-s-2); }
  .vt-cmp-prize-card strong { font-size: 14.5px; }
  .vt-cmp-prize-card span { font-size: 12px; line-height: 1.4; }
  .vt-cmp-info--pics.is-2 { grid-template-columns: 1fr; }
  .vt-cmp-info--text { padding: var(--vt-s-6) var(--vt-s-5); }
  .vt-cmp-stream.has-player { grid-template-columns: minmax(0, 1fr); }
  .vt-cmp-stream.has-player .vt-cmp-player { aspect-ratio: 16 / 9; min-height: 0; }
  .vt-takeover { min-height: 540px; }
  .vt-takeover--inner { gap: 10px; padding: 36px 18px; }
  .vt-takeover--logo { max-height: 130px; }
  .vt-takeover--cd { gap: 6px; }
  .vt-takeover--cd .vt-cd--unit { min-width: 62px; padding: 9px 6px 8px; }
  .vt-takeover--cd .vt-cd--unit b { font-size: 26px; }
  .vt-takeover--casinos { gap: 10px 20px; }
  .vt-takeover--casinos .vt-logo-fit { --k: .8; }
}

/* FI / EN raffle switch: phones and tablets only, where the site's own
   language switch is inside the menu. Segmented like .lang-switch; the
   current side is the accent fill. */
.vt-cmp-langs { display: none; }
@media (max-width: 900px) {
  .vt-cmp-langs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; margin-bottom: var(--vt-s-2);
    border-radius: 999px; background: rgba(8, 9, 12, 0.72); border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .vt-cmp-langs--item { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
    font-size: 13.5px; font-weight: 800; line-height: 1; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.82); text-decoration: none; white-space: nowrap; }
  .vt-cmp-langs--item:hover, .vt-cmp-langs--item:focus-visible { color: #fff; }
  .vt-cmp-langs--item.is-active { background: var(--cmp-accent, #ffb822); color: #150c00; }
}
