/* Selector styles; approved homepage dependencies remain unchanged. */
.christmas-team { position: sticky; top: 24px; padding: 28px 18px; border-radius: 24px; background: radial-gradient(ellipse at center, #fffaf0, #e8efe9); color: #173e2e; text-align: center; }
.christmas-team h2 { font-size: clamp(23px, 3vw, 34px); overflow-wrap: anywhere; }
.christmas-team-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.christmas-team-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px; }
.christmas-team-pair figure { min-width: 0; margin: 0; }
.christmas-team-pair img { width: 100%; height: clamp(150px, 24vw, 300px); object-fit: contain; }
.christmas-team-pair figcaption { margin: 12px 0; font-weight: 700; font-size: 14px; }
.christmas-journey .personalise-card { width: auto; }
.christmas-journey fieldset { border: 0; padding: 0; margin: 20px 0; }
.christmas-journey legend { font-weight: 700; margin-bottom: 12px; }
.christmas-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.christmas-choice-grid button { position: relative; min-width: 0; min-height: 120px; padding: 10px 6px; border: 2px solid #d8c89e; border-radius: 12px; background: #fffaf0; color: #153a2c; cursor: pointer; font: inherit; font-size: 12px; }
.christmas-choice-grid button img { display: block; width: 100%; height: 100px; object-fit: contain; margin-bottom: 8px; }
.christmas-choice-grid button span { display: block; font-weight: 700; }
.christmas-choice-grid button small { font-size: 11px; }
.christmas-choice-grid button[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 4px; right: 5px; width: 20px; height: 20px; border-radius: 50%; background: #173e2e; color: white; line-height: 20px; }
#christmasName { width: 100%; padding: 12px; border: 1px solid #c9b784; border-radius: 8px; box-sizing: border-box; }
#christmasReleaseStatus { font-size: 14px; }
@media (max-width: 700px) { .christmas-journey { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; } .christmas-team { position: static; padding: 20px 12px; } .christmas-team-pair img { height: 180px; } .theme-option { padding: 16px 8px; } .theme-option strong { font-size: 18px; } }
@media (max-width: 400px) { .christmas-choice-grid { gap: 6px; } .christmas-choice-grid button { font-size: 10px; padding: 8px 3px; } .christmas-choice-grid button img { height: 76px; } }

.christmas-cover-book { width: min(380px, calc(100% - 24px)); margin: 20px auto 28px; box-shadow: 7px 8px 0 #cbbba2, 12px 14px 0 #5e4027, 0 24px 40px #17322a30; border-radius: 5px; }
.christmas-cover-selection { font-size: 14px; font-weight: 700; }


/* Dino selector parity with approved Christmas selection — scoped to #dinoJourney. */
#dinoJourney.dino-journey {
  max-width: 1100px;
  min-height: 0;
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  align-items: start;
  gap: 36px;
  background: transparent;
}
#dinoJourney .dino-team {
  position: sticky;
  top: 24px;
  min-height: 0;
  padding: 28px 18px 32px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center,#fffaf0,#e8efe9);
  color: #173e2e;
  text-align: center;
  overflow: visible;
}
#dinoJourney .dino-team-eyebrow {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  margin: 0 0 14px;
}
#dinoJourney .dino-team h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  font-size: clamp(23px,3vw,32px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
#dinoJourney .dino-team::before,
#dinoJourney .dino-team::after,
#dinoJourney .dino-team .stage-bg { display: none; }
#dinoJourney .dino-team-book {
  position: relative;
  width: min(340px,calc(100% - 32px));
  margin: 0 auto 22px;
}
#dinoJourney .dino-team-book .book3d {
  width: 100%;
  aspect-ratio: 2/3;
}
#dinoJourney .dino-cover-selection {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
#dinoJourney .dino-selection-form {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 24px;
  position: static;
  border-radius: 20px;
  overflow: visible;
}
#dinoJourney .dino-selection-form h2 {
  font-size: 23px;
  margin: 0 0 12px;
  color: #1c2920;
}
#dinoJourney .dino-selection-form > p { font-size: 14px; margin: 0 0 12px; }
#dinoJourney .dino-selection-form fieldset {
  border: 0;
  margin: 18px 0;
  padding: 0;
  min-width: 0;
}
#dinoJourney .dino-selection-form legend {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
#dinoJourney #childName {
  display: block;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #d8c89e;
  border-radius: 8px;
  font-size: 14px;
}
#dinoJourney .avatar-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  max-height: none;
  overflow: visible;
}
#dinoJourney .avatar-choice,
#dinoJourney .dino-choice {
  position: relative;
  min-width: 0;
  min-height: 134px;
  padding: 7px 4px;
  background: #fffaf0;
  border: 2px solid #d8c89e;
  color: #153a2c;
  border-radius: 10px;
  cursor: pointer;
}
#dinoJourney .avatar-choice img,
#dinoJourney .dino-choice img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: contain;
  aspect-ratio: auto;
  background: transparent;
}
#dinoJourney .avatar-choice span,
#dinoJourney .dino-choice strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}
#dinoJourney .dino-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}
#dinoJourney .avatar-choice[aria-pressed="true"],
#dinoJourney .dino-choice[aria-pressed="true"] {
  background: #e9f1e8;
  border-color: #173e2e;
  box-shadow: 0 0 0 2px #173e2e;
}
#dinoJourney .avatar-choice[aria-pressed="true"]::after,
#dinoJourney .dino-choice[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #173e2e;
  color: white;
  line-height: 20px;
  font-size: 13px;
  text-align: center;
}
#dinoJourney .avatar-choice:focus-visible,
#dinoJourney .dino-choice:focus-visible {
  outline: 3px solid #b07d23;
  outline-offset: 4px;
}
#dinoJourney #dinoSelectionSummary { margin-top: 12px; }
#dinoJourney #dinoSaveStatus {
  padding: 12px;
  border-radius: 8px;
  background: #fff3d4;
  font-size: 13px;
}
#dinoJourney #createAdventure { margin-top: 14px; }
@media (max-width: 800px) {
  #dinoJourney.dino-journey { grid-template-columns: 1fr !important; padding: 0 16px; gap: 20px; }
  #dinoJourney .dino-team { position: static; }
}
@media (max-width: 400px) {
  #dinoJourney .avatar-grid,#dinoJourney .dino-grid { gap: 6px; }
  #dinoJourney .avatar-choice,#dinoJourney .dino-choice { padding: 6px 2px; }
  #dinoJourney .avatar-choice img,#dinoJourney .dino-choice img { height: 70px; }
}

