/* Self-hosted Latin + Vietnamese fonts (no external Google Fonts blocking) */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-vi.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-vi.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-semibold-vi.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-vi.woff2') format('woff2');
}
.ct.ct-zalo { border-color: #0068ff; background: rgba(0, 104, 255, .1); color: var(--ink); font-weight: 600 }
.ct.ct-zalo:hover { background: #0068ff; color: #fff; border-color: #0068ff }
.ct.ct-zalo:hover svg { color: #fff }
.ct.ct-zalo svg { color: #0068ff }


/* Layout: a harbour-control board. Navy header band, terminals stacked from the deep-water berths upstream, time runs right; the page itself scrolls (no trapped inner scroll areas). */
:root {
  --bg: #e7ecef; --surface: #fbfcfd; --surface-2: #eff3f5; --ink: #0f1e2c; --ink-2: #44566a; --muted: #687a8a;
  --line: #d0d9df; --grid: #e3e9ed; --grid-strong: #bfcbd3;
  --band: #13263a; --band-ink: #e6edf2; --band-note: #9db2c3; --band-line: rgba(230, 237, 242, .15);
  --accent: #0b6e7a; --accent-ink: #ffffff; --accent-tint: #dcefef;
  --now: #e2492f; --weekend: rgba(15, 30, 44, .045); --overflow: rgba(184, 110, 0, .10);
  --hhit-tint: #fbe7e5; --hhit-ink: #c23331;
  --warn: #9a5b00; --warn-tint: #fff1d6; --ok: #1f8a5b;
  --rcv-ok: #1f8a5b; --rcv-ok-tint: #ddf2e6; --rcv-no: #c8352f; --rcv-no-tint: #fbe3e1;
  --lock: #6a4c93; --lock-tint: #efe9f7;
  --veil: rgba(251, 252, 253, .40); --shadow: 0 10px 30px rgba(15, 30, 44, .16);
  --t-hict: #2a78d6; --t-htit: #7a5fd1; --t-hhit: #e34948; --t-other: #8796a3;
  --o1: #9cbfe6; --o2: #6b9dd6; --o3: #427cc3; --o4: #275fa3; --o5: #163f70;
  --f-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --stick: 0px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #08111a; --surface: #0f1a25; --surface-2: #14212d; --ink: #e4ebf0; --ink-2: #a7b4bf; --muted: #7a8995;
  --line: #22323f; --grid: #16232f; --grid-strong: #2a3c4c;
  --band: #172a3c; --band-ink: #dde6ed; --band-note: #8ea4b5; --band-line: rgba(221, 230, 237, .13);
  --accent: #3fb3bf; --accent-ink: #062027; --accent-tint: #123236;
  --now: #ff6a4a; --weekend: rgba(255, 255, 255, .03); --overflow: rgba(255, 181, 71, .09);
  --hhit-tint: #34191d; --hhit-ink: #ff8a86;
  --warn: #ffb547; --warn-tint: #3a2a0c; --ok: #4fd39a;
  --rcv-ok: #4fd39a; --rcv-ok-tint: #12301f; --rcv-no: #ff7a72; --rcv-no-tint: #3a1716;
  --lock: #b9a2e6; --lock-tint: #241b33;
  --veil: rgba(15, 26, 37, .42); --shadow: 0 12px 34px rgba(0, 0, 0, .55);
  --t-other: #6f808e;
  --o1: #24507f; --o2: #346fae; --o3: #4f8fd3; --o4: #7fb1ea; --o5: #b7d4f6;
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #08111a; --surface: #0f1a25; --surface-2: #14212d; --ink: #e4ebf0; --ink-2: #a7b4bf; --muted: #7a8995;
  --line: #22323f; --grid: #16232f; --grid-strong: #2a3c4c;
  --band: #172a3c; --band-ink: #dde6ed; --band-note: #8ea4b5; --band-line: rgba(221, 230, 237, .13);
  --accent: #3fb3bf; --accent-ink: #062027; --accent-tint: #123236;
  --now: #ff6a4a; --weekend: rgba(255, 255, 255, .03); --overflow: rgba(255, 181, 71, .09);
  --hhit-tint: #34191d; --hhit-ink: #ff8a86;
  --warn: #ffb547; --warn-tint: #3a2a0c; --ok: #4fd39a;
  --rcv-ok: #4fd39a; --rcv-ok-tint: #12301f; --rcv-no: #ff7a72; --rcv-no-tint: #3a1716;
  --lock: #b9a2e6; --lock-tint: #241b33;
  --veil: rgba(15, 26, 37, .42); --shadow: 0 12px 34px rgba(0, 0, 0, .55);
  --t-other: #6f808e;
  --o1: #24507f; --o2: #346fae; --o3: #4f8fd3; --o4: #7fb1ea; --o5: #b7d4f6;
  color-scheme: dark }

* { box-sizing: border-box }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px) }
[hidden] { display: none !important }
html, body { margin: 0 }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band) }
button, input, select { font: inherit; color: inherit }
a { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); max-width: 1920px; margin: 0 auto }
h1, h2, h3 { text-wrap: balance }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
svg.ic { width: 14px; height: 14px; flex: none }

