/* ═══════════════════════════════════════════════════════════════
   Orden Medya — Bonus paneli ve yönetim ekranı
   Ana siteyle aynı yazı ailesi: Bricolage Grotesque · Geist · Geist Mono
   ═══════════════════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #121210;
  --surface: #1a1a17;
  --surface-2: #22221e;
  --line: rgba(242, 239, 232, 0.09);
  --line-2: rgba(242, 239, 232, 0.16);
  --text: #f2efe8;
  --dim: #a29d91;
  --faint: #6f6b62;
  --acc: #e2471f;
  --acc-soft: rgba(226, 71, 31, 0.14);
  --acc2: #ff7a52;
  --ok: #7ad69a;
  --ok-soft: rgba(122, 214, 154, 0.12);
  --warn: #f2b84b;
  --red: #f0775e;

  --f-baslik: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --f-metin: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --yay: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-metin);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.font-display { font-family: var(--f-baslik); }
.mono { font-family: var(--f-mono); }
::selection { background: var(--acc); color: #fff; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* Eski sürümden kalan dekor katmanları artık kullanılmıyor */
.grain, .ambient, #glow { display: none; }

/* ── Üst bar ── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 16, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.topbar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.topbar .brand::before {
  content: ''; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--acc) 0 6px, var(--text) 6.5px);
}
.topbar .brand b { font-family: var(--f-baslik); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.topbar .brand span {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dim); padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px;
}
.topbar .right { display: flex; gap: 20px; align-items: center; }
.topbar a, .topbar button.link {
  color: var(--dim); font-size: 14px; text-decoration: none;
  font-family: var(--f-metin); background: none; border: 0; cursor: pointer;
}
.topbar a:hover, .topbar button.link:hover { color: var(--text); }
@media (max-width: 520px) { .topbar .brand span { display: none; } }

/* ── Görünümler ── */
.view { position: relative; z-index: 10; min-height: 100dvh; padding: 108px clamp(16px, 3vw, 32px) 64px; }
.center { display: flex; align-items: center; justify-content: center; }
.wrap { max-width: 1120px; margin: 0 auto; }

/* Kart */
.glass { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.card { padding: clamp(20px, 2.6vw, 30px); }

.eyebrow {
  display: inline-block; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc2);
}
h1.title, .title {
  font-family: var(--f-baslik); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3rem);
  margin-top: 10px; letter-spacing: -0.04em; line-height: 1.02;
}
p.dim { color: var(--dim); font-size: 15px; line-height: 1.6; margin-top: 12px; }
p.hint { color: var(--faint); font-size: 13px; line-height: 1.6; margin-top: 16px; }
p.err { color: var(--red); font-size: 13.5px; margin-top: 12px; min-height: 18px; }

/* ── Form ── */
input[type="text"], input[type="password"], input[type="url"], input[type="number"], input[type="month"], input[type="date"], select, textarea {
  width: 100%; margin-top: 18px; padding: 15px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 12px;
  font-family: var(--f-metin); font-size: 15px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
#pubId, #pass { font-family: var(--f-mono); letter-spacing: 0.02em; }
input:focus, select:focus, textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[type="month"]::-webkit-calendar-picker-indicator, input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.5; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 16px; padding: 0 24px; height: 50px; width: 100%;
  background: var(--text); color: var(--bg);
  border: 1px solid var(--text); border-radius: 999px; cursor: pointer;
  font-family: var(--f-metin); font-size: 14.5px; font-weight: 500; letter-spacing: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.ghost { background: none; border-color: var(--line-2); color: var(--text); width: auto; }
.btn.ghost:hover { border-color: var(--text); background: var(--surface-2); color: var(--text); }
.btn.kucuk { height: 38px; padding: 0 16px; font-size: 13.5px; margin-top: 0; width: auto; }

/* ── Izgara ── */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); margin-top: 24px; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
@media (max-width: 900px) { .col-3 { grid-column: span 6; } .col-4, .col-6, .col-8 { grid-column: span 12; } }

