/* ==========================================================================
   ChillPod — rental-site design
   Light, photographic, calm: white & warm greys, pine-green actions.
   Mobile-first. Tokens → base → components → sections → overlays.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #f6f4f0;
  --surface: #ffffff;
  --surface-2: #f6f4f0;
  --surface-3: #ece8e1;
  --line: #e8e4dd;
  --line-2: #d9d3c9;

  --text: #1d1b18;
  --text-2: #55504a;
  --muted: #857e75;

  --primary: #1f5a4c;
  --primary-hover: #17463b;
  --primary-soft: #e3eeea;
  --on-primary: #ffffff;
  --coral: #c8643c;
  --coral-soft: #f8e7de;
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
  --plum: #6a4a86;
  --plum-soft: #eee6f4;

  --ok: #1f9d63;
  --busy: #d64550;
  --clean: #e0952b;

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(29, 27, 24, 0.06);
  --shadow: 0 1px 2px rgba(29, 27, 24, 0.05), 0 10px 30px -12px rgba(29, 27, 24, 0.18);
  --shadow-lg: 0 2px 6px rgba(29, 27, 24, 0.06), 0 30px 60px -24px rgba(29, 27, 24, 0.35);

  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', 'Sukhumvit Set', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 68px;
  --gutter: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: 820px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.nobr {
  white-space: nowrap;
}

.hl {
  color: var(--primary);
}

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 479px) {
  .hide-xs {
    display: none;
  }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.15s var(--ease),
    background 0.2s,
    border-color 0.2s,
    opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
}

.btn-primary:hover:not([disabled]) {
  --btn-bg: var(--primary-hover);
}

.btn-secondary {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  border-color: var(--line-2);
}

.btn-secondary:hover:not([disabled]) {
  --btn-bg: var(--surface-2);
  border-color: var(--text);
}

.btn-ghost {
  --btn-bg: transparent;
  border-color: var(--line-2);
}

.btn-ghost:hover {
  --btn-bg: var(--surface-2);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
  border-radius: 10px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  transition: background 0.2s;
}

.icon-btn:hover {
  background: var(--surface-2);
}

.icon-btn[hidden],
.count-badge[hidden] {
  display: none;
}

.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent);
  }
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.brand-name {
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: none;
  gap: 2px;
  margin-left: 20px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    color 0.2s,
    background 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-actions .btn[hidden] {
  display: none;
}

@media (min-width: 1000px) {
  .site-nav {
    display: flex;
  }
}

/* ---------------------------------------------------------------- form controls */

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-label {
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input-wrap {
  position: relative;
  display: block;
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.input:hover {
  border-color: var(--muted);
}

.input:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(29, 27, 24, 0.08);
}

.input[aria-invalid='true'] {
  border-color: var(--busy);
}

.input-wrap .input {
  padding-left: 42px;
}

.input-wrap select.input {
  padding-right: 40px;
}

.input-ic,
.input-chev {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  color: var(--muted);
  pointer-events: none;
}

.input-ic {
  left: 14px;
}

.input-chev {
  right: 14px;
}

input[type='date'].input,
input[type='time'].input {
  min-width: 0;
}

input[type='date']::-webkit-calendar-picker-indicator,
input[type='time']::-webkit-calendar-picker-indicator {
  opacity: 0.45;
  cursor: pointer;
}

.field-error {
  color: var(--busy);
  font-size: 0.88rem;
}

.field-error[hidden] {
  display: none;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.seg {
  position: relative;
}

.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.seg span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 4px 2px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}

.seg input:checked + span {
  background: var(--text);
  color: #fff;
  font-weight: 600;
}

.seg input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.seg:hover input:not(:checked) + span {
  background: var(--surface-2);
  color: var(--text);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}

.stepper[hidden] {
  display: none;
}

.stepper output {
  font-weight: 600;
  font-size: 1.05rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.chip:hover {
  color: var(--text);
  border-color: var(--text);
}

.chip[aria-pressed='true'],
.chip[aria-selected='true'] {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.now-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-2);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
}

.switch {
  position: relative;
  width: 42px;
  height: 25px;
  flex: none;
  border-radius: 999px;
  background: var(--line-2);
  transition: background 0.2s;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: translate 0.25s var(--ease);
}

.now-toggle[aria-pressed='true'] {
  color: var(--text);
}

.now-toggle[aria-pressed='true'] .switch {
  background: var(--primary);
}

.now-toggle[aria-pressed='true'] .switch::after {
  translate: 17px 0;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* ---------------------------------------------------------------- sections */

.section {
  padding-block: 64px;
}

.section-soft {
  background: var(--bg-soft);
}

@media (min-width: 900px) {
  .section {
    padding-block: 96px;
  }
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.4rem);
}

.section-head p:not(.kicker) {
  color: var(--text-2);
  font-size: 1.02rem;
}

.kicker {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------- hero + virtual tour */

.hero {
  padding: 8px 0 0;
}

.hero-shell {
  padding-inline: 8px;
}

@media (min-width: 640px) {
  .hero-shell {
    padding-inline: 16px;
  }
}

.tour {
  position: relative;
  height: min(78svh, 720px);
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14110f;
  isolation: isolate;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  /* vertical swipes keep scrolling the page; horizontal drags look around */
  touch-action: pan-y;
  cursor: grab;
}

.tour.is-dragging {
  cursor: grabbing;
}

.tour:fullscreen {
  height: 100%;
  border-radius: 0;
  touch-action: none;
}

.tour-canvas,
.tour-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-poster {
  object-fit: cover;
  transition: opacity 0.8s;
}

.tour.is-live .tour-poster {
  opacity: 0;
  pointer-events: none;
}

.tour-canvas {
  z-index: 0;
  transition: opacity 0.25s;
}

.tour.is-switching .tour-canvas {
  opacity: 0;
}

.tour-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 34%, transparent 58%);
}

