/* ==========================================================================
   Kent78 · Tasarım sistemi v6
   Kimlik: Karabük şehir otobüslerinin rengi. Sarı gövde, antrasit ön yüz, beyaz.
   Hat levhaları otobüslerin ışıklı tabelası gibi: siyah zemin, sarı, dar ve kalın numara.
   Gidiş mavi, dönüş kırmızı.
   Tek dosya: renkler, yazı, bileşenler. Açık/koyu otomatik; kullanıcı seçimi
   <html data-theme="light|dark"> ile zorlanır. Ağır efekt (blur, büyük gölge
   animasyonu) yok; animasyonlar yalnızca transform/opacity kullanır.
   ========================================================================== */

/* Yerel yazı tipi: Archivo (değişken: ağırlık 400–800, genişlik 75–100; Türkçe alt küme ~53 KB). Dış istek yok. */
@font-face {
    font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
    src: url('fonts/archivo-latin.woff2') format('woff2-variations'), url('fonts/archivo-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032, U+2191, U+2193, U+2212;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
    src: url('fonts/archivo-tr.woff2') format('woff2-variations'), url('fonts/archivo-tr.woff2') format('woff2');
    unicode-range: U+011E-011F, U+0130, U+015E-015F, U+20BA, U+2190, U+2192, U+2116;
}

/* v6.12 · Figtree: gövde ve başlıklar (yuvarlak, açık, küçük boyutta okunaklı). Archivo dar yalnız LED tabela ve sayılarda. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
    src: url('fonts/figtree-latin-ext.woff2') format('woff2-variations'), url('fonts/figtree-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
    src: url('fonts/figtree-latin.woff2') format('woff2-variations'), url('fonts/figtree-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Renk ve ölçü belirteçleri ---------- */
:root {
    --bg: #EEF1EB; --yuz: #FFFFFF; --yuz2: #F6F8F3; --yuz3: #E4E9E0;
    --ink: #17243D; --ink2: #3C465A; --soluk: #5E6C65; --cizgi: #DBE2D6; --cizgi2: #C5CEBF;
    --marka: #17243D; --marka-koyu: #0E1829; --marka-acik: #FFF2C9; --on-marka: #FFFFFF;
    --sari: #FFDA00; --sari-koyu: #E6C400; --on-sari: #17243D;
    --safran: #FFDA00; --safran-yazi: #7A5C00; --pas: #C0502F;
    --kiremit: #C0502F; --kiremit-koyu: #A5411F; --kiremit-acik: #F6E6DD; --on-kiremit: #FFFFFF;
    --yesil: #0E8A5F; --yesil-yazi: #0A6948; --kirmizi: #D1301E; --turuncu-yazi: #8F4300;
    --g: #1F55C9; --d: #D1301E;
    --levha-zemin: #17243D; --levha-yazi: #FFDA00;
    /* Açık düzen: krem kâğıt zemin; sarı (Karabük otobüsü) ve Safranbolu kiremiti vurgu, lacivert mürekkep yazı */
    --kapak: #EEF1EB; --kapak-yazi: #17243D; --kapak-soluk: #5E6C65; --kapak-bt: #FFFFFF; --kapak-bt-cizgi: #DBE2D6;
    --e1: 0 1px 2px rgba(20,44,36,.07);
    --e2: 0 1px 2px rgba(20,44,36,.06), 0 4px 14px rgba(20,44,36,.07);
    --e3: 0 2px 8px rgba(20,44,36,.10), 0 14px 34px rgba(20,44,36,.13);
    --golge: var(--e2); --golge-ust: 0 -4px 24px rgba(20,44,36,.14);
    --r-xs: 6px; --r-k: 10px; --r: 14px; --r-b: 18px; --r-xl: 24px;
    --hiz: .18s; --egri: cubic-bezier(.2,.8,.2,1);
    --guv-ust: env(safe-area-inset-top, 0px); --guv-alt: env(safe-area-inset-bottom, 0px);
    --kap-gen: 44rem;
    --f-led: 'Archivo', system-ui, sans-serif;
    --f-metin: 'Figtree', 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0E1512; --yuz: #16201B; --yuz2: #1B2721; --yuz3: #243229;
        --ink: #E8EFE9; --ink2: #BFCBC3; --soluk: #93A39A; --cizgi: #2A382F; --cizgi2: #364639;
        --marka: #FFDA00; --marka-koyu: #E6C400; --marka-acik: #2E2814; --on-marka: #17243D;
        --sari: #FFDA00; --sari-koyu: #E6C400; --on-sari: #17243D;
        --safran: #FFDA00; --safran-yazi: #FFD84D; --pas: #E78A66;
        --kiremit: #E07A52; --kiremit-koyu: #C86239; --kiremit-acik: #2E1E14; --on-kiremit: #17243D;
        --yesil: #23A877; --yesil-yazi: #5BD3A6; --kirmizi: #FF6B57; --turuncu-yazi: #FFB070;
        --g: #7EA6FF; --d: #FF6B57;
        --levha-zemin: #0B0906; --levha-yazi: #FFDA00;
        --kapak: #0E1512; --kapak-yazi: #E8EFE9; --kapak-soluk: #93A39A; --kapak-bt: #16201B; --kapak-bt-cizgi: #2A382F;
        --e1: 0 1px 2px rgba(0,0,0,.4);
        --e2: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.3);
        --e3: 0 2px 6px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
        --golge-ust: 0 -4px 24px rgba(0,0,0,.5);
        color-scheme: dark;
    }
}
/* Elle seçilen koyu tema: otomatik koyu temanın aynısı (sıcak gece paleti) */
:root[data-theme="dark"] {
    --bg: #0E1512; --yuz: #16201B; --yuz2: #1B2721; --yuz3: #243229;
    --ink: #E8EFE9; --ink2: #BFCBC3; --soluk: #93A39A; --cizgi: #2A382F; --cizgi2: #364639;
    --marka: #FFDA00; --marka-koyu: #E6C400; --marka-acik: #2E2814; --on-marka: #17243D;
    --sari: #FFDA00; --sari-koyu: #E6C400; --on-sari: #17243D;
    --safran: #FFDA00; --safran-yazi: #FFD84D; --pas: #E78A66;
    --kiremit: #E07A52; --kiremit-koyu: #C86239; --kiremit-acik: #2E1E14; --on-kiremit: #17243D;
    --yesil: #23A877; --yesil-yazi: #5BD3A6; --kirmizi: #FF6B57; --turuncu-yazi: #FFB070;
    --g: #7EA6FF; --d: #FF6B57;
    --levha-zemin: #0B0906; --levha-yazi: #FFDA00;
    --kapak: #0E1512; --kapak-yazi: #E8EFE9; --kapak-soluk: #93A39A; --kapak-bt: #16201B; --kapak-bt-cizgi: #2A382F;
    --e1: 0 1px 2px rgba(0,0,0,.4);
    --e2: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.3);
    --e3: 0 2px 6px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
    --golge-ust: 0 -4px 24px rgba(0,0,0,.5);
    color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    font-family: var(--f-metin);
    background: var(--bg); color: var(--ink); line-height: 1.45; font-weight: 500;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent; font-variant-numeric: tabular-nums;
    text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
