/* Thai Lotus R20.10.22 — Balanced Popup Refinement
   Goals: 50–55% poster, 45–50% details, 72% dialog height,
   poster fully visible, sharper hierarchy, mascot on top, larger CTA,
   full-width phone row + icon row below, thank-you pill at bottom. */

#noticeDialog.campaign-welcome .tl18-thankyou{
  background:linear-gradient(180deg,#fff8fb 0%,#ffeef6 100%)!important;
  border:1px solid rgba(177,61,108,.18)!important;
  border-radius:999px!important;
  color:#a03b69!important;
  text-align:center!important;
  box-shadow:0 6px 16px rgba(177,61,108,.08)!important;
}

@media (orientation:portrait) and (min-height:760px) and (min-width:480px){
  #noticeDialog.campaign-welcome{
    width:min(97vw,1330px)!important;
    max-width:calc(100vw - 10px)!important;
    height:72vh!important;
    height:72dvh!important;
    max-height:72vh!important;
    max-height:72dvh!important;
    padding:clamp(8px,.85vw,14px)!important;
  }
  #noticeDialog.campaign-welcome[open]{
    grid-template-columns:minmax(0,54fr) minmax(0,46fr)!important;
    gap:clamp(8px,.8vw,14px)!important;
  }
  #noticeDialog.campaign-welcome > .welcome-poster{
    height:100%!important;
    min-height:0!important;
  }
  #noticeDialog.campaign-welcome > .campaign-details{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    gap:clamp(5px,.65vh,10px)!important;
    padding:clamp(4px,.55vw,8px)!important;
    overflow-y:auto!important;
  }
  /* Mascot first, then hospitality text */
  #noticeDialog.campaign-welcome .campaign-host-card{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:clamp(6px,.6vh,9px)!important;
    padding:0!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{
    width:clamp(72px,8.3vw,108px)!important;
    height:clamp(72px,8.3vw,108px)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello{
    width:100%!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello .eyebrow{
    display:block!important;
    margin:0 0 2px!important;
    font-size:clamp(9px,.92vw,12px)!important;
    line-height:1.2!important;
    letter-spacing:.12em!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello #noticeHeading{
    font-size:clamp(17px,1.95vw,28px)!important;
    line-height:1.05!important;
    margin:0!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello .intro-lead{
    font-size:clamp(10px,1vw,14px)!important;
    line-height:1.24!important;
    margin:4px 0 0!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero{
    min-height:clamp(58px,5.3vh,84px)!important;
    padding:clamp(7px,.8vw,11px)!important;
    border-radius:clamp(14px,1.4vw,20px)!important;
    box-shadow:0 10px 26px rgba(199,89,120,.20)!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero .explore-star{font-size:clamp(18px,2vw,26px)!important}
  #noticeDialog.campaign-welcome .intro-explore-hero .explore-copy strong{
    font-size:clamp(18px,2vw,28px)!important;
    line-height:1.06!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero .explore-copy small{
    font-size:clamp(10px,.92vw,13px)!important;
  }
  #noticeDialog.campaign-welcome .intro-details.tl-popup-two-cards{
    grid-template-columns:minmax(0,1fr)!important;
    gap:clamp(5px,.55vh,8px)!important;
  }
  #noticeDialog.campaign-welcome .intro-details .tl-popup-info-card{
    padding:clamp(8px,.9vw,12px)!important;
    border-radius:clamp(12px,1vw,16px)!important;
    gap:3px!important;
  }
  #noticeDialog.campaign-welcome .tl-popup-card-title{font-size:clamp(10px,.95vw,13px)!important}
  #noticeDialog.campaign-welcome .tl-popup-address{font-size:clamp(12px,1.08vw,15px)!important;line-height:1.22!important}
  #noticeDialog.campaign-welcome .tl-popup-card-sub{font-size:clamp(9px,.82vw,11px)!important}
  #noticeDialog.campaign-welcome .intro-hours dt,
  #noticeDialog.campaign-welcome .intro-hours dd{font-size:clamp(10px,.94vw,13px)!important;line-height:1.18!important}
  #noticeDialog.campaign-welcome .intro-closed{font-size:clamp(9px,.82vw,11px)!important}
  #noticeDialog.campaign-welcome .tl13-break-panel{
    padding:clamp(6px,.65vw,9px)!important;
    gap:5px!important;
    border-radius:clamp(12px,1vw,16px)!important;
  }
  #noticeDialog.campaign-welcome .tl13-break-info strong{font-size:clamp(9px,.8vw,11px)!important}
  #noticeDialog.campaign-welcome .tl13-break-info span{font-size:clamp(10px,.94vw,13px)!important}
  #noticeDialog.campaign-welcome .tl13-services-panel{
    padding:clamp(6px,.7vw,10px)!important;
    gap:4px!important;
    border-radius:clamp(12px,1vw,16px)!important;
  }
  #noticeDialog.campaign-welcome .tl13-service-heading{font-size:clamp(9px,.8vw,11px)!important}
  #noticeDialog.campaign-welcome .tl13-service-pills>span{font-size:clamp(9px,.88vw,12px)!important;padding:5px 3px!important}
  /* Phone full row, icons on next row */
  #noticeDialog.campaign-welcome .intro-bottom-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px!important;
    align-items:stretch!important;
    margin:0!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-contact.intro-phone-strip{
    grid-column:1 / -1!important;
    min-height:46px!important;
    padding:6px 9px!important;
    border-radius:14px!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row .intro-call-label{font-size:clamp(8px,.74vw,10px)!important}
  #noticeDialog.campaign-welcome .intro-bottom-row .intro-phone{font-size:clamp(15px,1.55vw,21px)!important;letter-spacing:-.02em!important}
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-music-switch,
  #noticeDialog.campaign-welcome .intro-bottom-row > .tl-popup-fs-icon{
    min-width:34px!important;
    width:clamp(34px,3.2vw,42px)!important;
    min-height:34px!important;
    height:clamp(34px,3.2vw,42px)!important;
    border-radius:12px!important;
    justify-self:end!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-music-switch{grid-column:1!important;justify-self:end!important}
  #noticeDialog.campaign-welcome .intro-bottom-row > .tl-popup-fs-icon{grid-column:2!important}
  #noticeDialog.campaign-welcome .intro-bottom-row .intro-music-switch .music-word{display:none!important}
  /* Thank-you bar sits at bottom in its own frame */
  #noticeDialog.campaign-welcome .tl18-thankyou{
    order:99!important;
    margin:0!important;
    padding:6px 10px!important;
    font-size:clamp(9px,.86vw,12px)!important;
    line-height:1.2!important;
  }
  /* Poster should dominate but remain fully visible */
  #noticeDialog.campaign-welcome > .welcome-poster{
    grid-template-rows:auto minmax(0,1fr) auto auto!important;
  }
  #noticeDialog.campaign-welcome .welcome-poster > .poster-heading{padding:5px 9px!important}
  #noticeDialog.campaign-welcome .welcome-poster > .poster-caption{padding:4px 9px!important}
  #noticeDialog.campaign-welcome .welcome-poster > .poster-controls{padding:4px 8px 6px!important}
  #noticeDialog.campaign-welcome .poster-viewport .poster-frame{object-fit:contain!important;object-position:center!important}
}

