/* Park It guest portal. "Glow" skin: plum-black ground, amber-to-coral gradient accent, Manrope 800 display, pills. A hotel brand color overrides --accent/--accent2/--accent-rgb at runtime. */
:root { --bg: #1A1620; --card: #272030; --card2: #2E2738; --line: #3A3246; --ink: #FFF7EA; --dim: #D8CCC2; --mute: #B9A9A0; --accent: #FFB84A; --accent2: #FF7A59; --accent-rgb: 255,184,74; --on-accent: #1A1620; --ok: #8BE39B; --bad: #FF8A80; --grad: linear-gradient(135deg, var(--accent), var(--accent2)); --glow: 0 0 40px rgba(var(--accent-rgb), .45); --shadow: 0 8px 24px rgba(var(--accent-rgb), .3); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/g/assets/fonts/manrope.woff2') format('woff2'); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; max-width: 100%; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: "Manrope", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 15px; }
body { background: radial-gradient(circle at 80% 12%, rgba(var(--accent-rgb), .20), transparent 42%), var(--bg); background-attachment: fixed; }
body.glow-center { background: radial-gradient(circle at 50% 36%, rgba(var(--accent-rgb), .26), transparent 40%), var(--bg); background-attachment: fixed; }
button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
#app { min-height: 100%; display: flex; flex-direction: column; }
.screen { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; padding: max(18px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom)); max-width: 520px; width: 100%; margin: 0 auto; }
.screen.enter-fade { animation: fade .22s; } .screen.enter-slide { animation: slide .35s cubic-bezier(.2,.8,.2,1); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hdr .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hdr .mark { width: 34px; height: 34px; border-radius: 12px; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; box-shadow: var(--shadow); }
.hdr .name { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.2px; }
.hdr .name .it { color: var(--accent); }
.hdr .sub { font-size: 11.5px; color: var(--mute); font-weight: 600; }
.pill { font-size: 11px; font-weight: 800; color: var(--on-accent); border: none; background: var(--grad); border-radius: 999px; padding: 6px 12px; box-shadow: var(--shadow); }
.back { font-size: 22px; line-height: 1; color: var(--dim); background: none; border: none; padding: 4px 6px 4px 0; }
.title { font-size: clamp(28px, 5svh, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; text-wrap: pretty; }
.lead { margin-top: 10px; font-size: 14.5px; color: var(--dim); line-height: 1.5; text-wrap: pretty; }
.kicker { font-size: 11.5px; letter-spacing: .6px; color: var(--mute); font-weight: 800; text-transform: uppercase; }
.card { background: var(--card); border-radius: 30px; padding: 20px; }
.grow { flex: 1; }
.btn { height: 58px; flex-shrink: 0; border-radius: 999px; border: none; background: var(--card); color: var(--ink); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 0 20px; width: 100%; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--grad); color: var(--on-accent); font-weight: 800; box-shadow: var(--shadow); }
.btn.big { height: clamp(62px, 9svh, 76px); flex-shrink: 0; border-radius: 999px; font-size: 19px; justify-content: space-between; padding: 0 24px; }
.btn.ghost { background: var(--card); color: var(--dim); }
.btn:disabled { opacity: .45; }
.btn .hint { font-size: 13px; font-weight: 500; opacity: .75; }
.icon { width: 34px; height: 34px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--grad); color: var(--on-accent); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 700; border: none; background: var(--card); color: var(--dim); }
.chip.on { background: var(--grad); color: var(--on-accent); }
.tag { font-size: 12.5px; font-weight: 700; color: var(--dim); background: var(--card); border-radius: 999px; padding: 8px 13px; }
.err { color: var(--bad); font-size: 13px; text-align: center; margin-top: 14px; }
.ok { color: var(--ok); }
.foot { text-align: center; font-size: 12px; color: var(--mute); margin-top: 16px; line-height: 1.6; }
.foot b { color: var(--accent); font-weight: 700; }
.legal-foot { margin-top: 18px; text-align: center; font-size: 13px; color: var(--mute); line-height: 2; flex-shrink: 0; } .legal-foot a { color: var(--mute); text-decoration: underline; text-underline-offset: 2px; padding: 4px 2px; display: inline-block; } .legal-foot a:hover { color: var(--dim); }
/* a11y: hidden live region; visible focus ring for keyboard / switch users; headings keep their visual size */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2 { margin: 0; font: inherit; } h1:focus { outline: none; }
:focus:not(:focus-visible) { outline: none; } :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* pin */
.dots { display: flex; gap: 10px; margin-top: clamp(14px, 3svh, 28px); flex-shrink: 0; }
.dots.shake { animation: shake .35s; }
.dot { width: 48px; height: clamp(40px, 6.5svh, 56px); border-radius: 999px; background: var(--card); transition: background .15s, box-shadow .15s; }
.dot.on { background: var(--grad); box-shadow: var(--shadow); }
.dots.bad .dot { background: var(--bad); box-shadow: none; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(14px, 3svh, 24px); flex-shrink: 0; }
.key { height: clamp(46px, 7svh, 60px); border-radius: 999px; border: none; background: var(--card); font-size: 22px; font-weight: 800; }
.key:active { transform: scale(.96); background: var(--line); }
.key.soft { background: transparent; color: var(--mute); font-size: 14px; font-weight: 700; }
/* request */
.ticket { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.ticket .no { margin-top: 6px; font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.ticket .st { font-size: 12px; font-weight: 800; color: var(--on-accent); background: var(--grad); border-radius: 999px; padding: 6px 12px; display: inline-block; }
.ticket .meta { margin-top: 8px; font-size: 12.5px; color: var(--mute); text-align: right; }
.sched { margin-top: 10px; background: var(--card); border-radius: 24px; padding: 16px 18px; }
.sched .row { display: flex; justify-content: space-between; align-items: center; }
.sched .pick { margin-top: 12px; width: 100%; height: 50px; border-radius: 999px; border: none; background: var(--card2); color: var(--ink); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; } .sched .pick.on { background: var(--grad); color: var(--on-accent); box-shadow: var(--shadow); } .sched .pick .hint { font-size: 13px; opacity: .7; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 6; animation: fade .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; background: var(--card); border-radius: 30px 30px 0 0; padding: 18px 22px max(30px, env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; animation: rise .35s cubic-bezier(.2,.8,.2,1); } .sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 16px; }
.sheet input[type=datetime-local] { margin-top: 16px; width: 100%; height: 56px; border-radius: 999px; border: none; background: var(--bg); color: var(--ink); padding: 0 18px; font-size: 16px; font-weight: 700; color-scheme: dark; }
.sched input[type=datetime-local] { margin-top: 12px; width: 100%; height: 50px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 14px; font-size: 15px; color-scheme: dark; }
.sched .go { margin-top: 12px; width: 100%; height: 50px; border-radius: 999px; border: none; background: var(--line); color: var(--ink); font-size: 15px; font-weight: 700; }
textarea.note { margin-top: 10px; width: 100%; min-height: 76px; resize: none; border-radius: 24px; border: none; background: var(--card); color: var(--ink); padding: 14px 16px; font-size: 14.5px; line-height: 1.4; }
textarea.note::placeholder, input::placeholder { color: var(--mute); }
.counter { text-align: right; font-size: 11.5px; color: var(--mute); margin-top: 4px; }
/* status */
.ring { margin: clamp(14px, 3.5svh, 30px) auto 0; display: grid; place-items: center; }
.screen.animate .ring { animation: bloom .6s cubic-bezier(.2,.8,.2,1) both; }
.screen.animate .ring .k, .screen.animate .ring .u { animation: rise .4s .3s both; }
.ring .k { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--accent); text-transform: uppercase; }
.ring .n { font-variant-numeric: tabular-nums; }
.ring > div { text-align: center; }
.ring .n { font-size: clamp(72px, 13svh, 110px); font-weight: 800; line-height: .9; letter-spacing: -5px; text-shadow: var(--glow); }
.ring .n.time { font-size: clamp(40px, 7svh, 56px); letter-spacing: -2px; }
.ring.done .n { color: var(--accent); text-shadow: var(--glow); } /* ready: stays on the hotel accent (amber by default), not green */
.ring .u { font-size: 16px; font-weight: 700; color: var(--mute); margin-top: 6px; }
.steps { margin-top: clamp(14px, 3svh, 24px); background: var(--card); border-radius: 30px; padding: 6px 20px; }
.step { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid #1F1F25; }
.step:last-child { border-bottom: none; }
.step .d { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.step.done .d, .step.live .d { background: var(--grad); } .step.live .d { box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); animation: pulse 1.4s infinite; }
.step .l { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--mute); } .step.done .l, .step.live .l { color: var(--ink); }
.step .t { font-size: 12.5px; color: var(--mute); }
.screen.animate .rise { animation: rise .5s both; }
/* chat */
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; min-width: 0; }
.msg { max-width: 78%; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .msg.new { animation: rise .3s both; }
.msg.me { align-self: flex-end; align-items: flex-end; } .msg.them { align-self: flex-start; align-items: flex-start; }
.msg .b { border-radius: 24px; padding: 12px 16px; font-size: 14.5px; font-weight: 500; line-height: 1.4; text-wrap: pretty; background: var(--card); white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.msg.me .b { background: var(--grad); color: var(--on-accent); font-weight: 600; }
.msg .m { font-size: 11px; color: var(--mute); padding: 0 6px; }
.typing { align-self: flex-start; background: var(--card); border-radius: 22px; padding: 12px 16px; display: flex; gap: 5px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: pulse 1.2s infinite; } .typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
.compose { display: flex; gap: 10px; align-items: center; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 18px; min-width: 0; max-width: 100%; }
.compose input { flex: 1; background: transparent; border: none; outline: none; font-size: 15px; min-width: 0; }
.compose button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--grad); color: var(--on-accent); font-size: 18px; flex-shrink: 0; box-shadow: var(--shadow); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; min-width: 0; } .quick .chip { max-width: 100%; white-space: normal; text-align: center; }
/* help */
.contact { display: flex; align-items: center; gap: 14px; }
.contact .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.ctas { margin-top: 14px; display: flex; gap: 8px; }
.ctas a { flex: 1; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; background: var(--card2); font-size: 14px; font-weight: 700; }
.rows { margin-top: 10px; background: var(--card); border-radius: 30px; padding: 6px 20px; }
.rows .r { padding: 13px 0; border-bottom: 1px solid #1F1F25; } .rows .r:last-child { border-bottom: none; }
.rows .r .n { font-size: 14.5px; } .rows .r .w { font-size: 12.5px; color: var(--mute); margin-top: 2px; }
/* progress bars: one gradient across the four tracks; the fill scales once on arrival and transitions on status change */
.bars { margin-top: clamp(14px, 3svh, 24px); display: flex; gap: 6px; }
.bars .tr { flex: 1; height: 6px; border-radius: 3px; background: var(--card); overflow: hidden; }
.bars .fl { height: 100%; border-radius: 3px; background: var(--grad); background-size: 400% 100%; transform-origin: left; transform: scaleX(var(--sx, 0)); transition: transform .5s cubic-bezier(.2,.8,.2,1) var(--dl, 0ms); }
.bars .tr:nth-child(1) .fl { background-position: 0% 0; } .bars .tr:nth-child(2) .fl { background-position: 33.3% 0; } .bars .tr:nth-child(3) .fl { background-position: 66.6% 0; } .bars .tr:nth-child(4) .fl { background-position: 100% 0; }
.screen.animate .bars { animation: rise .5s .65s both; }
/* take-apart: ONE class on the request screen; above the button lifts away, the button and everything below settle down, 40 ms stagger outward */
.gp-apart [data-apart] { animation-duration: .4s; animation-timing-function: cubic-bezier(.4,0,.6,1); animation-fill-mode: forwards; pointer-events: none; }
.gp-apart [data-apart="card"] { animation-name: apartUp; animation-delay: 40ms; }
.gp-apart [data-apart="kicker"] { animation-name: apartUp; animation-delay: 0ms; }
.gp-apart [data-apart="btn"] { animation-name: apartDown; animation-delay: 0ms; }
.gp-apart [data-apart="sched"] { animation-name: apartDown; animation-delay: 0ms; }
.gp-apart [data-apart="noteKicker"] { animation-name: apartDown; animation-delay: 40ms; }
.gp-apart [data-apart="note"] { animation-name: apartDown; animation-delay: 80ms; }
.gp-apart [data-apart="chat"] { animation-name: apartDown; animation-delay: 120ms; }
.gp-apart { overflow: visible; }
.boot-wrap { flex: 1; display: grid; place-items: center; } .boot-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: var(--glow); animation: pulse 1s infinite; }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px 10px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes ring { from { transform: rotate(-20deg) scale(.4); opacity: 0; } 60% { opacity: 1; } to { transform: rotate(-20deg) scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes apartUp { to { opacity: 0; transform: translateY(-18px) scale(.97); } }
@keyframes apartDown { to { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes bloom { 0% { transform: scale(.42); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes tick { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes slide { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* iPhone: fast taps on buttons must not trigger double-tap zoom, the grey tap flash or text selection (pinch zoom stays on) */
button, .key, .pad, [data-act] { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
