/* KWRC member app — "Tide" design system (taste-skill redesign, 2026-09-26).
   Design read: hospitality super-app for Kuantan residents and resort guests; calm waterfront-premium.
   Dials: VARIANCE 6 · MOTION 5 · DENSITY 4.
   Type: Work Sans (UI + display), IBM Plex Mono (codes, member numbers), Cinzel + Montserrat only in the KWRC lockup.
   Colour: cool sea-mist neutrals, navy ink, ONE accent (tide blue). Status colours carry state only.
   Shape rule: buttons, chips and segments are full pills · images 14px · inputs 12px · badges 6px · sheets 26px. */

@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("assets/fonts/Cinzel-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f2f5f4;        /* canvas: cool sea mist, not cream */
  --surface: #fbfcfc;      /* raised surfaces, sheets */
  --sunk: #e7ecec;         /* wells: chips, segments, icon squircles */
  --ink: #0c1e31;          /* navy ink: headings, primary buttons */
  --ink-2: #33414f;        /* body copy */
  --muted: #5d6b7a;        /* secondary text, AA on paper */
  --faint: #97a3ae;
  --line: #dce3e5;
  --accent: #0b6a87;       /* tide blue: links, selection marks, progress, focus */
  --accent-soft: #dcecf1;
  --on-ink: #f5f8f8;
  --good: #1d7a52; --good-soft: #dff0e6;
  --warn: #8d610e; --warn-soft: #f5ebd4;
  --bad: #b3302f; --bad-soft: #f8e3e2;
  --scrim: rgba(7, 18, 30, .46);
  --shade: 12 30 49;
  --sh-1: 0 1px 2px rgb(var(--shade) / .06);
  --sh-2: 0 1px 2px rgb(var(--shade) / .05), 0 14px 30px -16px rgb(var(--shade) / .28);
  --glass: rgb(251 252 252 / .84);
  --navy: var(--ink);      /* legacy alias used by inline markup */
  --r-img: 14px; --r-in: 12px; --r-sheet: 26px;
  --sans: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --z-tabs: 10; --z-bar: 12; --z-sheet: 40; --z-island: 50; --z-toast: 70;
}
/* Appearance: follows the phone unless the member picks Light or Dark (Account > Settings), stored as html[data-theme]. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0a1520; --surface: #101e2b; --sunk: #172737;
    --ink: #e9eff3; --ink-2: #c2ccd5; --muted: #8f9dab; --faint: #5d6d7d; --line: #1f3040;
    --accent: #62b8d2; --accent-soft: #143648; --on-ink: #0a1520;
    --good: #62c697; --good-soft: #12342a; --warn: #dcb160; --warn-soft: #382d14; --bad: #ef8280; --bad-soft: #3d1c1d;
    --scrim: rgba(0, 0, 0, .6); --shade: 0 0 0; --glass: rgb(16 30 43 / .84);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0a1520; --surface: #101e2b; --sunk: #172737;
  --ink: #e9eff3; --ink-2: #c2ccd5; --muted: #8f9dab; --faint: #5d6d7d; --line: #1f3040;
  --accent: #62b8d2; --accent-soft: #143648; --on-ink: #0a1520;
  --good: #62c697; --good-soft: #12342a; --warn: #dcb160; --warn-soft: #382d14; --bad: #ef8280; --bad-soft: #3d1c1d;
  --scrim: rgba(0, 0, 0, .6); --shade: 0 0 0; --glass: rgb(16 30 43 / .84);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--sans); color: var(--ink); font-size: 14.5px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01";
  background: var(--paper);
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
input, select, textarea { font: inherit; color: inherit; }
.ic { width: 22px; height: 22px; flex: none; stroke-width: 1.6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.num-t { font-variant-numeric: tabular-nums; }

/* ───────── desktop stage: rail + phone ───────── */
body { display: flex; align-items: center; justify-content: center; gap: 72px; padding: 28px; min-height: 100vh; min-height: 100dvh;
  background: radial-gradient(90% 70% at 18% 20%, var(--accent-soft) 0%, transparent 60%), var(--paper); }
.rail { width: 280px; align-self: center; }
.rail-logo { color: var(--ink); margin-bottom: 26px; }
.wm { font-family: "Cinzel", Georgia, serif; font-weight: 400; color: var(--ink); line-height: .9; letter-spacing: .01em; }
.rail-logo .wm { font-size: 64px; }
.rail-wave svg { width: 176px; height: 20px; display: block; margin: 0 0 8px; color: var(--ink); }
.wm-sub, .wm-sub2 { font-family: "Montserrat", var(--sans); font-weight: 600; letter-spacing: .2em; color: var(--ink); }
.rail-logo .wm-sub { font-size: 11.5px; }
.rail-logo .wm-sub2 { font-size: 10px; margin-top: 2px; }
.rail-note { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0 0 24px; max-width: 26ch; }
.rail-links { margin-top: 22px; display: flex; gap: 18px; }
.rail-links a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: color .2s; }
.rail-links a:hover { color: var(--ink); }

