/* Nomado website. Phone-first column (max 480px): hero, Өрөө / Spot+ tabs, three numbered steps, a fixed total bar
   and a calendar sheet. Brand: navy #00082A, royal #2B3990, gold #BA9E6E / #CBB590, Manrope.
   CSP: no inline styles anywhere; every look lives here. */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-cyrillic-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FCFBF8; --surface: #FFFFFF; --ink: #00082A; --ink-2: #454B66; --ink-3: #5B6079;
  --line: #E6E2D8; --chip: #F3F1EC; --royal: #2B3990; --gold: #CBB590;
  --sel-bg: #00082A; --sel-fg: #CBB590; --open-bg: #FAF8F3; --range: #E7E9F6;
  --card-bg: #00082A; --card-fg: #FFFFFF; --card-2: #C9CCDA; --card-line: rgba(203,181,144,.32);
  --hot-bg: #FBE9E7; --hot-fg: #8C1D18; --few-bg: #EEF0F7; --few-fg: #2B3990; --free-bg: #E6F2EA; --free-fg: #1E5B2E;
  --full-bg: #ECEAE4; --full-fg: #5B6079; --adult: #8C1D18; --bar-off: #D9D4C8; --scrim: rgba(0,8,42,.45);
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #00061F; --surface: #0A1033; --ink: #FFFFFF; --ink-2: #C9CCDA; --ink-3: #A3A8C0;
    --line: #1E2650; --chip: #111A45; --royal: #9AA6FF; --sel-bg: #CBB590; --sel-fg: #00082A; --open-bg: #0D1440; --range: #1B2460;
    --card-bg: #111C55; --card-line: rgba(203,181,144,.4);
    --hot-bg: #3A1416; --hot-fg: #FFB4AB; --few-bg: #1B2460; --few-fg: #C3CBFF; --free-bg: #10301C; --free-fg: #9FE0B0;
    --full-bg: #1A2047; --full-fg: #A3A8C0; --adult: #FFB4AB; --bar-off: #2A3366; --scrim: rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.4;
  -webkit-tap-highlight-color: transparent; padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