/* ---------- header band ---------- */
.top { background: var(--band); color: var(--band-ink) }
.top .wrap { display: flex; align-items: center; gap: 12px 20px; padding-block: 13px 11px; flex-wrap: wrap }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; margin-right: auto }
.mark { width: 38px; height: 38px; flex: none }
.mark .m1 { fill: #42B0D5 } .mark .m2 { fill: #F5B700 } .mark .m3 { fill: #e34948 } .mark .mn { fill: #ff6a4a } .mark .mf { fill: none; stroke: var(--band-line); stroke-width: 1.5 }
.brand h1 { margin: 0; font: 700 27px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap }
.brand h1 .city { color: var(--band-note); font-weight: 600; letter-spacing: .04em }
.brand h1 .ver { font: 600 10.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--band); background: var(--band-ink); border-radius: 4px; padding: 3px 6px; position: relative; top: -3px }
.byline { margin: 5px 0 0; font-size: 13px; color: var(--band-note); line-height: 1.3 }
.byline b { color: var(--band-ink); font-weight: 600 }
.status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.fresh { display: flex; align-items: center; gap: 8px; font: 12px var(--f-mono); background: rgba(255, 255, 255, .06); border: 1px solid var(--band-line); padding: 6px 10px; border-radius: 6px; white-space: nowrap }
.fresh i { width: 8px; height: 8px; border-radius: 50%; background: #8b9aa6; flex: none }
.fresh[data-state="live"] i { background: #3ccf91 }
.fresh[data-state="stale"] i, .fresh[data-state="error"] i { background: #ffb547 }
.fresh[data-state="loading"] i { animation: pulse 1.1s ease-in-out infinite }
@keyframes pulse { 50% { opacity: .25 } }
#refreshBtn { display: none !important }   /* v3.1: no manual refresh; the page reloads the plan by itself every 15 minutes */
.iconbtn { background: transparent; border: 1px solid var(--band-line); color: var(--band-ink); border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap }
.iconbtn:hover { background: rgba(255, 255, 255, .08) }
.iconbtn.spin svg { animation: spin 1s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- tabs (sticky) ---------- */
.tabs { background: var(--band); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-top: 1px solid var(--band-line) }
.tabs .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none }
.tabs .wrap::-webkit-scrollbar { display: none }
.tab { background: none; border: 0; color: var(--band-note); padding: 9px 13px 9px; cursor: pointer; font: 600 15px var(--f-display); letter-spacing: .07em; text-transform: uppercase; border-bottom: 3px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px }
.tab:hover { color: var(--band-ink) }
.tab[aria-selected="true"] { color: var(--band-ink); border-bottom-color: var(--now) }
.tab .ic { width: 13px; height: 13px; opacity: .85 }
.public { background: var(--accent-tint); color: var(--ink); border-bottom: 1px solid var(--line); font-size: 12.5px }
.public .wrap { padding-block: 7px; line-height: 1.5 }
.public b { font: 600 12px var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; vertical-align: -1px; white-space: nowrap }
.public button { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: 12.5px; white-space: nowrap }

/* ---------- toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-block: 14px 8px }
.weeknav { display: flex; align-items: center; gap: 6px }
.navbtn { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center }
.navbtn:hover, .btn:hover, .chip:hover { border-color: var(--grid-strong) }
.range { font: 600 18px/1 var(--f-display); letter-spacing: .02em; min-width: 210px; text-align: center }
.range small { display: block; font: 11px var(--f-mono); color: var(--muted); letter-spacing: 0; margin-top: 3px }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 6px 11px; cursor: pointer; font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px }
.btn[disabled] { opacity: .5; cursor: default }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--surface) }
.seg button { border: 0; background: none; padding: 6px 11px; cursor: pointer; font-size: 13px; color: var(--ink-2); white-space: nowrap }
.seg button + button { border-left: 1px solid var(--line) }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink) }
.search { position: relative; margin-left: auto }
.search input { width: 250px; max-width: 72vw; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 7px 10px 7px 32px }
.search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 15px; height: 15px }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.chips + .chips { margin-top: 8px }
.chips .lbl { font: 600 12px var(--f-display); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-right: 2px; min-width: 62px }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2) }
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--surface-2) }
.chip .sw { width: 10px; height: 10px; border-radius: 3px; flex: none }
.chip .n { font: 11px var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums }
.chip.lockchip { border-style: dashed; border-color: var(--lock); color: var(--lock); background: var(--lock-tint) }
.chip.lockchip .ic { width: 12px; height: 12px }
.filters { padding-bottom: 12px }
.gapnote { margin: 0 0 10px; font-size: 12.5px; color: var(--warn); background: var(--warn-tint); border-radius: 6px; padding: 6px 10px }
.gapnote.lock { color: var(--lock); background: var(--lock-tint) }
.gapnote.flash { animation: bvflash .9s ease-out 1 }
@keyframes bvflash { 0% { box-shadow: 0 0 0 3px var(--lock) } 100% { box-shadow: 0 0 0 0 transparent } }
.lock2 { margin-top: 14px }
.pf-ghost { grid-template-columns: 150px 90px repeat(7, minmax(0, 1fr)) }
.gname { display: block; height: 11px; border-radius: 3px; background: var(--grid-strong); width: 70% }
.fb { display: grid; gap: 10px; margin: 8px 0 4px; font-size: 13px; position: relative }
.fb label { display: grid; gap: 4px; font-weight: 500; color: var(--ink-2) }
.fb small { font-weight: 400; color: var(--muted) }
.fb input, .fb select, .fb textarea { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 7px 9px; font: inherit; font-size: 13px; color: var(--ink); width: 100%; box-sizing: border-box }
.fb textarea { resize: vertical; min-height: 84px }
.fbrow { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px }
.fb .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.fbact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.fbnote { margin: 0; color: var(--ink-2) }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.btn.primary:disabled { opacity: .55; cursor: default }
#fbStatus.ok { color: var(--ok) } #fbStatus.err { color: var(--warn) }
.empty.lockmsg { color: var(--lock) }
.empty.lockmsg .ic { width: 14px; height: 14px; vertical-align: -2px }
.heat .hz { fill: var(--muted); font: 600 10px var(--f-mono); letter-spacing: .06em }
.heat .tot { fill: var(--ink); font-weight: 600 }
.heatkey { display: inline-block; width: 84px; height: 10px; border-radius: 3px; vertical-align: -1px; background: linear-gradient(to right, var(--accent-tint), var(--accent)) }
@media (max-width: 560px) { .fbrow { grid-template-columns: 1fr } }
/* ---------- region switch ---------- */
.rsw { display: inline-flex; border: 1.5px solid rgba(255, 255, 255, .38); border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .06) }
.rsw button { background: none; border: 0; color: var(--band-ink); padding: 9px 18px; cursor: pointer; font: 700 15.5px/1.1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap }
.rsw button + button { border-left: 1.5px solid rgba(255, 255, 255, .38) }
.rsw button[aria-pressed="true"] { background: #F5B700; color: #13263a }
.rsw button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .12) }
.rsw button:focus-visible { outline: 2px solid #F5B700; outline-offset: -4px }
.bsep { opacity: .45; padding: 0 2px }
.langbtn { border: 2px solid #F5B700; background: rgba(245, 183, 0, .12); padding: 5px 10px 5px 9px; gap: 8px }
.langbtn:hover { background: rgba(245, 183, 0, .22) }
.langbtn .ic { width: 17px; height: 17px; color: #F5B700 }
.langbtn .lg { display: inline-flex; gap: 2px; align-items: center; font: 700 15px var(--f-mono) }
.langbtn .lg b { font-weight: 700; opacity: .7; padding: 2px 6px; border-radius: 5px; color: var(--band-ink) }
.langbtn .lg i { font-style: normal; opacity: .45 }
html:not([lang="vi"]) .langbtn b[data-l="en"], html[lang="vi"] .langbtn b[data-l="vi"] { opacity: 1; background: #F5B700; color: #13263a }
@media (max-width: 560px) { .rsw { order: -1; width: 100% } .rsw button { flex: 1 } }
/* ---------- author + contacts ---------- */
.author { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 14px 0 6px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; background: var(--band); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line) }
.author small { display: block; font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.author b { display: block; font: 700 24px/1.1 var(--f-display); letter-spacing: .02em; margin: 2px 0 3px }
.author p { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); max-width: 60ch; line-height: 1.5 }
.contacts { display: flex; flex-wrap: wrap; gap: 6px }
.ct { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px 5px 9px; font-size: 12.5px; color: var(--ink); text-decoration: none; white-space: nowrap; max-width: 100% }
.ct span { overflow: hidden; text-overflow: ellipsis }
.ct:hover { border-color: var(--accent); color: var(--accent) }
.ct svg { width: 14px; height: 14px; flex: none; color: var(--accent) }
.byline a { color: var(--band-ink); text-decoration: none; border-bottom: 1px solid var(--band-line); margin-left: 4px }
.byline a:hover { border-bottom-color: var(--band-ink) }
.foot a { color: var(--ink-2) }
/* ---------- news (Market Pulse) ---------- */
.nhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: end; padding-block: 18px 14px }
.nkick { margin: 0 0 4px; font: 600 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.nhead h2 { margin: 0; font: 700 32px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase }
.nhead h2 span { color: var(--muted); font-weight: 600 }
.nlede { margin: 8px 0 0; max-width: 70ch; color: var(--ink-2); font-size: 14px; line-height: 1.55 }
.nby { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 6px }
.nby img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; background: var(--band) }
.nby small { display: block; font: 500 11px var(--f-mono); color: var(--muted) }
.nby b { display: block; font: 700 16px/1.15 var(--f-display); letter-spacing: .02em }
.nby .ct { margin-left: 4px }
.nfilter { margin-bottom: 14px }
.nfeat { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; align-items: start }
.nhit { border: 0; padding: 0; margin: 0; background: none; cursor: pointer; display: block; text-align: left; color: inherit; width: 100%; font: inherit }
.nf-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2) }
.nf-txt { padding-top: 4px; min-width: 0 }
.nf-badge { margin: 0 0 10px; font: 500 12px var(--f-mono); color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.nf-badge i { font: 600 10.5px var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 4px; padding: 3px 7px }
.nfeat h3 { margin: 0 0 10px; font: 700 34px/1.04 var(--f-display); letter-spacing: .01em; text-wrap: balance }
.nf-dek { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 62ch }
.nstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 18px }
.nstat { background: var(--surface-2); padding: 12px 14px; min-width: 0 }
.nstat b { display: block; font: 600 22px/1.1 var(--f-mono); letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere }
.nstat span { display: block; font-size: 12px; line-height: 1.4; color: var(--ink-2); margin-top: 5px }
.nf-act { display: flex; gap: 8px; flex-wrap: wrap }
.nf-act .btn { padding: 8px 14px; text-decoration: none; color: var(--ink) }
.nf-act .btn.primary { color: var(--accent-ink) }
.nsub { margin: 26px 0 10px; font: 700 15px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; gap: 8px }
.nsub small { font: 11px var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--muted) }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; padding-bottom: 26px }
.ncard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s }
.ncard:hover { border-color: var(--grid-strong); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15, 30, 44, .10) }
.nc-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line) }
.nc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block }
.nc-txt { display: block; padding: 10px 12px 13px }
.nc-txt small { display: block; font: 500 11px var(--f-mono); color: var(--muted); margin-bottom: 5px }
.nc-txt small i { font-style: normal; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em }
.nc-txt b { display: block; font: 700 18px/1.12 var(--f-display); letter-spacing: .01em; margin-bottom: 5px }
.nc-txt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.45; color: var(--ink-2) }
.nempty { color: var(--muted); padding: 30px 0 }
/* viewer */
html.nlock, html.nlock body { overflow: hidden }
.nview { position: fixed; inset: 0; z-index: 60; background: rgba(6, 13, 20, .94); display: flex; flex-direction: column }
.nv-bar { display: flex; align-items: center; gap: 14px; padding: calc(9px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 9px max(14px, env(safe-area-inset-left, 0px)); background: #13263a; color: #e6edf2; border-bottom: 1px solid rgba(230, 237, 242, .14) }
.nv-t { min-width: 0; flex: 1 }
.nv-t small { display: block; font: 500 11px var(--f-mono); color: #9db2c3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.nv-t b { display: block; font: 700 18px/1.2 var(--f-display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.nv-a { display: flex; align-items: center; gap: 6px; flex: none }
.nvbtn { background: transparent; border: 1px solid rgba(230, 237, 242, .2); color: #e6edf2; border-radius: 7px; min-width: 36px; height: 36px; padding: 0 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; text-decoration: none; white-space: nowrap }
.nvbtn:hover { background: rgba(255, 255, 255, .08) }
.nvbtn[disabled] { opacity: .35; cursor: default }
.nvbtn svg { width: 16px; height: 16px }
#nvPos { font: 12px var(--f-mono); color: #9db2c3; min-width: 46px; text-align: center }
.nv-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 48px; display: flex; flex-direction: column; align-items: center; gap: 16px }
.nv-body img { display: block; max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 34px rgba(0, 0, 0, .5); background: #fff }
.nv-note { color: #b8c6d1; font-size: 12.5px; text-align: center; max-width: 640px; margin: 0 }
.nv-note a { color: #7fd3c4 }
@media (max-width: 860px) {
  .nhead { grid-template-columns: minmax(0, 1fr) }
  .nby { justify-self: start }
  .nfeat { grid-template-columns: minmax(0, 1fr); gap: 16px }
  .nf-img img { aspect-ratio: 4 / 3 }
  .nfeat h3 { font-size: 28px }
}
@media (max-width: 560px) {
  .author { grid-template-columns: 68px minmax(0, 1fr); gap: 2px 14px; align-items: start }
  .author img { width: 68px; height: 68px; grid-row: 1 / span 2 }
  .author > div { display: contents }
  .author small { grid-column: 2; align-self: end; padding-top: 10px }
  .author b { grid-column: 2; align-self: start; font-size: 22px }
  .author p, .author .contacts { grid-column: 1 / -1 }
  .author p { margin: 10px 0 8px }
  .nhead h2 { font-size: 27px }
  .nby { border-radius: 12px; flex-wrap: wrap }
  .nstats { grid-template-columns: minmax(0, 1fr) }
  .nstat { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 12px }
  .nstat b { font-size: 17px }
  .nstat span { margin-top: 0 }
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
  .nc-txt { padding: 8px 9px 10px }
  .nc-txt b { font-size: 15.5px }
  .nc-txt span { display: none }
  .nv-a .lbl { display: none }
  #nvPos { display: none }
  .nv-t b { font-size: 15px }
  .nv-body { padding: 10px 6px 36px; gap: 10px }
}
@media (prefers-reduced-motion: reduce) { .ncard, .ncard:hover { transition: none; transform: none } }
/* ---------- E-ports directory + legal notice (v3.0) ---------- */
.tab.tab-ring { border: 1.5px solid rgba(245, 183, 0, .75); border-radius: 999px; padding: 5px 13px; margin: 3px 0 4px 4px; border-bottom-width: 1.5px }
/* v3.7 Game tab: a pill right after Berth window; in Halloween it glows like a jack-o'-lantern */
.tab.tab-game { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(245, 183, 0, .8); border-radius: 999px; padding: 5px 14px 5px 9px; margin: 3px 4px 4px; color: var(--band-ink) }
.tab.tab-game:hover { background: rgba(245, 183, 0, .12) }
.tab-game .tg-pk { width: 18px; height: 18px; flex: none }
.tab-game .tg-bat { display: none }
:root[data-season="halloween"] .tab.tab-game { border: 2px solid #ff8c25; background: linear-gradient(180deg, rgba(255, 140, 37, .22), rgba(122, 44, 160, .28)); color: #fff4e6; box-shadow: 0 0 0 1px rgba(255, 140, 37, .25), 0 0 14px rgba(255, 140, 37, .55); animation: tgGlow 2.4s ease-in-out infinite }
:root[data-season="halloween"] .tab.tab-game .newdot { background: #ff8c25; color: #1b0f2e }
:root[data-season="halloween"] .tab-game .tg-pk { width: 21px; height: 21px; animation: tgBob 1.6s ease-in-out infinite; transform-origin: 50% 90% }
:root[data-season="halloween"] .tab-game .tg-bat { display: block; position: absolute; right: -6px; top: -5px; width: 17px; height: 8px; fill: #120a1e; filter: drop-shadow(0 0 2px rgba(255, 180, 90, .9)); animation: tgBat 3s ease-in-out infinite }
@keyframes tgGlow { 50% { box-shadow: 0 0 0 1px rgba(255, 140, 37, .4), 0 0 22px rgba(255, 140, 37, .85) } }
@keyframes tgBob { 50% { transform: rotate(-9deg) translateY(-1px) } }
@keyframes tgBat { 0%, 100% { transform: translate(0, 0) } 50% { transform: translate(-3px, -3px) scaleX(.85) } }
@media (prefers-reduced-motion: reduce) { .tab.tab-game, .tab-game .tg-pk, .tab-game .tg-bat { animation: none !important } }

.tab.tab-ring[aria-selected="true"] { background: #F5B700; color: #13263a; border-color: #F5B700 }
.tab .newdot { font: 700 9.5px var(--f-mono); letter-spacing: .06em; background: #F5B700; color: #13263a; border-radius: 999px; padding: 1px 5px }
.tab.tab-ring[aria-selected="true"] .newdot { background: #13263a; color: #F5B700 }
.ep-head { padding-block: 18px 6px }
.ep-head h2 { margin: 0; font: 700 30px/1.05 var(--f-display); letter-spacing: .04em; text-transform: uppercase }
.ep-head p { margin: 8px 0 0; max-width: 78ch; color: var(--ink-2); font-size: 14px; line-height: 1.55 }
.ep-alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 14px 0; padding: 14px 16px; border: 1.5px solid var(--warn); border-radius: 12px; background: var(--surface) }
.ep-alert svg { width: 22px; height: 22px; color: var(--warn); margin-top: 2px }
.ep-alert b { display: block; font-size: 15px; margin-bottom: 4px }
.ep-alert p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2) }
.ep-agree { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 12px 0 4px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line) }
.ep-agree label { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; cursor: pointer; flex: 1 1 320px }
.ep-agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none }
.ep-agree .ok { font: 600 12px var(--f-mono); color: var(--ok) }
.ep-grp { margin: 18px 0 8px; font: 700 15px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.ep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px }
.ep-card { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface) }
.ep-card .nm { font-weight: 700; font-size: 14.5px }
.ep-card .op { font-size: 12.5px; color: var(--muted); line-height: 1.4 }
.ep-card .dm { font: 600 13px var(--f-mono); color: var(--ink); word-break: break-all; background: var(--surface-2); border-radius: 6px; padding: 4px 7px; justify-self: start }
.ep-card .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between }
.ep-card .tag { font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px }
.ep-go { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--accent); color: var(--accent); background: none; border-radius: 8px; padding: 6px 11px; font: 600 13px var(--f-body, inherit); cursor: pointer; text-decoration: none }
.ep-go:hover { background: var(--accent); color: var(--surface) }
.ep-go[aria-disabled="true"] { opacity: .45; cursor: not-allowed; border-color: var(--line); color: var(--muted); background: none }
.ep-go svg { width: 13px; height: 13px }
.ep-legal { margin: 26px 0 10px; padding: 18px 18px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface) }
.ep-legal h3 { margin: 0 0 4px; font: 700 20px var(--f-display); letter-spacing: .04em; text-transform: uppercase }
.ep-legal .ver { margin: 0 0 12px; font: 500 12px var(--f-mono); color: var(--muted) }
.ep-legal h4 { margin: 16px 0 6px; font-size: 14.5px }
.ep-legal p, .ep-legal li { font-size: 13.5px; line-height: 1.62; color: var(--ink-2); max-width: 92ch }
.ep-legal ol, .ep-legal ul { padding-left: 20px; margin: 6px 0 }
.ep-legal .tr { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line) }
.seo { border-top: 1px solid var(--line); background: var(--surface); margin-top: 18px }
.seo .wrap { padding-block: 18px 14px; display: grid; gap: 4px 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
.seo h2 { grid-column: 1 / -1; margin: 0 0 4px; font: 700 19px/1.2 var(--f-display); letter-spacing: .03em; text-transform: uppercase }
.seo-content { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; font-size: 13px }
.seo-content dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 16px }
.seo-content dd { margin: 0 }
.seo-content li { margin-bottom: 8px }
.seo p { margin: 0 0 8px; font-size: 13px; line-height: 1.6; color: var(--ink-2) }
.seo nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; font-size: 12px }
.seo nav b { width: 100%; font: 600 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px }
.seo nav a { color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; text-decoration: none }
.seo nav a:hover { border-color: var(--accent); color: var(--accent) }
.seo nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--surface) }
@media (max-width: 760px) { .seo .wrap { grid-template-columns: 1fr } }
.foot .copy b { color: var(--ink); font-weight: 700 }
.foot .copy a { margin-left: 6px }
.ep-legal details summary { cursor: pointer; font-weight: 600; font-size: 13.5px; padding: 6px 0 }
@media (max-width: 560px) { .ep-head h2 { font-size: 24px } .ep-legal { padding: 14px 12px 6px } }
/* ---------- KPI strip ---------- */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 14px }
.kpi { background: var(--surface); padding: 10px 14px 11px; min-width: 0; text-align: left; border: 0; font: inherit; color: inherit }
button.kpi { cursor: pointer }
button.kpi:hover { background: var(--surface-2) }
.kpi h3 { margin: 0; font: 600 12px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.kpi .v { font: 600 27px/1.1 var(--f-body); margin-top: 4px; letter-spacing: -.01em; font-variant-numeric: tabular-nums }
.kpi .v small { font: 12px var(--f-mono); color: var(--muted); margin-left: 3px; letter-spacing: 0 }
.kpi .s { font: 11.5px var(--f-mono); color: var(--ink-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.split { display: flex; height: 5px; border-radius: 3px; overflow: hidden; margin-top: 6px; gap: 2px }
.split span { display: block; height: 100% }
.kpi { display: flex; flex-direction: column; justify-content: flex-start }
.kpis.k5 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.rankbox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 16px }
.rankbox > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; font: 600 12px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.rankbox > summary::-webkit-details-marker { display: none }
.rankbox > summary .rk-title::before { content: '\25B8'; display: inline-block; margin-right: 8px; transition: transform .15s }
.rankbox[open] > summary .rk-title::before { transform: rotate(90deg) }
.rankbox #rankTile { padding-bottom: 14px }
.rk-note { font: 11.5px var(--f-mono); color: var(--muted); text-align: right; text-transform: none; letter-spacing: 0; font-weight: 400 }
.rk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px }
.rk-area { min-width: 0 }
.rk-area h4 { margin: 0 0 4px; font: 600 11.5px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2) }
.rk-top { position: relative; margin-top: 32px; padding: 30px 10px 9px; text-align: center; border-radius: 10px; background: linear-gradient(180deg, rgba(242,183,5,.16), rgba(242,183,5,.05)); border: 1px solid rgba(214,150,0,.55) }
.rk-crown { position: absolute; left: 50%; top: -33px; width: 74px; height: 53px; transform: translateX(-50%); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)) }
.rk-name { font: 700 17px/1.2 var(--f-body); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.rk-pct { font: 700 26px/1.15 var(--f-body); color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px }
.rk-pct small { font: 13px var(--f-mono); color: var(--muted); margin-left: 2px }
.rk-sub { font: 11.5px var(--f-mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.rk-list { list-style: none; counter-reset: rk 1; margin: 7px 0 0; padding: 0; display: grid; gap: 2px }
.rk-list li { counter-increment: rk; position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; align-items: center; font: 12px/1.35 var(--f-mono); padding: 2px 6px 2px 2px; border-radius: 4px; overflow: hidden }
.rk-list li::before { content: counter(rk); text-align: center; color: var(--muted); font-weight: 600; position: relative }
.rk-list li b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative }
.rk-list li i { font-style: normal; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; position: relative }
.rk-list li .bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); opacity: .13; border-radius: 4px }
.swnowin { margin: 10px 14px 14px; font-size: 12.5px }
.swnowin h3 { margin: 6px 0; font: 600 12px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.swnowin table { border-collapse: collapse; width: 100%; font: 12px/1.4 var(--f-mono) }
.swnowin td, .swnowin th { text-align: left; padding: 3px 8px 3px 0; border-top: 1px solid var(--grid); vertical-align: top }
.swnowin th { color: var(--muted); font-weight: 600; border-top: 0 }
.rk-none { margin: 10px 0 0; font: 12px var(--f-mono); color: var(--muted) }
@media (max-width: 900px) { .rk-grid { grid-template-columns: 1fr; gap: 6px } .rk-top { margin-top: 34px } }
.kpi .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px }
.kpi .hd h3 { min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.kpi .hd .v { font-size: 22px; margin: 0; flex: none }
.kpi .hd + .s { margin-top: 1px }
.kl { list-style: none; margin: 6px 0 0; padding: 0 3px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 2px 6px; max-height: 92px; overflow-y: auto; scrollbar-width: thin; align-content: start }
.kl li { position: relative; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 5px; align-items: center; font: 11px/1.3 var(--f-mono); color: var(--ink-2); padding: 1px 5px 1px 4px; border-radius: 4px; overflow: hidden; min-height: 16px }
.kl li .d { width: 7px; height: 7px; border-radius: 2px; position: relative }
.kl li b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative }
.kl li i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink); position: relative; font-weight: 600 }
.kl li .bar { position: absolute; left: 0; top: 0; bottom: 0; opacity: .16; border-radius: 4px }
.kl li.none { display: block; color: var(--muted) }
.kl.one { grid-template-columns: 1fr }
.kpis.k5 .split { margin-top: 5px }
@media (max-width: 1100px) { .kpis.k5 { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .kpis.k5 .kpi .hd { flex-wrap: wrap; gap: 0 6px } .kpis.k5 .kpi .hd .v { font-size: 19px } .kl { grid-template-columns: 1fr; max-height: 88px } }

/* ---------- board + rail ---------- */
.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; padding-bottom: 10px }
.main > .rail { display: none !important }   /* v3.4: berth window full width, no "Alongside now / Next 48 h" list */
.boardwrap { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: clip; min-width: 0 }
.board { position: relative }
.bview { position: sticky; top: var(--stick); overflow: hidden }
.bview canvas { position: absolute; left: 0; top: 0; display: block; pointer-events: none }
.hscroll { position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; outline-offset: -2px }
.hscroll.grab { cursor: grab }
.hscroll.pointer { cursor: pointer }
.hscroll.grabbing { cursor: grabbing }
.hspacer { height: 1px }
.empty { padding: 40px 20px; text-align: center; color: var(--muted) }
.boardnote { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 2px 26px; font-size: 12px; color: var(--ink-2) }
.boardnote span { display: inline-flex; align-items: center; gap: 7px }
.key { width: 26px; height: 11px; border-radius: 3px; display: inline-block; flex: none }
.key.solid { background: var(--t-hict) }
.key.tent { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--t-hict) }
.key.over { background: repeating-linear-gradient(135deg, var(--overflow) 0 4px, transparent 4px 8px); box-shadow: inset 0 0 0 1px var(--grid-strong) }
.key.sq { background: linear-gradient(to bottom, var(--ink-2) 0 52%, var(--surface) 52% 62%, var(--muted) 62% 100%); border-radius: 2px }
.key.now { width: 2px; height: 14px; border-radius: 0; background: var(--now) }
.key.exp { background: rgba(42, 120, 214, .13); border: 1.4px dashed var(--t-hict); height: 12px }
.key.rok { background: var(--rcv-ok-tint); border: 1.4px dashed var(--rcv-ok); box-shadow: inset 3px 0 0 var(--rcv-ok); height: 12px }
.key.rno { background: var(--rcv-no-tint); border: 1.4px dashed var(--rcv-no); box-shadow: inset 3px 0 0 var(--rcv-no); height: 12px }
.key.live { background: var(--t-hict); animation: bvlive 1.6s ease-out infinite }
@keyframes bvlive { 0% { box-shadow: 0 0 0 0 rgba(42, 120, 214, .6) } 100% { box-shadow: 0 0 0 7px rgba(42, 120, 214, 0) } }
.tsbox { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 70 }
.rail { position: sticky; top: calc(var(--stick) + 12px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-width: 0 }
.rail .seg { margin: 12px 12px 6px; display: flex }
.rail .seg button { flex: 1 }
.rl { list-style: none; margin: 0; padding: 0 }
.rl li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 14px; cursor: pointer; border-top: 1px solid var(--grid) }
.rl li:hover { background: var(--surface-2) }
.rl .t { font: 12px var(--f-mono); color: var(--ink-2); font-variant-numeric: tabular-nums }
.rl .t small { display: block; font-size: 10px; color: var(--muted) }
.rl .vn { font: 600 14px/1.15 var(--f-display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.rl .vs { font: 10.5px var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.rl .vs .dot { margin-right: 5px; vertical-align: 0 }
.dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex: none }
.rl .term { font: 600 12px var(--f-display); letter-spacing: .04em; text-align: right; color: var(--ink-2); white-space: nowrap }
.rl .term.h { color: var(--hhit-ink) }
.rl .term small { display: block; margin-top: 2px; font: 10px var(--f-mono); letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums }
.rl .none { grid-template-columns: 1fr; color: var(--muted); cursor: default; font-size: 12.5px }
.rail .foot2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 14px 11px; border-top: 1px solid var(--grid); font-size: 12px; color: var(--muted) }

/* ---------- popover ---------- */
.pop { position: fixed; left: 0; top: 0; z-index: 50; width: 300px; max-width: calc(100vw - 24px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 12px 14px; pointer-events: none; font-size: 12.5px; will-change: transform }
.pop.pinned { pointer-events: auto }
.pop h4 { margin: 0 0 2px; font: 700 19px/1.1 var(--f-display); letter-spacing: .02em; padding-right: 26px }
.pop .sub { display: flex; gap: 6px; align-items: center; color: var(--ink-2); margin-bottom: 9px; flex-wrap: wrap }
.pop dl { display: grid; grid-template-columns: 100px 1fr; gap: 4px 10px; margin: 0 }
.pop dt { color: var(--muted); font-size: 11.5px }
.pop dd { margin: 0; font: 12px var(--f-mono); overflow-wrap: anywhere; font-variant-numeric: tabular-nums }
.pop .warn { margin-top: 9px; font-size: 11.5px; color: var(--warn); display: grid; gap: 3px }
.pop .x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: none; place-items: center; font-size: 16px; line-height: 1 }
.pop.pinned .x { display: grid }
.pop .acts { display: none; gap: 8px; margin-top: 11px; flex-wrap: wrap }
.pop.pinned .acts { display: flex }
.pop .acts .btn { font-size: 12px; padding: 5px 9px }
.pill { display: inline-block; font: 600 10.5px var(--f-mono); padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); letter-spacing: .02em; white-space: nowrap }
.pill.a { background: var(--accent-tint); color: var(--accent) }
.pill.w { background: var(--warn-tint); color: var(--warn) }
.pill.x { background: transparent; border: 1px dashed var(--muted); padding: 0 5px }
.pill.rok { background: var(--rcv-ok-tint); color: var(--rcv-ok) }
.pill.rno { background: var(--rcv-no-tint); color: var(--rcv-no) }
.lockpill { display: inline-flex; align-items: center; gap: 5px; font: 600 10.5px var(--f-mono); letter-spacing: .03em; padding: 1px 7px; border-radius: 4px; background: var(--lock-tint); color: var(--lock); border: 1px dashed var(--lock); white-space: nowrap }
.lockpill .ic { width: 11px; height: 11px }
.redact { display: inline-block; width: 44px; height: 9px; border-radius: 3px; background: var(--grid-strong); filter: blur(1.5px); vertical-align: middle; opacity: .85 }
.ftable th.c-svc { color: var(--lock) }
.ftable th.c-svc.open { color: inherit }
.ftable th.c-svc .ic { width: 11px; height: 11px; vertical-align: -1px }
@media (max-width: 699px) {
  .pop.pinned { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-width: none; border-radius: 14px 14px 0 0; transform: none !important;
    padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)) }
}

