
:root {
  --brand: #123a6b;
  --brand-ink: #ffffff;
  --brand-soft: #eaeff6;
  --brand-koyu: #0c2848;

  --vurgu: #0f6fd1;
  --marka-kirmizi: #cf232a;
  --live: #0f8c4c;

  --yon-g: #1657bd;     /* gidiş  — mavi    */
  --yon-d: #b45309;     /* dönüş  — kehribar */
  --yon-g-ink: #ffffff;
  --yon-d-ink: #ffffff;
  --warn: #b45309;
  --warn-soft: #fdf6ec;

  --bg: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --line: #dde3ea;
  --line-koyu: #c8d1dc;
  --ink: #0e1726;
  --ink-2: #4a5769;
  --ink-3: #7b8797;

  --r-sm: 6px;
  --r-md: 9px;
  --r-lg: 16px;
  --shadow-sheet: 0 -6px 28px rgba(14, 23, 38, .12);
  --shadow-card: 0 1px 2px rgba(14, 23, 38, .06);
  --shadow-yuksek: 0 4px 16px rgba(14, 23, 38, .10);

  --topbar-h: 62px;
  --tabbar-h: calc(58px + env(safe-area-inset-bottom));
  --sheet-peek: 46vh;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", system-ui, Arial, sans-serif;
}

:root[data-tema="koyu"] {
  --brand: #7ea6dd;
  --brand-ink: #08182b;
  --brand-soft: #16283f;
  --brand-koyu: #0a1728;

  --vurgu: #63a5e8;
  --live: #3ec97f;

  --yon-g: #7ea6dd;
  --yon-d: #e0983f;
  --yon-g-ink: #08182b;
  --yon-d-ink: #241203;
  --warn: #e0983f;
  --warn-soft: #24211a;

  --bg: #080d15;
  --surface: #0f151f;
  --surface-2: #151d2a;
  --line: #222c3c;
  --line-koyu: #2e3a4d;
  --ink: #e9eef6;
  --ink-2: #9fabbd;
  --ink-3: #6e7b8d;

  --shadow-sheet: 0 -6px 28px rgba(0, 0, 0, .5);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-yuksek: 0 4px 16px rgba(0, 0, 0, .45);
  --ctrl-filter: invert(1) hue-rotate(180deg);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  font-feature-settings: "cv11", "ss01";
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
button { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: var(--topbar-h) 1fr var(--tabbar-h);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  padding-top: env(safe-area-inset-top);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  z-index: 900;
}

.brand { display: flex; align-items: center; gap: 8px; flex: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--marka-kirmizi);
  color: #fff;
}

.brand-text {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.025em;
  line-height: 1.15;
  display: none;
  white-space: nowrap;
}
.brand-text em {
  display: block;
  font-style: normal; font-weight: 500;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0;
}

.search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--ink-3);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 36px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-koyu);
  border-radius: var(--r-md);
  outline: none;
  -webkit-appearance: none;
}
.search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  max-height: 62vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  z-index: 1;
  overscroll-behavior: contain;
}

.suggest a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.is-cursor { background: var(--surface-2); }
.suggest b { font-size: 14px; }
.suggest small { display: block; color: var(--ink-2); font-size: 12px; }
.suggest .row-code { min-width: 46px; }

.icon-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--line-koyu);
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--ink);
}
.icon-btn:active { transform: scale(.94); }
.icon-btn.is-busy { color: var(--brand); animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.stage { position: relative; overflow: hidden; }

.map-wrap { position: absolute; inset: 0; }
.map { width: 100%; height: 100%; background: var(--surface-2); }

.maplibregl-map { font: inherit; }
.maplibregl-ctrl-attrib {
  font-size: 10px;
  background: color-mix(in srgb, var(--surface) 85%, transparent) !important;
}
.maplibregl-ctrl-attrib a { color: var(--ink-2); }
.maplibregl-ctrl-group {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.maplibregl-ctrl-group button + button { border-top-color: var(--line); }
.maplibregl-ctrl-icon { filter: var(--ctrl-filter, none); }

.maplibregl-popup-content {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-card);
}
.maplibregl-popup-content a { color: var(--brand); font-weight: 600; }
.maplibregl-popup-tip { display: none; }

.marker-kutu { line-height: 0; cursor: pointer; }

.map-badge {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-yuksek);
  z-index: 500;
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent);
  animation: pulse 1.8s infinite;
}
.pulse-sm { width: 6px; height: 6px; }

@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.sheet {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 92%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-sheet);
  transform: translateY(calc(100% - var(--sheet-peek)));
  transition: transform .32s cubic-bezier(.32, .72, 0, 1);
  z-index: 600;
  touch-action: none;
}
.sheet.is-open   { transform: translateY(0); }
.sheet.is-closed { transform: translateY(calc(100% - 74px)); }
.sheet.is-dragging { transition: none; }

