/* offer kit e7f53bd19f60: copied by tools/offer_kit/sync.mjs; edit tools/offer_kit/, never this copy */
/* Offer kit: the player, the recovery card, mini hooks, purchase notices (tools/offer_kit/README.md).
   Each offer sets its colours with these variables in its own stylesheet. */
:root {
  --kit-accent: #c8102e;
  --kit-accent-ink: #ffffff;
  --kit-overlay: rgba(0, 0, 0, .46);
  --kit-preview-tint: rgba(0, 0, 0, .14);
  --kit-box-bg: rgba(0, 0, 0, .46);
  --kit-circle-bg: rgba(18, 18, 18, .88);
  --kit-arrow: #e8202a;
  --kit-card: #ffffff;
  --kit-card-ink: #1d1d1d;
  --kit-bar: #c8102e;
  --kit-radius: 10px;
}
[data-kit-vsl] { position: relative; }
/* What the kit hides stays hidden whatever display the page's own style gives that element. */
:is([data-kit-show], [data-kit-arm], [data-kit-stock], [data-kit-stock-bar], [data-kit-live], [data-kit-comments])[hidden] { display: none !important; }
/* No flicker: a page whose <html> has class="kit-wait" keeps the pieces under test invisible until the kit has
   chosen their version (kit-ready); if the kit never runs they appear by themselves after 1.5 s. */
html.kit-wait:not(.kit-ready) :is([data-kit-text], [data-kit-html], [data-kit-src], [data-kit-show], [data-kit-arm]) {
  visibility: hidden; animation: kit-show 0s linear 1.5s forwards; }
@keyframes kit-show { to { visibility: visible; } }
/* Blocks behind a gate (data-kit-reveal) take no room while the kit starts, so nothing jumps up when it hides them;
   if the kit never runs they appear by themselves after 1.5 s (the animation ends, their own style comes back). */
html.kit-wait:not(.kit-ready) [data-kit-reveal] { animation: kit-gate 1.5s step-end; }
@keyframes kit-gate { from { visibility: hidden; max-height: 0; overflow: hidden; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; } }
/* The player's place is kept before the kit runs (no jump of the page): an empty box, or one holding only its
   <video poster>, takes the shape of --kit-ratio (set it on the box, e.g. style="--kit-ratio: 9/16"). */
[data-kit-vsl]:empty, [data-kit-vsl] > video:only-child { display: block; width: 100%; aspect-ratio: var(--kit-ratio, 16 / 9); background: #000; border-radius: var(--kit-radius); }
[data-kit-vsl] > video:only-child { object-fit: cover; }
.kit-frame { position: relative; width: 100%; aspect-ratio: var(--kit-ratio, 16 / 9); background: #000; border-radius: var(--kit-radius); overflow: hidden;
  container-type: inline-size; -webkit-tap-highlight-color: transparent; }
.kit-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.kit-frame .kit-pv { z-index: 1; }
.kit-ov { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 0; margin: 0; padding: 16px; background: var(--kit-overlay); color: #fff; font: inherit; font-size: clamp(1rem, 3.6vw, 1.25rem); font-size: clamp(.82rem, 4.6cqw, 1.3rem); font-weight: 700;
  line-height: 1.25; text-align: center; cursor: pointer; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); -webkit-tap-highlight-color: transparent; }
.kit-cue.kit-cue-wait { visibility: hidden; }  /* its room kept until the preview plays: the text under it does not jump */
.kit-ov[hidden], .kit-cue[hidden], .kit-bar[hidden], .kit-full[hidden], .kit-speed[hidden], .kit-hook[hidden], .kit-status[hidden], .kit-pv[hidden] { display: none; }
.kit-circle { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--kit-accent); color: var(--kit-accent-ink);
  font-size: 30px; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); animation: kit-pulse 1.6s ease-in-out infinite; }