/* ---------- cards / insights ---------- */
.view { padding-block: 0 28px }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 0 12px; min-width: 0 }
.card .body { padding: 0 14px; min-width: 0 }
.card h2 { margin: 0 14px 8px; font: 700 15px var(--f-display); letter-spacing: .08em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; gap: 8px }
.card h2 small { font: 11px var(--f-mono); color: var(--muted); letter-spacing: 0; text-transform: none; text-align: right }
.card .desc { margin: -2px 14px 10px; font-size: 12.5px; color: var(--ink-2) }
.card .tools { display: flex; justify-content: flex-end; padding: 0 14px; margin-top: 4px }
.linkbtn { background: none; border: 0; padding: 2px 0; font-size: 12px; color: var(--accent); cursor: pointer; text-decoration: underline }
.chart svg { width: 100%; height: auto; display: block; overflow: visible }
.chart text { fill: var(--ink-2); font: 11px var(--f-mono) }
.chart .lab { fill: var(--ink); font: 600 12.5px var(--f-display); letter-spacing: .03em }
.chart .gl { stroke: var(--grid); stroke-width: 1 }
.chart .ax { stroke: var(--grid-strong); stroke-width: 1 }
.chart .hov:hover rect.hl, .chart .hov:focus rect.hl { fill: var(--surface-2) }
.chart .up { fill: var(--ok) } .chart .dn { fill: var(--now) }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); margin: 0 0 8px }
.legend span { display: inline-flex; align-items: center; gap: 6px }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block }
.chart .legend svg { width: 12px; height: 12px; display: inline-block; flex: none; overflow: visible }
.legend i.ln { height: 2px; border-radius: 0; width: 16px }
.dtable { width: 100%; border-collapse: collapse; font-size: 12.5px }
.dtable th { text-align: left; font: 600 11.5px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line) }
.dtable td { padding: 5px 8px; border-bottom: 1px solid var(--grid); font-variant-numeric: tabular-nums }
.dtable td.n, .dtable th.n { text-align: right }
.tablewrap { overflow-x: auto }
.newlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 }
.newlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--grid); cursor: pointer }
.newlist li:hover { background: var(--surface-2) }
.newlist .vn { font: 600 14px var(--f-display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.newlist .m { font: 11.5px var(--f-mono); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums }

/* ---------- vessel finder ---------- */
.finder-top { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-block: 14px 12px }
.finder-top .search { margin-left: 0 }
.finder-top .search input { width: 300px }
.finder-top select { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 6px 8px; font-size: 13px }
.finder-top .count { font: 12px var(--f-mono); color: var(--muted); margin-left: auto }
.fwrap { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: clip }
.ftable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px }
.ftable th { position: sticky; top: var(--stick); z-index: 2; background: var(--surface); text-align: left; font: 600 12px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--grid-strong); white-space: nowrap }
.ftable td { padding: 7px 10px; border-bottom: 1px solid var(--grid); white-space: nowrap }
.ftable tr[data-i] { cursor: pointer }
.ftable tr[data-i]:hover td { background: var(--surface-2) }
.ftable .vn { font: 600 14.5px var(--f-display); letter-spacing: .02em }
.ftable .m { font: 12px var(--f-mono); color: var(--ink-2); font-variant-numeric: tabular-nums }
.ftable td.r, .ftable th.r { text-align: right }
.more { display: flex; justify-content: center; padding: 14px 0 0 }

