/* Lifav Admin — tema katmanı (Bootstrap 4/5 + DataTables üstüne). Derleme adımı yok. */
:root {
  --lf-rose: #C2365E;
  --lf-rose-2: #A82A4F;
  --lf-pink: #F06B8D;
  --lf-iris: #7B83F0;
  --lf-grad: linear-gradient(135deg, #F06B8D 0%, #7B83F0 100%);
  --lf-bg: #FAF7F5;
  --lf-surface: #FFFFFF;
  --lf-surface-2: #F6F1EE;
  --lf-surface-3: #EFE8E4;
  --lf-border: #ECE3DE;
  --lf-border-2: #E0D5CF;
  --lf-text: #1B1620;
  --lf-text-2: #3B3440;
  --lf-muted: #74697A;
  --lf-primary: #C2365E;
  --lf-primary-hover: #A82A4F;
  --lf-primary-soft: rgba(194, 54, 94, .09);
  --lf-primary-ring: rgba(194, 54, 94, .22);
  --lf-ok: #1E8A5A;
  --lf-ok-soft: rgba(30, 138, 90, .11);
  --lf-warn: #B7791F;
  --lf-warn-soft: rgba(183, 121, 31, .13);
  --lf-err: #D0383E;
  --lf-err-soft: rgba(208, 56, 62, .11);
  --lf-info: #5560D8;
  --lf-info-soft: rgba(85, 96, 216, .11);
  --lf-shadow-sm: 0 1px 2px rgba(27, 22, 32, .05);
  --lf-shadow: 0 1px 2px rgba(27, 22, 32, .04), 0 6px 24px rgba(27, 22, 32, .05);
  --lf-shadow-lg: 0 24px 64px rgba(27, 22, 32, .18);
  --lf-radius: 16px;
  --lf-radius-sm: 10px;
  --lf-sidebar-w: 268px;
  --lf-topbar-h: 64px;
  --lf-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --lf-bg: #110E14;
  --lf-surface: #1A161E;
  --lf-surface-2: #221D27;
  --lf-surface-3: #2B2531;
  --lf-border: #2E2834;
  --lf-border-2: #3A3341;
  --lf-text: #F4EEF3;
  --lf-text-2: #DCD3DB;
  --lf-muted: #A396A6;
  --lf-primary: #F06B8D;
  --lf-primary-hover: #F58BA6;
  --lf-primary-soft: rgba(240, 107, 141, .14);
  --lf-primary-ring: rgba(240, 107, 141, .3);
  --lf-ok: #4CC38A;
  --lf-ok-soft: rgba(76, 195, 138, .14);
  --lf-warn: #E3A949;
  --lf-warn-soft: rgba(227, 169, 73, .15);
  --lf-err: #F0686D;
  --lf-err-soft: rgba(240, 104, 109, .15);
  --lf-info: #959CF6;
  --lf-info-soft: rgba(149, 156, 246, .15);
  --lf-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --lf-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .25);
  --lf-shadow-lg: 0 24px 64px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- temel ---------- */
html, body { background: var(--lf-bg) !important; }
body.lf {
  margin: 0;
  color: var(--lf-text);
  font-family: var(--lf-font) !important;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.003em;
}
body.lf h1, body.lf h2, body.lf h3, body.lf h4, body.lf h5, body.lf h6 { color: var(--lf-text); font-family: var(--lf-font); letter-spacing: -.012em; }
body.lf a { color: var(--lf-primary); }
body.lf a:hover { color: var(--lf-primary-hover); }
body.lf hr { border-color: var(--lf-border); opacity: 1; }
body.lf code { color: var(--lf-primary); background: var(--lf-primary-soft); padding: 1px 6px; border-radius: 6px; }
body.lf ::selection { background: var(--lf-primary-ring); }
body.lf .text-muted, body.lf .au-muted { color: var(--lf-muted) !important; }
body.lf .text-dark { color: var(--lf-text) !important; }
body.lf .bg-white { background: var(--lf-surface) !important; }
body.lf .bg-light { background: var(--lf-surface-2) !important; color: var(--lf-text); }
body.lf .border, body.lf .border-bottom, body.lf .border-top { border-color: var(--lf-border) !important; }
body.lf .text-primary { color: var(--lf-primary) !important; }
body.lf .text-success { color: var(--lf-ok) !important; }
body.lf .text-danger { color: var(--lf-err) !important; }
body.lf .text-warning { color: var(--lf-warn) !important; }
body.lf .pointer, body.lf [role="button"] { cursor: pointer; }
body.lf .tabular, body.lf .num { font-variant-numeric: tabular-nums; }

/* ---------- yükleme perdesi ---------- */
body.lf .loader {
  position: fixed; inset: 0; z-index: 9999;
  background: color-mix(in srgb, var(--lf-bg) 55%, transparent) !important;
  backdrop-filter: blur(2px);
  display: none;
}
body.lf .loader::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 3px solid var(--lf-primary-soft);
  border-top-color: var(--lf-primary);
  animation: lf-spin .7s linear infinite;
}
body.lf.lf-booting .loader { display: block; }
@keyframes lf-spin { to { transform: rotate(360deg); } }

