/* Страницы аэропортов и «Советы водителю»: тот же стиль, что у главной, но для чтения */
:root { --bg:#0E1116; --card:#171B22; --card2:#1D222B; --ink:#F2F4F8; --muted:#97A0AF; --line:rgba(255,255,255,.08);
  --accent:#F2B705; --on-accent:#1A1400; --ok:#2BB673; --late:#F0A43A; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
  background: radial-gradient(900px 500px at 70% -10%, rgba(242,183,5,.12), transparent 70%), var(--bg); }
a { color: var(--accent); }
img { display: block; }

.top { display: flex; align-items: center; gap: 20px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand b { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.pill { background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 18px 20px 40px; }
.wrap > .lead, .wrap > p, .wrap > ul, .wrap > .tips, .article { max-width: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: "›"; margin-right: 6px; color: rgba(255,255,255,.25); }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 6px 0 14px; }
h2 { font-size: clamp(21px, 3vw, 26px); line-height: 1.2; letter-spacing: -.02em; margin: 40px 0 14px; }
.lead { font-size: 19px; color: #C9D0DB; margin: 0 0 22px; }
p, li { color: #D5DAE2; }
.muted { color: var(--muted); }
ul, ol { padding-left: 22px; }
li { margin: 8px 0; }

.updated { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(43,182,115,.2); flex: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.stats b { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats .txt b { font-size: 19px; line-height: 1.25; padding-top: 6px; }
.stats span { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; }

.table { background: #06080B; border: 1px solid #1C2129; border-radius: 16px; overflow-x: auto; box-shadow: inset 0 0 60px rgba(0,0,0,.7); }
.table td.num b { font-family: var(--mono); color: var(--led); text-shadow: 0 0 12px rgba(255,194,26,.4); }
.table td.num { font-family: var(--mono); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: top; }
th { color: #6F7888; font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; background: #0A0D11; }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
td small { display: block; color: var(--muted); font-size: 13px; }
td.from { color: var(--muted); font-size: 14px; min-width: 180px; }
td.zone { white-space: nowrap; }
.from-m { display: none !important; }
tr.peak td { background: rgba(242,183,5,.08); }
tr.peak td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.empty { background: var(--card); border: 1px dashed rgba(255,255,255,.15); border-radius: 18px; padding: 24px; color: var(--muted); text-align: center; }

.delays { list-style: none; padding: 0; display: grid; gap: 8px; }
.delays li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 0; }
.late { color: var(--late); font-weight: 700; }
.tips li { margin: 12px 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.card:hover { border-color: rgba(242,183,5,.5); transform: translateY(-2px); }
.card b { font-size: 18px; line-height: 1.25; }
.card span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.card small { color: var(--accent); font-weight: 600; }

.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links a { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { border-color: rgba(242,183,5,.5); }
.links small { color: var(--muted); font-weight: 500; margin-left: 6px; }

.article h2 { margin-top: 34px; }
.checked { display: block; margin: 16px 0; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5;
  background: rgba(242,183,5,.07); border: 1px solid rgba(242,183,5,.25); color: #C9D0DB; }
.checked b { color: var(--ink); }
.article p { margin: 12px 0; }

.btn { flex: none; background: linear-gradient(180deg, #FFD54A, var(--accent)); color: var(--on-accent); text-decoration: none; font-weight: 800;
  padding: 14px 22px; border-radius: 14px; box-shadow: 0 10px 28px rgba(242,183,5,.25); }

.foot { max-width: 1080px; margin: 30px auto 0; padding: 30px 20px 40px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; font-size: 15px; }
.foot p { margin: 6px 0; }
.foot a { color: #C9D0DB; text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }

@media (max-width: 760px) {
  .nav { display: none; }
  .pill { margin-left: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; text-align: center; }
  .foot { grid-template-columns: 1fr; }
  th.from, td.from { display: none; }
  .from-m { display: block !important; white-space: normal; margin-top: 4px; color: #B4BCC8 !important; }
  td.num:first-child { white-space: normal; }
  th, td { padding: 10px 10px; }
}

/* ---------- Табло ---------- */
:root { --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Roboto Mono", monospace; --led: #FFC21A; }
.board { background: #06080B; border: 1px solid #1C2129; border-radius: 16px; overflow: hidden; margin: 6px 0 8px;
  box-shadow: inset 0 0 60px rgba(0,0,0,.7), 0 18px 40px rgba(0,0,0,.35); }
.b-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(#151a22, #0c0f14);
  border-bottom: 1px solid #1C2129; font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--led); }
.b-live { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43,182,115,.2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.b-clock { margin-left: auto; color: #9AA3B2; letter-spacing: .08em; }
.b-row { display: grid; gap: 12px; align-items: baseline; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.05);
  color: #E6E9EE; text-decoration: none; transition: background .15s; }
a.b-row:nth-child(odd) { background: rgba(255,255,255,.018); }
a.b-row:hover { background: rgba(255,194,26,.08); }
.b-row:last-child { border-bottom: 0; }
.b-labels { padding-top: 8px; padding-bottom: 8px; font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6F7888; background: #0A0D11; }
.b-labels span { font: 600 11px/1.2 var(--mono) !important; color: #6F7888 !important; text-shadow: none !important; letter-spacing: .08em; text-transform: uppercase; }
.b-labels .t-num { text-align: right; }
.t-time { font: 700 19px/1 var(--mono); color: var(--led); text-shadow: 0 0 12px rgba(255,194,26,.45); white-space: nowrap; }
.t-name { font-weight: 700; min-width: 0; }
.t-name small { display: block; font-weight: 400; color: #8B94A3; font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-num { font: 700 17px/1 var(--mono); color: var(--led); text-align: right; white-space: nowrap; }
.t-muted { color: #8B94A3; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-status { font: 700 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #2BB673; white-space: nowrap; }
.t-status.wait { color: #F0A43A; }
.b-empty { padding: 22px 16px; color: #8B94A3; font-family: var(--mono); font-size: 14px; }
/* Колонки каждого табло */
.b-air  .b-row { grid-template-columns: 74px minmax(0,1.3fr) 64px 84px minmax(0,1.6fr) 120px; }
.b-airs .b-row { grid-template-columns: minmax(0,1.6fr) 90px 110px 84px 90px; }
.b-rail .b-row { grid-template-columns: 74px minmax(0,1.3fr) 74px 84px minmax(0,1.8fr); }
.b-rails .b-row { grid-template-columns: minmax(0,1.6fr) 90px 100px 100px; }
.b-show .b-row { grid-template-columns: 74px minmax(0,1.2fr) minmax(0,1.8fr) 84px; }
.b-shows .b-row { grid-template-columns: minmax(0,1.6fr) 100px 110px; }
.places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.places a { font-size: 14px; color: #C9D0DB; text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.places a:hover { border-color: rgba(242,183,5,.5); color: var(--ink); }
.places small { color: var(--muted); margin-left: 4px; }
@media (max-width: 760px) {
  .hide-m { display: none; }
  .b-row { gap: 8px; padding: 10px 12px; }
  .t-time { font-size: 16px; }
  .t-num { font-size: 15px; }
  .b-air  .b-row { grid-template-columns: 54px minmax(0,1fr) 40px 56px; }
  .b-airs .b-row { grid-template-columns: minmax(0,1fr) 56px 64px 54px; }
  .b-rail .b-row { grid-template-columns: 54px minmax(0,1fr) 40px 56px; }
  .b-rails .b-row { grid-template-columns: minmax(0,1fr) 54px 60px 70px; }
  .b-show .b-row { grid-template-columns: 54px minmax(0,1fr) 56px; }
  .b-shows .b-row { grid-template-columns: minmax(0,1fr) 60px 70px; }
}
.wrap:has(.article) { max-width: 820px; }

.soon-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: #171B22; color: var(--ink);
  border: 1px solid rgba(242,183,5,.4); padding: 14px 18px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.5); z-index: 50;
  transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; font-size: 15px; }
.soon-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Блок «Скачать» внизу страниц: текст и кнопки слева, значок со свечением справа */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 24px;
  margin-top: 56px; padding: 34px 36px; border-radius: 28px; border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(420px 300px at 88% 50%, rgba(242,183,5,.22), transparent 70%), linear-gradient(160deg, #181D26, #11151C); }
.cta-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent);
  background: rgba(242,183,5,.12); border: 1px solid rgba(242,183,5,.25); padding: 5px 11px; border-radius: 999px; }
.cta h2 { margin: 14px 0 8px; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.cta p { margin: 0 0 20px; color: #AEB6C2; font-size: 15.5px; line-height: 1.5; max-width: 520px; }
.cta-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-art { position: relative; height: 180px; display: grid; place-items: center; }
.cta-art img { position: relative; width: 96px; height: 96px; filter: drop-shadow(0 14px 34px rgba(242,183,5,.45)); }
.cta-art i { position: absolute; border-radius: 50%; border: 1px solid rgba(242,183,5,.22); }
.cta-art i:nth-child(1) { width: 150px; height: 150px; }
.cta-art i:nth-child(2) { width: 200px; height: 200px; border-color: rgba(242,183,5,.1); }
.store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 12px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14); background: #07090C; color: #fff; font: inherit; cursor: pointer; text-decoration: none;
  transition: transform .15s, border-color .15s; }
.store:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.32); }
.store img, .store .logo { flex: none; width: 26px; height: 26px; display: block; }
.store img { border-radius: 7px; }
.store .logo { fill: #fff; padding: 1px; }
.store .logo.gp { fill: none; }
.store span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.1; font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.store small { font-size: 10px; font-weight: 500; color: #9AA3B2; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1px; }
.store.rs small { text-transform: none; letter-spacing: 0; font-size: 11px; }
@media (max-width: 760px) {
  .cta { grid-template-columns: 1fr; padding: 26px 20px; text-align: center;
    background: radial-gradient(360px 220px at 50% 0%, rgba(242,183,5,.2), transparent 70%), linear-gradient(160deg, #181D26, #11151C); }
  .cta-art { display: none; }
  .cta p { margin-left: auto; margin-right: auto; }
  .cta-stores { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
  .store { height: 54px; padding: 0 18px; gap: 14px; }
  .store img, .store .logo { width: 30px; height: 30px; }
  .store span { font-size: 17px; }
}