input { text-overflow: ellipsis; }   /* 320px gibi dar ekranlarda uzun ipucu yazısı '…' ile biter */
button { cursor: pointer; background: none; border: 0; touch-action: manipulation; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
img, svg { display: block; }
svg.ikon, .ikon { display: inline-block; }
::selection { background: color-mix(in srgb, var(--marka) 25%, transparent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--marka) 60%, transparent); outline-offset: 2px; border-radius: 10px; }
.ikon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sessiz { color: var(--soluk); }
.link { color: var(--marka); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Hat levhası (rozet) ---------- */
.levha {
    /* Karabük otobüsünün ön tabelası: koyu LED panel, kehribar nokta-matris rakam, solda ince hat-rengi şerit. */
    --lv: #1F5FA8;
    position: relative; overflow: hidden; min-width: 3.1rem; height: 2.5rem; padding: 0 .5rem 0 .62rem; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    background:
        radial-gradient(color-mix(in srgb, var(--sari) 20%, transparent) .5px, transparent .9px) 0 0 / 3px 3px,
        linear-gradient(#242a34, #13171e);
    color: var(--sari); border: 1px solid rgba(0,0,0,.5);
    font-weight: 800; font-stretch: 78%; font-size: 1.1875rem; letter-spacing: .04em; line-height: 1;
    text-shadow: 0 0 7px color-mix(in srgb, var(--sari) 55%, transparent);
    box-shadow: var(--e1), inset 0 1px 0 rgba(255,255,255,.07), inset 0 -2px 5px rgba(0,0,0,.45);
}
.levha::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lv); }
.levha.sonuk { color: color-mix(in srgb, var(--sari) 42%, #3A3A36); text-shadow: none; }   /* seferde araç yok: tabela sönük */
.levha.mini { height: 1.75rem; min-width: 2.75rem; padding: 0 .45rem 0 .55rem; font-size: .9375rem; border-radius: 7px; }
.levha.mini::before { width: 3px; }

/* ---------- Düğmeler ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 2.875rem; padding: 0 1.125rem; border-radius: 14px; font-weight: 700; font-size: .9375rem; line-height: 1.15; text-align: center;
    background: var(--yuz); color: var(--ink); border: 1px solid var(--cizgi); box-shadow: var(--e1);
    transition: transform var(--hiz) var(--egri), background-color var(--hiz), border-color var(--hiz);
}
.btn .ikon { width: 1.2rem; height: 1.2rem; }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { border-color: var(--cizgi2); } }
.btn.birincil { background: var(--marka); color: var(--on-marka); border-color: transparent; box-shadow: 0 1px 2px rgba(20,44,142,.2), 0 4px 12px color-mix(in srgb, var(--marka) 28%, transparent); }
@media (hover: hover) { .btn.birincil:hover { background: color-mix(in srgb, var(--marka) 88%, #000); } }
.btn.tehlike { background: color-mix(in srgb, var(--kirmizi) 10%, var(--yuz)); color: var(--kirmizi); border-color: color-mix(in srgb, var(--kirmizi) 28%, transparent); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.yuvarlak {
    width: 2.875rem; height: 2.875rem; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--yuz); color: var(--ink); box-shadow: var(--e3); border: 1px solid var(--cizgi);
    transition: transform var(--hiz) var(--egri);
}
.yuvarlak .ikon { width: 1.35rem; height: 1.35rem; }
.yuvarlak:active { transform: scale(.92); }

/* ---------- Segment (hap) ---------- */
.hap { display: flex; padding: 4px; gap: 4px; background: var(--yuz3); border-radius: 14px; }
.hap button { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0 .75rem; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--soluk); display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: background-color var(--hiz), color var(--hiz); }
.hap button[aria-pressed="true"], .hap button[aria-selected="true"] { background: var(--yuz); color: var(--ink); box-shadow: 0 1px 2px rgba(11,21,38,.1), 0 2px 6px rgba(11,21,38,.06); }

/* ---------- Çipler ---------- */
.cipler { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: .125rem 1rem; }
.cipler::-webkit-scrollbar { display: none; }
.cip { flex: none; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; font-weight: 700; font-size: .875rem; color: var(--ink2); background: var(--yuz); border: 1px solid var(--cizgi); display: inline-flex; align-items: center; gap: .4rem; transition: background-color var(--hiz), color var(--hiz), border-color var(--hiz); }
.cip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cip i { font-style: normal; font-size: .75rem; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 999px; display: inline-grid; place-items: center; background: color-mix(in srgb, currentColor 14%, transparent); }
.cip i:empty { display: none; }

/* ---------- Sayfa kapağı (alt sayfalar ortak) ---------- */
:root { --desen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220' viewBox='0 0 420 220' fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-10 170 C 80 170 90 90 180 90 S 290 30 430 40' stroke-opacity='.06' stroke-width='10'/%3E%3Cpath d='M120 240 C 160 160 240 170 270 110 S 360 70 430 120' stroke-opacity='.045' stroke-width='6'/%3E%3Cpath d='M-10 170 C 80 170 90 90 180 90 S 290 30 430 40' stroke-opacity='.16' stroke-width='1.5' stroke-dasharray='2 9'/%3E%3Ccircle cx='180' cy='90' r='6' fill='%23fff' fill-opacity='.10' stroke='none'/%3E%3Ccircle cx='270' cy='110' r='4.5' fill='%23fff' fill-opacity='.08' stroke='none'/%3E%3Ccircle cx='64' cy='168' r='4.5' fill='%23fff' fill-opacity='.08' stroke='none'/%3E%3C/svg%3E"); }
.kapak {
    position: relative; color: var(--kapak-yazi);
    background: var(--kapak);
    padding: calc(.75rem + var(--guv-ust)) 1.25rem 1.25rem;
}
.kapak-ic { max-width: var(--kap-gen); margin: 0 auto; }
.kapak h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); font-weight: 800; font-stretch: 82%; letter-spacing: -.01em; line-height: 1.02; }
.kapak p { margin-top: .45rem; color: var(--kapak-soluk); font-weight: 500; font-size: .975rem; max-width: 34rem; }
.kapak a { color: var(--kapak-yazi); }
.kapak-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.75rem; margin-bottom: 1rem; }
.kapak-bt { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 .9rem 0 .55rem; border-radius: 999px; background: var(--kapak-bt); border: 1px solid var(--kapak-bt-cizgi); color: var(--kapak-yazi); font-weight: 700; font-size: .875rem; transition: background-color var(--hiz); }
.kapak-bt.tek { padding: 0; width: 2.75rem; justify-content: center; }
.kapak-bt .ikon { width: 1.2rem; height: 1.2rem; }
.kapak-bt:active { background: var(--kapak-bt-cizgi); }
.kapak-bt { box-shadow: var(--e1); }
.ana { max-width: var(--kap-gen); margin: 0 auto; padding: 0 1rem; position: relative; z-index: 1; }