.tour-top {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.tour-top > * {
  pointer-events: auto;
}

.tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
}

.tour-rooms {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tour-rooms button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.tour-rooms button[aria-selected='true'] {
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

.tour-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 84px;
  max-width: 640px;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.4s;
}

.tour-copy h1 {
  font-size: clamp(1.6rem, 6.6vw, 3.1rem);
  line-height: 1.22;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.tour-copy p {
  margin-top: 10px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}

.tour.is-exploring .tour-copy {
  opacity: 0;
}

.tour-controls {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tour-controls::-webkit-scrollbar {
  display: none;
}

.tour-group {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(20, 17, 15, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tour-group:empty,
.tour-group[hidden] {
  display: none;
}

.tour-intro {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #14110f;
  opacity: 0;
  transition: opacity 0.25s;
}

.tour-intro.is-playing {
  opacity: 1;
}

.tour.is-intro .tour-hotspots,
.tour.is-intro .tour-hint,
.tour.is-intro .tour-loading,
.tour.is-intro .tour-controls {
  opacity: 0;
  pointer-events: none;
}

.tour-intro.is-done {
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.9s;
}

.tour-tools {
  margin-left: auto;
}

.tour-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.tour-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tour-btn[aria-pressed='true'] {
  background: #fff;
  color: var(--text);
}

.tour-btn[hidden] {
  display: none;
}

.tour-btn .swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.tour-tools .tour-btn {
  padding: 0;
}

.tour-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 42%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.88rem;
  translate: -50% -50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.tour.show-hint .tour-hint {
  opacity: 1;
  animation: nudge 1.6s ease-in-out 2;
}

@keyframes nudge {
  0%,
  100% {
    translate: -50% -50%;
  }
  50% {
    translate: calc(-50% + 14px) -50%;
  }
}

.tour-loading {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.92rem;
  background: rgba(20, 17, 15, 0.25);
  transition: opacity 0.5s;
}

.tour.is-live .tour-loading,
.tour.is-static .tour-loading {
  opacity: 0;
  pointer-events: none;
}

.tour.is-static .tour-controls,
.tour.is-static .tour-rooms,
.tour.is-static .tour-hotspots {
  display: none;
}

.tour.is-static {
  cursor: default;
}

/* Hotspots */
.tour-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.hotspot.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hotspot span {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.hotspot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: ring 2.2s ease-out infinite;
}

@keyframes ring {
  from {
    scale: 0.5;
    opacity: 1;
  }
  to {
    scale: 1.4;
    opacity: 0;
  }
}

.tour-card {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 70px;
  width: min(320px, calc(100% - 24px));
  translate: -50% 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  animation: card-in 0.3s var(--ease);
}

.tour-card[hidden] {
  display: none;
}

.tour-card b {
  display: block;
  font-size: 1rem;
}

.tour-card p {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 0.9rem;
}

@keyframes card-in {
  from {
    opacity: 0;
    translate: -50% 8px;
  }
}

@media (min-width: 760px) {
  .tour {
    height: min(82vh, 760px);
  }

  .tour-top {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .tour-copy {
    left: 36px;
    bottom: 168px;
  }

  .tour-hint {
    top: 26%;
  }

  .tour-controls {
    left: 20px;
    right: 20px;
    bottom: 96px;
  }

  .tour-card {
    left: auto;
    right: 24px;
    bottom: 150px;
    translate: none;
  }

  @keyframes card-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}

/* Booking bar */
.booking-widget {
  position: relative;
  z-index: 6;
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.booking-widget.is-highlight {
  animation: widget-flash 1.2s var(--ease);
}

@keyframes widget-flash {
  30% {
    box-shadow:
      0 0 0 4px rgba(31, 90, 76, 0.35),
      var(--shadow-lg);
  }
}

.bw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bw-head h2 {
  font-size: 1.2rem;
}

.bw-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.86rem;
}

.bw-live b {
  color: var(--ok);
}

.bw-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    'branch branch'
    'date time'
    'dur dur';
  gap: 12px;
}

.f-branch {
  grid-area: branch;
}

.f-date {
  grid-area: date;
}

.f-time {
  grid-area: time;
}

.f-dur {
  grid-area: dur;
}

.bw-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.bw-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.bw-summary > div:first-child {
  display: grid;
  line-height: 1.3;
}

.bw-summary .muted {
  font-size: 0.8rem;
}

.bw-summary strong {
  white-space: nowrap;
  font-size: 1.45rem;
  font-weight: 700;
}

.bw-window {
  color: var(--text-2);
  font-size: 0.86rem;
  text-align: right;
}

@media (max-width: 479px) {
  .bw-fields .f-date .input-ic,
  .bw-fields .f-time .input-ic {
    display: none;
  }

  .bw-fields .f-date .input,
  .bw-fields .f-time .input {
    padding-left: 12px;
    padding-right: 8px;
  }

  .seg span {
    font-size: 0.82rem;
  }
}

@media (max-width: 359px) {
  .bw-fields {
    grid-template-columns: 1fr;
    grid-template-areas: 'branch' 'date' 'time' 'dur';
  }

  .booking-widget {
    padding: 14px;
  }

  .booking-widget .segmented {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-widget .bw-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-widget .bw-window {
    text-align: left;
  }
}

@media (min-width: 960px) {
  .booking-widget {
    margin-top: -64px;
    padding: 22px 24px;
    margin-inline: 24px;
  }

  .bw-fields {
    grid-template-columns: 1.25fr 1fr 0.85fr 2.1fr;
    grid-template-areas: 'branch date time dur';
  }

  .bw-foot {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
  }

  .bw-summary {
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
  }

  .bw-summary > div:first-child {
    order: 2;
    text-align: right;
  }
}

/* Highlights strip */
.highlights {
  padding: 28px 0 0;
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.4;
}

.highlight-list .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--primary);
}

.highlight-list b {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .highlight-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------------------------------------------------------------- room listings */

.room-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .room-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.room-card {
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.room-card[data-type='nap'] {
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
}

.room-card[data-type='play'] {
  --accent: var(--plum);
  --accent-soft: var(--plum-soft);
}

.room-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-3);
}

.room-slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.room-slides::-webkit-scrollbar {
  display: none;
}

.room-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: scale 0.6s var(--ease);
}

.room-card:hover .room-slides img {
  scale: 1.03;
}

.room-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  gap: 6px;
  translate: -50% 0;
}

.room-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.room-dots i.is-on {
  background: #fff;
}

.room-tour {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.room-tour:hover {
  background: #fff;
}

.room-avail {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
}

.room-avail.is-full .live-dot {
  background: var(--busy);
  animation: none;
}

.room-body {
  display: grid;
  gap: 8px;
}

.room-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.room-title h3 {
  font-size: 1.25rem;
}

.room-title span {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.room-desc {
  color: var(--text-2);
  font-size: 0.94rem;
}

.room-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.86rem;
}

.room-specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.room-specs .ic {
  width: 1.05em;
  height: 1.05em;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.feature-list .ic {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: var(--accent-soft, var(--primary-soft));
  color: var(--accent, var(--primary));
}

.room-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price-tag {
  display: grid;
  line-height: 1.3;
}

.price-tag strong {
  font-size: 1.35rem;
  font-weight: 700;
}

.price-tag strong small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.price-tag span {
  color: var(--muted);
  font-size: 0.8rem;
}

.amenities {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.amenities h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.4;
}

.amenity-list .ic {
  width: 26px;
  height: 26px;
  color: var(--text);
}

@media (min-width: 900px) {
  .amenity-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- steps */

.steps-section {
  padding-top: 24px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 2px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.step-num {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-weight: 700;
}

.step-ic {
  display: none;
}

.step h3 {
  font-size: 1.08rem;
}

.step p {
  color: var(--text-2);
  font-size: 0.93rem;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .step {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .step-num {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

/* ---------------------------------------------------------------- live floor plan */

.live-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.live-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-2);
}

.tab {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  font-weight: 500;
}

.tab[aria-selected='true'] {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.tab small {
  margin-left: 6px;
  color: var(--ok);
  font-weight: 700;
}

.live-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  color: var(--ok);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.live-badge.is-offline {
  background: color-mix(in srgb, var(--clean) 14%, transparent);
  color: var(--clean);
}

.live-badge.is-offline .live-dot {
  background: var(--clean);
  animation: none;
}

.live-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.86rem;
  color: var(--text-2);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-item i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--sc);
}

.legend-item b {
  color: var(--text);
}

.s-available {
  --sc: var(--ok);
}

.s-occupied {
  --sc: var(--busy);
}

.s-cleaning {
  --sc: var(--clean);
}

.live-body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

@media (min-width: 900px) {
  .live-body {
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
  }
}

.floorplan {
  position: relative;
  min-height: 200px;
}

.plan {
  width: 100%;
  height: auto;
  font-family: var(--font);
  user-select: none;
  -webkit-user-select: none;
}

.plan-floor {
  fill: var(--bg-soft);
  stroke: var(--line-2);
  stroke-width: 2;
}

.plan-corridor {
  fill: #fff;
  stroke: var(--line);
  stroke-dasharray: 6 8;
}

.plan-corridor-label,
.plan-zone-label,
.plan-zone-sub,
.plan-entrance-label {
  fill: var(--muted);
  font-size: 15px;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.plan-zone {
  fill: #efe9df;
  stroke: var(--line-2);
}

.plan-zone-label {
  fill: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.plan-zone-sub {
  font-size: 13px;
}

.plan--portrait .plan-zone-label {
  font-size: 22px;
}

.plan--portrait .plan-zone-sub,
.plan--portrait .plan-entrance-label {
  font-size: 18px;
}

.plan--portrait .plan-corridor-label {
  font-size: 20px;
  letter-spacing: 0.3em;
}

.plan-entrance {
  fill: var(--primary);
}

.plan-entrance-label {
  fill: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.plan-pod {
  --sc: var(--ok);
  cursor: pointer;
  outline: none;
}

.plan-pod[data-status='occupied'] {
  --sc: var(--busy);
}

.plan-pod[data-status='cleaning'] {
  --sc: var(--clean);
}

.plan-pod .pod-body {
  fill: color-mix(in srgb, var(--sc) 12%, #fff);
  stroke: var(--sc);
  stroke-width: 2;
  transition:
    fill 0.6s,
    stroke 0.6s,
    stroke-width 0.2s;
}

.plan-pod .pod-door {
  fill: var(--sc);
  transition: fill 0.6s;
}

.plan-pod .pod-label {
  fill: var(--text);
  font-weight: 700;
  font-size: 22px;
  text-anchor: middle;
}

.plan-pod .pod-sub {
  fill: var(--sc);
  font-size: 14px;
  font-weight: 600;
  text-anchor: middle;
  transition: fill 0.6s;
}

.plan-pod .pod-icon {
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.plan-pod[data-status='cleaning'] .pod-body {
  stroke-dasharray: 10 6;
  animation: uv-sweep 1.2s linear infinite;
}

@keyframes uv-sweep {
  to {
    stroke-dashoffset: -32;
  }
}

.plan-pod:hover .pod-body,
.plan-pod:focus-visible .pod-body {
  stroke-width: 3.5;
}

.plan-pod.is-selected .pod-body {
  stroke: var(--text);
  stroke-width: 4;
}

.plan-pod.is-dimmed {
  opacity: 0.2;
}

.plan-pod.is-flash .pod-body {
  animation: flash 1.4s var(--ease);
}

@keyframes flash {
  0% {
    filter: brightness(0.75);
  }
  100% {
    filter: brightness(1);
  }
}

.live-side {
  display: none;
}

@media (min-width: 900px) {
  .live-side {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
}

.side-empty {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 26px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-2);
  text-align: center;
  font-size: 0.92rem;
}

.side-empty .ic {
  width: 34px;
  height: 34px;
  color: var(--primary);
}

.side-empty b {
  color: var(--text);
  font-size: 1.05rem;
}

.type-summary {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.type-summary div {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface);
}

.pod-detail {
  --sc: var(--ok);
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  display: grid;
  gap: 14px;
}

.pod-detail[data-status='occupied'] {
  --sc: var(--busy);
}

.pod-detail[data-status='cleaning'] {
  --sc: var(--clean);
}

.pd-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-badge {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 16px;
  border: 2px solid var(--sc);
  background: color-mix(in srgb, var(--sc) 10%, #fff);
  font-weight: 700;
  font-size: 1.05rem;
}

.pd-head h3 {
  font-size: 1.15rem;
}

.pd-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sc);
  font-weight: 600;
  font-size: 0.92rem;
}

.pd-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc);
}

.pd-rows {
  display: grid;
  gap: 6px;
  margin: 0;
}

.pd-rows div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 0.9rem;
}

.pd-rows dt {
  color: var(--muted);
}

.pd-rows dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.uv-progress {
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--clean) 18%, transparent);
  overflow: hidden;
}

.uv-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--clean);
  transition: width 1s linear;
}

/* ---------------------------------------------------------------- pricing */

.pricing-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

.calc {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.calc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.calc-head label {
  font-weight: 600;
}

.calc-head output {
  font-size: 1.7rem;
  font-weight: 700;
}

input[type='range'] {
  --fill: 6%;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

input[type='range']::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--text) var(--fill), var(--surface-3) var(--fill));
}

input[type='range']::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--text) var(--fill), var(--surface-3) var(--fill));
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

