/* The banner layer of a time-limited offer (see offer-banner.ts): the top strip,
   the banner above the plans and the seasonal dress of a plan card. This
   stylesheet is the whole look of those pieces, shared with PC Tweaker; the
   product's own tokens colour the plain form.

   Plain (no data-season): the product's own surface with an accent edge.
   data-season="christmas": a night scene. A pine garland runs along the top edge,
   soft lights and snow sit behind the text, and the countdown lives inside four
   glass baubles that sway very slightly. */
:root {
  /* One number for the strip and for the room a page keeps for it. */
  --offer-strip-h: 66px;
}
.offer-strip,
.offer-banner {
  --offer-accent: var(--theme-accent, var(--cu, #a3471d));
  --offer-on-accent: var(--theme-ink, #fff);
  --offer-surface: var(--theme-surface, var(--sheet, #fff));
  --offer-text: var(--theme-text, var(--ink, #1b1724));
  --offer-muted: var(--theme-muted, var(--mut, #4d4759));
  --offer-line: color-mix(in srgb, var(--offer-accent) 45%, transparent);
  --offer-hot: var(--offer-accent);
  --offer-cta: var(--offer-accent);
  --offer-cta-ink: var(--offer-on-accent);
  --offer-mono: var(--mono, ui-monospace, "Cascadia Mono", Consolas, monospace);
  --offer-display: var(--display, var(--font-display, "Redaxa Inter", system-ui, sans-serif));
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  color: var(--offer-text);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--offer-accent) 18%, transparent),
      color-mix(in srgb, var(--offer-accent) 5%, transparent) 70%
    ),
    var(--offer-surface);
}
:is(.offer-strip, .offer-banner)[data-season="christmas"] {
  --offer-text: #f7f9fc;
  --offer-muted: rgba(247, 249, 252, 0.78);
  --offer-hot: #f8d488;
  --offer-cta: #f8d488;
  --offer-cta-ink: #2b1a03;
  --offer-line: rgba(248, 212, 136, 0.32);
  --offer-red: #a3212f;
  --offer-satin: linear-gradient(
    90deg,
    #a87419,
    #f8d488 24%,
    #fff3cf 47%,
    #f1c56d 62%,
    #c98f2b 84%,
    #94650f
  );
  background: var(--season-night);
}
:is(.offer-strip, .offer-banner) :is(a, button):focus-visible {
  outline: 2px solid var(--offer-hot);
  outline-offset: 2px;
}
.offer-spark {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--offer-hot);
}
.offer-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--offer-hot);
  font: 700 11px/1.3 var(--offer-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.offer-pct {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--offer-accent);
  color: var(--offer-on-accent);
  font: 800 17px/1 var(--offer-display);
  letter-spacing: -0.01em;
  rotate: -3deg;
}
.offer-cta {
  flex: none;
  padding: 10px 17px;
  border-radius: 9px;
  background: var(--offer-cta);
  color: var(--offer-cta-ink);
  font-size: 13.5px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
[data-season="christmas"] > .offer-cta {
  box-shadow:
    0 8px 20px -10px #f8d488,
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.offer-cta:hover {
  filter: brightness(1.08);
}

/* ---------- scene pieces (Christmas only; all decorative) ---------- */
.offer-clip {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.offer-clip .season-snow {
  z-index: 0;
}
.offer-bokeh {
  position: absolute;
  inset: 0;
  filter: blur(2.5px);
  background:
    radial-gradient(circle 44px at 11% 74%, rgba(248, 212, 136, 0.2) 0 58%, transparent),
    radial-gradient(circle 28px at 30% 34%, rgba(200, 50, 63, 0.22) 0 58%, transparent),
    radial-gradient(circle 58px at 50% 88%, rgba(248, 212, 136, 0.12) 0 58%, transparent),
    radial-gradient(circle 32px at 64% 40%, rgba(42, 154, 114, 0.24) 0 58%, transparent),
    radial-gradient(circle 50px at 83% 72%, rgba(255, 150, 70, 0.15) 0 58%, transparent),
    radial-gradient(circle 24px at 93% 32%, rgba(248, 212, 136, 0.22) 0 58%, transparent);
}
.offer-drift {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 30px;
}
.offer-frost {
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 120px;
  opacity: 0.4;
}
.offer-frost-right {
  right: 0;
  scale: -1 -1;
}
.offer-frost-left {
  left: 0;
  scale: 1 -1;
}
.offer-garland {
  position: absolute;
  left: 0;
  top: -19px;
  z-index: 2;
  width: 100%;
  height: 104px;
  pointer-events: none;
  filter: drop-shadow(0 7px 7px rgba(0, 0, 0, 0.5));
}
.offer-garland-mini {
  top: -8px;
  height: 46px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5));
}

/* Glass baubles: body, soft specular, rim light, a faint warm reflection, ridged cap
   with its loop, and the string. Colours go red, pine, gold, red. */
.offer-bauble,
.offer-banner[data-season="christmas"] .offer-banner-cell {
  --len: 18px;
  --str: calc(var(--len) + 28px);
  --b1: #e2525c;
  --b2: #a3212f;
  --b3: #560c17;
  position: relative;
  display: grid;
  place-content: center;
  box-sizing: border-box;
  width: 88px;
  height: 88px;
  min-width: 0;
  margin-top: var(--len);
  padding: 0;
  border: 0;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(
      ellipse 24% 13% at 31% 21%,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0) 100%
    ),
    radial-gradient(ellipse 44% 30% at 34% 26%, rgba(255, 255, 255, 0.26), transparent 100%),
    radial-gradient(ellipse 50% 15% at 58% 88%, rgba(255, 214, 150, 0.3), transparent 100%),
    radial-gradient(
      circle at 50% 50%,
      transparent 63%,
      rgba(255, 255, 255, 0.17) 68%,
      transparent 71.5%
    ),
    radial-gradient(circle at 44% 38%, var(--b1), var(--b2) 58%, var(--b3) 100%);
  box-shadow:
    inset 0 -12px 18px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 16px 26px -12px rgba(0, 0, 0, 0.8);
  transform-origin: 50% calc(-1 * var(--str));
  animation: offer-sway 7s ease-in-out infinite alternate;
}
:is(.offer-bauble, .offer-banner[data-season="christmas"] .offer-banner-cell)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: 1.5px;
  height: var(--str);
  translate: -50% 0;
  background: linear-gradient(#c98f2b, #f8d488);
}
:is(.offer-bauble, .offer-banner[data-season="christmas"] .offer-banner-cell)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  width: 18px;
  height: 19px;
  translate: -50% 0;
  border-radius: 0 0 3px 3px;
  background:
    radial-gradient(circle at 50% 5px, transparent 0 2.4px, #f8d488 2.6px 4.2px, transparent 4.5px),
    repeating-linear-gradient(90deg, #a87419 0 1.5px, #f8d488 1.5px 3.5px, #fff3cf 3.5px 4.5px) 50%
      100% / 16px 9px no-repeat;
}
:is(.offer-bauble, .offer-banner[data-season="christmas"] .offer-banner-cell):nth-child(2) {
  --len: 36px;
  --b1: #35b083;
  --b2: #14573f;
  --b3: #06231a;
  animation-delay: -2.3s;
  animation-duration: 8.2s;
}
:is(.offer-bauble, .offer-banner[data-season="christmas"] .offer-banner-cell):nth-child(3) {
  --len: 22px;
  --b1: #fff0bf;
  --b2: #e3ae4a;
  --b3: #94650f;
  color: #2b1a03;
  animation-delay: -4.6s;
  animation-duration: 6.4s;
}
:is(.offer-bauble, .offer-banner[data-season="christmas"] .offer-banner-cell):nth-child(4) {
  --len: 40px;
  animation-delay: -1.1s;
  animation-duration: 7.6s;
}
@keyframes offer-sway {
  from {
    rotate: -1.5deg;
  }
  to {
    rotate: 1.5deg;
  }
}
/* ---------- top strip ---------- */
.offer-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  overflow: hidden;
  height: var(--offer-strip-h);
  padding: 8px 46px 8px 16px;
  border-bottom: 1px solid var(--offer-line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.offer-strip[data-season="christmas"] {
  /* The garland takes the top of the strip. */
  padding-top: 30px;
  border-bottom-color: rgba(248, 212, 136, 0.18);
}
.offer-mark {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 30% 20% at 32% 24%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(circle at 44% 38%, #e2525c, #a3212f 60%, #560c17);
  box-shadow: 0 -4px 0 -2px #f8d488;
}
.offer-strip-label {
  font-family: var(--offer-display);
  font-size: 14.5px;
  font-weight: 700;
}
.offer-strip-label em,
.offer-banner-heading em {
  font-style: normal;
  color: var(--offer-hot);
}
.offer-strip-short {
  display: none;
}
.offer-strip-timer {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--offer-muted);
  font-size: 12.5px;
}
.offer-strip-digits {
  padding: 4px 9px;
  border: 1px solid var(--offer-line);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: 700 13px/1 var(--offer-mono);
  font-variant-numeric: tabular-nums;
}
.offer-strip-cta {
  padding: 7px 14px;
  font-size: 13px;
}
.offer-strip-close {
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 3;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--offer-muted);
  cursor: pointer;
}
.offer-strip[data-season="christmas"] .offer-strip-close {
  top: calc(50% + 10px);
}
.offer-strip-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
@media (max-width: 760px) {
  .offer-strip {
    justify-content: flex-start;
    gap: 8px;
    padding-right: 40px;
    padding-left: 12px;
    font-size: 12.5px;
  }
  .offer-strip-full,
  .offer-strip-timer > span:first-child,
  .offer-strip > :is(.offer-spark, .offer-mark) {
    display: none;
  }
  .offer-strip-short {
    display: inline;
  }
  .offer-strip-label {
    font-size: 13px;
  }
  .offer-strip-digits {
    padding: 4px 7px;
    font-size: 12px;
  }
  .offer-strip-cta {
    margin-left: auto;
    padding: 6px 9px;
  }
}
@media (max-width: 380px) {
  .offer-strip-digits {
    padding: 4px 5px;
    font-size: 11px;
  }
}

/* ---------- banner above the plans ---------- */
.offer-banner {
  container: offer-banner / inline-size;
  padding: 30px 28px 24px;
  border: 1px solid var(--offer-line);
  border-radius: 18px;
}
.offer-banner[data-season="christmas"] {
  padding: 104px 34px 46px;
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(248, 212, 136, 0.3),
    0 36px 80px -42px rgba(31, 122, 90, 0.75);
}
.offer-banner[data-reserved] {
  visibility: hidden;
}
.offer-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 36px;
}
.offer-banner[data-season="christmas"] .offer-banner-inner {
  align-items: start;
}
.offer-banner-heading {
  margin: 0;
  font: 700 clamp(25px, 3.6cqi, 40px) / 1.05 var(--offer-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.offer-banner-fine {
  max-width: 58ch;
  margin: 10px 0 0;
  color: var(--offer-muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.offer-banner-timer {
  text-align: center;
}
.offer-banner[data-season="christmas"] .offer-banner-timer {
  /* The baubles hang from the garland, so they start above the text. */
  margin-top: -42px;
}
.offer-banner-cap {
  display: block;
  margin-bottom: 8px;
  color: var(--offer-muted);
  font: 700 10.5px/1 var(--offer-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
/* In season the baubles and the deadline in words say it; the cap would sit on the strings. */
.offer-banner[data-season="christmas"] .offer-banner-cap {
  display: none;
}
.offer-banner-cells {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}
.offer-banner[data-season="christmas"] .offer-banner-cells {
  gap: 14px;
}
.offer-banner-cell {
  min-width: 62px;
  padding: 10px 8px 8px;
  border: 1px solid var(--offer-line);
  border-radius: 12px;
  background: rgba(4, 8, 10, 0.5);
  text-align: center;
}
.offer-banner-cell strong {
  display: block;
  color: #fff;
  font: 700 30px/1 var(--offer-mono);
  font-variant-numeric: tabular-nums;
}
.offer-banner-cell small {
  display: block;
  margin-top: 6px;
  color: var(--offer-muted);
  font: 700 9.5px/1 var(--offer-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.offer-banner[data-season="christmas"] .offer-banner-cell strong {
  color: inherit;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.offer-banner[data-season="christmas"] .offer-banner-cell:nth-child(3) strong {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.offer-banner[data-season="christmas"] .offer-banner-cell small {
  margin-top: 5px;
  color: inherit;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  opacity: 0.95;
}
.offer-banner-ends {
  display: block;
  margin-top: 14px;
  color: var(--offer-muted);
  font-size: 12px;
}
@container offer-banner (max-width: 760px) {
  .offer-banner-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer-banner-timer {
    margin-top: 0;
    text-align: left;
  }
  /* On a narrow banner the baubles come first, hanging straight from the garland. */
  .offer-banner[data-season="christmas"]:not(.offer-banner-compact) {
    padding: 100px 20px 46px;
  }
  .offer-banner[data-season="christmas"]:not(.offer-banner-compact) .offer-banner-timer {
    order: -1;
    margin-top: -34px;
    text-align: left;
  }
  .offer-banner[data-season="christmas"] .offer-frost {
    display: none;
  }
  .offer-banner-cells,
  .offer-banner[data-season="christmas"] .offer-banner-cells {
    justify-content: flex-start;
    gap: 6px;
  }
  .offer-banner[data-season="christmas"] .offer-banner-cell {
    --str: calc(var(--len) + 8px);
    width: 66px;
    height: 66px;
  }
  .offer-banner[data-season="christmas"] .offer-banner-cell strong {
    font-size: 21px;
  }
  .offer-banner[data-season="christmas"] .offer-banner-cell small {
    margin-top: 3px;
    font-size: 7.5px;
  }
}
@container offer-banner (max-width: 380px) {
  .offer-banner:not([data-season]) .offer-banner-cell {
    flex: 1;
    min-width: 0;
  }
  .offer-banner:not([data-season]) .offer-banner-cell strong {
    font-size: 24px;
  }
  .offer-banner[data-season="christmas"] .offer-banner-cell {
    width: 60px;
    height: 60px;
  }
}

/* The short form, for the app's plans view: the offer on the left, the countdown on
   the right, always side by side (the app's window is never narrower than this needs). */
.offer-banner-compact {
  padding: 10px 16px;
  border-radius: 12px;
}
.offer-banner-compact .offer-banner-inner,
.offer-banner-compact[data-season="christmas"] .offer-banner-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 20px;
}
.offer-banner-compact .offer-kicker {
  margin: 0 0 4px;
  font-size: 10.5px;
}
.offer-banner-compact .offer-banner-heading {
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.offer-banner-compact .offer-banner-fine,
.offer-banner-compact .offer-banner-cap {
  display: none;
}
.offer-banner-compact .offer-banner-timer,
.offer-banner-compact[data-season="christmas"] .offer-banner-timer {
  order: 0;
  margin-top: 0;
  text-align: right;
}
.offer-banner-compact .offer-banner-cells,
.offer-banner-compact[data-season="christmas"] .offer-banner-cells {
  justify-content: flex-end;
  gap: 5px;
}
.offer-banner-compact .offer-banner-cell {
  min-width: 46px;
  padding: 5px 5px 4px;
  border-radius: 8px;
}
.offer-banner-compact .offer-banner-cell strong {
  font-size: 16px;
}
.offer-banner-compact .offer-banner-cell small {
  margin-top: 3px;
  font-size: 7.5px;
  letter-spacing: 0.04em;
}
.offer-banner-compact .offer-banner-ends {
  margin-top: 6px;
  font-size: 11.5px;
}
/* In season: the small garland on top, and small baubles hanging from it on the right. */
.offer-banner-compact[data-season="christmas"] {
  padding: 42px 18px 12px;
}
.offer-banner-compact[data-season="christmas"] .offer-banner-timer {
  margin-top: -18px;
}
.offer-banner-compact[data-season="christmas"] .offer-banner-cells {
  gap: 7px;
}
.offer-banner-compact[data-season="christmas"] .offer-banner-cell {
  --str: calc(var(--len) / 2 + 12px);
  width: 52px;
  height: 52px;
  margin-top: calc(var(--len) / 2);
}
.offer-banner-compact[data-season="christmas"] .offer-banner-cell::after {
  top: -11px;
  width: 12px;
  height: 13px;
  background:
    radial-gradient(circle at 50% 3.5px, transparent 0 1.6px, #f8d488 1.8px 3px, transparent 3.3px),
    repeating-linear-gradient(90deg, #a87419 0 1px, #f8d488 1px 2.5px) 50% 100% / 11px 6px no-repeat;
}
.offer-banner-compact[data-season="christmas"] .offer-banner-cell::before {
  bottom: calc(100% + 9px);
}
.offer-banner-compact[data-season="christmas"] .offer-banner-cell strong {
  font-size: 17px;
}
.offer-banner-compact[data-season="christmas"] .offer-banner-cell small {
  margin-top: 2px;
  font-size: 6.5px;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .offer-bauble,
  .offer-banner[data-season="christmas"] .offer-banner-cell {
    animation: none;
  }
}

/* ---------- seasonal dress for a plan card ----------
   Every card of a dressed grid carries data-season and gets snow on its top edge; the
   card the offer leads with also takes class season-card: a night surface with slow
   snow behind the text and the discount badge on its shoulder. */
[data-season] {
  --season-gold: #f8d488;
  --season-gold-deep: #c98f2b;
  --season-gold-ink: #2b1a03;
  --season-text: #f7f9fc;
  --season-muted: rgba(247, 249, 252, 0.78);
  --season-accent: var(--theme-accent, var(--cu, #a3471d));
  --season-display: var(--display, var(--font-display, "Redaxa Inter", system-ui, sans-serif));
  --season-mono: var(--mono, ui-monospace, "Cascadia Mono", Consolas, monospace);
  --season-night:
    radial-gradient(80% 120% at 50% -30%, rgba(248, 212, 136, 0.13), transparent 62%),
    radial-gradient(46% 110% at 100% 110%, rgba(163, 33, 47, 0.3), transparent 64%),
    radial-gradient(40% 100% at 0% 100%, rgba(31, 122, 90, 0.26), transparent 66%),
    linear-gradient(180deg, #0c1613, #0d1014 72%);
}
/* Doubled class: this wins over a product's own "recommended plan" rule whatever the order. */
.season-card.season-card[data-season="christmas"] {
  position: relative;
  isolation: isolate;
  border-color: transparent;
  color: var(--season-text);
  /* The card is a night surface in every theme: its text tokens follow it. */
  --fg: var(--season-text);
  --fg-dim: var(--season-muted);
  --text-primary: var(--season-text);
  --text-secondary: var(--season-muted);
  background: var(--season-night);
  box-shadow:
    0 0 0 1px rgba(248, 212, 136, 0.6),
    0 36px 80px -36px rgba(248, 212, 136, 0.6),
    0 18px 40px -24px rgba(0, 0, 0, 0.7);
}
.season-snow {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}
/* Snow resting on a card's top edge. */
.season-cap {
  position: absolute;
  left: 6px;
  top: -9px;
  z-index: 3;
  width: calc(100% - 12px);
  height: 28px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18px,
    #000 calc(100% - 18px),
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}
/* The small lights drawn into the garland take turns dimming. */
.tw {
  animation: season-twinkle 3.8s ease-in-out infinite;
}
.tw1 {
  animation-delay: -0.8s;
}
.tw2 {
  animation-delay: -1.7s;
  animation-duration: 4.6s;
}
.tw3 {
  animation-delay: -2.5s;
}
.tw4 {
  animation-delay: -3.1s;
  animation-duration: 5.2s;
}
@keyframes season-twinkle {
  50% {
    opacity: 0.38;
  }
}
/* The discount badge, first look: a gold glass bauble on a red ribbon with a bow,
   hanging from the top edge. --rib is the ribbon's length, --ball the bauble's size. */
.season-bauble {
  --rib: 34px;
  --ball: 86px;
  position: absolute;
  top: 2px;
  right: 22px;
  z-index: 2;
  width: var(--ball);
  height: calc(var(--rib) + var(--ball));
  transform-origin: 50% 0;
  animation: season-sway 8s ease-in-out -3s infinite alternate;
  pointer-events: none;
}
@keyframes season-sway {
  from {
    rotate: -1.5deg;
  }
  to {
    rotate: 1.5deg;
  }
}
.season-bauble-rib {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: calc(var(--rib) + 6px);
  translate: -50% 0;
  background: linear-gradient(90deg, #6f1220, #c8323f 30%, #e8727a 50%, #b3263a 72%, #6f1220);
  box-shadow: 0 0 0 0.75px rgba(60, 5, 12, 0.6);
}
.season-bauble-bow {
  position: absolute;
  left: 50%;
  top: calc(var(--rib) - var(--ball) * 0.245);
  z-index: 2;
  width: calc(var(--ball) * 0.53);
  height: calc(var(--ball) * 0.36);
  translate: -50% 0;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.45));
}
.season-bauble-ball {
  position: absolute;
  left: 0;
  top: var(--rib);
  display: grid;
  place-content: center;
  width: var(--ball);
  height: var(--ball);
  border-radius: 50%;
  text-align: center;
  color: #33200a;
  background:
    radial-gradient(
      ellipse 22% 12% at 30% 20%,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0) 100%
    ),
    radial-gradient(ellipse 46% 30% at 33% 25%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(ellipse 52% 14% at 58% 89%, rgba(255, 244, 214, 0.55), transparent 100%),
    radial-gradient(
      circle at 50% 50%,
      transparent 64%,
      rgba(255, 255, 255, 0.3) 68.5%,
      transparent 72%
    ),
    radial-gradient(circle at 44% 38%, #fff3c9, #f4cb72 46%, #d79f3a 76%, #a87419 100%);
  box-shadow:
    inset 0 -12px 18px rgba(120, 70, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 18px 28px -12px rgba(0, 0, 0, 0.85),
    0 0 34px -6px rgba(248, 212, 136, 0.55);
}
.season-bauble-ball::before,
.season-bauble-ball::after {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 50, 0, 0.55) 22% 78%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.season-bauble-ball::before {
  top: 27%;
}
.season-bauble-ball::after {
  bottom: 25%;
}
.season-bauble-ball b {
  display: block;
  margin-top: 2px;
  font:
    700 calc(var(--ball) * 0.255) / 1 var(--season-display);
  letter-spacing: -0.03em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.season-bauble-ball small {
  display: block;
  margin-top: 4px;
  font:
    700 calc(var(--ball) * 0.085) / 1 var(--season-mono);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
}
/* The discount badge, second look: the rosette seal. Its lettering is drawn inside the
   SVG, so it scales with the box. */
.season-seal {
  position: absolute;
  top: -34px;
  right: -10px;
  z-index: 4;
  width: 106px;
  height: 124px;
  color: var(--season-accent);
  font-family: var(--season-display);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.season-seal svg {
  display: block;
  width: 100%;
  height: 100%;
}
.season-seal-word {
  font-family: var(--season-mono);
}
@media (prefers-reduced-motion: reduce) {
  .tw,
  .season-bauble {
    animation: none;
  }
}

/* ---------- the strip inside a page ----------
   In the apps the offer sits right above the plans as one slim, rounded row: the offer,
   the countdown in digits and the deadline in words. No button: the plans are right below. */
.offer-strip-inline {
  padding-right: 16px;
  border: 1px solid var(--offer-line);
  border-radius: 12px;
}
.offer-strip-inline[data-season="christmas"] {
  border-color: rgba(248, 212, 136, 0.3);
}
/* "Ends in" is said by the deadline that follows the countdown. */
.offer-strip-inline .offer-strip-timer > span:first-child {
  display: none;
}
.offer-strip-end {
  color: var(--offer-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.offer-strip[data-reserved] {
  visibility: hidden;
}
@media (max-width: 760px) {
  .offer-strip-inline {
    justify-content: center;
    padding-left: 16px;
  }
  .offer-strip-inline .offer-strip-end {
    display: none;
  }
}

/* ---------- winter plan cards ----------
   Every card of a dressed grid is a winter card (night surface, snow on its top edge,
   slow snow behind the text). A card with an offer also carries the discount badge, a
   small ribbon naming the offer for that plan and a warm glow behind its price. The
   recommended card stands out: gold border, the strongest glow, a slight lift. */
.season-card.season-card[data-season="christmas"] {
  box-shadow:
    0 0 0 1px rgba(248, 212, 136, 0.28),
    0 18px 40px -24px rgba(0, 0, 0, 0.7);
}
.season-card.season-lead[data-season="christmas"] {
  box-shadow:
    0 0 0 1.5px rgba(248, 212, 136, 0.92),
    0 36px 80px -34px rgba(248, 212, 136, 0.66),
    0 18px 40px -24px rgba(0, 0, 0, 0.7);
  translate: 0 -6px;
}
.season-ribbon {
  position: absolute;
  top: 14px;
  left: 0;
  z-index: 2;
  max-width: calc(100% - 84px);
  padding: 5px 18px 5px 14px;
  background: linear-gradient(180deg, #c8323f, #8f1b29);
  color: #fff3cf;
  font: 700 10.5px/1.25 var(--season-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}

/* ---------- Redaxa ---------- */
/* Room for the strip from the first paint while the offer window is open (the build
   keeps or drops this block, see scripts/site-generated.mjs); promo.ts fills or removes it. */
.offer-room {
  height: var(--offer-strip-h);
}
/* The garland hangs a little over the banner's top edge. */
.offer-banner[data-season="christmas"] {
  margin-top: 22px;
}
.offer-banner-compact[data-season="christmas"] {
  margin-top: 10px;
}
.plans-page > .offer-banner {
  margin-bottom: 34px;
}
/* The pages style every heading; the banner keeps its own. */
.offer-banner .offer-kicker.offer-kicker {
  margin: 0 0 8px;
  color: var(--offer-hot);
  font: 700 11px/1.3 var(--offer-mono);
  letter-spacing: 0.2em;
}
.offer-banner .offer-banner-heading.offer-banner-heading {
  margin: 0;
  color: var(--offer-text);
}
/* The winter cards: Redaxa's own tokens follow the night surface, in every theme. */
.season-card.season-card[data-season="christmas"] {
  --theme-text: var(--season-text);
  --theme-muted: var(--season-muted);
  --theme-line: rgba(248, 212, 136, 0.28);
  --theme-surface: #121a17;
  --theme-inset: #0f1512;
  --theme-hover: #1c2722;
  --rx-promo-text: var(--season-gold);
  /* Room for the ribbon naming the offer. */
  padding-top: 46px;
}
.season-card > .plan-ribbon {
  z-index: 4;
}
/* A warm glow behind the price of a card with an offer, strongest on the recommended one. */
.season-paid .plan-price {
  position: relative;
  isolation: isolate;
}
.season-paid .plan-price::after {
  content: "";
  position: absolute;
  left: -34px;
  top: -22px;
  z-index: -1;
  width: 250px;
  height: 140px;
  max-width: 125%;
  background: radial-gradient(closest-side, rgba(255, 190, 104, 0.3), rgba(255, 140, 60, 0.1) 58%, transparent);
  pointer-events: none;
}
.season-lead .plan-price::after {
  background: radial-gradient(closest-side, rgba(255, 190, 104, 0.5), rgba(255, 140, 60, 0.18) 58%, transparent);
}
.plans-page .season-seal {
  top: -26px;
  right: -8px;
  width: 78px;
  height: 92px;
}
.plans-page .season-bauble {
  --rib: 20px;
  --ball: 62px;
  top: 0;
  right: 12px;
}
/* The public site is paper and ink with square corners: winter sits on that. */
.redaxa-landing :is(.offer-banner, .offer-banner .offer-clip) {
  border-radius: 0;
}
.redaxa-landing .plan-card.season-card[data-season="christmas"],
.redaxa-landing .plan-card.season-card[data-season="christmas"]:hover {
  padding-top: 58px;
  border-color: #3a3446;
  background: var(--season-night);
  box-shadow: none;
  translate: none;
}
/* Free and Business are light cards on the site: as winter cards they take the ink card's colours. */
.redaxa-landing .plan-card.season-card:not(.featured)[data-season="christmas"] {
  --ink: #f7f6f2;
  --body: #dedae6;
  --mut: #cfcad8;
  --on-ink: #1b1724;
  --cu: #f0b596;
  --sand: #2a2433;
  color: #f7f6f2;
}
.redaxa-landing .plan-card.featured.season-lead[data-season="christmas"],
.redaxa-landing .plan-card.featured.season-lead[data-season="christmas"]:hover {
  border-color: #f8d488;
  box-shadow:
    12px 12px 0 var(--cu),
    0 40px 90px -40px rgba(248, 212, 136, 0.7);
}
.redaxa-landing .season-ribbon {
  top: 20px;
  font-size: 11.5px;
}
.redaxa-landing .plans-page .season-seal {
  top: -34px;
  right: -14px;
  width: 104px;
  height: 122px;
}
.redaxa-landing .season-cap {
  left: 0;
  top: -12px;
  width: 100%;
}

/* Controls inside a winter card read on the night surface. */
.season-card[data-season="christmas"] select,
.redaxa-landing .plan-card.season-card[data-season="christmas"] .seats-row select {
  border-color: rgba(248, 212, 136, 0.6);
  background-color: #0f1512;
  color: #f7f9fc;
  /* The list the system opens follows the card: dark, with light text. */
  color-scheme: dark;
}
.season-card[data-season="christmas"] select option {
  background-color: #0f1512;
  color: #f7f9fc;
}
.season-card[data-season="christmas"] select:hover {
  border-color: #f8d488;
}
.season-card[data-season="christmas"] select:focus-visible {
  outline: 2px solid #f8d488;
  outline-offset: 2px;
}
.season-card[data-season="christmas"] .seats-row {
  color: var(--season-text);
}
.season-card[data-season="christmas"] .rx-badge-current {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--season-text);
}
.season-card[data-season="christmas"] .plan-price .rx-was {
  color: var(--season-muted);
}
/* The workspace and the Windows app: the plans and their buttons stay in view at
   1000x700 and 820x600. The one-line ribbon sits beside the badge, "Recommended" moves to
   the left so the badge has the right shoulder to itself, and the card keeps only the
   room the ribbon needs. */
.rx-shell .season-ribbon {
  top: 18px;
  max-width: calc(100% - 62px);
  padding: 4px 16px 4px 12px;
  font-size: 9.5px;
  letter-spacing: 0.05em;
}
.rx-shell .season-card.season-card[data-season="christmas"] {
  padding-top: 46px;
}
.rx-shell .season-card > .plan-ribbon {
  left: 10px;
  transform: none;
  padding-inline: 10px;
  letter-spacing: 0.05em;
}
.rx-shell .plans-page .season-seal {
  top: -24px;
  right: -12px;
  width: 68px;
  height: 80px;
}
.rx-shell .plans-bar > .offer-strip-inline {
  margin: 8px 0 0;
}
/* A short window (820x600): the strip is lower, the title and the period switch share
   one row and the one-line subtitle steps aside while the offer shows. */
@media (max-height: 640px) {
  .rx-shell .offer-strip-inline[data-season="christmas"] {
    height: 52px;
    padding-top: 24px;
    padding-bottom: 4px;
  }
  .rx-shell .plans-page:has(.offer-strip-inline) .plans-head {
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 8px;
  }
  .rx-shell .plans-page:has(.offer-strip-inline) .plans-sub {
    display: none;
  }
  .rx-shell .plans-bar > .offer-strip-inline {
    margin-top: 0;
  }
  .rx-shell .season-card.season-card[data-season="christmas"] {
    padding-top: 40px;
  }
  .rx-shell .season-ribbon {
    top: 14px;
  }
}
/* On the ink card the struck price and the offer's deadline need the light muted tone. */
.redaxa-landing .plan-card.featured .plan-price :is(.rx-was, .rx-deal-when span) {
  color: var(--on-ink-mut, #cfcad8);
}
