/* Thai Lotus R20.10.22.1 — 32-inch Portrait Kiosk Polish
   Load after R20.10.22. Design-only update to #noticeDialog.
   All artwork remains uncropped, and poster carousel controls still work.
   No changes to menu sync, music, fullscreen, seasonal scripts or R21.
*/
@media (orientation:portrait) and (min-width:480px) and (min-height:760px){
  /* Treat Android landscape-equivalent logical pixel widths as a 32-inch screen. */
  #noticeDialog.campaign-welcome{
    width:min(97vw,1330px)!important;
    max-width:calc(100vw - 8px)!important;
    height:72vh!important;height:72dvh!important;
    max-height:72vh!important;max-height:72dvh!important;
    padding:clamp(7px,.75vw,12px)!important;
    border-radius:clamp(14px,1.8vw,24px)!important;
    overflow:hidden!important;
  }
  #noticeDialog.campaign-welcome[open]{
    display:grid!important;
    grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
    gap:clamp(6px,.65vw,12px)!important;
  }
  #noticeDialog.campaign-welcome > .welcome-poster{
    min-width:0!important;min-height:0!important;height:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr) auto auto!important;
    border-radius:clamp(12px,1vw,17px)!important;
  }
  #noticeDialog.campaign-welcome .welcome-poster > .poster-heading{
    padding:4px 8px!important;min-height:20px!important;
  }
  #noticeDialog.campaign-welcome .welcome-poster > .poster-caption{
    padding:3px 8px!important;min-height:18px!important;
    font-size:clamp(9px,.9vw,12px)!important;
  }
  #noticeDialog.campaign-welcome .welcome-poster > .poster-controls{
    padding:3px 6px 5px!important;min-height:30px!important;
  }
  #noticeDialog.campaign-welcome .welcome-poster .poster-viewport{
    width:100%!important;height:100%!important;min-height:0!important;
    overflow:hidden!important;
  }
  #noticeDialog.campaign-welcome .poster-viewport img.poster-frame{
    object-fit:contain!important;object-position:center!important;
    width:100%!important;height:100%!important;
  }
  #noticeDialog.campaign-welcome > .campaign-details{
    min-width:0!important;min-height:0!important;
    height:100%!important;max-height:100%!important;
    display:flex!important;flex-direction:column!important;
    justify-content:flex-start!important;
    gap:clamp(4px,.52vh,8px)!important;
    padding:clamp(3px,.55vw,8px)!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    scrollbar-width:none!important;
  }
  #noticeDialog.campaign-welcome > .campaign-details::-webkit-scrollbar{display:none!important}
  /* Mascot center-top, typography beneath for a stronger welcome hierarchy. */
  #noticeDialog.campaign-welcome .campaign-host-card{
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    gap:clamp(2px,.35vh,5px)!important;
    flex:0 0 auto!important;min-height:0!important;
    padding:0!important;margin:0!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{
    width:clamp(62px,6.7vw,99px)!important;
    height:clamp(62px,6.7vw,99px)!important;
    min-width:0!important;min-height:0!important;
    align-self:center!important;
    margin:0!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card > .campaign-host-hello{
    width:100%!important;min-width:0!important;
    text-align:center!important;align-self:stretch!important;
    margin:0!important;padding:0!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello .eyebrow{
    display:block!important;margin:0 0 2px!important;
    color:#a23e67!important;font-weight:850!important;
    font-size:clamp(9px,.85vw,12px)!important;
    letter-spacing:.095em!important;line-height:1.1!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello #noticeHeading{
    font-size:clamp(16px,1.7vw,26px)!important;
    line-height:1.08!important;margin:0!important;
    overflow-wrap:normal!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello .intro-lead{
    display:block!important;margin:3px 0 0!important;
    font-size:clamp(10px,.95vw,14px)!important;
    line-height:1.2!important;
  }
  /* Larger, friendlier Explore CTA while using less vertical chrome elsewhere. */
  #noticeDialog.campaign-welcome .intro-explore-hero{
    flex:0 0 auto!important;
    min-height:clamp(59px,5.3vh,80px)!important;
    padding:clamp(8px,.85vw,12px)!important;
    border-radius:clamp(14px,1.35vw,20px)!important;
    margin:2px 0!important;
    box-shadow:0 10px 22px #a33b6f35!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero .explore-copy strong{
    font-size:clamp(18px,1.82vw,28px)!important;
    line-height:1.08!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero .explore-copy small{
    display:block!important;font-size:clamp(10px,.9vw,13px)!important;
  }
  /* Compact, readable cards with a consistent visual rhythm. */
  #noticeDialog.campaign-welcome .intro-details.tl-popup-two-cards{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:clamp(4px,.45vh,6px)!important;margin:0!important;
  }
  #noticeDialog.campaign-welcome .intro-details .tl-popup-info-card{
    min-height:0!important;padding:clamp(7px,.74vw,11px)!important;
    gap:2px!important;border-radius:12px!important;
  }
  #noticeDialog.campaign-welcome .tl-popup-card-title{
    font-size:clamp(10px,.9vw,13px)!important;
  }
  #noticeDialog.campaign-welcome .tl-popup-address{
    font-size:clamp(11px,1.02vw,15px)!important;line-height:1.18!important;
  }
  #noticeDialog.campaign-welcome .intro-hours dt,
  #noticeDialog.campaign-welcome .intro-hours dd{
    font-size:clamp(10px,.88vw,13px)!important;line-height:1.16!important;
  }
  #noticeDialog.campaign-welcome .tl13-break-panel{
    min-height:0!important;padding:clamp(5px,.5vw,8px)!important;
    gap:4px!important;border-radius:12px!important;
  }
  #noticeDialog.campaign-welcome .tl13-break-info{gap:2px!important}
  #noticeDialog.campaign-welcome .tl13-services-panel{
    min-height:0!important;padding:clamp(5px,.52vw,8px)!important;
    gap:3px!important;border-radius:12px!important;
  }
  #noticeDialog.campaign-welcome .tl13-service-pills > span{
    padding:clamp(4px,.5vw,7px) 2px!important;
  }
  /* No half-width phone! It spans entire line; music and fullscreen below. */
  #noticeDialog.campaign-welcome .intro-bottom-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    grid-template-rows:auto auto!important;
    gap:clamp(4px,.5vh,7px)!important;
    flex:0 0 auto!important;
    margin:0!important;
    min-width:0!important;
    align-items:center!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-contact.intro-phone-strip{
    grid-row:1!important;grid-column:1 / -1!important;
    width:100%!important;min-width:0!important;
    min-height:clamp(43px,4.2vh,58px)!important;
    padding:6px 10px!important;
    border-radius:clamp(12px,1vw,15px)!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row .intro-phone{
    font-size:clamp(17px,1.65vw,25px)!important;
    letter-spacing:-.015em!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-music-switch,
  #noticeDialog.campaign-welcome .intro-bottom-row > .tl-popup-fs-icon{
    grid-row:2!important;position:relative!important;
    inset:auto!important;width:clamp(35px,3.6vw,48px)!important;
    min-width:35px!important;min-height:35px!important;
    height:clamp(35px,3.6vw,48px)!important;
    justify-self:end!important;margin:0!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-music-switch{
    grid-column:2!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .tl-popup-fs-icon{
    grid-column:3!important;
  }
  /* Thank-you lives below controls in its own full-width framed footer. */
  #noticeDialog.campaign-welcome > .campaign-details > .tl18-thankyou{
    order:99!important;flex:0 0 auto!important;
    display:block!important;width:100%!important;
    margin:auto 0 0!important;padding:clamp(6px,.65vw,11px)!important;
    background:linear-gradient(115deg,#fff3f8,#ffe6f0)!important;
    border:1px solid #ebc6d7!important;border-radius:12px!important;
    color:#952952!important;font-weight:700!important;
    font-size:clamp(10px,.95vw,14px)!important;
    line-height:1.25!important;text-align:center!important;
  }
}
/* Android display zoom / other portrait modes: no overlapping controls. */
@media (orientation:portrait) and (max-width:479px){
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-contact.intro-phone-strip{
    grid-row:1!important;grid-column:1 / -1!important;width:100%!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-music-switch,
  #noticeDialog.campaign-welcome .intro-bottom-row > .tl-popup-fs-icon{
    grid-row:2!important;
  }
  #noticeDialog.campaign-welcome .intro-bottom-row > .intro-music-switch{grid-column:2!important}
  #noticeDialog.campaign-welcome .intro-bottom-row > .tl-popup-fs-icon{grid-column:3!important}
  #noticeDialog.campaign-welcome > .campaign-details > .tl18-thankyou{
    margin-top:5px!important;padding:5px!important;border-radius:9px!important;
  }
}
/* Critical inherited flex-basis: large-display legacy CSS sets a 155px
   flex-basis on the mascot despite its smaller width. Restore square stage. */
@media (orientation:portrait) and (min-width:480px) and (min-height:760px){
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{
    flex:0 0 auto!important;
    aspect-ratio:1!important;
    max-height:none!important;
  }
  /* Keep speech bubble visible inside the popup at any portrait scale. */
  #noticeDialog.campaign-welcome .welcome-host .tl16-speech-bubble{
    top:12px!important;
    transform:translate(-50%,-50%)!important;
  }
}
/* Portrait TV / 32-inch large surface: distribute information rhythmically
   instead of leaving a large blank island above the footer. */
@media (orientation:portrait) and (min-width:700px) and (min-height:1100px){
  #noticeDialog.campaign-welcome > .campaign-details{
    justify-content:space-between!important;
    gap:clamp(9px,1vh,16px)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-card > .welcome-host{
    width:clamp(88px,10vw,124px)!important;
    height:clamp(88px,10vw,124px)!important;
    flex:0 0 auto!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello #noticeHeading{
    font-size:clamp(21px,2.35vw,33px)!important;
  }
  #noticeDialog.campaign-welcome .campaign-host-hello .intro-lead{
    font-size:clamp(12px,1.1vw,16px)!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero{
    min-height:clamp(63px,5.0vh,88px)!important;
  }
  #noticeDialog.campaign-welcome .intro-explore-hero .explore-copy strong{
    font-size:clamp(20px,2.15vw,29px)!important;
  }
  #noticeDialog.campaign-welcome .intro-details .tl-popup-info-card{
    padding:clamp(9px,1vw,16px)!important;
  }
  #noticeDialog.campaign-welcome .tl-popup-address{
    font-size:clamp(13px,1.15vw,18px)!important;
  }
  #noticeDialog.campaign-welcome > .campaign-details > .tl18-thankyou{
    margin:0!important;
  }
}