input[type='range']::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.calc-results {
  display: grid;
  gap: 10px;
}

.calc-row {
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.calc-row[data-type='nap'] {
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
}

.calc-row[data-type='play'] {
  --accent: var(--plum);
  --accent-soft: var(--plum-soft);
}

.calc-row > .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.calc-row .name {
  display: grid;
  line-height: 1.3;
}

.calc-row .name small {
  color: var(--muted);
  font-size: 0.8rem;
}

.calc-row .amount {
  display: grid;
  justify-items: end;
  line-height: 1.2;
}

.calc-row .amount strong {
  font-size: 1.35rem;
}

.calc-row .amount s {
  color: var(--muted);
  font-size: 0.8rem;
}

.save-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
}

.rules {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  background: var(--bg-soft);
  border: 0;
}

.rules h3 {
  font-size: 1.2rem;
}

.rule-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.93rem;
}

.rule-list .ic {
  margin-top: 3px;
  color: var(--primary);
}

.rule-list b {
  color: var(--text);
  font-weight: 600;
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.price-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
}

.price-table thead th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  background: var(--surface-2);
}

.price-table tbody tr:last-child td,
.price-table tbody tr:last-child th {
  border-bottom: 0;
}

.price-table td.cap {
  color: var(--primary);
  font-weight: 600;
}

