:root {
  --celtic-blue: #1E70D6;
  --slate-blue: #6A5ACD;
  --night: #090C08;
  --baby-powder: #FFFCF7;
  --black08: rgba(0, 0, 0, 0.08);
  --black20: rgba(0, 0, 0, 0.20);
  --black40: rgba(0, 0, 0, 0.40);
  --black70: rgba(0, 0, 0, 0.70);
  --black80: rgba(0, 0, 0, 0.80);

  --page-bg: var(--baby-powder);
  --surface-bg: #FFFFFF;
  --surface-border: var(--black20);
  --surface-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --text-primary: var(--night);
  --text-secondary: var(--black70);
  --text-muted: var(--black40);
  --card-heading-color: var(--celtic-blue);
  --media-subtitle-color: rgba(9, 12, 8, 0.60);
  --chip-bg: #FFFFFF;
  --chip-fg: var(--night);
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-fg: var(--night);
  --nav-border: var(--black20);

  --hero-base: #050913;
  --hero-bg: radial-gradient(circle at 85% 20%, rgba(30, 112, 214, 0.30), transparent 48%),
             radial-gradient(circle at 25% 20%, rgba(106, 90, 205, 0.36), transparent 44%),
             var(--hero-base);

  --radius-xl: 28px;
  --radius-lg: 16px;
  --radius-md: 16px;
  --radius-pill: 28px;
  --duration: 0.25s ease-in-out;

  --heading-font-size: 18px;
  --heading-line-height: 24px;
  --subheading-font-size: 15px;
  --subheading-line-height: 20px;
  --title-font-size: 13px;
  --title-line-height: 18px;
  --body-font-size: 17px;
  --body-line-height: 24px;

  --section-inset-h: 16px;
  --section-inset-top: 16px;
  --section-inset-bottom: 8px;
  --section-side-offset: 16px;
  --section-gap: 12px;
  --carousel-item-gap: 8px;
  --carousel-horizontal-inset: var(--section-side-offset);
  --carousel-next-peek: 56px;
  --video-card-width: 280px;
  --selection-max-width: 1170px;

  --hero-content-max-width-large: 450px;
  --hero-content-max-width-compact: 311px;
  --hero-content-max-width-small: 288px;
  --hero-logo-max-width-large: 350px;
  --hero-logo-max-height-large: 110px;
  --hero-logo-max-width-compact: 280px;
  --hero-logo-max-height-compact: 94px;
  --hero-poster-large-width: 220px;
  --hero-poster-large-height: 330px;
  --hero-content-side-inset: clamp(20px, 4vw, 60px);
  --hero-content-bottom-inset: clamp(24px, 5vw, 52px);
  --hero-poster-gap: clamp(20px, 3vw, 36px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--text-primary);
  color-scheme: light dark;
  font-family: var(--font-sans);
}

body {
  padding: 0 max(0px, env(safe-area-inset-right)) max(0px, env(safe-area-inset-bottom)) max(0px, env(safe-area-inset-left));
  overflow-x: hidden;
}

.share-page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.share-hero {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  min-height: clamp(360px, 56vw, 640px);
  background: var(--hero-bg);
  border: 0;
  box-shadow: none;
  display: block;
}

.share-hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--hero-bg);
}

.share-hero-backdrop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.03);
}

.share-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 74% at 50% 10%, rgba(82, 112, 255, 0.16) 0%, rgba(82, 112, 255, 0) 68%),
    linear-gradient(90deg, rgba(5, 9, 19, 0.64) 0%, rgba(5, 9, 19, 0.20) 34%, rgba(5, 9, 19, 0.20) 66%, rgba(5, 9, 19, 0.64) 100%),
    linear-gradient(180deg, rgba(5, 9, 19, 0.04) 0%, rgba(5, 9, 19, 0.24) 34%, rgba(5, 9, 19, 0.68) 58%, rgba(5, 9, 19, 0.90) 74%, rgba(5, 9, 19, 0.97) 86%, var(--hero-base) 100%);
}