.kit-play { background: rgba(0, 0, 0, .18); }
@keyframes kit-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* The invitation over the muted preview: the video stays visible behind it. */
.kit-unmute { background: var(--kit-preview-tint); }
.kit-box { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 78%; padding: 12px 22px 14px; border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 12px; background: var(--kit-box-bg); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); animation: kit-pulse 1.8s ease-in-out infinite; }
.kit-box-lead { font-size: .92em; }
.kit-box svg { width: clamp(36px, 10vw, 52px); height: auto; }
.kit-cta-circle { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: clamp(130px, 46%, 230px); aspect-ratio: 1; padding: 16px; border-radius: 50%; background: var(--kit-circle-bg);
  font-size: clamp(.9rem, 3.8vw, 1.25rem); font-weight: 800; line-height: 1.08; text-transform: uppercase; box-shadow: 0 6px 26px rgba(0, 0, 0, .35); }
.kit-play-dot { display: grid; place-items: center; width: 36%; aspect-ratio: 1; border-radius: 50%; background: #fff; color: #111; font-size: 1.5em;
  padding-left: .12em; text-shadow: none; animation: kit-pulse 1.6s ease-in-out infinite; }
.kit-arrow { position: absolute; right: -22%; bottom: 2%; width: 46%; color: var(--kit-arrow); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.kit-unmute-pill { align-items: flex-end; justify-content: flex-start; background: transparent; }
.kit-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .72);
  font-size: clamp(.85rem, 3.4vw, 1rem); font-weight: 600; text-shadow: none; animation: kit-pulse 1.8s ease-in-out infinite; }
.kit-pill svg { width: 20px; height: 20px; }
.kit-pimg { max-width: 72%; max-height: 78%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35)); animation: kit-pulse 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .kit-circle, .kit-box, .kit-play-dot, .kit-pill, .kit-pimg { animation: none; } }

.kit-resume { background: rgba(0, 0, 0, .34); }
.kit-choice { z-index: 5; cursor: default; background: rgba(0, 0, 0, .72); padding: 10px; gap: 8px; }
.kit-choice p { margin: 0 0 4px; }
.kit-btn { display: inline-block; border: 0; border-radius: 8px; padding: .7em 1.1em; background: var(--kit-accent); color: var(--kit-accent-ink);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.kit-link { border: 0; background: none; color: inherit; font: inherit; font-size: .9em; font-weight: 500; text-decoration: underline; cursor: pointer; }
.kit-recov { z-index: 5; cursor: default; background: rgba(0, 0, 0, .8); gap: 8px; padding: 10px 14px; }
.kit-recov img { max-width: 70%; max-height: 42%; object-fit: contain; border-radius: 6px; }
.kit-recov b { font-size: 1.1em; }
.kit-recov p { margin: 0; font-weight: 500; max-width: 34ch; }
.kit-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 6px; background: rgba(255, 255, 255, .25); }
.kit-bar span { display: block; height: 100%; width: 0; background: var(--kit-bar); transition: width .25s linear; }
.kit-full, .kit-speed { position: absolute; z-index: 4; display: grid; place-items: center; height: 38px; border: 0; border-radius: 8px;
  background: rgba(0, 0, 0, .45); color: #fff; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.kit-full { top: 8px; right: 8px; width: 38px; }
.kit-speed { right: 8px; bottom: 14px; min-width: 46px; padding: 0 10px; }
.kit-hook { position: absolute; left: 50%; transform: translateX(-50%); z-index: 4; max-width: 88%; padding: 8px 14px; border-radius: 999px;
  background: var(--kit-card); color: var(--kit-card-ink); font-weight: 700; font-size: clamp(.85rem, 3vw, 1rem); text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3); pointer-events: none; }
