/* CruiseSearch.hk — "Pier board": white boards on sea-mist paper, navy ink, harbour teal for structure,
   funnel orange only on what you press to book. Light only. */
@font-face { font-family: Outfit; src: url(/assets/outfit.woff2) format('woff2'); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20AC; }
:root {
  color-scheme: light;
  --paper: #f2f6f8; --card: #fff; --ink: #0b2233; --mut: #55677a; --line: #dbe4ea; --line2: #c5d2db;
  --teal: #00707c; --teal-d: #005862; --teal-s: #e2f1f2; --sea: #d5ebee;
  --go: #f0531c; --go-d: #d2420f; --go-s: #fff0e9;
  --ok: #17794b; --ok-s: #e4f4ec; --warn-s: #fff5d9; --warn: #8a5a00;
  --r: 14px; --r-s: 9px; --wrap: 1140px;
  --sans: Outfit, "PingFang HK", "PingFang TC", "Noto Sans HK", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); font-variant-numeric: tabular-nums; }
body[data-lang=en] { line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--go-d); }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.7rem); font-weight: 750; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--mut); }
.fine { font-size: .82rem; color: var(--mut); margin: .9em 0 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-size: 1.14rem; }
.brand svg { width: 26px; height: 26px; color: var(--teal); }
.brand b { font-weight: 750; letter-spacing: -.02em; } .brand i { font-style: normal; color: var(--teal); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { padding: 8px 11px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--teal-s); color: var(--teal-d); }
.nav a[aria-current] { color: var(--teal-d); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 8px 8px 0 0; }
.nav .lang { margin-left: 6px; border: 1px solid var(--line2); font-size: .84rem; padding: 5px 10px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line2); border-radius: 10px; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ''; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .lang { margin: 12px 0 0; text-align: center; border-radius: 8px; }
}

