/* İki görünümün ortak hareket ve efektleri */

/* hidden özniteliği her zaman kazanır: Tailwind'in flex/grid sınıfı display'i ezip gizli öğeyi gösteriyordu */
[hidden] { display: none !important; }
.belir { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--gecikme, 0ms); }
.belir.belirdi { opacity: 1; transform: none; }

/* İmleci izleyen yumuşak ışık */
.isik { position: relative; isolation: isolate; }
.isik::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(20,149,138,.10), transparent 45%);
  opacity: 0; transition: opacity .3s; }
.isik:hover::before { opacity: 1; }

/* Açılır kesinti ayrıntısı */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .ac-ok { transform: rotate(180deg); }
.ac-ok { transition: transform .25s; }
details[open] > .ac-govde { animation: ac .3s ease-out; }
@keyframes ac { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Hareketli arka plan lekeleri */
.leke { position: absolute; border-radius: 9999px; filter: blur(60px); opacity: .55; animation: suzul 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes suzul { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.15); } 100% { transform: translate(-30px,20px) scale(.95); } }

.nabiz { position: relative; }
.nabiz::after { content: ""; position: absolute; inset: -4px; border-radius: 9999px; border: 2px solid currentColor; opacity: 0; animation: nabiz 2s ease-out infinite; }
@keyframes nabiz { 0% { opacity: .6; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }

.ince-kaydirma { scrollbar-width: none; } .ince-kaydirma::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .belir { opacity: 1; transform: none; transition: none; }
  .leke, .nabiz::after, dialog.pencere[open] > .pencere-ic, .sekme.acik, .yol-kart { animation: none; }
}