.sheet-grip {
  flex: none;
  height: 26px;
  display: grid;
  place-items: center;
  cursor: grab;
}
.sheet-grip::before {
  content: "";
  width: 40px; height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2px 16px 28px;
  touch-action: pan-y;
}

.sheet-head { padding: 4px 0 14px; }
.sheet-title { font-size: 23px; line-height: 1.18; letter-spacing: -.03em; }
.sheet-title .title-code {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px 2px 8px;
  margin-right: 6px;
  font-size: 17px;
  color: var(--brand-ink);
  background: var(--brand);
  border-radius: 8px;
  vertical-align: 2px;
}
.sheet-sub { margin: 7px 0 0; color: var(--ink-2); font-size: 14px; }

.eyebrow {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 7px;
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.pin {
  width: 9px; height: 9px;
  border: 2.5px solid var(--brand);
  border-radius: 50%;
  display: inline-block;
}

.head-actions {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px;
  padding: 0 14px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid var(--line-koyu);
  background: var(--surface);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--brand); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-ghost   { background: var(--surface-2); }
.btn-block   { width: 100%; height: 46px; font-size: 15px; }
.btn[data-fav-toggle] .fav-ikon { transition: fill .15s; }
.btn[data-fav-toggle].is-on {
  background: var(--brand-soft); border-color: var(--brand); color: var(--brand);
}

.tag {
  padding: 5px 10px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.notice {
  margin: 4px 0 16px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.notice-cta { text-align: center; }
.notice-fine { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); }
.notice-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.notice-warn b { display: block; margin-bottom: 6px; color: var(--warn); font-size: 13px; }
.notice-warn p { margin: 0 0 4px; font-size: 14px; }
.notice-warn small { color: var(--ink-3); font-size: 12px; }

.live-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 22px 0 10px;
}
.block-title {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3);
}
.live-time { font-size: 12px; color: var(--ink-3); }

.block { margin-top: 26px; }

.list { display: flex; flex-direction: column; gap: 8px; }

.row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .15s, background .15s;
}
.row:hover { border-color: var(--line-koyu); background: var(--surface-2); }
.row:active { background: var(--brand-soft); }
.list-compact .row { padding: 10px 12px; }

.row-code {
  flex: none;
  min-width: 54px;
  padding: 6px 8px;
  font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  text-align: center;
  color: var(--brand-ink);
  background: var(--brand);
  border-radius: var(--r-sm);
}
.row[data-yon="G"] .row-code { color: var(--yon-g-ink); background: var(--yon-g); }
.row[data-yon="D"] .row-code { color: var(--yon-d-ink); background: var(--yon-d); }

.row-dist {
  flex: none;
  min-width: 52px;
  font-size: 15px; font-weight: 700;
  text-align: center;
  color: var(--ink-2);
}
.row-dist i { font-style: normal; font-size: 11px; margin-left: 1px; color: var(--ink-3); }

.row-icon { flex: none; width: 52px; display: grid; place-items: center; }

