/* Rayist canli harita sayfasi ve sehir hat haritalari */
.lm-stage {
  position: relative;
  height: calc(100svh - 0px);
  min-height: 560px;
  overflow: hidden;
  background: #07030d;
}
.lm-stage .lm-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.lm-map .maplibregl-ctrl-group { background: rgba(10, 6, 18, .78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); border-radius: 12px; }
.lm-map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.lm-map .maplibregl-ctrl-group button + button { border-top-color: rgba(255,255,255,.1); }
.lm-map .maplibregl-ctrl-icon { filter: invert(1) brightness(1.4); }
.lm-map .maplibregl-ctrl-attrib, .city-live-map .maplibregl-ctrl-attrib { background: rgba(7,3,13,.6) !important; color: rgba(255,255,255,.55); font-size: 10px; }
.lm-map .maplibregl-ctrl-attrib a, .city-live-map .maplibregl-ctrl-attrib a { color: rgba(255,255,255,.7); }
.lm-stage .maplibregl-ctrl-top-right { top: calc(4.6rem + env(safe-area-inset-top, 0px)); }
.lm-map .maplibregl-ctrl-attrib a { color: rgba(255,255,255,.75); }
.lm-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,3,13,.85) 0, rgba(7,3,13,0) 18%, rgba(7,3,13,0) 78%, rgba(7,3,13,.9) 100%);
}

