﻿.brand-copy .brand-descriptor { display:block; font-size:10px; font-weight:500; color:var(--secondary); }
html:lang(ru) .site-header .brand-descriptor { letter-spacing:-.02em; }
.island-carousel { margin-block:clamp(30px,6vw,84px); text-align:center; }
html body[data-page=home] #main > .island-carousel {
  max-width:none; margin-block:0; padding:clamp(30px,3vw,48px) 0 20px; border:0;
}
html body[data-page] .island-carousel h1 {
  margin:0 auto 14px; padding-inline:var(--page-gutter); font-size:clamp(40px,6.6vw,100px);
  letter-spacing:-.036em; line-height:1.03; text-wrap:balance;
}
.island-carousel > .island-lede { margin:0 auto 24px; max-width:48ch; padding-inline:16px; color:var(--secondary); font-size:18px; line-height:1.27; }
.hero-chips { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; padding-inline:12px; }
.hero-chip {
  display:inline-flex; align-items:center; gap:.3em; min-height:46px; padding:0 22px;
  font-size:14px; font-weight:600; border-radius:999px; color:var(--ink);
  background:var(--glass); border:1px solid var(--line); box-shadow:var(--pill-shadow);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur);
}
.island-stage {
  min-height:clamp(365px,35vw,510px);
  --card-width:min(44vw,520px);
  position:relative; display:grid; grid-auto-flow:column; grid-auto-columns:var(--card-width);
  gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; touch-action:pan-y pinch-zoom;
  max-width:1360px; margin:24px auto 0;
}
.island-stage a {
  display:grid; grid-template-rows:72% 1fr; min-width:0; min-height:290px; aspect-ratio:1.34;
  scroll-snap-align:center; border:1px solid var(--line); border-radius:30px; overflow:hidden;
  color:var(--ink); background:var(--glass); box-shadow:0 38px 70px rgba(40,60,120,.18);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur);
}
html body[data-page] .island-stage img { display:block; width:100%; height:100%; object-fit:cover; border-radius:0; user-select:none; -webkit-touch-callout:none; }
.island-stage a > span { display:grid; align-content:start; gap:3px; text-align:left; padding:clamp(12px,1.4vw,19px); }
.island-stage strong { font-size:clamp(16px,1.45vw,21px); font-weight:800; line-height:1.15; }
.island-stage a:is([data-position=left],[data-position=right]) strong { font-size:clamp(16px,1.35vw,19px); }
.island-stage small { color:var(--secondary); font-size:14px; line-height:1.3; }
[data-ready] .island-stage { display:block; height:clamp(365px,35vw,510px); overflow:clip; scroll-snap-type:none; }
[data-ready] .island-stage a {
  position:absolute; left:50%; top:5%; width:var(--card-width); min-height:0;
  transform:translateX(-50%) translateX(var(--offset,0px)) translateY(var(--drop,0px)) perspective(1400px) rotateY(var(--yaw,0deg)) rotateX(var(--pitch,0deg));
}
[data-carousel-motion] .island-stage a { transition:transform 540ms cubic-bezier(.23,1,.32,1), width 540ms cubic-bezier(.23,1,.32,1), opacity 240ms ease; }
.island-stage a[data-position=center] { z-index:2; --pitch:6deg; }
.island-stage a[data-position=left] { --offset:calc(var(--card-width) * -.77); --yaw:22deg; }
.island-stage a[data-position=right] { --offset:calc(var(--card-width) * .77); --yaw:-22deg; }
[data-ready] .island-stage a:is([data-position=left],[data-position=right]) { width:min(26vw,310px); --drop:56px; z-index:1; aspect-ratio:1.12; grid-template-rows:65% 1fr; }
[data-ready] .island-stage a[data-position=away] { opacity:0; visibility:hidden; pointer-events:none; }
.island-stage a:focus-visible { outline-offset:-5px; }
@media (prefers-reduced-motion:no-preference) {
  [data-ready] .island-stage a:not([data-position=away]) { animation:island-float 7s ease-in-out infinite; }
  .island-stage a[data-position=left] { animation-delay:-2s; }
  .island-stage a[data-position=right] { animation-delay:-4s; }
  @keyframes island-float { 50% { translate:0 -11px; } }
  .island-carousel:is(:focus-within,:active) .island-stage a { animation-play-state:paused; }
}
.island-controls { display:flex; align-items:center; justify-content:center; gap:6px; margin:-26px auto 0; position:relative; z-index:3; }
.island-controls[hidden] { display:flex; visibility:hidden; }
.island-controls [hidden] { display:none; }
.island-dots { display:flex; }
.v7-step,.island-dots button {
  display:grid; place-items:center; min-width:44px; min-height:44px; padding:0;
  color:var(--ink); border:0; border-radius:100px; background:transparent; cursor:pointer;
  touch-action:manipulation; user-select:none;
}
.v7-step { font-size:22px; background:var(--glass); border:1px solid var(--line); }
.v7-step:active,.island-dots button:active { background:var(--tint); }
.island-dots button { min-width:clamp(20px,4.4vw,36px); }
.island-dots button::after { content:""; width:7px; height:7px; border-radius:50%; background:#63767e; }
.island-dots button[aria-current=true]::after { background:var(--ink); box-shadow:0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.fleet-stage { padding-block:0 clamp(32px,6vw,96px); }
.fleet-stage-heading { margin-bottom:clamp(24px,4vw,52px); }
.fleet-stage-heading h1,.fleet-teaser h2 { font-size:clamp(48px,9vw,136px); line-height:1; margin:0; }
.fleet-stage-heading p,.fleet-teaser-copy p { color:var(--secondary); margin-top:10px; }
.fleet-lineup { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.fleet-lineup a {
  position:relative; display:grid; align-items:end; isolation:isolate; overflow:hidden;
  min-height:clamp(285px,31vw,510px); border:1px solid var(--line); border-radius:16px; color:var(--ink);
  background:var(--glass);
}
.fleet-lineup img { position:absolute; inset:0; z-index:-2; }
.fleet-lineup a > div { padding:clamp(12px,2vw,30px); }
.fleet-lineup h2 { margin:0; font-size:clamp(19px,2.7vw,48px); line-height:1.05; overflow-wrap:anywhere; }
.fleet-lineup p { margin:7px 0 0; }
.fleet-lineup strong { font-size:clamp(26px,4vw,64px); line-height:1; }
.fleet-teaser { position:relative; display:grid; grid-template-columns:1.55fr 1fr; align-items:center; gap:clamp(20px,4vw,64px); }
.fleet-teaser img { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:16px; }
.fleet-teaser .button { margin-top:12px; }


.fleet-subnav {
  position:sticky; z-index:5; top:var(--header-height); margin-inline:calc(50% - 50vw);
  background:var(--surface); border-bottom:1px solid var(--line);
}
.fleet-subnav > div { display:flex; gap:clamp(6px,3vw,44px); justify-content:center; flex-wrap:wrap; padding:5px; }
.fleet-subnav a { display:grid; align-items:center; min-height:44px; padding:0 5px; color:var(--ink); }
.fleet-specs,.fleet-gallery,.fleet-trips { scroll-margin-top:calc(var(--header-height) + 105px); margin-block:clamp(48px,8vw,128px); }
.fleet-specs dl { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:22px 0 12px; }
.fleet-specs dl > div { display:flex; flex-direction:column-reverse; align-items:start; }
.fleet-specs dd { font-size:clamp(56px,14vw,188px); font-weight:800; line-height:.95; margin:0; font-variant-numeric:tabular-nums; }
.fleet-specs dt,.fleet-specs dd small { color:var(--secondary); font-size:clamp(14px,2vw,24px); }
.fleet-specs dt { margin-top:12px; }
@media (prefers-reduced-motion:no-preference) {
  .fleet-specs [data-reveal=true] dd { animation:fleet-numerals 360ms cubic-bezier(.23,1,.32,1); }
  @keyframes fleet-numerals { from { clip-path:inset(0 0 100%); } to { clip-path:inset(0); } }
}
.fleet-feature {
  margin-inline:0; display:grid; grid-template-columns:1.65fr 1fr; align-items:center;
  background:var(--glass); margin-block:20px;
}
.fleet-feature-reverse { grid-template-columns:1fr 1.65fr; }
.fleet-feature-reverse > div:first-child { grid-column:2; grid-row:1; }
.fleet-feature-reverse > div:last-child { grid-column:1; grid-row:1; }
.fleet-feature img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:0; }
.fleet-feature > div:last-child { padding:clamp(24px,6vw,88px); }
.fleet-feature h2 { font-size:clamp(30px,4.5vw,68px); line-height:1.07; margin:0 0 12px; }
.fleet-feature p { color:var(--secondary); }
.fleet-gallery .tour-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.fleet-gallery .tour-gallery a,.fleet-trip { display:block; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); }
.fleet-gallery .tour-gallery img { width:100%; aspect-ratio:16/10; height:auto; object-fit:cover; border-radius:0; display:block; }
.fleet-gallery .photo-lightbox img { touch-action:pan-y pinch-zoom; }
.fleet-trip-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:20px; }
.fleet-trip { background:var(--glass); padding-bottom:14px; color:var(--ink); }
.fleet-trip img { height:auto; aspect-ratio:16/9; display:block; }
.fleet-trip :is(span,small) { display:block; margin:10px 14px 0; }
.fleet-trip span { font-size:clamp(23px,3vw,40px); line-height:1.1; }
@media (hover:hover) and (pointer:fine) {
  .v7-step:hover,.island-dots button:hover { background:var(--tint); }
  .fleet-lineup a:hover,.fleet-gallery a:hover,.fleet-trip:hover { border-color:var(--marker); }
}
@media (max-width:950px) { .fleet-lineup { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) {
  .island-stage { --card-width:77vw; }
  .fleet-teaser,.fleet-feature,.fleet-feature-reverse,.fleet-trip-grid { grid-template-columns:1fr; }
  .fleet-feature-reverse > div { grid-area:auto !important; }
  .fleet-lineup a { min-height:230px; }
  .fleet-subnav > div { gap:4px; font-size:clamp(11px,3.3vw,15px); }
}
@media (prefers-reduced-motion:reduce) { [data-carousel-motion] .island-stage a { transition:none; } }
body[data-page=tours] #main > .island-carousel { grid-column:1/-1; width:100%; }
html body[data-page=home] .fleet-teaser h2 { font-size:clamp(46px,7vw,100px); line-height:1; }
@media (max-width:760px) {
  html body[data-page] .island-carousel h1 { max-width:100%; font-size:clamp(33px,10.25vw,54px); }
  html body[data-page] .island-carousel h1 strong { white-space:nowrap; }
  html:lang(ru) body[data-page] .island-carousel h1 { font-size:clamp(30px,8.7vw,48px); }
  .hero-chip { padding-inline:15px; }
  .island-stage { min-height:clamp(365px,111vw,480px); --card-width:86vw; margin-top:22px; }
  [data-ready] .island-stage { height:clamp(365px,111vw,480px); }
  [data-ready] .island-stage a { top:3%; aspect-ratio:.82; }
  [data-ready] .island-stage a:is([data-position=left],[data-position=right]) { visibility:hidden; pointer-events:none; }
  .island-controls { margin-top:-10px; gap:3px; }
}
/* fleet lineup: Maybach-style — boat image clean on top, name + spec below (no text over photo) */
.fleet-lineup a { border-radius:var(--radius); box-shadow:var(--glass-shadow); display:flex; flex-direction:column; align-items:stretch; min-height:0; }
.fleet-lineup a::after { content:none; }
.fleet-lineup img { position:static; z-index:auto; height:auto; aspect-ratio:4/5; }
.fleet-lineup a > div { padding:clamp(14px,1.6vw,24px); }
.fleet-lineup h2 { font-size:clamp(20px,1.9vw,32px); overflow-wrap:normal; text-wrap:balance; }
.fleet-lineup strong { font-size:clamp(34px,3.6vw,60px); }
@media (max-width:760px) {
  .fleet-lineup { grid-template-columns:1fr; gap:16px; }
  .fleet-lineup a { min-height:0; }
  .fleet-lineup img { aspect-ratio:16/10; }
}
:is(:lang(th),:lang(ko),:lang(zh-Hans),:lang(ru)) .fleet-lineup h2 { font-size:clamp(18px,1.55vw,26px); }

.fleet-trip,.fleet-lineup a { -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); }
.fleet-feature > div:last-child { padding:clamp(14px,3vw,44px); }

