/* Compatibility and interaction styling for the v0.1 Outly working concept. */
:root {
  --bg: #050505;
  --bg-soft: #090909;
  --surface: #111111;
  --surface-2: #171717;
  --surface-3: #202020;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(201,168,93,.56);
  --gold: #c9a85d;
  --gold-bright: #e2bd6b;
  --champagne: #e8ddc5;
  --white: #f6f4ef;
  --muted: #a5a19b;
  --muted-2: #74716d;
  --success: #4d9b72;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 55px rgba(0,0,0,.48);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 8%, rgba(201,168,93,.12), transparent 27rem),
    radial-gradient(circle at 4% 88%, rgba(15,110,110,.08), transparent 25rem),
    var(--bg);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button,input,textarea,select { font: inherit; }
button { color: inherit; }
img { display:block; max-width:100%; }

.app-shell {
  position: relative;
  width: min(100%, 540px);
  min-height: 100dvh;
  margin: 0 auto;
  background: linear-gradient(180deg,rgba(8,8,8,.985),rgba(3,3,3,.995));
  box-shadow: 0 0 80px rgba(0,0,0,.6);
  overflow-x: hidden;
}
.screen {
  min-height: 100dvh;
  padding: max(20px,env(safe-area-inset-top)) 20px calc(112px + env(safe-area-inset-bottom));
}
.screen.no-nav { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }

.topbar,.subbar { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.topbar { min-height:44px; margin-bottom:30px; padding:0; }
.subbar { margin-bottom:22px; }
.logo-lockup { width:152px; height:44px; object-fit:contain; object-position:left center; }
.brand-mini { display:flex; align-items:center; gap:10px; font-size:18px; letter-spacing:.28em; color:var(--gold-bright); }
.brand-mini img { width:34px; height:34px; object-fit:contain; }
.header-actions { display:flex; align-items:center; gap:8px; }

.icon-button,.circle-button {
  border:1px solid var(--line);
  background:rgba(17,17,17,.88);
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  cursor:pointer;
  transition:.2s ease;
}
.icon-button { width:42px; height:42px; padding:0; font-size:18px; }
.circle-button { width:36px; height:36px; padding:0; font-size:15px; }
.icon-button:hover,.circle-button:hover { border-color:var(--line-strong); transform:translateY(-1px); }
.city-button {
  display:inline-flex; align-items:center; gap:9px; height:42px; padding:0 14px;
  border:1px solid var(--line); border-radius:999px; background:rgba(12,12,12,.9); cursor:pointer; font-weight:600;
}
.city-button i { color:var(--gold-bright); }
.notification-dot { position:relative; }
.notification-dot::after { content:""; position:absolute; right:7px; top:6px; width:7px; height:7px; border-radius:50%; background:var(--gold-bright); box-shadow:0 0 0 3px var(--surface); }

.hero { position:relative; isolation:isolate; margin:0 0 24px; padding:0; min-height:0; overflow:visible; }
.hero::after {
  content:""; position:absolute; right:-20px; top:-60px; width:58%; height:200px; z-index:-1;
  background:linear-gradient(90deg,rgba(5,5,5,1),rgba(5,5,5,.12) 38%,rgba(5,5,5,.28)),url("assets/skyline.jpg") center/cover no-repeat;
  opacity:.86; -webkit-mask-image:linear-gradient(to bottom,#000 50%,transparent 100%); mask-image:linear-gradient(to bottom,#000 50%,transparent 100%);
}
.eyebrow { margin:0 0 8px; color:var(--gold-bright); font-size:14px; letter-spacing:.02em; }
.hero h1,.page-title { margin:0; font-family:var(--serif); font-weight:500; letter-spacing:-.035em; text-transform:none; }
.hero h1 { max-width:390px; font-size:clamp(44px,11vw,61px); line-height:.98; }
.hero h1 span { color:var(--gold-bright); }
.tagline { margin:14px 0 0; color:var(--muted); font-size:12px; letter-spacing:.16em; text-transform:uppercase; }
.page-title { font-size:38px; line-height:1.02; }
.page-subtitle { margin:8px 0 0; color:var(--muted); line-height:1.5; font-size:14px; }
.partner-label { color:var(--gold-bright); font-size:11px; letter-spacing:.12em; text-transform:uppercase; }

.ai-entry {
  width:100%; display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:12px; align-items:center;
  padding:14px; min-height:82px; border:1px solid var(--line-strong); border-radius:var(--radius-md);
  background:linear-gradient(135deg,rgba(30,30,30,.95),rgba(10,10,10,.96)); box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.ai-entry .mark-wrap { width:44px; height:44px; display:grid; place-items:center; border-radius:999px; background:rgba(201,168,93,.07); }
.ai-entry .mark-wrap img { width:36px; height:36px; }
.ai-entry input { min-width:0; width:100%; border:0; outline:0; background:transparent; color:var(--white); font-size:14px; }
.ai-entry input::placeholder { color:#8c8882; }
.ai-submit { align-self:stretch; min-width:74px; padding:0 8px; border:0; border-left:1px solid var(--line); background:transparent; color:var(--gold-bright); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }

.section { margin-top:28px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px; }
.section-heading h2,.section-heading h3 { margin:0; font-size:16px; letter-spacing:.08em; text-transform:uppercase; }
.section-heading .normal-case { text-transform:none; letter-spacing:0; font-size:20px; }
.text-button { border:0; padding:5px 0; background:transparent; color:var(--gold-bright); cursor:pointer; font-weight:700; }

.category-grid {
  display:grid; grid-template-columns:repeat(6,96px); grid-template-rows:repeat(2,106px); grid-auto-flow:row; gap:9px;
  overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; padding:0 0 2px; max-width:none;
}
.category-grid::-webkit-scrollbar,.card-row::-webkit-scrollbar,.chip-row::-webkit-scrollbar { display:none; }
.category-card {
  border:1px solid var(--line); border-radius:var(--radius-sm); background:linear-gradient(145deg,rgba(27,27,27,.92),rgba(13,13,13,.98));
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:10px 8px; min-width:0; min-height:0;
  text-align:center; cursor:pointer; scroll-snap-align:start; transition:.2s ease;
}
.category-card i { color:var(--gold-bright); font-size:26px; }
.category-card span { font-size:12px; line-height:1.15; }
.category-card:hover,.category-card:focus-visible { border-color:var(--line-strong); transform:translateY(-2px); }
.category-card.reserve { border-color:rgba(201,168,93,.58); box-shadow:inset 0 0 22px rgba(201,168,93,.05); }
.category-card.reserve .category-brand img { width:18px; height:18px; }

.card-row {
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px,46%); gap:12px; overflow-x:auto;
  scroll-snap-type:x mandatory; scrollbar-width:none; padding:0 0 4px; max-width:none;
}
.experience-card,.special-card,.talent-card {
  position:relative; min-height:220px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-md);
  background:var(--surface); scroll-snap-align:start; cursor:pointer; box-shadow:0 10px 30px rgba(0,0,0,.2); display:block;
}
.card-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; }
.card-scrim { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.06) 25%,rgba(0,0,0,.8) 72%,rgba(0,0,0,.98)); }
.card-content { position:absolute; inset:auto 0 0; padding:14px; z-index:1; }
.card-content h3 { margin:0 0 4px; font-size:16px; }
.card-content p { margin:0 0 7px; color:#d3d0cb; font-size:12px; line-height:1.35; }
.card-price { color:var(--gold-bright); font-weight:700; font-size:13px; }
.card-tag { position:absolute; left:10px; top:10px; z-index:2; display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:999px; background:rgba(6,6,6,.84); color:var(--gold-bright); font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; backdrop-filter:blur(10px); }
.heart-button { position:absolute; right:10px; top:10px; z-index:2; width:34px; height:34px; padding:0; border:0; border-radius:999px; background:rgba(6,6,6,.68); color:var(--white); cursor:pointer; }
.heart-button.saved { color:var(--gold-bright); }
.special-card { min-height:195px; }
.special-card .countdown { display:inline-flex; align-items:center; gap:5px; margin-top:6px; color:var(--champagne); font-size:11px; }
.savings-pill { display:inline-flex; margin-left:6px; padding:3px 7px; border-radius:999px; background:rgba(77,155,114,.18); color:#8bd4aa; font-size:10px; font-weight:800; }

.promo-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.promo-card { position:relative; min-height:182px; overflow:hidden; border:1px solid var(--line-strong); border-radius:var(--radius-md); background:#0d0d0d; cursor:pointer; display:block; }
.promo-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.62; }
.promo-card::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.26)); }
.promo-card-content { position:relative; z-index:2; padding:18px; }
.promo-card .kicker { color:var(--gold-bright); font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.promo-card h3 { margin:8px 0; font-family:var(--serif); font-size:25px; font-weight:500; line-height:.95; }
.promo-card p { max-width:190px; margin:0 0 13px; color:#dbd7d0; font-size:12px; line-height:1.4; }
.last-minute { width:100%; display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:12px; margin-top:18px; padding:16px; border:1px solid var(--line); border-radius:var(--radius-md); background:linear-gradient(120deg,rgba(23,23,23,.98),rgba(7,7,7,.98)); text-align:left; cursor:pointer; }
.last-minute i { color:var(--gold-bright); font-size:27px; }
.last-minute h3 { margin:0 0 3px; font-size:14px; text-transform:uppercase; letter-spacing:.04em; }
.last-minute p { margin:0; color:var(--muted); font-size:12px; }

.btn { min-height:44px; border-radius:999px; padding:0 18px; border:1px solid var(--line-strong); background:transparent; color:var(--gold-bright); font-weight:800; letter-spacing:.025em; cursor:pointer; transition:.2s ease; }
.btn:hover { transform:translateY(-1px); }
.btn-primary { border-color:var(--gold); background:linear-gradient(135deg,#e1bd6d,#b58d3d); color:#090909; }
.btn-secondary { background:var(--surface-2); color:var(--white); border-color:var(--line); }
.btn-block { width:100%; }
.btn-small { min-height:36px; padding:0 14px; font-size:12px; }
.btn-danger { border-color:rgba(189,102,92,.6); color:#e69b91; }

.bottom-nav {
  position:fixed; z-index:30; left:50%; bottom:0; transform:translateX(-50%); width:min(100%,540px);
  min-height:calc(74px + env(safe-area-inset-bottom)); padding:8px 14px max(8px,env(safe-area-inset-bottom));
  display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid var(--line); background:rgba(5,5,5,.94); backdrop-filter:blur(22px);
}
.nav-item { border:0; background:transparent; color:#b6b2ad; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; font-size:10px; cursor:pointer; min-height:54px; padding:0; }
.nav-item i { font-size:20px; }
.nav-item img { width:24px; height:24px; opacity:.82; }
.nav-item.active { color:var(--gold-bright); }
.back-button { width:39px; height:39px; }

.search-box,.form-control { width:100%; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); color:var(--white); outline:0; transition:.2s ease; }
.search-box { height:48px; padding:0 15px 0 44px; }
.form-control { min-height:48px; padding:12px 13px; appearance:auto; }
textarea.form-control { min-height:112px; resize:vertical; }
.search-wrap { position:relative; margin-top:20px; }
.search-wrap > i { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--muted); }
.search-box:focus,.form-control:focus { border-color:var(--line-strong); box-shadow:0 0 0 3px rgba(201,168,93,.08); }
.form-label { display:block; margin:0 0 7px; color:var(--champagne); font-size:12px; font-weight:700; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-group { margin-bottom:14px; }
.chip-row { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:1px 0 3px; }
.chip { white-space:nowrap; min-height:36px; border:1px solid var(--line); border-radius:999px; padding:0 13px; background:var(--surface); color:#d7d3cd; cursor:pointer; }
.chip.active { border-color:var(--gold); color:var(--gold-bright); background:rgba(201,168,93,.09); }
.segmented { display:grid; grid-template-columns:repeat(3,1fr); padding:4px; border-radius:999px; background:var(--surface); margin-top:18px; }
.segmented button { height:38px; border:0; border-radius:999px; background:transparent; color:var(--muted); cursor:pointer; font-size:12px; font-weight:700; }
.segmented button.active { background:var(--surface-3); color:var(--gold-bright); }

.list-stack { display:grid; gap:12px; }
.list-card { display:grid; grid-template-columns:104px minmax(0,1fr); min-height:126px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.list-card img { width:104px; height:100%; object-fit:cover; }
.list-card-body { padding:13px; min-width:0; }
.list-card h3 { margin:0 0 5px; font-size:16px; }
.list-card p { margin:0 0 8px; color:var(--muted); font-size:12px; line-height:1.4; }
.list-meta { display:flex; flex-wrap:wrap; gap:7px; color:var(--champagne); font-size:11px; }
.list-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }

.planner-brief { padding:17px; border:1px solid var(--line-strong); border-radius:var(--radius-md); background:linear-gradient(145deg,rgba(28,28,28,.98),rgba(10,10,10,.98)); }
.planner-brief .ai-line { display:flex; gap:11px; align-items:flex-start; }
.planner-brief .ai-line img { width:37px; height:37px; flex:none; }
.planner-brief p { margin:0; line-height:1.5; color:#dedad3; }
.planner-suggestions { margin-top:15px; }
.loading-card { padding:30px 20px; text-align:center; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.loader { width:44px; height:44px; margin:0 auto 16px; border-radius:50%; border:3px solid rgba(201,168,93,.15); border-top-color:var(--gold-bright); animation:outly-spin 1s linear infinite; }
@keyframes outly-spin { to { transform:rotate(360deg); } }
.plan-stop { position:relative; display:grid; grid-template-columns:62px minmax(0,1fr); gap:13px; padding:15px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); scroll-margin-bottom:120px; }
.plan-stop + .plan-stop { margin-top:10px; }
.plan-time { color:var(--gold-bright); font-weight:800; font-size:13px; }
.plan-icon { width:48px; height:48px; margin-top:8px; border-radius:14px; display:grid; place-items:center; background:rgba(201,168,93,.08); color:var(--gold-bright); font-size:20px; }
.plan-stop h3 { margin:0 0 4px; font-size:16px; }
.plan-stop p { margin:0; color:var(--muted); font-size:12px; line-height:1.45; }
.plan-price { margin-top:8px; color:var(--champagne); font-size:12px; font-weight:700; }
.plan-control { display:flex; gap:7px; margin-top:10px; }
.mini-button { min-height:30px; padding:0 10px; border:1px solid var(--line); border-radius:999px; background:transparent; color:var(--muted); cursor:pointer; font-size:10px; }
.mini-button.active { border-color:var(--gold); color:var(--gold-bright); }
.summary-card { margin-top:15px; padding:17px; border:1px solid var(--line-strong); border-radius:var(--radius-md); background:linear-gradient(135deg,rgba(201,168,93,.08),rgba(17,17,17,.98)); scroll-margin-bottom:140px; }
.summary-row { display:flex; justify-content:space-between; gap:20px; padding:6px 0; color:var(--muted); font-size:13px; }
.summary-row strong { color:var(--white); text-align:right; }
.summary-row.total { margin-top:7px; padding-top:14px; border-top:1px solid var(--line); color:var(--white); font-size:16px; }
.summary-row.total strong { color:var(--gold-bright); font-size:19px; }

.talent-card { min-height:245px; }
.verified-badge { display:inline-flex; align-items:center; gap:5px; color:var(--gold-bright); font-size:10px; font-weight:800; text-transform:none; }
.disclaimer { margin:16px 0 0; padding:13px; border-left:2px solid var(--gold); background:rgba(201,168,93,.06); color:var(--muted); font-size:11px; line-height:1.5; }

.reserve-hero { position:relative; min-height:310px; overflow:hidden; border:1px solid var(--line-strong); border-radius:var(--radius-lg); background:#090909; }
.reserve-hero img.bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.54; }
.reserve-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.95)); }
.reserve-content { position:absolute; z-index:2; left:22px; right:22px; bottom:23px; }
.reserve-content .reserve-mark { width:45px; height:45px; }
.reserve-content h1 { margin:12px 0 8px; font-family:var(--serif); font-size:42px; font-weight:500; line-height:1; }
.reserve-content p { margin:0 0 18px; color:#dad5cc; line-height:1.5; }
.benefit-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.benefit-card { padding:15px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); }
.benefit-card i { color:var(--gold-bright); font-size:21px; }
.benefit-card h3 { margin:11px 0 5px; font-size:14px; }
.benefit-card p { margin:0; color:var(--muted); font-size:11px; line-height:1.45; }

.message-list { display:grid; gap:13px; }
.message-thread { display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); cursor:pointer; text-align:left; }
.avatar { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:rgba(201,168,93,.1); color:var(--gold-bright); font-weight:800; }
.message-thread h3 { margin:0 0 4px; font-size:14px; }
.message-thread p { margin:0; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.message-thread time { color:var(--muted-2); font-size:10px; }
.chat-window { display:flex; flex-direction:column; min-height:calc(100dvh - 155px); }
.chat-body { flex:1; display:flex; flex-direction:column; gap:10px; padding:12px 0 20px; }
.bubble { max-width:80%; padding:12px 14px; border-radius:17px; font-size:13px; line-height:1.45; }
.bubble.in { align-self:flex-start; background:var(--surface-2); border-bottom-left-radius:5px; }
.bubble.out { align-self:flex-end; background:rgba(201,168,93,.18); border:1px solid rgba(201,168,93,.25); border-bottom-right-radius:5px; }
.chat-input { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:9px; position:sticky; bottom:0; padding:10px 0 max(10px,env(safe-area-inset-bottom)); background:linear-gradient(transparent,var(--bg) 22%); }
.empty-state { padding:38px 20px; text-align:center; border:1px dashed var(--line); border-radius:var(--radius-md); color:var(--muted); }
.empty-state i { display:block; margin-bottom:14px; color:var(--gold-bright); font-size:34px; }

.checkout-card { padding:17px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.checkout-card + .checkout-card { margin-top:12px; }
.payment-choice { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.payment-choice button { min-height:56px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface-2); cursor:pointer; }
.payment-choice button.active { border-color:var(--gold); color:var(--gold-bright); }
.confirmation { min-height:72dvh; display:grid; place-items:center; text-align:center; }
.confirmation-icon { width:82px; height:82px; margin:0 auto 20px; border-radius:50%; display:grid; place-items:center; background:rgba(77,155,114,.14); color:#7ac797; font-size:40px; }
.confirmation h1 { margin:0 0 10px; font-family:var(--serif); font-size:42px; font-weight:500; }
.confirmation p { margin:0 auto 22px; max-width:330px; color:var(--muted); line-height:1.55; }
.profile-menu { display:grid; gap:9px; }
.menu-button { display:flex; align-items:center; gap:12px; min-height:52px; width:100%; padding:0 14px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); cursor:pointer; text-align:left; }
.menu-button i { width:24px; color:var(--gold-bright); text-align:center; }
.menu-button span { flex:1; }

.partner-shell { background:linear-gradient(180deg,#090909,#050505); }
.partner-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.metric-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.metric-card { padding:15px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); }
.metric-card span { color:var(--muted); font-size:11px; }
.metric-card strong { display:block; margin-top:8px; font-family:var(--serif); font-size:27px; font-weight:500; }
.metric-card small { display:block; margin-top:4px; color:#73bc91; font-size:10px; }
.booking-row { display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:11px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); }
.booking-row:last-child { border-bottom:0; }
.booking-icon { width:45px; height:45px; border-radius:14px; display:grid; place-items:center; background:rgba(201,168,93,.09); color:var(--gold-bright); }
.booking-row h4 { margin:0 0 4px; font-size:13px; }
.booking-row p { margin:0; color:var(--muted); font-size:11px; }
.booking-amount { text-align:right; font-weight:800; color:var(--champagne); font-size:13px; }
.booking-amount small { display:block; margin-top:4px; color:var(--muted); font-weight:500; }
.commission-bar { height:7px; overflow:hidden; border-radius:999px; background:var(--surface-3); }
.commission-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--gold),var(--gold-bright)); }
.partner-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.partner-action { padding:15px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); cursor:pointer; text-align:left; }
.partner-action i { color:var(--gold-bright); font-size:22px; }
.partner-action h3 { margin:14px 0 4px; font-size:14px; }
.partner-action p { margin:0; color:var(--muted); font-size:10px; line-height:1.4; }

.modal-backdrop { position:fixed; z-index:100; inset:0; display:flex; align-items:flex-end; justify-content:center; padding:18px 12px max(12px,env(safe-area-inset-bottom)); background:rgba(0,0,0,.74); backdrop-filter:blur(8px); }
.modal { width:min(100%,520px); max-height:90dvh; overflow-y:auto; border:1px solid var(--line); border-radius:26px 26px 18px 18px; background:#101010; box-shadow:var(--shadow); animation:modalUp .22s ease; }
@keyframes modalUp { from { transform:translateY(20px); opacity:0; } }
.modal-handle { width:52px; height:4px; margin:9px auto 0; border-radius:999px; background:#3d3d3d; }
.modal-header { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding:18px 18px 12px; }
.modal-header h2 { margin:0; font-family:var(--serif); font-size:29px; font-weight:500; }
.modal-header p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.4; }
.modal-body { padding:0 18px 18px; }
.modal-footer { position:sticky; bottom:0; display:flex; gap:10px; padding:13px 18px max(18px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(16,16,16,.96); backdrop-filter:blur(12px); }
.modal-footer .btn { flex:1; }
.toast { position:fixed; z-index:200; left:50%; bottom:calc(88px + env(safe-area-inset-bottom)); transform:translate(-50%,20px); max-width:calc(100% - 32px); padding:12px 17px; border:1px solid var(--line-strong); border-radius:999px; background:#151515; color:var(--champagne); font-size:12px; box-shadow:var(--shadow); opacity:0; pointer-events:none; transition:.2s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width:430px) {
  .screen { padding-left:16px; padding-right:16px; }
  .hero h1 { font-size:45px; }
  .promo-grid { grid-template-columns:1fr; }
  .promo-card { min-height:170px; }
  .form-grid { grid-template-columns:1fr; gap:0; }
  .card-row { grid-auto-columns:68%; }
  .header-actions { gap:5px; }
  .city-button { padding:0 10px; }
  .logo-lockup { width:128px; }
}
@media (min-width:720px) {
  body { padding:20px 0; }
  .app-shell { min-height:calc(100dvh - 40px); border:1px solid rgba(255,255,255,.08); border-radius:28px; overflow:hidden; }
  .bottom-nav { bottom:20px; border-radius:0 0 28px 28px; }
}
.subbar > div[style*="flex:1"] { display:flex; flex-direction:column; gap:2px; min-width:0; }
.subbar > div[style*="flex:1"] > strong { display:block; line-height:1.2; }
.home-logo { font-size:20px; letter-spacing:.3em; }
.home-logo img { width:42px; height:42px; }

/* Local SVG icons replace the original icon-font dependency. */
i.fa { display:inline-grid; place-items:center; width:1em; height:1em; line-height:1; font-style:normal; vertical-align:-0.12em; }
i.fa > svg { display:block; width:1em; height:1em; overflow:visible; }
.fa-check-circle > svg { color:#090909; }

/* Outly mobile layout correction — v0.3.1 */
@media (max-width: 700px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .app-shell { width: 100%; max-width: 100%; min-height: 100dvh; overflow-x: clip; }
  .screen {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(118px + max(12px, env(safe-area-inset-bottom)));
  }
  .subbar {
    min-height: 68px;
    margin: 0 -16px 18px;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    gap: 10px;
  }
  .subbar strong { font-size: 16px; }

  .reserve-hero {
    min-height: 0;
    height: auto;
    margin-top: 14px;
    padding: 0;
    border-radius: 24px;
    display: block;
    overflow: hidden;
  }
  .reserve-hero .bg,
  .reserve-hero img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
  }
  .reserve-hero::after {
    background: linear-gradient(180deg, rgba(5,5,5,.42) 0%, rgba(5,5,5,.80) 46%, rgba(5,5,5,.98) 100%);
  }
  .reserve-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 32px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .reserve-content .reserve-mark,
  .reserve-mark {
    width: 46px;
    height: 46px;
    margin: 0 0 18px;
    flex: 0 0 auto;
  }
  .reserve-content h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    font-size: clamp(38px, 10.7vw, 48px);
    line-height: .98;
    letter-spacing: -.045em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .reserve-content p {
    max-width: 31rem;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
  }
  .reserve-content .btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
    font-size: 14px;
  }

  .section { margin-top: 30px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading h2 { font-size: 22px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-card {
    min-width: 0;
    padding: 20px;
    border-radius: 18px;
  }
  .benefit-card h3 { font-size: 16px; }
  .benefit-card p { font-size: 13px; line-height: 1.5; }

  .bottom-nav {
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    min-height: 82px;
    padding: 8px 8px max(10px, env(safe-area-inset-bottom));
  }
  .nav-item { min-width: 0; padding-inline: 2px; font-size: 10px; }
}

@media (max-width: 390px) {
  .screen { padding-left: 14px; padding-right: 14px; }
  .subbar { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .reserve-content { padding: 28px 20px 22px; }
  .reserve-content h1 { font-size: clamp(35px, 10.4vw, 41px); }
  .reserve-content p { font-size: 13px; }
}

@media (max-width: 350px) {
  .reserve-content { padding-inline: 18px; }
  .reserve-content h1 { font-size: 34px; }
  .nav-item { font-size: 9px; }
}

/* Outly visual cleanup — v0.3.2 */
.promo-card-content { width: 100%; max-width: 100%; }
.promo-card h3, .promo-card-content h3 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 700px) {
  .promo-card { min-height: 220px; }
  .promo-card::after { background: linear-gradient(90deg, rgba(0,0,0,.97), rgba(0,0,0,.70) 72%, rgba(0,0,0,.42)); }
  .promo-card-content { width: 100%; padding: 22px 20px; }
  .promo-card h3, .promo-card-content h3 {
    font-size: clamp(27px, 7.4vw, 34px);
    line-height: 1.02;
    letter-spacing: -.025em;
  }
  .promo-card h3:first-of-type, .promo-card-content h3:first-of-type { white-space: nowrap; }
  .experience-card img, .special-card img {
    object-position: center;
  }
}
@media (max-width: 360px) {
  .promo-card h3, .promo-card-content h3 { font-size: 26px; }
}