/* ---------- Kutu / kart yüzeyi ---------- */
.kutu { background: var(--yuz); border: 1px solid var(--cizgi); border-radius: var(--r-b); padding: 1rem; margin-bottom: .75rem; box-shadow: var(--e1); }
.kutu > h2, .kutu-bas { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .625rem; }
.kutu-bas .ikon, .kutu > h2 .ikon { width: 1.15rem; height: 1.15rem; color: var(--marka); }
.bolum { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin: 1.75rem .125rem .75rem; }
.bolum h2 { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; }
.bolum span, .bolum a { font-size: .8125rem; font-weight: 700; color: var(--soluk); }
.baslik { margin: 1.5rem .25rem .625rem; font-size: 1.0625rem; font-weight: 800; font-stretch: 85%; color: var(--ink); }
.bos { text-align: center; color: var(--soluk); font-weight: 600; padding: 2.25rem 1.25rem; background: var(--yuz); border: 1.5px dashed var(--cizgi2); border-radius: var(--r-b); line-height: 1.5; }
.not { font-size: .8125rem; color: var(--soluk); line-height: 1.55; }

/* ---------- Arama kutusu ---------- */
.ara { position: relative; }
.ara > .ikon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--soluk); width: 1.3rem; height: 1.3rem; pointer-events: none; z-index: 1; }
.ara input {
    width: 100%; height: 3.5rem; padding: 0 1rem 0 3rem; border-radius: 18px; border: 1px solid var(--cizgi);
    background: var(--yuz); box-shadow: var(--e3); font-size: 1rem; font-weight: 600; -webkit-appearance: none; appearance: none;
    transition: border-color var(--hiz), box-shadow var(--hiz);
}
.ara input::placeholder { color: var(--soluk); font-weight: 500; opacity: 1; }
.ara input:focus { outline: none; border-color: var(--marka); box-shadow: var(--e3), 0 0 0 4px color-mix(in srgb, var(--marka) 20%, transparent); }
.ara input::-webkit-search-cancel-button { -webkit-appearance: none; height: 1.1rem; width: 1.1rem; border-radius: 50%; cursor: pointer; background: var(--soluk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 60% no-repeat; }

/* ---------- Bildirim (toast) ---------- */
.bildirim {
    position: fixed; left: 50%; bottom: calc(1rem + var(--guv-alt)); transform: translate(-50%, 160%);
    max-width: min(92vw, 28rem); padding: .8rem 1.1rem; border-radius: 14px; z-index: 5000;
    background: #0B1526; color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.35; box-shadow: var(--e3);
    transition: transform .28s var(--egri); pointer-events: none;
}
.bildirim.acik { transform: translate(-50%, 0); }
.bildirim.hata { background: #B42318; }
.bildirim.tamam { background: #067647; }

/* ---------- Alt gezinme ---------- */
.altnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; padding: 0 .75rem calc(.625rem + var(--guv-alt)); pointer-events: none; }
.altnav::before { content: ""; position: absolute; inset: -1.25rem 0 0; z-index: -1; background: linear-gradient(to top, var(--bg) 40%, color-mix(in srgb, var(--bg) 0%, transparent)); pointer-events: none; }
.altnav-ic { pointer-events: auto; display: flex; gap: .125rem; max-width: 26rem; margin: 0 auto; padding: .3125rem; border-radius: 24px; background: var(--yuz); border: 1px solid var(--cizgi); box-shadow: var(--e3); }
.altnav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1875rem; min-height: 3.375rem; border-radius: 19px; font-size: .71875rem; font-weight: 700; color: var(--soluk); transition: background-color var(--hiz), color var(--hiz); }
.altnav a .ikon { width: 1.375rem; height: 1.375rem; stroke-width: 1.9; }
.altnav a:active { transform: scale(.95); }
.altnav a[aria-current="page"] { color: var(--marka); background: var(--marka-acik); }
.altnav a[aria-current="page"] .ikon { stroke-width: 2.3; }

/* ---------- Duyuru, veri uyarısı ---------- */
.duyuru { display: flex; gap: .7rem; align-items: flex-start; margin: .5rem 0 0; padding: .75rem .5rem .75rem .8rem; border-radius: var(--r); background: var(--yuz); border: 1px solid color-mix(in srgb, var(--marka) 28%, var(--cizgi)); box-shadow: var(--e1); font-size: .9rem; line-height: 1.4; }
.duyuru .d-ic { width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--marka); color: var(--on-marka); font-weight: 800; display: grid; place-items: center; flex: none; font-size: .85rem; margin-top: .05rem; }
.duyuru .d-ic2 { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; } .duyuru .d-ic2 b { font-weight: 800; } .duyuru .d-ic2 span { color: var(--soluk); }
.duyuru .d-ic2 span:empty { display: none; }
.duyuru button { font-size: 1.35rem; line-height: 1; color: var(--soluk); width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: none; display: grid; place-items: center; margin: -.3rem 0; }
.duyuru button:active { background: var(--yuz2); }
.duyuru.uyari { background: color-mix(in srgb, var(--safran) 12%, var(--yuz)); border-color: color-mix(in srgb, var(--safran) 50%, transparent); } .duyuru.uyari .d-ic { background: var(--safran); color: #3A2600; }
.duyuru.onemli { background: color-mix(in srgb, var(--kirmizi) 9%, var(--yuz)); border-color: color-mix(in srgb, var(--kirmizi) 38%, transparent); } .duyuru.onemli .d-ic { background: var(--kirmizi); color: #fff; }
.veri-uyari { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0 0; padding: .7rem .875rem; border-radius: var(--r); background: color-mix(in srgb, var(--safran) 14%, var(--yuz)); border: 1px solid color-mix(in srgb, var(--safran) 50%, transparent); font-size: .875rem; font-weight: 600; line-height: 1.4; }
.veri-uyari::before { content: "!"; flex: none; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--safran); color: #3A2600; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

/* ---------- Diyalog ---------- */
.kb-dlg { border: 0; border-radius: 24px; padding: 1.375rem 1.25rem 1.25rem; width: min(92vw, 28rem); max-height: calc(100dvh - 2rem); overflow: auto; background: var(--yuz); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.35); margin: auto; }
.kb-dlg::backdrop { background: rgba(6,10,20,.55); }
.kb-dlg h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .25rem; }
.kb-dlg label { display: block; margin-top: .875rem; font-weight: 700; font-size: .8125rem; color: var(--ink2); }
.kb-dlg select, .kb-dlg textarea, .kb-dlg input:not(.gizli) { display: block; width: 100%; margin-top: .3rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid var(--cizgi); background: var(--yuz2); font-weight: 500; font-size: 1rem; }
.kb-dlg select:focus, .kb-dlg textarea:focus, .kb-dlg input:focus { outline: none; border-color: var(--marka); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marka) 20%, transparent); }
.kb-dlg textarea { resize: vertical; min-height: 6rem; }
.kb-dlg-b { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1.125rem; } .kb-dlg-b .btn { flex: 1; }
.kb-dlg-m { min-height: 1.2rem; margin-top: .6rem; font-size: .875rem; color: var(--soluk); }