.share-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(72px, 16vw, 128px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 9, 19, 0) 0%, rgba(5, 9, 19, 0.78) 62%, var(--hero-base) 100%);
  z-index: 1;
}

.share-hero-content,
.share-hero-cover {
  position: relative;
  z-index: 2;
}

.share-hero-content {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: var(--hero-content-bottom-inset);
  width: min(var(--hero-content-max-width-large), calc(100% - (var(--hero-content-side-inset) * 2)));
  max-width: min(var(--hero-content-max-width-large), calc(100% - (var(--hero-content-side-inset) * 2)));
  transform: translateX(-50%);
  display: grid;
  gap: 12px;
  align-content: end;
  justify-items: center;
  text-align: center;
}

.share-hero.has-poster .share-hero-content {
  left: var(--hero-content-side-inset);
  right: var(--hero-content-side-inset);
  width: auto;
  max-width: clamp(
    220px,
    calc(100% - (var(--hero-content-side-inset) * 2) - var(--hero-poster-large-width) - var(--hero-poster-gap)),
    var(--hero-content-max-width-large)
  );
  transform: none;
  justify-items: start;
  text-align: left;
}

.share-hero-title {
  margin: 0;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 4.8vw, 68px);
  text-wrap: balance;
}

.share-hero-subtitle {
  margin: 0;
  color: rgba(229, 233, 241, 0.76);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-wrap: balance;
}

.share-hero-logo {
  display: block;
  max-width: min(var(--hero-logo-max-width-large), 100%);
  max-height: var(--hero-logo-max-height-large);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.share-hero.has-poster .share-hero-logo {
  margin-inline: 0;
}

.share-open-app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  max-width: 100%;
  align-self: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--black20);
  text-decoration: none;
  background: #FFFFFF;
  color: var(--night);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.11);
  transition: transform var(--duration), box-shadow var(--duration), opacity var(--duration);
}

.share-hero.has-poster .share-open-app-button {
  align-self: start;
}

.share-open-app-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.share-open-app-button:active {
  transform: translateY(0);
  opacity: 0.97;
}

.share-open-app-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 112, 214, 0.30), 0 10px 18px rgba(0, 0, 0, 0.15);
}

.share-open-app-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
  overflow: visible;
  transform: none;
}

.share-open-app-label {
  display: inline-block;
  font-weight: 550;
}

.share-hero-secondary-button {
  margin-top: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(30, 112, 214, 0.22);
  background: rgba(30, 112, 214, 0.06);
  color: var(--celtic-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: border-color var(--duration), background-color var(--duration);
}

.share-hero-secondary-button:hover {
  border-color: rgba(30, 112, 214, 0.34);
  background: rgba(30, 112, 214, 0.12);
}

.share-hero-cover {
  display: none;
  position: absolute;
  right: var(--hero-content-side-inset);
  bottom: var(--hero-content-bottom-inset);
  width: var(--hero-poster-large-width);
  height: var(--hero-poster-large-height);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 0.65px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.44);
}

.share-hero.has-poster .share-hero-cover {
  display: block;
}

.share-main {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.share-main-content {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  width: 100%;
  justify-items: center;
}

.share-main-content > * {
  min-width: 0;
  width: min(100%, var(--selection-max-width));
  max-width: var(--selection-max-width);
}

.share-open-app-card {
  display: grid;
  gap: 10px;
}

.share-hero-open-app {
  margin-top: 2px;
  width: auto;
  justify-self: center;
}

.share-hero.has-poster .share-hero-open-app {
  justify-self: start;
}

.share-card {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: var(--section-inset-top) var(--section-side-offset) var(--section-inset-bottom);
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
}

.share-card h2 {
  margin: 0 0 var(--section-gap);
  font-family: var(--font-display);
  font-size: var(--heading-font-size);
  letter-spacing: 0;
  line-height: var(--heading-line-height);
  color: var(--card-heading-color);
  font-weight: 600;
}

.share-description {
  margin: 0;
  color: var(--text-primary);
  line-height: var(--body-line-height);
  font-size: var(--body-font-size);
  font-weight: 400;
}

.share-card-videos {
  overflow: visible;
}

.share-card-videos h2 {
  margin-bottom: 4px;
}

.share-media-rail {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: 0;
}

.share-media-grid {
  display: flex;
  gap: var(--carousel-item-gap);
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 16px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.share-media-grid::-webkit-scrollbar {
  display: none;
}

.share-media-card {
  position: relative;
  z-index: 0;
  flex: 0 0 clamp(
    220px,
    calc(100% - var(--carousel-next-peek)),
    var(--video-card-width)
  );
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  border-radius: 0;
  padding: 0;
  border: none;
  transform-origin: center center;
  transition: transform var(--duration);
}

.share-media-grid::before {
  content: none;
  flex-basis: 0;
}

.share-media-grid::after {
  content: "";
  flex: 0 0 var(--section-side-offset);
}

.share-media-grid.is-single-item::after {
  content: none;
  flex-basis: 0;
}

.share-media-card:active {
  transform: scale(0.992);
}

.share-media-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 112, 214, 0.35);
}