/* ---------------------------------------------------------------- use cases */

#for-you {
  background: var(--bg-soft);
}

.usecase-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .usecase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usecase {
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.usecase[data-type='nap'] {
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
}

.usecase > .ic {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.usecase h3 {
  font-size: 1.15rem;
}

.usecase p {
  color: var(--text-2);
  font-size: 0.93rem;
}

.usecase .usecase-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 0.9rem;
}

.usecase-plan strong {
  font-size: 1.2rem;
}

/* ---------------------------------------------------------------- hygiene */

.hygiene-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .hygiene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .hygiene-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hy-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.hy-card h3 {
  font-size: 1.05rem;
}

.hy-card p {
  color: var(--text-2);
  font-size: 0.9rem;
}

@media (max-width: 639px) {
  .hy-card {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 4px;
    padding: 18px;
  }

  .hy-ic {
    grid-row: span 2;
  }
}

.hy-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.hy-ic .ic {
  width: 24px;
  height: 24px;
}

.hy-uv {
  background: var(--plum-soft);
  color: var(--plum);
}

.hy-linen {
  background: var(--accent-soft);
  color: var(--accent);
}

.hy-air {
  background: #e3eef4;
  color: #2f6b88;
}

.hy-touch {
  background: var(--primary-soft);
  color: var(--primary);
}

.cycle {
  margin-top: 18px;
  padding: 26px;
  border: 0;
  background: var(--bg-soft);
}

.cycle-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 1.1rem;
}

