/* ============================================================
   Bangkok Aquarium: "Tank Glass" (design pass 2026-10-31, class prefix bka-)
   Deep-water indigo ground and cobalt structure with a bioluminescent magenta CTA. Not the
   generic aquarium teal. Sans display (humanist, Gill Sans / Trebuchet class) over a serif
   reading face (Charter class), UI controls in the system sans. Framed glass panes with an
   inner highlight, numbered section headings, a frosted capsule nav, a wave-edged footer.
   Loaded AFTER styles.css, so it re-tokens the whole site and overrides what must differ.
   ============================================================ */
:root {
  color-scheme: light dark;
  --ink:        #0A1630;
  --ink-soft:   #44506E;
  --paper:      #F2F5FD;
  --paper-2:    #E4EAF8;
  --surface:    #FFFFFF;
  --surface-2:  #F7F9FE;
  --line:       #CBD4EC;
  --brand:      #2744B8;
  --brand-deep: #1B3191;
  --accent:     #C2255C;
  --accent-deep:#9E1A48;
  --accent-ink: #FFFFFF;
  --sea:        #1B3A8A;
  --sea-deep:   #12286A;
  --gold:       #8A5A00;
  --gold-soft:  #FBEBC8;
  --gold-ink:   #4A3000;
  --gold-bright:#FFC247;
  --slate:      #5B6A8C;
  --night:      #070D24;
  --night-2:    #0F1B45;
  --night-ink:  #E8EDFB;
  --footer:     #060B1E;
  --ok:         #1F7A55;
  --warn:       #9A5A1E;
  --glass:      rgba(255,255,255,.72);
  --glass-line: rgba(39,68,184,.22);
  --glow:       rgba(120,150,255,.35);
  --display: "Avenir Next", "Gill Sans", "Gill Sans MT", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
  --ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 74rem;
  --shadow: 0 18px 40px -26px rgba(10,22,60,.55);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #E7ECFB;
    --ink-soft:   #AAB6D8;
    --paper:      #070C1E;
    --paper-2:    #0D1530;
    --surface:    #121B3C;
    --surface-2:  #0F1733;
    --line:       #27345F;
    --brand:      #9DB0FF;
    --brand-deep: #C3CFFF;
    --accent:     #FF7BA9;
    --accent-deep:#FF9DC1;
    --accent-ink: #2A0716;
    --sea:        #8FA6F5;
    --sea-deep:   #B4C3FA;
    --gold:       #FFC247;
    --gold-soft:  #3A2C0A;
    --gold-ink:   #FFE6A8;
    --slate:      #93A0C4;
    --night:      #040716;
    --night-2:    #0B1330;
    --night-ink:  #E8EDFB;
    --footer:     #03050F;
    --ok:         #5FD6A0;
    --warn:       #F0B070;
    --glass:      rgba(18,27,60,.7);
    --glass-line: rgba(157,176,255,.24);
    --glow:       rgba(120,150,255,.22);
    --shadow: 0 18px 40px -26px rgba(0,0,0,.9);
  }
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { font-family: var(--body); font-size: 1.06rem; line-height: 1.72; background: var(--paper); color: var(--ink); }
h1,h2,h3,h4 { font-family: var(--display); letter-spacing: -.012em; }
h1 { line-height: 1.04; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem); line-height: 1.1; margin-top: 0; }
h3 { font-weight: 700; font-size: clamp(1.2rem, 1.08rem + .5vw, 1.5rem); margin-top: 2.2rem; }
a { color: var(--brand); }
.btn, button, input, select, textarea, th, label, legend, summary, table, .small, figcaption { font-family: var(--ui); }
.btn { border-radius: 999px; font-weight: 800; letter-spacing: .05em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -14px var(--accent); }
.btn-primary:hover { background: var(--accent-deep); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--gold-bright); } }

/* ---- prose uses the full container (Oleg 10-30), never a half-width column ---- */
.wrap { width: min(100% - 2rem, var(--maxw)); }
main p, main li { max-width: none; }
.section { padding-block: clamp(2.6rem, 2rem + 3vw, 4.4rem); }
.section + .section { padding-top: clamp(2.6rem, 2rem + 3vw, 4.4rem); }
main > section.section > p, main > section.section > ul { font-size: 1.07rem; }