.stat-label {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim);
}
.stat-value {
  font-family: var(--f-baslik); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-top: 10px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-sub { color: var(--dim); font-size: 13.5px; margin-top: 8px; line-height: 1.5; }

/* ── Barlar ── */
.bar { position: relative; height: 8px; border-radius: 999px; background: var(--surface-2); margin-top: 18px; overflow: visible; }
.bar .fill {
  position: absolute; inset: 0 auto 0 0; width: 0%; border-radius: 999px; background: var(--acc);
  transition: width 1.4s var(--yay);
}
.bar .fill.green { background: var(--ok); }
.bar .tick { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--line-2); }
.bar .tick i {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--dim); white-space: nowrap;
}
.bar .tick.done { background: var(--ok); }
.bar .tick.done i { color: var(--ok); }

/* ── Jeton halkası ── */
.ring-wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: var(--surface-2); }
.ring .prog { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--yay); }
.ring .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .mid b { font-family: var(--f-baslik); font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.ring .mid span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--dim); margin-top: 4px; text-transform: uppercase; }

/* ── Seviye rozeti ── */
.level-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px;
  padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--dim);
}
.level-chip b { color: var(--text); font-weight: 500; }

/* ── Bonus kartı ── */
.bonus-card { position: relative; overflow: hidden; border-color: rgba(122, 214, 154, 0.22); }
.bonus-jeton { font-family: var(--f-baslik); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 3.8rem); letter-spacing: -0.045em; line-height: 1; color: var(--ok); font-variant-numeric: tabular-nums; }
.bonus-tl { font-family: var(--f-mono); font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--dim); margin-top: 10px; }
.bonus-tl b { color: var(--text); font-weight: 500; }

/* ── Tablolar ── */
table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); font-weight: 400; white-space: nowrap; }
tr:hover td { background: rgba(242, 239, 232, 0.025); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--f-mono); font-size: 13.5px; }
tr.me td { background: var(--acc-soft); }
tr.me td:first-child { box-shadow: inset 2px 0 0 var(--acc); }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ── Kutlama ── */
#fx { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.celebrate {
  position: fixed; inset: 0; z-index: 96; display: flex; align-items: center; justify-content: center;
  background: rgba(18, 18, 16, 0.7); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.5s;
}
.celebrate.show { opacity: 1; }
.celebrate .box { text-align: center; padding: 24px; }
.celebrate .big { font-family: var(--f-baslik); font-weight: 500; font-size: clamp(2.2rem, 6.4vw, 4.6rem); letter-spacing: -0.045em; line-height: 0.98; color: var(--text); }
.celebrate .sub { margin-top: 16px; font-family: var(--f-mono); letter-spacing: 0.06em; font-size: 14px; color: var(--acc2); }

/* ── Yardımcılar ── */
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.hidden { display: none !important; }
.ok { color: var(--ok); }
.acc { color: var(--acc2); }
small.note { display: block; color: var(--faint); font-size: 12.5px; line-height: 1.6; margin-top: 16px; }

/* ── Sekmeler ── */
.tabs { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.tabs button {
  height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--dim); border: 1px solid var(--line);
  font-family: var(--f-metin); font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center;
  transition: all 0.2s;
}
.tabs button:hover { color: var(--text); border-color: var(--line-2); }
.tabs button.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.tabs-ana { border-bottom: 1px solid var(--line); padding-bottom: 16px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.tabs-ana::-webkit-scrollbar { display: none; }
.tabs-ana button { flex: none; }

/* ── Dosya bırakma alanı ── */
.drop {
  margin-top: 18px; padding: 44px 24px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--line-2); border-radius: 16px;
  color: var(--dim); transition: all 0.2s; font-size: 14.5px; line-height: 1.6;
}
.drop:hover, .drop.over { border-color: var(--acc); background: var(--acc-soft); color: var(--text); }
.drop b { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════
   TALEP (İSTEK) PENCERESİ
   ═══════════════════════════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 10, 9, 0.78); backdrop-filter: blur(6px);
  animation: modalGir 0.2s ease;
}
.modal.acik { display: flex; }
body.kilit { overflow: hidden; }
@keyframes modalGir { from { opacity: 0 } to { opacity: 1 } }

