:root {
  --ink: #0b1018;
  --ink-2: #121a26;
  --panel: rgba(14, 20, 30, 0.92);
  --panel-solid: #141c28;
  --line: rgba(212, 175, 55, 0.28);
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --cream: #f3ead6;
  --muted: #9aa3b0;
  --crimson: #a33b32;
  --navy: #3d5a80;
  --olive: #6b8f71;
  --sea: #1b3a4a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --serif: "EB Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 64px;
  --mast-h: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; max-width: 100%; }
body { overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(163, 59, 50, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(212, 175, 55, 0.08), transparent 50%),
    var(--ink);
  line-height: 1.55;
}

img { max-width: 100%; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 80;
  background: var(--gold); color: var(--ink); padding: 8px 12px;
}

.nav {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 22px;
  background: rgba(11, 16, 24, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
  min-width: 0;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  cursor: pointer;
}
.nav-panel { min-width: 0; }
.brand {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--cream); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.35rem; letter-spacing: 0.12em;
  color: var(--gold);
}
.brand-sub { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 2px 16px;
  list-style: none; margin: 0; padding: 0;
  min-width: 0;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--cream); font-size: 0.92rem; letter-spacing: 0.04em;
  text-decoration: none; opacity: 0.9;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--gold-2); }
.sub {
  display: none;
  position: absolute; top: 100%; left: 0; z-index: 50;
  min-width: 180px; margin: 0; padding: 6px 0;
  list-style: none;
  background: var(--panel-solid);
  border: 1px solid var(--line);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { display: flex; padding: 8px 14px; min-height: 44px; }

.kicker {
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.lede {
  max-width: 62ch; color: #d7d0c0; font-size: 1.12rem;
  margin: 0 0 28px;
}
.hero {
  position: relative;
  padding: 11px 22px 12px;
  overflow: hidden;
  border-bottom: 0;
  background:
    linear-gradient(100deg, rgba(163, 59, 50, 0.34) 0%, rgba(163, 59, 50, 0.06) 26%, transparent 48%),
    #101820;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--gold) 22%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-left: 5.4rem;
}
.hero-num {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-54%);
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 5.5rem;
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: rgba(240, 215, 140, 0.07);
  -webkit-text-stroke: 1px rgba(240, 215, 140, 0.42);
  pointer-events: none;
  user-select: none;
}
.hero-copy { min-width: 0; }
.hero .kicker {
  margin: 0 0 2px;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  line-height: 0.92;
  margin: 0;
  letter-spacing: -0.02em;
}
.hero h1 span {
  display: inline;
  color: var(--gold-2);
  font-style: italic;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0;
  margin: 0;
}
.hero .lede {
  flex: 0 1 36ch;
  max-width: 36ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
  color: #e4dcc8;
}

.map-stage {
  position: relative;
  height: min(92vh, 920px);
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}
.map-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}
#map { height: 100%; width: 100%; min-width: 0; background: #0a1218; }

.map-chrome {
  position: absolute; z-index: 500; pointer-events: none;
}
.map-chrome > * { pointer-events: auto; }

.leaflet-top.leaflet-left { top: 72px !important; }
.leaflet-top.leaflet-right { top: 72px !important; }

.layers {
  top: 72px; left: 54px;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: min(68vw, 620px);
}
.chip {
  appearance: none; border: 1px solid var(--line);
  background: var(--panel); color: var(--cream);
  padding: 7px 11px; border-radius: 999px;
  cursor: pointer; font-size: 0.78rem; letter-spacing: 0.04em;
}
.chip[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--gold-2);
}
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.search {
  top: 72px; right: 16px;
  width: min(300px, calc(100vw - 32px));
  transition: opacity 0.2s ease;
}
.search.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.search input {
  width: 100%;
  background: var(--panel); color: var(--cream);
  border: 1px solid var(--line); padding: 10px 12px;
}
.search input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.search-results {
  margin: 0; padding: 0; list-style: none;
  background: var(--panel-solid); border: 1px solid var(--line);
  border-top: 0; max-height: 280px; overflow: auto;
}
.search-results li button {
  width: 100%; text-align: left; background: none; border: 0;
  color: var(--cream); padding: 8px 12px; cursor: pointer;
}
.search-results li button:hover,
.search-results li button:focus { background: rgba(212,175,55,0.12); }

