/*
 * Christmas 2026 season (scripts/seasonal-christmas-2026.js adds .season-xmas
 * to <html> only inside the date window). Every rule is scoped to that class,
 * so the pages look exactly as before when the season is switched off.
 * 1rem = 10px on these pages.
 */
.season-xmas {
   --xmas-purple-deep: #2a0866;
   --xmas-purple: #4b17b0;
   --xmas-purple-bright: #6a2fd6;
   --xmas-red: #d7193f;
   --xmas-red-dark: #9e0c28;
   --xmas-gold: #ffc61a;
   --xmas-green: #1f9d55;
   --xmas-flake: rgba(255, 255, 255, 0.72);
}

/* ---- Snowfall (decorative, aria-hidden) -------------------------------- */

.season-xmas .xmas-snow {
   position: absolute;
   top: 0;
   left: 0;
   z-index: 5;
   width: 100%;
   height: 100vh;
   height: 100svh;
   overflow: hidden;
   pointer-events: none;
   -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
   mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.season-xmas .xmas-snow--light-page {
   --xmas-flake: rgba(126, 74, 214, 0.42);
}

.season-xmas .xmas-snow__layer {
   position: absolute;
   top: -36rem;
   left: 0;
   width: 100%;
   height: calc(100% + 36rem);
   background-repeat: repeat;
   will-change: transform;
   animation: xmas-snowfall 22s linear infinite;
}

.season-xmas .xmas-snow__layer--near {
   background-image:
      radial-gradient(circle at 20px 30px, var(--xmas-flake) 0 2.6px, transparent 3.2px),
      radial-gradient(circle at 110px 80px, var(--xmas-flake) 0 2px, transparent 2.6px),
      radial-gradient(circle at 60px 140px, var(--xmas-flake) 0 2.8px, transparent 3.4px),
      radial-gradient(circle at 150px 160px, var(--xmas-flake) 0 1.8px, transparent 2.4px);
   background-size: 180px 180px;
}

.season-xmas .xmas-snow__layer--far {
   opacity: 0.7;
   background-image:
      radial-gradient(circle at 30px 20px, var(--xmas-flake) 0 1.4px, transparent 2px),
      radial-gradient(circle at 90px 70px, var(--xmas-flake) 0 1.2px, transparent 1.8px),
      radial-gradient(circle at 50px 100px, var(--xmas-flake) 0 1.5px, transparent 2.1px);
   background-size: 120px 120px;
   animation-duration: 38s;
}

/* 36rem is a whole number of tiles for both layers, so the loop is seamless. */
@keyframes xmas-snowfall {
   from { transform: translate3d(0, 0, 0); }
   to { transform: translate3d(0, 36rem, 0); }
}

@media (prefers-reduced-motion: reduce) {
   .season-xmas .xmas-snow__layer {
      animation: none;
      will-change: auto;
   }
}

/* ---- Festive accents on the original pages ------------------------------ */

/* Homepage: the Heroes of Chess tile wears a snow cap and a gold ring. */
.season-xmas .academy__program-tile--chess {
   box-shadow: 0 0 0 3px var(--xmas-gold), 0 6px 22px rgba(215, 25, 63, 0.4);
}

.season-xmas .academy__program-tile--chess::before {
   content: "";
   position: absolute;
   top: -1px;
   left: 0;
   right: 0;
   z-index: 2;
   height: 16%;
   min-height: 10px;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h200v10c-8 0-9 9-17 9s-10-7-18-7-9 11-18 11-9-9-17-9-10 6-18 6-9-8-17-8-10 10-19 10-9-9-17-9-10 7-18 7-9-8-17-8-9 9-18 9S0 12 0 12z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
   filter: drop-shadow(0 2px 2px rgba(60, 9, 108, 0.25));
   pointer-events: none;
}

.season-xmas .academy__program-card {
   box-shadow: 1px 1px 20px rgba(91, 91, 91, 0.44), 0 0 0 2px rgba(255, 198, 26, 0.55);
}

/* Homepage: a soft festive tint behind the hero. */
.season-xmas .academy {
   background:
      radial-gradient(120% 55% at 50% 0%, rgba(223, 192, 255, 0.5) 0%, rgba(223, 192, 255, 0) 70%),
      radial-gradient(55% 45% at 0% 100%, rgba(215, 25, 63, 0.08) 0%, rgba(215, 25, 63, 0) 70%),
      radial-gradient(55% 45% at 100% 100%, rgba(255, 198, 26, 0.14) 0%, rgba(255, 198, 26, 0) 70%),
      #fffdfb;
}

/* Homepage: a garland of lights along the top of the hero (aria-hidden). */
.season-xmas .xmas-garland {
   position: absolute;
   top: 0;
   left: 0;
   z-index: 2;
   width: 100%;
   height: 4.4rem;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 44'%3E%3Cpath d='M0 4Q40 26 80 4Q120 26 160 4' fill='none' stroke='%232f6b3a' stroke-width='2'/%3E%3Crect x='17' y='10.5' width='6' height='5' rx='1' fill='%238d7f9c'/%3E%3Cellipse cx='20' cy='22' rx='4.5' ry='6.5' fill='%23d7193f'/%3E%3Cellipse cx='18.5' cy='19.5' rx='1.2' ry='2' fill='%23fff' opacity='.6'/%3E%3Crect x='57' y='10.5' width='6' height='5' rx='1' fill='%238d7f9c'/%3E%3Cellipse cx='60' cy='22' rx='4.5' ry='6.5' fill='%23ffc61a'/%3E%3Cellipse cx='58.5' cy='19.5' rx='1.2' ry='2' fill='%23fff' opacity='.6'/%3E%3Crect x='97' y='10.5' width='6' height='5' rx='1' fill='%238d7f9c'/%3E%3Cellipse cx='100' cy='22' rx='4.5' ry='6.5' fill='%236a2fd6'/%3E%3Cellipse cx='98.5' cy='19.5' rx='1.2' ry='2' fill='%23fff' opacity='.6'/%3E%3Crect x='137' y='10.5' width='6' height='5' rx='1' fill='%238d7f9c'/%3E%3Cellipse cx='140' cy='22' rx='4.5' ry='6.5' fill='%231f9d55'/%3E%3Cellipse cx='138.5' cy='19.5' rx='1.2' ry='2' fill='%23fff' opacity='.6'/%3E%3C/svg%3E") 0 0 / 16rem 4.4rem repeat-x;
   pointer-events: none;
}

.season-xmas .xmas-garland::before,
.season-xmas .xmas-garland::after {
   content: "";
   position: absolute;
   inset: 0;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 44'%3E%3Ccircle cx='20' cy='22' r='11' fill='%23ff3b5f' opacity='.28'/%3E%3Ccircle cx='100' cy='22' r='11' fill='%239b6bff' opacity='.28'/%3E%3C/svg%3E") 0 0 / 16rem 4.4rem repeat-x;
   animation: xmas-twinkle 2.4s ease-in-out infinite alternate;
}

.season-xmas .xmas-garland::after {
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 44'%3E%3Ccircle cx='60' cy='22' r='11' fill='%23ffd54a' opacity='.28'/%3E%3Ccircle cx='140' cy='22' r='11' fill='%233fd17f' opacity='.28'/%3E%3C/svg%3E");
   animation-delay: -1.2s;
}

@keyframes xmas-twinkle {
   from { opacity: 0.15; }
   to { opacity: 1; }
}

/* Homepage: a Santa hat on the "H" and gold sparkles around the HOC logo. */
.season-xmas .academy__logo::before {
   content: "";
   position: absolute;
   z-index: 1;
   top: -12%;
   left: -8%;
   width: 31%;
   aspect-ratio: 4 / 3;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cpath fill='%23d7193f' d='M18 66C24 34 46 10 76 12c16 1 28 12 32 26-10-7-20-7-28-2 5 10 8 20 8 30z'/%3E%3Cpath fill='%239e0c28' opacity='.55' d='M80 36c5 10 8 20 8 30H78c0-10-2-20-6-27z'/%3E%3Crect x='8' y='60' width='88' height='22' rx='11' fill='%23fff' stroke='%23e4daf3' stroke-width='2'/%3E%3Ccircle cx='106' cy='40' r='10' fill='%23fff' stroke='%23e4daf3' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
   transform: rotate(-16deg);
   filter: drop-shadow(0 3px 4px rgba(60, 9, 108, 0.25));
   pointer-events: none;
}

.season-xmas .academy__logo::after {
   content: "";
   position: absolute;
   top: -14%;
   right: -24%;
   bottom: -4%;
   left: -24%;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Cpath fill='%23ffc61a' transform='translate(10 16) scale(0.9)' d='M0-10C1-3 3-1 10 0 3 1 1 3 0 10-1 3-3 1-10 0-3-1-1-3 0-10z'/%3E%3Cpath fill='%23ffb600' transform='translate(150 10) scale(0.75)' d='M0-10C1-3 3-1 10 0 3 1 1 3 0 10-1 3-3 1-10 0-3-1-1-3 0-10z'/%3E%3Cpath fill='%23ffc61a' transform='translate(154 58) scale(0.55)' d='M0-10C1-3 3-1 10 0 3 1 1 3 0 10-1 3-3 1-10 0-3-1-1-3 0-10z'/%3E%3Cpath fill='%23ffb600' transform='translate(6 72) scale(0.6)' d='M0-10C1-3 3-1 10 0 3 1 1 3 0 10-1 3-3 1-10 0-3-1-1-3 0-10z'/%3E%3Cpath fill='%23ffc61a' transform='translate(140 88) scale(0.45)' d='M0-10C1-3 3-1 10 0 3 1 1 3 0 10-1 3-3 1-10 0-3-1-1-3 0-10z'/%3E%3Cpath fill='%23ffc61a' transform='translate(24 94) scale(0.4)' d='M0-10C1-3 3-1 10 0 3 1 1 3 0 10-1 3-3 1-10 0-3-1-1-3 0-10z'/%3E%3Ccircle cx='136' cy='30' r='1.6' fill='%23d7193f'/%3E%3Ccircle cx='22' cy='42' r='1.4' fill='%23d7193f'/%3E%3Ccircle cx='120' cy='6' r='1.2' fill='%23ffc61a'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
   animation: xmas-sparkle 2.8s ease-in-out infinite alternate;
   pointer-events: none;
}

@keyframes xmas-sparkle {
   from { opacity: 0.5; }
   to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
   .season-xmas .xmas-garland::before,
   .season-xmas .xmas-garland::after {
      animation: none;
      opacity: 0.6;
   }

   .season-xmas .academy__logo::after {
      animation: none;
   }
}

/* Heroes of Chess page: the schools button becomes the tournament button. */
.season-xmas .chess-hero__button.xmas-invite__hero-button {
   padding: 0 0.6rem;
   color: #ffffff;
   background: linear-gradient(180deg, var(--xmas-red) 0%, var(--xmas-red-dark) 100%);
   box-shadow: inset 0 0 0 2px var(--xmas-gold), 0 4px 14px rgba(158, 12, 40, 0.45);
   font-size: 1.45rem;
   line-height: 1.1;
}

.season-xmas .chess-hero__button.xmas-invite__hero-button:focus-visible {
   outline: 3px solid var(--xmas-gold);
   outline-offset: 3px;
}

@media (min-width: 1100px) {
   .season-xmas .chess-hero__button.xmas-invite__hero-button {
      font-size: 1.7rem;
   }
}

/* ---- Homepage tournament card ------------------------------------------- */

.season-xmas .xmas-invite--card {
   position: relative;
   z-index: 2;
   display: grid;
   grid-template-columns: 8.4rem minmax(0, 1fr);
   gap: 1.2rem 1.4rem;
   align-items: center;
   width: calc(100% - 3.2rem);
   max-width: 36.1rem;
   margin: 0 auto 3.2rem;
   padding: 1.4rem;
   border: 2px solid var(--xmas-gold);
   border-radius: 2rem;
   color: #ffffff;
   background:
      radial-gradient(90% 120% at 100% 0%, rgba(215, 25, 63, 0.35) 0%, rgba(215, 25, 63, 0) 60%),
      linear-gradient(160deg, var(--xmas-purple-bright) 0%, var(--xmas-purple) 45%, var(--xmas-purple-deep) 100%);
   box-shadow: 0 1.2rem 3.2rem rgba(42, 8, 102, 0.35);
   font-family: "Inter", "Poppins", Arial, sans-serif;
}

.season-xmas .xmas-invite__card-thumb {
   display: block;
   width: 100%;
   height: auto;
   aspect-ratio: 2 / 3;
   object-fit: cover;
   border: 2px solid rgba(255, 255, 255, 0.85);
   border-radius: 1rem;
   box-shadow: 0 0.6rem 1.6rem rgba(10, 0, 30, 0.4);
   background: var(--xmas-purple);
}

.season-xmas .xmas-invite__card-body {
   min-width: 0;
}

.season-xmas .xmas-invite__card-title {
   margin: 0 0 0.2rem;
   color: #ffffff;
   font-family: "Poppins", "Inter", Arial, sans-serif;
   font-size: 1.7rem;
   font-weight: 800;
   line-height: 1.25;
}

.season-xmas .xmas-invite__card-icon {
   margin-right: 0.4rem;
}

.season-xmas .xmas-invite__card-when {
   margin: 0 0 0.6rem;
   color: var(--xmas-gold);
   font-size: 1.4rem;
   font-weight: 700;
   line-height: 1.3;
}

.season-xmas .xmas-invite__card-meta {
   margin: 0 0 0.8rem;
   font-size: 1.3rem;
   line-height: 1.4;
   opacity: 0.92;
}

.season-xmas .xmas-invite__card-seats {
   display: inline-block;
   margin: 0;
   padding: 0.4rem 1rem;
   border-radius: 999px;
   color: var(--xmas-purple-deep);
   background: var(--xmas-gold);
   font-size: 1.25rem;
   font-weight: 800;
   line-height: 1.3;
}

.season-xmas .xmas-invite__card-seats[hidden] {
   display: none;
}

.season-xmas .xmas-invite__card-button {
   grid-column: 1 / -1;
}

@media (min-width: 761px) {
   .season-xmas .xmas-invite--card {
      grid-template-columns: 9.6rem minmax(0, 1fr) auto;
      gap: 2rem;
      max-width: 76rem;
      margin-top: 0.8rem;
      padding: 1.6rem 2.4rem 1.6rem 1.6rem;
   }

   .season-xmas .xmas-invite__card-title {
      font-size: 2.2rem;
   }

   .season-xmas .xmas-invite__card-when {
      font-size: 1.6rem;
   }

   .season-xmas .xmas-invite__card-meta {
      font-size: 1.4rem;
   }

   .season-xmas .xmas-invite__card-button {
      grid-column: auto;
      white-space: nowrap;
   }
}

/* ---- Ribbon ------------------------------------------------------------- */

.season-xmas .xmas-invite--ribbon {
   position: relative;
   z-index: 6;
   border-bottom: 3px solid var(--xmas-gold);
   border-image: linear-gradient(90deg, var(--xmas-green) 0 33.3%, var(--xmas-gold) 33.3% 66.6%, var(--xmas-red) 66.6%) 1;
   background: linear-gradient(90deg, var(--xmas-purple-deep) 0%, var(--xmas-purple) 50%, var(--xmas-purple-deep) 100%);
   font-family: "Poppins", "Inter", Arial, sans-serif;
}

.season-xmas .xmas-invite__ribbon-link {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0.8rem;
   min-height: 4.4rem;
   padding: 0.7rem 1.6rem;
   color: #ffffff;
   font-size: 1.3rem;
   font-weight: 600;
   line-height: 1.35;
   text-align: center;
   text-decoration: none;
}

.season-xmas .xmas-invite__ribbon-link:hover .xmas-invite__ribbon-text {
   text-decoration: underline;
   text-underline-offset: 0.3rem;
}

.season-xmas .xmas-invite__ribbon-link:focus-visible {
   outline: 3px solid var(--xmas-gold);
   outline-offset: -5px;
}

.season-xmas .xmas-invite__ribbon-icon {
   flex: 0 0 auto;
   font-size: 1.7rem;
   line-height: 1;
}

.season-xmas .xmas-invite__ribbon-text {
   min-width: 0;
}

.season-xmas .xmas-invite__ribbon-extra {
   display: none;
}

.season-xmas .xmas-invite__ribbon-arrow {
   flex: 0 0 auto;
   color: var(--xmas-gold);
   font-weight: 700;
}

@media (min-width: 600px) {
   .season-xmas .xmas-invite__ribbon-link {
      font-size: 1.4rem;
   }

   .season-xmas .xmas-invite__ribbon-extra {
      display: inline;
   }
}

/* ---- Invitation dialog -------------------------------------------------- */

.season-xmas .xmas-invite--dialog {
   position: fixed;
   inset: 0;
   /* Above the cookie banner, like the site's other dialogs. */
   z-index: 10000;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 1.6rem;
   font-family: "Inter", "Poppins", Arial, sans-serif;
}

.season-xmas .xmas-invite--dialog[hidden] {
   display: none;
}

.season-xmas .xmas-invite__backdrop {
   position: absolute;
   inset: 0;
   background: rgba(20, 4, 48, 0.72);
}

.season-xmas .xmas-invite__panel {
   position: relative;
   width: min(100%, 42rem);
   max-height: calc(100vh - 3.2rem);
   max-height: calc(100dvh - 3.2rem);
   overflow-y: auto;
   overscroll-behavior: contain;
   border: 2px solid var(--xmas-gold);
   border-radius: 2rem;
   color: #ffffff;
   background: linear-gradient(170deg, var(--xmas-purple) 0%, var(--xmas-purple-deep) 75%);
   box-shadow: 0 2.4rem 6rem rgba(10, 0, 30, 0.55);
}

.season-xmas .xmas-invite__panel:focus {
   outline: none;
}

.season-xmas .xmas-invite__panel:focus-visible {
   outline: 3px solid var(--xmas-gold);
   outline-offset: 3px;
}

.season-xmas .xmas-invite--dialog.is-open .xmas-invite__panel {
   animation: xmas-invite-in 240ms ease-out both;
}

@keyframes xmas-invite-in {
   from { opacity: 0; transform: translateY(1.6rem) scale(0.98); }
   to { opacity: 1; transform: none; }
}

.season-xmas .xmas-invite__close {
   position: absolute;
   top: 0.8rem;
   right: 0.8rem;
   z-index: 2;
   display: grid;
   place-items: center;
   width: 4.4rem;
   height: 4.4rem;
   padding: 0;
   border: 0;
   border-radius: 50%;
   color: #ffffff;
   background: rgba(20, 4, 48, 0.78);
   font-size: 2.8rem;
   line-height: 1;
   cursor: pointer;
}

.season-xmas .xmas-invite__media {
   overflow: hidden;
   border-radius: 1.8rem 1.8rem 0 0;
   background: var(--xmas-purple);
}

/* On phones only the top of the poster shows: the prize and the title. */
.season-xmas .xmas-invite__poster {
   display: block;
   width: 100%;
   height: auto;
   aspect-ratio: 4 / 3;
   object-fit: cover;
   object-position: 50% 0;
}

.season-xmas .xmas-invite__body {
   padding: 1.6rem 2rem 2rem;
}

.season-xmas .xmas-invite__eyebrow {
   margin: 0 0 0.4rem;
   color: var(--xmas-gold);
   font-size: 1.4rem;
   font-weight: 700;
   line-height: 1.35;
}

.season-xmas .xmas-invite__title {
   margin: 0 0 1.2rem;
   color: #ffffff;
   font-family: "Poppins", "Inter", Arial, sans-serif;
   font-size: 2.4rem;
   font-weight: 800;
   line-height: 1.15;
}

.season-xmas .xmas-invite__facts {
   display: grid;
   gap: 0.6rem;
   margin: 0 0 1.4rem;
   padding: 0;
   list-style: none;
   font-size: 1.5rem;
   line-height: 1.4;
}

.season-xmas .xmas-invite__fact {
   position: relative;
   padding-left: 2.6rem;
}

.season-xmas .xmas-invite__fact::before {
   position: absolute;
   left: 0;
   top: 0;
   width: 2rem;
   text-align: center;
}

.season-xmas .xmas-invite__fact--date::before { content: "📅" / ""; }
.season-xmas .xmas-invite__fact--place::before { content: "📍" / ""; }
.season-xmas .xmas-invite__fact--age::before { content: "♞" / ""; color: var(--xmas-gold); }

.season-xmas .xmas-invite__availability {
   display: grid;
   gap: 0.6rem;
   margin: 0 0 1.4rem;
}

.season-xmas .xmas-invite__status {
   margin: 0;
   padding: 0.9rem 1.2rem;
   border-radius: 1.2rem;
   color: var(--xmas-purple-deep);
   background: var(--xmas-gold);
   font-size: 1.5rem;
   font-weight: 800;
   line-height: 1.3;
   text-align: center;
}

.season-xmas .xmas-invite__seats {
   margin: 0;
   color: #ffffff;
   font-size: 1.4rem;
   font-weight: 700;
   text-align: center;
}

.season-xmas .xmas-invite__seats[hidden] {
   display: none;
}

.season-xmas .xmas-invite__prize {
   position: relative;
   margin: 0 0 1.8rem;
   padding: 1rem 1.2rem 1rem 4.2rem;
   border: 1px solid rgba(255, 198, 26, 0.5);
   border-radius: 1.2rem;
   background: rgba(255, 255, 255, 0.08);
   font-size: 1.4rem;
   line-height: 1.45;
}

.season-xmas .xmas-invite__prize::before {
   content: "🏆" / "";
   position: absolute;
   left: 1.2rem;
   top: 0.9rem;
   font-size: 2rem;
   line-height: 1.2;
}

.season-xmas .xmas-invite__actions {
   display: grid;
   gap: 1rem;
}

.season-xmas .xmas-invite__button {
   display: flex;
   align-items: center;
   justify-content: center;
   min-height: 4.8rem;
   padding: 1rem 2rem;
   border-radius: 999px;
   font-family: "Poppins", "Inter", Arial, sans-serif;
   font-size: 1.6rem;
   font-weight: 700;
   line-height: 1.2;
   text-align: center;
   text-decoration: none;
   cursor: pointer;
}

.season-xmas .xmas-invite__button--primary {
   border: 2px solid var(--xmas-gold);
   color: #ffffff;
   background: linear-gradient(180deg, var(--xmas-red) 0%, var(--xmas-red-dark) 100%);
   box-shadow: 0 6px 18px rgba(158, 12, 40, 0.5);
}

.season-xmas .xmas-invite__button--primary:hover {
   filter: brightness(1.08);
}

.season-xmas .xmas-invite__button--secondary {
   border: 2px solid rgba(255, 255, 255, 0.6);
   color: #ffffff;
   background: transparent;
}

.season-xmas .xmas-invite__button--secondary:hover {
   background: rgba(255, 255, 255, 0.1);
}

.season-xmas .xmas-invite__button:focus-visible,
.season-xmas .xmas-invite__close:focus-visible {
   outline: 3px solid var(--xmas-gold);
   outline-offset: 3px;
}

@media (max-width: 759px) {
   /* The two buttons stay in reach while the rest of the card scrolls. */
   .season-xmas .xmas-invite__actions {
      position: sticky;
      bottom: 0;
      margin: 0 -2rem -2rem;
      padding: 1.2rem 2rem 2rem;
      background: linear-gradient(180deg, rgba(42, 8, 102, 0) 0, var(--xmas-purple-deep) 1.2rem);
   }
}

/* Short phone screens: a slimmer slice of the poster. */
@media (max-height: 700px) and (max-width: 759px) {
   .season-xmas .xmas-invite__poster {
      /* Just the prize and the children, above the title box. */
      aspect-ratio: 9 / 4;
   }
}

@media (min-width: 760px) {
   .season-xmas .xmas-invite--dialog {
      padding: 3.2rem;
   }

   .season-xmas .xmas-invite__panel {
      display: grid;
      grid-template-columns: 34rem minmax(0, 1fr);
      width: min(100%, 82rem);
      max-height: calc(100vh - 6.4rem);
      max-height: calc(100dvh - 6.4rem);
   }

   .season-xmas .xmas-invite__media {
      border-radius: 1.8rem 0 0 1.8rem;
   }

   .season-xmas .xmas-invite__poster {
      height: 100%;
      aspect-ratio: 2 / 3;
      object-position: 50% 0;
   }

   .season-xmas .xmas-invite__body {
      align-self: center;
      padding: 3.2rem 3.2rem 3.2rem 2.8rem;
   }

   .season-xmas .xmas-invite__title {
      font-size: 3rem;
   }

   .season-xmas .xmas-invite__actions {
      grid-template-columns: 1fr auto;
   }
}

@media (prefers-reduced-motion: reduce) {
   .season-xmas .xmas-invite--dialog.is-open .xmas-invite__panel {
      animation: none;
   }
}