.cycle-title .ic {
  color: var(--clean);
}

.cycle-steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cycle-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 14px;
  padding: 0 0 18px;
}

.cycle-steps li::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clean);
}

.cycle-steps li::after {
  content: '';
  position: absolute;
  left: 80px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--line-2);
}

.cycle-steps li:last-child::after {
  display: none;
}

.cycle-steps li.is-ready::before {
  background: var(--ok);
}

.cycle-time {
  grid-row: span 2;
  font-weight: 700;
  color: var(--clean);
}

.is-ready .cycle-time {
  color: var(--ok);
}

.cycle-steps b,
.cycle-steps li > span:last-child {
  padding-left: 22px;
}

.cycle-steps li > span:last-child {
  color: var(--text-2);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .cycle-steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .cycle-steps li {
    grid-template-columns: 1fr;
    padding: 30px 12px 0 0;
  }

  .cycle-steps li::before {
    left: 0;
    top: 0;
  }

  .cycle-steps li::after {
    left: 14px;
    right: 0;
    top: 4px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .cycle-time {
    grid-row: auto;
  }

  .cycle-steps b,
  .cycle-steps li > span:last-child {
    padding-left: 0;
  }
}

.safety-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .safety-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .safety-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.safety-list li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-2);
}

.safety-list .ic {
  margin-top: 2px;
  color: var(--primary);
}