.timeline {
  left: 16px; right: 16px; bottom: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px 14px 10px;
  box-shadow: var(--shadow);
}
.timeline-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}
.timeline-top strong {
  font-family: var(--mono); color: var(--gold-2); letter-spacing: 0.06em;
  line-height: 1.25; max-width: 100%;
}
.tl-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-hint { margin: 6px 0 0; color: var(--muted); font-size: 0.78rem; }
.tl-controls button {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line); padding: 4px 10px; cursor: pointer;
}
.tl-controls button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-2); }
.timeline input[type="range"] { width: 100%; accent-color: var(--gold); }
.tl-event {
  margin: 8px 0 0; font-size: 0.92rem; color: #ddd6c6;
  min-height: 2.6em;
}
.tl-event em { color: var(--gold); font-style: normal; margin-right: 8px; }

.panel {
  position: absolute; z-index: 600;
  top: 72px; right: 16px;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100% - 220px);
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.28s ease;
}
.panel.open { transform: translateX(0); }
.panel-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 16px 16px 8px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--panel-solid);
}
.panel-head h2 {
  font-family: var(--serif); font-size: 1.45rem; margin: 0 0 4px; line-height: 1.15;
}
.panel-head p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.panel-close {
  background: none; border: 1px solid var(--line); color: var(--cream);
  width: 36px; height: 36px; cursor: pointer;
}
.panel-body { padding: 14px 16px 22px; }
.panel-body .hits {
  display: inline-block; margin-bottom: 10px;
  border: 1px solid var(--gold); color: var(--gold-2);
  font-size: 0.75rem; letter-spacing: 0.08em; padding: 3px 8px;
}
.panel-body p { margin: 0 0 10px; color: #e7dfcf; }
.panel-body h3 { font-family: var(--serif); font-size: 1.15rem; margin: 14px 0 8px; }
.ev-btn {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: rgba(0, 0, 0, 0.22); color: inherit;
  border: 1px solid var(--line); padding: 8px 10px; margin: 0 0 8px;
}
.ev-btn strong { color: var(--gold-2); font-weight: 600; margin-right: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 64px 22px; min-width: 0; }
.section-kicker {
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 8px;
}
h2.sec {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 18px; font-weight: 600;
}
.prose { max-width: 72ch; color: #d8d0c2; }
.prose p { margin: 0 0 12px; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px; margin-top: 22px;
  min-width: 0;
}
.card {
  border: 1px solid var(--line); background: rgba(18, 26, 38, 0.7);
  padding: 16px 16px 14px; cursor: pointer; text-align: left; color: inherit;
  width: 100%;
}
.card:hover, .card:focus { border-color: var(--gold); outline: none; }
.card h3 { font-family: var(--serif); margin: 0 0 6px; font-size: 1.2rem; }
.card .who { color: var(--gold-2); font-size: 0.86rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.table-wrap { overflow-x: auto; max-width: 100%; margin-top: 18px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(212,175,55,0.12); }
th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: rgba(20,28,40,0.9); }
tr[data-place] { cursor: pointer; }
tr[data-place]:hover td { background: rgba(212,175,55,0.08); }

.kron .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.event-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.event-list li { position: relative; padding: 0 0 22px 22px; }
.event-list li::before {
  content: ""; position: absolute; left: -5px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
.event-list li.itilaf::before { background: var(--navy); box-shadow: 0 0 0 2px rgba(61,90,128,0.4); }
.event-list li.turk::before { background: var(--crimson); }
.event-list li.quiet::before { background: var(--muted); box-shadow: none; }
.event-list .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-2);
}
.event-list time { font-family: var(--mono); color: var(--gold-2); font-size: 0.82rem; }
.event-list button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
}
.event-list h3 { margin: 2px 0 4px; font-size: 1.05rem; font-family: var(--serif); }
.event-list p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.note-box {
  border: 1px solid var(--line); padding: 18px;
  background: linear-gradient(180deg, rgba(212,175,55,0.07), transparent);
}
.note-box h3 { font-family: var(--serif); margin: 0 0 8px; }
.fallen { columns: 2; gap: 18px; margin: 12px 0 0; padding: 0 0 0 18px; color: #d8d0c2; }

.om-marker { background: none !important; border: 0 !important; }
.om-pin {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 1px solid rgba(243,234,214,0.55);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  font-size: 11px; font-weight: 700;
}
.om-pin span { transform: rotate(45deg); display: block; color: #0b1018; }
.om-marker--tabya .om-pin { background: #c45c4a; }
.om-marker--birlik .om-pin { background: #8fb392; }
.om-marker--gemi .om-pin { background: #7ea0c4; }
.om-marker--enkaz .om-pin { background: #d4af37; }
.om-marker--komuta .om-pin { background: #e8d5a3; }
.om-marker--kampanya .om-pin { background: #e07a4a; }
.om-marker--pulse .om-pin { animation: pulse 1.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.55); }
  100% { box-shadow: 0 0 0 16px rgba(212,175,55,0); }
}

.leaflet-control-attribution {
  background: rgba(11,16,24,0.75) !important;
  color: #9aa3b0 !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: #d4af37 !important; }
.leaflet-bar a { background: var(--panel-solid) !important; color: var(--cream) !important; border-bottom-color: var(--line) !important; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px 40px;
  color: var(--muted); font-size: 0.86rem;
}
.site-footer .inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.cmd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; min-width: 0; }
.cmd-grid h3.sub, h3.sub {
  font-family: var(--serif); font-size: 1.45rem; margin: 8px 0 0;
}
article.card { cursor: default; }
.source-list { margin: 8px 0 0; padding-left: 18px; color: #d8d0c2; }
.source-list li { margin: 0 0 8px; }


.page-main { max-width: 820px; margin: 0 auto; padding: 36px 16px 64px; min-width: 0; }
.page-main h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.05; margin: 0 0 16px;
}
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin: 0 0 18px;
}
.facts div { border: 1px solid var(--line); padding: 10px 12px; min-width: 0; background: rgba(20, 28, 40, 0.55); }
.facts dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.roster { list-style: none; margin: 12px 0 28px; padding: 0; display: grid; gap: 8px; }
.roster a {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 44px; padding: 12px 14px;
  border: 1px solid var(--line); color: var(--cream);
  min-width: 0;
}
.roster a:hover { border-color: var(--gold); text-decoration: none; }
.roster strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.roster span { color: var(--muted); font-size: 0.86rem; }
a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 14px; margin: 8px 0 4px;
  border: 1px solid var(--gold); color: var(--gold-2);
}
.ship-card {
  border: 1px solid var(--line); padding: 14px 14px 6px; margin: 0 0 12px;
  background: rgba(18, 26, 38, 0.7); min-width: 0;
}
.ship-card h3 { font-family: var(--serif); margin: 0 0 4px; }
.ship-card p { margin: 0 0 8px; color: #d8d0c2; }
.ship-card dl { margin: 0; }
.ship-card dl div { margin: 0 0 8px; }
.ship-card dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.ship-card dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; align-items: center; }
.text-btn, .card-links a {
  background: none; border: 0; padding: 0; margin: 0; color: var(--gold-2);
  cursor: pointer; font: inherit; min-height: 44px;
  display: inline-flex; align-items: center;
}
.event-page-link { display: inline-flex; align-items: center; min-height: 36px; margin: 2px 0 8px; font-size: 0.84rem; }
.event-list li.is-target h3 { color: var(--gold-2); }
.back-link { margin-top: 22px; }
.prose, .lede, .roster, .ship-card, h1, h2, h3 { overflow-wrap: break-word; }

@media (max-width: 860px) {
  .hero { padding: 8px 12px 9px; }
  .hero-num { display: none; }
  .hero-inner { display: block; padding-left: 0; }
  .hero .kicker { letter-spacing: 0.1em; font-size: 0.64rem; }
  .hero h1 { font-size: 1.6rem; line-height: 1; }
  .hero .lede {
    max-width: none;
    margin: 4px 0 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.28;
  }
  .wrap { padding: 36px 16px; }
  .nav { height: auto; flex-wrap: wrap; align-items: center; padding: 8px 12px; }
  .brand { min-width: 0; }
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel { display: none; flex: 1 1 100%; width: 100%; min-width: 0; }
  .nav-panel.is-open { display: block; }
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    flex-wrap: nowrap; overflow: visible; width: 100%; gap: 0;
    padding: 4px 0 10px;
  }
  .nav-links > li > a, .sub a { white-space: normal; }
  .sub, .has-sub:hover > .sub, .has-sub:focus-within > .sub {
    display: block; position: static; min-width: 0;
    border: 0; background: transparent; padding: 0 0 8px 12px;
  }
  .cmd-grid, .split, .facts { grid-template-columns: minmax(0, 1fr); }
  .fallen { columns: 1; }
  .map-stage { height: auto; min-height: 0; }
  .map-frame { flex: 0 0 auto; height: 62vh; min-height: 300px; max-height: 560px; }
  .leaflet-top.leaflet-left, .leaflet-top.leaflet-right { top: 8px !important; }
  .layers {
    top: 8px; left: 46px; right: 8px; max-width: none; width: auto;
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
  }
  .layers .chip { flex: 0 0 auto; }
  .search { top: auto; bottom: 8px; left: 8px; right: 8px; width: auto; }
  .search input { font-size: 16px; }
  .timeline {
    position: relative; left: auto; right: auto; bottom: auto;
    width: 100%; max-width: 100%; margin: 0;
  }
  .panel {
    top: auto; bottom: 0; right: 0; left: 0; width: 100%;
    max-height: 42%;
    transform: translateY(110%);
  }
  .panel.open { transform: translateY(0); }
  .panel-close { width: 44px; height: 44px; }
  .tl-controls button, .chip { min-height: 44px; min-width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel, .om-marker--pulse .om-pin { transition: none; animation: none; }
}


/* 2026-10-14c — side column, article measure, touch targets */
.page-main {
  max-width: calc(65ch + 44px);
  font-size: 1.125rem;
  line-height: 1.65;
}
.page-main h1 { margin-bottom: 12px; }
.page-main .prose { max-width: 65ch; font-size: 1em; line-height: 1.65; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 65ch;
  margin: 0 0 16px;
}
.facts div {
  flex: 1 1 7.5rem;
  background: transparent;
  border: 0;
  border-left: 2px solid var(--line);
  padding: 0 0 2px 10px;
}
.om-pin { width: 100%; height: 100%; }
.stage-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  background: var(--ink-2);
}
.stage-side .timeline {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-shadow: none;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  flex: 1 0 100%;
}
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; max-width: 65ch; }
.steps li { margin: 0 0 16px; }
.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}
.glossary { margin: 8px 0 0; max-width: 65ch; }
.glossary dt {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 18px 0 2px;
  color: var(--gold-2);
}
.glossary dd { margin: 0; color: #d8d0c2; }

@media (max-width: 1099px) {
  .map-stage { height: auto; min-height: 0; }
  .map-frame {
    flex: 0 0 auto;
    height: min(68vh, 640px);
    min-height: 300px;
    max-height: none;
  }
  .stage-side .panel {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    max-height: 50vh;
    z-index: 700;
    transform: translateY(110%);
  }
  .stage-side .panel.open { transform: translateY(0); }
}
@media (max-width: 860px) {
  .map-frame { height: 60vh; min-height: 240px; }
  .timeline input[type="range"] { height: 44px; margin: 4px 0; }
  .tl-controls button, .chip, .search-results li button, .panel-close {
    min-height: 44px;
    min-width: 44px;
  }
  .leaflet-bar a {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
  }
  .search-results li button { padding-top: 10px; padding-bottom: 10px; }
}
@media (min-width: 1100px) {
  .map-stage {
    flex-direction: row;
    align-items: stretch;
    height: calc(100dvh - var(--nav-h) - var(--mast-h));
    min-height: 420px;
  }
  .map-frame {
    flex: 1 1 63%;
    width: auto;
    max-width: 65%;
    min-width: 0;
    height: 100%;
  }
  .stage-side {
    flex: 1 1 37%;
    width: auto;
    min-width: 0;
    max-width: 40%;
    height: 100%;
    overflow: hidden;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .stage-side .timeline {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
  }
  .stage-side .panel {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-height: none;
    transform: none;
    box-shadow: none;
    display: none;
    flex: 1 1 50%;
    overflow: auto;
    min-height: 0;
  }
  .stage-side .panel.open { display: flex; flex-direction: column; transform: none; }
  .stage-side .panel.open .panel-body { overflow: auto; }
  .layers { max-width: calc(100% - 250px); }
  .search { width: min(220px, 34%); }
}
