/* ==========================================================================
   Countdown Hero — glass launch countdown for Elementor
   All colours / sizes are CSS variables written by the Elementor controls.
   ========================================================================== */

.cdh {
  /* palette */
  --cdh-accent: #18c99e;
  --cdh-live: #ff4d4d;
  --cdh-fade: #16273d;
  --cdh-overlay: rgba(4, 8, 16, 0.55);
  /* pill */
  --cdh-pill-bg: rgba(10, 14, 22, 0.55);
  --cdh-pill-blur: 22px;
  --cdh-pill-sat: 160%;
  --cdh-pill-border: rgba(255, 255, 255, 0.14);
  --cdh-pill-bw: 1px;
  --cdh-pill-glow: rgba(24, 201, 158, 0.28);
  --cdh-pill-radius: 999px;
  --cdh-pill-pad: 18px 40px;
  --cdh-pill-gap: 28px;
  /* type */
  --cdh-digit: #fff;
  --cdh-digit-active: var(--cdh-digit);
  --cdh-label: rgba(255, 255, 255, 0.55);
  --cdh-label-gap: 4px;
  --cdh-sep: rgba(255, 255, 255, 0.35);
  --cdh-sep-y: -10px;
  --cdh-pill-label: var(--cdh-accent);
  --cdh-date: rgba(255, 255, 255, 0.85);
  --cdh-eyebrow: var(--cdh-accent);
  --cdh-headline: #fff;
  --cdh-headline-accent: var(--cdh-accent);
  --cdh-sub: rgba(255, 255, 255, 0.72);
  --cdh-note: rgba(255, 255, 255, 0.5);
  --cdh-stack: 28px;
  --cdh-max-w: 760px;
  --cdh-align: left;
  --cdh-justify: flex-start;
  --cdh-mx: 0;
  --cdh-min-h: 100svh;
  --cdh-bg-pos: center center;
  /* buttons */
  --cdh-btn-radius: 14px;
  --cdh-btn-pad: 18px 32px;
  --cdh-btn1-bg: #f26d3d;
  --cdh-btn1-bg-h: #ff7f4f;
  --cdh-btn1-fg: #fff;
  --cdh-btn2-bg: rgba(255, 255, 255, 0.06);
  --cdh-btn2-fg: #fff;
  --cdh-btn2-border: rgba(255, 255, 255, 0.18);
  /* live */
  --cdh-live-fg: #fff;
  --cdh-live-bg: rgba(255, 77, 77, 0.1);
  --cdh-player-radius: 24px;
  --cdh-player-w: 1120px;
  --cdh-player-border: rgba(255, 255, 255, 0.14);
  --cdh-player-glow: rgba(24, 201, 158, 0.18);
  --cdh-modal-bg: rgba(4, 8, 16, 0.82);
  /* motion */
  --cdh-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cdh-ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  position: relative;
  color: #fff;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

.cdh *, .cdh *::before, .cdh *::after { box-sizing: border-box; }
.cdh [hidden] { display: none !important; }
.cdh__d, .cdh__digits { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Full hero layout
   -------------------------------------------------------------------------- */

.cdh--hero {
  isolation: isolate;
  overflow: hidden;
  min-height: var(--cdh-min-h);
  display: flex;
  background: #05080f;
  color-scheme: dark;
}

.cdh__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cdh__bg-img, .cdh__bg-video {
  position: absolute; inset: -6%;
  width: 112% !important; height: 112% !important;
  max-width: none !important; max-height: none !important; min-width: 0; min-height: 0;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  object-fit: cover; object-position: var(--cdh-bg-pos);
  will-change: transform;
  transform: translate3d(var(--cdh-px, 0), var(--cdh-py, 0), 0) scale(1.02);
  transition: transform 1.2s var(--cdh-ease);
}
.cdh__bg-video { display: none; }
.cdh--video-ok .cdh__bg-layer[data-phase="default"] .cdh__bg-video, .cdh__bg-layer.has-video .cdh__bg-video { display: block; }
.cdh--video-ok .cdh__bg-layer[data-phase="default"] .cdh__bg-img, .cdh__bg-layer.has-video .cdh__bg-img { opacity: 0; transition: opacity 1s ease 0.6s; }
/* phase layers crossfade */
.cdh { --cdh-bg-fade: 1.6s; }
.cdh__bg-layer { position: absolute; inset: 0; opacity: 0; transition: opacity var(--cdh-bg-fade) ease; }
.cdh__bg-layer.is-active { opacity: 1; }
/* launch-day copy swaps in for the countdown copy */
.cdh.is-launchday .cdh__pill-label { color: #fff; }
.cdh.is-launchday .cdh__eyebrow-dot { animation: cdh-blink 1.4s ease-in-out infinite; }

.cdh__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--cdh-overlay);
}
.cdh--fade .cdh__overlay::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to bottom, transparent, var(--cdh-fade));
}
.cdh--vignette .cdh__overlay::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

/* orbit rings */
.cdh__rings { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cdh__rings span {
  position: absolute; left: 62%; top: 38%;
  width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform: rotateX(68deg) rotate(0deg);
  animation: cdh-ring 90s linear infinite;
  mask-image: linear-gradient(to right, transparent 10%, #000 45%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 10%, #000 45%, #000 70%, transparent 100%);
}
.cdh__rings span:nth-child(2) { width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; animation-duration: 60s; animation-direction: reverse; border-color: rgba(24, 201, 158, 0.16); }
.cdh__rings span:nth-child(3) { width: 96vmax; height: 96vmax; margin: -48vmax 0 0 -48vmax; animation-duration: 140s; border-color: rgba(255, 255, 255, 0.045); }
.cdh__rings span::after {
  content: ""; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cdh-accent);
  box-shadow: 0 0 12px 2px var(--cdh-accent);
}
@keyframes cdh-ring { to { transform: rotateX(68deg) rotate(360deg); } }

.cdh__stars { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }

.cdh__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  animation: cdh-grain 0.6s steps(4) infinite;
}
@keyframes cdh-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -1%); } 100% { transform: translate(0, 0); } }

.cdh__inner {
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--cdh-container, var(--container-max-width, 1140px));
  margin-inline: auto;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px 24px 96px;
}
.cdh__content {
  width: 100%; max-width: var(--cdh-max-w);
  margin-inline: var(--cdh-mx, 0);
  display: flex; flex-direction: column;
  gap: var(--cdh-stack);
  text-align: var(--cdh-align);
  align-items: var(--cdh-justify, flex-start);
}

/* --------------------------------------------------------------------------
   Copy (three state blocks stacked, one visible)
   -------------------------------------------------------------------------- */

.cdh__copies { position: relative; width: 100%; }
.cdh__copy {
  position: absolute; top: 0; left: 0; width: 100%;
  display: flex; flex-direction: column; gap: calc(var(--cdh-stack) * 0.75);
  align-items: inherit;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.55s var(--cdh-ease), transform 0.7s var(--cdh-ease), visibility 0s linear 0.55s;
}
.cdh[data-state="countdown"] .cdh__copy[data-for="countdown"],
.cdh[data-state="idle"] .cdh__copy[data-for="countdown"],
.cdh[data-state="live"] .cdh__copy[data-for="live"],
.cdh[data-state="launched"] .cdh__copy[data-for="launched"] {
  position: relative;
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition-delay: 0.15s, 0.15s, 0s;
}

.cdh__eyebrow {
  margin: 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cdh-eyebrow);
}
.cdh__eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 10px currentColor;
}
.cdh[data-state="live"] .cdh__copy[data-for="live"] .cdh__eyebrow,
.cdh[data-state="live"] .cdh__copy[data-for="flight"] .cdh__eyebrow,
.cdh[data-state="live"] .cdh__copy[data-for="deployed"] .cdh__eyebrow { color: var(--cdh-live); }
.cdh[data-state="live"] .cdh__copy[data-for="live"] .cdh__eyebrow-dot,
.cdh[data-state="live"] .cdh__copy[data-for="flight"] .cdh__eyebrow-dot,
.cdh[data-state="live"] .cdh__copy[data-for="deployed"] .cdh__eyebrow-dot { animation: cdh-blink 1.4s ease-in-out infinite; }
/* live sub-stages: pad → in flight → our satellite deployed */
.cdh[data-state="live"][data-live="flight"] .cdh__copy[data-for="live"],
.cdh[data-state="live"][data-live="deployed"] .cdh__copy[data-for="live"] { opacity: 0; visibility: hidden; pointer-events: none; position: absolute; transform: translateY(14px); transition-delay: 0s, 0s, 0.55s; }
.cdh[data-state="live"][data-live="flight"] .cdh__copy[data-for="flight"],
.cdh[data-state="live"][data-live="deployed"] .cdh__copy[data-for="deployed"] { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0.15s, 0.15s, 0s; }

.cdh__headline {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: 1.02; font-weight: 600; letter-spacing: -0.025em;
  color: var(--cdh-headline);
  text-wrap: balance;
}
.cdh__line { display: block; }
.cdh__accent { color: var(--cdh-headline-accent); }
.cdh__w { display: inline-block; will-change: transform, opacity; }
.cdh__headline[data-reveal] .cdh__w { opacity: 0; transform: translateY(0.6em) rotate(1.5deg); transform-origin: 0 100%; }
.cdh--entrance.is-in .cdh__headline .cdh__w,
.cdh:not(.cdh--entrance) .cdh__headline .cdh__w,
.cdh.is-switching .cdh__headline .cdh__w {
  animation: cdh-word 0.9s var(--cdh-ease) forwards;
  animation-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.cdh__headline[data-reveal="lines"] .cdh__w { animation-delay: calc(var(--l, 0) * 140ms + 120ms) !important; }
.cdh__headline[data-reveal="none"] .cdh__w { opacity: 1; transform: none; animation: none !important; }
@keyframes cdh-word { to { opacity: 1; transform: none; } }

.cdh__sub {
  margin: 0; max-width: 62ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.55;
  color: var(--cdh-sub);
}
.cdh__note {
  margin: 0;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cdh-note);
}

/* --------------------------------------------------------------------------
   The glass pill
   -------------------------------------------------------------------------- */