/* Keep all four approved Dinosaur companions on one line (including Velociraptor). */
#dinoJourney .dino-choice strong {
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: -.02em;
}

/* The legacy Dino hero enforced 1.5:1 columns with !important; this selector
   deliberately shares Christmas' balanced columns and artwork size. */
@media (min-width: 801px) and (max-width: 900px) {
  #dinoJourney.dino-journey { grid-template-columns: 1fr !important; }
}

/* CHRISTMAS PAPERBACK TRIAL — owner-approved clean paperback render.
   The reference photo supplies the printed book + page edge only.
   Live explorer, companion and name remain independent DOM layers.
   The original C01 cover source, placement metadata and reader stay intact. */
#christmasJourney .christmas-paperback-preview {
  position: relative;
  isolation: isolate;
  width: min(470px, calc(100% - 8px));
  aspect-ratio: 1122 / 1402;
  height: auto;
  margin: 4px auto 12px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
#christmasJourney .christmas-paperback-mockup {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
#christmasJourney .christmas-paperback-preview .magico-christmas-cover {
  position: absolute;
  z-index: 1;
  left: 6.6%;
  top: 8.4%;
  width: 80.3%;
  height: 80%;
  aspect-ratio: 1122 / 1402;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}
#christmasJourney .christmas-paperback-preview .christmas-cover-background,
#christmasJourney .christmas-paperback-preview .christmas-cover-depth {
  display: none;
}
/* Title is present in the clean printed mockup; name and selected figures are NOT.
   The first injected SVG text is the STARRING label; other static text is hidden. */
