/* Şoför uygulaması: gece kullanımı için tek, koyu tema. Büyük dokunma alanları. */
:root {
  --bg: #121820; --panel: #1b232d; --panel-2: #222c38; --line: #2a3542;
  --fg: #ffffff; --muted: #9aa6b4; --faint: #6f7c8b;
  --yellow: #f7c600; --yellow-2: #e0a800; --yellow-rgb: 247,198,0; --acc-deep: #3a3210; --acc-bg: #f7c600; --on-acc: #121820; --acc-text: #f7c600; --green: #2ecc71; --green-d: #1d9e4f; --red: #e53935; --red-l: #ff7b6b; --blue: #8fd0ff; --amber: #f5a623;
  color-scheme: dark;
}
/* Dolmuş: mavi tema (taksi sarı). Koyu zeminde okunsun diye açık mavi; düğme yazıları koyu kalır.
   Anlam taşıyan sarılar (meşgul/dolu, panikte merkez gördü, kayıp eşya, kalkış yaklaştı) değişmez. */
:root[data-tur="dolmus"] { --yellow: #6ea8ff; --yellow-2: #1f5fd6; --yellow-rgb: 110,168,255; --acc-deep: #13284a; --acc-bg: #2563eb; --on-acc: #fff; --acc-text: #fff; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg); color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overscroll-behavior: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
#app { height: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
.muted { color: var(--muted); }

.screen {
  min-height: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 16px) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column;
}
.screen.center { align-items: center; justify-content: center; text-align: center; gap: 16px; }
.screen.center p { max-width: 34ch; line-height: 1.45; margin: 0; }

