/* ==================================================
  CONTRAIL DUSK (v3.0.0, Dec 5, 2026)
  The redesign: deep night base, navy photo gradients, one sky-blue accent, Manrope.
  Loaded after glass.css in default.hbs. Overrides tokens first, then components.
================================================== */

:root,
html:root,
html[data-theme] {
  --dk-base: #0E1015;
  --dk-surface: #161922;
  --dk-surface-2: #1B1F2A;
  --dk-line: #1F232D;
  --dk-line-2: #2A2F3B;
  --dk-navy: #0B1B3D;
  --dk-navy-2: #1C3A78;
  --dk-navy-soft: #13213F;
  --dk-sky: #8CCBFF;
  --dk-sky-ink: #08152E;
  --dk-amber: #F5B97A;
  --dk-ink: #F2F4F8;
  --dk-ink-2: #D9DEE6;
  --dk-mute: #A3AAB8;
  --dk-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dk-navy-grad: radial-gradient(rgba(140,203,255,.16) 1.2px, transparent 1.8px) 0 0 / 18px 18px, linear-gradient(160deg, #0B1B3D 0%, #1C3A78 100%);

  /* glass tokens re-pointed */
  --cg-navy: #161922;
  --cg-deep: #0E1015;
  --cg-coral: #F5B97A;
  --cg-sky: #8CCBFF;
  --cg-blue: #8CCBFF;
  --cg-ink: #F2F4F8;
  --cg-mute: #A3AAB8;
  --cg-glass: #161922;
  --cg-glass-flat: #161922;
  --cg-line: #1F232D;
  --cg-line-strong: #2A2F3B;
  --cg-shadow: none;
  --cg-blur: none;
  --cg-sans: var(--dk-font);

  --color-text: #F2F4F8;
  --color-white: #F2F4F8;
  --color-black: #0E1015;
  --color-bg-body: #0E1015;
  --color-bg-card: #161922;
  --color-border: #1F232D;
  --color-border-card: #1F232D;
  --color-bg-button: #8CCBFF;
  --color-text-button: #08152E;
  --ghost-accent-color: #8CCBFF;
  --corner-radius: 16px;
  --corner-radius-lg: 24px;
  --heading-font-family: var(--dk-font);
  --body-font-family: var(--dk-font);
  --heading-letter-spacing: -0.025em;
  --body-letter-spacing: 0;
  --gh-font-heading: var(--dk-font);
  --gh-font-body: var(--dk-font);
  --ct-live: #F5B97A;
}

html { background-color: var(--dk-base); }
body, button, input, select, textarea {
  font-family: var(--dk-font) !important;
  letter-spacing: 0;
}
body { background: var(--dk-base); color: var(--dk-ink); }
body::before { background: radial-gradient(90% 520px at 50% -120px, rgba(28,58,120,.35), transparent 70%), var(--dk-base) !important; }
body::after { display: none !important; animation: none !important; }
h1, h2, h3, h4, h5, h6,
[class*="s-heading-"] { font-family: var(--dk-font) !important; font-weight: 800 !important; letter-spacing: -0.025em !important; color: var(--dk-ink); }
::selection { background: rgba(140,203,255,.35); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--dk-sky); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn, .s-btn, button.btn, a.btn {
  background: var(--dk-sky) !important;
  color: var(--dk-sky-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
.btn span { color: inherit !important; }
.btn:hover { background: #A9D8FF !important; }

/* ---------- Header ---------- */
.s-header {
  background: rgba(14,16,21,.92) !important;
  -webkit-backdrop-filter: saturate(1.2) blur(12px) !important;
          backdrop-filter: saturate(1.2) blur(12px) !important;
  border-bottom: 1px solid var(--dk-line) !important;
  box-shadow: none !important;
  padding: 12px 0 !important;
}
.s-header::before { display: none !important; }
.s-header .s-menu > li > a { color: var(--dk-ink) !important; font-weight: 600 !important; font-size: 16px !important; letter-spacing: 0 !important; }
.s-header .s-menu > li > a:hover { color: var(--dk-sky) !important; }
.s-header .s-menu > li.is-current > a,
.s-header .s-menu > li > a[aria-current="page"] { color: var(--dk-sky) !important; }
.ct-nav-ins a span { color: var(--dk-sky) !important; }
.ct-sub-btn { padding: 0 20px !important; min-height: 44px !important; display: inline-flex !important; align-items: center; }
.ct-signin { color: var(--dk-ink) !important; font-weight: 700 !important; }
.s-utils-search, .s-utils-burger, .s-utils-close {
  width: 44px; height: 44px; border-radius: 22px !important;
  border: 1px solid var(--dk-line-2) !important;
  background: transparent !important; color: var(--dk-ink) !important;
  display: inline-flex !important; align-items: center; justify-content: center;
}
@media (max-width: 1023px) {
  .s-header .s-nav { background-color: var(--dk-base) !important; }
}

/* ---------- Tags ---------- */
.s-tag {
  background: #1B2A4A !important;
  color: var(--dk-sky) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 5px 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}
.s-tag[data-tag="breaking-news"], .s-tag[data-tag="live"] { background: var(--dk-sky) !important; color: var(--dk-sky-ink) !important; }
.s-tag[data-tag="flight-review"] { background: rgba(140,203,255,.16) !important; }
.ct-live, .ct-live--tag { background: var(--dk-amber) !important; color: #2A1600 !important; border-radius: 999px !important; }

/* ---------- Cards ---------- */
.s-card {
  background: var(--dk-surface) !important;
  border: 1px solid var(--dk-line) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.s-card::before, .s-card::after { display: none !important; }
.s-card .s-image, .s-card .s-image img { border-radius: 18px !important; }
.s-card-content h2, .s-card-content h3, .s-card-content .s-heading-xl, .s-card-content .s-heading-lg { line-height: 1.22 !important; }
.s-card-content a:hover { color: var(--dk-sky) !important; }
.s-card-excerpt { color: #C3CAD6 !important; }
.s-byline, .s-byline a, .s-byline-date, .s-byline-reading { color: var(--dk-mute) !important; font-weight: 600; }
.s-byline-author-name a { color: var(--dk-ink) !important; font-weight: 700; }

/* Lead story: full photo with a navy fade, title on the photo */
.ct-lead-top .s-card {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  min-height: 560px;
  display: block !important;
  border-radius: 28px !important;
}
.ct-lead-top .s-card-image, .ct-lead-top .s-card-image a { position: absolute !important; inset: 0 !important; display: block; margin: 0 !important; }
.ct-lead-top .s-card-image .s-image { position: absolute !important; inset: 0 !important; aspect-ratio: auto !important; height: 100% !important; padding: 0 !important; border-radius: 0 !important; }
.ct-lead-top .s-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
.ct-lead-top .s-card-image a::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,61,0) 25%, rgba(11,27,61,.78) 60%, rgba(11,27,61,.97) 100%);
}
.ct-lead-top .s-card-content {
  position: relative !important; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 560px; box-sizing: border-box;
  padding: 32px !important;
  pointer-events: none;
}
.ct-lead-top .s-card-content a { pointer-events: auto; }
.ct-lead-top .s-card-content h2, .ct-lead-top .s-card-content h1, .ct-lead-top .s-card-content [class*="s-heading"] { font-size: clamp(30px, 3.2vw, 46px) !important; line-height: 1.06 !important; letter-spacing: -0.03em !important; }
.ct-lead-top .s-card-excerpt { color: #C9D6EE !important; font-size: 18px !important; line-height: 1.5 !important; max-width: 640px; }
.ct-lead-top .s-byline, .ct-lead-top .s-byline a { color: #C9D6EE !important; }
@media (max-width: 767px) {
  .ct-lead-top .s-card, .ct-lead-top .s-card-content { min-height: 460px; }
  .ct-lead-top .s-card-content { padding: 20px !important; }
  .ct-lead-top .s-card-content [class*="s-heading"] { font-size: 27px !important; line-height: 1.12 !important; }
  .ct-lead-top .s-card-excerpt { display: none; }
}
.ct-lead-h { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--dk-ink) !important; }
.ct-lead-side .s-card { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--dk-line) !important; border-radius: 0 !important; padding: 14px 0 !important; }
.ct-lead-side .s-card .s-image, .ct-lead-side .s-card .s-image img { border-radius: 16px !important; }

/* As seen in */
.ct-seen-label { text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important; color: var(--dk-mute) !important; font-size: 14px !important; }
.ct-seen-logo { color: #C9D6EE !important; opacity: .85; }

/* Feed */
.s-card-loader, .s-card-loader div { color: var(--dk-mute); }

/* ---------- Article ---------- */
.s-entry-header h1 {
  font-size: clamp(34px, 4.4vw, 56px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}
.s-entry-excerpt { font-size: 21px !important; line-height: 1.5 !important; color: #C3CAD6 !important; font-family: var(--dk-font) !important; }
.s-feature-image .s-image, .s-feature-image img { border-radius: 24px !important; }
.s-feature-image-caption { color: #8B93A3 !important; font-size: 14px !important; text-align: center; }

.s-entry-content {
  font-family: var(--dk-font) !important;
  font-size: 19px !important;
  line-height: 1.75 !important;
  color: var(--dk-ink-2) !important;
  letter-spacing: 0 !important;
}
.s-entry-content p, .s-entry-content li { font-family: var(--dk-font) !important; color: var(--dk-ink-2); }
.s-entry-content a:not(.kg-btn):not([class*="tc-"] a):not(.btn) {
  color: var(--dk-ink) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-color: var(--dk-sky) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px !important;
}
.s-entry-content a:not(.kg-btn):hover { color: var(--dk-sky) !important; }
.s-entry-content > h2 {
  font-size: 30px !important; line-height: 1.2 !important;
  padding-left: 16px; border-left: 4px solid var(--dk-sky);
  margin-top: 1.6em !important;
}
.s-entry-content > h3 { font-size: 23px !important; }
.s-entry-content > hr { border: 0 !important; height: 1px; background: var(--dk-line) !important; }
.s-entry-content blockquote { border-left: 4px solid var(--dk-sky) !important; color: var(--dk-ink) !important; }
.s-entry-content figcaption { color: #8B93A3 !important; font-family: var(--dk-font) !important; }
.s-entry-content .kg-image, .s-entry-content .kg-gallery-image img { border-radius: 18px; }

/* Latest Updates box (dusk.js wraps the heading and its entries) */
.dk-lu {
  margin: 8px 0 32px; padding: 22px 24px; border-radius: 22px;
  background: var(--dk-navy-soft); border: 1px solid #23396A;
}
.dk-lu > h2 { border: 0 !important; padding: 0 !important; margin: 0 0 12px !important; font-size: 15px !important; color: var(--dk-sky) !important; letter-spacing: 0 !important; }
.dk-lu > p { position: relative; padding-left: 24px; margin: 0 0 12px !important; font-size: 17px !important; line-height: 1.6 !important; color: var(--dk-ink) !important; }
.dk-lu > p:last-child { margin-bottom: 0 !important; }
.dk-lu > p::before { content: ''; position: absolute; left: 2px; top: 9px; width: 10px; height: 10px; border-radius: 5px; background: #4A5F86; }
.dk-lu > p:first-of-type::before { background: var(--dk-sky); box-shadow: 0 0 0 4px rgba(140,203,255,.18); }
.dk-lu > p strong, .dk-lu > p b { color: var(--dk-ink); }

/* In-story Contrail cards (tc-*): dark versions of the old cream cards */
body .s-entry-content div[class^="tc-"], body .s-entry-content div[class*=" tc-"] {
  --bg: #161922 !important; --panel: #0E1015 !important; --ink: #F2F4F8 !important;
  --mute: #A3AAB8 !important; --line: #2A2F3B !important;
  --good: #8CCBFF !important; --bad: #F5B97A !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 1px solid var(--dk-line) !important;
  border-top: 1px solid var(--dk-line) !important;
  box-shadow: none !important;
  font-family: var(--dk-font) !important;
  border-radius: 24px !important;
}
body .s-entry-content div[class^="tc-"] * { font-family: var(--dk-font) !important; }
body.post-template:not(.tag-flight-review) .s-entry-content div[class^="tc-"] { --accent: #8CCBFF !important; }
body .s-entry-content div[class^="tc-"] .eyebrow { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; color: var(--dk-sky) !important; }
body .s-entry-content div[class^="tc-"] .title { color: var(--dk-ink) !important; }
body .s-entry-content div[class^="tc-"] .row { border-bottom-color: var(--dk-line-2) !important; color: var(--dk-ink) !important; }
body .s-entry-content div[class^="tc-"] .row b { color: var(--dk-ink) !important; }
body.post-template:not(.tag-flight-review) .s-entry-content div[class^="tc-"] .row .k { color: var(--dk-sky-ink) !important; }
body .s-entry-content div[class^="tc-"] .bar { background: var(--dk-navy) !important; color: var(--dk-ink) !important; }
body .s-entry-content div[class^="tc-"] .bar b { color: var(--dk-sky) !important; }
body .s-entry-content div[class^="tc-"] .mark { text-transform: none !important; letter-spacing: 0 !important; font-size: 11px !important; }

/* Insider, signup and author boxes */
.ct-inscta, .ct-authorbox, .ct-series, .ct-gfav, .ct-take-prompt {
  background: var(--dk-surface) !important;
  border: 1px solid var(--dk-line) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}
.ct-inscta { background: var(--dk-navy-grad) !important; border-color: #2A4A8A !important; }
.ct-inscta-eb, .ct-series-label, .ct-authorbox-label { text-transform: none !important; letter-spacing: 0 !important; color: var(--dk-sky) !important; }
.ct-insbar, .ct-alert, .ct-welcome { background: var(--dk-surface) !important; border-color: var(--dk-line-2) !important; }
.ct-insbar-tag { background: var(--dk-sky) !important; color: var(--dk-sky-ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
.ct-progress { background: var(--dk-sky) !important; }

/* Share and footer */
.s-share a, .s-share button, .s-share-copyurl { border-radius: 999px !important; border: 1px solid var(--dk-line-2) !important; background: transparent !important; color: var(--dk-ink) !important; }
.s-footer { background: #0A0C10 !important; border-top: 1px solid var(--dk-line) !important; }
.s-footer p, .s-footer a, .ct-footlinks a { color: var(--dk-mute) !important; }
.s-footer a:hover, .ct-footlinks a:hover { color: var(--dk-sky) !important; }

/* Sidebar */
.s-sidebar-item, .s-sidebar .s-card { background: var(--dk-surface) !important; border: 1px solid var(--dk-line) !important; border-radius: 24px !important; box-shadow: none !important; }

/* Forms */
input[type="text"], input[type="email"], input[type="search"], select, textarea {
  background: var(--dk-base) !important; border: 1px solid var(--dk-line-2) !important;
  color: var(--dk-ink) !important; border-radius: 14px !important;
}

/* ---------- Phone tab bar ---------- */
.dk-tabbar { display: none; }
@media (max-width: 767px) {
  .dk-tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1001; padding: 6px; border-radius: 24px;
    background: rgba(22,25,34,.94);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--dk-line-2);
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
  }
  .dk-tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; border-radius: 18px;
    color: var(--dk-mute) !important; text-decoration: none !important;
    font-size: 12px; font-weight: 800;
  }
  .dk-tabbar a[aria-current="page"] { background: rgba(140,203,255,.16); color: var(--dk-sky) !important; }
  .dk-tabbar svg { width: 22px; height: 22px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  html body .ct-insbar { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  .ct-alert { bottom: calc(82px + env(safe-area-inset-bottom)) !important; right: 10px !important; left: 10px !important; width: auto !important; }
  .ct-welcome { bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Beat the older glass/contrail rules ---------- */
:root, html body, html body [data-tags], html body [class*="tag-"] { --ac: transparent !important; }
html body .s-cards .s-card[data-tags], html body .s-card.s-card {
  background: var(--dk-surface) !important;
  border: 1px solid var(--dk-line) !important;
}
html body .ct-lead-side .s-card.s-card { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--dk-line) !important; }
html body .s-tags .s-tag, html body .s-tags .s-tag[data-tag] {
  background: #1B2A4A !important; color: var(--dk-sky) !important;
  border: 0 !important; border-radius: 999px !important;
  font-size: 13px !important; font-weight: 700 !important; padding: 5px 12px !important;
}
html body .s-tags .s-tag[data-tag="breaking-news"] { background: var(--dk-sky) !important; color: var(--dk-sky-ink) !important; }
html body .s-tags a.s-tag:hover { background: var(--dk-sky) !important; color: var(--dk-sky-ink) !important; }
html body .s-feature-image .s-image {
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  border-radius: 24px !important; overflow: hidden; background: var(--dk-surface) !important;
}
html body .s-card .s-image { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
@media (min-width: 1024px) {
  html body .s-utils-burger, html body .s-nav .s-utils-close { display: none !important; }
}
@media (max-width: 767px) {
  html body .ct-lead-side .s-card.s-card { display: grid !important; grid-template-columns: minmax(0,1fr) 84px !important; gap: 14px !important; align-items: center; }
  html body .ct-lead-side .s-card-image { grid-column: 2 !important; grid-row: 1 !important; width: 84px !important; max-width: 84px !important; margin: 0 !important; }
  html body .ct-lead-side .s-card-image .s-image { width: 84px !important; height: 84px !important; padding: 0 !important; aspect-ratio: 1 / 1 !important; position: relative !important; }
  html body .ct-lead-side .s-card-image img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
  html body .ct-lead-side .s-card-content { grid-column: 1 !important; grid-row: 1 !important; min-width: 0 !important; width: auto !important; }
  html body .ct-lead-side .s-card-content [class*="s-heading"] { font-size: 17px !important; line-height: 1.3 !important; }
  html body .ct-lead-side .s-tags { display: none !important; }
}

/* ---------- Story photo under the headline ---------- */
html body .dk-fi { margin: 28px 0 8px !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; }
html body .dk-fi > div, html body .dk-fi .s-image { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }
.dk-fi .s-image { aspect-ratio: 3 / 2; }
.dk-fi .s-feature-image-caption { margin-top: 12px !important; }

/* ---------- Review hero ---------- */
.dk-rhero { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: flex-end; margin-top: -24px; }
.dk-rhero--noimg { min-height: 0; background: var(--dk-navy-grad); }
.dk-rhero-img, .dk-rhero-img picture { position: absolute; inset: 0; }
.dk-rhero-img img { width: 100%; height: 100%; object-fit: cover; }
.dk-rhero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,27,61,.96) 0%, rgba(11,27,61,.8) 40%, rgba(11,27,61,.12) 78%), linear-gradient(0deg, #0E1015 0%, rgba(14,16,21,0) 32%);
}
.dk-rhero-in { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 40px; padding-top: 96px !important; padding-bottom: 64px !important; }
.dk-rhero-head { flex: 1 1 auto; max-width: 760px; }
.dk-rhero-head h1 { font-size: clamp(34px, 4.2vw, 56px) !important; line-height: 1.05 !important; }
.dk-rhero-head .s-entry-excerpt { color: #C9D6EE !important; }
.dk-rhero-head .s-byline { border-bottom: 0 !important; padding-bottom: 0 !important; }
.dk-rhero-head .s-byline, .dk-rhero-head .s-byline a { color: #C9D6EE !important; }
.dk-rhero .ct-score {
  flex: 0 0 auto; margin-left: auto;
  width: 200px; height: 200px; border-radius: 100px;
  display: inline-flex !important; align-items: center; justify-content: center;
  background: rgba(14,16,21,.72) !important; color: var(--dk-ink) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: inset 0 0 0 10px rgba(140,203,255,.12) !important;
  font-size: 72px !important; font-weight: 800 !important; letter-spacing: -0.04em;
  position: relative;
}
.dk-rhero .ct-score::after { content: 'Contrail score'; position: absolute; bottom: 44px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--dk-sky); }
.dk-rhero .ct-score[hidden] { display: none !important; }
.dk-rhero-cap { margin: 12px 0 0 !important; text-align: left !important; }
@media (max-width: 767px) {
  .dk-rhero { min-height: 560px; }
  .dk-rhero::after { background: linear-gradient(180deg, rgba(11,27,61,.1) 0%, rgba(11,27,61,.85) 55%, #0E1015 100%); }
  .dk-rhero-in { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 180px !important; padding-bottom: 32px !important; }
  .dk-rhero .ct-score { width: 110px; height: 110px; font-size: 40px !important; margin-left: 0; order: -1; }
  .dk-rhero .ct-score::after { bottom: 20px; font-size: 10px; }
}

/* ---------- Older hand-built boxes inside pages (inline styles) ---------- */
html body .s-entry-content div[class^="tc-"] .btn,
html body .s-entry-content div[class^="tc-"] a.btn { background: var(--dk-sky) !important; color: var(--dk-sky-ink) !important; }
html body .s-entry-content div[class^="tc-"] .deal { background: var(--dk-navy-soft) !important; border: 1px solid #23396A; color: var(--dk-ink) !important; }
html body .s-entry-content div[class^="tc-"] .plan { background: var(--dk-base) !important; border: 1px solid var(--dk-line-2) !important; }
html body .s-entry-content div[class^="tc-"] .plan.best { border-color: var(--dk-sky) !important; }
html body .s-entry-content [style*="background:#F3F1EF"], html body .s-entry-content [style*="background: #F3F1EF"] {
  background: var(--dk-surface) !important; color: var(--dk-ink) !important; border: 1px solid var(--dk-line);
}
html body .s-entry-content [style*="background:#F3F1EF"] [style*="background:#fff"],
html body .s-entry-content [style*="background:#F3F1EF"] [style*="background:#FFF"],
html body .s-entry-content [style*="background:#F3F1EF"] [style*="background:#FFFFFF"] { background: var(--dk-base) !important; color: var(--dk-ink) !important; border: 1px solid var(--dk-line-2); }
html body .s-entry-content [style*="color:#1C1A19"], html body .s-entry-content [style*="color:#77706B"] { color: inherit !important; }
html body .s-entry-content [style*="color:#77706B"] { color: var(--dk-mute) !important; }
html body .s-entry-content [style*="background:#FFC27A"] { background: var(--dk-sky) !important; color: var(--dk-sky-ink) !important; }
html body .s-entry-content [style*="color:#FFC27A"] { color: var(--dk-sky) !important; }
html body .s-entry-content [style*="background:#141E32"] { background: var(--dk-navy) !important; }
html body .s-entry-content a[style*="background:#141E32"] { background: var(--dk-navy-2) !important; box-shadow: inset 0 0 0 1px var(--dk-sky) !important; }
html body .s-entry-content [style*="background:#C8102E"] { background: var(--dk-navy-soft) !important; }

/* ---------- Homepage: Right now row ---------- */
.dk-now[hidden], .dk-fares[hidden] { display: none !important; }
.dk-now-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.dk-now-head h2 { margin: 0; font-size: 20px !important; }
.dk-now-head a { color: var(--dk-sky) !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.dk-now-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dk-now-row::-webkit-scrollbar { display: none; }
.dk-now-chip { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; min-width: 150px; max-width: 260px; padding: 12px 16px; border-radius: 18px; background: var(--dk-surface); border: 1px solid var(--dk-line-2); color: var(--dk-ink) !important; text-decoration: none !important; }
a.dk-now-chip:hover { border-color: var(--dk-sky); }
.dk-now-code { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; }
.dk-now-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--dk-amber); flex: none; }
.dk-now-chip.is-clear .dk-now-dot { background: var(--dk-sky); }
.dk-now-chip.is-stop { border-color: rgba(245,185,122,.5); }
.dk-now-st { font-size: 14px; font-weight: 700; color: #C9D6EE; }
.dk-now-why { font-size: 13px; color: var(--dk-mute); }

/* ---------- Homepage: fares block ---------- */
.dk-fares-in { border-radius: 28px; background: var(--dk-navy-grad); border: 1px solid #2A4A8A; padding: 32px; }
.dk-fares-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.dk-fares-copy { max-width: 720px; }
.dk-kicker { display: block; font-size: 14px; font-weight: 800; color: var(--dk-sky); margin-bottom: 8px; }
.dk-fares-copy h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px) !important; line-height: 1.15 !important; }
.dk-fares-copy p { margin: 0; color: #C9D6EE; font-size: 16px; }
.dk-fares-pick { display: inline-block; }
html body .dk-fares-from {
  font: inherit !important; font-weight: 800 !important; color: var(--dk-sky) !important;
  background: rgba(14,16,21,.45) !important; border: 1px solid rgba(140,203,255,.45) !important;
  border-radius: 14px !important; padding: 0 36px 0 12px !important; height: 1.5em; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8CCBFF 50%), linear-gradient(135deg, #8CCBFF 50%, transparent 50%) !important;
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55% !important; background-size: 6px 6px !important; background-repeat: no-repeat !important;
}
.dk-fares-from option { color: #0E1015; }
.dk-fares-all { min-height: 48px; padding: 0 22px !important; display: inline-flex !important; align-items: center; }
.dk-fares-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 120px; }
.dk-fares-grid[aria-busy="true"] { opacity: .5; }
.dk-fare { position: relative; display: block; min-height: 190px; border-radius: 22px; overflow: hidden; background: #13213F; border: 1px solid rgba(255,255,255,.08); text-decoration: none !important; color: var(--dk-ink) !important; }
.dk-fare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dk-fare-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,61,.05) 25%, rgba(11,27,61,.93) 100%); }
.dk-fare-tag { position: absolute; top: 14px; left: 14px; padding: 4px 11px; border-radius: 999px; background: var(--dk-sky); color: var(--dk-sky-ink); font-size: 12px; font-weight: 800; }
.dk-fare-info { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.dk-fare-left { display: flex; flex-direction: column; min-width: 0; }
.dk-fare-city { font-size: 20px; font-weight: 800; line-height: 1.2; }
.dk-fare-meta { font-size: 13px; color: #C9D6EE; font-weight: 600; }
.dk-fare-price { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.dk-fare:hover { border-color: var(--dk-sky); }
@media (max-width: 900px) { .dk-fares-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .dk-fares-in { padding: 20px; border-radius: 24px; }
  .dk-fares-grid { grid-template-columns: 1fr; }
  .dk-fare { min-height: 130px; }
  .dk-fares-all { width: 100%; justify-content: center; }
}
@media (max-width: 600px) { .dk-fare:nth-child(n+5) { display: none; } }

/* ---------- Liquid glass tab bar (v3.1.2) ---------- */
@media (max-width: 767px) {
  html body .dk-tabbar {
    background: linear-gradient(180deg, rgba(36,42,56,.84), rgba(16,19,27,.9)) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.25), 0 16px 36px rgba(0,0,0,.5) !important;
    border-radius: 28px !important;
  }
  .dk-tab-ind {
    position: absolute; top: 6px; bottom: 6px; left: 0; width: 0;
    border-radius: 22px; opacity: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(140,203,255,.30), rgba(140,203,255,.14));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(140,203,255,.28), 0 6px 18px rgba(140,203,255,.18);
    transition: transform .32s cubic-bezier(.3,1.35,.5,1), width .32s cubic-bezier(.3,1.35,.5,1), opacity .2s;
  }
  html body .dk-tabbar a { position: relative; z-index: 1; transition: color .2s, transform .15s; }
  html body .dk-tabbar a[aria-current="page"] { background: transparent !important; }
  html body .dk-tabbar a:active { transform: scale(.92); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .dk-tab-ind { transition: none; } }

/* ---------- Phone menu fix (v3.1.4): the header's blur trapped the full-screen menu inside the header bar ---------- */
@media (max-width: 1023px) {
  html body .s-header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #0E1015 !important; }
  html body.s-nav-open .s-header .s-nav {
    position: fixed !important; inset: 0 !important; height: 100vh !important; height: 100dvh !important;
    background: #0E1015 !important; overflow-y: auto !important; z-index: 1002 !important;
  }
  html body.s-nav-open .dk-tabbar, html body.s-nav-open .ct-insbar { display: none !important; }
  html body .s-nav .s-menu > li > a { font-size: 22px !important; font-weight: 700 !important; }
}
