/* THAI LOTUS CAMPAIGNS
   1. Shared poster gallery  2. Welcome layout  3. Restaurant host/details
   4. Advertising rail  5. Category mascots  6. Responsive and motion */

/* 1. SHARED POSTER GALLERY — full artwork, no crop, steady frame size. */
.poster-carousel {
  --poster-red: #991e39;
  --poster-soft: #f6e6e8;
  min-width: 0;
  background: #21191d;
  color: #fff;
  overflow: hidden;
  border: 1px solid #af7886;
  border-radius: 20px 8px;
  isolation: isolate;
}
.poster-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  padding: 13px 15px;
  background: linear-gradient(115deg, #411f2c, #762b42);
  border-bottom: 1px solid #ffffff25;
}
.poster-heading > span:first-child {
  width: 100%;
  font-size: 8px;
  letter-spacing: 2px;
  color: #f2c3ce;
  font-weight: 750;
}
.poster-heading > strong {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}
.poster-count {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #f4d7df;
  white-space: nowrap;
}
.poster-viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #60402e55, transparent 70%), #171216;
  aspect-ratio: 941 / 1672;
  touch-action: pan-y pinch-zoom;
}
.poster-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.poster-frame.is-current {
  opacity: 1;
}
.poster-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 37px;
  padding: 8px 13px;
  background: #281a21;
  color: #f5dce3;
}
.poster-caption > span:first-child {
  font-size: 10px;
  line-height: 1.4;
  min-width: 0;
}
.poster-mini-spark {
  font-size: 18px;
  color: #e8c393;
}
.poster-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  background: #281a21;
  border-top: 1px solid #ffffff1a;
}
.poster-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid #d49aa856;
  border-radius: 12px;
  background: #ffffff08;
  color: #fff1f3;
  font-size: 20px;
  line-height: 1.2;
}
.poster-controls [data-poster-play] {
  min-width: 92px;
  font-size: 11px;
  font-weight: 650;
}
.poster-carousel :focus-visible {
  outline: 3px solid #f3c3ce;
  outline-offset: -3px;
}
.poster-controls button:hover {
  background: #8e2942;
}

/* 2. WELCOME — advertising and information are separate, balanced columns. */
.notice-dialog.campaign-welcome {
  width: min(1160px, calc(100vw - 40px));
  max-width: none;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #e4c5cb;
  border-radius: 27px 10px;
  background: #fffbf9;
  color: #29191f;
  overflow: hidden;
  box-shadow: 0 30px 100px #1c081877;
}
.notice-dialog.campaign-welcome[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}
.notice-dialog.campaign-welcome::backdrop {
  background: #160c17c7;
  backdrop-filter: blur(10px);
}
.campaign-welcome > .welcome-poster {
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  height: min(890px, 92dvh - 2px);
}
.campaign-welcome .poster-viewport {
  aspect-ratio: auto;
  min-height: 0;
}
.campaign-welcome .poster-heading {
  padding: 16px 20px;
}
.campaign-welcome .poster-heading > strong {
  font-size: 16px;
}
.campaign-welcome .poster-caption {
  padding: 9px 20px;
}
.campaign-welcome .poster-caption > span:first-child {
  font-size: 11px;
}
.campaign-welcome > .campaign-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  z-index: 6;
  border: 1px solid #b97e91;
  color: #8d1e3b;
  background: #ffffffed;
  box-shadow: 0 3px 14px #8c3f581b;
}

