* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
button, input { font: inherit; }
a { color: inherit; }
.lab-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px clamp(14px, 3vw, 40px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand-link, .exit-link, .lab-nav a { text-decoration: none; }
.brand-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 800;
}
.brand-link strong { color: var(--accent); }
.lab-nav { display: flex; justify-content: center; gap: 4px; min-width: 0; }
.lab-nav a { padding: 8px 10px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.lab-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.exit-link { padding: 8px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; white-space: nowrap; }
main { overflow: clip; }
.lab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(230px, .55fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  min-height: 520px;
  padding: clamp(72px, 10vw, 130px) max(20px, calc((100vw - 1180px) / 2)) 34px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 96%, transparent) 0%, color-mix(in srgb, var(--bg) 74%, transparent) 62%, transparent 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%),
    url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&fit=crop&w=1800&q=85") center 45% / cover;
}
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.lab-hero h1 { margin: 0; max-width: 780px; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: 0; }
.lab-hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 620px; margin: 22px 0 0; color: color-mix(in srgb, var(--text) 78%, var(--muted)); font-size: 18px; }
.trip-clock {
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.trip-clock span, .trip-clock small { color: var(--muted); }
.trip-clock strong { margin: 4px 0; color: var(--accent); font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.world-clocks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.world-clocks div { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; padding: 14px 18px; border-right: 1px solid var(--border); }
.world-clocks div:last-child { border-right: 0; }
.world-clocks span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.world-clocks strong { grid-row: span 2; align-self: center; color: var(--accent); font-size: 25px; }
.world-clocks small { color: var(--muted); }
.time-console {
  position: sticky;
  top: 64px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100% - 28px));
  margin: 24px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.time-console h2 { margin: 0; font-size: 17px; }
.time-console .eyebrow { margin-bottom: 2px; }
.time-slider { display: grid; grid-template-columns: 132px minmax(160px, 1fr); gap: 12px; align-items: center; }
.time-slider span { color: var(--muted); font-variant-numeric: tabular-nums; }
.time-scrubber {
  --scrub-progress: 0%;
  display: grid;
  grid-template-rows: 27px 11px;
  gap: 1px;
  min-width: 0;
  height: 39px;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.time-scrubber:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.scrub-track {
  position: relative;
  display: block;
  height: 27px;
  margin: 0 13px;
}
.scrub-track::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 8px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--muted) 32%, transparent) 0 1px, transparent 1px 12px),
    color-mix(in srgb, var(--bg) 82%, transparent);
  transform: translateY(-50%);
}
.scrub-fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--scrub-progress);
  height: 8px;
  border-radius: 4px 0 0 4px;
  background: color-mix(in srgb, var(--accent) 72%, var(--surface));
  transform: translateY(-50%);
}
.scrub-handle {
  position: absolute;
  top: 50%;
  left: var(--scrub-progress);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 46px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 68%, var(--border));
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent));
  box-shadow: 0 4px 12px rgb(0 0 0 / .18), inset 0 1px 0 rgb(255 255 255 / .12);
  transform: translate(-50%, -50%);
  transition: left .14s ease-out, border-color .15s ease;
}
.scrub-handle i { width: 2px; height: 9px; border-radius: 1px; background: color-mix(in srgb, var(--text) 52%, transparent); }
.time-scrubber.is-dragging { cursor: grabbing; }
.time-scrubber.is-dragging .scrub-handle { border-color: var(--accent); transition: border-color .15s ease; }
.scrub-limits {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  color: color-mix(in srgb, var(--muted) 76%, transparent);
  font: 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.time-console button, .embed-filter {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  padding: 7px 12px;
  cursor: pointer;
}
.experiment-section { width: min(1120px, calc(100% - 28px)); margin: 80px auto; scroll-margin-top: 130px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 40px; align-items: end; margin-bottom: 28px; }
.section-heading h2, .utility-grid h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: 0; }
.section-heading > p { margin: 0; color: var(--muted); }
.ticket-stack { display: grid; gap: 16px; }
.flight-ticket {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  overflow: hidden;
  min-height: 190px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.flight-ticket.airborne { border-color: var(--accent); }
.ticket-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-right: 1px dashed color-mix(in srgb, var(--muted) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; right: -11px; width: 20px; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); }
.ticket-stub::before { top: -11px; }
.ticket-stub::after { bottom: -11px; }
.ticket-stub span, .ticket-stub small { color: var(--muted); }
.ticket-stub strong { color: var(--accent); font-size: 27px; }
.ticket-body { min-width: 0; padding: 20px clamp(18px, 4vw, 44px); }
.ticket-status { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ticket-status span { color: var(--accent); font-weight: 700; }
.flight-route { display: grid; grid-template-columns: 110px minmax(100px, 1fr) 110px; gap: 18px; align-items: center; margin-top: 12px; }
.airport strong { display: block; color: var(--text); font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.airport span { display: block; color: var(--muted); font-size: 12px; }
.airport time { display: block; margin-top: 4px; color: var(--accent); font-size: 20px; font-weight: 700; }
.airport-arrival { text-align: right; }
.flight-track { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 7px, transparent 7px 13px); }
.flight-track::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--flight-progress); background: var(--accent); }
.flight-track::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; aspect-ratio: 1; border: 2px solid var(--accent); border-radius: 50%; background: var(--surface); transform: translateY(-50%); }
.plane { position: absolute; z-index: 2; left: var(--flight-progress); top: 50%; padding: 2px; background: var(--surface); color: var(--accent); font-size: 21px; line-height: 1; transform: translate(-50%, -50%) rotate(4deg); transition: left .18s ease-out; }
.zone-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--muted); font: 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.stay-timeline { display: grid; gap: 0; }
.stay-card { display: grid; grid-template-columns: 50px minmax(0, 1fr); }
.stay-sequence { position: relative; display: flex; justify-content: center; }
.stay-sequence span { position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); color: var(--accent); font-weight: 700; }
.stay-sequence i { position: absolute; top: 34px; bottom: 0; width: 1px; background: var(--border); }
.stay-card:last-child .stay-sequence i { display: none; }
.stay-content { width: var(--stay-width); min-width: min(100%, 470px); margin-bottom: 18px; padding: 0 0 18px 10px; border-bottom: 1px solid var(--border); }
.stay-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.stay-title h3 { margin: 0; font-size: 22px; }
.stay-title span { color: var(--muted); }
.stay-bar { height: 6px; margin: 10px 0 14px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
.stay-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--accent); opacity: .72; }
.stay-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stay-facts span { color: var(--text); }
.stay-facts b { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.stay-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stay-links a { color: var(--accent); font-size: 13px; text-decoration: none; }
.embed-band { width: 100%; padding: 70px max(14px, calc((100vw - 1120px) / 2)); background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.embed-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; }
.embed-filter.is-active { border-color: var(--accent); background: var(--accent); color: white; }
.embed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.embed-card { overflow: hidden; min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.embed-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.embed-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--border); }
.embed-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.embed-card:hover img { transform: scale(1.03); }
.embed-image span { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--text); font-size: 11px; backdrop-filter: blur(8px); }
.embed-copy { display: grid; gap: 5px; padding: 14px; }
.embed-copy small, .embed-copy span { color: var(--muted); }
.embed-copy strong { font-size: 17px; line-height: 1.2; }
.embed-copy span { display: flex; justify-content: space-between; font-size: 11px; }
.embed-copy b { color: var(--accent); }
.pipeline-note { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.pipeline-note summary { cursor: pointer; font-weight: 700; }
.pipeline-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pipeline-flow span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); }
.pipeline-flow i { color: var(--accent); font-style: normal; }
.pipeline-note p { max-width: 850px; color: var(--muted); }
.photo-gallery { display: grid; grid-template-columns: 1.25fr .75fr 1fr; grid-template-rows: 240px 190px; gap: 10px; }
.gallery-item { position: relative; overflow: hidden; min-width: 0; padding: 0; border: 0; border-radius: 6px; background: var(--border); color: white; cursor: zoom-in; }
.gallery-item-1 { grid-row: 1 / 3; }
.gallery-item-4 { grid-column: 3; grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item > span { position: absolute; inset: auto 0 0; display: grid; padding: 34px 12px 12px; background: linear-gradient(transparent, rgb(0 0 0 / .72)); text-align: left; }
.gallery-item small { opacity: .8; }
.gallery-dialog { width: min(1080px, calc(100% - 28px)); max-width: none; padding: 0; border: 0; border-radius: 8px; background: #0c0c0e; color: white; }
.gallery-dialog::backdrop { background: rgb(0 0 0 / .8); backdrop-filter: blur(8px); }
.gallery-dialog figure { margin: 0; }
.gallery-dialog img { display: block; width: 100%; max-height: 80vh; object-fit: contain; }
.gallery-dialog figcaption { padding: 12px 16px; }
.dialog-close, .gallery-arrow { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; background: rgb(0 0 0 / .55); color: white; cursor: pointer; }
.dialog-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 25px; }
.gallery-arrow { top: 50%; width: 42px; height: 42px; font-size: 30px; transform: translateY(-50%); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.utility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.utility-grid > article { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.utility-grid h2 { font-size: 30px; }
.current-moment, .food-answer { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 24px; }
.current-moment > span, .food-answer > span { font-size: 44px; }
.current-moment small, .next-moment small { display: block; color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.current-moment strong, .food-answer strong { display: block; font-size: 20px; }
.current-moment p, .food-answer p { margin: 3px 0 0; color: var(--muted); }
.next-moment { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.next-moment small { grid-column: 1 / -1; }
.next-moment span { color: var(--accent); font-weight: 700; }
.food-time { display: flex; justify-content: space-between; align-items: end; margin-top: 20px; }
.food-time span { color: var(--muted); }
.food-time strong { color: var(--accent); font-size: 38px; line-height: 1; }
.doc-equivalent {
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #343438;
  border-radius: 8px;
  background: #171719;
  color: #f5f5f3;
}
main > .doc-equivalent {
  width: min(1120px, calc(100% - 28px));
  margin: 28px auto 80px;
}
.doc-equivalent-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid #343438;
  background: #202023;
}
.doc-equivalent-head span {
  color: #ff6975;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}
.doc-equivalent-head h3 { margin: 3px 0 0; font-size: 18px; letter-spacing: 0; }
.doc-format-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.doc-format-tags span {
  padding: 3px 6px;
  border: 1px solid #424247;
  border-radius: 4px;
  color: #bbb;
  background: #18181a;
  font-size: 9px;
  white-space: nowrap;
}
.doc-equivalent pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d8d8da;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.doc-equivalent code { font: inherit; }
.doc-equivalent > p {
  margin: 0;
  padding: 11px 18px 13px;
  border-top: 1px solid #2e2e32;
  color: #aaa;
  font-size: 12px;
}
.doc-code-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-code-grid pre + pre { border-left: 1px solid #343438; }
.syntax-band { width: 100%; padding: 70px max(14px, calc((100vw - 1120px) / 2)); background: #171719; color: #f5f5f3; }
.syntax-band .section-heading > p { color: #aaa; }
.syntax-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.syntax-grid article { position: relative; min-width: 0; padding: 18px; border: 1px solid #39393d; border-radius: 8px; background: #202023; }
.syntax-type { display: inline-block; margin-bottom: 10px; color: #ff6975; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.syntax-grid pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #d2d2d3; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.compat-matrix { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 18px; border: 1px solid #39393d; border-radius: 8px; overflow: hidden; }
.compat-matrix span { padding: 12px; border-right: 1px solid #39393d; color: #aaa; font-size: 12px; }
.compat-matrix span:last-child { border-right: 0; }
.compat-matrix b { display: block; color: #f5f5f3; }
.section-heading.compact { align-items: center; }
.source-band code { max-width: 100%; overflow-wrap: anywhere; color: var(--muted); }
.recognition-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.recognition-stats span { padding: 18px; border-right: 1px solid var(--border); color: var(--muted); }
.recognition-stats span:last-child { border-right: 0; }
.recognition-stats strong { display: block; color: var(--accent); font-size: 30px; }
.raw-block { margin-top: 18px; }
.raw-block summary { cursor: pointer; font-weight: 700; }
.raw-block pre, .fatal-error { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

@media (max-width: 900px) {
  .lab-top { grid-template-columns: 1fr auto; }
  .lab-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; }
  .lab-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 70px; }
  .trip-clock { min-height: 150px; }
  .time-console { top: 104px; grid-template-columns: 1fr auto; }
  .time-slider { grid-column: 1 / -1; grid-row: 2; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .embed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compat-matrix { grid-template-columns: repeat(3, 1fr); }
  .compat-matrix span:nth-child(3) { border-right: 0; }
  .compat-matrix span:nth-child(-n+3) { border-bottom: 1px solid #39393d; }
}

@media (max-width: 640px) {
  .exit-link { display: none; }
  .lab-top { grid-template-columns: 1fr; gap: 4px; }
  .lab-nav { grid-row: auto; grid-column: auto; }
  .lab-nav a { padding-left: 6px; padding-right: 6px; }
  .lab-hero { padding-top: 54px; }
  .lab-hero h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .world-clocks div { grid-template-columns: 1fr; gap: 2px; padding: 10px; }
  .world-clocks strong { grid-row: auto; font-size: 20px; }
  .world-clocks small { font-size: 10px; }
  .time-console {
    position: sticky;
    top: 92px;
    z-index: 18;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    width: calc(100% - 16px);
    margin-top: 10px;
    padding: 10px 12px;
  }
  .time-console h2 { font-size: 15px; }
  .time-console .eyebrow { display: none; }
  .time-console button { justify-self: start; }
  .time-console button { justify-self: end; padding: 6px 9px; font-size: 11px; }
  .time-slider { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
  .time-slider > span:first-child { font-size: 11px; }
  .experiment-section { margin-top: 58px; margin-bottom: 58px; }
  .flight-ticket { grid-template-columns: 1fr; }
  .ticket-stub { display: grid; grid-template-columns: 1fr auto; padding: 12px 16px; border-right: 0; border-bottom: 1px dashed var(--border); }
  .ticket-stub strong { grid-column: 1; grid-row: 2; font-size: 22px; }
  .ticket-stub small { grid-column: 2; grid-row: 2; align-self: end; }
  .ticket-stub::before, .ticket-stub::after { top: auto; bottom: -11px; }
  .ticket-stub::before { left: -11px; }
  .ticket-stub::after { right: -11px; }
  .ticket-body { padding: 16px; }
  .flight-route { grid-template-columns: 72px minmax(60px, 1fr) 72px; gap: 8px; }
  .airport strong { font-size: 34px; }
  .airport time { font-size: 17px; }
  .zone-row { font-size: 9px; }
  .stay-card { grid-template-columns: 36px minmax(0, 1fr); }
  .stay-sequence { justify-content: flex-start; }
  .stay-content { min-width: 0; width: 100%; padding-left: 0; }
  .stay-facts { grid-template-columns: repeat(2, 1fr); }
  .embed-grid, .utility-grid, .syntax-grid { grid-template-columns: 1fr; }
  .doc-equivalent-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .doc-format-tags { justify-content: flex-start; }
  .doc-code-grid { grid-template-columns: 1fr; }
  .doc-code-grid pre + pre { border-top: 1px solid #343438; border-left: 0; }
  .doc-equivalent pre { font-size: 11px; }
  .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 160px 160px; }
  .gallery-item-1 { grid-column: 1 / 3; grid-row: 1; }
  .gallery-item-4 { grid-column: auto; grid-row: auto; }
  .compat-matrix { grid-template-columns: repeat(2, 1fr); }
  .compat-matrix span { border-bottom: 1px solid #39393d; }
  .compat-matrix span:nth-child(2n) { border-right: 0; }
  .compat-matrix span:nth-last-child(-n+2) { border-bottom: 0; }
  .recognition-stats { grid-template-columns: repeat(2, 1fr); }
  .recognition-stats span:nth-child(2) { border-right: 0; }
  .recognition-stats span:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