/* ---------- kabuk ---------- */
.lf-shell { min-height: 100vh; }
.lf-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1040;
  width: var(--lf-sidebar-w);
  background: var(--lf-surface);
  border-right: 1px solid var(--lf-border);
  display: flex; flex-direction: column;
  transition: transform .22s ease;
}
.lf-brand {
  height: var(--lf-topbar-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid var(--lf-border);
  flex-shrink: 0;
}
.lf-brand a { display: inline-flex; align-items: flex-end; gap: 8px; text-decoration: none !important; }
.lf-brand .logo { color: var(--lf-text); }
.lf-brand-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: var(--lf-grad); border-radius: 999px; padding: 2px 8px; margin-bottom: 3px;
}
.lf-nav { flex: 1; overflow-y: auto; padding: 12px 12px 24px; scrollbar-width: thin; }
.lf-nav::-webkit-scrollbar { width: 6px; }
.lf-nav::-webkit-scrollbar-thumb { background: var(--lf-border-2); border-radius: 6px; }
.lf-nav ul { list-style: none; margin: 0; padding: 0; }
.lf-group { margin-top: 6px; }
.lf-group-title {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; cursor: pointer;
  padding: 10px 10px 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lf-muted);
}
.lf-group-title i { font-size: 10px; transition: transform .2s; }
.lf-group.collapsed .lf-group-title i { transform: rotate(-90deg); }
.lf-group.collapsed ul { display: none; }
.lf-nav li a {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; margin: 1px 0;
  border-radius: 10px;
  color: var(--lf-text-2) !important; text-decoration: none !important;
  font-weight: 600; font-size: 13.5px;
  transition: background .15s, color .15s;
}
.lf-nav li a i { width: 18px; text-align: center; color: var(--lf-muted); font-size: 14px; transition: color .15s; }
.lf-nav li a:hover { background: var(--lf-surface-2); }
.lf-nav li a:hover i { color: var(--lf-text); }
.lf-nav li.activeLi a, .lf-nav li.lf-active a {
  background: var(--lf-primary-soft); color: var(--lf-primary) !important;
}
.lf-nav li.activeLi a i, .lf-nav li.lf-active a i { color: var(--lf-primary); }
.lf-nav .lf-badge {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  background: var(--lf-surface-3); color: var(--lf-text-2);
}
.lf-nav .lf-badge.hot { background: var(--lf-grad); color: #fff; }
.lf-nav .lf-badge:empty { display: none; }
.lf-sidebar-foot {
  border-top: 1px solid var(--lf-border); padding: 12px 16px;
  font-size: 12px; color: var(--lf-muted);
  display: flex; align-items: center; justify-content: space-between;
}

.lf-main { margin-left: var(--lf-sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.lf-topbar {
  position: sticky; top: 0; z-index: 1030;
  height: var(--lf-topbar-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 24px;
  background: color-mix(in srgb, var(--lf-bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--lf-border);
}
.lf-topbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--lf-grad); }
.lf-crumb { min-width: 0; }
.lf-crumb small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lf-muted); line-height: 1.2; }
.lf-crumb strong { display: block; font-size: 17px; font-weight: 800; color: var(--lf-text); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-search { margin-left: auto; position: relative; width: min(340px, 34vw); }
.lf-search input {
  width: 100%; height: 40px; border-radius: 12px;
  border: 1px solid var(--lf-border); background: var(--lf-surface);
  color: var(--lf-text); padding: 0 12px 0 36px; font: inherit; font-size: 13.5px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.lf-search input:focus { border-color: var(--lf-primary); box-shadow: 0 0 0 4px var(--lf-primary-ring); }
.lf-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--lf-muted); font-size: 13px; }
.lf-search kbd {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font: 600 11px var(--lf-font); color: var(--lf-muted); background: var(--lf-surface-2);
  border: 1px solid var(--lf-border); border-radius: 6px; padding: 1px 6px; box-shadow: none;
}
.lf-icon-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--lf-border);
  background: var(--lf-surface); color: var(--lf-text-2);
  cursor: pointer; transition: background .15s, border-color .15s;
  text-decoration: none !important; position: relative;
}
.lf-icon-btn:hover { background: var(--lf-surface-2); color: var(--lf-text); }
.lf-icon-btn .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--lf-err); box-shadow: 0 0 0 2px var(--lf-surface); }
.lf-live-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--lf-border); background: var(--lf-surface);
  color: var(--lf-text) !important; font-weight: 700; font-size: 13px; text-decoration: none !important;
}
.lf-live-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lf-muted); }
.lf-live-pill.on .pulse { background: #E5484D; box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: lf-pulse 1.6s infinite; }
@keyframes lf-pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.lf-burger { display: none; }
.lf-user { position: relative; }
.lf-avatar {
  width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--lf-grad); color: #fff; font-weight: 800; font-size: 15px;
}
.lf-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 14px; box-shadow: var(--lf-shadow-lg); padding: 6px; display: none; z-index: 1050;
}
.lf-menu.open { display: block; }
.lf-menu a, .lf-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border-radius: 9px; border: 0; background: none;
  color: var(--lf-text) !important; font: inherit; font-weight: 600; font-size: 13.5px; text-decoration: none !important; cursor: pointer;
}
.lf-menu a:hover, .lf-menu button:hover { background: var(--lf-surface-2); }
.lf-menu .danger { color: var(--lf-err) !important; }
.lf-menu-head { padding: 10px 10px 8px; border-bottom: 1px solid var(--lf-border); margin-bottom: 4px; }
.lf-menu-head strong { display: block; font-size: 14px; }
.lf-menu-head span { font-size: 12px; color: var(--lf-muted); }

.lf-content { padding: 24px; flex: 1; width: 100%; max-width: 1600px; }
body.lf .lf-content.main-content { padding: 24px; }
@media (max-width: 640px) { body.lf .lf-content.main-content { padding: 16px 12px; } }
.lf-footer { padding: 16px 24px 24px; color: var(--lf-muted); font-size: 12px; }
.lf-overlay { display: none; }

/* ---------- mobil ---------- */
@media (max-width: 1080px) {
  .lf-sidebar { transform: translateX(-100%); box-shadow: var(--lf-shadow-lg); }
  body.lf-nav-open .lf-sidebar { transform: none; }
  body.lf-nav-open .lf-overlay { display: block; position: fixed; inset: 0; z-index: 1035; background: rgba(17, 14, 20, .45); }
  .lf-main { margin-left: 0; }
  .lf-burger { display: inline-flex; }
  .lf-search { width: auto; flex: 1; max-width: 340px; }
}
@media (max-width: 640px) {
  .lf-topbar { padding: 0 12px; gap: 8px; }
  .lf-content { padding: 16px 12px; }
  .lf-search kbd, .lf-live-pill .lbl, .lf-crumb small { display: none; }
  .lf-search { display: none; }
  .lf-crumb strong { font-size: 15px; }
  .lf-live-pill { padding: 0 12px; margin-left: auto; }
  .lf-footer { padding: 12px; }
}

/* ---------- kartlar ---------- */
body.lf .card {
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  box-shadow: var(--lf-shadow);
  color: var(--lf-text);
  margin-bottom: 20px;
}
body.lf .card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--lf-border);
  padding: 16px 20px;
  min-height: 64px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  border-radius: var(--lf-radius) var(--lf-radius) 0 0;
}
body.lf .card .card-header h4, body.lf .card .card-header .card-title {
  font-size: 16px; font-weight: 800; margin: 0; color: var(--lf-text); line-height: 1.3;
}
body.lf .card .card-body { padding: 20px; }
body.lf .card .card-footer { background: transparent; border-top: 1px solid var(--lf-border); padding: 14px 20px; }
body.lf .card-header .ml-auto, body.lf .card-header .ms-auto { margin-left: auto !important; }