.stage { display: grid; place-items: center; }
.device {
  position: relative; width: 414px; height: 868px; border-radius: 62px; padding: 12px;
  background: #0b0f14;
  box-shadow: 0 0 0 2px #262c33, 0 0 0 3.5px #080a0d, 0 50px 90px -40px rgb(12 30 49 / .55), 0 20px 40px -24px rgb(12 30 49 / .35);
}
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #1d2228; }
.device::before { left: -4px; top: 170px; height: 64px; box-shadow: 0 84px 0 #1d2228; }
.device::after { right: -4px; top: 210px; height: 96px; }
.island { position: absolute; z-index: var(--z-island); top: 23px; left: 50%; width: 122px; height: 35px; margin-left: -61px; border-radius: 20px; background: #05070a; pointer-events: none; }
.screen-host, .sheet-root { position: absolute; inset: 12px; border-radius: 50px; overflow: hidden; }
.screen-host { background: var(--paper); }
.sheet-root { pointer-events: none; z-index: var(--z-sheet); }
.home-ind { position: absolute; z-index: 60; left: 50%; bottom: 20px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--ink); pointer-events: none; opacity: .85; }
.dark-ind .home-ind { background: #f5f8f8; }

/* real phones: the app is the whole screen */
@media (max-width: 520px) {
  body { padding: 0; display: block; background: var(--paper); }
  .rail { display: none; }
  .stage { display: block; }
  .device { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding: 0; background: none; box-shadow: none; }
  .device::before, .device::after, .island, .home-ind { display: none; }
  .screen-host, .sheet-root { inset: 0; border-radius: 0; }
  html:not(.embed) .sb { visibility: hidden; height: max(env(safe-area-inset-top), 12px) !important; }
}
.embed body { display: block; padding: 0; background: var(--paper); min-height: 0; }
.embed .rail, .embed .island, .embed .home-ind { display: none; }
.embed .stage { display: block; }
.embed .device { width: 100vw; height: 100vh; border-radius: 0; padding: 0; background: none; box-shadow: none; zoom: 1; transform: none; }
.embed .device::before, .embed .device::after { display: none; }
.embed .screen-host, .embed .sheet-root { inset: 0; border-radius: 0; }
.embed *, .embed *::before, .embed *::after { animation: none !important; transition: none !important; }

/* ───────── screen scaffold + motion ───────── */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--paper); overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .scr.enter { animation: scrIn .42s var(--ease) both; }
  .scr.enter-back { animation: scrBack .42s var(--ease) both; }
  .scr.enter .body > *, .scr.enter .detail-sheet > * { animation: rise .6s var(--ease) both; }
  .scr.enter .body > :nth-child(2), .scr.enter .detail-sheet > :nth-child(2) { animation-delay: 40ms; }
  .scr.enter .body > :nth-child(3), .scr.enter .detail-sheet > :nth-child(3) { animation-delay: 80ms; }
  .scr.enter .body > :nth-child(4), .scr.enter .detail-sheet > :nth-child(4) { animation-delay: 120ms; }
  .scr.enter .body > :nth-child(5), .scr.enter .detail-sheet > :nth-child(5) { animation-delay: 160ms; }
  .scr.enter .body > :nth-child(n+6), .scr.enter .detail-sheet > :nth-child(n+6) { animation-delay: 200ms; }
}
@media (prefers-reduced-motion: reduce) { .scr.enter, .scr.enter-back { animation: fadeIn .15s both; } }
@keyframes scrIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes scrBack { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }

.sb { height: 50px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 36px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); position: relative; z-index: 5; font-variant-numeric: tabular-nums; }
.sb-icons { display: flex; align-items: center; gap: 5px; }
.sb svg { display: block; }
.sb.light { color: #f5f8f8; }

/* header: back + actions on one row, a large left-aligned title under it */
.nav { flex: none; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; padding: 0 12px; position: relative; z-index: 4; min-height: 44px; }
.nav h1 { grid-column: 1 / -1; grid-row: 2; padding: 6px 8px 10px; font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav.root h1 { grid-column: 1 / 3; grid-row: 1; padding-top: 10px; }
.nav.root > span:first-child { display: none; }
.nav-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); transition: background .2s, transform .2s var(--spring); }
.nav-btn:hover { background: var(--sunk); }
.nav-btn:active { transform: scale(.92); }
.nav-btn .ic { width: 22px; height: 22px; }
.nav-right { display: flex; justify-content: flex-end; }
.nav.search-nav { grid-template-columns: 44px 1fr; gap: 6px; padding-right: 20px; }

.body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 20px 32px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.body::-webkit-scrollbar { display: none; }
.has-tabs .body { padding-bottom: 112px; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.sec-head h3 { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.025em; }
.sec-head a, .link { font-size: 14px; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; transition: opacity .2s; }
.sec-head a:hover, .link:hover { opacity: .75; }
.sec-head a .ic, .link .ic { width: 16px; height: 16px; stroke-width: 2; }

.card { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.rate { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.rate .ic { width: 14px; height: 14px; color: var(--ink); }
.rate b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sep { color: var(--faint); margin: 0 2px; }

/* tab bar */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: var(--z-tabs); height: 84px; padding: 10px 14px 26px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 1px 0 var(--line); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.tab .ic { width: 24px; height: 24px; transition: transform .3s var(--spring); }
.tab:active .ic { transform: scale(.86); }
.tab.on { color: var(--ink); font-weight: 600; }
.tab.on::before { content: ""; position: absolute; top: -10px; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }

/* chips + segments (selected = navy ink fill) */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--spring); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--ink); color: var(--on-ink); box-shadow: none; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 4px; border-radius: 999px; background: var(--sunk); }
.seg button { height: 38px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1), 0 0 0 1px var(--line); }