/* ---------- Ulaşım ---------- */
.izban-cip { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: rgba(14,106,103,.08); color: #0B5653; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
[data-eshot-hat] { flex-shrink: 0; min-width: 52px; padding: 8px 10px; border-radius: 14px; background: #F4F1EA; font-weight: 800; font-size: 14px; color: #3D4744; transition: background .2s, color .2s, transform .15s; }
[data-eshot-hat]:hover { background: #E9E4D9; }
[data-eshot-hat].secili { background: #0E6A67; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(14,106,103,.7); }
[data-eshot-yon] { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: #5E6865; transition: all .2s; }
[data-eshot-yon].secili { background: #fff; color: #062B28; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px -4px rgba(6,43,40,.15); }
.eshot-hat-ad { font-weight: 800; font-size: 18px; line-height: 1.2; }
.eshot-guzergah { font-size: 13px; color: #5E6865; margin-top: 4px; }
.eshot-sonraki { font-weight: 800; font-size: 34px; line-height: 1; color: #0E6A67; font-variant-numeric: tabular-nums; }
.eshot-kalan { font-size: 12px; font-weight: 700; color: #5E6865; margin-top: 4px; }
.eshot-not { margin-top: 12px; font-size: 12px; color: #8A5A00; background: #FFF7E0; border-radius: 12px; padding: 8px 10px; }
.eshot-saatler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; max-height: 168px; overflow-y: auto; scrollbar-width: thin; }
.eshot-saat { font-size: 13px; font-weight: 700; padding: 5px 9px; border-radius: 10px; background: #F4F1EA; font-variant-numeric: tabular-nums; }
.eshot-saat.gecti { opacity: .35; text-decoration: line-through; }
.eshot-saat.siradaki { background: #F97316; color: #fff; box-shadow: 0 6px 14px -6px rgba(249,115,22,.8); }

/* ---------- Yol bildirimleri ---------- */
.yol-kart { display: flex; gap: 14px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid #ECE7DD; animation: ac .35s ease-out; }
.yol-ikon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.yol-red { background: #FEF2F2; color: #DC2626; } .yol-orange { background: #FFF7ED; color: #EA580C; } .yol-amber { background: #FFFBEB; color: #D97706; }
.yol-sky { background: #F0F9FF; color: #0284C7; } .yol-slate { background: #F1F5F9; color: #475569; } .yol-secim { background: #F97316; color: #fff; }
.yol-baslik { font-weight: 700; } .yol-aciklama { font-size: 14px; color: #4A524F; margin-top: 2px; }
.yol-alt { font-size: 12px; color: #8A928F; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.yol-oylar { display: flex; gap: 6px; margin-top: 10px; }
.yol-oylar button { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #F4F1EA; color: #3D4744; display: inline-flex; align-items: center; gap: 4px; transition: background .2s; }
.yol-oylar button:hover:not(:disabled) { background: #E9E4D9; } .yol-oylar button:disabled { opacity: .45; }
.yol-bos { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: #EFF8F6; color: #0B5653; font-size: 14px; }
.yol-bos i { font-size: 34px; }
.yol-isaret { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; border: 2px solid #fff; box-shadow: 0 8px 16px -6px rgba(0,0,0,.45); }

/* ---------- Pencereler ---------- */
dialog.pencere { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; }
/* Ortalamayı pencere üstlenir; böylece açılış animasyonunun transform'u konumu bozmaz */
dialog.pencere[open] { position: fixed; inset: 0; width: 100vw; height: 100dvh; display: flex; align-items: center; justify-content: center; }
dialog.pencere.alt[open] { align-items: flex-end; }
dialog.pencere::backdrop { background: rgba(4,29,27,.55); backdrop-filter: blur(4px); }
dialog.pencere[open] > .pencere-ic { animation: pencere .3s cubic-bezier(.2,.8,.2,1); }
@keyframes pencere { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.secim-tur input { position: absolute; opacity: 0; pointer-events: none; }
.secim-tur span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 16px; border: 1.5px solid #ECE7DD; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; transition: all .15s; }
.secim-tur span i { font-size: 22px; }
.secim-tur input:checked + span { border-color: #0E6A67; background: #EFF8F6; color: #0B5653; }
.alan { width: 100%; border: 1.5px solid #ECE7DD; border-radius: 14px; padding: 11px 14px; font-size: 15px; background: #fff; transition: border-color .15s; }
.alan:focus { outline: none; border-color: #0E6A67; }
[data-etk-filtre] { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #F4F1EA; font-weight: 700; font-size: 13px; color: #3D4744; transition: all .2s; }
[data-etk-filtre].secili { background: #062B28; color: #fff; }

/* ---------- Kesinti bildirimi ---------- */
.mahalle-dugme { text-align: left; font-size: 13px; font-weight: 700; padding: 8px 10px; border-radius: 12px; background: #F4F1EA; color: #3D4744; transition: background .15s, color .15s; }
.mahalle-dugme:hover { background: #E9E4D9; }
.mahalle-dugme.secili { background: #EFF8F6; color: #0B5653; box-shadow: inset 0 0 0 1.5px #0E6A67; }
.senin-rozet { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; font-weight: 800; color: #fff; background: #F97316; border-radius: 999px; padding: 3px 9px; }
.senin-rozet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.senin-rozet[hidden] { display: none; }
.senin-mahallen { box-shadow: 0 0 0 2px #F97316 !important; } /* Tailwind gölge sınıfı ezmesin */

/* ---------- Mobil açılış ekranı ---------- */
#acilis { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, #0E6A67 0%, #083F3D 55%, #062B28 100%); transition: opacity .45s ease, transform .55s cubic-bezier(.6,0,.3,1); }
#acilis.bitti { opacity: 0; transform: scale(1.06); pointer-events: none; }
.acilis-isik { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.28), transparent 62%); animation: acilisIsik 2.2s ease-out both; }
.acilis-ic { position: relative; display: flex; flex-direction: column; align-items: center; }
.acilis-ikon { width: 112px; height: 112px; border-radius: 30px; box-shadow: 0 24px 48px -12px rgba(0,0,0,.5); animation: acilisIkon .9s cubic-bezier(.2,1.4,.4,1) both; }
.acilis-yazi { height: 40px; margin-top: 26px; animation: acilisYukari .6s .45s ease-out both; }
.acilis-slogan { margin-top: 10px; color: rgba(214,238,234,.8); font-weight: 700; font-size: 14px; letter-spacing: .02em; animation: acilisYukari .6s .65s ease-out both; }
.acilis-cizgi { position: absolute; bottom: max(56px, calc(env(safe-area-inset-bottom) + 40px)); width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.acilis-cizgi span { display: block; height: 100%; width: 40%; border-radius: 3px; background: #F97316; animation: acilisCizgi 1.1s ease-in-out infinite; }
@keyframes acilisIkon { 0% { opacity: 0; transform: scale(.4) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.08) rotate(2deg); } 100% { transform: none; } }
@keyframes acilisYukari { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes acilisIsik { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes acilisCizgi { 0% { transform: translateX(-110%); } 100% { transform: translateX(280%); } }
@media (prefers-reduced-motion: reduce) { .acilis-ikon, .acilis-yazi, .acilis-slogan, .acilis-isik { animation: none; } }

/* ---------- Ana ekrana ekle ---------- */
.kurulum-adim { width: 28px; height: 28px; border-radius: 50%; background: #0E6A67; color: #fff; font-weight: 900; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.kurulum-ok { text-align: center; font-size: 26px; color: #0A84FF; animation: kurulumOk 1.2s ease-in-out infinite; }
@keyframes kurulumOk { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- İZBAN seçici ---------- */
.izban-secim { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 4px 6px 4px 12px; }
.izban-secim span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(214,238,234,.7); width: 54px; flex-shrink: 0; }
.izban-secim select { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; text-overflow: ellipsis; background: transparent; color: #fff; font-weight: 700; font-size: 15px; padding: 8px 4px; border: 0; outline: none; cursor: pointer; }
.izban-secim select option, .izban-secim select optgroup { color: #16201E; }
.izban-cevir { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #F97316; color: #fff; display: grid; place-items: center; font-size: 17px; box-shadow: 0 6px 14px -6px rgba(249,115,22,.9); transition: transform .3s; }
.izban-cevir:hover { transform: translateY(-50%) rotate(180deg); }
.izban-secim:first-child select, .izban-secim:last-child select { padding-right: 44px; }
/* Ortak seçim (ortak/ulasim_secim.php, 10-28): Nereden/Nereye çifti, ⇅ çiftin ortasında; TCDD/ESHOT'ta sabit değer select gibi görünür */
.secim-cift { position: relative; display: flex; flex-direction: column; gap: 8px; }
.secim-sabit { flex: 1; min-width: 0; color: #fff; font-weight: 700; font-size: 15px; padding: 8px 44px 8px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-izban].yukleniyor [data-izban-ilk] { opacity: .35; }

/* ESHOT: liste sıradaki seferle başlar, geçmiş katlanır */
.eshot-gecmis-dugme { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #5E6865; padding: 6px 12px; border-radius: 999px; background: #F4F1EA; transition: background .2s; }
.eshot-gecmis-dugme:hover { background: #E9E4D9; }
.eshot-saatler.gecmis { margin-top: 10px; max-height: none; }
.eshot-gecmis-dugme + .eshot-saatler:not(.gecmis) { margin-top: 10px; }
.eshot-bitti { margin-top: 14px; font-size: 14px; font-weight: 600; color: #5E6865; }

/* ---------- Çerez onayı şeridi ---------- */
.cerez-serit { position: fixed; z-index: 2500; left: 50%; transform: translateX(-50%); bottom: 20px; width: min(720px, calc(100% - 32px));
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: #062B28; color: #fff;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.45); font-size: 14px; line-height: 1.45; animation: pencere .35s ease-out; }
.cerez-serit p { margin: 0; flex: 1; color: rgba(214,238,234,.9); }
.cerez-serit a { color: #fff; text-decoration: underline; }
.cerez-dugmeler { display: flex; gap: 8px; flex-shrink: 0; }
.cerez-dugmeler button { font-weight: 700; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.cerez-dugmeler .cerez-kabul { background: #F97316; }
.cerez-mobil { bottom: calc(76px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 10px; max-width: 448px; font-size: 13px; }
.cerez-mobil .cerez-dugmeler button { flex: 1; padding: 11px; }

/* Ulaşım paneli: İZBAN · TCDD · ESHOT aynı düzende */
.ulasim-sekmeler { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #F4F1EA; }
.ulasim-sekmeler button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #5E6865; transition: all .2s; white-space: nowrap; }
.ulasim-sekmeler button i { font-size: 17px; }
.ulasim-sekmeler button.secili { background: #0E6A67; color: #fff; box-shadow: 0 8px 18px -8px rgba(14,106,103,.7); }
.ulasim-sekme-saat { font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; padding: 1px 7px; border-radius: 999px; background: rgba(14,106,103,.1); color: #0B5653; }
.ulasim-sekmeler button.secili .ulasim-sekme-saat { background: rgba(255,255,255,.18); color: #fff; }
.ulasim-sekmeler.mobil { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(6,43,40,.15); }
.ulasim-sekmeler.mobil button { flex-direction: column; gap: 3px; padding: 9px 4px; border-radius: 18px; font-size: 13px; font-weight: 800; }
.ulasim-sekmeler.mobil button > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.secim-yon { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.secim-yon button { flex: 1; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: rgba(214,238,234,.8); transition: all .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.secim-yon button.secili { background: #fff; color: #062B28; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.sefer-buyuk { font-weight: 800; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-top: 4px; }
.sefer-buyuk.mobil { font-size: 46px; font-weight: 900; }
.sefer-buyuk s, .sefer-saat s { display: block; font-size: 13px; font-weight: 700; opacity: .55; letter-spacing: 0; }
.tcdd-yon-baslik { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5E6865; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.sefer-satir { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #F0ECE3; }
.sefer-satir:first-child { border-top: 0; }
.sefer-saat { width: 62px; flex-shrink: 0; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; color: #0E6A67; line-height: 1.1; }
.sefer-baslik { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sefer-alt { font-size: 12px; color: #5E6865; margin-top: 1px; }
.sefer-kalan { font-size: 13px; font-weight: 700; color: #5E6865; font-variant-numeric: tabular-nums; }
.sefer-rozet { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-bottom: 2px; vertical-align: middle; }
.sefer-rozet.gec { background: #FFEDD5; color: #C2410C; }
.sefer-rozet.iptal { background: #FEE2E2; color: #B91C1C; }
.sefer-satir.iptal .sefer-saat, .sefer-satir.iptal .sefer-baslik { color: #9AA29F; text-decoration: line-through; }
.sefer-bos { padding: 14px 0; font-size: 14px; font-weight: 600; color: #5E6865; }
.sefer-daha { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #5E6865; padding: 6px 12px; border-radius: 999px; background: #F4F1EA; transition: background .2s; }
.sefer-daha:hover { background: #E9E4D9; }
[data-ulasim-panel].yukleniyor [data-sefer-liste], [data-ulasim-panel].yukleniyor [data-sefer-buyuk] { opacity: .4; transition: opacity .2s; }

/* Akaryakıt fiyat tablosu */
.fiyat-tablo { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fiyat-tablo th, .fiyat-tablo td { padding: 9px 6px; text-align: right; border-top: 1px solid #F0ECE3; }
.fiyat-tablo thead th { border-top: 0; font-size: 12px; font-weight: 700; color: #5E6865; padding-top: 0; }
.fiyat-tablo tbody th { text-align: left; font-weight: 700; font-size: 14px; white-space: nowrap; }
.fiyat-tablo td { font-weight: 800; font-size: 16px; }
.fiyat-tablo td.en-ucuz { color: #0E6A67; }
.fiyat-degisim { display: inline-flex; align-items: center; gap: 1px; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; vertical-align: middle; }
.fiyat-degisim.zam { background: #FEE2E2; color: #B91C1C; }
.fiyat-degisim.indirim { background: #DCFCE7; color: #15803D; }
.fiyat-not { margin-top: 8px; font-size: 12px; color: #8A938F; }

/* Yakınımda listesi */
.yakin-ust { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.yakin-ust .yakin-konum { align-self: flex-start; }
/* 12 tür (10-28): tek satır, yatay kaydırılır; sağ kenar solarak "devamı var" der. Seçilen sekme görünür alana kayar (katilim.js) */
.yakin-turler { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px 24px 2px 2px; scroll-padding-inline: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.yakin-turler::-webkit-scrollbar { display: none; }
.yakin-turler button, .yakin-turler a { text-decoration: none; flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #5E6865; background: #F4F1EA; transition: all .2s; white-space: nowrap; }
.yakin-turler button span, .yakin-turler a span { font-size: 11px; font-weight: 800; padding: 0 6px; border-radius: 999px; background: rgba(14,106,103,.1); color: #0B5653; }
.yakin-turler button.secili { background: #0E6A67; color: #fff; }
.yakin-turler a:hover { background: #E9E4D9; color: #16201E; }
.yakin-turler button.secili span { background: rgba(255,255,255,.2); color: #fff; }
.yakin-turler em { font-style: normal; } .yakin-turler .ad-kisa { display: none; }
/* Dar kutu (telefon ya da web'de haritalı yarım sütun): kısa adlar */
.yakin { container-type: inline-size; }
@container (max-width: 520px) {
  .yakin-turler button, .yakin-turler a { gap: 5px; padding: 8px 11px; font-size: 13px; }
  .yakin-turler .ad-uzun { display: none; } .yakin-turler .ad-kisa { display: inline; }
}
/* Yakınımda baloncuğu (ortak/yakin_balon.php) */
.balon { position: fixed; z-index: 1100; right: 28px; bottom: 28px; pointer-events: none; }
.balon-ana { pointer-events: auto; }
.balon-ana { transition: transform .2s, background .2s, opacity .2s; }
/* 🔴 Bulanıklık YALNIZ açıkken (10-28): kapalı perdede (opacity 0) duran backdrop-filter iPhone Safari'de sayfanın üstünü bulanıklaştırıyordu */
.balon-perde { position: fixed; inset: 0; z-index: -1; background: rgba(15,23,42,.28); opacity: 0; pointer-events: none; transition: opacity .25s; }
.balon.acik .balon-perde { opacity: 1; pointer-events: auto; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
/* 12 türün hepsi 4'lü ızgarada (10-28, Ozan: "hepsi gözüksün"; dikey sütuna 7'si sığıyordu). Web: düğmenin üstünde kart; telefon: alttan panel.
   🔴 Panel YALNIZ açıkken dokunuş alır: kapalı görünmez kutu sağ yarıyı kaplayıp eczane karuselini kaydırmayı engellemişti. */
.balon-menu { position: absolute; right: 0; bottom: calc(100% + 12px); width: 372px; background: #fff; border-radius: 24px; padding: 16px;
  box-shadow: 0 24px 60px -12px rgba(6,43,40,.38); opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom right;
  pointer-events: none; transition: opacity .2s, transform .28s cubic-bezier(.34,1.4,.64,1); }
.balon.acik .balon-menu { opacity: 1; transform: none; pointer-events: auto; }
.balon-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 0 2px; }
.balon-bas b { display: block; font-weight: 800; font-size: 17px; color: #16201E; } .balon-bas small { font-size: 12px; color: #5E6865; }
.balon-kapat { width: 34px; height: 34px; border-radius: 50%; background: #F4F1EA; color: #3D4744; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.balon-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.balon-tur { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 2px 8px; border-radius: 16px; text-decoration: none; color: #16201E;
  opacity: 0; transform: translateY(8px); transition: opacity .15s, transform .2s, background .15s; }
.balon.acik .balon-tur { opacity: 1; transform: none; transition-delay: calc(var(--g) * 18ms); }
.balon-tur:hover, .balon-tur:active { background: #F4F1EA; }
.balon-tur .yakin-ikon { width: 46px; height: 46px; border-radius: 15px; font-size: 23px; transition: transform .2s; } .balon-tur:active .yakin-ikon { transform: scale(.92); }
.balon-tur b { font-size: 12.5px; font-weight: 700; line-height: 1.15; text-align: center; } .balon-tur small { font-size: 10.5px; color: #8A938F; margin-top: -3px; }
.balon-hepsi { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 11px; border-radius: 14px; background: #EFF8F6;
  color: #0B5653; font-weight: 800; font-size: 13.5px; text-decoration: none; }
/* Telefon (mobil kabuk + telefondaki ayrı sayfalar): alttan açılan panel, alt çubuğun üstüne biner; açıkken yüzen düğme gizlenir */
.balon-mobil .balon-menu { position: fixed; left: 50%; right: auto; bottom: 0; width: 100%; max-width: 480px; border-radius: 26px 26px 0 0;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 100%); opacity: 1; transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.balon-mobil.acik .balon-menu { transform: translate(-50%, 0); }
.balon-mobil .balon-menu::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: #DCD5C7; margin: 0 auto 12px; }
.balon-mobil.acik .balon-ana { opacity: 0; pointer-events: none; }
.balon-ana { position: relative; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: #0E6A67; color: #fff;
  font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(14,106,103,.38); }
.balon-ana i { font-size: 24px; transition: transform .3s; } .balon-ana .ph-x { display: none; }
.balon.acik .balon-ana { background: #0B5653; } .balon.acik .balon-ana .ph-map-pin-area { display: none; } .balon.acik .balon-ana .ph-x { display: inline; animation: balon-don .3s; }
.balon-ana:hover { transform: translateY(-2px); } .balon-ana:active { transform: scale(.94); }
.balon-ana::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: balon-nabiz 2.8s ease-out infinite; pointer-events: none; }
.balon.acik .balon-ana::after, .balon.goruldu .balon-ana::after { animation: none; }
@keyframes balon-nabiz { 0% { box-shadow: 0 0 0 0 rgba(14,106,103,.45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(14,106,103,0); } }
@keyframes balon-don { from { transform: rotate(-90deg); } }
/* Mobil: 480 px'lik uygulama sütununun sağında, alt çubuğun üstünde; yalnız ikon */
.balon-mobil { right: max(16px, calc(50% - 224px)); bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px); }
.balon-mobil .balon-ana { width: 56px; padding: 0; justify-content: center; } .balon-mobil .balon-ana span { display: none; }
.balon-mobil .balon-ana i { font-size: 26px; }
/* Ayrı şablonlu sayfalar (gizlilik, 404) telefonda: alt çubuk yok, köşede yalnız ikon */
@media (max-width: 640px) { .balon:not(.balon-mobil) { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .balon:not(.balon-mobil) .balon-ana { width: 56px; padding: 0; justify-content: center; } .balon:not(.balon-mobil) .balon-ana span { display: none; } }
@media (max-width: 640px) {
  .balon:not(.balon-mobil) .balon-menu { position: fixed; left: 0; right: 0; bottom: 0; width: auto; border-radius: 26px 26px 0 0;
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; transition: transform .32s cubic-bezier(.2,.8,.2,1); }
  .balon.acik:not(.balon-mobil) .balon-menu { transform: none; } .balon.acik:not(.balon-mobil) .balon-ana { opacity: 0; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .balon-ana::after { animation: none; } .balon.acik .balon-tur { transition: opacity .15s; transition-delay: 0s; } .balon-menu { transition: opacity .15s !important; } }
.yakin-harita-m { position: relative; height: 230px; margin-top: 12px; border-radius: 20px; overflow: hidden; background: #EEF1EF; }
.yakin-harita-web { position: sticky; top: 6rem; height: min(680px, calc(100vh - 8rem)); min-height: 460px; border-radius: 20px; overflow: hidden; background: #F4F1EA; }
.yakin-izgara { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
/* Web (10-28): şerit liste+haritanın üstünde tam genişlik, kaydırma yerine satıra kırılır; konum düğmesi sağda */
.yakin-web .yakin-ust { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 16px; }
.yakin-web .yakin-turler { flex-wrap: wrap; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
.yakin-web .yakin-konum { flex-shrink: 0; }
.yakin-web .yakin-izgara { margin-top: 18px; }
.yakin-konum { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #0E6A67; background: #E6F2F0; transition: all .2s; }
.yakin-konum.aktif { background: #0E6A67; color: #fff; }
.yakin-durum { margin-top: 8px; font-size: 12px; font-weight: 600; color: #8A938F; }
.yakin-liste { margin-top: 6px; list-style: none; padding: 0; }
.yakin-satir { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid #F0ECE3; border-radius: 12px; transition: background .4s; }
.yakin-liste .yakin-satir:first-child { border-top: 0; }
.yakin-satir.vurgu { background: #FFF7E0; }
.yakin-ikon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.yakin-ikon.benzinlik { background: #FFFBEB; color: #D97706; } .yakin-ikon.wifi { background: #F0F9FF; color: #0284C7; } .yakin-ikon.atm { background: #F0FDF4; color: #16A34A; }
.yakin-ikon.logo { overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(15,23,42,.08); } .yakin-ikon.logo img { width: 100%; height: 100%; object-fit: cover; } .yakin-ikon.sarj { background: #EEF2FF; color: #4F46E5; }
.yakin-google { position: absolute; inset: 0; z-index: 1001; width: 100%; height: 100%; border: 0; }
.yakin-satir[data-google] { cursor: pointer; }
.yakin-orta { min-width: 0; flex: 1; }
/* İki satıra kadar: "Torbalı 15 Nolu Aile Sağlığı Merkezi" gibi uzun adlar tek satırda ayırt edilemiyordu (10-28) */
.yakin-ad { font-weight: 700; font-size: 15px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yakin-alt { font-size: 12px; color: #5E6865; margin-top: 1px; }
.yakin-fiyat { font-size: 12px; font-weight: 700; color: #0B5653; margin-top: 2px; font-variant-numeric: tabular-nums; }
/* Yeni türlerin ikon renkleri (10-28) */
.yakin-ikon.saglik { background: #FEF2F2; color: #DC2626; } .yakin-ikon.taksi { background: #FEFCE8; color: #CA8A04; }
.yakin-ikon.kargo { background: #FFF7ED; color: #EA580C; } .yakin-ikon.veteriner { background: #FDF4FF; color: #A21CAF; }
.yakin-ikon.otopark { background: #EFF6FF; color: #2563EB; } .yakin-ikon.park { background: #F0FDF4; color: #15803D; }
.yakin-ikon.kutuphane { background: #F5F3FF; color: #7C3AED; } .yakin-ikon.tuvalet { background: #F1F5F9; color: #475569; }
/* Satır rozetleri: şu an açık/kapalı + bugünkü saat, erişilebilirlik (Places, 10-28) */
.yakin-rozetler { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.yakin-rozet { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #F4F1EA; color: #5E6865; white-space: nowrap; }
.yakin-rozet.acik { background: #DCFCE7; color: #15803D; } .yakin-rozet.kapali { background: #FEE2E2; color: #B91C1C; }
.yakin-rozet.erisim { background: #EFF6FF; color: #1D4ED8; } .yakin-rozet i { font-size: 13px; }
.yakin-ara { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 12px; font-weight: 800; color: #0E6A67; text-decoration: none; white-space: nowrap; }
/* Fiyat tablosu 8 markaya çıktı: dar ekranda yatay kayar, yakıt adı sütunu sabit */
.fiyat-kaydir { overflow-x: auto; scrollbar-width: thin; }
.fiyat-kaydir .fiyat-tablo { min-width: max-content; } .fiyat-kaydir .fiyat-tablo th, .fiyat-kaydir .fiyat-tablo td { padding-left: 10px; }
.fiyat-kaydir .fiyat-tablo tbody th { position: sticky; left: 0; background: #fff; z-index: 1; }
.yakin-sag { text-align: right; flex-shrink: 0; }
.yakin-mesafe { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.yakin-tarif { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12px; font-weight: 700; color: #EA580C; }
