:root {
  --v2-ink: #111827;
  --v2-ink-soft: #2f3746;
  --v2-muted: #6a7484;
  --v2-line: #d9e0ea;
  --v2-paper: #eef3f8;
  --v2-white: #ffffff;
  --v2-blue: #ff9f00;
  --v2-navy: #101820;
  --v2-yellow: #ffb000;
  --v2-red: #ff1f2d;
  --v2-marker-color: #ff7900;
  --v2-orange: #ff7900;
  --v2-green: #168164;
  --v2-shadow: 0 20px 58px rgba(17, 24, 39, 0.14);
  --v2-glow: 0 18px 44px rgba(255, 121, 0, 0.18);
  --v2-radius: 8px;
  --v2-site-font-family: "Segoe UI", Arial, sans-serif;
  --v2-site-base-size: 16px;
  --v2-site-line-height: 1.55;
  --v2-site-heading-weight: 900;
  --v2-content-width: 1380px;
  --ink: var(--v2-ink);
  --ink-soft: var(--v2-ink-soft);
  --muted: var(--v2-muted);
  --line: var(--v2-line);
  --paper: var(--v2-paper);
  --white: var(--v2-white);
  --radius: var(--v2-radius);
  --signal: var(--v2-red);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--v2-site-font-family);
  font-size: var(--v2-site-base-size);
  line-height: var(--v2-site-line-height);
  color: var(--v2-ink);
  background: var(--v2-paper);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.v2-container {
  width: min(var(--v2-content-width), calc(100% - 56px));
  margin: 0 auto;
}

.v2-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 12px 16px;
  border-radius: var(--v2-radius);
  background: var(--v2-navy);
  color: #fff;
  font-weight: 850;
  transition: top 0.2s ease;
}

.v2-skip:focus {
  top: 16px;
}

.v2-alert {
  display: none;
}

.v2-alert[hidden] {
  display: none;
}

.v2-alert__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.v2-alert a {
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.v2-alert button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--v2-radius);
  background: transparent;
  cursor: pointer;
}

.v2-alert svg,
.v2-theme-toggle svg,
.v2-menu-button svg,
.v2-service-tile svg,
.v2-board__switch svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  box-shadow: none;
  transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, backdrop-filter 0.32s ease;
}

.v2-header:not(.is-scrolled) .v2-brand img {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
}

html[data-header-solid="true"] .v2-header {
  background: rgba(8, 13, 20, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.v2-header.is-scrolled {
  background: rgba(8, 13, 20, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.12);
}

.v2-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.v2-brand {
  width: min(236px, 18vw);
  min-width: 176px;
  display: inline-flex;
  align-items: center;
}

.v2-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  content: url("assets/logo-wide-white.png");
}

.v2-brand__organization {
  display: none;
}

.v2-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
}

.v2-nav > a,
.v2-nav-trigger {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: var(--v2-radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--v2-header-menu-font-size, 14px);
  font-weight: 850;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.v2-nav > a:hover,
.v2-nav > a:focus-visible,
.v2-nav-group:hover .v2-nav-trigger,
.v2-nav-group:focus-within .v2-nav-trigger {
  background: #fff1dd;
  color: var(--v2-red);
  transform: translateY(-1px);
}

.v2-nav-group {
  position: relative;
}

.v2-nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: -18px;
  top: 100%;
  height: 10px;
}

.v2-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 330px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--v2-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94)),
    radial-gradient(circle at 10% 0%, rgba(255, 176, 0, 0.2), transparent 42%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.v2-nav-group:hover .v2-dropdown,
.v2-nav-group:focus-within .v2-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.v2-dropdown p {
  margin: 4px 8px 8px;
  color: var(--v2-blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-dropdown a {
  display: block;
  padding: 12px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.v2-dropdown a:hover,
.v2-dropdown a:focus-visible,
.v2-dropdown a[aria-current="page"] {
  background: #fff4df;
  border-color: rgba(255, 176, 0, 0.38);
  color: #a33118;
  transform: translateX(3px);
}

.v2-header__actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-phone {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--v2-radius);
  color: var(--v2-yellow);
  font-weight: 950;
}

.v2-access-button,
.v2-settings-button,
.v2-theme-toggle,
.v2-menu-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-white);
  color: var(--v2-ink);
  font-weight: 900;
  cursor: pointer;
}

.v2-access-button,
.v2-settings-button {
  position: relative;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-color: rgba(255, 176, 0, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 243, 248, 0.82)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.12), rgba(255, 176, 0, 0.14));
  color: #101820;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.v2-settings-button[hidden] {
  display: none !important;
}

.v2-access-button svg,
.v2-settings-button svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 8px 18px rgba(255, 121, 0, 0.24);
  transition: transform 0.22s ease;
}

.v2-access-button:hover,
.v2-access-button:focus-visible,
.v2-access-button[aria-expanded="true"],
.v2-settings-button:hover,
.v2-settings-button:focus-visible,
.v2-settings-button[aria-expanded="true"] {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.68);
  box-shadow: var(--v2-glow), 0 16px 34px rgba(16, 24, 32, 0.14);
}

.v2-access-button:hover svg,
.v2-access-button:focus-visible svg,
.v2-access-button[aria-expanded="true"] svg,
.v2-settings-button:hover svg,
.v2-settings-button:focus-visible svg,
.v2-settings-button[aria-expanded="true"] svg {
  transform: scale(1.04);
}

.v2-access-button.is-active,
.v2-settings-button.is-active {
  border-color: rgba(255, 176, 0, 0.9);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.42), transparent 44%),
    linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.18), 0 0 34px rgba(255, 176, 0, 0.42), 0 16px 34px rgba(16, 24, 32, 0.18);
}

.v2-access-button.is-active::after,
.v2-settings-button.is-active::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.v2-access-button.is-active svg,
.v2-settings-button.is-active svg {
  background: rgba(16, 24, 32, 0.96);
  color: #ffffff;
}

.v2-access-panel[hidden] {
  display: none;
}

.v2-access-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 56px;
  z-index: 80;
  width: min(520px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 176, 0, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(18, 29, 43, 0.98), rgba(8, 14, 22, 0.98));
  color: #ffffff;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

.v2-access-panel--a11y {
  right: 112px;
}

.v2-access-panel--screen {
  right: 56px;
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  scrollbar-color: rgba(255, 176, 0, 0.56) rgba(255, 255, 255, 0.06);
}

.v2-access-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 108px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(255, 176, 0, 0.28);
  border-left: 1px solid rgba(255, 176, 0, 0.28);
  background: #121d2b;
  transform: rotate(45deg);
}

.v2-access-panel__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.v2-access-panel__head strong {
  font-size: 18px;
  line-height: 1.05;
}

.v2-access-panel__head button {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.v2-access-panel__head button::before,
.v2-access-panel__head button::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2.4px;
  border-radius: 999px;
  background: currentColor;
}

.v2-access-panel__head button::before {
  transform: rotate(45deg);
}

.v2-access-panel__head button::after {
  transform: rotate(-45deg);
}

.v2-access-panel__head svg {
  width: 18px;
  height: 18px;
  opacity: 0;
}

.v2-access-panel__group {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.v2-access-panel__group + .v2-access-panel__group {
  margin-top: 10px;
}

.v2-access-panel__group > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-access-size {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.v2-access-size button,
.v2-access-choice button,
.v2-access-option,
.v2-access-check,
.v2-access-reset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.v2-access-size button {
  min-height: 46px;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 950;
}

.v2-access-size button[data-v2-a11y-size="normal"] {
  font-size: 18px;
}

.v2-access-size button[data-v2-a11y-size="medium"] {
  font-size: 21px;
}

.v2-access-size button[data-v2-a11y-size="large"] {
  font-size: 25px;
}

.v2-access-size button[data-v2-a11y-size="xlarge"] {
  font-size: 31px;
}

.v2-access-size button[data-v2-a11y-size="mega"] {
  font-size: 38px;
}

.v2-access-size button[aria-pressed="true"],
.v2-access-choice button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  border-color: rgba(255, 176, 0, 0.76);
}

.v2-access-choice {
  display: grid;
  gap: 8px;
}

.v2-access-choice--scheme {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v2-access-choice button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 7px 8px;
  color: rgba(255, 255, 255, 0.88);
}

.v2-access-choice b {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827 0 50%, #ffffff 50%);
  color: #101820;
  font-size: 17px;
  font-style: normal;
  font-weight: 950;
}

.v2-access-choice--scheme span {
  font-size: 11px;
  line-height: 1;
}

.v2-access-choice button[data-v2-a11y-scheme="dark"] b {
  background: #05070a;
  color: #fff9b7;
}

.v2-access-choice button[data-v2-a11y-scheme="light"] b {
  background: #ffffff;
  color: #05070a;
  border-color: #05070a;
}

.v2-access-choice button[data-v2-a11y-scheme="blue"] b {
  background: #6bb2e0;
  color: #05070a;
  border-color: #05070a;
}

.v2-access-option,
.v2-access-check {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 0 12px 0 14px;
  text-align: left;
}

.v2-access-check {
  border-color: rgba(255, 176, 0, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 176, 0, 0.12), rgba(255, 255, 255, 0.06));
}

.v2-access-check span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.v2-access-check span::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.v2-access-option i {
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.v2-access-option i::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 3px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease, background 0.18s ease;
}

.v2-access-option[aria-pressed="true"],
.v2-access-check[aria-pressed="true"] {
  border-color: rgba(255, 176, 0, 0.5);
  background: rgba(255, 176, 0, 0.12);
}

.v2-access-check[aria-pressed="true"] span::before {
  border-color: rgba(16, 24, 32, 0.2);
  background:
    linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  box-shadow: inset 0 0 0 3px rgba(16, 24, 32, 0.14);
}

.v2-access-check[aria-pressed="true"] span::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  width: 10px;
  height: 6px;
  border-left: 2.4px solid #101820;
  border-bottom: 2.4px solid #101820;
  transform: translateY(-65%) rotate(-45deg);
}

.v2-access-check:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.v2-access-option[aria-pressed="true"] i {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
}

.v2-access-option[aria-pressed="true"] i::before {
  transform: translateX(18px);
  background: #101820;
}

.v2-access-reset {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  color: var(--v2-yellow);
}

.v2-theme-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-color: rgba(255, 176, 0, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 243, 248, 0.82)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.12), rgba(255, 176, 0, 0.14));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.v2-theme-toggle span {
  display: none;
}

.v2-theme-toggle:hover,
.v2-theme-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.68);
  box-shadow: var(--v2-glow), 0 16px 34px rgba(16, 24, 32, 0.14);
}

.v2-theme-toggle svg {
  width: 34px;
  height: 34px;
  display: block !important;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 8px 18px rgba(255, 121, 0, 0.24);
  transition: transform 0.22s ease;
}

.v2-theme-toggle .v2-theme-icon--moon {
  display: none !important;
}

.v2-theme-toggle[aria-pressed="true"] .v2-theme-icon--sun {
  display: none !important;
}

.v2-theme-toggle[aria-pressed="true"] .v2-theme-icon--moon {
  display: block !important;
  background: linear-gradient(135deg, #1d2938, #0a1017);
  color: #ffe083;
}

.v2-theme-toggle:hover svg,
.v2-theme-toggle:focus-visible svg {
  transform: rotate(22deg);
}

.v2-theme-toggle[aria-pressed="true"] {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.98), rgba(24, 35, 48, 0.94)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.18), rgba(255, 176, 0, 0.18));
  color: #ffffff;
  border-color: rgba(255, 176, 0, 0.38);
}

.v2-menu-button {
  background: var(--v2-navy);
  border-color: var(--v2-navy);
  color: #ffffff;
}

.v2-mobile-panel {
  display: none;
}

.v2-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  overflow-anchor: none;
  background: #0e1a27;
}

.v2-hero__slides,
.v2-hero__image,
.v2-hero__shade {
  position: absolute;
  inset: 0;
}

.v2-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.25s ease, transform 8.5s ease;
}

.v2-hero__image.is-active {
  opacity: 1;
  transform: scale(1.09);
}

.v2-hero__shade {
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.24) 0%, rgba(8, 12, 18, 0.16) 36%, rgba(8, 12, 18, 0.7) 72%, #101820 100%),
    linear-gradient(90deg, rgba(8, 12, 18, 0.76), rgba(8, 12, 18, 0.18) 48%, rgba(8, 12, 18, 0.58));
}

.v2-hero__inner {
  position: relative;
  z-index: 6;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 96px 0 210px;
  pointer-events: none;
}

.v2-hero__inner > * {
  pointer-events: auto;
}

.v2-service-tiles {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transform: translateY(var(--v2-service-tiles-offset, 0px));
}

.v2-ticket-anchor {
  position: relative;
  min-width: 0;
  display: flex;
}

.v2-ticket-anchor > .v2-service-tile {
  height: 100%;
}

.v2-service-tile {
  position: relative;
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 15px;
  row-gap: 3px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  appearance: none;
  border-radius: var(--v2-radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--v2-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.13);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.v2-service-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: var(--v2-radius) 0 0 var(--v2-radius);
  background: linear-gradient(180deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
  transition: width 0.2s ease;
}

.v2-service-tile:hover,
.v2-service-tile:focus-visible {
  transform: translateY(-4px) translateX(3px);
  border-color: rgba(255, 176, 0, 0.72);
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.18), rgba(255, 255, 255, 0.96) 46%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--v2-glow), 0 20px 46px rgba(0, 0, 0, 0.18);
}

.v2-service-tile:hover::before,
.v2-service-tile:focus-visible::before {
  width: 5px;
}

.v2-service-tile__icon {
  position: relative;
  z-index: 1;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, #fff4b6, #ffb000 52%, #ff7900);
  color: #101820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 12px 24px rgba(255, 121, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.v2-service-tile__icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 7px;
}

.v2-service-tile__icon svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
}

.v2-service-tile:hover .v2-service-tile__icon,
.v2-service-tile:focus-visible .v2-service-tile__icon {
  transform: scale(1.08) rotate(-3deg);
  filter: saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), 0 16px 30px rgba(255, 121, 0, 0.28);
}

.v2-service-tile strong {
  position: relative;
  z-index: 1;
  font-size: 19px;
  line-height: 1.22;
}

.v2-service-tile small {
  position: relative;
  z-index: 1;
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 750;
}

.v2-service-tile--dark {
  background: var(--v2-navy);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.v2-service-tile--dark:hover,
.v2-service-tile--dark:focus-visible {
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.16), rgba(16, 24, 32, 0.96) 52%),
    var(--v2-navy);
}

.v2-service-tile--dark small {
  color: rgba(255, 255, 255, 0.72);
}

.v2-service-tile--dark .v2-service-tile__icon {
  background: var(--v2-yellow);
  color: var(--v2-navy);
}

.v2-hero__caption {
  color: #ffffff;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

html:not([data-hero-caption="true"]) .v2-hero__caption {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.v2-hero__caption p {
  margin: 0 0 14px;
  color: var(--v2-yellow);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-hero__caption h1 {
  margin: 16px 0 0;
  font-size: clamp(66px, 10.4vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.v2-hero__caption h1 span {
  display: block;
  max-width: none;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(230, 235, 240, 0.46) 42%, rgba(255, 255, 255, 0.72) 64%, rgba(156, 164, 174, 0.42) 100%);
  background-clip: text;
  color: rgba(255, 255, 255, 0.64);
  font-size: inherit;
  line-height: inherit;
  font-weight: 950;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  opacity: 0.84;
}

.v2-hero__caption h1::after {
  content: "";
  width: min(340px, 42vw);
  height: 7px;
  display: block;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
  box-shadow: 0 14px 34px rgba(255, 121, 0, 0.34);
}

.v2-hero__caption > span {
  display: block;
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.24;
  font-weight: 850;
}

.v2-hero__focus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.48fr);
  align-items: end;
  gap: 36px;
}

.v2-ticket-panel {
  position: relative;
  z-index: 120;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--v2-radius);
  background: rgba(16, 32, 51, 0.82);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.v2-ticket-anchor .v2-ticket-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 18px);
  width: min(380px, calc(100vw - 56px));
  margin: 0;
  overflow: visible;
}

html[data-service-tiles-bottom="false"] .v2-ticket-anchor .v2-ticket-panel {
  top: calc(100% + 18px);
  bottom: auto;
}

.v2-ticket-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.v2-ticket-panel__head span {
  color: var(--v2-yellow);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-ticket-panel__head strong {
  font-size: 24px;
  line-height: 1;
}

.v2-ticket-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.v2-ticket-panel label {
  position: relative;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--v2-radius);
  background: rgba(255, 255, 255, 0.08);
}

.v2-ticket-panel label.is-open {
  z-index: 260;
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(22, 34, 49, 0.98);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.3);
}

.v2-ticket-panel label > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-ticket-panel select,
.v2-ticket-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 900;
}

.v2-ticket-panel label.is-enhanced select,
.v2-ticket-panel label.is-enhanced input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.v2-ticket-display {
  width: 100%;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.12;
  text-align: left;
  cursor: pointer;
}

.v2-ticket-display svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.86;
  transition: transform 0.18s ease;
}

.v2-ticket-panel label.is-open .v2-ticket-display svg {
  transform: rotate(180deg);
}

.v2-ticket-dropdown,
.v2-date-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 460;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 0, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(19, 31, 45, 0.99), rgba(8, 13, 20, 0.99));
  color: #ffffff;
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.52);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.v2-ticket-panel label.is-open .v2-ticket-dropdown,
.v2-ticket-panel label.is-open .v2-date-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.v2-ticket-dropdown {
  right: auto;
  width: min(360px, calc(100vw - 32px));
  max-height: 292px;
  overflow-y: auto;
  padding: 8px;
}

.v2-ticket-panel__grid label:nth-child(even) .v2-ticket-dropdown {
  left: auto;
  right: 0;
}

.v2-ticket-option {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.v2-ticket-option:hover,
.v2-ticket-option:focus-visible,
.v2-ticket-option.is-selected {
  transform: translateX(3px);
  border-color: rgba(255, 176, 0, 0.36);
  background: rgba(255, 176, 0, 0.14);
}

.v2-ticket-option small {
  color: rgba(255, 176, 0, 0.74);
  font-size: 10px;
  text-transform: uppercase;
}

.v2-date-popover {
  right: auto;
  width: 336px;
  padding: 14px;
}

.v2-date-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.v2-date-head strong {
  text-align: center;
  font-size: 16px;
}

.v2-date-head button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #ffffff;
  color: #101820;
  cursor: pointer;
}

.v2-date-head button:hover,
.v2-date-head button:focus-visible {
  border-color: rgba(255, 176, 0, 0.56);
  background: #fff4df;
}

.v2-date-week,
.v2-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.v2-date-week span {
  color: #7a8796;
  font-size: 10px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.v2-date-grid {
  margin-top: 7px;
}

.v2-date-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #101820;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.v2-date-day:hover,
.v2-date-day:focus-visible {
  border-color: rgba(255, 176, 0, 0.48);
  background: #fff4df;
}

.v2-date-day.is-muted {
  color: #a2acb7;
}

.v2-date-day.is-disabled {
  color: #c6cdd5;
  cursor: not-allowed;
  opacity: 0.42;
}

.v2-date-day.is-selected {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: 0 10px 22px rgba(255, 121, 0, 0.22);
}

.v2-ticket-panel label,
.v2-ticket-panel__actions button,
.v2-ticket-panel__actions a {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.v2-ticket-panel label:hover,
.v2-ticket-panel label:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.14);
}

.v2-ticket-panel select option {
  color: #111827;
}

.v2-ticket-panel__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.v2-ticket-panel__actions button {
  min-height: 50px;
  border: 0;
  border-radius: var(--v2-radius);
  background: var(--v2-yellow);
  color: #101827;
  font-weight: 950;
  cursor: pointer;
}

.v2-ticket-panel__actions button:hover,
.v2-ticket-panel__actions button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(255, 176, 0, 0.26);
}

.v2-ticket-panel__actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--v2-radius);
  color: #ffffff;
  font-weight: 900;
}

.v2-ticket-panel__actions a:hover,
.v2-ticket-panel__actions a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.v2-ticket-panel__result {
  min-height: 22px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.v2-board-wrap {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-bottom: 88px;
}

:is(#flights, #services, #passengers, #contacts) {
  scroll-margin-top: 80px;
}

html[data-anniversary-logo="true"] :is(#flights, #services, #passengers, #contacts) {
  scroll-margin-top: 108px;
}

html[data-board-peek="true"] .v2-board-wrap {
  z-index: 40;
  margin-top: -460px;
}

.v2-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-white);
  box-shadow: var(--v2-shadow);
  transition: opacity 0.22s ease, background 0.22s ease, backdrop-filter 0.22s ease;
}

.v2-board__hero {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 22px 30px;
  background: var(--v2-white);
}

.v2-board__hero > * { position: relative; z-index: 2; }
.v2-board__hero > .v2-board__search { position: absolute; z-index: 5; }

.v2-section-head h2,
.content-detail h2,
.site-page h2,
.site-page h3,
.v2-service-copy h3,
.v2-contacts-copy h2 { font-weight: var(--v2-site-heading-weight); }

.content-detail p,
.content-detail li,
.site-page p,
.site-page li { font-size: var(--v2-site-base-size); line-height: var(--v2-site-line-height); }

html[data-board-local-filter-visible="false"] .v2-board__hero {
  grid-template-columns: minmax(320px, 1fr) auto auto;
}

.v2-board__switch {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
}

.v2-board__switch button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0 12px;
  border: 0;
  background: transparent;
  color: #cfd6df;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.v2-board__switch button.is-active {
  color: var(--v2-ink);
}

.v2-board__switch button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-orange), var(--v2-yellow));
  opacity: 0;
  transform: scaleX(0.36);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.v2-board__switch button:hover,
.v2-board__switch button:focus-visible {
  color: var(--v2-orange);
  transform: translateY(-3px);
}

.v2-board__switch button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.v2-board__switch svg {
  width: 38px;
  height: 38px;
  stroke-width: 2.2;
  transition: transform 0.22s ease;
}

.v2-board__switch button:hover svg,
.v2-board__switch button:focus-visible svg {
  transform: translateX(5px) translateY(-4px) rotate(-4deg);
}

.v2-board__switch button[data-v2-board-tab="arrival"]:hover svg,
.v2-board__switch button[data-v2-board-tab="arrival"]:focus-visible svg {
  transform: translateX(-5px) translateY(4px) rotate(4deg);
}

.v2-board__time {
  min-width: 258px;
  text-align: center;
}

.v2-board__time > span,
.v2-board__time small {
  display: block;
  color: var(--v2-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.v2-board__time strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  font-size: 36px;
  line-height: 1;
  white-space: nowrap;
}

.v2-clock-colon {
  width: 0.4em;
  height: 0.78em;
  display: inline-grid;
  align-content: center;
  gap: 0.15em;
  flex: 0 0 auto;
  margin: 0 0.02em;
  color: var(--v2-yellow);
  opacity: 0.68;
  transform: translateY(0.07em);
}

.v2-clock-colon i {
  width: 0.16em;
  height: 0.16em;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: none;
}

@keyframes v2-clock-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0.42;
  }
}

.v2-board__time small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--v2-ink);
  font-size: 13px;
  letter-spacing: 0;
}

.v2-board__time small span {
  color: var(--v2-muted);
  font-size: inherit;
  font-weight: 950;
  text-transform: none;
}

.v2-board__time small em {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 176, 0, 0.16);
  color: var(--v2-ink);
  font-style: normal;
  font-weight: 950;
}

.v2-board-local-filter {
  position: relative;
  min-width: 184px;
  min-height: 70px;
  display: inline-grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 253, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(255, 176, 0, 0.16), transparent 44%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 16px 32px rgba(16, 24, 32, 0.08);
  color: var(--v2-ink);
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.v2-board-local-filter[hidden] {
  display: none;
}

.v2-board-local-filter:hover,
.v2-board-local-filter:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 40px rgba(16, 24, 32, 0.12);
}

.v2-board-local-filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.v2-board-local-filter__control {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 13px;
  background: #edf3f8;
  color: transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.v2-board-local-filter__control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.v2-board-local-filter input:checked + .v2-board-local-filter__control {
  border-color: transparent;
  background: linear-gradient(135deg, #ffe06a, var(--v2-yellow));
  color: #102033;
  transform: rotate(-2deg);
}

.v2-board-local-filter.is-active {
  border-color: rgba(255, 176, 0, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 16px 36px rgba(255, 176, 0, 0.17);
}

.v2-board-local-filter input:checked + .v2-board-local-filter__control svg {
  opacity: 1;
  transform: scale(1);
}

.v2-board-local-filter__text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v2-board-local-filter__text strong {
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-board-local-filter__text small {
  color: var(--v2-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-board-scope-filter {
  min-width: 262px;
  min-height: 54px;
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.35fr;
  gap: 4px;
  padding: 5px;
  border-radius: 16px;
  cursor: default;
}

.v2-board-scope-filter button {
  min-width: 0;
  min-height: 42px;
  padding: 0 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--v2-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v2-board-scope-filter button:hover {
  color: var(--v2-ink);
}

.v2-board-scope-filter button.is-active {
  background: linear-gradient(135deg, #ffe06a, var(--v2-yellow));
  color: #102033;
  box-shadow: 0 7px 18px rgba(255, 176, 0, 0.22);
}

html[data-theme="dark"] .v2-board-scope-filter button:not(.is-active) {
  color: rgba(238, 244, 250, 0.72);
}

.v2-clock-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.v2-clock-dial {
  position: relative;
  width: 58px;
  height: 58px;
  display: inline-block;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--v2-yellow) 0 2px, transparent 3px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04), 0 14px 26px rgba(0, 0, 0, 0.18);
}

.v2-clock-dial::before,
.v2-clock-dial::after,
.v2-clock-dial i {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: 50% 100%;
}

.v2-clock-dial::before {
  height: 15px;
  transform: translateX(-50%) rotate(var(--hour-angle, 0deg));
  opacity: 0.9;
}

.v2-clock-dial::after {
  height: 20px;
  transform: translateX(-50%) rotate(var(--minute-angle, 0deg));
}

.v2-clock-dial i {
  height: 22px;
  background: var(--v2-yellow);
  transform: translateX(-50%) rotate(var(--second-angle, 0deg));
}

.v2-board__search-toggle {
  width: 70px;
  height: 70px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--v2-ink);
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.v2-board__search-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.v2-board__search-toggle:hover,
.v2-board__search-toggle:focus-visible {
  transform: translateY(-3px) scale(1.04);
  color: var(--v2-yellow);
}

.v2-board__search-toggle svg,
.v2-board__search svg,
.v2-board__search button svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-board__search {
  position: absolute;
  inset: 16px 18px;
  z-index: 4;
  min-height: 86px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 168px 144px;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  border: 0;
  border-radius: 0;
  background: var(--v2-white);
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.v2-board.is-search-open .v2-board__search {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.v2-board.is-search-open .v2-board__switch,
.v2-board.is-search-open .v2-board__time,
.v2-board.is-search-open .v2-board-local-filter,
.v2-board.is-search-open .v2-board__search-toggle {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.v2-board__search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: var(--v2-ink);
  font-size: clamp(22px, 1.85vw, 30px);
  line-height: 1;
  font-weight: 950;
}

.v2-board__search input::placeholder {
  color: var(--v2-muted);
  opacity: 0.82;
}

.v2-board__search button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 950;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.v2-board__search button:hover,
.v2-board__search button:focus-visible {
  transform: translateY(-2px);
}

.v2-board__search-submit {
  background: linear-gradient(135deg, #ffe06a, var(--v2-yellow));
  color: #102033;
  border-color: transparent;
}

.v2-board__search-submit svg {
  width: 24px;
  height: 24px;
  opacity: 0.72;
}

.v2-board__search-cancel {
  background: #465465;
  color: #ffffff;
}

.v2-board__columns,
.v2-flight-row {
  display: grid;
  grid-template-columns: 148px minmax(240px, 1.55fr) 110px minmax(180px, 0.82fr) minmax(120px, 0.58fr);
  gap: 18px;
  align-items: center;
}

.v2-board__columns {
  min-height: 52px;
  padding: 0 34px;
  background: #f1f4f8;
  color: var(--v2-muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-flight-row {
  width: 100%;
  min-height: 112px;
  padding: 22px 34px;
  border: 0;
  border-top: 1px solid var(--v2-line);
  background: var(--v2-white);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.v2-flight-row:first-child {
  border-top: 0;
}

.v2-flight-row:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-3px);
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.16), rgba(255, 176, 0, 0.08) 74%, var(--v2-white) 100%);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.12);
}

.v2-flight-row:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--v2-yellow);
  outline-offset: -2px;
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.18), rgba(255, 176, 0, 0.08) 74%, var(--v2-white) 100%);
}

.v2-flight-time {
  display: grid;
  width: max-content;
  justify-items: stretch;
  gap: 4px;
}

.v2-flight-time strong {
  font-size: 25px;
  line-height: 1;
}

.v2-flight-time__change {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 8px;
  border: 1px solid rgba(225, 37, 47, 0.13);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(225, 37, 47, 0.075), rgba(255, 176, 0, 0.075));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  white-space: nowrap;
}

.v2-flight-time__scheduled {
  color: #5c6879;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: rgba(215, 25, 40, 0.68);
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
}

html[data-theme="dark"] .v2-flight-time__scheduled {
  color: rgba(255, 255, 255, 0.72);
  text-decoration-color: rgba(255, 123, 131, 0.78);
}

.v2-flight-time__arrow {
  color: var(--v2-yellow, #ffb000);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.v2-flight-time__expected {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #d71928;
  font-size: 23px;
  font-weight: 950;
  line-height: 0.9;
  text-decoration: none;
}

.v2-flight-time__expected-date {
  margin-top: 4px;
  color: #b31722;
  font-size: min(var(--v2-anniversary-name-font-size, 15px), 4vw);
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

html[data-theme="dark"] .v2-flight-time__change {
  border-color: rgba(255, 102, 111, 0.2);
  background: linear-gradient(135deg, rgba(225, 37, 47, 0.13), rgba(255, 176, 0, 0.09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .v2-flight-time__expected {
  color: #ff6871;
}

html[data-theme="dark"] .v2-flight-time__expected-date {
  color: #ff949a;
}

.v2-flight-time small,
.v2-flight-destination small,
.v2-flight-status small {
  color: var(--v2-muted);
  font-weight: 750;
}

.v2-flight-destination {
  min-width: 0;
}

.v2-flight-destination strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}

.v2-flight-destination strong.v2-route-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 8px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  font-size: 18px;
  line-height: 1.24;
}

.v2-route-point {
  display: inline-flex;
  align-items: center;
  padding: 1px 0;
}

.v2-route-point::before,
.v2-route-point::after {
  content: none !important;
}

.v2-route-separator {
  position: relative;
  width: 28px;
  height: 2px;
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.95), rgba(255, 121, 0, 0.28));
}

.v2-route-separator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--v2-yellow);
  box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.12), 0 0 18px rgba(255, 176, 0, 0.5);
}

.v2-flight-code {
  font-size: 20px;
  font-weight: 950;
}

.v2-airline {
  min-width: 0;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.v2-airline__logo {
  width: 94px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, #f8fbff, #dde7f0);
  color: var(--v2-blue);
  font-size: 14px;
  font-weight: 950;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 16px 34px rgba(0, 0, 0, 0.18);
}

.v2-airline__logo::before {
  content: attr(data-code);
}

.v2-airline__logo--nm {
  background: #111827;
  color: #fff;
}

.v2-airline__logo--image {
  position: relative;
  padding: 0;
}

.v2-airline__logo--image::before {
  content: none;
}

.v2-airline__logo--image img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 90%;
  height: auto;
  max-height: calc(100% - 8px);
  object-fit: contain;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.v2-airline__logo--anniversary {
  padding: 4px 5px;
  background: linear-gradient(145deg, #fff8e5, #ffffff 52%, #ffe6b2);
  border-color: rgba(255, 176, 0, 0.48);
}

.v2-airline__logo--anniversary img {
  width: 114%;
  max-height: none;
  transform: translate(-50%, -54%);
}

.v2-airline__logo--rusline-mark img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.14);
}

.v2-airline__logo--utair-mark img {
  width: 94%;
  max-height: none;
  transform: translate(-50%, -50%);
}

.v2-airline__logo--sky-partner-mark {
  background: #070b10;
  border-color: rgba(255, 255, 255, 0.46);
}

span.v2-airline__logo--sky-partner-mark img {
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.v2-airline__logo--krasavia-mark img {
  width: 94%;
  max-height: none;
  transform: translate(-50%, -50%);
}

.v2-airline__logo--smartavia-mark img,
.v2-airline__logo--redwings-mark img {
  width: 94%;
  max-height: none;
  transform: translate(-50%, -50%);
}

.v2-airline__logo--local {
  background: linear-gradient(145deg, #111827, #253141);
  padding: 6px;
}

.v2-airline__logo--rusline {
  background: linear-gradient(135deg, #1f65b7 0 52%, #ffffff 52% 58%, #d62438 58%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
}

.v2-airline__logo--utair {
  background: linear-gradient(135deg, #08345e, #caa24d);
  color: #fff;
}

.v2-airline__logo--krasavia {
  background: linear-gradient(135deg, #ed243b, #1f78c8);
  color: #fff;
}

.v2-airline strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.v2-status {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #eef5fc;
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 950;
}

.v2-status--done {
  background: #e7f7f1;
  color: #126b52;
}

.v2-status--plan {
  background: #fff6cf;
  color: #846408;
}

.v2-status--alert {
  background: #fff0f3;
  color: #b11c31;
}

.v2-board__empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--v2-muted);
  font-size: 20px;
  font-weight: 850;
  text-align: center;
}

.v2-board__foot {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 34px;
  border-top: 1px solid var(--v2-line);
  background: #f7f9fc;
  color: var(--v2-muted);
  font-size: 14px;
  font-weight: 850;
}

.v2-board__details {
  min-height: 48px;
  align-self: center;
  padding: 0 20px;
  border: 1px solid var(--v2-yellow);
  border-radius: 14px;
  background: var(--v2-yellow);
  color: #111827;
  font: inherit;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 176, 0, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.v2-board__details:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 34px rgba(255, 176, 0, 0.3);
}

.v2-board__details:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--v2-blue) 32%, transparent);
  outline-offset: 3px;
}

.v2-board__details[hidden] {
  display: none;
}

.v2-board__foot [data-v2-board-source].is-stale {
  color: #a34b00;
}

.v2-section {
  padding: 88px 0;
}

.v2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}

.v2-kicker {
  margin: 0 0 12px;
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-section h2 {
  position: relative;
  margin: 0;
  max-width: 740px;
  padding-bottom: 22px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.v2-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(340px, 64%);
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
  box-shadow: 0 0 24px rgba(255, 121, 0, 0.18);
}

.v2-section-head a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-white);
  color: var(--v2-blue);
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.v2-section-head a:hover,
.v2-section-head a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 176, 0, 0.72);
  box-shadow: var(--v2-glow);
}

.v2-services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 4%, rgba(255, 176, 0, 0.13), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(255, 31, 45, 0.11), transparent 32%),
    linear-gradient(180deg, #101923 0%, #0b131d 100%);
  color: #ffffff;
}

.v2-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 31, 45, 0.08), transparent 32%, rgba(255, 176, 0, 0.07) 72%, transparent),
    repeating-linear-gradient(112deg, transparent 0 54px, rgba(255, 255, 255, 0.025) 55px 56px);
  pointer-events: none;
}

.v2-services > .v2-container {
  position: relative;
  z-index: 1;
}

.v2-services .v2-section-head {
  align-items: flex-end;
  margin-bottom: 36px;
}

.v2-services .v2-kicker {
  color: var(--v2-yellow);
}

.v2-services h2 {
  max-width: 740px;
}

.v2-services .v2-section-head a {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--v2-yellow);
  backdrop-filter: blur(10px);
}

.v2-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.v2-service-grid a {
  min-height: 0;
  aspect-ratio: 16 / 10.4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: var(--v2-navy);
  color: #ffffff;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
  isolation: isolate;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.v2-service-grid a:hover,
.v2-service-grid a:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(255, 176, 0, 0.28);
  box-shadow: var(--v2-glow), 0 38px 86px rgba(0, 0, 0, 0.36);
}

.v2-service-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  z-index: 0;
  transition: transform 0.5s ease, opacity 0.24s ease;
}

.v2-service-grid a:nth-child(1) img {
  object-position: 15% center;
}

.v2-service-grid a:nth-child(2) img {
  object-position: 50% center;
}

.v2-service-grid a:nth-child(3) img {
  object-position: 85% center;
}

.v2-service-grid a:hover img,
.v2-service-grid a:focus-visible img {
  opacity: 1;
  transform: scale(1.045);
}

.v2-service-grid a::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 82px;
  height: 74px;
  z-index: 1;
  background:
    radial-gradient(120% 170% at 42% 100%, transparent 49%, rgba(255, 31, 45, 0.62) 50%, transparent 51%),
    radial-gradient(110% 160% at 44% 105%, transparent 57%, rgba(255, 121, 0, 0.54) 58%, transparent 59%),
    radial-gradient(102% 150% at 46% 110%, transparent 64%, rgba(255, 176, 0, 0.4) 65%, transparent 66%);
  opacity: 0.72;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.v2-service-grid a:hover::before,
.v2-service-grid a:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.v2-service-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.02) 18%, rgba(8, 13, 20, 0.2) 48%, rgba(8, 13, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 13, 20, 0.42), transparent 54%);
}

.v2-service-grid span,
.v2-service-grid strong {
  position: relative;
  z-index: 2;
  padding: 0 30px;
}

.v2-service-grid span {
  color: var(--v2-yellow);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-service-grid strong {
  display: block;
  padding-bottom: 30px;
  margin-top: 8px;
  font-size: clamp(22px, 1.48vw, 28px);
  line-height: 1.15;
}

.v2-passengers {
  background: var(--v2-paper);
}

.v2-passengers__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.v2-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.v2-scenario-grid a {
  min-height: 156px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 28px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.v2-scenario-grid a:hover,
.v2-scenario-grid a:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255, 121, 0, 0.56);
  box-shadow: var(--v2-glow), 0 18px 42px rgba(17, 24, 39, 0.1);
}

.v2-scenario-icon {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, #fff4b6, #ffb000 52%, #ff7900);
  color: #101820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 14px 30px rgba(255, 121, 0, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.v2-scenario-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 8px;
}

.v2-scenario-icon svg {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-scenario-grid a:hover .v2-scenario-icon,
.v2-scenario-grid a:focus-visible .v2-scenario-icon {
  transform: scale(1.08) rotate(-3deg);
  filter: saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), 0 18px 34px rgba(255, 121, 0, 0.28);
}

.v2-scenario-grid small {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 950;
}

.v2-scenario-grid strong {
  align-self: end;
  grid-column: 1 / -1;
  font-size: 21px;
  line-height: 1.18;
}

.v2-news {
  background: var(--v2-paper);
}

.v2-news-viewport {
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: transparent;
}

.v2-news-track {
  display: flex;
  gap: 18px;
  background: transparent;
  will-change: transform;
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: grab;
  touch-action: pan-y;
}

.v2-news-track.is-dragging {
  cursor: grabbing;
}

.v2-news-track.is-instant {
  transition: none;
}

.v2-news-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.v2-news-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--v2-radius);
  background: var(--v2-navy);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.v2-news-card--wide {
  min-height: 440px;
}

.v2-news-card:hover,
.v2-news-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(255, 176, 0, 0.24);
  box-shadow: var(--v2-glow), 0 30px 70px rgba(0, 0, 0, 0.24);
}

.v2-news-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.4s ease, opacity 0.24s ease;
}

.v2-news-card:hover img,
.v2-news-card:focus-visible img {
  opacity: 0.9;
  transform: scale(1.05);
}

.v2-news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.06), rgba(16, 24, 32, 0.9)),
    linear-gradient(90deg, rgba(16, 24, 32, 0.68), transparent 58%);
}

.v2-news-card span,
.v2-news-card strong,
.v2-news-card small {
  position: relative;
  z-index: 1;
}

.v2-news-card span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-red), var(--v2-orange));
  font-size: min(var(--v2-anniversary-name-font-size, 15px), 4vw);
  font-weight: 950;
  text-transform: uppercase;
}

.v2-news-card strong {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.04;
}

.v2-news-card small {
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.52;
  font-weight: 800;
}

.v2-contacts {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.96), rgba(8, 13, 20, 0.78) 52%, rgba(8, 13, 20, 0.92)),
    url("assets/hero-slide-runway.jpg") center / cover;
  color: #ffffff;
}

.v2-contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 176, 0, 0.12) 48%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%);
  pointer-events: none;
}

.v2-contacts > .v2-container {
  position: relative;
  z-index: 1;
}

.v2-contacts .v2-kicker {
  color: var(--v2-yellow);
}

.v2-contacts__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.v2-contacts p:not(.v2-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.62;
}

.v2-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v2-contact-list a {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(16, 24, 32, 0.54);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.v2-contact-list a::before {
  content: "";
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 16px 34px rgba(255, 121, 0, 0.22);
  color: #101820;
  font-size: 25px;
  font-weight: 950;
}

.v2-contact-list a:nth-child(1)::before {
  content: "☎";
}

.v2-contact-list a:nth-child(2)::before {
  content: "↗";
}

.v2-contact-list a:nth-child(3)::before {
  content: "@";
}

.v2-contact-list a::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 118px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.55), transparent);
}

.v2-contact-list a:hover,
.v2-contact-list a:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 176, 0, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 176, 0, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(16, 24, 32, 0.66);
  box-shadow: var(--v2-glow), 0 32px 70px rgba(0, 0, 0, 0.32);
}

.v2-contact-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-contact-list strong {
  max-width: 100%;
  font-size: clamp(20px, 1.25vw, 25px);
  line-height: 1.12;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.v2-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 176, 0, 0.16), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(255, 31, 45, 0.12), transparent 32%),
    linear-gradient(180deg, #0d151f 0%, #070d14 100%);
  color: #ffffff;
}

.v2-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 31, 45, 0.06), transparent 38%, rgba(255, 176, 0, 0.05)),
    repeating-linear-gradient(112deg, transparent 0 54px, rgba(255, 255, 255, 0.02) 55px 56px);
  pointer-events: none;
}

.v2-footer > .v2-container {
  position: relative;
  z-index: 1;
}

.v2-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v2-footer__brand img {
  width: min(292px, 100%);
  height: auto;
}

html[data-theme="light"] .v2-footer__brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .v2-footer__brand img {
  content: url("assets/logo-wide-footer.png");
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.18));
}

html[data-theme="dark"] .v2-footer__brand img {
  content: url("assets/logo-wide-white.png");
}

.v2-footer__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.v2-footer__primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--v2-radius);
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 20px 46px rgba(255, 121, 0, 0.2);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.v2-footer__primary:hover,
.v2-footer__primary:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.08);
}

.v2-footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-footer-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v2-footer-social svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: none;
}

.v2-footer-social__link--tg {
  color: #31a8df;
}

.v2-footer-social__link--vk {
  color: #4c8fea;
}

.v2-footer-social__link--max {
  color: #ffffff;
}

.v2-footer-social a:hover,
.v2-footer-social a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 176, 0, 0.58);
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 176, 0, 0.28), transparent 54%),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--v2-glow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.v2-footer__legal {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: var(--v2-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.v2-footer__legal:hover,
.v2-footer__legal:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(255, 176, 0, 0.12);
  color: var(--v2-yellow);
}

.v2-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.v2-footer-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--v2-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.08), transparent 36%),
    linear-gradient(150deg, rgba(19, 31, 45, 0.98), rgba(9, 15, 24, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 64px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.v2-footer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
  opacity: 0.88;
}

.v2-footer-card::after {
  content: "";
  position: absolute;
  right: -76px;
  top: 26px;
  width: 236px;
  height: 154px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at right center, transparent 42%, rgba(255, 37, 42, 0.58) 42.6%, transparent 43.4%),
    radial-gradient(ellipse at right center, transparent 50%, rgba(255, 103, 0, 0.48) 50.6%, transparent 51.4%),
    radial-gradient(ellipse at right center, transparent 58%, rgba(255, 176, 0, 0.38) 58.6%, transparent 59.4%),
    radial-gradient(ellipse at right center, transparent 66%, rgba(255, 236, 0, 0.28) 66.6%, transparent 67.4%);
  opacity: 0.64;
  transform: rotate(-7deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  pointer-events: none;
}

.v2-footer-card:hover,
.v2-footer-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 0, 0.24);
  box-shadow: var(--v2-glow), 0 30px 72px rgba(0, 0, 0, 0.34);
}

.v2-footer-card--wide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v2-footer-card--wide strong {
  max-width: 96%;
  font-size: clamp(14px, 0.88vw, 17px);
  line-height: 1.32;
}

.v2-footer-card > span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 16px;
  color: var(--v2-yellow);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-footer-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #ffffff;
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.22;
}

.v2-footer-card strong.v2-footer-address {
  max-width: 100%;
  font-size: clamp(13px, 0.78vw, 15px);
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: anywhere;
}

.v2-footer-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-footer-card li {
  display: grid;
  gap: 3px;
}

.v2-footer-card small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.v2-footer-card a {
  color: #ffffff;
  font-weight: 900;
}

.v2-footer-card li > span {
  color: #ffffff;
  font-weight: 900;
}

.v2-footer-card__code {
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.v2-footer-card a:hover,
.v2-footer-card a:focus-visible {
  color: var(--v2-yellow);
}

.v2-footer-card__line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.v2-footer-card__line a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v2-footer-card__line a:first-child {
  border-color: rgba(255, 176, 0, 0.72);
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: 0 16px 34px rgba(255, 121, 0, 0.18);
}

.v2-footer-card__line a:hover,
.v2-footer-card__line a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(255, 176, 0, 0.12);
  color: #ffffff;
}

.v2-footer-hours {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 2.8fr);
  gap: 20px;
  padding: 0;
  background:
    radial-gradient(circle at 4% 12%, rgba(255, 176, 0, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(20, 33, 48, 0.98), rgba(8, 14, 22, 0.98));
}

.v2-footer-hours::after {
  right: -34px;
  top: -24px;
  width: 420px;
  height: 260px;
  opacity: 0.44;
}

.v2-footer-hours__head {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px 24px 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.v2-footer-hours__head span,
.v2-footer-hours__item small {
  color: var(--v2-yellow);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-footer-hours__head strong {
  max-width: 300px;
  font-size: clamp(20px, 1.35vw, 28px);
  line-height: 1.06;
}

.v2-footer-hours__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.v2-footer-hours__item {
  min-height: 124px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.v2-footer-hours__item strong {
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 1.12;
}

.v2-footer-hours__item em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.v2-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 850;
}

.v2-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.v2-footer__links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.v2-footer__links a:hover,
.v2-footer__links a:focus-visible,
.v2-footer__links button:hover,
.v2-footer__links button:focus-visible,
.v2-footer__links [aria-current="page"] {
  color: #ffffff;
}

.v2-site-version-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 176, 0, 0.3);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.v2-site-version-link:hover,
.v2-site-version-link:focus-visible {
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(255, 176, 0, 0.09);
  color: #ffffff;
}

.tariff-modal[hidden] {
  display: none;
}

.tariff-modal {
  position: fixed;
  inset: 0;
  z-index: 530;
  display: grid;
  place-items: center;
  padding: 16px;
}

.tariff-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 16%, rgba(0, 114, 188, 0.24), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(255, 223, 63, 0.2), transparent 34%),
    rgba(4, 10, 18, 0.78);
  backdrop-filter: blur(14px);
}

.tariff-modal__window {
  position: relative;
  width: min(1640px, 100%);
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--v2-radius);
  background: #f5f7f9;
  color: #111827;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.44);
}

.tariff-modal__hero {
  flex: 0 0 auto;
  min-height: 154px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  background:
    linear-gradient(90deg, rgba(9, 18, 29, 0.98), rgba(9, 18, 29, 0.7)),
    url("assets/hero-aircraft-full.webp") center / cover;
  color: #ffffff;
}

.tariff-modal__hero h2 {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.02;
}

.tariff-modal__hero p:not(.v2-kicker) {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.58;
}

.v2-modal-close {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--v2-radius);
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 176, 0, 0.14), transparent 42%),
    rgba(9, 18, 29, 0.92);
  color: #ffffff !important;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v2-modal-close::before,
.v2-modal-close::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
}

.v2-modal-close::before {
  transform: rotate(45deg);
}

.v2-modal-close::after {
  transform: rotate(-45deg);
}

.v2-modal-close:hover,
.v2-modal-close:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.68);
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 176, 0, 0.24), transparent 42%),
    rgba(12, 20, 31, 0.98);
  box-shadow: var(--v2-glow), 0 18px 38px rgba(0, 0, 0, 0.34);
}

.v2-modal-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
}

.tariff-modal__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid #d9e0ea;
  background: #ffffff;
}

.schedule-modal__toolbar {
  grid-template-columns: minmax(0, 1fr) auto 280px;
}

.tariff-years {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 430px);
  padding: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #edf1f5;
}

.tariff-years button {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 48px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #263b51;
  text-align: left;
  cursor: pointer;
}

.tariff-years button:hover,
.tariff-years button:focus-visible {
  border-color: #c37a06;
}

.tariff-years button[aria-pressed="true"],
html[data-theme="dark"] .tariff-years button[aria-pressed="true"] {
  border-color: #e39c24;
  background: #ffdc96;
  color: #241703;
}

.tariff-years small,
.tariff-price--cargo small {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.tariff-pdfs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tariff-pdfs a {
  text-align: center;
  overflow-wrap: anywhere;
}

.tariff-pdfs a:hover,
.tariff-pdfs a:focus-visible {
  border-color: #e39c24;
}

.tariff-price--cargo small {
  display: block;
  margin-top: 4px;
}

html[data-theme="dark"] .tariff-years {
  border-color: #3e4a59;
  background: #101822;
}

html[data-theme="dark"] .tariff-years button {
  color: #dce6f0;
}

@media (max-width: 720px) {
  .tariff-years { width: 100%; }
  .tariff-pdfs { width: 100%; }
  .tariff-pdfs a { padding-inline: 8px; }
}

.schedule-modal__toolbar .tariff-modal__tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tariff-modal__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tariff-modal__tabs button {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d9e0ea;
  border-radius: 7px;
  background: #eef3f8;
  color: #2f3746;
  cursor: pointer;
  font-weight: 900;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tariff-modal__tabs button:hover,
.tariff-modal__tabs button:focus-visible {
  border-color: #aebbc6;
}

.tariff-modal__tabs button.is-active {
  border-color: #102033;
  background: #102033;
  color: #ffffff;
}

.tariff-search {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #d9e0ea;
  border-radius: 7px;
  background: #eef3f8;
  color: #6a7484;
  transition: opacity 0.18s ease;
}

.tariff-search.is-muted {
  opacity: 0.45;
  pointer-events: none;
}

.tariff-search span {
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tariff-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-weight: 800;
}

.tariff-modal__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d9e0ea;
}

.tariff-modal__meta:empty {
  display: none;
}

.tariff-modal__meta div {
  min-height: 74px;
  padding: 17px 20px;
  background: #ffffff;
}

.tariff-modal__meta span {
  display: block;
  color: #6a7484;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tariff-modal__meta strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.tariff-modal__content {
  flex: 1 1 auto;
  min-height: 320px;
  overflow: auto;
  padding: 14px;
  background: #f5f7f9;
}

.tariff-loading {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 34px;
  text-align: center;
}

.tariff-loading__icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #102033;
  color: #ffffff;
}

.tariff-loading__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tariff-loading h3 {
  margin: 0;
  font-size: 30px;
}

.tariff-loading p {
  max-width: 520px;
  margin: 12px auto 0;
  color: #6a7484;
  line-height: 1.6;
}

.tariff-group {
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.05);
}

.tariff-group + .tariff-group {
  margin-top: 12px;
}

.tariff-group summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 20px 66px 20px 22px;
  cursor: pointer;
  list-style: none;
}

.tariff-group summary::-webkit-details-marker {
  display: none;
}

.tariff-group summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 7px;
  background: #eef3f7;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
}

.tariff-group[open] summary::after {
  content: "-";
  background: #0072bc;
  color: #ffffff;
}

.tariff-group summary strong {
  display: block;
  font-size: 22px;
}

.tariff-group summary small {
  display: block;
  max-width: 760px;
  margin-top: 6px;
  color: #6a7484;
  line-height: 1.48;
}

.tariff-group summary em {
  min-width: 112px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #fff4df;
  color: #8b5d10;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.tariff-table {
  border-top: 1px solid #d9e0ea;
}

.tariff-table__head,
.tariff-table__row {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(5, minmax(116px, 0.7fr));
  gap: 10px;
  align-items: center;
}

.tariff-table__head {
  position: sticky;
  top: -14px;
  z-index: 2;
  padding: 13px 16px;
  background: #151c22;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tariff-table__body {
  padding: 10px;
}

.tariff-table__row {
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid #d9e0ea;
  border-radius: 7px;
  background: #ffffff;
}

.tariff-table__row + .tariff-table__row {
  margin-top: 8px;
}

.tariff-route strong {
  display: block;
  font-size: 17px;
}

.tariff-route span,
.tariff-table__row small {
  display: block;
  margin-top: 3px;
  color: #6a7484;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.tariff-table__row > div:not(.tariff-route) span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #d9e2e9;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff, #f1f5f8);
  color: #111827;
  font-weight: 950;
}

.tariff-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tariff-benefits article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.72), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.05);
}

.tariff-benefits article > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0072bc;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.tariff-benefits h3 {
  margin: 20px 0 0;
  font-size: 24px;
  line-height: 1.1;
}

.tariff-benefits ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tariff-benefits li {
  position: relative;
  padding-left: 20px;
  color: #2f3746;
  line-height: 1.54;
}

.tariff-benefits li + li {
  margin-top: 10px;
}

.tariff-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--v2-marker-color);
}

.tariff-modal__footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid #d9e0ea;
  background: #ffffff;
}

.tariff-modal__footer > span {
  color: #6a7484;
  font-size: 13px;
  font-weight: 800;
}

.v2-tariff-source-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--v2-radius);
  color: #102033;
  font-weight: 950;
}

.schedule-modal__hero {
  background:
    linear-gradient(90deg, rgba(9, 18, 29, 0.98), rgba(9, 18, 29, 0.68)),
    url("assets/hero-slide-runway.jpg") center 48% / cover;
}

.schedule-list {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.schedule-list__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: #ffffff;
}

.schedule-list__summary strong {
  font-size: 17px;
}

.schedule-list__summary span {
  color: #687486;
  font-size: 13px;
  font-weight: 750;
}

.schedule-row {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(132px, 0.44fr) minmax(340px, 1.9fr) minmax(210px, 0.8fr);
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 20, 24, 0.04);
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.schedule-row.is-calendar-row {
  cursor: pointer;
}

.schedule-row.is-calendar-row:focus-visible {
  border-color: #d99100;
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.24), 0 14px 30px rgba(16, 20, 24, 0.1);
}

.schedule-row.is-calendar-row:active {
  transform: translateY(1px);
}

.schedule-row.is-inactive {
  border-color: #d5dce5;
  background: #f4f6f8;
  box-shadow: none;
}

.schedule-row__status {
  display: inline-flex;
  width: max-content;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid #d6dde6;
  border-radius: 7px;
  background: #e8edf2;
  color: #4f5d6e;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.schedule-row__hover-tip {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .schedule-row.is-calendar-row:hover {
    z-index: 3;
    border-color: rgba(217, 145, 0, 0.76);
    background: #fffaf0;
    box-shadow: 0 14px 30px rgba(16, 20, 24, 0.1);
  }

  .schedule-row__hover-tip {
    position: absolute;
    top: calc(100% + 7px);
    right: 14px;
    z-index: 5;
    display: block;
    padding: 8px 11px;
    border: 1px solid rgba(255, 176, 0, 0.5);
    border-radius: 9px;
    background: #172332;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(3, 8, 15, 0.28);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 140ms ease, transform 140ms ease;
  }

  .schedule-row.is-calendar-row:hover .schedule-row__hover-tip {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2s;
  }
}

.schedule-row__time strong,
.schedule-row__route strong,
.schedule-row__meta strong {
  display: block;
}

.schedule-row__time strong {
  color: #102033;
  font-size: 25px;
  line-height: 1;
}

.schedule-row__time small,
.schedule-row__route span,
.schedule-row__meta span {
  display: block;
  margin-top: 6px;
  color: #687486;
  font-size: 12px;
  font-weight: 800;
}

.schedule-row__time small,
.schedule-row__meta span {
  text-transform: uppercase;
}

.schedule-row__route strong {
  font-size: 17px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.schedule-row__time,
.schedule-row__route,
.schedule-row__meta {
  min-width: 0;
}

.schedule-row__route span {
  color: #9b6200;
}

.schedule-row__meta {
  padding-left: 18px;
  border-left: 1px solid #e0e6ed;
}

.schedule-row__meta strong {
  margin-top: 5px;
  font-size: 14px;
}

.service-modal__hero {
  background:
    linear-gradient(90deg, rgba(9, 18, 29, 0.98), rgba(9, 18, 29, 0.68)),
    url("assets/hero-slide-terminal.jpg") center 44% / cover;
}

.service-modal__toolbar {
  grid-template-columns: minmax(0, 1fr);
}

.service-modal__tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-modal__content {
  overflow: auto;
}

.service-modal-page {
  width: 100%;
  display: grid;
  gap: 18px;
  margin: 0;
}

.service-modal-page > header {
  padding: 22px;
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  background: #ffffff;
}

.service-modal-page > header > span {
  color: #a76900;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.service-modal-page > header h3 {
  margin: 5px 0 8px;
  font-size: clamp(25px, 3vw, 38px);
}

.service-modal-page > header p {
  max-width: none;
  margin: 0;
  color: #687486;
  line-height: 1.55;
}

.service-modal-page .content-detail__facts {
  padding: 0;
}

.service-modal-page .content-detail__facts--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-modal-page .content-detail__facts--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .service-modal-page .content-detail__facts--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .service-modal-page .content-detail__facts--count-3 {
    grid-template-columns: 1fr;
  }
}

/* Премиальная мобильная карточка тарифа: главный тариф и единая панель дополнительных ставок. */
@media (max-width: 820px) {
  html[data-theme] .tariff-modal .tariff-table__body {
    gap: 10px !important;
    padding: 7px 8px 14px !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    row-gap: 8px !important;
    padding: 11px !important;
    border: 1px solid rgba(217, 226, 236, 0.13) !important;
    border-radius: 16px !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.07), transparent 38%),
      rgba(16, 25, 37, 0.92) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
  }

  html[data-theme="light"] .tariff-modal .tariff-table__row {
    border-color: rgba(16, 24, 32, 0.09) !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.1), transparent 38%),
      #ffffff !important;
    box-shadow: 0 10px 26px rgba(16, 24, 32, 0.07) !important;
  }

  html[data-theme] .tariff-modal .tariff-route {
    grid-column: 1 / -1 !important;
    min-height: 24px;
    padding: 1px 2px 1px 13px !important;
    border: 0 !important;
  }

  html[data-theme] .tariff-modal .tariff-route::before {
    top: 1px !important;
    bottom: 1px !important;
    width: 3px !important;
  }

  html[data-theme] .tariff-modal .tariff-route strong {
    font-size: 15.5px !important;
    line-height: 1.25 !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger {
    grid-column: 1 / -1 !important;
    min-height: 54px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255, 176, 0, 0.2) !important;
    border-radius: 12px !important;
    background:
      linear-gradient(90deg, rgba(255, 176, 0, 0.13), rgba(255, 121, 0, 0.035)),
      rgba(255, 255, 255, 0.025) !important;
    box-shadow: inset 3px 0 0 var(--v2-orange) !important;
  }

  html[data-theme="light"] .tariff-modal .tariff-table__row > .tariff-price--passenger {
    background: linear-gradient(90deg, rgba(255, 176, 0, 0.13), rgba(255, 255, 255, 0.92)) !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger::before {
    color: var(--v2-orange) !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-transform: none !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger span {
    justify-content: flex-end !important;
    color: var(--v2-ink) !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    text-align: right !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger) {
    min-height: 52px !important;
    display: grid !important;
    align-content: center !important;
    gap: 5px !important;
    padding: 7px 4px !important;
    border: 0 !important;
    border-left: 1px solid rgba(217, 226, 236, 0.1) !important;
    border-radius: 0 !important;
    background: rgba(4, 11, 20, 0.2) !important;
  }

  html[data-theme="light"] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger) {
    border-left-color: rgba(16, 24, 32, 0.08) !important;
    background: rgba(239, 244, 249, 0.8) !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--child {
    border-left: 0 !important;
    border-radius: 11px 0 0 11px !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--cargo {
    border-radius: 0 11px 11px 0 !important;
  }

  html[data-theme="light"] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger) {
    border-left-color: rgba(16, 24, 32, 0.08) !important;
    background: linear-gradient(180deg, #f5f7fa, #eef2f6) !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger)::before {
    color: var(--v2-muted) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: none !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger) span {
    justify-content: center !important;
    color: var(--v2-ink) !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.015em !important;
    text-align: center !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--baggage::before {
    content: "Багаж / кг" !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--cargo::before {
    content: "Груз / кг" !important;
  }
}

/* На широком экране нижняя левая карточка заполняет высоту более длинной правой колонки. */
@media (min-width: 901px) {
  .flight-detail__body.has-local-tariff {
    align-items: stretch !important;
  }

  .flight-detail__body.has-local-tariff .flight-detail-main {
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch !important;
  }

  .flight-detail__body.has-local-tariff .flight-detail-panel--passengers {
    height: 100%;
  }
}

/* Выпадающее верхнее меню: один источник состояния и панель строго под своей кнопкой. */
@media (min-width: 1025px) {
  html[data-header-navigation="dropdown"] .v2-nav-menu__panel,
  html[data-header-navigation="dropdown"] .v2-nav-menu:nth-last-child(-n + 2) .v2-nav-menu__panel {
    right: auto !important;
    left: 50% !important;
    width: min(760px, calc(100vw - 32px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(calc(-50% + var(--v2-nav-panel-shift, 0px)), 8px) !important;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__panel {
    width: min(1040px, calc(100vw - 32px));
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu:is(.is-hovered, .is-open) > button {
    background: #fff1dd;
    color: var(--v2-red);
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu:is(.is-hovered, .is-open) .v2-nav-menu__panel,
  html[data-header-navigation="dropdown"] .v2-nav-menu:nth-last-child(-n + 2):is(.is-hovered, .is-open) .v2-nav-menu__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(calc(-50% + var(--v2-nav-panel-shift, 0px)), 0) !important;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu:not(.is-hovered):not(.is-open) .v2-nav-menu__panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* Дата рейса должна оставаться контрастной в любой светлой конфигурации табло. */
html[data-theme="light"] .v2-flight-date,
html[data-a11y-scheme="light"] .v2-flight-date {
  border-color: rgba(132, 86, 0, 0.38) !important;
  background: rgba(255, 239, 196, 0.86) !important;
  color: #05090e !important;
  font-weight: 1000 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* Ненавязчивое уведомление о Cookie с прямым доступом к политике. */
.v2-cookie-notice {
  position: fixed;
  z-index: 880;
  right: 22px;
  bottom: 22px;
  width: min(500px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 17px 18px 16px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.97);
  color: #172231;
  box-shadow: 0 22px 64px rgba(10, 19, 30, 0.22);
  backdrop-filter: blur(20px) saturate(145%);
  animation: v2-cookie-enter 0.32s ease-out both;
}

.v2-cookie-notice[hidden] {
  display: none;
}

.v2-cookie-notice.is-hiding {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.v2-cookie-notice__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffbe25, #ff9500);
  color: #172231;
  box-shadow: 0 8px 20px rgba(255, 157, 0, 0.24);
}

.v2-cookie-notice__content {
  min-width: 0;
}

.v2-cookie-notice__title {
  display: block;
  margin: 1px 0 5px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.v2-cookie-notice__mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-cookie-notice p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

.v2-cookie-notice__policy {
  display: inline-block;
  position: relative;
  z-index: 1;
  color: #006fb5;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.v2-cookie-notice__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.v2-cookie-notice__accept {
  min-width: 96px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: #172231;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.v2-cookie-notice__accept:hover {
  transform: translateY(-1px);
  background: #006fb5;
}

.v2-cookie-notice__policy:hover {
  color: #00578d;
  text-decoration-thickness: 2px;
}

.v2-cookie-notice__accept:focus-visible,
.v2-cookie-notice__policy:focus-visible {
  outline: 2px solid #ffb000;
  outline-offset: 3px;
}

html[data-theme="dark"] .v2-cookie-notice {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(13, 21, 31, 0.97);
  color: #eef5fb;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] .v2-cookie-notice__policy {
  color: #70c9ff;
}

html[data-theme="dark"] .v2-cookie-notice__policy:hover {
  color: #b7e6ff;
}

html[data-theme="dark"] .v2-cookie-notice__accept {
  background: #ffb000;
  color: #101820;
}

@keyframes v2-cookie-enter {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 720px) {
  .v2-cookie-notice {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: auto;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .v2-cookie-notice__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .v2-cookie-notice__mark svg {
    width: 20px;
    height: 20px;
  }

  .v2-cookie-notice p {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .v2-cookie-notice__accept {
    min-height: 38px;
    padding: 0 15px;
  }

  .v2-flight-time:has(.v2-flight-time__change) {
    width: 122px;
  }

  .v2-flight-time__change {
    min-height: 38px;
    gap: 4px;
    padding: 6px;
    border-radius: 10px;
  }

  .v2-flight-time__scheduled {
    font-size: 15px;
  }

  .v2-flight-time__expected {
    font-size: 20px;
  }

  .v2-flight-row:has(.v2-flight-time__change) {
    grid-template-columns: 122px minmax(0, 1fr) auto;
  }
}

@media (max-width: 430px) {
  .v2-cookie-notice__actions {
    justify-content: stretch;
  }

  .v2-cookie-notice__accept {
    width: 100%;
  }
}

/* Полноэкранная политика должна открываться поверх Cookie-уведомления. */
body .content-modal {
  z-index: 920;
}

@media (prefers-reduced-motion: reduce) {
  .v2-cookie-notice {
    animation: none;
  }
}

.flight-detail-aircraft { padding: 0 !important; overflow: hidden; }
.flight-detail-aircraft > img, .flight-aircraft__photo-link > img { width: 100%; height: 185px; display: block; object-fit: cover; }
.flight-aircraft__photo-link { display: block; }
.flight-aircraft__placeholder { height: 145px; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%,rgba(16,111,176,.15),transparent 60%),#edf4f8; color: #497c9d; font-size: 58px; transform: none; }
.flight-aircraft__body { display: grid; gap: 5px; padding: 16px; }
.flight-aircraft__body > span { color: #526979; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.flight-aircraft__body > strong { font-size: 25px; line-height: 1.1; }
.flight-aircraft__body > small { color: #526979; line-height: 1.45; }
.flight-aircraft__body > em { margin-top: 5px; color: #718594; font-size: 8px; font-style: normal; line-height: 1.35; }
.flight-aircraft__credit { display: block; color: #166798 !important; font-size: 9px !important; line-height: 1.4; text-decoration: none; }
.flight-aircraft__state { min-height: 132px; display: flex; align-items: center; gap: 14px; padding: 16px; }
.flight-aircraft__state > span { flex: 0 0 38px; display: grid; place-items: center; color: #166798; font-size: 30px; }
.flight-aircraft__state > div { display: grid; gap: 5px; }
.flight-aircraft__state strong { font-size: 15px; line-height: 1.25; }
.flight-aircraft__state small { color: #607887; font-size: 10px; line-height: 1.45; }
.flight-aircraft__radar { width: 38px; height: 38px; position: relative; border: 1px solid rgba(22,103,152,.32); border-radius: 50%; background: repeating-radial-gradient(circle,transparent 0 7px,rgba(22,103,152,.16) 8px 9px); overflow: hidden; }
.flight-aircraft__radar::after { content: ""; position: absolute; inset: 50% 50% 0 0; transform-origin: 100% 0; background: linear-gradient(35deg,transparent,rgba(22,103,152,.5)); animation: aircraft-radar-spin 1.8s linear infinite; }
@keyframes aircraft-radar-spin { to { transform: rotate(360deg); } }
html[data-theme="dark"] .flight-aircraft__placeholder { background: radial-gradient(circle at 50% 30%,rgba(111,184,255,.17),transparent 60%),#0d1924; color: #7cb7df; }
html[data-theme="dark"] .flight-aircraft__body > span, html[data-theme="dark"] .flight-aircraft__body > small, html[data-theme="dark"] .flight-aircraft__state small { color: #a9bac7; }
html[data-theme="dark"] .flight-aircraft__body > em { color: #8295a4; }
html[data-theme="dark"] .flight-aircraft__credit { color: #8fd2ff !important; }
html[data-a11y-motion="reduced"] .flight-aircraft__radar::after { animation: none; }

/* Юридическая строка остаётся в контактах, когда большой подвал отключён. */
.v2-contact-legal {
  grid-column: 1 / -1;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(7, 13, 20, 0.42);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.v2-contact-legal[hidden] {
  display: none !important;
}

.v2-contact-legal__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.v2-contact-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.v2-contact-legal button:hover,
.v2-contact-legal button:focus-visible {
  color: var(--v2-yellow);
}

.v2-contact-legal__details {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 16px;
  text-align: right;
}

.v2-contact-aftn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 176, 0, 0.68);
  border-radius: 9px;
  background: rgba(255, 176, 0, 0.1);
  box-shadow: 0 0 18px rgba(255, 121, 0, 0.1);
  color: #ffd05a;
  font: 800 12px/1.2 var(--v2-font);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.v2-contact-aftn[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .v2-contact-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 4px;
  }

  .v2-contact-legal__details {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .v2-contact-aftn {
    padding: 7px 12px;
  }
}

/* Мобильный поиск главного табло: одна компактная строка, результаты фильтруются на вводе и остаются видимыми. */
@media (max-width: 820px) {
  .v2-board__search {
    inset: 7px !important;
    min-height: 54px !important;
    height: 54px !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-rows: 44px !important;
    grid-template-areas: "input cancel" !important;
    gap: 6px !important;
    padding: 5px !important;
    border-radius: 13px !important;
  }

  .v2-board.is-search-open .v2-board__hero {
    height: 68px !important;
    min-height: 68px !important;
    padding: 7px !important;
  }

  .v2-board__search > svg {
    left: 18px !important;
    top: 27px !important;
    width: 19px !important;
    height: 19px !important;
  }

  .v2-board__search input {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 10px 0 38px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
  }

  .v2-board__search-submit {
    display: none !important;
  }

  .v2-board__search-cancel {
    width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: 0 !important;
  }

  .v2-board__search-cancel::before {
    content: "×";
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
  }

  .board-modal__body .v2-flight-destination {
    align-self: start;
    padding-top: 2px;
  }
}

/* Нижний ряд быстрых кнопок всегда остаётся над видимой частью табло независимо от выбранной высоты табло. */
html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
  padding-bottom: calc(var(--v2-board-peek-overlap, 394px) + 32px) !important;
}

@media (max-width: 820px) {
  html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    padding-bottom: calc(var(--v2-board-peek-overlap, 320px) + 22px) !important;
  }
}

@media (max-width: 560px) {
  .service-modal-page .content-detail__facts--count-4 {
    grid-template-columns: 1fr;
  }
}

.schedule-calendar-modal[hidden] {
  display: none;
}

.schedule-calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 570;
  display: grid;
  place-items: center;
  padding: 16px;
}

.schedule-calendar-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 15, 0.84);
  backdrop-filter: blur(18px);
}

.schedule-calendar-modal__window {
  position: relative;
  width: min(1500px, 100%);
  height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--v2-radius);
  background: #edf2f7;
  color: #111827;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.5);
}

.schedule-calendar-modal__hero {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background:
    linear-gradient(105deg, rgba(7, 17, 29, 0.98), rgba(16, 44, 73, 0.88)),
    url("assets/hero-slide-runway.jpg") center 42% / cover;
  color: #ffffff;
}

.schedule-calendar-modal__hero h2 {
  max-width: 1150px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.08;
}

.schedule-calendar-modal__facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.schedule-calendar-modal__facts > span {
  display: inline-flex;
  align-items: center;
}

.schedule-calendar-modal__facts > span + span::before {
  content: "·";
  margin: 0 9px;
  color: rgba(255, 176, 0, 0.72);
  font-weight: 950;
}

.schedule-calendar-modal__time {
  gap: 7px;
}

.schedule-calendar-modal__time small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-calendar-modal__time strong {
  color: var(--v2-yellow);
  font-size: 18px;
  line-height: 1;
}

.schedule-calendar-modal__hero p:last-child {
  max-width: 1120px;
  margin: 8px 0 0;
  display: grid;
  gap: 5px;
  line-height: 1.4;
}

.schedule-calendar-modal__dates {
  max-width: 1180px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
}

.schedule-calendar-modal__content {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px;
}

.schedule-calendar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 12px 15px;
  border: 1px solid #d6dee8;
  border-radius: 12px;
  background: #ffffff;
}

.schedule-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5f6b7a;
  font-size: 13px;
  font-weight: 850;
}

.schedule-calendar-legend__keys {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.schedule-calendar-legend i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
}

.schedule-calendar-legend .schedule-calendar-legend__today i {
  border: 2px solid #d99100;
  background: transparent;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.schedule-calendar-years {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.schedule-calendar-years button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d6dee8;
  border-radius: 9px;
  background: #f7f9fc;
  color: #172332;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.schedule-calendar-years button:hover,
.schedule-calendar-years button:focus-visible {
  border-color: #d99100;
  background: #fff4cf;
}

.schedule-calendar-years button:disabled {
  opacity: 0.36;
  cursor: default;
}

.schedule-calendar-year {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.schedule-calendar-month {
  padding: 14px;
  border: 1px solid #d6dee8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  opacity: 0.62;
}

.schedule-calendar-month.has-flights {
  background: #ffffff;
  opacity: 1;
  box-shadow: 0 10px 25px rgba(16, 32, 51, 0.07);
}

.schedule-calendar-month > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.schedule-calendar-month > header strong {
  font-size: 17px;
}

.schedule-calendar-month > header small {
  color: #a76900;
  font-weight: 900;
}

.schedule-calendar-month__week,
.schedule-calendar-month__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.schedule-calendar-month__week {
  margin-bottom: 5px;
}

.schedule-calendar-month__week i {
  color: #8792a2;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.schedule-calendar-month__days span {
  min-height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #3e4856;
  font-size: 12px;
  font-weight: 800;
}

.schedule-calendar-month__days .is-flight-day {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  font-weight: 950;
  box-shadow: 0 5px 12px rgba(255, 121, 0, 0.22);
}

.schedule-calendar-month__days .is-today {
  background: rgba(255, 176, 0, 0.1);
  color: #9a6100;
  box-shadow: inset 0 0 0 2px #d99100;
  font-weight: 950;
}

.schedule-calendar-month__days .is-flight-day.is-today {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: inset 0 0 0 2px #ffffff, 0 5px 12px rgba(255, 121, 0, 0.28);
}

.flight-modal[hidden],
.content-modal[hidden] {
  display: none;
}

.flight-modal,
.content-modal {
  position: fixed;
  inset: 0;
  z-index: 540;
  display: grid;
  place-items: center;
  padding: 16px;
}

.flight-modal__backdrop,
.content-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 176, 0, 0.18), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(255, 31, 45, 0.12), transparent 34%),
    rgba(4, 10, 18, 0.82);
  backdrop-filter: blur(16px);
}

.flight-modal__window,
.content-modal__window {
  position: relative;
  width: min(1640px, 100%);
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--v2-radius);
  background: #f5f7f9;
  color: #111827;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.44);
}

.flight-modal__close,
.content-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
}

.content-modal__admin-edit {
  position: absolute;
  top: 20px;
  right: 76px;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,176,0,.56);
  border-radius: 12px;
  background: rgba(13,24,36,.9);
  color: #ffb000;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  cursor: pointer;
}
.content-modal__admin-edit[hidden] { display: none; }
.content-modal__admin-edit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tariff-modal__admin-edit { top: 24px; right: 92px; }

.inline-admin-editor[hidden] { display: none; }
.inline-admin-editor { position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 14px; }
.inline-admin-editor__backdrop { position: absolute; inset: 0; background: rgba(2,7,13,.88); backdrop-filter: blur(18px); }
.inline-admin-editor__window { position: relative; width: min(1180px,100%); height: min(920px,calc(100dvh - 28px)); display: grid; grid-template-rows: auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(255,176,0,.34); border-radius: 20px; background: #0d1621; box-shadow: 0 38px 110px rgba(0,0,0,.58); }
.inline-admin-editor__window > header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(135deg,#172331,#0e1722); color: #fff; }
.inline-admin-editor__window > header div { display: grid; gap: 3px; }
.inline-admin-editor__window > header span { color: #ffb000; font-size: 9px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.inline-admin-editor__window > header strong { font-size: 17px; }
.inline-admin-editor__window > header button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.05); color: #fff; font-size: 27px; cursor: pointer; }
.inline-admin-editor iframe { width: 100%; height: 100%; border: 0; background: #0d1621; }

/* The embedded editor supplies the only visible title bar and close control. */
.inline-admin-editor__window { grid-template-rows: minmax(0, 1fr); }
.inline-admin-editor__window > header { display: none; }
.inline-admin-editor__window[data-editor-kind="section"] { grid-template-rows: auto minmax(0, 1fr); }
.inline-admin-editor__window[data-editor-kind="section"] > header { display: flex; }

.schedule-list__head {
  display: grid;
  grid-template-columns: minmax(132px, .44fr) minmax(340px, 1.9fr) minmax(210px, .8fr);
  gap: 18px;
  padding: 10px 18px 2px;
  color: #687486;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.flight-detail,
.content-modal__shell {
  height: 100%;
  overflow: auto;
}

.board-modal[hidden] {
  display: none;
}

.board-modal {
  position: fixed;
  inset: 0;
  z-index: 535;
  display: grid;
  place-items: center;
  padding: 16px;
}

.board-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 176, 0, 0.18), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(255, 31, 45, 0.12), transparent 34%),
    rgba(4, 10, 18, 0.84);
  backdrop-filter: blur(16px);
}

.board-modal__window {
  position: relative;
  width: min(1480px, 100%);
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--v2-radius);
  background: #f5f7f9;
  color: #111827;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
}

.board-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
}

.board-modal__shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.board-modal__hero {
  padding: 36px 92px 30px 38px;
  background:
    linear-gradient(110deg, rgba(7, 17, 29, 0.98), rgba(16, 44, 73, 0.86)),
    url("assets/hero-slide-runway.jpg") center 42% / cover;
  color: #ffffff;
}

.board-modal__hero h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.board-modal__hero p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 750;
}

.board-modal__toolbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 240px auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--v2-line);
  background: #ffffff;
}

.board-modal__local-filter {
  width: 240px;
  min-width: 240px;
  min-height: 64px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 8px 12px;
  border-radius: 16px;
}

.board-modal__local-filter .v2-board-local-filter__control {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.board-modal__local-filter .v2-board-local-filter__control svg {
  width: 20px;
  height: 20px;
}

.board-modal__time {
  min-width: 220px;
}

.board-modal__search-toggle {
  justify-self: end;
}

.board-modal__tabs button[data-v2-board-modal-tab="arrival"]:hover svg,
.board-modal__tabs button[data-v2-board-modal-tab="arrival"]:focus-visible svg {
  transform: translateX(-5px) translateY(4px) rotate(4deg);
}

.board-modal__search-panel {
  position: absolute;
  inset: 8px 16px;
  z-index: 8;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 126px 104px;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(10, 24, 42, 0.16);
}

.board-modal__search-panel[hidden] {
  display: none;
}

.board-modal__search-panel > svg {
  width: 30px;
  height: 30px;
  justify-self: center;
  fill: none;
  stroke: var(--v2-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-modal__search-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--v2-line);
  border-radius: 14px;
  background: #f7f9fc;
  color: var(--v2-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 750;
}

.board-modal__search-panel button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  background: #f3f6fa;
  color: var(--v2-ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.board-modal__search-panel .board-modal__search-submit {
  border-color: var(--v2-yellow);
  background: var(--v2-yellow);
  color: #111827;
}

.board-modal__columns {
  padding-inline: 32px;
}

.board-modal__body {
  min-height: 0;
  overflow: auto;
  background: #f5f7f9;
}

.board-modal__empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--v2-muted);
  font-size: 18px;
  font-weight: 850;
  text-align: center;
}

.board-modal__foot {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 32px;
  border-top: 1px solid var(--v2-line);
  background: #ffffff;
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 850;
}

html[data-theme="dark"] .board-modal__window,
html[data-theme="dark"] .board-modal__body {
  background: #0d141d;
  color: #f4f8fc;
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .board-modal__toolbar,
html[data-theme="dark"] .board-modal__foot {
  background: #101823;
}

html[data-theme="dark"] .board-modal__search-panel,
html[data-theme="dark"] .board-modal__search-panel input,
html[data-theme="dark"] .board-modal__search-panel button {
  border-color: rgba(255, 255, 255, 0.14);
  background: #172230;
  color: #f4f8fc;
}

html[data-theme="dark"] .board-modal__search-panel > svg {
  stroke: #f4f8fc;
}

html[data-theme="dark"] .board-modal__search-panel .board-modal__search-submit {
  border-color: var(--v2-yellow);
  background: var(--v2-yellow);
  color: #111827;
}

html[data-a11y-scheme="dark"] .board-modal__window,
html[data-a11y-scheme="dark"] .board-modal__toolbar,
html[data-a11y-scheme="dark"] .board-modal__body,
html[data-a11y-scheme="dark"] .board-modal__foot,
html[data-a11y-scheme="dark"] .board-modal__search-panel,
html[data-a11y-scheme="dark"] .board-modal__search-panel input,
html[data-a11y-scheme="dark"] .board-modal__search-panel button {
  background: #000000 !important;
  color: #fffbc0 !important;
  border-color: #fffbc0 !important;
}

html[data-a11y-scheme="blue"] .board-modal__window,
html[data-a11y-scheme="blue"] .board-modal__toolbar,
html[data-a11y-scheme="blue"] .board-modal__body,
html[data-a11y-scheme="blue"] .board-modal__foot,
html[data-a11y-scheme="blue"] .board-modal__search-panel,
html[data-a11y-scheme="blue"] .board-modal__search-panel input,
html[data-a11y-scheme="blue"] .board-modal__search-panel button {
  background: #6bb2e0 !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

@media (max-width: 820px) {
  .board-modal {
    padding: 0;
    align-items: stretch;
    justify-items: stretch;
  }

  .board-modal__window {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .board-modal__close {
    top: 12px;
    right: 12px;
  }

  .board-modal__hero {
    padding: 68px 18px 22px;
  }

  .board-modal__hero h2 {
    max-width: calc(100% - 24px);
    font-size: 34px;
  }

  .board-modal__toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .board-modal__search-panel {
    inset: 8px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "input input"
      "submit cancel";
    gap: 8px;
    padding: 10px;
  }

  .board-modal__search-panel > svg {
    position: absolute;
    left: 24px;
    top: 23px;
    width: 20px;
    height: 20px;
  }

  .board-modal__search-panel input {
    grid-area: input;
    padding-left: 42px;
  }

  .board-modal__search-submit {
    grid-area: submit;
  }

  .board-modal__search-cancel {
    grid-area: cancel;
  }

  .board-modal__columns {
    display: none;
  }

  .board-modal__foot {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
  }
}

.flight-detail__hero,
.content-detail__hero {
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  padding: 92px 42px 34px;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.96), rgba(8, 13, 20, 0.68)),
    url("assets/hero-slide-runway.jpg") center / cover;
  color: #ffffff;
}

.flight-detail__title h2,
.content-detail__hero h2 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.95;
}

.flight-detail__title .v2-kicker,
.content-detail__hero .v2-kicker {
  color: var(--v2-yellow);
}

.flight-detail-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--v2-anniversary-title-color, #ffffff);
  font-size: 15px;
  font-weight: 900;
}

.flight-detail-route__point {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.flight-detail-route__point.is-start,
.flight-detail-route__point.is-finish {
  color: #101820;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
}

.flight-detail-route__line {
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
}

.flight-detail__badge {
  width: min(310px, 100%);
  flex: 0 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--v2-radius);
  background: rgba(13, 20, 29, 0.78);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.flight-detail__badge span,
.flight-detail__summary span,
.flight-detail-panel__kicker,
.flight-detail-side span,
.content-detail__facts span {
  display: block;
  color: var(--v2-yellow);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.flight-detail__badge strong {
  display: block;
  margin: 8px 0 16px;
  color: #ffffff;
  font-size: 54px;
  line-height: 1;
}

.flight-detail__summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d9e0ea;
}

.flight-detail__summary article {
  min-height: 128px;
  padding: 22px 26px;
  background: #ffffff;
}

.flight-detail__summary strong {
  display: block;
  margin-top: 10px;
  color: #111827;
  font-size: clamp(21px, 1.7vw, 30px);
  line-height: 1.08;
}

.flight-detail__summary small {
  display: block;
  margin-top: 8px;
  color: #697586;
  font-weight: 800;
}

.flight-detail-time-change {
  display: inline-flex !important;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  text-transform: none !important;
}

.flight-detail-time-change__value {
  min-width: 0;
  display: grid !important;
  justify-items: start;
  gap: 4px;
  text-transform: none !important;
}

.flight-detail-time-change .flight-detail-time-change__label {
  margin: 0;
  color: #697586;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.flight-detail-time-change del {
  color: #697586;
  font-size: clamp(25px, 1.8vw, 32px);
  font-weight: 1000;
  line-height: 0.95;
  text-decoration-color: rgba(211, 47, 47, 0.72);
  text-decoration-thickness: 1.5px;
  text-decoration-skip-ink: none;
}

.flight-detail-time-change__arrow {
  display: inline-block !important;
  margin-top: 13px;
  color: var(--v2-yellow) !important;
  font-size: 21px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}

.flight-detail-time-change ins {
  color: #d71928;
  font-size: clamp(25px, 1.8vw, 32px);
  font-weight: 1000;
  line-height: 0.95;
  text-decoration: none;
}

.flight-detail-time-change__date {
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.flight-detail-time-change__scheduled-date {
  color: #697586;
}

.flight-detail-time-change__expected-date {
  color: #b42318;
}

.flight-detail-panel__time {
  display: block !important;
  color: #111827 !important;
  text-transform: none !important;
}

.flight-detail-panel__time > strong {
  color: inherit;
  font-size: 54px;
  line-height: 0.9;
}

.flight-detail-time-change--panel {
  margin-top: 0;
  gap: 11px;
}

.flight-detail-time-change--panel del {
  font-size: clamp(38px, 3.3vw, 52px);
}

.flight-detail-time-change--panel .flight-detail-time-change__arrow {
  font-size: 29px !important;
}

.flight-detail-time-change--panel ins {
  font-size: clamp(38px, 3.3vw, 52px);
}

html[data-theme="dark"] .flight-detail-panel__time {
  color: #ffffff !important;
}

html[data-theme="dark"] .flight-detail-time-change .flight-detail-time-change__label,
html[data-theme="dark"] .flight-detail-time-change del,
html[data-theme="dark"] .flight-detail-time-change__scheduled-date {
  color: #9aa7b8;
}

html[data-theme="dark"] .flight-detail-time-change ins,
html[data-theme="dark"] .flight-detail-time-change__expected-date {
  color: #ff7b83;
}

.flight-detail-airline > div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.flight-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  padding: 18px;
}

.flight-detail-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.flight-detail__body.has-local-tariff {
  align-items: start;
}

.flight-detail__body.has-local-tariff .flight-detail-main {
  align-items: start;
}

.flight-detail-panel,
.flight-detail-side article {
  padding: 26px;
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.08);
}

.flight-detail-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.flight-detail-panel__head span {
  color: #697586;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.flight-detail-panel__head > strong {
  font-size: 54px;
  line-height: 0.9;
}

.flight-detail-panel__lead {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 9px;
}

.flight-detail-countdown {
  min-height: 34px;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 5px 10px 5px 12px;
  border-left: 3px solid var(--v2-yellow);
  border-radius: 3px 9px 9px 3px;
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.14), rgba(255, 176, 0, 0.025));
}

.flight-detail-panel__head .flight-detail-countdown small {
  color: #4f5d70;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: none;
}

.flight-detail-panel__head .flight-detail-countdown strong {
  color: #111827;
  font-size: 21px;
  line-height: 1;
}

.flight-detail-countdown strong i {
  color: var(--v2-orange);
  font-style: normal;
}

html[data-theme="dark"] .flight-detail-countdown {
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.15), rgba(255, 176, 0, 0.02));
}

html[data-theme="dark"] .flight-detail-panel__head .flight-detail-countdown small {
  color: #9aa7b8;
}

html[data-theme="dark"] .flight-detail-panel__head .flight-detail-countdown strong {
  color: #ffffff;
}

.flight-detail-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ebf2;
}

.flight-detail-progress div {
  width: var(--flight-progress, 40%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
  box-shadow: 0 0 24px rgba(255, 121, 0, 0.24);
}

.flight-detail-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.flight-detail-steps li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #d9e0ea;
  border-radius: 10px;
  color: #697586;
  font-weight: 950;
}

.flight-detail-steps li > i {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.45;
}

.flight-detail-steps li > span {
  display: grid;
  gap: 2px;
}

.flight-detail-steps li strong {
  font-size: 14px;
}

.flight-detail-steps li small {
  color: inherit;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  opacity: 0.68;
  text-transform: uppercase;
}

.flight-detail-steps li.is-active {
  border-color: rgba(255, 176, 0, 0.58);
  background: #fff7df;
  color: #111827;
}

.flight-detail-steps li.is-current {
  box-shadow: inset 0 0 0 2px rgba(255, 176, 0, 0.72), 0 8px 24px rgba(255, 121, 0, 0.12);
}

.flight-detail-steps li.is-current > i {
  border-color: var(--v2-orange);
  background: var(--v2-orange);
  box-shadow: 0 0 0 5px rgba(255, 121, 0, 0.14);
  opacity: 1;
}

.flight-detail-steps li.is-complete > i {
  border-color: #16805c;
  background: #16805c;
  box-shadow: inset 0 0 0 2px #fff;
  opacity: 1;
}

.flight-detail-timeline-state {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(105, 117, 134, 0.22);
  border-radius: 14px;
  background: rgba(230, 235, 242, 0.62);
}

.flight-detail-timeline-state__marker {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(105, 117, 134, 0.13);
}

.flight-detail-timeline-state__marker i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #697586;
  box-shadow: 0 0 0 6px rgba(105, 117, 134, 0.13);
}

.flight-detail-timeline-state > div {
  display: grid;
  gap: 4px;
}

.flight-detail-timeline-state small {
  color: #697586;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flight-detail-timeline-state strong {
  font-size: 22px;
  line-height: 1.2;
}

.flight-detail-timeline-state p,
.flight-detail-registration-note {
  margin: 0;
  color: #596579;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.flight-detail-timeline-state--current {
  border-color: rgba(255, 176, 0, 0.42);
  background: linear-gradient(135deg, rgba(255, 247, 223, 0.92), rgba(255, 255, 255, 0.88));
}

.flight-detail-timeline-state--current .flight-detail-timeline-state__marker {
  background: rgba(255, 176, 0, 0.18);
}

.flight-detail-timeline-state--current .flight-detail-timeline-state__marker i {
  background: var(--v2-orange);
  box-shadow: 0 0 0 6px rgba(255, 121, 0, 0.16);
}

.flight-detail-timeline-state--done {
  border-color: rgba(22, 128, 92, 0.34);
  background: rgba(231, 248, 241, 0.84);
}

.flight-detail-timeline-state--done .flight-detail-timeline-state__marker i {
  background: #16805c;
  box-shadow: 0 0 0 6px rgba(22, 128, 92, 0.14);
}

.flight-detail-timeline-state--alert {
  border-color: rgba(211, 47, 47, 0.34);
  background: rgba(255, 235, 238, 0.82);
}

.flight-detail-timeline-state--alert strong {
  color: #b42318;
}

.flight-detail-timeline-state--alert .flight-detail-timeline-state__marker i {
  background: #d32f2f;
  box-shadow: 0 0 0 6px rgba(211, 47, 47, 0.14);
}

.flight-detail-registration-note {
  margin: 12px 2px 0;
}

.flight-detail-panel h3 {
  margin: 10px 0 18px;
  font-size: 30px;
  line-height: 1.05;
}

.flight-detail-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #475467;
  font-weight: 760;
  line-height: 1.55;
}

.flight-detail-panel ul li {
  position: relative;
  padding-left: 22px;
}

.flight-detail-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 2px;
  background: var(--v2-marker-color);
}

.flight-detail-side {
  display: grid;
  gap: 18px;
}

.flight-detail-side strong {
  display: block;
  margin-top: 10px;
  color: #111827;
  font-size: 24px;
}

.flight-detail-side small,
.flight-detail-side a {
  display: block;
  margin-top: 8px;
  color: #697586;
  font-weight: 850;
}

.flight-detail-side a {
  color: var(--v2-blue);
}

.flight-detail-side .flight-detail-price {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 176, 0, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.2), transparent 46%),
    #ffffff;
}

.flight-detail-price::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--v2-red), var(--v2-orange), var(--v2-yellow));
}

.flight-detail-price strong {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1;
}

.flight-detail-price a,
.flight-detail-price > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  font-weight: 950;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.flight-detail-price a[hidden],
.flight-detail-price > button[hidden],
.flight-detail-price [hidden] {
  display: none;
}

.flight-detail-price.is-local {
  grid-column: 1 / -1;
}

.flight-local-tariff__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 18px;
}

.flight-local-tariff__actions[hidden] {
  display: none;
}

.flight-detail-price .flight-local-tariff__actions > button {
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 176, 0, 0.62);
  border-radius: 10px;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.flight-detail-price .flight-local-tariff__actions > [data-flight-tariff-link] {
  padding-inline: 12px;
  color: #a65c00;
  white-space: nowrap;
}

.flight-local-tariff__route {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
  margin-top: 18px;
}

.flight-local-tariff__route > span {
  padding: 0;
  color: #a65c00;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.flight-local-tariff__route label > span {
  display: block;
  margin-bottom: 6px;
  color: #697586;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flight-local-tariff__route select {
  width: 100%;
  min-height: 46px;
  padding: 0 44px 0 14px;
  border: 1px solid #d5dde7;
  border-radius: 10px;
  background: #f7f9fc;
  color: #111827;
  font: inherit;
  font-weight: 850;
  text-overflow: ellipsis;
}

.flight-local-tariff__selected {
  margin-top: 16px;
  color: #a65c00;
  font-size: 14px;
  font-weight: 950;
}

.flight-local-tariff__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.flight-local-tariff__details > div {
  padding: 10px 12px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: rgba(247, 249, 252, 0.86);
}

.flight-local-tariff__details span,
.flight-local-tariff__details strong {
  display: block;
  margin: 0;
}

.flight-local-tariff__details span {
  color: #697586;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flight-local-tariff__details strong {
  margin-top: 4px;
  color: #111827;
  font-size: 16px;
  line-height: 1.2;
}

.flight-detail-price.is-loading strong {
  color: #697586;
  font-size: 22px;
}

.flight-detail-price.is-exact:not(.is-local) > [data-flight-price-label]::after {
  content: " · этот рейс";
  color: #167a58;
}

.flight-detail-price.is-local > [data-flight-price-label]::after {
  content: " · тариф НМ ОАО";
  color: #167a58;
}

.flight-detail-price .flight-detail-price__secondary {
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid rgba(255, 176, 0, 0.48);
  background: transparent;
  color: #111827;
  text-align: center;
}

.flight-detail-price.is-unavailable {
  border-color: #d9e0ea;
  background: #ffffff;
}

.content-loading {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 48px;
  text-align: center;
  background:
    radial-gradient(circle at 48% 34%, rgba(255, 176, 0, 0.14), transparent 28%),
    linear-gradient(145deg, #f5f7f9, #e8eef5);
}

.content-loading__mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: 0 22px 46px rgba(255, 121, 0, 0.28);
}

.content-loading__mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-loading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.05;
}

.content-loading p {
  max-width: 620px;
  margin: 0;
  color: #667085;
  font-weight: 820;
  line-height: 1.55;
}

.content-detail {
  min-height: 100%;
  background: #f5f7f9;
}

.content-detail__hero {
  min-height: 330px;
  padding-top: 42px;
  padding-bottom: 28px;
  align-items: flex-start;
  justify-content: flex-start;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.94), rgba(8, 13, 20, 0.68) 58%, rgba(8, 13, 20, 0.4)),
    var(--content-hero-image, url("assets/hero-slide-runway.jpg")) center / cover;
}

.content-detail__hero--compact {
  min-height: 230px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 42px;
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 176, 0, 0.18), transparent 32%),
    linear-gradient(135deg, #101820, #172536 58%, #0d141d);
}

.content-detail__hero > div {
  max-width: 980px;
}

.content-detail__hero--compact > div {
  max-width: 820px;
}

.content-detail__hero--compact h2 {
  font-size: clamp(46px, 4.6vw, 78px);
}

.content-detail__hero--compact p:not(.v2-kicker) {
  max-width: 740px;
  margin-top: 14px;
  font-size: clamp(16px, 1.24vw, 22px);
}

.content-detail__hero p:not(.v2-kicker) {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.42;
  font-weight: 780;
}

.content-detail__number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--v2-yellow);
  font-weight: 950;
}

.content-detail__hero > strong {
  align-self: flex-start;
  margin-top: 22px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 176, 0, 0.14);
  color: var(--v2-yellow);
  font-weight: 950;
}

.content-detail__body {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.content-detail__story {
  display: grid;
  gap: 18px;
  min-width: 0;
}

/* News use the modal as an editorial canvas instead of a narrow page column. */
.content-detail--news .content-detail__body {
  width: min(1480px, 100%);
  margin-inline: auto;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(18px, 2.2vw, 34px);
}

.content-detail--news .content-rich {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 3vw, 52px);
  font-size: clamp(16px, 1.05vw, 19px);
}

.content-detail--news .service-photo-gallery {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* A single editorial image sits beside the article on desktop. */
.content-detail--news-gallery-single .content-detail__story {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.8fr);
  align-items: start;
}

.content-detail--news-gallery-single .service-photo-gallery {
  position: sticky;
  top: 18px;
  display: block;
}

.content-detail--news-gallery-single .service-photo-gallery__featured {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.content-detail--news-gallery-single .service-photo-gallery__thumbs {
  display: none;
}

/* Multi-photo stories keep the article full width and form one balanced gallery. */
.content-detail--news-gallery-multiple .content-detail__story {
  grid-template-columns: 1fr;
}

.content-detail--news-gallery-multiple .service-photo-gallery {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 14px;
  align-items: stretch;
}

.content-detail--news-gallery-multiple .service-photo-gallery__featured {
  aspect-ratio: 16 / 10;
}

.content-detail--news-gallery-multiple .service-photo-gallery__thumbs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, 1fr);
  align-content: stretch;
  height: 100%;
}

.content-detail--news-gallery-multiple .service-photo-gallery__thumbs a,
.content-detail--news-gallery-multiple .service-photo-gallery__thumbs a:last-child:nth-child(odd) {
  grid-column: auto;
  aspect-ratio: auto;
  min-height: 150px;
}

.content-detail--news-gallery-count-4 .service-photo-gallery__thumbs {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(150px, 1fr));
}

.content-detail--news-gallery-count-4 .service-photo-gallery__thumbs a,
.content-detail--news-gallery-count-4 .service-photo-gallery__thumbs a:last-child:nth-child(odd) {
  grid-column: 1;
  min-height: 0;
}

.content-detail__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--v2-radius);
  background: #d9e0ea;
}

.content-detail__facts--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-detail__facts article {
  min-height: 130px;
  padding: 24px;
  background: #ffffff;
}

.content-detail__facts strong {
  display: block;
  margin-top: 10px;
  color: #111827;
  font-size: clamp(20px, 1.5vw, 28px);
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.12;
}

.content-detail__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-rich {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background: #fff;
  color: #344054;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.72;
  box-shadow: 0 18px 46px rgba(16,24,32,.08);
}
.content-rich > :first-child { margin-top: 0; }
.content-rich > :last-child { margin-bottom: 0; }
.content-rich h2,.content-rich h3 { margin: 1.65em 0 .65em; color: #111827; line-height: 1.12; }
.content-rich h2 { font-size: clamp(28px,2.2vw,40px); }.content-rich h3 { font-size: clamp(22px,1.65vw,30px); }
.content-rich p { margin: 0 0 1.05em; }
.content-rich ul,.content-rich ol { display: grid; gap: .55em; margin: 0 0 1.2em; padding-left: 1.4em; }
.content-rich blockquote { margin: 1.35em 0; padding: 18px 22px; border-left: 4px solid var(--v2-yellow); background: #f7f9fc; color: #475467; }
.content-rich a { color: #0969b7; font-weight: 800; text-underline-offset: 3px; }

.content-section {
  padding: 28px;
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.08);
}

.content-section h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
}

.content-section ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #475467;
  font-weight: 760;
  line-height: 1.56;
}

.content-section li {
  position: relative;
  padding-left: 22px;
}

.content-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 10px;
  height: 2px;
  background: var(--v2-marker-color);
}

.content-detail__footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid #d9e0ea;
  background: #ffffff;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.content-detail__footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--v2-radius);
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  font-weight: 950;
}

.content-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
}

.content-news-item {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.content-news-item:hover,
.content-news-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 0, 0.42);
  box-shadow: var(--v2-glow), 0 28px 62px rgba(16, 24, 32, 0.14);
}

.content-news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-news-item div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.content-news-item span {
  color: var(--v2-orange);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.content-news-item strong {
  color: #111827;
  font-size: clamp(22px, 1.8vw, 31px);
  line-height: 1.08;
}

.content-news-item p {
  margin: 0;
  color: #667085;
  font-weight: 760;
  line-height: 1.5;
}

.content-detail--legal .content-detail__hero {
  min-height: 270px;
}

.content-legal-tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #d9e0ea;
  background: rgba(245, 247, 249, 0.92);
  backdrop-filter: blur(16px);
}

.content-legal-tabs button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #cfd8e5;
  border-radius: var(--v2-radius);
  background: #ffffff;
  color: #102033;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.content-legal-tabs button:hover,
.content-legal-tabs button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 0, 0.58);
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.1);
}

.content-legal-tabs button.is-active {
  border-color: rgba(255, 176, 0, 0.72);
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: 0 18px 42px rgba(255, 121, 0, 0.18);
}

.content-legal-doc {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 28px 54px;
}

.content-legal-doc__inner {
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid #d9e0ea;
  border-radius: var(--v2-radius);
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(16, 24, 32, 0.08);
}

.content-legal-doc h3,
.content-legal-doc p,
.content-legal-doc ol,
.content-legal-doc ul,
.content-legal-doc table {
  max-width: 980px;
}

.content-legal-doc p,
.content-legal-doc li {
  color: #334155;
  font-size: 16px;
  line-height: 1.72;
}

.content-legal-doc p {
  margin: 0 0 14px;
}

.content-legal-doc ol,
.content-legal-doc ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.content-legal-doc li + li {
  margin-top: 8px;
}

.content-legal-doc strong {
  color: #111827;
}

.content-legal-doc table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.content-legal-doc a {
  color: #b32420;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.content-legal-doc a[href^="#"] {
  color: #c92338;
  text-decoration: underline;
  text-decoration-color: rgba(255, 176, 0, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.content-legal-anchor {
  scroll-margin-top: 92px;
  outline: 0;
}

.content-legal-anchor:focus {
  color: var(--v2-orange);
}

.content-legal-source {
  margin-top: 28px !important;
  padding-top: 18px;
  border-top: 1px solid #d9e0ea;
  color: #667085 !important;
  font-size: 13px !important;
  font-weight: 850;
}

.content-legal-source span {
  color: var(--v2-orange);
  font-weight: 950;
  text-transform: uppercase;
}

html[data-theme="dark"] {
  --v2-ink: #f4f8fc;
  --v2-ink-soft: #dce6ef;
  --v2-muted: #aeb9c7;
  --v2-line: rgba(217, 226, 236, 0.16);
  --v2-paper: #0d141d;
  --v2-white: #151e29;
  --v2-shadow: 0 20px 58px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #0a1017;
}

html[data-theme="light"] .v2-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

html[data-theme="light"][data-header-solid="true"] .v2-header {
  background: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(16, 24, 32, 0.08);
}

html[data-theme="light"] .v2-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(217, 224, 234, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.12);
}

html[data-theme="light"] .v2-brand img {
  content: url("assets/logo-wide-color.png");
  filter: none;
}

html[data-theme="light"] .v2-nav > a,
html[data-theme="light"] .v2-nav-trigger,
html[data-theme="light"] .v2-nav-menu > button {
  color: rgba(16, 24, 32, 0.86);
  text-shadow: none;
}

html[data-theme="light"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) .v2-brand img {
  content: url("assets/logo-wide-white.png");
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.24));
}

html[data-theme="light"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) .v2-nav > a,
html[data-theme="light"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) .v2-nav-trigger,
html[data-theme="light"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) .v2-nav-menu > button {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

html[data-theme="light"] .v2-nav > a:hover,
html[data-theme="light"] .v2-nav > a:focus-visible,
html[data-theme="light"] .v2-nav-group:hover .v2-nav-trigger,
html[data-theme="light"] .v2-nav-group:focus-within .v2-nav-trigger {
  background: #fff4df;
  color: #b32420;
}

html[data-theme="light"] .v2-menu-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 250, 0.9));
  border-color: rgba(193, 204, 218, 0.88);
  color: #101820;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

html[data-theme="light"] .v2-access-button,
html[data-theme="light"] .v2-settings-button {
  border-color: rgba(255, 176, 0, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 243, 248, 0.82)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.12), rgba(255, 176, 0, 0.14));
  color: #101820;
}

html[data-theme="dark"] .v2-header {
  background: transparent;
  border-bottom-color: transparent;
}

html[data-theme="dark"][data-header-solid="true"] .v2-header {
  background: rgba(8, 13, 20, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] .v2-header.is-scrolled {
  background: rgba(8, 13, 20, 0.94);
  border-bottom-color: var(--v2-line);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .v2-news {
  background: #0a1017;
}

html[data-theme="dark"] .v2-brand img {
  content: url("assets/logo-wide-white.png");
}

html[data-theme="dark"] .v2-nav > a:hover,
html[data-theme="dark"] .v2-nav > a:focus-visible,
html[data-theme="dark"] .v2-nav-group:hover .v2-nav-trigger,
html[data-theme="dark"] .v2-nav-group:focus-within .v2-nav-trigger {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

html[data-theme="dark"] .v2-dropdown,
html[data-theme="dark"] .v2-service-tile,
html[data-theme="dark"] .v2-board,
html[data-theme="dark"] .v2-board__hero,
html[data-theme="dark"] .v2-flight-row,
html[data-theme="dark"] .v2-scenario-grid a,
html[data-theme="dark"] .v2-section-head a,
html[data-theme="dark"] .v2-mobile-panel {
  background: var(--v2-white);
  border-color: var(--v2-line);
}

html[data-theme="dark"] .v2-dropdown {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 176, 0, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(21, 30, 41, 0.98), rgba(13, 20, 29, 0.96));
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .v2-dropdown a:hover,
html[data-theme="dark"] .v2-dropdown a:focus-visible,
html[data-theme="dark"] .v2-dropdown a[aria-current="page"] {
  background: rgba(255, 176, 0, 0.13);
  border-color: rgba(255, 176, 0, 0.28);
  color: #ffffff;
}

html[data-theme="dark"] .v2-theme-toggle[aria-pressed="true"] {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.98), rgba(24, 35, 48, 0.94)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.18), rgba(255, 176, 0, 0.18));
  border-color: rgba(255, 176, 0, 0.38);
  color: #ffffff;
}

html[data-theme="dark"] .v2-board__columns,
html[data-theme="dark"] .v2-board__search,
html[data-theme="dark"] .v2-board-local-filter,
html[data-theme="dark"] .v2-board__search-toggle,
html[data-theme="dark"] .v2-board__search button,
html[data-theme="dark"] .v2-board__foot {
  background: #101823;
}

html[data-theme="dark"] .v2-board__foot [data-v2-board-source].is-stale {
  color: #ffbd59;
}

html[data-theme="dark"] .v2-board-local-filter {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 42px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .v2-board-local-filter:hover,
html[data-theme="dark"] .v2-board-local-filter:focus-within {
  border-color: rgba(255, 176, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 48px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .v2-board-local-filter__control {
  border-color: rgba(217, 226, 236, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .v2-ticket-dropdown,
html[data-theme="dark"] .v2-date-popover {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.16), transparent 38%),
    linear-gradient(180deg, #111c2a 0%, #0a111b 100%);
  color: #f4f8fc;
  border-color: rgba(255, 176, 0, 0.28);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .v2-ticket-panel label.is-open {
  background: #111c2a;
}

html[data-theme="dark"] .v2-ticket-option,
html[data-theme="dark"] .v2-date-day,
html[data-theme="dark"] .v2-date-head button {
  color: #f4f8fc;
}

html[data-theme="dark"] .v2-ticket-option:hover,
html[data-theme="dark"] .v2-ticket-option:focus-visible,
html[data-theme="dark"] .v2-ticket-option.is-selected,
html[data-theme="dark"] .v2-date-day:hover,
html[data-theme="dark"] .v2-date-day:focus-visible,
html[data-theme="dark"] .v2-date-head button:hover,
html[data-theme="dark"] .v2-date-head button:focus-visible {
  background: rgba(255, 176, 0, 0.13);
}

html[data-theme="dark"] .v2-date-head button {
  background: #101823;
  border-color: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .v2-board__search .v2-board__search-submit {
  background: linear-gradient(135deg, #ffe06a, var(--v2-yellow));
  border-color: transparent;
  color: #102033;
}

html[data-theme="dark"] .v2-board__search .v2-board__search-cancel {
  background: #455365;
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

html[data-theme="dark"] .tariff-modal__window {
  background: #0d141d;
  color: #f4f8fc;
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .tariff-modal__toolbar,
html[data-theme="dark"] .tariff-modal__meta div,
html[data-theme="dark"] .tariff-group,
html[data-theme="dark"] .tariff-table__row,
html[data-theme="dark"] .tariff-benefits article,
html[data-theme="dark"] .tariff-modal__footer {
  background: #151e29;
  color: #f4f8fc;
  border-color: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .tariff-modal__toolbar {
  border-bottom-color: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .tariff-modal__content {
  background: #0d141d;
}

html[data-theme="dark"] .tariff-modal__meta {
  background: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .tariff-modal__tabs button,
html[data-theme="dark"] .tariff-search,
html[data-theme="dark"] .tariff-group summary::after {
  background: #101823;
  border-color: rgba(217, 226, 236, 0.16);
  color: #dce6ef;
}

html[data-theme="dark"] .tariff-modal__tabs button.is-active,
html[data-theme="dark"] .tariff-group[open] summary::after {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  border-color: rgba(255, 176, 0, 0.58);
}

html[data-theme="dark"] .tariff-search input {
  color: #f4f8fc;
}

html[data-theme="dark"] .tariff-table__head {
  background: #080d14;
  color: rgba(244, 248, 252, 0.66);
}

html[data-theme="dark"] .tariff-table,
html[data-theme="dark"] .tariff-table__row + .tariff-table__row,
html[data-theme="dark"] .tariff-group + .tariff-group {
  border-color: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .tariff-table__row > div:not(.tariff-route) span {
  background: linear-gradient(180deg, #182332, #101823);
  border-color: rgba(217, 226, 236, 0.16);
  color: #f4f8fc;
}

html[data-theme="dark"] .tariff-loading p,
html[data-theme="dark"] .tariff-modal__meta span,
html[data-theme="dark"] .tariff-group summary small,
html[data-theme="dark"] .tariff-route span,
html[data-theme="dark"] .tariff-table__row small,
html[data-theme="dark"] .tariff-benefits li,
html[data-theme="dark"] .tariff-modal__footer > span {
  color: #aeb9c7;
}

html[data-theme="dark"] .v2-tariff-source-link {
  background: #101823;
  border-color: rgba(217, 226, 236, 0.2);
  color: #f4f8fc;
}

html[data-theme="dark"] .schedule-list__summary,
html[data-theme="dark"] .schedule-row {
  background: #151e29;
  border-color: rgba(217, 226, 236, 0.16);
  color: #f4f8fc;
}

html[data-theme="dark"] .schedule-list__summary span,
html[data-theme="dark"] .schedule-list__head,
html[data-theme="dark"] .schedule-row__time small,
html[data-theme="dark"] .schedule-row__route span,
html[data-theme="dark"] .schedule-row__meta span {
  color: #aeb9c7;
}

html[data-theme="dark"] .schedule-row__time strong {
  color: #ffffff;
}

html[data-theme="dark"] .schedule-row__meta {
  border-left-color: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .schedule-row.is-inactive {
  border-color: rgba(217, 226, 236, 0.12);
  background: #111923;
}

html[data-theme="dark"] .schedule-row__status {
  border-color: rgba(217, 226, 236, 0.16);
  background: rgba(217, 226, 236, 0.08);
  color: #bac4d0;
}

html[data-theme="dark"] .schedule-row.is-calendar-row:hover,
html[data-theme="dark"] .schedule-row.is-calendar-row:focus-visible {
  border-color: rgba(255, 176, 0, 0.64);
  background: #1b2836;
}

html[data-theme="dark"] .service-modal-page > header,
html[data-theme="dark"] .schedule-calendar-legend,
html[data-theme="dark"] .schedule-calendar-month.has-flights {
  background: #151e29;
  border-color: rgba(217, 226, 236, 0.16);
  color: #f4f8fc;
}

html[data-theme="dark"] .service-modal-page > header p,
html[data-theme="dark"] .schedule-calendar-legend span,
html[data-theme="dark"] .schedule-calendar-month__days span {
  color: #aeb9c7;
}

html[data-theme="dark"] .schedule-calendar-modal__window,
html[data-theme="dark"] .schedule-calendar-modal__content {
  background: #0d141d;
  color: #f4f8fc;
}

html[data-theme="dark"] .schedule-calendar-month {
  background: rgba(21, 30, 41, 0.58);
  border-color: rgba(217, 226, 236, 0.13);
}

html[data-theme="dark"] .schedule-calendar-month__days .is-flight-day {
  color: #101820;
}

html[data-theme="dark"] .schedule-calendar-month__days .is-today:not(.is-flight-day) {
  background: rgba(255, 176, 0, 0.08);
  color: #ffd36a;
}

html[data-theme="dark"] .flight-modal__window,
html[data-theme="dark"] .content-modal__window {
  background: #0d141d;
  color: #f4f8fc;
  border-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .flight-detail,
html[data-theme="dark"] .content-detail,
html[data-theme="dark"] .content-loading {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.1), transparent 34%),
    linear-gradient(145deg, #0d141d, #090f16);
  color: #f4f8fc;
}

html[data-theme="dark"] .flight-detail__summary,
html[data-theme="dark"] .content-detail__facts {
  background: rgba(217, 226, 236, 0.12);
}

html[data-theme="dark"] .flight-detail__summary article,
html[data-theme="dark"] .flight-detail-panel,
html[data-theme="dark"] .flight-detail-side article,
html[data-theme="dark"] .content-detail__facts article,
html[data-theme="dark"] .content-section,
html[data-theme="dark"] .content-rich,
html[data-theme="dark"] .content-detail__footer,
html[data-theme="dark"] .content-news-item,
html[data-theme="dark"] .content-legal-doc__inner {
  background: #151e29;
  color: #f4f8fc;
  border-color: rgba(217, 226, 236, 0.16);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .content-legal-tabs {
  background: rgba(13, 20, 29, 0.96) !important;
  border-bottom-color: rgba(217, 226, 236, 0.16) !important;
}

html[data-theme="dark"] .content-legal-tabs button {
  background: #151e29 !important;
  color: #f4f8fc !important;
  border-color: rgba(217, 226, 236, 0.16) !important;
}

html[data-theme="dark"] .content-legal-tabs button.is-active {
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange)) !important;
  color: #101820 !important;
  border-color: rgba(255, 176, 0, 0.72) !important;
}

html[data-theme="dark"] .content-detail--legal .content-legal-doc__inner,
html[data-theme="dark"] .content-detail--legal table,
html[data-theme="dark"] .content-detail--legal tbody,
html[data-theme="dark"] .content-detail--legal tr,
html[data-theme="dark"] .content-detail--legal td {
  background: #151e29 !important;
  color: #f4f8fc !important;
}

html[data-theme="dark"] .flight-detail__summary strong,
html[data-theme="dark"] .flight-detail-side strong,
html[data-theme="dark"] .content-detail__facts strong,
html[data-theme="dark"] .content-section h3,
html[data-theme="dark"] .content-rich h2,
html[data-theme="dark"] .content-rich h3,
html[data-theme="dark"] .content-news-item strong,
html[data-theme="dark"] .content-legal-doc strong {
  color: #f4f8fc;
}

html[data-theme="dark"] .content-rich { color: #cad4df; }
html[data-theme="dark"] .content-rich blockquote { background: rgba(255,176,0,.06); color: #bac6d2; }

html[data-theme="dark"] .flight-detail__summary small,
html[data-theme="dark"] .flight-detail-panel ul,
html[data-theme="dark"] .flight-detail-side small,
html[data-theme="dark"] .content-loading p,
html[data-theme="dark"] .content-section ul,
html[data-theme="dark"] .content-detail__footer,
html[data-theme="dark"] .content-news-item p,
html[data-theme="dark"] .content-legal-doc p,
html[data-theme="dark"] .content-legal-doc li,
html[data-theme="dark"] .content-legal-source {
  color: #aeb9c7;
}

html[data-theme="dark"] .content-legal-doc a {
  color: var(--v2-yellow);
}

html[data-theme="dark"] .flight-detail-progress {
  background: #101823;
}

html[data-theme="dark"] .flight-detail-steps li {
  background: #101823;
  border-color: rgba(217, 226, 236, 0.16);
  color: #aeb9c7;
}

html[data-theme="dark"] .flight-detail-steps li.is-active {
  background: rgba(255, 176, 0, 0.14);
  color: #f4f8fc;
}

html[data-theme="dark"] .flight-detail-timeline-state {
  border-color: rgba(217, 226, 236, 0.14);
  background: rgba(16, 24, 35, 0.74);
}

html[data-theme="dark"] .flight-detail-timeline-state p,
html[data-theme="dark"] .flight-detail-registration-note {
  color: #aeb9c7;
}

html[data-theme="dark"] .flight-detail-timeline-state--current {
  border-color: rgba(255, 176, 0, 0.34);
  background: linear-gradient(135deg, rgba(70, 50, 12, 0.56), rgba(16, 24, 35, 0.82));
}

html[data-theme="dark"] .flight-detail-timeline-state--done {
  border-color: rgba(65, 201, 151, 0.3);
  background: rgba(14, 72, 56, 0.38);
}

html[data-theme="dark"] .flight-detail-timeline-state--alert {
  border-color: rgba(255, 107, 107, 0.34);
  background: rgba(104, 24, 31, 0.36);
}

html[data-theme="dark"] .flight-detail-timeline-state--alert strong {
  color: #ffb4b4;
}

html[data-theme="dark"] .flight-detail-side .flight-detail-price {
  border-color: rgba(255, 176, 0, 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.15), transparent 48%),
    #151e29;
}

html[data-theme="dark"] .flight-detail-price.is-unavailable {
  border-color: rgba(217, 226, 236, 0.16);
  background: #151e29;
}

html[data-theme="dark"] .flight-detail-price.is-loading strong {
  color: #aeb9c7;
}

html[data-theme="dark"] .flight-local-tariff__route select,
html[data-theme="dark"] .flight-local-tariff__details > div {
  border-color: rgba(217, 226, 236, 0.16);
  background: rgba(8, 14, 22, 0.52);
  color: #f4f8fc;
}

html[data-theme="dark"] .flight-local-tariff__details strong {
  color: #f4f8fc;
}

html[data-theme="dark"] .flight-local-tariff__route label > span,
html[data-theme="dark"] .flight-local-tariff__details span {
  color: #aeb9c7;
}

html[data-theme="dark"] .flight-detail-price.is-exact:not(.is-local) > [data-flight-price-label]::after {
  color: #93e6ca;
}

html[data-theme="dark"] .flight-detail-price.is-local > [data-flight-price-label]::after {
  color: #93e6ca;
}

html[data-theme="dark"] .flight-detail-price .flight-detail-price__secondary {
  color: #f4f8fc;
}

html[data-theme="dark"] .flight-detail-price .flight-local-tariff__actions > button {
  border-color: rgba(255, 176, 0, 0.46);
  color: #f4f8fc;
}

html[data-theme="dark"] .flight-detail-price .flight-local-tariff__actions > [data-flight-tariff-link] {
  color: #ffd271;
}

@media (max-width: 620px) {
  .inline-admin-editor { padding: 0; }
  .inline-admin-editor__window { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .content-modal__admin-edit { top: 12px; right: 68px; width: 46px; height: 46px; }

  .flight-local-tariff__actions {
    grid-template-columns: 1fr;
  }

  .flight-local-tariff__details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .flight-detail-main {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .v2-flight-row:hover {
  background: linear-gradient(90deg, rgba(255, 176, 0, 0.18), rgba(255, 176, 0, 0.08) 74%, var(--v2-white) 100%);
}

html[data-theme="dark"] .v2-status {
  background: rgba(0, 114, 188, 0.18);
  color: #9bd8ff;
}

html[data-theme="dark"] .v2-status--done {
  background: rgba(22, 129, 100, 0.2);
  color: #93e6ca;
}

html[data-theme="dark"] .v2-status--plan {
  background: rgba(255, 223, 63, 0.16);
  color: #ffe681;
}

html[data-theme="dark"] .v2-status--alert {
  background: rgba(201, 35, 56, 0.2);
  color: #ff9daa;
}

html[data-theme="dark"] .v2-access-button:not(.is-active),
html[data-theme="dark"] .v2-settings-button:not(.is-active) {
  border-color: rgba(255, 176, 0, 0.28);
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.98), rgba(24, 35, 48, 0.94)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.16), rgba(255, 176, 0, 0.16));
  color: #ffffff;
}

html[data-theme="dark"] .v2-access-button:not(.is-active) svg,
html[data-theme="dark"] .v2-settings-button:not(.is-active) svg {
  background: linear-gradient(135deg, rgba(255, 176, 0, 0.92), rgba(255, 121, 0, 0.92));
  color: #101820;
}

html[data-theme="light"] .v2-access-button:not(.is-active),
html[data-theme="light"] .v2-settings-button:not(.is-active) {
  border-color: rgba(255, 176, 0, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 250, 0.9)),
    linear-gradient(90deg, rgba(255, 31, 45, 0.12), rgba(255, 176, 0, 0.14));
  color: #101820;
}

html[data-theme="light"] .v2-ticket-panel {
  border-color: rgba(193, 204, 218, 0.9);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 176, 0, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 252, 0.9));
  color: #101820;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.16);
}

html[data-theme="light"] .v2-ticket-panel label {
  border-color: rgba(166, 180, 197, 0.7);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .v2-ticket-panel label.is-open {
  background: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .v2-ticket-panel label > span {
  color: #667085;
}

html[data-theme="light"] .v2-ticket-panel select,
html[data-theme="light"] .v2-ticket-panel input,
html[data-theme="light"] .v2-ticket-display {
  color: #101820;
}

html[data-theme="light"] .v2-ticket-panel__actions a {
  border-color: rgba(166, 180, 197, 0.72);
  color: #101820;
  background: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .v2-ticket-panel__result {
  color: #667085;
}

html[data-theme="light"] .v2-menu-button,
html[data-theme="light"] .v2-menu-button.is-active {
  border-color: rgba(193, 204, 218, 0.92) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 250, 0.94)) !important;
  color: #101820 !important;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] .v2-menu-button:hover,
html[data-theme="light"] .v2-menu-button:focus-visible {
  border-color: rgba(255, 176, 0, 0.58) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.22), transparent 40%),
    linear-gradient(180deg, #ffffff, #f6f9fc) !important;
  color: #101820 !important;
  transform: translateY(-1px);
  box-shadow: var(--v2-glow), 0 18px 38px rgba(17, 24, 39, 0.12) !important;
}

html[data-theme="light"] .v2-menu-button svg {
  stroke: currentColor !important;
}

html[data-theme="light"] .v2-service-tile--dark {
  border-color: rgba(255, 255, 255, 0.55) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 176, 0, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94) !important;
  color: #101820 !important;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.13) !important;
}

html[data-theme="light"] .v2-service-tile--dark:hover,
html[data-theme="light"] .v2-service-tile--dark:focus-visible {
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.18), rgba(255, 255, 255, 0.96) 46%),
    rgba(255, 255, 255, 0.96) !important;
}

html[data-theme="light"] .v2-service-tile--dark strong {
  color: #101820 !important;
}

html[data-theme="light"] .v2-service-tile--dark small {
  color: #667085 !important;
}

html[data-theme="light"] .v2-service-tile--dark .v2-service-tile__icon {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, #fff4b6, #ffb000 52%, #ff7900) !important;
  color: #101820 !important;
}

html[data-theme="light"] .v2-ticket-dropdown,
html[data-theme="light"] .v2-date-popover {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 252, 0.99));
  color: #101820;
  border-color: rgba(255, 176, 0, 0.42);
  box-shadow: 0 32px 76px rgba(17, 24, 39, 0.22);
}

html[data-theme="light"] .v2-ticket-option {
  color: #101820;
}

html[data-theme="light"] .v2-ticket-option small {
  color: #b57900;
}

html[data-theme="light"] .v2-passengers {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 176, 0, 0.07), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf3f8 100%);
}

html[data-theme="light"] .v2-news {
  position: relative;
  background:
    linear-gradient(180deg, #e8f0f7 0%, #f4f8fc 44%, #edf3f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), inset 0 18px 46px rgba(125, 142, 163, 0.12);
}

html[data-theme="light"] .v2-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 176, 0, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 32, 0.04), transparent 120px);
  pointer-events: none;
}

html[data-theme="light"] .v2-news > .v2-container {
  position: relative;
  z-index: 1;
}

html[data-theme="light"] .v2-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 176, 0, 0.16), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 31, 45, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #e9f0f7 100%);
  color: #101820;
}

html[data-theme="light"] .v2-footer::before {
  background:
    linear-gradient(90deg, rgba(255, 31, 45, 0.045), transparent 38%, rgba(255, 176, 0, 0.06)),
    repeating-linear-gradient(112deg, transparent 0 54px, rgba(16, 24, 32, 0.035) 55px 56px);
}

html[data-theme="light"] .v2-footer__top {
  border-bottom-color: rgba(16, 24, 32, 0.12);
}

html[data-theme="light"] .v2-footer__brand img {
  content: url("assets/logo-wide-color.png");
  filter: contrast(1.32) brightness(0.62) drop-shadow(0 18px 34px rgba(0, 0, 0, 0.12));
}

html[data-theme="light"] .v2-footer-social a {
  border-color: rgba(193, 204, 218, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 244, 250, 0.9));
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .v2-footer-social__link--tg,
html[data-theme="light"] .v2-footer-social__link--vk {
  color: #101820;
}

html[data-theme="light"] .v2-footer-social__link--max {
  color: #101820;
}

html[data-theme="light"] .v2-footer-card,
html[data-theme="light"] .v2-footer-hours {
  border-color: rgba(193, 204, 218, 0.85);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.12), transparent 36%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 251, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 24px 58px rgba(17, 24, 39, 0.08);
}

html[data-theme="light"] .v2-footer-card strong,
html[data-theme="light"] .v2-footer-card a,
html[data-theme="light"] .v2-footer-card li > span,
html[data-theme="light"] .v2-footer-hours__item strong {
  color: #101820;
}

html[data-theme="light"] .v2-footer-card small,
html[data-theme="light"] .v2-footer-hours__item em,
html[data-theme="light"] .v2-footer__bottom {
  color: #667085;
}

html[data-theme="light"] .v2-footer-hours__head {
  border-right-color: rgba(16, 24, 32, 0.1);
}

html[data-theme="light"] .v2-footer-hours__item {
  border-color: rgba(193, 204, 218, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 253, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .v2-footer-card__line a:not(:first-child) {
  border-color: rgba(255, 176, 0, 0.38);
  background: rgba(255, 255, 255, 0.7);
  color: #101820;
}

html[data-theme="light"] .v2-footer__links button {
  color: #475467;
}

html[data-theme="light"] .v2-footer__links button:hover,
html[data-theme="light"] .v2-footer__links button:focus-visible {
  color: #b57900;
}

html[data-a11y-size="medium"] {
  font-size: 112.5%;
}

html[data-a11y-size="large"] {
  font-size: 128%;
}

html[data-a11y-size="xlarge"] {
  font-size: 146%;
}

html[data-a11y-size="mega"] {
  font-size: 168%;
}

html[data-a11y-size="medium"] body,
html[data-a11y-size="large"] body,
html[data-a11y-size="xlarge"] body,
html[data-a11y-size="mega"] body {
  font-size: 1rem;
}

@supports (zoom: 1) {
  html[data-a11y-size="medium"] body {
    zoom: 1.04;
  }

  html[data-a11y-size="large"] body {
    zoom: 1.08;
  }

  html[data-a11y-size="xlarge"] body {
    zoom: 1.13;
  }

  html[data-a11y-size="mega"] body {
    zoom: 1.2;
  }
}

html[data-a11y-size="medium"] :is(.v2-nav > a, .v2-nav-trigger, .v2-phone, .v2-service-tile strong, .v2-ticket-display, .v2-flight-row, .v2-scenario-grid strong, .v2-news-card small, .v2-footer-card),
html[data-a11y-size="large"] :is(.v2-nav > a, .v2-nav-trigger, .v2-phone, .v2-service-tile strong, .v2-ticket-display, .v2-flight-row, .v2-scenario-grid strong, .v2-news-card small, .v2-footer-card),
html[data-a11y-size="xlarge"] :is(.v2-nav > a, .v2-nav-trigger, .v2-phone, .v2-service-tile strong, .v2-ticket-display, .v2-flight-row, .v2-scenario-grid strong, .v2-news-card small, .v2-footer-card),
html[data-a11y-size="mega"] :is(.v2-nav > a, .v2-nav-trigger, .v2-phone, .v2-service-tile strong, .v2-ticket-display, .v2-flight-row, .v2-scenario-grid strong, .v2-news-card small, .v2-footer-card) {
  font-size: 1em;
}

html[data-a11y-size="xlarge"] .v2-container,
html[data-a11y-size="mega"] .v2-container {
  width: min(1480px, calc(100% - 40px));
}

html[data-a11y-size="xlarge"] .v2-service-tiles,
html[data-a11y-size="mega"] .v2-service-tiles,
html[data-a11y-size="xlarge"] .v2-footer__grid,
html[data-a11y-size="mega"] .v2-footer__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-a11y-size="mega"] .v2-hero__focus,
html[data-a11y-size="mega"] .v2-passengers__grid,
html[data-a11y-size="mega"] .v2-contacts__grid {
  grid-template-columns: 1fr;
}

html[data-a11y-size="mega"] .v2-board__columns,
html[data-a11y-size="mega"] .v2-flight-row {
  grid-template-columns: 1fr;
  gap: 12px;
}

html[data-a11y-spacing="true"] body {
  letter-spacing: 0.04em;
}

html[data-a11y-motion="true"] *,
html[data-a11y-motion="true"] *::before,
html[data-a11y-motion="true"] *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}

html[data-a11y-images="grayscale"] img,
html[data-a11y-images="grayscale"] .v2-hero__image,
html[data-a11y-images="grayscale"] .v2-service-grid img,
html[data-a11y-images="grayscale"] .v2-news-card img,
html[data-a11y-images="grayscale"] .content-news-item img {
  filter: grayscale(1) contrast(1.12) !important;
}

html[data-a11y-images="hidden"] img,
html[data-a11y-images="hidden"] .v2-service-grid img,
html[data-a11y-images="hidden"] .v2-news-card img,
html[data-a11y-images="hidden"] .content-news-item img {
  opacity: 0 !important;
  visibility: hidden !important;
}

html[data-a11y-images="hidden"] .v2-brand img,
html[data-a11y-images="hidden"] .v2-footer__brand img {
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-a11y-images="hidden"] .v2-hero__slides,
html[data-a11y-images="hidden"] .v2-service-grid a,
html[data-a11y-images="hidden"] .v2-news-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.18), transparent 34%),
    linear-gradient(135deg, #101820, #0a1017) !important;
}

html[data-a11y-scheme="light"] {
  --v2-ink: #000000;
  --v2-ink-soft: #111827;
  --v2-muted: #344054;
  --v2-line: #9aa8b8;
  --v2-paper: #ffffff;
  --v2-white: #ffffff;
  color-scheme: light;
}

html[data-a11y-scheme="light"] body,
html[data-a11y-scheme="light"] .v2-passengers,
html[data-a11y-scheme="light"] .v2-news {
  background: #ffffff !important;
  color: #000000;
}

html[data-a11y-scheme="dark"] {
  --v2-ink: #fffbc0;
  --v2-ink-soft: #fffbc0;
  --v2-muted: #fffbc0;
  --v2-line: #fffbc0;
  --v2-paper: #000000;
  --v2-white: #000000;
  --v2-yellow: #fffbc0;
  --v2-orange: #fffbc0;
  --v2-red: #fffbc0;
  color-scheme: dark;
}

html[data-a11y-scheme="blue"] {
  --v2-ink: #000000;
  --v2-ink-soft: #000000;
  --v2-muted: #000000;
  --v2-line: #000000;
  --v2-paper: #6bb2e0;
  --v2-white: #6bb2e0;
  --v2-yellow: #000000;
  --v2-orange: #000000;
  --v2-red: #000000;
  color-scheme: light;
}

html[data-a11y-scheme="dark"] body,
html[data-a11y-scheme="dark"] .v2-header,
html[data-a11y-scheme="dark"] .v2-header.is-scrolled,
html[data-a11y-scheme="dark"] .v2-ticket-panel,
html[data-a11y-scheme="dark"] .v2-board,
html[data-a11y-scheme="dark"] .v2-services,
html[data-a11y-scheme="dark"] .v2-passengers,
html[data-a11y-scheme="dark"] .v2-news,
html[data-a11y-scheme="dark"] .v2-footer,
html[data-a11y-scheme="dark"] .tariff-modal__window,
html[data-a11y-scheme="dark"] .flight-modal__window,
html[data-a11y-scheme="dark"] .content-modal__window,
html[data-a11y-scheme="dark"] .content-detail,
html[data-a11y-scheme="dark"] .content-loading {
  background: #000000 !important;
  color: #fffbc0 !important;
  box-shadow: none !important;
}

html[data-a11y-scheme="blue"] body,
html[data-a11y-scheme="blue"] .v2-header,
html[data-a11y-scheme="blue"] .v2-header.is-scrolled,
html[data-a11y-scheme="blue"] .v2-ticket-panel,
html[data-a11y-scheme="blue"] .v2-board,
html[data-a11y-scheme="blue"] .v2-services,
html[data-a11y-scheme="blue"] .v2-passengers,
html[data-a11y-scheme="blue"] .v2-news,
html[data-a11y-scheme="blue"] .v2-footer,
html[data-a11y-scheme="blue"] .tariff-modal__window,
html[data-a11y-scheme="blue"] .flight-modal__window,
html[data-a11y-scheme="blue"] .content-modal__window,
html[data-a11y-scheme="blue"] .content-detail,
html[data-a11y-scheme="blue"] .content-loading {
  background: #6bb2e0 !important;
  color: #000000 !important;
  box-shadow: none !important;
}

html[data-a11y-scheme="dark"] :is(a, button, input, select, strong, small, span, p, h1, h2, h3, li),
html[data-a11y-scheme="blue"] :is(a, button, input, select, strong, small, span, p, h1, h2, h3, li) {
  color: inherit;
}

html[data-a11y-scheme="dark"] :is(.v2-service-tile, .v2-scenario-grid a, .v2-news-card, .v2-footer-card, .v2-footer-hours, .v2-footer-hours__item, .v2-flight-row, .content-section, .content-news-item, .content-legal-doc__inner, .tariff-table__row, .tariff-group, .tariff-benefits article) {
  background: #000000 !important;
  border-color: #fffbc0 !important;
  color: #fffbc0 !important;
  box-shadow: none !important;
}

html[data-a11y-scheme="blue"] :is(.v2-service-tile, .v2-scenario-grid a, .v2-news-card, .v2-footer-card, .v2-footer-hours, .v2-footer-hours__item, .v2-flight-row, .content-section, .content-news-item, .content-legal-doc__inner, .tariff-table__row, .tariff-group, .tariff-benefits article) {
  background: #6bb2e0 !important;
  border-color: #000000 !important;
  color: #000000 !important;
  box-shadow: none !important;
}

html[data-a11y-scheme="dark"] .v2-modal-close,
html[data-a11y-scheme="dark"] .v2-access-button,
html[data-a11y-scheme="dark"] .v2-settings-button,
html[data-a11y-scheme="dark"] .v2-theme-toggle,
html[data-a11y-scheme="dark"] .v2-menu-button {
  background: #000000 !important;
  border-color: #fffbc0 !important;
  color: #fffbc0 !important;
  box-shadow: none !important;
}

html[data-a11y-scheme="blue"] .v2-modal-close,
html[data-a11y-scheme="blue"] .v2-access-button,
html[data-a11y-scheme="blue"] .v2-settings-button,
html[data-a11y-scheme="blue"] .v2-theme-toggle,
html[data-a11y-scheme="blue"] .v2-menu-button {
  background: #6bb2e0 !important;
  border-color: #000000 !important;
  color: #000000 !important;
  box-shadow: none !important;
}

html[data-a11y-scheme="dark"] img,
html[data-a11y-scheme="blue"] img {
  filter: grayscale(1) contrast(1.35) !important;
}

@media (max-width: 1180px) {
  .v2-nav,
  .v2-phone {
    display: none;
  }

  .v2-mobile-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    background: var(--v2-white);
    transition: max-height 0.25s ease, border-color 0.25s ease;
  }

  .v2-mobile-panel.is-open {
    max-height: 520px;
    border-color: var(--v2-line);
  }

  .v2-mobile-nav {
    width: min(640px, calc(100% - 40px));
    margin: 0 auto;
    padding: 14px 0 24px;
  }

  .v2-mobile-nav a,
  .v2-mobile-nav summary {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--v2-line);
    font-weight: 900;
    cursor: pointer;
  }

  .v2-mobile-nav details a {
    padding-left: 18px;
    color: var(--v2-muted);
  }

  .v2-service-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-hero__focus {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .v2-ticket-panel {
    max-width: 640px;
  }

  .v2-board__hero {
    grid-template-columns: 1fr;
  }

  .v2-board-local-filter {
    width: min(280px, 100%);
  }

  .v2-board-scope-filter {
    min-width: 0;
    min-height: 48px;
    grid-template-columns: 0.62fr 0.9fr 1.28fr;
    gap: 3px;
    padding: 4px;
  }

  .v2-board-scope-filter button {
    min-height: 40px;
    padding: 0 5px;
    font-size: 11px;
  }

  .v2-board__time {
    text-align: left;
  }

  .v2-board__columns,
  .v2-flight-row {
    grid-template-columns: 126px minmax(210px, 1.45fr) 96px minmax(150px, 0.72fr) minmax(112px, 0.56fr);
  }

  .v2-contact-list {
    grid-template-columns: 1fr;
  }

  .v2-footer__top {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .v2-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-footer-card--wide {
    grid-column: 1 / -1;
  }

  .v2-news-grid {
    grid-template-columns: 1fr;
  }

  .v2-news-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .v2-news-card,
  .v2-news-card--wide {
    min-height: 340px;
  }

  .flight-detail__summary,
  .content-detail__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .flight-detail__body {
    grid-template-columns: 1fr;
  }

  .content-detail__sections,
  .content-news-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .v2-container {
    width: min(100% - 28px, 640px);
  }

  .v2-alert__inner {
    min-height: 52px;
  }

  .v2-alert a {
    font-size: 13px;
  }

  .v2-header__inner {
    min-height: 70px;
    gap: 8px;
  }

  .v2-brand {
    min-width: 0;
    width: 158px;
  }

  .v2-header__actions {
    gap: 7px;
  }

  .v2-theme-toggle span,
  .v2-menu-button span {
    display: none;
  }

  .v2-settings-button,
  .v2-theme-toggle,
  .v2-menu-button {
    width: 44px;
    padding: 0;
  }

  .v2-hero,
  .v2-hero__inner {
    min-height: 0;
  }

  .v2-hero__inner {
    padding: 88px 0 112px;
    gap: 22px;
  }

  .v2-service-tiles,
  .v2-service-grid,
  .v2-scenario-grid,
  .v2-passengers__grid,
  .v2-contacts__grid {
    grid-template-columns: 1fr;
  }

  .v2-service-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .v2-service-tile {
    min-height: 76px;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 3px;
    padding: 12px 14px;
  }

  .v2-service-tile__icon {
    width: 38px;
    height: 38px;
  }

  .v2-service-tile strong {
    font-size: 19px;
  }

  .v2-service-tile small {
    font-size: 13px;
  }

  .v2-services .v2-section-head {
    align-items: flex-start;
  }

  .v2-service-grid {
    gap: 16px;
  }

  .v2-service-grid a {
    min-height: 0;
    aspect-ratio: 16 / 9.8;
  }

  .v2-service-grid span,
  .v2-service-grid strong {
    padding-left: 22px;
    padding-right: 22px;
  }

  .v2-service-grid strong {
    padding-bottom: 24px;
  }

  .v2-hero__caption h1 {
    font-size: clamp(48px, 16vw, 82px);
  }

  .v2-hero__caption span {
    max-width: 340px;
    margin-top: 12px;
    font-size: 17px;
  }

  .v2-ticket-panel {
    max-width: 100%;
    padding: 16px;
  }

  .v2-ticket-panel__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .v2-ticket-panel__head strong {
    font-size: 22px;
  }

  .v2-ticket-panel__grid {
    grid-template-columns: 1fr;
  }

  .v2-ticket-panel__actions {
    grid-template-columns: 1fr;
  }

  .v2-ticket-panel__actions a {
    min-height: 44px;
  }

  .v2-board-wrap {
    margin-top: 0;
    padding-bottom: 58px;
  }

  html[data-board-peek="true"] .v2-board-wrap {
    margin-top: -450px;
  }

  .v2-board__hero {
    padding: 22px 18px;
  }

  .v2-board__search {
    inset: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .v2-board__search > span {
    display: none;
  }

  .v2-board__search input {
    font-size: 30px;
  }

  .v2-board__switch {
    gap: 12px;
  }

  .v2-board__switch button {
    font-size: 42px;
  }

  .v2-board__switch svg {
    width: 38px;
    height: 38px;
  }

  .v2-board__columns {
    display: none;
  }

  .v2-flight-row {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
    padding: 20px 18px;
  }

  .v2-flight-destination strong,
  .v2-airline strong {
    white-space: normal;
  }

  .v2-board__foot {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .v2-board__details {
    width: 100%;
  }

  .v2-section {
    padding: 62px 0;
  }

  .v2-section-head,
  .v2-footer__top,
  .v2-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .v2-service-grid a {
    min-height: 0;
    aspect-ratio: 16 / 10.6;
  }

  .v2-footer__links {
    justify-content: flex-start;
  }

  .v2-footer__grid {
    grid-template-columns: 1fr;
  }

  .v2-footer-card {
    min-height: 0;
  }

  .v2-news-card,
  .v2-news-card--wide {
    flex-basis: 100%;
    min-height: 300px;
    padding: 20px;
  }

  .tariff-modal {
    padding: 10px;
  }

  .tariff-modal__window {
    max-height: calc(100vh - 20px);
  }

  .tariff-modal__hero {
    min-height: 0;
    padding: 22px;
  }

  .tariff-modal__hero h2 {
    font-size: 34px;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    font-size: 15px;
  }

  .tariff-modal__toolbar {
    grid-template-columns: 1fr;
  }

  .tariff-modal__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tariff-modal__meta {
    grid-template-columns: 1fr;
  }

  .tariff-modal__content {
    padding: 10px;
  }

  .tariff-group summary {
    grid-template-columns: 1fr;
    padding: 18px 58px 18px 18px;
  }

  .tariff-group summary strong {
    font-size: 19px;
  }

  .tariff-group summary em {
    width: fit-content;
  }

  .tariff-table__head {
    display: none;
  }

  .tariff-table__body {
    padding: 8px;
  }

  .tariff-table__row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tariff-route {
    grid-column: 1 / -1;
  }

  .tariff-benefits {
    grid-template-columns: 1fr;
  }

  .tariff-modal__footer {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .v2-container {
    width: min(100% - 22px, 640px);
  }

  .v2-service-tiles {
    gap: 10px;
  }

  .v2-service-tile {
    min-height: 74px;
    padding: 11px 12px;
  }

  .v2-service-tile strong {
    font-size: 17px;
  }

  .v2-hero__caption h1 {
    font-size: 44px;
  }

  .v2-ticket-panel__head strong {
    font-size: 21px;
  }

  .v2-board__switch button {
    font-size: 30px;
    gap: 6px;
  }

  .v2-board__switch svg {
    width: 30px;
    height: 30px;
  }

  .v2-board__time strong {
    font-size: 28px;
  }

  .v2-section h2 {
    font-size: 34px;
  }
}

@media (max-width: 820px) {
  :is(#flights, #services, #passengers, #contacts) {
    scroll-margin-top: 76px;
  }

  html[data-anniversary-logo="true"] :is(#flights, #services, #passengers, #contacts) {
    scroll-margin-top: 94px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .v2-header {
    background: transparent;
  }

  html[data-theme="light"] .v2-header {
    background: transparent;
  }

  html[data-header-solid="true"] .v2-header {
    background: rgba(8, 13, 20, 0.82);
  }

  html[data-theme="light"][data-header-solid="true"] .v2-header {
    background: rgba(255, 255, 255, 0.88);
  }

  .v2-header__inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .v2-brand {
    width: min(178px, 43vw);
  }

  .v2-header__actions {
    position: relative;
    z-index: 140;
    flex: 0 0 auto;
    gap: 6px;
  }

  .v2-access-button,
  .v2-settings-button,
  .v2-theme-toggle,
  .v2-menu-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 12px;
    touch-action: manipulation;
  }

  .v2-access-button svg,
  .v2-settings-button svg,
  .v2-theme-toggle svg {
    width: 31px;
    height: 31px;
    padding: 7px;
  }

  .v2-menu-button svg {
    width: 22px;
    height: 22px;
  }

  .v2-mobile-panel {
    background: rgba(8, 13, 20, 0.96);
    color: #ffffff;
  }

  html[data-theme="light"] .v2-mobile-panel {
    background: rgba(255, 255, 255, 0.98);
    color: #101820;
  }

  .v2-mobile-nav {
    padding: 10px 0 16px;
  }

  .v2-mobile-nav a {
    min-height: 42px;
    border-color: rgba(255, 255, 255, 0.14);
    color: inherit;
  }

  html[data-theme="light"] .v2-mobile-nav a {
    border-color: rgba(16, 24, 32, 0.12);
  }

  .v2-hero {
    min-height: max(920px, 108svh);
  }

  .v2-hero__image {
    object-position: center top;
  }

  .v2-hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 12, 18, 0.28) 0%, rgba(8, 12, 18, 0.08) 28%, rgba(8, 12, 18, 0.62) 68%, #101820 100%),
      linear-gradient(90deg, rgba(8, 12, 18, 0.62), rgba(8, 12, 18, 0.12) 58%, rgba(8, 12, 18, 0.54));
  }

  .v2-hero__inner {
    min-height: max(920px, 108svh);
    justify-content: flex-start;
    gap: 0;
    padding: 82px 0 122px;
  }

  .v2-service-tiles {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .v2-service-tile {
    min-height: 54px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 8px 12px;
    column-gap: 10px;
    border-radius: 12px;
    background: rgba(12, 20, 31, 0.78);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  }

  html[data-theme="light"] .v2-service-tile {
    background: rgba(255, 255, 255, 0.92);
    color: #101820;
  }

  .v2-service-tile__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .v2-service-tile__icon::after {
    inset: 5px;
  }

  .v2-service-tile__icon svg {
    width: 17px;
    height: 17px;
  }

  .v2-service-tile strong {
    font-size: var(--v2-anniversary-name-font-size, 15px);
    line-height: 1.06;
  }

  .v2-service-tile small {
    font-size: 12px;
    line-height: 1.1;
  }

  .v2-hero__focus {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: clamp(120px, 24vh, 230px);
  }

  .v2-hero__caption {
    max-width: 100%;
  }

  .v2-hero__caption p {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .v2-hero__caption h1 {
    width: min-content;
    max-width: 100%;
    margin-top: 0;
    padding: 10px 0 0;
    font-size: clamp(48px, 18vw, 74px);
    line-height: 0.9;
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.32));
  }

  .v2-hero__caption h1 span {
    color: rgba(255, 255, 255, 0.68);
    opacity: 0.9;
    -webkit-text-stroke: 0.7px rgba(255, 255, 255, 0.12);
  }

  .v2-hero__caption h1::after {
    width: min(210px, 62vw);
    height: 5px;
    margin-top: 16px;
  }

  .v2-ticket-panel {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(13, 26, 42, 0.9);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  }

  html[data-theme="light"] .v2-ticket-panel {
    background: rgba(255, 255, 255, 0.92);
  }

  .v2-ticket-panel__head {
    flex-direction: row;
    align-items: center;
    margin-bottom: 12px;
  }

  .v2-ticket-panel__head strong {
    font-size: 20px;
  }

  .v2-ticket-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .v2-ticket-panel label {
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 12px;
  }

  .v2-ticket-display {
    min-height: 22px;
    font-size: 13px;
  }

  .v2-ticket-panel__actions {
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 10px;
  }

  .v2-ticket-panel__actions button,
  .v2-ticket-panel__actions a {
    min-height: 46px;
    border-radius: 12px;
    font-size: 14px;
  }

  .v2-ticket-panel__actions a {
    min-width: 92px;
    padding: 0 14px;
  }

  .v2-ticket-panel__result {
    margin-top: 10px;
    font-size: 12px;
  }

  .v2-ticket-panel label.is-open {
    z-index: 360;
  }

  .v2-ticket-dropdown,
  .v2-date-popover {
    max-height: min(48vh, 360px);
  }

  .v2-board-wrap {
    margin-top: 0;
    padding-bottom: 42px;
  }

  html[data-board-peek="true"] .v2-board-wrap {
    margin-top: -450px;
  }

  .v2-board {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 22px 66px rgba(0, 0, 0, 0.22);
  }

  .v2-board__hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    grid-template-areas:
      "switch switch"
      "local search"
      "time time";
    gap: 14px;
    padding: 16px;
  }

  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-areas:
      "switch switch"
      "time search";
  }

  .v2-board__switch {
    grid-area: switch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .v2-board__switch button {
    min-height: 58px;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(217, 226, 236, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    font-size: clamp(25px, 8vw, 34px);
  }

  html[data-theme="light"] .v2-board__switch button {
    border-color: rgba(16, 24, 32, 0.1);
    background: rgba(255, 255, 255, 0.66);
  }

  .v2-board__switch button::after {
    height: 4px;
  }

  .v2-board__switch svg {
    width: 25px;
    height: 25px;
  }

  .v2-board__time {
    grid-area: time;
    min-width: 0;
    justify-self: start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px 10px;
    text-align: left;
  }

  .v2-clock-row {
    justify-content: flex-start;
    gap: 8px;
  }

  .v2-clock-dial {
    width: 40px;
    height: 40px;
  }

  .v2-clock-dial::before {
    height: 10px;
  }

  .v2-clock-dial::after {
    height: 14px;
  }

  .v2-clock-dial i {
    height: 16px;
  }

  .v2-board__time strong {
    font-size: 31px;
    letter-spacing: 0;
  }

  .v2-board__time small {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 7px;
    margin-top: 0;
    font-size: 12px;
  }

  .v2-board__time small em {
    min-height: 20px;
    padding: 0 7px;
  }

  .v2-board-local-filter {
    grid-area: local;
    width: 100%;
    min-height: 54px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 11px;
    border-radius: 14px;
  }

  .v2-board-local-filter__control {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .v2-board-local-filter__control svg {
    width: 20px;
    height: 20px;
  }

  .v2-board-local-filter__text {
    display: grid;
    gap: 2px;
  }

  .v2-board-local-filter__text strong {
    overflow: visible;
    font-size: 14px;
    text-overflow: clip;
    white-space: normal;
  }

  .v2-board-local-filter__text small {
    font-size: 10px;
  }

  .v2-board__search-toggle {
    grid-area: search;
    width: 56px;
    height: 56px;
    min-height: 56px;
    justify-self: end;
    align-self: center;
    border: 1px solid rgba(217, 226, 236, 0.13);
    background: rgba(255, 255, 255, 0.04);
    color: var(--v2-ink);
  }

  html[data-theme="light"] .v2-board__search-toggle {
    border-color: rgba(16, 24, 32, 0.1);
    background: rgba(255, 255, 255, 0.72);
  }

  .v2-board__search-toggle svg {
    width: 28px;
    height: 28px;
  }

  .v2-board__search {
    inset: 10px;
    min-height: 154px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "input input"
      "submit cancel";
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(13, 20, 29, 0.98);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
  }

  html[data-theme="light"] .v2-board__search {
    background: rgba(255, 255, 255, 0.98);
  }

  .v2-board__search > svg {
    position: absolute;
    left: 26px;
    top: 26px;
    width: 22px;
    height: 22px;
    opacity: 0.82;
  }

  .v2-board__search input {
    grid-area: input;
    min-height: 54px;
    padding: 0 14px 0 44px;
    border: 1px solid rgba(217, 226, 236, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 18px;
  }

  html[data-theme="light"] .v2-board__search input {
    border-color: rgba(16, 24, 32, 0.12);
    background: rgba(239, 244, 250, 0.88);
  }

  .v2-board__search button {
    min-height: 44px;
    border-radius: 12px;
    font-size: 14px;
  }

  .v2-board__search-submit {
    grid-area: submit;
  }

  .v2-board__search-submit svg {
    width: 18px;
    height: 18px;
  }

  .v2-board__search-cancel {
    grid-area: cancel;
    background: rgba(70, 84, 101, 0.9);
  }

  .v2-board__columns {
    display: none;
  }

  .v2-board__body {
    display: grid;
    gap: 7px;
    padding: 8px;
    background: rgba(10, 16, 24, 0.98);
  }

  html[data-theme="light"] .v2-board__body {
    background: #eef4fa;
  }

  .v2-flight-row {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    grid-template-areas:
      "time dest status"
      "code airline status";
    gap: 7px 9px;
    min-height: 0;
    padding: 10px 11px;
    border: 1px solid rgba(217, 226, 236, 0.12);
    border-radius: 13px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
      rgba(16, 24, 32, 0.82);
  }

  html[data-theme="light"] .v2-flight-row {
    border-color: rgba(16, 24, 32, 0.1);
    background: #ffffff;
  }

  .v2-flight-row:hover,
  .v2-flight-row:focus-visible {
    transform: none;
    box-shadow: 0 16px 34px rgba(16, 24, 32, 0.14);
  }

  .v2-flight-time {
    grid-area: time;
    display: grid;
    align-content: start;
    gap: 3px;
  }

  .v2-flight-time strong {
    font-size: 22px;
  }

  .v2-flight-time small {
    font-size: 10.5px;
    line-height: 1.05;
  }

  .v2-flight-code {
    grid-area: code;
    justify-self: start;
    align-self: start;
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(255, 176, 0, 0.14);
    color: var(--v2-ink);
    font-size: 12px;
    line-height: 1;
  }

  .v2-flight-destination {
    grid-area: dest;
    align-self: start;
    padding-top: 2px;
  }

  .v2-flight-destination strong {
    font-size: 15.5px;
    line-height: 1.14;
    white-space: normal;
  }

  .v2-flight-destination small {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 1.1;
  }

  .v2-flight-destination strong.v2-route-chain {
    gap: 3px 5px;
    font-size: 14.5px;
  }

  .v2-route-separator {
    width: 16px;
    flex-basis: 16px;
  }

  .v2-airline {
    grid-area: airline;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-self: center;
    padding-top: 0;
  }

  .v2-airline__logo {
    width: 38px;
    height: 26px;
    border-radius: 7px;
  }

  .v2-airline__logo--image img {
    max-height: none;
  }

  .v2-airline strong {
    font-size: 13.5px;
    line-height: 1.1;
  }

  .v2-flight-status {
    grid-area: status;
    display: flex;
    align-self: center;
    justify-content: flex-end;
  }

  .v2-status {
    min-height: 26px;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    line-height: 1.05;
    text-align: center;
  }

  .v2-board__foot {
    padding: 12px;
    gap: 8px;
    font-size: 12px;
  }

  .v2-contacts {
    min-height: 0;
    padding: 54px 0;
    align-items: flex-start;
  }

  .v2-contacts__grid {
    gap: 22px;
  }

  .v2-contacts p:not(.v2-kicker) {
    font-size: var(--v2-anniversary-name-font-size, 15px);
    line-height: 1.48;
  }

  .v2-contact-list {
    gap: 10px;
  }

  .v2-contact-list a {
    min-height: 86px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: 4px 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .v2-contact-list a::before {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 18px;
  }

  .v2-contact-list span {
    margin-top: 0;
    font-size: 11px;
  }

  .v2-contact-list strong {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .v2-footer-hours {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
  }

  .v2-footer-hours__head {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  html[data-theme="light"] .v2-footer-hours__head {
    border-bottom-color: rgba(16, 24, 32, 0.1);
  }

  .v2-footer-hours__head strong {
    max-width: none;
    font-size: 22px;
  }

  .v2-footer-hours__grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .v2-footer-hours__item {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    align-content: center;
    gap: 5px 12px;
    padding: 12px;
    border-radius: 12px;
  }

  .v2-footer-hours__item small {
    grid-column: 1 / -1;
    font-size: 11px;
  }

  .v2-footer-hours__item strong {
    font-size: 16px;
  }

  .v2-footer-hours__item em {
    justify-self: end;
    font-size: 12px;
    text-align: right;
  }

  .tariff-modal,
  .flight-modal,
  .content-modal {
    align-items: stretch;
    padding: 0;
  }

  .tariff-modal__window,
  .flight-modal__window,
  .content-modal__window {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .v2-modal-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .flight-modal__close,
  .content-modal__close {
    top: 12px;
    right: 12px;
  }

  .tariff-modal__hero,
  .flight-detail__hero,
  .content-detail__hero {
    min-height: 210px;
    gap: 16px;
    padding: 70px 18px 22px;
  }

  .tariff-modal__hero h2,
  .flight-detail__title h2,
  .content-detail__hero h2 {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 0.98;
  }

  .tariff-modal__hero p:not(.v2-kicker),
  .content-detail__hero p:not(.v2-kicker) {
    font-size: 14px;
    line-height: 1.42;
  }

  .tariff-modal__toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .tariff-modal__tabs {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .tariff-modal__tabs button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .tariff-search {
    min-height: 44px;
  }

  .tariff-modal__meta {
    grid-template-columns: 1fr;
  }

  .tariff-modal__meta div {
    min-height: 0;
    padding: 12px 14px;
  }

  .tariff-modal__content {
    min-height: 0;
    padding: 10px;
  }

  .tariff-table__row {
    grid-template-columns: 1fr;
  }

  .tariff-price {
    width: fit-content;
  }

  .flight-detail__hero,
  .content-detail__hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .flight-detail__badge {
    width: 100%;
    padding: 14px;
  }

  .flight-detail__badge strong {
    margin-bottom: 8px;
    font-size: 42px;
  }

  .flight-detail-route {
    gap: 7px;
    margin-top: 14px;
    font-size: 13px;
  }

  .flight-detail-route__point {
    min-height: 28px;
    padding: 0 9px;
  }

  .flight-detail-route__line {
    width: 24px;
  }

  .flight-detail__summary,
  .content-detail__facts {
    grid-template-columns: 1fr;
  }

  .flight-detail__summary article,
  .content-detail__facts article {
    min-height: 0;
    padding: 15px 16px;
  }

  .flight-detail__summary strong,
  .content-detail__facts strong {
    font-size: 22px;
  }

  .flight-detail__body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .flight-detail-panel,
  .flight-detail-side article,
  .content-section,
  .content-detail__footer {
    padding: 18px;
    border-radius: 14px;
  }

  .flight-detail-panel__head {
    margin-bottom: 18px;
  }

  .flight-detail-panel__head strong {
    font-size: 38px;
  }

  .content-detail__body {
    padding: 12px;
  }
}

@media (max-width: 430px) {
  .v2-container {
    width: min(100% - 18px, 640px);
  }

  .v2-brand {
    width: min(156px, 40vw);
  }

  .v2-header__actions {
    gap: 5px;
  }

  .v2-access-button,
  .v2-settings-button,
  .v2-theme-toggle,
  .v2-menu-button {
    width: 39px;
    height: 39px;
    min-height: 39px;
  }

  .v2-hero {
    min-height: max(900px, 110svh);
  }

  .v2-hero__inner {
    min-height: max(900px, 110svh);
    padding-bottom: 116px;
  }

  html[data-board-peek="true"] .v2-board-wrap {
    margin-top: -430px;
  }

  .v2-hero__focus {
    margin-top: clamp(100px, 22vh, 190px);
  }

  .v2-hero__caption h1 {
    font-size: clamp(45px, 17vw, 62px);
  }

  .v2-ticket-panel__grid {
    grid-template-columns: 1fr;
  }

  .v2-ticket-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .v2-board__hero {
    padding: 13px;
  }

  .v2-board-local-filter {
    min-height: 50px;
  }

  .v2-board-local-filter__text strong {
    font-size: 13px;
  }

  .v2-board__switch button {
    min-height: 52px;
    font-size: 26px;
  }

  .v2-board__switch svg {
    width: 22px;
    height: 22px;
  }

  .v2-board__time strong {
    font-size: 28px;
  }

  .v2-board__search-toggle {
    width: 52px;
    height: 52px;
    min-height: 52px;
  }

  .v2-board__search {
    min-height: 150px;
  }

  .v2-board__search input {
    font-size: 16px;
  }

  .v2-flight-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 6px 8px;
    padding: 9px 10px;
  }

  .v2-flight-time strong {
    font-size: 21px;
  }

  .v2-flight-destination strong {
    font-size: 14.5px;
  }

  .v2-flight-destination small {
    font-size: 10px;
  }

  .v2-flight-code {
    padding: 4px 6px;
    font-size: 11.5px;
  }

  .v2-airline {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .v2-airline__logo {
    width: 36px;
    height: 24px;
  }

  .v2-airline__logo--image img {
    max-height: none;
  }

  .v2-airline strong {
    font-size: 13px;
  }

  .v2-status {
    min-height: 24px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .v2-contact-list strong {
    font-size: 17px;
  }

  .v2-footer-hours__item {
    grid-template-columns: 1fr;
  }

  .v2-footer-hours__item em {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .tariff-modal,
  .flight-modal,
  .content-modal {
    padding: 0;
    align-items: stretch;
    justify-items: stretch;
    background: rgba(4, 10, 18, 0.96);
  }

  .tariff-modal__backdrop,
  .flight-modal__backdrop,
  .content-modal__backdrop {
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.18), transparent 34%),
      linear-gradient(180deg, rgba(5, 10, 16, 0.94), rgba(5, 10, 16, 0.98));
    backdrop-filter: blur(10px);
  }

  .tariff-modal__window,
  .flight-modal__window,
  .content-modal__window {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .tariff-modal__window {
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  }

  .flight-modal__window,
  .content-modal__window {
    display: block;
  }

  .v2-modal-close,
  .tariff-modal .v2-modal-close,
  .flight-modal__close,
  .content-modal__close {
    position: absolute;
    top: calc(10px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
    z-index: 40;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border-color: rgba(255, 176, 0, 0.46);
    background:
      radial-gradient(circle at 28% 16%, rgba(255, 176, 0, 0.24), transparent 46%),
      rgba(8, 14, 22, 0.96);
    color: #ffffff !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  }

  .v2-modal-close::before,
  .v2-modal-close::after {
    width: 23px;
    height: 3px;
  }

  .tariff-modal__hero,
  .flight-detail__hero,
  .content-detail__hero,
  .content-detail__hero--compact {
    min-height: 156px;
    padding: calc(62px + env(safe-area-inset-top)) 16px 18px;
    gap: 12px;
    background-position: center;
  }

  .tariff-modal__hero {
    display: block;
  }

  .tariff-modal__hero h2,
  .flight-detail__title h2,
  .content-detail__hero h2,
  .content-detail__hero--compact h2 {
    max-width: calc(100% - 18px);
    font-size: clamp(28px, 8.8vw, 42px);
    line-height: 1.02;
  }

  .tariff-modal__hero p:not(.v2-kicker),
  .flight-detail__title p:not(.v2-kicker),
  .content-detail__hero p:not(.v2-kicker),
  .content-detail__hero--compact p:not(.v2-kicker) {
    max-width: 100%;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.38;
  }

  .content-detail__number {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 13px;
  }

  .content-detail__hero > strong {
    min-height: 34px;
    margin-top: 10px;
    padding: 0 12px;
    font-size: 12px;
  }

  .tariff-modal__toolbar {
    position: relative;
    z-index: 5;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(217, 226, 236, 0.14);
  }

  .tariff-modal__tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .tariff-modal__tabs::-webkit-scrollbar {
    display: none;
  }

  .tariff-modal__tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 12px;
  }

  .tariff-search {
    min-height: 42px;
    border-radius: 12px;
  }

  .tariff-search input {
    font-size: 15px;
  }

  .tariff-modal__meta {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    overflow-x: auto;
    background: transparent;
    scrollbar-width: none;
  }

  .tariff-modal__meta::-webkit-scrollbar {
    display: none;
  }

  .tariff-modal__meta div {
    min-width: 190px;
    min-height: 0;
    padding: 11px 12px;
    border: 1px solid rgba(217, 226, 236, 0.15);
    border-radius: 12px;
  }

  .tariff-modal__meta strong {
    font-size: 15px;
  }

  .tariff-modal__content,
  .flight-detail,
  .content-modal__shell {
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .tariff-modal__content {
    padding: 10px;
  }

  .tariff-group {
    border-radius: 14px;
  }

  .tariff-group + .tariff-group {
    margin-top: 10px;
  }

  .tariff-group summary {
    min-height: 68px;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px 52px 14px 14px;
  }

  .tariff-group summary::after {
    right: 13px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 20px;
  }

  .tariff-group summary strong {
    font-size: 17px;
    line-height: 1.12;
  }

  .tariff-group summary small {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.28;
  }

  .tariff-group summary em {
    width: fit-content;
    min-width: 0;
    padding: 6px 9px;
    font-size: 10px;
  }

  .tariff-table__head {
    display: none;
  }

  .tariff-table__body {
    padding: 8px;
  }

  .tariff-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    padding: 11px;
    border-radius: 12px;
  }

  .tariff-route {
    grid-column: 1 / -1;
    padding-bottom: 2px;
  }

  .tariff-route strong {
    font-size: 15.5px;
    line-height: 1.18;
  }

  .tariff-table__row > div:not(.tariff-route) {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .tariff-table__row > div:not(.tariff-route)::before {
    color: #667085;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .tariff-table__row > div:nth-child(2)::before {
    content: "Пассажир";
  }

  .tariff-table__row > div:nth-child(3)::before {
    content: "Дети";
  }

  .tariff-table__row > div:nth-child(4)::before {
    content: "Льгота";
  }

  .tariff-table__row > div:nth-child(5)::before {
    content: "Багаж";
  }

  .tariff-table__row > div:nth-child(6)::before {
    content: "Груз";
  }

  .tariff-table__row > div:not(.tariff-route) span {
    width: 100%;
    min-height: 32px;
    justify-content: center;
    padding: 0 6px;
    border-radius: 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  .tariff-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tariff-benefits article {
    min-height: 0;
    padding: 16px;
    border-radius: 14px;
  }

  .tariff-benefits article > span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
  }

  .tariff-benefits h3 {
    margin-top: 12px;
    font-size: 20px;
  }

  .tariff-benefits li {
    font-size: 14px;
    line-height: 1.42;
  }

  .tariff-modal__footer {
    min-height: 58px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .tariff-modal__footer > span {
    min-width: 0;
    font-size: 11px;
    line-height: 1.2;
  }

  .v2-tariff-source-link {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .flight-detail__hero {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .flight-detail__badge {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
  }

  .flight-detail__badge strong {
    margin: 5px 0 8px;
    font-size: 34px;
  }

  .flight-detail-route {
    gap: 6px;
    margin-top: 11px;
    font-size: 12px;
  }

  .flight-detail-route__point {
    min-height: 26px;
    padding: 0 8px;
  }

  .flight-detail-route__line {
    width: 18px;
  }

  .flight-detail__summary,
  .content-detail__facts {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    background: transparent;
  }

  .flight-detail__summary article,
  .content-detail__facts article {
    min-height: 0;
    padding: 13px 14px;
    border: 1px solid rgba(217, 226, 236, 0.12);
    border-radius: 12px;
  }

  .flight-detail-airline > div {
    gap: 9px;
  }

  .flight-detail__summary strong,
  .content-detail__facts strong {
    margin-top: 6px;
    font-size: 19px;
  }

  .flight-detail__body,
  .content-detail__body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .flight-detail-panel,
  .flight-detail-side article,
  .content-section,
  .content-detail__footer {
    padding: 16px;
    border-radius: 14px;
  }

  .flight-detail-panel__head {
    margin-bottom: 14px;
  }

  .flight-detail-panel__head strong {
    font-size: 34px;
  }

  .flight-detail-steps {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .flight-detail-steps li {
    min-height: 42px;
    border-radius: 10px;
  }

  .flight-detail-panel h3,
  .content-section h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .flight-detail-panel ul,
  .content-section ul {
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
  }

  .flight-detail-side {
    gap: 10px;
  }

  .content-detail__sections {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-detail__footer {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    font-size: 12px;
  }

  .content-detail__footer a {
    min-height: 40px;
  }

  .content-news-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .content-news-item {
    min-height: 0;
    grid-template-columns: 108px minmax(0, 1fr);
    border-radius: 14px;
  }

  .content-news-item img {
    min-height: 150px;
  }

  .content-news-item div {
    align-content: center;
    gap: 7px;
    padding: 13px;
  }

  .content-news-item span {
    font-size: 10px;
  }

  .content-news-item strong {
    font-size: 17px;
    line-height: 1.1;
  }

  .content-news-item p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .content-legal-tabs {
    position: sticky;
    top: 0;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 9px 10px;
    scrollbar-width: none;
  }

  .content-legal-tabs::-webkit-scrollbar {
    display: none;
  }

  .content-legal-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .content-legal-doc {
    padding: 10px 10px 24px;
  }

  .content-legal-doc__inner {
    padding: 16px;
    border-radius: 14px;
  }

  .content-legal-doc p,
  .content-legal-doc li {
    font-size: 14px;
    line-height: 1.55;
  }

  .content-legal-doc table {
    display: block;
    overflow-x: auto;
  }

  html[data-theme="dark"] .tariff-table__row > div:not(.tariff-route)::before {
    color: #aeb9c7;
  }
}

@media (max-width: 430px) {
  .tariff-modal__hero,
  .flight-detail__hero,
  .content-detail__hero,
  .content-detail__hero--compact {
    min-height: 142px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .tariff-modal__hero h2,
  .flight-detail__title h2,
  .content-detail__hero h2,
  .content-detail__hero--compact h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .content-news-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .content-news-item img {
    min-height: 132px;
  }

  .tariff-table__row {
    gap: 7px;
    padding: 10px;
  }

  .tariff-table__row > div:not(.tariff-route) span {
    min-height: 30px;
    font-size: 12px;
  }
}

.v2-flight-date {
  width: fit-content;
  min-width: 64px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: 6px;
  background: rgba(255, 176, 0, 0.1);
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  justify-self: start;
}

.flight-modal__window > [data-v2-flight-content] {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.flight-modal__window > [data-v2-flight-content] .flight-detail {
  height: 100%;
  max-height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@media (min-width: 821px) {
  .tariff-modal__hero {
    min-height: 118px;
    align-items: flex-start;
    padding: 16px 24px 18px;
  }

  .tariff-modal__hero h2 {
    font-size: clamp(28px, 3vw, 42px);
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.38;
  }

  .flight-detail__hero,
  .content-detail__hero {
    min-height: 238px;
    padding: 58px 34px 26px;
  }

  .content-detail__hero {
    min-height: 248px;
    padding-top: 32px;
  }

  .content-detail__hero--compact {
    min-height: 174px;
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .content-detail--legal .content-detail__hero {
    min-height: 190px;
  }
}

@media (max-width: 820px) {
  .tariff-modal__window {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .flight-modal__window {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
  }

  .flight-modal__window > [data-v2-flight-content] {
    min-height: 0;
  }

  .tariff-modal__hero,
  .flight-detail__hero,
  .content-detail__hero,
  .content-detail__hero--compact {
    min-height: 118px;
    padding: calc(50px + env(safe-area-inset-top)) 14px 12px;
  }

  .content-detail--legal .content-detail__hero {
    min-height: 118px;
  }

  .tariff-modal__hero h2,
  .flight-detail__title h2,
  .content-detail__hero h2,
  .content-detail__hero--compact h2 {
    font-size: clamp(24px, 7.2vw, 34px);
  }

  .tariff-modal__hero p:not(.v2-kicker),
  .flight-detail__title p:not(.v2-kicker),
  .content-detail__hero p:not(.v2-kicker),
  .content-detail__hero--compact p:not(.v2-kicker) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .tariff-modal__tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tariff-table {
    border-top: 0;
    background: transparent;
  }

  .tariff-table__body {
    display: grid;
    gap: 12px;
    padding: 10px;
    background: transparent;
  }

  .tariff-table__row {
    position: relative;
    overflow: hidden;
    gap: 9px;
    border: 1px solid rgba(217, 226, 236, 0.2);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
      rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  }

  html[data-theme="light"] .tariff-table__row {
    border-color: rgba(193, 204, 218, 0.9);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
  }

  .tariff-table__row + .tariff-table__row {
    margin-top: 0;
  }

  .tariff-route {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(217, 226, 236, 0.14);
  }

  html[data-theme="light"] .tariff-route {
    border-bottom-color: rgba(193, 204, 218, 0.7);
  }

  .v2-flight-date {
    min-height: 20px;
    padding: 0 7px;
    font-size: 9.5px;
  }

  .v2-access-panel {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100dvh - 86px - env(safe-area-inset-bottom));
    overflow: auto;
    padding: 12px;
    border-radius: 16px;
    font-size: 14px !important;
    line-height: 1.18;
  }

  .v2-access-panel,
  .v2-access-panel * {
    font-size: 14px !important;
  }

  .v2-access-panel__head strong {
    font-size: 17px !important;
  }

  .v2-access-panel::before {
    right: 74px;
  }

  .v2-access-panel__group {
    gap: 8px;
    padding: 10px;
    border-radius: 13px;
  }

  .v2-access-panel__group + .v2-access-panel__group {
    margin-top: 8px;
  }

  .v2-access-size {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
  }

  .v2-access-size button {
    min-height: 38px;
  }

  .v2-access-size button[data-v2-a11y-size="normal"] {
    font-size: 16px !important;
  }

  .v2-access-size button[data-v2-a11y-size="medium"] {
    font-size: 18px !important;
  }

  .v2-access-size button[data-v2-a11y-size="large"] {
    font-size: 20px !important;
  }

  .v2-access-size button[data-v2-a11y-size="xlarge"] {
    font-size: 23px !important;
  }

  .v2-access-size button[data-v2-a11y-size="mega"] {
    font-size: 27px !important;
  }

  .v2-access-choice--scheme {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-access-choice button {
    min-height: 46px;
    padding: 6px;
  }

  .v2-access-choice b {
    width: 26px;
    height: 26px;
    font-size: 15px !important;
  }

  .v2-access-choice--scheme span {
    font-size: 11px !important;
  }

  .v2-access-option {
    min-height: 44px;
    margin-top: 8px;
  }

  .v2-access-reset {
    min-height: 42px;
  }
}

@media (max-width: 430px) {
  .tariff-table__body {
    gap: 10px;
    padding: 8px;
  }

  .tariff-table__row {
    border-radius: 15px;
  }
}

@supports (zoom: 1) {
  @media (max-width: 820px) {
    html[data-a11y-size="medium"] .v2-access-panel {
      zoom: 0.9615;
    }

    html[data-a11y-size="large"] .v2-access-panel {
      zoom: 0.9259;
    }

    html[data-a11y-size="xlarge"] .v2-access-panel {
      zoom: 0.885;
    }

    html[data-a11y-size="mega"] .v2-access-panel {
      zoom: 0.8333;
    }
  }
}

.tariff-modal__hero {
  position: relative;
  padding-right: 92px;
}

.tariff-modal__hero .v2-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
}

@media (min-width: 821px) {
  .tariff-modal__hero {
    min-height: 96px;
    padding: 12px 92px 12px 22px;
  }

  .tariff-modal__hero h2 {
    font-size: clamp(27px, 2.5vw, 38px);
    line-height: 0.98;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    max-width: 860px;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.28;
  }

  .tariff-modal__hero .v2-kicker {
    margin-bottom: 4px;
  }
}

@media (max-width: 820px) {
  .tariff-modal__hero {
    min-height: 102px;
    padding: calc(42px + env(safe-area-inset-top)) 64px 10px 14px;
  }

  .tariff-modal__hero .v2-modal-close {
    top: calc(8px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
  }
}

@media (max-width: 430px) {
  .tariff-modal__hero {
    min-height: 98px;
  }
}

.tariff-modal__window {
  --tariff-hero-height: 92px;
}

.tariff-modal__hero {
  min-height: 0 !important;
  height: var(--tariff-hero-height);
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.tariff-modal__hero > div {
  min-width: 0;
}

.tariff-modal__hero .v2-modal-close {
  top: 10px;
  right: 12px;
}

.tariff-modal__hero .v2-kicker {
  margin: 0 0 3px;
}

.tariff-modal__hero h2 {
  max-width: 860px;
  line-height: 0.98;
}

.tariff-modal__hero p:not(.v2-kicker) {
  max-width: 900px;
}

@media (min-width: 821px) {
  .tariff-modal__window {
    --tariff-hero-height: 88px;
  }
}

@media (max-width: 820px) {
  .tariff-modal__window {
    --tariff-hero-height: 78px;
    grid-template-rows: var(--tariff-hero-height) auto minmax(0, 1fr) auto !important;
  }

  .tariff-modal__hero {
    height: var(--tariff-hero-height);
    padding: calc(10px + env(safe-area-inset-top)) 62px 8px 14px !important;
  }

  .tariff-modal__hero .v2-modal-close {
    top: calc(7px + env(safe-area-inset-top));
    right: calc(9px + env(safe-area-inset-right));
  }

  .tariff-modal__hero h2 {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.22;
    -webkit-line-clamp: 1;
  }
}

@media (max-width: 430px) {
  .tariff-modal__window {
    --tariff-hero-height: 64px;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    display: none;
  }

  .tariff-modal__hero h2 {
    font-size: clamp(20px, 6.2vw, 26px);
  }
}

.tariff-modal__window {
  --tariff-hero-height: 124px;
}

.tariff-modal__hero {
  height: var(--tariff-hero-height);
  min-height: var(--tariff-hero-height) !important;
  padding: 18px 102px 16px 26px !important;
}

.tariff-modal__hero .v2-modal-close {
  top: 18px;
  right: 18px;
}

.tariff-modal__hero h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.tariff-modal__hero p:not(.v2-kicker) {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.35;
}

@media (min-width: 821px) {
  .flight-detail__hero,
  .content-detail__hero {
    min-height: 280px;
    padding: 72px 40px 32px;
  }

  .content-detail__hero {
    min-height: 290px;
    padding-top: 40px;
  }

  .content-detail__hero--compact {
    min-height: 220px;
    padding-top: 36px;
    padding-bottom: 26px;
  }

  .content-detail--legal .content-detail__hero {
    min-height: 238px;
  }
}

@media (max-width: 820px) {
  .tariff-modal__window {
    --tariff-hero-height: 112px;
    grid-template-rows: var(--tariff-hero-height) auto minmax(0, 1fr) auto !important;
  }

  .tariff-modal__hero {
    height: var(--tariff-hero-height);
    min-height: var(--tariff-hero-height) !important;
    padding: calc(14px + env(safe-area-inset-top)) 64px 12px 14px !important;
  }

  .tariff-modal__hero .v2-modal-close {
    top: calc(8px + env(safe-area-inset-top));
    right: calc(9px + env(safe-area-inset-right));
  }

  .tariff-modal__hero h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.02;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    display: -webkit-box;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.25;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .tariff-table {
    border-top: 0 !important;
    background: transparent !important;
  }

  .tariff-table__body {
    display: grid !important;
    gap: 14px !important;
    padding: 12px !important;
    background: transparent !important;
  }

  .tariff-table__row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 13px !important;
    border: 1px solid rgba(217, 226, 236, 0.22) !important;
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
      rgba(255, 255, 255, 0.045) !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18) !important;
  }

  html[data-theme="light"] .tariff-table__row {
    border-color: rgba(186, 199, 214, 0.92) !important;
    background: linear-gradient(180deg, #ffffff, #f7fafc) !important;
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.09) !important;
  }

  .tariff-table__row + .tariff-table__row {
    margin-top: 0 !important;
  }

  .tariff-route {
    grid-column: 1 / -1 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(217, 226, 236, 0.16) !important;
  }

  html[data-theme="light"] .tariff-route {
    border-bottom-color: rgba(186, 199, 214, 0.75) !important;
  }

  .tariff-table__row > div:not(.tariff-route) {
    min-height: 58px;
    padding: 8px;
    border: 1px solid rgba(217, 226, 236, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
  }

  html[data-theme="light"] .tariff-table__row > div:not(.tariff-route) {
    border-color: rgba(186, 199, 214, 0.58);
    background: #f9fbfd;
  }
}

@media (max-width: 430px) {
  .tariff-modal__window {
    --tariff-hero-height: 104px;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    display: none;
  }

  .tariff-modal__hero h2 {
    font-size: clamp(23px, 6.9vw, 29px);
  }

  .tariff-table__body {
    gap: 12px !important;
    padding: 10px !important;
  }

  .tariff-table__row {
    gap: 9px !important;
    padding: 12px !important;
  }
}

@media (max-width: 820px) {
  .tariff-table__body {
    gap: 14px !important;
    padding: 12px !important;
  }

  .tariff-table__row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .tariff-route {
    grid-column: 1 / -1 !important;
    padding-bottom: 8px !important;
  }

  .tariff-route strong {
    font-size: 15px;
    line-height: 1.14;
  }

  .tariff-route span {
    display: none;
  }

  .tariff-table__row > div:not(.tariff-route) {
    min-height: 42px;
    padding: 6px;
    border-radius: 10px;
  }

  .tariff-table__row > div:not(.tariff-route)::before {
    font-size: 8.5px;
    line-height: 1;
  }

  .tariff-table__row > div:not(.tariff-route) span {
    min-height: 27px;
    padding: 0 5px;
    border-radius: 8px;
    font-size: 11.5px;
    line-height: 1;
  }
}

@media (max-width: 340px) {
  .tariff-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 821px) {
  .tariff-modal__window {
    --tariff-hero-height: 300px;
  }

  .tariff-modal__hero {
    height: var(--tariff-hero-height);
    min-height: var(--tariff-hero-height) !important;
    align-items: center;
    padding: 70px 122px 44px 38px !important;
  }

  .tariff-modal__hero .v2-modal-close {
    top: 22px;
    right: 24px;
  }

  .tariff-modal__hero h2 {
    max-width: 980px;
    font-size: clamp(42px, 4.45vw, 72px);
    line-height: 0.96;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    max-width: 900px;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.52;
  }
}

@media (max-width: 820px) {
  .v2-service-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .v2-service-tile {
    min-height: 62px;
    grid-template-columns: 31px minmax(0, 1fr);
    padding: 9px 10px;
    column-gap: 7px;
    row-gap: 2px;
  }

  .v2-service-tile__icon {
    width: 31px;
    height: 31px;
  }

  .v2-service-tile__icon svg {
    width: 16px;
    height: 16px;
  }

  .v2-service-tile strong,
  .v2-service-tile small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v2-service-tile strong {
    font-size: 13px;
    line-height: 1.08;
  }

  .v2-service-tile small {
    font-size: 10px;
    line-height: 1.08;
  }

  .v2-flight-time {
    min-width: 0;
  }

  .v2-flight-time strong {
    display: block;
    max-width: 62px;
    overflow: hidden;
    font-size: 22px;
    line-height: 1;
    text-overflow: clip;
    white-space: nowrap;
  }

  .v2-flight-date {
    min-height: 19px;
    max-width: none;
    padding: 0 6px;
    border-color: rgba(255, 176, 0, 0.42);
    background: rgba(255, 176, 0, 0.16);
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    letter-spacing: 0;
  }

  html[data-theme="light"] .v2-flight-date {
    color: #465465;
    background: rgba(255, 176, 0, 0.16);
  }
}

@media (max-width: 370px) {
  .v2-service-tile {
    grid-template-columns: 31px minmax(0, 1fr);
    padding: 8px;
    column-gap: 7px;
  }

  .v2-service-tile__icon {
    width: 30px;
    height: 30px;
  }

  .v2-service-tile strong {
    font-size: 12.5px;
  }

  .v2-service-tile small {
    font-size: 9.5px;
  }
}

html[data-service-tiles-bottom="true"] .v2-hero__inner {
  justify-content: flex-end;
  gap: 26px;
  padding-bottom: 96px;
}

html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
  padding-bottom: 540px;
}

html[data-service-tiles-bottom="true"] .v2-hero__focus {
  order: 1;
}

html[data-service-tiles-bottom="true"] .v2-service-tiles {
  order: 2;
}

html[data-service-tiles-bottom="true"] .v2-service-tile {
  min-height: 96px;
  padding-top: 18px;
  padding-bottom: 18px;
}

html[data-service-tiles-bottom="true"] .v2-service-tile__icon {
  width: 48px;
  height: 48px;
}

html[data-service-tiles-bottom="true"] .v2-service-tile__icon svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 821px) {
  html[data-service-tiles-bottom="true"] .v2-hero,
  html[data-service-tiles-bottom="true"] .v2-hero__inner {
    min-height: 100svh;
    min-height: 100vh;
  }
}

@media (max-width: 1180px) {
  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 92px;
  }
}

@media (max-width: 820px) {
  .v2-ticket-anchor .v2-ticket-panel {
    right: 0;
    bottom: calc(100% + 12px);
    width: calc(200% + 9px);
    max-width: none;
    max-height: calc(100svh - 154px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  html[data-service-tiles-bottom="false"] .v2-ticket-anchor .v2-ticket-panel {
    top: calc(100% + 12px);
    bottom: auto;
    width: min(380px, calc(100vw - 28px));
  }

  html[data-service-tiles-bottom="true"] .v2-hero,
  html[data-service-tiles-bottom="true"] .v2-hero__inner {
    min-height: 100svh;
    min-height: 100vh;
  }

  html[data-service-tiles-bottom="true"] .v2-hero__inner {
    gap: 18px;
    padding-bottom: 64px;
  }

  html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    padding-bottom: 510px;
  }

  html[data-service-tiles-bottom="true"] .v2-service-tiles {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  html[data-service-tiles-bottom="true"] .v2-hero__focus {
    order: 1;
    margin-top: 0;
  }

  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 78px;
    padding: 12px 10px;
  }

  html[data-service-tiles-bottom="true"] .v2-service-tile__icon {
    width: 34px;
    height: 34px;
  }

  html[data-service-tiles-bottom="true"] .v2-service-tile__icon svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 430px) {
  .v2-ticket-anchor .v2-ticket-panel {
    right: 0;
    bottom: calc(100% + 10px);
    width: calc(200% + 9px);
    max-width: none;
    max-height: calc(100svh - 136px);
  }

  html[data-service-tiles-bottom="false"] .v2-ticket-anchor .v2-ticket-panel {
    top: calc(100% + 10px);
    bottom: auto;
    width: 100%;
  }

  html[data-service-tiles-bottom="true"] .v2-hero__inner {
    gap: 16px;
    padding-bottom: 58px;
  }

  html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    padding-bottom: 490px;
  }

  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 74px;
  }
}

@media (max-width: 370px) {
  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 72px;
  }
}

html[data-anniversary-logo="true"] .v2-brand {
  position: relative;
  height: 68px;
  overflow: visible;
}

html[data-anniversary-logo="true"] .v2-header__inner {
  min-height: 96px;
}

html[data-anniversary-logo="true"] .v2-brand img {
  position: absolute;
  top: 50%;
  left: -8px;
  width: 270px;
  max-width: none;
  height: 90px;
  content: url("assets/anniversary-80-mark-transparent-dark.webp") !important;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.36)) !important;
  pointer-events: none;
}

html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
  position: absolute;
  top: 76px;
  left: -8px;
  display: block;
  width: 270px;
  color: var(--v2-anniversary-title-color, #ffc13a);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

html[data-theme="light"][data-header-solid="true"][data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization,
html[data-theme="light"][data-anniversary-logo="true"][data-anniversary-name="true"] .v2-header.is-scrolled .v2-brand__organization {
  color: var(--v2-anniversary-title-color, #8c5200);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
}

html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
  top: 76px;
  left: 0;
  width: 280px;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
}

@media (min-width: 1200px) {
  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
    top: 78px;
    width: 560px;
    color: var(--v2-anniversary-title-color, #ffd05a);
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.015em;
    text-align: left;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 78px;
    left: 0;
    width: 280px;
    max-width: 280px;
    font-size: 15px;
    line-height: 1.04;
    text-align: center;
    white-space: normal;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-service-tiles-bottom="false"] .v2-hero__inner {
    padding-top: 136px;
  }

  html[data-theme="light"][data-header-solid="true"][data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization,
  html[data-theme="light"][data-anniversary-logo="true"][data-anniversary-name="true"] .v2-header.is-scrolled .v2-brand__organization {
    color: var(--v2-anniversary-title-color, #8c5200);
  }
}

@media (min-width: 1100px) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 130px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand {
    height: 120px;
    align-self: center;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand img {
    top: 0;
    height: 88px;
    transform: none;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 88px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header :is(.v2-nav, .v2-header__actions) {
    position: relative;
    top: 0;
  }
}

html[data-theme="light"][data-header-solid="true"][data-anniversary-logo="true"] .v2-brand img,
html[data-theme="light"][data-anniversary-logo="true"] .v2-header.is-scrolled .v2-brand img {
  content: url("assets/anniversary-80-mark-transparent.webp") !important;
}

.v2-anniversary-hero-logo {
  position: absolute;
  top: clamp(265px, 28vh, 330px);
  left: 50%;
  z-index: 12;
  width: clamp(520px, 42vw, 780px);
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.v2-anniversary-hero-logo[hidden] {
  display: none;
}

.v2-anniversary-hero-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.3));
}

.v2-anniversary-name-center {
  position: absolute;
  top: clamp(245px, 25vh, 340px);
  left: 50%;
  z-index: 12;
  width: min(1120px, calc(100% - 80px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
  transform: translateX(-50%);
  color: #fff7e5;
  pointer-events: none;
}

.v2-anniversary-name-center[hidden] {
  display: none;
}

.v2-anniversary-name-center strong {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 2.05vw, 42px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0.018em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82), 0 1px 2px rgba(0, 0, 0, 0.95);
}

.v2-anniversary-name-center i {
  width: clamp(70px, 8vw, 150px);
  height: 2px;
  flex: 0 1 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffb000);
  box-shadow: 0 0 18px rgba(255, 176, 0, 0.42);
}

.v2-anniversary-name-center i:last-child {
  background: linear-gradient(90deg, #ffb000, transparent);
}

html[data-theme="light"] .v2-anniversary-name-center strong {
  color: #fff9ed;
}

.v2-anniversary-name-wide {
  position: absolute;
  top: calc(clamp(245px, 25.5vh, 320px) + var(--v2-anniversary-title-offset, 0px));
  left: 50%;
  z-index: 12;
  width: min(1650px, calc(100vw - 120px));
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.v2-anniversary-name-wide[hidden] {
  display: none;
}

.v2-anniversary-name-wide strong {
  width: 100%;
  color: var(--v2-anniversary-title-color, #ffffff);
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: min(var(--v2-anniversary-title-font-size, 50px), 3.25vw);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.78), 0 1px 3px rgba(0, 0, 0, 0.96);
}

html[data-theme="light"] .v2-anniversary-name-wide strong {
  color: var(--v2-anniversary-title-color, #ffffff);
}

.v2-anniversary-title-color-setting {
  padding: 10px 11px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.1);
}

.v2-anniversary-title-color-setting .v2-marker-color-setting__choices {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.v2-anniversary-title-text-setting {
  display: grid;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}

.v2-anniversary-title-text-setting > span {
  display: grid;
  gap: 3px;
}

.v2-anniversary-title-text-setting b {
  color: #ffffff;
  font-size: 12px;
}

.v2-anniversary-title-text-setting small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  line-height: 1.3;
}

.v2-anniversary-title-text-setting input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(4, 11, 19, 0.72);
  color: #ffffff;
  font: 800 13px/1.2 "Segoe UI", Arial, sans-serif;
  outline: none;
}

.v2-anniversary-title-text-setting input:focus {
  border-color: rgba(255, 176, 0, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.12);
}

@media (max-width: 820px) {
  html[data-anniversary-logo="true"] .v2-header__inner {
    min-height: 82px;
  }

  html[data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 98px;
  }

  html[data-anniversary-name-style="under-logo-stacked"][data-service-tiles-bottom="false"] .v2-hero__inner {
    padding-top: 112px;
  }

  html[data-anniversary-logo="true"] .v2-brand img {
    left: -6px;
    width: 225px;
    height: 75px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
    top: 67px;
    left: -6px;
    width: 225px;
    font-size: min(var(--v2-anniversary-name-font-size, 15px), 2.2vw);
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 68px;
    left: -6px;
    width: 225px;
    max-width: 225px;
    font-size: min(var(--v2-anniversary-name-font-size, 15px), 4vw);
    line-height: 1.08;
    text-align: center;
    white-space: normal;
  }
}

@media (min-width: 821px) and (max-width: 1199px) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"][data-service-tiles-bottom="false"] .v2-hero__inner {
    padding-top: 136px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .v2-anniversary-hero-logo {
    top: 325px;
    width: min(480px, 60vw);
  }

  .v2-anniversary-name-center {
    top: 370px;
    width: calc(100% - 64px);
  }

  .v2-anniversary-name-center strong {
    font-size: clamp(22px, 3vw, 30px);
  }

  .v2-anniversary-name-wide {
    top: calc(320px + var(--v2-anniversary-title-offset, 0px));
    width: calc(100% - 54px);
  }

  .v2-anniversary-name-wide strong {
    font-size: min(var(--v2-anniversary-title-font-size, 50px), 3.25vw);
    letter-spacing: 0.012em;
  }
}

@media (min-width: 1200px) {
  html[data-desktop-board-tight="true"][data-ticket-panel-visible="false"]:not([data-hero-caption="true"]) .v2-hero__focus {
    display: none !important;
  }

  html[data-desktop-board-tight="true"] .v2-board-wrap,
  html[data-desktop-board-tight="true"][data-board-peek="true"] .v2-board-wrap {
    z-index: 40;
    margin-top: calc(-100svh + 220px + var(--v2-service-tiles-offset, 0px)) !important;
  }

  html[data-desktop-board-tight="true"][data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-board-wrap,
  html[data-desktop-board-tight="true"][data-anniversary-logo="true"][data-anniversary-composite-logo="true"][data-board-peek="true"] .v2-board-wrap {
    margin-top: calc(-100svh + var(--v2-anniversary-composite-desktop-hero-top, 194px) + 92px + var(--v2-service-tiles-offset, 0px)) !important;
  }
}

@media (max-width: 767px) {
  .v2-anniversary-hero-logo {
    top: 470px;
    width: min(330px, calc(100% - 42px));
  }

  .v2-anniversary-name-center {
    top: 390px;
    width: calc(100% - 34px);
    gap: 10px;
  }

  .v2-anniversary-name-center strong {
    font-size: clamp(15px, 4.2vw, 20px);
  }

  .v2-anniversary-name-center i {
    width: 28px;
  }

  .v2-anniversary-name-wide {
    top: calc(405px + var(--v2-anniversary-title-offset, 0px));
    width: calc(100% - 24px);
  }

  .v2-anniversary-name-wide strong {
    font-size: min(var(--v2-anniversary-title-font-size, 50px), 3.55vw);
    letter-spacing: 0;
  }
}

@media (max-width: 430px) {
  html[data-anniversary-logo="true"] .v2-header__inner {
    min-height: 78px;
  }

  html[data-anniversary-logo="true"] :is(#flights, #services, #passengers, #contacts) {
    scroll-margin-top: 90px;
  }

  html[data-anniversary-logo="true"] .v2-brand img {
    left: -4px;
    width: 196px;
    height: 66px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
    top: 61px;
    left: -4px;
    width: 196px;
    font-size: min(var(--v2-anniversary-name-font-size, 15px), 2.2vw);
    letter-spacing: 0;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 62px;
    left: -4px;
    width: 196px;
    max-width: 196px;
    font-size: min(var(--v2-anniversary-name-font-size, 15px), 4vw);
    line-height: 1.08;
    text-align: center;
    white-space: normal;
  }
}

/* Content registry: lazy mega menu, site search and Basic / Full views */
.v2-nav__loading {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.v2-nav-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.v2-nav-menu > button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 0;
  border-radius: var(--v2-radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--v2-header-menu-font-size, 14px);
  font-weight: 850;
  cursor: pointer;
}

.v2-nav-menu > button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.18s ease;
}

.v2-nav-menu:is(:hover, :focus-within, .is-open) > button {
  background: #fff1dd;
  color: var(--v2-red);
}

.v2-nav-menu.is-open > button svg,
.v2-nav-menu:focus-within > button svg {
  transform: rotate(180deg);
}

.v2-nav-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 120;
  width: min(760px, 78vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 176, 0, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(17, 27, 40, 0.98), rgba(7, 13, 21, 0.98));
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.v2-nav-menu:nth-last-child(-n + 2) .v2-nav-menu__panel {
  right: 0;
  left: auto;
  transform: translateY(8px);
}

.v2-nav-menu:is(:hover, :focus-within, .is-open) .v2-nav-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.v2-nav-menu:nth-last-child(-n + 2):is(:hover, :focus-within, .is-open) .v2-nav-menu__panel {
  transform: translateY(0);
}

.v2-nav-menu__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v2-nav-menu__head span {
  color: var(--v2-yellow);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v2-nav-menu__head small {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 800;
}

.v2-nav-menu__grid {
  display: block;
  columns: 2;
  column-gap: 4px;
  max-height: min(590px, calc(100vh - 190px));
  overflow: auto;
  padding-top: 8px;
  scrollbar-width: thin;
}

.v2-nav-menu__grid > button {
  position: relative;
  width: 100%;
  display: grid;
  gap: 4px;
  min-height: 66px;
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  break-inside: avoid;
}

.v2-nav-menu__grid > button:hover,
.v2-nav-menu__grid > button:focus-visible {
  border-color: rgba(255, 176, 0, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.v2-nav-menu__grid span {
  font-size: 14px;
  font-weight: 900;
}

.v2-nav-menu__grid small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-site-search-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: var(--v2-radius);
  background: rgba(10, 18, 28, 0.72);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.v2-site-search-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--v2-yellow);
  stroke-width: 2;
}

.v2-site-search-button:hover,
.v2-site-search-button:focus-visible {
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(255, 176, 0, 0.12);
}

html[data-theme="light"] .v2-site-search-button {
  border-color: rgba(16, 24, 32, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: #101820;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.12);
}

html[data-theme="light"] .v2-site-search-button:hover,
html[data-theme="light"] .v2-site-search-button:focus-visible {
  border-color: rgba(255, 176, 0, 0.58);
  background: rgba(255, 255, 255, 0.98);
}

.content-detail__hero--site {
  min-height: 300px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 176, 0, 0.2), transparent 30%),
    radial-gradient(circle at 72% 88%, rgba(255, 31, 45, 0.15), transparent 34%),
    linear-gradient(135deg, #101820, #17283c 64%, #0a111a);
}

.content-detail__viewbar {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid #d9e0ea;
  background: rgba(245, 247, 249, 0.96);
  backdrop-filter: blur(16px);
}

.content-detail__viewbar button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  font-weight: 950;
  cursor: pointer;
}

.content-detail__viewbar button.is-active {
  border-color: #101820;
  background: #101820;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.18);
}

.content-detail__viewbar small {
  margin-left: auto;
  color: #667085;
  font-weight: 800;
}

.content-detail__migration-note {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 176, 0, 0.34);
  border-radius: 14px;
  background: #fff8e8;
  color: #5f4510;
}

.content-detail__migration-note strong {
  color: #8a4800;
  font-size: 16px;
}

.content-detail__migration-note span {
  line-height: 1.5;
}

.content-detail__footer--internal button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--v2-radius);
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  font-weight: 950;
  cursor: pointer;
}

.content-detail__footer--actions-only {
  justify-content: flex-end;
}

.content-search {
  min-height: 100%;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 6vw, 96px) 48px;
  background:
    radial-gradient(circle at 90% 2%, rgba(255, 176, 0, 0.16), transparent 28%),
    linear-gradient(145deg, #f8fafc, #eef2f7);
}

.content-search > header {
  max-width: 960px;
}

.content-search h2 {
  margin: 8px 0 14px;
  color: #101820;
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: 0.94;
}

.content-search > header > p:not(.v2-kicker) {
  max-width: 760px;
  margin: 0;
  color: #667085;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 760;
  line-height: 1.5;
}

.content-search__form {
  max-width: 1080px;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 8px 8px 8px 22px;
  border: 2px solid transparent;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.13);
}

.content-search__form:focus-within {
  border-color: var(--v2-orange);
}

.content-search__form svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #667085;
  stroke-width: 2;
}

.content-search__form input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101820;
  font: inherit;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 850;
}

.content-search__form button {
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  font-weight: 950;
  cursor: pointer;
}

.content-search__meta {
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 10px;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.content-search__results {
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.content-search-result {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 20px 58px 20px 20px;
  border: 1px solid #d9e0ea;
  border-radius: 16px;
  background: #ffffff;
  color: #101820;
  text-align: left;
  box-shadow: 0 16px 38px rgba(16, 24, 32, 0.07);
  cursor: pointer;
  text-decoration: none;
}

.content-search-result:hover,
.content-search-result:focus-visible {
  border-color: rgba(255, 121, 0, 0.62);
  transform: translateY(-2px);
}

.content-search-result > span {
  color: #a34a00;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.content-search-result strong {
  font-size: 20px;
  line-height: 1.12;
}

.content-search-result small {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
}

.content-search-result i {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--v2-orange);
  font-size: 26px;
  font-style: normal;
  font-weight: 900;
}

.content-search-empty {
  grid-column: 1 / -1;
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed #b9c3d0;
  border-radius: 16px;
  color: #667085;
  font-weight: 800;
  text-align: center;
}

html[data-theme="dark"] .content-search {
  background:
    radial-gradient(circle at 90% 2%, rgba(255, 176, 0, 0.12), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(255, 31, 45, 0.08), transparent 34%),
    linear-gradient(145deg, #0d141d, #090f16);
  color: #f4f8fc;
}

html[data-theme="dark"] .content-search h2 {
  color: #f4f8fc;
}

html[data-theme="dark"] .content-search > header > p:not(.v2-kicker),
html[data-theme="dark"] .content-search__meta {
  color: #aeb9c7;
}

html[data-theme="dark"] .content-search__form {
  border-color: rgba(217, 226, 236, 0.14);
  background: #151e29;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .content-search__form:focus-within {
  border-color: var(--v2-orange);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 0 4px rgba(255, 176, 0, 0.08);
}

html[data-theme="dark"] .content-search__form svg {
  stroke: #aeb9c7;
}

html[data-theme="dark"] .content-search__form input {
  color: #f4f8fc;
  caret-color: var(--v2-yellow);
}

html[data-theme="dark"] .content-search__form input::placeholder {
  color: #7f8c9c;
}

html[data-theme="dark"] .content-search-result {
  border-color: rgba(217, 226, 236, 0.16);
  background: #151e29;
  color: #f4f8fc;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .content-search-result:hover,
html[data-theme="dark"] .content-search-result:focus-visible {
  border-color: rgba(255, 176, 0, 0.62);
  background: #192534;
}

html[data-theme="dark"] .content-search-result > span {
  color: #ffc44d;
}

html[data-theme="dark"] .content-search-result small {
  color: #aeb9c7;
}

html[data-theme="dark"] .content-search-empty {
  border-color: rgba(217, 226, 236, 0.28);
  color: #aeb9c7;
}

@media (max-width: 1440px) {
  .v2-nav-menu > button {
    padding-inline: 6px;
    font-size: 12px;
  }

  .v2-site-search-button span {
    display: none;
  }

  .v2-site-search-button {
    width: 42px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 1380px) and (min-width: 1181px) {
  .v2-phone {
    display: none;
  }

  .v2-brand {
    width: 190px;
    min-width: 160px;
  }
}

@media (max-width: 1180px) {
  .v2-site-search-button {
    display: none;
  }

  .v2-mobile-panel.is-open {
    max-height: min(78vh, 760px);
    overflow: auto;
  }

  .v2-mobile-nav {
    display: grid;
    gap: 4px;
  }

  .v2-mobile-nav > a,
  .v2-mobile-nav > button,
  .v2-mobile-nav summary,
  .v2-mobile-nav details button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid var(--v2-line);
    background: transparent;
    color: var(--v2-ink);
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
  }

  .v2-mobile-nav__search {
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange)) !important;
    color: #101820 !important;
  }

  .v2-mobile-nav summary {
    justify-content: space-between;
    list-style: none;
  }

  .v2-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .v2-mobile-nav summary span {
    min-width: 28px;
    min-height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 176, 0, 0.16);
    color: #9c4b00;
    font-size: 11px;
  }

  .v2-mobile-nav details div {
    display: grid;
    padding-left: 14px;
  }

  .v2-mobile-nav details button {
    min-height: 42px;
    color: var(--v2-muted);
    font-size: 13px;
    font-weight: 800;
  }
}

@media (max-width: 820px) {
  .content-detail__viewbar {
    min-height: 62px;
    overflow-x: auto;
    padding: 9px 12px;
  }

  .content-detail__viewbar button {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 14px;
  }

  .content-detail__viewbar small {
    display: none;
  }

  .content-search {
    padding: 76px 14px 28px;
  }

  .content-search h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .content-search__form {
    min-height: 64px;
    grid-template-columns: auto 1fr;
    padding: 8px 14px;
  }

  .content-search__form button {
    grid-column: 1 / -1;
    min-height: 48px;
  }

  .content-search__results {
    grid-template-columns: 1fr;
  }

  .content-search-result {
    min-height: 130px;
  }

  .content-detail__footer--internal {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Standalone full-site menu opened by the header Menu button */
.v2-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 525;
  visibility: hidden;
  pointer-events: none;
}

.v2-menu-overlay__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 176, 0, 0.16), transparent 30%),
    rgba(2, 7, 12, 0.78);
  opacity: 0;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.v2-menu-overlay__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(1320px, calc(100% - 56px));
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 176, 0, 0.14), transparent 28%),
    radial-gradient(circle at 4% 82%, rgba(255, 31, 45, 0.1), transparent 30%),
    linear-gradient(145deg, #111c29, #07101a 72%);
  color: #ffffff;
  box-shadow: -36px 0 100px rgba(0, 0, 0, 0.44);
  transform: translateX(102%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-menu-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.v2-menu-overlay.is-open .v2-menu-overlay__backdrop {
  opacity: 1;
}

.v2-menu-overlay.is-open .v2-menu-overlay__panel {
  transform: translateX(0);
}

.v2-menu-overlay.is-open.has-child-modal .v2-menu-overlay__panel {
  transform: translateX(0) scale(0.985);
  filter: saturate(0.82) brightness(0.78);
}

body:has(.v2-menu-overlay.has-child-modal) .content-modal__backdrop,
body:has(.v2-menu-overlay.has-child-modal) .tariff-modal__backdrop {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 176, 0, 0.13), transparent 32%),
    rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(10px);
}

.v2-menu-overlay__head {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(20px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-menu-overlay__brand {
  width: 210px;
  display: inline-flex;
}

.v2-menu-overlay__brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  content: url("assets/logo-wide-white.png");
}

html[data-anniversary-logo="true"] .v2-menu-overlay__brand img {
  content: url("assets/anniversary-80-mark-transparent.webp");
}

.v2-menu-overlay__head > div {
  display: grid;
  gap: 3px;
}

.v2-menu-overlay__head > div span {
  color: var(--v2-yellow);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.v2-menu-overlay__head > div strong {
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1;
}

.v2-menu-overlay__close {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.v2-menu-overlay__close:hover,
.v2-menu-overlay__close:focus-visible {
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(255, 176, 0, 0.12);
  transform: rotate(6deg);
}

.v2-menu-overlay__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.v2-menu-overlay__tools {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) 1.3fr;
  gap: 12px;
  padding: 16px clamp(20px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 9, 15, 0.36);
}

.v2-menu-overlay__search {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 176, 0, 0.26);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 176, 0, 0.14), rgba(255, 121, 0, 0.06));
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.v2-menu-overlay__search > svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--v2-yellow);
  stroke-width: 2;
}

.v2-menu-overlay__search > span {
  display: grid;
  gap: 4px;
}

.v2-menu-overlay__search strong {
  font-size: 16px;
}

.v2-menu-overlay__search small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 750;
}

.v2-menu-overlay__search i {
  color: var(--v2-yellow);
  font-size: 25px;
  font-style: normal;
}

.v2-menu-overlay__quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.v2-menu-overlay__quick a {
  min-height: 70px;
  display: flex;
  align-items: flex-end;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.v2-menu-overlay__quick a:hover,
.v2-menu-overlay__quick a:focus-visible {
  border-color: rgba(255, 176, 0, 0.48);
  background: rgba(255, 176, 0, 0.1);
  color: #ffffff;
}

.v2-menu-overlay__content {
  overflow: auto;
  padding: 22px clamp(20px, 3vw, 42px) 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 176, 0, 0.46) rgba(255, 255, 255, 0.05);
}

.v2-menu-overlay__loading {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 850;
}

.v2-menu-overlay__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v2-menu-section {
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.v2-menu-section--wide {
  grid-column: span 2;
}

.v2-menu-section > header {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.v2-menu-section > header > span {
  color: var(--v2-yellow);
  font-size: 11px;
  font-weight: 950;
}

.v2-menu-section > header > strong {
  font-size: 17px;
}

.v2-menu-section > header > small {
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 176, 0, 0.11);
  color: #ffd77a;
  font-size: 10px;
  font-weight: 900;
}

.v2-menu-section__links {
  display: grid;
  padding: 7px;
}

.v2-menu-section--wide .v2-menu-section__links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 7px;
}

.v2-menu-section__links button {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 790;
  text-align: left;
  cursor: pointer;
}

.v2-menu-section__links button:hover,
.v2-menu-section__links button:focus-visible {
  border-color: rgba(255, 176, 0, 0.2);
  background: rgba(255, 255, 255, 0.065);
  color: #ffffff;
}

.v2-menu-section__links button i {
  color: var(--v2-orange);
  font-size: 16px;
  font-style: normal;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.v2-menu-section__links button:hover i,
.v2-menu-section__links button:focus-visible i {
  opacity: 1;
  transform: translateX(0);
}

.v2-menu-overlay__footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px clamp(20px, 3vw, 42px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 9, 15, 0.58);
}

.v2-menu-overlay__footer > div {
  display: grid;
  gap: 3px;
}

.v2-menu-overlay__footer span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.v2-menu-overlay__footer a {
  color: var(--v2-yellow);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.v2-menu-overlay__footer > small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 750;
}

html[data-a11y-motion="true"] .v2-menu-overlay__panel,
html[data-a11y-motion="true"] .v2-menu-overlay__backdrop {
  transition: none;
}

@media (max-width: 980px) {
  .v2-menu-overlay__panel {
    width: min(880px, calc(100% - 24px));
  }

  .v2-menu-overlay__tools {
    grid-template-columns: 1fr;
  }

  .v2-menu-overlay__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .v2-menu-overlay__panel {
    width: 100%;
    border-left: 0;
  }

  .v2-menu-overlay__head {
    min-height: 74px;
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }

  .v2-menu-overlay__brand {
    display: none;
  }

  .v2-menu-overlay__close {
    width: 44px;
    height: 44px;
  }

  .v2-menu-overlay__tools,
  .v2-menu-overlay__content {
    padding-inline: 12px;
  }

  .v2-menu-overlay__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-menu-overlay__quick a {
    min-height: 54px;
  }

  .v2-menu-overlay__grid,
  .v2-menu-section--wide .v2-menu-section__links {
    grid-template-columns: 1fr;
  }

  .v2-menu-section--wide {
    grid-column: auto;
  }

  .v2-menu-overlay__footer {
    min-height: 70px;
    gap: 16px;
    padding-inline: 14px;
  }

  .v2-menu-overlay__footer > small {
    display: none;
  }
}

/* Premium two-level menu: large categories on the left, selected content on the right */
.v2-menu-overlay__panel {
  width: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 0;
  background: #0b141f;
}

.v2-menu-overlay__head {
  min-height: 104px;
  padding-inline: clamp(22px, 4vw, 70px);
  background: #0b141f;
}

.v2-menu-overlay__brand {
  width: 250px;
}

.v2-menu-overlay__brand img {
  height: 68px;
}

.v2-menu-overlay__head > div span {
  font-size: 12px;
}

.v2-menu-overlay__head > div strong {
  font-size: clamp(28px, 2.4vw, 42px);
}

.v2-menu-overlay__close {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 176, 0, 0.32);
}

.v2-menu-overlay__content {
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.v2-premium-menu {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(620px, 1.42fr);
}

.v2-premium-menu__categories {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(30px, 4vh, 52px) clamp(28px, 4vw, 68px);
  background:
    linear-gradient(180deg, rgba(7, 15, 24, 0.73), rgba(7, 15, 24, 0.97)),
    url("assets/hero-slide-terminal.jpg") center / cover;
}

.v2-premium-menu__categories::after {
  content: "NARYAN-MAR";
  position: absolute;
  right: -24px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(70px, 8vw, 148px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.8;
  pointer-events: none;
  white-space: nowrap;
}

.v2-premium-menu__intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 18px;
  margin-bottom: clamp(24px, 3vh, 42px);
}

.v2-premium-menu__intro > span {
  color: var(--v2-yellow);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-premium-menu__intro > strong {
  grid-row: span 2;
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(62px, 6vw, 108px);
  line-height: 0.72;
  letter-spacing: -0.07em;
}

.v2-premium-menu__intro p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.5;
}

.v2-premium-menu__tabs {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  flex: 1;
}

.v2-premium-menu__tabs button {
  min-height: clamp(66px, 8vh, 94px);
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, padding 0.2s ease;
}

.v2-premium-menu__tabs button:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.v2-premium-menu__tabs button > small {
  color: rgba(255, 176, 0, 0.58);
  font-size: 11px;
  font-weight: 950;
}

.v2-premium-menu__tabs button > span {
  font-size: clamp(26px, 2.45vw, 46px);
  font-weight: 860;
  letter-spacing: -0.035em;
  line-height: 1;
}

.v2-premium-menu__tabs button > i {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.v2-premium-menu__tabs button:hover,
.v2-premium-menu__tabs button:focus-visible,
.v2-premium-menu__tabs button.is-active {
  padding-left: 14px;
  color: #ffffff;
}

.v2-premium-menu__tabs button.is-active > span {
  color: var(--v2-yellow);
}

.v2-premium-menu__tabs button.is-active > i {
  border-color: var(--v2-yellow);
  background: var(--v2-yellow);
  color: #101820;
  box-shadow: 0 0 34px rgba(255, 176, 0, 0.24);
}

.v2-premium-menu__workspace {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 98% 0%, rgba(255, 176, 0, 0.13), transparent 25%),
    #f3f0e9;
  color: #101820;
}

.v2-premium-menu__actions {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) auto;
  gap: 12px;
  padding: clamp(22px, 3vh, 36px) clamp(24px, 4vw, 64px) 18px;
}

.v2-premium-menu__search {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 18px;
  background: #ffffff;
  color: #101820;
  text-align: left;
  box-shadow: 0 22px 58px rgba(16, 24, 32, 0.09);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v2-premium-menu__search:hover,
.v2-premium-menu__search:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(16, 24, 32, 0.15);
}

.v2-premium-menu__search svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--v2-orange);
  stroke-width: 2;
}

.v2-premium-menu__search > span {
  display: grid;
  gap: 4px;
}

.v2-premium-menu__search small {
  color: #8b5a0a;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.v2-premium-menu__search strong {
  font-size: clamp(18px, 1.55vw, 27px);
}

.v2-premium-menu__search > i {
  font-size: 28px;
  font-style: normal;
}

.v2-premium-menu__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 7px;
}

.v2-premium-menu__quick a {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  color: #344054;
  font-size: 12px;
  font-weight: 920;
  text-decoration: none;
}

.v2-premium-menu__quick a:hover,
.v2-premium-menu__quick a:focus-visible {
  border-color: rgba(255, 121, 0, 0.48);
  background: #ffffff;
  color: #101820;
}

.v2-premium-menu__panels {
  min-height: 0;
  overflow: hidden;
}

.v2-premium-menu__panel {
  height: 100%;
  overflow: auto;
  padding: 18px clamp(24px, 4vw, 64px) 52px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 121, 0, 0.45) rgba(16, 24, 32, 0.06);
}

.v2-premium-menu__panel[hidden] {
  display: none;
}

.v2-premium-menu__panel > header {
  max-width: 840px;
  margin-bottom: 24px;
}

.v2-premium-menu__panel > header > span {
  color: #a85c00;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-premium-menu__panel h2 {
  margin: 8px 0 10px;
  color: #101820;
  font-size: clamp(48px, 5vw, 86px);
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.v2-premium-menu__panel > header p {
  max-width: 720px;
  margin: 0;
  color: #667085;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 720;
  line-height: 1.45;
}

.v2-premium-menu__links {
  display: block;
  columns: 2;
  column-gap: 10px;
}

.v2-premium-menu__links > button {
  width: 100%;
  min-height: 118px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: start;
  gap: 13px;
  margin: 0 0 10px;
  padding: 19px;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #101820;
  text-align: left;
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.045);
  cursor: pointer;
  break-inside: avoid;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.v2-premium-menu__links > button:hover,
.v2-premium-menu__links > button:focus-visible {
  border-color: rgba(255, 121, 0, 0.42);
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(16, 24, 32, 0.11);
  transform: translateY(-3px);
}

.v2-premium-menu__links > button > small {
  color: #b06a0d;
  font-size: 11px;
  font-weight: 950;
}

.v2-premium-menu__links > button > span {
  display: grid;
  gap: 8px;
}

.v2-premium-menu__links > button strong {
  color: #101820;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.08;
}

.v2-premium-menu__links > button em {
  display: -webkit-box;
  overflow: hidden;
  color: #7b8797;
  font-size: 12px;
  font-style: normal;
  font-weight: 690;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.v2-premium-menu__links > button > i {
  color: var(--v2-orange);
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
}

.v2-menu-overlay__footer {
  padding-inline: clamp(22px, 4vw, 70px);
}

@media (max-width: 1120px) {
  .v2-premium-menu {
    grid-template-columns: 350px 1fr;
  }

  .v2-premium-menu__categories {
    padding-inline: 28px;
  }

  .v2-premium-menu__actions {
    grid-template-columns: 1fr;
  }

  .v2-premium-menu__quick {
    grid-template-columns: repeat(3, 1fr);
  }

  .v2-premium-menu__quick a {
    min-height: 52px;
  }
}

@media (max-width: 820px) {
  .v2-menu-overlay__head {
    min-height: 78px;
    padding-inline: 14px;
  }

  .v2-menu-overlay__brand {
    display: none;
  }

  .v2-menu-overlay__head {
    grid-template-columns: 1fr auto;
  }

  .v2-menu-overlay__close {
    width: 48px;
    height: 48px;
  }

  .v2-menu-overlay__content {
    overflow: auto;
  }

  .v2-premium-menu {
    height: auto;
    display: block;
  }

  .v2-premium-menu__categories {
    min-height: auto;
    padding: 22px 14px 16px;
    background: linear-gradient(145deg, #101c29, #07101a);
  }

  .v2-premium-menu__categories::after,
  .v2-premium-menu__intro p {
    display: none;
  }

  .v2-premium-menu__intro {
    grid-template-columns: 1fr auto;
    margin-bottom: 16px;
  }

  .v2-premium-menu__intro > strong {
    grid-row: auto;
    font-size: 48px;
  }

  .v2-premium-menu__tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .v2-premium-menu__tabs button,
  .v2-premium-menu__tabs button:first-child {
    min-width: max-content;
    min-height: 50px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
  }

  .v2-premium-menu__tabs button > small {
    display: none;
  }

  .v2-premium-menu__tabs button > span {
    font-size: 16px;
  }

  .v2-premium-menu__tabs button > i {
    min-width: 25px;
    min-height: 25px;
  }

  .v2-premium-menu__tabs button:hover,
  .v2-premium-menu__tabs button:focus-visible,
  .v2-premium-menu__tabs button.is-active {
    padding-left: 14px;
  }

  .v2-premium-menu__workspace {
    display: block;
    overflow: visible;
  }

  .v2-premium-menu__actions {
    padding: 14px;
  }

  .v2-premium-menu__search {
    min-height: 70px;
  }

  .v2-premium-menu__panels {
    overflow: visible;
  }

  .v2-premium-menu__panel {
    height: auto;
    overflow: visible;
    padding: 16px 14px 36px;
  }

  .v2-premium-menu__panel h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .v2-premium-menu__links {
    display: grid;
    grid-template-columns: 1fr;
    columns: initial;
    gap: 10px;
  }

  .v2-premium-menu__links > button {
    min-height: 104px;
  }
}

/* Adjustable board reveal on the first screen, measured in complete rows. */
.v2-board-height-setting {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 176, 0, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.v2-board-height-setting > span,
.v2-board-height-setting > small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.v2-board-height-setting > span > small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}

.v2-board-height-setting__control {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v2-board-height-setting__control.is-active {
  border-color: rgba(255, 176, 0, 0.7);
  background: rgba(255, 176, 0, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.18);
}

.v2-board-height-setting__control.is-active::after {
  content: "этот экран";
  position: absolute;
  top: 9px;
  left: 50%;
  color: rgba(255, 224, 106, 0.72);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.v2-board-height-setting__control > span,
.v2-board-height-setting__control > small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.v2-board-height-setting b {
  color: #ffffff;
  font-size: 12px;
}

.v2-board-height-setting output {
  color: var(--v2-yellow);
  font-size: 11px;
  font-weight: 950;
}

.v2-board-height-setting input[type="range"] {
  width: 100%;
  accent-color: var(--v2-yellow);
  cursor: pointer;
}

.v2-anniversary-wide-controls[hidden] {
  display: none;
}

[data-v2-anniversary-wide-only][hidden] {
  display: none !important;
}

.v2-board-height-setting small i {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.v2-board-glass-style-setting,
.v2-board-switch-style-setting {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 176, 0, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.v2-board-glass-style-setting > span,
.v2-board-switch-style-setting > span {
  display: grid;
  gap: 3px;
}

.v2-board-glass-style-setting b,
.v2-board-switch-style-setting b {
  color: #ffffff;
  font-size: 12px;
}

.v2-board-glass-style-setting small,
.v2-board-switch-style-setting small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1.35;
}

.v2-board-switch-style-setting > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.v2-board-switch-style-setting button {
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.v2-board-switch-style-setting button[aria-pressed="true"] {
  border-color: rgba(255, 176, 0, 0.72);
  background: linear-gradient(135deg, var(--v2-yellow), var(--v2-orange));
  color: #101820;
  box-shadow: 0 10px 24px rgba(255, 121, 0, 0.16);
}

.v2-heading-scale-setting > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v2-anniversary-name-setting > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v2-anniversary-name-setting button:disabled {
  border-style: dashed;
  color: rgba(255, 255, 255, 0.36);
  cursor: not-allowed;
  opacity: 0.72;
}

.v2-heading-scale-setting button {
  padding-inline: 5px;
}

.v2-board-glass-style-setting > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.v2-board-glass-style-setting button {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.v2-board-glass-style-setting button:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.v2-board-glass-style-setting button > i {
  position: relative;
  width: 32px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(255, 176, 0, 0.88) 36% 48%, transparent 48%),
    rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.v2-board-glass-style-setting button[data-v2-board-glass-style="blur"] > i {
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(255, 176, 0, 0.58) 28% 56%, transparent 56%),
    rgba(255, 255, 255, 0.3);
  filter: blur(0.35px);
}

.v2-board-glass-style-setting button[data-v2-board-glass-style="adaptive"] > i {
  background: linear-gradient(90deg, #f8fafc 0 50%, rgba(10, 18, 28, 0.5) 50%);
}

.v2-board-glass-style-setting button[data-v2-board-glass-style="dark"] > i {
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(255, 176, 0, 0.9) 36% 48%, transparent 48%),
    rgba(6, 13, 22, 0.88);
}

.v2-board-glass-style-setting button[data-v2-board-glass-style="frosted"] > i {
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255, 176, 0, 0.62) 38% 46%, transparent 46%),
    rgba(239, 245, 250, 0.82);
}

.v2-board-glass-style-setting button > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v2-board-glass-style-setting button > span b {
  font-size: 10px;
  line-height: 1.15;
}

.v2-board-glass-style-setting button > span small {
  font-size: 8.5px;
  line-height: 1.25;
}

.v2-board-glass-style-setting button[aria-pressed="true"] {
  border-color: rgba(255, 176, 0, 0.72);
  background: rgba(255, 176, 0, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.35), 0 10px 22px rgba(255, 121, 0, 0.1);
}

.v2-board-glass-style-setting button[aria-pressed="true"] > i {
  border-color: rgba(255, 176, 0, 0.92);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.12);
}

.v2-marker-color-setting {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 176, 0, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.v2-marker-color-setting > span {
  display: grid;
  gap: 3px;
}

.v2-marker-color-setting b {
  color: #ffffff;
  font-size: 12px;
}

.v2-marker-color-setting small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1.35;
}

.v2-marker-color-setting__choices {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
}

.v2-marker-color-setting__choices > button,
.v2-marker-color-setting__custom {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.v2-marker-color-setting__choices > button::before {
  content: "";
  width: 24px;
  height: 8px;
  border-radius: 999px;
  background: var(--marker-swatch);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--marker-swatch) 42%, transparent);
}

.v2-marker-color-setting__choices > button[aria-pressed="true"] {
  border-color: var(--marker-swatch);
  background: color-mix(in srgb, var(--marker-swatch) 18%, transparent);
  box-shadow: inset 0 0 0 1px var(--marker-swatch);
}

.v2-marker-color-setting__custom.is-active {
  border-color: rgba(255, 176, 0, 0.82);
  background: rgba(255, 176, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.5);
}

.v2-marker-color-setting__custom {
  position: relative;
  gap: 1px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8px;
  font-weight: 900;
}

.v2-marker-color-setting__custom input {
  width: 25px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.v2-marker-color-setting__custom input::-webkit-color-swatch-wrapper { padding: 0; }
.v2-marker-color-setting__custom input::-webkit-color-swatch { border: 0; border-radius: 5px; }
.v2-marker-color-setting__custom input::-moz-color-swatch { border: 0; border-radius: 5px; }

html[data-board-peek="true"] .v2-board-wrap {
  margin-top: var(--v2-board-peek-margin, -394px) !important;
}

html[data-board-sticky-header="true"] .v2-board {
  overflow: visible;
  overflow-anchor: none;
}

html[data-board-sticky-header="true"] .v2-board__hero {
  position: sticky;
  top: var(--v2-fixed-header-height, 68px);
  z-index: 82;
  border-radius: var(--v2-radius) var(--v2-radius) 0 0;
  background: rgba(248, 250, 253, 0.94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 14px 32px rgba(16, 24, 32, 0.12);
}

html[data-board-sticky-header="true"] .v2-board__columns {
  position: sticky;
  top: var(--v2-board-sticky-columns-top, 186px);
  z-index: 81;
  box-shadow: 0 10px 22px rgba(16, 24, 32, 0.08);
}

html[data-board-sticky-header="true"] .v2-board__body,
html[data-board-sticky-header="true"] .v2-board__foot {
  overflow: hidden;
}

html[data-board-sticky-header="true"] .v2-board__foot {
  border-radius: 0 0 var(--v2-radius) var(--v2-radius);
}

html[data-theme="dark"][data-board-sticky-header="true"] .v2-board__hero {
  background: rgba(12, 20, 30, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

html[data-board-translucent="true"] .v2-board {
  opacity: 1;
  background: rgba(245, 248, 252, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-board-translucent="true"] .v2-board__hero,
html[data-board-translucent="true"] .v2-board__columns,
html[data-board-translucent="true"] .v2-flight-row {
  background: rgba(255, 255, 255, 0.24);
}

html[data-board-translucent="true"] .v2-board__body {
  background: transparent;
}

html[data-board-translucent="true"] .v2-service-tile {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.24) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-board-translucent="true"] .v2-service-tile:hover,
html[data-board-translucent="true"] .v2-service-tile:focus-visible {
  background: rgba(255, 255, 255, 0.34) !important;
}

html[data-theme="light"][data-board-translucent="true"] .v2-board {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: #05090e;
  box-shadow: 0 28px 76px rgba(16, 24, 32, 0.2);
}

html[data-theme="light"][data-board-translucent="true"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"] .v2-board__columns,
html[data-theme="light"][data-board-translucent="true"] .v2-flight-row {
  border-color: rgba(16, 24, 32, 0.1);
  background: rgba(255, 255, 255, 0.3);
  color: #05090e;
}

html[data-theme="light"][data-board-translucent="true"] .v2-board__columns,
html[data-theme="light"][data-board-translucent="true"] :is(.v2-flight-time, .v2-flight-destination, .v2-flight-status) small,
html[data-theme="light"][data-board-translucent="true"] .v2-board__time > span,
html[data-theme="light"][data-board-translucent="true"] .v2-board__time small span,
html[data-theme="light"][data-board-translucent="true"] .v2-board-local-filter__text small {
  color: #1b2632;
}

html[data-theme="light"][data-board-translucent="true"] .v2-board__switch button.is-active,
html[data-theme="light"][data-board-translucent="true"] .v2-board__time,
html[data-theme="light"][data-board-translucent="true"] .v2-board__search-toggle {
  color: #05090e;
}

html[data-theme="light"][data-board-translucent="true"] .v2-board-local-filter {
  border-color: rgba(16, 24, 32, 0.14);
  background: rgba(255, 255, 255, 0.3);
  color: #05090e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 16px 34px rgba(16, 24, 32, 0.14);
}

html[data-theme="light"][data-board-translucent="true"] .v2-board-local-filter__control {
  border-color: rgba(16, 24, 32, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

html[data-theme="light"][data-board-translucent="true"][data-board-switch-style="toggle"] .v2-board__switch {
  border-color: rgba(16, 24, 32, 0.14);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 18px 44px rgba(16, 24, 32, 0.14);
}

html[data-theme="light"][data-board-translucent="true"][data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
  color: #334253;
}

html[data-theme="light"][data-board-translucent="true"][data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane).is-active {
  background: rgba(255, 176, 0, 0.24);
  color: #05090e;
  box-shadow: inset 0 0 0 1px rgba(181, 113, 0, 0.32);
}

html[data-theme="light"][data-board-translucent="true"] .v2-service-tile {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.3) !important;
  color: #05090e !important;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.14);
}

html[data-theme="light"][data-board-translucent="true"] .v2-service-tile small {
  color: #1b2632 !important;
}

html[data-theme="light"][data-board-translucent="true"] .v2-service-tile strong {
  color: #05090e !important;
}

html[data-theme="light"][data-board-translucent="true"] .v2-flight-date {
  border-color: rgba(132, 79, 0, 0.46);
  background: rgba(255, 203, 92, 0.52);
  color: #05090e !important;
  font-weight: 1000;
}

html[data-theme="light"][data-board-translucent="true"] :is(
  .v2-flight-time strong,
  .v2-flight-destination strong,
  .v2-flight-code,
  .v2-airline strong,
  .v2-board__time strong,
  .v2-board-local-filter__text strong
) {
  color: #05090e;
}

html[data-theme="light"][data-board-translucent="true"] .v2-service-tile:hover,
html[data-theme="light"][data-board-translucent="true"] .v2-service-tile:focus-visible {
  background: rgba(255, 255, 255, 0.42) !important;
}

html[data-theme="dark"][data-board-translucent="true"] .v2-board {
  background: rgba(8, 14, 22, 0.16);
}

html[data-theme="dark"][data-board-translucent="true"] .v2-board__hero,
html[data-theme="dark"][data-board-translucent="true"] .v2-board__columns,
html[data-theme="dark"][data-board-translucent="true"] .v2-flight-row {
  background: rgba(10, 18, 28, 0.3);
}

html[data-theme="dark"][data-board-translucent="true"] .v2-board__body {
  background: transparent;
}

html[data-theme="dark"][data-board-translucent="true"] .v2-service-tile {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 18, 28, 0.3) !important;
  color: #ffffff !important;
}

html[data-theme="dark"][data-board-translucent="true"] .v2-service-tile small {
  color: rgba(255, 255, 255, 0.76) !important;
}

html[data-theme="dark"][data-board-translucent="true"] .v2-service-tile:hover,
html[data-theme="dark"][data-board-translucent="true"] .v2-service-tile:focus-visible {
  background: rgba(10, 18, 28, 0.42) !important;
}

html[data-board-sticky-header="true"][data-board-translucent="true"] .v2-board__hero,
html[data-board-sticky-header="true"][data-board-translucent="true"] .v2-board__columns {
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-theme="dark"][data-board-sticky-header="true"][data-board-translucent="true"] .v2-board__hero,
html[data-theme="dark"][data-board-sticky-header="true"][data-board-translucent="true"] .v2-board__columns {
  background: rgba(10, 18, 28, 0.34);
}

html[data-board-sticky-header="true"][data-board-sticky-active="true"] .v2-board__hero,
html[data-board-sticky-header="true"][data-board-sticky-active="true"] .v2-board__columns {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* The premium menu follows the selected site theme. */
html[data-theme="dark"] .v2-premium-menu__workspace {
  background:
    radial-gradient(circle at 98% 0%, rgba(255, 176, 0, 0.13), transparent 28%),
    linear-gradient(145deg, #101c29 0%, #07101a 100%);
  color: #f8fafc;
}

html[data-theme="dark"] .v2-premium-menu__search {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(20, 33, 47, 0.96);
  color: #ffffff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .v2-premium-menu__search:hover,
html[data-theme="dark"] .v2-premium-menu__search:focus-visible {
  border-color: rgba(255, 176, 0, 0.42);
  background: #182737;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .v2-premium-menu__search small,
html[data-theme="dark"] .v2-premium-menu__panel > header > span,
html[data-theme="dark"] .v2-premium-menu__links > button > small {
  color: #ffbd2e;
}

html[data-theme="dark"] .v2-premium-menu__quick a {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: #dbe4ee;
}

html[data-theme="dark"] .v2-premium-menu__quick a:hover,
html[data-theme="dark"] .v2-premium-menu__quick a:focus-visible {
  border-color: rgba(255, 176, 0, 0.5);
  background: rgba(255, 176, 0, 0.11);
  color: #ffffff;
}

html[data-theme="dark"] .v2-premium-menu__panel {
  scrollbar-color: rgba(255, 176, 0, 0.5) rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .v2-premium-menu__panel h2,
html[data-theme="dark"] .v2-premium-menu__links > button strong {
  color: #ffffff;
}

html[data-theme="dark"] .v2-premium-menu__panel > header p,
html[data-theme="dark"] .v2-premium-menu__links > button em {
  color: #9eacbb;
}

html[data-theme="dark"] .v2-premium-menu__links > button {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

html[data-theme="dark"] .v2-premium-menu__links > button:hover,
html[data-theme="dark"] .v2-premium-menu__links > button:focus-visible {
  border-color: rgba(255, 176, 0, 0.46);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

/* Optional single control for departure / arrival. */
.v2-board-toggle-plane {
  display: none !important;
}

html[data-board-switch-style="toggle"] .v2-board__switch {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) 64px minmax(104px, 1fr);
  align-items: center;
  gap: 0;
  width: min(100%, 430px);
  padding: 6px;
  border: 1px solid rgba(217, 226, 236, 0.14);
  border-radius: 999px;
  background: rgba(9, 16, 25, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"][data-board-switch-style="toggle"] .v2-board__switch {
  border-color: rgba(16, 24, 32, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #ffffff, 0 18px 44px rgba(16, 24, 32, 0.12);
}

html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
  min-height: 56px;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8f9baa;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
}

html[data-theme="light"][data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
  color: #758194;
}

html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane).is-active {
  color: #ffffff;
}

html[data-theme="light"][data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane).is-active {
  color: #101820;
}

html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) > svg,
html[data-board-switch-style="toggle"] .v2-board__switch > button::after {
  display: none;
}

html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  min-height: 58px;
  display: grid !important;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 176, 0, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 38%),
    #111c29;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 176, 0, 0.1), 0 12px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: none;
}

html[data-board-switch-style="toggle"] .v2-board-toggle-plane img {
  width: 43px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: rotate(-17deg);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-board-switch-style="toggle"] .v2-board__switch[data-board-active="arrival"] .v2-board-toggle-plane img {
  transform: rotate(17deg);
}

html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane):hover,
html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane):focus-visible {
  color: var(--v2-yellow);
  transform: none;
}

html[data-board-switch-style="toggle"] .v2-board-toggle-plane:hover,
html[data-board-switch-style="toggle"] .v2-board-toggle-plane:focus-visible {
  border-color: var(--v2-yellow);
  box-shadow: 0 0 0 7px rgba(255, 176, 0, 0.14), 0 16px 34px rgba(0, 0, 0, 0.32);
  transform: scale(1.04);
}

@media (max-width: 820px) {
  html[data-board-switch-style="toggle"] .v2-board__switch {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    width: 100%;
    padding: 5px;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
    min-height: 52px;
    padding: 0 8px;
    font-size: clamp(19px, 6vw, 26px);
  }

  html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
    width: 50px;
    height: 50px;
    min-height: 50px;
  }

  html[data-board-switch-style="toggle"] .v2-board-toggle-plane img {
    width: 38px;
    height: 22px;
  }
}

@media (max-width: 820px) {
  .board-modal__toolbar .board-modal__local-filter,
  .board-modal__toolbar .board-modal__time,
  .board-modal__toolbar .board-modal__tabs,
  .board-modal__toolbar .board-modal__search-toggle {
    grid-area: auto;
  }

  .board-modal__toolbar .board-modal__local-filter,
  .board-modal__toolbar .board-modal__time,
  .board-modal__toolbar .board-modal__tabs { width: 100%; }

  .board-modal__toolbar .board-modal__time {
    justify-self: stretch;
  }
}

/* Downloadable materials and image galleries inside migrated site pages. */
.content-resources,
.content-gallery {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.content-resources > header,
.content-gallery > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
}

.content-resources > header span,
.content-gallery > header span {
  color: #667085;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-resources > header strong,
.content-gallery > header strong {
  color: var(--v2-orange);
  font-size: 22px;
}

.content-resources > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.content-resources a {
  min-height: 104px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 16px;
  background: #ffffff;
  color: #101820;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.content-resources a:hover,
.content-resources a:focus-visible {
  border-color: rgba(255, 121, 0, 0.48);
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.12);
  transform: translateY(-2px);
}

.content-resources a > small {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 5px;
  border-radius: 11px;
  background: var(--v2-yellow);
  color: #101820;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.content-resources a > span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.content-resources a strong {
  font-size: 15px;
  line-height: 1.25;
}

.content-resources a em {
  color: #7b8797;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.content-resources a > i {
  color: var(--v2-orange);
  font-size: 20px;
  font-style: normal;
}

.content-resources--collapsible > .content-resources__groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.content-resources__group {
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.content-resources__group > summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  color: #101820;
  cursor: pointer;
  list-style: none;
}

.content-resources__group > summary::-webkit-details-marker {
  display: none;
}

.content-resources__group > summary > span {
  display: grid;
  gap: 4px;
}

.content-resources__group > summary small {
  color: #a85c00;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-resources__group > summary strong {
  font-size: clamp(19px, 2vw, 27px);
}

.content-resources__group > summary > i {
  min-width: 43px;
  min-height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #101820;
  color: #ffffff;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.content-resources__group[open] > summary > i {
  background: var(--v2-yellow);
  color: #101820;
  transform: rotate(360deg);
}

.content-resources__group > .content-resources__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 10px 10px;
}

html[data-theme="dark"] .content-resources__group {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .content-resources__group > summary {
  color: #ffffff;
}

html[data-theme="dark"] .content-resources__group > summary small {
  color: #ffbd2e;
}

.content-gallery > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.content-gallery a {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #101820;
  color: #ffffff;
  text-decoration: none;
}

.content-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #eef1f5;
  transition: transform 0.35s ease;
}

.content-gallery a:hover img,
.content-gallery a:focus-visible img {
  transform: scale(1.025);
}

.content-gallery a span {
  position: absolute;
  inset: auto 12px 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(7, 16, 26, 0.86);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .content-resources > header,
html[data-theme="dark"] .content-gallery > header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .content-resources > header span,
html[data-theme="dark"] .content-gallery > header span {
  color: #9eacbb;
}

html[data-theme="dark"] .content-resources a {
  border-color: rgba(255, 255, 255, 0.1);
  background: #14212f;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .content-resources a em {
  color: #9eacbb;
}

@media (max-width: 820px) {
  .content-resources > div,
  .content-gallery > div {
    grid-template-columns: 1fr;
  }

  .content-resources__group > .content-resources__list {
    grid-template-columns: 1fr;
  }

  .content-resources a {
    grid-template-columns: 48px 1fr auto;
  }

  .content-gallery a {
    min-height: 230px;
  }
}

/* Mobile overlays: compact page headers, predictable board controls and search fields. */
@media (max-width: 820px) {
  .content-detail--site-page .content-detail__hero--site {
    min-height: 0;
    justify-content: flex-start;
    padding: calc(12px + env(safe-area-inset-top)) 14px 18px;
  }

  .content-detail--site-page .content-detail__hero--site > div {
    width: 100%;
    max-width: none;
  }

  .content-detail--site-page .content-detail__hero--site .v2-kicker {
    min-height: 46px;
    display: flex;
    align-items: center;
    margin: 0 58px 8px 0;
  }

  .content-detail--site-page .content-detail__hero--site h2 {
    max-width: 100%;
    font-size: clamp(27px, 8.5vw, 36px);
    line-height: 1.02;
  }

  .content-detail--site-page .content-detail__hero--site p:not(.v2-kicker) {
    margin-top: 10px;
  }

  .board-modal__shell {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .board-modal__hero {
    min-height: 0;
    padding: calc(12px + env(safe-area-inset-top)) 68px 12px 14px;
  }

  .board-modal__hero .v2-kicker {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .board-modal__hero h2 {
    max-width: 100%;
    font-size: clamp(25px, 7.8vw, 34px);
    line-height: 1.02;
  }

  .board-modal__hero p:last-child {
    display: none;
  }

  .board-modal__close {
    top: calc(8px + env(safe-area-inset-top));
    right: calc(9px + env(safe-area-inset-right));
  }

  .board-modal__toolbar {
    grid-template-columns: minmax(0, 1fr) 52px;
    grid-template-areas:
      "tabs tabs"
      "local search";
    gap: 8px;
    padding: 10px;
  }

  .board-modal__toolbar .board-modal__tabs {
    grid-area: tabs;
    width: 100%;
  }

  .board-modal__toolbar .board-modal__local-filter {
    grid-area: local;
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .board-modal__toolbar .board-modal__time {
    display: none;
  }

  .board-modal__toolbar .board-modal__search-toggle {
    grid-area: search;
    width: 52px;
    height: 52px;
    min-height: 52px;
    justify-self: stretch;
  }

  .board-modal__body {
    min-height: 0;
    display: grid;
    grid-auto-rows: minmax(94px, auto);
    align-content: start;
    gap: 7px;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .board-modal__body .v2-flight-row:first-child {
    border-top: 1px solid rgba(217, 226, 236, 0.12);
  }

  .board-modal__body .v2-flight-row {
    min-height: 94px;
    align-self: start;
  }

  .board-modal__foot {
    min-height: 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    font-size: 11px;
  }

  .v2-board__search {
    min-height: 132px;
    grid-template-rows: 54px 44px;
    align-items: stretch;
  }

  .v2-board.is-search-open .v2-board__hero {
    height: 152px;
    min-height: 152px;
  }

  .v2-board__search > svg {
    top: 39px;
    transform: translateY(-50%);
  }

  .board-modal__search-panel {
    inset: 8px;
    grid-template-rows: 48px 46px;
    align-items: stretch;
    gap: 6px;
    padding: 8px;
  }

  .board-modal__search-panel > svg {
    top: 32px;
    transform: translateY(-50%);
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane).is-active {
    background: rgba(255, 176, 0, 0.16);
    color: var(--v2-yellow);
    box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.28);
  }

  html[data-theme="light"][data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane).is-active {
    background: #fff1c7;
    color: #744700;
  }
}

.content-loading__dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.content-loading__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v2-yellow);
  animation: content-loading-pulse 1s ease-in-out infinite;
}

.content-loading__dots i:nth-child(2) { animation-delay: 0.14s; }
.content-loading__dots i:nth-child(3) { animation-delay: 0.28s; }

@keyframes content-loading-pulse {
  0%, 100% { opacity: 0.28; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .content-loading__dots i { animation: none; opacity: 0.72; }
}

html[data-a11y-motion="true"] .content-loading__dots i { animation: none; opacity: 0.72; }

.site-blocked-notice {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 10, 16, 0.96);
  color: #ffffff;
  text-align: center;
}

.site-blocked-notice > div {
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 176, 0, 0.4);
  border-radius: 20px;
  background: #101923;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.site-blocked-notice strong {
  display: block;
  color: var(--v2-yellow);
  font-size: clamp(28px, 5vw, 46px);
}

.site-blocked-notice p {
  margin: 14px 0 0;
  color: #c8d0dc;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .service-modal__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schedule-calendar-year { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .schedule-modal__toolbar { grid-template-columns: 1fr; }
  .schedule-modal__toolbar .tariff-modal__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-modal__toolbar { padding: 10px; overflow-x: auto; }
  .service-modal__tabs { min-width: 580px; grid-template-columns: repeat(6, minmax(88px, 1fr)); }
  .service-modal__tabs button { min-height: 42px; padding: 0 9px; font-size: 11px; }
  .service-modal-page { gap: 12px; }
  .service-modal-page > header { padding: 16px; border-radius: 12px; }
  .service-modal-page > header h3 { font-size: 25px; }
  .service-modal-page > header p { font-size: 13px; }
  .schedule-list__summary { display: grid; gap: 4px; padding: 12px 13px; }
  .schedule-list__head { display: none; }
  .schedule-row { min-height: 0; grid-template-columns: 92px minmax(0, 1fr); gap: 10px 12px; padding: 13px; border-radius: 13px; }
  .schedule-row__time strong { font-size: 21px; }
  .schedule-row__route strong { font-size: 15px; }
  .schedule-row__route span { font-size: 11px; line-height: 1.35; }
  .schedule-row__meta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0 0; border-top: 1px solid #e0e6ed; border-left: 0; }
  .schedule-row__meta span,
  .schedule-row__meta strong { margin: 0; font-size: 11px; }
  .schedule-row__status { margin: 0 0 0 auto; font-size: 9px; }
  html[data-theme="dark"] .schedule-row__meta { border-top-color: rgba(217, 226, 236, 0.16); }

  .schedule-calendar-modal { padding: 0; }
  .schedule-calendar-modal__window { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .schedule-calendar-modal__hero { min-height: 0; padding: calc(14px + env(safe-area-inset-top)) 14px 14px; gap: 12px; }
  .schedule-calendar-modal__hero h2 { font-size: clamp(21px, 6vw, 27px); }
  .schedule-calendar-modal__facts { font-size: 10px; line-height: 1.45; }
  .schedule-calendar-modal__facts > span + span::before { margin: 0 6px; }
  .schedule-calendar-modal__time { gap: 5px; }
  .schedule-calendar-modal__time small { font-size: 8px; }
  .schedule-calendar-modal__time strong { font-size: 16px; }
  .schedule-calendar-modal__hero p:last-child { gap: 4px; }
  .schedule-calendar-modal__dates { font-size: 11px; line-height: 1.35; }
  .schedule-calendar-modal__hero .v2-modal-close { width: 44px; height: 44px; }
  .schedule-calendar-modal__content { padding: 10px 10px calc(18px + env(safe-area-inset-bottom)); }
  .schedule-calendar-legend { position: sticky; top: 0; z-index: 2; margin-bottom: 9px; padding: 10px 12px; border-radius: 10px; }
  .schedule-calendar-legend__keys { gap: 7px 12px; }
  .schedule-calendar-legend span { gap: 6px; font-size: 11px; }
  .schedule-calendar-year { grid-template-columns: 1fr; gap: 9px; }
  .schedule-calendar-month { padding: 13px; border-radius: 12px; opacity: 0.46; }
  .schedule-calendar-month.has-flights { opacity: 1; }
  .schedule-calendar-month__days span { min-height: 38px; font-size: 14px; }
  .schedule-calendar-month__week i { font-size: 10px; }
}

/* Компактный фильтр табло всегда остаётся одной строкой. */
.v2-board-local-filter.v2-board-scope-filter {
  grid-template-columns: 0.7fr 1fr 1.35fr;
}

@media (max-width: 820px) {
  .v2-board-local-filter.v2-board-scope-filter,
  .board-modal__toolbar .board-modal__local-filter.v2-board-scope-filter {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    display: grid;
    grid-template-columns: 0.62fr 0.9fr 1.28fr;
    gap: 3px;
    padding: 4px;
    border-radius: 14px;
  }

  .v2-board-local-filter.v2-board-scope-filter button {
    min-width: 0;
    min-height: 40px;
    padding: 0 4px;
    font-size: 10.5px;
  }
}

/* Selectable board glass styles. Text and status badges always stay opaque. */
html[data-board-translucent="true"][data-board-glass-style="blur"] .v2-board,
html[data-board-translucent="true"][data-board-glass-style="blur"] .v2-service-tile {
  -webkit-backdrop-filter: blur(22px) saturate(1.14);
  backdrop-filter: blur(22px) saturate(1.14);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-board {
  border-color: rgba(16, 24, 32, 0.12);
  background: #f5f7fa;
  color: #101820;
  box-shadow: 0 24px 64px rgba(16, 24, 32, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-board__columns {
  border-color: rgba(16, 24, 32, 0.1);
  background: #f1f4f7;
  color: #101820;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-board__body,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-flight-row {
  background: #ffffff;
  color: #101820;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-service-tile {
  border-color: rgba(16, 24, 32, 0.1);
  background: #ffffff !important;
  color: #101820 !important;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.13);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-service-tile:hover,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"] .v2-service-tile:focus-visible {
  background: #fff8e8 !important;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"][data-board-sticky-header="true"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="adaptive"][data-board-sticky-header="true"] .v2-board__columns {
  background: #f1f4f7;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 14, 22, 0.22);
  color: #ffffff;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board__columns,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-flight-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 28, 0.34);
  color: #ffffff;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board__body {
  background: transparent;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] :is(
  .v2-flight-time strong,
  .v2-flight-destination strong,
  .v2-flight-code,
  .v2-airline strong,
  .v2-board__time strong,
  .v2-board-local-filter__text strong,
  .v2-board__switch button.is-active,
  .v2-board__search-toggle
) {
  color: #ffffff;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] :is(
  .v2-board__columns,
  .v2-flight-time small,
  .v2-flight-destination small,
  .v2-flight-status small,
  .v2-board__time > span,
  .v2-board__time small span,
  .v2-board-local-filter__text small,
  .v2-board__switch > button:not(.is-active)
) {
  color: #b8c2cf;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board-local-filter,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"][data-board-switch-style="toggle"] .v2-board__switch,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board__search {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 28, 0.42);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-board-local-filter__control {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

/* Navigation, schedule and optional home-section controls. */
.schedule-visibility-filter {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--v2-panel) 86%, transparent);
}

.schedule-visibility-filter button {
  min-height: 38px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--v2-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.schedule-visibility-filter button.is-active {
  background: var(--v2-yellow);
  color: #111923;
  box-shadow: 0 8px 20px rgba(255, 176, 0, 0.18);
}

.v2-screen-section-setting {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--v2-line);
}

.v2-screen-section-setting > span,
.v2-header-navigation-setting > span {
  display: grid;
  gap: 2px;
}

.v2-screen-section-setting > span small,
.v2-header-navigation-setting > span small {
  color: var(--v2-muted);
  font-size: 10px;
}

.v2-contact-social {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.v2-contact-social[hidden] { display: none; }

.v2-contact-social .v2-footer-social__link {
  border: 1px solid var(--v2-line);
  background: var(--v2-panel);
  color: var(--v2-text);
}

.v2-board-temperature {
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 64px;
  padding-left: 12px;
  border-left: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  line-height: 1;
}

.v2-board-temperature[hidden] { display: none; }
.v2-board-temperature b { font-size: clamp(18px, 1.5vw, 25px); font-weight: 950; }
.v2-board-temperature small { margin-top: 4px; color: var(--v2-muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }

.v2-header-menu-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

html[data-theme="light"] .v2-board-scope-filter button:not(.is-active) {
  color: #4b5870;
  opacity: 1;
}

html[data-theme="light"] .v2-board-scope-filter button:not(.is-active):hover,
html[data-theme="light"] .v2-board-scope-filter button:not(.is-active):focus-visible {
  color: #101827;
}

@media (min-width: 1025px) {
  html[data-header-navigation="dropdown"] .v2-nav-menu:hover .v2-nav-menu__panel,
  html[data-header-navigation="dropdown"] .v2-nav-menu:focus-within .v2-nav-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu:nth-last-child(-n + 2):hover .v2-nav-menu__panel,
  html[data-header-navigation="dropdown"] .v2-nav-menu:nth-last-child(-n + 2):focus-within .v2-nav-menu__panel {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .schedule-visibility-filter { width: 100%; }
  .v2-contact-social { justify-content: flex-start; }
  .v2-board-temperature { min-width: 52px; padding-left: 8px; }
  .v2-board-temperature small { display: none; }
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-service-tile {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 18, 28, 0.34) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-service-tile :is(strong, small) {
  color: #ffffff !important;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-service-tile small {
  opacity: 0.76;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-service-tile:hover,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"] .v2-service-tile:focus-visible {
  background: rgba(10, 18, 28, 0.48) !important;
}

/* Refined screen settings: grouped, wider and context-aware. */
.v2-access-panel--screen {
  width: min(720px, calc(100vw - 28px));
  padding: 18px;
}

.v2-screen-settings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.v2-settings-admin-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(88, 211, 106, 0.34);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(88, 211, 106, 0.13), rgba(255, 176, 0, 0.07));
}

.v2-settings-admin-notice[hidden] { display: none; }
.v2-settings-admin-notice > div { min-width: 0; display: grid; gap: 4px; }
.v2-settings-admin-notice strong { color: #a9f5b3; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.v2-settings-admin-notice span { color: #ffffff; font-size: 11px; line-height: 1.45; }
.v2-settings-admin-notice small { color: rgba(255,255,255,.62); font-size: 10px; }
.v2-settings-admin-notice small[data-state="loading"] { color: #b9dcff; }
.v2-settings-admin-notice small[data-state="success"] { color: #a9f5b3; }
.v2-settings-admin-notice small[data-state="error"] { color: #ffb9bf; }
.v2-settings-admin-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(169,245,179,.38); border-radius: 10px; background: rgba(7,14,21,.38); color: #fff; font-size: 11px; font-weight: 900; text-decoration: none; white-space: nowrap; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.v2-settings-admin-link:hover { border-color: rgba(169,245,179,.72); background: rgba(88,211,106,.13); transform: translateY(-1px); }
.v2-settings-admin-link span { color: #a9f5b3; font-size: 15px; }

@media (max-width: 620px) {
  .v2-settings-admin-notice { grid-template-columns: 1fr; }
  .v2-settings-admin-link { width: 100%; }
}

.v2-settings-force-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 176, 0, 0.32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 176, 0, 0.11), rgba(255, 121, 0, 0.06));
}

.v2-settings-force-reset[hidden] { display: none; }
.v2-settings-force-reset > span { display: grid; gap: 3px; min-width: 0; color: #fff; }
.v2-settings-force-reset > span b { font-size: 12px; }
.v2-settings-force-reset > span small { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.4; }
.v2-settings-force-reset > button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid var(--v2-yellow);
  border-radius: 10px;
  background: var(--v2-yellow);
  color: #101820;
  font: 800 11px/1 var(--v2-font);
  cursor: pointer;
}
.v2-settings-force-reset > button:hover { background: #ffc13b; }
.v2-settings-force-reset > button:disabled { cursor: wait; opacity: .58; }

.v2-screen-settings-category {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.v2-screen-settings-category > summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

.v2-screen-settings-category > summary::-webkit-details-marker { display: none; }
.v2-screen-settings-category > summary > span { display: grid; gap: 3px; }
.v2-screen-settings-category > summary b { font-size: 13px; }
.v2-screen-settings-category > summary small { color: rgba(255, 255, 255, 0.58); font-size: 10px; line-height: 1.3; }
.v2-screen-settings-category > summary > i {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 176, 0, 0.12);
}
.v2-screen-settings-category > summary > i::before { content: "+"; color: var(--v2-yellow); font-style: normal; font-size: 20px; line-height: 1; }
.v2-screen-settings-category[open] > summary > i::before { content: "−"; }
.v2-screen-settings-category[open] > summary { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }

.v2-screen-settings-category__body {
  display: grid;
  gap: 9px;
  padding: 11px;
}

.v2-screen-settings-category__body > .v2-access-check {
  min-height: 44px;
  margin-top: 0;
  padding-block: 7px;
}

.v2-screen-settings-category__body > .v2-access-check > span {
  font-size: 12px;
  font-weight: 780;
  line-height: 1.28;
}

.v2-screen-settings-dependent {
  display: grid;
  gap: 9px;
}

.v2-screen-settings-dependent[hidden] { display: none; }
.v2-screen-settings-category .v2-screen-section-setting { padding-top: 0; border-top: 0; }

/* Light board controls keep real contrast on translucent photography. */
html[data-theme="light"] .v2-board-scope-filter button:not(.is-active) {
  color: #172231 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .v2-board-temperature b,
html[data-theme="light"] .v2-board-temperature small {
  color: #111923 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

/* In the light header, menu-mode navigation reads as one calm text row. */
html[data-theme="light"][data-header-navigation="menu"] .v2-header-menu-link {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111923;
  box-shadow: none;
}

html[data-theme="light"][data-header-navigation="menu"] .v2-header-menu-link:hover,
html[data-theme="light"][data-header-navigation="menu"] .v2-header-menu-link:focus-visible {
  background: transparent;
  color: #b32420;
}

html[data-header-navigation="menu"] .v2-nav > :is(.v2-header-menu-link, a) {
  min-height: 40px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
}

html[data-theme="light"][data-header-navigation="menu"] .v2-nav > a {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111923;
  box-shadow: none;
}

html[data-theme="light"][data-header-navigation="menu"] .v2-nav > a:hover,
html[data-theme="light"][data-header-navigation="menu"] .v2-nav > a:focus-visible {
  background: transparent;
  color: #b32420;
}

html[data-theme="light"][data-header-navigation="menu"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) .v2-header-menu-link,
html[data-theme="light"][data-header-navigation="menu"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) .v2-nav > a {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

html[data-theme="light"][data-header-navigation="menu"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) :is(.v2-header-menu-link, .v2-nav > a):hover,
html[data-theme="light"][data-header-navigation="menu"]:not([data-header-solid="true"]) .v2-header:not(.is-scrolled) :is(.v2-header-menu-link, .v2-nav > a):focus-visible {
  color: #ffd36a;
}

body.is-site-menu-open .site-ai {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Панель начинается сразу под кнопкой без мёртвого зазора. */
.v2-nav-menu__panel { top: calc(100% - 1px); }
.v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__panel { width: min(1040px, 90vw); }
.v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
}

/* Compact footer social buttons move to the top-right of contacts. */
.v2-contact-social {
  position: absolute;
  top: -62px;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
}

.v2-contact-social .v2-footer-social__link {
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 176, 0, 0.88);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffc538 0%, #ff8a00 100%);
  color: #101820 !important;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

.v2-contact-social .v2-footer-social__link::before,
.v2-contact-social .v2-footer-social__link::after { content: none; }
.v2-contact-social .v2-footer-social__link svg { width: 21px; height: 21px; }
.v2-contact-social .v2-footer-social__link:hover,
.v2-contact-social .v2-footer-social__link:focus-visible {
  border-color: #ffd36a;
  background: linear-gradient(145deg, #ffd76e 0%, #ff9d19 100%);
  color: #101820 !important;
  box-shadow: 0 15px 34px rgba(255, 138, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

/* Preserve alternating sections when optional middle blocks are hidden. */
html[data-home-intermediate-sections="false"] .v2-news {
  border-top: 12px solid #2b3540;
  background: linear-gradient(180deg, #18222d 0%, #111922 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 32px 70px rgba(255, 255, 255, 0.025);
}

html[data-theme="light"][data-home-intermediate-sections="false"] .v2-news {
  border-top-color: #cfd8e2;
  background: linear-gradient(180deg, #dfe6ed 0%, #eef3f7 100%);
}

@media (max-width: 820px) {
  .v2-access-panel--screen { width: min(540px, calc(100vw - 18px)); padding: 12px; }
  .v2-screen-settings-layout { grid-template-columns: 1fr; }
  .v2-settings-force-reset { align-items: stretch; flex-direction: column; }
  .v2-settings-force-reset > button { width: 100%; }
  .v2-contact-social { position: static; justify-content: flex-start; margin-top: 18px; }
  .v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__grid { grid-template-columns: 1fr; }
  .flight-detail-panel__head > strong { font-size: 38px; }
  .flight-detail-panel__head .flight-detail-countdown strong { font-size: 19px; }
}

@media (max-width: 430px) {
  .flight-detail-panel__head > strong { font-size: 34px; }
  .flight-detail-panel__head .flight-detail-countdown { align-items: flex-start; flex-direction: column; gap: 3px; }
}

/* Flight countdown lives in the information rail and works for both directions. */
.flight-detail-countdown-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  border-color: rgba(255, 176, 0, 0.34) !important;
  background: linear-gradient(145deg, #ffffff, #f1f5f8) !important;
}

.flight-detail-countdown-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ffb000 25%, #ff7900 50%, #ffb000 75%, transparent 100%);
  background-size: 180% 100%;
  box-shadow: 0 8px 16px rgba(255, 176, 0, 0.14);
  animation: flight-countdown-runway 3.6s linear infinite;
  pointer-events: none;
}

.flight-detail-countdown-card > * { position: relative; z-index: 1; }
.flight-detail-countdown-card .flight-detail-countdown {
  min-height: 0;
  display: grid;
  gap: 7px;
  padding: 3px 0 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.flight-detail-countdown__heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.flight-detail-countdown__heading > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffb000;
  color: #111923;
  font-size: 14px;
  line-height: 1;
  transform: rotate(-9deg);
}
.flight-detail-countdown-card .flight-detail-countdown small,
.flight-detail-countdown-static small {
  color: #334155;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.flight-detail-countdown-card .flight-detail-countdown__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  color: #111827;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.flight-detail-countdown__values > span {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 0 10px;
  text-align: center;
}
.flight-detail-countdown__values > span:first-child { padding-left: 0; }
.flight-detail-countdown__values > span:last-child { padding-right: 0; }
.flight-detail-countdown__values > span + span { border-left: 1px solid rgba(17, 24, 39, 0.12); }
.flight-detail-countdown__values b { font-size: clamp(27px, 2vw, 38px); font-weight: 950; }
.flight-detail-countdown__values em { color: #6b7788; font-size: 9px; font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; }
.flight-detail-countdown-static { display: grid; gap: 7px; }
.flight-detail-countdown-static strong { color: #111827; font-size: 21px; line-height: 1.15; }
.flight-detail-countdown-card > button,
.flight-detail-countdown-card__notifications > button {
  min-height: 40px;
  border: 1px solid rgba(255, 121, 0, 0.34);
  border-radius: 999px;
  background: rgba(255, 176, 0, 0.09);
  color: #6e4b11;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}
.flight-detail-countdown-card > button:disabled,
.flight-detail-countdown-card__notifications > button:disabled { cursor: not-allowed; opacity: 0.78; }
.flight-detail-countdown-card__notifications { display: grid; gap: 14px; }
.flight-detail-countdown-card > small,
.flight-detail-countdown-card__notifications > small { color: #697586; font-size: 11px; line-height: 1.45; font-weight: 700; }
html[data-max-notifications-visible="false"] .flight-detail-countdown-card__notifications { display: none; }

html[data-theme="dark"] .flight-detail-countdown-card {
  border-color: rgba(255, 176, 0, 0.28) !important;
  background: linear-gradient(145deg, #151f2b, #0e1721) !important;
}
html[data-theme="dark"] .flight-detail-countdown-card .flight-detail-countdown strong,
html[data-theme="dark"] .flight-detail-countdown-static strong { color: #ffffff; }
html[data-theme="dark"] .flight-detail-countdown-card .flight-detail-countdown small,
html[data-theme="dark"] .flight-detail-countdown-static small,
html[data-theme="dark"] .flight-detail-countdown-card > small,
html[data-theme="dark"] .flight-detail-countdown-card__notifications > small { color: #9ba8b8; }
html[data-theme="dark"] .flight-detail-countdown-card > button,
html[data-theme="dark"] .flight-detail-countdown-card__notifications > button { color: #ffd77c; background: rgba(255, 176, 0, 0.08); }
html[data-theme="dark"] .flight-detail-countdown__values > span + span { border-left-color: rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .flight-detail-countdown__values em { color: #8794a5; }

@keyframes flight-countdown-runway { from { background-position: 160% 0; } to { background-position: -80% 0; } }

@media (prefers-reduced-motion: reduce) {
  .flight-detail-countdown-card::before,
  .flight-detail-countdown-card .flight-detail-countdown strong i { animation: none; }
}

/* A large disclosure group opens into compact year folders before files. */
.content-resources__subgroups {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.content-resources__subgroup {
  overflow: hidden;
  border: 1px solid #d8e0e9;
  border-radius: 12px;
  background: rgba(247, 249, 252, 0.9);
}

.content-resources__subgroup > summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  color: #172231;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.content-resources__subgroup > summary::-webkit-details-marker { display: none; }
.content-resources__subgroup > summary i {
  min-width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 176, 0, 0.14);
  color: #9a5f00;
  font-size: 10px;
  font-style: normal;
}
.content-resources__subgroup[open] > summary { border-bottom: 1px solid #d8e0e9; background: #ffffff; }
.content-resources__subgroup > .content-resources__list { padding: 10px; }

html[data-theme="dark"] .content-resources__subgroup {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}
html[data-theme="dark"] .content-resources__subgroup > summary { color: #f3f7fb; }
html[data-theme="dark"] .content-resources__subgroup[open] > summary { border-bottom-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.045); }

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"][data-board-sticky-header="true"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="dark"][data-board-sticky-header="true"] .v2-board__columns {
  background: rgba(10, 18, 28, 0.68);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-board {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(244, 248, 252, 0.7);
  color: #101820;
  -webkit-backdrop-filter: blur(28px) saturate(1.16);
  backdrop-filter: blur(28px) saturate(1.16);
  box-shadow: 0 30px 82px rgba(16, 24, 32, 0.22);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-board__columns,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-flight-row {
  border-color: rgba(16, 24, 32, 0.09);
  background: rgba(255, 255, 255, 0.78);
  color: #101820;
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-service-tile {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.76) !important;
  color: #101820 !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  backdrop-filter: blur(24px) saturate(1.12);
  box-shadow: 0 20px 48px rgba(16, 24, 32, 0.16);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"][data-board-sticky-header="true"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"][data-board-sticky-header="true"] .v2-board__columns {
  background: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"][data-board-sticky-header="true"][data-board-sticky-active="true"] .v2-board__hero,
html[data-theme="light"][data-board-translucent="true"][data-board-glass-style="frosted"][data-board-sticky-header="true"][data-board-sticky-active="true"] .v2-board__columns {
  background: rgba(248, 251, 253, 0.91);
  -webkit-backdrop-filter: blur(42px) saturate(0.82);
  backdrop-filter: blur(42px) saturate(0.82);
  box-shadow: 0 16px 38px rgba(16, 24, 32, 0.16);
}

html[data-theme="dark"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-board {
  background: rgba(8, 14, 22, 0.58);
  -webkit-backdrop-filter: blur(26px) saturate(1.12);
  backdrop-filter: blur(26px) saturate(1.12);
}

html[data-theme="dark"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-board__hero,
html[data-theme="dark"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-board__columns,
html[data-theme="dark"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-flight-row,
html[data-theme="dark"][data-board-translucent="true"][data-board-glass-style="frosted"] .v2-service-tile {
  background: rgba(10, 18, 28, 0.68) !important;
}

/* Keep every group of facts visually separated as individual cards. */
.content-detail__facts {
  gap: 12px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.content-detail__facts article {
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.06);
}

html[data-theme="dark"] .content-detail__facts {
  background: transparent;
}

html[data-theme="dark"] .content-detail__facts article {
  border-color: rgba(217, 226, 236, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* Длинные факты автоматически уплотняются, сохраняя крупный размер коротких значений. */
.content-detail__facts .content-detail__fact--long strong {
  font-size: clamp(19px, 1.2vw, 23px);
  line-height: 1.2;
  text-wrap: pretty;
}

.content-detail__facts .content-detail__fact--very-long strong {
  font-size: clamp(18px, 1.05vw, 20px);
  line-height: 1.24;
  text-wrap: pretty;
}

@media (max-width: 820px) {
  .content-detail__facts {
    gap: 8px;
  }
}

/* Business lounge: compact photo gallery and verified app download links. */
.service-modal__toolbar {
  flex: 0 0 auto;
  min-height: 75px;
  overflow-x: auto;
  overflow-y: hidden;
}

.service-modal__tabs {
  min-width: 980px;
  grid-template-columns: repeat(7, minmax(124px, 1fr));
}

.service-photo-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 12px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.service-photo-gallery a {
  color: #ffffff;
  text-decoration: none;
}

.service-photo-gallery__featured {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 18px;
  background: #101820;
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.12);
}

.service-photo-gallery__featured > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-photo-gallery__featured:hover > img,
.service-photo-gallery__featured:focus-visible > img {
  transform: scale(1.025);
}

.service-photo-gallery__featured > span {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(8, 15, 24, 0.82);
  backdrop-filter: blur(12px);
  z-index: 1;
}

.service-photo-gallery__featured small {
  grid-column: 1;
  color: var(--v2-yellow);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-photo-gallery__featured strong {
  grid-column: 1;
  font-size: 14px;
}

.service-photo-gallery__featured i {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--v2-yellow);
  font-size: 22px;
  font-style: normal;
}

.service-photo-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  gap: 10px;
}

.service-photo-gallery__thumbs a {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: #101820;
}

.service-photo-gallery__thumbs a:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.service-photo-gallery__thumbs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.service-photo-gallery__thumbs a:hover img,
.service-photo-gallery__thumbs a:focus-visible img {
  opacity: 1;
  transform: scale(1.04);
}

.service-photo-gallery__thumbs span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(8, 15, 24, 0.82);
  color: var(--v2-yellow);
  font-size: 10px;
  font-weight: 950;
  z-index: 1;
}

.service-apps {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.12), transparent 34%),
    #f7f9fc;
}

.service-apps > header span {
  color: #a76900;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-apps > header h3 {
  margin: 5px 0 4px;
  font-size: clamp(23px, 2.3vw, 34px);
}

.service-apps > header p {
  margin: 0;
  color: #687486;
  font-size: 13px;
}

.service-apps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-apps__grid > a {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: #101820;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-apps__grid > a:hover,
.service-apps__grid > a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 121, 0, 0.48);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.13);
}

.service-apps__grid img {
  width: 132px;
  height: 132px;
  display: block;
  padding: 4px;
  border-radius: 10px;
  background: #ffffff;
}

.service-apps__grid span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.service-apps__grid small,
.service-apps__grid em {
  color: #687486;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.service-apps__grid strong {
  font-size: 16px;
}

.service-apps__grid i {
  color: var(--v2-orange);
  font-size: 20px;
  font-style: normal;
}

html[data-theme="dark"] .service-photo-gallery__featured,
html[data-theme="dark"] .service-photo-gallery__thumbs a {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

@media (max-width: 980px) {
  .content-detail--news-gallery-single .content-detail__story {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  }

  .content-detail--news-gallery-multiple .service-photo-gallery {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  }
}

@media (max-width: 760px) {
  .content-detail--news .content-detail__body {
    padding: 12px;
    gap: 12px;
  }

  .content-detail--news .content-detail__facts {
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    background: transparent;
  }

  .content-detail--news .content-detail__facts article {
    min-height: 0;
    padding: 16px;
    border: 1px solid #d9e0ea;
    border-radius: 14px;
  }

  .content-detail--news .content-rich {
    padding: 22px 18px;
    border-radius: 16px;
    line-height: 1.62;
  }

  .content-detail--news-gallery-single .content-detail__story,
  .content-detail--news-gallery-multiple .content-detail__story,
  .content-detail--news-gallery-multiple .service-photo-gallery {
    grid-template-columns: 1fr;
  }

  .content-detail--news-gallery-single .service-photo-gallery {
    position: static;
  }

  .content-detail--news-gallery-single .service-photo-gallery__featured {
    aspect-ratio: 4 / 3;
  }

  .content-detail--news-gallery-multiple .service-photo-gallery__featured {
    aspect-ratio: 4 / 3;
  }

  .content-detail--news-gallery-multiple .service-photo-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    overflow: visible;
  }

  .content-detail--news-gallery-count-4 .service-photo-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .content-detail--news-gallery-count-4 .service-photo-gallery__thumbs a,
  .content-detail--news-gallery-count-4 .service-photo-gallery__thumbs a:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .content-detail--news-gallery-multiple .service-photo-gallery__thumbs a,
  .content-detail--news-gallery-multiple .service-photo-gallery__thumbs a:last-child:nth-child(odd) {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

html[data-theme="dark"] .service-apps {
  border-color: rgba(255, 176, 0, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.12), transparent 34%),
    #101823;
}

html[data-theme="dark"] .service-apps > header p,
html[data-theme="dark"] .service-apps__grid small,
html[data-theme="dark"] .service-apps__grid em {
  color: #aeb9c7;
}

html[data-theme="dark"] .service-apps__grid > a {
  border-color: rgba(255, 255, 255, 0.11);
  background: #182332;
  color: #f4f8fc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.service-photo-viewer[hidden] {
  display: none;
}

.service-photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}

.service-photo-viewer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 7, 13, 0.94);
  backdrop-filter: blur(16px);
  cursor: zoom-out;
}

.service-photo-viewer__window {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  height: min(920px, calc(100dvh - 24px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #080f18;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
}

.service-photo-viewer__window > header {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 20px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.service-photo-viewer__window > header span {
  color: var(--v2-yellow);
  font-size: 12px;
  font-weight: 950;
}

.service-photo-viewer__window > header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.service-photo-viewer__window > header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.service-photo-viewer__stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px) clamp(52px, 6vw, 88px);
}

.service-photo-viewer__stage > img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.service-photo-viewer__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(8, 15, 24, 0.74);
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.service-photo-viewer__nav:hover,
.service-photo-viewer__nav:focus-visible,
.service-photo-viewer__window > header button:hover,
.service-photo-viewer__window > header button:focus-visible {
  border-color: rgba(255, 176, 0, 0.7);
  background: rgba(255, 176, 0, 0.18);
}

.service-photo-viewer__nav--prev {
  left: 14px;
}

.service-photo-viewer__nav--next {
  right: 14px;
}

@media (max-width: 1100px) {
  .service-modal__tabs {
    grid-template-columns: repeat(7, minmax(124px, 1fr));
  }

  .service-apps__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .service-modal__toolbar {
    min-height: 62px;
  }

  .service-modal__tabs {
    min-width: 840px;
    grid-template-columns: repeat(7, minmax(108px, 1fr));
  }

  .service-photo-gallery {
    grid-template-columns: 1fr;
  }

  .service-photo-gallery__featured {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .service-photo-gallery__thumbs {
    grid-template-columns: repeat(5, 104px);
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .service-photo-gallery__thumbs a,
  .service-photo-gallery__thumbs a:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .service-apps {
    padding: 15px;
  }

  .service-apps__grid > a {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    padding: 10px;
  }

  .service-apps__grid img {
    width: 112px;
    height: 112px;
  }

  .service-photo-viewer {
    padding: 0;
  }

  .service-photo-viewer__window {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .service-photo-viewer__window > header {
    min-height: 58px;
    padding: 8px 8px 8px 14px;
  }

  .service-photo-viewer__window > header strong {
    font-size: 13px;
  }

  .service-photo-viewer__stage {
    padding: 10px 12px 76px;
  }

  .service-photo-viewer__nav {
    top: auto;
    bottom: 14px;
    width: 58px;
    height: 48px;
    transform: none;
  }

  .service-photo-viewer__nav--prev {
    left: calc(50% - 66px);
  }

  .service-photo-viewer__nav--next {
    right: calc(50% - 66px);
  }
}

@media (max-width: 720px) {
  .v2-board-glass-style-setting > div {
    grid-template-columns: 1fr;
  }

  .v2-board-glass-style-setting button,
  .v2-board-glass-style-setting button:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 56px;
  }

  .v2-board-glass-style-setting button > span b {
    font-size: 12px !important;
  }

  .v2-board-glass-style-setting button > span small {
    font-size: 10px !important;
  }
}

/* Пользовательский масштаб крупных заголовков. */
html[data-heading-scale="compact"] .v2-premium-menu__panel h2 {
  font-size: clamp(28px, 2.8vw, 46px) !important;
  letter-spacing: -0.035em;
}

html[data-heading-scale="large"] .v2-premium-menu__panel h2 {
  font-size: clamp(56px, 5.6vw, 100px);
}

html[data-heading-scale="compact"] :is(.content-detail__hero h2, .tariff-modal__hero h2, .board-modal__hero h2) {
  font-size: clamp(28px, 3.5vw, 52px);
}

html[data-heading-scale="large"] :is(.content-detail__hero h2, .tariff-modal__hero h2, .board-modal__hero h2) {
  font-size: clamp(52px, 6vw, 92px);
}

@media (max-width: 720px) {
  .v2-heading-scale-setting > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-heading-scale="compact"] :is(.v2-premium-menu__panel h2, .content-detail__hero h2, .tariff-modal__hero h2, .board-modal__hero h2) {
    font-size: clamp(20px, 6.5vw, 28px) !important;
    letter-spacing: -0.025em;
  }

  html[data-heading-scale="normal"] :is(.v2-premium-menu__panel h2, .content-detail__hero h2, .tariff-modal__hero h2, .board-modal__hero h2) {
    font-size: clamp(27px, 8.5vw, 38px);
    letter-spacing: -0.035em;
  }

html[data-heading-scale="large"] :is(.v2-premium-menu__panel h2, .content-detail__hero h2, .tariff-modal__hero h2, .board-modal__hero h2) {
    font-size: clamp(31px, 9vw, 42px);
    letter-spacing: -0.035em;
  }
}

/* Тарифы выводятся сразу, без лишнего аккордеона. */
.tariff-group--static {
  overflow: hidden;
}

.tariff-group--static.is-heading-hidden {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tariff-group__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid #d9e0ea;
}

.tariff-group__heading strong,
.tariff-group__heading small {
  display: block;
}

.tariff-group__heading strong {
  font-size: 19px;
}

.tariff-group__heading small {
  max-width: 760px;
  margin-top: 4px;
  color: #687486;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.tariff-group__heading em {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #d9e0ea;
  border-radius: 7px;
  color: #596579;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

html[data-theme="dark"] .tariff-group__heading {
  border-bottom-color: rgba(217, 226, 236, 0.16);
}

html[data-theme="dark"] .tariff-group__heading small,
html[data-theme="dark"] .tariff-group__heading em {
  color: #aeb9c7;
}

html[data-theme="dark"] .tariff-group__heading em {
  border-color: rgba(217, 226, 236, 0.16);
}

@media (max-width: 820px) {
  /* На мобильных табло всегда прокручивается целиком, без залипающих слоёв. */
  html[data-board-sticky-header="true"] .v2-board__hero,
  html[data-board-sticky-header="true"] .v2-board__columns {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: none;
  }

  /* Спокойные карточки тарифов в ритме карточек расписания. */
  .tariff-group--static,
  .tariff-group--static.is-heading-hidden {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tariff-group__heading {
    margin: 3px 10px 8px;
    padding: 11px 12px;
    border: 1px solid rgba(193, 204, 218, 0.82);
    border-radius: 12px;
    background: #f4f7fa;
  }

  .tariff-group__heading small {
    display: none;
  }

  .tariff-group__heading strong {
    font-size: 15px;
  }

  .tariff-group__heading em {
    padding: 5px 7px;
    font-size: 9px;
  }

  .tariff-table__body {
    grid-template-columns: 1fr;
    gap: 9px !important;
    padding: 6px 10px 12px !important;
  }

  .tariff-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 14px !important;
    border: 1px solid #d9e0ea !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    box-shadow: 0 7px 20px rgba(16, 24, 32, 0.055) !important;
  }

  .tariff-route {
    position: relative;
    padding: 0 0 12px 13px !important;
    border-bottom: 1px solid #e4e9ef !important;
  }

  .tariff-route::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--v2-yellow), var(--v2-orange));
  }

  .tariff-route strong {
    color: #142033;
    font-size: 16px;
    line-height: 1.25;
  }

  .tariff-table__row > div:not(.tariff-route) {
    min-height: 57px !important;
    gap: 5px;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f3f6f9 !important;
  }

  .tariff-table__row > div:not(.tariff-route)::before {
    color: #667386;
    font-size: 9px;
  }

  .tariff-table__row > div:not(.tariff-route) span {
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #142033;
    font-size: 14px !important;
  }

  html[data-theme="dark"] .tariff-group__heading {
    border-color: rgba(217, 226, 236, 0.14);
    background: #121c27;
  }

  html[data-theme="dark"] .tariff-table__row {
    border-color: rgba(217, 226, 236, 0.14) !important;
    background: #151e29 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  }

  html[data-theme="dark"] .tariff-route {
    border-bottom-color: rgba(217, 226, 236, 0.12) !important;
  }

  html[data-theme="dark"] .tariff-route strong,
  html[data-theme="dark"] .tariff-table__row > div:not(.tariff-route) span {
    color: #f4f8fc;
  }

  html[data-theme="dark"] .tariff-table__row > div:not(.tariff-route) {
    background: #101823 !important;
  }

  /* Воздушная вертикальная шкала статусов в карточке рейса. */
  .flight-detail-panel--timeline {
    padding: 18px !important;
  }

  .flight-detail-steps {
    position: relative;
    gap: 10px;
    margin-top: 18px;
  }

  .flight-detail-steps li {
    min-height: 72px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 13px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(16, 24, 32, 0.05);
  }

  .flight-detail-steps li > i {
    width: 15px;
    height: 15px;
  }

  .flight-detail-steps li > span {
    gap: 5px;
  }

  .flight-detail-steps li strong {
    font-size: 15px;
  }

  .flight-detail-steps li small {
    font-size: 10px;
  }

  .flight-detail-steps li.is-current {
    border-color: rgba(255, 176, 0, 0.68);
    box-shadow: inset 4px 0 0 var(--v2-orange), 0 10px 26px rgba(255, 121, 0, 0.12);
  }

  .flight-detail-timeline-state {
    min-height: 126px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding: 19px 17px;
    border-radius: 16px;
  }

  .flight-detail-timeline-state strong {
    font-size: 20px;
  }

  .flight-detail-timeline-state p {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.55;
  }

  html[data-theme="dark"] .flight-detail-steps li {
    background: #101823;
  }
}

@media (max-width: 720px) {
  .schedule-calendar-month[data-current-month-anchor="true"] {
    scroll-margin-top: 64px;
  }
}

/* Full HD option: release the vertical space occupied by modal titles while
   keeping each modal's working navigation permanently visible. */
@media (min-width: 821px) {
  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__hero {
    overflow: visible;
    transition: height 0.24s ease, min-height 0.24s ease, padding 0.24s ease;
  }

  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__hero > div {
    transition: opacity 0.16s ease, transform 0.2s ease, visibility 0.2s;
  }

  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__window.is-fhd-header-scrolled .tariff-modal__hero {
    height: 0 !important;
    min-height: 0 !important;
    flex-basis: 0;
    padding: 0 !important;
  }

  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__window.is-fhd-header-scrolled .tariff-modal__hero > div {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
  }

  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__window.is-fhd-header-scrolled .tariff-modal__hero .v2-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8;
  }

  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__window.is-fhd-header-scrolled .tariff-modal__toolbar {
    position: relative;
    z-index: 6;
    padding-right: 76px;
    box-shadow: 0 10px 26px rgba(16, 24, 32, 0.09);
  }

  html[data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .service-modal .tariff-modal__window.is-fhd-header-scrolled .tariff-modal__toolbar {
    padding-right: 132px;
  }

  html[data-a11y-motion="true"][data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__hero,
  html[data-a11y-motion="true"][data-board-display-tier="fhd"][data-fhd-scroll-modal-headers="true"] .tariff-modal__hero > div {
    transition: none;
  }
}

/* Компактная мобильная карточка тарифа: основной пассажирский тариф и четыре доплаты. */
@media (max-width: 820px) {
  .tariff-modal__content {
    padding-right: 4px !important;
    padding-left: 4px !important;
  }

  .tariff-table__body {
    gap: 8px !important;
    padding: 5px !important;
  }

  .tariff-table__row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 9px !important;
    border-radius: 14px !important;
  }

  .tariff-route {
    grid-column: 1 / -1 !important;
    padding: 0 0 7px 10px !important;
  }

  .tariff-route::before {
    bottom: 7px !important;
  }

  .tariff-route strong {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .tariff-table__row > .tariff-price {
    min-height: 44px !important;
    gap: 3px !important;
    padding: 6px 4px !important;
    border-radius: 9px !important;
  }

  .tariff-table__row > .tariff-price::before {
    font-size: 7.5px !important;
    line-height: 1 !important;
    text-align: center;
  }

  .tariff-table__row > .tariff-price span {
    justify-content: center !important;
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    text-align: center;
  }

  .tariff-table__row > .tariff-price--passenger {
    grid-column: 1 / -1 !important;
    min-height: 49px !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px !important;
    padding: 8px 11px !important;
    border: 1px solid rgba(255, 176, 0, 0.48) !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #fff7dc, #fff0bd) !important;
  }

  .tariff-table__row > .tariff-price--passenger::before {
    font-size: 9px !important;
    text-align: left;
  }

  .tariff-table__row > .tariff-price--passenger span {
    justify-content: flex-end !important;
    color: #142033 !important;
    font-size: 19px !important;
    line-height: 1 !important;
    text-align: right;
  }

  html[data-theme="dark"] .tariff-table__row > .tariff-price--passenger {
    border-color: rgba(255, 176, 0, 0.4) !important;
    background: linear-gradient(135deg, rgba(255, 176, 0, 0.18), rgba(255, 121, 0, 0.09)) !important;
  }

  html[data-theme="dark"] .tariff-table__row > .tariff-price--passenger span {
    color: #ffffff !important;
  }
}

/* На телефоне оставляем в шапке календаря только полезную краткую сводку. */
@media (max-width: 720px) {
  .schedule-calendar-modal__dates {
    display: none !important;
  }

  .schedule-calendar-modal__hero {
    padding-bottom: 11px !important;
  }

  .schedule-calendar-legend {
    margin-bottom: 8px !important;
  }
}

/* Единая карточка управления разделами главной и поведением верхнего меню. */
.v2-navigation-settings-card {
  display: grid;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 176, 0, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.v2-navigation-settings-card .v2-screen-section-setting,
.v2-navigation-settings-card .v2-header-navigation-setting {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.v2-navigation-settings-card .v2-header-navigation-setting {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Произвольный маркер выбирается через компактный цветовой образец. */
.v2-marker-color-setting__custom {
  position: relative;
  overflow: hidden;
}

.v2-marker-color-setting__custom::before {
  content: "";
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: conic-gradient(#ff1f2d, #ffb000, #22a06b, #3b82f6, #8b5cf6, #ff1f2d);
  box-shadow: inset 0 0 0 4px rgba(8, 14, 22, 0.72), 0 5px 14px rgba(0, 0, 0, 0.22);
}

.v2-marker-color-setting__custom::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  pointer-events: none;
}

.v2-marker-color-setting__custom input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* Финальный мобильный приоритет поверх старых вариантов карточек тарифов. */
@media (max-width: 820px) {
  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price {
    min-height: 44px !important;
    gap: 3px !important;
    padding: 6px 4px !important;
    border-radius: 9px !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price span {
    min-height: 0 !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 10.5px !important;
    line-height: 1.05 !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger {
    grid-column: 1 / -1 !important;
    min-height: 49px !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 11px !important;
    border: 1px solid rgba(255, 176, 0, 0.48) !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #fff7dc, #fff0bd) !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger span {
    justify-content: flex-end !important;
    color: #142033 !important;
    font-size: 19px !important;
    text-align: right !important;
  }

  html[data-theme="dark"] .tariff-modal .tariff-table__row > .tariff-price--passenger {
    background: linear-gradient(135deg, rgba(255, 176, 0, 0.18), rgba(255, 121, 0, 0.09)) !important;
  }

  html[data-theme="dark"] .tariff-modal .tariff-table__row > .tariff-price--passenger span {
    color: #ffffff !important;
  }
}

/* Единая мобильная шапка табло с одинаковой геометрией элементов. */
@media (max-width: 820px) {
  .v2-board__hero {
    grid-template-columns: minmax(0, 1fr) auto 46px !important;
    grid-template-areas:
      "switch switch switch"
      "local time search" !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-areas:
      "switch switch switch"
      "time time search" !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) !important;
    min-height: 50px;
    padding: 3px !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
    min-height: 44px !important;
    padding: 0 6px !important;
    border-radius: 10px !important;
    font-size: clamp(18px, 5.5vw, 23px) !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  html[data-board-switch-style="toggle"] .v2-board-toggle-plane img {
    width: 32px !important;
    height: 19px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter,
  .v2-board__time,
  .v2-board__search-toggle {
    min-height: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(217, 226, 236, 0.14) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: none !important;
  }

  html[data-theme="light"] :is(.v2-board-local-filter.v2-board-scope-filter, .v2-board__time, .v2-board__search-toggle) {
    border-color: rgba(16, 24, 32, 0.11) !important;
    background: rgba(255, 255, 255, 0.78) !important;
  }

  .v2-board-local-filter.v2-board-scope-filter {
    min-width: 0;
    padding: 3px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter button {
    min-height: 38px !important;
    padding: 0 5px !important;
    border-radius: 9px !important;
    font-size: clamp(8px, 2.5vw, 10px) !important;
  }

  .v2-board__time {
    min-width: max-content;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px !important;
    padding: 0 9px !important;
  }

  .v2-board__time .v2-clock-dial,
  .v2-board__time > small {
    display: none !important;
  }

  .v2-board__time .v2-clock-row {
    gap: 5px !important;
  }

  .v2-board__time strong {
    font-size: 21px !important;
    line-height: 1 !important;
  }

  .v2-board__time .v2-board-temperature {
    min-width: 0 !important;
    padding-left: 6px !important;
  }

  .v2-board__time .v2-board-temperature b {
    font-size: 13px !important;
  }

  .v2-board__search-toggle {
    width: 46px !important;
    justify-self: stretch !important;
  }

  .v2-board__search-toggle svg {
    width: 23px !important;
    height: 23px !important;
  }
}

/* Телефон в альбомной ориентации: отдельная компактная раскладка, не затрагивающая планшеты. */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 950px) {
  .v2-container {
    width: calc(100% - 24px);
  }

  html[data-anniversary-logo="true"] .v2-header__inner,
  .v2-header__inner {
    min-height: 64px !important;
  }

  html[data-anniversary-logo="true"] .v2-brand {
    height: 52px;
  }

  html[data-anniversary-logo="true"] .v2-brand img {
    left: 0;
    width: 190px;
    height: 60px;
  }

  .v2-header__actions {
    gap: 5px;
  }

  .v2-access-button,
  .v2-settings-button,
  .v2-theme-toggle,
  .v2-menu-button {
    min-height: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .v2-board__hero {
    grid-template-columns: minmax(250px, 1.2fr) minmax(220px, 1fr) auto 44px !important;
    grid-template-areas: "switch local time search" !important;
    gap: 7px !important;
    padding: 9px !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) !important;
    width: 100% !important;
    min-height: 46px;
    padding: 2px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
    min-height: 40px !important;
    padding: 0 6px !important;
    border-radius: 9px !important;
    font-size: 18px !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 9px !important;
    box-shadow: none !important;
  }

  .v2-board-local-filter.v2-board-scope-filter,
  .v2-board__time,
  .v2-board__search-toggle {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 11px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter {
    min-width: 0;
    padding: 3px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter button {
    min-height: 38px !important;
    padding: 0 5px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
  }

  .v2-board__time {
    min-width: max-content;
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 0 8px !important;
  }

  .v2-board__time .v2-clock-dial,
  .v2-board__time > small {
    display: none !important;
  }

  .v2-board__time strong {
    font-size: 21px !important;
  }

  .v2-board__search-toggle {
    width: 44px !important;
  }

  .v2-board__columns {
    display: none !important;
  }

  .v2-board__body {
    display: grid;
    gap: 6px;
    padding: 7px;
  }

  .v2-flight-row {
    grid-template-columns: 68px minmax(0, 1fr) 80px minmax(120px, 0.6fr) auto !important;
    gap: 8px !important;
    min-height: 68px !important;
    padding: 9px 11px !important;
    border-radius: 12px !important;
  }

  .tariff-modal,
  .flight-modal,
  .content-modal,
  .schedule-calendar-modal {
    padding: 0 !important;
  }

  .tariff-modal__window,
  .flight-modal__window,
  .content-modal__window,
  .schedule-calendar-modal__window {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .schedule-calendar-modal__hero {
    padding: 10px 62px 10px 14px !important;
  }

  .schedule-calendar-modal__dates {
    display: none !important;
  }
}

/* Телефон: фильтр получает отдельную строку, а основные действия остаются единым рядом. */
@media (max-width: 767px) {
  .v2-board__hero {
    grid-template-columns: minmax(0, 1fr) auto 46px !important;
    grid-template-areas:
      "switch time search"
      "local local local" !important;
  }

  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-areas: "switch time search" !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) !important;
    min-height: 46px !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
    min-height: 40px !important;
    font-size: clamp(16px, 4.6vw, 20px) !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter button {
    font-size: clamp(10px, 3vw, 12px) !important;
  }
}

/* Финальный приоритет: спокойная цельная мобильная карточка тарифа. */
@media (max-width: 820px) {
  html[data-theme] .tariff-modal .tariff-table__body {
    gap: 10px !important;
    padding: 7px 8px 14px !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    row-gap: 8px !important;
    padding: 11px !important;
    border-radius: 16px !important;
  }

  html[data-theme] .tariff-modal .tariff-route {
    padding: 1px 2px 1px 13px !important;
    border: 0 !important;
  }

  html[data-theme] .tariff-modal .tariff-route::before {
    top: 1px !important;
    bottom: 1px !important;
    width: 3px !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger {
    width: 100% !important;
    min-height: 54px !important;
    justify-self: stretch !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 13px !important;
    border: 1px solid rgba(255, 176, 0, 0.2) !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, rgba(255, 176, 0, 0.13), rgba(255, 121, 0, 0.035)) !important;
    box-shadow: inset 3px 0 0 var(--v2-orange) !important;
  }

  html[data-theme="light"] .tariff-modal .tariff-table__row > .tariff-price--passenger {
    background: linear-gradient(90deg, rgba(255, 176, 0, 0.12), rgba(255, 255, 255, 0.92)) !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger::before {
    color: var(--v2-orange) !important;
    font-size: 9px !important;
    text-align: left !important;
    text-transform: none !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--passenger span {
    justify-content: flex-end !important;
    color: var(--v2-ink) !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    text-align: right !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger) {
    width: 100% !important;
    min-height: 52px !important;
    justify-self: stretch !important;
    display: grid !important;
    align-content: center !important;
    gap: 5px !important;
    padding: 7px 3px !important;
    border: 0 !important;
    border-left: 1px solid rgba(217, 226, 236, 0.1) !important;
    border-radius: 0 !important;
    background: rgba(4, 11, 20, 0.2) !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--child {
    border-left: 0 !important;
    border-radius: 11px 0 0 11px !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--cargo {
    border-radius: 0 11px 11px 0 !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger)::before {
    color: var(--v2-muted) !important;
    font-size: 8px !important;
    text-align: center !important;
    text-transform: none !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price:not(.tariff-price--passenger) span {
    justify-content: center !important;
    color: var(--v2-ink) !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--baggage::before {
    content: "Багаж / кг" !important;
  }

  html[data-theme] .tariff-modal .tariff-table__row > .tariff-price--cargo::before {
    content: "Груз / кг" !important;
  }
}

/* Финальный приоритет: наведённое или закреплённое подменю всегда только одно. */
@media (min-width: 1025px) {
  html[data-header-navigation="dropdown"] .v2-nav-menu__panel,
  html[data-header-navigation="dropdown"] .v2-nav-menu:nth-last-child(-n + 2) .v2-nav-menu__panel {
    right: auto !important;
    left: 50% !important;
    width: min(760px, calc(100vw - 32px));
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(calc(-50% + var(--v2-nav-panel-shift, 0px)), 8px) !important;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__panel {
    width: min(1040px, calc(100vw - 32px));
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu:is(.is-hovered, .is-open) .v2-nav-menu__panel,
  html[data-header-navigation="dropdown"] .v2-nav-menu:nth-last-child(-n + 2):is(.is-hovered, .is-open) .v2-nav-menu__panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(calc(-50% + var(--v2-nav-panel-shift, 0px)), 0) !important;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu:not(.is-hovered):not(.is-open) .v2-nav-menu__panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Планшет: единая компоновка от 768 до 1199 px без скачков в телефонный или десктопный режим. */
@media (min-width: 768px) and (max-width: 1199px) {
  .v2-board-wrap,
  html[data-board-peek="true"] .v2-board-wrap {
    margin-top: clamp(-520px, -38svh, -320px) !important;
  }

  .v2-board__hero,
  html[data-board-local-filter-visible="false"] .v2-board__hero {
    min-height: 0;
    grid-template-columns: minmax(330px, 1.15fr) minmax(210px, 0.72fr) 58px !important;
    grid-template-areas:
      "switch time search"
      "local time search" !important;
    align-items: stretch;
    gap: 10px 14px;
    padding: 16px 18px;
  }

  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-areas: "switch time search" !important;
    align-items: center;
  }

  .v2-board__switch {
    grid-area: switch;
    align-self: center;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch {
    width: 100%;
    max-width: 430px;
    grid-template-columns: minmax(96px, 1fr) 54px minmax(96px, 1fr) !important;
    min-height: 56px !important;
    padding: 4px !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
    min-height: 48px !important;
    padding: 0 10px !important;
    font-size: clamp(19px, 2.5vw, 25px) !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  html[data-board-switch-style="toggle"] .v2-board-toggle-plane img {
    width: 36px;
    height: 21px;
  }

  .v2-board-local-filter.v2-board-scope-filter {
    grid-area: local;
    width: min(100%, 330px);
    min-width: 0;
    min-height: 48px !important;
    height: 48px !important;
    align-self: center;
  }

  .v2-board__time {
    grid-area: time;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch;
    display: grid;
    place-content: center;
    padding: 10px 12px;
    border: 1px solid rgba(217, 226, 236, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    text-align: center;
  }

  html[data-theme="light"] .v2-board__time {
    border-color: rgba(16, 24, 32, 0.1);
    background: rgba(255, 255, 255, 0.7);
  }

  .v2-board__time strong {
    font-size: 31px;
  }

  .v2-board__time small {
    margin-top: 6px;
    gap: 6px;
    font-size: 11px;
  }

  .v2-board__search-toggle {
    grid-area: search;
    width: 58px !important;
    height: auto !important;
    min-height: 58px !important;
    align-self: center;
    justify-self: stretch;
  }

  .v2-board__columns {
    display: none !important;
  }

  .v2-board__body {
    display: grid !important;
    gap: 8px !important;
    padding: 10px !important;
    background: rgba(10, 16, 24, 0.96);
  }

  html[data-theme="light"] .v2-board__body {
    background: #eef4fa;
  }

  .v2-flight-row {
    grid-template-columns: minmax(120px, 0.72fr) minmax(150px, 1.08fr) minmax(150px, 0.88fr) minmax(110px, 0.58fr) !important;
    grid-template-areas:
      "time dest airline status"
      "code dest airline status" !important;
    gap: 8px 14px !important;
    min-height: 96px !important;
    padding: 15px 16px !important;
    border: 1px solid rgba(217, 226, 236, 0.12);
    border-radius: 14px !important;
  }

  .v2-flight-row:first-child {
    border-top: 1px solid rgba(217, 226, 236, 0.12);
  }

  html[data-theme="light"] .v2-flight-row,
  html[data-theme="light"] .v2-flight-row:first-child {
    border-color: rgba(16, 24, 32, 0.1);
  }

  .v2-flight-time {
    grid-area: time;
    align-self: end;
  }

  .v2-flight-time__change {
    max-width: 100%;
    padding: 7px 8px;
  }

  .v2-flight-time__scheduled {
    font-size: 16px;
  }

  .v2-flight-time__expected {
    font-size: 22px;
  }

  .v2-flight-code {
    grid-area: code;
    justify-self: start;
    align-self: start;
    font-size: 16px;
  }

  .v2-flight-destination {
    grid-area: dest;
    align-self: center;
  }

  .v2-flight-destination strong,
  .v2-flight-destination strong.v2-route-chain {
    overflow: visible;
    font-size: 18px;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
  }

  .v2-airline {
    grid-area: airline;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 10px;
    align-self: center;
  }

  .v2-airline__logo {
    width: 58px !important;
    height: 44px !important;
    border-radius: 9px;
  }

  .v2-airline strong {
    overflow: visible;
    font-size: 15px;
    line-height: 1.16;
    text-overflow: clip;
    white-space: normal;
  }

  .v2-flight-status {
    grid-area: status;
    align-self: center;
    justify-self: end;
  }

  .v2-status {
    min-height: 36px;
    justify-content: center;
    padding: 7px 10px;
    font-size: 11.5px;
    line-height: 1.15;
    text-align: center;
  }
}

/* Десктоп: одна структура; Full HD и 2K отличаются только плотностью и числом видимых строк. */
@media (min-width: 1200px) {
  html[data-viewport-mode="desktop"] .v2-board__columns {
    display: grid;
  }
}

@media (min-width: 1800px) {
  html[data-viewport-mode="desktop"][data-board-display-tier="2k"] .v2-board__hero {
    padding-inline: clamp(24px, 2vw, 34px);
  }

  html[data-viewport-mode="desktop"][data-board-display-tier="2k"] .v2-flight-row {
    min-height: 106px;
  }
}

/* Телефон в альбомной ориентации: полноценная компактная компоновка. */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 1024px) {
  .v2-anniversary-hero-logo,
  .v2-anniversary-name-center,
  .v2-anniversary-name-wide {
    display: none !important;
  }

  .v2-container {
    width: calc(100% - 20px) !important;
  }

  html[data-anniversary-logo="true"] .v2-header__inner,
  .v2-header__inner {
    min-height: 58px !important;
  }

  html[data-anniversary-logo="true"] .v2-brand {
    width: 156px !important;
    min-width: 132px !important;
    height: 48px !important;
  }

  html[data-anniversary-logo="true"] .v2-brand img {
    width: 156px !important;
    height: 50px !important;
  }

  .v2-header__actions {
    gap: 5px !important;
  }

  .v2-access-button,
  .v2-settings-button,
  .v2-theme-toggle,
  .v2-menu-button {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }

  .v2-hero,
  html[data-service-tiles-bottom="true"] .v2-hero {
    height: 150px !important;
    min-height: 150px !important;
  }

  .v2-hero__inner,
  html[data-service-tiles-bottom="true"] .v2-hero__inner,
  html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    min-height: 150px !important;
    height: 150px !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 70px 0 12px !important;
  }

  html[data-ticket-panel-visible="false"] .v2-hero__focus {
    display: none !important;
  }

  .v2-service-tiles,
  html[data-service-tiles-bottom="true"] .v2-service-tiles {
    order: 1 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .v2-service-tile,
  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 62px !important;
    height: 62px !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    column-gap: 9px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }

  .v2-service-tile__icon,
  html[data-service-tiles-bottom="true"] .v2-service-tile__icon {
    grid-row: 1 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }

  .v2-service-tile__icon svg,
  html[data-service-tiles-bottom="true"] .v2-service-tile__icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .v2-service-tile strong {
    overflow: hidden;
    font-size: clamp(12px, 1.8vw, 15px) !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v2-service-tile small {
    display: none !important;
  }

  html[data-board-peek="true"] .v2-board-wrap {
    margin-top: 0 !important;
  }

  html[data-board-sticky-header="true"] .v2-board__hero {
    top: 58px !important;
  }

  .v2-board-wrap {
    padding-bottom: 34px !important;
  }

  .v2-board__hero {
    min-height: 64px !important;
  }

  .v2-board__body {
    gap: 6px !important;
    padding: 7px !important;
  }

  .v2-cookie-notice {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 15px !important;
  }

  .v2-cookie-notice__mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .v2-cookie-notice__mark svg {
    width: 18px !important;
    height: 18px !important;
  }

  .v2-cookie-notice__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
  }

  .v2-cookie-notice__title,
  .v2-cookie-notice p {
    grid-column: 1;
  }

  .v2-cookie-notice__title {
    margin: 0 !important;
    font-size: 12px !important;
  }

  .v2-cookie-notice p {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .v2-cookie-notice__actions {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0 !important;
  }

  .v2-cookie-notice__accept {
    width: auto !important;
    min-width: 86px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
  }

  .tariff-modal,
  .flight-modal,
  .content-modal,
  .board-modal,
  .schedule-calendar-modal {
    padding: 0 !important;
  }

  .tariff-modal__window,
  .flight-modal__window,
  .content-modal__window,
  .board-modal__window,
  .schedule-calendar-modal__window {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .tariff-modal__window {
    --tariff-hero-height: 70px !important;
    display: grid !important;
    grid-template-rows: 70px auto minmax(0, 1fr) auto !important;
  }

  .tariff-modal__hero {
    height: 70px !important;
    min-height: 70px !important;
    align-items: center !important;
    padding: 8px 62px 8px 14px !important;
  }

  .tariff-modal__hero .v2-kicker {
    margin: 0 0 2px !important;
    font-size: 9px !important;
  }

  .tariff-modal__hero h2 {
    max-width: none !important;
    font-size: clamp(21px, 3.8vw, 28px) !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .tariff-modal__hero p:not(.v2-kicker) {
    display: none !important;
  }

  .tariff-modal__hero .v2-modal-close,
  .flight-modal__close,
  .content-modal__close {
    top: 9px !important;
    right: 10px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .tariff-modal__toolbar {
    min-height: 54px !important;
    gap: 7px !important;
    padding: 7px 10px !important;
  }

  .tariff-modal__tabs {
    gap: 5px !important;
  }

  .tariff-modal__tabs button {
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .schedule-modal__toolbar {
    grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 0.7fr) !important;
  }

  .service-modal__toolbar {
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .service-modal__toolbar::-webkit-scrollbar {
    display: none;
  }

  .service-modal__tabs {
    display: flex !important;
    width: max-content !important;
    min-width: 100% !important;
  }

  .service-modal__tabs button {
    min-width: max-content !important;
  }

  .flight-detail__hero,
  .content-detail__hero,
  .content-detail__hero--compact,
  .content-detail--legal .content-detail__hero {
    min-height: 92px !important;
    padding: 14px 68px 12px 16px !important;
  }

  .flight-detail__title h2,
  .content-detail__hero h2,
  .content-detail__hero--compact h2 {
    font-size: clamp(23px, 4vw, 30px) !important;
    line-height: 1 !important;
  }

  .flight-detail__title p:not(.v2-kicker),
  .content-detail__hero p:not(.v2-kicker),
  .content-detail__hero--compact p:not(.v2-kicker) {
    display: none !important;
  }

  .board-modal__shell {
    grid-template-rows: 64px 62px minmax(0, 1fr) auto !important;
  }

  .board-modal__hero {
    min-height: 64px !important;
    padding: 9px 62px 9px 14px !important;
  }

  .board-modal__hero .v2-kicker {
    margin-bottom: 2px !important;
    font-size: 9px !important;
  }

  .board-modal__hero h2 {
    font-size: 25px !important;
  }

  .board-modal__hero p:last-child,
  .board-modal__time,
  .board-modal__columns {
    display: none !important;
  }

  .board-modal__toolbar {
    grid-template-columns: minmax(250px, 1fr) minmax(210px, 0.8fr) 48px !important;
    grid-template-areas: "tabs local search" !important;
    gap: 7px !important;
    padding: 7px !important;
  }

  .board-modal__toolbar .board-modal__tabs,
  .board-modal__toolbar .board-modal__local-filter,
  .board-modal__toolbar .board-modal__search-toggle {
    min-height: 48px !important;
    height: 48px !important;
  }

  .board-modal__body {
    padding: 7px !important;
  }

  .schedule-calendar-modal__hero {
    min-height: 64px !important;
    padding: 9px 62px 9px 14px !important;
  }

  .schedule-calendar-modal__hero .v2-kicker {
    margin-bottom: 2px !important;
    font-size: 9px !important;
  }

  .schedule-calendar-modal__hero h2 {
    font-size: 24px !important;
  }

  .schedule-calendar-modal__hero p:last-child,
  .schedule-calendar-modal__dates {
    display: none !important;
  }

  .v2-menu-overlay__panel {
    width: 100% !important;
  }

  .v2-menu-overlay__head {
    min-height: 58px !important;
    padding: 6px 12px !important;
  }

  .v2-menu-overlay__footer {
    display: none !important;
  }
}

/* Юбилейная подпись всегда остаётся внутри верхней шапки и не пересекает знак. */
@media (min-width: 821px) {
  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    left: -8px;
    width: 270px;
    max-width: 270px;
    text-align: center;
  }
}

@media (min-width: 1100px) {
  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: calc(88px + var(--v2-anniversary-name-gap-desktop, 6px));
  }
}

/* Регулируемая высота быстрых кнопок сохраняет отдельные адаптивные базовые размеры. */
@media (min-width: 821px) {
  .v2-service-tile {
    min-height: calc(74px + var(--v2-service-tile-height-adjust, 0px));
    padding-top: clamp(8px, calc(12px + var(--v2-service-tile-height-adjust, 0px)), 18px);
    padding-bottom: clamp(8px, calc(12px + var(--v2-service-tile-height-adjust, 0px)), 18px);
  }

  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: calc(96px + var(--v2-service-tile-height-adjust, 0px));
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: calc(92px + var(--v2-service-tile-height-adjust, 0px));
  }
}

@media (min-width: 821px) and (max-width: 1099px) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 124px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand {
    height: 114px;
    align-self: center;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand img {
    top: 0;
    height: 84px;
    transform: none;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: calc(84px + var(--v2-anniversary-name-gap-desktop, 6px));
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header :is(.v2-nav, .v2-header__actions) {
    position: relative;
    top: 0;
  }
}

@media (min-width: 431px) and (max-width: 820px) and (orientation: portrait) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 102px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand {
    height: 94px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand img {
    top: 4px;
    height: 64px;
    transform: none;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 70px;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 96px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand {
    height: 88px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand img {
    top: 4px;
    height: 58px;
    transform: none;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 64px;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (min-width: 700px) and (max-width: 1024px) {
  .v2-flight-row {
    grid-template-columns: 80px minmax(180px, 1fr) 72px 116px 118px !important;
    grid-template-areas: "time dest code airline status" !important;
    gap: 9px !important;
    min-height: 72px !important;
    padding: 9px 11px !important;
  }

  .v2-flight-time,
  .v2-flight-code,
  .v2-flight-destination,
  .v2-airline,
  .v2-flight-status {
    align-self: center !important;
  }

  .v2-airline {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .v2-airline__logo {
    width: 46px !important;
    height: 36px !important;
  }

  .v2-airline strong {
    overflow: hidden !important;
    font-size: 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .v2-flight-destination strong,
  .v2-flight-destination strong.v2-route-chain {
    font-size: 16px !important;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 699px) {
  .v2-flight-row {
    grid-template-columns: 92px minmax(0, 1fr) auto !important;
    grid-template-areas:
      "time dest status"
      "code airline status" !important;
    gap: 7px 10px !important;
    min-height: 86px !important;
    padding: 10px !important;
  }

  .schedule-modal__toolbar {
    grid-template-columns: minmax(240px, 1fr) auto !important;
    overflow-x: auto !important;
  }

  .schedule-modal__toolbar .tariff-search {
    min-width: 190px;
  }
}

/* На высоких телефонах табло должно быть видно уже в середине первого экрана. */
@media (orientation: portrait) and (max-width: 560px) and (min-height: 700px) {
  .v2-board-wrap,
  html[data-board-peek="true"] .v2-board-wrap {
    margin-top: min(-55svh, -430px) !important;
  }
}

/* Отдельная мобильная и планшетная компоновка первого экрана. */
@media (orientation: portrait) and (max-width: 767px) {
  html[data-mobile-board-tight="true"] .v2-hero,
  html[data-mobile-board-tight="true"] .v2-hero__inner,
  html[data-mobile-board-tight="true"][data-service-tiles-bottom="true"] .v2-hero,
  html[data-mobile-board-tight="true"][data-service-tiles-bottom="true"] .v2-hero__inner,
  html[data-mobile-board-tight="true"][data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    min-height: 0 !important;
    height: auto !important;
  }

  html[data-mobile-board-tight="true"] .v2-hero__inner,
  html[data-mobile-board-tight="true"][data-service-tiles-bottom="true"] .v2-hero__inner,
  html[data-mobile-board-tight="true"][data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    justify-content: flex-start !important;
    padding-bottom: 14px !important;
  }

  html[data-mobile-board-tight="true"][data-ticket-panel-visible="false"]:not([data-hero-caption="true"]) .v2-hero__focus {
    display: none !important;
  }

  html[data-mobile-board-tight="true"] .v2-board-wrap,
  html[data-mobile-board-tight="true"][data-board-peek="true"] .v2-board-wrap {
    margin-top: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  html[data-tablet-board-tight="true"] .v2-hero,
  html[data-tablet-board-tight="true"] .v2-hero__inner,
  html[data-tablet-board-tight="true"][data-service-tiles-bottom="true"] .v2-hero,
  html[data-tablet-board-tight="true"][data-service-tiles-bottom="true"] .v2-hero__inner,
  html[data-tablet-board-tight="true"][data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    min-height: 0 !important;
    height: auto !important;
  }

  html[data-tablet-board-tight="true"] .v2-hero__inner,
  html[data-tablet-board-tight="true"][data-service-tiles-bottom="true"] .v2-hero__inner,
  html[data-tablet-board-tight="true"][data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    justify-content: flex-start !important;
    padding-bottom: 18px !important;
  }

  html[data-tablet-board-tight="true"][data-ticket-panel-visible="false"]:not([data-hero-caption="true"]) .v2-hero__focus {
    display: none !important;
  }

  html[data-tablet-board-tight="true"] .v2-board-wrap,
  html[data-tablet-board-tight="true"][data-board-peek="true"] .v2-board-wrap {
    margin-top: 0 !important;
  }
}

/* Подпись не может быть шире видимой части юбилейного логотипа. */
html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
  box-sizing: border-box;
  width: 270px !important;
  max-width: 270px !important;
  overflow-wrap: anywhere;
  text-align: center !important;
  text-wrap: balance;
  white-space: normal !important;
}

@media (max-width: 820px) {
  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
    width: 225px !important;
    max-width: 225px !important;
  }
}

@media (max-width: 430px) {
  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
    width: 196px !important;
    max-width: 196px !important;
  }
}

/* Полное табло: отдельные часы дублируют время в шапке сайта и занимают полезное место. */
.board-modal__time {
  display: none !important;
}

@media (min-width: 1200px) {
  .board-modal__toolbar {
    grid-template-columns: minmax(320px, 1fr) 240px auto;
  }
}

/* Телефон: изменение времени не должно сдвигать направление рейса. */
@media (orientation: portrait) and (max-width: 767px) {
  .v2-flight-row {
    grid-template-columns: 62px minmax(0, 1fr) minmax(94px, 112px) !important;
    grid-template-areas:
      "time dest status"
      "code airline status" !important;
    column-gap: 9px !important;
    row-gap: 7px !important;
  }

  .v2-flight-time {
    width: 100% !important;
    min-width: 0;
    justify-items: start;
  }

  .v2-flight-destination {
    min-width: 0;
    align-self: start;
    padding-top: 0;
  }

  .v2-flight-destination small {
    display: block;
    margin-top: 3px;
    line-height: 1.15;
    white-space: normal;
  }

  .v2-flight-status {
    min-width: 0;
    width: 100%;
    align-self: center;
  }

  .v2-flight-status .v2-status {
    width: 100%;
    max-width: 112px;
    white-space: normal;
  }

  .v2-flight-row:has(.v2-flight-time__change) {
    grid-template-columns: 62px minmax(0, 1fr) minmax(94px, 112px) !important;
    grid-template-areas:
      "time dest status"
      "code airline status" !important;
  }

  .v2-flight-row:has(.v2-flight-time__change) .v2-flight-time {
    width: 100% !important;
    align-self: start;
  }

  .v2-flight-row:has(.v2-flight-time__change) .v2-flight-time__change {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    display: grid;
    justify-items: start;
    gap: 3px;
    padding: 5px 3px;
    white-space: normal;
  }

  .v2-flight-row:has(.v2-flight-time__change) .v2-flight-time__scheduled {
    font-size: 14px;
  }

  .v2-flight-row:has(.v2-flight-time__change) .v2-flight-time__arrow {
    display: none;
  }

  .v2-flight-row:has(.v2-flight-time__change) .v2-flight-time__expected {
    font-size: 20px;
    line-height: 1;
  }
}

/* Подпись под юбилейным знаком ориентируется на видимую ширину изображения,
   а высота мобильной шапки включает подпись целиком и в обычном, и в липком состоянии. */
@media (min-width: 431px) and (max-width: 767px) and (orientation: portrait) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 110px !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand {
    height: 102px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 70px;
    left: -6px;
    width: 225px !important;
    max-width: 225px !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 106px !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand {
    height: 98px;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 64px;
    left: -4px;
    width: 196px !important;
    max-width: 196px !important;
    font-size: min(var(--v2-anniversary-name-font-size, 15px), 17px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* Необязательный компактный ряд быстрых сервисов внутри шапки.
   На узких экранах сохраняется привычная компоновка главного экрана. */
.v2-header-quick-actions {
  display: none;
}

@media (min-width: 1360px) {
  html[data-header-service-tiles="true"] .v2-header__inner {
    min-height: 116px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    grid-template-areas:
      "brand navigation actions"
      "brand quick quick";
    grid-template-rows: 52px 44px;
    align-items: center;
    column-gap: 18px;
    row-gap: 6px;
    padding-block: 7px;
  }

  html[data-header-service-tiles="true"] .v2-brand {
    grid-area: brand;
    width: 220px;
    min-width: 220px;
    justify-self: center;
  }

  html[data-header-service-tiles="true"] .v2-nav {
    grid-area: navigation;
  }

  html[data-header-service-tiles="true"] .v2-header__actions {
    grid-area: actions;
  }

  html[data-header-service-tiles="true"] .v2-header-quick-actions {
    grid-area: quick;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    padding-left: 32px;
  }

  html[data-header-service-tiles="true"] .v2-header-quick-actions a {
    min-width: 0;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(12, 23, 35, 0.58);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }

  html[data-header-service-tiles="true"] .v2-header-quick-actions a:hover,
  html[data-header-service-tiles="true"] .v2-header-quick-actions a:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 176, 0, 0.78);
    background: rgba(22, 34, 46, 0.82);
  }

  html[data-header-service-tiles="true"] .v2-header-quick-actions__icon {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(145deg, #fff4b6, #ffb000 52%, #ff7900);
    color: #101820;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 5px 16px rgba(255, 121, 0, 0.2);
  }

  html[data-header-service-tiles="true"] .v2-header-quick-actions__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html[data-header-service-tiles="true"] .v2-header-quick-actions strong {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html[data-header-service-tiles="true"] .v2-hero__inner > .v2-service-tiles {
    display: none !important;
  }

  html[data-header-service-tiles="true"] .v2-hero__inner {
    padding-top: 138px;
  }
}

/* 2026-08-30: телефон боком — самостоятельный режим, а не уменьшенный планшет.
   Низкая CSS-высота надёжнее одной ширины отделяет повёрнутый телефон от планшета. */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 1024px) {
  .v2-container {
    width: calc(100% - 20px) !important;
  }

  .v2-header,
  .v2-header__inner {
    min-height: 68px !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header,
  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-header__inner {
    min-height: 76px !important;
  }

  html[data-anniversary-logo="true"] .v2-brand {
    width: 156px !important;
    min-width: 156px !important;
    height: 68px !important;
    align-self: start !important;
  }

  html[data-anniversary-logo="true"] .v2-brand img {
    top: 2px !important;
    left: 0 !important;
    width: 156px !important;
    height: 50px !important;
    transform: none !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization,
  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    top: 52px !important;
    left: 0 !important;
    width: 156px !important;
    max-width: 156px !important;
    height: 21px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 9.5px !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-wrap: balance;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .v2-header__actions {
    align-self: start !important;
    margin-top: 8px !important;
  }

  .v2-hero,
  html[data-service-tiles-bottom="true"] .v2-hero {
    height: 150px !important;
    min-height: 150px !important;
  }

  .v2-hero__inner,
  html[data-service-tiles-bottom="true"] .v2-hero__inner,
  html[data-service-tiles-bottom="true"][data-board-peek="true"] .v2-hero__inner {
    height: 150px !important;
    min-height: 150px !important;
    padding: 80px 0 12px !important;
  }

  .v2-service-tiles,
  html[data-service-tiles-bottom="true"] .v2-service-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .v2-service-tile,
  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 56px !important;
    height: 56px !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 7px 9px !important;
  }

  .v2-service-tile__icon,
  html[data-service-tiles-bottom="true"] .v2-service-tile__icon {
    width: 32px !important;
    height: 32px !important;
  }

  .v2-service-tile strong {
    font-size: clamp(11px, 1.7vw, 14px) !important;
  }

  .v2-board-wrap,
  html[data-board-peek="true"] .v2-board-wrap,
  html[data-tablet-board-tight="true"] .v2-board-wrap,
  html[data-tablet-board-tight="true"][data-board-peek="true"] .v2-board-wrap {
    margin-top: 0 !important;
  }

  html[data-board-sticky-header="true"] .v2-board__hero {
    top: 68px !important;
  }

  .v2-board__hero,
  html[data-board-local-filter-visible="false"] .v2-board__hero {
    min-height: 62px !important;
    height: 62px !important;
    grid-template-columns: minmax(280px, 1.18fr) minmax(190px, 0.85fr) minmax(118px, auto) 44px !important;
    grid-template-areas: "switch local time search" !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px !important;
  }

  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-columns: minmax(310px, 1fr) minmax(130px, auto) 44px !important;
    grid-template-areas: "switch time search" !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch,
  .v2-board-local-filter.v2-board-scope-filter,
  .v2-board__time,
  .v2-board__search-toggle {
    height: 46px !important;
    min-height: 46px !important;
    align-self: center !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch {
    max-width: none !important;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) !important;
    padding: 2px !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch > button:not(.v2-board-toggle-plane) {
    min-height: 40px !important;
    padding: 0 5px !important;
    font-size: clamp(15px, 2.2vw, 19px) !important;
  }

  html[data-board-switch-style="toggle"] .v2-board__switch .v2-board-toggle-plane {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter {
    width: 100% !important;
    min-width: 0 !important;
    padding: 3px !important;
  }

  .v2-board-local-filter.v2-board-scope-filter button {
    min-height: 38px !important;
    padding-inline: 4px !important;
    font-size: clamp(8px, 1.25vw, 10px) !important;
  }

  .v2-board__time {
    min-width: 0 !important;
    display: flex !important;
    grid-template-columns: none !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 8px !important;
  }

  .v2-board__time .v2-clock-dial,
  .v2-board__time > small {
    display: none !important;
  }

  .v2-board__time strong {
    font-size: 21px !important;
  }

  .v2-board__time .v2-board-temperature {
    min-width: 0 !important;
    padding-left: 6px !important;
  }

  .v2-board__time .v2-board-temperature b {
    font-size: 13px !important;
  }

  .v2-board__search-toggle {
    width: 44px !important;
    justify-self: stretch !important;
  }

  .v2-board__columns {
    display: none !important;
  }

  .v2-board__body {
    gap: 6px !important;
    padding: 7px !important;
  }

  .v2-flight-row {
    grid-template-columns: 76px minmax(174px, 1fr) 62px minmax(112px, 0.62fr) minmax(96px, auto) !important;
    grid-template-areas: "time dest code airline status" !important;
    gap: 8px !important;
    min-height: 68px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }

  .v2-flight-time,
  .v2-flight-code,
  .v2-flight-destination,
  .v2-airline,
  .v2-flight-status {
    align-self: center !important;
  }

  .v2-flight-time__change {
    width: 100% !important;
    display: grid !important;
    justify-items: start !important;
    gap: 2px !important;
    padding: 4px 5px !important;
  }

  .v2-flight-time__arrow {
    display: none !important;
  }

  .v2-flight-time__scheduled {
    font-size: 13px !important;
  }

  .v2-flight-time__expected {
    font-size: 18px !important;
  }

  .v2-flight-destination strong,
  .v2-flight-destination strong.v2-route-chain {
    overflow: hidden !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .v2-flight-destination small {
    margin-top: 2px !important;
    font-size: 9px !important;
  }

  .v2-airline {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .v2-airline__logo {
    width: 42px !important;
    height: 34px !important;
  }

  .v2-airline strong {
    overflow: hidden !important;
    font-size: 11px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .v2-status {
    min-height: 32px !important;
    padding: 6px 8px !important;
    font-size: 10px !important;
  }

  /* Карточка рейса: компактная верхняя сводка, остальное прокручивается внутри окна. */
  .flight-detail__hero {
    min-height: 82px !important;
    height: 82px !important;
    padding: 10px 64px 9px 14px !important;
  }

  .flight-detail__title h2 {
    font-size: clamp(22px, 3.5vw, 29px) !important;
  }

  .flight-detail-route {
    gap: 6px !important;
    margin-top: 7px !important;
    font-size: 10px !important;
  }

  .flight-detail-route__point {
    min-height: 22px !important;
    padding: 0 8px !important;
  }

  .flight-detail-route__line {
    width: 22px !important;
  }

  .flight-detail__badge {
    width: 150px !important;
    padding: 9px 11px !important;
    border-radius: 12px !important;
  }

  .flight-detail__badge span {
    font-size: 8px !important;
  }

  .flight-detail__badge strong {
    margin: 4px 0 0 !important;
    font-size: 29px !important;
  }

  .flight-detail__summary {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .flight-detail__summary article {
    min-height: 86px !important;
    padding: 10px 12px !important;
  }

  .flight-detail__summary span {
    font-size: 8px !important;
  }

  .flight-detail__summary strong {
    margin-top: 5px !important;
    font-size: clamp(15px, 2.25vw, 20px) !important;
  }

  .flight-detail__summary small {
    margin-top: 4px !important;
    font-size: 9px !important;
  }

  .flight-detail-time-change {
    gap: 5px !important;
    margin-top: 5px !important;
  }

  .flight-detail-time-change del,
  .flight-detail-time-change ins {
    font-size: clamp(18px, 2.5vw, 23px) !important;
  }

  .flight-detail__body {
    grid-template-columns: minmax(0, 1fr) minmax(235px, 0.42fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .flight-detail-main,
  .flight-detail-side {
    gap: 10px !important;
  }

  .flight-detail-panel,
  .flight-detail-side article {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .flight-detail-panel__head {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .flight-detail-panel__head > strong,
  .flight-detail-panel__time > strong {
    font-size: 34px !important;
  }

  .flight-detail-steps {
    gap: 7px !important;
    margin-top: 12px !important;
  }

  .flight-detail-steps li {
    min-height: 44px !important;
    gap: 6px !important;
    padding: 0 8px !important;
  }

  .flight-detail-timeline-state {
    min-height: 76px !important;
    margin-top: 10px !important;
    padding: 11px !important;
  }

  /* Обычные страницы и тарифы используют всю короткую высоту, без огромной шапки. */
  .content-detail__hero,
  .content-detail__hero--compact,
  .content-detail--legal .content-detail__hero {
    min-height: 76px !important;
    height: auto !important;
    padding: 10px 64px 9px 14px !important;
  }

  .content-detail__hero h2,
  .content-detail__hero--compact h2 {
    font-size: clamp(22px, 3.4vw, 28px) !important;
  }

  .content-detail__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  .content-detail__facts article {
    min-height: 66px !important;
    padding: 10px 12px !important;
  }

  .content-detail__body {
    padding: 10px !important;
  }

  .service-modal__toolbar,
  .tariff-modal__toolbar {
    min-height: 50px !important;
    padding: 5px 8px !important;
  }

  .service-modal__tabs button,
  .tariff-modal__tabs button {
    min-height: 38px !important;
  }
}

/* Настоящий планшет в альбомной ориентации: просторнее телефона, но без десктопных скачков. */
@media (orientation: landscape) and (min-height: 561px) and (min-width: 768px) and (max-width: 1199px) {
  .v2-service-tiles,
  html[data-service-tiles-bottom="true"] .v2-service-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .v2-service-tile,
  html[data-service-tiles-bottom="true"] .v2-service-tile {
    min-height: 72px !important;
    height: 72px !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .v2-service-tile__icon,
  html[data-service-tiles-bottom="true"] .v2-service-tile__icon {
    width: 40px !important;
    height: 40px !important;
  }

  .v2-service-tile strong {
    font-size: clamp(14px, 1.8vw, 18px) !important;
  }

  .v2-service-tile small {
    overflow: hidden !important;
    font-size: 10px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .v2-board-wrap,
  html[data-board-peek="true"] .v2-board-wrap,
  html[data-tablet-board-tight="true"] .v2-board-wrap,
  html[data-tablet-board-tight="true"][data-board-peek="true"] .v2-board-wrap {
    margin-top: -52svh !important;
  }

  .v2-board__hero,
  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-columns: minmax(300px, 1.15fr) minmax(220px, 0.82fr) minmax(170px, auto) 54px !important;
    grid-template-areas: "switch local time search" !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  html[data-board-local-filter-visible="false"] .v2-board__hero {
    grid-template-columns: minmax(330px, 1fr) minmax(180px, auto) 54px !important;
    grid-template-areas: "switch time search" !important;
  }

  .v2-board__switch,
  .v2-board-local-filter.v2-board-scope-filter,
  .v2-board__time,
  .v2-board__search-toggle {
    height: 54px !important;
    min-height: 54px !important;
    align-self: center !important;
  }

  .v2-board-local-filter.v2-board-scope-filter {
    width: 100% !important;
  }

  .v2-board__time {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 12px !important;
  }

  .v2-board__time .v2-clock-dial,
  .v2-board__time > small {
    display: none !important;
  }

  .v2-board__time strong {
    font-size: 27px !important;
  }

  .v2-board__search-toggle {
    width: 54px !important;
  }

  .tariff-modal__window,
  .flight-modal__window,
  .content-modal__window,
  .board-modal__window,
  .schedule-calendar-modal__window {
    width: calc(100% - 24px) !important;
    height: calc(100dvh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 18px !important;
  }
}

/* Tablet portrait: keep the main board within the first useful screen. */
@media (orientation: portrait) and (min-width: 768px) and (max-width: 1199px) {
  html body .v2-board-wrap,
  html[data-board-peek="true"] body .v2-board-wrap,
  html[data-tablet-board-tight="true"] body .v2-board-wrap,
  html[data-tablet-board-tight="true"][data-board-peek="true"] body .v2-board-wrap {
    margin-top: -61svh !important;
  }

  .v2-modal-window,
  .v2-content-window,
  .v2-service-window,
  .v2-tariffs-window,
  .v2-flight-detail-window {
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    height: calc(100dvh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 12px !important;
    border-radius: 20px !important;
  }
}

/* 2026-08-30: окончательная компоновка для телефона в альбомной ориентации.
   Режим определяется небольшой высотой окна, поэтому планшеты остаются в своём макете. */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1180px) {
  .v2-header__actions,
  .v2-menu-button {
    position: relative;
    z-index: 8;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  /* В короткой шапке подпись не должна пересекать быстрые кнопки. */
  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization {
    display: none !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-header,
  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-header__inner {
    min-height: 60px !important;
  }

  .v2-contacts {
    min-height: auto !important;
    padding: 72px 0 12px !important;
    align-items: flex-start !important;
  }

  .v2-contacts__grid {
    grid-template-columns: minmax(185px, 0.72fr) minmax(0, 2.28fr) !important;
    gap: 10px 14px !important;
    align-items: stretch !important;
  }

  .v2-contacts__grid > div:first-child {
    align-self: center;
  }

  .v2-contacts__grid > div:first-child .v2-kicker {
    margin-bottom: 4px !important;
    font-size: 9px !important;
  }

  .v2-contacts__grid > div:first-child h2 {
    margin: 0 0 6px !important;
    font-size: clamp(23px, 3.4vw, 31px) !important;
    line-height: 0.98 !important;
  }

  .v2-contacts__grid > div:first-child > p:last-child {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .v2-contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .v2-contact-list a {
    min-height: 104px !important;
    height: 104px !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: center !important;
    gap: 2px 8px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .v2-contact-list a::before {
    grid-row: 1 / 3 !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    font-size: 17px !important;
  }

  .v2-contact-list a::after {
    display: none !important;
  }

  .v2-contact-list span {
    margin: 0 !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .v2-contact-list strong {
    font-size: clamp(12px, 1.55vw, 15px) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
  }

  .v2-contact-social {
    position: static !important;
    grid-column: 1 !important;
    justify-content: flex-start !important;
    align-self: start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .v2-contact-social .v2-footer-social__link {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 10px !important;
  }

  .v2-contact-social .v2-footer-social__link svg {
    width: 17px !important;
    height: 17px !important;
  }

  .v2-contact-legal {
    grid-column: 1 / -1 !important;
    min-height: 0 !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    font-size: 9px !important;
  }

  .v2-contact-legal__links,
  .v2-contact-legal__details {
    gap: 7px !important;
  }

  /* Меню остаётся двухколоночным, но помещается в короткую высоту телефона. */
  .v2-menu-overlay__panel {
    height: 100dvh !important;
    grid-template-rows: 50px minmax(0, 1fr) !important;
  }

  .v2-menu-overlay__head {
    min-height: 50px !important;
    height: 50px !important;
    padding: 4px 10px !important;
  }

  .v2-menu-overlay__brand {
    display: block !important;
    width: 118px !important;
  }

  .v2-menu-overlay__brand img {
    height: 38px !important;
  }

  .v2-menu-overlay__head > div span {
    display: none !important;
  }

  .v2-menu-overlay__head > div strong {
    font-size: 19px !important;
  }

  .v2-menu-overlay__close {
    width: 38px !important;
    height: 38px !important;
  }

  .v2-menu-overlay__content {
    overflow: hidden !important;
  }

  .v2-premium-menu {
    height: 100% !important;
    display: grid !important;
    grid-template-columns: 210px minmax(0, 1fr) !important;
  }

  .v2-premium-menu__categories {
    min-height: 0 !important;
    overflow: auto !important;
    padding: 10px 12px !important;
  }

  .v2-premium-menu__categories::after,
  .v2-premium-menu__intro > strong,
  .v2-premium-menu__intro p {
    display: none !important;
  }

  .v2-premium-menu__intro {
    display: block !important;
    margin: 0 0 6px !important;
  }

  .v2-premium-menu__intro > span {
    font-size: 8px !important;
  }

  .v2-premium-menu__tabs {
    display: grid !important;
    align-content: start !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  .v2-premium-menu__tabs button,
  .v2-premium-menu__tabs button:first-child {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    grid-template-columns: 18px minmax(0, 1fr) 23px !important;
    gap: 6px !important;
    padding: 3px 2px !important;
    border-width: 0 0 1px !important;
    border-radius: 0 !important;
  }

  .v2-premium-menu__tabs button:first-child {
    border-top-width: 1px !important;
  }

  .v2-premium-menu__tabs button > small {
    display: block !important;
    font-size: 7px !important;
  }

  .v2-premium-menu__tabs button > span {
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .v2-premium-menu__tabs button > i {
    min-width: 23px !important;
    min-height: 23px !important;
    font-size: 8px !important;
  }

  .v2-premium-menu__tabs button:hover,
  .v2-premium-menu__tabs button:focus-visible,
  .v2-premium-menu__tabs button.is-active {
    padding-left: 5px !important;
  }

  .v2-premium-menu__workspace {
    height: 100% !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  .v2-premium-menu__actions {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    padding: 7px 9px !important;
  }

  .v2-premium-menu__search {
    min-height: 46px !important;
    gap: 8px !important;
    padding: 5px 10px !important;
    border-radius: 12px !important;
  }

  .v2-premium-menu__search svg {
    width: 20px !important;
    height: 20px !important;
  }

  .v2-premium-menu__search small {
    font-size: 7px !important;
  }

  .v2-premium-menu__search strong {
    font-size: 13px !important;
  }

  .v2-premium-menu__search > i {
    font-size: 18px !important;
  }

  .v2-premium-menu__quick {
    grid-template-columns: repeat(3, 44px) !important;
    gap: 5px !important;
  }

  .v2-premium-menu__quick a {
    width: 44px !important;
    min-height: 44px !important;
    padding: 3px !important;
    border-radius: 11px !important;
    font-size: 8px !important;
  }

  .v2-premium-menu__panels {
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .v2-premium-menu__panel {
    height: 100% !important;
    overflow: auto !important;
    padding: 6px 9px 12px !important;
  }

  .v2-premium-menu__panel > header {
    margin-bottom: 7px !important;
  }

  .v2-premium-menu__panel > header > span {
    font-size: 7px !important;
  }

  .v2-premium-menu__panel h2 {
    margin: 2px 0 4px !important;
    font-size: clamp(21px, 3.5vw, 30px) !important;
    line-height: 0.95 !important;
  }

  .v2-premium-menu__panel > header p {
    font-size: 9px !important;
    line-height: 1.25 !important;
  }

  .v2-premium-menu__links {
    columns: 2 !important;
    column-gap: 6px !important;
  }

  .v2-premium-menu__links > button {
    min-height: 62px !important;
    grid-template-columns: 20px minmax(0, 1fr) 12px !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
    padding: 8px !important;
    border-radius: 10px !important;
  }

  .v2-premium-menu__links > button > small {
    font-size: 7px !important;
  }

  .v2-premium-menu__links > button > span {
    gap: 3px !important;
  }

  .v2-premium-menu__links > button strong {
    font-size: 12px !important;
  }

  .v2-premium-menu__links > button em {
    font-size: 8px !important;
    line-height: 1.2 !important;
  }

  .v2-premium-menu__links > button > i {
    font-size: 12px !important;
  }

  /* В коротком окне источники не занимают отдельную строку и не крадут контент. */
  .tariff-modal__window {
    grid-template-rows: 70px auto minmax(0, 1fr) !important;
  }

  .tariff-modal__footer {
    display: none !important;
  }

  [data-v2-tariff-modal] .tariff-modal__window {
    grid-template-rows: 70px auto minmax(0, 1fr) auto !important;
  }

  [data-v2-tariff-modal] .tariff-modal__footer {
    display: flex !important;
    min-height: 0;
    padding: 4px 8px;
  }

  [data-v2-tariff-modal] .tariff-pdfs a {
    min-height: 34px;
  }
}

/* Подпись центрируется относительно изображения логотипа, а не относительно всей шапки. */
@media (orientation: portrait) and (max-width: 820px) {
  html[data-anniversary-logo="true"][data-anniversary-name="true"] .v2-brand__organization,
  html[data-anniversary-logo="true"][data-anniversary-name="true"][data-anniversary-name-style="under-logo-stacked"] .v2-brand__organization {
    left: 50% !important;
    right: auto !important;
    margin-inline: 0 !important;
    transform: translateX(-50%) !important;
  }
}

/* Единый юбилейный знак: название является частью изображения и больше не
   зависит от ширины шрифта, масштаба браузера или разрешения экрана. */
html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-header__inner {
  min-height: var(--v2-anniversary-composite-desktop-header, 180px);
}

html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand {
  width: var(--v2-anniversary-composite-desktop-width, 300px);
  min-width: var(--v2-anniversary-composite-desktop-width, 300px);
  height: var(--v2-anniversary-composite-desktop-brand-height, 174px);
  overflow: visible;
}

html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand img {
  top: 50% !important;
  left: 0 !important;
  width: var(--v2-anniversary-composite-desktop-width, 300px) !important;
  max-width: var(--v2-anniversary-composite-desktop-width, 300px) !important;
  height: var(--v2-anniversary-composite-desktop-image-height, 188px) !important;
  content: url("assets/anniversary-80-with-title-fixed.svg") !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: translateY(-50%) !important;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 1px 1px rgba(255, 255, 255, 0.5)) !important;
}

/* Единый знак выше отдельной эмблемы. Резервируем его реальную высоту,
   чтобы быстрые кнопки не перекрывали название в две строки. */
html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-hero__inner {
  padding-top: max(var(--v2-anniversary-composite-desktop-hero-top, 194px), calc(var(--v2-anniversary-composite-desktop-hero-top, 194px) + var(--v2-service-tiles-offset, 0px))) !important;
}

html[data-anniversary-composite-logo="true"] .v2-brand__organization,
html[data-anniversary-composite-logo="true"] .v2-anniversary-name-center,
html[data-anniversary-composite-logo="true"] .v2-anniversary-name-wide {
  display: none !important;
}

@media (max-width: 1199px) {
  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-header__inner {
    min-height: var(--v2-anniversary-composite-tablet-header, 166px);
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand {
    width: var(--v2-anniversary-composite-tablet-width, 270px);
    min-width: var(--v2-anniversary-composite-tablet-width, 270px);
    height: var(--v2-anniversary-composite-tablet-brand-height, 160px);
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand img {
    width: var(--v2-anniversary-composite-tablet-width, 270px) !important;
    max-width: var(--v2-anniversary-composite-tablet-width, 270px) !important;
    height: var(--v2-anniversary-composite-tablet-image-height, 170px) !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-hero__inner {
    padding-top: max(var(--v2-anniversary-composite-tablet-hero-top, 180px), calc(var(--v2-anniversary-composite-tablet-hero-top, 180px) + var(--v2-service-tiles-offset, 0px))) !important;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-header__inner {
    min-height: var(--v2-anniversary-composite-mobile-header, 132px) !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand {
    width: min(var(--v2-anniversary-composite-mobile-width, 240px), 52vw) !important;
    min-width: min(var(--v2-anniversary-composite-mobile-width, 240px), 52vw) !important;
    height: var(--v2-anniversary-composite-mobile-brand-height, 124px) !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand img {
    width: min(var(--v2-anniversary-composite-mobile-width, 240px), 52vw) !important;
    max-width: min(var(--v2-anniversary-composite-mobile-width, 240px), 52vw) !important;
    height: var(--v2-anniversary-composite-mobile-image-height, 132px) !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-hero__inner {
    padding-top: max(var(--v2-anniversary-composite-mobile-hero-top, 138px), calc(var(--v2-anniversary-composite-mobile-hero-top, 138px) + var(--v2-service-tiles-offset, 0px))) !important;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 1024px) {
  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-header,
  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-header__inner {
    min-height: 92px !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand {
    width: var(--v2-anniversary-composite-landscape-width, 150px) !important;
    min-width: var(--v2-anniversary-composite-landscape-width, 150px) !important;
    height: 88px !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-brand img {
    top: 50% !important;
    width: var(--v2-anniversary-composite-landscape-width, 150px) !important;
    max-width: var(--v2-anniversary-composite-landscape-width, 150px) !important;
    height: 100px !important;
    transform: translateY(-50%) !important;
  }

  html[data-anniversary-logo="true"][data-anniversary-composite-logo="true"] .v2-hero__inner {
    padding-top: 98px !important;
  }
}

/* Низкие ноутбуки: раздел «Пассажирам» помещается без обрезания страницы. */
@media (min-width: 1025px) and (max-height: 850px) {
  html[data-header-navigation="dropdown"] .v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__panel {
    width: min(1120px, calc(100vw - 32px));
    padding: 12px;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__grid {
    display: block;
    columns: 3;
    column-gap: 8px;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    padding-top: 6px;
  }

  html[data-header-navigation="dropdown"] .v2-nav-menu[data-v2-nav-group="passengers"] .v2-nav-menu__grid > button {
    min-height: 58px;
    margin-bottom: 2px;
    padding: 8px 10px;
  }
}

/* Активный пункт верхнего меню остаётся в фирменной оранжевой гамме. */
@media (min-width: 1025px) {
  html[data-header-navigation="dropdown"] .v2-nav-menu:is(.is-hovered, .is-open, :hover, :focus-within) > button {
    color: var(--v2-orange) !important;
  }
}

/* Контактный блок сохраняет прежний верхний отступ, а лишний воздух убирается только снизу. */
@media (min-width: 1025px) {
  .v2-contacts {
    min-height: 0;
    align-items: flex-start;
    padding-bottom: 22px;
  }
}

/* На телефоне новостную карточку можно уверенно перелистывать пальцем. */
@media (max-width: 820px) {
  .v2-news-viewport {
    overflow: hidden;
    touch-action: pan-y;
  }

  .v2-news-track {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }
}

/* Контакты: компактная финальная компоновка без лишнего пустого экрана. */
.v2-contacts__heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.1vw, 68px);
  line-height: 0.96;
}

@media (min-width: 1025px) {
  .v2-contacts {
    min-height: 0 !important;
    padding: clamp(32px, 4.5vh, 54px) 0 22px !important;
    align-items: flex-start !important;
  }

  .v2-contacts__grid {
    grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr) !important;
    gap: 28px 46px !important;
  }

  .v2-contact-list a {
    min-height: clamp(220px, 28vh, 286px) !important;
    padding: 28px !important;
  }

  .v2-contact-list a::after {
    left: 28px !important;
    right: 28px !important;
    bottom: 96px !important;
  }

  .service-modal__tabs {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .v2-contacts__heading h2 {
    font-size: clamp(36px, 9vw, 54px);
  }
}

/* Контакты: соцсети полностью остаются внутри секции, без обрезания сверху. */
@media (min-width: 821px) {
  .v2-contact-social { top: -44px !important; }
}

/* Опциональная компактная компоновка контактных карточек. */
.v2-news .v2-section-head h2 {
  font-weight: 700;
}

.v2-news .v2-section-head h2,
html[data-contact-layout="compact"] .v2-contacts__heading h2 {
  font-size: clamp(20px, 1.5vw, 26px) !important;
  line-height: 1.1 !important;
}

.v2-news .v2-section-head h2::after,
html[data-contact-layout="compact"] .v2-contacts__heading h2::after {
  width: 96px !important;
  margin-top: 10px !important;
}

@media (min-width: 1025px) {
  html[data-contact-layout="compact"] .v2-contacts {
    padding-top: 22px !important;
  }

  html[data-contact-layout="compact"] .v2-contacts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 9px !important;
    align-items: center !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list {
    grid-column: 2 / -1 !important;
    width: 100% !important;
    gap: 9px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a {
    min-height: 74px !important;
    height: 74px !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    column-gap: 15px !important;
    row-gap: 3px !important;
    padding: 12px 16px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a::before {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a > span {
    font-size: 11px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a > strong {
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

html[data-contact-layout="compact"] .v2-contact-list a {
  min-height: 116px !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  align-items: center !important;
  column-gap: 16px !important;
  row-gap: 4px !important;
  padding: 20px 22px !important;
}

html[data-contact-layout="compact"] .v2-contact-list a::before {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
}

html[data-contact-layout="compact"] .v2-contact-list a::after { display: none !important; }

html[data-contact-layout="compact"] .v2-contact-list a > span,
html[data-contact-layout="compact"] .v2-contact-list a > strong {
  grid-column: 2 !important;
  margin: 0 !important;
}

html[data-contact-layout="compact"] .v2-contact-list a > span {
  align-self: end !important;
  font-size: 11px !important;
}

html[data-contact-layout="compact"] .v2-contact-list a > strong {
  align-self: start !important;
  font-size: clamp(16px, 1.15vw, 21px) !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

/* В компактном режиме соцсети находятся справа в юридической строке,
   сразу после названия авиаотряда. */
html[data-contact-layout="compact"] .v2-contact-social {
  position: static !important;
  justify-content: flex-end !important;
  align-self: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[data-contact-layout="compact"] .v2-contact-legal__details {
  flex-wrap: nowrap !important;
}

html[data-contact-layout="compact"] .v2-contact-legal__details .v2-contact-social .v2-footer-social__link {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 9px !important;
}

html[data-contact-layout="compact"] .v2-contact-legal__details .v2-contact-social .v2-footer-social__link svg {
  width: 17px !important;
  height: 17px !important;
}

@media (max-width: 820px) {
  html[data-contact-layout="compact"] .v2-contact-social {
    justify-content: flex-start !important;
  }

  html[data-contact-layout="compact"] .v2-contact-legal__details {
    flex-wrap: wrap !important;
  }
}

/* Финальный приоритет: на десктопе компактные контакты равны быстрым кнопкам шапки. */
@media (min-width: 1025px) {
  html[data-contact-layout="compact"] .v2-contact-list a {
    min-height: 74px !important;
    height: 74px !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    column-gap: 15px !important;
    row-gap: 3px !important;
    padding: 12px 16px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a::before {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a > span {
    font-size: 11px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a > strong {
    font-size: 19px !important;
    line-height: 1.22 !important;
  }
}

/* На телефонах компактные контакты сохраняют размер быстрых действий,
   а не возвращаются к высоким карточкам стандартной компоновки. */
@media (max-width: 820px) {
  html[data-contact-layout="compact"] .v2-contact-list {
    gap: 8px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a {
    min-height: 76px !important;
    height: 76px !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    padding: 10px 12px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a::before {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    font-size: 17px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a > span {
    font-size: 10px !important;
  }

  html[data-contact-layout="compact"] .v2-contact-list a > strong {
    font-size: 15px !important;
    line-height: 1.18 !important;
  }
}

.site-ai[hidden] {
  display: none !important;
}