/* ---------- butonlar ---------- */
body.lf .btn {
  border-radius: 10px; font-weight: 700; font-size: 13px;
  padding: 8px 14px; line-height: 1.35;
  box-shadow: none !important; letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
body.lf .btn:active { transform: translateY(1px); }
body.lf .btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
body.lf .btn-lg { padding: 11px 20px; font-size: 14px; }
body.lf .btn-primary { background: var(--lf-rose) !important; border-color: var(--lf-rose) !important; color: #fff !important; }
body.lf .btn-primary:hover { background: var(--lf-rose-2) !important; border-color: var(--lf-rose-2) !important; }
body.lf .btn-grad { background: var(--lf-grad) !important; border: 0 !important; color: #fff !important; }
body.lf .btn-grad:hover { filter: brightness(1.05); }
body.lf .btn-success { background: var(--lf-ok-soft) !important; border-color: transparent !important; color: var(--lf-ok) !important; }
body.lf .btn-success:hover { background: var(--lf-ok) !important; color: #fff !important; }
body.lf .btn-danger { background: var(--lf-err-soft) !important; border-color: transparent !important; color: var(--lf-err) !important; }
body.lf .btn-danger:hover { background: var(--lf-err) !important; color: #fff !important; }
body.lf .btn-warning { background: var(--lf-warn-soft) !important; border-color: transparent !important; color: var(--lf-warn) !important; }
body.lf .btn-warning:hover { background: var(--lf-warn) !important; color: #fff !important; }
body.lf .btn-info { background: var(--lf-info-soft) !important; border-color: transparent !important; color: var(--lf-info) !important; }
body.lf .btn-info:hover { background: var(--lf-info) !important; color: #fff !important; }
body.lf .btn-secondary, body.lf .btn-light, body.lf .btn-outline-secondary, body.lf .btn-outline-primary, body.lf .btn-default {
  background: var(--lf-surface) !important; border: 1px solid var(--lf-border-2) !important; color: var(--lf-text) !important;
}
body.lf .btn-secondary:hover, body.lf .btn-light:hover, body.lf .btn-outline-secondary:hover, body.lf .btn-outline-primary:hover { background: var(--lf-surface-2) !important; }
body.lf .btn-dark { background: var(--lf-text) !important; color: var(--lf-bg) !important; border-color: var(--lf-text) !important; }
body.lf .btn.text-white.btn-success:not(:hover), body.lf .btn.text-white.btn-danger:not(:hover),
body.lf .btn.text-white.btn-warning:not(:hover), body.lf .btn.text-white.btn-info:not(:hover) { color: inherit; }
body.lf .btn-success.text-white:not(:hover) { color: var(--lf-ok) !important; }
body.lf .btn-danger.text-white:not(:hover) { color: var(--lf-err) !important; }
body.lf .btn-warning.text-white:not(:hover) { color: var(--lf-warn) !important; }
body.lf .btn-info.text-white:not(:hover) { color: var(--lf-info) !important; }
body.lf .btn.spinning { pointer-events: none; opacity: .7; }
body.lf .btn.spinning::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent; animation: lf-spin .7s linear infinite;
}
body.lf .btn-group > .btn { border-radius: 0; }
body.lf .btn-group > .btn:first-child { border-radius: 10px 0 0 10px; }
body.lf .btn-group > .btn:last-child { border-radius: 0 10px 10px 0; }

/* ---------- formlar ---------- */
body.lf label, body.lf .form-label { font-weight: 700; font-size: 12.5px; color: var(--lf-text-2); margin-bottom: 6px; }
body.lf .form-control, body.lf .custom-select, body.lf .form-select, body.lf select.form-control,
body.lf input[type="text"]:not(.lf-plain), body.lf input[type="number"], body.lf input[type="email"], body.lf input[type="password"], body.lf input[type="date"], body.lf input[type="datetime-local"], body.lf input[type="url"], body.lf textarea {
  background-color: var(--lf-surface) !important;
  border: 1px solid var(--lf-border-2) !important;
  border-radius: 10px !important;
  color: var(--lf-text) !important;
  font-size: 13.5px;
  min-height: 40px;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
body.lf textarea.form-control { min-height: 90px; }
body.lf .form-control-sm { min-height: 32px; font-size: 12.5px; }
body.lf .form-control:focus, body.lf .form-select:focus, body.lf textarea:focus, body.lf input:focus {
  border-color: var(--lf-primary) !important;
  box-shadow: 0 0 0 4px var(--lf-primary-ring) !important;
  outline: none;
}
body.lf .form-control::placeholder { color: var(--lf-muted); opacity: .8; }
body.lf .form-control:disabled, body.lf .form-control[readonly] { background: var(--lf-surface-2) !important; opacity: 1; }
body.lf select.form-control, body.lf .form-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2374697A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px !important;
  padding-right: 34px !important;
}
body.lf input[type="file"].form-control { padding: 7px 10px; }
body.lf input[type="file"]::file-selector-button {
  border: 0; border-radius: 8px; padding: 4px 10px; margin-right: 10px;
  background: var(--lf-primary-soft); color: var(--lf-primary); font-weight: 700; cursor: pointer;
}
body.lf .form-check-input:checked, body.lf .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--lf-primary); border-color: var(--lf-primary); }
body.lf .input-group-text { background: var(--lf-surface-2); border-color: var(--lf-border-2); color: var(--lf-muted); border-radius: 10px; }
body.lf .form-text, body.lf small.form-text { color: var(--lf-muted) !important; }
body.lf .form-group { margin-bottom: 16px; }

/* anahtar (switch) */
body.lf .switch { width: 44px; height: 24px; }
body.lf .switch .slider { background: var(--lf-surface-3); border: 1px solid var(--lf-border-2); border-radius: 999px; }
body.lf .switch .slider:before { width: 18px; height: 18px; left: 2px; bottom: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
body.lf .switch input:checked + .slider { background: var(--lf-primary); border-color: var(--lf-primary); }
body.lf .switch input:checked + .slider:before { transform: translateX(20px); }
body.lf .switch input:focus + .slider { box-shadow: 0 0 0 4px var(--lf-primary-ring); }

/* ---------- tablolar ---------- */
body.lf .table { color: var(--lf-text); margin-bottom: 0; --bs-table-bg: transparent; --bs-table-color: var(--lf-text); --bs-table-striped-bg: transparent; --bs-table-striped-color: var(--lf-text); --bs-table-hover-bg: var(--lf-surface-2); --bs-table-hover-color: var(--lf-text); --bs-table-border-color: var(--lf-border); }
body.lf .table > :not(caption) > * > * { background-color: transparent; color: inherit; box-shadow: none; }
body.lf .table thead th, body.lf table.dataTable thead th {
  background: var(--lf-surface-2) !important;
  color: var(--lf-muted) !important;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1px solid var(--lf-border) !important; border-top: 0 !important;
  padding: 11px 14px !important; white-space: nowrap; vertical-align: middle;
}
body.lf .table thead th:first-child { border-top-left-radius: 10px; }
body.lf .table thead th:last-child { border-top-right-radius: 10px; }
body.lf .table td, body.lf table.dataTable tbody td {
  border-top: 0 !important; border-bottom: 1px solid var(--lf-border) !important;
  padding: 12px 14px !important; vertical-align: middle; font-size: 13.5px;
}
body.lf .table-striped tbody tr:nth-of-type(odd) { background: transparent !important; }
body.lf .table tbody tr { transition: background .12s; }
body.lf .table tbody tr:hover { background: var(--lf-surface-2) !important; }
body.lf .table tbody tr:last-child td { border-bottom: 0 !important; }
body.lf .table-sm td, body.lf .table-sm th { padding: 8px 10px !important; }
body.lf .table img { border-radius: 10px; object-fit: cover; }
body.lf .table .btn { margin: 2px 2px 2px 0; }
body.lf .table-responsive { border: 0; display: block; width: 100%; overflow-x: auto; }

/* DataTables */
body.lf .dataTables_wrapper { color: var(--lf-text); }
body.lf .dataTables_wrapper .row:first-child { margin-bottom: 12px; align-items: center; }
body.lf .dataTables_wrapper .dataTables_length label, body.lf .dataTables_wrapper .dataTables_filter label {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--lf-muted); margin: 0;
}
body.lf .dataTables_wrapper .dataTables_length select {
  width: auto !important; min-height: 34px; height: 34px; padding: 0 30px 0 10px !important;
}
body.lf .dataTables_wrapper .dataTables_filter { text-align: right; }
body.lf .dataTables_wrapper .dataTables_filter input {
  margin-left: 0 !important; width: 260px !important; max-width: 100%; min-height: 36px; height: 36px;
  padding-left: 34px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374697A' stroke-width='2.4' stroke-linecap='round'%3e%3ccircle cx='11' cy='11' r='7'/%3e%3cpath d='m20 20-3.5-3.5'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important; background-position: 11px center !important; background-size: 14px !important;
}
body.lf .dataTables_wrapper .dataTables_info { color: var(--lf-muted); font-size: 12.5px; padding-top: 14px !important; }
body.lf .dataTables_wrapper .dataTables_paginate { padding-top: 10px !important; }
body.lf .dataTables_wrapper .dataTables_processing {
  background: var(--lf-surface) !important; color: var(--lf-text); border: 1px solid var(--lf-border);
  border-radius: 12px; box-shadow: var(--lf-shadow); font-weight: 700; padding: 12px 16px !important; height: auto !important;
  width: 180px; margin-left: -90px; z-index: 5;
}
body.lf .pagination { gap: 4px; margin: 0; flex-wrap: wrap; }
body.lf .page-item .page-link {
  border: 1px solid var(--lf-border) !important; border-radius: 9px !important;
  background: var(--lf-surface); color: var(--lf-text-2); font-weight: 700; font-size: 12.5px;
  min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; box-shadow: none !important;
}
body.lf .page-item .page-link:hover { background: var(--lf-surface-2); color: var(--lf-text); }
body.lf .page-item.active .page-link { background: var(--lf-rose) !important; border-color: var(--lf-rose) !important; color: #fff !important; }
body.lf .page-item.disabled .page-link { opacity: .45; background: var(--lf-surface); }
body.lf table.dataTable { border-collapse: separate !important; border-spacing: 0; width: 100% !important; margin-top: 4px !important; margin-bottom: 4px !important; }
body.lf table.dataTable thead .sorting::before, body.lf table.dataTable thead .sorting::after,
body.lf table.dataTable thead .sorting_asc::before, body.lf table.dataTable thead .sorting_asc::after,
body.lf table.dataTable thead .sorting_desc::before, body.lf table.dataTable thead .sorting_desc::after { opacity: .35; bottom: .7em; }
body.lf table.dataTable td.dataTables_empty { text-align: center; color: var(--lf-muted); padding: 40px 14px !important; }
@media (max-width: 767px) {
  body.lf .dataTables_wrapper .dataTables_filter, body.lf .dataTables_wrapper .dataTables_length { text-align: left; margin-bottom: 8px; }
  body.lf .dataTables_wrapper .dataTables_filter input { width: 100% !important; }
  body.lf .dataTables_wrapper .dataTables_filter label { width: 100%; }
}

/* ---------- rozetler ---------- */
body.lf .badge {
  border-radius: 999px; font-weight: 700; font-size: 11.5px; padding: 4px 9px; letter-spacing: 0;
  line-height: 1.25; vertical-align: middle;
}
body.lf .badge-success, body.lf .badge.bg-success, body.lf .bg-success.badge { background: var(--lf-ok-soft) !important; color: var(--lf-ok) !important; }
body.lf .badge-danger, body.lf .badge.bg-danger { background: var(--lf-err-soft) !important; color: var(--lf-err) !important; }
body.lf .badge-warning, body.lf .badge.bg-warning { background: var(--lf-warn-soft) !important; color: var(--lf-warn) !important; }
body.lf .badge-info, body.lf .badge.bg-info { background: var(--lf-info-soft) !important; color: var(--lf-info) !important; }
body.lf .badge-primary, body.lf .badge.bg-primary { background: var(--lf-primary-soft) !important; color: var(--lf-primary) !important; }
body.lf .badge-secondary, body.lf .badge-light, body.lf .badge.bg-secondary, body.lf .badge.bg-light, body.lf .badge-transparent { background: var(--lf-surface-3) !important; color: var(--lf-text-2) !important; }
body.lf .badge-dark, body.lf .badge.bg-dark { background: var(--lf-text) !important; color: var(--lf-bg) !important; }
body.lf .badge.text-white { color: inherit; }
body.lf .badge-success.text-white { color: var(--lf-ok) !important; }
body.lf .badge-danger.text-white { color: var(--lf-err) !important; }

/* ---------- sekmeler ---------- */
body.lf .nav-tabs { border-bottom: 0; gap: 4px; background: var(--lf-surface-2); padding: 4px; border-radius: 12px; display: inline-flex; flex-wrap: wrap; }
body.lf .nav-tabs .nav-link {
  border: 0 !important; border-radius: 9px !important; padding: 7px 14px; margin: 0;
  color: var(--lf-muted) !important; font-weight: 700; font-size: 13px; background: transparent;
}
body.lf .nav-tabs .nav-link:hover { color: var(--lf-text) !important; }
body.lf .nav-tabs .nav-link.active, body.lf .nav-tabs .nav-item.show .nav-link {
  background: var(--lf-surface) !important; color: var(--lf-text) !important; box-shadow: var(--lf-shadow-sm);
}
body.lf .card-tab { margin-left: 12px; }
body.lf .nav-pills .nav-link { border-radius: 10px; color: var(--lf-text-2); font-weight: 700; font-size: 13.5px; padding: 9px 14px; margin-bottom: 2px; }
body.lf .nav-pills .nav-link:hover { background: var(--lf-surface-2); }
body.lf .nav-pills .nav-link.active, body.lf .nav-pills .show > .nav-link { background: var(--lf-primary-soft) !important; color: var(--lf-primary) !important; }

/* ---------- modallar ---------- */
body.lf .modal-backdrop.show { opacity: .5; background: #110E14; }
body.lf .modal-content {
  background: var(--lf-surface); color: var(--lf-text);
  border: 1px solid var(--lf-border); border-radius: 20px; box-shadow: var(--lf-shadow-lg);
}
body.lf .modal-header { border-bottom: 1px solid var(--lf-border); padding: 18px 22px; align-items: center; }
body.lf .modal-title { font-weight: 800; font-size: 17px; }
body.lf .modal-body { padding: 22px; }
body.lf .modal-footer { border-top: 1px solid var(--lf-border); padding: 14px 22px; }
body.lf .modal-header .close, body.lf .modal-header .btn-close {
  margin: 0 0 0 auto; padding: 0; width: 34px; height: 34px; border-radius: 10px; opacity: .7;
  background-color: var(--lf-surface-2); color: var(--lf-text); text-shadow: none; border: 0; font-size: 22px; line-height: 1;
}
body.lf .modal-header .btn-close { background-size: 11px; background-position: center; }
html[data-theme="dark"] body.lf .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
body.lf .modal-header .close:hover, body.lf .modal-header .btn-close:hover { opacity: 1; }

/* ---------- açılır menü, uyarılar, listeler ---------- */
body.lf .dropdown-menu { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 12px; box-shadow: var(--lf-shadow-lg); padding: 6px; }
body.lf .dropdown-item { border-radius: 8px; color: var(--lf-text); font-weight: 600; font-size: 13.5px; padding: 8px 10px; }
body.lf .dropdown-item:hover { background: var(--lf-surface-2); color: var(--lf-text); }
body.lf .alert { border-radius: 12px; border: 1px solid transparent; font-weight: 500; }
body.lf .alert-success { background: var(--lf-ok-soft); color: var(--lf-ok); }
body.lf .alert-danger { background: var(--lf-err-soft); color: var(--lf-err); }
body.lf .alert-warning { background: var(--lf-warn-soft); color: var(--lf-warn); }
body.lf .alert-info, body.lf .alert-primary { background: var(--lf-info-soft); color: var(--lf-info); }
body.lf .list-group-item { background: var(--lf-surface); border-color: var(--lf-border); color: var(--lf-text); }
body.lf .progress { background: var(--lf-surface-3); border-radius: 999px; height: 8px; }
body.lf .progress-bar { background: var(--lf-grad); }

/* üçüncü taraf: SweetAlert, iziToast, Summernote, Swiper */
body.lf .swal-overlay { background-color: rgba(17, 14, 20, .5); }
body.lf .swal-modal { background: var(--lf-surface); border-radius: 20px; border: 1px solid var(--lf-border); }
body.lf .swal-title { color: var(--lf-text); font-family: var(--lf-font); font-weight: 800; font-size: 20px; }
body.lf .swal-text { color: var(--lf-text-2); font-family: var(--lf-font); text-align: center; }
body.lf .swal-footer { text-align: center; }
body.lf .swal-button { border-radius: 10px; font-family: var(--lf-font); font-weight: 700; background: var(--lf-rose); box-shadow: none !important; }
body.lf .swal-button--cancel { background: var(--lf-surface-2); color: var(--lf-text); }
body.lf .swal-button--danger { background: var(--lf-err); }
body.lf .swal-icon--success:after, body.lf .swal-icon--success:before, body.lf .swal-icon--success__hide-corners { background: var(--lf-surface); }
body.lf .iziToast { border-radius: 14px !important; font-family: var(--lf-font) !important; box-shadow: var(--lf-shadow-lg) !important; }
body.lf .iziToast * { font-family: var(--lf-font) !important; }
body.lf .iziToast > .iziToast-body .iziToast-title { font-weight: 800 !important; }
body.lf .note-editor.note-frame { border-color: var(--lf-border-2) !important; border-radius: 12px; overflow: hidden; }
body.lf .note-editor .note-toolbar { background: var(--lf-surface-2) !important; border-bottom: 1px solid var(--lf-border) !important; }
body.lf .note-editor .note-editing-area .note-editable { background: var(--lf-surface) !important; color: var(--lf-text) !important; }
html[data-theme="dark"] body.lf .note-btn { background: var(--lf-surface-3); color: var(--lf-text); border-color: var(--lf-border-2); }
body.lf .swiper-button-next, body.lf .swiper-button-prev { color: var(--lf-primary); }

/* ---------- eski sayfa kalıntıları ---------- */
body.lf .section-header, body.lf .section .section-header { display: none; }
body.lf .main-content:not(.lf-content) { padding-left: 0; padding-right: 0; width: auto; }
body.lf .page-title { font-weight: 800; }
body.lf .card-wrap .card-header h4 { font-size: 13px; color: var(--lf-muted); text-transform: none; }
body.lf .main-nav-link { color: var(--lf-text-2) !important; }
body.lf .commonViewBtn { border-radius: 8px; }
body.lf .au-card { background: var(--lf-surface); border-color: var(--lf-border) !important; color: var(--lf-text); }
body.lf .au-table th { color: var(--lf-muted); }
body.lf .modal .img-fluid, body.lf .card .img-fluid { border-radius: 12px; }

/* ============ yeni bileşenler ============ */
.lf-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.lf-page-head h1 { font-size: 24px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.lf-page-head p { margin: 4px 0 0; color: var(--lf-muted); }
.lf-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.lf-grid { display: grid; gap: 16px; }
.lf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lf-span-2 { grid-column: span 2; }
@media (max-width: 1280px) { .lf-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .lf-grid-3, .lf-grid-2 { grid-template-columns: 1fr; } .lf-span-2 { grid-column: auto; } }
@media (max-width: 560px) { .lf-grid-4 { grid-template-columns: 1fr; } }

.lf-stat {
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius);
  box-shadow: var(--lf-shadow); padding: 18px 18px 16px; position: relative; overflow: hidden;
  text-decoration: none !important; color: var(--lf-text) !important; display: block;
  transition: border-color .15s, transform .15s;
}
a.lf-stat:hover { border-color: var(--lf-border-2); transform: translateY(-1px); }
.lf-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lf-stat-label { font-size: 12.5px; font-weight: 700; color: var(--lf-muted); }
.lf-stat-icon {
  width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--lf-primary-soft); color: var(--lf-primary); font-size: 15px;
}
.lf-stat-icon.ok { background: var(--lf-ok-soft); color: var(--lf-ok); }
.lf-stat-icon.warn { background: var(--lf-warn-soft); color: var(--lf-warn); }
.lf-stat-icon.err { background: var(--lf-err-soft); color: var(--lf-err); }
.lf-stat-icon.info { background: var(--lf-info-soft); color: var(--lf-info); }
.lf-stat-icon.grad { background: var(--lf-grad); color: #fff; }
.lf-stat-value { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lf-stat-sub { font-size: 12.5px; color: var(--lf-muted); margin-top: 6px; }
.lf-stat-sub .up { color: var(--lf-ok); font-weight: 700; }
.lf-stat-sub .down { color: var(--lf-err); font-weight: 700; }
.lf-stat.hero { background: var(--lf-grad); border: 0; color: #fff !important; }
.lf-stat.hero .lf-stat-label, .lf-stat.hero .lf-stat-sub { color: rgba(255, 255, 255, .85); }
.lf-stat.hero .lf-stat-icon { background: rgba(255, 255, 255, .2); color: #fff; }

.lf-panel { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius); box-shadow: var(--lf-shadow); }
.lf-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--lf-border); }
.lf-panel-head h3 { font-size: 15.5px; font-weight: 800; margin: 0; }
.lf-panel-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--lf-muted); }
.lf-panel-body { padding: 18px 20px; }
.lf-panel-body.flush { padding: 0; }

.lf-seg { display: inline-flex; background: var(--lf-surface-2); padding: 3px; border-radius: 11px; gap: 2px; }
.lf-seg button, .lf-seg a {
  border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 12.5px;
  color: var(--lf-muted); cursor: pointer; text-decoration: none !important;
}
.lf-seg button.active, .lf-seg a.active { background: var(--lf-surface); color: var(--lf-text); box-shadow: var(--lf-shadow-sm); }

.lf-list { list-style: none; margin: 0; padding: 0; }
.lf-list li { display: flex; align-items: center; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--lf-border); }
.lf-list li:last-child { border-bottom: 0; }
.lf-list .meta { min-width: 0; flex: 1; }
.lf-list .meta strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-list .meta span { font-size: 12px; color: var(--lf-muted); }
.lf-list .val { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lf-ava { width: 36px; height: 36px; border-radius: 11px; object-fit: cover; background: var(--lf-surface-3); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--lf-muted); font-size: 13px; }
.lf-ava.lg { width: 52px; height: 52px; border-radius: 15px; }
.lf-rank { width: 22px; text-align: center; font-weight: 800; color: var(--lf-muted); font-size: 12px; }

.lf-empty { text-align: center; color: var(--lf-muted); padding: 40px 20px; }
.lf-empty i { font-size: 28px; opacity: .5; display: block; margin-bottom: 10px; }

.lf-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--lf-surface-3); color: var(--lf-text-2); font-size: 12px; font-weight: 700; white-space: nowrap;
}
.lf-chip.rose { background: var(--lf-primary-soft); color: var(--lf-primary); }
.lf-chip.ok { background: var(--lf-ok-soft); color: var(--lf-ok); }
.lf-chip.warn { background: var(--lf-warn-soft); color: var(--lf-warn); }
.lf-chip.err { background: var(--lf-err-soft); color: var(--lf-err); }
.lf-chip.info { background: var(--lf-info-soft); color: var(--lf-info); }
.lf-chip.live { background: #E5484D; color: #fff; }

.lf-kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 13.5px; }
.lf-kv dt { color: var(--lf-muted); font-weight: 600; }
.lf-kv dd { margin: 0; font-weight: 600; word-break: break-word; }

.lf-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; }
.lf-help { font-size: 12px; color: var(--lf-muted); margin-top: 4px; }
.lf-section-title { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lf-muted); margin: 6px 0 12px; }
.lf-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--lf-border); }
.lf-toggle-row:last-child { border-bottom: 0; }
.lf-toggle-row strong { display: block; font-size: 14px; }
.lf-toggle-row span { font-size: 12.5px; color: var(--lf-muted); }
.lf-sticky-save { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 8px; padding: 12px 0 0; background: linear-gradient(to top, var(--lf-surface) 70%, transparent); }

