/* «Летим дёшево» — ночной аэропорт: табло вылетов, посадочные талоны, постеры стран. */
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(fonts/unbounded-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-04FF, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(fonts/unbounded-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20CF; }
@font-face { font-family: "Golos"; font-weight: 400; font-display: swap; src: url(fonts/golos-text-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-04FF, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400; font-display: swap; src: url(fonts/golos-text-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20CF; }
@font-face { font-family: "Golos"; font-weight: 500; font-display: swap; src: url(fonts/golos-text-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0400-04FF, U+2116; }
@font-face { font-family: "Golos"; font-weight: 500; font-display: swap; src: url(fonts/golos-text-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20CF; }
@font-face { font-family: "Golos"; font-weight: 700; font-display: swap; src: url(fonts/golos-text-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-04FF, U+2116; }
@font-face { font-family: "Golos"; font-weight: 700; font-display: swap; src: url(fonts/golos-text-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20CF; }
@font-face { font-family: "Board"; font-weight: 700; font-display: swap; src: url(fonts/jetbrains-mono-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-04FF; }
@font-face { font-family: "Board"; font-weight: 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20CF; }

:root {
  --bg: #0c1424;
  --surface: #162036;
  --surface-2: #1e2b47;
  --text: #f3eee2;
  --muted: #a3adc0;
  --line: #2b3854;
  --accent: #ffb627;
  --accent-text: #1a1405;
  --accent-soft: #2a2a2c;
  --hot: #ff6a45;
  --hot-soft: #3a2024;
  --sale: #ffb627;
  --sale-soft: #33291a;
  --ok: #5fd39a;
  --paper: #f7f0e0;
  --display: "Unbounded", "Golos", system-ui, sans-serif;
  --board: "Board", ui-monospace, Consolas, monospace;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); min-height: 100dvh;
  font: 400 16px/1.55 "Golos", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-image: radial-gradient(900px 500px at 85% -10%, #24355c 0%, transparent 70%);
  background-repeat: no-repeat;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 5.2vw, 3.3rem); line-height: 1.1; margin: 0 0 .75rem; letter-spacing: -.02em; }
h2 { font-size: clamp(1.1rem, 2.6vw, 1.55rem); line-height: 1.2; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin: 1rem 0 .25rem; }
.i { flex: none; vertical-align: -3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

.top { position: sticky; top: 0; z-index: 10; background: rgba(12, 20, 36, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--text); white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo img { border-radius: 8px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); padding: 6px 12px; border-radius: 8px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a[aria-current] { color: var(--accent); background: var(--surface); }

.demo, .offline { text-align: center; font-size: .9rem; padding: 8px 16px; }
.demo { background: var(--sale-soft); color: var(--sale); }
.offline { background: var(--hot-soft); color: var(--hot); }
.offline[hidden] { display: none; }

main.wrap { padding-top: 32px; padding-bottom: 56px; }
.hero { margin: 4px 0 24px; }
.lead { color: var(--muted); margin: 0 0 16px; max-width: 62ch; font-size: 1.05rem; }
.crumbs { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }

.search { display: grid; gap: 10px; align-items: end; grid-template-columns: 1.3fr 1.3fr 1fr 1fr auto; background: var(--surface); padding: 14px; border-radius: 16px; margin-top: 18px; }
.sf { display: grid; gap: 4px; min-width: 0; }
.sf > span { font-size: .82rem; color: var(--muted); }
.sf select, .sf input { width: 100%; background: var(--bg); padding: 10px 10px; }
.sf-go { height: 46px; }
.search-msg { margin-top: 10px; }
.app-title { margin-bottom: 4px; }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.tile { display: flex; flex-direction: column; gap: 3px; padding: 15px; border-radius: 14px; background: var(--surface); color: var(--text); transition: background .2s; }
.tile:hover { background: var(--surface-2); text-decoration: none; }
.tile b { font-weight: 700; font-size: .98rem; }
.tile span { color: var(--muted); font-size: .84rem; }
.tiles-ad { margin-top: 8px; }
.tabbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(12, 20, 36, .94); border-top: 1px solid var(--line); }
.tabbar[hidden] { display: none; }
.tabbar button { font: inherit; font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 10px; padding: 11px; cursor: pointer; }
.tabbar button[aria-current="page"] { color: var(--accent); background: var(--surface); font-weight: 700; }
#miniapp { padding-bottom: 76px; }
.app-back { display: inline-block; margin-bottom: 14px; font-weight: 500; }
.quick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 12px; }
.quick-btn { display: flex; flex-direction: column; gap: 2px; padding: 15px 18px; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent); transition: background .2s, transform .15s; }
.quick-btn:hover { background: var(--surface-2); text-decoration: none; transform: translateY(-1px); }
.quick-btn b { font-weight: 700; font-size: 1.05rem; color: var(--accent); }
.quick-btn span { color: var(--muted); font-size: .9rem; }
.quick-alert { background: var(--accent); box-shadow: none; }
.quick-alert:hover { background: var(--accent); filter: brightness(1.08); }
.quick-alert b { color: var(--accent-text); }
.quick-alert span { color: #4a3a12; }
.sf input[type=text] { font-weight: 500; }
.suggest-box { position: relative; }
.suggest { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; min-width: 220px; max-height: 320px; overflow-y: auto; background: var(--surface-2); border-radius: 12px; box-shadow: 0 16px 32px -12px #000; padding: 4px; }
.suggest[hidden] { display: none; }
.sf:nth-of-type(2) .suggest { left: auto; right: 0; }
@media (max-width: 900px) { .suggest { min-width: 0; } .sf:nth-of-type(2) .suggest { min-width: 200px; } }
.suggest-item { display: flex; justify-content: space-between; gap: 10px; width: 100%; background: none; border: 0; color: var(--text); font: inherit; text-align: left; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.suggest-item:hover, .suggest-item:focus { background: var(--line); outline: 0; }
.suggest-item b { font-weight: 500; }
.suggest-item span { color: var(--muted); font-size: .85rem; }
.suggest-empty { padding: 10px; color: var(--muted); font-size: .9rem; }
.date-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; height: 56px; justify-content: center; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; cursor: pointer; text-align: left; transition: border-color .2s; }
.date-btn:hover { border-color: var(--muted); }
.date-btn small { font-size: .78rem; color: var(--muted); }
.date-btn b { font-weight: 500; white-space: nowrap; }
.date-btn.empty b { color: var(--muted); }
.no-scroll { overflow: hidden; }
.cal-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(4, 8, 16, .72); display: flex; align-items: flex-end; justify-content: center; }
.cal-panel { width: 100%; max-width: 560px; height: 92dvh; background: var(--surface); border-radius: 18px 18px 0 0; display: flex; flex-direction: column; padding: 12px; animation: rise .25s both; }
@media (min-width: 700px) { .cal-sheet { align-items: center; } .cal-panel { height: 84dvh; border-radius: 18px; } }
.cal-head { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 8px; align-items: center; }
.cal-tab { display: flex; flex-direction: column; align-items: flex-start; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--bg); border-radius: 12px; padding: 7px 12px; cursor: pointer; text-align: left; }
.cal-tab small { font-size: .76rem; color: var(--muted); }
.cal-tab b { font-weight: 500; font-size: .95rem; }
.cal-tab.on { border-color: var(--accent); }
.cal-close { width: 36px; height: 36px; font-size: 1.5rem; line-height: 1; background: none; border: 0; color: var(--muted); cursor: pointer; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: var(--muted); font-size: .78rem; padding: 10px 0 4px; }
.cal-months { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cal-month h3 { margin: 12px 4px 6px; font-size: 1.05rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; padding: 2px 0; font: inherit; color: var(--text); background: none; border: 0; border-radius: 10px; cursor: pointer; }
.cal-day b { font-weight: 500; font-size: 1rem; line-height: 1.2; }
.cal-day small { font-size: .62rem; color: var(--muted); min-height: .8rem; white-space: nowrap; letter-spacing: -.02em; }
.cal-day small.cheap { color: var(--ok); }
.cal-day:disabled { color: var(--line); cursor: default; }
.cal-day:not(:disabled):hover { background: var(--surface-2); }
.cal-day.between { background: var(--surface-2); border-radius: 0; }
.cal-day.edge { background: var(--accent); color: var(--accent-text); }
.cal-day.edge small { color: var(--accent-text); }
.cal-foot { display: grid; gap: 6px; padding-top: 10px; }
.cal-note { margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
.cal-skip { background: none; border: 0; color: var(--accent); font: inherit; font-size: .92rem; padding: 4px; cursor: pointer; }
.cal-skip[hidden] { display: none; }
.cal-done { width: 100%; padding: 14px; }
.cal-done:disabled { opacity: .5; cursor: default; }
input[type=date] { flex: 1; min-width: 0; font: inherit; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 10px; }
.city { display: grid; gap: 6px; max-width: 460px; }
.city label { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.city-row { display: flex; gap: 8px; }
select, input[type=text], input[type=number] {
  flex: 1; min-width: 0; font: inherit; font-weight: 500; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .2s;
}
select:hover, input:hover { border-color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  font: inherit; font-weight: 700; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-text); border-radius: 12px; padding: 11px 18px; white-space: nowrap;
  transition: transform .15s, filter .2s;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Табло вылетов */
.lede { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.lede b { color: var(--text); font-weight: 700; }
.lede li { display: flex; align-items: center; gap: 7px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.board { margin: 24px 0 28px; background: #070c17; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.board-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--surface); color: var(--muted); font-size: .85rem; flex-wrap: wrap; }
.board-head b { color: var(--accent); font-family: var(--board); letter-spacing: .08em; }
.row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) auto 74px; align-items: center; gap: 8px 16px;
  padding: 11px 18px; border-top: 1px solid #161f33; color: var(--muted); transition: background .15s;
}
.row:hover { background: #111a2d; text-decoration: none; }
.flap { font-family: var(--board); font-weight: 700; color: var(--accent); font-size: clamp(.92rem, 1.9vw, 1.2rem); letter-spacing: .03em; white-space: nowrap; overflow: hidden; }
.flap .c { display: inline-block; min-width: .68em; text-align: center; margin-right: 1px; background: linear-gradient(#1a2338 0 49%, #070c17 49% 51%, #141c2e 51%); border-radius: 3px; color: var(--accent); }
.row-sub { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-price { color: var(--text); }
.row-price .c { color: var(--text); }
.row-off { font-family: var(--board); font-weight: 700; color: var(--hot); text-align: right; font-size: 1.05rem; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 7px 16px; border-radius: 10px; background: var(--surface); color: var(--text);
  font-size: .95rem; font-weight: 500; transition: background .2s;
}
.chip:hover { background: var(--surface-2); text-decoration: none; }
.chip[aria-current] { background: var(--accent); color: var(--accent-text); font-weight: 700; }
.chips-sub .chip { font-size: .85rem; padding: 5px 12px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.chips-sub .chip[aria-current] { background: var(--surface-2); color: var(--text); box-shadow: none; }

/* Посадочный талон */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); margin-top: 10px; }
.card {
  --text: #1b2233; --muted: #6d6655; --line: #cfc3a8; --accent: #17315f; --accent-text: #f7f0e0;
  --hot: #cf3a17; --accent-soft: #eadfc6; --sale: #7a5200; --sale-soft: #f1dfb4;
  position: relative; overflow: hidden; background: var(--paper); color: var(--text); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 10px 24px -14px #000; transition: transform .2s; animation: rise .45s both;
}
.card:hover { transform: translateY(-3px) rotate(-.25deg); }
.grid .card:nth-child(2) { animation-delay: .05s; } .grid .card:nth-child(3) { animation-delay: .1s; }
.grid .card:nth-child(4) { animation-delay: .15s; } .grid .card:nth-child(5) { animation-delay: .2s; }
.grid .card:nth-child(n+6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.card a:not(.btn) { color: var(--accent); }
.card-head { display: flex; align-items: flex-start; gap: 8px; }
.kind { color: var(--muted); padding-top: 1px; }
.card-title { margin: 0; font-size: .98rem; font-weight: 700; flex: 1; line-height: 1.3; }
.card-title a { color: var(--text) !important; }
.off {
  font-family: var(--board); font-weight: 700; font-size: 1.02rem; color: var(--hot);
  border: 2px solid var(--hot); border-radius: 6px; padding: 0 6px; transform: rotate(-6deg); white-space: nowrap;
}
.codes { display: flex; align-items: center; gap: 10px; font-family: var(--board); font-weight: 700; font-size: 1.75rem; letter-spacing: .02em; line-height: 1.15; margin: 2px 0; }
.codes .path { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.codes .path::before, .codes .path::after { content: ""; flex: 1; border-top: 2px dotted var(--line); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: .76rem; font-weight: 700; border-radius: 5px; padding: 1px 8px; background: var(--accent-soft); color: var(--accent); }
.badge-sale { background: var(--sale-soft); color: var(--sale); }
.sub { margin: 0; color: var(--muted); font-size: .92rem; }
.meta { margin: 0; color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.dot { margin: 0 2px; }
.more { font-size: .86rem; font-weight: 500; }
.live-link { font-size: .84rem; font-weight: 700; color: var(--hot) !important; margin-top: 4px; }
.card-foot {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--line);
}
.card-foot::before, .card-foot::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--page, #0c1424); }
.card-foot::before { left: -25px; } .card-foot::after { right: -25px; }
.card > .meta + .card-foot, .card > .more + .card-foot { margin-top: 8px; }
.price { font-family: var(--board); font-size: 1.4rem; font-weight: 700; display: flex; flex-direction: column; line-height: 1.15; }
.was { font-family: "Golos", sans-serif; font-size: .78rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.noprice { font-family: "Golos", sans-serif; font-size: .92rem; font-weight: 500; color: var(--muted); }
.buy { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.seller { font-size: .72rem; color: var(--muted); }
.ad { margin: 0; font-size: .72rem; color: var(--muted); }

.empty { background: var(--surface); border-radius: var(--radius); padding: 32px 18px; text-align: center; margin: 12px 0; }
.empty p { margin: 0 0 14px; }
.empty-text { color: var(--muted); }
.block { margin: 48px 0 0; scroll-margin-top: 76px; }
.block.two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cta { text-align: center; }

/* Постеры стран */
.posters { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 168px), 1fr)); }
.poster {
  position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; color: #fff; display: flex;
  flex-direction: column; justify-content: flex-end; padding: 12px; transition: transform .25s;
}
.poster:hover { transform: translateY(-4px); text-decoration: none; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.poster:hover img { transform: scale(1.06); }
.poster::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(6, 10, 20, .82)); }
.poster-name, .poster-price { position: relative; z-index: 1; }
.poster-name { font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.poster-price { font-family: var(--board); font-weight: 700; font-size: .92rem; color: #ffd98a; margin-top: 3px; }

/* Почему можно доверять */
.trust { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .trust { grid-template-columns: 1fr; } }
.trust > div { background: var(--surface); border-radius: var(--radius); padding: 18px; }
.trust b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.trust p { margin: 0; color: var(--muted); font-size: .95rem; }
.trust .sum { font-family: var(--board); color: var(--accent); display: block; margin-top: 10px; font-size: .9rem; }

/* Подписка */
.sub-panel { display: grid; gap: 24px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); background: var(--surface); border-radius: 20px; padding: clamp(18px, 4vw, 36px); }
.sub-panel p { color: var(--muted); max-width: 48ch; }
.bubble { background: #0f1b2d; border-radius: 16px 16px 16px 4px; padding: 14px 16px; max-width: 360px; font-size: .95rem; box-shadow: 0 12px 30px -14px #000; animation: rise .5s both; }
.bubble-from { color: var(--accent); font-weight: 700; font-size: .85rem; margin-bottom: 4px; }
.bubble p { color: var(--text); margin: 0 0 3px; }
.bubble .bubble-btn { display: block; text-align: center; margin-top: 10px; padding: 7px; border-radius: 8px; background: #22324f; font-weight: 500; font-size: .9rem; }

.guide { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 16px; color: var(--muted); transition: background .2s; }
.guide:hover { background: var(--surface-2); text-decoration: none; }
.guide b { display: block; color: var(--text); }
.guide .i { color: var(--accent); margin-top: 3px; }

.cal { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.cal li { background: var(--surface); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; font-size: .85rem; }
.cal li.cheap { box-shadow: inset 0 0 0 1.5px var(--ok); }
.cal-w { color: var(--muted); }
.cal-p { font-family: var(--board); font-weight: 700; font-size: .95rem; }
.cal li.cheap .cal-p { color: var(--ok); }
.extras { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.extra { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border-radius: 10px; padding: 8px 14px; }
.links { padding-left: 18px; margin: 0; columns: 2 220px; }
.links li { margin: 0 0 6px; break-inside: avoid; }

.text { max-width: 760px; }
.text p, .text li { color: var(--text); }
.guide-page h2 { margin-top: 1.8rem; }
.checked, .note { background: var(--surface); border-radius: 10px; padding: 10px 12px; font-size: .92rem; display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.note .i, .checked .i { margin-top: 3px; }
.warn { background: var(--sale-soft); color: var(--sale); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); font-size: .92rem; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 500; }

.form { display: grid; gap: 16px; max-width: 520px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-size: .9rem; color: var(--muted); padding: 0; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.check { display: flex; gap: 8px; align-items: center; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.err { color: var(--hot); margin: 0; }
.ok { color: var(--ok); margin: 0; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot-in { padding-top: 20px; padding-bottom: 28px; }
.foot-in p { max-width: 80ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; max-width: none !important; }

@media (max-width: 900px) {
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-go { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .logo { font-size: .82rem; gap: 7px; }
  .nav a { padding: 6px 7px; font-size: .9rem; }
  .nav a:first-child { display: none; }  /* логотип и так ведёт на главную */
  .row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 14px; gap: 2px 12px; }
  .row-sub { grid-column: 1; grid-row: 2; }
  .row-price { grid-column: 2; grid-row: 1; text-align: right; }
  .row-off { grid-column: 2; grid-row: 2; }
  .flap { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