.kit-hook-top { top: 10px; }
.kit-hook-bottom { bottom: 16px; }
.kit-hook-center { top: 50%; transform: translate(-50%, -50%); }
.kit-cue { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; padding: 14px 16px; border: 0;
  border-radius: var(--kit-radius); background: var(--kit-accent); color: var(--kit-accent-ink); font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.kit-status { margin: 8px 0 0; font-size: .95rem; text-align: center; }
.kit-note { margin: 8px 0 0; font-size: .92rem; text-align: center; opacity: .85; }
.kit-proof { position: fixed; left: 12px; z-index: 9999; display: flex; align-items: center; gap: 10px; max-width: min(360px, calc(100vw - 24px));
  padding: 10px 12px; border-radius: 12px; background: var(--kit-card); color: var(--kit-card-ink); box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  font-size: .9rem; line-height: 1.3; opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
.kit-proof-bottom { bottom: 12px; }
.kit-proof-top { top: 12px; }
.kit-proof.kit-in { opacity: 1; transform: none; }
.kit-proof img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.kit-proof-dot { width: 10px; height: 10px; border-radius: 50%; background: #2e9d4f; flex: none; box-shadow: 0 0 0 4px rgba(46, 157, 79, .18); }
.kit-proof b { display: block; font-weight: 600; }
.kit-proof small { display: block; opacity: .7; margin-top: 2px; }
.kit-proof button { margin-left: auto; border: 0; background: none; color: inherit; font-size: 1.2rem; line-height: 1; opacity: .5; cursor: pointer; padding: 2px 4px; }
@media (prefers-reduced-motion: reduce) { .kit-proof { transition: none; } }

/* «● LIVE» on the video (vsl.live_badge). */
.kit-live-badge { position: absolute; top: 8px; left: 8px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: .78rem; line-height: 1.2; pointer-events: none; }
.kit-live-badge b { padding: 1px 6px; border-radius: 4px; background: #e02424; letter-spacing: .04em; font-size: .72rem; }
.kit-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: kit-blink 1.2s ease-in-out infinite; }
@keyframes kit-blink { 50% { opacity: .25; } }
/* Places left ([data-kit-stock]) blink when they fall; the bar ([data-kit-stock-bar]) shows what is left. */
[data-kit-stock].kit-tick { animation: kit-flash .9s ease; }
@keyframes kit-flash { 0% { color: #e02424; transform: scale(1.25); } 100% { transform: none; } }
[data-kit-stock-bar] { display: block; height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .1); overflow: hidden; }
[data-kit-stock-bar]::before { content: ""; display: block; height: 100%; width: calc(var(--kit-left, 1) * 100%); background: linear-gradient(90deg, #e02424, #ff7a1a);
  transition: width .6s ease; }
/* The filling bar ([data-kit-fill]). */
.kit-fill { display: block; height: 14px; border-radius: 999px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.kit-fill > span { display: block; height: 100%; width: calc(var(--kit-fill, 0) * 100%); background: var(--kit-accent); border-radius: inherit; }
/* Comments ([data-kit-comments]). */
.kit-cmts { --kit-cmt-bubble: #f0f2f5; --kit-cmt-ink: #050505; --kit-cmt-meta: #65676b; color: var(--kit-cmt-ink); font-size: .95rem; line-height: 1.35; }
.kit-cmts-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 0 10px; margin-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.kit-cmts-head span { color: var(--kit-cmt-meta); font-size: .85rem; }
.kit-cmt { display: flex; gap: 8px; margin: 0 0 12px; }
.kit-cmt[hidden] { display: none; }
.kit-cmt.kit-new { animation: kit-arrive .6s ease; }
@keyframes kit-arrive { from { opacity: 0; transform: translateY(-8px); } }
.kit-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; color: #fff; font-size: .8rem; font-weight: 700; }
.kit-replies .kit-av { width: 28px; height: 28px; font-size: .7rem; }
.kit-cmt-body { min-width: 0; flex: 1; }
.kit-bubble { display: inline-block; max-width: 100%; padding: 8px 12px; border-radius: 18px; background: var(--kit-cmt-bubble); }
.kit-bubble b { display: block; font-size: .85rem; }
.kit-bubble p { margin: 2px 0 0; overflow-wrap: anywhere; }
.kit-cmt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 3px 12px 0; color: var(--kit-cmt-meta); font-size: .78rem; font-weight: 600; }
.kit-cmt-meta button { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.kit-cmt-meta .kit-liked { color: #1877f2; }
.kit-likes { margin-left: auto; font-weight: 500; }
.kit-replies { margin-top: 8px; }
.kit-replies > .kit-cmt:last-child { margin-bottom: 0; }
.kit-cmts-more { border: 0; padding: 4px 0; background: none; color: var(--kit-cmt-meta); font: inherit; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .kit-live-dot, [data-kit-stock].kit-tick, .kit-cmt.kit-new { animation: none; } }
