/* Blueline TV. Every screen is laid out on the 1920x1080 stage exactly as its canvas board
   (LauncherBoot, LauncherLanguage, LauncherPair, Main, LauncherNoStay, LauncherPreparing, Offline, MyStay,
   Checkout, PropertyInfo, HouseRules, HouseGuide, Services, ServiceTowels, ServiceDetails, PopupSent,
   PopupFailed, MessageHost, HostMessageBanner, Entertainment, LauncherApps, Emergency*).
   Screen markup keeps the boards' inline styles; this file only holds what inline styles cannot:
   focus states for the remote, fonts, scaling and motion. */
:root { --night: #0A1020; --white: #F7F9FC; --ring: 0 0 0 6px rgba(111,163,255,.55); --mono: 'IBM Plex Mono', ui-monospace, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); overflow: hidden; cursor: none; }
body { font-family: 'Inter', Arial, sans-serif; color: var(--white); -webkit-font-smoothing: antialiased; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: var(--night); }
#stage h1, #stage h2 { margin: 0; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

/* ---------- Focus: what the remote is on is white with the blue ring (as on every board) ---------- */
.fx { outline: none; transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out; }
.glass { background: rgba(10,16,32,.55); backdrop-filter: blur(28px) saturate(1.2); border: 1px solid rgba(247,249,252,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); color: var(--white); }
.glass.accent { border-color: rgba(111,163,255,.6); }
.fx.glass:focus { background: rgba(247,249,252,.96); color: var(--night); border: 3px solid var(--white); box-shadow: var(--ring), 0 28px 60px rgba(0,0,0,.55); }
.lift:focus { transform: translateY(-12px) scale(1.03); }
.lift-s:focus { transform: translateY(-8px) scale(1.03); }
.fx .ic { background: rgba(247,249,252,.14); color: var(--white); }
.fx.accent .ic { background: rgba(111,163,255,.2); color: #6FA3FF; }
.fx:focus .ic { background: #1B3FA0; color: var(--white); }
.fx .ic.sq { background: rgba(111,163,255,.16); color: #9CC0FF; }
.fx:focus .ic.sq { background: #DCE8FF; color: #1B3FA0; }
.fx .ic.app { background: rgba(247,249,252,.16); color: var(--white); }
.fx:focus .ic.app { background: var(--night); color: var(--white); }
.fx .mut { color: rgba(247,249,252,.8); }
.fx:focus .mut { color: #3A4660; }
.fx .acc { color: #9CC0FF; }
.fx:focus .acc { color: #16357F; }
.fx .badge { color: #6FA3FF; }
.fx:focus .badge { color: #16357F; }
.fx .chev { opacity: 0; transition: opacity .18s; }
.fx:focus .chev { opacity: 1; }
.fx .radio { border: 2px solid rgba(247,249,252,.6); }
.fx:focus .radio { border-color: rgba(10,16,32,.5); }
.fx .radio.on { background: #1B3FA0; border-color: #1B3FA0; color: var(--white); }

/* Pill buttons: primary is always white, ghost turns white on focus. Both get the ring. */
.btn-w { background: var(--white); color: var(--night); border: 3px solid var(--white); }
.btn-g { background: rgba(10,16,32,.5); backdrop-filter: blur(26px); color: var(--white); border: 2px solid rgba(247,249,252,.6); }
.btn-w:focus, .btn-g:focus { box-shadow: var(--ring), 0 20px 44px rgba(0,0,0,.5); }
.btn-g:focus { background: var(--white); color: var(--night); border-color: var(--white); }
.btn-off { opacity: .55; }

/* Small round +/- buttons in the towel rows */
.qbtn { outline: none; transition: transform .15s, box-shadow .15s, background-color .15s; }
.qbtn:focus { background: var(--white) !important; color: var(--night) !important; border-color: var(--white) !important; box-shadow: var(--ring); transform: scale(1.12); }

/* Emergency button (red is reserved for emergencies) */
.sos { outline: none; transition: transform .18s, box-shadow .18s; }
.sos:focus { box-shadow: 0 0 0 6px rgba(247,218,223,.6), 0 10px 30px rgba(0,0,0,.35); transform: scale(1.05); }

.qr svg { width: 100%; height: 100%; display: block; }
.layer { position: absolute; inset: 0; z-index: 10; }
.fade { animation: fade .3s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.shrink { animation: shrink 5s linear forwards; transform-origin: left; }
@keyframes shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.boot-bar { animation: boot 1.4s ease-in-out infinite; }
@keyframes boot { 0% { left: -56px; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