.cdh__pill-wrap {
  display: inline-flex; flex-direction: column; align-items: inherit;
  gap: 12px; max-width: 100%;
}
.cdh__pill-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cdh-pill-label);
  padding-inline: 6px;
}

.cdh__pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--cdh-pill-pad);
  border-radius: var(--cdh-pill-radius);
  background: var(--cdh-pill-bg);
  border: var(--cdh-pill-bw) solid var(--cdh-pill-border);
  -webkit-backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat));
  backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat));
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 0 80px -30px var(--cdh-pill-glow);
  overflow: hidden;
  max-width: 100%;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--cdh-rx, 0deg)) rotateY(var(--cdh-ry, 0deg));
  transition: transform 0.5s var(--cdh-ease), background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}
.cdh--bevel .cdh__pill { box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 -1px 0 rgba(0, 0, 0, 0.35) inset,
    0 0 80px -30px var(--cdh-pill-glow); }

/* gradient edge glint */
.cdh__pill-edge {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 30%, transparent 70%, var(--cdh-pill-glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.8;
}
/* specular sweep */
.cdh__pill-shine {
  position: absolute; inset: 0; pointer-events: none; display: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.08) 52%, transparent 65%);
  transform: translateX(-120%);
}
.cdh--shine .cdh__pill-shine { display: block; animation: cdh-shine 7s var(--cdh-ease-io) infinite; }
@keyframes cdh-shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }

/* breathing glow */
.cdh--pulse[data-state="countdown"] .cdh__pill { animation: cdh-breathe 4.5s ease-in-out infinite; }
@keyframes cdh-breathe {
  0%, 100% { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.3) inset, 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 60px -30px var(--cdh-pill-glow); }
  50% { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.3) inset, 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 0 110px -20px var(--cdh-pill-glow); }
}

/* units */
.cdh__units { display: flex; align-items: flex-start; gap: var(--cdh-pill-gap); }
.cdh__unit { display: flex; flex-direction: column; align-items: center; gap: var(--cdh-label-gap); min-width: 2.2ch; }
.cdh__unit[data-unit="seconds"] .cdh__digits { color: var(--cdh-digit-active); }
.cdh { --cdh-digit-size: 34px; }
.cdh--size-compact { --cdh-digit-size: 26px; }
.cdh--size-large { --cdh-digit-size: 48px; }
.cdh--size-huge { --cdh-digit-size: clamp(56px, 8vw, 120px); }
.cdh__digits {
  display: inline-flex;
  font-size: var(--cdh-digit-size); font-weight: 700; line-height: 1; letter-spacing: -0.01em;
  color: var(--cdh-digit);
  perspective: 400px;
}
.cdh__digit { position: relative; display: inline-block; width: 1ch; height: 1em; overflow: hidden; }
.cdh--anim-flip .cdh__digit { overflow: visible; }
.cdh__d { position: absolute; inset: 0; text-align: center; backface-visibility: hidden; }
.cdh__unit-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cdh-label);
}
.cdh__sep {
  align-self: flex-start;
  font-size: var(--cdh-digit-size); font-weight: 700; line-height: 1;
  color: var(--cdh-sep);
  margin: 0 calc(var(--cdh-pill-gap) * -0.45);
  transform: translateY(var(--cdh-sep-y));
}
.cdh__sep--line { width: 1px; height: 1.4em; background: var(--cdh-sep); transform: translateY(0); }
.cdh--blink[data-state="countdown"] .cdh__sep:not(.cdh__sep--line) { animation: cdh-tick 1s steps(1) infinite; }
@keyframes cdh-tick { 50% { opacity: 0.25; } }

/* digit animations */
.cdh--anim-slide .cdh__d.is-in { animation: cdh-slide-in 0.5s var(--cdh-ease) both; }
.cdh--anim-slide .cdh__d.is-out { animation: cdh-slide-out 0.5s var(--cdh-ease) both; }
@keyframes cdh-slide-in { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cdh-slide-out { from { transform: none; opacity: 1; } to { transform: translateY(-70%); opacity: 0; } }

.cdh--anim-flip .cdh__d.is-in { animation: cdh-flip-in 0.55s var(--cdh-ease) both; transform-origin: 50% 100%; }
.cdh--anim-flip .cdh__d.is-out { animation: cdh-flip-out 0.4s var(--cdh-ease-io) both; transform-origin: 50% 0%; }
@keyframes cdh-flip-in { from { transform: rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cdh-flip-out { from { transform: none; opacity: 1; } to { transform: rotateX(80deg); opacity: 0; } }

.cdh--anim-fade .cdh__d.is-in { animation: cdh-fade-in 0.45s ease both; }
.cdh--anim-fade .cdh__d.is-out { animation: cdh-fade-out 0.3s ease both; }
@keyframes cdh-fade-in { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
@keyframes cdh-fade-out { to { opacity: 0; filter: blur(4px); } }

/* final minute */
.cdh.is-final .cdh__unit[data-unit="seconds"] .cdh__digits { color: var(--cdh-accent); text-shadow: 0 0 22px var(--cdh-accent); }
.cdh.is-final .cdh__pill { animation-duration: 1.4s; border-color: color-mix(in oklab, var(--cdh-accent) 40%, var(--cdh-pill-border)); }
.cdh.is-final .cdh__pill-label { animation: cdh-blink 1s ease-in-out infinite; }
@keyframes cdh-blink { 50% { opacity: 0.35; } }

/* state visibility inside the pill */
.cdh__pill > [data-for], .cdh__pill-wrap > [data-for] { transition: opacity 0.4s ease, transform 0.6s var(--cdh-ease); }
.cdh__pill > .cdh__live, .cdh__pill > .cdh__launched { display: none; white-space: nowrap; }
.cdh[data-state="live"] .cdh__units, .cdh[data-state="launched"] .cdh__units { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(-40%); pointer-events: none; }
.cdh[data-state="live"] .cdh__pill > .cdh__live { display: inline-flex; }
.cdh[data-state="launched"] .cdh__pill > .cdh__launched { display: inline-flex; }
.cdh:not([data-state="countdown"]) .cdh__pill-label,
.cdh:not([data-state="countdown"]) .cdh__date,
.cdh:not([data-state="countdown"]) .cdh__notify { opacity: 0; height: 0; margin: 0; overflow: hidden; pointer-events: none; }
.cdh[data-state="live"] .cdh__pill { background: color-mix(in srgb, var(--cdh-pill-bg), var(--cdh-live-bg)); border-color: color-mix(in srgb, var(--cdh-live) 35%, var(--cdh-pill-border)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0 90px -25px var(--cdh-live); }
.cdh.is-pill-hidden .cdh__pill-wrap { display: none; }

/* live button */
.cdh__live {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; gap: 16px;
  padding: 0 6px; margin: 0;
  color: var(--cdh-live-fg); font: inherit; font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
  animation: cdh-pop 0.7s var(--cdh-ease) both;
}
.cdh__live:focus-visible, .cdh__replay:focus-visible, .cdh__btn:focus-visible, .cdh__close:focus-visible { outline: 2px solid var(--cdh-accent); outline-offset: 3px; }
@keyframes cdh-pop { from { opacity: 0; transform: translateY(40%) scale(0.96); } to { opacity: 1; transform: none; } }
.cdh__live-text { position: relative; }
.cdh__play {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cdh-live-fg); color: #0a0e16;
  transition: transform 0.4s var(--cdh-ease), box-shadow 0.4s ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
}
.cdh__play svg { margin-left: 2px; }
.cdh__live:hover .cdh__play, .cdh__replay:hover .cdh__play { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12); }

.cdh__live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  background: var(--cdh-live); color: #fff;
}
.cdh__live-badge--outline { background: transparent; border: 1px solid var(--cdh-live); color: var(--cdh-live); }
.cdh__live-badge--dot { background: transparent; padding: 0; }
.cdh__live-badge--dot .cdh__live-badge-text { display: none; }
.cdh__live-badge--dot .cdh__live-dot { width: 12px; height: 12px; background: var(--cdh-live); }
.cdh__live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; }
.cdh__live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: cdh-ping 1.6s ease-out infinite; }
@keyframes cdh-ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }

