/* zanzibarsafari.africa — "Tide table": white page, hairline rules, mono labels with a world dot, coral only for partner buttons. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(f/geist.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(f/geist-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(f/mono.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2605; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(f/mono-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FCFCFA; --card: #FFFFFF; --hover: #F4F4F0; --ink: #141617; --ink-2: #5E6266; --ink-3: #8B9094;
  --rule: #E9E9E4; --rule-2: #D8D8D1;
  --sea: #0A7480; --sea-bg: #E7F2F2; --cta: #E2532B; --cta-d: #C4421C; --on-cta: #FFFFFF;
  --ok: #2E7A4B; --warn: #A65A1E;
  --w-safari: #C98A2C; --w-combo: #B4523A; --w-sea: #0A7480; --w-land: #7C6A36; --w-active: #2F6BD1; --w-transfer: #6B7280; --w-guide: #9AA0A6;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --w: 1120px; --r: 8px;
  color-scheme: light;
}
/* Light by default; the header toggle sets data-theme="dark" (saved per visitor). */
:root[data-theme="dark"] { --bg: #111314; --card: #17191B; --hover: #1E2124; --ink: #ECECE8; --ink-2: #A3A7AB; --ink-3: #7B8085; --rule: #26292C; --rule-2: #33373B; --sea: #4FC1CB; --sea-bg: #13292B; --cta: #F06A42; --cta-d: #FF8259; --on-cta: #160804; --ok: #6CC08B; --warn: #E3995D; --w-sea: #4FC1CB; --w-land: #B9A46A; --w-active: #6E9BEB; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sea); }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 99; background: var(--card); padding: 8px 12px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.012em; }
h1 { font-size: clamp(27px, 4vw, 38px); font-weight: 650; letter-spacing: -.024em; margin: 10px 0 6px; }
h2 { font-size: 20px; font-weight: 620; margin-bottom: 10px; }
h3 { font-size: 15px; font-weight: 580; }
small { font-size: 12px; }

/* mono: labels, numbers, counts */
.lb, .crumbs, .chipsf small, .fcount, .stats, .paid, .chk, .src, .lbl, .lg dt, .logbook dt, .mt, .pr small, .from small, .tp, .tf, .qp span, .sources small, .fine, .season .srow span, .ref { font-family: var(--mono); }

/* label with a world dot */
.lb { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.lb::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--w-guide)); flex: none; }
.lb i { font-style: normal; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.lb i::before { content: '· '; }
.w-safari { --dot: var(--w-safari); } .w-combo { --dot: var(--w-combo); } .w-sea { --dot: var(--w-sea); } .w-land { --dot: var(--w-land); }
.w-active { --dot: var(--w-active); } .w-transfer { --dot: var(--w-transfer); } .w-book { --dot: var(--cta); } .w-fee { --dot: var(--warn); } .w-season { --dot: var(--sea); } .w-ops { --dot: var(--ink-2); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 54px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo .mark { width: 24px; height: 24px; flex: none; }
.logo span { font-weight: 650; font-size: 16px; letter-spacing: -.02em; }
.logo b { font-weight: 650; color: var(--sea); margin-inline-start: 1px; }
.nav { display: none; gap: 2px; margin-inline-start: 8px; }
.nav a { padding: 6px 10px; border-radius: 6px; color: var(--ink-2); font-size: 14px; }
.nav a:hover { background: var(--hover); color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }
.sbtn { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--rule-2); border-radius: 6px; padding: 5px 10px; cursor: pointer; color: var(--ink-2); font-size: 13px; }
.sbtn svg { width: 14px; height: 14px; }
.sbtn:hover { border-color: var(--ink-3); color: var(--ink); }
@media (max-width: 480px) { .sbtn span { display: none; } }
.tbtn { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: none; border: 1px solid var(--rule-2); border-radius: 6px; cursor: pointer; color: var(--ink-2); padding: 0; }
.tbtn:hover { border-color: var(--ink-3); color: var(--ink); }
.tbtn svg { width: 15px; height: 15px; }
.tbtn .sun, :root[data-theme="dark"] .tbtn .moon { display: none; }
:root[data-theme="dark"] .tbtn .sun { display: block; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; font: 500 12px var(--mono); padding: 6px 8px; border: 1px solid var(--rule-2); border-radius: 6px; color: var(--ink-2); }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); margin: 0; padding: 4px; list-style: none; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 8px 24px rgb(0 0 0 / .08); min-width: 150px; }
.langs li a { display: block; padding: 6px 10px; border-radius: 5px; font-size: 14px; }
.langs li a:hover, .langs li a[aria-current] { background: var(--hover); }
.ss { border-top: 1px solid var(--rule); padding: 12px 0; background: var(--bg); }
.ss input { width: 100%; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--card); font-size: 16px; }
.ss ul { list-style: none; margin: 8px 0 0; padding: 0; }
.ss li a, .ss li { display: block; padding: 7px 4px; border-bottom: 1px solid var(--rule); font-size: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--cta); color: var(--on-cta); border: 0; border-radius: 7px; padding: 10px 16px; font-weight: 580; font-size: 14px; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--cta-d); color: var(--on-cta); }
.btn.sm { padding: 7px 11px; font-size: 13px; }
.btn.wide { width: 100%; padding: 12px 16px; font-size: 15px; }
.ghost { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--rule-2); border-radius: 7px; font-size: 14px; color: var(--ink); background: var(--card); }
.ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.more { display: block; margin: 14px auto 0; background: var(--card); border: 1px solid var(--rule-2); border-radius: 7px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.more:hover { border-color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--rule); padding: 18px 0 22px; }
.hero.home { padding: 30px 0 22px; }
.crumbs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; color: var(--rule-2); }
.crumbs a:hover { color: var(--sea); }
.sub { color: var(--ink-2); font-size: 16px; margin: 0 0 14px; max-width: 62ch; }
.hgrid { display: grid; gap: 20px; }
@media (min-width: 960px) { .hgrid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; } }
.chipsf { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chipsf li { border: 1px solid var(--rule); background: var(--card); border-radius: 6px; padding: 5px 9px; font-size: 13px; display: flex; gap: 7px; align-items: baseline; }
.chipsf small { color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.chipsf b { font-weight: 560; }
.hcta, .hacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.hacts .mob { display: inline-flex; }
@media (min-width: 960px) { .hacts .mob { display: none; } }
.stats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: var(--ink-3); }
.stats b { color: var(--ink); font-weight: 500; font-size: 13px; }

/* first-screen shortlist */
.top3 { list-style: none; margin: 4px 0 14px; padding: 0; border-top: 1px solid var(--rule); counter-reset: n; }
.top3 li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 0 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); counter-increment: n; }
.top3 li::before { content: counter(n); font: 500 11px var(--mono); color: var(--ink-3); grid-row: span 2; }
.top3 .tn { font-weight: 560; font-size: 14px; line-height: 1.35; }
.top3 .tn:hover { color: var(--sea); }
.top3 b { grid-row: span 2; grid-column: 3; font-weight: 650; font-size: 15px; }
.top3 .tm { grid-column: 2; font: 400 11.5px var(--mono); color: var(--ink-3); }