/* numbered headings: a small gauge tag before every home H2 */
body.home main { counter-reset: bkas; }
body.home main > section.section > h2 { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
body.home main > section.section > h2:first-child::before,
body.home main > section.section.band-night > h2:first-child::before {
  position: static; width: auto; height: auto;
  counter-increment: bkas; content: counter(bkas, decimal-leading-zero);
  font-family: var(--ui); font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  color: var(--brand); border: 1.5px solid var(--glass-line); background: var(--glass);
  border-radius: 999px; padding: .28rem .7rem; transform: translateY(-.25em);
}
body.home main > section.section > h2:first-child { padding-top: 0; }

/* ---- bands ---- */
.section.band-night, .section.band-linen { margin-top: 0; }
.section.band-night { background: var(--night); box-shadow: 0 0 0 100vmax var(--night); padding-bottom: 2.4rem; }
.section.band-linen { background: var(--paper-2); box-shadow: 0 0 0 100vmax var(--paper-2); }
.section.band-night h2::before { color: var(--gold-bright); border-color: rgba(255,194,71,.4); background: rgba(255,255,255,.06); }
.section.band-night p, .section.band-night li { color: var(--night-ink); }
.section.band-night a { color: #B8C6FF; }
.section.band-night h3 { color: #fff; }

/* ============================================================
   HEADER: frosted capsule rail (sticky header is allowed; nothing else sticky)
   ============================================================ */
.site-header.bka-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--glass-line); }
.bka-head-in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.bka-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.bka-brand img { width: 36px; height: 36px; border-radius: 10px; }
.bka-brand-t { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); }
.bka-brand-t b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.bka-brand-t i { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--brand); margin-top: .22rem; }
.bka-rail { margin-left: auto; }
.bka-rail ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: .3rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.bka-rail a { display: block; padding: .5rem .85rem; border-radius: 999px; font-family: var(--ui); font-size: .86rem; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bka-rail a:hover { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .bka-rail a:hover { color: #0A1630; } .bka-rail ul { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); } }
.bka-rail .sep { width: 1px; height: 1.2rem; background: var(--glass-line); margin: 0 .25rem; }
.bka-head-cta { padding: .62rem 1.15rem; min-height: 44px; font-size: .78rem; background: var(--accent); color: var(--accent-ink); }
.bka-head-cta:hover { background: var(--accent-deep); color: var(--accent-ink); }
.bka-burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); cursor: pointer; }
.bka-burger svg { width: 24px; height: 24px; }
.bka-burger .b-close { display: none; }
.bka-burger[aria-expanded="true"] .b-open { display: none; }
.bka-burger[aria-expanded="true"] .b-close { display: inline; }
.bka-sheet { border-top: 1px solid var(--glass-line); background: var(--paper); padding: 1rem 0 1.4rem; max-height: calc(100vh - 68px); overflow-y: auto; }
.bka-sheet[hidden] { display: none; }
.bka-sheet-h { font-family: var(--ui); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: .6rem 0 .5rem; }
.bka-tiles { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.bka-tiles a { display: flex; align-items: center; min-height: 56px; padding: .6rem .95rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.bka-tiles a:active, .bka-tiles a:hover { border-color: var(--brand); }
.bka-sheet-cta { width: 100%; margin-top: .6rem; background: var(--accent); color: var(--accent-ink); }
@media (max-width: 1099px) {
  .bka-rail, .bka-head-cta { display: none; }
  .bka-burger { display: inline-flex; margin-left: auto; }
}
@media (min-width: 1100px) { .bka-sheet { display: none !important; } }

/* ============================================================
   HERO: a framed glass pane, copy left, "the walk down" cross-section right
   ============================================================ */
.bka-hero { padding: 1rem 0 0; }
.bka-hero-in {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.4rem, 2.5vw, 2.8rem); border-radius: 28px; color: #EEF2FF;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(120,150,255,.38), transparent 60%),
    radial-gradient(600px 360px at 0% 110%, rgba(194,37,92,.28), transparent 62%),
    linear-gradient(160deg, #0B1840 0%, #070D24 70%);
  border: 1px solid rgba(157,176,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 6px rgba(255,255,255,.02), var(--shadow);
  position: relative; overflow: hidden;
}
.bka-hero-in::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px); pointer-events: none; }
.bka-hero-copy, .bka-hero-vis { position: relative; z-index: 1; min-width: 0; }
.bka-hero h1 { color: #fff; font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.45rem); font-weight: 800; max-width: none; margin: 0 0 1.1rem; }
.bka-lede { color: #D5DDF8; font-size: 1.06rem; line-height: 1.7; margin: 0 0 1.3rem; max-width: none; }
.bka-chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: .6rem; }
.bka-chips li { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .9rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(157,176,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); min-width: 0; }
.bka-chips .k { font-family: var(--ui); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #AFC0FF; }
.bka-chips .v { font-family: var(--display); font-weight: 800; font-size: 1.08rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bka-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.bka-cta { background: var(--accent); color: var(--accent-ink); padding: .95rem 1.5rem; font-size: .84rem; }
.bka-hero .bka-cta { background: #FF7BA9; color: #2A0716; box-shadow: 0 14px 30px -14px #FF7BA9; }
.bka-hero .bka-cta:hover { background: #FF9DC1; color: #2A0716; }
.bka-cta svg { transition: transform .15s ease; }
.bka-cta:hover svg { transform: translateX(4px); }
.bka-cta-ghost { background: transparent; color: #EEF2FF; border: 1.5px solid rgba(238,242,255,.55); padding: .95rem 1.4rem; font-size: .84rem; }
.bka-cta-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* the walk-down figure */
.bka-walk { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.wd-svg { width: 100%; max-width: 480px; height: auto; display: block; }
.wd-s0 { stop-color: #28409A; } .wd-s1 { stop-color: #0A1230; }
.wd-glass { stroke: rgba(190,205,255,.55); stroke-width: 1.5; }
.wd-wave { fill: rgba(255,255,255,.14); } .wd-wave2 { fill: rgba(150,175,255,.2); }
.wd-rule { stroke: rgba(190,205,255,.25); stroke-dasharray: 3 5; }
.wd-top, .wd-foot { fill: #BFCBFF; font: 700 13px var(--ui); letter-spacing: .02em; }
.wd-rail { stroke: rgba(190,205,255,.4); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.wd-lab { fill: #F4F7FF; font: 700 15px var(--ui); }
.wd-num { font: 800 14px var(--ui); fill: #fff; }
.wd-n circle { stroke-width: 2; }
.wd-start circle { fill: #FF7BA9; stroke: #fff; } .wd-start .wd-num { fill: #2A0716; }
.wd-map circle { fill: #5C7BFF; stroke: #D6DEFF; }
.wd-ed circle { fill: #0A1230; stroke: #8FA6F5; stroke-dasharray: 4 3; }
.wd-key { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .9rem; font-family: var(--ui); font-size: .78rem; font-weight: 650; color: #D5DDF8; }
.wd-k { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.wd-k::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #D6DEFF; background: #5C7BFF; }
.wd-k-start::before { background: #FF7BA9; border-color: #fff; }
.wd-k-ed::before { background: #0A1230; border: 2px dashed #8FA6F5; }
@media (max-width: 900px) {
  .bka-hero-in { grid-template-columns: 1fr; border-radius: 22px; }
  .bka-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) { .bka-chips .v { font-size: .92rem; white-space: nowrap; } .bka-chips li { padding: .55rem .7rem; } .bka-cta, .bka-cta-ghost { width: 100%; } .bka-hero-in { padding: 1.1rem; } }

/* ============================================================
   CARDS, TABLES, panes: glass surfaces
   ============================================================ */
.cards-3 .rcard, .rcard { border-radius: 20px; border: 1px solid var(--glass-line); background: var(--surface); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.4); overflow: hidden; }
.rcard h3 a { color: var(--ink); text-decoration: none; font-family: var(--display); }
.rcard h3 a:hover { color: var(--brand); text-decoration: underline; }
.rcard .btn-primary { width: 100%; }
.table-hybrid, .feed-table { border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-line); background: var(--surface); }
.table-hybrid th, .feed-table th { background: var(--paper-2); color: var(--ink); font-size: .74rem; letter-spacing: .08em; }
.table-hybrid td, .feed-table td { background: var(--surface); color: var(--ink); }
.table-hybrid tbody tr:nth-child(even) td, .feed-table tbody tr:nth-child(even) td { background: var(--surface-2); }
.table-hybrid caption { font-family: var(--display); font-weight: 700; color: var(--ink); }
.pct-verdict { font-family: var(--ui); background: var(--glass); border: 1px solid var(--glass-line); border-left: 4px solid var(--accent); border-radius: 12px; padding: .8rem 1rem; }

.photo-mosaic { border-radius: 20px; overflow: hidden; }
.photo-mosaic .pm-tile { border-radius: 12px; overflow: hidden; }
.photo-mosaic .pm-cap { font-family: var(--display); }

.visit-planner, .zone-explorer, .feed-planner { border-radius: 22px; }
.vp-opt, .ze-chip-btn { border-radius: 999px; font-family: var(--ui); }
.vp-opt:has(input:checked), .ze-chip-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .vp-opt:has(input:checked), .ze-chip-btn[aria-pressed="true"] { color: #0A1630; } }
.ze-card { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.stat-tile { border-radius: 18px; background: var(--surface); border: 1px solid var(--glass-line); color: var(--ink); }
.stat-tile .st-num { font-family: var(--display); color: var(--brand); }
.op-quote { border-left: 4px solid var(--accent); background: var(--glass); border-radius: 0 14px 14px 0; padding: 1rem 1.3rem; }
.map-embed, .map-schematic, .spot-map-wrap > * { border-radius: 18px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 700; color: var(--ink); }

/* ============================================================
   NEW COMPONENTS
   ============================================================ */
.bka-fig { margin: 1.4rem 0 1.8rem; padding: 1.2rem 1.4rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--glass-line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.4); }
.bka-fig-title { font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin: 0 0 .9rem; color: var(--ink); }
.bka-fig figcaption, .bka-tl figcaption { font-family: var(--ui); font-size: .84rem; color: var(--ink-soft); margin-top: .9rem; line-height: 1.5; }
.bka-lg { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.2rem; white-space: nowrap; }
.bka-lg-bar { width: 26px; height: 10px; border-radius: 6px; background: var(--brand); display: inline-block; }
.bka-lg-bar.bka-lg-time { background: var(--accent); }
.bka-lg-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); display: inline-block; }

/* range-bar charts (price ladder, duration) */
.bka-lad-row, .bka-lad-axis { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: .6rem 1.2rem; align-items: center; margin: .5rem 0; }
.bka-lad-lab { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bka-lad-lab b { font-family: var(--ui); font-size: .92rem; font-weight: 700; color: var(--ink); }
.bka-lad-lab span { font-family: var(--ui); font-size: .84rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bka-lad-track { position: relative; height: 22px; border-radius: 999px; background: var(--paper-2); background-image: linear-gradient(90deg, transparent calc(33.33% - 1px), var(--line) calc(33.33% - 1px) 33.33%, transparent 33.33%, transparent calc(66.66% - 1px), var(--line) calc(66.66% - 1px) 66.66%, transparent 66.66%); }
.bka-lad-axis .bka-lad-track { height: 20px; background: none; }
.bka-lad-tick { position: absolute; top: 0; transform: translateX(-50%); font: 700 .74rem var(--ui); color: var(--ink-soft); white-space: nowrap; }
.bka-lad-tick:first-child { transform: none; } .bka-lad-tick:last-child { transform: translateX(-100%); }
.bka-lad-range { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: linear-gradient(90deg, #5C7BFF, var(--brand)); }
.bka-lad-range.bka-lad-time { background: linear-gradient(90deg, #FF9DC1, var(--accent)); }
.bka-lad-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); transform: translate(-50%, -50%); }
.bka-lad-grp { font: 800 .72rem var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 1.1rem 0 .2rem; }
@media (max-width: 640px) {
  .bka-lad-row, .bka-lad-axis { grid-template-columns: 1fr; gap: .25rem; }
  .bka-lad-axis .bka-lad-lab { display: none; }
  .bka-lad-lab { flex-direction: row; justify-content: space-between; align-items: baseline; gap: .6rem; }
  .bka-lg { white-space: normal; display: flex; margin: .3rem 0; }
}

/* this-or-that ticket switch */
.bka-switch { margin: 1.2rem 0 2rem; }
.bka-sw-ctl { display: none; gap: .3rem; padding: .3rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--glass-line); width: fit-content; max-width: 100%; margin-bottom: 1rem; }
.bka-switch.is-js .bka-sw-ctl { display: flex; }
.bka-sw-btn { appearance: none; border: 0; background: transparent; color: var(--ink); font: 700 .92rem var(--ui); padding: .7rem 1.2rem; min-height: 44px; border-radius: 999px; cursor: pointer; }
.bka-sw-btn[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px var(--brand); }
@media (prefers-color-scheme: dark) { .bka-sw-btn[aria-selected="true"] { color: #0A1630; } }
.bka-sw-panel { padding: 1.2rem 1.3rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.bka-sw-panel[hidden] { display: none; }
.bka-switch:not(.is-js) .bka-sw-panel + .bka-sw-panel { margin-top: 1rem; }
.bka-sw-title { font: 800 1.12rem var(--display); margin: 0 0 1rem; color: var(--ink); }
.bka-sw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.bka-sw-fact { display: grid; grid-template-columns: 40px 1fr; grid-template-areas: "i k" "i v"; column-gap: .8rem; row-gap: .1rem; padding: .85rem .9rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.bka-sw-fact .bka-ico { grid-area: i; }
.bka-sw-fact b { grid-area: k; font: 800 .74rem var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); align-self: end; }
.bka-sw-fact > span:last-child { grid-area: v; font: 500 .94rem/1.4 var(--ui); color: var(--ink); }
.bka-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); color: var(--brand); flex: 0 0 auto; }
.bka-ico svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .bka-sw-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bka-sw-grid { grid-template-columns: 1fr; } .bka-sw-ctl { width: 100%; } .bka-sw-btn { flex: 1; padding: .7rem .6rem; } }

/* rules strip */
.bka-facts { list-style: none; margin: 1rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.bka-facts li { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--glass-line); font: 600 .95rem/1.35 var(--ui); color: var(--ink); max-width: none; }
@media (max-width: 860px) { .bka-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bka-facts { grid-template-columns: 1fr; } }

/* routes */
.bka-route { margin: 1.2rem 0 1.8rem; }
.bka-route-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.bka-stop { position: relative; padding: 1.1rem 1.2rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--glass-line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .25rem; }
.bka-stop b { font: 800 1.08rem var(--display); color: var(--ink); }
.bka-stop span { font: 500 .92rem/1.4 var(--ui); color: var(--ink-soft); }
.bka-pin { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink) !important; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; font: 800 .95rem var(--ui) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.bka-link { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 .8rem; position: relative; }
.bka-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dotted var(--brand); }
.bka-link span { position: relative; background: var(--paper); padding: .4rem .7rem; border-radius: 12px; font: 600 .86rem/1.35 var(--ui); color: var(--ink-soft); border: 1px solid var(--line); }
.band-linen .bka-link span { background: var(--paper-2); }
.band-night .bka-link span { background: var(--night); color: var(--night-ink); border-color: rgba(157,176,255,.3); }
.band-night .bka-stop { background: rgba(255,255,255,.07); border-color: rgba(157,176,255,.3); }
.band-night .bka-stop b { color: #fff; } .band-night .bka-stop span { color: #C9D3F5; }
.band-night .bka-link::before { border-color: #8FA6F5; }
.bka-bts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; counter-reset: bts; }
.bka-bts li { position: relative; padding: 1rem .95rem 1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--glass-line); display: flex; flex-direction: column; gap: .25rem; box-shadow: var(--shadow); max-width: none; }
.bka-bts li:not(:last-child)::after { content: ""; position: absolute; top: 2.15rem; right: -.8rem; width: .8rem; border-top: 3px dotted var(--brand); }
.bka-n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 .9rem var(--ui); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .4rem; }
@media (prefers-color-scheme: dark) { .bka-n { color: #0A1630; } }
.bka-bts b { font: 800 1rem var(--display); color: var(--ink); }
.bka-bts li > span:last-child { font: 500 .88rem/1.4 var(--ui); color: var(--ink-soft); }
.bka-route figcaption { font: 500 .86rem var(--ui); color: var(--ink-soft); margin-top: .8rem; }
@media (max-width: 1000px) { .bka-bts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bka-bts li::after { display: none; } .bka-bts li:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .bka-route-steps { grid-template-columns: 1fr; }
  .bka-link { padding: .9rem 0; justify-content: flex-start; padding-left: 1.6rem; }
  .bka-link::before { left: 1.45rem; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dotted var(--brand); }
  .bka-link span { margin-left: .4rem; text-align: left; }
}
@media (max-width: 520px) { .bka-bts { grid-template-columns: 1fr; } }

/* two-order lanes */
.bka-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0 1.8rem; }
.bka-lane { padding: 1.1rem 1.2rem; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(157,176,255,.32); }
.bka-lane-t { font: 800 1.1rem var(--display); color: #fff; margin: 0 0 .8rem; }
.bka-lane ol { list-style: none; margin: 0; padding: 0 0 0 1.2rem; border-left: 3px dotted #8FA6F5; display: grid; gap: .6rem; }
.bka-lane li { position: relative; display: grid; grid-template-columns: 6.2rem 1fr; gap: .6rem; align-items: baseline; max-width: none; }
.bka-lane li::before { content: ""; position: absolute; left: -1.72rem; top: .55rem; width: 11px; height: 11px; border-radius: 50%; background: #FF7BA9; border: 2px solid #0F1B45; }
.bka-lane li b { font: 800 .86rem var(--ui); color: #FFC247; font-variant-numeric: tabular-nums; }
.bka-lane li span { font: 500 .94rem/1.4 var(--ui); color: #E8EDFB; }
.bka-lane-n { font: 600 .86rem/1.4 var(--ui); color: #C9D3F5; margin: .9rem 0 0; }
@media (max-width: 820px) { .bka-lanes { grid-template-columns: 1fr; } .bka-lane li { grid-template-columns: 5.4rem 1fr; } }

/* status board */
.bka-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0 1.4rem; }
.bka-st { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--glass-line); border-top-width: 5px; }
.bka-st.is-closed { border-top-color: var(--accent); }
.bka-st.is-open { border-top-color: var(--ok); }
.bka-st-tag { align-self: flex-start; font: 800 .7rem var(--ui); letter-spacing: .14em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; }
.is-closed .bka-st-tag { background: var(--accent); color: var(--accent-ink); }
.is-open .bka-st-tag { background: var(--ok); color: #fff; }
@media (prefers-color-scheme: dark) { .is-open .bka-st-tag { color: #04140C; } }
.bka-st b { font: 800 1.02rem var(--display); color: var(--ink); }
.bka-st > span:last-child { font: 500 .9rem/1.4 var(--ui); color: var(--ink-soft); }
@media (max-width: 760px) { .bka-status { grid-template-columns: 1fr; } }

/* latest data strip */
.bka-latest { margin: 1.6rem 0 1.8rem; padding: 1.2rem 1.4rem; border-radius: 22px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.bka-latest-h { margin: 0 0 .8rem; font: 800 1.25rem var(--display); color: var(--ink); }
.bka-ld { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bka-ld-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: .8rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: var(--paper-2); max-width: none; }
.bka-ld-name { font: 800 1rem var(--display); color: var(--ink); }
.bka-ld-cell { display: flex; flex-direction: column; line-height: 1.2; font-family: var(--ui); }
.bka-ld-cell b { font-size: 1.15rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.bka-ld-cell i { font-style: normal; font-size: .76rem; color: var(--ink-soft); margin-top: .15rem; }
.bka-ld .gold { color: var(--gold); }
.bka-latest-src { font: 500 .82rem var(--ui); color: var(--ink-soft); margin: .8rem 0 0; }
@media (max-width: 860px) { .bka-ld-row { grid-template-columns: 1fr 1fr; } .bka-ld-name { grid-column: 1 / -1; } }

/* feed timeline */
.bka-tl { max-width: 100%; box-sizing: border-box; overflow: hidden; margin: 1.4rem 0 1.8rem; padding: 1.2rem 1.4rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.bka-tl-axis, .bka-tl-row { display: grid; grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); gap: .4rem 1.2rem; align-items: center; margin: .45rem 0; }
.bka-tl-lab { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bka-tl-lab b { font: 700 .92rem var(--ui); color: var(--ink); }
.bka-tl-lab span { font: 500 .8rem var(--ui); color: var(--ink-soft); }
.bka-tl-track { position: relative; height: 34px; border-radius: 10px; background: var(--paper-2); background-image: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--line) calc(20% - 1px) 20%); }
.bka-tl-axis .bka-tl-track { height: 18px; background: none; }
.bka-tl-tick { position: absolute; top: 0; transform: translateX(-50%); font: 700 .8rem var(--ui); color: var(--ink-soft); }
.bka-tl-tick:first-child { transform: none; } .bka-tl-tick:last-child { transform: translateX(-100%); }
.bka-tl-open .bka-tl-track { background: none; }
.bka-tl-band { position: absolute; left: 0; right: 0; top: 9px; bottom: 9px; border-radius: 999px; background: linear-gradient(90deg, #5C7BFF, var(--brand)); opacity: .85; }
.bka-tl-last { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.bka-tl-last em { position: absolute; right: 8px; top: -2px; transform: none; white-space: nowrap; font: 800 .72rem var(--ui); font-style: normal; background: var(--accent); color: var(--accent-ink); padding: .12rem .5rem; border-radius: 999px; }
.bka-tl-mk { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.bka-tl-mk em { display: block; font: 800 .74rem var(--ui); font-style: normal; background: var(--brand); color: #fff; padding: .26rem .5rem; border-radius: 999px; box-shadow: 0 6px 14px -8px var(--brand); font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .bka-tl-mk em { color: #0A1630; } }
.bka-tl-mk.is-paused em { background: transparent; color: var(--ink-soft); border: 2px dashed var(--ink-soft); box-shadow: none; text-decoration: line-through; }
.bka-tl-row.is-paused .bka-tl-lab b { color: var(--ink-soft); }
@media (max-width: 700px) {
  .bka-tl { padding: 1rem .9rem; }
  .bka-tl-axis, .bka-tl-row { grid-template-columns: minmax(0, 1fr); }
  .bka-tl-axis .bka-tl-lab { display: none; }
  .bka-tl-axis .bka-tl-track { height: 22px; margin-inline: .6rem; }
  .bka-tl-row .bka-tl-track { margin-inline: .6rem; }
  .bka-tl-lab { flex-direction: row; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; }
}

/* ============================================================
   FOOTER: wave edge, brand + contact band, visit index and site pills, legal card
   ============================================================ */
.site-footer.bka-foot { background: var(--footer); color: #D5DDF8; padding: 0 0 2rem; margin-top: 3rem; position: relative; }
.bka-foot-wave { height: 34px; margin-top: -33px; background: var(--footer); -webkit-mask: radial-gradient(circle at 20px 0, transparent 19px, #000 20px) 0 0 / 40px 34px repeat-x; mask: radial-gradient(circle at 20px 0, transparent 19px, #000 20px) 0 0 / 40px 34px repeat-x; }
.bka-foot a { color: #C3CFFF; }
.bka-foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding: 2.4rem 0 1.8rem; border-bottom: 1px solid rgba(157,176,255,.22); }
.bka-foot-name { font: 800 1.9rem var(--display); letter-spacing: -.02em; color: #fff !important; text-decoration: none; }
.bka-foot-brand p { margin: .7rem 0 0; font: 400 .98rem/1.65 var(--body); color: #C9D3F5; max-width: none; }
.bka-foot-contact { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.bka-foot-mail { font: 700 1.02rem var(--ui); color: #fff !important; }
.bka-foot .socials { display: flex; gap: .6rem; flex-wrap: wrap; margin: 0; }
.bka-foot .socials a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(157,176,255,.4); background: rgba(255,255,255,.06); color: #fff; font: 800 .8rem var(--ui); text-decoration: none; }
.bka-foot .socials a:hover { background: #FF7BA9; color: #2A0716; border-color: #FF7BA9; }
.bka-foot-index { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; padding: 1.8rem 0; }
.bka-foot .footer-h { font: 800 .72rem var(--ui); letter-spacing: .18em; text-transform: uppercase; color: #FFC247; margin: 0 0 .8rem; }
.bka-foot-visit ol { list-style: none; counter-reset: fv; margin: 0; padding: 0; display: grid; gap: .1rem; }
.bka-foot-visit li { counter-increment: fv; display: flex; align-items: center; gap: .8rem; max-width: none; }
.bka-foot-visit li::before { content: counter(fv); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(157,176,255,.5); display: inline-flex; align-items: center; justify-content: center; font: 800 .75rem var(--ui); color: #C3CFFF; flex: 0 0 auto; }
.bka-foot-visit a { display: block; padding: .5rem 0; font: 600 .98rem var(--ui); text-decoration: none; }
.bka-foot-visit a:hover, .bka-foot-site a:hover { text-decoration: underline; color: #fff; }
.bka-foot-site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bka-foot-site a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border-radius: 999px; border: 1px solid rgba(157,176,255,.35); font: 600 .9rem var(--ui); text-decoration: none; background: rgba(255,255,255,.04); }
.bka-foot-legal { border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(157,176,255,.24); padding: 1.1rem 1.3rem; font: 400 .86rem/1.6 var(--ui); color: #C9D3F5; }
.bka-foot-legal p { margin: 0; max-width: none; }
.bka-foot-legal strong { color: #fff; }
.bka-foot-copy { margin-top: .7rem !important; color: #AEBBE6; }
@media (max-width: 800px) { .bka-foot-top, .bka-foot-index { grid-template-columns: 1fr; gap: 1.4rem; } }

@media (prefers-color-scheme: dark) { .site-footer.bka-foot, .bka-foot-wave { background: #101C4A; } .bka-foot-top { border-bottom-color: rgba(157,176,255,.35); } }

/* old fixed bar must never render */
.sticky-cta { display: none !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* photo mosaic: one big pane, then a full 4-column grid with no gaps */
.photo-mosaic { gap: .7rem; }
.photo-mosaic .pm-tile { border-radius: 16px; border-color: var(--glass-line); }
.photo-mosaic .pm-wide { aspect-ratio: auto; }
@media (max-width: 639px) { .photo-mosaic .pm-tile:nth-child(n+8) { display: block; } .photo-mosaic .pm-wide { grid-column: auto; } .photo-mosaic .pm-hero { grid-row: auto; aspect-ratio: 3 / 2; } }
@media (min-width: 640px) and (max-width: 999px) { .photo-mosaic .pm-wide { grid-column: span 1; } }
@media (min-width: 1000px) { .photo-mosaic .pm-tile:nth-last-child(2) { grid-column: span 2; } .photo-mosaic .pm-tile:nth-last-child(2), .photo-mosaic .pm-wide { aspect-ratio: 8 / 3; } }
.stat-tile .st-num { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.1; }
.answered-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2.4rem; }
.answered-group li { font-family: var(--ui); font-size: .98rem; line-height: 1.4; }
.answered-group li a { color: var(--ink); }
.answered-group h3 { font-family: var(--ui); color: var(--brand); }
@media (max-width: 700px) { .answered-grid { grid-template-columns: 1fr; } }
/* zone evidence strip */
.bka-evid { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.bka-evid li { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--glass-line); border-top-width: 5px; max-width: none; }
.bka-evid .is-doc { border-top-color: var(--accent); } .bka-evid .is-map { border-top-color: var(--brand); } .bka-evid .is-ed { border-top-style: dashed; border-top-color: var(--slate); }
.bka-evid .bka-n { width: auto; min-width: 30px; padding: 0 .6rem; border-radius: 999px; align-self: flex-start; }
.bka-evid .is-doc .bka-n { background: var(--accent); color: var(--accent-ink); }
.bka-evid .is-ed .bka-n { background: transparent; color: var(--ink); border: 2px dashed var(--slate); }
.bka-evid b { font: 800 1.02rem var(--display); color: var(--ink); }
.bka-evid li > span:last-child { font: 500 .92rem/1.4 var(--ui); color: var(--ink-soft); }
@media (max-width: 760px) { .bka-evid { grid-template-columns: 1fr; } }
/* paid extras row */
.bka-extras { list-style: none; margin: 1rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.bka-extras li { display: flex; flex-direction: column; gap: .2rem; padding: 1rem .95rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--glass-line); max-width: none; }
.bka-extras .bka-ico { margin-bottom: .45rem; }
.bka-extras b { font: 800 .98rem var(--display); color: var(--ink); }
.bka-extras li > span:not(.bka-ico) { font: 500 .86rem/1.35 var(--ui); color: var(--ink-soft); }
.bka-extras em { margin-top: .5rem; align-self: flex-start; font: 800 .68rem var(--ui); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: .24rem .55rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
@media (max-width: 1000px) { .bka-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bka-extras { grid-template-columns: 1fr 1fr; } }
/* phone: tables are labelled cards, the ticket cards come first in the cost section */
@media (max-width: 768px) {
  .table-hybrid, .feed-table { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .table-hybrid caption, .feed-table caption { display: block; width: 100%; padding: 0 0 .7rem; }
  .table-hybrid tr { border-radius: 16px; border-color: var(--glass-line); background: var(--surface); }
  .price-compare td:first-child { display: block; text-align: left; background: var(--paper-2) !important; font: 800 1rem var(--display); color: var(--ink); }
  .price-compare td:first-child::before { content: none; }
}
@media (max-width: 900px) {
  #featured-tour { display: flex; flex-direction: column; }
  #featured-tour > h2 { order: -3; }
  #featured-tour > .cards-3 { order: -2; }
  #featured-tour > .bka-latest { order: -1; }
}

.bka-cta-row .btn { flex: 0 1 auto; }
@media (max-width: 520px) { .bka-cta-row { flex-direction: column; } .bka-cta-row .btn { width: 100%; } }

/* ============================================================
   FIX ROUND 10-31
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* hero walk-down as an HTML list (readable at phone width) */
.bka-walk { margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: .9rem; padding: 1.2rem 1.3rem 1.1rem; border-radius: 20px; border: 1.5px solid rgba(190,205,255,.5); background: linear-gradient(180deg, #28409A 0%, #0A1230 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.bka-wd-top { margin: 0; font: 700 .9rem var(--ui); letter-spacing: .02em; color: #D2DBFF; max-width: none; }
.bka-wd { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-template-rows: repeat(6, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.bka-wd li { display: flex; align-items: center; gap: .6rem; min-width: 0; max-width: none; color: #F4F7FF; }
.bka-wd-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 .9rem var(--ui); color: #fff; border: 2px solid #D6DEFF; background: #5C7BFF; }
.bka-wd-start .bka-wd-n { background: #FF7BA9; border-color: #fff; color: #2A0716; }
.bka-wd-ed .bka-wd-n { background: #0A1230; border: 2px dashed #8FA6F5; }
.bka-wd-t { font: 700 .98rem/1.2 var(--ui); min-width: 0; }
.bka-walk .wd-key { justify-content: flex-start; font-size: .8rem; }
@media (max-width: 520px) {
  .bka-walk { padding: 1rem; }
  .bka-wd { gap: .65rem .7rem; }
  .bka-wd-n { width: 28px; height: 28px; font-size: .8rem; }
  .bka-wd-t { font-size: .9rem; }
  .bka-walk .wd-key { display: grid; gap: .35rem; }
}

/* ticket cards: equal height, CTA pinned, no void */
.cards-3 .rcard .rc-body > p.small:not(.card-hint) { margin-bottom: 0; }
.cards-3 .rcard .rc-body .card-hint { margin: 0; order: 98; }
.cards-3 .rcard .rc-body .btn { order: 97; margin-top: auto; }
.cards-3 .rcard .rc-body > p.small:nth-of-type(2) { flex: 1 1 auto; }

/* price table: left-aligned cells, strong column heads, label above value on phone */
.price-compare td, .price-compare th, .price-compare .num { text-align: left; }
.price-compare thead th { font-size: .8rem; font-weight: 800; color: var(--ink); }
@media (max-width: 768px) {
  .price-compare td, .price-compare tbody tr:nth-child(even) td { display: block !important; text-align: left !important; padding: .7rem 1rem; }
  .price-compare td::before { display: block; margin-bottom: .2rem; font: 800 .72rem var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
}

/* zone cards carry the photo */
.ze-card { padding: 0; overflow: hidden; }
.ze-ph { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); }
.ze-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ze-num { position: absolute; top: .65rem; left: .65rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 .95rem var(--ui); box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.ze-pick { display: none; position: absolute; top: .65rem; right: .65rem; padding: .28rem .65rem; border-radius: 999px; background: var(--gold-bright); color: #3A2500; font: 800 .72rem var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.ze-card.is-pick { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.ze-card.is-pick .ze-pick { display: inline-block; }
.ze-body { padding: var(--s3) var(--s4) var(--s4); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ze-body .ze-name { margin: 0; font-size: 1.2rem; }
.ze-tag-paused { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.ze-chip-note { font-style: italic; background: var(--gold-soft); color: var(--gold-ink); }
.ze-card.is-paused .ze-lines li { color: var(--ink-soft); }

/* visit planner result: a real pair, then the extras full width */
.vp-who p, .vp-when-body, .vp-addon-price, .vp-addon-note { max-width: none; }
.vp-len-note { margin: .8rem 0 0; padding-left: .8rem; border-left: 3px solid var(--line); font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 900px) { .vp-result { align-items: start; } .vp-addons { grid-column: 1 / -1; } }
.vp-addon-list { grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .7rem; }
.vp-addon-list li { display: flex; flex-direction: column; gap: .2rem; padding: .85rem .95rem; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); max-width: none; }
.vp-addon-list li strong { font: 800 .98rem var(--display); }
.vp-addon-list li span { font: 500 .86rem/1.35 var(--ui); color: var(--ink-soft); }
.vp-q legend { font-family: var(--display); }

/* paid extras: even grid on desktop, a list on phone */
@media (min-width: 861px) { .bka-extras { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .bka-extras { grid-template-columns: minmax(0, 1fr); }
  .bka-extras li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "i b e" "i s e"; column-gap: .8rem; row-gap: .1rem; align-items: center; }
  .bka-extras .bka-ico { grid-area: i; margin: 0; }
  .bka-extras b { grid-area: b; }
  .bka-extras li > span:not(.bka-ico) { grid-area: s; }
  .bka-extras em { grid-area: e; margin: 0; align-self: center; }
}

/* feeding schedule: labelled cards on phone */
.feed-table tr.is-paused td { color: var(--ink-soft); }
.feed-table tr[data-state="paused"] .fp-state { font-style: italic; color: var(--warn); font-weight: 700; }
@media (max-width: 700px) {
  .feed-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .feed-table, .feed-table tbody { display: block; width: 100%; min-width: 0 !important; }
  .table-scroll:has(.feed-table) { overflow: visible; }
  .feed-table tr { width: 100%; max-width: 100%; box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; row-gap: .15rem; margin: 0 0 .75rem; padding: .85rem 1rem; border: 1px solid var(--glass-line); border-radius: 16px; background: var(--surface); }
  .feed-table td, .feed-table tbody tr:nth-child(even) td { display: block; padding: 0; border: 0; background: transparent; text-align: left; min-width: 0; }
  .feed-table td { overflow-wrap: anywhere; }
  .feed-table td.num { grid-row: 1 / span 4; align-self: start; font: 800 1.35rem var(--display); color: var(--brand); }
  .feed-table td[data-label="Feed or talk"] { font: 800 1.02rem var(--display); color: var(--ink); grid-column: 2; }
  .feed-table td[data-label="Where in the aquarium"], .feed-table td[data-label="Days it runs"], .feed-table td[data-label="Still ahead of you"] { grid-column: 2; font: 500 .92rem/1.35 var(--ui); }
  .feed-table td[data-label="Days it runs"]::before, .feed-table td[data-label="Still ahead of you"]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink-soft); }
}

/* map: one full-width map beside a compact places list, equal height */
.spot-map-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: stretch; }
.spot-map-wrap .map-embed { aspect-ratio: auto; min-height: 440px; position: relative; background: var(--paper-2); }
.spot-map-wrap .map-embed iframe { position: absolute; inset: 0; }
.map-open { position: absolute; left: 50%; top: .7rem; transform: translateX(-50%); z-index: 2; padding: .5rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font: 800 .8rem var(--ui); text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); }
.map-places { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.map-places .ms-legend-head { margin-top: 0; font-size: 1.1rem; }
.map-places .ms-legend { gap: .7rem; }
.map-places .ms-legend li { display: flex; flex-direction: column; gap: .1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.map-places .ms-legend li:last-child { border-bottom: 0; }
.map-places .ms-route { margin-top: auto; padding-top: .8rem; }
@media (max-width: 820px) { .spot-map-wrap { grid-template-columns: minmax(0, 1fr); } .spot-map-wrap .map-embed { min-height: 340px; } }

/* stat tiles: 2 columns on phone */
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .stat-tile { padding: .85rem .8rem; } .stat-tile .st-num { font-size: 1.25rem; overflow-wrap: anywhere; } .stat-tile .st-label, .stat-tile .st-note { font-size: .84rem; line-height: 1.4; } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ: marker never drifts on long questions */
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; line-height: 1.4; }
.faq summary::after { float: none; flex: none; margin-left: auto; line-height: 1.4; }
@media (max-width: 768px) { .table-scroll > table { min-width: 0; } .table-scroll:has(.price-compare) { overflow: visible; } }
