/* SkyRadar 24 airport and directory pages (v2, 2026-11-17): dark like the live map's bar and the airport
   board, flat panels with thin borders, yellow for what is live. No gradients, no shadows, no pills. */
:root {
    --bg: #121418; --panel: #1a1d22; --panel2: #15181c; --line: #2a2e35; --line2: #22262c;
    --ink: #e6e8eb; --dim: #8b929c; --link: #8cc4ff; --brand: #ffd21f; --bar: #1b1d21; --green: #4cd964; --blue: #7fc4ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.top { display: flex; align-items: center; gap: 16px; min-height: 50px; padding: 0 16px; background: var(--bar); border-bottom: 1px solid #000; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; letter-spacing: .5px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; }
.brand b { color: var(--brand); }
.top nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.top nav a { color: #f2f3f5; font-weight: 600; }
.top nav .lang { color: #b9bec6; font-weight: 400; }
.page { max-width: 1180px; margin: 0 auto; padding: 10px 16px 30px; }
.crumbs { margin: 4px 0 10px; color: var(--dim); font-size: 13px; }
.crumbs a { color: #b9bec6; }
.box { margin-bottom: 14px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; }
h1 { margin: 0 0 4px; font-size: 24px; }
h2 { margin: 0 0 12px; font-size: 16px; letter-spacing: .2px; }
h2 small, h3 small { color: var(--dim); font-weight: 400; font-size: 13px; }
.note { margin: 8px 0 0; color: var(--dim); font-size: 12.5px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.btn { display: inline-block; padding: 8px 14px; background: var(--brand); color: #111; border-radius: 3px; font-weight: 700; }
.btn:hover { text-decoration: none; background: #ffe066; }
.foot { margin: 6px 0 0; color: var(--dim); font-size: 12.5px; }
.foot a { color: #b9bec6; }

/* ---------- hero: live map with the airport card on it ---------- */
.hero { position: relative; margin-bottom: 14px; border: 1px solid #000; border-radius: 3px; overflow: hidden; background: #0c0e11; }
.hero .apmap { height: 480px; }
.hero-card { position: absolute; top: 14px; left: 14px; width: 340px; max-width: calc(100% - 28px); padding: 14px 16px; background: rgba(20, 22, 26, .94); border: 1px solid var(--line); border-radius: 3px; z-index: 2; }
.hero-code { color: var(--brand); font: 800 40px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 2px; }
.hero-card h1 { margin: 6px 0 2px; font-size: 16px; line-height: 1.3; }
.hero-place { margin: 0 0 8px; color: #b9bec6; }
.hero-time { margin: 0 0 6px; color: var(--dim); font-size: 12px; }
.hero-time b { color: #fff; font: 700 20px/1 "DejaVu Sans Mono", Menlo, Consolas, monospace; margin-right: 4px; }
.metar { margin: 0 0 12px; color: #d3d6db; font-size: 13px; }
.metar code { display: block; margin-top: 4px; color: var(--dim); font-size: 11px; overflow-wrap: anywhere; }
.hero-count { position: absolute; right: 12px; top: 12px; padding: 5px 9px; background: rgba(20, 22, 26, .94); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); font-size: 12.5px; font-weight: 600; z-index: 2; }
.hero-count:empty { display: none; }
/* former airline (2026-11-24): no live map, the card sits in the page; plain notice under it */
.hero-static { background: transparent; border: 0; overflow: visible; }
.hero-static .hero-card { position: static; width: auto; max-width: none; }
.former-badge { display: inline-block; margin: 2px 0 0; padding: 2px 7px; border: 1px solid var(--line); border-radius: 3px; color: #b9bec6; font-size: 12px; }
.box.former { border-left: 3px solid var(--brand); }
.box.former p { margin: 0 0 6px; }
.box.former p:last-child { margin-bottom: 0; }
.maplibregl-ctrl-attrib { background: rgba(20, 22, 26, .85) !important; color: #b9bec6; }
.maplibregl-ctrl-attrib a { color: #b9bec6 !important; }

/* ---------- live airport board: black display, yellow letters ---------- */
.board { margin-bottom: 14px; background: #0c0e11; border: 1px solid #000; border-radius: 3px; color: var(--brand); overflow: hidden; }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; background: var(--bar); border-bottom: 2px solid var(--brand); min-height: 46px; }
.board-tabs { display: flex; gap: 2px; }
.board-tabs button { padding: 12px 14px 10px; background: none; border: 0; border-bottom: 3px solid transparent; color: #b9bec6; font: 700 14px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .6px; text-transform: uppercase; cursor: pointer; }
.board-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.board-title { display: none; margin-right: auto; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: 1px; }
.board-title span { color: #b9bec6; font-weight: 400; font-size: 14px; letter-spacing: 0; }
.board-clock { color: #fff; white-space: nowrap; }
.board-clock b { font: 700 22px/1 "DejaVu Sans Mono", Menlo, Consolas, monospace; color: var(--brand); letter-spacing: 1px; }
.board-clock span { color: var(--dim); font-size: 12px; }
.board .pane { display: none; }
.board .pane.on { display: block; }
.board .pane h3 { display: none; margin: 0; padding: 10px 12px 6px; color: #fff; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.fids { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fids th { padding: 7px 10px; color: var(--dim); font: 600 11px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .8px; text-align: left; text-transform: uppercase; border-bottom: 1px solid #262a30; }
.fids td { padding: 7px 10px; border-bottom: 1px solid #1d2026; vertical-align: top; }
.fids tbody tr:nth-child(even) td { background: #111418; }
.fids tbody tr { cursor: pointer; }
.fids tbody tr:hover td { background: #1f242b; }
.fids .v { display: inline-block; }
.fids small { display: block; margin-top: 1px; color: #7d848e; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.fids td.c-time { width: 1%; white-space: nowrap; font: 700 16px/1.25 "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.fids .c-flight { white-space: nowrap; font-weight: 700; font-size: 15px; letter-spacing: .4px; }
.fids .c-place { font-weight: 700; font-size: 15px; letter-spacing: .4px; }
.fids td.c-status { white-space: nowrap; color: #e6e8eb; font-weight: 600; font-size: 13.5px; }
.fids .c-status small { color: inherit; opacity: .8; font-weight: 600; font-size: 12px; }
.fids .empty { padding: 18px 10px; color: var(--dim); }
.s-landed .c-status, .s-tookOff .c-status, .s-climb .c-status { color: var(--green) !important; }
.s-final .c-status, .s-approach .c-status { color: var(--brand) !important; }
.s-final .c-status .v { animation: fids-blink 1.2s steps(2, start) infinite; }
.s-ground .c-status { color: #b9bec6 !important; }
.s-taxi .c-status { color: var(--blue) !important; }
.s-landed td:not(.c-status) { color: #c9a50f; }
@keyframes fids-blink { to { visibility: hidden; } }
.fids .flip .v { animation: fids-flip .55s ease-out; transform-origin: 50% 60%; }
@keyframes fids-flip { 0% { transform: rotateX(90deg); opacity: .2; } 60% { transform: rotateX(-12deg); opacity: 1; } 100% { transform: rotateX(0); } }
.board-note { margin: 0; padding: 8px 12px 10px; color: #7d848e; font-size: 11.5px; border-top: 1px solid #1d2026; }

/* ---------- lines: route map + busiest destinations ---------- */
.routes { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.routemap { height: 380px; border: 1px solid var(--line); border-radius: 3px; background: #0c0e11; }
.top-dest { margin: 0; padding: 0; list-style: none; counter-reset: d; }
.top-dest li { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 6px 0 9px; border-bottom: 1px solid var(--line2); }
.top-dest li a, .top-dest li span { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-dest li b { display: inline-block; min-width: 38px; color: var(--brand); }
.top-dest li small { color: var(--dim); font-variant-numeric: tabular-nums; }
.top-dest li i { position: absolute; left: 0; bottom: 3px; height: 3px; background: var(--brand); opacity: .55; border-radius: 1px; }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; color: var(--link); font-weight: 600; padding: 6px 0; }
.table-wrap { overflow-x: auto; }
.list { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.list th { padding: 7px 8px; background: var(--panel2); border-bottom: 1px solid var(--line); color: var(--dim); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.list td { padding: 7px 8px; border-bottom: 1px solid var(--line2); }
.list b { color: var(--brand); }
.list .n { text-align: right; width: 1%; white-space: nowrap; }

/* ---------- airlines, facts, nearby ---------- */
.airline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.airline-grid li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 10px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 3px; }
.airline-grid b { grid-row: span 2; align-self: center; min-width: 30px; color: var(--brand); font-size: 16px; }
.airline-grid span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.airline-grid small { color: var(--dim); }
.intro { margin: 0 0 10px; color: #c3c7cd; }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { padding: 6px 8px; border-top: 1px solid var(--line2); text-align: left; }
.facts th { width: 40%; color: var(--dim); font-weight: 400; }
.facts td { font-weight: 600; }
.near { list-style: none; margin: 0; padding: 0; }
.near li { padding: 7px 0; border-bottom: 1px solid var(--line2); }
.near b { color: var(--brand); }
.near small { color: var(--dim); }

/* ---------- directory ---------- */
.dir-hero .apmap { height: 520px; }
.dir-hero .hero-card { width: 380px; }
.dir-hero .hero-card h1 { font-size: 22px; margin-top: 0; }
.search { width: 100%; padding: 10px 12px; background: #0c0e11; border: 1px solid #3a3f47; border-radius: 3px; color: #fff; font-size: 15px; }
.search:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.results { margin: 6px 0 0; padding: 0; list-style: none; }
.results li a { display: block; padding: 7px 4px; border-bottom: 1px solid var(--line2); color: var(--ink); }
.results li a:hover { background: #22262c; text-decoration: none; }
.results b { display: inline-block; min-width: 40px; color: var(--brand); }
.sr-tip .maplibregl-popup-content { padding: 4px 8px; background: #1b1d21; color: #fff; font-size: 12px; font-weight: 600; border-radius: 3px; }
.sr-tip .maplibregl-popup-tip { display: none; }
.busiest { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.busiest a { display: block; padding: 10px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 3px; color: var(--ink); }
.busiest a:hover { border-color: var(--brand); text-decoration: none; }
.busiest b { display: block; color: var(--brand); font-size: 22px; letter-spacing: 1px; }
.busiest span { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.busiest small { color: var(--dim); }
.jump { margin: 0; line-height: 1.9; }
.jump a { margin-right: 10px; white-space: nowrap; color: #c3c7cd; }
.countries { columns: 3 300px; column-gap: 14px; }
.country { break-inside: avoid; margin-bottom: 14px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; }
.country h3 { margin: 0 0 6px; font-size: 14px; }
.country ul { margin: 0; padding: 0; list-style: none; }
.country li { padding: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country li a { color: #c3c7cd; }
.country li b { display: inline-block; min-width: 36px; color: var(--brand); }

@media (min-width: 1000px) {
    .board-tabs { display: none; }
    .board-title { display: block; }
    .board-panes { display: grid; grid-template-columns: 1fr 1fr; }
    .board .pane, .board .pane.on { display: block; }
    .board .pane + .pane { border-left: 2px solid var(--bar); }
    .board .pane h3 { display: block; }
}
@media (max-width: 1000px) {
    .airline-grid { grid-template-columns: repeat(2, 1fr); }
    .busiest { grid-template-columns: repeat(3, 1fr); }
    .routes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .top { flex-wrap: wrap; padding: 8px 12px; gap: 6px 12px; }
    .top nav { margin-left: 0; }
    .page { padding: 8px 10px 24px; }
    .box { padding: 12px; }
    .two { grid-template-columns: 1fr; }
    .list .opt { display: none; }
    /* the card goes under the map on a phone */
    .hero .apmap { height: 300px; }
    .hero-card { position: static; width: auto; max-width: none; border: 0; border-top: 1px solid var(--line); background: var(--panel); }
    .hero-code { font-size: 32px; }
    .hero-count { top: 8px; right: 8px; font-size: 11.5px; }
    .dir-hero .apmap { height: 280px; }
    .dir-hero .hero-card { width: auto; }
    .busiest { grid-template-columns: repeat(2, 1fr); }
    .airline-grid { grid-template-columns: 1fr; }
    .routemap { height: 260px; }
    .board-top { padding: 0 8px; }
    .board-clock span { display: none; }
    .board-clock b { font-size: 18px; }
    .board-tabs button { padding: 12px 10px 10px; font-size: 13px; }
    .fids { table-layout: fixed; }
    .fids th, .fids td { padding: 6px 6px; overflow-wrap: anywhere; }
    .fids th { font-size: 10px; letter-spacing: .3px; }
    .fids th:nth-child(1) { width: 18%; }
    .fids th:nth-child(2) { width: 26%; }
    .fids th:nth-child(3) { width: 29%; }
    .fids th:nth-child(4) { width: 27%; }
    .fids td.c-time { font-size: 13px; }
    .fids .c-flight { white-space: normal; font-size: 13px; letter-spacing: 0; }
    .fids .c-place { overflow-wrap: normal; word-break: normal; font-size: 12.5px; letter-spacing: 0; }
    .fids td.c-status { white-space: normal; font-size: 12.5px; }
    .fids small { max-width: none; white-space: normal; }
    .fids .c-status small { font-size: 11px; }
    /* never cut a word in two ("Approachin|g", "estimate|d", 2026-11-25): status and the "estimated" note
       keep whole words, a little smaller, the time note in the text font */
    .fids td.c-status, .fids td.c-time small { overflow-wrap: normal; word-break: normal; }
    .fids td.c-status { font-size: 11.5px; letter-spacing: -.1px; }
    .fids td.c-time small { font: 400 9.5px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; }
}
/* desktop: the airport card is taller than a 480 px map, its buttons were cut off (2026-11-25) */
@media (min-width: 761px) { .hero .apmap { height: 600px; } }
@media (prefers-reduced-motion: reduce) { .fids .flip .v, .s-final .c-status .v { animation: none; } }

/* airport photo in the hero card (2026-11-18, Wikimedia Commons) */
.ap-photo { margin: -14px -16px 12px; }
.ap-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1b1d21; border-bottom: 1px solid var(--line); }
.ap-photo figcaption { padding: 4px 16px 0; color: var(--dim, #9aa1ab); font-size: 10.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-photo figcaption a { color: inherit; }
@media (max-width: 720px) { .ap-photo { margin: -14px -16px 10px; } .ap-photo img { aspect-ratio: 16 / 8; } }

/* news box on airport pages (2026-11-18, filled by seo-airport.js) */
.nw-airport-box ul { margin: 0; padding: 0; list-style: none; }
.nw-airport-box li { padding: 7px 0; border-bottom: 1px solid var(--line2); }
.nw-airport-box small { color: var(--dim); }

/* airline pages (2026-11-21, build_airlines.php + seo-airline.js) */
.al-logo { display: block; max-width: 120px; max-height: 60px; width: auto; height: auto; margin: 0 0 10px; background: #fff; padding: 4px 6px; border-radius: 4px; }
.faq h3 { margin: 14px 0 4px; font-size: 15px; }
.faq p { margin: 0 0 6px; color: var(--dim); line-height: 1.5; }
.al-az { columns: 3 220px; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
.al-az li { break-inside: avoid; padding: 3px 0; }
.al-az b { display: inline-block; min-width: 2.6em; }
.airline-grid a { display: contents; color: inherit; text-decoration: none; }
/* cheap flights link on the airport card (2026-11-22) */
.btn-flights { display: inline-block; margin-top: 8px; padding: 7px 12px; border: 1px solid var(--brand); color: var(--brand); border-radius: 3px; font-weight: 700; }
.btn-flights:hover { text-decoration: none; background: rgba(255, 210, 31, .1); }

/* ---------- airport page v2 (2026-11-25): decoded weather, runway plan, heavy aircraft, YouTube live ---------- */
.metar.wx { display: block; }
.wx-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink); font-size: 14px; }
.wx-temp { color: var(--brand); font: 700 18px/1.1 "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.wx-line { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; color: #b9bec6; font-size: 12.5px; }
.wx-wind { white-space: nowrap; }
.wx-arrow { display: inline-block; margin-right: 4px; color: var(--brand); font-style: normal; font-weight: 700; }
.wx-cat { padding: 0 5px; border: 1px solid currentColor; border-radius: 2px; font: 700 11px/16px "DejaVu Sans Mono", Menlo, monospace; }
.wx-vfr { color: var(--green); } .wx-mvfr { color: var(--blue); } .wx-ifr { color: #ff6b5e; } .wx-lifr { color: #ff5fd2; }
.wx-raw { margin-top: 4px; font-size: 11px; color: var(--dim); }
.wx-raw summary { cursor: pointer; width: max-content; }
.wx-raw code { display: block; margin-top: 2px; color: var(--dim); font-size: 10.5px; word-break: break-word; }

.ap-extra { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ap-extra > *, .ap-side > * { min-width: 0; }
.ap-extra .box { margin-bottom: 0; }
.ap-side { display: grid; gap: 14px; }
.ap-extra + * { margin-top: 14px; }
.ap-extra h2 { margin: 0 0 10px; font-size: 16px; }

.rw-box { background: #0c0e11; }
.rw-plan { display: block; width: 100%; height: auto; aspect-ratio: 400 / 260; background: #0f1215; border: 1px solid #1d2026; border-radius: 2px; }
.rw-ground { fill: #141b19; stroke: #1e2724; stroke-width: 1; }
.rw-tarmac { fill: #3a3e44; stroke: #50555d; stroke-width: .6; transition: fill .6s, stroke .6s; }
.rw-tarmac.ldg { stroke: var(--green); stroke-width: 1.6; }
.rw-tarmac.dep { stroke: #ffb020; stroke-width: 1.6; }
.rw-centre { stroke: #f2f3f5; stroke-width: .7; stroke-dasharray: 5 4; opacity: .8; }
.rw-key { stroke: #f2f3f5; stroke-width: .9; opacity: .9; }
.rw-paint { fill: #f2f3f5; font: 700 5.5px "DejaVu Sans Mono", Menlo, Consolas, monospace; opacity: .92; }
.rw-lbl { fill: #9aa1ab; font: 700 10px "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.rw-end.ldg { fill: var(--green); } .rw-end.dep { fill: #ffb020; }
.rw-n { fill: #9aa1ab; } .rw-north { fill: #9aa1ab; } .rw-scale { stroke: #9aa1ab; stroke-width: 2; } .rw-km { font-weight: 400; }
.rw-ac { cursor: pointer; transition: transform 1s linear; }
.rw-ac path { fill: #e6e8eb; stroke: #000; stroke-width: 1; }
.rw-ac.arr path { fill: var(--brand); } .rw-ac.dep path { fill: var(--blue); } .rw-ac.gnd path { fill: #9aa1ab; }
.rw-ac:hover path { fill: #fff; }
.rw-state { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 6px; font-size: 14px; color: var(--dim); }
.rw-s b { font-weight: 700; } .rw-s.ldg { color: var(--green); } .rw-s.dep { color: #ffb020; }
.rw-s { font: 700 14px/1.4 "DejaVu Sans Mono", Menlo, Consolas, monospace; letter-spacing: .3px; }
.rw-s b { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: uppercase; font-size: 12px; margin-right: 2px; }
.rw-list, .hv-list { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rw-list th, .hv-list th { padding: 6px 8px; color: var(--dim); font: 600 11px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .7px; text-transform: uppercase; text-align: left; border-bottom: 1px solid #262a30; }
.rw-list td, .hv-list td { padding: 6px 8px; border-bottom: 1px solid #1d2026; vertical-align: top; }
.rw-id { color: var(--brand); font: 700 13px/1.4 "DejaVu Sans Mono", Menlo, Consolas, monospace; white-space: nowrap; }
.tag { display: inline-block; margin: 0 6px 2px 0; padding: 0 5px; border: 1px solid currentColor; border-radius: 2px; font: 700 11px/17px "DejaVu Sans Mono", Menlo, monospace; }
.tag.ldg { color: var(--green); } .tag.dep { color: #ffb020; }

.hv-list tbody tr { cursor: pointer; }
.hv-list tbody tr:hover td { background: #1f242b; }
.hv-list small { display: block; color: #7d848e; font-size: 11px; font-weight: 400; }
.hv-flight { color: var(--brand); font-weight: 700; white-space: nowrap; }
.hv-type { color: var(--ink); font-weight: 600; }
.hv-status { font-weight: 600; white-space: nowrap; }
.hv-status.arr { color: var(--brand); } .hv-status.dep { color: var(--green); } .hv-status.other, .hv-status.gnd { color: #c9ced6; }
.hv-list .empty { color: var(--dim); padding: 12px 8px; }

.yt-box h2 { display: flex; align-items: center; gap: 8px; }
.yt-box h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; }
.yt-card { position: relative; display: block; border: 1px solid #000; }
.yt-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0f1215; }
.yt-live { position: absolute; left: 8px; top: 8px; padding: 1px 6px; background: #cc0000; color: #fff; font: 700 11px/16px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .6px; border-radius: 2px; }
.yt-box p { margin: 8px 0 4px; color: #b9bec6; font-size: 13px; }
.yt-watch { font-weight: 700; }

@media (max-width: 900px) { .ap-extra { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .rw-list th, .rw-list td, .hv-list th, .hv-list td { padding: 6px 5px; } .rw-list td { font-size: 12.5px; } .rw-box, .hv-box, .yt-box { padding: 12px; } }

/* airline logo tiles (white, so dark logos stay readable), main board and planes table */
.al-tile { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 22px; padding: 2px 3px; margin-right: 8px; vertical-align: middle;
    background: #fff; border-radius: 2px; box-sizing: border-box; float: left; }
.al-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fids .c-flight.has-logo small, .hv-flight.has-logo small { clear: none; }
.fids .c-flight.has-logo .v { display: inline; }
@media (max-width: 760px) { .fids .al-tile { float: none; display: flex; width: 40px; height: 18px; margin: 0 0 3px; } .fids .c-flight .v { overflow-wrap: normal; word-break: keep-all; } }

/* planes around: tabs, live values, change flash, new rows */
.hv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.hv-head h2 { margin: 0; }
.hv-tabs { display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.hv-tabs button { padding: 5px 10px; background: transparent; border: 0; color: var(--dim); font: 600 12.5px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; cursor: pointer; }
.hv-tabs button + button { border-left: 1px solid var(--line); }
.hv-tabs button[aria-pressed="true"] { background: #2a2e35; color: var(--brand); }
.hv-list td { position: relative; }
.hv-flight .v { font-size: 14px; }
.hv-route { white-space: nowrap; font: 700 13px/1.35 "DejaVu Sans Mono", Menlo, Consolas, monospace; color: #c9ced6; }
.hv-route.arr { color: var(--brand); } .hv-route.dep { color: var(--green); }
.hv-route small { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.hv-live { white-space: nowrap; font: 700 13px/1.35 "DejaVu Sans Mono", Menlo, Consolas, monospace; color: var(--ink); min-width: 92px; }
.hv-live.up .v { color: var(--green); } .hv-live.down .v { color: var(--brand); }
.hv-live small { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.hv-bar { display: block; height: 2px; margin-top: 4px; background: var(--brand); opacity: .55; transition: width 1s ease; }
.hv-list tr.r-dep .hv-bar { background: var(--green); } .hv-list tr.r-other .hv-bar, .hv-list tr.r-gnd .hv-bar { background: #7d848e; }
.hv-list td.chg .v { animation: hv-flash 1.4s ease-out; }
@keyframes hv-flash { 0% { background: rgba(255, 210, 31, .35); color: #fff; } 100% { background: transparent; } }
.hv-list tr.new td { animation: hv-in .6s ease-out; }
@keyframes hv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .hv-list .opt { display: none; } .al-tile { width: 36px; height: 18px; margin-right: 6px; } .hv-flight .v { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .hv-list td.chg .v, .hv-list tr.new td, .rw-ac { animation: none; transition: none; } }
.hv-type { white-space: nowrap; font-size: 13px; }
.hv-flight small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1200px) { .hv-type { white-space: normal; } }

/* plane card on the first map (2026-11-25): logo, flight, status, route, aircraft, altitude, speed, distance */
.map-card { position: absolute; top: 48px; right: 12px; z-index: 3; width: 300px; padding: 12px 14px 10px; background: rgba(20, 22, 26, .96);
    border: 1px solid var(--line); border-top: 2px solid var(--brand); border-radius: 3px; color: var(--ink); animation: mc-in .35s ease-out; }
@keyframes mc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mc-x { position: absolute; top: 4px; right: 6px; padding: 0 4px; background: none; border: 0; color: var(--dim); font-size: 20px; line-height: 1; cursor: pointer; }
.mc-x:hover { color: #fff; }
.mc-top { display: flex; align-items: center; gap: 0; padding-right: 18px; }
.mc-top .al-tile { width: 54px; height: 26px; margin-right: 10px; float: none; flex: none; }
.mc-who { min-width: 0; }
.mc-flight { display: block; color: var(--brand); font: 700 18px/1.15 "DejaVu Sans Mono", Menlo, Consolas, monospace; letter-spacing: .5px; }
.mc-who small { display: block; color: #9aa1ab; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-status { margin: 8px 0 2px; font-weight: 700; font-size: 13.5px; color: #e6e8eb; }
.mc-status.arr { color: var(--brand); } .mc-status.dep { color: var(--green); }
.mc-status.s-final { animation: fids-blink 1.2s steps(2, start) infinite; }
.mc-route { margin: 4px 0 8px; font-size: 13px; color: #b9bec6; }
.mc-route b { color: var(--ink); font: 700 15px/1.3 "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.mc-arrow { color: var(--brand); font-style: normal; }
.mc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 10px; padding-top: 8px; border-top: 1px solid var(--line2); }
.mc-row { min-width: 0; } .mc-row.wide { grid-column: 1 / -1; }
.mc-k { display: block; color: var(--dim); font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; }
.mc-v { display: inline-block; font: 700 13px/1.35 "DejaVu Sans Mono", Menlo, Consolas, monospace; white-space: nowrap; }
.mc-row.wide .mc-v { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: normal; }
.mc-row.up .mc-v { color: var(--green); } .mc-row.down .mc-v { color: var(--brand); }
.mc-v.chg { animation: hv-flash 1.4s ease-out; }
.mc-follow { display: inline-block; margin-top: 9px; font-weight: 700; font-size: 13px; }
.mc-auto { margin: 6px 0 0; color: var(--dim); font-size: 11px; }
@media (max-width: 760px) {
    .map-card { position: static; width: auto; padding: 10px 12px 8px; border: 0; border-top: 2px solid var(--brand); border-radius: 0; background: #14171b; }
    .mc-flight { font-size: 16px; } .mc-grid { grid-template-columns: 1fr 1fr 1fr; } .mc-auto { display: none; }
    .mc-route { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .map-card, .mc-v.chg, .mc-status.s-final { animation: none; } }

/* flight and route pages (2026-11-26, seo-flight.js) */
.fl-status { margin: 8px 0 12px; padding: 8px 10px; border-left: 3px solid var(--line); color: #d3d6db; font-size: 13px; line-height: 1.45; }
.fl-status.on { border-left-color: #3fb950; color: #fff; }
.fl-status.off { color: var(--dim); }
.fl-others { line-height: 2; }
.fl-others a { display: inline-block; margin: 0 10px 0 0; font-weight: 600; }