.safety-list b {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------------- FAQ */

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-2);
  transition: rotate 0.25s var(--ease);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  padding: 0 4px 20px;
  color: var(--text-2);
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.contact-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.contact-card p {
  margin: 0;
  color: var(--text-2);
}

.faq-title {
  margin: 40px 0 8px;
  font-size: 1.15rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-actions .btn {
  min-width: 0;
}

@media (max-width: 480px) {
  .contact-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------------------------------------------------------------- final CTA + footer */

.cta-card {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 36px 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.82), rgba(20, 17, 15, 0.35)),
    url('../assets/rooms/play.webp') center / cover;
  color: #fff;
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(1.5rem, 4.6vw, 2.3rem);
}

.cta-card .hl {
  color: #ffd2b8;
}

.cta-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-card .btn-primary {
  --btn-bg: #fff;
  --btn-fg: var(--text);
}

@media (min-width: 800px) {
  .cta-card {
    grid-template-columns: 1fr auto;
    padding: 56px;
  }
}

.site-footer {
  padding: 56px 0 calc(110px + env(safe-area-inset-bottom));
  background: var(--bg-soft);
}

@media (min-width: 760px) {
  .site-footer {
    padding-bottom: 36px;
  }
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-grid .brand {
  margin-bottom: 12px;
}

.footer-grid p {
  max-width: 340px;
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.footer-branches,
.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-2);
}

.footer-branches b {
  display: block;
  color: var(--text);
}

.footer-branches span {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 0.85rem;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.mode-badge[hidden] {
  display: none;
}

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    translate 0.35s var(--ease),
    opacity 0.35s;
}

.mobile-cta b {
  font-size: 1.15rem;
}

.mobile-cta .muted {
  font-size: 0.82rem;
}

.mobile-cta.is-hidden {
  translate: 0 110%;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 760px) {
  .mobile-cta {
    display: none;
  }
}

/* ---------------------------------------------------------------- sheets (dialog) */

dialog.sheet {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

dialog.sheet[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

dialog.sheet::backdrop {
  background: rgba(20, 17, 15, 0.5);
}

.sheet-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 94dvh;
  border-radius: 22px 22px 0 0;
  background: var(--bg);
  box-shadow: 0 -20px 60px rgba(20, 17, 15, 0.25);
  animation: sheet-up 0.38s var(--ease);
}

@keyframes sheet-up {
  from {
    translate: 0 40px;
    opacity: 0;
  }
}

@media (min-width: 720px) {
  dialog.sheet[open] {
    align-items: center;
  }

  .sheet-panel {
    width: min(580px, calc(100% - 32px));
    max-height: min(90dvh, 900px);
    border-radius: 22px;
  }

  .sheet-sm .sheet-panel {
    width: min(440px, calc(100% - 32px));
  }
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 10px;
}

.sheet-head::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 7px;
  width: 40px;
  height: 4px;
  translate: -50% 0;
  border-radius: 4px;
  background: var(--line-2);
}

