/* Thai Lotus R20.10.20 — Poster expansion + sharp welcome mascot.
   Load AFTER R20.10.18. Changes ONLY #noticeDialog.campaign-welcome.
   Keeps full poster composition with object-fit:contain (no cropping).
   R20.10.17 halo centering and R20.10.19 published menu sync remain intact. */
#noticeDialog.campaign-welcome{
  box-sizing:border-box!important;
}
#noticeDialog.campaign-welcome > .welcome-poster{
  border-radius:clamp(10px,1.1vw,17px)!important;
  overflow:hidden!important;
  min-height:0!important;
}
#noticeDialog.campaign-welcome > .welcome-poster > .poster-heading{
  padding:clamp(5px,.6vw,9px) clamp(7px,.8vw,12px)!important;
  gap:2px!important;
  min-height:0!important;
}
#noticeDialog.campaign-welcome > .welcome-poster > .poster-caption{
  padding:clamp(5px,.55vw,8px) clamp(7px,.7vw,11px)!important;
  min-height:0!important;
}
#noticeDialog.campaign-welcome > .welcome-poster > .poster-controls{
  padding:clamp(4px,.42vw,7px)!important;
  min-height:0!important;
}
/* A blurred poster-color fill removes the black letterbox appearance, while the
   actual full promotional artwork remains uncropped and readable on top. */
#noticeDialog.campaign-welcome > .welcome-poster > .poster-viewport{
  position:relative!important;
  isolation:isolate!important;
  background:radial-gradient(ellipse at 55% 45%,#682947 0%,#23101d 74%,#120c16 100%)!important;
}
#noticeDialog.campaign-welcome > .welcome-poster > .poster-viewport:before{
  content:""!important;
  position:absolute!important;inset:-13%!important;
  z-index:0!important;pointer-events:none!important;
  background-image:var(--tl20-poster-backdrop,none)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;background-position:center!important;
  filter:blur(21px) brightness(.48) saturate(1.2)!important;
  opacity:.9!important;
}
#noticeDialog.campaign-welcome > .welcome-poster > .poster-viewport .poster-frame{
  object-fit:contain!important;
  object-position:50% 50%!important;
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  z-index:1!important;
  image-rendering:auto!important;
}
#noticeDialog.campaign-welcome .welcome-host .intro-mascot-button{
  width:88%!important;height:96%!important;
}
/* Sharp source at native high pixel resolution; a very small floating gesture
   preserves character life without the softness of the earlier GIF. */
#noticeDialog.campaign-welcome .welcome-host .intro-mascot-button{
  overflow:visible!important;
  filter:none!important;
}
#noticeDialog.campaign-welcome .welcome-host .intro-mascot-button picture{
  width:100%!important;height:100%!important;
  display:grid!important;place-items:center!important;
}
#noticeDialog.campaign-welcome .welcome-host .intro-mascot{
  width:100%!important;height:100%!important;
  object-fit:contain!important;
  image-rendering:auto!important;
  filter:none!important;
  -webkit-transform:translateZ(0);
  animation:tl20-mascot-float 3.8s ease-in-out infinite!important;
}
@keyframes tl20-mascot-float{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -3px;rotate:1.2deg}}
/* Portrait display / 32-inch tablet: promote the poster from 31-38% to 43%,
   widen the dialog, and use proportionate 70% height without clipping controls. */
@media (min-width:721px) and (orientation:portrait){
  #noticeDialog.campaign-welcome{
    width:min(96vw,1190px)!important;
    max-width:calc(100vw - 14px)!important;
    height:70vh!important;height:70dvh!important;
    max-height:70vh!important;max-height:70dvh!important;
    padding:clamp(8px,.85vw,14px)!important;
  }
  #noticeDialog.campaign-welcome[open]{
    grid-template-columns:minmax(0,47fr) minmax(0,53fr)!important;
    gap:clamp(8px,1vw,15px)!important;
  }
  #noticeDialog.campaign-welcome > .campaign-details{
    min-width:0!important;
    padding:clamp(4px,.65vw,10px)!important;
    gap:clamp(5px,.65vh,11px)!important;
    justify-content:safe center!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card{
    grid-template-columns:clamp(92px,11.2vw,132px) minmax(0,1fr)!important;
    gap:clamp(12px,1.3vw,20px)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{
    width:clamp(92px,11.2vw,132px)!important;
    height:clamp(92px,11.2vw,132px)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello #noticeHeading{
    font-size:clamp(20px,2.4vw,31px)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello .intro-lead{
    font-size:clamp(11px,1.1vw,15px)!important;
  }
  #noticeDialog.campaign-welcome .tl18-thankyou{
    max-width:100%!important;
  }
  #noticeDialog.campaign-welcome .intro-details.tl-popup-two-cards{
    grid-template-columns:minmax(0,1fr)!important;
    gap:clamp(5px,.65vw,9px)!important;
  }
  #noticeDialog.campaign-welcome .intro-details .tl-popup-info-card{
    padding:clamp(9px,.85vw,14px)!important;
    gap:3px!important;
  }
  #noticeDialog.campaign-welcome .intro-hours dl > div{
    gap:3px 10px!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row .intro-phone{
    font-size:clamp(18px,2.0vw,26px)!important;
  }
  #noticeDialog.campaign-welcome .tl13-break-panel,
  #noticeDialog.campaign-welcome .tl13-services-panel{
    min-height:0!important;
  }
  #noticeDialog.campaign-welcome .intro-advisories{
    margin:0!important;
  }
}
/* 32-inch tall Android displays: keep all cards balanced after a wider poster. */
@media(min-width:900px) and (min-height:1350px) and (orientation:portrait){
  #noticeDialog.campaign-welcome .campaign-host-card{
    grid-template-columns:clamp(112px,10vh,146px) minmax(0,1fr)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{
    width:clamp(112px,10vh,146px)!important;
    height:clamp(112px,10vh,146px)!important;
  }
  #noticeDialog.campaign-welcome .intro-details .tl-popup-info-card{
    min-height:0!important;
    padding:clamp(12px,1vw,17px)!important;
  }
  #noticeDialog.campaign-welcome .tl13-break-panel,
  #noticeDialog.campaign-welcome .tl13-services-panel{min-height:0!important}
}
/* Smaller landscape screens: keep the previous compact composition and only
   slightly expand the poster. Its height stays 65% for that orientation. */
@media(min-width:900px) and (orientation:landscape){
  #noticeDialog.campaign-welcome[open]{
    grid-template-columns:minmax(0,41fr) minmax(0,59fr)!important;
  }
}
@media(max-width:720px){
  /* Phone layout stays as-is: the right-hand details cannot be made narrower. */
  #noticeDialog.campaign-welcome .welcome-host .intro-mascot{
    animation-duration:4.4s!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #noticeDialog.campaign-welcome .welcome-host .intro-mascot{
    animation:none!important;translate:0 0!important;rotate:0deg!important;
  }
}