/* buttons */
.btn { height: 54px; width: 100%; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s, background .2s, opacity .2s; box-shadow: 0 12px 24px -16px rgb(var(--shade) / .7); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn[disabled] { opacity: .38; pointer-events: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--faint); }
.btn.soft { background: var(--sunk); color: var(--ink); box-shadow: none; }

/* ───────── 01 splash ───────── */
.scr-splash { background: #06243a; color: #f5f8f8; }
.splash-bg { position: absolute; inset: 0; background: url("assets/img/hero/splash.jpg") center top / cover no-repeat; }
@media (prefers-reduced-motion: no-preference) { .splash-bg { animation: drift 14s var(--ease) both; } }
@keyframes drift { from { transform: scale(1.07); } to { transform: none; } }
.splash-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(222, 236, 244, .42) 0%, rgba(222, 236, 244, 0) 32%),
  linear-gradient(180deg, rgba(3, 30, 48, 0) 46%, rgba(3, 30, 48, .62) 64%, rgba(3, 26, 42, .94) 84%, #031a2a 100%); }
.splash-logo { position: absolute; top: 128px; left: 0; right: 0; text-align: center; color: #0c1e31; }
.splash-logo .wm { font-size: 76px; color: #0c1e31; }
.splash-logo svg { width: 226px; height: 30px; display: block; margin: -10px auto 7px; color: #0c1e31; }
.splash-logo .wm-sub, .splash-logo .wm-sub2 { color: #0c1e31; }
.splash-logo .wm-sub { font-size: 12.5px; letter-spacing: .19em; }
.splash-logo .wm-sub2 { font-size: 10.5px; letter-spacing: .22em; margin-top: 3px; }
.splash-foot { position: absolute; left: 24px; right: 24px; bottom: 40px; }
.splash-tag { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; color: #f5f8f8; margin-bottom: 30px; max-width: 15ch; }
.btn-white, .btn-glass { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: transform .25s var(--spring), background .2s; }
.btn-white:active, .btn-glass:active { transform: scale(.98); }
.btn-white { background: #f5f8f8; color: #0c1e31; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
.btn-glass { margin-top: 10px; background: rgba(245, 248, 248, .1); color: #f5f8f8; box-shadow: inset 0 0 0 1px rgba(245, 248, 248, .34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(245, 248, 248, .16); }
.splash-guest { display: block; text-align: center; margin-top: 20px; font-size: 14.5px; font-weight: 500; color: rgba(245, 248, 248, .9); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(245, 248, 248, .45); }

/* onboarding */
.scr-onb { background: var(--paper); }
.onb-slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.onb-slides::-webkit-scrollbar { display: none; }
.onb-slide { flex: 0 0 100%; scroll-snap-align: start; padding: 0 20px; display: flex; flex-direction: column; }
.onb-img { height: 420px; border-radius: 22px; background-size: cover; background-position: center; box-shadow: var(--sh-2); }
.onb-slide h2 { font-weight: 600; font-size: 32px; line-height: 1.08; letter-spacing: -.035em; color: var(--ink); margin: 28px 0 12px; }
.onb-slide p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
.onb-foot { padding: 0 20px 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 3px; border-radius: 2px; background: var(--line); transition: width .4s var(--ease), background .3s; }
.dots i.on { width: 30px; background: var(--ink); }
.onb-foot .btn { width: auto; padding: 0 28px; }
.onb-skip { font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 10px 0; }

/* ───────── 02 home ───────── */
.scr-home .body { padding-top: 2px; }
.home-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.greet { flex: 1; min-width: 0; }
.greet span { display: block; font-size: 14px; color: var(--muted); }
.greet b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; flex: none; }
.bell { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.bell:hover { background: var(--sunk); }
.bell .ic { width: 22px; height: 22px; }
.bell i { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--paper); }
.search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); cursor: text; }
.search .ic { width: 19px; height: 19px; color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14.5px; color: var(--ink); cursor: inherit; }
.search input::placeholder { color: var(--muted); }

.join-strip { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px 16px; border-radius: 16px; text-align: left; background: var(--accent-soft); color: var(--ink); transition: transform .25s var(--spring); }
.join-strip:active { transform: scale(.985); }
.join-strip > .ic:first-child { width: 24px; height: 24px; color: var(--accent); }
.join-strip span { flex: 1; display: grid; gap: 1px; }
.join-strip b { font-size: 15px; font-weight: 600; }
.join-strip small { font-size: 13px; color: var(--ink-2); }
.join-strip > .ic:last-child { width: 18px; height: 18px; color: var(--ink-2); }

/* the four worlds, as a photo bento: Stay tall on the left, Dine + Explore stacked, Live full width */
.bento { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-rows: 150px 150px 112px; gap: 10px; margin-top: 18px; }
.bt { position: relative; overflow: hidden; border-radius: var(--r-img); background: #0e2436 center / cover no-repeat; color: #f5f8f8; isolation: isolate; box-shadow: var(--sh-1); transition: transform .35s var(--spring); }
.bt:active { transform: scale(.975); }
.bt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 30, 0) 38%, rgba(4, 18, 30, .78) 100%); }
.bt.stay { grid-row: 1 / 3; }
.bt.live { grid-column: 1 / -1; background-position: center 62%; }
.bt span { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 1px; }
.bt b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.bt small { font-size: 12.5px; font-weight: 500; opacity: .86; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; padding: 12px 4px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.qk { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0; font-size: 12.5px; font-weight: 500; color: var(--ink); border-radius: 12px; transition: background .2s; }
.qk + .qk { box-shadow: -1px 0 0 var(--line); border-radius: 0; }
.qk:active { background: var(--sunk); }
.qk .ic { width: 23px; height: 23px; }

.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hap { flex: 0 0 236px; scroll-snap-align: start; color: var(--ink); }
.hap-img { height: 150px; border-radius: var(--r-img); background: #0e2436 center / cover no-repeat; transition: transform .35s var(--spring); }
.hap:active .hap-img { transform: scale(.975); }
.hap b { display: block; margin-top: 10px; font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; }
.hap small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ───────── 03 hotels ───────── */
.field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: var(--surface); font-size: 14.5px; color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1px var(--line); width: 100%; transition: box-shadow .2s; }
button.field:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.field .ic { width: 19px; height: 19px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.scr-hotels .chips { margin-top: 18px; margin-bottom: 18px; }
.hcard { display: block; margin-bottom: 24px; color: var(--ink); cursor: pointer; }
.hcard-img { position: relative; height: 196px; border-radius: var(--r-img); background: var(--sunk) center / cover no-repeat; transition: transform .35s var(--spring); }
.hcard:active .hcard-img { transform: scale(.985); }
.fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 999px; background: rgb(251 252 252 / .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; color: #0c1e31; transition: transform .3s var(--spring); }
.fav .ic { width: 19px; height: 19px; stroke-width: 1.8; }
.fav.on { color: var(--bad); }
.fav:active { transform: scale(.86); }
.hcard-body { padding: 12px 2px 0; display: grid; gap: 3px; }
.hcard-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.025em; }
.hcard-body p { font-size: 14px; color: var(--ink-2); }
.hcard-body p b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.hcard-body .rate { font-size: 13px; }

/* ───────── list rows (F&B, attractions, events) ───────── */
.lrow { display: flex; gap: 14px; align-items: center; padding: 12px 0; cursor: pointer; }
.lrow + .lrow { box-shadow: 0 -1px 0 var(--line); }
.lrow-img { width: 112px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; background: var(--sunk); transition: transform .35s var(--spring); }
.lrow:active .lrow-img { transform: scale(.96); }
.lrow-body { flex: 1; min-width: 0; }
.lrow-body h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.lrow-body p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.lrow-body .rate { margin-top: 8px; }
.lrow-body .from { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.lrow-body .from b { font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.scr-fnb .chips, .scr-attr .chips { margin-top: 16px; margin-bottom: 8px; }
.scr-events .seg { margin: 4px 0 12px; }
.badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--good-soft); color: var(--good); }
.badge.blue { background: var(--accent-soft); color: var(--accent); }
.badge.gold { background: var(--warn-soft); color: var(--warn); }
.badge.grey { background: var(--sunk); color: var(--muted); }

/* order tab */
.menu-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.menu-row + .menu-row { box-shadow: 0 -1px 0 var(--line); }
.menu-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.menu-row div { flex: 1; min-width: 0; }
.menu-row h4 { font-size: 15px; font-weight: 600; color: var(--ink); }
.menu-row p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.menu-row .price { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--sunk); color: var(--ink); transition: transform .25s var(--spring); }
.qty button:active { transform: scale(.88); }
.qty button .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.qty b { min-width: 16px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.qty .add { background: var(--ink); color: var(--on-ink); }
.mode { display: flex; gap: 8px; margin: 16px 0 4px; }
.cartbar { position: absolute; left: 16px; right: 16px; bottom: 26px; z-index: var(--z-bar); height: 60px; border-radius: 999px; background: var(--ink); color: var(--on-ink); display: flex; align-items: center; justify-content: space-between; padding: 0 22px; box-shadow: 0 18px 34px -16px rgb(var(--shade) / .8); font-weight: 600; font-variant-numeric: tabular-nums; animation: rise .45s var(--ease); }
.cartbar small { display: block; font-weight: 400; opacity: .75; font-size: 12px; }

/* ───────── 06 property ───────── */
.scr-prop .seg { margin-top: 4px; }
.pbanner { position: relative; display: block; height: 240px; margin-top: 18px; border-radius: var(--r-img); overflow: hidden; color: #f5f8f8; isolation: isolate;
  background: #0a2f4c url("assets/img/properties/marina-residences.jpg") 70% center / cover no-repeat; }
.pbanner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 22, 36, 0) 30%, rgba(4, 22, 36, .82) 100%); }
.pbanner h2 { position: absolute; left: 18px; right: 18px; bottom: 58px; font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
.pbanner .pill { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: #f5f8f8; color: #0c1e31; }
.pbanner .pill .ic { width: 15px; height: 15px; stroke-width: 2; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ptile { min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; line-height: 1.25; text-align: left; color: var(--ink); transition: transform .25s var(--spring); }
.ptile:active { transform: scale(.97); }
.ptile br { display: none; }
.ptile .tile-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sunk); color: var(--ink); flex: none; }
.ptile .tile-ic .ic { width: 21px; height: 21px; }
.launch { display: block; margin-top: 26px; color: var(--ink); cursor: pointer; }
.launch::before { content: ""; display: block; height: 170px; border-radius: var(--r-img); background: var(--sunk) url("assets/img/hero/property-launch.jpg") center 70% / cover no-repeat; }
.launch b { display: block; margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--accent); }
.launch h3 { margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.launch p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ───────── 07 membership ───────── */
.mcard { position: relative; height: 204px; border-radius: 20px; padding: 22px 22px; color: #eef3f6; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(98, 184, 210, .28) 0%, rgba(98, 184, 210, 0) 60%), linear-gradient(150deg, #133350 0%, #0b2135 60%, #081a2a 100%);
  box-shadow: 0 22px 40px -22px rgb(8 26 42 / .75), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--foil); }
.mcard::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-radial-gradient(circle at 120% 130%, rgba(255, 255, 255, 0) 0 14px, rgba(255, 255, 255, .045) 14px 15px); }
.mcard, .mcard.tier-gold { --foil: linear-gradient(90deg, #b88c42, #f1d8aa 45%, #c79c52); }
.mcard.tier-silver { --foil: linear-gradient(90deg, #8e99a6, #e9edf1 45%, #a9b3bf); }
.mcard.tier-platinum { --foil: linear-gradient(90deg, #6f8aa6, #e4ecf3 45%, #8aa3bc); }
.mcard .wm { font-size: 30px; color: #eef3f6; line-height: 1; }
.mcard .mini-wave svg { width: 76px; height: 10px; display: block; margin-top: -1px; color: #eef3f6; }
.mcard-tier { font-size: 13px; font-weight: 500; margin-top: 30px; color: rgba(238, 243, 246, .72); }
.mcard-name { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; max-width: calc(100% - 92px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-id { font-family: var(--mono); font-size: 13px; color: rgba(238, 243, 246, .72); margin-top: 6px; letter-spacing: .06em; }
.mcard-nfc { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; color: #eef3f6; opacity: .85; border-radius: 999px; }
.mcard-nfc .ic { width: 22px; height: 22px; }
.mcard-qr { position: absolute; right: 20px; bottom: 20px; width: 74px; height: 74px; padding: 7px; border-radius: 12px; background: #fbfcfc; transition: transform .3s var(--spring); }
.mcard-qr:active { transform: scale(.94); }
.mcard-qr svg { width: 100%; height: 100%; display: block; }
.mstats { margin-top: 12px; padding: 18px 18px 16px; }
.mstats-top { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 18px; align-items: center; }
.mstats-top > i { background: var(--line); height: 44px; }
.mstat b { display: flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mstat span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mstat .ic { width: 14px; height: 14px; color: var(--muted); }
.mstat b .ic { display: none; }
.mprog-label { font-size: 13px; color: var(--ink-2); margin-top: 18px; font-variant-numeric: tabular-nums; }
.mprog { height: 4px; border-radius: 2px; background: var(--sunk); margin-top: 10px; overflow: hidden; }
.mprog i { display: block; height: 100%; border-radius: 2px; background: var(--accent); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .mprog i { animation: grow 1s .2s var(--ease) both; } }
@keyframes grow { from { transform: scaleX(0); } }
.mstats .link { margin-top: 14px; }
.qrow, .orow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.qbtn, .obtn { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--ink); }
.circ, .sq { width: 54px; height: 54px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .3s var(--spring), background .2s; }
.qbtn:active .circ, .obtn:active .circ, .wact:active .sq, .stile:active .circ { transform: scale(.9); }
.circ .ic, .sq .ic { width: 24px; height: 24px; }
.offer { display: flex; gap: 14px; align-items: center; padding: 12px 0; color: var(--ink); }
.offer + .offer { box-shadow: 0 -1px 0 var(--line); }
.offer img { width: 76px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.offer h4 { font-size: 15px; font-weight: 600; color: var(--ink); }
.offer p { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ───────── 08 points ───────── */
.wbal { position: relative; padding: 6px 0 8px; }
.wbal span { font-size: 14px; color: var(--muted); }
.wbal b { display: block; font-size: 52px; font-weight: 600; letter-spacing: -.05em; line-height: 1.05; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.wbal b small { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); margin-left: 4px; }
.wbal button { position: absolute; top: 2px; right: 0; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.wbal button .ic { width: 20px; height: 20px; }
.wbal-sub { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.wbal-sub .mono { color: var(--ink-2); }
.wacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; background: none; box-shadow: none; }
.wact { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.addpm { width: 100%; height: 54px; border-radius: 999px; background: var(--sunk); color: var(--ink); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .25s var(--spring); }
.addpm:active { transform: scale(.98); }
.addpm .ic { width: 18px; height: 18px; }
.pmlist { padding: 2px 16px; }
.pm { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.pm + .pm { box-shadow: 0 -1px 0 var(--line); }
.pm .brand { flex: none; }
.pm .num { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
.pm .num small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pm > .ic { width: 18px; height: 18px; color: var(--faint); }
.ewallet { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ewallet .ic { width: 20px; height: 20px; }
.txn { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.txn + .txn { box-shadow: 0 -1px 0 var(--line); }
.txn-av { width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--sunk); display: grid; place-items: center; color: var(--ink); }
.txn-av .ic { width: 19px; height: 19px; }
.txn div { flex: 1; min-width: 0; }
.txn h4 { font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txn p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.txn .amt { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.txn .amt.in { color: var(--good); }

/* ───────── 09 property owner ───────── */
.ownhero { display: block; overflow: hidden; background: none; box-shadow: none; border-radius: 0; color: var(--ink); cursor: pointer; }
.ownhero img { width: 100%; height: 176px; object-fit: cover; border-radius: var(--r-img); }
.ownhero div { padding: 12px 2px 0; }
.ownhero h3 { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ownhero p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.ostats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ostat { padding: 14px 16px; }
.ostat span { font-size: 13px; color: var(--muted); }
.ostat b { display: block; font-size: 24px; font-weight: 600; color: var(--ink); margin-top: 4px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ostat b.soft { font-weight: 500; font-size: 19px; }
.ostat em { display: block; font-style: normal; font-size: 13px; color: var(--good); margin-top: 4px; font-weight: 500; }
.ostat em.warn { color: var(--warn); }
.scr-owner .btn { margin-top: 18px; }

/* ───────── 10 services ───────── */
.svhero { width: 100%; height: 180px; border-radius: var(--r-img); object-fit: cover; }
.scr-services h3.q { font-size: 22px; font-weight: 600; color: var(--ink); margin: 22px 0 14px; letter-spacing: -.03em; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stile { min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; line-height: 1.25; text-align: left; color: var(--ink); transition: box-shadow .2s; }
.stile:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.stile br { display: none; }
.stile .circ { width: 42px; height: 42px; border-radius: 13px; background: var(--sunk); box-shadow: none; flex: none; }
.stile .circ .ic { width: 21px; height: 21px; }

/* ───────── 12 account ───────── */
.prof { display: flex; align-items: center; gap: 14px; padding: 4px 0 18px; }
.prof h2 { font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.prof p { font-size: 13.5px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.menu { padding: 2px 16px; }
.mi { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; text-align: left; font-size: 15px; color: var(--ink); }
.mi + .mi { box-shadow: 0 -1px 0 var(--line); }
.mi > .ic:first-child { width: 21px; height: 21px; color: var(--ink-2); }
.mi span { flex: 1; }
.mi > .ic:last-child { width: 17px; height: 17px; color: var(--faint); transition: transform .25s var(--spring); }
.mi:hover > .ic:last-child { transform: translateX(2px); }
.logout { margin-top: 18px; padding: 0 16px; color: var(--bad); justify-content: center; font-weight: 600; min-height: 54px; }
.logout .ic { width: 19px; height: 19px; }

/* ───────── details (hotel / restaurant / attraction / event) ───────── */
.detail-hero { position: relative; height: 300px; flex: none; background: var(--sunk) center / cover no-repeat; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 18, 30, .45) 0%, rgba(4, 18, 30, 0) 34%); }
.detail-hero .sb { position: absolute; top: 0; left: 0; right: 0; }
.detail-nav { position: absolute; top: 52px; left: 16px; right: 16px; z-index: 3; display: flex; justify-content: space-between; }
.round { width: 42px; height: 42px; border-radius: 999px; background: rgb(251 252 252 / .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; color: #0c1e31; transition: transform .3s var(--spring); }
.round:active { transform: scale(.9); }
.round .ic { width: 20px; height: 20px; }
.round.on { color: var(--bad); }
.detail-sheet { position: relative; flex: 1; margin-top: -26px; border-radius: 26px 26px 0 0; background: var(--paper); overflow-y: auto; padding: 26px 20px 128px; scrollbar-width: none; z-index: 2; }
.detail-sheet::-webkit-scrollbar { display: none; }
.detail-sheet h1 { font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1.08; }
.detail-sheet .sub { font-size: 14px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-sheet .sub .ic { width: 15px; height: 15px; }
.detail-sheet p.lead { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-top: 16px; max-width: 62ch; }
.call { margin-top: 12px; }
.amen { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; padding: 14px 0; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.amen div { padding: 0 4px; text-align: center; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.amen div + div { box-shadow: -1px 0 0 var(--line); }
.amen .ic { width: 22px; height: 22px; color: var(--ink); display: block; margin: 0 auto 6px; }
.opt { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 14px 16px; margin-bottom: 8px; box-shadow: inset 0 0 0 1px var(--line); width: 100%; text-align: left; color: var(--ink); transition: box-shadow .2s, background .2s; }
button.opt:hover, a.opt:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.opt.on { box-shadow: inset 0 0 0 2px var(--ink); }
.opt > .ic { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.opt div { flex: 1; min-width: 0; }
.opt h4 { font-size: 15px; font-weight: 600; color: var(--ink); }
.opt p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.opt b { font-size: 15.5px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt b small { font-size: 12px; font-weight: 400; color: var(--muted); }
.opt .btn { flex: none; }
.radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); flex: none; display: grid; place-items: center; transition: box-shadow .2s; }
.opt.on .radio { box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: pop .3s var(--spring); }
.actionbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; align-items: center; gap: 16px; padding: 14px 20px 30px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 1px 0 var(--line); }
.actionbar .price { flex: none; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.actionbar .price b { display: block; font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.actionbar .btn { flex: 1; }
.actionbar .btn.ghost { flex: 0 0 116px; }

/* bookings / generic lists */
.empty { text-align: center; color: var(--muted); padding: 56px 16px; font-size: 15px; line-height: 1.5; }
.empty > .ic:first-child { width: 30px; height: 30px; color: var(--ink); margin: 0 auto 16px; display: block; padding: 14px; box-sizing: content-box; border-radius: 20px; background: var(--sunk); }
.empty .btn { width: 100%; }
.bk { display: flex; gap: 14px; align-items: center; padding: 12px 0; width: 100%; text-align: left; color: var(--ink); }
.bk + .bk { box-shadow: 0 -1px 0 var(--line); }
.bk img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; background: var(--sunk); }
.bk > .txn-av { width: 48px; height: 48px; }
.bk div { flex: 1; min-width: 0; }
.bk h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.bk p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bk .badge { margin-top: 7px; }
.bk > .ic:last-child { width: 18px; height: 18px; color: var(--faint); }
.notif { display: flex; gap: 12px; padding: 14px 0; }
.notif + .notif { box-shadow: 0 -1px 0 var(--line); }
.notif .circ { width: 40px; height: 40px; border-radius: 12px; background: var(--sunk); box-shadow: none; color: var(--ink); flex: none; }
.notif .circ .ic { width: 19px; height: 19px; }
.notif h4 { font-size: 15px; font-weight: 600; color: var(--ink); }
.notif p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
.notif small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.notif.unread h4::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.notif[data-go] { cursor: pointer; }

/* ───────── sheets + toast ───────── */
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .3s; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-sheet) var(--r-sheet) 0 0; transform: translateY(100%); transition: transform .5s var(--ease); pointer-events: auto; box-shadow: 0 -12px 40px rgb(var(--shade) / .22); }
.sheet-root.open .scrim { opacity: 1; }
.sheet-root.open .sheet { transform: none; }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 9px auto 2px; flex: none; }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px 6px; flex: none; }
.sheet-hd h3 { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.sheet-hd button { width: 36px; height: 36px; border-radius: 999px; background: var(--sunk); display: grid; place-items: center; color: var(--ink); flex: none; }
.sheet-hd button .ic { width: 18px; height: 18px; }
.sheet-bd { overflow-y: auto; padding: 8px 20px 36px; scrollbar-width: none; }
.sheet-bd::-webkit-scrollbar { display: none; }
.sheet-bd > .btn { margin-top: 20px; }
.sheet-bd > .btn + .btn { margin-top: 10px; }
.lbl { font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin: 18px 0 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.pills button:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.pills button.on { background: var(--ink); color: var(--on-ink); box-shadow: none; font-weight: 600; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border-radius: 16px; padding: 12px 12px 12px 16px; }
.stepper + .stepper { margin-top: 8px; }
.stepper span { font-size: 15px; font-weight: 500; }
.stepper span small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.sumline { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-2); padding: 6px 0; font-variant-numeric: tabular-nums; }
.sumline.total { box-shadow: inset 0 1px 0 var(--line); margin-top: 8px; padding-top: 14px; font-weight: 600; color: var(--ink); font-size: 16.5px; }
.textarea { width: 100%; min-height: 88px; border-radius: var(--r-in); border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; font-size: 15px; resize: none; outline: 0; background: var(--paper); transition: box-shadow .2s; }
.input { width: 100%; height: 50px; border-radius: var(--r-in); border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; font-size: 15.5px; outline: 0; background: var(--paper); transition: box-shadow .2s; }
.textarea:focus, .input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.done { text-align: center; padding: 18px 8px 4px; }
.done .tick { width: 72px; height: 72px; border-radius: 24px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); animation: pop .5s var(--spring); }
.done .tick .ic { width: 34px; height: 34px; stroke-width: 2.2; }
.done h4 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.done p { font-size: 14.5px; color: var(--ink-2); margin: 8px auto 0; line-height: 1.5; max-width: 32ch; }
.ref { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 13.5px; padding: 7px 12px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); letter-spacing: .06em; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgb(245 248 248 / .35); border-top-color: var(--on-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bigqr { width: 224px; height: 224px; margin: 8px auto 0; padding: 16px; border-radius: 22px; background: #fbfcfc; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.bigqr svg { width: 100%; height: 100%; display: block; }
.bigqr.sm { width: 176px; height: 176px; margin-top: 16px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tier { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.tier + .tier { box-shadow: 0 -1px 0 var(--line); }
.tier i { width: 38px; height: 26px; border-radius: 6px; flex: none; margin-top: 1px; }
.tier h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.tier p { font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.tier.cur h4::after { content: "Current"; margin-left: 8px; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); vertical-align: 2px; }
.tier-ic { background: var(--sunk) !important; display: grid; place-items: center; color: var(--ink); }
.tier-ic .ic { width: 16px; height: 16px; }

.toast { position: absolute; left: 50%; bottom: 112px; z-index: var(--z-toast); max-width: 320px; transform: translate(-50%, 16px) scale(.96); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 16px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 500; text-align: center; box-shadow: 0 16px 30px -14px rgb(var(--shade) / .6); transition: opacity .3s, transform .45s var(--spring); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ═════════ auth, forms, owner payments ═════════ */
.boot { display: grid; place-items: center; background: var(--paper); }
.boot-logo { text-align: center; color: var(--ink); }
.boot-logo .wm { font-size: 54px; margin-bottom: 22px; }
.boot-bar { display: block; width: 88px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.boot-bar::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 2px; background: var(--accent); animation: slide 1.1s var(--ease) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.spin.dark { border-color: var(--line); border-top-color: var(--accent); display: inline-block; }

.rail-qr { display: flex; align-items: center; gap: 16px; }
.rail-qr #railQr { width: 112px; height: 112px; padding: 9px; background: #fbfcfc; border-radius: 16px; box-shadow: var(--sh-2); flex: none; }
.rail-qr svg { width: 100%; height: 100%; display: block; }
.rail-qr p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.rail-qr p b { color: var(--ink); font-weight: 600; }

.avatar-initials { display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.avatar-initials .ic { width: 21px; height: 21px; }
.prof-av { width: 62px; height: 62px; border-radius: 20px; object-fit: cover; flex: none; font-size: 20px; }
.prof-av.big { margin: 0 auto; font-size: 28px; border-radius: 26px; }

.staff-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 12px; color: var(--ink); }
.staff-link > .ic:first-child { color: var(--accent); }
.staff-link span { flex: 1; display: grid; }
.staff-link b { font-size: 15px; font-weight: 600; }
.staff-link small { font-size: 13px; color: var(--muted); }
.staff-link > .ic:last-child { width: 17px; height: 17px; color: var(--faint); }
.gate-card { padding: 26px 20px 20px; text-align: center; }
.gate-card .wm { font-size: 40px; }
.gate-card .wave { width: 120px; margin: 0 auto 14px; }
.gate-card .btn { margin-top: 18px; }
.gate-card .btn + .btn { margin-top: 10px; }

.fld { display: grid; margin-top: 4px; }
.fld .lbl { margin: 16px 0 8px; }
.input[type="date"] { appearance: none; -webkit-appearance: none; min-height: 50px; }
.input:disabled { color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.form-err { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-size: 14px; line-height: 1.45; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.check a, .hint a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.btn.provider { margin-top: 10px; }
.btn.provider .ic { width: 20px; height: 20px; }
.ts-box { margin-top: 14px; }
.ts-box:empty { display: none; }
.otp { letter-spacing: .5em; font-size: 22px; text-align: center; font-family: var(--mono); }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--line); cursor: pointer; }
.toggle span { display: grid; }
.toggle b { font-size: 15px; font-weight: 600; color: var(--ink); }
.toggle small { font-size: 13px; color: var(--muted); }
.toggle input { appearance: none; -webkit-appearance: none; width: 48px; height: 30px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .25s; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fbfcfc; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .35s var(--spring); }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: translateX(18px); }

.upload { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--paper); outline: 1.5px dashed var(--faint); outline-offset: -1.5px; cursor: pointer; color: var(--ink); }
.upload .ic { width: 24px; height: 24px; }
.upload span { display: grid; font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-all; }
.upload small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.paybox { padding: 6px 16px; margin-top: 14px; }
.paybox .sumline b { color: var(--ink); }
.mono { font-family: var(--mono); letter-spacing: .02em; }

.btn.danger, .opt.danger h4 { color: var(--bad); }
.btn.ghost.danger { box-shadow: inset 0 0 0 1.5px var(--bad-soft); margin-top: 16px; }
.btn.danger-fill { background: var(--bad); color: #fbfcfc; box-shadow: none; }
.opt.danger > .ic { color: var(--bad); }
.sheet-img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--r-img); }
.about-lockup { color: var(--ink); padding: 6px 0 12px; text-align: center; }
.about-lockup .wm { font-size: 44px; }
.about-lockup .wave { width: 130px; margin: 0 auto; }
.about-lockup .wm-sub { font-size: 10.5px; }
.redeem-btn { height: 38px !important; width: auto !important; padding: 0 16px; font-size: 13.5px !important; }
.more-grid { grid-template-columns: 1fr 1fr; }
.theme-swap *, .theme-swap *::before, .theme-swap *::after { transition: none !important; }

/* concept-board content shown as a preview */
.sample-tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 600; letter-spacing: .01em; line-height: 1.4; vertical-align: 3px; white-space: nowrap; }
.hap .sample-tag { vertical-align: 2px; }
.sample-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.sample-note .ic { width: 18px; height: 18px; color: var(--warn); margin-top: 1px; }