.share-media-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  transform: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.28s ease-in-out, filter 0.28s ease-in-out;
}

.share-media-poster::before {
  content: "";
  position: absolute;
  inset: -24% -56%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(255, 255, 255, 0.10) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transform: translateX(-48%);
  animation: none;
  pointer-events: none;
  z-index: 2;
}

.share-media-poster::after {
  content: none !important;
}

@keyframes share-media-poster-shine-sweep {
  0% {
    opacity: 0;
    transform: translateX(-48%);
  }

  18% {
    opacity: 0.72;
  }

  52% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translateX(52%);
  }
}

.share-media-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform-origin: center center;
  transition: transform 0.28s ease-in-out, filter 0.28s ease-in-out;
  filter: none !important;
}

.share-media-poster-fade {
  display: none;
}

.share-media-capsule {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  z-index: 3;
}

@media (hover: hover) and (pointer: fine) {
  .share-media-card:hover,
  .share-media-card:focus-visible,
  .share-media-card:focus-within {
    z-index: 4;
    filter: none;
  }

  .share-media-card:hover .share-media-poster,
  .share-media-card:focus-visible .share-media-poster,
  .share-media-card:focus-within .share-media-poster {
    transform: none;
    filter: none;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  }

  .share-media-card:hover .share-media-poster::before,
  .share-media-card:focus-visible .share-media-poster::before,
  .share-media-card:focus-within .share-media-poster::before {
    animation: share-media-poster-shine-sweep 0.58s cubic-bezier(0.22, 0.61, 0.36, 1) 1;
  }

  .share-media-card:hover .share-media-poster img,
  .share-media-card:focus-visible .share-media-poster img,
  .share-media-card:focus-within .share-media-poster img {
    transform: scale(1.04);
    filter: saturate(1.07) contrast(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .share-media-poster,
  .share-media-poster::before,
  .share-media-poster img {
    transition-duration: 0.12s;
    animation: none !important;
  }

  .share-media-card:hover .share-media-poster::before,
  .share-media-card:focus-visible .share-media-poster::before,
  .share-media-card:focus-within .share-media-poster::before {
    transform: translateX(-48%);
    opacity: 0;
  }

  .share-media-card:hover .share-media-poster img,
  .share-media-card:focus-visible .share-media-poster img,
  .share-media-card:focus-within .share-media-poster img {
    transform: scale(1.02);
    filter: saturate(1.03) contrast(1.01);
  }
}

.share-media-capsule-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.share-media-capsule-text {
  font-family: var(--font-accent);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.share-media-title {
  color: var(--text-primary);
  line-height: var(--title-line-height);
  font-size: var(--title-font-size);
  font-weight: 400;
}

.share-media-subtitle {
  margin-top: -6px;
  color: var(--media-subtitle-color);
  line-height: var(--title-line-height);
  font-size: var(--title-font-size);
  font-weight: 400;
}

.share-media-nav-button {
  position: absolute;
  top: var(--share-media-nav-top, calc((var(--video-card-width) * 9 / 16) / 2));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg);
  color: var(--nav-fg);
  border: 1px solid var(--nav-border);
  backdrop-filter: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  z-index: 7;
  transition: opacity var(--duration), transform var(--duration), box-shadow var(--duration), visibility 0s linear var(--duration);
}

.share-media-prev-button {
  left: 8px;
}

.share-media-next-button {
  right: 8px;
}

.share-media-nav-button.is-visible {
  transition-delay: 0s;
}

.share-media-rail:hover .share-media-nav-button.is-visible,
.share-media-rail:focus-within .share-media-nav-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.share-media-nav-button.is-visible:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.20);
}