/* ---------- confidential (locked) ---------- */
.locked { position: relative; overflow: hidden; border-radius: 10px; isolation: isolate }
.ghost { filter: blur(7px) saturate(.4); opacity: .75; pointer-events: none; user-select: none }
.seal { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: var(--veil); z-index: 2 }
.seal-card { max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--lock); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); text-align: left }
.seal-card .eyebrow { display: inline-flex; align-items: center; gap: 7px; font: 600 12px var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--lock) }
.seal-card h3 { margin: 6px 0 6px; font: 700 21px/1.15 var(--f-display); letter-spacing: .02em }
.seal-card p { margin: 0 0 8px; font-size: 13px; color: var(--ink-2) }
.seal-card ul { margin: 4px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2) }
.seal-card .contact { margin-top: 10px; font-size: 12.5px }
.seal.small .seal-card { padding: 12px 14px; max-width: 300px }
.seal.small .seal-card h3 { font-size: 17px; margin: 4px 0 2px }
.seal.small .seal-card p { margin: 0; font-size: 12px }
.sw-ghost { display: grid; grid-template-columns: 120px repeat(7, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 10px }
.sw-ghost .hd { font: 600 13px var(--f-display); letter-spacing: .06em; padding: 10px 8px; border-bottom: 1px solid var(--grid-strong); color: var(--ink-2) }
.sw-ghost .rowl { font: 700 14px var(--f-display); padding: 0 10px; display: flex; align-items: center; border-bottom: 1px solid var(--grid); height: 48px }
.sw-ghost .cell { position: relative; border-left: 1px solid var(--grid); border-bottom: 1px solid var(--grid); height: 48px }
.gbar { position: absolute; top: 8px; height: 32px; border-radius: 5px; background: var(--grid-strong) }
.ghost-table { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 0 }
.ghost-table div { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1.2fr 2.4fr; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--grid) }
.ghost-table span { display: block; height: 11px; border-radius: 3px; background: var(--grid-strong) }
.ghost-table .h span { background: var(--muted); opacity: .5 }
.ghost-chart { height: 214px; position: relative }
.ghost-chart .gbar { left: 0; height: 14px; border-radius: 0 4px 4px 0 }
.ghost-label { position: absolute; right: 10px; bottom: 8px; font: 600 11px var(--f-mono); letter-spacing: .1em; color: var(--muted) }