html body[data-page] .island-stage a[href*="/tours/phi-phi/"] img { object-position:50% 70% !important; }
html body[data-page] .island-stage a[href*="/tours/similan/"] img { object-position:50% 65% !important; }

/* v8 review fix: inclusion headings must not break mid-word on phones */
html body[data-page] .tour-inclusions h2 { font-size:clamp(17px,1.4vw,22px); line-height:1.2; overflow-wrap:normal; word-break:normal; hyphens:none; }
@media (max-width:560px) { html body[data-page] .tour-inclusions { grid-template-columns:1fr; } }
/* v8 review fix: guide article heroes kept the old dark green panel + shade, making text unreadable */
html body[data-page] .practical-hero.glass-hero { background:rgba(255,255,255,.62); color:var(--ink); min-height:0; }
html body[data-page] .practical-hero.glass-hero::after { content:none; }
html body[data-page] .practical-hero.glass-hero p { color:var(--secondary); }
html:lang(th) body[data-page] :is(h1,h2,h3) { text-wrap:wrap; }
html body[data-page] .glass-hero .hero-content :is(h1,h2) { overflow-wrap:normal; word-break:normal; hyphens:manual; font-size:clamp(32px,4.4vw,64px); }

/* owner: "why doesn't it move like the prototype?" — phones hid the side panels and a blob; iOS sticky :hover paused the float */
@media (prefers-reduced-motion:no-preference) {
  .island-carousel:is(:focus-within,:active) .island-stage a { animation-play-state:running; }
  @media (hover:hover) and (pointer:fine) { .island-carousel:is(:hover,:focus-within) .island-stage a { animation-play-state:paused; } }
  @keyframes island-float { 50% { translate:0 -14px; } }
}
@media (max-width:760px) {
  .pastel-field i:nth-child(3) { display:block; width:300px; height:320px; }
  .island-stage { --card-width:68vw; }
  [data-ready] .island-stage a:is([data-position=left],[data-position=right]) { visibility:visible; pointer-events:auto; width:44vw; --drop:48px; opacity:.92; }
  .island-stage a[data-position=left] { --offset:calc(var(--card-width) * -.74); --yaw:26deg; }
  .island-stage a[data-position=right] { --offset:calc(var(--card-width) * .74); --yaw:-26deg; }
  .island-stage a:is([data-position=left],[data-position=right]) > span { display:none; }
}
/* studio boat lineup: whole boat visible, 2x2 showroom grid */
html body[data-page] .fleet-lineup { grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,2vw,24px); }
html body[data-page] .fleet-lineup img { aspect-ratio:16/10; object-fit:cover; object-position:50% 50%; }
@media (max-width:760px) { html body[data-page] .fleet-lineup { grid-template-columns:1fr; } }

