/* Geri bildirim, yetkili paneli ve yönetim merkezi — app.css token'larını kullanır. */
.nbadge { font-style: normal; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: #ff5a6e; color: #fff; font: 700 11px var(--f-body); letter-spacing: 0; box-shadow: 0 0 12px rgba(255,90,110,.7); vertical-align: 1px; }
.nav a.nav-staff { color: var(--violet-hi); }
select { width: 100%; background: var(--ink); border: 1px solid var(--line-hi); color: var(--text); font: 500 16px var(--f-body); padding: 13px 14px; outline: none; }
select:focus, textarea:focus { border-color: var(--violet); }
textarea { width: 100%; background: var(--ink); border: 1px solid var(--line-hi); color: var(--text); font: 500 16px/1.55 var(--f-body); padding: 14px 16px; outline: none; resize: vertical; }

/* Geri bildirim */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.fb-form { --cut: 24px; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.cats { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cat { cursor: pointer; }
.cat input { position: absolute; opacity: 0; pointer-events: none; }
.cat-box { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; background: var(--ink); border: 1px solid var(--line); color: var(--muted); transition: border-color .2s, background .2s, color .2s, transform .2s; }
.cat-box b { font-family: var(--f-cond); font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: .02em; }
.cat-box em { font-style: normal; font-size: 12px; line-height: 1.35; }
.cat:hover .cat-box { border-color: var(--line-hi); transform: translateY(-2px); }
.cat input:checked + .cat-box { border-color: var(--violet); background: rgba(143,107,255,.12); color: var(--violet-hi); box-shadow: inset 0 -3px 0 var(--violet); }
.cat input:focus-visible + .cat-box { outline: 2px solid var(--violet-hi); outline-offset: 2px; }
.fb-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fb-row .field:first-child { grid-column: span 1; }
.fb-send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fb-mine { display: flex; flex-direction: column; gap: 10px; }
.fbm { --cut: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.fbm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.fbm > b { font-weight: 600; }
.reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--violet); background: rgba(143,107,255,.08); }
.reply p { margin: 6px 0 0; font-size: 14.5px; }
.gate { --cut: 22px; padding: 40px; max-width: 620px; }
.gate h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 32px; margin: 0; }
.st { display: inline-block; font-family: var(--f-cond); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; transform: skewX(-12deg); }
.st-n { background: rgba(143,107,255,.18); color: var(--violet-hi); }
.st-p { background: rgba(255,209,102,.16); color: #ffd166; }
.st-ok { background: rgba(94,230,160,.16); color: var(--ok); }
.st-x { background: rgba(255,141,155,.14); color: #ff8d9b; }

/* Yetkili paneli */
.role-tag { text-align: right; }
.role-tag span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.role-tag b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 28px; color: var(--violet-hi); text-transform: uppercase; }
.staff-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; margin-top: 30px; align-items: start; }
.sroom { --cut: 14px; padding: 14px 18px; margin-bottom: 12px; }
.sroom-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sroom-h b { font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; }
.sp { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.sp-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot-t { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #000; background: var(--dim); flex: none; }
.dot-t.t1 { background: var(--red); } .dot-t.t2 { background: var(--blue); }
.sbtn { font-family: var(--f-cond); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; cursor: pointer; background: transparent; color: var(--violet-hi); border: 1px solid var(--line-hi); }
.sbtn:hover { background: rgba(143,107,255,.12); border-color: var(--violet); }
.logs { list-style: none; margin: 0; padding: 0; max-height: 720px; overflow-y: auto; }
.logs li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.logs b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logs li div span { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logs time { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.lg-t { font-family: var(--f-cond); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 3px 0; background: rgba(255,255,255,.06); color: var(--muted); }
.lg-ban { color: #ff8d9b; background: rgba(255,141,155,.12); } .lg-kick { color: #ffd166; background: rgba(255,209,102,.12); }
.lg-mute { color: var(--violet-hi); background: rgba(143,107,255,.14); } .lg-unban, .lg-unmute { color: var(--ok); background: rgba(94,230,160,.12); }
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(3,4,10,.72); backdrop-filter: blur(6px); display: flex; justify-content: flex-end; padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) 16px; }
.drawer-in { --cut: 22px; width: min(460px, 100%); max-height: 100%; overflow-y: auto; padding: 28px; display: flex; flex-direction: column; gap: 16px; animation: slidein .35s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.dr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dr-head h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; margin: 6px 0 0; word-break: break-word; }
.dr-x { background: none; border: 1px solid var(--line-hi); color: var(--muted); width: 36px; height: 36px; cursor: pointer; flex: none; }
.dr-x:hover { color: var(--text); }
.dr-acts, .fbi-act { display: flex; flex-wrap: wrap; gap: 6px; }
.dr-a { font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; cursor: pointer; background: var(--ink); color: var(--muted); border: 1px solid var(--line); transition: all .2s; }
.dr-a:hover { color: var(--text); border-color: var(--line-hi); }
.dr-a.on { background: var(--violet); color: #fff; border-color: var(--violet); }
input[type=range] { width: 100%; accent-color: var(--violet); }

/* Yönetim merkezi */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kpi { --cut: 14px; padding: 20px; }
.kpi b { display: block; font-family: var(--f-cond); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kpi.hot b { color: #ff8d9b; text-shadow: 0 0 18px rgba(255,90,110,.6); }
.tabs .tab em { font-style: normal; color: #ff8d9b; margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip-f { font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; padding: 7px 14px; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; transition: all .2s; }
.chip-f.on { color: var(--c); border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.feed { list-style: none; margin: 0; padding: 0; position: relative; }
.feed::before { content: ""; position: absolute; left: 51px; top: 0; bottom: 0; width: 1px; background: var(--line-hi); }
.feed li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fd-k { position: relative; z-index: 1; justify-self: start; font-family: var(--f-cond); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); background: var(--void); border: 1px solid var(--c); padding: 4px 9px; }
.feed b { display: block; font-weight: 600; }
.feed li div span { display: block; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed time { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.fd-go { font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--violet-hi); text-decoration: none; text-transform: uppercase; }
.fbl { display: flex; flex-direction: column; gap: 12px; }
.fbi { --cut: 16px; padding: 22px 24px; }
.fbi-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fbi-cat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-cond); font-weight: 600; font-size: 14px; color: var(--violet-hi); }
.fbi h4 { margin: 12px 0 6px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 21px; }
.fbi-msg { margin: 0 0 16px; color: var(--text); white-space: pre-wrap; font-size: 15px; }
.fbi-reply { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.fbi-act .btn { margin-left: auto; }

@media (max-width: 1020px) {
  .fb-grid, .staff-grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cats, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-row { grid-template-columns: 1fr; }
  .feed::before { display: none; }
  .feed li { grid-template-columns: minmax(0, 1fr) auto; }
  .feed .fd-k { grid-column: 1 / -1; }
  .role-tag { text-align: left; }
}

/* Mute süresi seçimi ve sabit süre notu */
.dur-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dur { font-family: var(--f-cond); font-weight: 700; font-size: 14px; letter-spacing: .06em; padding: 11px 18px; cursor: pointer; background: var(--ink); color: var(--muted); border: 1px solid var(--line); transition: all .2s; }
.dur:hover { color: var(--text); border-color: var(--line-hi); }
.dur.on { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: 0 0 20px -6px var(--violet); }
.fixed-note { font-family: var(--f-cond); font-size: 14px; letter-spacing: .04em; color: var(--muted); padding: 11px 16px; border: 1px dashed var(--line-hi); }
.fixed-note b { color: var(--text); font-weight: 700; }