/* 3. ANIMATED HOST — beside restaurant details, with matching orbit effects. */
.campaign-welcome > .campaign-details {
  display: block;
  position: relative;
  padding: 30px 32px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: min(890px, 92dvh - 2px);
  background:
    radial-gradient(ellipse at 100% 0, #eed1d77a, transparent 60%),
    url('assets/brand/thai-lotus-burgundy-linework.svg') right bottom / 230px auto no-repeat,
    #fffbf9;
}
.campaign-host-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 7px 10px 17px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid #e8d3d9;
}
.campaign-details .welcome-host {
  position: relative;
  inset: auto;
  transform: none;
  flex: 0 0 103px;
  width: 103px;
  height: 151px;
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
}
.campaign-details .intro-mascot-button {
  position: relative;
  inset: auto;
  z-index: 2;
  width: 86px;
  height: 135px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
}
.campaign-details .intro-mascot {
  position: static;
  inset: auto;
  width: 86px;
  height: 135px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  margin: 0;
  transform: none;
  filter: drop-shadow(0 5px 6px #93284626);
}
.campaign-details .welcome-orbit {
  position: absolute;
  width: 126px;
  height: 126px;
  inset: auto;
  margin: 0;
  left: calc(50% - 63px);
  top: calc(50% - 63px);
  border: 1px dashed #af49628c;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.campaign-details .welcome-orbit.orbit-two {
  width: 116px;
  height: 116px;
  left: calc(50% - 58px);
  top: calc(50% - 58px);
  border-style: solid;
  border-color: #b58a5da1;
}
.campaign-details .welcome-twinkle {
  position: absolute;
  color: #aa3152;
  text-shadow: 0 0 13px #ee9db6;
  font-size: 22px;
  z-index: 3;
}
.campaign-details .welcome-twinkle.twinkle-one {
  inset: 7px 0 auto auto;
}
.campaign-details .welcome-twinkle.twinkle-two {
  inset: auto auto 12px 0;
  color: #a3794c;
  font-size: 17px;
}
.campaign-host-hello {
  min-width: 0;
}
.campaign-host-hello .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #945368;
  margin-bottom: 8px;
}
.campaign-host-hello > strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(26px, 2.7vw, 35px);
  font-weight: 500;
  color: #922743;
  line-height: 1.15;
}
.campaign-host-hello > p {
  color: #77565f;
  font-size: 12px;
  line-height: 1.6;
  margin: 9px 0 0;
}
.campaign-details > .eyebrow {
  font-size: 8px;
  color: #945368;
  letter-spacing: 1.5px;
  line-height: 1.6;
}
.campaign-details #noticeHeading {
  font-family: Georgia, serif;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.06;
  color: #24171e;
  margin: 10px 0 14px;
}
.campaign-details #noticeHeading > span {
  color: #9c213e;
}
.campaign-details .intro-lead {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #76545f;
}
.campaign-details .intro-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 17px;
  border-top: 1px solid #ead5da;
  padding-top: 17px;
  margin-top: 0;
}
.campaign-details .intro-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #8d4b60;
}
.campaign-details .intro-location > p {
  font-size: 14px;
  line-height: 1.65;
  margin: 7px 0 10px;
}
.campaign-details .intro-contact > span {
  font-size: 8px;
}
.campaign-details .intro-phone {
  font-size: clamp(23px, 2.8vw, 33px);
  color: #951f3c;
  line-height: 1.3;
  letter-spacing: -0.8px;
}
.campaign-details .intro-hours dl {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
}
.campaign-details .intro-hours dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.campaign-details .intro-hours dt,
.campaign-details .intro-hours dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.campaign-details .intro-hours dd {
  font-weight: 750;
  white-space: nowrap;
  color: #4e2534;
}
.campaign-details .intro-closed {
  font-size: 11px;
  margin: 10px 0 0;
  color: #9d2845;
}
.campaign-details .intro-service-notes {
  margin: 16px 0 12px;
  font-size: 10px;
  line-height: 1.7;
}
.campaign-details .intro-service {
  font-size: 12px;
  background: #f6e5e8;
  border: 1px solid #e4c5cf;
  color: #8c2941;
  padding: 11px 13px;
  border-radius: 12px;
}
.campaign-details .intro-advisories {
  font-size: 10px;
  line-height: 1.6;
  margin: 11px 0;
  color: #765460;
}
.campaign-details .intro-advisories summary {
  min-height: 44px;
  padding-block: 12px;
}
.campaign-details .intro-explore {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  color: #fff;
  background: linear-gradient(110deg, #8e1b35, #ba3850);
  border: 1px solid #9a2741;
  border-radius: 13px;
  font-size: 13px;
}

/* 4. SIDEBAR — replaces the ambience card visually; original handlers remain intact. */
.sidebar > .rail-poster {
  margin: 15px 0 20px;
}
.sidebar > .ambience {
  display: none;
}
.rail-poster .poster-viewport {
  height: min(34dvh, 340px);
  aspect-ratio: auto;
}
.rail-poster .poster-heading {
  padding: 10px 11px;
}
.rail-poster .poster-heading > strong {
  font-size: 12px;
}
.rail-poster .poster-caption {
  padding: 7px 11px;
}
.rail-poster .poster-controls {
  padding: 6px;
  gap: 5px;
}
.rail-poster .poster-controls button {
  border-radius: 10px;
}
.rail-poster .poster-controls [data-poster-play] {
  min-width: 75px;
}
#fullscreenButton {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}
#fullscreenButton > .icon {
  width: 21px;
  height: 21px;
}