@media (min-width: 720px) {
  .sheet-head::before {
    display: none;
  }
}

.sheet-heading {
  flex: 1;
  min-width: 0;
}

.sheet-heading h2 {
  font-size: 1.2rem;
}

.sheet-step {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.sheet-step:empty {
  display: none;
}

.progress {
  height: 3px;
  margin: 0 16px;
  border-radius: 3px;
  background: var(--surface-3);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: var(--text);
  transition: width 0.4s var(--ease);
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
}

.sheet-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.sheet-foot:empty {
  display: none;
}

.foot-total {
  display: grid;
  margin-right: auto;
  line-height: 1.25;
}

.foot-total span {
  color: var(--muted);
  font-size: 0.8rem;
}

.foot-total strong {
  font-size: 1.4rem;
}

.sheet-foot .btn {
  flex: 1;
  max-width: 280px;
}

/* Booking flow content */
.bf-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.85rem;
}

.pill .ic {
  width: 1.05em;
  height: 1.05em;
  color: var(--muted);
}

.bf-durations {
  margin-bottom: 18px;
}

.bf-types {
  display: grid;
  gap: 12px;
}

.type-option {
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s;
}

.type-option[data-type='nap'] {
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
}

.type-option[data-type='play'] {
  --accent: var(--plum);
  --accent-soft: var(--plum-soft);
}

.type-option.is-selected {
  border-color: var(--text);
}

.type-option.is-full {
  background: var(--surface-2);
}