img { max-width: 100%; }
a { color: inherit; }
button, input { font-family: inherit; color: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }
.wrap { max-width: 480px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ic { width: 16px; height: 16px; flex: none; display: block; }
.press { transition: transform .18s ease, background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease; }
.press:active { transform: scale(.97); }

/* header + hero */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 12px 8px; }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.brand b { font-size: 20px; font-weight: 300; letter-spacing: .4em; }
.brand small { font-size: 8.5px; font-weight: 700; letter-spacing: .3em; color: var(--ink-3); }
.top-actions { display: flex; gap: 2px; }
.icon-btn { height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .14em; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.icon-btn .ic { width: 22px; height: 22px; }
.hero { position: relative; height: 300px; border-radius: 14px; overflow: hidden; background: #2A1A10; }
.hero-move { position: absolute; inset: -40px 0 0 0; perspective: 900px; }
.hero-move img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,8,42,0) 30%, rgba(0,8,42,.82) 100%); }
.hero-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; pointer-events: none; transition: opacity .2s ease; }
.hero h1 { margin: 0; color: #FFFFFF; font-size: 28px; line-height: 1.12; font-weight: 300; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 span { display: inline-block; }
.hero .kicker { display: inline-block; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(0,8,42,.62); color: #CBB590; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; }
/* home hero: the window itself plays every room photo as an Instagram-style story (app.js). Without JS: the Lava photo and the title. */
.hero.is-story { cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hf { position: absolute; inset: 0; overflow: hidden; background: #000000; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hf::after { content: ""; position: absolute; inset: 0; background: #000000; opacity: var(--dim, 0); pointer-events: none; }
.hf-ghost { z-index: 1; }
.hero-move .hf img { position: absolute; inset: 0; }
/* a photo far from the window's shape shows whole, on a blurred copy of itself */
.hero-move .hf-bg { display: none; object-fit: cover; filter: blur(24px) brightness(.55); transform: scale(1.15); }
.hf.whole .hf-bg { display: block; }
.hero-move .hf.whole .hf-img { object-fit: contain; object-position: 50% 50% !important; }
.hf-img.kb { animation: hf-kb 4.8s linear both; }
@keyframes hf-kb { from { transform: scale(1); } to { transform: scale(1.06); } }
/* the story header: a bar per photo of the room, the room's avatar, name and count, «Сонгох» */
.hst { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 9px 10px 24px; background: linear-gradient(rgba(0,8,42,.6), rgba(0,8,42,0)); pointer-events: none; transition: opacity .2s ease; }
.hst-bars { display: flex; gap: 3px; }
.hst-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.hst-bars b { display: block; width: 0; height: 100%; background: #FFFFFF; }
.hst-head { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #FFFFFF; }
.hst-ava { flex: none; width: 32px; height: 32px; padding: 2px; border-radius: 50%; background: linear-gradient(135deg, #CBB590, #BA9E6E 55%, #2B3990); }
.hst-ava img { display: block; width: 100%; height: 100%; border: 2px solid #000000; border-radius: 50%; object-fit: cover; }
.hst-head b { font-size: 13.5px; font-weight: 700; }
#hsCount { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.75); }
.hst-go { margin-left: auto; min-height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: #CBB590; color: #00082A; font-size: 12.5px; font-weight: 800; pointer-events: auto; cursor: pointer; }
/* holding the story pauses it and clears the window */
.hero.held .hst, .hero.held .hero-cap, .hero.held .hs-layer, .hero.held .hero-nav { opacity: 0; }
.hs-layer, .hero-nav { display: none; }
.hn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; }

/* segmented controls: tabs (links) and rates (buttons) */
.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: 999px; background: var(--chip); }
.seg.tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.seg-pill { position: absolute; top: 4px; left: 0; width: 0; height: 44px; border-radius: 999px; background: var(--sel-bg); box-shadow: 0 4px 14px rgba(0,8,42,.18); }
.seg button, .seg a { position: relative; z-index: 1; height: 44px; border: 0; background: transparent; border-radius: 999px; font-size: 15px; font-weight: 800; color: var(--ink);
  transition: color .25s ease; display: flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.seg button[aria-pressed="true"], .seg a[aria-current="page"] { color: var(--sel-fg); }
.no-js .seg button[aria-pressed="true"], .no-js .seg a[aria-current="page"] { background: var(--sel-bg); }

.step { display: flex; flex-direction: column; gap: 10px; padding-block: 22px 4px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--royal); padding: 0 4px; }
.step h2 { margin: 0; padding: 0 4px; font-size: 19px; line-height: 1.3; font-weight: 700; text-wrap: balance; }
.note { margin: 0; padding: 0 4px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.notice { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--hot-bg); color: var(--hot-fg); font-size: 13px; font-weight: 700; line-height: 1.45; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.notice .retry { height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font-size: 13px; font-weight: 800; }
.is-loading { opacity: .45; transition: opacity .2s ease; }

/* dates */
.dates { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.dates.single { grid-template-columns: minmax(0, 1fr); }
.dfield { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 10px 14px; border: 0; background: transparent; text-align: left; min-height: 60px; }
.dfield small { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); }
.dfield b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dfield b span { font-weight: 600; color: var(--ink-2); }
.darrow { display: flex; align-items: center; justify-content: center; padding: 0 2px; color: var(--ink-3); }
.nights { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--sel-bg); color: var(--sel-fg); font-size: 12.5px; font-weight: 800; }
.times { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.times::-webkit-scrollbar { display: none; }
.times button { flex: none; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.times button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); border-color: var(--sel-bg); }

/* tiers */
.tiers { display: flex; flex-direction: column; gap: 8px; }
.tier { border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.tier.is-open { border-color: var(--ink); background: var(--open-bg); box-shadow: 0 10px 28px rgba(0,8,42,.10); }
.tier-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; background: transparent; text-align: left; }
.lvl { width: 30px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bars { height: 22px; display: flex; align-items: flex-end; gap: 2px; }
.bars i { width: 4px; border-radius: 1px; background: var(--bar-off); display: block; transform-origin: bottom; }
.bars i.on { background: var(--royal); }
.lvl-h1 { height: 9px; } .lvl-h2 { height: 12px; } .lvl-h3 { height: 15px; } .lvl-h4 { height: 18px; } .lvl-h5 { height: 21px; }
.lvl small { font-size: 10px; font-weight: 800; color: var(--ink-3); }
.tier-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tier-name b { font-size: 16px; line-height: 1.2; font-weight: 800; }
.tier-name span { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.tier-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.tier-price b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.unit { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.badge { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.badge.hot { background: var(--hot-bg); color: var(--hot-fg); }
.badge.few { background: var(--few-bg); color: var(--few-fg); }
.badge.free { background: var(--free-bg); color: var(--free-fg); }
.badge.full { background: var(--full-bg); color: var(--full-fg); }
.badge .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }
.tier-body { overflow: hidden; }
.tier-inner { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.more-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; font-size: 13px; font-weight: 800; color: var(--royal); text-decoration: none; }

/* gallery */
.gal { position: relative; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 10px; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 190px; scroll-snap-align: center; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pos-left { object-position: 28% center; } .pos-center { object-position: center; } .pos-right { object-position: 68% center; } .pos-low { object-position: center 72%; } .pos-high { object-position: center 18%; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #E3D3B3; overflow: hidden; }
.ph .ic { width: 26px; height: 26px; opacity: .8; }
.ph span { position: relative; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-align: center; padding: 0 12px; }
.tone-mini { background: #1E2233; } .tone-honeymoon { background: #2A1A10; } .tone-themed { background: #2A1A10; } .tone-premium { background: #0A1A4F; } .tone-bigred { background: #3E0910; }
.glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,60,60,.5) 0%, rgba(255,60,60,0) 70%); }
.cap { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(0,8,42,.72); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.count { position: absolute; right: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(0,8,42,.72); color: #FFFFFF; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gal-nav { position: absolute; top: 95px; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #00082A; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,8,42,.2); }
.gal-nav.prev { left: 8px; } .gal-nav.next { right: 8px; }
.dots { display: flex; justify-content: center; gap: 5px; padding-top: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--bar-off); display: block; transition: width .3s ease, background-color .3s ease; }
.dots i.on { width: 18px; background: var(--ink); }

.feat-label { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); }
.feats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.feats li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1.3; min-width: 0; }
.fi { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--range); color: var(--royal); display: flex; align-items: center; justify-content: center; }
.feats li.adult { background: #3E0910; border-color: #3E0910; color: #FFFFFF; }
.feats li.adult .fi { background: rgba(255,255,255,.12); color: #FFB4AB; }
.adult-btn { align-self: flex-start; height: 44px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid var(--adult); color: var(--adult); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }

/* occasions + bundles */
.occ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.occ button { min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 800; }
.occ button .ic { width: 24px; height: 24px; }
.occ button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); border-color: var(--sel-bg); }
.collapse { overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.bundle { margin-top: 4px; padding: 18px 16px 16px; border-radius: 14px; background: var(--card-bg); color: var(--card-fg); display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--card-line); }
.b-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.b-head b { font-size: 17px; font-weight: 800; }
.off { padding: 4px 9px; border-radius: 999px; background: #CBB590; color: #00082A; font-size: 12px; font-weight: 800; white-space: nowrap; }
.b-items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.b-items li { display: flex; align-items: center; gap: 10px; }
.bi { width: 32px; height: 32px; flex: none; border-radius: 9px; background: rgba(203,181,144,.16); color: #CBB590; display: flex; align-items: center; justify-content: center; }
.b-items .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.b-items .t b { font-size: 14.5px; font-weight: 700; }
.b-items .t span, .b-items .p { font-size: 12.5px; color: var(--card-2); }
.b-items .p { font-variant-numeric: tabular-nums; }
.b-sum { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--card-line); }
.was { font-size: 12px; color: var(--card-2); }
.strike { position: relative; display: inline-block; font-variant-numeric: tabular-nums; }
.strike::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; background: currentColor; transform-origin: left; transform: scaleX(var(--s, 1)); }
.now { font-size: 27px; font-weight: 300; color: #CBB590; font-variant-numeric: tabular-nums; }
.save { font-size: 12.5px; font-weight: 800; color: #CBB590; display: inline-block; }
.add { height: 50px; border-radius: 8px; border: 1.5px solid var(--sel-bg); background: var(--sel-bg); color: var(--sel-fg); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; }
.add[aria-pressed="true"] { background: transparent; color: var(--ink); }
.add .add-check { display: none; }
.add[aria-pressed="true"] .add-check { display: block; }
.add[aria-pressed="true"] .add-plus { display: none; }
.xsell { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--line); text-decoration: none; }
.xsell > .ic { width: 22px; height: 22px; color: var(--royal); }
.xsell span { flex: 1; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.xsell small { display: block; font-weight: 600; color: var(--ink-2); font-size: 12px; }

.fine { margin: 0; padding-block: 18px 24px; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }

/* simple pages: room, policies, contact */
.prose { padding-block: 18px 8px; display: flex; flex-direction: column; gap: 12px; }
.prose h1 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 300; text-wrap: balance; }
.prose h2 { margin: 10px 0 0; font-size: 17px; font-weight: 800; }
.prose p, .prose li { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 65ch; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-row b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; user-select: all; }
.chip-btn { height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
/* contact page: a photo header, the hotel on a map with a route button, the way in, one-tap phone and email, hours */
.contact { padding-block: 14px 28px; display: flex; flex-direction: column; gap: 4px; }
.ct-hero { position: relative; height: 210px; border-radius: 14px; overflow: hidden; background: #2A1A10; }
.ct-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.ct-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,8,42,.05) 15%, rgba(0,8,42,.88) 100%); }
.ct-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #FFFFFF; }
.ct-cap .kicker { display: inline-block; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(0,8,42,.62); color: #CBB590; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; }
.ct-cap h1 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 300; letter-spacing: -.01em; }
.ct-cap p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.85); }
.ct-map { margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: var(--surface); box-shadow: 0 10px 28px rgba(0,8,42,.08); }
.ct-frame { display: block; width: 100%; height: 240px; border: 0; background: var(--chip); }
.ct-pin { display: flex; align-items: center; gap: 10px; padding: 14px 14px 4px; }
.ct-pin .fi, .ct-num { background: var(--sel-bg); color: var(--sel-fg); }
.ct-pin b { display: block; font-size: 15px; font-weight: 800; }
.ct-pin small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-2); }
.ct-actions { display: flex; gap: 8px; padding: 10px 14px 14px; }
.ct-go { flex: 1; height: 44px; border-radius: 999px; background: #CBB590; color: #00082A; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 800; text-decoration: none; }
.ct-go .ic { width: 18px; height: 18px; }
.ct-actions .chip-btn { height: 44px; color: var(--ink); text-decoration: none; }
.contact .step h2 { padding: 0 4px; }
.ct-route { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.ct-step { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 0 4px 18px; }
.ct-step::before { content: ""; position: absolute; left: 18px; top: 32px; bottom: 2px; width: 2px; border-radius: 2px; background: linear-gradient(#CBB590, rgba(203,181,144,.25)); }
.ct-step:last-child { padding-bottom: 6px; }
.ct-step:last-child::before { display: none; }
.ct-num { position: relative; z-index: 1; flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.ct-step:last-child .ct-num { background: #CBB590; color: #00082A; }
.ct-num .ic { width: 16px; height: 16px; }
.ct-step p { margin: 5px 0 0; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.ct-cards { display: flex; flex-direction: column; gap: 8px; }
.ct-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.ct-t { flex: 1; min-width: 0; }
.ct-t small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); }
.ct-t b { display: block; margin-top: 2px; font-size: clamp(14px, 4vw, 16px); font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ct-cta { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--sel-bg); color: var(--sel-fg); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.ct-cta svg { width: 15px; height: 15px; }
.ct-hours { margin: 0; padding: 2px 14px; list-style: none; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); }
.ct-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ct-hours li:last-child { border-bottom: 0; }
.ct-hours span { color: var(--ink-2); font-weight: 600; }
.ct-hours b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact .sp-main, .contact .sp-side { display: contents; }
.contact .sp-side > .more { align-self: flex-start; margin: 14px 4px 0; }
.pols, .pol { display: contents; }
/* page not found: a navy card with a big gold 404, then the way back to rooms, Spot+ and contact */
.nf { max-width: 560px; margin: 0 auto; padding-block: 18px 32px; display: flex; flex-direction: column; gap: 14px; }
.nf-card { position: relative; overflow: hidden; padding: 26px 22px 24px; border-radius: 16px; background: var(--card-bg); color: var(--card-fg); }
.nf-card::before, .nf-card::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid var(--card-line); pointer-events: none; }
.nf-card::before { right: -70px; top: -70px; width: 220px; height: 220px; }
.nf-card::after { right: -20px; top: -20px; width: 120px; height: 120px; }
.nf-code { display: block; font-size: 76px; line-height: 1; font-weight: 200; letter-spacing: .04em; color: #CBB590; font-variant-numeric: tabular-nums; }
.nf-card h1 { position: relative; margin: 14px 0 0; font-size: 28px; line-height: 1.15; font-weight: 300; letter-spacing: -.01em; }
.nf-card p { position: relative; margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--card-2); max-width: 40ch; }
.nf-links { display: flex; flex-direction: column; gap: 8px; }
.nf-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.nf-link:hover { border-color: #CBB590; }
.nf-link .fi { width: 36px; height: 36px; border-radius: 10px; }
.nf-t { flex: 1; min-width: 0; }
.nf-t b { display: block; font-size: 15.5px; font-weight: 800; }
.nf-t small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.nf-link > .ic { flex: none; width: 18px; height: 18px; color: var(--ink-3); }

/* total bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(0,8,42,.08); overflow: hidden; }
.bar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; }
.total { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.total small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); }
.total b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.total span { font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
.book { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--sel-bg); color: var(--sel-fg);
  font-size: 15px; font-weight: 800; letter-spacing: .02em; text-decoration: none; text-align: center; max-width: 52%; line-height: 1.2; }
.shine { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none; background: linear-gradient(100deg, rgba(203,181,144,0) 0%, rgba(203,181,144,.35) 50%, rgba(203,181,144,0) 100%); transform: translateX(-120%); }

/* calendar sheet */
.scrim { position: fixed; inset: 0; z-index: 20; background: var(--scrim); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 88vh; display: flex; flex-direction: column; background: var(--surface); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0,8,42,.25); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sheet .wrap { width: 100%; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding-block: 14px 8px; }
.sheet-head b { font-size: 17px; font-weight: 800; }
.sheet-body { overflow-y: auto; flex: 1; min-height: 0; }
.sheet-foot { border-top: 1px solid var(--line); padding-block: 12px; display: flex; align-items: center; gap: 12px; }
.sheet-foot span { flex: 1; font-size: 13.5px; font-weight: 700; }
.sheet-foot .book:disabled { opacity: .4; cursor: not-allowed; }
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-size: 11px; font-weight: 800; color: var(--ink-3); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.month { padding-block: 14px 4px; }
.month h3 { margin: 0 0 8px; padding: 0 4px; font-size: 14px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; isolation: isolate; }
.day { height: 44px; border: 0; background: transparent; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; position: relative; z-index: 0; }
.day:disabled { color: var(--ink-3); opacity: .4; cursor: default; }
.day.in { background: var(--range); }
.day.a, .day.b { color: var(--sel-fg); }
.day.a::before, .day.b::before { content: ""; position: absolute; inset: 2px; border-radius: 10px; background: var(--sel-bg); z-index: -1; }
.day.a.has-b { background: linear-gradient(90deg, transparent 50%, var(--range) 50%); }
.day.b { background: linear-gradient(90deg, var(--range) 50%, transparent 50%); }
.day.today span { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 760px) {
  .hero { height: 360px; }
  .hero h1 { font-size: 36px; }
}
/* desktop home (960px+): the photo on the left, sticky; booking on the right; gold dots on the room's features */
@media (min-width: 960px) {
  .wrap.wide, .wrap.home { max-width: 1240px; padding-left: 32px; padding-right: 32px; }
  .wrap.home { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 40px; align-items: start; }
  .wrap.home > * { grid-column: 2; }
  .wrap.home > .hero { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 16px; height: calc(100vh - 100px); min-height: 520px; max-height: 780px; border-radius: 18px; }
  .wrap.home > .seg.tabs { margin-top: 0; }
  /* narrow desktop: the caption sits above the photo arrows; from 1200px they share the bottom row */
  .wrap.home .hero-cap { left: 32px; right: 32px; bottom: 84px; }
  .wrap.home .hero h1 { font-size: 36px; }
  .wrap.home .hst { padding: 14px 16px 34px; }
  .wrap.home .hst-bars i { height: 3px; }
  .wrap.home .hst-head { margin-top: 12px; gap: 10px; }
  .wrap.home .hst-ava { width: 40px; height: 40px; }
  .wrap.home .hst-head b { font-size: 15px; }
  .wrap.home .hst-go { min-height: 36px; padding: 0 18px; font-size: 14px; }
  .wrap.home ~ .bar, .wrap.wide ~ .bar { left: auto; right: max(32px, calc((100vw - 1240px) / 2 + 32px)); width: 440px; bottom: 16px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 34px rgba(0,8,42,.14); }
  .wrap.home ~ .bar .wrap, .wrap.wide ~ .bar .wrap { max-width: none; padding: 12px 16px; }
  .wrap.home ~ .sheet, .wrap.wide ~ .sheet { left: calc(50% - 280px); right: auto; width: 560px; top: 8vh; bottom: auto; max-height: 84vh; border-radius: 18px; }

  .wrap.home .hs-layer { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .45s ease; }
  .wrap.home .hs-layer.on { opacity: 1; }
  .hs { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; pointer-events: auto; }
  .hs-dot { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 0 6px rgba(255,255,255,.3), 0 2px 12px rgba(0,8,42,.5); cursor: pointer; }
  .hs-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #BA9E6E; }
  .hs-card { position: absolute; left: 20px; top: -22px; min-width: 170px; padding: 9px 12px; border-radius: 10px; background: rgba(0,8,42,.88); color: #FFFFFF; text-align: left;
    opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; white-space: nowrap; }
  .hs.left .hs-card { left: auto; right: 20px; transform: translateX(6px); }
  .hs-card b { display: block; font-size: 13.5px; font-weight: 700; }
  .hs-card small { display: block; margin-top: 2px; font-size: 11.5px; color: #CBB590; }
  .hs:hover .hs-card, .hs:focus-visible .hs-card, .hs.open .hs-card { opacity: 1; transform: none; }
  .wrap.home .hero-nav { display: flex; align-items: center; gap: 8px; position: absolute; right: 22px; bottom: 26px; z-index: 1; }
  .hn { width: 40px; height: 40px; background: rgba(255,255,255,.9); color: #00082A; }
  .hn .ic { width: 20px; height: 20px; }

  /* every other page: the same frame; a wide main column on the left, a 440px side column on the right */
  .sp { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 48px; align-items: start; }
  .sp > .sp-main { grid-column: 1; grid-row: 1; min-width: 0; }
  .sp > .sp-side { grid-column: 2; grid-row: 1; min-width: 0; }
  /* room page: big photos on the left; intro and dates stay in view on the right */
  #viewHotel.sp > .sp-side { position: sticky; top: 16px; }
  #viewHotel.sp .slide { height: auto; aspect-ratio: 3 / 2; }
  #viewHotel.sp .gal-nav { top: calc(50% - 7px); width: 42px; height: 42px; margin-top: -21px; }
  #viewHotel.sp .prose h1 { font-size: 36px; }
  /* Spot+: tabs, title and the VIP search on the right */
  .spot > .sp-side { position: sticky; top: 16px; }
  .spot > .sp-side > .seg.tabs { margin-top: 22px; }
  .spot .vip-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spot h1 { font-size: 36px; }
  /* contact: photo and map on the left, in view; the way in, phone, email and hours on the right */
  .contact > .sp-main, .contact > .sp-side { display: flex; flex-direction: column; gap: 4px; }
  .contact > .sp-main { position: sticky; top: 16px; }
  .ct-hero { height: 250px; }
  .ct-cap h1 { font-size: 38px; }
  .ct-frame { height: 360px; }
  .contact > .sp-side > .step:first-child { padding-top: 0; }
  /* policies: one card per topic, side by side */
  .pol-page h1 { font-size: 36px; }
  .pol-page .pols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 6px; }
  .pol-page .pol { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); }
  .pol-page .pol h2 { margin: 0; }
  /* page not found: the card and the way back side by side */
  .nf { max-width: 920px; padding-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: stretch; }
  .nf-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 36px 36px 34px; }
  .nf-code { font-size: 120px; }
  .nf-card h1 { font-size: 38px; }
  .nf-links { justify-content: center; }
}
@media (min-width: 1200px) { .wrap.home .hero-cap { right: 42%; bottom: 30px; } .wrap.home .hero h1 { font-size: 44px; } #viewHotel.sp .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) { .hs-dot { animation: hs-pulse 2.4s ease-in-out infinite; } }
@keyframes hs-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,.3), 0 2px 12px rgba(0,8,42,.5); } 50% { box-shadow: 0 0 0 13px rgba(255,255,255,0), 0 2px 12px rgba(0,8,42,.5); } }
@media (prefers-reduced-motion: reduce) {
  .press, .tier, .seg button, .seg a, .dots i, .hst, .hero-cap, .hs-layer, .hs-card { transition: none; }
  .hf-img.kb { animation: none; }
}

/* checkout */
.co .step { padding-block: 16px 2px; }
.co .note { padding: 0; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--ink-3); }
.f input, .f select { height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.f input:focus, .f select:focus { border-color: var(--royal); outline: none; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--royal); flex: none; }
.check small { color: var(--ink-3); font-weight: 700; }
.bundle .check { background: rgba(255,255,255,.06); border-color: var(--card-line); color: var(--card-fg); }
.bundle .more { color: #CBB590; }
.pick-one { margin: 0; font-size: 15px; font-weight: 800; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row .chip-btn { text-decoration: none; }
.terms { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--chip); font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.cf-turnstile { min-height: 65px; }
.pay-row { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.pay-row b { font-size: 20px; font-variant-numeric: tabular-nums; }
.pay-btn { width: 100%; max-width: none; }
.co .xsell { margin-top: 12px; }

/* Spot+ Celebre page and VIP checkout */
.spot h1 { margin: 0; padding: 0 4px; font-size: 28px; line-height: 1.15; font-weight: 300; text-wrap: balance; }
.spot .note { display: flex; align-items: flex-start; gap: 6px; }
.spot .note .ic { margin-top: 2px; color: var(--royal); }
/* No home-page script here: the current tab is filled by CSS, not by the moving pill. */
.spot-tabs .seg-pill { display: none; }
.spot-tabs a[aria-current="page"] { background: var(--sel-bg); }
.vip-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vip-search .f:first-child, .vip-search .book { grid-column: 1 / -1; }
.vip-search .book { width: 100%; max-width: none; }
.offer { margin: 0; display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--gold); background: rgba(186,158,110,.12); font-size: 13.5px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.offer .ic { margin-top: 2px; color: #BA9E6E; flex: none; }
.offers { display: flex; flex-direction: column; gap: 8px; }
.offer-pack > div { display: flex; flex-direction: column; gap: 6px; }
.offer-pack > div > b { font-size: 14.5px; }
.offer-pack li b { font-weight: 800; }
.offer-pack ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.offer-pack small { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.vip-rooms { display: grid; gap: 12px; }
.vip-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.vip-ph { position: relative; height: 150px; }
.vip-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; }
.vip-meta b { font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.vip-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tone-jet { background: #14183A; } .tone-onyx { background: #1A1A1F; } .tone-cocktail { background: #2A1530; }
.menu-list, .rule-list { margin: 0; padding: 0 4px; list-style: none; display: flex; flex-direction: column; }
.menu-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.menu-list small { color: var(--ink-3); font-weight: 600; }
.menu-list b { font-variant-numeric: tabular-nums; }
.rule-list { gap: 8px; padding-left: 20px; list-style: disc; }
.rule-list li { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.check.is-off { opacity: .55; cursor: not-allowed; }

/* website chat (M4): the round button on every page and the panel /chat.js builds. Navy and gold. */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 6;
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid #BA9E6E; background: #00082A; color: #CBB590; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,8,42,.28); cursor: pointer; transition: transform .18s ease, box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.chat-fab .ic { width: 26px; height: 26px; }
.chat-fab:active { transform: scale(.94); }
.chat-fab[aria-busy="true"] { opacity: .7; }
.bar ~ .chat-fab, body:has(.bar) .chat-fab { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.chat-panel { position: fixed; right: 20px; bottom: 92px; z-index: 30; width: 380px; height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 48px rgba(0,8,42,.28); }
.chat-panel[hidden] { display: none; }
.chat-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 8px 12px 16px; background: #00082A; color: #FFFFFF;
  border-bottom: 2px solid #BA9E6E; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.chat-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-who b { font-size: 15px; font-weight: 800; }
.chat-who span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #CBB590; }
.chat-x { width: 44px; height: 44px; border: 0; background: transparent; color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; }
.chat-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.chat-msg { max-width: 86%; display: flex; flex-direction: column; gap: 8px; }
.chat-msg p { margin: 0; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.bot p { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; }
.chat-msg.me p { background: var(--sel-bg); color: var(--sel-fg); border-bottom-right-radius: 4px; }
.chat-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-act { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.chat-act.gold { background: #00082A; border-color: #BA9E6E; color: #CBB590; }
.chat-typing { flex-direction: row; gap: 5px; padding: 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: chat-dot 1.2s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 14px 10px; background: var(--bg); }
.chat-quick[hidden] { display: none; }
.chat-q { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.chat-ts { flex: none; display: flex; justify-content: center; background: var(--bg); }
.chat-ts:empty { display: none; }
.chat-form { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-top: 1px solid var(--line); background: var(--surface);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.chat-in { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.chat-in:focus { outline: none; border-color: var(--royal); }
.chat-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #00082A; color: #CBB590; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-send .chat-ic { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) {
  .chat-fab, .chat-send, .chat-act.gold { background: #111C55; }
  .chat-head { background: #0A1033; }
}
@media (min-width: 560px) {
  .bar ~ .chat-panel, body:has(.bar) .chat-panel { bottom: calc(166px + env(safe-area-inset-bottom, 0px)); height: min(600px, calc(100vh - 190px)); }
}
@media (max-width: 559px) {
  .chat-panel { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; }
  .chat-fab.on { display: none; }
  html.chat-open, html.chat-open body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-typing i { animation: none; opacity: .6; }
  .chat-fab { transition: none; }
}