.share-media-nav-button.is-visible:active {
  transform: translateY(-50%) scale(0.98);
}

.share-media-nav-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 112, 214, 0.28), 0 12px 24px rgba(0, 0, 0, 0.20);
}

.share-media-nav-button:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.share-media-nav-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.share-details-list {
  margin: 0;
  display: grid;
  gap: 18px;
}

.share-details-row {
  margin: 0;
  padding: 0;
}

.share-details-row dt {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0;
}

.share-details-row dd {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

.share-details-platform-groups {
  display: grid;
  gap: 12px;
}

.share-details-platform-group {
  display: grid;
  gap: 2px;
}

.share-details-platforms {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.share-details-platform-date {
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-accent);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.share-noscript {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.share-fetch-fallback {
  margin: 0 var(--section-side-offset) 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.event-fallback-page {
  --event-fallback-button-bg: var(--celtic-blue);
  --event-fallback-button-fg: #FFFFFF;
  --event-fallback-icon-shadow: 0 10px 24px rgba(9, 12, 8, 0.10);

  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(var(--root-header-height) + env(safe-area-inset-top) + 24px)
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.event-fallback-shell {
  width: min(100%, 300px);
}

.event-fallback-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.event-fallback-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  box-shadow: var(--event-fallback-icon-shadow);
}

.event-fallback-copy {
  display: grid;
  gap: 6px;
}

.event-fallback-title {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

.event-fallback-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

.event-fallback-button {
  min-width: 184px;
  min-height: 44px;
  margin-top: 4px;
  border-color: transparent;
  background: var(--event-fallback-button-bg);
  color: var(--event-fallback-button-fg);
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
}

.event-fallback-button .share-open-app-label {
  font-weight: 500;
}

.event-fallback-button:hover {
  transform: none;
  box-shadow: none;
}

.event-fallback-button:focus-visible {
  outline: 2px solid var(--event-fallback-button-bg);
  outline-offset: 3px;
  box-shadow: none;
}

.event-fallback-noscript {
  text-align: center;
}

.share-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

.share-page.layout-compact .share-hero,
.share-page.layout-small .share-hero {
  min-height: clamp(420px, 104vw, 680px);
}

.share-page.layout-compact .share-hero-content,
.share-page.layout-small .share-hero-content {
  left: 50%;
  right: auto;
  bottom: clamp(20px, 4.2vw, 40px);
  width: min(var(--hero-content-max-width-compact), calc(100% - 40px));
  max-width: min(var(--hero-content-max-width-compact), calc(100% - 40px));
  transform: translateX(-50%);
  justify-items: center;
  text-align: center;
}

.share-page.layout-compact .share-hero.has-poster .share-hero-content,
.share-page.layout-small .share-hero.has-poster .share-hero-content {
  left: 50%;
  right: auto;
  width: min(var(--hero-content-max-width-compact), calc(100% - 40px));
  max-width: min(var(--hero-content-max-width-compact), calc(100% - 40px));
  transform: translateX(-50%);
  justify-items: center;
  text-align: center;
}

.share-page.layout-compact .share-hero-open-app,
.share-page.layout-small .share-hero-open-app {
  width: 100%;
  justify-self: center;
}

.share-page.layout-compact .share-open-app-button,
.share-page.layout-small .share-open-app-button {
  align-self: center;
}

.share-page.layout-compact .share-hero.has-poster .share-open-app-button,
.share-page.layout-small .share-hero.has-poster .share-open-app-button {
  align-self: center;
}

.share-page.layout-compact .share-hero-cover,
.share-page.layout-small .share-hero-cover,
.share-page.layout-compact .share-hero.has-poster .share-hero-cover,
.share-page.layout-small .share-hero.has-poster .share-hero-cover {
  display: none;
}

.share-page.layout-compact .share-hero.has-poster .share-hero-open-app,
.share-page.layout-small .share-hero.has-poster .share-hero-open-app {
  justify-self: center;
}

.share-page.layout-compact .share-hero-title {
  font-size: clamp(28px, 5.6vw, 34px);
}

.share-page.layout-compact .share-hero-subtitle {
  font-size: 15px;
  line-height: 22px;
}

.share-page.layout-compact .share-hero-logo {
  display: block !important;
  max-width: min(260px, 100%);
  max-height: 94px;
  margin-inline: auto;
}

.share-page.layout-small {
  --carousel-next-peek: 44px;
}

.share-page.layout-small .share-hero {
  min-height: clamp(460px, 128vw, 720px);
}

.share-page.layout-small .share-hero-content {
  width: min(var(--hero-content-max-width-small), calc(100% - 32px));
  max-width: min(var(--hero-content-max-width-small), calc(100% - 32px));
  bottom: clamp(22px, 7vw, 40px);
}

.share-page.layout-small .share-hero.has-poster .share-hero-content {
  width: min(var(--hero-content-max-width-small), calc(100% - 32px));
  max-width: min(var(--hero-content-max-width-small), calc(100% - 32px));
  bottom: clamp(22px, 7vw, 40px);
}

.share-page.layout-small .share-hero-title {
  font-size: clamp(26px, 7.6vw, 38px);
}

.share-page.layout-small .share-open-app-button {
  min-height: 42px;
  border-radius: 22px;
  padding: 0 14px;
  font-size: 14px;
  gap: 8px;
}

.share-page.layout-small .share-open-app-icon {
  width: 15px;
  height: 15px;
}

.share-page.layout-small .share-hero-logo {
  display: block !important;
  max-width: min(236px, 100%);
  max-height: 96px;
  margin-inline: auto;
}

.share-page.layout-small .share-hero-subtitle {
  font-size: 14px;
  line-height: 20px;
}

.share-page.layout-small .share-media-nav-button {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: var(--night);
    --surface-bg: #111611;
    --surface-border: rgba(255, 252, 247, 0.22);
    --surface-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    --text-primary: var(--baby-powder);
    --text-secondary: rgba(255, 252, 247, 0.78);
    --text-muted: rgba(255, 252, 247, 0.60);
    --card-heading-color: #5E9CF0;
    --media-subtitle-color: rgba(255, 252, 247, 0.66);
    --chip-bg: rgba(255, 252, 247, 0.96);
    --chip-fg: var(--night);
    --nav-bg: rgba(9, 12, 8, 0.82);
    --nav-fg: var(--baby-powder);
    --nav-border: rgba(255, 252, 247, 0.22);
  }

  html,
  body {
    color-scheme: dark;
  }

  .share-media-poster {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 252, 247, 0.10);
  }

  .share-media-card:hover .share-media-poster,
  .share-media-card:focus-visible .share-media-poster,
  .share-media-card:focus-within .share-media-poster {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.50), inset 0 0 0 1px rgba(255, 252, 247, 0.16);
  }

  .share-hero-secondary-button {
    border-color: rgba(30, 112, 214, 0.42);
    background: rgba(30, 112, 214, 0.22);
    color: #84B3FF;
  }

  .share-hero-secondary-button:hover {
    border-color: rgba(30, 112, 214, 0.56);
    background: rgba(30, 112, 214, 0.30);
  }

  .event-fallback-page {
    --event-fallback-icon-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
  }
}

@media (max-width: 1199px) {
  .share-hero-title {
    font-size: clamp(28px, 4.2vw, 36px);
  }
}

@media (min-width: 720px) {
  :root {
    --video-card-width: 304px;
  }
}

@media (min-width: 1180px) {
  :root {
    --video-card-width: 376px;
  }
}

@media (hover: none), (pointer: coarse) {
  .share-media-nav-button {
    display: none !important;
  }
}