/* ---------- standard service windows (private page; the public page only for the southern ports, v3.3) ---------- */
.swcard { padding: 14px 0 0; overflow: hidden }
.swlegend { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 14px 10px; font-size: 12px; color: var(--ink-2) }
.swlegend span { display: inline-flex; align-items: center; gap: 6px }
.swlegend i { width: 22px; height: 11px; border-radius: 3px; display: inline-block }
.swscroll { overflow-x: auto; overflow-y: hidden; border-top: 1px solid var(--grid-strong); scrollbar-width: thin }
.swb { position: relative; --swlw: 168px; --swdw: 130px }
.swaxis { display: flex; background: var(--surface); border-bottom: 1px solid var(--grid-strong) }
.swcorner { position: sticky; left: 0; z-index: 3; flex: none; width: var(--swlw); background: var(--surface); border-right: 1px solid var(--grid-strong); padding: 8px 10px; font: 600 11px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: flex-end }
.swday { flex: none; width: var(--swdw); border-left: 1px solid var(--grid-strong); padding-top: 6px }
.swday:first-of-type { border-left: 0 }
.swday.we { background: var(--weekend) }
.swday b { display: block; font: 600 14px/1 var(--f-display); letter-spacing: .03em; padding: 0 8px }
.swticks { display: flex; margin-top: 5px; font: 10px var(--f-mono); color: var(--muted) }
.swticks span { flex: 1; padding: 0 0 3px 3px; border-left: 1px solid var(--grid) }
.swticks span:first-child { border-left-color: transparent }
.swzone { display: flex; height: 26px; align-items: center; background: var(--band); color: var(--band-ink) }
.swzone b { position: sticky; left: 0; flex: none; width: var(--swlw); padding: 0 10px; font: 700 13px var(--f-display); letter-spacing: .1em; background: var(--band); text-transform: uppercase }
.swzone span { font: 10.5px var(--f-mono); color: var(--band-note); padding-left: 10px; white-space: nowrap }
.swlane { display: flex; height: 44px; border-bottom: 1px solid var(--grid) }
.swlane.first { border-top: 1px solid var(--grid-strong) }
.swl { position: sticky; left: 0; z-index: 2; flex: none; width: var(--swlw); background: var(--surface); border-right: 1px solid var(--grid-strong); padding: 0 10px; display: flex; flex-direction: column; justify-content: center; min-width: 0 }
.swl b { font: 700 14px/1.05 var(--f-display); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.swl b em { font: 500 12px var(--f-mono); color: var(--muted); margin-left: 6px }
.swl small { font: 10.5px var(--f-mono); color: var(--muted); margin-top: 2px }
.swlane.hh .swl { background: var(--hhit-tint) }
.swlane.hh .swl b { color: var(--hhit-ink) }
.swtrack { position: relative; flex: none; height: 100%; background-image: linear-gradient(to right, var(--grid-strong) 1px, transparent 1px), linear-gradient(to right, var(--grid) 1px, transparent 1px); background-size: var(--swdw) 100%, calc(var(--swdw) / 4) 100% }
.swwe { position: absolute; top: 0; bottom: 0; background: var(--weekend); pointer-events: none }
.swbar { position: absolute; top: 5px; bottom: 5px; border-radius: 5px; background: var(--c); color: var(--t); padding: 3px 6px 0; overflow: hidden; line-height: 1.1 }
.swbar b { display: block; font: 600 13px/1.05 var(--f-display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.swbar small { display: block; font: 10px/1.25 var(--f-mono); opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.swbar.tent { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--c) }
.swbar.dim { opacity: .32 }
.swbar.cl { border-top-left-radius: 0; border-bottom-left-radius: 0 }
.swbar.cr { border-top-right-radius: 0; border-bottom-right-radius: 0 }
.dvg .pos { fill: var(--now) } .dvg .neg { fill: var(--ok) }
@media (max-width: 699px) { .swb { --swlw: 112px; --swdw: 104px } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; padding-top: 14px; align-items: start }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; min-width: 0 }
.prose h2 { margin: 0 0 8px; font: 700 20px var(--f-display); letter-spacing: .03em; text-transform: uppercase }
.prose h3 { margin: 18px 0 6px; font: 700 15px var(--f-display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2) }
.prose p, .prose li { max-width: 68ch; font-size: 13.5px; line-height: 1.6 }
.prose ul { padding-left: 18px; margin: 6px 0 }
.prose .statement { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; margin: 10px 0 }
.prose .statement p:first-child { margin-top: 0 }
.cov { display: flex; flex-wrap: wrap; gap: 3px; margin: 8px 0 4px }
.cov i { width: 12px; height: 18px; border-radius: 2px; background: var(--accent); display: inline-block }
.cov i.gap { background: transparent; box-shadow: inset 0 0 0 1px var(--warn) }
.cov i.fut { background: var(--grid-strong) }
.facts { margin: 0 }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 10px; padding: 5px 0; border-bottom: 1px solid var(--grid) }
.facts dt { color: var(--muted); font-size: 12px }
.facts dd { margin: 0; font: 12px var(--f-mono); overflow-wrap: anywhere; font-variant-numeric: tabular-nums }
.qbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 8px 0 4px; gap: 2px }
.qbar span { display: block; height: 100% }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line) }
.sig b { font: 700 18px var(--f-display); letter-spacing: .03em }
.sig span { display: block; font-size: 12.5px; color: var(--ink-2) }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-block: 14px 24px }
.foot b { color: var(--ink-2); font-weight: 600 }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .main { grid-template-columns: minmax(0, 1fr) }
  .rail { position: static }
  .about { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 860px) {
  .grid2 { grid-template-columns: minmax(0, 1fr) }
  .search { margin-left: 0; width: 100% }
  .search input { width: 100%; max-width: none }
  .finder-top .search input { width: 100% }
  .finder-top .count { margin-left: 0 }
  .ftable thead { display: none }
  .ftable, .ftable tbody { display: block }
  .ftable tr[data-i] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 12px; border-bottom: 1px solid var(--grid) }
  .ftable tr[data-i] td { padding: 0; border: 0; white-space: normal }
  .ftable td.c-v { grid-column: 1 }
  .ftable td.c-st { grid-column: 2; grid-row: 1; text-align: right }
  .ftable td.c-op, .ftable td.c-t { grid-column: 1 / -1; font-size: 12px }
  .ftable td.c-a, .ftable td.c-d { grid-column: 1 / -1; font-size: 11.5px }
  .ftable td.c-a::before { content: "Arr  " } .ftable td.c-d::before { content: "Dep  " }
  .ftable td.c-loa, .ftable td.c-h, .ftable td.c-svc { display: none }
}
@media (max-width: 699px) {
  /* filter chips: one swipeable row each, so the berth window starts higher on a phone */
  .filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-right: 16px; padding-bottom: 2px }
  .filters .chips::-webkit-scrollbar { display: none }
  .filters .chips > * { flex: none }
  .filters .chips .lbl { min-width: 0; margin-right: 4px }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .kpi { padding: 8px 11px 9px }
  .kpi .v { font-size: 22px }
  .kpi .s { font-size: 10.5px }
  .range { min-width: 0; font-size: 16px }
  .brand h1 { font-size: 23px }
  .mark { width: 34px; height: 34px }
  .sw-ghost { grid-template-columns: 76px repeat(7, minmax(0, 1fr)) }
  .ghost-table div { grid-template-columns: 1fr 1fr 1fr }
  .ghost-table div span:nth-child(n+4) { display: none }
  .prose { padding: 16px }
  .facts div { grid-template-columns: 112px minmax(0, 1fr) }
}
@media (prefers-reduced-motion: reduce) { .iconbtn.spin svg, .fresh[data-state="loading"] i, .key.live { animation: none } }