/* fleet look-around (exterior angles) + interior pano */
.fleet-look h2 { margin-bottom:14px; }
.orbit { position:relative; aspect-ratio:16/10; border-radius:28px; overflow:hidden; background:#eef3f9; cursor:grab; touch-action:pan-y; user-select:none; box-shadow:0 30px 70px rgba(40,60,120,.14); }
.orbit:active { cursor:grabbing; }
.orbit-frame { position:absolute; inset:0; opacity:0; transition:opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1); transform:scale(.985); }
.orbit-frame.on { opacity:1; transform:none; }
.orbit-frame img { width:100%; height:100%; object-fit:cover; pointer-events:none; }
.look-hint { position:absolute; left:50%; bottom:46px; transform:translateX(-50%); margin:0; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.75); backdrop-filter:blur(12px); font-size:13px; white-space:nowrap; pointer-events:none; }
.orbit-dots { position:absolute; left:0; right:0; bottom:14px; display:flex; justify-content:center; gap:8px; }
.orbit-dots button { width:10px; height:10px; min-height:0; padding:0; border-radius:99px; border:0; background:rgba(18,34,34,.25); cursor:pointer; }
.orbit-dots button[aria-pressed=true] { width:26px; background:#122; }
.look-inside-title { margin-top:clamp(28px,4vw,48px); }
.pano { position:relative; height:clamp(320px,52vw,620px); border-radius:28px; overflow:hidden; cursor:grab; touch-action:pan-y; user-select:none; background:#dfe8f0; box-shadow:0 30px 70px rgba(40,60,120,.14); }
.pano-track { height:100%; }
.pano-track img { position:absolute; top:0; left:0; height:100%; width:auto; max-width:none; opacity:0; transition:opacity .35s; pointer-events:none; }
.pano-track img.on { opacity:1; }
.pano .look-hint { bottom:16px; }
.pano-thumbs { display:flex; gap:10px; margin-top:12px; }
.pano-thumbs button { width:96px; height:64px; min-height:0; padding:0; border-radius:14px; overflow:hidden; border:2px solid transparent; cursor:pointer; background:none; }
.pano-thumbs button[aria-pressed=true] { border-color:#122; }
.pano-thumbs img { width:100%; height:100%; object-fit:cover; }

/* 360° 3D spin viewer + flyover */
.spin { position:relative; aspect-ratio:16/10; border-radius:28px; overflow:hidden; background:linear-gradient(#f7faff,#dfeaf6); cursor:grab; touch-action:pan-y; user-select:none; box-shadow:0 30px 70px rgba(40,60,120,.14); }
.spin:active { cursor:grabbing; }
.spin img { width:100%; height:100%; object-fit:contain; pointer-events:none; }
.spin-badge { position:absolute; top:14px; left:14px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.8); backdrop-filter:blur(10px); font-size:12px; font-weight:600; }
.spin .look-hint { bottom:16px; }
.flyover { margin:0; }
.flyover video { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:28px; display:block; box-shadow:0 30px 70px rgba(40,60,120,.14); background:#dfe8f0; }
.flyover figcaption { font-size:13px; color:var(--secondary); margin-top:8px; }

/* v9 premium carousel controls: one glass bar, thin chevrons, progress segments */
.island-controls { gap:2px; width:max-content; margin-inline:auto; padding:5px; border-radius:999px; background:rgba(255,255,255,.55); backdrop-filter:blur(18px) saturate(160%); -webkit-backdrop-filter:blur(18px) saturate(160%); border:1px solid rgba(255,255,255,.8); box-shadow:0 12px 40px rgba(40,60,120,.12); }
.island-controls .v7-step { position:relative; min-width:40px; min-height:40px; font-size:0; background:transparent; border:0; }
.island-controls .v7-step::before { content:""; width:8px; height:8px; border:solid var(--ink); border-width:1.6px 1.6px 0 0; transform:rotate(45deg); margin-left:-3px; }
.island-controls [data-carousel-prev]::before { transform:rotate(-135deg); margin:0 -3px 0 0; }
.island-controls [data-carousel-pause]::before { width:8px; height:11px; border:0; transform:none; margin:0; background:linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 6px,var(--ink) 6px 8px); }
.island-controls [data-carousel-pause][data-state=play]::before { width:0; height:0; border-style:solid; border-width:6px 0 6px 10px; border-color:transparent transparent transparent var(--ink); background:none; margin-left:2px; }

.island-dots { align-items:center; padding-inline:6px; }
.island-dots button { min-width:22px; min-height:40px; background:transparent!important; }
.island-dots button::after { width:16px; height:3px; border-radius:3px; background:rgba(13,27,61,.18); box-shadow:none!important; transition:width .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.island-dots button[aria-current=true] { min-width:42px; }
.island-dots button[aria-current=true]::after { width:34px; background:var(--ink); }
@media (hover:hover) and (pointer:fine) {
  .island-controls .v7-step:hover { background:rgba(255,255,255,.9); }
  .island-dots button:hover::after { background:rgba(13,27,61,.4); }
}
.island-controls button:focus { outline:none; }
.island-controls button:focus-visible { outline:2px solid var(--ink); outline-offset:-4px; }
@media (max-width:560px) { .island-dots button { min-width:14px; } .island-dots button::after { width:9px; } .island-dots button[aria-current=true] { min-width:30px; } .island-dots button[aria-current=true]::after { width:24px; } .island-controls .v7-step { min-width:36px; } }

/* Page and image motion is optional. Image dimensions remain in the markup. */
@media (prefers-reduced-motion:no-preference) {
  @view-transition { navigation:auto; }
  ::view-transition-old(root) { animation:140ms ease-out both mtt-page-out; }
  ::view-transition-new(root) { animation:200ms ease-out both mtt-page-in; }

  [data-page="home"] .island-carousel > :is(h1,.island-lede,.hero-chips,.island-stage,.island-controls) {
    animation:mtt-hero-in 440ms cubic-bezier(.22,.75,.3,1) both;
  }
  [data-page="home"] .island-carousel > :is(.island-lede,.hero-chips) { animation-delay:45ms; }
  [data-page="home"] .island-carousel > :is(.island-stage,.island-controls) { animation-delay:90ms; }
  img.photo[data-photo-state="loaded"] { animation:mtt-photo-in 220ms ease-out both; }
}
@keyframes mtt-page-out { to { opacity:0; transform:translateY(-4px); } }
@keyframes mtt-page-in { from { opacity:0; transform:translateY(6px); } }
@keyframes mtt-hero-in { from { opacity:0; translate:0 9px; } }
@keyframes mtt-photo-in { from { opacity:0; } }

html body[data-page] :is(button,a,input,select,textarea,summary) { -webkit-tap-highlight-color:transparent; }
html body[data-page] :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid #236f8b;
  outline-offset:3px;
  box-shadow:0 0 0 2px white;
}
html body[data-page] :is(button,.button,.pick-tile,.island-stage a,.guide-card,.fleet-trip,.chart-row,.trip-card-link) {
  transition-property:background-color,border-color,color,box-shadow,scale;
  transition-duration:140ms;
  transition-timing-function:ease-out;
}
html body[data-page] [data-carousel-motion] .island-stage a {
  transition:transform 540ms cubic-bezier(.23,1,.32,1),width 540ms cubic-bezier(.23,1,.32,1),opacity 240ms ease,scale 140ms ease-out;
}
html body[data-page] :is(button:not(:disabled),.button,.pick-tile,.island-stage a,.guide-card,.fleet-trip,.chart-row,.trip-card-link):active {
  scale:.97;
}
body[data-page] :has(> img.photo[data-photo-state="loading"]) {
  background-color:#e0eced;
}
img.photo[data-photo-state="loading"] { opacity:0; }

@media (max-width:760px) {
  html body[data-page] .booking-dock {
    padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));
  }
  .booking-sheet[open] {
    padding-inline:max(4px,env(safe-area-inset-left)) max(4px,env(safe-area-inset-right));
    padding-bottom:max(4px,env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion:reduce) {
  @view-transition { navigation:none; }
  html body[data-page] :is(button,.button,.pick-tile,.island-stage a,.guide-card,.fleet-trip,.chart-row,.trip-card-link),
  html body[data-page] [data-carousel-motion] .island-stage a { transition:none; }
  html body[data-page] :is(button,.button,.pick-tile,.island-stage a,.guide-card,.fleet-trip,.chart-row,.trip-card-link):active { scale:none; }
}

/* v9b booking panel fixes */
#booking-title:focus { outline:none; }
#booking-title { font-size:clamp(26px,2.4vw,36px); line-height:1.15; }
html:lang(th) #booking-title { font-size:clamp(24px,2vw,30px); word-break:keep-all; }
/* gallery: no orphan tile */
.tour-gallery-mosaic > a:nth-child(even):last-child { grid-column:1 / -1; }
.tour-gallery-mosaic > a:nth-child(even):last-child img { aspect-ratio:21/9; object-fit:cover; width:100%; height:100%; }

/* v9 language menu: clean glass dropdown */
html body .site-header .language ul { width:184px; padding:6px; margin-top:10px; border-radius:18px!important; background:rgba(255,255,255,.97); backdrop-filter:blur(20px) saturate(170%); -webkit-backdrop-filter:blur(20px) saturate(170%); border:1px solid rgba(13,27,61,.08); box-shadow:0 18px 50px rgba(40,60,120,.16); display:grid; gap:2px; }
html body .site-header .language ul a { display:flex; align-items:center; justify-content:space-between; min-height:40px; padding:0 12px; border-radius:12px!important; background:transparent; color:var(--ink); font-size:15px; text-decoration:none; }
html body .site-header .language ul [aria-current] { background:rgba(13,27,61,.06); font-weight:600; }
html body .site-header .language ul [aria-current]::after { content:""; width:5px; height:9px; border:solid var(--ink); border-width:0 1.6px 1.6px 0; transform:rotate(45deg); margin:-3px 2px 0 0; }
@media (hover:hover) and (pointer:fine) { html body .site-header .language ul a:not([aria-current]):hover { background:rgba(13,27,61,.04); } }
html body .site-header .language summary:focus { outline:none; }
html body .site-header .language summary:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }

/* v9 pier map + route animation */
.pier-map { position:relative; margin:14px 0 10px; aspect-ratio:16/9; border-radius:22px; overflow:hidden; background:linear-gradient(135deg,#dff4fb,#eef0ff); border:1px solid var(--line); box-shadow:0 20px 50px rgba(40,60,120,.10); display:grid; place-items:center; }
.pier-map::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 46%, rgba(255,255,255,.9) 0 6px, rgba(13,27,61,.85) 7px 9px, transparent 10px), repeating-linear-gradient(0deg, transparent 0 38px, rgba(13,27,61,.05) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(13,27,61,.05) 38px 39px); }
.pier-map-load { position:relative; margin-top:64px; min-height:44px; padding:0 20px; border:0; border-radius:999px; background:var(--ink); color:#fff; font:600 15px var(--sans); cursor:pointer; }
.pier-map iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.pier-map-actions { margin:0 0 8px; }
html body[data-page] :is(.sea-detail-map,.sea-route-strip) .sea-route[data-current="true"] { stroke-dasharray:1; stroke-dashoffset:1; }
html body[data-page] .route-go .sea-route[data-current="true"] { stroke-dashoffset:0; transition:stroke-dashoffset 2.6s cubic-bezier(.22,.8,.3,1); }
.sea-boat { fill:#fff; stroke:var(--ink); stroke-width:1; filter:drop-shadow(0 0 3px rgba(127,246,255,.9)); }
@media (prefers-reduced-motion: reduce) { html body[data-page] :is(.sea-detail-map,.sea-route-strip) .sea-route[data-current="true"] { stroke-dasharray:none; stroke-dashoffset:0; } }
/* v9 route card: natural aspect, refined labels, quiet credit */
html body[data-page] .sea-detail-map { display:block; }
html body[data-page] .sea-detail-map > div { height:auto; width:100%; margin-inline:auto; border-radius:var(--radius); box-shadow:0 24px 60px rgba(40,60,120,.10); background:#e4f4f8; }
html body[data-page] .sea-detail-map svg { width:100%; height:100%; display:block; }
html body[data-page] .sea-detail-map .sea-land { fill:#fff; stroke:rgba(13,27,61,.14); stroke-width:.35; }
html body[data-page] .sea-detail-map text { font-family:var(--sans); }
html body[data-page] .sea-detail-map .sea-island text.place { font-weight:700; fill:var(--ink); paint-order:stroke; stroke:rgba(255,255,255,.92); }
html body[data-page] .sea-detail-map .sea-pier text { font-weight:600; fill:#45506b; paint-order:stroke; stroke:rgba(255,255,255,.92); }
html body[data-page] .sea-detail-map .sea-route[data-current="true"] { filter:drop-shadow(0 0 2px rgba(255,90,140,.45)); }
html body[data-page] .sea-detail-map figcaption { justify-content:center; padding-top:8px; font-size:11px; color:#8a93a8; }
html body[data-page] .sea-detail-map figcaption a { min-height:24px; padding:0; margin:0; font-weight:500; color:#8a93a8; }

.pier-map[data-mymap] { aspect-ratio:4/3; }
@media (min-width:900px){ .pier-map[data-mymap] { aspect-ratio:16/10; } }
.pier-map iframe[src*="/maps/d/"] { top:-66px; height:calc(100% + 66px); }

/* v9 search bar: one glass pill, Airbnb-style segments */
html body[data-page] .retail-search .booking-search { display:grid; grid-template-columns:1.5fr 1fr .7fr auto; align-items:stretch; gap:0; padding:8px; border-radius:999px; background:#fff; border:1px solid rgba(13,27,61,.08); box-shadow:0 18px 50px rgba(40,60,120,.12); }
html body[data-page] .retail-search .booking-search label { position:relative; display:flex; flex-direction:column; justify-content:center; gap:2px; margin:0; padding:10px 24px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.01em; color:var(--ink); cursor:pointer; transition:background .2s; }
html body[data-page] .retail-search .booking-search label + label::before { content:""; position:absolute; left:0; top:22%; bottom:22%; width:1px; background:rgba(13,27,61,.12); }
@media (hover:hover) and (pointer:fine) { html body[data-page] .retail-search .booking-search label:hover { background:rgba(13,27,61,.04); } }
html body[data-page] .retail-search .booking-search label:focus-within { background:rgba(13,27,61,.05); }
html body[data-page] .retail-search .booking-search :is(select,input) { appearance:none; -webkit-appearance:none; width:100%; min-height:28px; margin:0; padding:0; border:0!important; background:transparent!important; box-shadow:none!important; font:400 16px var(--sans); color:#45506b; outline:none; }
html body[data-page] .retail-search .booking-search select { padding-right:18px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230d1b3d' stroke-width='1.5'/%3E%3C/svg%3E") right center no-repeat!important; text-overflow:ellipsis; }
html body[data-page] .retail-search .booking-search input[type=date]::-webkit-calendar-picker-indicator { opacity:.55; cursor:pointer; }
html body[data-page] .retail-search .booking-search .button { align-self:center; min-height:52px; padding:0 28px; margin-left:6px; border-radius:999px; font-size:15px; }
html body[data-page] .retail-search .hero-contact { margin-top:18px; }
@media (max-width:760px) {
  html body[data-page] .retail-search .booking-search { grid-template-columns:1fr 1fr; border-radius:26px; padding:8px; }
  html body[data-page] .retail-search .booking-search label { border-radius:18px; padding:12px 16px; }
  html body[data-page] .retail-search .booking-search label:first-child { grid-column:1 / -1; }
  html body[data-page] .retail-search .booking-search label:nth-child(2)::before { display:none; }
  html body[data-page] .retail-search .booking-search label:first-child::after { content:""; position:absolute; left:16px; right:16px; bottom:0; height:1px; background:rgba(13,27,61,.12); }
  html body[data-page] .retail-search .booking-search label:nth-child(3)::before { left:0; right:auto; top:22%; bottom:22%; width:1px; height:auto; }
  html body[data-page] .retail-search .booking-search .button { grid-column:1 / -1; margin:6px 0 0; width:100%; }
}

/* v10 polish (2026-11-26): single-card sections, tour details, menus */
@media (min-width:861px){
  html body[data-page] .sea-stays:has(> a:only-child){ grid-template-columns:1fr; }
  html body[data-page] .sea-stays > a:only-child{ grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); grid-template-rows:1fr auto auto auto 1fr; column-gap:36px; row-gap:10px; padding:0; }
  html body[data-page] .sea-stays > a:only-child > img{ grid-column:1; grid-row:1 / -1; aspect-ratio:16/10; height:100%; border-radius:0; }
  html body[data-page] .sea-stays > a:only-child > :not(img){ grid-column:2; margin-inline:0 32px; }
  html body[data-page] .sea-stays > a:only-child > .chart-name{ grid-row:2; margin-top:0; font-size:32px; }
  html body[data-page] .sea-stays > a:only-child > .stay-description{ grid-row:3; font-size:16px; }
  html body[data-page] .sea-stays > a:only-child > .chart-price{ grid-row:4; margin-bottom:0; font-size:20px; }
  html body[data-page] .fleet-trip-grid:has(> .fleet-trip:only-child){ grid-template-columns:1fr; }
  html body[data-page] .fleet-trip:only-child{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); grid-template-rows:1fr auto 1fr; column-gap:32px; padding:0; }
  html body[data-page] .fleet-trip:only-child > img{ grid-column:1; grid-row:1 / span 3; width:100%; height:100%; aspect-ratio:16/10; object-fit:cover; }
  html body[data-page] .fleet-trip:only-child > .place{ grid-column:2; grid-row:2; align-self:end; font-size:32px; line-height:1.15; margin:0 28px 0 0; }
  html body[data-page] .fleet-trip:only-child > small{ grid-column:2; grid-row:3; align-self:start; margin:10px 28px 0 0; font-size:16px; }
  html body[data-page] .trips:has(> .trip:only-child){ grid-template-columns:1fr; }
  html body[data-page] .trips > .trip:only-child{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:stretch; }
  html body[data-page] .trips > .trip:only-child > :first-child{ height:100%; min-height:260px; aspect-ratio:auto; object-fit:cover; display:flex; align-items:center; justify-content:center; gap:28px; font-size:22px; }
  html body[data-page] .trips > .trip:only-child > .trip-body{ padding:28px 32px; align-self:center; }
}
html body[data-page] .stay-filter:has(+ .trips > .trip:only-child){ display:none!important; }
/* tour page: boat / pier photos stacked, larger */
html body[data-page] .tour-photo-details{ display:grid; grid-template-columns:1fr; gap:8px; }
html body[data-page] .tour-photo-details .tour-gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; }
html body[data-page] .tour-photo-details .tour-gallery img{ width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; display:block; }
html body[data-page] .tour-description summary span{ font-weight:400; color:var(--muted,#5b6475); }
/* pickup table: left aligned, readable */
html body[data-page] .pickup-table table{ width:100%; border-collapse:collapse; }
html body[data-page] .pickup-table :is(th,td){ text-align:left; padding:8px 12px 8px 0; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; }
html body[data-page] .pickup-table tbody th{ font-weight:500; }
html body[data-page] .pickup-table td{ white-space:nowrap; text-align:right; padding-right:0; }
html body[data-page] .pickup-table thead th:last-child{ text-align:right; padding-right:0; }
/* sticky booking button: space before the price */
html body[data-page] .booking-dock .button{ column-gap:.3em; }
/* language menu: solid so the page does not show through */
html body .site-header .language ul{ background:#fff!important; box-shadow:0 18px 48px rgba(13,27,61,.16); }
/* hotel form on phones: one field per row so selects are not cut */
@media (max-width:520px){ html body[data-page] .trip .choice-form{ grid-template-columns:1fr!important; } html body[data-page] .trip .choice-form :is(input,select){ width:100%; } }
/* map preview before the Google map loads */
html body[data-page] .pier-map[style*="--map-preview"]{ background:var(--map-preview) center/cover no-repeat; }
html body[data-page] .pier-map[style*="--map-preview"]::before{ display:none; }
html body[data-page] .pier-map[style*="--map-preview"] .pier-map-load{ margin-top:0; box-shadow:0 10px 30px rgba(13,27,61,.25); }
/* v10: search bar in the home hero */
html body[data-page] .retail-search.hero-search{ width:min(880px,100%); margin:22px auto 0; padding:0!important; background:none!important; border:0!important; box-shadow:none!important; -webkit-backdrop-filter:none; backdrop-filter:none; position:relative; z-index:3; text-align:left; }
html body[data-page] .retail-search.hero-search .booking-search{ box-shadow:0 20px 60px rgba(40,60,120,.16); }
@media (max-width:760px){ html body[data-page] .retail-search.hero-search{ margin-top:16px; } }
@media (max-width:760px){ html body[data-page] .retail-search.hero-search{ width:calc(100% - 32px); } }
/* v10: live sea weather */
html body[data-page] .sea-weather{ width:min(880px,calc(100% - 32px)); margin:14px auto 0; position:relative; z-index:3; text-align:left; }
html body[data-page] .sea-weather .wx-title{ margin:0 0 8px 6px; font-size:13px; font-weight:600; color:var(--ink); }
html body[data-page] .wx-row{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
html body[data-page] .wx-row li{ display:grid; grid-template-columns:auto 1fr auto; grid-template-rows:auto auto; column-gap:10px; align-items:center; padding:10px 14px; border-radius:18px; background:rgba(255,255,255,.72); border:1px solid rgba(13,27,61,.07); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
html body[data-page] .wx-row .wx-icon{ grid-row:1 / span 2; width:26px; height:26px; color:var(--ink); }
html body[data-page] .wx-row .wx-place{ font-size:13px; font-weight:600; color:var(--ink); line-height:1.2; overflow-wrap:anywhere; }
html body[data-page] .wx-row strong{ grid-row:1; grid-column:3; font-size:20px; font-weight:500; line-height:1; }
html body[data-page] .wx-row .wx-meta{ grid-column:2 / 4; white-space:nowrap; }
@media (max-width:420px){ html body[data-page] .wx-row li{ padding:10px; column-gap:8px; } html body[data-page] .wx-row strong{ font-size:18px; } }
html body[data-page] .wx-meta{ font-size:12px; color:#5b6475; }
@media (max-width:760px){ html body[data-page] .wx-row{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
html body[data-page] .tour-weather{ margin:16px 0; padding:clamp(16px,3vw,28px); border-radius:24px; background:var(--glass,rgba(255,255,255,.7)); border:1px solid var(--line); }
html body[data-page] .tour-weather .wx-head{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; }
html body[data-page] .tour-weather h2{ margin:0; font-size:clamp(22px,2.4vw,28px); }
html body[data-page] .wx-sea{ padding:5px 12px; border-radius:999px; font-size:13px; font-weight:600; }
html body[data-page] .wx-sea.calm{ background:#dff5ea; color:#145c3a; }
html body[data-page] .wx-sea.moderate{ background:#fff1d6; color:#7a4b00; }
html body[data-page] .wx-sea.rough{ background:#fde0e0; color:#8a1c1c; }
html body[data-page] .wx-now{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin:14px 0; }
html body[data-page] .wx-now .wx-icon{ width:36px; height:36px; }
html body[data-page] .wx-now strong{ font-size:30px; font-weight:500; }
html body[data-page] .wx-now .wx-meta{ flex-basis:100%; font-size:14px; }
html body[data-page] .wx-days{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
html body[data-page] .wx-days li{ display:flex; flex-direction:column; align-items:center; gap:3px; padding:12px 6px; border-radius:16px; background:rgba(255,255,255,.75); border:1px solid rgba(13,27,61,.06); text-align:center; }
html body[data-page] .wx-days .wx-day{ font-size:13px; font-weight:600; }
html body[data-page] .wx-days .wx-icon{ width:26px; height:26px; margin:2px 0; }
html body[data-page] .wx-days strong{ font-size:18px; font-weight:600; }
html body[data-page] .wx-days .wx-min{ font-size:13px; color:#5b6475; }
html body[data-page] .wx-note{ margin:12px 0 0; font-size:13px; color:#5b6475; }
html body[data-page] .wx-src{ margin:4px 0 0; font-size:12px; }
html body[data-page] .wx-src a{ color:#5b6475; text-decoration:none; }
/* v10: sales helpers */
html body[data-page] .sell-trust{ list-style:none; margin:10px 0 14px; padding:0; display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13px; color:#1f5a3d; }
html body[data-page] .sell-trust li{ display:flex; align-items:center; gap:6px; }
html body[data-page] .sell-trust span{ display:grid; place-items:center; width:18px; height:18px; border-radius:50%; background:#dff5ea; color:#145c3a; font-size:11px; font-weight:700; }
html body[data-page] .chart-item{ position:relative; }
html body[data-page] .chart-book{ position:absolute; right:16px; bottom:14px; display:inline-flex; align-items:center; min-height:36px; padding:0 18px; border-radius:999px; background:var(--ink); color:#fff; font-size:14px; font-weight:600; text-decoration:none; z-index:2; transition:transform .15s ease, background .2s; }
html body[data-page] .chart-book:active{ transform:scale(.96); }
@media (hover:hover) and (pointer:fine){ html body[data-page] .chart-book:hover{ background:#1c2b4a; } }
html body[data-page] .chart-item .chart-row{ padding-bottom:58px; }
@media (min-width:861px){
  html body[data-page] .chart-book{ top:50%; bottom:auto; transform:translateY(-50%); }
  html body[data-page] .chart-book:active{ transform:translateY(-50%) scale(.96); }
  html body[data-page] .chart-item .chart-row{ padding-bottom:15px; padding-right:112px; }
  html body[data-page] .chart-scale{ padding-right:112px; }
}
html body[data-page] .sell-dock{ position:fixed; z-index:60; left:50%; bottom:max(14px,env(safe-area-inset-bottom)); width:min(560px,calc(100% - 24px)); display:flex; align-items:center; gap:12px; padding:8px 8px 8px 20px; border-radius:999px; background:rgba(255,255,255,.94); -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%); border:1px solid rgba(13,27,61,.08); box-shadow:0 18px 50px rgba(13,27,61,.18); transform:translate(-50%,140%); opacity:0; pointer-events:none; transition:transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s; }
html body[data-page] .sell-dock.is-shown{ transform:translate(-50%,0); opacity:1; pointer-events:auto; }
html body[data-page] .sell-dock-info{ flex:1; min-width:0; display:flex; flex-direction:column; text-decoration:none; color:var(--ink); }
html body[data-page] .sell-dock-info strong{ font-size:15px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html body[data-page] .sell-dock-info small{ font-size:12px; color:#5b6475; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html body[data-page] .sell-dock .button{ flex:none; min-height:46px; padding:0 22px; white-space:nowrap; }
@media (prefers-reduced-motion:reduce){ html body[data-page] .sell-dock{ transition:none; } }
/* v10: menu as a right-side drawer, one item per row */
html body .site-menu{ inset:0 auto 0 0; left:0; right:auto; width:min(420px,100%); height:100dvh; padding:env(safe-area-inset-top) 20px env(safe-area-inset-bottom); background:#fff!important; -webkit-backdrop-filter:none; backdrop-filter:none; border-right:1px solid rgba(13,27,61,.08); box-shadow:24px 0 60px rgba(13,27,61,.16); overflow-y:auto; }
html body .site-menu[open]{ animation:mtt-drawer-in .32s cubic-bezier(.2,.8,.2,1); }
html body .site-menu::backdrop{ background:rgba(13,27,61,.28); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
@keyframes mtt-drawer-in{ from{ transform:translateX(-100%); } to{ transform:none; } }
@media (prefers-reduced-motion:reduce){ html body .site-menu[open]{ animation:none; } }
html body .site-menu .menu-inner{ max-width:none; display:flex; flex-direction:column; min-height:100%; padding-bottom:20px; }
html body .site-menu .menu-top{ min-height:68px; }
html body .site-menu nav{ display:flex!important; flex-direction:column; gap:2px; margin:14px 0 18px!important; }
html body .site-menu nav a{ position:relative; min-height:50px; padding:0 40px 0 14px; border:0!important; border-radius:14px; font-size:17px!important; font-weight:600; font-stretch:normal; color:var(--ink); text-decoration:none; transition:background .15s; }
html body .site-menu nav a::after{ content:""; position:absolute; right:18px; top:50%; width:7px; height:7px; border:solid #9aa3b5; border-width:1.6px 1.6px 0 0; transform:translateY(-50%) rotate(45deg); }
@media (hover:hover) and (pointer:fine){ html body .site-menu nav a:hover{ background:rgba(13,27,61,.05); } }
html body .site-menu nav a[aria-current]{ background:rgba(13,27,61,.07); color:var(--ink); }
html body .site-menu .menu-book{ display:flex; justify-content:center; align-items:center; min-height:52px; margin:0 0 16px; font-size:16px; }
html body .site-menu .menu-contacts{ margin-top:auto; }
/* v10: book buttons on photo cards */
html body[data-page] [data-island-slide] .slide-book{ display:none; }
html body[data-page] .island-stage a[data-position="center"] > span{ grid-template-columns:minmax(0,1fr) auto; column-gap:14px; align-content:center; }
html body[data-page] .island-stage a[data-position="center"] > span > :not(.slide-book){ grid-column:1; }
html body[data-page] [data-island-slide][data-position="center"] .slide-book{ display:inline-flex; grid-column:2; grid-row:1 / span 2; align-self:center; white-space:nowrap; align-items:center; justify-content:center; margin:0; min-height:42px; padding:0 22px; border-radius:999px; background:var(--ink); color:#fff; font-size:15px; font-weight:600; letter-spacing:0; transition:transform .15s ease; }
html body[data-page] [data-island-slide][data-position="center"] .slide-book:active{ transform:scale(.96); }
html body[data-page] .pick-actions{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
@media (max-width:760px){
  html body[data-page] [data-island-slide][data-position="center"] .slide-book{ min-height:36px; padding:0 14px; font-size:13px; }
  html body[data-page] .island-stage a[data-position="center"] > span{ column-gap:10px; }
  html body[data-page] .island-stage a[data-position="center"] small{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}

/* v10: persistent left sidebar menu on wide screens (floating glass) */
html body .side-nav{ display:none; }
@media (min-width:1280px){
  html body{ --side-w:268px; --header-height:0px; padding-left:calc(var(--side-w) + 24px); }
  html body .site-header{ display:none!important; }
  html body .booking-panel{ top:24px; }
  html body main#main{ padding-top:22px; }
  html body .side-nav{ display:block; position:fixed; z-index:80; top:14px; bottom:14px; left:14px; width:var(--side-w); overflow-y:auto; scrollbar-width:none; border-radius:28px; background:rgba(255,255,255,.58); -webkit-backdrop-filter:blur(24px) saturate(170%); backdrop-filter:blur(24px) saturate(170%); border:1px solid rgba(255,255,255,.75); box-shadow:0 24px 60px rgba(40,60,120,.12), inset 0 1px 0 rgba(255,255,255,.8); }
  html body .side-nav::-webkit-scrollbar{ display:none; }
  html body .side-nav-inner{ display:flex; flex-direction:column; min-height:100%; padding:10px 14px 16px; }
  html body .side-nav-brand{ display:flex; align-items:center; min-height:64px; padding:0 8px; }
  html body .side-nav nav{ display:flex; flex-direction:column; gap:2px; margin:6px 0 14px; }
  html body .side-nav nav a{ display:flex; align-items:center; min-height:42px; padding:0 14px; border-radius:999px; color:var(--ink); font-size:15px; font-weight:500; text-decoration:none; transition:background .15s, color .15s; }
  html body .side-nav nav a[aria-current]{ background:var(--ink); color:#fff; font-weight:600; }
  html body .side-nav .menu-book{ display:flex; justify-content:center; align-items:center; min-height:46px; margin:0 0 14px; }
  html body .side-nav .menu-contacts{ margin-top:auto; display:flex; flex-wrap:wrap; gap:4px; }
  html body .side-nav .menu-contacts > *{ background:rgba(255,255,255,.6); }
  html body .side-lang{ display:flex; flex-wrap:wrap; gap:2px 4px; margin-top:12px; padding-top:12px; border-top:1px solid rgba(13,27,61,.08); }
  html body .side-lang a{ padding:5px 9px; border-radius:999px; font-size:13px; color:#5b6475; text-decoration:none; }
  html body .side-lang a[aria-current]{ background:rgba(13,27,61,.08); color:var(--ink); font-weight:600; }
  html body[data-page] .sell-dock{ left:calc(50% + (var(--side-w) + 24px) / 2); }
}
@media (min-width:1280px) and (hover:hover) and (pointer:fine){ html body .side-nav nav a:not([aria-current]):hover, html body .side-lang a:hover{ background:rgba(13,27,61,.06); } }
@media (min-width:1280px){ html body .fleet-subnav{ margin-inline:0!important; border-radius:999px; } }
/* v10: Pick your day - each tour has its own colour */
html body[data-page] .pick-tile{ position:relative; transition:background .2s, color .2s, transform .2s, box-shadow .2s; border-color:color-mix(in srgb,var(--trip) 22%,transparent); background:color-mix(in srgb,var(--trip) 9%,#fff); }
html body[data-page] .pick-tile span{ color:var(--trip); font-weight:600; }
html body[data-page] .pick-tile::after{ content:""; position:absolute; left:14px; right:14px; bottom:10px; height:4px; border-radius:4px; background:var(--trip); opacity:.85; }
html body[data-page] .pick-tile[aria-current=true]{ background:var(--trip); border-color:var(--trip); box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--trip), 0 18px 40px color-mix(in srgb,var(--trip) 40%,transparent); transform:translateY(-4px); }
html body[data-page] .pick-tile[aria-current=true] span{ color:#fff; }
html body[data-page] .pick-tile[aria-current=true]::after{ background:#fff; opacity:.6; }
html body[data-page] .pick-kit{ border-left:6px solid var(--trip); }
html body[data-page] .pick-kit h3{ color:var(--trip); }
html body[data-page] .pick-kit .pick-actions .button.primary{ background:var(--trip); border-color:var(--trip); }
html body[data-page] .wx-days .wx-meta{ white-space:nowrap; }
@media (max-width:520px){ html body[data-page] .wx-days{ gap:6px; } html body[data-page] .wx-days li{ padding:10px 2px; } html body[data-page] .wx-days .wx-meta{ font-size:10.5px; letter-spacing:-.01em; } }
/* v10: premium form fields (plan my trip, list your business, booking) */
html body[data-page] :is(.form-card,.booking-fields) label{ font-size:13px; font-weight:600; letter-spacing:.01em; color:#2a3550; gap:7px; }
html body[data-page] :is(.form-card,.booking-fields) :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select,textarea):not(.guest-stepper input){
  min-height:52px; padding:14px 16px; border-radius:14px!important; border:1px solid rgba(13,27,61,.10)!important; background:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 2px rgba(13,27,61,.05); font-size:16px; font-weight:400; color:var(--ink); transition:border-color .15s, box-shadow .15s, background .15s; }
html body[data-page] :is(.form-card,.booking-fields) textarea{ min-height:132px; line-height:1.5; resize:vertical; border-radius:16px!important; }
html body[data-page] :is(.form-card,.booking-fields) :is(input,select,textarea):not(.guest-stepper input):hover{ border-color:rgba(13,27,61,.22)!important; }
html body[data-page] :is(.form-card,.booking-fields) :is(input,select,textarea):not(.guest-stepper input):focus{ outline:none; border-color:var(--ink)!important; box-shadow:0 0 0 4px rgba(13,27,61,.08)!important; background:#fff!important; }
html body[data-page] :is(.form-card,.booking-fields) :is(input,textarea)::placeholder{ color:#98a1b3; }
html body[data-page] :is(.form-card,.booking-fields) select{ appearance:none; -webkit-appearance:none; padding-right:42px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230d1b3d' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center no-repeat!important; }
html body[data-page] .form-card .fields{ gap:18px 16px; }
html body[data-page] .form-card .actions{ gap:10px; margin-top:8px; }
html body[data-page] .form-card .actions :is(.button,button){ min-height:50px; padding:0 24px; }
/* v10: hero search bar polish */
html body[data-page] .retail-search .booking-search label:hover, html body[data-page] .retail-search .booking-search label:focus-within{ background:transparent!important; }
html body[data-page] .retail-search .booking-search :is(select,input):focus{ outline:none; } html body[data-page] .retail-search .booking-search label:has(:focus-visible){ box-shadow:none!important; outline:none!important; } html body[data-page] .retail-search .booking-search :is(select,input):focus-visible{ outline:none!important; box-shadow:none!important; }
html body[data-page] .retail-search .booking-search label{ font-size:11.5px; letter-spacing:.04em; text-transform:none; color:#5b6475; font-weight:600; }
html body[data-page] .retail-search .booking-search :is(select,input){ color:var(--ink)!important; font-weight:500!important; font-size:16px!important; }
html body[data-page] .retail-search .booking-search input::placeholder{ color:var(--ink); opacity:1; font-weight:500; }
/* v10: Plus Jakarta "A" has a negative side bearing - give fields 3px so the first letter is not clipped */
html body[data-page] .retail-search .booking-search :is(select,input){ padding-left:3px!important; margin-left:-3px!important; width:calc(100% + 3px)!important; }