#christmasJourney .christmas-paperback-preview .magico-christmas-cover svg text {
  display: none;
}
#christmasJourney .christmas-paperback-preview .magico-christmas-cover svg text:first-of-type {
  display: initial;
}
/* Both journeys present an equivalently sized printed cover, without
   changing source cover geometry or the protected homepage. */
#dinoJourney .dino-team-book {
  width: min(380px, calc(100% - 20px)) !important;
}
@media (max-width: 800px) {
  #christmasJourney .christmas-paperback-preview {
    width: min(470px, calc(100% - 8px));
  }
}


/* Christmas selection upgrade: scenic stage + real scene thumbnails.
   The cover renderer, actors, selected name and form remain unchanged. */
#christmasJourney{align-items:start}
#christmasJourney .christmas-team{position:sticky;top:16px;padding:24px 18px 20px;isolation:isolate;overflow:hidden;background:#e6ecdf;border:1px solid #e9d4b0;box-shadow:0 20px 45px #243a2b1b}
#christmasJourney .christmas-team:before{content:"";position:absolute;z-index:-2;inset:0 0 215px;background:linear-gradient(#f6f1e4a6,#dbd2c340),url("https://post-purchase-v1.digital-product-intelligence.pages.dev/christmas/layers/C02_BACKGROUND.png") center 46%/cover no-repeat;filter:blur(5px) saturate(1.15);transform:scale(1.05);pointer-events:none}
#christmasJourney .christmas-team:after{content:"";position:absolute;z-index:-1;inset:0 0 215px;background:linear-gradient(180deg,#fffaf0cc 0%,#fff9eb15 30%,#213d2b19 75%,#faf4e1ad 100%);pointer-events:none}
#christmasJourney .christmas-team h2{font-family:Georgia,serif;font-weight:700;margin:12px 0;color:#123d2e;text-shadow:0 2px 12px #fff9ea}
#christmasJourney .christmas-team-eyebrow{font-weight:700;color:#234737}
#christmasJourney .christmas-team .christmas-paperback-preview{filter:drop-shadow(0 18px 16px #1a2a233c)!important}
#christmasJourney .christmas-preview-gallery{position:relative;z-index:3;margin:14px -5px 0;padding:15px 10px 12px;background:#fffbf1ed;border:1px solid #e9dcc5;border-radius:15px}
#christmasJourney .christmas-preview-gallery h3{font:700 17px Georgia,serif;margin:1px 0 13px;color:#173b2e}
#christmasJourney .christmas-preview-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#christmasJourney .christmas-preview-thumb{min-width:0;border:1px solid #d9bb81;border-radius:9px;padding:4px;background:white;cursor:pointer;color:#1b4232;text-align:center}
#christmasJourney .christmas-preview-thumb img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px}
#christmasJourney .christmas-preview-thumb span{display:block;padding:5px 2px;font:600 11px/1.25 system-ui}
#christmasJourney .christmas-preview-thumb:hover,#christmasJourney .christmas-preview-thumb:focus-visible{outline:2px solid #255940;outline-offset:2px}
#christmasJourney .christmas-preview-note{font:12px/1.4 system-ui;color:#5b6b61;margin:10px 0 0}
.christmas-scene-dialog{max-width:min(86vw,950px);border:3px solid #d4ab65;border-radius:16px;padding:15px;background:#f8f4e8;box-shadow:0 25px 80px #071810bb;color:#153d2e}
.christmas-scene-dialog::backdrop{background:#071b16d9}
.christmas-scene-dialog>img{display:block;max-height:75vh;max-width:100%;margin:auto;object-fit:contain}
.christmas-scene-dialog>p{text-align:center;font:600 14px system-ui}
.christmas-scene-close{position:absolute;right:10px;top:8px;width:38px;height:38px;cursor:pointer;border:0;border-radius:50%;background:#063d2d;color:#fff;font-size:25px}
@media(max-width:700px){#christmasJourney .christmas-team{position:static}#christmasJourney .christmas-preview-gallery{margin-top:10px}#christmasJourney .christmas-preview-thumb span{font-size:10px}}


/* Christmas premium selection refinement — presentation only, no asset changes.
   The light rectangular studio backdrop is baked into the approved paperback
   mockup PNG; frame it as a deliberate product photography mount rather than
   cropping or modifying the protected cover. */
#christmasJourney.christmas-journey{align-items:stretch;gap:30px}
#christmasJourney .christmas-team{
  position:relative;top:auto;align-self:stretch;
  padding:30px 18px 28px;
  background:#163b35;
  border:1px solid #bca978;
  border-radius:24px;
  box-shadow:0 24px 55px #1f352b29;
}
#christmasJourney .christmas-team::before{
  inset:0;
  background:
    linear-gradient(180deg,rgba(10,37,36,.54) 0%,rgba(16,49,45,.12) 27%,rgba(8,34,37,.22) 65%,rgba(8,32,32,.80) 100%),
    url("https://post-purchase-v1.digital-product-intelligence.pages.dev/christmas/layers/C02_BACKGROUND.png") center center/cover no-repeat;
  filter:none;transform:none;
}
#christmasJourney .christmas-team::after{
  inset:0;background:radial-gradient(ellipse at 50% 38%,transparent 16%,rgba(7,33,31,.32) 100%);
}
#christmasJourney .christmas-team-eyebrow{
  position:relative;z-index:2;color:#f1dfaf;letter-spacing:.18em;
  text-shadow:0 2px 9px #092825;
}
#christmasJourney .christmas-team h2{
  position:relative;z-index:2;
  color:#fff7df;text-shadow:0 3px 14px #092925;
  margin:10px auto 22px;max-width:430px;
}
#christmasJourney .christmas-paperback-preview{
  /* Maintain exact approved book dimensions and live actor coordinates. */
  margin:0 auto 14px!important;
}
#christmasJourney .christmas-cover-selection{
  position:relative;z-index:2;color:#fff5df;
  text-shadow:0 2px 8px #102c28;
  margin:8px 0 26px;
}
#christmasJourney .christmas-preview-gallery{
  margin:0 -3px;padding:20px 15px 17px;
  background:rgba(255,251,239,.97);
  border:1px solid #dfc69b;border-radius:17px;
  box-shadow:0 12px 28px #061e1b4d;
}
#christmasJourney .christmas-preview-gallery h3{
  font-size:19px;line-height:1.3;margin:0 0 16px;
}
#christmasJourney .christmas-preview-thumbnails{gap:10px}
#christmasJourney .christmas-preview-thumb{
  padding:5px;border-radius:11px;
  transition:transform .16s ease,box-shadow .16s ease;
}
#christmasJourney .christmas-preview-thumb:hover{
  transform:translateY(-3px);box-shadow:0 7px 14px #173b2e25;
}
#christmasJourney .christmas-preview-thumb img{aspect-ratio:1/1;object-fit:cover}
#christmasJourney .christmas-preview-thumb span{
  min-height:2.8em;padding:8px 2px 4px;font-size:11px;line-height:1.3;
}
#christmasJourney .christmas-preview-note{margin-top:14px;line-height:1.5}
@media(max-width:850px){
  #christmasJourney.christmas-journey{grid-template-columns:1fr!important;gap:22px}
  #christmasJourney .christmas-team{padding:24px 14px}
  #christmasJourney .christmas-preview-gallery{max-width:520px;margin:0 auto}
}
@media(max-width:420px){
  #christmasJourney .christmas-team h2{font-size:clamp(25px,7vw,33px)}
  #christmasJourney .christmas-preview-gallery{padding:15px 9px}
  #christmasJourney .christmas-preview-thumbnails{gap:5px}
  #christmasJourney .christmas-preview-thumb{padding:3px}
  #christmasJourney .christmas-preview-thumb span{font-size:10px}
}