/* ---------- Küçük rozetler ---------- */
.rozet-dur { display: inline-block; padding: .125rem .5rem; border-radius: 99px; background: color-mix(in srgb, var(--safran) 26%, var(--yuz)); color: var(--turuncu-yazi); font-size: .75rem; font-weight: 800; }
.canli-nokta { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex: none; animation: nabiz 1.8s ease-in-out infinite; }
@keyframes nabiz { 50% { opacity: .3; } }
.sefer-not { margin: 0 0 .5rem; padding: .5rem .7rem; border-radius: 12px; background: var(--yuz2); font-size: .8125rem; font-weight: 600; color: var(--soluk); line-height: 1.4; }
.sefer-not.dis { color: var(--kirmizi); background: color-mix(in srgb, var(--kirmizi) 8%, var(--yuz)); }

/* ---------- Yükleme iskeleti ---------- */
.iskelet { position: relative; overflow: hidden; background: color-mix(in srgb, var(--soluk) 14%, var(--yuz)); border-radius: 14px; min-height: 1rem; }
.iskelet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--yuz) 65%, transparent) 50%, transparent 80%); transform: translateX(-100%); animation: iskelet 1.4s ease-in-out infinite; }
@keyframes iskelet { to { transform: translateX(100%); } }
.iskelet-kart { background: var(--yuz); border: 1px solid var(--cizgi); border-radius: var(--r-b); padding: 1rem; margin-bottom: .625rem; display: grid; gap: .6rem; }
.iskelet-kart .iskelet:nth-child(1) { height: 1.25rem; width: 55%; } .iskelet-kart .iskelet:nth-child(2) { height: 2.4rem; } .iskelet-kart .iskelet:nth-child(3) { height: 2.4rem; width: 80%; }

