@import url('./assets/fonts/lora.css');

@font-face {
  font-family: Inter;
  src: url('./assets/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b293b;
  --muted: #566579;
  --blue: #3465c9;
  --blue-dark: #234faa;
  --line: #dee4ec;
  --wash: #f3f6fb;
  --paper: #fff;
  --gutter: clamp(24px, 4.5vw, 72px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: transparent; }
button:disabled { cursor: wait; opacity: .65; }
a, button { touch-action: manipulation; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #507fdf; outline-offset: 3px;
}
::selection { background: #c9dcff; color: #142b4a; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: pretty; }
.ico { width: 20px; height: 20px; flex: none; vertical-align: middle; }
i[data-icon] { display: inline-flex; align-items: center; }
.frame { width: min(calc(100% - 2 * var(--gutter)), 1376px); margin-inline: auto; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 9500; }
.skip:focus { left: 12px; background: white; padding: 12px 16px; border-radius: 9px; }
.masthead { border-bottom: 1px solid #e8ebf0; background: #fff; }
.mast, .brand, .main-nav, .account-nav, .main-nav > *, .nav-icon, .nav-account, .host-action {
  display: flex; align-items: center;
}
.mast { gap: clamp(30px, 4.4vw, 76px); min-height: 76px; }
.brand { gap: 9px; flex: none; }
.brand picture { display: block; }
.brand-symbol { width: 36px; height: 36px; }
.brand-name { color:#10151d; font-size:30px; font-weight:730; letter-spacing:-.055em; line-height:1; }
.main-nav { gap: clamp(18px, 2.1vw, 34px); white-space: nowrap; }
.main-nav > *, .nav-account, .host-action { min-height: 42px; font-size: .875rem; font-weight: 550; }
.main-nav a:hover, .main-nav a[aria-current], .nav-account:hover, .foot-inner a:hover { color: var(--blue); }
.catalog-btn, .nav-account { gap: 8px; }
.catalog-btn { padding: 0 15px; border-radius: 12px; background: #eef3fb; color: #234778; }
.catalog-btn .ico { width: 16px; height: 16px; }
.catalog-btn:hover { background: #e3edfd; }
.account-nav { margin-inline-start: auto; gap: 6px; }
.nav-icon, .icon-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.nav-icon:hover, .nav-icon[aria-current], .icon-btn:hover { background: var(--wash); color: var(--blue); }
.nav-account { padding: 0 12px; }
.nav-account.signed { padding: 0; }
.nav-account .avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eaf0ff; color: var(--blue-dark); }
.host-action { background: var(--ink); color: #fff; padding: 0 17px; gap: 12px; border-radius: 12px; margin-left: 8px; }
.host-action .ico { width: 15px; height: 15px; }
.host-action:hover { background: #304460; }
.mobile-catalog, .mobile-dock { display: none; }
.workspace { padding-top: 26px; padding-bottom: clamp(52px, 6vw, 94px); min-height: 68vh; }
.workspace:focus { outline: none; }
.primary, .secondary, .soft, .danger, .textlink, .dark {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; font-size: .91rem; line-height: 1.25; font-weight: 600;
}
.primary, .secondary, .soft, .danger, .dark { min-height: 44px; padding: 11px 17px; border-radius: 12px; }
.primary { color: #fff; background: var(--blue); }
.primary:hover { background: var(--blue-dark); }
.secondary, .icon-btn { background: #fff; border: 1px solid var(--line); }
.secondary:hover, .soft:hover { background: #edf3fd; border-color: #c2d2ea; }
.soft { color: #244e99; background: #eaf1ff; }
.dark { color: white; background: var(--ink); }
.danger { color: #a43a32; background: #fff0ee; }
.textlink { padding: 3px 0; color: var(--blue); }
.textlink:hover, .section-link:hover, .hero-map:hover { text-decoration: underline; text-underline-offset: 4px; }
.muted, .mapnote, small { color: var(--muted); }
.loading, .empty { padding: clamp(28px, 5vw, 70px); text-align: center; color: var(--muted); }
.empty { border: 1px solid var(--line); border-radius: 20px; background: #f8fafc; }
.empty h2 { color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.045em; }
.empty p { margin: 8px 0 17px; }
.hero { position: relative; }
.hero-face {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 42% 58%;
  min-height: clamp(340px, 26vw, 400px);
  border-radius: 25px; background: #edf2fc;
}
.hero-copy { z-index: 2; align-self: center; padding: 28px 12px 60px clamp(30px, 4vw, 68px); }
.hero-copy h1 {
  position: relative; width: max-content; max-width: 100%;
  font-size: clamp(3.45rem, 5vw, 5.22rem); line-height: .99;
  letter-spacing: -.058em; font-weight: 620;
}
.hero-copy h1::after {
  content: ''; position: absolute; left: 68%; top: .01em; width: .30em; height: .30em;
  background: #edae50; clip-path: polygon(50% 0,60% 28%,73% 41%,100% 50%,73% 60%,60% 73%,50% 100%,39% 73%,26% 60%,0 50%,26% 40%,40% 26%);
}
.hero-copy h1 em {
  display: block; margin: .01em 0 0 -.02em; color: var(--blue);
  font: italic 500 1.01em/1.07 Lora, Georgia, 'Times New Roman', serif; letter-spacing: -.046em;
}
.hero-copy p { max-width: 34ch; margin: 16px 0 14px; color: #4b5b74; font-size: clamp(.94rem, 1.08vw, 1.1rem); line-height: 1.48; }
.hero-map { display: inline-flex; min-height: 32px; align-items: center; gap: 8px; color: #2a55a7; font-size: .85rem; font-weight: 600; }
.hero-map .ico { width: 16px; height: 16px; }
.hero-map .ico:last-child { width: 14px; }
.hero-art { pointer-events: none; position: absolute; z-index: 0; inset: 0 51% 0 0; overflow: hidden; }
.hero-art i { position: absolute; width: 360px; height: 360px; right: -242px; bottom: -170px; border: 1px solid #cfdbef; border-radius: 50%; }
.hero-art i+i { width: 292px; height: 292px; right: -209px; bottom: -138px; }
.hero-scene { min-width: 0; position: relative; overflow: hidden; border-radius: 76px 0 0 0; }
.hero-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.hero-scene::after { content: ''; position: absolute; inset: 38% 0 0; pointer-events: none; background: linear-gradient(0deg, rgba(12,30,49,.57), transparent 83%); }
.scene-bar { position: absolute; z-index: 1; bottom: 54px; left: 26px; right: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: white; }
.scene-location { display: inline-flex; align-items: center; gap: 7px; text-shadow: 0 1px 7px #142436; font-size: .9rem; font-weight: 550; min-height: 38px; }
.scene-location:hover span { text-decoration: underline; text-underline-offset: 3px; }
.scene-location .ico { width: 17px; height: 17px; }
.scene-controls { display: flex; gap: 7px; }
.scene-controls button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; border: 1px solid #ffffffa8; background: #1c34494d; }
.scene-controls button:hover { color: var(--ink); background: white; }
.scene-controls .ico { width: 18px; height: 18px; }

.trip-search {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0,1.3fr) repeat(2,minmax(0,1fr)) minmax(0,.88fr) auto;
  align-items: center; padding: 13px; background: white; border: 1px solid #dde4ef;
  border-radius: 19px; box-shadow: 0 6px 21px #2439560d, 0 2px 5px #24395606;
}
.hero .trip-search { margin: -32px clamp(20px, 2.8vw, 50px) 0; }
.trip-field { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 44px; padding-inline: clamp(8px,1.4vw,24px); position: relative; cursor: pointer; border-right: 1px solid var(--line); }
.guests-field { border-right: 0; }
.trip-field > .ico { width: 19px; height: 19px; color: #657997; }
.trip-copy { display: grid; min-width: 0; gap: 1px; width: 100%; }
.trip-label { color: var(--muted); font-size: .72rem; font-weight: 500; }
.trip-field select, .trip-value, .trip-value input { font-size: .93rem; font-weight: 590; letter-spacing: -.025em; line-height: 1.5; }
.trip-field select, .trip-field input { display: block; height: 24px; width: 100%; min-width: 0; padding: 0; border: 0; outline-offset: 0; background-color: transparent; border-radius: 2px; }
.trip-field select { background-image: none; padding-right: 0 !important; }
.trip-field select, .trip-value { color: #253550; }
.trip-field select:hover, .day-field:hover .trip-value { color: var(--blue); }
.trip-value { position: relative; display: block; height: 24px; white-space: nowrap; }
.trip-value input { color: inherit; }
.date-readable { display: none; pointer-events: none; }
.day-field:not(.has-date):not(:focus-within) .date-readable { display: block; }
.day-field:not(.has-date):not(:focus-within) input { position: absolute; inset: 0; opacity: 0; }
.trip-value input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; padding: 0; }
.trip-submit { min-height: 50px; gap: 9px; padding: 0 clamp(15px, 1.8vw, 30px); white-space: nowrap; border-radius: 12px; }
.trip-submit .ico { width: 18px; height: 18px; }
.home-section { margin-top: clamp(36px, 3.8vw, 61px); }
.section { margin-top: 24px; }
.sectionhead, .pagehead { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.sectionhead { margin-bottom: 19px; }
.sectionhead h2, .pagehead h1, .detail h1 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -.043em; font-weight: 620; }
.sectionhead h2 { font-size: clamp(1.8rem, 2.65vw, 2.7rem); }
.section-link { display: inline-flex; flex: none; align-items: center; gap: 9px; color: #2b55a5; font-size: .86rem; font-weight: 580; min-height: 38px; }
.section-link .ico { width: 17px; height: 17px; }
.collection-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.collection-tabs::-webkit-scrollbar { display: none; }
.collection-chip { flex: 0 0 auto; display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 24px; font-size: .83rem; font-weight: 525; white-space: nowrap; }
.collection-chip .ico { width: 16px; height: 16px; color: #566b86; }
.collection-chip:hover { border-color: #b9c8e0; background: #f4f7fc; }
.collection-chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: white; }
.collection-chip[aria-pressed=true] .ico { color: white; }
#collection-results[aria-busy=true] { opacity: .55; }
.grid, .directions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(16px,1.6vw,27px); }
.grid { row-gap: 32px; }
.card { min-width: 0; }
.card-media { aspect-ratio: 1.53; position: relative; isolation: isolate; border-radius: 17px; background: #edf1f5; }
.card-media > a { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.card-media img, .direction img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-media:hover img, .direction:hover img { transform: scale(1.025); }
.vipmark, .fav { position: absolute; top: 11px; display: inline-flex; align-items: center; justify-content: center; }
.vipmark { left: 11px; gap: 4px; background: #fff2d9; border-radius: 7px; padding: 3px 8px; font-size: .67rem; letter-spacing: .045em; font-weight: 700; color: #704b16; }
.vipmark .ico { width: 13px; height: 13px; color: #bd7d24; }
.fav { width: 36px; height: 36px; right: 11px; border-radius: 50%; background: #fffffff1; color: #25364b; box-shadow: 0 1px 8px #1020331c; }
.fav .ico { width: 19px; height: 19px; }
.fav:hover, .fav.saved { color: var(--blue); background: #fff; }
.fav.saved .ico, .secondary[aria-pressed=true] .ico { fill: #d8e6ff; stroke: var(--blue); }
.card-copy { padding: 12px 1px 0; display: grid; justify-items: start; gap: 4px; }
.meta { display: flex; align-items: center; gap: 4px; color: #56677c; font-size: .76rem; line-height: 1.35; }
.meta .ico { width: 13px; height: 13px; }
.card-copy h3 { margin: 0; font-size: clamp(.98rem,1.12vw,1.14rem); line-height: 1.34; font-weight: 610; letter-spacing: -.035em; overflow-wrap: anywhere; }
.card-copy a:hover h3 { color: var(--blue); }
.card-price { font-weight: 680; font-size: 1.04rem; letter-spacing: -.035em; }
.card-price small { color: #617083; font-weight: 460; font-size: .8rem; letter-spacing: 0; }
.card-foot { color: #637185; font-size: .74rem; line-height: 1.4; }
.direction { display: block; position: relative; overflow: hidden; border-radius: 17px; aspect-ratio: 1.72; background: #e8eff5; }
.direction::after { content: ''; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent, #0c1c30a6); }
.direction > span, .direction > i { position: absolute; z-index: 1; bottom: 17px; color: #fff; }
.direction > span { left: 17px; right: 42px; font-size: clamp(1.05rem,1.55vw,1.5rem); letter-spacing: -.047em; font-weight: 600; line-height: 1.2; }
.direction > i { bottom: 14px; right: 14px; display: grid; place-items: center; border: 1px solid #ffffff83; width: 29px; height: 29px; border-radius: 50%; }
.direction .ico { width: 14px; height: 14px; }
.pagehead { margin: 12px 0 26px; align-items: end; }
.pagehead h1, .detail h1 { font-size: clamp(2rem,4vw,3.4rem); }
.pagehead p, .detail-head p { margin: 8px 0 0; }
.sitefoot { border-top: 1px solid var(--line); background: #f8fafd; }
.foot-inner, .foot-brand, .foot-inner nav, .locale { display: flex; align-items: center; }
.foot-inner { padding-block: 27px; gap: 24px; justify-content: space-between; color: #52627a; font-size: .79rem; }
.foot-brand { gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.foot-inner nav { gap: clamp(14px, 2.1vw, 34px); flex-wrap: wrap; }
.locale { gap: 7px; white-space: nowrap; }
.locale .ico { width: 15px; height: 15px; }
.locale select { background-color: transparent; border: none; }

.toolbar,
.row,
.chips,
.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbar {
  margin: 15px 0;
}
.toolbar select {
  margin-left: auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2f8;
  border-radius: 18px;
  padding: 6px 11px;
  font-size: 0.82rem;
  color: #475972;
}
.chip.orange {
  background: #fff0de;
  color: #8b4e12;
}
.chip.blue {
  background: #e9f0ff;
  color: #2b52a0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 25px);
  margin-bottom: 16px;
}
.panel h2,
.panel h3 {
  margin-top: 0;
}
.panel p,
.help p,
.detail p {
  line-height: 1.55;
}
.panel h2 + p,
.panel h3 + p {
  margin-top: 10px;
}
.notice {
  background: #edf3ff;
  border: 1px solid #d7e4ff;
  color: #284d83;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.notice.warm {
  background: #fff6e8;
  border-color: #f6dfbe;
  color: #784b20;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 560;
}
.field input,
.field select,
.field textarea,
.toolbar select,
.msgform input {
  border: 1px solid #cfd6df;
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
  min-width: 0;
  width: 100%;
  font-size: 1rem;
  font-weight: 450;
}
.field textarea {
  resize: vertical;
  min-height: 85px;
}
.field select,
select {
  cursor: pointer;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23475b72' stroke-width='1.6'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 27px !important;
}
.toolbar select {
  width: auto;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.wide {
  grid-column: 1/-1;
}
.stack {
  display: grid;
  gap: 14px;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checks label,
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 450;
}
.checks input,
.check input {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
}
.formerr {
  color: #a02f30;
  font-size: 0.9rem;
}
.formerr:empty {
  display: none;
}
.required-action {
  margin-top: 15px;
}
.mapbox {
  height: clamp(310px, 49vh, 540px);
  border-radius: 13px;
  z-index: 0;
  background: #d9e7ef;
}
.mapbox.smallmap {
  height: 280px;
}
.mapbox .leaflet-container {
  font-family: inherit;
}
.mapdot {
  width: 18px;
  height: 18px;
  background: #346ad4;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 6px #203d5780;
}
.mapdot.owner {
  background: #da8730;
}
.maplist {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.maplist a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
}
.maplist a small {
  display: block;
  margin-top: 3px;
}
.mapnote {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 8px 0;
}
.detail-head {
  margin-bottom: 16px;
}
.gallery {
  display: flex; align-items: stretch; gap: 12px; margin: 0 0 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px;
}
.gallery:empty { display: none; }
.gallery-open {
  position: relative; flex: 0 0 min(66%,850px); height: clamp(230px,28vw,396px);
  scroll-snap-align: start; padding: 0; overflow: hidden; border-radius: 16px;
  background: var(--wash); cursor: zoom-in;
}
.gallery-open:only-child { flex-basis: 100%; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; }
.gallery-open > span { position: absolute; right: 13px; bottom: 13px; display: grid; place-items: center; width: 38px; height: 38px; background: #fffffff2; border-radius: 50%; color: var(--ink); }
.gallery-open > span .ico { width: 18px; height: 18px; }
.gallery-open:focus-visible { outline-offset: -4px; }
#dialog:has(.photo-viewer) { width: min(920px,calc(100% - 28px)); }
.photo-viewer > img { width: 100%; height: min(66dvh,640px); object-fit: contain; border-radius: 12px; background: #f1f4f8; }
.photo-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; font-size: .88rem; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 16px;
}
.bookbox {
  align-self: start;
  position: sticky;
  top: 12px;
}
.bookbox .card-price {
  font-size: 1.5rem;
}
.small {
  font-size: 0.84rem;
  line-height: 1.4;
}
.detail .text-body {
  white-space: pre-line;
}
.tabs {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.tabs a,
.tabs button {
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.9rem;
}
.tabs .sel {
  background: #e6eeff;
  color: #2a57ad;
}
.record {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.record:last-child {
  border-bottom: 0;
}
.record h3 {
  font-size: 1.05rem;
  margin: 0 0 5px;
}
.record p {
  margin: 4px 0;
}
.record .row {
  margin-top: 9px;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.thumbs img {
  width: 106px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}
.thumbs figure {
  margin: 0;
  position: relative;
}
.thumbs button {
  position: absolute;
  right: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
}
.chat-layout {
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) minmax(220px, 1.35fr);
  gap: 14px;
}
.conversation {
  display: block;
  padding: 12px;
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.conversation.active {
  background: #edf2fa;
}
.conversation small,
.conversation strong {
  display: block;
}
.messages {
  max-height: 48vh;
  min-height: 130px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.bubble {
  padding: 9px 13px;
  border-radius: 12px;
  background: #f0f2f5;
  align-self: flex-start;
  max-width: 88%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.bubble.mine {
  align-self: flex-end;
  background: #e5eeff;
}
.bubble small {
  display: block;
  font-size: 0.74rem;
}
.msgform {
  display: flex;
  gap: 8px;
}
.money-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.scroll-x {
  overflow: auto;
}
.money-table td,
.money-table th {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.help {
  max-width: 830px;
}
.help details {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.help summary {
  cursor: pointer;
  font-weight: 650;
}
dialog {
  border: 0;
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 80px #101c3c44;
  color: var(--ink);
  width: min(560px, calc(100% - 28px));
  padding: 22px;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #13243c72;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialoghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dialoghead h2 {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  margin: 0;
}
.dialoghead .icon-btn {
  width: 33px;
  height: 33px;
}
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.locations a {
  padding: 9px;
  border-radius: 8px;
  background: var(--wash);
  font-size: 0.9rem;
}
.locations a:hover {
  color: var(--blue);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9000;
  background: #17283d;
  color: white;
  border-radius: 11px;
  padding: 0;
  max-width: min(95vw, 500px);
  font-size: 0.9rem;
  box-shadow: 0 5px 20px #12223633;
}
#toast.visible {
  padding: 12px 18px;
}


/* Interior pages and responsive layouts */
.panel { padding: clamp(19px, 2.3vw, 34px); border-radius: 19px; }
.panel h2 { margin: 0 0 10px; font-weight: 620; letter-spacing: -.045em; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.2; }
.panel h3 { margin: 0 0 8px; letter-spacing: -.03em; }
.panel p + p, .panel p + .chips, .panel .chips + p, .panel p + .row { margin-top: 13px; }
.sectionhead > :only-child { margin-bottom: 0; }
.toolbar { margin: 24px 0 17px; }
.tabs a, .tabs button { min-height: 40px; }
.field input, .field select, .field textarea, .toolbar select, .msgform input {
  padding: 11px 13px; border-color: #d5deea; border-radius: 11px;
}
.field select, .toolbar select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23475b72' stroke-width='1.6'/%3E%3C/svg%3E"); background-size: 10px; background-repeat: no-repeat; background-position: right 12px center; }
.trip-field select { background-image: none; }
.detail-head { margin: 5px 0 20px; }
.detail-head > .textlink { margin-bottom: 10px; }
.detail .meta { font-size: .93rem; }
.detail-layout { grid-template-columns: minmax(0,1fr) minmax(300px, .48fr); gap: 24px; }
.bookbox { top: 16px; box-shadow: 0 5px 24px #2238540b; }
.bookbox .fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
.bookbox .card-price { font-size: 1.7rem; }
.mapbox, .mapbox.smallmap { border-radius: 18px; border: 1px solid #dce6ea; overflow: hidden; }
.mapbox.smallmap { height: clamp(255px,25vw,340px); }
.mapbox.leaflet-container { font-family: inherit; }
.map-retry { display: grid; place-items: center; height: 100%; text-decoration: underline; }
.maplist { gap: 10px; margin-top: 18px; }
.maplist a { border-radius: 12px; padding: 12px 15px; }
.maplist a:hover { background: var(--wash); }
.maplist small, .mapnote { font-size: .8rem; }
.help { padding: clamp(20px, 3vw, 42px); }
.help p { margin-block: 10px; }
dialog { padding: clamp(20px, 2.5vw, 32px); border: 1px solid #dce4f0; border-radius: 22px; box-shadow: 0 26px 82px #11254338; }
dialog::backdrop { background: #192b427d; }
.dialoghead { margin-bottom: 20px; }
.dialoghead h2 { font-size: 1.55rem; letter-spacing: -.055em; line-height: 1.1; }
.dialoghead .icon-btn { width: 38px; height: 38px; flex: none; }
.menu-search { display: flex; gap: 8px; margin-bottom: 18px; }
.menu-search label { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; }
.menu-search label:focus-within { border-color: var(--blue); }
.menu-search label .ico { width: 17px; height: 17px; color: var(--muted); }
.menu-search input { border: none; width: 100%; min-width: 0; padding: 10px 0; font-size: .88rem; }
.menu-search input:focus-visible { outline: none; }
.menu-all, .menu-types a { display: flex; align-items: center; gap: 10px; border-radius: 11px; min-height: 46px; padding: 8px 13px; }
.menu-all { color: var(--blue-dark); background: #edf3fd; font-size: .95rem; font-weight: 600; }
.menu-all .ico:last-child { margin-left: auto; width: 16px; }
.menu-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 10px; margin-block: 12px; }
.menu-types a { background: #f7f9fc; font-size: .85rem; line-height: 1.25; }
.menu-types a .ico { width: 18px; height: 18px; color: #577091; }
.menu-types a:hover, .menu-all:hover { background: #e9eff9; color: var(--blue-dark); }
.menu-links { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.menu-links a { padding: 4px 0; color: #32599c; font-size: .85rem; }
.menu-links a:hover { text-decoration: underline; }
#toast { width: max-content; }

@media (max-width: 1080px) {
  :root { --gutter: clamp(24px, 3.2vw, 40px); }
  .mast { gap: 30px; }
  .main-nav { gap: 18px; }
  .account-nav { gap: 1px; }
  .hero-copy { padding-left: 33px; }
  .trip-field { padding-inline: 11px; gap: 8px; }
  .hero .trip-search { margin-inline: 23px; }
  .hero-face { grid-template-columns: 43% 57%; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 310px; gap: 16px; }
}
@media (max-width: 880px) {
  .mast { min-height: 68px; gap: 24px; }
  .main-nav { gap: 16px; }
  .desktop-act { display: none; }
  .nav-account { padding-inline: 6px; }
  .hero-copy { padding-left: 26px; }
  .hero-copy h1 { font-size: clamp(3rem,6.4vw,3.55rem); }
  .hero-face { min-height: 306px; }
  .trip-field > .ico { display: none; }
  .trip-field { padding-inline: 11px; }
  .trip-field select, .trip-value, .trip-value input { font-size: .85rem; }
  .trip-submit { padding-inline: 15px; }
  .grid, .directions { gap: 24px 15px; }
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-section .grid, .directions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-section .card-media { aspect-ratio: 1.7; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 280px; }
  .gallery-open { flex-basis: 75%; }
  .chat-layout { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 830px) {
  .hero .trip-search { margin-inline: 14px; }
  .trip-search { grid-template-columns: minmax(0,1.13fr) repeat(2,minmax(0,1fr)) minmax(0,.92fr) auto; padding: 10px; }
  .trip-field { padding-inline: 7px; }
  .trip-submit { padding-inline: 13px; font-size: .82rem; gap: 6px; }
}
@media (min-width: 901px) {
  .trip-field select { padding-right: 15px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235c6f8a' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 9px; background-position: right center; background-repeat: no-repeat; }
}
@media (max-width: 700px) {
  :root { --gutter: 17px; }
  .mast { min-height: 60px; gap: 14px; }
  .brand { gap: 7px; }
  .brand-symbol { width: 30px; height: 30px; }
  .brand-name { font-size:25px; }
  .main-nav, .nav-account { display: none; }
  .mobile-catalog { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 4px; }
  .host-action { min-height: 36px; padding: 0 12px; gap: 6px; font-size: .77rem; border-radius: 10px; margin-left: 0; }
  .host-action .ico { width: 13px; height: 13px; }
  .workspace { padding-top: 15px; padding-bottom: 42px; }
  .hero-face { min-height: 263px; grid-template-columns: 1fr; background: #44657e; border-radius: 18px; }
  .hero-copy { align-self: start; padding: 24px 20px 60px; pointer-events: none; }
  .hero-copy h1 { color: #fff; font-size: clamp(2.8rem, 8.1vw, 4.2rem); letter-spacing: -.05em; }
  .hero-copy h1 em { display: inline; margin: 0; white-space: nowrap; color: #fff3dc; font-size: .96em; }
  .hero-copy h1::after { right: -.31em; top: -.04em; left: auto; width: .23em; height: .23em; }
  .hero-copy p { max-width: 29ch; margin: 9px 0 0; font-size: .89rem; color: #f2f6fd; line-height: 1.4; }
  .hero-copy, .scene-bar { text-shadow: 0 1px 5px #12253855; }
  .hero-map, .hero-art { display: none; }
  .hero-scene { position: absolute; inset: 0; border-radius: 0; }
  .hero-scene > img { object-position: 55% 55%; }
  .hero-scene::after { inset: 0; background: linear-gradient(180deg,#142b4480 0%,#13283e45 40%,transparent 64%,#12263e8c 100%), linear-gradient(100deg,#1629412b,transparent 72%); }
  .scene-bar { bottom: 22px; left: 17px; right: 15px; gap: 6px; }
  .scene-location { font-size: .77rem; min-height: 34px; }
  .scene-location .ico { width: 15px; height: 15px; }
  .scene-controls { gap: 6px; }
  .scene-controls button { width: 34px; height: 34px; }
  .scene-controls .ico { width: 16px; height: 16px; }
  .trip-search { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; padding: 8px; border-radius: 16px; }
  .hero .trip-search { margin: -12px 8px 0; box-shadow: 0 5px 16px #2944670f; }
  .trip-field { min-height: 54px; padding: 5px 10px; border: 0; gap: 9px; }
  .trip-field > .ico { display: block; width: 17px; height: 17px; }
  .destination-field { grid-column: 1; grid-row: 1; }
  .guests-field { grid-column: 2; grid-row: 1; }
  .day-field { grid-row: 2; border-top: 1px solid #e7ecf3; }
  .trip-copy { gap: 0; }
  .trip-copy .trip-label { font-size: .69rem; }
  .trip-field select, .trip-value, .trip-value input { font-size: .84rem; }
  .trip-submit { min-height: 43px; grid-column: 1/-1; margin-top: 4px; }
  .home-section { margin-top: 32px; }
  .sectionhead { gap: 9px; margin-bottom: 14px; align-items: center; }
  .sectionhead h2 { font-size: clamp(1.47rem,5.2vw,2rem); }
  .section-link { min-height: 30px; font-size: .74rem; gap: 5px; }
  .section-link .ico { width: 14px; }
  .collection-tabs { margin-bottom: 15px; gap: 6px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .collection-chip { min-height: 35px; padding: 6px 10px; font-size: .77rem; gap: 5px; }
  .collection-chip .ico { width: 15px; height: 15px; }
  .grid, .directions, .home-section .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .card-media, .home-section .card-media { border-radius: 13px; aspect-ratio: 1.28; }
  .card-copy { gap: 3px; padding: 8px 0 0; }
  .card-copy h3 { font-size: .93rem; line-height: 1.24; }
  .card-price { font-size: .95rem; }
  .card-price small { font-size: .67rem; }
  .card-foot, .meta { font-size: .67rem; }
  .meta { gap: 3px; }
  .meta .ico { width: 12px; height: 12px; }
  .fav { top: 7px; right: 7px; width: 31px; height: 31px; }
  .fav .ico { width: 16px; height: 16px; }
  .vipmark { top: 8px; left: 7px; padding: 2px 5px; font-size: .6rem; }
  .vipmark .ico { width: 11px; height: 11px; }
  .direction { border-radius: 13px; aspect-ratio: 1.3; }
  .direction > span { left: 11px; right: 30px; bottom: 12px; font-size: 1.02rem; }
  .direction > i { right: 9px; bottom: 10px; width: 23px; height: 23px; }
  .direction .ico { width: 12px; height: 12px; }
  .mobile-dock { position: fixed; z-index: 2000; bottom: 0; inset-inline: 0; display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border-top: 1px solid var(--line); padding: 3px 6px max(4px,env(safe-area-inset-bottom)); }
  .mobile-dock a { display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 46px; color: #667486; font-size: .62rem; font-weight: 540; }
  .mobile-dock a[aria-current] { color: var(--blue-dark); }
  .mobile-dock a[aria-current] .ico { fill: #e2ebff; }
  .mobile-dock .ico { width: 19px; height: 19px; }
  .foot-inner { padding: 22px 0 calc(72px + env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 13px; }
  .foot-inner nav { order: 3; width: 100%; gap: 7px 17px; font-size: .72rem; }
  .locale { font-size: .72rem; }
  .pagehead { margin: 10px 0 20px; flex-wrap: wrap; }
  .pagehead p, .detail-head p { margin-top: 6px; font-size: .88rem; }
  .detail-layout { grid-template-columns: 1fr; gap: 0; }
  .detail .detail-head { margin-bottom: 14px; }
  .gallery { margin-bottom: 16px; gap: 7px; }
  .gallery-open { flex-basis: 87%; height: clamp(198px,50vw,290px); }
  .bookbox { position: static; grid-row: 1; }
  .panel { border-radius: 15px; padding: 18px; }
  .maplist { grid-template-columns: 1fr; }
  .toolbar { display: grid; grid-template-columns: auto auto minmax(0,1fr); gap: 6px; }
  .toolbar .secondary, .toolbar select { min-height: 41px; padding: 8px; font-size: .78rem; gap: 5px; }
  .toolbar select { width: 100%; margin: 0; }
  .toolbar .ico { width: 16px; height: 16px; }
  dialog { max-height: calc(100dvh - 35px); }
  #toast { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .home-section .mapbox { height: 236px; }
}
@media (max-width: 420px) {
  .trip-field { gap: 6px; padding-inline: 7px; }
  .hero-face { min-height: 227px; }
  .hero-copy { padding: 21px 15px; }
  .hero-copy h1 { font-size: clamp(2.14rem, 8.8vw, 2.5rem); }
  .hero-copy p { max-width: 28ch; font-size: .83rem; }
  .hero .trip-search { margin-inline: 5px; }
  .fields, .checks { gap: 10px; }
  .fields { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .menu-types { gap: 5px; }
  .menu-types a { gap: 6px; padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