.row-main { flex: 1; min-width: 0; }
.row-main b {
  display: block;
  font-size: 14.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row-main small { display: block; margin-top: 1px; font-size: 12px; color: var(--ink-2); }

.row-eta { flex: none; text-align: right; min-width: 62px; }
.row-eta .eta { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.row-eta .eta i { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 2px; color: var(--ink-3); }
.row-eta .eta-yakin { color: var(--live); }
.row-eta small { display: block; font-size: 11px; color: var(--ink-3); }
.eta-yok { font-size: 12px; color: var(--ink-3); }

.row-arrow { flex: none; font-size: 20px; color: var(--ink-3); line-height: 1; }

.empty { padding: 24px 8px; text-align: center; color: var(--ink-2); font-size: 14px; }
.fine { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 8px;
  max-width: 100%;
  padding: 7px 12px 7px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .15s;
}
.chip:hover { border-color: var(--brand); }
.chip b {
  padding: 3px 7px;
  font-size: 12.5px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand-ink);
  background: var(--brand);
  border-radius: 4px;
}
.chip span {
  font-size: 12.5px; color: var(--ink-2);
  max-width: 190px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chips-tight .chip span { max-width: 130px; }

.alfabe { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.alfabe a {
  min-width: 32px; padding: 5px 8px;
  font-size: 13px; font-weight: 700; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
}

.steps { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.steps li { margin-bottom: 8px; }
.steps b { color: var(--ink); }

.segmented {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.segmented button {
  padding: 6px 12px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-2);
  background: none; border: 0; border-radius: var(--r-sm);
  cursor: pointer;
  max-width: 46vw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.segmented button.is-active { color: var(--brand-ink); background: var(--brand); }
.segmented button[data-yon="G"].is-active { color: var(--yon-g-ink); background: var(--yon-g); }
.segmented button[data-yon="D"].is-active { color: var(--yon-d-ink); background: var(--yon-d); }

.segmented button[data-yon]::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
  background: var(--yon-g);
}
.segmented button[data-yon="D"]::before { background: var(--yon-d); }
.segmented button[data-yon].is-active::before { background: currentColor; opacity: .55; }

.stops { list-style: none; margin: 12px 0 0; padding: 0; }
.stops a {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 4px 9px 0;
}
.stops li { position: relative; }
.stops li::before {
  content: "";
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}
.stops li:first-child::before { top: 50%; }
.stops li:last-child::before { bottom: 50%; }

.stop-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 14px; height: 14px;
  background: var(--surface);
  border: 3px solid var(--yon-g);
  border-radius: 50%;
}
[data-yon-panel="D"] .stop-dot { border-color: var(--yon-d); }
[data-yon-panel="D"] .stops li::before { background: color-mix(in srgb, var(--yon-d) 30%, var(--line)); }
.stop-main { flex: 1; min-width: 0; }
.stop-main b { display: block; font-size: 14px; font-weight: 600; }
.stop-main small { font-size: 12px; color: var(--ink-2); }
.stop-no { flex: none; font-size: 12px; font-weight: 700; color: var(--ink-3); }

.saat-baslik {
  display: flex; align-items: baseline; gap: 8px;
  margin: 16px 0 8px;
  font-size: 14px;
}
.saat-baslik small { font-weight: 500; color: var(--ink-3); font-size: 12px; }

.saatler { display: flex; flex-wrap: wrap; gap: 6px; }
.saatler span {
  padding: 5px 9px;
  font-size: 12.5px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.saatler span.is-next { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface);
  border-top: 1px solid var(--line);
  z-index: 700;
}

.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  font-size: 10.5px; font-weight: 600;
  color: var(--ink-3);
}
.tab.is-active { color: var(--brand); }
.tab:active { background: var(--surface-2); }

.bus {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  cursor: pointer;

  --bu: var(--yon-g);
  --bu-ink: var(--yon-g-ink);
}
.bus[data-yon="D"] { --bu: var(--yon-d); --bu-ink: var(--yon-d-ink); }

.bus[data-secili="hayir"] { opacity: .38; }
.bus[data-secili="hayir"] .bus-no { display: none; }
.bus[data-secili="hayir"] .bus-halka { animation: none; opacity: 0; }

.bus-govde {
  position: relative;
  z-index: 2;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--surface);
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 0 2.5px var(--bu);
  transition: width .18s, height .18s, border-radius .18s;
}
.bus-govde svg { display: block; }

.bus-no {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; align-items: center;
  max-width: 152px;
  padding: 2.5px 7px;
  font-size: 10.5px; font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--bu-ink);
  background: var(--bu);
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .32);
}
.bus-no span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bus-no i {
  display: none;
  flex: none;
  margin-right: 5px;
  padding-right: 5px;
  font-style: normal; font-weight: 800;
  border-right: 1px solid color-mix(in srgb, var(--bu-ink) 40%, transparent);
  opacity: .85;
}
.map[data-z="yakin"] .bus-no i { display: inline; }

.bus-ok {
  position: absolute;
  inset: -3px;
  z-index: 1;
  transform-origin: 50% 50%;
  transition: transform .6s ease-out;
  pointer-events: none;
}
.bus-ok::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom: 8px solid var(--bu);
  filter: drop-shadow(0 0 1.5px var(--surface));
}