/* launched */
.cdh__launched { align-items: center; justify-content: center; gap: 22px; padding: 0 4px; animation: cdh-pop 0.7s var(--cdh-ease) both; }
.cdh__launched-status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--cdh-live-fg); }
.cdh__check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cdh-accent); color: #04141a; }
.cdh__replay {
  appearance: none; border: 1px solid rgba(255, 255, 255, 0.18); cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit; font-weight: 600; font-size: 14px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.cdh__replay:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.cdh__replay .cdh__play { width: 30px; height: 30px; }

.cdh__date { margin: 0; padding-inline: 6px; font-size: 17px; font-weight: 500; letter-spacing: 0.01em; color: var(--cdh-date); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cdh__date-local::before { content: "· "; opacity: 0.5; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.cdh__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cdh__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: var(--cdh-btn-pad); border-radius: var(--cdh-btn-radius);
  font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none;
  transition: transform 0.4s var(--cdh-ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cdh__btn:hover { transform: translateY(-2px); }
.cdh__btn--primary { background: var(--cdh-btn1-bg); color: var(--cdh-btn1-fg); box-shadow: 0 16px 36px -14px var(--cdh-btn1-bg); }
.cdh__btn--primary:hover { background: var(--cdh-btn1-bg-h); box-shadow: 0 22px 44px -14px var(--cdh-btn1-bg-h); }
.cdh__btn-icon { display: none; }
.cdh--btn-icon .cdh__btn-icon { display: inline-grid; place-items: center; }
.cdh__btn--ghost {
  background: var(--cdh-btn2-bg); color: var(--cdh-btn2-fg);
  border: 1px solid var(--cdh-btn2-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.cdh__btn--ghost:hover { background: color-mix(in srgb, var(--cdh-btn2-bg), #fff 8%); border-color: color-mix(in srgb, var(--cdh-btn2-border), #fff 20%); }
.cdh__btn-cal { display: inline-grid; place-items: center; opacity: 0.85; }

/* --------------------------------------------------------------------------
   Player: inline + modal
   -------------------------------------------------------------------------- */

.cdh__frame {
  position: relative; width: 100%; max-width: var(--cdh-player-w);
  border-radius: var(--cdh-player-radius);
  padding: 6px;
  background: rgba(10, 14, 22, 0.6);
  border: 1px solid var(--cdh-player-border);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.8), 0 0 120px -30px var(--cdh-player-glow), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.cdh__frame-inner {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: calc(var(--cdh-player-radius) - 6px);
  background: #000;
}
.cdh__frame-inner > iframe, .cdh__frame-inner > video, .cdh__iframe, .cdh__video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; display: block; }
.cdh__frame-inner:empty::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--cdh-accent);
  animation: cdh-spin 0.9s linear infinite;
}
@keyframes cdh-spin { to { transform: rotate(360deg); } }

.cdh__player { width: 100%; animation: cdh-pop 0.8s var(--cdh-ease) both; }

.cdh__modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; color: #fff; -webkit-font-smoothing: antialiased; }
.cdh__modal[hidden] { display: none !important; }
.cdh__modal *, .cdh__modal *::before, .cdh__modal *::after { box-sizing: border-box; }
.cdh__modal-backdrop { position: absolute; inset: 0; background: var(--cdh-modal-bg); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: cdh-fade-in 0.4s ease both; }
.cdh__modal-dialog { position: relative; width: min(100%, var(--cdh-player-w)); display: flex; flex-direction: column; gap: 14px; animation: cdh-pop 0.7s var(--cdh-ease) both; }
.cdh__modal-bar { display: flex; align-items: center; gap: 14px; padding-inline: 4px; }
.cdh__modal-title { flex: 1; font-weight: 600; font-size: 15px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cdh__close {
  appearance: none; cursor: pointer; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff;
  transition: background 0.3s ease, transform 0.4s var(--cdh-ease);
}
.cdh__close:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(90deg); }
.cdh__modal-ext { align-self: flex-end; font-size: 13px; color: rgba(255, 255, 255, 0.65); text-decoration: none; padding-inline: 4px; }
.cdh__modal-ext:hover { color: #fff; }
body.cdh-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   Pill-only mode
   -------------------------------------------------------------------------- */

.cdh--pill-only { display: inline-block; }
.cdh--pill-only .cdh__inner { padding: 0; }
.cdh--pill-only .cdh__content { gap: 12px; }

/* --------------------------------------------------------------------------
   Entrance
   -------------------------------------------------------------------------- */

.cdh--entrance .cdh__eyebrow, .cdh--entrance .cdh__sub, .cdh--entrance .cdh__actions, .cdh--entrance .cdh__note, .cdh--entrance .cdh__pill-wrap { opacity: 0; transform: translateY(24px); }
.cdh--entrance.is-in .cdh__eyebrow, .cdh--entrance.is-in .cdh__sub, .cdh--entrance.is-in .cdh__actions, .cdh--entrance.is-in .cdh__note, .cdh--entrance.is-in .cdh__pill-wrap { animation: cdh-rise 1s var(--cdh-ease) forwards; }
.cdh--entrance.is-in .cdh__eyebrow { animation-delay: 0.05s; }
.cdh--entrance.is-in .cdh__pill-wrap { animation-delay: 0.45s; }
.cdh--entrance.is-in .cdh__sub { animation-delay: 0.55s; }
.cdh--entrance.is-in .cdh__actions { animation-delay: 0.7s; }
.cdh--entrance.is-in .cdh__note { animation-delay: 0.85s; }
.cdh--entrance .cdh__bg-img, .cdh--entrance .cdh__bg-video { transform: scale(1.12); }
.cdh--entrance.is-in .cdh__bg-img, .cdh--entrance.is-in .cdh__bg-video { transform: translate3d(var(--cdh-px, 0), var(--cdh-py, 0), 0) scale(1.02); transition: transform 2.4s var(--cdh-ease); }
@keyframes cdh-rise { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cdh__inner { padding: 140px 32px 72px; }
}
@media (max-width: 640px) {
  .cdh { --cdh-pill-pad: 14px 22px; --cdh-pill-gap: 16px; }
  .cdh__inner { padding: 120px 20px 56px; }
  .cdh { --cdh-digit-size: 26px; }
  .cdh--size-huge { --cdh-digit-size: 44px; }
  .cdh__unit-label { font-size: 9.5px; letter-spacing: 0.14em; }
  .cdh__live { font-size: 17px; gap: 10px; padding: 0 2px; }
  .cdh__met { font-size: 13px; padding: 5px 9px; }
  .cdh__play { width: 36px; height: 36px; }
  .cdh__launched { gap: 12px; flex-wrap: wrap; padding: 0 16px; }
  .cdh__btn { font-size: 15px; width: 100%; justify-content: center; }
  .cdh__actions { width: 100%; }
  .cdh__modal { padding: 12px; }
  .cdh__rings span { display: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .cdh *, .cdh *::before, .cdh *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .cdh__headline .cdh__w, .cdh--entrance .cdh__eyebrow, .cdh--entrance .cdh__sub, .cdh--entrance .cdh__actions, .cdh--entrance .cdh__note, .cdh--entrance .cdh__pill-wrap { opacity: 1 !important; transform: none !important; }
  .cdh__grain, .cdh__stars, .cdh__rings { display: none; }
}

/* ==========================================================================
   v1.1 additions: mission clock, hold, status note, sound, notify, timeline, bar
   ========================================================================== */

/* mission clock inside the live pill */
.cdh__met {
  font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}
.cdh__met.is-plus { color: var(--cdh-accent); border-color: color-mix(in srgb, var(--cdh-accent) 40%, transparent); }
.cdh.is-final .cdh__met { color: var(--cdh-accent); text-shadow: 0 0 14px var(--cdh-accent); }
.cdh.is-final[data-state="live"] .cdh__pill { animation: cdh-breathe 1.2s ease-in-out infinite; }

/* hold */
.cdh.is-hold .cdh__pill-label { color: #ffb020; }
.cdh.is-hold .cdh__pill-label::after { content: " · HOLD"; }
.cdh.is-hold .cdh__pill { border-color: rgba(255, 176, 32, 0.45); animation: none; }
.cdh.is-hold .cdh__sep { animation: none; }
.cdh.is-hold .cdh__digits { opacity: 0.7; }

/* status note */
.cdh__status {
  margin: 0; padding-inline: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: #fff;
}
.cdh__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffb020; box-shadow: 0 0 12px #ffb020; animation: cdh-blink 1.6s ease-in-out infinite; }

/* sound toggle */
.cdh__pill-label { display: inline-flex; align-items: center; gap: 10px; }
.cdh__sound {
  appearance: none; cursor: pointer; display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.6);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cdh__sound:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cdh__sound .cdh__sound-on { display: none; }
.cdh__sound[aria-pressed="true"] { color: var(--cdh-accent); border-color: color-mix(in srgb, var(--cdh-accent) 50%, transparent); background: color-mix(in srgb, var(--cdh-accent) 12%, transparent); }
.cdh__sound[aria-pressed="true"] .cdh__sound-on { display: block; }
.cdh__sound[aria-pressed="true"] .cdh__sound-off { display: none; }

/* notify me */
.cdh__notify { margin: 6px 0 0; width: 100%; max-width: 460px; }
.cdh__notify-row {
  display: flex; align-items: stretch; gap: 6px; padding: 6px;
  border-radius: 16px;
  background: var(--cdh-pill-bg); border: 1px solid var(--cdh-pill-border);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cdh__notify-row:focus-within { border-color: color-mix(in srgb, var(--cdh-accent) 55%, var(--cdh-pill-border)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 0 0 4px color-mix(in srgb, var(--cdh-accent) 18%, transparent); }
.cdh__notify.is-error .cdh__notify-row { border-color: rgba(255, 90, 90, 0.6); }
.cdh__notify-input {
  flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; background: transparent;
  color: #fff; font: inherit; font-size: 15px;
}
.cdh__notify-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cdh__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cdh__notify-btn {
  appearance: none; cursor: pointer; border: 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 12px 18px; border-radius: 11px;
  background: var(--cdh-accent); color: #04141a; font: inherit; font-weight: 700; font-size: 14px;
  transition: transform 0.4s var(--cdh-ease), filter 0.3s ease;
}
.cdh__notify-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cdh__notify-btn:disabled { opacity: 0.6; cursor: wait; }
.cdh__notify-hint { margin: 8px 6px 0; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.cdh__notify-msg { margin: 8px 6px 0; font-size: 13px; min-height: 1.2em; color: rgba(255, 255, 255, 0.85); }
.cdh__notify.is-error .cdh__notify-msg { color: #ff8a8a; }
.cdh__notify.is-done .cdh__notify-row, .cdh__notify.is-done .cdh__notify-hint { display: none; }
.cdh__notify.is-done .cdh__notify-msg { color: var(--cdh-accent); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.cdh__notify.is-done .cdh__notify-msg::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--cdh-accent); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 70% no-repeat, linear-gradient(#000 0 0); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 70% no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* mission timeline */
.cdh { --cdh-tl-done: var(--cdh-accent); --cdh-tl-text: rgba(255, 255, 255, 0.85); --cdh-tl-muted: rgba(255, 255, 255, 0.4); --cdh-tl-w: 100%; --cdh-tl-progress: 0%; }
.cdh__timeline { width: 100%; max-width: var(--cdh-tl-w); animation: cdh-rise 0.9s var(--cdh-ease) both; }
.cdh__tl-title { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cdh-tl-muted); }
.cdh__tl {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: 10px; position: relative;
}
.cdh__tl::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.cdh__tl::after {
  content: ""; position: absolute; left: 0; top: 7px; height: 2px; width: var(--cdh-tl-progress);
  background: var(--cdh-tl-done); box-shadow: 0 0 14px var(--cdh-tl-done);
  transition: width 1.2s var(--cdh-ease);
}
.cdh__tl-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 24px; min-width: 0; color: var(--cdh-tl-muted); }
.cdh__tl-node {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 16px; height: 16px; border-radius: 50%;
  background: #0b1220; border: 2px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.cdh__tl-time { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.cdh__tl-label { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--cdh-tl-text); text-wrap: balance; }
.cdh__tl-note { font-size: 12px; line-height: 1.4; }
.cdh__tl-eta { font-size: 12px; font-weight: 600; color: var(--cdh-tl-done); font-variant-numeric: tabular-nums; }
.cdh__tl-item.is-done { color: var(--cdh-tl-muted); }
.cdh__tl-item.is-done .cdh__tl-node { background: var(--cdh-tl-done); border-color: var(--cdh-tl-done); box-shadow: 0 0 12px var(--cdh-tl-done); }
.cdh__tl-item.is-done .cdh__tl-label { color: var(--cdh-tl-text); }
.cdh__tl-item.is-next .cdh__tl-node { border-color: var(--cdh-tl-done); animation: cdh-node 1.6s ease-in-out infinite; }
.cdh__tl-item.is-next .cdh__tl-time { color: var(--cdh-tl-done); }
.cdh__tl-item.is-next .cdh__tl-label { color: #fff; }
@keyframes cdh-node { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cdh-tl-done) 55%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }
@media (max-width: 900px) {
  .cdh__tl { grid-auto-flow: row; gap: 18px; }
  .cdh__tl::before, .cdh__tl::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .cdh__tl::after { height: var(--cdh-tl-progress); bottom: auto; transition: height 1.2s var(--cdh-ease); }
  .cdh__tl-item { padding: 0 0 0 32px; gap: 3px; }
}

/* ---------- site-wide bar ---------- */
.cdh-bar {
  --cdh-accent: #18c99e; --cdh-live: #ff4d4d; --cdh-bar-bg: rgba(10, 14, 22, 0.72);
  position: fixed; left: 0; right: 0; z-index: 2147482000;
  color: #fff; font-size: 14px; line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  opacity: 0; transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.cdh-bar *, .cdh-bar *::before, .cdh-bar *::after { box-sizing: border-box; }
.cdh-bar[hidden] { display: none !important; }
.cdh-bar.is-open { opacity: 1; transform: none; }
.cdh-bar--top { top: 0; transform: translateY(-100%); }
.cdh-bar--top .cdh-bar__inner {
  min-height: 48px; padding: 8px max(20px, env(safe-area-inset-left)) 8px max(20px, env(safe-area-inset-right));
  background: var(--cdh-bar-bg);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 40px -30px rgba(0, 0, 0, 0.8);
}
.cdh-bar--bottom { bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; right: auto; width: min(calc(100% - 32px), 760px); transform: translate(-50%, 120%); }
.cdh-bar--bottom.is-open { transform: translate(-50%, 0); }
.cdh-bar--bottom .cdh-bar__inner {
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--cdh-bar-bg);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 60px -20px var(--cdh-live);
}
.cdh-bar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cdh-bar__badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  background: var(--cdh-live); color: #fff;
}
.cdh-bar__badge--accent { background: color-mix(in srgb, var(--cdh-accent) 16%, transparent); color: var(--cdh-accent); border: 1px solid color-mix(in srgb, var(--cdh-accent) 40%, transparent); }
.cdh-bar__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.cdh-bar__text { font-weight: 500; }
.cdh-bar__count { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cdh-accent); margin-left: 0.4em; }
.cdh-bar__text { white-space: nowrap; }
.cdh-bar__note { font-size: 13px; color: #ffb020; font-weight: 500; }
.cdh-bar__cta {
  appearance: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 0;
  background: #fff; color: #0a0e16; font: inherit; font-weight: 700; font-size: 13px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.cdh-bar__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(255, 255, 255, 0.5); }
.cdh-bar__cta .cdh__play { width: 24px; height: 24px; background: #0a0e16; color: #fff; }
.cdh-bar__cta--ghost { padding: 8px 16px; background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.cdh-bar__close {
  appearance: none; cursor: pointer; display: inline-grid; place-items: center; margin-left: 4px;
  width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: transparent; color: rgba(255, 255, 255, 0.6);
}
.cdh-bar__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cdh-bar--top .cdh-bar__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.cdh-bar--top { position: fixed; }
.cdh-bar--top .cdh-bar__inner { position: relative; padding-right: 56px; }
/* state visibility */
.cdh-bar [data-for] { display: none; }
.cdh-bar[data-state="countdown"] [data-for~="countdown"],
.cdh-bar[data-state="live"] [data-for~="live"],
.cdh-bar[data-state="launched"] [data-for~="launched"] { display: inline-flex; }
.cdh-bar[data-state="live"] .cdh-bar__text[data-live] { display: none !important; }
.cdh-bar[data-state="live"]:not([data-live]) .cdh-bar__text[data-live="pad"],
.cdh-bar[data-state="live"][data-live="pad"] .cdh-bar__text[data-live="pad"],
.cdh-bar[data-state="live"][data-live="flight"] .cdh-bar__text[data-live="flight"],
.cdh-bar[data-state="live"][data-live="deployed"] .cdh-bar__text[data-live="deployed"] { display: inline-flex !important; }
/* push the page down when the top bar is open */
html.cdh-bar-open-top { scroll-padding-top: var(--cdh-bar-h, 48px); }
html.cdh-bar-open-top:not(.cdh-bar-hero-first) body { padding-top: var(--cdh-bar-h, 48px) !important; }
html.cdh-bar-open-top .cdh--hero .cdh__inner { padding-top: calc(160px + var(--cdh-bar-h, 48px)); }
@media (max-width: 640px) {
  .cdh-bar--top .cdh-bar__inner { justify-content: flex-start; gap: 10px; font-size: 13px; }
  .cdh-bar__note { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cdh-bar { transition: none; } }


/* ---------- mission details panel ---------- */
.cdh__details {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: stretch; justify-content: flex-end;
  color: #fff; -webkit-font-smoothing: antialiased;
}
.cdh__details[hidden] { display: none !important; }
.cdh__details *, .cdh__details *::before, .cdh__details *::after { box-sizing: border-box; }
.cdh__details .cdh__modal-backdrop { opacity: 0; transition: opacity 0.4s ease; animation: none; }
.cdh__details.is-open .cdh__modal-backdrop { opacity: 1; }
.cdh__details-panel {
  position: relative; z-index: 1;
  width: min(100%, 640px); height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--cdh-pill-bg, rgba(10, 14, 22, 0.55));
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  border-left: 1px solid var(--cdh-pill-border, rgba(255, 255, 255, 0.14));
  box-shadow: -40px 0 80px -30px rgba(0, 0, 0, 0.8), 1px 0 0 rgba(255, 255, 255, 0.08) inset;
  transform: translateX(6%); opacity: 0;
  transition: transform 0.7s var(--cdh-ease, cubic-bezier(0.16, 1, 0.3, 1)), opacity 0.4s ease;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.cdh__details.is-open .cdh__details-panel { transform: none; opacity: 1; }
.cdh__details-close { position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2; }
.cdh__details-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cdh__details-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdh__details-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10, 14, 22, 0.9)); }
.cdh__details-body { padding: 24px 36px 48px; display: flex; flex-direction: column; gap: 22px; }
.cdh__details-media + .cdh__details-body { margin-top: -48px; position: relative; }
.cdh__details-title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; }
.cdh__details-t0 { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.cdh__details-t0-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--cdh-accent) 16%, transparent); color: var(--cdh-accent); }
.cdh__details-window { color: rgba(255, 255, 255, 0.55); }
.cdh__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cdh__fact { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.cdh__fact dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin: 0 0 4px; }
.cdh__fact dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cdh__details-copy { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.cdh__details-copy p { margin: 0 0 12px; }
.cdh__details-copy p:last-child { margin-bottom: 0; }
.cdh__details-copy a { color: var(--cdh-accent); }
.cdh__details-copy--sx { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.cdh__details-src { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.cdh__events { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.cdh__events::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, 0.1); }
.cdh__event { position: relative; display: grid; grid-template-columns: 24px 74px 1fr; gap: 10px; align-items: baseline; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.cdh__event-node { position: relative; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #0b1220; border: 2px solid rgba(255, 255, 255, 0.25); }
.cdh__event-time { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0.06em; }
.cdh__event-label { color: rgba(255, 255, 255, 0.85); }
.cdh__event.is-done .cdh__event-node { background: var(--cdh-accent); border-color: var(--cdh-accent); box-shadow: 0 0 10px var(--cdh-accent); }
.cdh__event.is-done { color: rgba(255, 255, 255, 0.4); }
.cdh__event.is-next .cdh__event-node { border-color: var(--cdh-accent); animation: cdh-node 1.6s ease-in-out infinite; }
.cdh__event.is-next .cdh__event-time, .cdh__event.is-next .cdh__event-label { color: #fff; }
.cdh__details-actions { padding-top: 6px; }
.cdh__details .cdh__btn--primary { background: var(--cdh-btn1-bg, #f26d3d); color: var(--cdh-btn1-fg, #fff); border-radius: var(--cdh-btn-radius, 14px); padding: var(--cdh-btn-pad, 18px 32px); }
@media (max-width: 640px) {
  .cdh__details { align-items: flex-end; }
  .cdh__details-panel { width: 100%; height: min(92svh, 100%); border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px 24px 0 0; transform: translateY(8%); }
  .cdh__details-body { padding: 16px 20px 40px; }
  .cdh__facts { grid-template-columns: 1fr 1fr; }
}

/* launch-day copy swaps in for the countdown copy (must come after the state rules) */
.cdh--day-copy[data-state="countdown"] .cdh__copy[data-for="countdown"] { opacity: 0; visibility: hidden; pointer-events: none; position: absolute; }
.cdh--day-copy[data-state="countdown"] .cdh__copy[data-for="day"] { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0.15s, 0.15s, 0s; }


/* ==========================================================================
   Layout presets
   ========================================================================== */

/* shared grid areas (only used by presets that switch to grid) */
.cdh__copies { grid-area: copy; }
.cdh__pill-wrap { grid-area: pill; }
.cdh__actions { grid-area: actions; }
.cdh__timeline { grid-area: tl; }
.cdh__note { grid-area: note; }
.cdh__player { grid-area: player; }

/* ---- split: copy left, glass mission card right ---- */
.cdh--layout-split .cdh__content {
  max-width: none; display: grid; column-gap: clamp(32px, 5vw, 80px); row-gap: var(--cdh-stack);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-template-areas: "copy pill" "actions pill" "player player" "tl tl" "note note";
  align-items: end;
}
.cdh--layout-split .cdh__pill-wrap {
  justify-self: stretch; align-self: end; align-items: stretch; gap: 18px;
  padding: 28px; border-radius: 28px;
  background: var(--cdh-pill-bg); border: 1px solid var(--cdh-pill-border);
  -webkit-backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat)); backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 0 90px -40px var(--cdh-pill-glow);
}
.cdh--layout-split .cdh__pill { width: 100%; border-radius: 20px; padding: 22px 24px; }
.cdh--layout-split .cdh__units { width: 100%; justify-content: space-between; }
.cdh--layout-split .cdh__sep { margin: 0; }
.cdh--layout-split .cdh__pill-label { padding-inline: 2px; }
.cdh--layout-split .cdh__date { padding-inline: 2px; }
.cdh--layout-split .cdh__notify { max-width: none; }
.cdh--layout-split .cdh__notify-row { border-radius: 14px; }
.cdh--layout-split .cdh__status { padding-inline: 2px; }

/* ---- centered ---- */
.cdh--layout-centered .cdh__inner { justify-content: center; }
.cdh--layout-centered .cdh__content { margin-inline: auto; align-items: center; text-align: center; max-width: min(var(--cdh-max-w), 880px); }
.cdh--layout-centered .cdh__copy { align-items: center; }
.cdh--layout-centered .cdh__sub { margin-inline: auto; }
.cdh--layout-centered .cdh__pill-wrap { align-items: center; }
.cdh--layout-centered .cdh__date { justify-content: center; }
.cdh--layout-centered .cdh__actions { justify-content: center; }
.cdh--layout-centered .cdh__notify { margin-inline: auto; }
.cdh--layout-centered .cdh__timeline { max-width: 100%; }
.cdh--layout-centered .cdh__tl-title { text-align: left; }

/* ---- monolith: the countdown is the headline ---- */
.cdh--layout-monolith .cdh__inner { justify-content: center; }
.cdh--layout-monolith .cdh__content {
  max-width: none; display: grid; row-gap: calc(var(--cdh-stack) * 0.8);
  grid-template-areas: "pill" "copy" "actions" "player" "tl" "note";
}
.cdh--layout-monolith .cdh__pill { background: transparent; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; overflow: visible; }
.cdh--layout-monolith .cdh__pill-edge, .cdh--layout-monolith .cdh__pill-shine { display: none; }
.cdh--layout-monolith .cdh__pill, .cdh--layout-monolith.cdh--pulse[data-state="countdown"] .cdh__pill { animation: none; }
.cdh--layout-monolith { --cdh-digit-size: clamp(72px, 12vw, 200px); --cdh-pill-gap: clamp(20px, 3vw, 56px); }
.cdh--layout-monolith .cdh__digits { letter-spacing: -0.04em; font-weight: 600; text-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.cdh--layout-monolith .cdh__unit-label { font-size: 13px; letter-spacing: 0.3em; margin-top: 6px; }
.cdh--layout-monolith .cdh__sep { color: var(--cdh-accent); opacity: 0.7; transform: translateY(-0.1em); }
.cdh--layout-monolith .cdh__headline { font-size: clamp(1.6rem, 2.8vw, 2.6rem); letter-spacing: -0.01em; }
.cdh--layout-monolith .cdh__line { display: inline; }
.cdh--layout-monolith .cdh__line + .cdh__line::before { content: " "; }
.cdh--layout-monolith .cdh__sub { font-size: clamp(1rem, 1.2vw, 1.15rem); }
.cdh--layout-monolith[data-state="live"] .cdh__pill, .cdh--layout-monolith[data-state="launched"] .cdh__pill {
  background: var(--cdh-pill-bg); border: var(--cdh-pill-bw) solid var(--cdh-pill-border); padding: var(--cdh-pill-pad); border-radius: var(--cdh-pill-radius);
  -webkit-backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat)); backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat));
}
.cdh--layout-monolith .cdh__live { font-size: 22px; }

/* ---- broadcast dock: countdown strip docked at the bottom ---- */
.cdh--layout-dock .cdh__inner { justify-content: space-between; }
.cdh--layout-dock .cdh__content {
  max-width: none; display: grid; row-gap: var(--cdh-stack);
  grid-template-areas: "copy" "actions" "player" "tl" "pill" "note";
  flex: 1;
}
.cdh--layout-dock .cdh__copies { max-width: var(--cdh-max-w); }
.cdh--layout-dock .cdh__pill-wrap {
  width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 32px;
  padding: 16px 20px 16px 28px; border-radius: 24px;
  background: var(--cdh-pill-bg); border: 1px solid var(--cdh-pill-border);
  -webkit-backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat)); backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.cdh--layout-dock .cdh__pill-label { order: 1; flex-direction: column; align-items: flex-start; gap: 6px; }
.cdh--layout-dock .cdh__pill { order: 2; background: transparent; border: 0; padding: 0 8px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
.cdh--layout-dock .cdh__pill-edge, .cdh--layout-dock .cdh__pill-shine { display: none; }
.cdh--layout-dock.cdh--pulse[data-state="countdown"] .cdh__pill { animation: none; }
.cdh--layout-dock .cdh__date { order: 3; flex-direction: column; gap: 2px; padding: 0; border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 24px; }
.cdh--layout-dock .cdh__date-local::before { content: none; }
.cdh--layout-dock .cdh__status { order: 4; }
.cdh--layout-dock .cdh__notify { order: 5; margin: 0; flex: 1 1 320px; max-width: 460px; margin-left: auto; }
.cdh--layout-dock .cdh__notify-hint { display: none; }
.cdh--layout-dock .cdh__notify-msg { margin-top: 4px; min-height: 0; }
.cdh--layout-dock .cdh__notify-row { background: rgba(255, 255, 255, 0.05); }
.cdh--layout-dock .cdh__live { padding: 4px 8px; }
.cdh--layout-dock .cdh__launched { padding: 4px 8px; }
.cdh--layout-dock:not([data-state="countdown"]) .cdh__pill-label, .cdh--layout-dock:not([data-state="countdown"]) .cdh__date, .cdh--layout-dock:not([data-state="countdown"]) .cdh__notify { display: none; }

/* ---- corner: minimal copy, pill pinned bottom-right ---- */
.cdh--layout-corner .cdh__content {
  max-width: none; display: grid; column-gap: 48px; row-gap: var(--cdh-stack);
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy pill" "actions pill" "player player" "tl tl" "note note";
  align-items: end;
}
.cdh--layout-corner .cdh__copies { max-width: 640px; }
.cdh--layout-corner .cdh__headline { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.cdh--layout-corner .cdh__sub { font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 48ch; }
.cdh--layout-corner .cdh__pill-wrap { align-items: flex-end; text-align: right; justify-self: end; }
.cdh--layout-corner .cdh__pill-label { flex-direction: row-reverse; }
.cdh--layout-corner .cdh__date { justify-content: flex-end; }
.cdh--layout-corner .cdh__notify { max-width: 380px; }
.cdh--layout-corner .cdh__notify-msg, .cdh--layout-corner .cdh__notify-hint { text-align: right; }

/* ---- responsive collapse for the grid presets ---- */
@media (max-width: 1024px) {
  .cdh--layout-split .cdh__content, .cdh--layout-corner .cdh__content {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "pill" "actions" "player" "tl" "note";
  }
  .cdh--layout-corner .cdh__pill-wrap { align-items: flex-start; text-align: left; justify-self: start; }
  .cdh--layout-corner .cdh__pill-label { flex-direction: row; }
  .cdh--layout-corner .cdh__date { justify-content: flex-start; }
  .cdh--layout-corner .cdh__notify-msg, .cdh--layout-corner .cdh__notify-hint { text-align: left; }
  .cdh--layout-dock .cdh__pill-wrap { flex-direction: column; align-items: flex-start; }
  .cdh--layout-dock .cdh__date { border-left: 0; padding-left: 0; }
  .cdh--layout-dock .cdh__notify { margin-left: 0; max-width: none; width: 100%; }
}
@media (max-width: 640px) {
  .cdh--layout-monolith { --cdh-digit-size: clamp(40px, 13vw, 64px); --cdh-pill-gap: 12px; }
  .cdh--layout-monolith .cdh__unit-label { font-size: 10px; letter-spacing: 0.2em; }
}


/* ==========================================================================
   Home Countdown Hero: right column (video card + latest announcement)
   ========================================================================== */
.cdh { --cdh-aside-w: 380px; --cdh-aside-radius: 20px; --cdh-play-bg: #fff; --cdh-play-fg: #18c99e; --cdh-ann: #fff; --cdh-aside-align: center; --cdh-aside-items: center; }
.cdh__aside { grid-area: aside; display: flex; flex-direction: column; align-items: var(--cdh-aside-items); gap: 22px; text-align: var(--cdh-aside-align); width: var(--cdh-aside-w); max-width: 100%; justify-self: end; align-self: end; }
.cdh--has-aside .cdh__content {
  max-width: none; display: grid; column-gap: clamp(32px, 5vw, 72px); row-gap: var(--cdh-stack);
  grid-template-columns: minmax(0, 1fr) var(--cdh-aside-w);
  grid-template-areas: "copy aside" "pill aside" "actions aside" "player player" "tl tl" "note note";
  align-items: end;
}
.cdh--has-aside .cdh__copies, .cdh--has-aside .cdh__pill-wrap, .cdh--has-aside .cdh__actions { max-width: var(--cdh-max-w); }
.cdh__vcard {
  appearance: none; border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16 / 9.4; border-radius: var(--cdh-aside-radius);
  background: #0b1220; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--cdh-ease), box-shadow 0.4s ease;
}
.cdh__vcard:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.16); }
.cdh__vcard:focus-visible { outline: 2px solid var(--cdh-accent); outline-offset: 3px; }
.cdh__vcard-img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; transition: transform 1.2s var(--cdh-ease); }
.cdh__vcard:hover .cdh__vcard-img { transform: scale(1.05); }
.cdh__vcard-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--cdh-play-bg); color: var(--cdh-play-fg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.5s var(--cdh-ease), box-shadow 0.5s ease;
}
.cdh__vcard-play svg { margin-left: 4px; }
.cdh__vcard:hover .cdh__vcard-play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 0 12px rgba(255, 255, 255, 0.12); }
.cdh__ann { display: flex; flex-direction: column; gap: 4px; color: var(--cdh-ann); }
.cdh__ann-label { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.3; }
.cdh__ann-title { margin: 0; font-size: 19px; line-height: 1.3; color: inherit; text-decoration: none; text-wrap: balance; transition: color 0.3s ease; }
a.cdh__ann-title:hover { color: var(--cdh-accent); }
.cdh__ann-date { margin: 2px 0 0; font-size: 13px; opacity: 0.6; }
@media (min-width: 641px) and (max-width: 1024px) {
  /* tablets: type between the phone and desktop sizes */
  .cdh .cdh__headline, .elementor-widget .cdh .cdh__headline { font-size: var(--cdh-h1-tablet, clamp(2.6rem, 6.5vw, 4rem)) !important; line-height: 1.05 !important; }
}
@media (max-width: 1024px) {
  .cdh--has-aside .cdh__content { grid-template-columns: 1fr; grid-template-areas: "copy" "pill" "actions" "aside" "player" "tl" "note"; }
  .cdh__aside { justify-self: start; align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   Mobile pass: tighter, centred vertically, full-width pill + stacked form
   ========================================================================== */
@media (max-width: 640px) {
  .cdh--hero { --cdh-min-h: 100svh; }
  .cdh--hero .cdh__inner { justify-content: center !important; padding-top: max(112px, calc(88px + var(--cdh-bar-h, 0px))) !important; padding-bottom: 44px !important; }
  .cdh--hero .cdh__content { gap: 18px; }
  .cdh__copy { gap: 12px; }
  .cdh__eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  /* phones: cap the type whatever size the editor set for desktop (Elementor's per-widget CSS is more specific, hence the override) */
  .cdh .cdh__headline, .elementor-widget .cdh .cdh__headline { font-size: var(--cdh-h1-phone, clamp(2rem, 10.5vw, 2.9rem)) !important; line-height: 1.04 !important; letter-spacing: -0.02em; }
  .cdh .cdh__sub, .elementor-widget .cdh .cdh__sub { font-size: var(--cdh-sub-phone, 1rem) !important; line-height: 1.5 !important; }
  .cdh .cdh__eyebrow { font-size: 11px !important; }
  .cdh__inner { padding-top: 104px; }
  .cdh__pill-wrap { width: 100%; gap: 10px; }
  .cdh__pill { width: 100%; padding: 14px 18px; border-radius: 22px; }
  .cdh__units { width: 100%; justify-content: space-between; }
  .cdh__sep { margin: 0; }
  .cdh__date { flex-direction: column; gap: 2px; font-size: 12px; }
  .cdh__date-local::before { content: none; }
  .cdh__notify { max-width: none; }
  .cdh__notify-row { flex-direction: column; gap: 6px; border-radius: 18px; }
  .cdh__notify-input { padding: 12px 14px; font-size: 16px; }
  .cdh__notify-btn { justify-content: center; padding: 13px 18px; }
  .cdh__notify-hint { font-size: 11.5px; }
  .cdh__actions { gap: 10px; }
  .cdh__btn { padding: 15px 20px; }
  .cdh__note { font-size: 10.5px; letter-spacing: 0.1em; }
  .cdh__status { font-size: 13px; }
  .cdh__tl-title { margin-bottom: 10px; }
  .cdh__aside { width: 100%; }
  .cdh__ann-label, .cdh__ann-title { font-size: 16px; }
  .cdh__vcard-play { width: 68px; height: 68px; }
  /* hide the heavier atmosphere on phones */
  .cdh__grain { display: none; }
}

/* phones: never let the digits overflow the pill */
@media (max-width: 640px) {
  .cdh { --cdh-digit-size: clamp(20px, 7vw, 30px); --cdh-pill-gap: 6px; }
  .cdh--size-large, .cdh--size-huge { --cdh-digit-size: clamp(24px, 8.5vw, 40px); }
  .cdh__pill { display: flex; box-sizing: border-box; padding: 14px 12px; }
  .cdh__units { flex: 1 1 auto; min-width: 0; gap: var(--cdh-pill-gap); }
  .cdh__unit { flex: 1 1 0; min-width: 0; }
  .cdh__sep { margin: 0; flex: 0 0 auto; font-size: calc(var(--cdh-digit-size) * 0.8); transform: translateY(calc(var(--cdh-sep-y) * 0.6)); }
  .cdh__unit-label { font-size: 9px; letter-spacing: 0.12em; }
  .cdh__live { font-size: 16px; }
}

/* grid presets: children must not inherit the grid's vertical "end" alignment */
.cdh--has-aside .cdh__copy, .cdh--has-aside .cdh__pill-wrap,
.cdh--layout-split .cdh__copy, .cdh--layout-split .cdh__pill-wrap,
.cdh--layout-monolith .cdh__copy, .cdh--layout-monolith .cdh__pill-wrap,
.cdh--layout-dock .cdh__copy,
.cdh--layout-corner .cdh__copy { align-items: flex-start; }
.cdh--layout-split .cdh__pill-wrap { align-items: stretch; }
.cdh--layout-dock .cdh__pill-wrap { align-items: center; }
@media (max-width: 1024px) { .cdh--layout-dock .cdh__pill-wrap { align-items: flex-start; } }


/* ==========================================================================
   Sign-up dialog (Notify me at T-0)
   ========================================================================== */
.cdh__signup {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  color: #fff; -webkit-font-smoothing: antialiased;
}
.cdh__signup[hidden] { display: none !important; }
.cdh__signup *, .cdh__signup *::before, .cdh__signup *::after { box-sizing: border-box; }
.cdh__signup .cdh__modal-backdrop { opacity: 0; transition: opacity 0.4s ease; animation: none; }
.cdh__signup.is-open .cdh__modal-backdrop { opacity: 1; }
.cdh__signup-card {
  position: relative; z-index: 1; width: min(100%, 520px);
  padding: 40px 40px 32px; border-radius: 28px;
  background: var(--cdh-pill-bg, rgba(10, 14, 22, 0.55));
  border: 1px solid var(--cdh-pill-border, rgba(255, 255, 255, 0.14));
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 0 120px -40px var(--cdh-accent);
  transform: translateY(18px) scale(0.98); opacity: 0;
  transition: transform 0.6s var(--cdh-ease, cubic-bezier(0.16, 1, 0.3, 1)), opacity 0.35s ease;
}
.cdh__signup.is-open .cdh__signup-card { transform: none; opacity: 1; }
.cdh__signup-close { position: absolute; top: 16px; right: 16px; }
.cdh__signup-form, .cdh__signup-done { display: flex; flex-direction: column; gap: 14px; }
.cdh__signup-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: color-mix(in srgb, var(--cdh-accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--cdh-accent) 35%, transparent); color: var(--cdh-accent); margin-bottom: 4px; }
.cdh__signup-icon--ok { background: var(--cdh-accent); color: #04141a; }
.cdh__signup-title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.cdh__signup-intro { margin: -4px 0 6px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.cdh__field { display: flex; flex-direction: column; gap: 6px; }
.cdh__field-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.cdh__input {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; font: inherit; font-size: 16px; outline: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.cdh__input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cdh__input:focus { border-color: color-mix(in srgb, var(--cdh-accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cdh-accent) 18%, transparent); background: rgba(255, 255, 255, 0.08); }
.cdh__signup-form.is-error .cdh__input:invalid { border-color: rgba(255, 90, 90, 0.7); }
.cdh__check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); padding: 2px 0; }
.cdh__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cdh__check-box { flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); color: #04141a; transition: background 0.25s ease, border-color 0.25s ease; }
.cdh__check-box svg { opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.3s var(--cdh-ease); }
.cdh__check input:checked + .cdh__check-box { background: var(--cdh-accent); border-color: var(--cdh-accent); }
.cdh__check input:checked + .cdh__check-box svg { opacity: 1; transform: none; }
.cdh__check input:focus-visible + .cdh__check-box { box-shadow: 0 0 0 4px color-mix(in srgb, var(--cdh-accent) 25%, transparent); }
.cdh__signup-submit { justify-content: center; margin-top: 4px; }
.cdh__signup .cdh__btn--primary { background: var(--cdh-btn1-bg, #f26d3d); color: var(--cdh-btn1-fg, #fff); border-radius: var(--cdh-btn-radius, 14px); padding: var(--cdh-btn-pad, 18px 32px); }
.cdh__signup .cdh__btn--primary:hover { background: var(--cdh-btn1-bg-h, #ff7f4f); }
.cdh__signup .cdh__btn--ghost { background: var(--cdh-btn2-bg, rgba(255, 255, 255, 0.06)); color: var(--cdh-btn2-fg, #fff); border: 1px solid var(--cdh-btn2-border, rgba(255, 255, 255, 0.18)); border-radius: var(--cdh-btn-radius, 14px); padding: var(--cdh-btn-pad, 18px 32px); }
.cdh__signup .cdh__notify-hint { margin: 2px 0 0; text-align: center; }
.cdh__signup .cdh__notify-msg { margin: 0; text-align: center; }
.cdh__signup-form.is-error .cdh__notify-msg { color: #ff8a8a; }
.cdh__signup-form.is-busy .cdh__signup-submit { opacity: 0.7; }
.cdh__signup-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cdh__signup-actions .cdh__btn { flex: 1 1 auto; justify-content: center; }
.cdh__btn--notify .cdh__btn-bell { display: inline-grid; place-items: center; }
@media (max-width: 640px) {
  .cdh__signup { padding: 12px; align-items: flex-end; }
  .cdh__signup-card { padding: 28px 22px 24px; border-radius: 24px; }
}


/* ---------- idle (no active launch): the normal hero ---------- */
.cdh--idle .cdh__pill-wrap, .cdh--idle .cdh__timeline, .cdh--idle .cdh__notify, .cdh--idle .cdh__btn--notify { display: none !important; }
.cdh--idle .cdh__content { grid-template-areas: "copy aside" "actions aside" "note note"; }
.cdh--idle:not(.cdh--has-aside) .cdh__content { display: flex; }
@media (max-width: 1024px) {
  /* phones and tablets: the video card and announcement stack under the copy at full width */
  .cdh--idle.cdh--has-aside .cdh__content { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "actions" "aside" "note"; }
  .cdh--has-aside .cdh__aside { width: 100%; max-width: 520px; }
}

/* ---------- announcement card ---------- */
.cdh__ann {
  padding: 18px 22px; border-radius: 18px;
  background: var(--cdh-pill-bg); border: 1px solid var(--cdh-pill-border);
  -webkit-backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat)); backdrop-filter: blur(var(--cdh-pill-blur)) saturate(var(--cdh-pill-sat));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  width: 100%;
}
.cdh__ann-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cdh-accent); font-weight: 700; margin-bottom: 4px; }
.cdh__ann-title { font-size: 18px; font-weight: 600; }


/* ---------- separator: two crisp dots centred on the digits ---------- */
.cdh__sep--colon, .cdh__sep--dot {
  font-size: 0; color: transparent; transform: none;
  height: var(--cdh-digit-size); width: 0.3em;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(var(--cdh-digit-size) * 0.16);
  margin: 0 calc(var(--cdh-pill-gap) * -0.35);
}
.cdh__sep--colon::before, .cdh__sep--colon::after, .cdh__sep--dot::before {
  content: ""; display: block; width: calc(var(--cdh-digit-size) * 0.13); height: calc(var(--cdh-digit-size) * 0.13); border-radius: 50%;
  background: var(--cdh-sep); box-shadow: 0 0 6px color-mix(in srgb, var(--cdh-sep) 60%, transparent);
}
.cdh__sep--dot::after { content: none; }

/* ---------- countdown styles ---------- */
/* bare digits */
.cdh--pill-bare .cdh__pill { background: transparent; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; overflow: visible; }
.cdh--pill-bare .cdh__pill-edge, .cdh--pill-bare .cdh__pill-shine { display: none; }
.cdh--pill-bare.cdh--pulse[data-state="countdown"] .cdh__pill { animation: none; }
.cdh--pill-bare[data-state="live"] .cdh__pill, .cdh--pill-bare[data-state="launched"] .cdh__pill { background: var(--cdh-pill-bg); border: var(--cdh-pill-bw) solid var(--cdh-pill-border); padding: var(--cdh-pill-pad); -webkit-backdrop-filter: blur(var(--cdh-pill-blur)); backdrop-filter: blur(var(--cdh-pill-blur)); }

/* split-flap cards */
.cdh--pill-cards { --cdh-card-bg-top: #1b2434; --cdh-card-bg-bot: #0b1220; --cdh-card-line: rgba(0, 0, 0, 0.75); }
.cdh--pill-cards .cdh__pill { border-radius: 24px; padding: calc(var(--cdh-digit-size) * 0.45) calc(var(--cdh-digit-size) * 0.6); }
.cdh--pill-cards .cdh__digits { gap: 0.08em; perspective: 600px; }
.cdh--pill-cards .cdh__digit {
  width: 0.78em; height: 1.22em; overflow: hidden;
  border-radius: 0.12em;
  background: linear-gradient(to bottom, var(--cdh-card-bg-top) 0 50%, var(--cdh-card-bg-bot) 50% 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 -1px 0 rgba(0, 0, 0, 0.5) inset, 0 8px 18px -8px rgba(0, 0, 0, 0.8);
  font-weight: 600;
}
.cdh--pill-cards .cdh__digit::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--cdh-card-line); z-index: 3; pointer-events: none;
}
.cdh--pill-cards .cdh__d { display: grid; place-items: center; line-height: 1; }
.cdh--pill-cards .cdh__unit-label { margin-top: 4px; letter-spacing: 0.22em; }
.cdh--pill-cards .cdh__sep--colon, .cdh--pill-cards .cdh__sep--dot { height: calc(var(--cdh-digit-size) * 1.22); }
.cdh--pill-cards .cdh__unit[data-unit="seconds"] .cdh__digit { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 -1px 0 rgba(0, 0, 0, 0.5) inset, 0 8px 18px -8px rgba(0, 0, 0, 0.8), 0 0 0 1px color-mix(in srgb, var(--cdh-accent) 30%, transparent); }
.cdh--pill-cards .cdh__live, .cdh--pill-cards .cdh__launched { position: static; }

/* split-flap digit animation: top half folds down over the new digit */
.cdh--anim-flap .cdh__digit { perspective: 400px; overflow: hidden; }
.cdh--anim-flap .cdh__d.is-out { animation: cdh-flap-out 0.32s cubic-bezier(0.55, 0, 1, 0.45) both; transform-origin: 50% 50%; z-index: 2; }
.cdh--anim-flap .cdh__d.is-in { animation: cdh-flap-in 0.32s cubic-bezier(0, 0.55, 0.45, 1) 0.3s both; transform-origin: 50% 50%; }
@keyframes cdh-flap-out { from { transform: rotateX(0deg); } to { transform: rotateX(-90deg); } }
@keyframes cdh-flap-in { from { transform: rotateX(90deg); } to { transform: rotateX(0deg); } }


/* ---------- timeline: horizontal strip, scrolls, keeps the next event in view ---------- */
.cdh__tl-scroll {
  overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
}
.cdh__tl-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 901px) {
  .cdh__tl { display: flex; width: max-content; min-width: 100%; gap: 0; }
  .cdh__tl-item { flex: 0 0 152px; padding-right: 14px; }
  .cdh__tl-item:first-child { padding-left: 2px; }
  .cdh__tl-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 900px) {
  .cdh__tl-scroll { overflow: visible; -webkit-mask-image: none; mask-image: none; }
}


/* ---------- mission status under the lightbox player ---------- */
.cdh__ms {
  display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px 28px; align-items: center;
  padding: 14px 20px; border-radius: 18px;
  background: var(--cdh-pill-bg); border: 1px solid var(--cdh-pill-border);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  font-size: 14px; color: #fff;
}
.cdh__ms[hidden] { display: none !important; }
.cdh__ms-k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 3px; }
.cdh__ms-v { display: block; font-weight: 600; line-height: 1.3; }
.cdh__ms-v em { font-style: normal; color: var(--cdh-accent); font-variant-numeric: tabular-nums; margin-left: 4px; }
.cdh__ms-clock .cdh__ms-v { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; padding: 4px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); display: inline-block; }
.cdh__ms-clock .cdh__ms-v.is-plus { color: var(--cdh-accent); border-color: color-mix(in srgb, var(--cdh-accent) 40%, transparent); }
.cdh__ms-dots { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; padding-top: 4px; }
.cdh__ms-dots span { flex: 1 1 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); transition: background 0.4s ease, box-shadow 0.4s ease; }
.cdh__ms-dots span.is-done { background: var(--cdh-accent); }
.cdh__ms-dots span.is-next { background: color-mix(in srgb, var(--cdh-accent) 45%, transparent); animation: cdh-blink 1.4s ease-in-out infinite; }
.cdh__ms-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #ffb020; font-weight: 500; }
.cdh__ms-note::before { content: "● "; }
@media (max-width: 640px) {
  .cdh__ms { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 12px 14px; }
  .cdh__ms-clock { grid-column: 1 / -1; }
  .cdh__ms-clock .cdh__ms-v { font-size: 18px; }
}


/* ---------- our satellite milestone ---------- */
.cdh__tl-ours { display: inline-block; margin: 2px 0 2px; padding: 2px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; background: color-mix(in srgb, var(--cdh-accent) 18%, transparent); color: var(--cdh-accent); border: 1px solid color-mix(in srgb, var(--cdh-accent) 45%, transparent); }
.cdh__tl-item.is-ours .cdh__tl-node { width: 22px; height: 22px; top: -3px; left: -3px; border-width: 3px; border-color: var(--cdh-accent); background: #0b1220; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cdh-accent) 18%, transparent), 0 0 18px var(--cdh-accent); }
.cdh__tl-item.is-ours.is-done .cdh__tl-node { background: var(--cdh-accent); }
.cdh__tl-item.is-ours .cdh__tl-label { color: var(--cdh-accent); font-size: 15px; font-weight: 700; }
.cdh__tl-item.is-ours .cdh__tl-time { color: var(--cdh-accent); }
.cdh__event.is-ours .cdh__event-node { border-color: var(--cdh-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cdh-accent) 18%, transparent); }
.cdh__event.is-ours .cdh__event-label { color: #fff; font-weight: 600; }
.cdh__ms-ours .cdh__ms-v { color: #fff; }
.cdh__ms-ours .cdh__ms-k { color: var(--cdh-accent); }
.cdh__ms-ours.is-done .cdh__ms-v em { color: var(--cdh-accent); }
.cdh__ms-dots span.is-ours { flex: 0 0 14px; height: 8px; margin-top: -2px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cdh-accent) 40%, transparent); }
.cdh__ms-dots span.is-ours.is-done { background: var(--cdh-accent); }


/* ---------- timeline header: title + "N more" + arrows ---------- */
.cdh__tl-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cdh__tl-head .cdh__tl-title { margin: 0; }
.cdh__tl-nav { display: inline-flex; align-items: center; gap: 8px; }
.cdh__tl-nav[hidden] { display: none !important; }
.cdh__tl-more { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cdh-accent); padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--cdh-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--cdh-accent) 35%, transparent); }
.cdh__tl-more:empty { display: none; }
.cdh__tl-btn { appearance: none; cursor: pointer; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; transition: background 0.3s ease, opacity 0.3s ease; }
.cdh__tl-btn:hover { background: rgba(255, 255, 255, 0.14); }
.cdh__tl-btn:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 900px) { .cdh__tl-nav { display: none !important; } }

/* ---------- hardening the overlays against theme styles (they live in <body>, outside .cdh) ---------- */
.cdh__signup [hidden], .cdh__modal [hidden], .cdh__details [hidden] { display: none !important; }
.cdh__signup .cdh__signup-title, .cdh__details .cdh__details-title { color: #fff !important; margin: 0 !important; padding: 0 !important; text-transform: none !important; }
.cdh__signup .cdh__signup-intro, .cdh__signup .cdh__field-label, .cdh__signup .cdh__notify-hint { color: rgba(255, 255, 255, 0.72); }
.cdh__signup .cdh__field-label { color: rgba(255, 255, 255, 0.5); }
.cdh__signup .cdh__field { margin: 0 !important; width: 100%; }
.cdh__signup .cdh__field > span { display: block; }
.cdh__signup .cdh__input, .cdh__signup input.cdh__input[type="text"], .cdh__signup input.cdh__input[type="email"] {
  width: 100% !important; max-width: none !important; height: auto !important; min-height: 0 !important;
  margin: 0 !important; padding: 14px 16px !important; border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #fff !important; font: inherit !important; font-size: 16px !important; line-height: 1.3 !important; box-shadow: none !important;
}
.cdh__signup .cdh__input:focus { border-color: color-mix(in srgb, var(--cdh-accent) 60%, transparent) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cdh-accent) 18%, transparent) !important; }
.cdh__signup .cdh__check {
  display: flex !important; align-items: flex-start !important; gap: 12px !important; width: 100% !important; max-width: none !important;
  position: relative !important; float: none !important; height: auto !important; margin: 0 !important; padding: 2px 0 !important;
  font-size: 14px !important; line-height: 1.45 !important; font-weight: 400 !important; color: rgba(255, 255, 255, 0.8) !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
}
.cdh__signup .cdh__check input[type="checkbox"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; appearance: none; }
.cdh__signup .cdh__check-box {
  display: inline-grid !important; place-items: center; flex: 0 0 22px !important; width: 22px !important; height: 22px !important; margin: 1px 0 0 !important;
  border-radius: 7px !important; background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; color: #04141a !important;
}
.cdh__signup .cdh__check input:checked + .cdh__check-box { background: var(--cdh-accent) !important; border-color: var(--cdh-accent) !important; }
.cdh__signup .cdh__check > span:last-child { flex: 1 1 auto !important; display: inline !important; width: auto !important; }
.cdh__signup .cdh__btn, .cdh__signup button.cdh__btn, .cdh__signup a.cdh__btn {
  position: relative !important; width: auto !important; height: auto !important; margin: 0 !important; line-height: 1 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 17px !important; font-weight: 600 !important; box-shadow: none !important;
}
.cdh__signup .cdh__signup-submit { width: 100% !important; justify-content: center !important; margin-top: 4px !important; }
.cdh__signup .cdh__signup-submit:hover { background: var(--cdh-btn1-bg-h, #ff7f4f) !important; }
.cdh__signup .cdh__close, .cdh__signup .cdh__close:hover { width: 40px !important; height: 40px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; }
.cdh__signup p { margin: 0; }
.cdh__signup .cdh__notify-msg:empty { display: none; }
.cdh__signup .cdh__check > span:last-child, .cdh__signup .cdh__check > span:last-child::before, .cdh__signup .cdh__check > span:last-child::after { background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.cdh__signup .cdh__check > span:last-child::before, .cdh__signup .cdh__check > span:last-child::after { content: none !important; }
.cdh__signup .cdh__btn--primary, .cdh__signup button.cdh__btn--primary { background: var(--cdh-btn1-bg, #f26d3d) !important; color: var(--cdh-btn1-fg, #fff) !important; border: 0 !important; }
.cdh__signup .cdh__btn--primary:hover { background: var(--cdh-btn1-bg-h, #ff7f4f) !important; }


/* ---------- add to calendar menu ---------- */
.cdh__cal { position: relative; display: inline-block; }
/* once T-0 has passed there is nothing to be notified about or to put in a calendar */
.cdh.is-post-t0 .cdh__actions .cdh__btn--notify, .cdh.is-post-t0 .cdh__actions .cdh__cal, .cdh.is-post-t0 .cdh__notify { display: none !important; }
.cdh__cal-menu {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 20; min-width: 240px;
  padding: 8px; border-radius: 18px;
  background: var(--cdh-pill-bg, rgba(10, 14, 22, 0.55)); border: 1px solid var(--cdh-pill-border, rgba(255, 255, 255, 0.14));
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  animation: cdh-pop 0.4s var(--cdh-ease, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.cdh__cal.is-up .cdh__cal-menu { top: auto; bottom: calc(100% + 10px); }
.cdh__cal-menu[hidden] { display: none !important; }
.cdh__cal-item {
  display: flex !important; align-items: center; gap: 12px; padding: 11px 14px !important; border-radius: 12px;
  color: #fff !important; text-decoration: none !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.2;
  transition: background 0.2s ease;
}
.cdh__cal-item:hover, .cdh__cal-item:focus-visible { background: rgba(255, 255, 255, 0.08); outline: 0; }
.cdh__cal-item svg { flex: 0 0 auto; opacity: 0.85; }
.cdh__cal-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12) !important; }
.cdh__signup .cdh__cal { flex: 1 1 auto; }
.cdh__signup .cdh__cal .cdh__cal-btn { width: 100% !important; justify-content: center !important; }
@media (max-width: 640px) { .cdh__cal { width: 100%; } .cdh__cal-menu { left: 0; right: 0; } }

.cdh__signup label.cdh__check, .cdh__signup label.cdh__check:hover, .cdh__signup label.cdh__check:has(input:checked) { background: transparent !important; background-image: none !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; }

/* ---------- bar buttons: compact, immune to theme button styles ---------- */
.cdh-bar button.cdh-bar__cta, .cdh-bar a.cdh-bar__cta {
  display: inline-flex !important; align-items: center !important; gap: 7px !important;
  height: 32px !important; min-height: 0 !important; padding: 0 14px 0 10px !important; margin: 0 !important;
  border-radius: 999px !important; border: 0 !important;
  background: #ffffff !important; color: #0a0e16 !important;
  font: inherit !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: none !important; width: auto !important;
}
.cdh-bar .cdh-bar__cta .cdh__play { width: auto !important; height: auto !important; background: transparent !important; color: #ff4d4d !important; box-shadow: none !important; }
.cdh-bar .cdh-bar__cta .cdh__play svg { width: 12px; height: 12px; margin: 0; }
.cdh-bar a.cdh-bar__cta--ghost, .cdh-bar button.cdh-bar__cta--ghost { padding: 0 14px !important; background: rgba(255, 255, 255, 0.08) !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.16) !important; }
.cdh-bar .cdh-bar__cta:hover { transform: translateY(-1px); }
/* state visibility must win over the size overrides above */
.cdh-bar [data-for] { display: none !important; }
.cdh-bar[data-state="countdown"] [data-for~="countdown"],
.cdh-bar[data-state="live"] [data-for~="live"],
.cdh-bar[data-state="launched"] [data-for~="launched"] { display: inline-flex !important; }
.cdh-bar button.cdh-bar__cta[data-for], .cdh-bar a.cdh-bar__cta[data-for] { display: none !important; }
.cdh-bar[data-state="countdown"] a.cdh-bar__cta[data-for~="countdown"],
.cdh-bar[data-state="live"] button.cdh-bar__cta[data-for~="live"],
.cdh-bar[data-state="launched"] button.cdh-bar__cta[data-for~="launched"] { display: inline-flex !important; }

/* admin preview note */
.cdh-preview-note { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2147483001; padding: 10px 16px; border-radius: 999px; background: #ffb020; color: #16273d; font: 600 13px/1.2 Figtree, system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.35); white-space: nowrap; }
.cdh-preview-note a { color: #16273d; text-decoration: underline; margin-left: 8px; }


/* ---------- add to calendar: centred dialog ---------- */
.cdh__calpop { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 20px; color: #fff; -webkit-font-smoothing: antialiased; }
.cdh__calpop[hidden] { display: none !important; }
.cdh__calpop *, .cdh__calpop *::before, .cdh__calpop *::after { box-sizing: border-box; }
.cdh__calpop .cdh__modal-backdrop { position: absolute; inset: 0; background: var(--cdh-modal-bg, rgba(4, 8, 16, 0.82)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; transition: opacity 0.35s ease; animation: none; }
.cdh__calpop.is-open .cdh__modal-backdrop { opacity: 1; }
.cdh__calpop-card {
  position: relative; z-index: 1; width: min(100%, 440px); padding: 36px 32px 24px; border-radius: 28px;
  background: var(--cdh-pill-bg, rgba(10, 14, 22, 0.55)); border: 1px solid var(--cdh-pill-border, rgba(255, 255, 255, 0.14));
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 0 120px -40px var(--cdh-accent, #18c99e);
  transform: translateY(18px) scale(0.98); opacity: 0; transition: transform 0.6s var(--cdh-ease, cubic-bezier(0.16, 1, 0.3, 1)), opacity 0.35s ease;
}
.cdh__calpop.is-open .cdh__calpop-card { transform: none; opacity: 1; }
.cdh__calpop-close { position: absolute; top: 14px; right: 14px; }
.cdh__calpop-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 40px 8px 0; color: #fff; }
.cdh__calpop-sub { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.65); margin: 0 0 18px; }
.cdh__calpop .cdh__cal-menu { position: static !important; min-width: 0; padding: 0; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; display: flex; flex-direction: column; gap: 6px; }
.cdh__calpop .cdh__cal-item { padding: 14px 16px !important; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 16px !important; }
.cdh__calpop .cdh__cal-item:hover, .cdh__calpop .cdh__cal-item:focus-visible { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }
.cdh__calpop .cdh__cal-item svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .cdh__calpop { align-items: flex-end; padding: 12px; } .cdh__calpop-card { padding: 28px 20px 20px; border-radius: 24px; } }

/* while the broadcast player is open, freeze the atmosphere behind it (saves GPU, no competing motion) */
.cdh.is-player-open .cdh__grain, .cdh.is-player-open .cdh__rings span { animation-play-state: paused; }

/* corporate video in the player: no LIVE badge, no mission status strip */
.cdh__modal[data-kind="corp"] .cdh__live-badge, .cdh__modal[data-kind="corp"] .cdh__ms, .cdh__player[data-kind="corp"] .cdh__ms { display: none !important; }
.cdh__modal[data-kind="corp"] .cdh__modal-title { font-weight: 600; }