.modal-kart {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: 720px; max-height: calc(100vh - 40px);
  border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: kartGir 0.28s var(--yay);
}
@keyframes kartGir { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

.modal-bas {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line);
}
.modal-bas .eyebrow { margin: 0 }
.modal-bas .title { font-size: 1.6rem !important; margin: 4px 0 0 }
.modal-kapat {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--dim); font-size: 22px; line-height: 1; transition: all 0.15s;
}
.modal-kapat:hover { border-color: var(--text); color: var(--text) }

.modal-govde { flex: 1; overflow-y: auto; padding: 0 26px 26px }
.modal-govde::-webkit-scrollbar { width: 10px }
.modal-govde::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }

.modal-govde .tabs {
  position: sticky; top: 0; z-index: 5; margin: 0 -26px 22px; padding: 16px 26px 14px;
  background: var(--surface); gap: 6px; border-bottom: 1px solid var(--line);
}
.modal-govde .tabs button { flex: 1; justify-content: center; font-size: 13px }

.tutar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.tutar-deger { font-family: var(--f-baslik); font-weight: 500; line-height: 1; font-size: clamp(1.8rem, 4.6vw, 2.5rem); letter-spacing: -0.04em; color: var(--ok); }
.tutar-deger small { font-size: 0.4em; color: var(--dim); margin-left: 6px; letter-spacing: 0.02em; font-family: var(--f-mono) }

.alan-etiket {
  display: block; margin: 24px 0 0; font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim);
}
.modal input[type="text"], .modal input[type="url"], .modal input[type="tel"],
.modal input[type="datetime-local"], .modal textarea { margin-top: 10px; }
.modal textarea { resize: vertical; min-height: 84px }
.modal input[type="tel"], .modal input[type="datetime-local"] {
  width: 100%; padding: 15px 16px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 12px; font-family: var(--f-metin); font-size: 15px; outline: none;
}
.modal input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.55; cursor: pointer; }
.modal .btn { margin-top: 22px }
.modal .btn.ghost { margin-top: 12px; height: 40px; font-size: 13px }

.uyari {
  display: flex; gap: 12px; margin-top: 20px; padding: 15px 17px; border-radius: 12px;
  background: rgba(242, 184, 75, 0.08); border: 1px solid rgba(242, 184, 75, 0.28);
  color: var(--warn); font-size: 13.5px; line-height: 1.6;
}

.link-satir { display: flex; gap: 10px; align-items: center }
.link-sil {
  flex: none; margin-top: 10px; width: 50px; height: 51px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); border-radius: 12px; color: var(--dim); font-size: 18px; transition: all 0.15s;
}
.link-sil:hover { border-color: var(--red); color: var(--red) }

.secimler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px }
.secim {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); transition: all 0.16s;
}
.secim:hover { border-color: var(--line-2) }
.secim.secili { border-color: var(--acc); background: var(--acc-soft) }
.secim input { margin-top: 3px; accent-color: var(--acc); flex: none }
.secim b { display: block; font-size: 14.5px; color: var(--text); font-weight: 500 }
.secim small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--dim); line-height: 1.5 }
@media (max-width: 560px) { .secimler { grid-template-columns: 1fr } }

/* Durum kutusu */
.durum-kutu {
  margin-top: 22px; padding: 22px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--durum, var(--acc));
}
.durum-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.rozet-durum {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--durum); border: 1px solid var(--durum);
}
.rozet-durum::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rozet-durum.canli::before { animation: nabiz 1.6s ease-in-out infinite }
@keyframes nabiz { 0%, 100% { opacity: 1 } 50% { opacity: 0.25 } }
.durum-zaman { font-family: var(--f-mono); font-size: 11px; color: var(--faint) }