.lm-panel {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  position: absolute;
  z-index: 3;
  left: max(1.25rem, env(safe-area-inset-left));
  top: calc(5.5rem + env(safe-area-inset-top, 0px));
  width: min(380px, calc(100% - 2.5rem));
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 1.6rem;
  color: #f5f3f7;
  background: rgba(10, 6, 18, .72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 24px 70px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.lm-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font: 500 .68rem/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: #ffb37a; }
.lm-eyebrow i { width: .5rem; height: .5rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: lmPing 1.6s infinite; }
@keyframes lmPing { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.lm-panel h1 { margin: .7rem 0 0; font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.lm-panel h1 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-style: italic; background: linear-gradient(135deg, #ffb37a, #ff6b2c 45%, #c9a7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lm-panel p { margin: .65rem 0 0; font-size: .9rem; line-height: 1.55; color: rgba(245,243,247,.68); }
.lm-legend { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.lm-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .65rem .38rem .38rem;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .78rem/1 'Geist', system-ui, -apple-system, sans-serif;
  color: #f5f3f7; background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  transition: opacity .2s, background .2s;
}
.lm-chip b { display: grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .3rem; border-radius: 999px; font: 800 .66rem/1 'Geist', system-ui, sans-serif; color: #fff; background: var(--c); }
.lm-chip small { color: rgba(245,243,247,.55); font-weight: 600; }
.lm-chip[aria-pressed="false"] { opacity: .42; background: transparent; }
.lm-note { margin-top: .85rem; font-size: .72rem; line-height: 1.45; color: rgba(245,243,247,.5); }
.lm-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.lm-cta a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border-radius: .9rem; font-weight: 700; font-size: .82rem; text-decoration: none; color: #07030d; background: #fff; }
.lm-cta a.ghost { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.lm-toggle { display: none; }

.lm-info {
  position: absolute; z-index: 3;
  right: max(1.25rem, env(safe-area-inset-right)); bottom: 2.2rem;
  max-width: min(320px, calc(100% - 2.5rem));
  padding: .8rem 1rem; border-radius: 1rem;
  color: #f5f3f7; background: rgba(10,6,18,.8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: .82rem; line-height: 1.4;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.lm-info.show { opacity: 1; transform: none; }
.lm-info b { display: block; font-size: .92rem; }
.lm-info span { color: rgba(245,243,247,.6); }

@media (max-width: 760px) {
  .lm-stage { height: calc(100svh - 0px); }
  .lm-panel {
    top: auto; bottom: max(.75rem, env(safe-area-inset-bottom)); left: .75rem; right: .75rem; width: auto;
    padding: 1rem 1rem .9rem; border-radius: 1.3rem;
    max-height: 62svh; overflow-y: auto;
  }
  .lm-panel.is-collapsed .lm-collapsible > :not(.lm-legend) { display: none; }
  .lm-panel.is-collapsed .lm-legend { margin-top: .7rem; }
  .lm-stage .maplibregl-ctrl-top-right { top: calc(4.4rem + env(safe-area-inset-top, 0px)); }
  .lm-panel h1 { font-size: 1.4rem; margin-top: .5rem; }
  .lm-toggle { display: grid; place-items: center; position: absolute; right: .7rem; top: .7rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; color: #fff; background: rgba(255,255,255,.08); }
  .lm-info { bottom: auto; top: calc(5rem + env(safe-area-inset-top, 0px)); right: .75rem; left: .75rem; max-width: none; }
}

/* Sayfa alti SEO icerigi */
.lm-content { position: relative; padding: 4rem 0 2rem; color: #f5f3f7; }
.lm-content .rx-wrap { max-width: 72rem; }
.lm-content h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 0 0 .6rem; }
.lm-content > .rx-wrap > p { color: rgba(245,243,247,.68); max-width: 46rem; line-height: 1.7; }
.lm-groups { display: grid; gap: 1rem; margin-top: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lm-group { border-radius: 1.3rem; padding: 1.2rem; background: rgba(15,10,24,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.lm-group h3 { margin: 0 0 .7rem; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.lm-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.lm-group li { display: flex; gap: .55rem; align-items: center; font-size: .86rem; color: rgba(245,243,247,.78); }
.lm-group li i { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c); }

/* Sehir sayfasi hat haritasi */
.city-live { margin-top: 1.5rem; }
.city-live-card { position: relative; overflow: hidden; border-radius: 1.6rem; background: #07030d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.city-live-card .city-live-map { position: relative; height: min(68vh, 560px); min-height: 380px; }
.city-live-head { position: absolute; z-index: 2; left: 1rem; top: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; pointer-events: none; }
.city-live-head .lm-chip { pointer-events: auto; }
.city-live-title { margin: 0; line-height: 1.25; letter-spacing: 0; padding: .5rem .8rem; border-radius: .9rem; background: rgba(10,6,18,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font-weight: 700; font-size: .9rem; }
.city-live-title small { display: block; font-weight: 500; font-size: .72rem; color: rgba(255,255,255,.6); }
.city-live-empty { position: absolute; z-index: 2; left: 50%; bottom: 1.2rem; transform: translateX(-50%); padding: .55rem .9rem; border-radius: .9rem; background: rgba(10,6,18,.8); color: rgba(255,255,255,.75); font-size: .8rem; white-space: nowrap; }
.city-live-note { margin: .6rem .2rem 0; font-size: .74rem; color: rgba(245,243,247,.5); }
@media (max-width: 760px) {
  .city-live-map .maplibregl-ctrl-top-right { display: none; }
  .city-live-head { left: .7rem; right: .7rem; top: .7rem; }
}

/* Hat sayfalari */
.hat-main { padding-top: 6.8rem; padding-bottom: 3rem; color: #f5f3f7; font-family: 'Geist', system-ui, -apple-system, sans-serif; }
.hat-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .78rem; color: rgba(245,243,247,.5); }
.hat-crumbs a { color: rgba(245,243,247,.72); text-decoration: none; }
.hat-crumbs a:hover { color: #fff; }
.hat-crumbs i { font-size: .55rem; opacity: .6; }
.hat-hero { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 1.2rem; }
.hat-badge { flex: none; display: grid; place-items: center; min-width: 4.4rem; height: 4.4rem; padding: 0 .6rem; border-radius: 1.3rem; font: 800 1.35rem/1 'Geist', system-ui, sans-serif; color: #fff; background: var(--c); box-shadow: 0 14px 40px color-mix(in srgb, var(--c) 45%, transparent); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hat-hero h1 { margin: .55rem 0 0; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.hat-hero p { margin: .7rem 0 0; max-width: 48rem; font-size: .95rem; line-height: 1.65; color: rgba(245,243,247,.68); }
.hat-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.hat-facts span { display: grid; gap: .2rem; min-width: 7rem; padding: .7rem .9rem; border-radius: 1rem; font-size: .74rem; color: rgba(245,243,247,.55); background: rgba(15,10,24,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hat-facts b { font: 700 1.15rem/1.1 'Geist Mono', ui-monospace, monospace; color: #fff; }
.hat-map { margin-top: 1.3rem; }
.hat-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 1.4rem; align-items: start; }
.hat-side { display: grid; gap: 1rem; }
.hat-box { border-radius: 1.4rem; padding: 1.2rem; background: rgba(15,10,24,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hat-box h2 { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .6rem; font-size: 1.1rem; letter-spacing: -.01em; }
.hat-box h2 small { font: 600 .78rem/1 'Geist Mono', ui-monospace, monospace; color: rgba(245,243,247,.5); }
.hat-box p { margin: 0 0 .7rem; font-size: .86rem; line-height: 1.6; color: rgba(245,243,247,.64); }
.hat-stops { list-style: none; margin: .4rem 0 0; padding: 0; position: relative; }
.hat-stops::before { content: ""; position: absolute; left: .43rem; top: .7rem; bottom: .7rem; width: 3px; border-radius: 3px; background: var(--c); opacity: .75; }
.hat-stops li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .42rem 0; font-size: .9rem; color: rgba(245,243,247,.86); }
.hat-stops li i { flex: none; position: relative; z-index: 1; width: .95rem; height: .95rem; border-radius: 50%; background: #0f0a18; box-shadow: inset 0 0 0 3px var(--c); }
.hat-stops li:first-child i, .hat-stops li:last-child i { background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.hat-stops li:first-child span, .hat-stops li:last-child span { font-weight: 700; color: #fff; }
.hat-table-wrap { overflow-x: auto; }
.hat-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.hat-table th { text-align: left; font: 600 .68rem/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,243,247,.5); padding: .5rem .4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.hat-table td { padding: .6rem .4rem; border-bottom: 1px solid rgba(255,255,255,.05); color: rgba(245,243,247,.85); }
.hat-table td + td { font-family: 'Geist Mono', ui-monospace, monospace; white-space: nowrap; }
.hat-btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; padding: .65rem .95rem; border-radius: .9rem; font-weight: 700; font-size: .84rem; text-decoration: none; color: #07030d; background: linear-gradient(135deg, #ffd2b0, #ff6b2c); }
.hat-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .85rem; font-weight: 600; color: #ffb37a; text-decoration: none; }
.hat-sibs { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.hat-sibs a { display: flex; align-items: center; gap: .6rem; padding: .45rem .55rem; border-radius: .8rem; font-size: .82rem; color: rgba(245,243,247,.82); text-decoration: none; background: rgba(255,255,255,.03); }
.hat-sibs a:hover { background: rgba(255,255,255,.08); color: #fff; }
.hat-sibs b { flex: none; display: grid; place-items: center; min-width: 2.6rem; height: 1.7rem; padding: 0 .35rem; border-radius: .55rem; font-size: .74rem; color: #fff; background: var(--c); }
@media (max-width: 899px) {
  .hat-main { padding-top: 6rem; }
  .hat-grid { grid-template-columns: 1fr; }
  .hat-badge { min-width: 3.4rem; height: 3.4rem; font-size: 1.05rem; border-radius: 1rem; }
}

/* Sehir sayfasi: yakinimdaki duraklar ve hat linkleri */
.city-near { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .8rem .2rem 0; }
.city-near-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 0; border-radius: .95rem; cursor: pointer; font: 700 .86rem/1 'Geist', system-ui, sans-serif; color: #07030d; background: linear-gradient(135deg, #ffd2b0, #ff6b2c); box-shadow: 0 10px 30px rgba(255,107,44,.28); }
.city-near-btn[disabled] { opacity: .6; cursor: wait; }
.city-near-msg { font-size: .8rem; color: rgba(245,243,247,.6); }
.city-near-list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.city-near-list li { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 1rem; background: rgba(15,10,24,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.city-near-list .n { flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; font: 800 .78rem/1 'Geist', system-ui, sans-serif; color: #fff; background: #3b82f6; }
.city-near-list .t { min-width: 0; flex: 1; display: grid; gap: .15rem; }
.city-near-list .t b { font-size: .86rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-near-list .t small { font-size: .72rem; color: rgba(245,243,247,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-near-list a { flex: none; padding: .45rem .65rem; border-radius: .7rem; font-size: .74rem; font-weight: 700; color: #fff; text-decoration: none; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.city-lines { margin-top: 1.2rem; }
.city-lines h2 { margin: 0 0 .7rem; font-size: 1.1rem; color: #fff; }
.city-lines ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.city-lines a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: .9rem; font-size: .82rem; color: rgba(245,243,247,.82); text-decoration: none; background: rgba(15,10,24,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.city-lines a:hover { color: #fff; background: rgba(255,255,255,.08); }
.city-lines b { flex: none; display: grid; place-items: center; min-width: 2.6rem; height: 1.7rem; padding: 0 .35rem; border-radius: .55rem; font-size: .74rem; color: #fff; background: var(--c); }
.city-lines span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Ana sayfa sehir secici */
.cp-wrap { display: grid; gap: 1rem; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: stretch; }
.cp-panel { display: flex; flex-direction: column; gap: 1rem; padding: 1.3rem; border-radius: 1.6rem; background: rgba(15,10,24,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cp-search { position: relative; }
.cp-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(245,243,247,.45); font-size: .9rem; }
.cp-search input { width: 100%; padding: .9rem 1rem .9rem 2.6rem; border: 0; border-radius: 1rem; color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font: 600 .95rem/1.2 'Geist', system-ui, sans-serif; outline: none; }
.cp-search input:focus { box-shadow: inset 0 0 0 2px #ff6b2c; }
.cp-sugg { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + .35rem); list-style: none; margin: 0; padding: .35rem; border-radius: 1rem; background: #140c22; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.5); }
.cp-sugg li { padding: .6rem .75rem; border-radius: .7rem; cursor: pointer; font-size: .9rem; color: rgba(245,243,247,.85); }
.cp-sugg li.is-active, .cp-sugg li:hover { color: #fff; background: rgba(255,107,44,.18); }
.cp-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.cp-chips button { padding: .42rem .7rem; border: 0; border-radius: 999px; cursor: pointer; font: 600 .78rem/1 'Geist', system-ui, sans-serif; color: rgba(245,243,247,.8); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.cp-chips button:hover { color: #fff; background: rgba(255,255,255,.1); }
.cp-chips button[aria-pressed="true"] { color: #1a0d05; background: linear-gradient(135deg, #ffb37a, #ff6b2c); box-shadow: none; }
.cp-now { margin-top: auto; padding-top: .4rem; border-top: 1px solid rgba(255,255,255,.07); }
.cp-city { margin: .5rem 0 .6rem; font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.cp-stats { display: flex; flex-wrap: wrap; gap: .4rem; }
.cp-stats span { display: inline-flex; align-items: baseline; gap: .3rem; padding: .35rem .6rem; border-radius: .7rem; font-size: .76rem; color: rgba(245,243,247,.6); background: rgba(255,255,255,.05); }
.cp-stats b { font: 700 .95rem/1 'Geist Mono', ui-monospace, monospace; color: #fff; }
.cp-stats .cp-loading { color: rgba(245,243,247,.55); }
.cp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.cp-go { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem .95rem; border-radius: .9rem; font-weight: 700; font-size: .84rem; text-decoration: none; color: #07030d; background: linear-gradient(135deg, #ffd2b0, #ff6b2c); }
.cp-go[hidden] { display: none; }
.cp-reset { padding: .65rem .9rem; border: 0; border-radius: .9rem; cursor: pointer; font: 600 .82rem/1 'Geist', system-ui, sans-serif; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.cp-mapcard { position: relative; overflow: hidden; min-height: 460px; border-radius: 1.6rem; background: #07030d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.4); }
.cp-mapcard .cp-map { position: absolute; inset: 0; }
@media (max-width: 899px) {
  .cp-wrap { grid-template-columns: 1fr; }
  .cp-mapcard { min-height: 0; height: 62vh; max-height: 520px; }
  .cp-mapcard .maplibregl-ctrl-top-right { display: none; }
}
.hat-jump { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.3rem 0 .4rem; }
.hat-jump a { padding: .35rem .6rem; border-radius: .6rem; font-size: .78rem; font-weight: 600; color: rgba(245,243,247,.8); text-decoration: none; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hat-jump a:hover { color: #fff; background: rgba(255,255,255,.1); }
.city-lines { scroll-margin-top: 6rem; }