.to-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.to-head > .ic {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.to-name {
  display: grid;
  line-height: 1.3;
}

.to-name small {
  color: var(--muted);
}

.to-name small.ok {
  color: var(--ok);
}

.to-price {
  display: grid;
  justify-items: end;
  line-height: 1.2;
}

.to-price strong {
  font-size: 1.3rem;
}

.to-price s {
  color: var(--muted);
  font-size: 0.78rem;
}

.to-pods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.pod-choice {
  position: relative;
}

.pod-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.pod-choice span {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  min-height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.pod-choice input:checked + span {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.pod-choice input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.to-full {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 14px;
  color: var(--text-2);
  font-size: 0.88rem;
}

.notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #eaf1f6;
  color: var(--text-2);
  font-size: 0.9rem;
}

.notice .ic {
  margin-top: 2px;
  color: #2f6b88;
}

.notice.warn {
  background: #fcf0dc;
}

.notice.warn .ic {
  color: var(--clean);
}

.notice.error {
  background: #fbe5e7;
}

.notice.error .ic {
  color: var(--busy);
}

.notice + * {
  margin-top: 14px;
}

.skeleton {
  height: 92px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.form-stack {
  display: grid;
  gap: 14px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.9rem;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.order {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.order-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-head .pd-badge {
  --sc: var(--text);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.order-head b {
  display: block;
}

.order-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.order-lines {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  font-size: 0.92rem;
}

.order-lines div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.order-lines dt {
  color: var(--text-2);
}

.order-lines dd {
  margin: 0;
}

.order-lines .discount dd {
  color: var(--primary);
}

.order-lines .total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.order-lines .total dd {
  font-size: 1.3rem;
}

.hold-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text-2);
  font-size: 0.9rem;
}

.hold-timer .ic {
  color: var(--accent);
}

.hold-timer b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: 1.1rem;
}

.pay-methods {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.pay-methods legend {
  margin-bottom: 8px;
  font-weight: 600;
}

.pay-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}

.pay-option input {
  position: absolute;
  opacity: 0;
}

.pay-option > .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}

.pay-option span {
  display: grid;
  line-height: 1.3;
}

.pay-option small {
  color: var(--muted);
}

.pay-option::after {
  content: '';
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--line-2);
}

.pay-option:has(input:checked) {
  border-color: var(--text);
}

.pay-option:has(input:checked)::after {
  border: 6px solid var(--text);
}

.pay-option:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.processing {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 0;
  text-align: center;
  color: var(--text-2);
}

.processing .spinner {
  width: 46px;
  height: 46px;
  border-color: var(--surface-3);
  border-top-color: var(--text);
}

.demo-note {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ---------------------------------------------------------------- door pass */

.pass {
  display: grid;
  gap: 16px;
}

.pass-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.pass-success .ic {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  stroke-width: 2.6;
}

.pass-success small {
  display: block;
  color: var(--text-2);
}

.ticket {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, #24453c, #142a24);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.ticket-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 14px;
}

.ticket-pod {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
}

.ticket-type {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.phase {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.phase-active {
  background: #8ee2b0;
  color: #0f2e1d;
}

.phase-upcoming {
  background: #fff;
  color: var(--text);
}

.phase-ended {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

.ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 20px 18px;
  font-size: 0.9rem;
}

.ticket-meta div {
  display: grid;
  line-height: 1.35;
}

.ticket-meta span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.ticket-cut {
  position: relative;
  height: 0;
  margin: 0 20px;
  border-top: 2px dashed rgba(255, 255, 255, 0.22);
}

.ticket-cut::before,
.ticket-cut::after {
  content: '';
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
}

.ticket-cut::before {
  left: -33px;
}

.ticket-cut::after {
  right: -33px;
}

.ticket-access {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 20px;
}

.qr-box {
  position: relative;
  width: min(236px, 70vw);
  padding: 10px;
  border-radius: 20px;
  background: #fff;
}

.qr-box svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.qr-box.is-refreshing svg {
  animation: qr-in 0.5s var(--ease);
}

@keyframes qr-in {
  from {
    opacity: 0.2;
    scale: 0.96;
  }
}

.qr-box.is-dim svg {
  opacity: 0.2;
  filter: blur(2px);
}

.qr-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text);
  text-align: center;
  font-weight: 600;
}

.qr-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.ring {
  width: 26px;
  height: 26px;
  rotate: -90deg;
}

.ring circle {
  fill: none;
  stroke-width: 3;
}

.ring .ring-bg {
  stroke: rgba(255, 255, 255, 0.2);
}

.ring .ring-fg {
  stroke: #8ee2b0;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.pin {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
}

.pin-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.pin-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pin-digits {
  display: flex;
  gap: 6px;
}

.pin-digits span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ticket .icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.pass-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pass-actions .btn {
  min-width: 0;
  white-space: normal;
  text-align: center;
}

.pass-actions .btn-primary {
  grid-column: 1 / -1;
}

.pass-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.85rem;
}

.pass-foot .ic {
  color: var(--plum);
}

.door-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  animation: sheet-up 0.4s var(--ease);
}

.door-result .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
}

.door-result.ok {
  background: var(--primary-soft);
}

.door-result.ok .ic {
  background: var(--ok);
  color: #fff;
}

.door-result.fail {
  background: #fbe5e7;
}

.door-result.fail .ic {
  background: var(--busy);
  color: #fff;
}

.door-result small {
  display: block;
  color: var(--text-2);
}

.extend {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.extend-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.extend-head .ic {
  color: var(--primary);
}

.extend .chip b {
  font-weight: 700;
}

/* Wallet */
.wallet-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
}

.wallet-item:hover {
  border-color: var(--text);
}

.wallet-item .pd-badge {
  --sc: var(--text);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.wallet-item > span {
  flex: 1;
  display: grid;
  line-height: 1.35;
}

.wallet-item small {
  color: var(--muted);
}

.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 36px 16px;
  color: var(--muted);
  text-align: center;
}

.empty .ic {
  width: 44px;
  height: 44px;
  color: var(--text-2);
}

.ticket .empty,
.ticket .empty .ic {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------------------------------------------------------------- toasts */

.toasts {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) + 12px);
  z-index: 100;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 32px));
  translate: -50% 0;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  animation: toast-in 0.35s var(--ease);
}

.toast .ic {
  color: #8ee2b0;
}

.toast.error {
  background: #7a2229;
}

.toast.error .ic {
  color: #ffc1c5;
}

.toast.is-leaving {
  opacity: 0;
  translate: 0 -8px;
  transition:
    opacity 0.3s,
    translate 0.3s;
}

@keyframes toast-in {
  from {
    opacity: 0;
    translate: 0 -10px;
  }
}

/* ---------------------------------------------------------------- reveal on scroll */

.reveal {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.7s var(--ease),
    translate 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    translate: none;
  }
}