/* 5. CATEGORIES — cute Thai poses with consistent dimensions and calm movement. */
.category-host {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 10px 0 19px;
  padding: 12px 20px 12px 15px;
  border: 1px solid #ddbdc6;
  border-radius: 20px 7px;
  background:
    radial-gradient(ellipse at 0 0, #f3d1dc8c, transparent 65%),
    linear-gradient(110deg, #fff, #fff5ef);
  box-shadow: 0 8px 24px #8a354309;
}
.category-host-art {
  flex: 0 0 90px;
  width: 90px;
  height: 119px;
  display: grid;
  place-items: center;
  position: relative;
}
.category-host-art::before {
  content: '';
  position: absolute;
  width: 103px;
  height: 87px;
  border: 1px dashed #b6577370;
  border-radius: 50%;
  transform: rotate(-22deg);
  pointer-events: none;
}
#categoryMascot {
  width: 88px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px #ac557426);
  position: relative;
  z-index: 1;
}
.category-host-spark {
  position: absolute;
  right: -3px;
  top: 7px;
  font-size: 22px;
  color: #a33852;
  text-shadow: 0 0 10px #edb2c3;
}
.category-host > div {
  flex: 1;
  min-width: 0;
}
.category-host-kicker {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #a05b6d;
  font-weight: 750;
  display: block;
  margin-bottom: 7px;
}
#categoryHostTitle {
  display: block;
  font-size: clamp(19px, 1.9vw, 26px);
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #81243c;
}
#categoryHostMessage {
  max-width: 670px;
  font-size: 12px;
  line-height: 1.65;
  color: #80616a;
  margin: 8px 0 0;
}
.category-host > button {
  min-height: 44px;
  border: 1px solid #cf9faf;
  border-radius: 12px;
  background: #fff7f8;
  color: #8f2943;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.group-mascot {
  flex: 0 0 52px;
  width: 52px;
  height: 70px;
  object-fit: contain;
  margin-right: 3px;
}
.mascot-character.pose-arriving {
  filter: drop-shadow(0 0 10px #bb618344);
}
img[src*='owner-20261020/'] {
  object-fit: contain !important;
  background: #f5eee8;
}

/* 6. RESPONSIVE AND MOTION */
@media (orientation: portrait), (max-width: 1023px) {
  .sidebar > .rail-poster {
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    margin: 12px 0;
    border-radius: 16px;
  }
  .rail-poster .poster-viewport {
    grid-column: 1;
    grid-row: 1 / span 3;
    height: 182px;
  }
  .rail-poster .poster-heading {
    grid-column: 2;
    grid-row: 1;
    align-content: center;
    padding: 11px 13px;
  }
  .rail-poster .poster-heading > span:first-child {
    font-size: 8px;
  }
  .rail-poster .poster-caption {
    grid-column: 2;
    grid-row: 2;
    padding: 5px 13px;
    min-height: 32px;
  }
  .rail-poster .poster-controls {
    grid-column: 2;
    grid-row: 3;
    justify-content: flex-start;
    padding: 5px 10px;
  }
  .rail-poster > .sr-only {
    position: absolute;
  }
}
@media (min-width: 1400px) and (min-height: 950px) {
  .campaign-details .intro-details {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .campaign-details .intro-hours dl > div {
    display: block;
  }
  .campaign-details .intro-phone {
    font-size: 28px;
  }
}
@media (max-width: 760px) {
  .notice-dialog.campaign-welcome {
    width: calc(100vw - 20px);
    max-height: 92dvh;
    overflow-y: auto;
    border-radius: 22px;
  }
  .notice-dialog.campaign-welcome[open] {
    display: flex;
    flex-direction: column;
  }
  .campaign-welcome > .welcome-poster {
    display: grid;
    flex: 0 0 auto;
    height: auto;
    max-height: none;
    border-radius: 0;
  }
  .campaign-welcome .poster-viewport {
    height: 50dvh;
    min-height: 240px;
    max-height: 640px;
  }
  .campaign-welcome .poster-heading {
    padding: 12px 65px 12px 16px;
  }
  .campaign-welcome .poster-heading > strong {
    font-size: 13px;
  }
  .campaign-welcome > .campaign-details {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
    padding: 22px 22px 25px;
  }
  .campaign-host-card {
    gap: 17px;
    margin-bottom: 18px;
  }
  .campaign-details .welcome-host {
    width: 88px;
    height: 130px;
    flex-basis: 88px;
  }
  .campaign-details .intro-mascot,
  .campaign-details .intro-mascot-button {
    width: 76px;
    height: 118px;
  }
  .campaign-details .welcome-orbit {
    width: 108px;
    height: 108px;
    left: calc(50% - 54px);
    top: calc(50% - 54px);
  }
  .campaign-details .welcome-orbit.orbit-two {
    width: 100px;
    height: 100px;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
  }
  .campaign-details #noticeHeading {
    font-size: 38px;
  }
  .campaign-details .intro-host-hello {
    font-size: 28px;
  }
  .campaign-details .intro-details {
    gap: 18px;
  }
  .campaign-details .intro-hours dt,
  .campaign-details .intro-hours dd {
    font-size: 13px;
  }
  .category-host {
    gap: 13px;
    padding: 12px 14px 12px 10px;
    flex-wrap: wrap;
  }
  .category-host-art {
    flex-basis: 68px;
    width: 68px;
    height: 94px;
  }
  #categoryMascot {
    width: 68px;
    height: 90px;
  }
  .category-host-art::before {
    width: 80px;
    height: 68px;
  }
  .category-host > div {
    flex-basis: calc(100% - 85px);
  }
  #categoryHostTitle {
    font-size: 20px;
  }
  #categoryHostMessage {
    font-size: 11px;
  }
  .category-host > button {
    margin-left: 81px;
    margin-top: -3px;
    font-size: 10px;
    padding: 8px 11px;
  }
  .group-mascot {
    width: 40px;
    height: 55px;
    flex-basis: 40px;
  }
}
@media (max-width: 360px) {
  .rail-poster .poster-controls {
    gap: 3px;
    padding-inline: 5px;
  }
  .rail-poster .poster-controls [data-poster-play] {
    min-width: 65px;
    font-size: 10px;
    padding-inline: 5px;
  }
  .rail-poster .poster-controls button {
    min-width: 40px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .campaign-welcome.is-greeting .intro-mascot-button {
    animation: category-lotus-hello 0.7s ease;
  }
  @keyframes category-lotus-hello {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05) rotate(-3deg);
    }
  }
  #categoryMascot {
    animation: category-lotus-float 4.5s ease-in-out infinite;
  }
  .category-host-spark {
    animation: category-lotus-spark 3.7s ease-in-out infinite;
  }
  @keyframes category-lotus-float {
    0%,
    100% {
      transform: translateY(0) rotate(-1deg);
    }
    50% {
      transform: translateY(-4px) rotate(1deg);
    }
  }
  @keyframes category-lotus-spark {
    0%,
    100% {
      opacity: 0.45;
      transform: scale(0.8);
    }
    50% {
      opacity: 1;
      transform: scale(1.1);
    }
  }
}
.campaign-sleeping .category-host *,
.campaign-sleeping .campaign-host-card * {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  .poster-frame {
    transition: none;
  }
  .category-host *,
  .campaign-host-card * {
    animation: none !important;
    transition: none !important;
  }
}