/* ---------- Dakika rozetleri (ortak) ---------- */
.dk-simdi { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; font-weight: 800; color: #fff; background: var(--yesil); padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- v6: tabela tipografisi ---------- */
.dar { font-stretch: 80%; }
h1, h2, h3 { font-stretch: 88%; }
.dk, .ak-sure, .hiz, .saat, .levha, .sure-b { font-stretch: 80%; }
/* Küçük etiketlerde BÜYÜK HARF kullanılmaz (okunurluk): tüm sayfalarda cümle düzenine çekilir */
.etiket, small.et, .lbl { text-transform: none !important; letter-spacing: 0 !important; }

/* ---------- Araç bileşenleri (arackit.js): kapı no çipi. Belediye aracı sarı, özel halk otobüsü mavi (haritadaki otobüsle aynı renk) ---------- */
.ak-cip { --op: #FFDA00; --op-yazi: #17243D; --halka: #fff; position: relative; display: inline-flex; align-items: center; gap: .375rem; height: 2.25rem; padding: 0 .85rem; border-radius: 11px; background: var(--op); color: var(--op-yazi);
    border: 0; box-shadow: 0 0 0 2px var(--halka), 0 2px 8px rgba(30, 22, 8, .3); font: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--hiz) var(--egri), box-shadow var(--hiz); }
