/* ═══════════ SENSE ANTICHEAT — TEMA ═══════════
   Renkleri değiştirmek için sadece :root içindeki değişkenleri düzenle. */
:root {
  --bg: #080506;
  --bg-2: #110a0b;
  --panel: rgba(26, 15, 17, .62);
  --panel-solid: #1a0f11;
  --panel-2: rgba(255, 255, 255, .035);
  --line: rgba(248, 113, 113, .14);
  --line-2: rgba(255, 255, 255, .07);
  --text: #f4eded;
  --muted: #ab9b9d;
  --dim: #776769;
  --accent: #ef4444;
  --accent-2: #fb923c;
  --accent-soft: rgba(239, 68, 68, .16);
  --grad: linear-gradient(135deg, #ff8f8f 0%, #ef4444 50%, #b91c1c 100%);
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f43f5e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --side: 260px;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); font-size: 12.5px; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(248, 113, 113, .18); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }

/* ---------- arka plan ---------- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-grid { position: absolute; inset: -50%; background-image: linear-gradient(rgba(239, 68, 68, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 68, 68, .055) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 60%); transform: perspective(900px) rotateX(55deg) translateY(-12%); }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; }
.bg-orb.o1 { width: 620px; height: 620px; background: #991b1b; top: -260px; left: -120px; animation: drift 18s ease-in-out infinite alternate; }
.bg-orb.o2 { width: 520px; height: 520px; background: #7c2d12; bottom: -260px; right: -140px; opacity: .3; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.1); } }

/* ---------- açılış ---------- */
.boot { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; z-index: 50; }
.boot img { width: 74px; animation: pulse 1.6s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(239, 68, 68, .6)); }
.boot-bar { width: 160px; height: 3px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.boot-bar span { display: block; width: 40%; height: 100%; background: var(--grad); animation: load 1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes pulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 40px rgba(251, 146, 60, .6)); } }

