:root {
  --bg: #f3f5fa; --card: #fff; --text: #0b1324; --muted: #667085; --line: #e9ecf3;
  --primary: #2f5bff; --primary-2: #6a4cff; --primary-soft: #eef2ff;
  --green: #12b76a; --green-soft: #e8f8f0; --blue: #2e90fa; --blue-soft: #eaf3ff;
  --amber: #f79009; --amber-soft: #fff5e6; --red: #f04438; --red-soft: #fff1f0;
  --gray-soft: #f2f4f7; --purple: #7a5af8; --purple-soft: #f2efff;
  --radius: 18px; --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.05);
  --nav-h: 66px; --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.01em; }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.i.k { width: 18px; height: 18px; }
svg.i.b { width: 28px; height: 28px; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---------- iskelet ---------- */
.sidebar { display: none; }
.main { min-height: 100vh; }
.appbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; background: rgba(243,245,250,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.appbar h1 { font-size: 22px; font-weight: 750; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar .geri { margin-left: -8px; }
.content { padding: 4px 16px calc(var(--nav-h) + var(--safe-b) + 28px); max-width: 1180px; margin: 0 auto; }
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.bottomnav a { flex: 1; height: var(--nav-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: #8a93a6; position: relative; }
.bottomnav a.on { color: var(--primary); }
.bottomnav a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
.bottomnav .nokta { position: absolute; top: 9px; right: calc(50% - 18px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; display: grid; place-items: center; }

@media (min-width: 1024px) {
  .sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 256px; background: #0c1430; color: #c6cde0; padding: 22px 14px; z-index: 30; }
  .sidebar .marka { display: flex; align-items: center; gap: 12px; color: #fff; padding: 0 10px 24px; }
  .sidebar .marka b { font-size: 17px; display: block; }
  .sidebar .marka small { color: #8e98b8; font-size: 12px; }
  .sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; margin-bottom: 2px; font-weight: 550; font-size: 14.5px; }
  .sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .sidebar nav a.on { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 6px 18px rgba(47,91,255,.35); }
  .sidebar .alt { margin-top: auto; }
  .main { margin-left: 256px; }
  .bottomnav, .sadece-mobil { display: none !important; }
  .appbar { height: 72px; padding: 0 28px; }
  .appbar h1 { font-size: 26px; }
  .content { padding: 4px 28px 40px; }
}
@media (max-width: 1023px) { .sadece-masaustu { display: none !important; } }

.logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 6px 16px rgba(47,91,255,.35); flex-shrink: 0; }

/* ---------- kartlar ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card.p0 { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-h h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-h a.link, .link { color: var(--primary); font-weight: 600; font-size: 14px; }
.card.p0 .card-h { padding: 16px 16px 4px; margin: 0; }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 > .card { margin-bottom: 0; } .grid2 { margin-bottom: 14px; } }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tile .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.tile b { font-size: 26px; font-weight: 750; line-height: 1; letter-spacing: -.02em; }
.tile span { color: var(--muted); font-size: 13px; font-weight: 550; }
.tile b small { font-size: 15px; color: var(--muted); font-weight: 600; }
.ic.mavi { background: var(--blue-soft); color: var(--blue); } .ic.yesil { background: var(--green-soft); color: var(--green); }
.ic.mor { background: var(--purple-soft); color: var(--purple); } .ic.turuncu { background: var(--amber-soft); color: var(--amber); }
.ic.kirmizi { background: var(--red-soft); color: var(--red); } .ic.gri { background: var(--gray-soft); color: var(--muted); }
.ic.ana { background: var(--primary-soft); color: var(--primary); }

.hero { border-radius: 22px; padding: 18px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #7b61ff 0%, #2f5bff 45%, #1d3fd8 100%); box-shadow: 0 12px 30px rgba(47,91,255,.28); margin-bottom: 14px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero .ust { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .9; }
.hero .canli-say { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.hero .canli-say small { font-size: 15px; font-weight: 600; opacity: .85; margin-left: 6px; }
.hero .alt { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; }
.hero .alt b { display: block; font-size: 18px; }
.canli-nokta { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.canli-nokta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: nabiz 1.6s infinite; }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ---------- listeler ---------- */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); min-height: 64px; position: relative; background: var(--card); }
.list > .row:first-child { border-top: 0; }
.row .orta { flex: 1; min-width: 0; }
.row .orta b { display: block; font-weight: 650; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .orta span { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sag { text-align: right; flex-shrink: 0; font-size: 13px; color: var(--muted); }
.row .sag b { display: block; color: var(--text); font-weight: 650; font-size: 14px; }
.row.tik { cursor: pointer; }
.row.tik:active { background: #f7f8fb; }
.av { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 750; font-size: 14px; flex-shrink: 0; position: relative; background: var(--primary-soft); color: var(--primary); }
.av .d { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid #fff; background: #c3c9d5; }
.av .d.online { background: var(--green); } .av .d.gorusmede, .av .d.ariyor { background: var(--blue); } .av .d.caliyor { background: var(--amber); animation: yanip 1s infinite; }
@keyframes yanip { 50% { opacity: .35; } }
.av.yon-giden { background: var(--blue-soft); color: var(--blue); } .av.yon-gelen { background: var(--green-soft); color: var(--green); }
.av.yon-dahili { background: var(--purple-soft); color: var(--purple); } .av.yon-cevapsiz { background: var(--red-soft); color: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 30px 16px; }
.empty .ic { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 10px; display: grid; place-items: center; }
.empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--gray-soft); color: var(--muted); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.nd::before { display: none; }
.badge.online, .badge.bagli, .badge.ok { background: var(--green-soft); color: #079455; }
.badge.gorusmede, .badge.ariyor, .badge.mavi { background: var(--blue-soft); color: #1570ef; }
.badge.caliyor, .badge.bekliyor, .badge.uyari { background: var(--amber-soft); color: #b54708; }
.badge.hata, .badge.kirmizi { background: var(--red-soft); color: #d92d20; }
.badge.offline { background: var(--gray-soft); color: #98a2b3; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; border: 0; font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; background: var(--gray-soft); color: var(--text); white-space: nowrap; transition: transform .08s, filter .15s; }
.btn:active { transform: scale(.97); }
.btn.ana { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 6px 16px rgba(47,91,255,.28); }
.btn.beyaz { background: #fff; box-shadow: var(--shadow); }
.btn.tehlike { background: var(--red-soft); color: var(--red); }
.btn.tehlike.dolu { background: var(--red); color: #fff; }
.btn.yesil { background: var(--green); color: #fff; }
.btn.genis { width: 100%; }
.btn.kucuk { height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 11px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.ibtn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.ibtn:active { background: var(--gray-soft); }
.ibtn.dolu { background: var(--gray-soft); color: var(--text); }
.ibtn.kirmizi { background: var(--red-soft); color: var(--red); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1; }
.fab { position: fixed; right: 18px; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 25; height: 56px; padding: 0 20px 0 16px; border-radius: 18px; border: 0; display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 10px 26px rgba(47,91,255,.42); cursor: pointer; }
@media (min-width: 1024px) { .fab { bottom: 28px; right: 32px; } }

.aksiyonlar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.aksiyon { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; text-align: center; border: 0; font-family: inherit; color: var(--text); cursor: pointer; }
.aksiyon .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }

/* ---------- formlar ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13.5px; font-weight: 650; margin-bottom: 6px; }
.field > small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
input[type=text], input[type=password], input[type=number], input[type=search], input[type=tel], select, textarea {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47,91,255,.12); }
.input-ek { position: relative; }
.input-ek input { padding-right: 52px; }
.input-ek .ibtn { position: absolute; right: 5px; top: 5px; }
.arama { position: relative; margin-bottom: 12px; }
.arama svg { position: absolute; left: 14px; top: 14px; color: var(--muted); }
.arama input { padding-left: 44px; background: #fff; border-color: transparent; box-shadow: var(--shadow); }

.secim { display: grid; gap: 10px; margin-bottom: 14px; }
.secim.iki { grid-template-columns: 1fr 1fr; }
.secim label { position: relative; cursor: pointer; }
.secim input { position: absolute; opacity: 0; pointer-events: none; }
.secim .kutu { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: #fff; transition: border-color .15s, background .15s; height: 100%; }
.secim .kutu b { display: block; font-size: 15px; }
.secim .kutu span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.secim .kutu .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.secim input:checked + .kutu { border-color: var(--primary); background: var(--primary-soft); }
.secim input:checked + .kutu::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

.seg { display: flex; background: var(--gray-soft); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.seg label { flex: 1; }
.seg input { display: none; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 11px; font-weight: 650; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(16,24,40,.1); }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; }
.switch b { display: block; font-size: 15px; font-weight: 600; }
.switch small { display: block; color: var(--muted); font-size: 13px; }
.switch input { display: none; }
.switch i { width: 50px; height: 30px; border-radius: 15px; background: #d0d5dd; position: relative; transition: background .2s; flex-shrink: 0; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }

.cips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.cips::-webkit-scrollbar { display: none; }
.cip { flex-shrink: 0; height: 38px; padding: 0 15px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; color: var(--muted); border: 0; font-family: inherit; }
.cip.on { background: var(--text); color: #fff; }
.filtre-satir { display: flex; gap: 8px; margin-bottom: 12px; }
.filtre-satir select { height: 44px; font-size: 15px; border-color: transparent; box-shadow: var(--shadow); }

/* ---------- alt panel (sheet) ---------- */
.perde { position: fixed; inset: 0; background: rgba(11,19,36,.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.perde.acik { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-radius: 26px 26px 0 0; max-height: 92vh; overflow-y: auto; padding: 8px 18px calc(22px + var(--safe-b)); transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.sheet.acik { transform: none; }
.sheet .tutamac { width: 40px; height: 5px; border-radius: 3px; background: #d6dae3; margin: 0 auto 10px; }
.sheet .sheet-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sheet .sheet-h h3 { flex: 1; font-size: 19px; font-weight: 750; }
.sheet .sheet-h p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
@media (min-width: 700px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; border-radius: 24px; transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; padding: 20px 24px 24px; }
  .sheet.acik { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
  .sheet .tutamac { display: none; }
}
.menu-liste { display: flex; flex-direction: column; gap: 4px; }
.menu-liste a, .menu-liste button { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-radius: 14px; font: inherit; font-weight: 600; font-size: 15.5px; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer; width: 100%; }
.menu-liste a:active, .menu-liste button:active { background: var(--gray-soft); }
.menu-liste .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.menu-liste small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.menu-liste .ok { margin-left: auto; color: #c0c6d2; }
.menu-liste .kirmizi-yazi { color: var(--red); }

.bilgi-kutu { background: var(--gray-soft); border-radius: 16px; padding: 4px 14px; margin-bottom: 14px; }
.bilgi-satir { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #e4e7ee; }
.bilgi-satir:first-child { border-top: 0; }
.bilgi-satir span { color: var(--muted); font-size: 13px; width: 96px; flex-shrink: 0; }
.bilgi-satir b { flex: 1; font-weight: 650; font-size: 15px; word-break: break-all; font-variant-numeric: tabular-nums; }
.qr { display: block; width: 200px; height: 200px; margin: 4px auto 10px; border-radius: 16px; background: #fff; padding: 6px; border: 1px solid var(--line); }

/* ---------- uyarılar ---------- */
.not { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--blue-soft); color: #1849a9; font-size: 14px; margin-bottom: 14px; }
.not.sari { background: var(--amber-soft); color: #93370d; }
.not.kirmizi { background: var(--red-soft); color: #b42318; }
.not.yesil { background: var(--green-soft); color: #085d3a; }
.not b { display: block; margin-bottom: 2px; }
.not .btn { margin-top: 10px; }
#toastlar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 100; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast { background: #0b1324; color: #fff; padding: 13px 16px; border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.25); font-weight: 600; font-size: 14.5px; display: flex; gap: 10px; align-items: center; animation: toastgir .3s cubic-bezier(.2,.8,.2,1); pointer-events: auto; }
.toast.hata { background: #b42318; }
.toast.ok svg { color: #4ade80; }
@keyframes toastgir { from { transform: translateY(-16px); opacity: 0; } }

/* ---------- canlı görüşmeler ---------- */
.gorusme { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--gray-soft); margin-bottom: 8px; }
.gorusme.gorusmede { background: var(--blue-soft); }
.gorusme.caliyor { background: var(--amber-soft); }
.gorusme .taraf { flex: 1; min-width: 0; }
.gorusme .taraf b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gorusme .taraf span { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gorusme .zaman { font-weight: 750; font-variant-numeric: tabular-nums; font-size: 16px; }
.kapat-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.kapat-btn svg { transform: rotate(135deg); }

.dahili-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dz { border-radius: 16px; padding: 10px 8px; text-align: center; background: var(--gray-soft); border: 2px solid transparent; transition: background .2s; }
.dz b { display: block; font-size: 17px; font-weight: 750; }
.dz span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; margin-top: 4px; }
.dz.online { background: var(--green-soft); } .dz.online em { color: #079455; }
.dz.gorusmede, .dz.ariyor { background: var(--blue-soft); border-color: #b2d4ff; } .dz.gorusmede em, .dz.ariyor em { color: #1570ef; }
.dz.caliyor { background: var(--amber-soft); border-color: #fedf89; animation: yanip 1.2s infinite; } .dz.caliyor em { color: #b54708; }
.dz.offline em { color: #98a2b3; }
.lejant { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.lejant i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }

/* ---------- grafik ---------- */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 18px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { width: 100%; max-width: 34px; border-radius: 9px 9px 4px 4px; background: linear-gradient(180deg, #7b8cff, var(--primary)); min-height: 4px; position: relative; }
.bar i em { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.bar.bugun i { background: linear-gradient(180deg, #a48bff, var(--primary-2)); }
.bar span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ilerleme { height: 6px; border-radius: 3px; background: var(--gray-soft); overflow: hidden; margin-top: 6px; }
.ilerleme i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }

/* ---------- seçim modu ---------- */
.secim-kutu { display: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #c6ccd8; flex-shrink: 0; }
.secmeli .secim-kutu { display: grid; place-items: center; }
.row.secili { background: var(--primary-soft); }
.row.secili .secim-kutu { background: var(--primary); border-color: var(--primary); }
.row.secili .secim-kutu::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }
.secmeli .tek-islem { display: none; }
.toplu-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + var(--safe-b) + 12px); z-index: 26; background: #0b1324; color: #fff; border-radius: 20px; padding: 10px; display: flex; align-items: center; gap: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.3); transform: translateY(160%); transition: transform .25s; }
.toplu-bar.acik { transform: none; }
.toplu-bar .say { font-weight: 700; padding: 0 8px; flex: 1; font-size: 14px; }
.toplu-bar button { background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 12px; height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 6px; font: inherit; font-weight: 650; font-size: 13px; cursor: pointer; }
.toplu-bar button.kirmizi { background: var(--red); }
@media (min-width: 1024px) { .toplu-bar { left: calc(256px + 28px); right: 28px; bottom: 24px; } }
.yeni-isaret { box-shadow: inset 4px 0 0 var(--green); }

/* ---------- çağrı detay ---------- */
.detay-ust { text-align: center; padding: 6px 0 16px; }
.detay-ust .av { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 10px; }
.detay-ust h3 { font-size: 22px; }
.detay-ust p { margin: 4px 0 0; color: var(--muted); }
audio { width: 100%; height: 44px; margin: 4px 0 12px; }

/* ---------- giriş ---------- */
.giris-sayfa { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 18px calc(24px + var(--safe-b)); background: #0a1230; position: relative; overflow: hidden; }
.giris-sayfa::before, .giris-sayfa::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.giris-sayfa::before { width: 420px; height: 420px; background: #2f5bff; top: -140px; left: -120px; }
.giris-sayfa::after { width: 380px; height: 380px; background: #7a4cff; bottom: -140px; right: -120px; }
.giris-kart { position: relative; z-index: 1; width: 100%; max-width: 400px; background: rgba(255,255,255,.97); border-radius: 28px; padding: 30px 24px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.giris-kart .logo { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px; }
.giris-kart h1 { text-align: center; font-size: 25px; font-weight: 800; }
.giris-kart .alt-baslik { text-align: center; color: var(--muted); margin: 4px 0 24px; font-size: 14.5px; }
.giris-kart .ikonlu { position: relative; }
.giris-kart .ikonlu > svg { position: absolute; left: 15px; top: 15px; color: #98a2b3; }
.giris-kart .ikonlu input { padding-left: 46px; height: 54px; background: #f7f8fb; border-color: #eef0f4; }
.giris-kart .ikonlu input:focus { background: #fff; }
.giris-kart .btn { height: 54px; font-size: 16px; margin-top: 6px; }
.giris-alt { position: relative; z-index: 1; color: rgba(255,255,255,.55); font-size: 12.5px; margin-top: 22px; display: flex; align-items: center; gap: 6px; }
.onay { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: 2px 0 14px; cursor: pointer; }
.onay input { width: 20px; height: 20px; accent-color: var(--primary); }

/* ---------- kurulum sayfası ---------- */
.kurulum-sayfa { max-width: 560px; margin: 0 auto; padding: 18px 16px 40px; }
.kurulum-ust { border-radius: 24px; padding: 22px 18px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #7b61ff 0%, #2f5bff 45%, #1d3fd8 100%); margin-bottom: 14px; }
.kurulum-ust .no { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.adimlar { counter-reset: adim; list-style: none; padding: 0; margin: 0; }
.adimlar li { counter-increment: adim; position: relative; padding: 0 0 16px 44px; }
.adimlar li::before { content: counter(adim); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.adimlar li b { display: block; }
.adimlar li span { color: var(--muted); font-size: 14px; }
.adimlar code, .kod { background: var(--gray-soft); padding: 2px 7px; border-radius: 6px; font-weight: 700; color: var(--text); font-family: inherit; }
.magaza { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }

.kayit-btn { width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; margin: 8px auto; box-shadow: 0 10px 26px rgba(240,68,56,.35); cursor: pointer; }
.kayit-btn.kayitta { animation: nabizk 1.4s infinite; }
@keyframes nabizk { 0% { box-shadow: 0 0 0 0 rgba(240,68,56,.5); } 70% { box-shadow: 0 0 0 18px rgba(240,68,56,0); } 100% { box-shadow: 0 0 0 0 rgba(240,68,56,0); } }
.kayit-sure { text-align: center; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dosya-sec { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 2px dashed #cdd3df; cursor: pointer; margin-bottom: 14px; color: var(--muted); font-weight: 600; }
.dosya-sec input { display: none; }
.sayfalama { display: flex; justify-content: center; margin: 6px 0 4px; }

/* ---- kullanıcı kutusu, test sonuçları, kayıtlar ---- */
.sidebar .ben-kutu { align-items: center; }
.sidebar .ben-kutu span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.sidebar .ben-kutu b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .ben-kutu small { font-size: 12px; color: var(--muted); font-weight: 500; }
.totp-uyari .ibtn { margin: -6px -6px 0 0; background: transparent; color: inherit; }
.test-liste { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.test-adim { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--gray-soft); }
.test-adim .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.test-adim b { display: block; font-size: 15px; }
.test-adim span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; word-break: break-word; }
.test-adim.ok { background: var(--green-soft); } .test-adim.hata { background: var(--red-soft); }
.yukleniyor { width: 22px; height: 22px; border: 3px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: don .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes don { to { transform: rotate(360deg); } }
.hat-durum-satir { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; margin-bottom: 12px; font-weight: 650; }
.hat-durum-satir.bagli { background: var(--green-soft); color: #067647; }
.hat-durum-satir.hata { background: var(--red-soft); color: #b42318; }
.hat-durum-satir.bekliyor { background: var(--amber-soft); color: #93370d; }
.hat-durum-satir .nokta { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex-shrink: 0; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.hat-durum-satir.bagli .nokta { animation: nabiz 2s infinite; }
@keyframes nabiz { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 6%, transparent); } }
.hat-durum-satir small { display: block; font-weight: 500; opacity: .8; font-size: 12.5px; }
.kayit-satir audio { width: 100%; height: 40px; margin-top: 8px; }
.kayit-satir { flex-wrap: wrap; }
.kayit-satir .oynat-alan { flex-basis: 100%; }
.kod-giris { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.anahtar-kutu { font-family: ui-monospace, monospace; font-size: 15px; letter-spacing: 1px; word-break: break-all; background: var(--gray-soft); padding: 12px; border-radius: 12px; text-align: center; }
.gunluk-satir { font-size: 13.5px; }
.ozet-izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; }
.ozet-izgara > div { background: var(--card); padding: 12px 14px; }
.ozet-izgara b { display: block; font-size: 18px; font-weight: 750; }
.ozet-izgara span { font-size: 12.5px; color: var(--muted); }
@media (min-width: 700px) { .ozet-izgara { grid-template-columns: repeat(4, 1fr); } }
.row .orta .badge { display: inline-flex; white-space: nowrap; color: inherit; }
.row .orta .badge.bagli { color: #079455; } .row .orta .badge.uyari { color: #b54708; } .row .orta .badge.mavi { color: #1570ef; }
.tiles.uc { grid-template-columns: repeat(3, 1fr); }
.tiles.uc .tile { padding: 12px; }
.tiles.uc .tile b { font-size: 19px; }
.tiles.uc .tile > span:last-child { font-size: 12px; }
img.bayrak { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; vertical-align: -2px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(16, 24, 40, .12); display: inline-block; }