@media (orientation:portrait) and (min-width:700px) and (min-height:1100px){
  #noticeDialog.campaign-welcome[open]{grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important}
  #noticeDialog.campaign-welcome > .campaign-details{padding:clamp(8px,.9vw,14px)!important;gap:clamp(8px,.95vh,14px)!important}
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{width:clamp(86px,9vw,118px)!important;height:clamp(86px,9vw,118px)!important}
  #noticeDialog.campaign-welcome .campaign-host-hello #noticeHeading{font-size:clamp(20px,2.15vw,31px)!important}
  #noticeDialog.campaign-welcome .intro-explore-hero{min-height:clamp(64px,4.8vh,88px)!important}
  #noticeDialog.campaign-welcome .intro-details .tl-popup-info-card{padding:clamp(10px,1vw,15px)!important}
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-contact.intro-phone-strip{min-height:54px!important;padding:8px 10px!important}
  #noticeDialog.campaign-welcome .intro-bottom-row .intro-phone{font-size:clamp(18px,1.7vw,24px)!important}
  #noticeDialog.campaign-welcome .tl18-thankyou{padding:8px 12px!important;font-size:clamp(10px,1vw,13px)!important}
}

@media (max-width:479px) and (orientation:portrait){
  /* Keep compact phones readable; still bias poster a bit more. */
  #noticeDialog.campaign-welcome[open]{grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important}
}