/* Christmas presentation pass 3: frame the book silhouette, not the
   photographic studio rectangle; retain the approved PNG and live layers. */
#christmasJourney.christmas-journey{align-items:start}
#christmasJourney .christmas-team{
  align-self:start;
  padding-bottom:19px;
}
#christmasJourney .christmas-team h2{margin-bottom:12px}
#christmasJourney .christmas-paperback-preview{
  margin-bottom:6px!important;
}
#christmasJourney .christmas-paperback-mockup{
  /* Masks only the plain studio margin of the existing mockup.
     Does not alter cover art, character scale, name or positions. */
  clip-path:polygon(9.6% 11.2%,85.7% 8.4%,91.8% 10.2%,91.8% 88.4%,85.7% 90.4%,9.6% 88.3%);
}
#christmasJourney .christmas-cover-selection{margin:0 0 15px}
#christmasJourney .christmas-preview-gallery{
  padding:17px 12px 15px;
  margin:0 -7px;
}
#christmasJourney .christmas-preview-gallery h3{margin-bottom:12px}
#christmasJourney .christmas-preview-thumbnails{gap:7px}
#christmasJourney .christmas-preview-thumb{padding:3px}
#christmasJourney .christmas-preview-thumb img{aspect-ratio:4/4.1}
#christmasJourney .christmas-preview-thumb span{padding:7px 2px 3px}
@media(max-width:850px){
 #christmasJourney .christmas-team{width:100%;box-sizing:border-box}
 #christmasJourney .christmas-preview-gallery{margin:0 auto}
}

