/* ==========================================================================
   1990 Bayliner 3888 — app-style site
   ========================================================================== */
:root {
  --bg: #071521;
  --bg2: #0c2233;
  --card: rgba(18, 40, 58, .62);
  --card-solid: #12283a;
  --card-hi: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .10);
  --text: #eef4f7;
  --muted: #9db3c2;
  --sea: #2fb3c6;
  --sea-d: #137f93;
  --green: #2c8a57;
  --green-d: #17603a;
  --gold: #f0b54d;
  --red: #ef6b5b;
  --ok: #4cc38a;
  --radius: 22px;
  --icon: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --menubar: 0px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #eaf0f3; --bg2: #dfe8ed; --card: rgba(255, 255, 255, .72); --card-solid: #ffffff;
    --card-hi: rgba(0, 0, 0, .04); --line: rgba(10, 30, 45, .10); --text: #0d2131; --muted: #557083;
    --shadow: 0 10px 30px rgba(13, 33, 49, .12); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #eaf0f3; --bg2: #dfe8ed; --card: rgba(255, 255, 255, .72); --card-solid: #ffffff;
  --card-hi: rgba(0, 0, 0, .04); --line: rgba(10, 30, 45, .10); --text: #0d2131; --muted: #557083;
  --shadow: 0 10px 30px rgba(13, 33, 49, .12); color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; line-height: 1.5; font-size: 16px;
  min-height: 100vh; overflow-x: hidden;
}
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- backdrop wallpaper ---------- */
.wallpaper {
  position: fixed; inset: 0; z-index: -2; background-size: cover; background-position: center;
  filter: saturate(1.1); transform: scale(1.04);
}
.wallpaper::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 33, .35) 0%, rgba(7, 21, 33, .72) 45%, var(--bg) 100%);
}
:root[data-theme="light"] .wallpaper::after,
:root:not([data-theme="dark"]) .wallpaper.light::after {}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .wallpaper::after {
    background: linear-gradient(180deg, rgba(7, 21, 33, .45) 0%, rgba(7, 21, 33, .15) 30%, rgba(234, 240, 243, .82) 55%, var(--bg) 100%);
  }
}
:root[data-theme="light"] .wallpaper::after {
  background: linear-gradient(180deg, rgba(7, 21, 33, .45) 0%, rgba(7, 21, 33, .15) 30%, rgba(234, 240, 243, .82) 55%, var(--bg) 100%);
}
body.in-page .wallpaper { filter: blur(26px) saturate(1.2); opacity: .55; }

/* ---------- macOS-style menu bar (desktop) ---------- */
.menubar {
  position: sticky; top: 0; z-index: 50; height: 44px; display: none; align-items: center; gap: 4px;
  padding: 0 14px; background: rgba(7, 21, 33, .55); backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); border-bottom: 1px solid var(--line); font-size: 14px;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .menubar { background: rgba(255, 255, 255, .6); } }