.ak-cip.ozel { --op: #2563EB; --op-yazi: #fff; }
.ak-cip:active { transform: scale(.95); }
.ak-no { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; font-weight: 800; font-stretch: 80%; font-size: 1.125rem; letter-spacing: .03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ak-no.uzun { font-size: .875rem; letter-spacing: 0; }
.ak-nb { position: absolute; right: -.6rem; top: -.45rem; width: 7px; height: 7px; border-radius: 50%; background: #2BD38F; box-shadow: 0 0 0 1.5px var(--op); animation: nabiz 1.8s ease-in-out infinite; }
.ak-nb.bekle { background: #F28C00; animation: none; }
.ak-rm { flex: none; display: inline-grid; place-items: center; width: 1.0625rem; height: 1.0625rem; }
.ak-rm .ikon { width: 100%; height: 100%; stroke-width: 2.2; }
.ak-izle { width: 1rem; height: 1rem; animation: nabiz 1.4s ease-in-out infinite; }
.ak-cip::before { content: ""; position: absolute; inset: -.25rem 0; }            /* görünen boy aynı; dokunma alanı ≥44px */
.ak-cip.kucuk::before { inset: -.4375rem 0; }
.ak-cip.sec { box-shadow: 0 0 0 2px var(--halka), 0 0 0 5px #17243D, 0 4px 12px rgba(30, 22, 8, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ak-cip { --halka: #0E1512; } :root:not([data-theme="light"]) .ak-cip.sec { box-shadow: 0 0 0 2px var(--halka), 0 0 0 5px #E8EFE9, 0 4px 12px rgba(0, 0, 0, .5); } }
:root[data-theme="dark"] .ak-cip { --halka: #0E1512; }
:root[data-theme="dark"] .ak-cip.sec { box-shadow: 0 0 0 2px var(--halka), 0 0 0 5px #E8EFE9, 0 4px 12px rgba(0, 0, 0, .5); }
.ak-cip.disi { opacity: .62; filter: saturate(.45); }
.ak-cip.kucuk { height: 1.875rem; gap: .3rem; padding: 0 .65rem; border-radius: 9px; box-shadow: 0 1px 3px rgba(30, 22, 8, .28); }
.ak-cip.kucuk .ak-no { min-width: 1.25rem; font-size: .9375rem; }
.ak-cip.kucuk .ak-nb { right: -.5rem; top: -.4rem; width: 6px; height: 6px; }
.ak-cip.kucuk .ak-rm { width: .9375rem; height: .9375rem; }
.ak-cip.daha { background: var(--yuz3); color: var(--soluk); box-shadow: none; border: 1px solid var(--cizgi2); font-weight: 800; font-size: .75rem; }
/* İşletmeci yazısı (araç satırında): renkli nokta + düz yazı */
.ak-tur { display: inline-flex; align-items: center; gap: .375rem; }
.ak-tur i { flex: none; width: .625rem; height: .625rem; border-radius: 50%; }
.ak-tur.bel i { background: #FFDA00; box-shadow: 0 0 0 1.5px rgba(23, 36, 61, .35); }
.ak-tur.ozel i { background: #2563EB; }
.ak-pl { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* ---------- Rehber (şehir rehberi): ortak parçalar (v6.6) ----------
   Tür rengi --tc tek değerdir; açık/koyu düzende karışım mürekkebe göre yapılır, ayrı koyu tema kuralı gerekmez. */
.yt-tarihi { --tc: #C0502F; } .yt-doga { --tc: #0E8A5F; } .yt-muze { --tc: #3B63C9; } .yt-carsi { --tc: #B98300; } .yt-diger { --tc: #66758A; }
.yer-ik { flex: none; display: grid; place-items: center; overflow: hidden; color: color-mix(in srgb, var(--tc, var(--marka)) 76%, var(--ink)); background: color-mix(in srgb, var(--tc, var(--marka)) 14%, var(--yuz)); }
.yer-ik .ikon { width: 1.6rem; height: 1.6rem; stroke-width: 1.8; }
.yer-ik img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yer-et { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 800; color: color-mix(in srgb, var(--tc, var(--marka)) 52%, var(--ink)); }
.yer-et::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tc, var(--marka)); flex: none; }
.yer-ilce { font-size: .75rem; font-weight: 700; color: var(--soluk); }

/* ---------- Alt gezinme: 5 öğe (v6.6) ---------- */
.altnav-ic { max-width: 28rem; }
.altnav a { min-width: 0; padding: 0 .125rem; }
@media (max-width: 359px) { .altnav-ic { padding: .25rem; gap: 0; } .altnav a { font-size: .65625rem; } }

/* ---------- Ana ekrana ekle yönergesi (kur.js) ---------- */
.kur-adim { list-style: none; display: grid; gap: .5rem; margin: 1rem 0 0; }
.kur-adim li { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: 14px; background: var(--yuz2); border: 1px solid var(--cizgi); font-weight: 700; font-size: .9375rem; line-height: 1.35; }
.kur-ad-ik { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; background: var(--marka-acik); color: var(--ink); }
.kur-ad-ik .ikon { width: 1.3rem; height: 1.3rem; }
.kur-not { margin-top: .875rem; font-size: .8125rem; line-height: 1.5; color: var(--soluk); }

/* v6.12 · LED tabela ve sayı yüzleri: dar Archivo */
.ak-no,
.ak-sure,
.dar,
.dk,
.hiz,
.levha,
.saat,
.sure-b { font-family: var(--f-led); }

/* =====================================================================
   v6.25 · Bilgisayar: ortak üst çubuk (alt sayfalar) ve geniş yerleşimler
   Telefonda hiçbiri görünmez; alt gezinme aynen kalır.
   ===================================================================== */
.uapp { display: none; }
@media (min-width: 64rem) {
    .uapp { display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 900; height: 4.5rem; padding: 0 1rem; background: var(--kapak); border-bottom: 1px solid var(--cizgi); }
    .uapp-logo { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 18px; background: var(--yuz); border: 1px solid var(--cizgi2); }
    .uapp-logo svg { width: 2.375rem; height: 2.375rem; }
    .uapp-ara { flex: 0 1 30rem; min-width: 0; display: flex; align-items: center; gap: .75rem; height: 3.25rem; padding: 0 1rem; border-radius: 18px; background: var(--yuz); border: 1px solid var(--cizgi2); color: var(--soluk); font-weight: 600; font-size: 1rem; transition: border-color var(--hiz); }
    .uapp-ara .ikon { width: 1.25rem; height: 1.25rem; stroke-width: 1.9; }
    .uapp-ara span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .uapp-ara kbd { flex: none; display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .375rem; border-radius: 6px; border: 1px solid var(--cizgi2); background: var(--yuz2); color: var(--soluk); font: 700 .75rem/1 var(--f-metin); }
    .uapp-nav { margin-left: auto; display: flex; gap: .125rem; padding: .1875rem; border-radius: 18px; background: var(--yuz); border: 1px solid var(--cizgi2); }
    .uapp-nav a { display: flex; align-items: center; gap: .5rem; min-height: 2.875rem; padding: 0 .875rem; border-radius: 15px; font-size: .875rem; font-weight: 700; color: var(--ink2); transition: background-color var(--hiz), color var(--hiz); }
    .uapp-nav a .ikon { width: 1.25rem; height: 1.25rem; stroke-width: 1.9; }
    .uapp-nav a[aria-current="page"] { color: var(--marka); background: var(--marka-acik); }
    .uapp-nav a[aria-current="page"] .ikon { stroke-width: 2.3; }
    .uapp-ayar { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 18px; background: var(--yuz); border: 1px solid var(--cizgi2); color: var(--ink2); transition: background-color var(--hiz); }
    .uapp-ayar .ikon { width: 1.35rem; height: 1.35rem; stroke-width: 1.8; }
    .uapp ~ .altnav { display: none; }
}
@media (min-width: 64rem) and (hover: hover) {
    .uapp-ara:hover { border-color: var(--soluk); }
    .uapp-nav a:not([aria-current="page"]):hover, .uapp-ayar:hover { background: var(--yuz2); color: var(--ink); }
}
@media (min-width: 64rem) {
    /* Geniş sayfalar: <body class="gen"> */
    body.gen { padding-bottom: 3rem; }
    body.gen .kapak { padding: 2rem 2rem 1.75rem; }
    body.gen .kapak-ic, body.gen .ana { max-width: 72rem; }
    body.gen .ana { padding: 0 2rem; margin-top: 0; }
    body.gen .kapak h1 { font-size: clamp(2rem, 3vw, 2.75rem); }
    body.gen .kapak p { font-size: 1.0625rem; max-width: 42rem; }
}

/* =====================================================================
   v6.25 · Uygulama kabuğu: küçük başlık çubuğu, dokunma geri bildirimi
   ===================================================================== */
/* Not: sayfalar arası görünüm geçişi (@view-transition) denendi; test ortamında tarayıcı geçişi sık iptal ettiği ve gerçek cihazda doğrulanamadığı için eklenmedi. */

.mini-bar { position: fixed; z-index: 850; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .625rem; height: calc(3.25rem + var(--guv-ust)); padding: var(--guv-ust) 1rem 0 1rem;
    background: var(--bg); border-bottom: 1px solid var(--cizgi); box-shadow: var(--e1); transform: translateY(-105%); transition: transform .24s var(--egri); pointer-events: none; }
.mini-bar.acik { transform: none; pointer-events: auto; }
.mini-geri { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-left: -.5rem; border-radius: 50%; color: var(--ink); }
.mini-geri:active { background: var(--yuz3); }
.mini-geri .ikon { width: 1.35rem; height: 1.35rem; stroke-width: 2.2; }
.mini-bas { min-width: 0; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar .levha { flex: none; }
@media (min-width: 64rem) { .mini-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .mini-bar { transition: none; } }

/* Dokunma geri bildirimi: bağlantı olan satır ve kartlar basılınca hafifçe çöker */
@media (hover: none) {
    a.kart-yer, a.ar, a.fd, .kisa-k, .bilet, .hat-kart { transition: transform var(--hiz) var(--egri), background-color var(--hiz); }
    a.kart-yer:active, a.ar:active, .kisa-k:active, .bilet:active { transform: scale(.985); }
    a.ar:active { background: var(--yuz2); }
}