/* canlı yayın kartları */
.lf-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lf-live-card { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius); overflow: hidden; box-shadow: var(--lf-shadow); display: flex; flex-direction: column; }
.lf-live-cover { position: relative; aspect-ratio: 16 / 10; background: var(--lf-grad); overflow: hidden; }
.lf-live-cover img { width: 100%; height: 100%; object-fit: cover; }
.lf-live-cover .tl { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.lf-live-cover .tr { position: absolute; top: 10px; right: 10px; }
.lf-live-cover .chip-dark { background: rgba(17, 14, 20, .6); color: #fff; backdrop-filter: blur(6px); }
.lf-live-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lf-live-host { display: flex; align-items: center; gap: 10px; }
.lf-live-host strong { display: block; font-size: 14.5px; line-height: 1.2; }
.lf-live-host span { font-size: 12px; color: var(--lf-muted); }
.lf-live-stats { display: flex; gap: 14px; font-size: 12.5px; color: var(--lf-muted); font-weight: 600; flex-wrap: wrap; }
.lf-live-stats b { color: var(--lf-text); font-variant-numeric: tabular-nums; }
.lf-live-actions { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.lf-live-actions .btn { flex: 1; }

.lf-feed { max-height: 420px; overflow-y: auto; }
.lf-feed .item { display: flex; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--lf-border); align-items: flex-start; }
.lf-feed .item:last-child { border-bottom: 0; }
.lf-feed .item .txt { flex: 1; min-width: 0; font-size: 13px; word-break: break-word; }
.lf-feed .item .txt b { font-size: 12.5px; }
.lf-feed .item .x { opacity: .5; }
.lf-feed .item:hover .x { opacity: 1; }

.lf-seat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.lf-seat { border: 1px dashed var(--lf-border-2); border-radius: 14px; padding: 12px 10px; text-align: center; min-height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; }
.lf-seat.taken { border-style: solid; background: var(--lf-surface-2); }
.lf-seat .n { font-size: 11px; color: var(--lf-muted); font-weight: 700; }

/* gösterge grafikleri */
.lf-chart { min-height: 300px; }
.lf-chart-sm { min-height: 220px; }
.apexcharts-tooltip { background: var(--lf-surface) !important; border: 1px solid var(--lf-border) !important; color: var(--lf-text) !important; box-shadow: var(--lf-shadow-lg) !important; border-radius: 10px !important; }
.apexcharts-tooltip-title { background: var(--lf-surface-2) !important; border-bottom: 1px solid var(--lf-border) !important; font-family: var(--lf-font) !important; }
.apexcharts-xaxistooltip { background: var(--lf-surface) !important; border-color: var(--lf-border) !important; color: var(--lf-text) !important; }
.apexcharts-legend-text { color: var(--lf-text-2) !important; }
.apexcharts-menu { background: var(--lf-surface) !important; border-color: var(--lf-border) !important; }

/* giriş ekranı */
.lf-login { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.lf-login-art { background: var(--lf-grad); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.lf-login-art::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lf-login-art h2 { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; max-width: 440px; }
.lf-login-art p { color: rgba(255, 255, 255, .85); max-width: 420px; }
.lf-login-art .logo { color: #fff; }
.lf-login-form { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.lf-login-card { width: 100%; max-width: 400px; }
.lf-login-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
@media (max-width: 900px) { .lf-login { grid-template-columns: 1fr; } .lf-login-art { display: none; } }

/* yardımcılar */
.lf-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.lf-trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; display: inline-block; vertical-align: bottom; }
.lf-gap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lf-sep { height: 1px; background: var(--lf-border); margin: 16px 0; }
.lf-thumb { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: var(--lf-surface-3); }
.lf-drag { cursor: grab; color: var(--lf-muted); }

/* logo (ajans paneliyle aynı çizim) */
.logo { font-family: "Sora", "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--lf-text); line-height: 1; display: inline-flex; align-items: flex-end; }
.logo-lg { font-size: 44px; }
.logo-i { position: relative; display: inline-block; }
.logo-heart { position: absolute; left: 50%; bottom: 78%; width: .36em; height: .33em; transform: translateX(-50%); }

/* bağlantı alt çizgileri */
body.lf .lf-list a, body.lf .lf-stat, body.lf .lf-panel-head a, body.lf .lf-live-card a, body.lf .lf-kv a { text-decoration: none !important; }
body.lf .lf-list a:hover strong, body.lf .lf-kv a:hover { color: var(--lf-primary); }
body.lf .table .lf-gap { flex-wrap: nowrap; }

/* ============ kullanıcı ayrıntı sayfası ============ */
.lf-uhero { overflow: hidden; }
.lf-uhero-main { display: flex; gap: 20px; padding: 22px; align-items: flex-start; flex-wrap: wrap; }
.lf-uhero-ava { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.lf-uhero-ava img, .lf-uhero-ava > span { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--lf-grad); color: #fff; font-size: 36px; font-weight: 800; box-shadow: 0 0 0 4px var(--lf-surface), 0 0 0 6px var(--lf-primary-soft); }
.lf-uhero-ava .dot { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--lf-muted); border: 3px solid var(--lf-surface); }
.lf-uhero-ava .dot.on { background: #22B573; }
.lf-uhero-id { flex: 1; min-width: 240px; }
.lf-uhero-id h1 { font-size: 24px; font-weight: 800; margin: 2px 0 4px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lf-uhero-id h1 .fa-check-circle { font-size: 18px; }
.lf-uhero-sub { display: flex; gap: 12px; flex-wrap: wrap; color: var(--lf-muted); font-size: 13px; }
.lf-uhero-meta { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--lf-text-2); }
.lf-uhero-meta i { color: var(--lf-muted); margin-right: 6px; }
.lf-uhero-actions { margin-left: auto; }
.lf-uhero-stats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--lf-border); background: var(--lf-surface-2); }
.lf-uhero-stats > * { padding: 12px 16px; border-right: 1px solid var(--lf-border); text-decoration: none !important; color: var(--lf-text) !important; display: block; transition: background .15s; }
.lf-uhero-stats > *:last-child { border-right: 0; }
.lf-uhero-stats > a:hover { background: var(--lf-surface-3); }
.lf-uhero-stats b { display: block; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lf-uhero-stats span { font-size: 11.5px; color: var(--lf-muted); font-weight: 600; }
@media (max-width: 1100px) { .lf-uhero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lf-uhero-stats > * { border-bottom: 1px solid var(--lf-border); } .lf-uhero-actions { margin-left: 0; width: 100%; } .lf-uhero-actions .lf-gap { justify-content: flex-start !important; } }
@media (max-width: 560px) { .lf-uhero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lf-uhero-main { padding: 16px; } .lf-uhero-ava, .lf-uhero-ava img, .lf-uhero-ava > span { width: 72px; height: 72px; font-size: 28px; border-radius: 20px; } }

.lf-utabs { position: sticky; top: var(--lf-topbar-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin-bottom: 12px; background: var(--lf-bg); }
.lf-utabs::-webkit-scrollbar { display: none; }
.lf-utabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; white-space: nowrap; font-weight: 700; font-size: 13.5px; color: var(--lf-muted) !important; text-decoration: none !important; border: 1px solid transparent; }
.lf-utabs a i { font-size: 13px; }
.lf-utabs a:hover { color: var(--lf-text) !important; background: var(--lf-surface); }
.lf-utabs a.active { background: var(--lf-surface); color: var(--lf-primary) !important; border-color: var(--lf-border); box-shadow: var(--lf-shadow-sm); }
.lf-utabs .lf-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--lf-primary-soft); color: var(--lf-primary); }
.lf-upane { display: none; scroll-margin-top: 140px; }
.lf-upane.active { display: block; animation: lf-fade .18s ease; }
.lf-upane [id] { scroll-margin-top: 140px; }
@keyframes lf-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.lf-uphotos { display: flex; flex-wrap: wrap; gap: 14px; }
.lf-uphotos .au-photo { position: relative; width: 132px; margin: 0; }
.lf-uphotos .au-photo img { width: 132px; height: 168px; object-fit: cover; border-radius: 14px; border: 2px solid transparent; display: block; }
.lf-uphotos .au-photo.primary img { border-color: var(--lf-primary); }
.lf-uphotos .au-photo-tag { position: absolute; top: 8px; left: 8px; }
.lf-uphotos .au-photo-tools { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.lf-uphotos .au-photo-tools .btn { padding: 4px 8px; }

.lf-pick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 260px; overflow-y: auto; }
.lf-pick.sm { max-height: 120px; }
.lf-pick label { margin: 0; cursor: pointer; font-weight: 600; }
.lf-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lf-pick span { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--lf-border-2); font-size: 12.5px; color: var(--lf-text-2); background: var(--lf-surface); transition: all .12s; }
.lf-pick label:hover span { border-color: var(--lf-primary); }
.lf-pick input:checked + span { background: var(--lf-primary-soft); border-color: var(--lf-primary); color: var(--lf-primary); }
.lf-pick input:focus-visible + span { box-shadow: 0 0 0 3px var(--lf-primary-ring); }

.lf-utoggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--lf-border); border-radius: 12px; background: var(--lf-surface-2); }
.lf-utoggle strong { display: block; font-size: 13.5px; }
.lf-utoggle span { font-size: 12px; color: var(--lf-muted); }
.lf-ubar { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--lf-border); border-radius: 14px; background: color-mix(in srgb, var(--lf-surface) 90%, transparent); backdrop-filter: blur(8px); box-shadow: var(--lf-shadow); }
.lf-danger { border-color: color-mix(in srgb, var(--lf-err) 35%, var(--lf-border)) !important; background: color-mix(in srgb, var(--lf-err) 4%, var(--lf-surface)); }