:root[data-theme="light"] .menubar { background: rgba(255, 255, 255, .6); }
@media (min-width: 900px) { .menubar { display: flex; } :root { --menubar: 44px; } }
.menubar .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-right: 10px; color: var(--text); white-space: nowrap; }
.menubar .brand img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.mb-item { position: relative; }
.mb-btn {
  background: none; border: 0; padding: 6px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; font-weight: 500;
  color: var(--text); display: flex; align-items: center; gap: 4px;
}
.mb-btn:hover, .mb-item.open .mb-btn { background: var(--card-hi); }
.mb-btn svg { width: 12px; height: 12px; opacity: .6; }
.mb-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; max-height: 70vh; overflow: auto; padding: 6px;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  display: none; z-index: 60;
}
.mb-item.open .mb-menu { display: block; animation: pop .14s ease-out; }
.mb-menu a, .mb-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px; color: var(--text);
  background: none; border: 0; text-align: left; cursor: pointer; font-size: 14px; text-decoration: none;
}
.mb-menu a:hover, .mb-menu button:hover { background: var(--sea-d); color: #fff; }
.mb-menu .mi-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.mb-menu .mi-ico svg { width: 14px; height: 14px; color: #fff; }
.mb-menu .sep { height: 1px; background: var(--line); margin: 5px 6px; }
.mb-menu .hdr { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px 4px; }
.mb-menu .meta { margin-left: auto; font-size: 12px; color: var(--muted); }
.mb-menu a:hover .meta { color: #dff; }
.menubar .spacer { flex: 1; }
.menubar .clock { color: var(--muted); font-variant-numeric: tabular-nums; }
.menubar .clock { white-space: nowrap; padding-right: 4px; }
.menubar .brand { margin-right: 14px; }
@media (min-width: 900px) and (max-width: 1480px) {   /* keep the bar on one line on laptops */
  .mb-btn { padding-left: 8px; padding-right: 8px; }
  .menubar .wx .wx-w, .acct-chip span, .menubar .clock { display: none; }
}
.mb-btn { white-space: nowrap; }
.mb-item:last-of-type .mb-menu.smap { left: auto; right: 0; }
@media (min-width: 900px) and (max-width: 1240px) {
  .menubar .brand .bt, .mb-inq .fs, .menubar .clock { display: none; }
  .menubar .brand { margin-right: 6px; }
  .mb-btn { padding-left: 6px; padding-right: 6px; font-size: 13px; }
}
@media (min-width: 900px) and (max-width: 1100px) { .menubar .wx { display: none; } .mb-btn svg { display: none; } }
.theme-btn { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.theme-btn:hover { background: var(--card-hi); }
.theme-btn svg { width: 18px; height: 18px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- phone status row (mobile) ---------- */
.statusrow {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 0; font-weight: 600; font-size: 15px;
}
@media (min-width: 900px) { .statusrow { display: none; } }
.statusrow .r { display: flex; gap: 6px; align-items: center; }
.statusrow svg { width: 18px; height: 18px; }

/* ---------- home ---------- */
#view { min-height: calc(100vh - var(--menubar)); padding-bottom: 120px; }
.home { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.hero { padding: 40px 6px 22px; }
@media (min-width: 900px) { .hero { padding: 70px 10px 34px; } }
.hero .kicker { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 7vw, 72px); margin: 6px 0 8px; font-weight: 800; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .4); }
.hero p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 17px; max-width: 640px; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.hero .kicker { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
body:not(.in-page) .statusrow { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

.widgets { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 8px 0 26px; }
@media (min-width: 560px) { .widgets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .widgets { grid-template-columns: 2fr 1fr 1fr; } }
.widget {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: var(--shadow);
  cursor: pointer; transition: transform .2s ease;
}
.widget:hover { transform: translateY(-2px); }
.widget h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.widget h4 svg { width: 14px; height: 14px; }
.widget.bio { grid-column: 1 / -1; }
@media (min-width: 900px) { .widget.bio { grid-column: auto; grid-row: span 2; } }
@media (max-width: 559px) { .widget:not(.bio) .stat-grid { grid-template-columns: repeat(4, auto); justify-content: space-between; } .widget:not(.bio) .stat b { font-size: 18px; } }
.widget.bio p { margin: 0; font-size: 15px; }
.widget.bio .sig { margin-top: 10px; color: var(--muted); font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.stat b { display: block; font-size: 22px; font-family: var(--display); letter-spacing: -.02em; }
.stat span { font-size: 12px; color: var(--muted); }
.mini-list { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.mini-list li { padding: 4px 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.mini-list li:last-child { border: 0; }
.mini-list .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

.group-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 26px 6px 12px; font-weight: 700; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 10px; padding: 0 2px; }
@media (min-width: 560px) { .apps { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(8, 1fr); } :root { --icon: 72px; } }
.app {
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; cursor: pointer;
  background: none; border: 0; padding: 0; text-decoration: none !important; color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.app .ico {
  width: var(--icon); height: var(--icon); border-radius: 22.5%; display: grid; place-items: center; position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .18s ease;
  overflow: hidden;
}
.app .ico::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%); }
.app .ico svg { width: 52%; height: 52%; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.app .ico img { width: 100%; height: 100%; object-fit: cover; }
.app:hover .ico { transform: translateY(-3px) scale(1.04); }
.app:active .ico { transform: scale(.92); }
.app .lbl { font-size: 12.5px; font-weight: 500; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); max-width: 92px; }
.app .badge {
  position: absolute; top: -6px; right: -6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; padding: 0 6px; z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.app .ico-wrap { position: relative; }
.app .badge.new { background: linear-gradient(160deg, #ffb340, #ff6a00); font-size: 9.5px; letter-spacing: .04em; right: -10px; }
/* Vista360 boat tour launcher */
.tour-launch { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #fff; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); margin-bottom: 16px; font: inherit; color: inherit; }
.tour-launch img { display: block; width: 100%; height: auto; aspect-ratio: 1570 / 520; object-fit: contain; padding: 14px 18px 70px; background: #fff; }
.tour-launch .tl-go { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 12px 16px; background: linear-gradient(160deg, #4a63e0, #1d2a8a); color: #fff; }
.tour-launch .tl-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.tour-launch .tl-ico svg { width: 28px; height: 28px; }
.tour-launch .tl-go b { font-size: 17px; }
.tour-launch .tl-go small { opacity: .85; font-size: 12.5px; }
.tour-launch:hover .tl-go { filter: brightness(1.1); }
.tour-launch:active { transform: scale(.99); }
@media (max-width: 600px) {
  .tour-launch img { padding: 10px 8px; aspect-ratio: auto; }
  .tour-launch .tl-go { position: static; padding: 10px 12px; }
  .tour-launch .tl-go b { font-size: 15.5px; }
}

/* gradients for icons */
.g-blue { background: linear-gradient(160deg, #4cc3ff, #1667d9); }
.g-sea { background: linear-gradient(160deg, #46d6d0, #0f7f95); }
.g-green { background: linear-gradient(160deg, #4bd88a, #17804a); }
.g-forest { background: linear-gradient(160deg, #3fa46c, #0f4f32); }
.g-orange { background: linear-gradient(160deg, #ffb347, #ef6a1b); }
.g-red { background: linear-gradient(160deg, #ff7b6e, #d6283b); }
.g-purple { background: linear-gradient(160deg, #b68cff, #5b34d6); }
.g-pink { background: linear-gradient(160deg, #ff8fc6, #d6337f); }
.g-yellow { background: linear-gradient(160deg, #ffe066, #f2a20c); }
.g-gray { background: linear-gradient(160deg, #a5b3bf, #556572); }
.g-navy { background: linear-gradient(160deg, #3d6a95, #10283f); }
.g-teal { background: linear-gradient(160deg, #2de0b3, #0a8f7a); }
.g-indigo { background: linear-gradient(160deg, #7f9cff, #2b3fb8); }
.g-steel { background: linear-gradient(160deg, #7d8ea0, #2b3a48); }
.g-photos { background: conic-gradient(from 0deg, #ff5f57, #febc2e, #28c840, #2fb3c6, #6a5cff, #ff5fa2, #ff5f57); }

/* ---------- dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; display: flex; gap: 14px;
  padding: 10px 14px; border-radius: 30px; background: rgba(20, 40, 58, .55); border: 1px solid var(--line);
  backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6); box-shadow: var(--shadow);
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .dock { background: rgba(255, 255, 255, .55); } }
:root[data-theme="light"] .dock { background: rgba(255, 255, 255, .55); }
.dock .app { --icon: 54px; }
.dock .app .lbl { display: none; }
.dock .app.active::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text); margin-top: -3px; }
@media (min-width: 900px) { .dock .app { --icon: 56px; } }

/* ---------- page (pushed screen) ---------- */
.page { max-width: 1100px; margin: 0 auto; padding: 0 16px; animation: push .32s cubic-bezier(.2, .8, .2, 1); }
.page.back { animation: pushback .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes push { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes pushback { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.navbar {
  position: sticky; top: var(--menubar); z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 0;
  margin: 8px -6px 0; padding: 6px 14px 6px 6px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--card); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
}
.backbtn {
  display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; color: var(--sea); font-size: 17px;
  cursor: pointer; padding: 6px 8px; border-radius: 10px; font-weight: 500;
}
.backbtn:hover { background: var(--card-hi); }
.backbtn svg { width: 22px; height: 22px; }
.navbar .crumb { color: var(--muted); font-size: 14px; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 20px; }
.page-head .app { pointer-events: none; }
.page-head .app .ico { --icon: 62px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 0; font-weight: 800; }
.page-head p { margin: 2px 0 0; color: var(--muted); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 16px;
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
}
.card h2 { font-size: 22px; margin-bottom: 10px; }
.card h3 { font-size: 17px; margin: 18px 0 6px; }
.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 10px; padding-left: 20px; }
.card li { margin: 4px 0; }
.lead { font-size: 18px; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 800px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 > .card { margin: 0; } .grid2 { margin-bottom: 16px; } }
.cover-img { border-radius: var(--radius); overflow: hidden; margin: 0 0 16px; position: relative; aspect-ratio: 16/7; max-height: 400px; width: 100%; background: var(--card-solid); }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cover-img .cap { position: absolute; left: 14px; bottom: 12px; background: rgba(0, 0, 0, .5); color: #fff; padding: 4px 10px; border-radius: 10px; font-size: 13px; backdrop-filter: blur(8px); }

/* key/value spec rows (iOS settings style) */
.rows { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card-hi); }
.row { display: flex; gap: 12px; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--muted); }
.row .v { text-align: right; font-weight: 500; }
.rows-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 4px 6px; font-weight: 700; }

/* list cells (navigation lists) */
.cells { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); margin-bottom: 16px; }
.cell {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text);
  cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; text-decoration: none !important;
}
.cell:last-child { border-bottom: 0; }
.cell:hover { background: var(--card-hi); }
.cell .ci { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.cell .ci svg { width: 18px; height: 18px; color: #fff; }
.cell .ct { flex: 1; min-width: 0; }
.cell .ct b { display: block; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.cell .ct small { color: var(--muted); font-size: 13px; }
.cell .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.cell .pill { font-size: 12px; color: var(--muted); background: var(--card-hi); padding: 2px 8px; border-radius: 10px; flex: none; }

/* accordion (manual dropdowns) */
details.acc { border-radius: 16px; border: 1px solid var(--line); background: var(--card); margin-bottom: 12px; overflow: hidden; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
details.acc > summary {
  list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 600; font-size: 16px;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary .chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
details.acc[open] > summary .chev { transform: rotate(90deg); }
details.acc > summary .ci { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
details.acc > summary .ci svg { width: 19px; height: 19px; color: #fff; }
details.acc > summary small { color: var(--muted); font-weight: 400; font-size: 13px; display: block; }
details.acc .acc-body { border-top: 1px solid var(--line); }
details.acc .sub { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 16px 4px; font-weight: 700; }
details.acc .cell { border-radius: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--sea-d); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none !important;
}
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: var(--card-hi); color: var(--text); border: 1px solid var(--line); }
.btn svg { width: 18px; height: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }

/* tags / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chip { font-size: 13px; padding: 5px 11px; border-radius: 20px; background: var(--card-hi); border: 1px solid var(--line); }
.chip.ok { background: rgba(76, 195, 138, .15); border-color: rgba(76, 195, 138, .4); color: var(--ok); }
.chip.warn { background: rgba(240, 181, 77, .14); border-color: rgba(240, 181, 77, .4); color: var(--gold); }
.chip.bad { background: rgba(239, 107, 91, .14); border-color: rgba(239, 107, 91, .4); color: var(--red); }

/* upgrades timeline cards */
.upg { display: grid; gap: 14px; }
@media (min-width: 760px) { .upg { grid-template-columns: 1fr 1fr; } }
.upg .card { margin: 0; display: flex; gap: 14px; align-items: flex-start; }
.upg .card .ci { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.upg .card .ci svg { width: 24px; height: 24px; color: #fff; }
.upg .card h3 { margin: 0 0 4px; font-size: 17px; }
.upg .card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* photo grids */
.album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .album-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .album-grid { grid-template-columns: repeat(4, 1fr); } }
.album {
  display: block; color: var(--text); text-decoration: none !important; cursor: pointer; border: 0; background: none; padding: 0; text-align: left;
}
.album .th { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--card-solid); box-shadow: var(--shadow); position: relative; }
.album .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.album:hover .th img { transform: scale(1.05); }
.album .th .tag { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 9px; display: flex; gap: 4px; align-items: center; backdrop-filter: blur(6px); }
.album .th .tag svg { width: 12px; height: 12px; }
.album b { display: block; margin-top: 8px; font-size: 15px; }
.album small { color: var(--muted); font-size: 13px; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
@media (min-width: 640px) { .photos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .photos { grid-template-columns: repeat(6, 1fr); } }
.photos button { aspect-ratio: 1; padding: 0; border: 0; cursor: zoom-in; background: var(--card-solid); overflow: hidden; position: relative; }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .3s; }
.photos button:hover img { transform: scale(1.06); }
.photos .pano-ico { position: absolute; left: 6px; top: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.sec-title { display: flex; align-items: baseline; gap: 10px; margin: 18px 4px 8px; }
.sec-title h2 { font-size: 20px; margin: 0; }
.sec-title small { color: var(--muted); }
.strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; margin: 6px 0 4px; }
.strip button { flex: none; width: 130px; height: 98px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; scroll-snap-align: start; background: var(--card-solid); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 100; background: #000; display: flex; flex-direction: column; animation: fade .2s; touch-action: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; color: #fff; gap: 10px; }
.lb-top .count { font-variant-numeric: tabular-nums; opacity: .8; font-size: 14px; }
.lb-top .title { font-weight: 600; flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn:hover { background: rgba(255, 255, 255, .26); }
.icon-btn svg { width: 20px; height: 20px; }
.lb-stage { flex: 1 1 auto; min-height: 0; position: relative; overflow: hidden; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 4px 8px; user-select: none; -webkit-user-drag: none; transition: transform .15s ease-out, opacity .2s; }
.lb-top, .lb-cap, .lb-thumbs { flex: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-cap { color: #fff; text-align: center; padding: 8px 16px 6px; min-height: 30px; font-size: 15px; }
.lb-thumbs { display: flex; gap: 4px; overflow-x: auto; padding: 6px 10px 14px; justify-content: safe center; }
.lb-thumbs button { flex: none; width: 54px; height: 54px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; opacity: .55; cursor: pointer; background: #111; }
.lb-thumbs button.on { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lb-nav { display: none; } }

/* ---------- video player ---------- */
.player { position: relative; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow); user-select: none; }
.player video { width: 100%; max-height: 72vh; display: block; background: #000; }
.player.portrait video { max-height: 78vh; }
.player .pv-big {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; display: grid; place-items: center;
  transition: opacity .2s, transform .2s;
}
.player .pv-big svg { width: 34px; height: 34px; margin-left: 4px; }
.player.playing .pv-big { opacity: 0; pointer-events: none; transform: scale(.8); }
.pv-bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  color: #fff; transition: opacity .25s; display: flex; flex-direction: column; gap: 6px;
}
.player.playing.idle .pv-bar { opacity: 0; }
.player.playing.idle { cursor: none; }
.pv-scrub { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; }
.pv-track { position: relative; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); width: 100%; overflow: hidden; transition: height .15s; }
.pv-scrub:hover .pv-track { height: 8px; }
.pv-buf, .pv-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.pv-buf { background: rgba(255, 255, 255, .35); }
.pv-fill { background: var(--sea); }
.pv-knob { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); left: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.pv-hover { position: absolute; bottom: 22px; transform: translateX(-50%); background: rgba(0, 0, 0, .8); padding: 2px 6px; border-radius: 6px; font-size: 12px; display: none; font-variant-numeric: tabular-nums; }
.pv-scrub:hover .pv-hover { display: block; }
.pv-row { display: flex; align-items: center; gap: 6px; }
.pv-row .icon-btn { width: 36px; height: 36px; background: transparent; }
.pv-row .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.pv-time { font-size: 13px; font-variant-numeric: tabular-nums; opacity: .9; margin-left: 4px; white-space: nowrap; }
.pv-row .sp { flex: 1; }
.pv-vol { width: 80px; accent-color: var(--sea); }
@media (max-width: 480px) { .js-b10, .js-f10, .js-pip { display: none !important; } .pv-row { gap: 2px; } }
@media (max-width: 560px) { .pv-vol { display: none; } }
.pv-speed { background: rgba(255, 255, 255, .14); border: 0; color: #fff; border-radius: 8px; padding: 4px 8px; font-size: 13px; cursor: pointer; }
.pv-toast { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .65); color: #fff; padding: 6px 12px; border-radius: 12px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.pv-toast.on { opacity: 1; }
.pv-help { font-size: 13px; color: var(--muted); margin: 10px 4px 0; }
.vid-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 14px 4px 18px; flex-wrap: wrap; }
.vid-title h2 { margin: 0; font-size: 22px; }
.vid-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .vid-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .vid-list { grid-template-columns: repeat(4, 1fr); } }
.vcard { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; color: var(--text); }
.vcard .th { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #000; position: relative; }
.vcard .th img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .3s; }
.vcard:hover .th img { transform: scale(1.05); }
.vcard .th .d { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.vcard .th .p { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; }
.vcard .th .p svg { width: 18px; height: 18px; margin-left: 2px; }
.vcard .th .b360 { position: absolute; left: 8px; top: 8px; background: var(--gold); color: #000; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.vcard.on .th { outline: 3px solid var(--sea); outline-offset: 2px; }
.vcard b { display: block; font-size: 14px; margin-top: 7px; }
.vcard small { color: var(--muted); font-size: 12.5px; }

/* audio */
.audio-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.audio-card audio { flex: 1; min-width: 240px; }

/* ---------- 360 viewer ---------- */
.pano { position: relative; height: min(70vh, 620px); border-radius: 20px; overflow: hidden; background: #000; cursor: grab; touch-action: none; box-shadow: var(--shadow); }
.pano:active { cursor: grabbing; }
.pano canvas { display: block; width: 100%; height: 100%; }
.pano .flat { position: absolute; inset: 0; background-repeat: repeat-x; background-size: auto 100%; }
.pano .hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; padding: 5px 12px; border-radius: 14px; pointer-events: none; transition: opacity .6s; backdrop-filter: blur(6px); white-space: nowrap; }
.pano .tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; z-index: 2; }
.pano .loading { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; }

/* ---------- survey ---------- */
.verdict { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 16px; }
@media (min-width: 800px) { .verdict { grid-template-columns: repeat(4, 1fr); } }
.verdict .card { margin: 0; text-align: center; padding: 16px 10px; }
.verdict b { display: block; font-size: 24px; font-family: var(--display); }
.verdict span { font-size: 12.5px; color: var(--muted); }
.find { counter-reset: f; list-style: none; padding: 0; margin: 0; }
.find li { counter-increment: f; position: relative; padding: 10px 0 10px 40px; border-bottom: 1px solid var(--line); font-size: 15px; }
.find li:last-child { border: 0; }
.find li::before {
  content: counter(f); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: var(--card-hi); border: 1px solid var(--line);
}
.find.A li::before { background: rgba(239, 107, 91, .18); color: var(--red); border-color: rgba(239, 107, 91, .4); }
.find.B li::before { background: rgba(240, 181, 77, .16); color: var(--gold); border-color: rgba(240, 181, 77, .4); }
.find li .chip { margin-left: 6px; font-size: 12px; padding: 2px 8px; }
.seg { display: inline-flex; background: var(--card-hi); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; margin: 0 0 14px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--card-solid); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.sysgrid { display: grid; gap: 14px; }
@media (min-width: 800px) { .sysgrid { grid-template-columns: 1fr 1fr; } }
.sysgrid .card { margin: 0; }
.sysgrid .card h3 { margin-top: 0; display: flex; gap: 8px; align-items: center; }
.note { font-size: 13.5px; color: var(--muted); }
.callout { border-left: 4px solid var(--gold); padding: 12px 16px; background: rgba(240, 181, 77, .08); border-radius: 0 14px 14px 0; margin: 0 0 16px; font-size: 14.5px; }

/* drawing viewer */
.dwg-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .dwg-grid { grid-template-columns: repeat(4, 1fr); } }
.dwg { border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: zoom-in; padding: 0; overflow: hidden; text-align: left; }
.dwg img { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: #fff; }
.dwg div { padding: 10px 12px; background: var(--card-solid); color: var(--text); }
.dwg b { display: block; font-size: 14px; } .dwg small { color: var(--muted); font-size: 12.5px; }
.zoomer { position: fixed; inset: 0; z-index: 110; background: #1b1f23; display: flex; flex-direction: column; animation: fade .2s; }
.zoomer .lb-top { background: #0e1114; }
.zoomer .zstage { flex: 1; overflow: hidden; position: relative; cursor: grab; touch-action: none; background: #fff; }
.zoomer .zstage img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; user-select: none; -webkit-user-drag: none; }
.zoomer .zbar { display: flex; gap: 8px; align-items: center; }
.zoomer .zpct { color: #fff; font-size: 13px; width: 48px; text-align: center; font-variant-numeric: tabular-nums; }

/* footer */
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 16px 20px; }
.foot a { color: var(--muted); text-decoration: underline; }

/* search */
.search { position: relative; margin: 0 0 16px; }
.search input {
  width: 100%; padding: 12px 14px 12px 40px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-hi);
  color: var(--text); font-size: 16px; outline: none;
}
.search input:focus { border-color: var(--sea); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }

/* sheet menu (mobile) */
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 90; animation: fade .2s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; max-height: 82vh; overflow: auto; background: var(--card-solid);
  border-radius: 22px 22px 0 0; padding: 8px 16px 30px; animation: up .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 6px auto 12px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (min-width: 900px) { body.in-page .dock { display: none; } body.in-page #view { padding-bottom: 40px; } }

/* 360 in lightbox + gyro */
.pano.fill { height: 100%; border-radius: 0; box-shadow: none; }
.lb-pano { position: absolute; inset: 0; display: none; }
.lb.is-pano .lb-pano { display: block; }
.lb.is-pano .lb-stage > img, .lb.is-pano .lb-nav { display: none; }
.lb-mode { border: 0; border-radius: 20px; padding: 8px 14px; background: var(--gold); color: #000; font-weight: 700; font-size: 13px; cursor: pointer; flex: none; min-height: 40px; }
.pano .tools .icon-btn.on { background: var(--sea); }
.pano .tools .icon-btn { width: 44px; height: 44px; }
@media (max-width: 640px) {
  .pano { height: 62vh; height: 62svh; border-radius: 16px; }
  .pano.fill { height: 100%; border-radius: 0; }
  .lb-top .title { font-size: 14px; }
  .lb-top { gap: 6px; padding: 10px; }
}

.photos.pano-grid { grid-template-columns: repeat(2, 1fr); }
.photos.pano-grid button { aspect-ratio: 2 / 1; }
@media (min-width: 640px) { .photos.pano-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .photos.pano-grid { grid-template-columns: repeat(4, 1fr); } }

/* 360 panos shown as a regular 3:2 photo you can spin */
.pano { height: auto; aspect-ratio: 3 / 2; width: 100%; max-height: 78vh; max-height: 78svh; background: #000 center / cover no-repeat; }
.lb-pano { place-items: center; padding: 6px; }
.lb.is-pano .lb-pano { display: grid; }
.pano.fill { width: min(100%, calc((100dvh - 170px) * 1.5)); max-height: 100%; aspect-ratio: 3 / 2; height: auto; border-radius: 14px; }
.pano .loading:empty { display: none; }
.pano .hint { white-space: normal; text-align: center; width: max-content; max-width: 90%; }
@media (max-width: 640px) {
  .pano { height: auto; border-radius: 14px; }
  .pano.fill { height: auto; border-radius: 12px; }
  .pano .hint { font-size: 12px; bottom: 8px; }
  .pano .tools { top: 8px; right: 8px; }
}
:fullscreen .pano, .pano:fullscreen { aspect-ratio: auto; max-height: none; width: 100%; height: 100%; border-radius: 0; }

/* CSS-3D cube pano */
.cube-pano { cursor: grab; touch-action: none; outline: none; }
.cube-pano:active { cursor: grabbing; }
.cube-cam { position: absolute; inset: 0; overflow: hidden; }
.cube { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.cube i { position: absolute; left: 0; top: 0; width: 82px; height: 82px; background-size: 1280px 1280px; transform-origin: 0 0 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cube-pano .tools, .cube-pano .hint { z-index: 3; }

/* phones held upright: show the pano as a portrait photo so it uses the screen */
@media (max-aspect-ratio: 1/1) {
  .pano.fill { aspect-ratio: 3 / 4; width: min(100%, calc((100dvh - 170px) * .75)); }
}
@media (max-width: 640px) { .cube-pano:not(.fill) { aspect-ratio: 4 / 3; } }

/* hero that must show the whole subject (About page yacht) — frame matches the photo, no cropping */
.cover-img.fit { aspect-ratio: 1360 / 590; max-height: none; }
.cover-img.fit img { object-fit: contain; }

/* ---------- inquiries ---------- */
.inq-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; white-space: nowrap;
  background: var(--gold); color: #1a1200 !important; font-weight: 700; font-size: 13px; text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(240, 181, 77, .35); flex: none; min-height: 34px;
}
.inq-pill svg { width: 16px; height: 16px; }
.inq-pill:hover { filter: brightness(1.06); }
.mb-inq { margin-left: 8px; }
.statusrow .inq-pill { text-shadow: none; }
.navbar .crumb { flex: 1; text-align: right; }
.navbar .inq-pill { margin-left: 10px; }
@media (max-width: 899px) { .navbar .crumb { display: none; } .navbar .inq-pill { margin-left: auto; } }
@media (min-width: 900px) { .navbar .inq-pill { display: none; } }   /* desktop: it's already on the menu bar */
.inq-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .inq-grid { grid-template-columns: 1fr 1fr; align-items: start; } .inq-grid > .card { margin: 0; } }
.inq-pitch { overflow: hidden; }
.fld { display: block; margin: 0 0 12px; }
.fld span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 5px; }
.fld b { color: var(--red); }
.fld input, .fld textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-hi);
  color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s;
}
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld textarea:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(47, 179, 198, .2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-send { width: 100%; justify-content: center; padding: 14px; font-size: 16px; background: var(--gold); color: #1a1200; }
.inq-send:disabled { opacity: .6; cursor: default; }
.inq-msg { margin-top: 12px; font-size: 15px; font-weight: 500; }
.inq-msg.ok { color: var(--ok); }
.inq-msg.bad { color: var(--red); }
.inq-pitch .mini-list li { padding: 6px 0; }

.inq-hero { margin: -20px -22px 16px; width: calc(100% + 44px); border-radius: var(--radius) var(--radius) 0 0; }
/* phones: keep the Inquire pill on screen while scrolling the home screen */
@media (max-width: 899px) {
  body:not(.in-page) .statusrow { position: sticky; top: 0; z-index: 35; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 8px; margin: 0 -16px; padding-left: 20px; padding-right: 16px; }
  body:not(.in-page) .statusrow .js-clock { opacity: 0; }
}
@media (max-width: 559px) {
  .widget:not(.bio) .stat-grid { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}

/* ---------- sale listing ---------- */
.sale-banner {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 14px; padding: 10px 14px 10px 10px;
  border-radius: 18px; background: rgba(7, 21, 33, .55); border: 1px solid rgba(255, 255, 255, .18); color: #fff !important;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); max-width: 100%;
}
.sale-banner .sb-tag { background: var(--ok); color: #04210f; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 10px; }
.sale-banner b { font-size: 24px; font-family: var(--display); letter-spacing: -.02em; }
.sale-banner .sb-loc { font-size: 14px; opacity: .85; }
.sale-banner .sb-go { display: inline-flex; align-items: center; gap: 2px; background: var(--gold); color: #1a1200; font-weight: 700; font-size: 14px; padding: 6px 8px 6px 12px; border-radius: 12px; margin-left: auto; }
.sale-banner .sb-go svg { width: 16px; height: 16px; }
.sale-banner:hover .sb-go { filter: brightness(1.07); }
@media (max-width: 480px) { .sale-banner { display: flex; } .sale-banner b { font-size: 21px; } .sale-banner .sb-loc { order: 3; width: 100%; } }
.price-row { display: flex; align-items: center; gap: 12px; }
.price-row .price { font-size: 30px; font-weight: 800; font-family: var(--display); letter-spacing: -.02em; }
.inq-pitch .rows .v a { font-weight: 600; }
.yt-card { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #111; margin: 0 0 14px; aspect-ratio: 16 / 9; }
.yt-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .3s; }
.yt-card:hover img { transform: scale(1.04); }
.yt-card.noimg { aspect-ratio: auto; min-height: 120px; background: linear-gradient(135deg, #c4302b, #6b0f0c); }
.yt-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 44px; border-radius: 12px; background: #e62117; display: grid; place-items: center; color: #fff; }
.yt-play svg { width: 22px; height: 22px; margin-left: 3px; }
.yt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; text-align: left; }
.yt-cap b { display: block; font-size: 15px; } .yt-cap small { opacity: .8; font-size: 12.5px; }
fieldset.fld { border: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.fld > span { width: 100%; }
.chk { position: relative; cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk i { display: inline-block; font-style: normal; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card-hi); min-height: 40px; }
.chk input:checked + i { background: var(--sea-d); border-color: var(--sea-d); color: #fff; }
.chk input:focus-visible + i { outline: 2px solid var(--sea); outline-offset: 2px; }

.yt-card { aspect-ratio: auto; }
.yt-card img { aspect-ratio: 16 / 9; height: auto; display: block; }
.yt-play { top: calc((100% - 52px) / 2); }
.yt-cap { position: static; padding: 10px 14px; background: #0d1a24; }

.yt-cap { display: block; line-height: 1.35; }
@media (min-width: 860px) { .js-toform { display: none; } }

/* ---------- live weather chip ---------- */
.wx { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 16px; color: var(--text) !important; text-decoration: none !important; font-size: 13px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wx:hover { background: var(--card-hi); }
.wx-i { font-size: 15px; line-height: 1; }
.wx-w { color: var(--muted); font-weight: 500; }
.menubar .wx { margin-right: 4px; }
.statusrow .sr-left { display: inline-flex; align-items: center; gap: 4px; }
.statusrow .wx { color: #fff !important; background: rgba(7, 21, 33, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px 10px; min-height: 34px; }
.statusrow .wx .wx-w { color: rgba(255, 255, 255, .8); }
@media (max-width: 899px) { body:not(.in-page) .statusrow .js-clock { display: none; } }
@media (max-width: 380px) { .statusrow .wx .wx-w { display: none; } }

/* crawlable site map (static pages) */
.sitemap { max-width: 1100px; margin: 0 auto; padding: 10px 16px 120px; font-size: 13px; color: var(--muted); line-height: 2; }
.sitemap b { color: var(--text); margin-right: 6px; }
.sitemap a { color: var(--muted); }
.sitemap a:hover { color: var(--sea); }
@media (min-width: 900px) { .sitemap { padding-bottom: 30px; } }
/* desktop: the site map lives in the header (Site map menu); footer copy stays in the page for search engines only */
@media (min-width: 900px) { .sitemap { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } }
.mb-menu.smap { display: none; min-width: 460px; }
.mb-item.open .mb-menu.smap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; }
.mb-menu.smap a { padding: 7px 10px; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 96px; z-index: 45; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card-solid); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .2s, transform .2s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.on { opacity: .95; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sea-d); color: #fff; border-color: var(--sea-d); }
@media (min-width: 900px) { body.in-page .to-top { bottom: 28px; right: 28px; } }
@media (min-width: 900px) { body:not(.in-page) .to-top { bottom: 28px; right: 28px; } }

/* ======================= Skipper — site assistant ======================= */
.sk { position: fixed; right: 16px; bottom: 96px; z-index: 60; font-family: var(--font); }
@media (min-width: 900px) { body.in-page .sk { bottom: 24px; right: 24px; } body:not(.in-page) .sk { bottom: 24px; right: 24px; } }
.to-top { bottom: 164px; }
@media (min-width: 900px) { body.in-page .to-top, body:not(.in-page) .to-top { bottom: 96px; right: 30px; } }
.sk-fab {
  display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 5px; border-radius: 32px; position: relative;
  background: var(--card-solid); color: var(--text); box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 1px var(--line);
  transition: transform .18s ease, box-shadow .18s;
}
.sk-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .32), 0 0 0 2px var(--gold); }
.sk-ava { width: 46px; height: 46px; display: block; flex: none; }
.sk-ava svg { width: 100%; height: 100%; display: block; }
.sk-ava.sm { width: 38px; height: 38px; }
.sk-fab-lbl { font-weight: 700; font-size: 14px; padding-right: 10px; display: none; }
@media (min-width: 700px) { .sk-fab-lbl { display: inline; } }
.sk-dot { position: absolute; top: 4px; left: 38px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid var(--card-solid); }
.sk.open .sk-fab { opacity: 0; pointer-events: none; transform: scale(.8); }
@media (max-width: 699px) { body.in-page .sk:not(.open) .sk-fab { opacity: .92; } }

.sk-hello {
  position: absolute; right: 0; bottom: 66px; width: 250px; padding: 12px 34px 12px 14px; border-radius: 16px 16px 4px 16px; cursor: pointer;
  background: var(--card-solid); color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.4;
  animation: pop .25s ease-out;
}
.sk-hello b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.sk-hello-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--card-hi); color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }

.sk-panel {
  position: fixed; right: 24px; bottom: 24px; width: 400px; height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column;
  background: var(--card-solid); color: var(--text); border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4); animation: skIn .22s cubic-bezier(.2, .8, .2, 1);
}
.sk-panel[hidden] { display: none; }
@keyframes skIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 699px) {
  .sk-panel { left: 0; right: 0; bottom: 0; width: auto; height: 88vh; height: 88dvh; border-radius: 22px 22px 0 0; border-bottom: 0; animation: up .28s cubic-bezier(.2, .8, .2, 1); }
}
.sk-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(240, 181, 77, .16), transparent 60%); }
.sk-head b { display: block; font-size: 16px; }
.sk-head small { color: var(--muted); font-size: 12.5px; }
.sk-head > div { flex: 1; min-width: 0; }
.sk-icon { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card-hi); color: var(--text); cursor: pointer; font-size: 16px; flex: none; }
.sk-icon:hover { background: var(--line); }
.sk-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.sk-msg { max-width: 88%; padding: 10px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.sk-msg p { margin: 0 0 6px; } .sk-msg p:last-child { margin: 0; }
.sk-msg ul { margin: 4px 0 6px; padding-left: 18px; } .sk-msg li { margin: 3px 0; }
.sk-msg.bot { align-self: flex-start; background: var(--card-hi); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.sk-msg.me { align-self: flex-end; background: var(--sea-d); color: #fff; border-bottom-right-radius: 6px; }
.sk-link { font-weight: 600; color: var(--sea); text-decoration: underline; text-underline-offset: 2px; }
.sk-link.doc::before { content: "📄 "; text-decoration: none; display: inline-block; }
.sk-link.ext::after { content: " ↗"; }
.sk-typing { display: flex; gap: 4px; padding: 14px; }
.sk-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: skDot 1s infinite; }
.sk-typing span:nth-child(2) { animation-delay: .15s; } .sk-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes skDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.sk-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; flex: none; scrollbar-width: none; }
.sk-chips:empty { display: none; }
.sk-chips::-webkit-scrollbar { display: none; }
.sk-chips button { flex: none; border: 1px solid var(--line); background: var(--card-hi); color: var(--text); border-radius: 18px; padding: 8px 12px; font-size: 13.5px; cursor: pointer; white-space: nowrap; min-height: 38px; }
.sk-chips button:hover { border-color: var(--sea); }
@media (min-width: 700px) { .sk-chips { flex-wrap: wrap; overflow: visible; } }
.sk-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); flex: none; }
.sk-form textarea { flex: 1; resize: none; border: 1px solid var(--line); background: var(--card-hi); color: var(--text); border-radius: 18px; padding: 11px 14px; font: inherit; font-size: 16px; line-height: 1.35; outline: none; max-height: 120px; }
.sk-form textarea:focus { border-color: var(--sea); }
.sk-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: #1a1200; cursor: pointer; display: grid; place-items: center; flex: none; }
.sk-send svg { width: 20px; height: 20px; }
.sk-foot { font-size: 12px; color: var(--muted); text-align: center; padding: 0 12px 10px; flex: none; }
@media (max-width: 699px) { .sk-foot { padding-bottom: max(10px, env(safe-area-inset-bottom)); } }
.sk-foot a { color: var(--muted); text-decoration: underline; }
.sk-card { max-width: 100%; width: 100%; }
.sk-contact { display: grid; gap: 8px; }
.sk-contact input:not(.hp) { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-solid); color: var(--text); font: inherit; font-size: 16px; }
.sk-contact .hp { position: absolute; left: -9999px; }
.sk-row { display: flex; gap: 8px; }
.sk-btn { flex: 1; border: 0; border-radius: 12px; padding: 11px; font-weight: 700; cursor: pointer; background: var(--gold); color: #1a1200; font-size: 14px; }
.sk-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); flex: none; padding: 11px 14px; }
.sk-note { color: var(--red); font-size: 13px; min-height: 1em; }
/* keep Skipper out of the way of full-screen viewers */
body:has(.lb) .sk, body:has(.zoomer) .sk { display: none; }

/* ---------- admin-driven content ---------- */
.ico.img { background: #0d2131; }
.ico.img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 0; }
.ico.img::after { z-index: 1; }
.owner-intro p { margin: 0 0 10px; } .owner-intro p:last-child { margin: 0; }
.alb-ico { position: absolute; left: 8px; top: 8px; width: 40px !important; height: 40px !important; border-radius: 22.5%; box-shadow: 0 3px 10px rgba(0,0,0,.4); object-fit: cover; }
.lb-cap b { display: block; }
.lb-desc { display: block; font-size: 14px; opacity: .8; max-width: 760px; margin: 2px auto 0; max-height: 4.5em; overflow-y: auto; }
.vid-desc { margin-top: -6px; }

/* ======================= Owner's Log (blog) & community ======================= */
.acct-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--text) !important; text-decoration: none !important; white-space: nowrap; }
.acct-chip svg { width: 16px; height: 16px; }
.acct-chip:hover { background: var(--card-hi); }
.acct-chip.in { background: var(--card-hi); }
.b-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .b-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .b-grid:not(.sm) { grid-template-columns: 1fr 1fr 1fr; } .b-grid.sm { grid-template-columns: 1fr 1fr 1fr; } }
.b-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none !important;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform .2s; }
.b-card:hover { transform: translateY(-3px); }
.b-th { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--card-solid); }
.b-th img { width: 100%; height: 100%; object-fit: cover; }
.b-in { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.b-in b { font-size: 18px; line-height: 1.25; font-family: var(--display); letter-spacing: -.01em; }
.b-in > span { color: var(--muted); font-size: 14.5px; }
.b-in .note { display: inline-flex; align-items: center; gap: 4px; } .b-in .note svg { width: 14px; height: 14px; }
.b-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea) !important; text-decoration: none !important; }
.b-cats { margin: 0 0 14px; } .b-cats .chip { text-decoration: none !important; color: var(--text); } .b-cats .chip.on { background: var(--sea-d); border-color: var(--sea-d); color: #fff; }
.b-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.b-cta > div:not(.btns) { flex: 1; min-width: 200px; } .b-cta b { display: block; } .b-cta span { color: var(--muted); font-size: 14.5px; }
.b-cta .btns { margin: 0; } .b-cta.small { padding: 14px 16px; } .b-cta.small > span { flex: 1; color: var(--text); }
.b-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(160deg, #2de0b3, #0a8f7a); flex: none; }
.b-ico svg { width: 24px; height: 24px; color: #fff; }
.b-warn { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-color: rgba(240, 181, 77, .5); background: rgba(240, 181, 77, .12); }
.b-warn span { flex: 1; min-width: 200px; }
.post { max-width: 780px; margin: 0 auto; }
.post h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; margin: 6px 0 6px; }
.post-meta { color: var(--muted); margin: 0 0 16px; }
.post-body { font-size: 17px; line-height: 1.65; }
.post-body h2 { font-size: 22px; margin: 22px 0 8px; } .post-body h3 { font-size: 18px; margin: 18px 0 6px; }
.post-body ul { padding-left: 22px; } .post-body li { margin: 6px 0; }
.post-body figure { margin: 18px -6px; } .post-body figure img { width: 100%; border-radius: 14px; }
.post-body figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.post-body img { border-radius: 12px; max-width: 100%; height: auto; }
.b-sec { border-radius: 16px; border: 1px solid var(--line); background: var(--card); margin: 0 0 14px; }
.b-pn { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 26px; font-size: 14.5px; }
.b-pn a { max-width: 48%; }
.b-comments { max-width: 780px; margin: 0 auto; }
.b-comments h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; } .b-comments h2 svg { width: 22px; height: 22px; } .b-comments h2 small { color: var(--muted); font-weight: 500; }
.cm { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.cm.hl { animation: hl 2.4s ease-out; border-radius: 12px; }
@keyframes hl { 0%, 30% { background: rgba(240, 181, 77, .25); } 100% { background: transparent; } }
.cm.pending { opacity: .75; }
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(160deg, #46d6d0, #0f7f95); }
.cm-b { flex: 1; min-width: 0; }
.cm-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cm-h small { color: var(--muted); font-size: 13px; }
.cm-h .boat { font-size: 12.5px; color: var(--sea); background: rgba(47, 179, 198, .12); padding: 1px 8px; border-radius: 10px; }
.cm-h .tag { font-size: 12px; background: var(--gold); color: #1a1200; padding: 1px 8px; border-radius: 8px; }
.cm-t { margin: 4px 0 6px; overflow-wrap: anywhere; line-height: 1.55; }
.cm-a { display: flex; gap: 4px; } .cm-a button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 8px; min-height: 34px; }
.cm-a button:hover { background: var(--card-hi); color: var(--text); }
.cm-kids { margin-left: 52px; border-left: 2px solid var(--line); padding-left: 14px; }
.cm-kids .cm { padding: 12px 0; } .cm-kids .av { width: 34px; height: 34px; font-size: 12.5px; }
@media (max-width: 560px) { .cm-kids { margin-left: 14px; padding-left: 12px; } }
.cm-form { margin: 16px 0 6px; } .cm-form textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-hi); color: var(--text); font: inherit; font-size: 16px; resize: vertical; }
.cm-form textarea:focus { outline: none; border-color: var(--sea); }
.cm-fb { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.cm-form .hp, .b-modal .hp { position: absolute; left: -9999px; }
.b-modal-bg { display: grid; place-items: center; padding: 16px; z-index: 95; }
.b-modal { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--card-solid); color: var(--text); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); animation: pop .2s ease-out; }
.b-modal .b-x { position: absolute; right: 12px; top: 12px; background: var(--card-hi); color: var(--text); }
.b-modal h2 { margin: 0 0 6px; padding-right: 40px; }
.b-switch { text-align: center; margin: 12px 0 0; }
.chk-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 14px; } .chk-row input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
@media (max-width: 560px) { .b-modal-bg { place-items: end stretch; padding: 0; } .b-modal { width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: max(24px, env(safe-area-inset-bottom)); } }
.b-note { position: fixed; left: 50%; top: 16px; transform: translate(-50%, -160%); z-index: 120; background: #0d2131; color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); transition: transform .25s; max-width: calc(100% - 24px); font-size: 15px; }
.b-note.on { transform: translate(-50%, 0); } .b-note.bad { background: var(--red); }

.nav-acct { margin-left: 6px; } @media (min-width: 900px) { .nav-acct { display: none; } }
@media (max-width: 899px) { .navbar:has(.nav-acct) .inq-pill { margin-left: 6px; } .navbar .nav-acct { margin-left: auto; } }