/* Live personalised scene preview — isolated from cover and selection layout. */
.christmas-scene-dialog{width:min(94vw,1120px);max-width:1120px;padding:18px}
.christmas-scene-dialog iframe{display:block;width:100%;height:min(74vh,740px);border:0;border-radius:9px;background:#14372d}
.christmas-scene-dialog>p{margin:12px 40px 3px}
.christmas-scene-close{z-index:4}
@media(max-width:700px){.christmas-scene-dialog{padding:9px;width:96vw}.christmas-scene-dialog iframe{height:75dvh}}

/* Scene-only lightbox: conceal embedded reader chrome and navigation.
   The underlying published reader remains untouched. */
.christmas-scene-dialog{width:min(94vw,1040px);max-width:1040px}
.christmas-scene-viewport{
  position:relative;width:100%;height:min(66vh,640px);
  overflow:hidden;border-radius:9px;background:#0d2b20;
}
.christmas-scene-viewport iframe{
  position:absolute;left:0;top:-125px;
  width:100%;height:calc(100% + 420px);
  border:0;pointer-events:none;
}
@media(max-width:700px){
 .christmas-scene-viewport{height:min(70dvh,650px)}
 .christmas-scene-viewport iframe{top:-135px;height:calc(100% + 430px)}
}

/* Live scene thumbnail windows: show the illustrated page, not the reader UI. */
#christmasJourney .christmas-preview-thumb .christmas-live-thumb{
 display:block;position:relative;width:100%;aspect-ratio:4/4.1;
 padding:0;overflow:hidden;border-radius:7px;background:#193c35;
 container-type:inline-size;
}
#christmasJourney .christmas-preview-thumb .christmas-live-thumb iframe{
 display:block;position:absolute;border:0;pointer-events:none;
 width:1100px;height:900px;max-width:none;
 left:-76cqw;top:-33cqw;
 transform:scale(calc(100cqw / 460px));
 transform-origin:top left;
}

/* Equal-sized Christmas gallery cards, including C02. */
#christmasJourney .christmas-preview-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
#christmasJourney .christmas-preview-thumb{display:flex;flex-direction:column;align-items:stretch;width:100%;height:100%;box-sizing:border-box;overflow:hidden}
#christmasJourney .christmas-preview-thumb .christmas-live-thumb{display:block;flex:none;width:100%;aspect-ratio:1/1;box-sizing:border-box;overflow:hidden}
#christmasJourney .christmas-preview-thumb>span:last-child{display:flex;flex:1;justify-content:center;align-items:center;min-height:3.2em;text-align:center}