.adimlar { display: flex; margin-top: 26px }
.adim { flex: 1; position: relative; text-align: center; padding-top: 30px }
.adim::before {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; z-index: 2;
  background: var(--surface-2); border: 2px solid var(--line-2); transition: all 0.3s;
}
.adim::after { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 1; }
.adim:first-child::after { display: none }
.adim.gecti::before { background: var(--durum); border-color: var(--durum) }
.adim.gecti::after { background: var(--durum) }
.adim.aktif::before { transform: translateX(-50%) scale(1.25) }
.adim b { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em; font-weight: 400; color: var(--faint); }
.adim.gecti b { color: var(--text) }
.adim small { display: block; margin-top: 4px; font-size: 11px; color: var(--faint) }

.durum-red {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  background: rgba(240, 119, 94, 0.08); border: 1px solid rgba(240, 119, 94, 0.28); color: var(--red); font-size: 13.5px; line-height: 1.6;
}

.ozet-liste { margin-top: 22px; border-top: 1px solid var(--line) }
.os { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line) }
.os:last-child { border-bottom: 0 }
.os > span { flex: none; width: 122px; padding-top: 3px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.os > div { flex: 1; font-size: 14px; line-height: 1.65; color: var(--text); min-width: 0 }
.os b { font-weight: 500 }

.link-rozetler { display: flex; flex-wrap: wrap; gap: 8px }
.link-rozet {
  display: inline-flex; align-items: center; gap: 7px; max-width: 260px; height: 34px;
  padding: 0 14px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line-2); color: var(--text); font-size: 13px; transition: all 0.15s;
}
.link-rozet:hover { border-color: var(--acc); color: var(--acc2) }
.link-rozet i { font-style: normal; opacity: 0.5; font-size: 10px; flex: none }
.link-rozet u { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

@media (max-width: 620px) {
  .modal { padding: 0 }
  .modal-kart { max-width: none; max-height: 100vh; height: 100vh; border-radius: 0; border: 0 }
  .modal-bas, .modal-govde { padding-left: 18px; padding-right: 18px }
  .modal-govde .tabs { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px }
  .os { flex-direction: column; gap: 5px }
  .os > span { width: auto }
  .adim b { font-size: 9px }
}

/* ═══════════════════════════════════════════════════════════════
   YÖNETİM PANELİ
   ═══════════════════════════════════════════════════════════════ */
.sayac {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px;
  border-radius: 999px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 600;
}

.talep-kart {
  margin-top: 16px; padding: 22px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--durum, var(--acc));
}
.talep-bas { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap }
.tur-rozet {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--dim);
}
.talep-kim { margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--text) }
.talep-kim span { font-family: var(--f-mono); font-size: 12px; color: var(--dim) }
.talep-zaman { margin-top: 3px; font-size: 12.5px; color: var(--faint) }