.logo { width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--acc-bg), var(--yellow-2)); color: var(--on-acc); font-size: 40px; font-weight: 900; display: grid; place-items: center; }
.logo.red { background: var(--red); color: #fff; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--yellow); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-big { width: 100%; max-width: 420px; min-height: 64px; border: 0; border-radius: 18px; background: var(--panel-2); font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.btn-yellow { background: var(--acc-bg); color: var(--on-acc); }
.btn-green { background: var(--green-d); color: #fff; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.6); color: #fff; font-size: 17px; }
.btn-big:disabled { opacity: .6; }
.btn-link { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 15px; padding: 10px; }
.btn-link.danger { color: var(--red-l); }
.icon-btn { background: none; border: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--muted); font-size: 20px; }
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Kayıt ---------- */
.reg { max-width: 420px; width: 100%; margin: auto; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.reg .logo { margin: 0 auto 4px; }
.reg h1 { font-size: 28px; }
.durak-name { margin: 0; font-size: 17px; font-weight: 700; color: var(--acc-text); }
.reg .muted { margin: 0; line-height: 1.45; font-size: 15px; }
.reg form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; text-align: left; }
/* Android tarayıcıda kayıt ekranı: Telsizim Şoför uygulaması önerisi */
.reg-app { display: flex; flex-direction: column; gap: 8px; text-align: left; background: rgba(247,198,0,.12); border: 1.5px solid #f7c600; border-radius: 14px; padding: 12px 14px; }
.reg-app b { font-size: 16px; } .reg-app span { font-size: 14px; line-height: 1.4; opacity: .9; }
.reg-app .ra-go { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; background: #f7c600; color: #121820; font-weight: 900; font-size: 17px; text-decoration: none; letter-spacing: .3px; }
.reg-app small { font-size: 12.5px; line-height: 1.45; opacity: .85; } .reg-app small a { color: inherit; font-weight: 700; }
html[data-tur=dolmus] .reg-app { background: rgba(37,99,235,.12); border-color: #2563eb; }
html[data-tur=dolmus] .reg-app .ra-go { background: #2563eb; color: #fff; }
.reg-demo { display: flex; flex-direction: column; gap: 4px; text-align: left; background: rgba(22,163,74,.12); border: 1.5px solid #16a34a; border-radius: 14px; padding: 12px 14px; }
.reg-demo b { font-size: 16px; } .reg-demo span { font-size: 14px; line-height: 1.4; } .reg-demo span[lang=en] { font-size: 13px; opacity: .8; }
.reg-demo[hidden] { display: none; }
.reg-demo-back { font-size: 14px; } .reg-demo-back a, #m-demo-back .ib-go { color: #f7c600; font-weight: 800; text-decoration: none; margin-right: 10px; }
.reg-demo-back[hidden] { display: none; }
#m-demo-back { border-color: #16a34a; background: rgba(22,163,74,.12); }
.lbl { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .5px; }
.plate { height: 84px; border-radius: 12px; background: #fff; border: 4px solid #111; display: flex; overflow: hidden; }
.plate-tr { width: 44px; flex: none; background: #1e4bb8; color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; }
.plate input, .plate b { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #111; font-size: 32px; font-weight: 800; letter-spacing: 2px; text-align: center; font-family: "DejaVu Sans Mono", Menlo, Consolas, monospace; text-transform: uppercase; -webkit-user-select: text; user-select: text; }
.plate input::placeholder { color: #c4c4c4; }
.plate.small { height: 56px; width: 260px; border-width: 3px; }
.plate.small b { display: flex; align-items: center; justify-content: center; font-size: 24px; }
.plate.small .plate-tr { width: 32px; font-size: 12px; padding-bottom: 6px; }
.name-in { height: 58px; border-radius: 12px; border: 2px solid var(--line); background: var(--panel-2); color: #fff; font-size: 20px; font-weight: 700; padding: 0 16px; outline: 0; }
.name-in:focus { border-color: var(--yellow); }
.who { margin: -4px 0 0; font-size: 17px; font-weight: 700; color: var(--fg); }
.who:empty { display: none; }
#s-passive h2 { margin: 6px 0 0; }
#s-passive .muted { max-width: 340px; line-height: 1.45; }
#s-passive .btn-big { width: 100%; max-width: 340px; }
#s-passive .note { max-width: 320px; line-height: 1.4; }
.form-err { min-height: 20px; margin: 0; color: var(--red-l); font-size: 15px; font-weight: 600; }
.note { font-size: 13px; color: var(--faint); margin: 0; }
.install:empty { display: none; }
.install { background: var(--panel); border-radius: 14px; padding: 14px; font-size: 14px; color: var(--muted); line-height: 1.45; text-align: left; }
.install b { color: var(--fg); }
.install button { margin-top: 10px; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--acc-bg); color: var(--on-acc); font-weight: 800; font-size: 16px; }

.pulse-ring { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; background: rgba(247, 198, 0, .1); box-shadow: 0 0 0 0 rgba(var(--yellow-rgb),.35); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(var(--yellow-rgb),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--yellow-rgb),0); } }

/* ---------- Ana ekran ---------- */
.main { padding-left: 0; padding-right: 0; height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; } /* çok kart açıksa (iş + tercüman + eşya) küçük ekranda kaydırılır */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px max(18px, env(safe-area-inset-left, 0px)) 12px; border-bottom: 1px solid var(--line); }
.top-l { min-width: 0; }
.durak { font-size: 19px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me { font-size: 13px; color: var(--muted); margin-top: 2px; font-family: "DejaVu Sans Mono", Menlo, monospace; }
.top-r { display: flex; align-items: center; gap: 6px; flex: none; }
.net { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--amber); }
.net i { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.net.ok { color: #7ee2a0; } .net.ok i { background: var(--green); }
.net.off { color: var(--red-l); } .net.off i { background: var(--red); }
.gps { font-size: 11px; font-weight: 800; padding: 3px 6px; border-radius: 6px; color: var(--faint); border: 1px solid var(--line); }
.gps.ok { color: #7ee2a0; border-color: #2c5a3f; }
.gps.weak { color: var(--amber); border-color: #5a4a2c; }
.gps.off { color: var(--red-l); border-color: #5a2c2c; }

.info { margin: 14px max(18px, env(safe-area-inset-left, 0px)) 0; min-height: 60px; border-radius: 16px; background: var(--panel); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; font-size: 17px; color: var(--muted); text-align: center; }
.info.talk { background: #3a1416; color: #ff9a9a; font-weight: 800; }
.info.listen { background: #10314a; color: var(--blue); font-weight: 800; }
.info.private { background: #2d2350; color: #c9b8ff; font-weight: 800; }
.info.warn { background: #3a2f12; color: #ffd36b; font-weight: 700; font-size: 15px; }
.wave { display: inline-flex; gap: 3px; align-items: center; height: 22px; }
.wave i { width: 4px; border-radius: 2px; background: currentColor; animation: wv .6s ease-in-out infinite alternate; }
.wave i:nth-child(2) { animation-delay: .15s; } .wave i:nth-child(3) { animation-delay: .3s; } .wave i:nth-child(4) { animation-delay: .1s; }
@keyframes wv { from { height: 5px; } to { height: 22px; } }

.mid { flex: 1; min-height: 170px; container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 10px 0; }
.ptt {
  /* kalan alana göre küçülür (üstteki kartların üstüne binmez), en az 120 px */
  width: max(120px, min(68vw, 290px, 42vh, 100cqh - 64px)); height: max(120px, min(68vw, 290px, 42vh, 100cqh - 64px)); border-radius: 50%; border: 0; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
  touch-action: none; transition: transform .08s, background .15s, box-shadow .15s;
  container-type: size; /* içindeki simge ve yazı düğmenin boyuna göre küçülür (kalabalık ekranda çemberden taşmaz) */
}
.ptt .mic { width: clamp(22px, 18cqw, 44px); height: clamp(22px, 18cqw, 44px); fill: currentColor; margin-bottom: min(6px, 2.4cqw); flex: none; }
.ptt .t1 { font-size: clamp(13px, min(8vw, 17.5cqw, 115cqw / var(--n, 5)), 36px); font-weight: 900; line-height: 1.05; letter-spacing: .5px; }
.ptt .t2 { font-size: clamp(10px, 5.6cqw, 14px); font-weight: 600; opacity: .85; margin-top: min(6px, 2.4cqw); min-height: min(18px, 7cqw); padding: 0 min(20px, 8cqw); }
.ptt .level { position: absolute; inset: -6px; border-radius: 50%; border: 6px solid rgba(255,255,255,.0); pointer-events: none; transition: border-color .08s; }
.ptt.ready { background: radial-gradient(circle at 50% 40%, #34d673, #1d9e4f); box-shadow: 0 0 0 14px rgba(46,204,113,.13), 0 0 0 30px rgba(46,204,113,.06); }
.ptt.wait { background: radial-gradient(circle at 50% 40%, #f7b733, #c98a10); box-shadow: 0 0 0 14px rgba(247,183,51,.15); }
.ptt.talking { background: radial-gradient(circle at 50% 40%, #ff5a5a, #c62828); box-shadow: 0 0 0 14px rgba(255,80,80,.25), 0 0 0 32px rgba(255,80,80,.12), 0 0 0 52px rgba(255,80,80,.05); transform: scale(1.03); }
.ptt.busy { background: #26303c; color: #6f7c8b; box-shadow: 0 0 0 14px rgba(80,100,120,.10); }
.ptt.private { background: radial-gradient(circle at 50% 40%, #8d6bff, #5a3fd1); box-shadow: 0 0 0 14px rgba(141,107,255,.18); }
.ptt.off { background: #26303c; color: #6f7c8b; }
.timer { font-size: 16px; font-weight: 700; color: #ffb3b3; min-height: 20px; font-variant-numeric: tabular-nums; }

.states { display: flex; justify-content: center; gap: 10px; padding: 0 18px 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--panel); border-radius: 14px; padding: 4px; }
.seg button { border: 0; background: transparent; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 800; font-size: 15px; color: var(--muted); }
.seg button.on { background: var(--panel-2); color: #fff; }
.seg button.on.g { background: #1f5a37; color: #a8f0c4; }
.seg button.on.r { background: #5a1f1f; color: #ffb3b3; }
.seg button.on.a { background: #5a4a1f; color: #ffe08a; }

.bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 max(18px, env(safe-area-inset-left, 0px)) 6px; }
.online { font-size: 15px; color: var(--muted); background: none; border: 0; padding: 8px 0; text-align: left; }
.online .mo-go { color: var(--acc-text); font-weight: 800; margin-left: 4px; white-space: nowrap; }
.online b { color: #fff; }
.panic { position: relative; background: #2a1a1a; border: 2px solid var(--red); color: var(--red-l); font-weight: 900; font-size: 15px; min-height: 52px; padding: 0 18px; border-radius: 14px; touch-action: none; overflow: hidden; }
.panic .ring { position: absolute; left: 8px; top: 50%; width: 0; height: 0; }
.panic::before { content: ""; position: absolute; inset: 0; background: rgba(229,57,53,.45); transform-origin: left; transform: scaleX(var(--p, 0)); }
.panic span { position: relative; }

/* ---------- İş / Beni Al kartı ---------- */
.job { margin: 12px max(18px, env(safe-area-inset-left, 0px)) 0; border-radius: 18px; background: var(--acc-bg); color: var(--on-acc); padding: 14px 16px; display: flex; gap: 14px; align-items: center; }
.job .arrow { width: 54px; height: 54px; flex: none; border-radius: 50%; background: #121820; color: var(--yellow); display: grid; place-items: center; font-size: 28px; font-weight: 900; transition: transform .3s; }
.job .jt { flex: 1; min-width: 0; }
.job .jt b { display: block; font-size: 20px; font-weight: 900; }
.job .jt span { display: block; font-size: 14px; font-weight: 600; opacity: .8; margin-top: 2px; }
.job button { flex: none; border: 0; border-radius: 12px; min-height: 48px; padding: 0 14px; font-weight: 900; font-size: 15px; background: #121820; color: var(--yellow); }
.job button.x { background: rgba(0,0,0,.12); color: var(--on-acc); min-width: 44px; padding: 0; }

/* ---------- Katmanlar ---------- */
.overlay { position: fixed; inset: 0; z-index: 30; background: rgba(10, 14, 19, .94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.overlay.red { background: rgba(140, 20, 20, .96); }
.ov-card { max-width: 420px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ov-card p { margin: 0; line-height: 1.45; }
.big-ico { font-size: 64px; }
.ack { font-weight: 800; color: #ffe08a; min-height: 22px; }

.alert-bar { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 45; background: #c62828; color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.alert-bar div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.alert-bar b { font-size: 17px; }
.alert-bar button { background: rgba(0,0,0,.2); border: 0; width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }

.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: var(--panel); border-radius: 22px 22px 0 0; padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 16px); -webkit-user-select: none; }
.sheet-head { position: sticky; top: 0; background: var(--panel); display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.set-body { padding: 8px 18px; display: flex; flex-direction: column; gap: 6px; }
.set-body h3 { font-size: 13px; letter-spacing: .6px; color: var(--muted); margin: 14px 0 4px; text-transform: uppercase; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-row label { font-weight: 700; }
.set-row input[type=range] { width: 55%; accent-color: var(--yellow); }
.set-row.toggle b { display: block; font-size: 16px; }
.set-row.toggle small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.set-row small b { display: inline !important; font-size: inherit !important; color: var(--fg); }
.set-row small.mk-last { margin-top: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--fg); font-variant-numeric: tabular-nums; }
.set-row input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 32px; border-radius: 16px; background: var(--panel-2); position: relative; border: 1px solid var(--line); transition: background .15s; }
.set-row input[type=checkbox]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #9aa6b4; transition: transform .15s, background .15s; }
.set-row input[type=checkbox]:checked { background: var(--green-d); }
.set-row input[type=checkbox]:checked::after { transform: translateX(20px); background: #fff; }
.snd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.snd > b { display: block; font-size: 15px; margin-bottom: 8px; }
.snd .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.snd .opts button { border: 1px solid var(--line); background: var(--panel-2); border-radius: 12px; min-height: 42px; padding: 0 14px; font-weight: 700; font-size: 14px; color: var(--muted); }
.snd .opts button.on { border-color: var(--yellow); color: var(--acc-text); }
.snd .fixed { font-size: 13px; color: var(--faint); }
.ver { text-align: center; color: var(--faint); font-size: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Telefon alanı ve arama düğmesi */
.set-row.phone b { display: block; font-size: 16px; }
.set-row.phone small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.phone-row { display: flex; gap: 8px; margin-top: 10px; }
.phone-row input { flex: 1; min-width: 0; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: #fff; font-size: 17px; padding: 0 12px; -webkit-user-select: text; user-select: text; }
.phone-row button { border: 0; border-radius: 12px; min-height: 46px; padding: 0 16px; background: var(--acc-bg); color: var(--on-acc); font-weight: 800; }
#set-phone-msg.ok { color: #7ee2a0; } #set-phone-msg.err { color: var(--red-l); }
.job a.call { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; min-height: 48px; padding: 0 14px; font-weight: 900; font-size: 15px; background: #1d9e4f; color: #fff; text-decoration: none; }

/* ---------- Özel grup ---------- */
.info.group { background: #0f3a33; color: #7fe0c8; font-weight: 800; }
.grp { margin: 10px max(18px, env(safe-area-inset-left, 0px)) 0; border-radius: 16px; background: #10302b; border: 1px solid #1f5a50; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.grp .gh { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; color: #7fe0c8; letter-spacing: .3px; }
.grp .gh div { display: flex; gap: 6px; }
.grp .gh > span { flex: 1; min-width: 0; }
.grp .gh button { border: 0; border-radius: 10px; min-height: 34px; padding: 0 12px; font-weight: 800; font-size: 13px; background: #1f5a50; color: #d8fff4; white-space: nowrap; }
.grp .gh button.out { background: transparent; border: 1px solid #3c7d71; }
.grp .mem { display: flex; flex-wrap: wrap; gap: 6px; }
.grp .mem span { font-family: "DejaVu Sans Mono", Menlo, monospace; font-size: 13px; font-weight: 800; background: #fff; color: #111; border-radius: 6px; padding: 3px 7px; display: inline-flex; align-items: center; gap: 5px; }
.grp .mem span.off { opacity: .5; }
.grp .mem span.me { outline: 2px solid #7fe0c8; }
.grp .mem span.mk { background: var(--yellow); }
.grp .mem span.talk { background: #ff5a5a; color: #fff; }
.chtabs { display: flex; background: var(--panel); border-radius: 14px; padding: 4px; gap: 4px; }
.chtabs button { border: 0; background: transparent; min-height: 42px; padding: 0 20px; border-radius: 10px; font-weight: 900; font-size: 14px; color: var(--muted); }
.chtabs button.on { background: var(--panel-2); color: #fff; }
.chtabs button.on[data-ch="grup"] { background: #1f5a50; color: #d8fff4; }
.chtabs button .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; margin-left: 6px; vertical-align: middle; }
.ptt.group { background: radial-gradient(circle at 50% 40%, #2fd3b0, #11866f); box-shadow: 0 0 0 14px rgba(47,211,176,.14), 0 0 0 30px rgba(47,211,176,.06); }
.ptt.group-talk { background: radial-gradient(circle at 50% 40%, #ff5a5a, #c62828); box-shadow: 0 0 0 14px rgba(47,211,176,.35), 0 0 0 32px rgba(47,211,176,.14); transform: scale(1.03); }
.grp-btn { border: 1px solid #1f5a50; background: #10302b; color: #7fe0c8; border-radius: 14px; min-height: 52px; padding: 0 16px; font-weight: 800; font-size: 15px; }
.ro-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.ro-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); cursor: pointer; }
.ro-item input { width: 22px; height: 22px; accent-color: #2fd3b0; flex: none; }
.ro-item b { font-family: "DejaVu Sans Mono", Menlo, monospace; font-size: 16px; }
.ro-item small { margin-left: auto; color: var(--muted); font-size: 12px; }
.ro-item.dis { opacity: .45; cursor: default; }

/* ---------- Ana ekrana ekle şeridi ---------- */
.install-bar { margin: 12px max(18px, env(safe-area-inset-left, 0px)) 0; background: rgba(var(--yellow-rgb),.12); border: 1px solid rgba(var(--yellow-rgb),.35); border-radius: 12px; padding: 6px 6px 6px 12px; }
.install-bar .ib-row { display: flex; align-items: center; gap: 8px; }
.install-bar .ib-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--acc-text); }
.install-bar a.ib-go { display: inline-flex; align-items: center; text-decoration: none; margin-left: 6px; }
.install-bar .ib-go { border: 0; border-radius: 9px; background: var(--acc-bg); color: var(--on-acc); font-weight: 800; font-size: 13px; padding: 8px 12px; }
.install-bar .ib-x { border: 0; background: transparent; color: var(--muted); font-size: 16px; width: 34px; height: 34px; border-radius: 9px; }
.install-bar .ib-steps { font-size: 14px; line-height: 1.45; color: var(--fg); padding: 8px 6px 6px 0; }
.install-bar .ib-steps b { color: var(--acc-text); }

/* ---------- Vardiya ---------- */
.me-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 2px 0 0; color: inherit; max-width: 100%; }
.me-btn .me { margin-top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chip-sm { flex: none; font-size: 11.5px; font-weight: 800; color: var(--acc-text); border: 1px solid rgba(var(--yellow-rgb),.45); border-radius: 999px; padding: 3px 8px; }
.steps { margin: 12px 0 16px; padding-left: 22px; color: var(--fg); line-height: 1.5; font-size: 15px; }
.steps li { margin-bottom: 8px; }
#shift .btn-big { width: 100%; }

/* ---------- Şoför haritası ---------- */
.mapv { position: fixed; inset: 0; z-index: 30; background: var(--bg); }
.dmap { position: absolute; inset: 0; }
.mapv-top { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 10px; right: 10px; z-index: 500; display: flex; align-items: center; justify-content: space-between; gap: 8px; pointer-events: none; }
.mapv-top > * { pointer-events: auto; }
.mapv-btn { border: 0; border-radius: 12px; background: rgba(18,24,32,.92); color: #fff; font-weight: 800; font-size: 15px; min-height: 44px; padding: 0 14px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
/* Araç sayısı: düğme değil, küçük bilgi etiketi (düğmelerden ayrı görünsün) */
.mapv-count { background: rgba(18,24,32,.62); color: #fff; border-radius: 6px; padding: 4px 8px; font-weight: 600; font-size: 13px; line-height: 1.2; }
.mapv-count:empty { display: none; }
.ptt-mini { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 500; width: min(78vw, 320px); height: 76px; border-radius: 40px; border: 0; color: #fff; font-size: 20px; font-weight: 900; letter-spacing: .5px; background: linear-gradient(#34d673, #1d9e4f); box-shadow: 0 8px 24px rgba(0,0,0,.35); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* Harita telif düğmesi (©, shared/harita.js) bas-konuş düğmesinin üstünde sağ köşede dursun */
#dmap .leaflet-bottom { bottom: calc(env(safe-area-inset-bottom, 0px) + 102px); }
.ptt-mini.talking { background: linear-gradient(#ff5a5a, #c62828); }
.ptt-mini.wait { background: linear-gradient(#f7b733, #c98a10); }
.ptt-mini.busy, .ptt-mini.off { background: #5b6775; }
.ptt-mini.private { background: linear-gradient(#8b74f0, #5b3fd0); }
.ptt-mini.group, .ptt-mini.group-talk { background: linear-gradient(#2fd3b0, #11866f); }
.vmk { width: max-content; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.vmk .lab { background: #fff; color: #111; font: 800 12px/1.15 "DejaVu Sans Mono", Menlo, monospace; padding: 3px 6px; border-radius: 7px; border: 2px solid #111; white-space: nowrap; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.vmk .lab small { display: block; font: 700 11px/1.2 system-ui, sans-serif; color: #444; }
.vmk .pin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; margin-top: 3px; background: #1d9e4f; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.vmk.m .pin { background: #e53935; } .vmk.a .pin { background: #e8a20c; } .vmk.x .pin { background: #9aa4b0; }
.vmk.t .pin { background: #2563eb; box-shadow: 0 0 0 7px rgba(37,99,235,.3); } .vmk.t .lab { background: #2563eb; color: #fff; border-color: #2563eb; } .vmk.t .lab small { color: #e0e9ff; }
.mek { width: 20px; height: 20px; border-radius: 50%; background: #3b82f6; border: 3px solid #fff; box-shadow: 0 0 0 7px rgba(59,130,246,.3); transform: translate(-50%, -50%); }
.dkm { transform: translate(-50%, -50%); background: var(--acc-bg); color: var(--on-acc); font-weight: 900; font-size: 12px; padding: 4px 8px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
#set-nav { display: flex; gap: 8px; flex-wrap: wrap; }
#set-nav button { border: 1px solid var(--line); background: var(--panel-2); border-radius: 12px; min-height: 42px; padding: 0 14px; font-weight: 700; font-size: 14px; color: var(--muted); }
#set-nav button.on { border-color: var(--yellow); color: var(--acc-text); }
.job a.call.nav { background: #2563eb; }

/* ---------- Eşya ---------- */
.lostc { margin: 12px max(18px, env(safe-area-inset-left, 0px)) 0; border-radius: 18px; background: #fff4d6; color: #121820; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; border: 2px solid #f7c600; }
.lostc .lt b { display: block; font-size: 17px; font-weight: 900; }
.lostc .lt span { display: block; font-size: 15px; font-weight: 600; margin-top: 4px; }
.lostc .la { display: flex; gap: 10px; }
.lostc .la button { flex: 1; border: 0; border-radius: 12px; min-height: 52px; font-weight: 900; font-size: 17px; background: #1d9e4f; color: #fff; }
.lostc .la button.no { background: #121820; color: #fff; }
.lost-found { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.lost-found b { font-size: 16px; }
.lost-found small { color: var(--muted); }
#lf-msg.ok { color: var(--green); } #lf-msg.err { color: var(--red-l); }

/* ---------- Durak sırası ---------- */
.q-btn { border: 1px solid #5a4a10; background: #2a240c; color: #ffd84d; border-radius: 14px; min-height: 52px; padding: 0 16px; font-weight: 800; font-size: 15px; }
.q-btn b { font-size: 18px; }
.q-btn.wait { border-color: #3a4656; background: var(--panel-2); color: var(--muted); }
.q-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.q-list .qi { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border-radius: 12px; padding: 12px; }
.q-list .qi.me { outline: 2px solid var(--yellow); }
.q-list .qn { width: 26px; font-weight: 900; color: var(--muted); }
.q-list .dn { background: var(--acc-bg); color: var(--on-acc); border-radius: 6px; padding: 1px 6px; font-weight: 900; font-size: 13px; }
.q-list b { font-family: "DejaVu Sans Mono", Menlo, monospace; letter-spacing: 1px; }
.q-list small { color: var(--muted); margin-left: auto; }

/* ---------- Menü, yolculuklar, rehber ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.menu-grid button { border: 1px solid var(--line); background: var(--panel-2); border-radius: 14px; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 24px; }
.menu-grid button span { font-size: 13px; font-weight: 800; color: var(--fg); }
.seg2 { display: flex; background: var(--panel-2); border-radius: 12px; padding: 4px; margin-top: 10px; }
.seg2 button { flex: 1; border: 0; background: transparent; min-height: 40px; border-radius: 9px; font-weight: 800; color: var(--muted); }
.seg2 button.on { background: var(--acc-bg); color: var(--on-acc); }
.tr-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.tr-tot div { background: var(--panel-2); border-radius: 12px; padding: 10px; text-align: center; }
.tr-tot b { display: block; font-size: 22px; } .tr-tot small { color: var(--muted); }
.tr-list, .rh-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }
.tr-list .tr, .rh-list .rh { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border-radius: 12px; padding: 10px 12px; }
.tr-list .tr .t { font-weight: 800; min-width: 48px; }
.tr-list .tr .d { flex: 1; min-width: 0; color: var(--muted); font-size: 14px; }
.tr-list .tr .f { font-weight: 900; color: var(--acc-text); }
.rh-list .rh .dn { background: var(--acc-bg); color: var(--on-acc); border-radius: 6px; padding: 1px 6px; font-weight: 900; font-size: 13px; }
.rh-list .rh .n { flex: 1; min-width: 0; } .rh-list .rh .n b { font-family: "DejaVu Sans Mono", Menlo, monospace; display: block; } .rh-list .rh .n small { color: var(--muted); }
.rh-list .rh a, .rh-list .rh button.go { border: 0; border-radius: 10px; background: #1d9e4f; color: #fff; text-decoration: none; font-weight: 900; padding: 10px 12px; }
.rh-list .rh .off { color: var(--faint); font-size: 12px; }
.tripc { margin: 12px max(18px, env(safe-area-inset-left, 0px)) 0; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tripc b { font-size: 16px; } .tripc .row { display: flex; gap: 8px; }
.tripc input { flex: 1; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: #fff; font-size: 20px; font-weight: 800; padding: 0 12px; }
.tripc button { border: 0; border-radius: 12px; min-height: 48px; padding: 0 14px; font-weight: 900; background: var(--acc-bg); color: var(--on-acc); }
.tripc button.ghost { background: var(--panel-2); color: var(--muted); }
.share { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.35; }
.share input { width: 20px; height: 20px; flex: none; accent-color: var(--yellow); }

/* ---------- Tekrar dinle ---------- */
.info { position: relative; }
.replay-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--yellow); font-size: 24px; font-weight: 900; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.replay-btn.on { background: var(--acc-bg); color: var(--on-acc); }
.info.replay { background: #2a240c; color: #ffd84d; }
.rh-list .rh.cl .n small b { color: var(--acc-text); }
.rh-list .rh.cl.mine { opacity: .7; }
.menu-grid { grid-template-columns: repeat(2, 1fr); }
.info.has-rp { padding-left: 62px; padding-right: 62px; }

/* Dolmuş seferleri */
.sf-chip.soon { border-color: #b8860b; background: #4a3a05; color: #fff; animation: sfpulse 1.2s ease-in-out infinite; }
@keyframes sfpulse { 50% { box-shadow: 0 0 0 4px rgba(247, 198, 0, .35); } }
@media (prefers-reduced-motion: reduce) { .sf-chip.soon { animation: none; } }
.tr-list .tr.sf.next { outline: 2px solid var(--yellow); border-radius: 12px; }
.tr-list .tr.sf.cancelled .t, .tr-list .tr.sf.cancelled .d { text-decoration: line-through; opacity: .6; }
.sf-tick { min-width: 52px; min-height: 44px; border-radius: 12px; border: 1px solid #1f5a50; background: #10302b; color: #7fe0c8; font-size: 20px; font-weight: 900; }
.sf-tick:disabled { opacity: .5; }
.sf-st { font-weight: 900; }
.sf-st.ok { color: #2ecc71; } .sf-st.miss { color: #ff6b5e; } .sf-st.cx { color: var(--muted); }
.sf-st small { font-weight: 600; color: var(--muted); }

/* Dolmuş canlı sefer: sayaç, öndeki/arkadaki araç */
.sflive { margin: 12px max(18px, env(safe-area-inset-left, 0px)) 0; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.sfl-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sfl-top .hd { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.sfl-top .k { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: #7fe0c8; }
.sfl-top .n { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfl-top .n b { color: #fff; font-size: 16px; }
.sfl-top .tmw { display: flex; flex-direction: column; align-items: flex-end; }
.sfl-top .tm { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; color: #fff; }
.sfl-top .avg { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sfl-nb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sfl-nb .nb { display: flex; gap: 6px; align-items: center; background: var(--panel-2); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.sfl-nb .nb i { font-style: normal; font-size: 14px; color: var(--yellow); }
.sfl-nb .nb.r i { color: #7fb8ff; }
.sfl-nb .nb > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sfl-nb .nb .pl { align-self: flex-start; max-width: 100%; font-size: clamp(12px, 3.7vw, 15px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfl-nb .nb .r2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-top: 3px; }
.sfl-nb .nb .gp { font-size: 18px; line-height: 1.15; font-variant-numeric: tabular-nums; color: #fff; }
.sfl-nb .nb small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.sfl-nb .nb.none span { color: var(--muted); font-size: 13px; }
/* sayaç görünürken bas-konuş düğmesi biraz küçülür */
#s-main.has-sfl .ptt { width: max(120px, min(60vw, 250px, 34vh, 100cqh - 64px)); height: max(120px, min(60vw, 250px, 34vh, 100cqh - 64px)); }
.mid:has(.chtabs:not([hidden])) .ptt { width: max(120px, min(68vw, 290px, 42vh, 100cqh - 120px)); height: max(120px, min(68vw, 290px, 42vh, 100cqh - 120px)); }
#s-main.has-sfl .mid { gap: 10px; }

/* Altı eşit düğme (2 sıra × 3) */
.tiles6 { display: flex; flex-direction: column; gap: 8px; padding: 0 max(18px, env(safe-area-inset-left, 0px)) 10px; }
.trow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { min-height: 60px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: #e8edf2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 4px; font: inherit; min-width: 0; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.tile .ic { font-size: 20px; line-height: 1; }
.tile small { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tile:active { transform: scale(.97); }
.tile.st { color: var(--muted); }
.tile.st.on.g { background: #1f5a37; border-color: #2e7d4f; color: #a8f0c4; }
.tile.st.on.r { background: #5a1f1f; border-color: #8a2e2e; color: #ffb3b3; }
.tile.st.on.a { background: #5a4a1f; border-color: #8a6e2e; color: #ffe08a; }
.tile.grp-tile { background: #10302b; border-color: #1f5a50; color: #7fe0c8; }
.tile.grp-tile.on { background: #164a40; }
.plate-tile .pl { font-family: "DejaVu Sans Mono", Menlo, monospace; font-size: 15px; letter-spacing: .5px; border: 2px solid #e8edf2; border-radius: 6px; padding: 1px 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.plate-tile small { color: var(--acc-text); font-size: 12px; }
.top-l .online { padding: 2px 0 0; font-size: 13.5px; display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-l .online .dot { width: 8px; height: 8px; border-radius: 50%; background: #5b6775; display: inline-block; vertical-align: 1px; margin-right: 6px; }
.top-l .online .dot.g { background: #2ecc71; }
.bottom .ctx { flex: 1; min-width: 0; display: flex; }
.bottom .ctx:empty + .panic[hidden] { display: none; }
.bottom .ctx .q-btn { width: 100%; min-height: 46px; }
.bottom:has(.ctx:empty):has(.panic[hidden]) { display: none; }
.plate-tile .pl { font-size: 13px; letter-spacing: 0; padding: 1px 4px; }
@media (min-width: 400px) { .plate-tile .pl { font-size: 14px; } }

/* Simgeler ve Türk plakası */
.ico { width: 24px; height: 24px; display: block; }
.ico-i { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 2px; }
.ico-s { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.tile .ic { display: flex; align-items: center; justify-content: center; height: 24px; }
.plate-tile { gap: 5px; padding: 6px; }
.plate-tile .pl { border: 0; padding: 0; width: 100%; display: flex; justify-content: center; }
.trp { width: 100%; max-width: 128px; height: auto; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)); }
.plate-tile small { color: var(--acc-text); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.menu-grid button .ic { display: flex; justify-content: center; margin-bottom: 4px; color: var(--yellow); }
.menu-grid button .ic .ico { width: 26px; height: 26px; }
#lf-title { display: flex; align-items: center; gap: 8px; } #lf-title .ic { color: var(--yellow); display: flex; }
#sh-text { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh-plate .trp { width: 170px; max-width: 170px; }
.install-bar .ib-t .ico-i { margin-right: 4px; }
/* Üstte menü düğmesi */
#m-menu { color: var(--yellow); border: 1px solid rgba(var(--yellow-rgb),.4); width: 40px; height: 40px; }
#m-menu svg { width: 22px; height: 22px; fill: none; }
@media (max-width: 390px) { .top-r .net span { display: none; } .top-r { gap: 4px; } }
.q-leave { margin-top: 14px; background: #2a1a1a; border: 1px solid var(--red); color: #ffb3b3; }

/* Gizli panik geri bildirimi: plaka düğmesinin zemini */
.plate-tile.pn-sent { background: #1f6b3d; border-color: #2ecc71; }
.plate-tile.pn-sent small { color: #c8f7da; }
.plate-tile.pn-ack { background: #8a6d00; border-color: #f7c600; } /* panik: merkez gördü = her temada sarı */
.plate-tile.pn-ack small { color: #fff3c4; }

/* Dolmuş: sıradan çık / sıraya gir */
.off-grid, .join-dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.off-grid button, .join-dirs button { min-height: 84px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel-2); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: inherit; padding: 8px; }
.off-grid button .ic { color: var(--yellow); display: flex; } .off-grid .ico, .join-dirs .ico { width: 28px; height: 28px; }
.off-grid b, .join-dirs b { font-size: 16px; }
.join-dirs .ico { color: #7fe0c8; } .join-dirs small { color: var(--muted); font-size: 12px; }
.join-dirs button.on { border-color: var(--yellow); background: var(--acc-deep); }

/* Dolmuş teması: sıra/kalkış düğmesi ve bilgi şeritleri mavi (kalkışa az kaldı uyarısı turuncu kalır) */
:root[data-tur="dolmus"] .q-btn:not(.wait):not(.soon) { border-color: #3a74d6; background: #12305e; color: #fff; }
:root[data-tur="dolmus"] .info.warn, :root[data-tur="dolmus"] .info.replay { background: #163a73; color: #fff; }

/* Dolmuş: mavi iş kartında koyu daire ve düğmeler beyaz yazılı/açık mavi kalır */
:root[data-tur="dolmus"] .job .arrow, :root[data-tur="dolmus"] .job button:not(.x) { background: #0f1f3a; color: #fff; }

/* Türk plakası (listeler, harita, öndeki/arkadaki araç): beyaz zemin, siyah çerçeve, solda mavi TR bandı */
.tp { display: inline-flex !important; align-items: stretch; vertical-align: middle; max-width: 100%; background: #fff; color: #111 !important; border: 1.5px solid #1a1a1a; border-radius: 4px; overflow: hidden; white-space: nowrap; font-family: "DIN Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif !important; font-weight: 800; font-size: 14px; letter-spacing: .03em; line-height: 1.15; padding: 2px 6px 1px 0; }
.tp::before { content: "TR"; flex: none; display: flex; align-items: flex-end; justify-content: center; width: 12px; margin: -2px 5px -1px 0; padding-bottom: 2px; background: #0a3d9e; color: #fff; font: 700 6px/1 Arial, sans-serif; letter-spacing: 0; }
.sfl-nb .nb .pl.tp { font-size: clamp(11.5px, 3.5vw, 14px); }
.vmk .lab { background: transparent; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vmk .lab .tp { box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.vmk .lab small { background: rgba(18,24,32,.85); color: #fff; border-radius: 6px; padding: 1px 6px; }
.vmk.t .lab { background: transparent; } .vmk.t .lab .tp { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.45); }
.vmk .lab .tp { font-size: 12px; }
.vmk .lab small { font-size: 10px; }
/* Etiketi başka etikete / durak tabelasına binen araç: küçük plaka (ad gizli, title'da), gerekirse boş bir yere kayar (sofor.js declutter) */
.vmk.kucuk .lab small { display: none; }
.vmk.kucuk .lab .tp { font-size: 10px; padding: 1px 4px 0 0; }
.vmk.kucuk .lab .tp::before { width: 9px; margin-right: 3px; font-size: 5px; }
.vmk.kucuk .pin { width: 13px; height: 13px; border-width: 2px; }

/* Plaka kutuları: harfler yazarken büyük görünür (değer de büyütülür) */
[data-plaka] { text-transform: uppercase; }
[data-plaka]::placeholder { text-transform: none; }

/* Sesli kalkış uyarısı: ses seçimi */
.voice-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.voice-row select.wide { flex: 1 1 100%; width: 100%; }
.voice-row select { min-height: 40px; max-width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--fg); padding: 0 10px; font: inherit; font-size: 14px; }

/* iPhone: yazısı 16 px'ten küçük kutuya dokununca Safari sayfayı yakınlaştırıp yana kaydırıyor.
   Dokunmatik ve dar ekranlarda bütün yazı kutuları 16 px (yakınlaştırma ve kayma olmaz). */
@media (max-width: 900px), (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea { font-size: 16px !important; }
}

/* Plaka düğmesi: plaka düğmeye sığacak kadar küçülür (iki yandan kesilmez), şoför adı en çok iki satır */
.plate-tile .pl { display: block; overflow: visible; }
.plate-tile .trp { margin: 0 auto; min-width: 0; max-width: min(128px, 100%); }
.plate-tile small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow: hidden; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }

/* İş kartı (telefon): adres kartın tüm genişliğini kullanır, düğmeler altta tam satır */
@media (max-width: 560px) {
  .job { flex-wrap: wrap; gap: 10px 12px; }
  .job .jt { flex: 1 1 calc(100% - 70px); }
  .job .jt span { overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .job button, .job a.call { flex: 1 1 auto; }
  .job button.x { flex: 0 0 52px; }
}

/* Sürüş ekranı: siyah zemin (OLED ekranda az pil), sade bilgi, ortada bas-konuş */
.drive { position: fixed; inset: 0; z-index: 28; background: #000; color: #8d98a6; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 22px calc(env(safe-area-inset-bottom, 0px) + 18px); -webkit-user-select: none; user-select: none; }
.drive .dv-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.drive .dv-plate .tp { font-size: 13px; opacity: .8; }
.drive .dv-clock { font-weight: 700; font-variant-numeric: tabular-nums; }
.drive .dv-info { margin-top: 6vh; min-height: 2.6em; text-align: center; font-size: clamp(20px, 6vw, 26px); font-weight: 800; color: #c3ccd6; line-height: 1.3; }
.drive .dv-info.talk { color: #ff7b6b; } .drive .dv-info.listen { color: #2ecc71; } .drive .dv-info.private { color: #8fd0ff; } .drive .dv-info.warn { color: #f5a623; }
.drive .dv-sub { text-align: center; font-size: 17px; font-weight: 700; color: #7d8a99; min-height: 1.4em; }
.drive .dv-ptt { width: min(64vw, 270px); aspect-ratio: 1; border-radius: 50%; border: 3px solid #1d3b2a; background: #07130c; color: #2ecc71; font-size: 24px; font-weight: 900; letter-spacing: .5px;
  touch-action: none; -webkit-touch-callout: none; }
.drive .dv-ptt.talking, .drive .dv-ptt.group-talk { border-color: #e53935; background: #2a0b09; color: #ff7b6b; }
.drive .dv-ptt.private { border-color: #2563eb; background: #08152b; color: #8fd0ff; }
.drive .dv-ptt.busy, .drive .dv-ptt.off, .drive .dv-ptt.wait { border-color: #2a3542; background: #0b0f14; color: #6f7c8b; }
.drive .dv-exit { border: 1px solid #2a3542; background: transparent; color: #9aa6b4; border-radius: 999px; padding: 12px 26px; font-size: 16px; font-weight: 700; }
.drive .dv-plate.pn-sent .tp { outline: 2px solid #2ecc71; outline-offset: 2px; }
.drive .dv-plate.pn-ack .tp { outline: 2px solid #f7c600; outline-offset: 2px; }

/* Tercüman */
.tqreq { margin: 0 16px 10px; display: flex; align-items: center; gap: 10px; background: #12305e; border: 2px solid #6ea8ff; border-radius: 16px; padding: 12px 14px; color: #fff; }
.tqreq .tq-c { flex: 1; min-width: 0; }
.tqreq .tq-c b { display: block; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.tqreq .tq-c small { display: block; color: #c9dcff; font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.tqreq .tq-ca { display: flex; gap: 8px; flex: none; }
.tqreq .tq-ca button { min-height: 46px; border: 0; border-radius: 12px; padding: 0 16px; font-weight: 900; font-size: 15px; }
.tqreq .tq-ca .ok { background: #fff; color: #12305e; }
.tqreq .tq-ca .x { background: transparent; border: 1px solid #6ea8ff; color: #fff; width: 46px; padding: 0; }
.tq-sheet { max-height: 96vh; display: flex; flex-direction: column; }
.tq-body { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
#tq-qr-view { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; overflow-y: auto; padding-bottom: 6px; }
.tq-lead { margin: 4px 0 0; line-height: 1.45; font-size: 15px; }
.tq-qr { width: min(70vw, 280px); aspect-ratio: 1; background: #fff; border-radius: 16px; padding: 12px; }
.tq-qr svg { width: 100%; height: 100%; display: block; }
.tq-url { margin: 0; color: var(--muted); font-size: 13px; word-break: break-all; }
.tq-langs-note { margin: 0; font-size: 13px; }
#tq-chat-view { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1; }
.tq-langs { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; }
.tq-lang-l { color: var(--muted); font-size: 14px; flex: none; }
.tq-lang-a { font-size: 16px; }
#tq-lang { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--panel-2); color: var(--fg); border-radius: 12px; padding: 9px 10px; font-size: 16px; }
.tq-msgs { flex: 1; min-height: 120px; max-height: 42vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.tq-empty { font-size: 14px; line-height: 1.45; margin: 4px 0; }
.tqm { position: relative; border-radius: 14px; padding: 10px 44px 10px 12px; line-height: 1.35; }
.tqm b { display: block; font-size: 19px; overflow-wrap: anywhere; }
.tqm small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; overflow-wrap: anywhere; }
.tqm.p { background: #12305e; border: 1px solid #2c5aa0; }
.tqm.d { background: var(--panel-2); border: 1px solid var(--line); }
.tqm .tq-say { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: 16px; }
.tqm .tq-nav { margin-top: 8px; border: 0; border-radius: 10px; background: #2ecc71; color: #08210f; font-weight: 800; padding: 8px 12px; font-size: 14px; text-align: start; }
.tq-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: none; }
.tq-btns .tq-talk:only-child, .tq-btns .tq-talk[hidden] + .tq-talk { grid-column: 1 / -1; }
.tq-talk { min-height: 84px; border: 0; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tq-talk b { font-size: 18px; font-weight: 900; }
.tq-talk small { font-size: 12px; opacity: .8; text-align: center; }
.tq-talk.p { background: #2563eb; color: #fff; }
.tq-talk.d { background: var(--green); color: #07210f; }
.tq-talk.rec { background: #e53935 !important; color: #fff !important; }
.tq-talk.busy { background: #3a4552 !important; color: #c3ccd6 !important; }
.tq-type { display: flex; gap: 8px; flex: none; }
.tq-type input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg); color: var(--fg); font-size: 16px; }
.tq-type button { width: 52px; border: 0; border-radius: 12px; background: var(--acc-bg); color: var(--on-acc); font-size: 20px; font-weight: 900; }
.tq-end { align-self: center; }

/* Panik ortam sesi */
.alert-bar .ap-audio { width: auto; min-width: 40px; padding: 0 12px; font-weight: 800; font-size: 15px; color: #fff; background: rgba(0,0,0,.28); white-space: nowrap; }
.alert-bar .ap-audio.on { background: #fff; color: #c62828; }
.pn-rec { margin: 0; font-weight: 700; font-size: 15px; background: rgba(0,0,0,.2); border-radius: 12px; padding: 8px 12px; }

/* Kulaklık yönergesi */
.set-guide { margin: 2px 0 8px; padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); }
.set-guide summary { font-weight: 700; color: var(--fg); cursor: pointer; }
.set-guide ul { margin: 8px 0 2px; padding-left: 18px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.set-guide li b { color: var(--fg); }

/* Son mesajlar: konuşmanın yazısı */
.cl .cl-t { display: block; font-style: normal; color: #e8edf2; font-size: 15px; line-height: 1.4; margin-top: 4px; overflow-wrap: anywhere; }
.set-row small.mk-last.warn { color: #fbbf24; font-weight: 700; }
/* Haritada durak tabelası: direğin dibi konumda */
.dk-tab { position: absolute; left: 0; top: 0; transform: translate(calc(var(--tw) / -2), calc(var(--th) * -1)); display: flex; align-items: flex-start; gap: 4px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.dk-tab .tabela { flex: none; display: block; }
.dk-tab span { margin-top: 5px; background: rgba(18, 24, 32, .88); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 7px; border-radius: 7px; white-space: nowrap; }
/* Sefer uyarısı (mavi): haritanın, sürüş ekranının ve açık pencerelerin üstünde; panik varsa onun altında */
.alert-bar.sefer { background: #1d4ed8; z-index: 44; }
.alert-bar.sefer.below { top: calc(env(safe-area-inset-top, 0px) + 96px); }
.alert-bar.sefer #as-text { font-size: 15px; font-weight: 700; opacity: .95; }
/* Tekrar dinle: tarih ve saat */
.rh-list .rh.cl .cl-dt { display: block; font-size: 12.5px; font-weight: 800; color: var(--yellow); letter-spacing: .2px; margin-bottom: 2px; }
.cl-more { width: 100%; margin-top: 8px; }
/* Dolmuş: sıradaki kalkış çubuğu her ekranda (ana ekranda çip olarak zaten görünür) */
.sf-bar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 43; width: min(calc(100% - 24px), 520px); min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sfbar-on .mapv-top { top: calc(env(safe-area-inset-top, 0px) + 64px); }
body.sfbar-on .drive { padding-top: calc(env(safe-area-inset-top, 0px) + 68px); }
body.sfbar-on .sheet { max-height: calc(100vh - 66px - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 66px - env(safe-area-inset-top, 0px)); }
body.sfbar-on .alert-bar.sefer { top: calc(env(safe-area-inset-top, 0px) + 62px); }
body.sfbar-on .alert-bar.sefer.below { top: calc(env(safe-area-inset-top, 0px) + 148px); }
/* Kalkış düğmesi renkleri: 10 dk kala kırmızı, 5 dk kala sarı, kalkış saatinde yeşil, kalkış yapılmadıysa kırmızı uyarı */
.sf-chip.soon.k10 { border-color: #e53935; background: #5c1515; color: #fff; animation: none; }
.sf-chip.soon.k5 { border-color: #f7c600; background: #5a4600; color: #ffe066; animation: sfpulse 1.2s ease-in-out infinite; }
.sf-chip.soon.k0 { border-color: #2ecc71; background: #13582e; color: #fff; animation: sfpulseG 1s ease-in-out infinite; }
.sf-chip.soon.late { border-color: #ff5252; background: #7a1010; color: #fff; animation: sfpulseR 1s ease-in-out infinite; }
@keyframes sfpulseG { 50% { box-shadow: 0 0 0 5px rgba(46, 204, 113, .4); } }
@keyframes sfpulseR { 50% { box-shadow: 0 0 0 5px rgba(255, 82, 82, .4); } }
@media (prefers-reduced-motion: reduce) { .sf-chip.soon.k5, .sf-chip.soon.k0, .sf-chip.soon.late { animation: none; } }
/* Panik veren araç haritada polis lambası gibi kırmızı-mavi yanıp söner */
.vmk.panic .lab .tp { animation: polisLab .7s steps(1) infinite; }
.vmk.panic .pin { width: 20px; height: 20px; animation: polisPin .7s steps(1) infinite; }
@keyframes polisLab { 0% { box-shadow: 0 0 0 3px #e53935, 0 0 16px 6px rgba(229, 57, 53, .8); } 50% { box-shadow: 0 0 0 3px #1e5bff, 0 0 16px 6px rgba(30, 91, 255, .8); } }
@keyframes polisPin { 0% { background: #e53935; box-shadow: 0 0 0 6px rgba(229, 57, 53, .45), 0 0 24px 12px rgba(229, 57, 53, .6); } 50% { background: #1e5bff; box-shadow: 0 0 0 6px rgba(30, 91, 255, .45), 0 0 24px 12px rgba(30, 91, 255, .6); } }
/* Sağlık acil durumu */

.hs-body { display: flex; flex-direction: column; gap: 12px; }
.hs-send { background: #e11d2e; color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 24px; min-height: 70px; }
.hs-send svg rect { fill: #fff; } .hs-send svg path:first-of-type { fill: #e11d2e; } .hs-send svg path:last-of-type { stroke: #fff; }
.hs-112 { background: #1d9e4f; color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 22px; min-height: 64px; }
.hs-er { background: #fff; color: #1d4ed8; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; min-height: 58px; }
.hs-ok { background: rgba(46, 204, 113, .15); border: 1px solid #2ecc71; color: #c8f7d8; border-radius: 12px; padding: 10px 12px; font-weight: 800; }
.hs-read { background: var(--panel-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hs-read b { color: var(--fg); }
.alert-bar.health { background: linear-gradient(90deg, #c4121f, #e11d2e); }
.alert-bar.health .ah-go { background: #fff; color: #c4121f; font-weight: 900; border-radius: 10px; padding: 9px 12px; text-decoration: none; white-space: nowrap; }
/* Haritada sağlık acil durumundaki araç: kırmızı-beyaz yanıp söner */
.vmk.saglik .lab .tp { animation: ambLab .6s steps(1) infinite; }
.vmk.saglik .pin { width: 20px; height: 20px; animation: ambPin .6s steps(1) infinite; }
@keyframes ambLab { 0% { box-shadow: 0 0 0 3px #e11d2e, 0 0 16px 6px rgba(225, 29, 46, .8); } 50% { box-shadow: 0 0 0 3px #fff, 0 0 16px 6px rgba(255, 255, 255, .9); } }
@keyframes ambPin { 0% { background: #e11d2e; box-shadow: 0 0 0 6px rgba(225, 29, 46, .45), 0 0 24px 12px rgba(225, 29, 46, .6); } 50% { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .5), 0 0 24px 12px rgba(255, 255, 255, .7); } }
.mapv-btn.on { background: #f7c600; color: #121820; }

/* Sağlık düğmesi her ekranda: sağ üst köşede sabit, her şeyin (harita, sürüş ekranı, pencereler, uyarı şeritleri) üstünde.
   Köşe ona ayrılır: başlık, harita düğmeleri, uyarı şeritleri ve kalkış çubuğu sağda yer bırakır. */
:root { --hf-r: max(10px, env(safe-area-inset-right, 0px)); --hf-top: calc(env(safe-area-inset-top, 0px) + 18px); --hf-room: calc(var(--hf-r) + 52px); }
.health-fab { position: fixed; top: var(--hf-top); right: var(--hf-r); z-index: 50; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 11px; background: transparent; box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 4px 14px rgba(0,0,0,.4); }
.health-fab svg { display: block; width: 44px; height: 44px; }
.health-fab:active { transform: scale(.94); }
#s-main .top { padding-right: var(--hf-room); }
.alert-bar { right: var(--hf-room); }
.mapv-top { top: var(--hf-top); right: var(--hf-room); }
.mapv-r { display: flex; align-items: center; gap: 8px; }
.drive .dv-top { padding-right: 52px; min-height: 44px; }
.sf-bar { left: 12px; right: var(--hf-room); width: auto; transform: none; flex-wrap: wrap; white-space: normal; column-gap: 6px; row-gap: 0; line-height: 1.2; text-align: center; padding-top: 5px; padding-bottom: 5px; } /* sığmazsa kesilmez, ikinci satıra iner */
@media (min-width: 640px) { .sf-bar { left: 50%; right: auto; transform: translateX(-50%); width: min(calc(100% - 150px), 520px); } }
.tq-sheet { max-height: calc(100vh - 70px - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 70px - env(safe-area-inset-top, 0px)); }
.sheet { max-height: min(88vh, calc(100dvh - 70px - env(safe-area-inset-top, 0px))); }
#hsheet { z-index: 60; } /* başka bir pencere, harita ya da uyarı açıkken de en üstte */

/* Dolmuş: müsait ama sırada değil → "Sıra al" (davet eden mavi); kalkış saatinde "Kalkışı onayla"; hat başında kalkışa geri sayım */
.tile.st.sira-al { background: #17304f; border-color: #3b6ea8; color: #bfdbfe; }
.sf-chip.go { font-size: 16px; }
.sf-chip.go b { font-size: 17px; letter-spacing: .2px; }
.sfl-top .tml { font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.sfl-top .tml:empty { display: none; }

/* Telefonda dokununca mavi katman çıkmasın: şoför ekranında (ana ekran, harita, sürüş, pencereler, şeritler) metin seçimi kapalı;
   yazı alanlarında açık. Uzun basınca "kopyala" menüsü de çıkmaz. */
body, button, .tile, .q-btn, .sf-chip, .alert-bar, .sheet, .mapv, .drive { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
.hs-vague { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #5a4a1f; color: #ffe08a; font-weight: 700; font-size: 14px; line-height: 1.35; }
/* Seferi bitir (GPS varışı kaçırırsa) ve geç varış */
.sfl-end { margin-top: 10px; width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid #3b6ea8; background: #17304f; color: #bfdbfe; font-weight: 800; font-size: 15px; }
.sfl-end small { font-weight: 600; opacity: .75; }
.sfl-end.armed { background: #5a4a1f; border-color: #8a6e2e; color: #ffe08a; }
.tr-tot.four { grid-template-columns: repeat(2, 1fr); }
.tr-tot .late b { color: #ff8a80; font-size: 18px; }
.tr.sf .lt { color: #ff8a80; }
/* Taksi: Müsait · Meşgul · Mola · Grup (dört düğme) */
.trow.four { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.trow.four .tile small { font-size: 12px; }

/* Dolmuş sıra isteği: merkez onayı beklenirken geri sayım / varınca sıraya; taksi sırasında bağlantısı kopan araç */
.sf-chip.join-chip { border-color: #b8860b; background: #3d3206; color: #ffe08a; }
.sf-chip.join-chip b { font-variant-numeric: tabular-nums; }
.sf-chip.join-chip.arrive { border-color: #3d7be0; background: #0f2a52; color: #d6e6ff; }
.q-off { color: #ff8a80; font-weight: 700; }

/* Dolmuş: sefer saatleri (bütün araçlar; kendi seferleriniz yeşil ✓, değişen satır sarı yanar) */
.sb-open { display: block; margin: 12px auto 4px; min-height: 52px; font-size: 16px; color: #fff; }
.sb-live { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; font-size: 13px; color: var(--muted); }
.sb-live .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, .25); }
.sb-live.upd { color: #ffe066; }
.sb-live.upd .dot { animation: sbpulse 1s ease-in-out 3; }
@keyframes sbpulse { 50% { box-shadow: 0 0 0 7px rgba(46, 204, 113, .12); } }
.tr-list .tr.sb .t { display: flex; flex-direction: column; font-size: 17px; line-height: 1.15; }
.tr-list .tr.sb .t small { font-size: 12px; font-weight: 600; color: var(--muted); }
.tr-list .tr.sb .d { display: flex; flex-direction: column; gap: 4px; }
.tr-list .tr.sb .d small b { color: #fff; }
.tr-list .tr.sb .d small b.lt { color: #ff8a80; }
.sb-veh { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sb-tick { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #f97316; color: #fff; font-size: 14px; font-weight: 900; line-height: 1; vertical-align: middle; }
.sb-tick.ok { background: #22c55e; }
.sb-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 4px; font-size: 13px; font-weight: 700; }
.sb-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sf-st.sb-done { font-weight: 700; color: var(--muted); white-space: nowrap; }
.sf-st.sb-done.ok { color: #2ecc71; }
.sb-door { font-weight: 800; color: var(--muted); }
.sb-none { font-size: 13px; font-weight: 800; color: #ffb74d; }
.tr-list .tr.sb.mine { background: #33210f; box-shadow: inset 4px 0 0 #f97316; }
.tr-list .tr.sb.mine.done { background: #11301f; box-shadow: inset 4px 0 0 #22c55e; }
.tr-list .tr.sb.next { outline: 2px solid var(--yellow); }
.tr-list .tr.sb.done:not(.mine) { opacity: .7; }
.tr-list .tr.sb.flash { animation: sbflash 1.2s ease-in-out 5; }
@keyframes sbflash { 50% { background: #5a4600; } }
.sf-st.sb-left { color: var(--yellow); white-space: nowrap; }
.sb-now { display: flex; align-items: center; gap: 8px; margin: 2px 0; font-size: 12px; font-weight: 800; color: #ff8a80; }
.sb-now::before, .sb-now::after { content: ""; flex: 1; height: 2px; background: #ff5252; opacity: .7; }
.sb-day { margin: 10px 0 2px; font-size: 13px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .tr-list .tr.sb.flash { animation: none; background: #5a4600; } .sb-live.upd .dot { animation: none; } }
/* Harita takip düğmesi: takipteyken sarı "◎", elle kaydırınca "◎ Ortala" (tek satır) */
#mapv-me, #mapv-close { white-space: nowrap; }
/* Araç sayısı etiketi düğme sırasında yer kaplamasın: Kapat'ın altında küçük satır (dar / büyük yazılı telefonda da kesilmez) */
.mapv-top .mapv-count { position: absolute; left: 0; top: 100%; margin-top: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.mapv-r { flex: none; }
/* Hesabımı sil: ne silineceği yazılı onay penceresi */
.btn-red { background: var(--red); color: #fff; }
.del-list { margin: 6px 0 4px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.45; font-size: 15px; }
.del-err { margin: 4px 0; color: var(--red-l); font-weight: 700; }
.del-btns { display: flex; gap: 10px; margin: 10px 0 4px; }
.del-btns .btn-big { flex: 1; min-height: 56px; font-size: 17px; }
#s-pending #pend-delete { font-size: 14px; }