/* Christmas selector alignment: equal top edges and full-height desktop panels. */
@media (min-width:851px){
  #christmasJourney.christmas-journey{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:30px;
  }
  #christmasJourney .christmas-team{
    align-self:stretch;
    height:100%;
    min-height:0;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
  }
  #christmasJourney #christmasSelection{
    align-self:stretch;
    margin:0!important;
    height:100%;
    box-sizing:border-box;
    min-width:0;
  }
  #christmasJourney .christmas-preview-gallery{
    margin-top:auto;
    width:calc(100% + 14px);
    box-sizing:border-box;
  }
}
@media (max-width:850px){
  #christmasJourney.christmas-journey{align-items:start}
  #christmasJourney #christmasSelection{margin:0!important;min-width:0}
}

/* Christmas final composition refinement — 2026-10-28 */
/* Keep the approved floating paperback, cover layers, and selector untouched.
   Desktop: reduce dead air by distributing space around the book instead of
   pushing the gallery to the panel bottom. */
@media (min-width:851px){
  #christmasJourney .christmas-team{
    justify-content:flex-start;
    padding-bottom:22px;
  }
  #christmasJourney .christmas-preview-gallery{
    margin-top:30px;
  }
  #christmasJourney .christmas-cover-selection{
    margin-bottom:0;
  }
}
/* Darken the scenic environment very lightly without darkening book art. */
#christmasJourney .christmas-team::after{
  background:radial-gradient(ellipse at 50% 43%,rgba(5,27,24,.15) 9%,rgba(7,29,26,.42) 100%);
}
/* Make the artwork fill consistent squares and de-emphasise clipped story copy. */
#christmasJourney .christmas-preview-thumb .christmas-live-thumb{
  aspect-ratio:1/1;
  border-radius:8px;
}
#christmasJourney .christmas-preview-thumb{
  padding:2px;
}
#christmasJourney .christmas-preview-thumb>span:last-child{
  min-height:3.2em;
  line-height:1.3;
}
@media(max-width:850px){
  #christmasJourney .christmas-preview-gallery{margin-top:16px}
}

/* Christmas wider book-led desktop composition — 2026-10-28 */
@media (min-width:1001px){
  #christmasJourney.christmas-journey{
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
    gap:26px;
    align-items:start;
  }
  #christmasJourney .christmas-team{
    height:auto;
    align-self:start;
    padding:26px 18px 22px;
  }
  #christmasJourney #christmasSelection{
    height:auto;
    align-self:start;
  }
  #christmasJourney .christmas-paperback-preview{
    width:min(520px,100%)!important;
    max-width:520px!important;
  }
  #christmasJourney .christmas-preview-gallery{
    margin-top:20px;
    width:100%;
    margin-left:0;
    margin-right:0;
  }
  #christmasJourney .christmas-cover-selection{margin-bottom:0}
}
@media (min-width:851px) and (max-width:1000px){
  #christmasJourney.christmas-journey{grid-template-columns:1fr!important}
  #christmasJourney .christmas-team,
  #christmasJourney #christmasSelection{height:auto;align-self:start}
  #christmasJourney .christmas-preview-gallery{margin-top:18px}
}

/* Christmas wide showcase: remove the inherited 1100px journey width cap. */
@media (min-width:1101px){
  #christmasJourney.christmas-journey{
    width:calc(100% - 64px);
    max-width:1440px;
    box-sizing:border-box;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;
    gap:28px;
  }
  #christmasJourney .christmas-paperback-preview{
    width:min(560px,100%)!important;
    max-width:560px!important;
  }
}
@media (min-width:1001px) and (max-width:1100px){
  #christmasJourney.christmas-journey{
    max-width:100%;
    width:calc(100% - 32px);
    box-sizing:border-box;
  }
}

/* Keep both Christmas desktop cards on identical grid row height. */
@media (min-width:1101px){
  #christmasJourney.christmas-journey{align-items:stretch!important}
  #christmasJourney .christmas-team,
  #christmasJourney #christmasSelection{
    height:100%!important;
    align-self:stretch!important;
    box-sizing:border-box;
  }
  #christmasJourney .christmas-team{justify-content:flex-start}
  #christmasJourney .christmas-preview-gallery{margin-top:auto;padding-top:17px}
}