.talep-islem { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 20px }
.talep-islem .btn { margin: 0; width: auto; height: 38px; padding: 0 16px; font-size: 13px }
.btn.kirmizi { background: transparent; border-color: rgba(240, 119, 94, 0.45); color: var(--red) }
.btn.kirmizi:hover { background: var(--red); border-color: var(--red); color: #1a0d09 }
.btn.yesil { background: var(--ok); border-color: var(--ok); color: #0c2516 }
.btn.yesil:hover { background: #95e3b0; border-color: #95e3b0; color: #0c2516 }
.btn.sari { background: transparent; border-color: rgba(242, 184, 75, 0.5); color: var(--warn) }
.btn.sari:hover { background: var(--warn); border-color: var(--warn); color: #2a1d05 }

/* Bölüm başlığı (admin içi) */
.bolum-bas { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.bolum-bas h2 { font-family: var(--f-baslik); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.035em; }
.bolum-bas p { color: var(--dim); font-size: 14px; margin-top: 6px; max-width: 46em; line-height: 1.55; }

/* Aç / kapa anahtarı */
.anahtar { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.anahtar input { position: absolute; opacity: 0; pointer-events: none; }
.anahtar i {
  position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line-2); transition: background 0.25s, border-color 0.25s; flex: none;
}
.anahtar i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--dim); transition: transform 0.3s var(--yay), background 0.25s;
}
.anahtar input:checked + i { background: var(--ok); border-color: var(--ok); }
.anahtar input:checked + i::after { transform: translateX(22px); background: #0c2516; }
.anahtar input:focus-visible + i { outline: 2px solid var(--acc); outline-offset: 2px; }
.anahtar b { font-weight: 500; font-size: 14.5px; }
.anahtar.kucuk i { width: 40px; height: 24px; }
.anahtar.kucuk i::after { width: 16px; height: 16px; }
.anahtar.kucuk input:checked + i::after { transform: translateX(16px); }

.durum-serit {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg);
}
.durum-serit.acik { border-color: rgba(122, 214, 154, 0.35); background: var(--ok-soft); }
.durum-serit p { color: var(--dim); font-size: 13.5px; margin-top: 4px; }

/* Ekleme satırı */
.ekle-satir { display: flex; gap: 10px; align-items: stretch; margin-top: 18px; }
.ekle-satir input { margin-top: 0; flex: 1; }
.ekle-satir .btn { margin-top: 0; width: auto; height: auto; min-height: 50px; }
@media (max-width: 600px) { .ekle-satir { flex-direction: column; } .ekle-satir .btn { width: 100%; } }

/* Yayıncı listesi (admin) */
.y-liste { margin-top: 20px; display: grid; gap: 10px; }
.y-oge {
  display: grid; grid-template-columns: 28px 60px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.y-oge.pasif { opacity: 0.55; }
.y-oge.surukleniyor { opacity: 0.4; }
.y-oge.uzerinde { border-color: var(--acc); }
.y-tut { cursor: grab; color: var(--faint); display: grid; place-items: center; height: 100%; font-size: 18px; letter-spacing: -2px; }
.y-foto {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--surface-2);
  display: grid; place-items: center; font-family: var(--f-baslik); font-size: 22px; color: var(--dim); position: relative;
}
.y-foto img { width: 100%; height: 100%; object-fit: cover; }
.y-bilgi { min-width: 0; }
.y-bilgi input.y-ad {
  margin: 0; padding: 4px 8px; margin-left: -8px; width: 100%; max-width: 340px; background: transparent; border-color: transparent;
  font-family: var(--f-baslik); font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
}
.y-bilgi input.y-ad:hover { border-color: var(--line); }
.y-bilgi input.y-ad:focus { border-color: var(--acc); background: var(--surface); }
.y-alt { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--dim); margin-top: 2px; }
.y-alt a { color: var(--dim); text-decoration: none; }
.y-alt a:hover { color: var(--acc2); }
.y-uyari { color: var(--warn); }
.y-islem { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ikon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--dim);
  cursor: pointer; display: inline-grid; place-items: center; transition: all 0.15s; font-size: 15px;
}
.ikon-btn:hover { color: var(--text); border-color: var(--text); }
.ikon-btn.sil:hover { color: var(--red); border-color: var(--red); }
.ikon-btn.donuyor svg { animation: don 0.9s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }
@media (max-width: 680px) {
  .y-oge { grid-template-columns: 22px 48px minmax(0, 1fr); }
  .y-foto { width: 48px; height: 48px; }
  .y-islem { grid-column: 1 / -1; justify-content: flex-start; padding-left: 38px; }
}

.bos-durum { padding: 40px 20px; text-align: center; color: var(--dim); border: 1.5px dashed var(--line-2); border-radius: 16px; margin-top: 20px; font-size: 14.5px; line-height: 1.6; }

/* İş birliği formu (admin) */
.form-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-izgara .tam { grid-column: 1 / -1; }
.form-izgara label { display: block; margin-top: 16px; }
.form-izgara label > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); }
.form-izgara label > span em { font-style: normal; color: var(--faint); text-transform: none; letter-spacing: 0; }
.form-izgara input, .form-izgara select, .form-izgara textarea { margin-top: 8px; }
.form-izgara textarea { min-height: 90px; resize: vertical; }
.form-izgara label.anahtar { display: inline-flex; margin-top: 16px; }
.form-izgara .anahtar input { width: auto; margin: 0; }
@media (max-width: 680px) { .form-izgara { grid-template-columns: 1fr; } }
.kapak-sec { display: flex; gap: 14px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.kapak-on { width: 72px; height: 90px; border-radius: 10px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; color: var(--faint); font-size: 11px; text-align: center; }
.kapak-on img { width: 100%; height: 100%; object-fit: cover; }

.i-liste { margin-top: 20px; display: grid; gap: 10px; }
.i-oge {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.i-oge.pasif { opacity: 0.55; }
.i-kapak { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); font-size: 11px; }
.i-kapak img { width: 100%; height: 100%; object-fit: cover; }
.i-bilgi b { display: block; font-family: var(--f-baslik); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.i-bilgi span { display: block; font-size: 13px; color: var(--dim); margin-top: 3px; }
.i-bilgi .mono { font-size: 12px; color: var(--faint); }
@media (max-width: 680px) {
  .i-oge { grid-template-columns: 56px minmax(0, 1fr); }
  .i-oge .y-islem { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Hak ediş arşivi */
.ay-secici { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ay-secici button {
  height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim);
  font-family: var(--f-mono); font-size: 12.5px; cursor: pointer; transition: all 0.15s;
}
.ay-secici button:hover { color: var(--text); border-color: var(--line-2); }
.ay-secici button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.ay-secici button small { opacity: 0.6; margin-left: 6px; }
.arsiv-islem { display: flex; gap: 8px; flex-wrap: wrap; }
.tablo-kap { overflow-x: auto; }
.tehlike { border-color: rgba(240, 119, 94, 0.25); }
.tehlike .stat-label { color: var(--red); }

/* PDF çıktısı — admin-site.js bu bloğu bellekte kurar, html2pdf kâğıda basar */
.pdf-sayfa { position: static; width: 794px; background: #fff; color: #141412; font-family: var(--f-metin); padding: 44px 48px; }
.pdf-sayfa h1 { font-family: var(--f-baslik); font-weight: 500; font-size: 30px; letter-spacing: -0.03em; }
.pdf-sayfa .pdf-ust { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #141412; padding-bottom: 16px; margin-bottom: 18px; }
.pdf-sayfa .pdf-marka { font-family: var(--f-baslik); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.pdf-sayfa .pdf-marka small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; color: #66625a; letter-spacing: 0.04em; margin-top: 4px; }
.pdf-sayfa .pdf-ozet { display: flex; gap: 28px; margin: 4px 0 18px; font-size: 12px; color: #66625a; }
.pdf-sayfa .pdf-ozet b { display: block; font-family: var(--f-baslik); font-size: 20px; color: #141412; font-weight: 500; }
.pdf-sayfa table { margin-top: 0; font-size: 11.5px; }
.pdf-sayfa th { color: #66625a; border-bottom: 1px solid #141412; padding: 8px 8px; font-size: 9.5px; }
.pdf-sayfa td { border-bottom: 1px solid #e3dfd6; padding: 8px 8px; }
.pdf-sayfa td.num { font-size: 11px; }
.pdf-sayfa tr:hover td { background: none; }
.pdf-sayfa tfoot td { font-weight: 600; border-top: 2px solid #141412; border-bottom: 0; }
.pdf-sayfa .pdf-alt { margin-top: 22px; font-size: 10px; color: #8a867d; display: flex; justify-content: space-between; }

/* Bildirim (toast) */
.bildirim {
  position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); transition: opacity 0.25s, transform 0.3s var(--yay); pointer-events: none; max-width: calc(100vw - 32px);
}
.bildirim.goster { opacity: 1; transform: translate(-50%, 0); }
.bildirim.hata { background: var(--red); color: #1a0d09; }

/* ═══════════════════════════════════════════════════════════════
   YÖNETİM — EĞİTİM
   ═══════════════════════════════════════════════════════════════ */
select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--surface); color: var(--text); }
.kapak-on.yt-on { width: 128px; height: 72px; flex: none; }
.eg-admin-liste { display: grid; gap: 14px; margin-top: 20px; }
.eg-blok { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); overflow: hidden; }
.eg-blok.pasif { opacity: 0.6; }
.eg-blok-bas { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 16px 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.eg-blok-no { font-family: var(--f-mono); font-size: 13px; color: var(--acc2); }
.eg-blok-bilgi b { display: block; font-family: var(--f-baslik); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.eg-blok-bilgi span { display: block; margin-top: 2px; font-size: 13px; color: var(--dim); }
.eg-blok-dersler { list-style: none; }
.eg-ders { display: grid; grid-template-columns: 26px 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px 10px 18px; border-bottom: 1px solid var(--line); }
.eg-ders:last-child { border-bottom: 0; }
.eg-ders.pasif { opacity: 0.5; }
.eg-ders-sira { font-family: var(--f-mono); font-size: 12px; color: var(--faint); }
.eg-ders-on { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.eg-ders-on img { width: 100%; height: 100%; object-fit: cover; }
.eg-ders-bilgi b { display: block; font-weight: 500; font-size: 14.5px; }
.eg-ders-bilgi span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eg-ders-bos { padding: 16px 18px; color: var(--faint); font-size: 13.5px; }
@media (max-width: 760px) {
  .eg-blok-bas { grid-template-columns: 30px minmax(0, 1fr); }
  .eg-blok-bas .y-islem { grid-column: 1 / -1; justify-content: flex-start; }
  .eg-ders { grid-template-columns: 22px 80px minmax(0, 1fr); }
  .eg-ders .y-islem { grid-column: 1 / -1; justify-content: flex-start; }
}
.ekle-satir input + input { max-width: 260px; }
@media (max-width: 600px) { .ekle-satir input + input { max-width: none; } }

/* ═══ Detaylı analiz (yayıncı paneli) ═══ */
.an-baslik { font-size: clamp(1.6rem, 3.4vw, 2.3rem) !important; margin-top: 6px; }
.an-kart .stat-value { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.an-degisim { font-family: var(--f-mono); font-size: 12px; margin-left: 4px; white-space: nowrap; }
.kirmizi { color: var(--red); }
.level-chip.ok { color: var(--ok); border-color: rgba(122, 214, 154, 0.35); }
.level-chip.kirmizi { color: var(--red); border-color: rgba(240, 119, 94, 0.4); }

.an-saatler { display: flex; align-items: flex-end; gap: 3px; height: 170px; margin-top: 22px; padding-bottom: 20px; position: relative; }
.an-sutun { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; min-width: 0; }
.an-sutun i { display: block; width: 100%; border-radius: 4px 4px 1px 1px; background: var(--line-2); transition: height 0.6s var(--yay); }
.an-sutun.on i { background: var(--acc); }
.an-gunler .an-sutun i { background: var(--ok); }
.an-gunler .an-sutun.zayif i { background: var(--line-2); }
.an-sutun small { position: absolute; bottom: -20px; font-family: var(--f-mono); font-size: 10.5px; color: var(--faint); }
.an-sutun.bos::after { content: ''; position: absolute; bottom: 0; left: 30%; right: 30%; height: 2px; background: var(--line); }
.an-sutun:hover i { filter: brightness(1.25); }

.an-tavsiyeler { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 30px; }
.an-tavsiye { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.an-tavsiye b { font-weight: 500; font-size: 14.5px; }
.an-tavsiye p { color: var(--dim); font-size: 13.5px; line-height: 1.55; margin-top: 4px; }
.an-ikon { font-size: 20px; line-height: 1.2; flex: none; }
.an-hediye { border-color: rgba(226, 71, 31, 0.35); }
.an-hedef { border-color: rgba(122, 214, 154, 0.3); }
.an-yayinlar td, .an-yayinlar th { white-space: nowrap; }

/* ═══ Backstage aktarımı (yönetim) ═══ */
.ak-anahtar { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--warn);
  font-family: var(--f-mono); font-size: 13.5px; word-break: break-all; user-select: all; }
.ak-alanlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 24px; margin-top: 18px; }