/* ---------- giriş ---------- */
.login { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 420px; padding: 44px 36px 32px; text-align: center; background: linear-gradient(180deg, rgba(36, 17, 20, .78), rgba(16, 9, 10, .85)); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(18px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.login-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.login-logo { width: 96px; height: 96px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 28px; background: radial-gradient(circle, rgba(239, 68, 68, .25), transparent 70%); }
.login-logo img { width: 92px; filter: drop-shadow(0 0 28px rgba(239, 68, 68, .55)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.brand-title { font: 700 30px/1.1 var(--display); letter-spacing: .06em; }
.brand-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-sub { color: var(--muted); margin: 8px 0 28px; }
.btn-discord { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; background: #5865f2; box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .8); transition: .2s; }
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); }
.login-foot { color: var(--dim); font-size: 12px; margin-top: 20px; }
.login-error { background: rgba(244, 63, 94, .12); border: 1px solid rgba(244, 63, 94, .3); color: #fda4af; padding: 10px; border-radius: 10px; margin-bottom: 16px; font-size: 13px; }

/* ---------- yerleşim ---------- */
.app { position: relative; z-index: 1; display: flex; min-height: 100vh; }
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: var(--side); display: flex; flex-direction: column; padding: 22px 16px; background: linear-gradient(180deg, rgba(20, 11, 13, .92), rgba(10, 6, 7, .95)); border-right: 1px solid var(--line); backdrop-filter: blur(16px); z-index: 20; transition: transform .3s; }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; }
.brand img { width: 42px; filter: drop-shadow(0 0 14px rgba(239, 68, 68, .55)); }
.brand-name { font: 700 19px/1 var(--display); letter-spacing: .14em; }
.brand-sub { font: 600 10.5px/1 var(--display); letter-spacing: .32em; margin-top: 5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; flex-direction: column; gap: 3px; flex: 1; overflow-y: auto; }
.nav-label { font-size: 10.5px; letter-spacing: .14em; color: var(--dim); font-weight: 600; padding: 14px 12px 6px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; color: var(--muted); font-weight: 500; transition: .18s; }
.nav a svg { width: 19px; height: 19px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a.active { color: #fff; background: linear-gradient(90deg, rgba(239, 68, 68, .24), rgba(239, 68, 68, .04)); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .25); }
.nav a.active::before { content: ''; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.nav a.active svg { stroke: #fca5a5; }
.nav a.locked { opacity: .38; pointer-events: none; }
.nav .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.side-foot { padding-top: 14px; border-top: 1px solid var(--line-2); }
.conn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--panel-2); font-size: 12.5px; color: var(--muted); }
.conn .dot, .live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.conn.on .dot, .live-pill.on .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 1.8s infinite; }
.conn.off .dot { background: var(--bad); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.main { flex: 1; margin-left: var(--side); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 18px 32px; background: linear-gradient(180deg, rgba(8, 5, 6, .92), rgba(8, 5, 6, .6)); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.crumb { font-size: 12px; color: var(--dim); letter-spacing: .04em; }
.page-title { font: 600 22px/1.2 var(--display); letter-spacing: .01em; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.live-pill { display: flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 30px; font: 600 11px/1 var(--display); letter-spacing: .14em; border: 1px solid var(--line-2); color: var(--muted); }
.live-pill.on { color: var(--ok); border-color: rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .07); }
.user { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 5px; border-radius: 40px; background: var(--panel-2); border: 1px solid var(--line-2); }
.user img { width: 32px; height: 32px; border-radius: 50%; }
.user .u-name { font-weight: 600; font-size: 13px; line-height: 1.2; }
.user .u-role { font-size: 11px; color: var(--accent-2); }
.user a { padding: 6px 10px; color: var(--dim); font-size: 12px; border-left: 1px solid var(--line-2); }
.user a:hover { color: var(--bad); }
.topbar .menu-btn { display: none; }
.page { padding: 28px 32px 60px; animation: fadeUp .35s ease; max-width: 1600px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* ---------- bileşenler ---------- */
.grid { display: grid; gap: 18px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mt { margin-top: 18px; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-h h3 { font: 600 15px/1.2 var(--display); letter-spacing: .01em; }
.card-h .sub { color: var(--dim); font-size: 12px; }
.card-h .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.stat { display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.stat .s-top { display: flex; align-items: center; justify-content: space-between; }
.stat .s-label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.stat .s-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: #fca5a5; }
.stat .s-ico svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat .s-val { font: 700 30px/1.1 var(--display); letter-spacing: -.01em; }
.stat .s-val small { font-size: 16px; color: var(--dim); font-weight: 500; }
.stat .s-foot { font-size: 12px; color: var(--dim); }
.stat.cyan .s-ico { background: rgba(251, 146, 60, .13); color: var(--accent-2); }
.stat.green .s-ico { background: rgba(52, 211, 153, .13); color: var(--ok); }
.stat.red .s-ico { background: rgba(244, 63, 94, .13); color: var(--bad); }
.stat.amber .s-ico { background: rgba(251, 191, 36, .13); color: var(--warn); }
.stat::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 68, 68, .12), transparent 70%); }

.hero { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 200px at 0% 0%, rgba(239, 68, 68, .22), transparent), radial-gradient(500px 200px at 100% 100%, rgba(251, 146, 60, .12), transparent); pointer-events: none; border-radius: inherit; }
.hero-logo { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; background: rgba(239, 68, 68, .12); border: 1px solid var(--line); }
.hero-logo img { width: 52px; }
.hero h1 { font: 700 26px/1.2 var(--display); }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 30px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }
.chip b { color: var(--text); font-weight: 600; }
.chip.ok { color: var(--ok); border-color: rgba(52, 211, 153, .25); background: rgba(52, 211, 153, .07); }
.chip.bad { color: var(--bad); border-color: rgba(244, 63, 94, .25); background: rgba(244, 63, 94, .07); }
.chip.warn { color: var(--warn); border-color: rgba(251, 191, 36, .25); background: rgba(251, 191, 36, .07); }
.chip.acc { color: #fca5a5; border-color: rgba(239, 68, 68, .3); background: var(--accent-soft); }
.hero-count { text-align: right; position: relative; }
.hero-count .big { font: 700 52px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-count .big small { font-size: 26px; color: var(--dim); -webkit-text-fill-color: var(--dim); }
.hero-count .lbl { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.cap-bar { height: 6px; border-radius: 6px; background: var(--line-2); margin-top: 10px; overflow: hidden; width: 200px; margin-left: auto; }
.cap-bar span { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width .6s; }

.ip-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px dashed var(--line); font-family: var(--mono); }
.ip-box .ip { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: 11px; font-weight: 600; font-size: 13px; background: var(--panel-2); border: 1px solid var(--line-2); transition: .16s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, .07); border-color: var(--line); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 8px 24px -10px rgba(239, 68, 68, .9); }
.btn.primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.danger { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .3); color: #fda4af; }
.btn.danger:hover { background: rgba(244, 63, 94, .22); }
.btn.success { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .3); color: #6ee7b7; }
.btn.success:hover { background: rgba(52, 211, 153, .22); }
.btn.sm { padding: 6px 10px; font-size: 12px; border-radius: 9px; }
.btn:disabled { opacity: .45; pointer-events: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border-radius: 11px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2); outline: 0; transition: .16s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { resize: vertical; min-height: 80px; }
.search { position: relative; flex: 1; min-width: 220px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--dim); fill: none; stroke-width: 2; }
.search .input { padding-left: 40px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 11.5px; color: var(--dim); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

.tabs { display: inline-flex; padding: 4px; gap: 4px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); border-radius: 12px; }
.tabs button { padding: 7px 14px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 12.5px; transition: .16s; }
.tabs button.on { background: var(--accent-soft); color: #fff; box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .35); }
.tabs button .n { margin-left: 6px; opacity: .65; font-weight: 500; }

/* tablolar */
.table-wrap { overflow-x: auto; margin: 0 -20px -20px; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; padding: 10px 20px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 12px 20px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(239, 68, 68, .05); }
.tbl tr.click { cursor: pointer; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.pid { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--accent-soft); color: #fca5a5; font: 600 12px var(--mono); }
.pname { font-weight: 600; }
.pname-sub { font-size: 11.5px; color: var(--dim); }
.ping { font-family: var(--mono); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.ping::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ping.good { color: var(--ok); } .ping.mid { color: var(--warn); } .ping.bad { color: var(--bad); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tag svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.tag.veh { background: rgba(251, 146, 60, .12); color: #fdba74; }
.tag.foot { background: rgba(255, 255, 255, .06); color: var(--muted); }
.tag.red { background: rgba(244, 63, 94, .13); color: #fda4af; }
.tag.green { background: rgba(52, 211, 153, .13); color: #6ee7b7; }
.tag.amber { background: rgba(251, 191, 36, .13); color: #fcd34d; }
.tag.violet { background: var(--accent-soft); color: #fca5a5; }
.tag.gray { background: rgba(255, 255, 255, .06); color: var(--muted); }
.bar-mini { width: 70px; height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.bar-mini span { display: block; height: 100%; border-radius: 5px; }
.actions { display: flex; gap: 6px; justify-content: flex-end; }
.empty { text-align: center; padding: 50px 20px; color: var(--dim); }
.empty svg { width: 44px; height: 44px; stroke: var(--line); fill: none; stroke-width: 1.5; margin-bottom: 12px; }
.empty b { display: block; color: var(--muted); font-size: 15px; margin-bottom: 4px; }

/* grafik */
.chart { width: 100%; height: 220px; display: block; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bars .row { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 12px; font-size: 12.5px; }
.bars .track { height: 9px; border-radius: 9px; background: var(--line-2); overflow: hidden; }
.bars .track span { display: block; height: 100%; border-radius: 9px; transition: width .6s; }
.bars .row b { text-align: right; font-family: var(--mono); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 13px; }
.kv dt { color: var(--dim); }
.kv dd { text-align: right; font-weight: 600; }

/* sorgu */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 18px; }
.p-head { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; }
.p-avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 700 26px var(--display); background: var(--grad); color: #fff; flex: none; }
.id-list { display: flex; flex-direction: column; gap: 10px; }
.id-row { padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line-2); }
.id-row .k { font-size: 10.5px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.id-row .v { font-family: var(--mono); font-size: 12px; word-break: break-all; margin-top: 2px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.copy { color: var(--dim); flex: none; }
.copy:hover { color: var(--accent-2); }
.copy svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.results { display: flex; flex-direction: column; gap: 8px; }
.result { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer; transition: .15s; }
.result:hover { border-color: var(--accent); background: var(--accent-soft); }
.result .r-av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(239, 68, 68, .2); font: 700 15px var(--display); color: #fca5a5; }
.timeline { position: relative; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer; }
.tl-item:hover { border-color: var(--line); }
.tl-item::before { content: ''; position: absolute; left: -21px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 4px rgba(244, 63, 94, .18); }
.tl-item.off::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }

/* çoklu izleme */
.watch-layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.pick-list { display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 290px); overflow-y: auto; margin: 0 -8px; padding: 0 8px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; transition: .15s; border: 1px solid transparent; }
.pick:hover { background: var(--panel-2); }
.pick.on { background: var(--accent-soft); border-color: rgba(239, 68, 68, .35); }
.pick .chk { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--dim); display: grid; place-items: center; flex: none; }
.pick.on .chk { background: var(--grad); border: 0; }
.pick.on .chk::after { content: ''; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.pick .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.screens { display: grid; gap: 14px; }
.screens.c1 { grid-template-columns: 1fr; } .screens.c2 { grid-template-columns: repeat(2, 1fr); } .screens.c3 { grid-template-columns: repeat(3, 1fr); } .screens.c4 { grid-template-columns: repeat(4, 1fr); }
.screen { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow); }
.screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen .ov-top, .screen .ov-bot { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.screen .ov-top { top: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent); }
.screen .ov-bot { bottom: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent); font-size: 12px; flex-wrap: wrap; }
.screen .rec { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px var(--display); letter-spacing: .12em; color: #fda4af; }
.screen .rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.screen .s-name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen .s-close { width: 26px; height: 26px; border-radius: 8px; background: rgba(0, 0, 0, .5); display: grid; place-items: center; }
.screen .s-close svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.4; fill: none; }
.screen .wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--dim); font-size: 12.5px; background: radial-gradient(circle, #1f0f12, #000); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.screen.full { position: fixed; inset: 20px; z-index: 60; aspect-ratio: auto; }

/* clip oynatıcı */
.clip { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.clip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.clip .rec { position: absolute; top: 12px; left: 12px; }
.clip .rec, .clip-rec { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .6); font: 700 10.5px var(--display); letter-spacing: .12em; color: #fda4af; }
.clip .rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: blink 1s infinite; }
.clip .ts { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .6); font: 600 11px var(--mono); }
.clip-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.clip-prog { flex: 1; height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; cursor: pointer; }
.clip-prog span { display: block; height: 100%; background: var(--grad); transition: width .2s linear; }
.no-clip { aspect-ratio: 16/9; border-radius: 14px; border: 1px dashed var(--line); display: grid; place-content: center; justify-items: center; color: var(--dim); gap: 8px; text-align: center; padding: 20px; }

/* itirazlar */
.appeals { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.appeal .a-head { display: flex; gap: 12px; align-items: center; }
.appeal .a-head img { width: 42px; height: 42px; border-radius: 50%; }
.appeal .a-msg { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); white-space: pre-wrap; word-break: break-word; font-size: 13px; color: #eadcdc; max-height: 140px; overflow-y: auto; }
.shots { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.shots img { width: 92px; height: 64px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); cursor: zoom-in; transition: .15s; }
.shots img:hover { transform: scale(1.04); border-color: var(--accent); }
.appeal .a-foot { display: flex; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* hile ağı */
.net { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.net-card .n-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.net-card .n-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(244, 63, 94, .13); color: var(--bad); }
.net-card .n-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.net-card.linked { border-color: rgba(244, 63, 94, .3); }
.net-card.linked::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--bad), transparent); border-radius: var(--radius) var(--radius) 0 0; }
.id-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.id-chip { font: 500 11px var(--mono); padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-group { margin-top: 10px; }
.id-group .k { font-size: 10.5px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }

/* yönetici */
.staff-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.staff-row:last-child { border-bottom: 0; }
.staff-row img, .staff-row .ph { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); }
.perm-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line-2); cursor: pointer; user-select: none; font-size: 13px; transition: .15s; }
.check input { display: none; }
.check .box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--dim); flex: none; display: grid; place-items: center; }
.check.on { border-color: rgba(239, 68, 68, .45); background: var(--accent-soft); }
.check.on .box { background: var(--grad); border: 0; }
.check.on .box::after { content: ''; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.switch { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .2); cursor: pointer; }
.switch .tg { width: 42px; height: 24px; border-radius: 24px; background: var(--line-2); position: relative; transition: .2s; flex: none; }
.switch .tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.switch.on .tg { background: var(--warn); }
.switch.on .tg::after { left: 21px; }
.audit { font-size: 12.5px; }
.audit .a-row { display: grid; grid-template-columns: 130px 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.audit .a-row:last-child { border-bottom: 0; }

/* modal */
.modal-bg { position: fixed; inset: 0; z-index: 70; background: rgba(4, 3, 10, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: linear-gradient(180deg, #1d1113, #100909); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 100px -20px #000; animation: pop .25s cubic-bezier(.2, .9, .3, 1.2); }
.modal.wide { max-width: 980px; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-h { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: inherit; z-index: 1; }
.modal-h h3 { font: 600 17px var(--display); }
.modal-h .x { margin-left: auto; }
.modal-b { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.modal-f { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--line-2); }
.lightbox { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px #000; }
.dur-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dur-opts button { padding: 9px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); font-weight: 600; font-size: 12.5px; color: var(--muted); }
.dur-opts button.on { border-color: var(--accent); color: #fff; background: var(--accent-soft); }

/* bildirim */
.toasts { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 260px; max-width: 380px; padding: 13px 16px; border-radius: 13px; background: #21121a; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; display: flex; gap: 10px; align-items: flex-start; animation: slideIn .3s cubic-bezier(.2, .9, .3, 1.2); }
.toast::before { content: ''; width: 4px; align-self: stretch; border-radius: 4px; background: var(--accent); flex: none; }
.toast.ok::before { background: var(--ok); } .toast.err::before { background: var(--bad); } .toast.warn::before { background: var(--warn); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }

.notice { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(251, 191, 36, .07); border: 1px solid rgba(251, 191, 36, .22); color: #fde68a; margin-bottom: 18px; }
.notice svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.notice.info { background: var(--accent-soft); border-color: rgba(239, 68, 68, .3); color: #fecaca; }
.lock { text-align: center; padding: 80px 20px; }
.lock .l-ico { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--line); }
.lock svg { width: 32px; height: 32px; stroke: #fca5a5; fill: none; stroke-width: 1.8; }
.lock h3 { font: 600 20px var(--display); margin-bottom: 6px; }
.lock p { color: var(--muted); }

/* responsive */
@media (max-width: 1280px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .screens.c4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .g-main, .profile, .watch-layout { grid-template-columns: 1fr; } .g-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .app.menu-open .sidebar { transform: none; box-shadow: 30px 0 80px #000; }
  .main { margin-left: 0; }
  .topbar .menu-btn { display: grid; }
  .topbar, .page { padding-left: 16px; padding-right: 16px; }
  .hero { grid-template-columns: 1fr; text-align: left; } .hero-count { text-align: left; } .cap-bar { margin-left: 0; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .screens.c2, .screens.c3, .screens.c4 { grid-template-columns: 1fr; }
  .live-pill, .user .u-meta { display: none; }
  .appeals, .net { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .g-4 { grid-template-columns: 1fr; } }