/* key facts */
.logbook { margin-top: 6px; border-top: 1px solid var(--rule); padding-top: 12px; }
.logbook .lbh { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; padding: 4px 0; }
.logbook .lbh::-webkit-details-marker { display: none; }
.logbook .lbh::after { content: '+'; font-size: 14px; color: var(--sea); }
.logbook[open] .lbh::after { content: '−'; }
.logbook .lbh i { font-style: normal; color: var(--ink-3); }
.logbook[open] dl { margin-top: 8px; }
.logbook dl { margin: 0; display: grid; gap: 0 28px; }
@media (min-width: 640px) { .logbook dl { grid-template-columns: 1fr 1fr; } }
.logbook dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.logbook dt { color: var(--ink-3); font-size: 11.5px; padding-top: 2px; }
.logbook dd { margin: 0; }
.chk { color: var(--ink-3); font-size: 11.5px; margin: 8px 0 0; }

/* booking card */
.book { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 960px) { .book { position: sticky; top: 70px; } }
.book .from { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.book .from small { color: var(--ink-3); width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.book .from b { font-size: 28px; font-weight: 650; letter-spacing: -.02em; }
.book .from a { font-size: 13px; color: var(--sea); }
.book .pick { margin: 0; font-size: 14px; color: var(--ink-2); }
.book .pick a { color: var(--ink); font-weight: 520; }
.gygw { min-height: 140px; border-top: 1px solid var(--rule); padding-top: 8px; }
.wn, .alt2 { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.alt2 a { color: var(--sea); }
.paid { margin: 0; font-size: 11px; color: var(--ink-3); }

/* ---------- page sections ---------- */
.page > section, .page > article, .page > aside { margin: 32px 0; }
.page > :first-child { margin-top: 24px; }
.lede { color: var(--ink-2); margin: -4px 0 14px; font-size: 14px; max-width: 70ch; }
.short { border-inline-start: 2px solid var(--sea); padding: 2px 0 2px 16px; max-width: 72ch; }
.short .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--sea); margin: 0 0 4px; }
.short p { margin: 0; font-size: 16px; }
.short .best { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ---------- offers (trip pages) ---------- */
.oh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.oh .lb { width: 100%; }
.oh h2 { margin: 0; }
.oh p { margin: 0; color: var(--ink-3); font-size: 13px; flex: 1 1 280px; }
.choose { display: grid; gap: 6px; margin: 12px 0; }
@media (min-width: 720px) { .choose { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.choose .lbl { grid-column: 1 / -1; margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.ch { text-align: start; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 9px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.ch:hover { border-color: var(--rule-2); background: var(--hover); }
.ch.on { border-color: var(--sea); background: var(--sea-bg); }
.ch .if { font-size: 13px; color: var(--ink-2); }
.ch .pk { font-size: 14px; font-weight: 560; }
.ch .pk::before { content: '→ '; color: var(--sea); }
.bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 4px; }
.seg button, .chip, .frow button { background: none; border: 1px solid transparent; border-radius: 6px; padding: 4px 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg button:hover, .chip:hover, .frow button:hover { background: var(--hover); color: var(--ink); }
.seg button.on, .chip.on, .frow button.on, .frow button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button i, .chip i, .frow button i { font: 400 11px var(--mono); font-style: normal; opacity: .6; margin-inline-start: 3px; }
.sort { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-inline-start: auto; }
.sort select { border: 1px solid var(--rule-2); border-radius: 6px; background: var(--card); padding: 4px 6px; font-size: 13px; color: var(--ink); }
.fcount { font-size: 12px; color: var(--ink-3); margin: 6px 0; min-height: 1em; }
.olist { list-style: none; margin: 0; padding: 0; }
.olist > li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.olist > li.off { opacity: .45; }
@media (min-width: 720px) { .olist > li { grid-template-columns: 120px minmax(0, 1fr) auto; } }
.th { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--hover); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.olist .nm { font-size: 15px; font-weight: 580; margin-bottom: 6px; }
.olist .nm a:hover, .card h3 a:hover { color: var(--sea); }
.lg { margin: 0; display: flex; flex-wrap: wrap; gap: 3px 16px; font-size: 13px; }
.lg div { display: flex; gap: 6px; align-items: baseline; }
.lg dt { color: var(--ink-3); font-size: 11px; }
.lg dd { margin: 0; }
.ns { color: var(--ink-3); font-style: normal; }
.f-in { color: var(--ok); font-weight: 520; }
.f-out { color: var(--warn); }
.rl { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-2); }
.rt b { font-weight: 600; color: var(--ink); }
.rt.new { color: var(--ink-3); }
.olist .pr { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; }
.olist .pr small { color: var(--ink-3); font-size: 11px; }
.olist .pr b, .olist .pr > span { font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
@media (min-width: 720px) { .olist .pr { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: end; gap: 2px; } .olist .pr .btn { margin-top: 8px; } }

/* itinerary */
.days ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.days li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.days time { font: 500 13px var(--mono); color: var(--sea); }
.days p { margin: 0; }
.src { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.src a { color: var(--sea); }

/* official fees */
.fees .lb { margin-bottom: 6px; }
.fset { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; margin-top: 10px; }
.fset h3 { margin-bottom: 8px; }
.fset table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fset th, .fset td { padding: 7px 0; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; font-weight: 400; }
.fset th small { display: block; color: var(--ink-3); }
.fset td { text-align: end; font-weight: 600; white-space: nowrap; padding-inline-start: 12px; }
.fset ul { margin: 10px 0 0; padding-inline-start: 18px; font-size: 14px; }
.fset li { margin: 4px 0; }
.ref { display: inline-block; font-size: 10px; color: var(--sea); vertical-align: super; margin-inline-start: 3px; font-weight: 400; }

/* prose */
.prose { max-width: 70ch; font-size: 16px; line-height: 1.65; }
.prose h2 { font-size: 21px; margin: 30px 0 10px; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose a { color: var(--sea); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--sea) 35%, transparent); text-underline-offset: 3px; }
.prose li { margin: 4px 0; }
.tbl { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--rule); border-radius: var(--r); }
.prose table, .tbl table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
.tbl th, .tbl td { padding: 8px 12px; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; }
.tbl th { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); background: var(--hover); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }

/* season strip */
.sgrid { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.srow { display: grid; grid-template-columns: 120px repeat(12, minmax(34px, 1fr)); min-width: 560px; border-bottom: 1px solid var(--rule); }
.srow:last-child { border-bottom: 0; }
.srow span { padding: 7px 4px; font-size: 11px; text-align: center; color: var(--ink-2); }
.srow span[role="rowheader"] { text-align: start; padding-inline-start: 10px; color: var(--ink-3); }
.srow span i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.r-rain .v0 { background: transparent; } .r-rain .v1 { background: color-mix(in srgb, var(--sea) 22%, transparent); } .r-rain .v2 { background: color-mix(in srgb, var(--sea) 50%, transparent); }
.r-crowds .v0 { background: transparent; } .r-crowds .v1 { background: color-mix(in srgb, var(--w-safari) 22%, transparent); } .r-crowds .v2 { background: color-mix(in srgb, var(--w-safari) 48%, transparent); }
.verdict span { font-weight: 500; }
.vd-best { color: var(--ok) !important; } .vd-good { color: var(--ink) !important; } .vd-mixed { color: var(--ink-3) !important; } .vd-wet { color: var(--sea) !important; }
.srow .now { box-shadow: inset 0 0 0 1.5px var(--ink); }
.srow.hd span { color: var(--ink-3); }

/* faq */
.faq dl { margin: 0; border-top: 1px solid var(--rule); max-width: 78ch; }
.faq dl div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 580; margin-bottom: 4px; }
.faq dd { margin: 0; color: var(--ink-2); }
.faq dd a { color: var(--sea); }

/* tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); height: 100%; }
.tile a:hover { border-color: var(--rule-2); background: var(--hover); color: inherit; }
.tile .ph { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--hover); }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile .lb { font-size: 10px; }
.tile .nm { font-weight: 580; font-size: 14.5px; line-height: 1.3; }
.tile .tf { font-size: 11.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .tp { font-size: 12px; color: var(--ink-2); }
.tile .tp b { color: var(--ink); font-weight: 500; }

/* ---------- finder (home) ---------- */
.finder > .lb { margin-bottom: 4px; }
.finder > h2 { margin-bottom: 2px; }
.qp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0; }
.qp span { white-space: nowrap; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-inline-end: 4px; }
.qp button { background: var(--card); border: 1px solid var(--rule-2); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.qp button:hover { border-color: var(--ink-3); }
.fgrid { display: grid; gap: 0 28px; }
@media (min-width: 960px) { .fgrid { grid-template-columns: 220px minmax(0, 1fr); } }
.fbar { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 10px; border-bottom: 1px solid var(--rule); }
.frow { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.frow::-webkit-scrollbar { display: none; }
.frow.tags { flex-wrap: wrap; align-items: center; overflow: visible; }
.fq { border: 1px solid var(--rule-2); border-radius: 6px; padding: 6px 9px; font-size: 14px; background: var(--card); width: 100%; }
.reset { background: none; border: 0; color: var(--ink-3); font-size: 12px; cursor: pointer; padding: 4px 0; text-align: start; }
.reset:hover { color: var(--ink); }
@media (min-width: 960px) {
  .fbar { position: sticky; top: 70px; align-self: start; border-bottom: 0; padding-top: 4px; gap: 18px; }
  .frow { flex-direction: column; overflow: visible; gap: 1px; }
  .frow button { text-align: start; display: flex; justify-content: space-between; width: 100%; }
  .frow.tags { flex-direction: row; }
  .frow.tags button { width: auto; }
  .fbar .sort { margin: 0; }
}
.cards { list-style: none; margin: 0; padding: 0; }
.card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 14px; padding: 12px 6px; border-bottom: 1px solid var(--rule); align-items: center; }
.card:hover { background: var(--hover); }
@media (min-width: 720px) { .card { grid-template-columns: 88px minmax(0, 1fr) auto; } }
.card h3 { font-size: 15px; font-weight: 580; line-height: 1.35; }
.card .mt { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--ink-3); }
.card .mt .lb { font-size: 10.5px; }
.card .gd { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--sea); }
.card .gd::after { content: ' →'; }
.card .buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 720px) { .card .buy { grid-column: auto; justify-content: flex-end; } }
.card .pr { margin: 0; white-space: nowrap; }
.card .pr small { color: var(--ink-3); font-size: 11px; }
.card .pr b { font-size: 16px; font-weight: 650; }

/* all guides (home) */
.regions > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 720px) { .regions > ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .regions > ul { grid-template-columns: repeat(3, 1fr); } }
.regions > ul > li { padding: 14px 0; border-top: 1px solid var(--rule); }
.regions li ul { list-style: none; margin: 8px 0 6px; padding: 0; }
.regions li li a { display: block; padding: 3px 0; font-size: 14.5px; }
.regions li p { margin: 0; font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.regions li p b { color: var(--ink); font-weight: 500; }

/* files (operators, guides) */
.files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.files a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.files a:hover { color: inherit; background: var(--hover); }
.files b { font-weight: 580; }
.files span { color: var(--ink-3); font-size: 13px; }
.opfile .lg.file, .ops .lg { display: grid; gap: 0; font-size: 14px; border-top: 1px solid var(--rule); }
.lg.file div { display: grid; grid-template-columns: 150px 1fr; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.ops { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ops h3 { margin-bottom: 6px; }
.altg { display: grid; gap: 10px; }
@media (min-width: 720px) { .altg { grid-template-columns: 1fr 1fr; } }
.altc { border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; background: var(--card); }
.altc ul { list-style: none; margin: 6px 0 0; padding: 0; }
.altc li { padding: 6px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; font-size: 14px; }
.altc li a:hover { color: var(--sea); }
.altc li span { font-size: 12px; color: var(--ink-3); }
.alt p { color: var(--ink-2); font-size: 14px; }

/* sources & independence */
.sources h2 { font-size: 15px; }
.sources ol { margin: 0; padding-inline-start: 20px; font-size: 13px; color: var(--ink-2); }
.sources li { margin: 4px 0; }
.sources a { color: var(--sea); }
.sources p { font-size: 13px; color: var(--ink-3); }
.indep { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 12px; }
.indep p { margin: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); margin-top: 48px; padding: 32px 0 24px; font-size: 13.5px; }
.foot .cols { display: grid; gap: 24px; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot .about p { color: var(--ink-2); max-width: 44ch; }
.foot .about a[href^="mailto"] { color: var(--sea); }
.foot h4 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 4px 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 5px 0; }
.foot li a { color: var(--ink-2); }
.foot li a:hover { color: var(--ink); }
.fine { margin-top: 24px; font-size: 11.5px; color: var(--ink-3); }
.fine a { text-decoration: underline; text-underline-offset: 2px; }

/* phones: products within the first screen — one scrolling line per filter row */
@media (max-width: 959px) {
  .hero.home { padding: 20px 0 16px; }
  .stats { gap: 4px 14px; }
  .qp, .frow, .frow.seg, .frow.tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .qp::-webkit-scrollbar { display: none; }
  .qp button, .frow button { flex: none; }
  .fbar .fq, .fbar .sort, .fbar .reset { display: none; }
  .fbar { gap: 6px; }
}
@media (max-width: 959px) {
  .hacts { gap: 6px; }
  .hacts .ghost { padding: 6px 10px; font-size: 13px; }
  .chipsf li { padding: 4px 8px; font-size: 12.5px; }
}