/* =======================================================================
   TL-7M-30P-R11 — DISPLAY FIT + TRUE POSTER RATIO + SYNCED LOTUS EFFECTS
   All 30 campaign images: 941 × 1672 (two: 940 × 1672), uncropped.
   Fit the WELCOME (not the underlying menu) to available screen real estate.
   ======================================================================= */
.notice-dialog.campaign-welcome {
  --welcome-height: min(860px, calc(100dvh - 24px), calc(78vw + 48px));
  --welcome-art-width: calc((var(--welcome-height) - 114px) * .563);
  box-sizing: border-box;
  width: min(1000px, calc(100vw - 24px), calc(var(--welcome-art-width) + 535px));
  height: var(--welcome-height);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  overscroll-behavior: none;
}
.notice-dialog.campaign-welcome[open] {
  display: grid;
  grid-template-columns: minmax(0, var(--welcome-art-width)) minmax(0,1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
}
.campaign-welcome > .welcome-poster {
  box-sizing: border-box;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0,1fr) auto auto;
}
.campaign-welcome .poster-viewport {
  min-height: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  display: block;
  overflow: hidden;
}
.campaign-welcome .poster-frame {
  width: 100%;
  height: 100%;
  object-fit: contain; /* never clip the 30 original full posters */
  object-position: center;
}
.campaign-welcome .poster-heading {
  min-height: 53px;
  box-sizing: border-box;
  padding: 9px 13px;
}
.campaign-welcome .poster-heading > strong {font-size: 13px;line-height: 1.25}
.campaign-welcome .poster-caption {min-height: 31px; padding: 4px 12px;}
.campaign-welcome .poster-controls {padding: 4px 8px; gap: 7px}
.campaign-welcome .poster-controls button {min-height: 42px;min-width:44px;}
.campaign-welcome > .campaign-details {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  max-height: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden; /* prevent the popup's inner scrollbar */
  padding: clamp(14px, 1.45vw, 23px) clamp(18px, 1.9vw, 28px) 16px;
}
.campaign-host-card {
  flex: 0 0 auto;
  gap: 13px;
  padding: 0 45px 9px 0;
  margin: 0 0 9px;
  min-height: 0;
  align-items: center;
}
.campaign-details .welcome-host {
  position: relative;
  inset: auto;
  transform: none;
  display: grid;
  place-items: center;
  flex: 0 0 100px;
  width: 100px;
  height: 120px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  isolation: isolate;
}
.campaign-details .intro-mascot-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100px;
  height: 120px;
  min-width: 0; /* old 240px minimum was displacing the animation */
  min-height: 0; /* old 365px minimum was displacing the animation */
  max-width: 100%;
  max-height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  inset: auto;
  transform: none;
  background: transparent;
}
.campaign-details .intro-mascot-button picture {
  position: static;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
}
.campaign-details .intro-mascot {
  position: static;
  display: block;
  width: 94px;
  height: 116px;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  margin: 0;
  inset: auto;
  transform: none;
  transform-origin: center 80%;
}
.campaign-details .welcome-orbit,
.campaign-details .welcome-orbit.orbit-two {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%) rotate(-20deg) scaleY(.8);
  transform-origin: center;
  pointer-events:none;
}
.campaign-details .welcome-orbit.orbit-two {
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%) rotate(25deg) scaleX(.73);
}
.campaign-details .welcome-twinkle.twinkle-one {top: 5%; right: -2px;left:auto;bottom:auto;}
.campaign-details .welcome-twinkle.twinkle-two {bottom: 8%; left: -2px;right:auto;top:auto;}
.campaign-host-hello .eyebrow {margin:0 0 3px;font-size:8px;line-height:1.25}
.campaign-host-hello > strong {font-size: clamp(23px, 2.35vw, 31px);line-height:1.1;}
.campaign-host-hello > p {font-size:11px;line-height:1.35;margin:4px 0 0;}
.campaign-details > .eyebrow {font-size:8px;line-height:1.25;}
.campaign-details #noticeHeading {font-size:clamp(26px,2.6vw,35px);line-height:1.02;margin:4px 0 7px;letter-spacing:-.8px;}
.campaign-details .intro-lead {font-size:11px;line-height:1.4;margin:0 0 9px;}
.campaign-details .intro-details {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 12px;
  padding: 9px 0 0;
  margin: 0;
  min-height: 0;
  border-top:1px solid #ead5da;
  align-items: start;
}
.campaign-details .intro-details > * {
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.campaign-details .intro-label {font-size:8px;letter-spacing:.65px;line-height:1.25;}
.campaign-details .intro-location > p {font-size:11px;line-height:1.4;margin:4px 0 7px;}
.campaign-details .intro-contact {padding:0;margin:0;background:none;border:0;box-shadow:none;}
.campaign-details .intro-contact > span {display:block;font-size:7px;line-height:1.3;}
.campaign-details .intro-phone {display:block;font-size:clamp(19px,2vw,25px);font-weight:800;line-height:1.25;white-space:nowrap;}
.campaign-details .intro-hours dl {display:grid;gap:3px;margin:4px 0 0;}
.campaign-details .intro-hours dl > div {display:block;padding:0;margin:0;}
.campaign-details .intro-hours dt, .campaign-details .intro-hours dd {font-size:10px;line-height:1.3;white-space:normal;}
.campaign-details .intro-hours dd {font-weight:750;}
.campaign-details .intro-closed {font-size:10px;margin:4px 0 0;line-height:1.3;}
.campaign-details .intro-service-notes {display:flex;gap:5px 12px;flex-wrap:wrap;font-size:9px;line-height:1.3;margin:9px 0 5px;}
.campaign-details .intro-service {font-size:10px;line-height:1.3;padding:8px 10px;border-radius:10px;text-align:center;margin:0;}
.campaign-details .intro-advisories {position:relative;font-size:9px;line-height:1.3;margin:4px 0 0;}
.campaign-details .intro-advisories summary {min-height:24px;line-height:1.4;padding:3px 0;cursor:pointer;}
.campaign-details .intro-advisories[open] {position:absolute;z-index:8;bottom:66px;left:12px;right:12px;max-height:52%;overflow:auto;background:#fff;border:1px solid #dab8c1;border-radius:12px;padding:9px 13px;box-shadow:0 12px 32px #3515224d;}
.campaign-details .intro-explore {
  flex:0 0 auto;
  margin-top:auto;
  min-height:44px;
  padding:8px 12px;
  font-size:12px;
}
/* A modest height needs fewer decorative lines, never a cut-off action button. */
@media (min-width: 621px) and (max-height: 750px) {
  .campaign-welcome > .campaign-details {padding-top:10px;padding-bottom:10px;}
  .campaign-details .welcome-host {height:88px;flex-basis:82px;width:82px;}
  .campaign-details .intro-mascot-button {height:88px;width:82px;}
  .campaign-details .intro-mascot {height:87px;width:75px;}
  .campaign-details .welcome-orbit, .campaign-details .welcome-orbit.orbit-two {height:88px;width:88px;}
  .campaign-details .welcome-orbit.orbit-two {height:82px;width:82px;}
  .campaign-host-card {padding-bottom:5px;margin-bottom:6px;}
  .campaign-details #noticeHeading {font-size:27px;margin-bottom:4px;}
  .campaign-details .intro-lead {font-size:10px;margin-bottom:6px;}
  .campaign-details .intro-details {padding-top:6px;}
  .campaign-details .intro-service-notes {margin:6px 0 4px;}
  .campaign-details .intro-service {padding:6px 10px;}
}
/* On narrow handheld screens, put a short complete poster above compact details.
   Neither column nor the enclosing dialog scrolls to access Explore. */
@media (max-width: 620px) {
  .notice-dialog.campaign-welcome {
    --welcome-height: calc(100dvh - 12px);
    width:calc(100vw - 12px);
    height:var(--welcome-height);
    max-height:var(--welcome-height);
    border-radius:16px;
    overflow:hidden;
  }
  .notice-dialog.campaign-welcome[open] {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(188px, 34%) minmax(0, 1fr);
  }
  .campaign-welcome > .welcome-poster {
    height:100%;
    flex:auto;
    min-height:0;
    display:grid;
    grid-template-columns:1fr minmax(0, 1.15fr);
    grid-template-rows:auto minmax(0,1fr) auto;
    border-radius:0;
  }
  .campaign-welcome .poster-viewport {
    grid-column:1;grid-row:1 / span 3;
    height:100%;
    min-height:0;
    max-height:none;
  }
  .campaign-welcome .poster-heading {grid-column:2;grid-row:1;min-height:0;padding:12px 38px 6px 12px;}
  .campaign-welcome .poster-heading > strong {font-size:12px;}
  .campaign-welcome .poster-heading > span:first-child {font-size:7px;}
  .campaign-welcome .poster-caption {grid-column:2;grid-row:2;align-items:center;padding:5px 8px 5px 12px;}
  .campaign-welcome .poster-controls {grid-column:2;grid-row:3;gap:2px;padding:4px;}
  .campaign-welcome .poster-controls button {min-width:37px;min-height:40px;padding:3px 5px;}
  .campaign-welcome .poster-controls [data-poster-play] {min-width:66px;font-size:10px;}
  .campaign-welcome > .campaign-details {
    min-height:0;
    max-height:none;
    flex:initial;
    display:flex;
    height:100%;
    overflow:hidden;
    padding:8px 14px 10px;
  }
  .campaign-host-card {gap:10px;min-height:0;padding:0 34px 3px 0;margin:0 0 4px;}
  .campaign-details .welcome-host {height:66px;width:60px;flex:0 0 60px;}
  .campaign-details .intro-mascot-button {height:66px;width:60px;min-height:0;min-width:0;}
  .campaign-details .intro-mascot {height:65px;width:56px;}
  .campaign-details .welcome-orbit, .campaign-details .welcome-orbit.orbit-two {width:73px;height:73px;}
  .campaign-details .welcome-orbit.orbit-two {width:66px;height:66px;}
  .campaign-details .welcome-twinkle {font-size:13px;}
  .campaign-host-hello .eyebrow {font-size:6px;letter-spacing:.4px;margin:0;}
  .campaign-host-hello > strong {font-size:21px;}
  .campaign-host-hello > p {font-size:9px;margin:2px 0 0;line-height:1.2;}
  .campaign-details > .eyebrow {font-size:7px;}
  .campaign-details #noticeHeading {font-size:24px;margin:2px 0 4px;line-height:1;}
  .campaign-details .intro-lead {font-size:9px;line-height:1.28;margin:0 0 6px;}
  .campaign-details .intro-details {gap:6px;padding-top:6px;}
  .campaign-details .intro-location > p {font-size:9px;margin:3px 0 4px;}
  .campaign-details .intro-label {font-size:7px;letter-spacing:.2px;}
  .campaign-details .intro-contact > span {font-size:7px;}
  .campaign-details .intro-phone {font-size:17px;}
  .campaign-details .intro-hours dt, .campaign-details .intro-hours dd {font-size:9px;line-height:1.23;}
  .campaign-details .intro-closed {font-size:9px;margin:3px 0 0;}
  .campaign-details .intro-service-notes {font-size:8px;margin:5px 0 3px;line-height:1.2;}
  .campaign-details .intro-service {font-size:9px;padding:4px 8px;}
  .campaign-details .intro-advisories {margin:2px 0 0;}
  .campaign-details .intro-advisories summary {min-height:20px;padding:2px 0;font-size:9px;}
  .campaign-details .intro-explore {min-height:40px;margin-top:auto;font-size:11px;}
  .campaign-welcome > .campaign-close {top:5px;right:5px;width:36px;height:36px;min-width:36px;min-height:36px;}
}
@media (max-width: 620px) and (max-height: 680px) {
  .notice-dialog.campaign-welcome[open] {grid-template-rows:minmax(145px, 27%) minmax(0,1fr);}
  .campaign-details .intro-lead {display:none;}
  .campaign-details .welcome-host, .campaign-details .intro-mascot-button {height:55px;}
  .campaign-details .intro-mascot {height:54px;}
  .campaign-details #noticeHeading {font-size:21px;}
}
/* CATEGORY INTRO + PER-GROUP POSES: larger, still fully visible, no cropping. */
.category-host-art {flex:0 0 118px;width:118px;height:146px;}
.category-host-art::before {width:122px;height:101px;}
#categoryMascot {width:110px;height:142px;max-width:100%;object-fit:contain;}
.group-mascot {flex:0 0 72px;width:72px;height:96px;margin-right:7px;object-fit:contain;}
@media (max-width: 760px) {
  .category-host-art {flex-basis:90px;width:90px;height:118px;}
  .category-host-art::before {width:98px;height:82px;}
  #categoryMascot {width:86px;height:114px;}
  .category-host > div {flex-basis:calc(100% - 111px);}
  .category-host > button {margin-left:0;}
  .group-mascot {flex-basis:58px;width:58px;height:80px;}
}

/* The legacy rotating-ring keyframes also animate `transform`, which can
   override translate(-50%,-50%) and send effects away from the mascot.
   Keep the same center and animate a glow instead. */
.campaign-details .welcome-orbit.orbit-one,
.campaign-details .welcome-orbit.orbit-two {
  animation: lotus-anchored-glow 4s ease-in-out infinite alternate !important;
}
.campaign-details .welcome-orbit.orbit-two {animation-delay:-1.6s !important;}
@keyframes lotus-anchored-glow {
  0% {opacity:.55;filter:drop-shadow(0 0 1px #bb728890);}
  100% {opacity:1;filter:drop-shadow(0 0 8px #e69dbcb0);}
}
.campaign-details .intro-contact {
  display:block;
  width:100%;
  align-items:stretch;
  justify-content:initial;
}
.campaign-details .intro-contact .intro-phone {margin:2px 0 0;}
