/* R20.7 — Touchscreen refinement (R20 only; original welcome popup unchanged) */
/* 1. Remove the old on-page Dine-in / Takeout card and Thai Soul ribbon.
   Preserve #visitBand in DOM for R20 kiosk.js IntersectionObserver. */
#visitBand.discovery-band {display:none !important;}
.thai-ribbon {display:none !important;}
/* 3. Elevate top tabs with subtle depth and accessible pressed state. */
nav.touch-dock#touchDock {
  background:linear-gradient(180deg,#702341 0%,#4b1630 96%) !important;
  box-shadow:inset 0 1px 0 #ffbbd34d, 0 6px 18px #3810224d, 0 12px 20px #3b172026 !important;
  border-bottom:1px solid #9d4263 !important;
  padding-block:7px !important;
}
nav.touch-dock#touchDock button {
  position:relative; isolation:isolate;
  background:linear-gradient(165deg,#ffffff14 0%,#ffffff03 45%,#25081334 100%) !important;
  border:1px solid #f6c8d02b !important;
  color:#fff4f7 !important;
  box-shadow:inset 0 1px 0 #ffffff23, 0 3px 5px #250b1926 !important;
  transition:background .18s ease,box-shadow .18s ease,transform .18s ease;
  font-weight:800!important; text-shadow:0 1px 1px #20081366;
}
nav.touch-dock#touchDock button[aria-pressed="true"] {
  background:linear-gradient(180deg,#fff 0%,#ffeaf0 100%) !important;
  border-color:#f2cbd5 !important; color:#852243 !important;
  box-shadow:inset 0 1px 0 #fff,0 3px 0 #cd9faf,0 5px 10px #18070e3b !important;
  text-shadow:none;
}
nav.touch-dock#touchDock button:active {transform:translateY(2px);box-shadow:inset 0 1px 4px #23051144!important;}
nav.touch-dock#touchDock button:focus-visible {outline:3px solid #ffd266;outline-offset:-3px;}
/* 4. Dine-in / Takeout in the SAME controls as Fullscreen and Music. */
.topbar .r206-header-controls .r207-visit-button {
  display:flex!important; align-items:center;justify-content:center;gap:5px;
  position:relative!important; white-space:nowrap;
  min-height:43px; padding:7px 12px; border-radius:12px;
  border:1px solid #e0b6c6; background:linear-gradient(155deg,#fff9fb,#ffe5ed);
  box-shadow:inset 0 1px 0 #fff,0 3px 7px #41132719;
  color:#8d1f48; font:800 12px/1.2 system-ui,sans-serif;cursor:pointer;
}
.topbar .r206-header-controls .r207-visit-button:hover {background:linear-gradient(155deg,#ffe5f0,#fff);}
.topbar .r206-header-controls .r207-visit-button:focus-visible {outline:3px solid #e1ad46;}
/* 6. Restaurant bulletin at LEFT and countdown firmly at RIGHT of bottom bar. */
.r206-refreshbar.r207-newsbar {
  gap:0!important; justify-content:space-between!important; padding:0 max(9px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(9px,env(safe-area-inset-left))!important;
  height:calc(39px + env(safe-area-inset-bottom));min-height:0;
  background:linear-gradient(90deg,#fffafc,#fff3f7 82%,#f7e2ea)!important;
  box-shadow:0 -3px 14px #4f193019;
}
.r207-news-ticker {display:flex;min-width:0;flex:1 1 auto;height:39px;align-items:center;overflow:hidden;}
.r207-news-label {flex:0 0 auto;font:850 10px/1 system-ui,sans-serif;color:#8c2548;letter-spacing:.075em;padding-right:10px;border-right:1px solid #e6becd;margin-right:10px;white-space:nowrap;}
.r207-news-window {position:relative;overflow:hidden;flex:1;min-width:0;white-space:nowrap;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 93%,transparent);}
.r207-news-track {display:flex;width:max-content;align-items:center;animation:r207-scroll 72s linear infinite;will-change:transform;}
.r207-news-track > span {flex:0 0 auto;font:750 11px/1.3 system-ui,sans-serif;color:#732c48;letter-spacing:.02em;padding-right:24px;}
@keyframes r207-scroll {to{transform:translateX(-50%);}}
.r206-refreshbar.r207-newsbar > #refreshStatus {
  display:inline-flex!important;flex:0 0 auto;white-space:nowrap;
  align-items:center;justify-content:flex-end;
  border-left:1px solid #e6bccb!important;margin-left:10px!important;
  padding:0 0 0 10px!important;font-size:11px!important;
  font-weight:900!important;color:#7b2244!important;
}
#refreshCountdown {font-variant-numeric:tabular-nums;color:#ad1f4d;font-size:12px;font-weight:900;}
/* 2. Stable size while swapping existing local mascot poses; draggable R20.6 remains. */
#lotusConcierge .mascot-greet img.mascot-character {
  object-fit:contain; object-position:center bottom; transition:opacity .35s ease;
}
#lotusConcierge .mascot-greet img.mascot-character.r207-switching {opacity:.67;}
@media(max-width:950px){
  .topbar .r206-header-controls {gap:4px !important;}
  .topbar .r206-header-controls .r207-visit-button {height:42px;min-height:42px;padding:6px 8px;font-size:10px;}
  .r207-news-label{font-size:9px;padding-right:7px;margin-right:7px;}
  .r207-news-track > span {font-size:10px;}
}
/* Phones: two-line header so brand, date, four buttons all fit without sideways scrolling. */
@media(max-width:600px){
  :root {--top:114px !important;}
  .topbar {height:var(--top)!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:50px 49px!important;
    align-content:center!important; gap:0 6px!important;padding:5px 10px!important;}
  .topbar .brand {grid-column:1!important;grid-row:1!important;justify-self:start!important;}
  .topbar > .kiosk-clock {grid-column:2!important;grid-row:1!important;justify-self:end!important;}
  .topbar .r206-header-controls {grid-column:1 / -1!important;grid-row:2!important;
    justify-content:center!important; align-self:center; min-width:0!important;width:100%!important;gap:6px!important;}
  .topbar .r206-header-controls .r207-visit-button {flex:1 1 140px;max-width:190px;height:40px;min-height:40px;font-size:11px;}
  .topbar .r206-header-controls #noticeButton {display:flex!important;}
  .r207-news-label {font-size:8px;letter-spacing:0;padding-right:6px;margin-right:6px;}
  .r206-refreshbar.r207-newsbar > #refreshStatus {font-size:9px!important;margin-left:5px!important;padding-left:7px!important;}
  .r207-news-track > span {font-size:10px;}
}
@media(max-width:350px){
  .topbar .r206-header-controls .r207-visit-button {font-size:10px;padding:5px 6px;min-width:0;}
  .r207-news-label {display:none;}
  .r206-refreshbar.r207-newsbar > #refreshStatus {font-size:9px!important;}
}
@media(prefers-reduced-motion:reduce){
  .r207-news-track {animation:none;}
  nav.touch-dock#touchDock button {transition:none;}
  #lotusConcierge .mascot-greet img.mascot-character {transition:none;}
}
