/* Winter accents shared by the ticket, navigation and advent countdown. */
body.panda-mochi-season {
  --winter-pine: #173d31;
  --winter-wine: #853548;
  --winter-gold: #d7b778;
  --winter-cream: #fffaf1;
  --winter-snow: radial-gradient(circle, #ffebbd55 0 1px, transparent 1.7px) 3px 7px / 43px 37px,
    radial-gradient(circle, #fffaf13b 0 1px, transparent 1.6px) 17px 13px / 61px 53px;
  --winter-ribbon: repeating-linear-gradient(115deg, #853548 0 8px, #f9eedb 8px 16px, #315948 16px 24px, #f9eedb 24px 32px);
}

html body.panda-mochi-season.panda-mochi-season :is(.site-header, .panda-header-minimal) {
  background: var(--winter-ribbon) top / 100% 4px no-repeat, var(--winter-cream) !important;
  border-bottom-color: #d6c3a1 !important;
  box-shadow: 0 4px 18px #263c3210 !important;
}

html body.panda-mochi-season.panda-mochi-season :is(.brand, .brand-copy, .brand-text, .site-title, .site-title a, .brand-copy strong, .brand-text strong) {
  color: #253a32 !important;
}

html body.panda-mochi-season.panda-mochi-season :is(.brand small, .brand p, .brand-copy small, .brand-copy > span, .brand-text > span, .brand-tagline, .site-description) {
  color: #526057 !important;
}

html body.panda-mochi-season.panda-mochi-season .panda-nav-ticket,
html body.panda-mochi-season.panda-mochi-season .panda-nav-ticket::before,
html body.panda-mochi-season.panda-mochi-season .panda-nav-ticket::after {
  background: #f8efdf !important;
  border-color: #d6c3a1 !important;
  box-shadow: none !important;
}

html body.panda-mochi-season.panda-mochi-season .panda-nav-ticket :is(a,button) {
  color: var(--winter-pine) !important;
  border-color: #d6c3a1 !important;
}

html body.panda-mochi-season.panda-mochi-season .panda-nav-ticket :is(a,button):hover {
  background: #e5ede0 !important;
  color: var(--winter-pine) !important;
}

body.panda-mochi-season :is(.site-footer, footer.site-footer) {
  background: #e6ede2 !important;
  color: var(--winter-pine) !important;
  border-color: #c5d4c5 !important;
}

body.panda-mochi-season :is(.site-header, .site-footer) a {
  color: var(--winter-pine) !important;
}

html body.panda-mochi-season.panda-mochi-season .boarding-pass.panda-ticket-banner .ticket {
  background: var(--winter-ribbon) top / 100% 5px no-repeat, linear-gradient(112deg, #fffaf1, #f7ead6);
  mask: none;
  filter: none;
  overflow: hidden;
  border: 1px solid #c7ac7e;
  border-radius: 22px;
  box-shadow: 0 5px 0 #e2d2b6, 0 14px 28px #263c3214;
}

html body.panda-mochi-season.panda-mochi-season .boarding-pass.panda-ticket-banner .stub {
  background: var(--winter-snow), linear-gradient(145deg, #315948, var(--winter-pine) 72%);
}

html body.panda-mochi-season.panda-mochi-season .boarding-pass.panda-ticket-banner .stub img {
  filter: drop-shadow(0 6px 14px #0b2b1c55);
}

html body.panda-mochi-season.panda-mochi-season .boarding-pass.panda-ticket-banner .actions-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

#panda-festive .intro {
  border: 0;
  background: var(--winter-ribbon) top / 100% 5px no-repeat, linear-gradient(105deg, #fffaf1, #faedd8);
}

#panda-festive .garland {
  width: min(150px, 75%);
  height: 13px;
  background:
    radial-gradient(ellipse at 50% 0, transparent 58%, #70826a 61% 67%, transparent 70%) top / 30px 9px repeat-x,
    radial-gradient(circle, #b7863c 0 2.5px, transparent 3px) 0 4px / 30px 9px repeat-x,
    radial-gradient(circle, #853548 0 2.5px, transparent 3px) 15px 4px / 30px 9px repeat-x;
}

#panda-festive .stub {
  background: var(--winter-snow), linear-gradient(145deg, #315948, var(--winter-pine) 72%);
}

@media (max-width: 360px) {
  html body.panda-mochi-season.panda-mochi-season .boarding-pass.panda-ticket-banner .main {
    padding-inline: 18px;
  }
  html body.panda-mochi-season.panda-mochi-season .boarding-pass.panda-ticket-banner .stub {
    padding-inline: 12px;
  }
  #panda-festive :is(.intro, .stub) {
    padding-inline: 15px;
  }
}

/* The clearing stays light behind content, with the forest framing both edges. */
html > body.panda-mochi-season.panda-mochi-season.panda-mochi-season {
  background: linear-gradient(90deg, transparent 0, #f8f1e3 17%, #faf4e9 83%, transparent 100%),
    #173d31 url("winter-forest.webp") center top / cover no-repeat fixed !important;
}

html body .boarding-pass.panda-ticket-banner.panda-winter-hero {
  width: calc(100% - 24px);
}

.panda-winter-hero .winter-hero {
  position: relative;
  display: grid;
  min-height: clamp(410px, 47vw, 590px);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #be9a62;
  border-radius: 24px;
  background: #14382d;
  box-shadow: 0 16px 38px #08231e42;
}

.panda-winter-hero .winter-hero__scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #102e26c9, #102e264d 46%, transparent 67%),
    url("winter-panda.webp") center 56% / cover no-repeat;
}

.panda-winter-hero .winter-hero__copy {
  box-sizing: border-box;
  width: min(55%, 580px);
  padding: clamp(24px, 5vw, 72px);
}

html body.panda-mochi-season .panda-winter-hero .winter-hero h1 {
  margin: 0;
  color: #fff6e2 !important;
  font: 500 clamp(38px, 5.2vw, 76px)/.99 Georgia, serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

html body.panda-mochi-season.panda-mochi-season .panda-winter-hero .winter-hero .winter-hero__brand {
  margin: 0 0 17px;
  color: #f2d193 !important;
  font: 750 12px/1.4 system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

html body.panda-mochi-season.panda-mochi-season .panda-winter-hero .winter-hero .winter-hero__intro {
  margin: 18px 0 25px;
  color: #fff4de !important;
  font: 400 clamp(15px, 1.55vw, 19px)/1.55 system-ui, sans-serif;
}

html body.panda-mochi-season.panda-mochi-season .panda-winter-hero .winter-hero a {
  min-height: 44px;
  font: 700 14px/1.3 system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  padding-inline: 16px;
}

.panda-winter-hero .winter-hero a:focus-visible {
  outline-color: #f9d48d !important;
}

#panda-festive .stub {
  background: linear-gradient(#12352b70, #12352bb3), url("winter-forest.webp") center 37% / cover;
}

body.panda-mochi-season :is(.site-footer, footer.site-footer) {
  border-top: 3px solid #bd945b !important;
  background: linear-gradient(#14382d40, #14382d80), url("winter-forest.webp") center 88% / cover !important;
  color: #fff4de !important;
}

body.panda-mochi-season .site-footer :is(a, p, small, .site-info) {
  color: #fff4de !important;
}

@media (max-width: 700px) {
  html > body.panda-mochi-season.panda-mochi-season.panda-mochi-season {
    background: linear-gradient(#faf4e9b8, #faf4e9 440px),
      #faf4e9 url("winter-forest.webp") center top / auto 440px no-repeat !important;
  }

  .panda-winter-hero .winter-hero {
    min-height: 0;
    border-radius: 18px;
  }

  .panda-winter-hero .winter-hero__scene {
    position: static;
    min-height: clamp(220px, 70vw, 390px);
    background: linear-gradient(0deg, #14382d, transparent 24%),
      url("winter-panda.webp") 84% 52% / cover no-repeat;
    background-size: 100% 100%, cover;
  }

  .panda-winter-hero .winter-hero__copy {
    width: 100%;
    padding: 0 20px 25px;
  }

  html body.panda-mochi-season .panda-winter-hero .winter-hero h1 {
    font-size: clamp(34px, 8vw, 52px);
  }
}

/* A boarding pass for a drama assigned to an Advent door. */
body.panda-mochi-season .panda-single-pass--advent {
  outline: 1px solid #b49355;
  outline-offset: -2px;
}

.panda-single-pass--advent .panda-single-advent-badge {
  display: table;
  margin: 7px 0 10px;
  padding: 5px 10px;
  border: 1px solid #ae8551;
  border-radius: 99px;
  background: #853548;
  color: #fff3db !important;
  font: 700 12px/1.3 system-ui, sans-serif;
}

.panda-single-pass--advent .panda-single-advent-badge > span {
  color: #ffdc94 !important;
}

html body.panda-mochi-season .panda-single-pass--advent .panda-single-advent-stub {
  align-content: end;
  gap: 4px;
  min-height: 210px;
  padding: 14px 8px;
  border: 1px solid #b49355 !important;
  border-radius: 14px;
  background: linear-gradient(0deg, #102f27 0%, #102f27d0 22%, transparent 65%),
    #102f27 url("advent-elf-panda.webp") center top / cover no-repeat !important;
}

html body.panda-mochi-season .panda-single-advent-stub > :is(span, time) {
  color: #fff3db !important;
  font: 700 14px/1.25 system-ui, sans-serif;
}
html body.panda-mochi-season .panda-single-advent-stub > time {
  color: #f5d494 !important;
  font-size: 12px;
}

@media (max-width: 760px) {
  html body.panda-mochi-season .panda-single-pass--advent .panda-single-advent-stub {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: 100px;
    margin-top: 10px;
    justify-items: start;
    align-content: center;
    padding: 14px 18px;
    background: linear-gradient(90deg, #102f27 6%, #102f27bb 42%, transparent 79%),
      #102f27 url("advent-elf-panda.webp") right 20% / auto 170% no-repeat !important;
  }
}

.panda-single-intro .panda-single-warmup-badge {
  display: table;
  margin: 7px 0 10px;
  padding: 5px 10px;
  border: 1px solid #a1b59d;
  border-radius: 99px;
  background: #e5eddd;
  color: #234c3d !important;
  font: 700 12px/1.3 system-ui, sans-serif;
}