/* ===== v3.6 information box at the end of the page (about, data sources & e-ports, terms) ===== */
.infobox { border-top: 1px solid var(--line); background: var(--surface-2); margin-top: 22px }
.infobox > .wrap { padding-block: 20px 26px; display: grid; gap: 10px }
.ib-head h2 { margin: 0; font: 700 21px/1.15 var(--f-display); letter-spacing: .04em; text-transform: uppercase }
.ib-notice { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-2); max-width: 980px; line-height: 1.55 }
.ib-notice b { color: var(--accent); font-weight: 600 }
details.ib { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: clip }
details.ib > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 12px 16px; position: relative }
details.ib > summary::-webkit-details-marker { display: none }
details.ib > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); grid-column: 2; grid-row: 1 / span 2; margin-top: -4px; transition: transform .18s }
details.ib[open] > summary::after { transform: rotate(-135deg); margin-top: 4px }
details.ib > summary:hover .ib-t { color: var(--accent) }
details.ib > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px }
.ib-t { font: 700 16px/1.2 var(--f-display); letter-spacing: .05em; text-transform: uppercase }
.ib-s { grid-column: 1; font-size: 12.5px; color: var(--muted) }
details.ib[open] > summary { border-bottom: 1px solid var(--line) }
.ib-body > .wrap { padding-inline: 16px }
.ib-body { padding-bottom: 6px }
.ib-body .about { margin-top: 0 }
@media (prefers-reduced-motion: reduce) { details.ib > summary::after { transition: none } }
/* subscribe call to action */
.sub-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; background: linear-gradient(120deg, var(--accent-tint), var(--surface) 70%); border: 1px solid var(--accent); border-radius: 12px; padding: 14px 18px }
.sub-cta .sc-kick { font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent) }
.sub-cta h3 { margin: 2px 0 4px; font: 700 19px/1.15 var(--f-display); letter-spacing: .03em; text-transform: uppercase }
.sub-cta p { margin: 0; font-size: 13px; color: var(--ink-2); max-width: 760px }
.sub-cta .subf { grid-column: 1 / -1; margin: 6px 0 0; max-width: 820px }
.fbrow2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px }
.subfreq { border: 0; margin: 0; padding: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center }
.subfreq legend { float: left; margin-right: 10px; font-weight: 500; color: var(--ink-2) }
.fb label.chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--ink) }
.fb label.chk input { width: auto; margin-top: 2px; accent-color: var(--accent) }
.fb label.consent { font-size: 12.5px; color: var(--ink-2); line-height: 1.5 }
.fb label.consent a { color: var(--accent) }
#subStatus.ok { color: var(--ok) } #subStatus.err { color: var(--rcv-no) }
@media (max-width: 699px) { .sub-cta { grid-template-columns: 1fr } .sub-cta #subOpen { justify-self: start } .fbrow2 { grid-template-columns: 1fr } }

/* ===== v3.6 new version available (version.json) ===== */
.upd { position: fixed; z-index: 60; left: 50%; top: calc(10px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -140%); transition: transform .28s ease; max-width: min(560px, calc(100vw - 32px));
  background: var(--band); color: var(--band-ink); border: 1px solid var(--accent); border-radius: 999px; box-shadow: var(--shadow); padding: 9px 16px; font-size: 13px; cursor: pointer; display: flex; gap: 10px; align-items: center }
.upd.on { transform: translate(-50%, 0) }
.upd b { color: var(--accent) }
@media (prefers-reduced-motion: reduce) { .upd { transition: none } }

/* ===== v3.6 copyright trace rows (finder table): invisible and silent for people and screen readers ===== */
.ftable tr.tr-x { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(100%) !important; clip: rect(0 0 0 0) !important; opacity: 0 !important; pointer-events: none !important; -webkit-user-select: none !important; user-select: none !important; white-space: nowrap; border: 0 !important; padding: 0 !important }

/* ===== v3.6 staging ribbon (test site only) ===== */
.stg { position: fixed; z-index: 70; left: auto; right: 0; bottom: 0; opacity: .92; text-align: left; background: #b3261e; color: #fff; font: 600 11px/1.3 var(--f-mono); letter-spacing: .05em; padding: 6px 10px; border-top-left-radius: 8px; pointer-events: none; max-width: 70vw }


.theme-picker { cursor: pointer; gap: 6px }
.theme-picker select { min-width: 0; max-width: 145px; min-height: 32px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer }
.theme-picker option { background: var(--surface); color: var(--ink) }
.theme-picker:focus-within { outline: 2px solid var(--band-ink); outline-offset: 2px }
:root[data-theme="light"] { --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f7f9; color-scheme: light }

.cd-old { display:block; color:var(--warn); font-size:11px; font-weight:600; line-height:1.4; margin:3px 0 }.cd-kind { display:flex; flex-wrap:wrap; max-width:100%; margin:8px 0 }.cd-kind button { white-space:normal }.cd-revision { border-left:3px solid var(--warn); padding-left:12px }

/* ===== v3.6 seasons (Halloween, Christmas, Tết): colour tokens + a decorative header layer. The plan keeps full contrast. ===== */
.top { position: relative; isolation: isolate; overflow: hidden }
.top > .wrap { position: relative; z-index: 1 }
.season-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden }
.season-fx svg { position: absolute; display: block }
.gamebtn .gt { font-weight: 600 }
@media (max-width: 699px) { .gamebtn .gt { display: none } }
:root[data-season="halloween"] {
  --bg: #0c0912; --surface: #15101d; --surface-2: #1c1526; --ink: #f4ede3; --ink-2: #cbbfd8; --muted: #9c8fae;
  --line: #2f2541; --grid: #201a2c; --grid-strong: #3b2f52;
  --band: #1a0e2a; --band-ink: #f7eadb; --band-note: #d0afe8; --band-line: rgba(255, 160, 80, .22);
  --accent: #ff8c25; --accent-ink: #1b0d00; --accent-tint: #2d1b10;
  --now: #ff6a1a; --weekend: rgba(255, 140, 37, .035); --overflow: rgba(255, 140, 37, .10);
  --hhit-tint: #3b1822; --hhit-ink: #ff9a94;
  --warn: #ffbd5a; --warn-tint: #3a2a0c; --ok: #7fe3a9;
  --rcv-ok: #7fe3a9; --rcv-ok-tint: #143223; --rcv-no: #ff8077; --rcv-no-tint: #3b1716;
  --lock: #cfa8ff; --lock-tint: #2a1d3e;
  --veil: rgba(21, 16, 29, .45); --shadow: 0 12px 34px rgba(0, 0, 0, .6);
  --t-other: #7f7290;
  --o1: #3a2556; --o2: #5b3784; --o3: #8a4fb8; --o4: #d07a3a; --o5: #ffab5c;
  color-scheme: dark }
:root[data-season="halloween"] .tabs { background: linear-gradient(180deg, #1a0e2a, #150b22) }
:root[data-season="halloween"] .tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 #ff8c25 }
:root[data-season="noel"] { --band: #0f3324; --band-note: #b9e3c8; --band-line: rgba(255, 255, 255, .16); --accent: #c8302f; --accent-ink: #fff; --accent-tint: #fbe5e3; --now: #c8302f }
@media (prefers-color-scheme: dark) { :root[data-season="noel"]:not([data-theme="light"]) { --accent: #ff6b63; --accent-ink: #1d0503; --accent-tint: #3a1716 } }
:root[data-season="noel"][data-theme="dark"] { --accent: #ff6b63; --accent-ink: #1d0503; --accent-tint: #3a1716 }
:root[data-season="tet"] { --band: #5a0f12; --band-note: #ffd9a0; --band-line: rgba(255, 215, 120, .22); --accent: #b8231c; --accent-ink: #fff; --accent-tint: #fde7d6; --now: #e0a400 }
@media (prefers-color-scheme: dark) { :root[data-season="tet"]:not([data-theme="light"]) { --accent: #ffc24a; --accent-ink: #2a1800; --accent-tint: #3a2a0c } }
:root[data-season="tet"][data-theme="dark"] { --accent: #ffc24a; --accent-ink: #2a1800; --accent-tint: #3a2a0c }
/* Halloween header layer: ghost container ship, bats around a quay crane, a pumpkin in a hard hat, moon */
.fx-moon { right: 23%; top: -18px; width: 74px; height: 74px; opacity: .55 }
.fx-crane { right: 2%; bottom: -2px; width: 150px; height: 104px; opacity: .5 }
.fx-ship { bottom: 0; left: 0; width: 220px; height: 46px; opacity: .2; animation: bv-ghost 46s linear infinite }
.fx-bats { right: 3%; top: 0; width: 170px; height: 90px }
.fx-bats .bat { animation: bv-bat 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center }
.fx-bats .bat:nth-child(2) { animation-duration: 9s; animation-delay: -3s } .fx-bats .bat:nth-child(3) { animation-duration: 11s; animation-delay: -6s }
.fx-bats .wing { animation: bv-flap .35s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 80% }
.fx-pumpkin { width: 26px; height: 26px; position: relative !important; display: inline-block !important; vertical-align: -4px; margin-left: 2px }
.fx-snow { left: 0; top: 0; width: 100%; height: 100% }
.fx-snow circle { animation: bv-snow 9s linear infinite }
.fx-lantern { top: -4px; width: 34px; height: 60px; animation: bv-sway 4s ease-in-out infinite alternate; transform-origin: 50% 0 }
@keyframes bv-ghost { 0% { transform: translateX(-240px) } 100% { transform: translateX(calc(100vw + 40px)) } }
@keyframes bv-bat { 0%, 100% { transform: translate(0, 0) } 25% { transform: translate(-46px, 16px) } 50% { transform: translate(-86px, 4px) } 75% { transform: translate(-40px, -6px) } }
@keyframes bv-flap { from { transform: scaleY(1) } to { transform: scaleY(.35) } }
@keyframes bv-snow { from { transform: translateY(-20px) } to { transform: translateY(120px) } }
@keyframes bv-sway { from { transform: rotate(-5deg) } to { transform: rotate(5deg) } }
@media (max-width: 699px) { .fx-crane { width: 96px; height: 70px; opacity: .35 } .fx-moon { right: 36%; width: 52px; height: 52px } .fx-bats { width: 110px; height: 70px } }
@media (prefers-reduced-motion: reduce) { .fx-ship, .fx-bats .bat, .fx-bats .wing, .fx-snow circle, .fx-lantern { animation: none } .fx-ship { transform: translateX(30vw) } }
@media print { .season-fx, .upd, .stg, .fx-pumpkin { display: none !important } }
/* v3.8 music + codes */
.musicbtn .meq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-left: 2px }
.musicbtn .meq b { display: block; width: 3px; height: 4px; background: currentColor; border-radius: 1px; opacity: .6 }
.musicbtn.on .meq b { animation: meq 0.9s ease-in-out infinite; opacity: 1 }
.musicbtn.on .meq b:nth-child(2) { animation-delay: .25s } .musicbtn.on .meq b:nth-child(3) { animation-delay: .5s }
@keyframes meq { 0%, 100% { height: 3px } 50% { height: 12px } }
.musicbtn { min-height: 44px; padding: 0 16px; gap: 8px; font-size: 15px; font-weight: 800; border: 2.5px solid #F5B700; border-radius: 999px; box-shadow: 0 0 0 3px rgba(245, 183, 0, .28); background: rgba(245, 183, 0, .12) }
.musicbtn .ic { width: 22px; height: 22px }
.musicbtn .meq { height: 16px } .musicbtn .meq b { width: 4px }
.musicbtn:hover { background: rgba(245, 183, 0, .24) }
.musicbtn.on { border-color: #F5B700; box-shadow: 0 0 0 4px rgba(245, 183, 0, .4) }
.mp-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 8px }
.mp-nav .mp-b { height: 36px; min-width: 44px; font-size: 15px }
.mp-now { flex: 1; font: 700 12.5px system-ui, sans-serif; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.mp-list button .mp-t { opacity: .65; margin-right: 6px; font-weight: 700 }
@media (max-width: 620px) { .musicbtn .mlab { display: none } }
@media (prefers-reduced-motion: reduce) { .musicbtn.on .meq b { animation: none; height: 8px } }
.mpanel { position: fixed; z-index: 260; top: 62px; right: 12px; width: min(348px, calc(100vw - 24px)); background: #1b1230; color: #f4eeff; border: 1.5px solid #ff8c25; border-radius: 14px; padding: 10px 12px 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .55) }
.mpanel:not(.shown) { left: -9999px; right: auto; top: 0 }
.mp-h { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font: 700 14px var(--f-display); letter-spacing: .06em; text-transform: uppercase }
.mp-sp { flex: 1 }
.mp-b { background: #ffffff14; color: #fff; border: 1px solid #ffffff44; border-radius: 8px; min-width: 34px; height: 30px; padding: 0 9px; cursor: pointer; font: 700 13px system-ui, sans-serif }
.mp-b:hover { background: #ffffff26 } .mp-b:focus-visible, .mp-list button:focus-visible { outline: 2px solid #ff8c25; outline-offset: 2px }
.mp-list { display: grid; gap: 5px; margin-bottom: 8px }
.mp-list button { text-align: left; background: #ffffff10; color: #f4eeff; border: 1px solid #ffffff33; border-radius: 8px; padding: 7px 10px; cursor: pointer; font: 600 13px system-ui, sans-serif }
.mp-list button[aria-pressed="true"] { background: #ff8c25; color: #1b0f2e; border-color: #ff8c25 }
.mp-fr { aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden }
.mp-fr iframe { width: 100%; height: 100%; border: 0; display: block }
.mp-n { margin: 8px 0 0; font-size: 11.5px; line-height: 1.45; opacity: .78 }
.epsubs { padding-block: 14px 0 } .epsubs .seg button { padding: 8px 16px; font-size: 14px; font-weight: 600 }
.cd-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 6px }
.cd-q { flex: 1 1 260px; max-width: 420px }
.cd-bar .seg { flex-wrap: wrap }
.cd-count { margin: 6px 0; font: 600 12px var(--f-mono); color: var(--muted) }
.cdt td { vertical-align: top } .cd-n small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px }
.cd-name { background: none; border: 0; padding: 0; cursor: pointer; font: 700 13.5px/1.35 inherit; color: var(--accent); text-align: left; text-decoration: underline dotted; text-underline-offset: 3px }
.cd-code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font: 600 12.5px var(--f-mono); color: var(--ink); cursor: copy; white-space: nowrap }
.cd-code:hover { border-color: var(--accent) } .cd-code.copied { background: var(--ok); color: #fff; border-color: var(--ok) }
.cd-none { color: var(--muted) }
.cd-ck { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; font: 700 12px system-ui; color: #fff }
.cd-ck.ck-ok { background: var(--ok, #2e9b5b) } .cd-ck.ck-diff { background: var(--warn, #d9822b) } .cd-ck.ck-na { background: var(--muted, #7a8a99) }
.cd-d td { background: var(--surface-2); padding: 10px 14px }
.cd-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 13px; line-height: 1.5 }
.cd-dl dt { color: var(--muted); font-weight: 600 } .cd-dl dd { margin: 0 }
.cd-dl .ck-diff { color: var(--warn); font-weight: 600 }
.cd-act { margin-top: 8px }
.cd-empty { text-align: center; color: var(--muted); padding: 18px }
.cd-key, .cd-src { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 10px 0 }
.cd-key .cd-ck { width: 16px; height: 16px; font-size: 10px; vertical-align: -2px }
.cd-src { color: var(--muted); font-size: 12px }
@media (max-width: 700px) { .cdt { min-width: 760px } }


/* ---------- Compact Single-Region On-Time Services KPI Card ---------- */
.rankbox, #bv-layout-note { display: none !important }
.kpis.k5 { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .88fr) minmax(0, 1fr) }
.kpi.kpi-ot .hd { align-items: center; gap: 6px }
.kpi.kpi-ot .hd h3 { display: inline-flex; align-items: center; gap: 5px; min-width: 0 }
.ot-title-wrap { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; text-overflow: ellipsis }
.bv-crown-wobble.title-crown { width: 16px; height: 12px; flex: none; vertical-align: -2px }
.kpi.kpi-ot .hd .v { font-size: 12px; flex: none }
.kpi.kpi-ot > .s:empty { display: none }
.ot-span-pill { font: 600 10px/1.2 var(--f-mono); color: var(--accent, #f2b705); background: rgba(242,183,5,.12); border: 1px solid rgba(242,183,5,.38); padding: 2px 6px; border-radius: 999px; white-space: nowrap; display: inline-block }
.ot-single-wrap { display: flex; flex-direction: column; margin-top: 3px; min-width: 0 }
.ot-side-hd { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 5px; flex-wrap: nowrap }
.ot-note-txt { font: 10.5px/1.2 var(--f-mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0 }
.ot-tabs { display: inline-flex; gap: 1.5px; background: var(--surface-2, rgba(255,255,255,.04)); padding: 1.5px; border-radius: 5px; border: 1px solid var(--line); flex: none }
.ot-tab { border: 0; background: transparent; color: var(--muted); font: 600 9.5px/1.1 var(--f-mono); padding: 2px 5.5px; border-radius: 3.5px; cursor: pointer; white-space: nowrap; transition: all .12s }
.ot-tab:hover { color: var(--ink) }
.ot-tab.on { background: var(--accent, #f2b705); color: #141b24; font-weight: 700 }
.kl.ot-kl { margin: 0; max-height: 92px; gap: 2px }
.kl.ot-kl li.ot-row { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 5px; cursor: pointer; padding: 1.5px 6px 1.5px 4px; transition: transform .1s, background .12s }
.kl.ot-kl li.ot-row:hover { background: rgba(242,183,5,.14); transform: translateX(1.5px) }
.kl.ot-kl li.ot-row b small { font-weight: 400; font-size: 9.5px; color: var(--muted); margin-left: 4px }
.ot-num { font: 700 10px/1.1 var(--f-mono); color: var(--muted); text-align: center }
@keyframes bvCrownWobble {
 0%, 100% { transform: rotate(-9deg) scale(1) }
 50% { transform: rotate(9deg) scale(1.08) }
}
@keyframes bvCrownWobbleBig {
 0%, 100% { transform: rotate(-8deg) translateY(0) scale(1) }
 50% { transform: rotate(8deg) translateY(-3px) scale(1.07) }
}
.bv-crown-wobble { width: 15px; height: 11.5px; display: inline-block; transform-origin: 50% 85%; animation: bvCrownWobble 1.5s ease-in-out infinite; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); position: relative; z-index: 1 }
.bv-crown-modal { width: 72px; height: 52px; display: inline-block; transform-origin: 50% 85%; animation: bvCrownWobbleBig 1.6s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(242,183,5,.45)) }
.bv-svc-modal-backdrop { position: fixed; inset: 0; z-index: 9998; background: rgba(8,12,20,.76); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px }
.bv-svc-modal-backdrop[hidden] { display: none !important }
.bv-svc-modal-card { position: relative; background: var(--surface, #161f2c); color: var(--ink, #e8eef5); border: 1.5px solid rgba(242,183,5,.55); border-radius: 14px; max-width: 620px; width: 100%; padding: 20px 22px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.6); overflow: hidden; font: 13px/1.45 var(--f-body, sans-serif) }
.bv-fw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0 }
.bv-svc-close { position: absolute; top: 12px; right: 12px; z-index: 2; border: 1px solid var(--line); background: var(--surface-2, #222d3d); color: var(--ink); width: 28px; height: 28px; border-radius: 999px; cursor: pointer; font-weight: 700 }
.bv-svc-close:hover { border-color: var(--accent); color: var(--accent) }
.bv-svc-hero { position: relative; z-index: 1; text-align: center; padding-bottom: 12px; border-bottom: 1px solid var(--line) }
.bv-svc-crown-wrap { margin-bottom: 4px }
.bv-svc-tier { font: 700 11px var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: #ffd34e }
.bv-svc-title { margin: 4px 0 3px; font: 700 22px/1.2 var(--f-body); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap }
.bv-svc-pct { font: 700 15px var(--f-mono); background: rgba(242,183,5,.18); color: #ffd34e; border: 1px solid rgba(242,183,5,.5); padding: 2px 9px; border-radius: 999px }
.bv-svc-sub { font: 12px var(--f-mono); color: var(--ink-2) }
.bv-svc-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px }
.bv-svc-box { background: var(--surface-2, rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px }
.bv-svc-box label { font: 600 10px var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }
.bv-svc-box strong { font: 700 12.5px/1.25 var(--f-mono); color: var(--ink) }
.bv-svc-box small { font: 10.5px var(--f-mono); color: var(--ink-2) }
.bv-svc-rot-sec { position: relative; z-index: 1; margin-top: 12px; background: var(--surface-2, rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px }
.bv-svc-rot-lbl { font: 700 11px var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 7px }
.bv-svc-rot-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 5px }
.bv-rot-port { font: 600 11.5px var(--f-mono); padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink) }
.bv-rot-port.vn { background: rgba(242,183,5,.16); border-color: rgba(242,183,5,.65); color: #ffd34e; font-weight: 700 }
.bv-rot-arr { color: var(--muted); font-size: 11px }
.bv-svc-vessels { position: relative; z-index: 1; margin-top: 10px; font: 11.5px var(--f-mono); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 5px }
.bv-ves-chip { background: rgba(42,120,214,.16); border: 1px solid rgba(42,120,214,.4); color: #8ec5ff; padding: 1.5px 7px; border-radius: 999px; font: 600 10.5px var(--f-mono) }
@media (max-width: 1280px) {
 .kpis.k5 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
 .kpi.kpi-ot { grid-column: 1 / -1 }
}
@media (max-width: 560px) {
 .kpis.k5 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
 .kpi.kpi-ot { grid-column: 1 / -1; padding: 9px 11px 10px }
 .kpi.kpi-ot .hd { flex-wrap: nowrap; justify-content: space-between }
 .ot-side-hd { flex-wrap: wrap; gap: 4px }
 .bv-svc-grid { grid-template-columns: 1fr }
}

/* follow.css merged */
/* Khối gập để giữ chỗ cho lịch cầu bến trên điện thoại. */
#bv-follow{margin:12px auto;max-width:1600px;padding:0 12px;color:var(--ink);font-size:14px}#bv-follow details{border:1px solid var(--line,#aaa);border-radius:12px;background:var(--surface);padding:12px}#bv-follow summary{cursor:pointer;font-weight:700;min-height:30px}#bv-follow .bvf-body{padding-top:12px}#bv-follow h3{margin:16px 0 8px}#bv-follow p{margin:8px 0;line-height:1.5}#bv-follow fieldset{margin-top:16px;border:1px solid var(--line,#aaa);border-radius:8px}#bv-follow label{display:inline-block;margin:6px;max-width:100%}#bv-follow select{max-width:100%;padding:8px;color:inherit;background:var(--surface);border:1px solid var(--line,#aaa)}#bv-follow .btn{margin:4px;white-space:normal;min-height:36px}#bv-follow .bvf-events{max-height:380px;overflow:auto}#bv-follow .bvf-events p{padding:8px;border-bottom:1px solid var(--line,#aaa)}#bv-follow .bvf-watches,#bv-follow .bvf-share{display:flex;flex-wrap:wrap;gap:8px;align-items:center}#bv-follow img{display:block;width:100%;max-width:900px;margin:12px 0}#bv-follow [data-message]{overflow-wrap:anywhere}#bv-follow input:focus-visible,#bv-follow summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Tiêu đề và điều khiển theo dõi dễ nhận ra; dấu × xuất hiện khi rê chuột hoặc dùng bàn phím. */
#bv-follow summary{display:table;max-width:100%;box-sizing:border-box;padding:10px 16px;border:2px solid var(--accent,#f5b700);border-radius:999px;background:var(--surface);box-shadow:0 2px 12px rgba(245,183,0,.18);font-weight:800;letter-spacing:.03em;line-height:1.35;text-transform:uppercase}#bv-follow summary:hover{box-shadow:0 2px 18px rgba(245,183,0,.34)}#bv-follow summary strong{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--accent,#f5b700);color:#17212d}#popBody [data-follow-v]{display:inline-flex;align-items:center;margin:8px 0 4px;padding:7px 13px;border:2px solid var(--accent,#f5b700);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:700}#popBody [data-follow-v]:hover,#popBody [data-follow-v]:focus-visible{background:var(--accent,#f5b700);color:#17212d}#bv-follow .bvf-vessel{display:inline-flex;align-items:center;max-width:100%;min-height:38px;border:1px solid var(--accent,#f5b700);border-radius:999px;background:var(--surface);overflow:hidden}#bv-follow .bvf-vessel-name,#bv-follow .bvf-unfollow{border:0;background:transparent;color:inherit;cursor:pointer}#bv-follow .bvf-vessel-name{padding:8px 12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}#bv-follow .bvf-unfollow{padding:6px 11px;font-size:22px;line-height:1;color:var(--accent,#f5b700);transition:opacity .15s ease}#bv-follow .bvf-unfollow:hover,#bv-follow .bvf-unfollow:focus-visible{background:var(--accent,#f5b700);color:#17212d}#bv-follow .bvf-vessel:focus-within{outline:2px solid var(--accent,#f5b700);outline-offset:2px}@media (hover:hover) and (pointer:fine){#bv-follow .bvf-unfollow{opacity:0}#bv-follow .bvf-vessel:hover .bvf-unfollow,#bv-follow .bvf-vessel:focus-within .bvf-unfollow{opacity:1}}

/* Điều hướng nằm cạnh Lịch cầu bến và trước Trò chơi. */
#followNav.bvf-nav{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border:1.5px solid var(--accent,#f5b700);border-radius:999px;padding:5px 12px;margin:3px 4px 4px;color:var(--band-ink);font-weight:800}#followNav.bvf-nav:hover,#followNav.bvf-nav[aria-expanded="true"]{background:rgba(245,183,0,.14)}#followNav .bvf-count{border-radius:999px;background:var(--accent,#f5b700);color:#17212d;font-size:11px;padding:2px 7px}#bv-follow[hidden]{display:none}