.lf-timeline { list-style: none; margin: 0; padding: 0; }
.lf-timeline li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 20px; border-bottom: 1px solid var(--lf-border); }
.lf-timeline li:last-child { border-bottom: 0; }
.lf-timeline .lf-chip { flex-shrink: 0; min-width: 130px; justify-content: center; }
.lf-timeline .meta { min-width: 0; font-size: 13.5px; }
.lf-timeline .meta span { font-size: 12px; color: var(--lf-muted); }

/* yayın yorumlarında hediye */
.lf-gift { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--lf-primary-soft); color: var(--lf-text); font-size: 13px; }
.lf-gift img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; background: var(--lf-surface); }
.lf-gift > i { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--lf-primary); }
.lf-gift b { color: var(--lf-primary); }

/* yayın izleme */
.lf-watch { display: grid; grid-template-columns: 360px minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.lf-watch .lf-feed { max-height: 610px; }
@media (max-width: 1400px) { .lf-watch { grid-template-columns: 340px minmax(0, 1fr); } .lf-watch > :nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 860px) { .lf-watch { grid-template-columns: 1fr; } }
.lf-player-panel { overflow: hidden; }
.lf-player { position: relative; aspect-ratio: 9 / 16; max-height: 560px; width: 100%; background: #0d0b10; overflow: hidden; }
.lf-player:fullscreen { max-height: none; aspect-ratio: auto; }
.lf-player-main { position: absolute; inset: 0; }
.lf-player-main video { object-fit: cover; }
.lf-player-guests { position: absolute; right: 8px; top: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 8px; z-index: 2; pointer-events: none; }
.lf-player-guest { width: 92px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; position: relative; background: #221d27; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.lf-player-guest .v { position: absolute; inset: 0; }
.lf-player-guest span { position: absolute; left: 6px; right: 6px; bottom: 5px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-player-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 35%, rgba(240,107,141,.35), transparent 60%), linear-gradient(160deg, #2a1730, #13101a); }
.lf-player-cover.on { background: rgba(13, 11, 16, .55); }
.lf-player-cover.on #pStart { display: none; }
.lf-player-cover p { margin: 0; font-weight: 600; font-size: 13.5px; color: rgba(255,255,255,.85); }
.lf-player-ava img, .lf-player-ava span { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--lf-grad); font-size: 32px; font-weight: 800; color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.15); }
.lf-player-main:not(:empty) ~ .lf-player-cover { display: none; }
.lf-player-audio { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); z-index: 2; display: flex; gap: 4px; align-items: flex-end; height: 26px; }
.lf-player-audio span { width: 5px; border-radius: 3px; background: #F06B8D; animation: lf-eq 1s ease-in-out infinite; }
.lf-player-audio span:nth-child(2) { animation-delay: .15s; } .lf-player-audio span:nth-child(3) { animation-delay: .3s; } .lf-player-audio span:nth-child(4) { animation-delay: .45s; } .lf-player-audio span:nth-child(5) { animation-delay: .6s; }
@keyframes lf-eq { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.lf-player-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--lf-border); }
.lf-player-bar .form-range { accent-color: var(--lf-primary); }