/* hero */
.hero { position: relative; background: linear-gradient(180deg, #e3f1f3 0%, #eef6f7 60%, var(--paper) 100%); padding: 22px 0 46px; overflow: hidden; }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 26px; fill: var(--paper); }
.crumbs { font-size: .84rem; color: var(--mut); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--mut); text-decoration: none; } .crumbs a:hover { color: var(--teal-d); text-decoration: underline; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.hero-solo .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.lead { font-size: 1.1rem; color: #26404f; margin: 12px 0 0; max-width: 40em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.chips li { background: #fff; border: 1px solid var(--line2); border-radius: 99px; padding: 4px 13px; font-size: .88rem; font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 22px; } .hero { padding: 16px 0 38px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 11px; border: 2px solid transparent; font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; transition: background .12s, transform .12s; }
.btn-trip { background: var(--go); color: #fff; box-shadow: 0 2px 0 var(--go-d); }
.btn-trip:hover { background: var(--go-d); color: #fff; transform: translateY(-1px); }
.btn-klook, .btn-line { background: #fff; color: var(--go-d); border-color: var(--go); }
.btn-klook:hover, .btn-line:hover { background: var(--go-s); color: var(--go-d); }
.btn-ghost { background: #fff; color: var(--teal-d); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-s); color: var(--teal-d); }
.btn-block { width: 100%; }
.cta-line { margin: 1.2em 0; }
.lnk { font-weight: 600; font-size: .92rem; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 10px 30px -18px rgba(11,34,51,.35); }
.next h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-d); margin-bottom: 6px; }
.next ol { list-style: none; margin: 0; padding: 0; }
.next li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-bottom: 1px dashed var(--line2); text-decoration: none; color: var(--ink); }
.next li a:hover .p { background: var(--go); color: #fff; }
.next .d { font-weight: 700; } .next .r { grid-column: 1; font-size: .88rem; color: var(--mut); }
.next .p { grid-row: 1 / span 2; grid-column: 2; align-self: center; background: var(--go-s); color: var(--go-d); font-weight: 700; padding: 6px 11px; border-radius: 9px; font-size: .92rem; white-space: nowrap; }
.next .all { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .9rem; }

/* pictures */
.pic { margin: 0; } .pic img { border-radius: var(--r); width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.pic figcaption { font-size: .72rem; color: var(--mut); margin-top: 5px; } .pic figcaption a { color: inherit; }
.ph { display: grid; place-items: center; background: linear-gradient(160deg, var(--sea), #eaf5f6); color: #7fb0b7; border-radius: var(--r); }
.pic.ph { aspect-ratio: 3 / 2; } .pic.ph svg { width: 46%; }
.th { width: 104px; height: 78px; border-radius: 10px; object-fit: cover; flex: none; } .th.ph svg { width: 62%; }
.prose .pic { margin: 1.4em 0; }

/* bands */
.band { padding: 26px 0 6px; } .band > .wrap > h2 { margin-bottom: 14px; }
.band + .band { padding-top: 14px; }

/* month strip */
.months { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 10px; margin-bottom: 14px; }
.months h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); font-weight: 600; }
.months ol { list-style: none; display: grid; grid-template-columns: repeat(14, minmax(46px, 1fr)); gap: 4px; margin: 8px 0 0; padding: 0; overflow-x: auto; }
.months button { width: 100%; background: none; border: 0; padding: 0 0 2px; cursor: pointer; font: inherit; color: var(--ink); display: grid; grid-template-rows: 46px auto auto; justify-items: center; border-radius: 8px; }
.months button:hover:not(:disabled), .months button[aria-pressed=true] { background: var(--teal-s); }
.months .bar { align-self: end; width: 62%; height: max(4px, var(--h)); background: var(--teal); border-radius: 5px 5px 2px 2px; }
.months .zero .bar { background: var(--line2); height: 4px; } .months .zero b { color: var(--mut); font-weight: 500; font-size: .72rem; } .months button:disabled { cursor: default; }
.months b { font-size: .86rem; } .months i { font-style: normal; font-size: .76rem; color: var(--mut); position: relative; } .months em { font-style: normal; display: block; font-size: .66rem; color: var(--teal-d); font-weight: 700; line-height: 1; }
.months button[aria-pressed=true] .bar { background: var(--go); }

/* finder */
.dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; background: var(--ink); border-radius: var(--r) var(--r) 0 0; padding: 14px 16px; }
.dock label span { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #a9c6d4; margin-bottom: 4px; }
.dock select { width: 100%; min-height: 44px; border-radius: 9px; border: 0; padding: 0 12px; font: 600 .98rem var(--sans); color: var(--ink); background: #fff; }
.dock output { color: #fff; font-weight: 700; white-space: nowrap; padding: 0 4px 11px; }
@media (max-width: 760px) { .dock { grid-template-columns: 1fr 1fr; } .dock output { grid-column: 1 / -1; padding: 0; } }
.sails { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.dock + .sails { border-radius: 0 0 var(--r) var(--r); border-top: 0; }
.sail { display: grid; grid-template-columns: 62px 104px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sail:last-child { border-bottom: 0; } .sail[hidden] { display: none; }
.sail:hover { background: #fafcfd; }
.sail-date { text-align: center; border: 1px solid var(--line2); border-radius: 11px; overflow: hidden; background: #fff; }
.sail-date span { display: block; background: var(--teal); color: #fff; font-size: .74rem; font-weight: 700; padding: 1px 0; }
.sail-date b { display: block; font-size: 1.5rem; line-height: 1.25; } .sail-date i { display: block; font-style: normal; font-size: .72rem; color: var(--mut); padding-bottom: 3px; }
.sail-main h3 a { color: var(--ink); text-decoration: none; } .sail-main h3 a:hover { color: var(--teal-d); text-decoration: underline; }
.nights { display: inline-block; margin-left: 6px; background: var(--teal-s); color: var(--teal-d); border-radius: 6px; padding: 1px 8px; font-size: .8rem; font-weight: 700; vertical-align: 2px; }
.thread { display: flex; flex-wrap: wrap; align-items: center; margin: 5px 0 3px; font-size: .92rem; font-weight: 500; row-gap: 2px; }
.thread span { position: relative; padding-left: 13px; } .thread span::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--teal); background: #fff; }
.thread i { width: 18px; height: 0; border-top: 2px dotted var(--line2); margin: 0 5px; }
.sail-meta { margin: 0; font-size: .82rem; color: var(--mut); }
.sail-buy { text-align: right; display: grid; gap: 3px; justify-items: end; min-width: 168px; }
.from { font-size: .9rem; color: var(--mut); } .from b { font-size: 1.28rem; color: var(--ink); font-weight: 750; }
.sail-buy small { font-size: .7rem; color: var(--mut); max-width: 200px; line-height: 1.35; }
.sail-buy .btn { min-height: 40px; padding: 7px 14px; font-size: .92rem; margin-top: 4px; }
@media (max-width: 760px) {
  .sail { grid-template-columns: 54px minmax(0, 1fr); gap: 10px 12px; padding: 13px 12px; }
  .sail > .th { display: none; }
  .sail-buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; text-align: left; justify-items: start; align-items: center; min-width: 0; }
  .sail-buy small { grid-column: 1; grid-row: 2; max-width: none; } .sail-buy .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.more { display: block; width: 100%; margin-top: 10px; min-height: 46px; border: 1px dashed var(--line2); border-radius: var(--r); background: #fff; font: 600 .96rem var(--sans); color: var(--teal-d); cursor: pointer; }
.more:hover { border-color: var(--teal); background: var(--teal-s); }
.empty { background: var(--card); border: 1px dashed var(--line2); border-radius: var(--r); padding: 18px; color: var(--mut); margin: 0; }

/* ship plate */
.plate { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0; }
.plate div { background: var(--card); padding: 12px 14px; box-shadow: 0 0 0 .5px var(--line); } .plate dt { font-size: .76rem; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; } .plate dd { margin: 2px 0 0; font-weight: 700; font-size: 1.08rem; }
.src { font-size: .68rem; font-weight: 500; color: var(--mut); text-decoration: none; border: 1px solid var(--line2); border-radius: 5px; padding: 0 5px; margin-left: 4px; white-space: nowrap; vertical-align: 1px; }
.src:hover { border-color: var(--teal); color: var(--teal-d); }

/* cabins, venues */
.cabins { list-style: none; padding: 0; margin: 1.2em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cab { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--r-s); padding: 13px 14px; }
.cab-inside { border-top-color: #7b8c99; } .cab-oceanview { border-top-color: #2a86c5; } .cab-balcony { border-top-color: var(--teal); } .cab-suite { border-top-color: #b8862f; }
.tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mut); font-weight: 700; } .cab h3 { margin: 2px 0; } .cab-meta { font-size: .84rem; color: var(--teal-d); font-weight: 600; margin: 0 0 6px; } .cab p:last-child { margin: 0; font-size: .9rem; }
.venues { list-style: none; padding: 0; margin: 1.2em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.venues li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 11px 13px; } .venues p { margin: 4px 0 0; font-size: .9rem; color: #2c4352; }
.inc, .paid { float: right; font-size: .7rem; font-weight: 700; border-radius: 5px; padding: 1px 7px; margin-left: 8px; } .inc { background: var(--ok-s); color: var(--ok); } .paid { background: var(--warn-s); color: var(--warn); } .inc:empty { display: none; }

/* policies, transport */
.policies, .sellers dl, .cmp dl { margin: 1.2em 0; }
.policies div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); } .policies dt { font-weight: 650; color: var(--teal-d); } .policies dd { margin: 0; }
@media (max-width: 600px) { .policies div { grid-template-columns: 1fr; gap: 2px; } }
.transport h3 { margin: 18px 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.transport h3:first-child { margin-top: 0; }
.ways { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.ways li { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; } .ways .ic { font-size: 1.4rem; line-height: 1.2; } .ways p { margin: 3px 0 0; font-size: .92rem; color: #2c4352; }

/* compare */
.compare { margin: 1.4em 0; } .cmp-h { margin-bottom: 10px; }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.cmp { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 4px; align-content: start; }
.cmp h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-d); } .big { font-size: 1.7rem; font-weight: 750; line-height: 1.2; } .cmp small { color: var(--mut); font-size: .8rem; }
.cmp dl div { padding: 7px 0; border-top: 1px dashed var(--line2); } .cmp dt { font-size: .74rem; color: var(--mut); } .cmp dd { margin: 0; font-size: .92rem; } .cmp .btn { margin-top: 6px; }

/* calculator */
.cost { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 1.4em 0; }
.cost-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.cost label span { display: block; font-size: .8rem; color: var(--mut); margin-bottom: 3px; } .cost input, .cost select { width: 100%; min-height: 44px; border: 1px solid var(--line2); border-radius: 9px; padding: 0 12px; font: 600 1rem var(--sans); color: var(--ink); background: #fff; }
.cost-out { margin-top: 16px; background: var(--paper); border-radius: var(--r-s); padding: 14px; }
.cost-out .bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--line); } .bar i[data-b=fare] { background: var(--teal); } .bar i[data-b=port] { background: #2a86c5; } .bar i[data-b=grat] { background: var(--go); }
.cost-out dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 0; } .cost-out dt { font-size: .76rem; color: var(--mut); } .cost-out dd { margin: 0; font-weight: 750; font-size: 1.25rem; }

/* tiles, harbour, sellers */
.tiles { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tiles a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 2px 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; text-decoration: none; color: var(--ink); height: 100%; }
.tiles a:hover { border-color: var(--teal); box-shadow: 0 8px 22px -16px rgba(0,112,124,.7); } .tiles .th { width: 84px; height: 64px; grid-row: 1 / span 2; } .tiles b { align-self: end; line-height: 1.3; } .tiles span:not(.th) { font-size: .82rem; color: var(--mut); align-self: start; line-height: 1.35; }
.harbour { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.hb { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; } .hb .from { margin: 2px 0 8px; } .hb .from small { font-size: .72rem; } .hb-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .hb .btn { min-height: 40px; padding: 7px 14px; font-size: .92rem; }
.sellers { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 12px; } .sellers li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.sellers dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line2); font-size: .93rem; } .sellers dt { color: var(--mut); } .sellers dd { margin: 0; }

/* prose */
.prose { padding: 30px 0 8px; } .prose h2 { margin: 1.7em 0 .55em; padding-top: .2em; } .prose h2:first-child { margin-top: 0; } .prose h3 { margin: 1.3em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose li { margin: .25em 0; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: 22px; font-size: .88rem; } .toc b { color: var(--mut); font-weight: 600; margin-right: 4px; }
.toc a { background: #fff; border: 1px solid var(--line2); border-radius: 99px; padding: 3px 12px; text-decoration: none; color: var(--ink); } .toc a:hover { border-color: var(--teal); color: var(--teal-d); }
.note { background: var(--warn-s); border-left: 4px solid #e0a100; border-radius: 0 var(--r-s) var(--r-s) 0; padding: 12px 16px; margin: 1.2em 0; } .note p:last-child { margin: 0; }
.tbl { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; } th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } thead th { background: #edf3f6; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); white-space: nowrap; } tbody tr:last-child > * { border-bottom: 0; } tbody th { font-weight: 650; white-space: nowrap; }
@media (max-width: 640px) { table.docs thead { display: none; } table.docs tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); } table.docs th, table.docs td { display: block; border: 0; padding: 3px 12px; } table.docs td::before { content: attr(data-th) '：'; color: var(--mut); font-size: .8rem; } }

/* faq, tail, footer */
.faq { padding: 22px 0 6px; } .faq h2 { margin-bottom: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); margin-bottom: 8px; } summary { cursor: pointer; padding: 13px 16px; font-weight: 650; list-style: none; position: relative; padding-right: 42px; } summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 16px; top: 9px; font-size: 1.4rem; color: var(--teal); font-weight: 400; } details[open] summary::after { content: '–'; }
details > :not(summary) { margin: 0 16px 12px; } .sources ul { padding-left: 1.2em; font-size: .88rem; }
.tail { padding: 14px 0 34px; }
footer { background: var(--ink); color: #c9d8e2; padding: 30px 0 34px; font-size: .88rem; } footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; } footer b { color: #fff; } footer a { color: #fff; }
footer nav { display: grid; gap: 8px; align-content: start; justify-items: start; } @media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; gap: 16px; } }
.sticky { display: none; }
@media (max-width: 760px) {
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .2s; }
  .sticky.on { transform: none; } .has-sticky footer { padding-bottom: 96px; }
}

/* chat */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 99px; padding: 12px 18px 12px 14px; font: 650 .95rem var(--sans); cursor: pointer; box-shadow: 0 10px 26px -10px rgba(11,34,51,.7); }
.chat-fab svg { width: 22px; height: 22px; } .chat-fab:hover { background: var(--teal-d); }
.has-sticky .chat-fab { bottom: 18px; } @media (max-width: 760px) { .has-sticky .chat-fab { bottom: 84px; } .chat-fab span { display: none; } .chat-fab { padding: 13px; } }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 36px)); background: #fff; border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(11,34,51,.55); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; } @media (max-width: 520px) { .chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; } }
.chat header { background: var(--ink); color: #fff; padding: 13px 16px; display: flex; align-items: center; gap: 10px; } .chat header b { flex: 1; } .chat header button { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .94rem; line-height: 1.5; } .msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; } .msg.me { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .opt { display: grid; gap: 6px; margin-top: 8px; } .msg .opt a { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .88rem; } .msg .opt a:hover { border-color: var(--go); background: var(--go-s); }
.msg .opt a b { grid-column: 1; } .msg .opt a span { grid-column: 1; color: var(--mut); font-size: .8rem; } .msg .opt a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; color: var(--go-d); white-space: nowrap; }
.msg .btn { min-height: 38px; padding: 6px 13px; font-size: .88rem; margin-top: 8px; }
.chat-quick { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; background: var(--paper); border-top: 1px solid var(--line); } .chat-quick button { flex: none; background: #fff; border: 1px solid var(--line2); border-radius: 99px; padding: 6px 12px; font: 500 .84rem var(--sans); color: var(--ink); cursor: pointer; } .chat-quick button:hover { border-color: var(--teal); color: var(--teal-d); }
.chat form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); } .chat input { flex: 1; min-height: 44px; border: 1px solid var(--line2); border-radius: 11px; padding: 0 12px; font: 16px var(--sans); } .chat form button { min-width: 48px; border: 0; border-radius: 11px; background: var(--go); color: #fff; font-size: 1.2rem; cursor: pointer; }