.bus-halka {
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.bus[data-durum="yolda"] .bus-halka {
  background: color-mix(in srgb, var(--bu) 45%, transparent);
  animation: busHalka 1.6s cubic-bezier(.2, .6, .4, 1) infinite;
}
@keyframes busHalka {
  0%   { transform: scale(.6); opacity: .85; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

.bus[data-durum="bekliyor"] .bus-ok { opacity: 0; }

.bus[data-durum="bayat"] { opacity: .55; }
.bus[data-durum="bayat"] .bus-govde { filter: grayscale(1); }
.bus[data-durum="bayat"] .bus-no { background: var(--ink-3); color: #fff; }
.bus[data-durum="bayat"] .bus-halka { display: none; }
.bus[data-durum="bayat"] .bus-ok { opacity: 0; }

.map[data-z="uzak"] .bus { width: 22px; height: 22px; }
.map[data-z="uzak"] .bus-govde { width: 18px; height: 18px; border-radius: 50%; }
.map[data-z="uzak"] .bus-govde svg { width: 13px; height: 15px; }
.map[data-z="uzak"] .bus-no { display: none; }
.map[data-z="uzak"] .bus-ok::before { border-width: 4px; border-bottom-width: 6px; margin-left: -4px; top: -4px; }

.stop-marker {
  display: block;
  width: 13px; height: 13px;
  background: var(--surface);
  border: 3px solid var(--brand);
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
.stop-marker.is-current { width: 19px; height: 19px; border-color: var(--live); }

.me-marker {
  display: block;
  width: 16px; height: 16px;
  background: #2b59ff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(43, 89, 255, .22);
}

@media (min-width: 820px) {
  :root { --tabbar-h: 0px; }

  .brand-text { display: block; }
  .tabbar { display: none; }

  .app { grid-template-rows: var(--topbar-h) 1fr; }

  .search { max-width: 460px; }

  .ust-menu {
    display: flex; align-items: center; gap: 2px;
    flex: none; margin-left: 2px;
  }
  .ust-menu a {
    padding: 7px 10px;
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    border-radius: var(--r-sm);
    white-space: nowrap;
  }
  .ust-menu a:hover { color: var(--ink); background: var(--surface-2); }
  .ust-menu a.is-active { color: var(--brand); background: var(--surface-2); }

  .sheet {
    top: 16px; bottom: 16px;
    left: 16px;
    right: auto;
    width: 400px;
    height: auto;
    border-radius: var(--r-lg);
    transform: none !important;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
    touch-action: auto;
  }
  .sheet-grip { display: none; }
  .sheet-body { padding: 20px 20px 24px; touch-action: auto; }

  .map-badge { right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.ara-kutu {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 14px;
}
.ara-kutu .search-icon { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.ara-kutu input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 40px;
  font: inherit;
  font-size: 16px;              /* iOS 16px altında odakta yakınlaştırıyor */
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  -webkit-appearance: none;
}
.ara-kutu input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.ara-kutu input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ara-durum {
  position: absolute; right: 16px;
  font-size: 13px; color: var(--ink-3);
}

.kur-cubuk[hidden], .kur-ios[hidden] { display: none !important; }

.kur-cubuk {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(var(--tabbar-h) + 12px);
  z-index: 900;
  display: flex; align-items: center; gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  animation: kurGir .35s cubic-bezier(.32, .72, 0, 1);
}
@keyframes kurGir { from { transform: translateY(140%); opacity: 0; } }

.kur-ikon {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--brand-ink);
  background: var(--brand);
  border-radius: 12px;
}
.kur-yazi { flex: 1; min-width: 0; }
.kur-yazi b { display: block; font-size: 14px; }
.kur-yazi small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.kur-btn { flex: none; }

.kur-kapat {
  position: absolute; top: 5px; right: 9px;
  padding: 2px 5px;
  font-size: 20px; line-height: 1;
  color: var(--ink-3);
  background: none; border: 0; cursor: pointer;
}

.kur-ios {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px 16px;
  background: rgba(0, 0, 0, .55);
  animation: kurFade .2s;
}
@keyframes kurFade { from { opacity: 0; } }

.kur-ios-kart {
  position: relative;
  width: 100%; max-width: 420px;
  padding: 22px 20px 20px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 -8px 44px rgba(0, 0, 0, .35);
  animation: kurGir .32s cubic-bezier(.32, .72, 0, 1);
}
.kur-ios-baslik { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.kur-ios p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.kur-not { margin-top: 12px !important; font-size: 12.5px !important; }

.kur-adim { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.kur-adim li { font-size: 14px; line-height: 1.5; }

.kur-share {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  font-weight: 800;
  color: #fff;
  background: #0a84ff;
  border-radius: 6px;
  transform: translateY(3px);
}

body.ekli .sheet-body { padding-bottom: 40px; }

.tema-btn {
  position: absolute;
  top: 84px; right: 10px;
  z-index: 500;
  display: grid; place-items: center;
  width: 29px; height: 29px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.tema-btn:active { transform: scale(.93); }
.tema-btn svg { display: none; }
:root[data-tema="koyu"] .tema-gunes { display: block; }
:root:not([data-tema="koyu"]) .tema-ay { display: block; }

.yon-anahtar {
  position: absolute;
  left: 10px; top: 10px;
  z-index: 500;
  display: flex; gap: 10px;
  padding: 6px 10px;
  font-size: 11px; font-weight: 600;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-yuksek);
  max-width: min(210px, calc(100% - 120px));
}
.yon-anahtar[hidden], .yon-anahtar span[hidden] { display: none; }
.yon-anahtar span { display: flex; align-items: center; gap: 5px; min-width: 0; }
.yon-anahtar span b {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
}
.yon-anahtar span:first-child b { background: var(--yon-g); }
.yon-anahtar span:last-child b { background: var(--yon-d); }
.yon-anahtar i {
  font-style: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.konum-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: var(--r-md);
}
.konum-bar > span:nth-child(2) { flex: 1; min-width: 0; }
.konum-bar button {
  flex: none;
  padding: 5px 11px;
  font-size: 12.5px; font-weight: 700;
  color: var(--brand-ink);
  background: var(--brand);
  border: 0; border-radius: 999px;
  cursor: pointer;
}
.konum-bar button:active { transform: scale(.96); }

.ara-perde {
  position: fixed;
  inset: var(--topbar-h) 0 0;
  z-index: 850;
  background: rgba(8, 10, 16, .38);
  backdrop-filter: blur(1.5px);
}
.ara-perde[hidden] { display: none; }

.btn-birincil {
  color: var(--brand-ink);
  background: var(--brand);
  border-color: var(--brand);
}
.btn-birincil:hover { background: var(--brand-koyu); border-color: var(--brand-koyu); }

.olcek {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.olcek div {
  padding: 14px 4px;
  text-align: center;
}
.olcek div + div { border-left: 1px solid var(--line); }
.olcek b {
  display: block;
  font-size: 21px; font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.olcek span {
  display: block; margin-top: 2px;
  font-size: 11.5px; color: var(--ink-3);
}

.blok-son { margin: 14px 0 0; font-size: 13.5px; font-weight: 600; }
.blok-son a { color: var(--vurgu); }

.govde { margin: 0; font-size: 14px; color: var(--ink-2); }
.govde b { color: var(--ink); font-weight: 600; }

.adimlar { list-style: none; margin: 0; padding: 0; }
.adimlar li {
  position: relative;
  display: flex; gap: 14px;
  padding: 0 0 18px;
}
.adimlar li:last-child { padding-bottom: 0; }
.adimlar li::before {
  content: "";
  position: absolute;
  left: 15px; top: 26px; bottom: 4px;
  width: 1px;
  background: var(--line);
}
.adimlar li:last-child::before { display: none; }
.adim-no {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid; place-items: center;
  width: 31px; height: 31px;
  font-size: 11.5px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line-koyu);
  border-radius: var(--r-sm);
}
.adimlar b { display: block; font-size: 14.5px; font-weight: 600; }
.adimlar p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }

.guven { list-style: none; margin: 14px 0 0; padding: 0; }
.guven li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 13.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.guven li:last-child { border-bottom: 0; }
.guven li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.alt {
  margin: 34px -16px 0;
  padding: 26px 16px calc(28px + env(safe-area-inset-bottom));
  background: var(--brand-koyu);
  color: #cdd8e6;
}
.alt-marka b {
  display: block;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
  color: #fff;
}
.alt-marka span {
  display: block; margin-top: 6px; max-width: 46ch;
  font-size: 13px; line-height: 1.6;
}
.alt-baglar {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 20px 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.alt-baglar a { font-size: 13px; color: #dbe5f0; }
.alt-baglar a:hover { color: #fff; text-decoration: underline; }
.alt-telif { margin: 0; font-size: 12px; color: #93a6bd; }

@media (min-width: 820px) {
  .alt { margin: 34px -20px 0; padding: 26px 20px 28px; }
}

.row-tur {
  flex: none;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.row-tur svg { display: block; }
.row-tur-durak { color: var(--brand); }
.row-tur-hat   { color: var(--brand); }
.suggest .row-tur { width: 34px; height: 34px; }

.geri {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 2px 0 12px;
  padding: 6px 11px 6px 8px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .15s, color .15s;
}
.geri:hover { color: var(--brand); border-color: var(--brand); }
.geri:active { transform: scale(.98); }
.geri svg { flex: none; }

.row-code {
  display: inline-flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1px;
  min-width: 52px;
  padding: 5px 7px;
  line-height: 1.15;
}
.row-code svg { flex: none; opacity: .65; }
.row-code b { font-weight: 700; letter-spacing: -.01em; }

.sayfa-ust {
  display: flex; align-items: center; gap: 8px;
  margin: 2px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sayfa-ust::-webkit-scrollbar { display: none; }
.sayfa-ust .geri { margin: 0; flex: none; white-space: nowrap; }
.geri-yan { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.geri-yan svg { flex: none; }

.kunye {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 1px;
  margin: 16px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.kunye div { padding: 10px 12px; background: var(--surface); }
.kunye dt {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-3);
}
.kunye dd {
  margin: 3px 0 0;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.ic-menu {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 14px;
}
.ic-menu a {
  padding: 6px 12px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.ic-menu a:hover { color: var(--brand); border-color: var(--brand); }

.sss details {
  border-bottom: 1px solid var(--line);
}
.sss details:last-child { border-bottom: 0; }
.sss summary {
  padding: 12px 24px 12px 0;
  position: relative;
  font-size: 14.5px; font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after {
  content: "+";
  position: absolute; right: 4px; top: 11px;
  font-size: 17px; font-weight: 400; color: var(--ink-3);
}
.sss details[open] summary::after { content: "−"; }
.sss p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }

.saat-baslik span { font-weight: 600; }

.kunye dd.kucuk { font-size: 14px; font-weight: 600; letter-spacing: 0; }

.chips-ilce { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chips-ilce .chip-duz { flex-direction: column; align-items: flex-start; gap: 2px;
                        padding: 10px 12px; }
.chips-ilce .chip-duz b {
  padding: 0; font-size: 13.5px; font-weight: 600; color: var(--ink);
  background: none; border-radius: 0; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chips-ilce .chip-duz span { font-size: 11.5px; color: var(--ink-3); max-width: 100%; }

.sayfalama { display: flex; align-items: center; justify-content: center;
             gap: 12px; margin: 18px 0 6px; }
.sayfalama-no { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.sehir-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
               gap: 8px; margin-top: 10px; }
.sehir-kart { position: relative; display: flex; flex-direction: column; gap: 2px;
              padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px;
              background: var(--surface); text-decoration: none; }
.sehir-kart b { font-size: 14px; color: var(--ink); }
.sehir-kart span { font-size: 12px; color: var(--ink-3); }
.sehir-kart-pasif { opacity: .58; }
.sehir-nokta { position: absolute; top: 12px; right: 12px; width: 7px; height: 7px;
               border-radius: 50%; background: #16a34a;
               box-shadow: 0 0 0 3px rgba(22, 163, 74, .16); }

.rota-form { display: grid; gap: 8px; margin: 14px 0 6px; position: relative; }
.rota-alan { position: relative; display: flex; align-items: center; }
.rota-alan input {
  width: 100%; padding: 13px 44px 13px 38px; font: inherit; font-size: 15px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; -webkit-appearance: none; appearance: none;
}
.rota-alan input:focus { outline: 2px solid var(--vurgu); outline-offset: -1px; border-color: transparent; }
.rota-nokta { position: absolute; left: 14px; width: 9px; height: 9px; border-radius: 50%; }
.rota-nokta-bas { background: var(--vurgu); box-shadow: 0 0 0 3px rgba(15,111,209,.16); }
.rota-nokta-son { background: #b45309; box-shadow: 0 0 0 3px rgba(180,83,9,.16); border-radius: 2px; }
.rota-konum {
  position: absolute; right: 6px; display: grid; place-items: center;
  width: 34px; height: 34px; color: var(--vurgu); background: none;
  border: 0; border-radius: 8px; cursor: pointer;
}
.rota-konum:hover { background: var(--surface-2); }
.rota-degistir {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 30px; height: 30px;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer;
}
.rota-oneri {
  position: absolute; z-index: 5; left: 0; right: 0; top: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15,23,42,.14); overflow: hidden;
}
.rota-oneri button {
  display: block; width: 100%; padding: 10px 13px; text-align: left;
  font: inherit; color: var(--ink); background: none; border: 0;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.rota-oneri button:last-child { border-bottom: 0; }
.rota-oneri button:hover, .rota-oneri button.is-secili { background: var(--surface-2); }
.rota-oneri small { display: block; font-size: 12px; color: var(--ink-3); }
.rota-mod { margin: 14px 0 10px; }
.rota-sonuc:empty { display: none; }

.rota-kart { border: 1px solid var(--line); border-radius: 10px;
             background: var(--surface); margin-bottom: 8px; }
.rota-kart > summary {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  cursor: pointer; list-style: none;
}
.rota-kart > summary::-webkit-details-marker { display: none; }
.rota-nereden { flex: 0 0 auto; font-weight: 600; font-size: 14px; }
.rota-ozet { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rota-ozet i { color: var(--ink-3); font-style: normal; }
.rota-dk { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.rota-dk b { font-size: 17px; font-weight: 700; }
.rota-dk i { font-size: 11px; font-style: normal; color: var(--ink-3); margin-left: 2px; }

.rozet { display: inline-block; padding: 2px 7px; font-size: 12px; font-weight: 700;
         color: #fff; background: var(--brand); border-radius: 5px; }
.rozet-metro     { background: #7c3aed; }
.rozet-marmaray  { background: #0f766e; }
.rozet-tramvay   { background: #b45309; }
.rozet-vapur     { background: #0369a1; }
.rozet-funikuler,
.rozet-teleferik { background: #4b5563; }

.adimlar-liste { margin: 0; padding: 0 14px 12px 34px; list-style: none; }
.adim { position: relative; padding: 7px 0; font-size: 14px; line-height: 1.45; }
.adim small { color: var(--ink-3); }
.adim::before {
  content: ""; position: absolute; left: -20px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
}
.adim-otobus::before   { background: var(--brand); }
.adim-metro::before    { background: #7c3aed; }
.adim-marmaray::before { background: #0f766e; }
.adim-vapur::before    { background: #0369a1; }
.adim-yuru::before, .adim-aktarma::before { background: transparent; border: 2px dashed var(--ink-3); }

.sheet-title .title-code-metro     { background: #7c3aed; }
.sheet-title .title-code-marmaray  { background: #0f766e; }
.sheet-title .title-code-tramvay   { background: #b45309; }
.sheet-title .title-code-vapur     { background: #0369a1; }
.sheet-title .title-code-funikuler,
.sheet-title .title-code-teleferik { background: #4b5563; }

.row-code-metro     { background: #7c3aed !important; }
.row-code-marmaray  { background: #0f766e !important; }
.row-code-tramvay   { background: #b45309 !important; }
.row-code-vapur     { background: #0369a1 !important; }
.row-code-funikuler,
.row-code-teleferik { background: #4b5563 !important; }

.chip b.kod-metro     { background: #7c3aed; }
.chip b.kod-marmaray  { background: #0f766e; }
.chip b.kod-tramvay   { background: #b45309; }
.chip b.kod-vapur     { background: #0369a1; }
.chip b.kod-funikuler,
.chip b.kod-teleferik { background: #4b5563; }

.tabbar { grid-template-columns: repeat(5, 1fr); }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 819px) {
  .ust-menu { display: none !important; }
}

.map-badge {
  top: 121px; left: auto; right: 10px;
  transform: none;
  padding: 5px 10px;
  font-size: 11.5px;
}

@media (max-width: 819px) { .menu-btn { display: none; } }

.menu-perde {
  position: fixed; inset: 0;
  background: rgba(14, 23, 38, .42);
  z-index: 950;
}

.ana-menu {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: min(330px, 88vw);
  padding: 0 0 calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 32px rgba(14, 23, 38, .16);
  z-index: 960;
  animation: menuGir .18s ease-out;
}
@keyframes menuGir { from { transform: translateX(14px); opacity: .6; } }

.ana-menu-ust {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ana-menu-ust b { font-size: 15px; letter-spacing: -.02em; }

.menu-fav {
  display: flex; align-items: center; gap: 8px;
  width: calc(100% - 28px);
  margin: 14px;
  padding: 10px 12px;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
}
.menu-fav:hover { border-color: var(--brand); }

.menu-bolum { padding: 4px 14px 14px; }
.menu-bolum h2 {
  margin: 8px 0 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
}
.menu-bolum a, .menu-pasif {
  display: block;
  padding: 9px 10px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--r-sm);
}
.menu-bolum a:hover { background: var(--surface-2); }
.menu-bolum a.is-active { color: var(--brand); background: var(--surface-2); font-weight: 600; }
.menu-pasif { color: var(--ink-3); }
.menu-pasif i { font-style: normal; font-size: 11px; }

.tabbar button.tab {
  font: inherit; font-size: 10.5px; font-weight: 600;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-3);
}

.menu-ara { position: relative; display: flex; align-items: center; margin: 14px 14px 0; }
.menu-ara .search-icon { position: absolute; left: 11px; color: var(--ink-3); pointer-events: none; }
.menu-ara input {
  width: 100%; height: 40px; padding: 0 12px 0 34px;
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line-koyu);
  border-radius: var(--r-md); outline: none; -webkit-appearance: none;
}
.menu-ara input:focus { border-color: var(--brand); }
.menu-oneri {
  position: absolute; z-index: 2; top: calc(100% + 6px); left: 0; right: 0;
  max-height: 46vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-yuksek);
}
.menu-oneri a { display: block; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.menu-oneri a:last-child { border-bottom: 0; }
.menu-oneri a:hover { background: var(--surface-2); }
.menu-oneri b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.menu-oneri small { font-size: 11.5px; color: var(--ink-3); }

.ucret-satir { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.ucret-satir b { color: var(--ink); font-size: 15px; }
.ucret-satir a { margin-left: 8px; color: var(--vurgu); font-weight: 600; }

.tablo-kaydir { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ucret-tablo { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ucret-tablo th, .ucret-tablo td {
  padding: 9px 10px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.ucret-tablo thead th { font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink-3); }
.ucret-tablo tbody th { text-align: left; font-weight: 600; white-space: normal;
  min-width: 150px; }
.ucret-tablo tbody tr:last-child th, .ucret-tablo tbody tr:last-child td { border-bottom: 0; }
.ucret-tablo td { font-variant-numeric: tabular-nums; }

.sokak {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2); aspect-ratio: 16 / 10;
}
.sokak iframe { display: block; width: 100%; height: 100%; border: 0; }
.sokak-kapak {
  position: absolute; inset: 0; display: flex; gap: 12px;
  flex-direction: column; align-items: center; justify-content: center;
  width: 100%; padding: 20px; border: 0; cursor: pointer;
  font: inherit; text-align: center; color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(15, 111, 209, .10), transparent 60%),
    var(--surface-2);
}
.sokak-kapak { text-decoration: none; }
.sokak-kapak:hover { background: var(--surface); }
.sokak-kapak:focus-visible { outline: 2px solid var(--vurgu); outline-offset: -3px; }
.sokak-ikon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; color: #fff; background: var(--vurgu);
  box-shadow: 0 6px 18px rgba(15, 111, 209, .28);
}
.sokak-yazi b { display: block; font-size: 15px; font-weight: 700; }
.sokak-yazi small { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }

.btn-sokak {
  gap: 7px; color: var(--vurgu); border-color: var(--vurgu);
  background: rgba(15, 111, 209, .07); text-decoration: none;
}
.btn-sokak:hover { background: rgba(15, 111, 209, .13); }

.btn-paylas { gap: 7px; }
.paylas-menu {
  position: absolute; top: 100%; left: 0; z-index: 40; min-width: 232px; margin-top: 6px;
  padding: 6px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: 0 12px 30px rgba(14, 23, 38, .16);
}
.paylas-sec {
  display: block; width: 100%; padding: 9px 11px; border: 0; border-radius: var(--r-md);
  font: inherit; text-align: left; text-decoration: none; color: var(--ink);
  background: none; cursor: pointer;
}
.paylas-sec:hover { background: var(--surface-2); }
.paylas-sec b { display: block; font-size: 13.5px; font-weight: 600; }
.paylas-sec small {
  display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bildirim {
  position: fixed; left: 50%; bottom: 86px; z-index: 90;
  padding: 11px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(14, 23, 38, .92);
  box-shadow: 0 10px 26px rgba(14, 23, 38, .28);
  transform: translate(-50%, 10px); opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.bildirim.is-on { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bildirim { transition: none; } }

.btn-yuru.is-active {
  color: #fff; border-color: var(--live); background: var(--live);
}
.yuru-panel {
  position: fixed; left: 50%; z-index: 80;
  bottom: calc(var(--tabbar-h, 58px) + 12px);
  display: flex; align-items: center; gap: 13px;
  width: min(420px, calc(100vw - 24px)); padding: 11px 13px;
  border-radius: 16px; color: #fff; background: rgba(14, 23, 38, .94);
  box-shadow: 0 14px 34px rgba(14, 23, 38, .34);
  transform: translateX(-50%);
}
.yuru-panel.is-vardi { background: var(--live); }
.yuru-ok {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .16);
  transition: transform .35s ease;
}
.yuru-ok[hidden] { display: none; }
.yuru-yazi { min-width: 0; flex: 1 1 auto; }
.yuru-yazi b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.yuru-yazi small {
  display: block; margin-top: 1px; font-size: 12px; color: rgba(255, 255, 255, .78);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yuru-bitir {
  flex: 0 0 auto; padding: 8px 13px; border: 0; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .18);
}
.yuru-bitir:hover { background: rgba(255, 255, 255, .28); }
@media (prefers-reduced-motion: reduce) { .yuru-ok { transition: none; } }
@media (min-width: 820px) { .yuru-panel { left: 460px; transform: none; } }

.durak-popup .maplibregl-popup-content {
  padding: 12px 13px 11px; border-radius: 14px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 30px rgba(14, 23, 38, .22);
}
.durak-popup .maplibregl-popup-tip { border-top-color: var(--surface); }
.durak-popup .maplibregl-popup-close-button {
  top: 4px; right: 6px; width: 24px; height: 24px;
  font-size: 19px; line-height: 1; color: var(--ink-3); border-radius: 7px;
}
.durak-popup .maplibregl-popup-close-button:hover { background: var(--surface-2); color: var(--ink); }
.dk-ad { display: block; padding-right: 20px; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.dk-alt { margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.dk-varis { margin: 9px 0 10px; }
.dk-bekle { font-size: 12px; color: var(--ink-3); }
.dk-satir {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; border-bottom: 1px solid var(--line);
}
.dk-satir:last-child { border-bottom: 0; }
.dk-kod {
  flex: 0 0 auto; min-width: 40px; padding: 3px 6px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; text-align: center;
  color: #fff; background: var(--yon-g);
}
.dk-yon {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 12px; color: var(--ink-2);
}
.dk-dk { flex: 0 0 auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.dk-dk b { font-size: 15px; font-weight: 700; }
.dk-dk i { font-style: normal; font-size: 10px; color: var(--ink-3); margin-left: 1px; }
.dk-dugmeler { display: flex; gap: 6px; }
.dk-btn {
  flex: 1; padding: 7px 8px; border: 1px solid var(--line); border-radius: 9px;
  font: inherit; font-size: 12px; font-weight: 600; text-align: center;
  text-decoration: none; color: var(--ink); background: var(--surface-2); cursor: pointer;
}
.dk-btn:hover { background: var(--surface); }
.dk-btn-ana { color: #fff; border-color: var(--live); background: var(--live); }
.dk-btn-ana:hover { color: #fff; border-color: #0b7340; background: #0b7340; }

