/* ============================================================
   SPORFY Yönetim — "hakem masası"
   Landing ile aynı dil: kâğıt + mürekkep, tebeşir çizgisi, forma numarası rakamları.
   Açık / koyu tema: html[data-theme].
   ============================================================ */

:root {
  --bg: #F2EEE0;
  --surface: #FBF9F1;
  --surface-2: #F3EFE2;
  --line: rgba(11, 31, 22, .12);
  --line-2: rgba(11, 31, 22, .22);
  --text: #0B1F16;
  --muted: #5B6B62;
  --turf: #0D9F4C;
  --turf-d: #0A5C2E;
  --turf-soft: rgba(13, 159, 76, .12);
  --flare: #FF6B35;
  --flare-soft: rgba(255, 107, 53, .14);
  --danger: #D6342C;
  --danger-soft: rgba(214, 52, 44, .11);
  --warn: #B86E00;
  --warn-soft: rgba(224, 142, 0, .15);
  --info: #2563EB;
  --info-soft: rgba(37, 99, 235, .11);
  --violet: #7C3AED;
  --cyan: #0891B2;
  --side: #0B1F16;
  --side-2: #14322A;
  --side-text: #E8EEE6;
  --side-muted: rgba(232, 238, 230, .55);
  --shadow: 0 1px 2px rgba(11, 31, 22, .05), 0 8px 24px -12px rgba(11, 31, 22, .18);
  --f-display: 'Anybody', 'Arial Narrow', sans-serif;
  --f-body: 'Schibsted Grotesk', system-ui, sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, monospace;
  --r: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

html[data-theme='dark'] {
  --bg: #08120E;
  --surface: #0F1D17;
  --surface-2: #142720;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #E8EFE9;
  --muted: #8FA397;
  --turf: #2ECC71;
  --turf-soft: rgba(46, 204, 113, .14);
  --flare-soft: rgba(255, 107, 53, .18);
  --danger: #FF6B61;
  --danger-soft: rgba(255, 107, 97, .14);
  --warn: #F2B44A;
  --warn-soft: rgba(242, 180, 74, .14);
  --info: #6FA1FF;
  --info-soft: rgba(111, 161, 255, .15);
  --violet: #A78BFA;
  --cyan: #22D3EE;
  --side: #050D0A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--turf); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.row { display: flex; align-items: center; gap: .6rem; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 0; min-width: 0; }
.right { margin-left: auto; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Giriş ---------- */
.login {
  min-height: 100dvh; display: grid; place-items: center; padding: 1.2rem;
  background:
    radial-gradient(circle at 12% 0%, var(--turf-soft), transparent 45%),
    radial-gradient(circle at 100% 100%, var(--flare-soft), transparent 40%),
    var(--bg);
}
.login__card {
  width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); padding: 2rem 1.8rem 1.6rem;
}
.login__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.login__brand img { width: 40px; height: 40px; border-radius: 10px; }
.login__brand b { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; }
.login__brand span { display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.login h1 { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; line-height: 1; text-transform: uppercase; margin-bottom: .4rem; }
.login p { color: var(--muted); margin-bottom: 1.3rem; }
.login__err { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: 8px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: .9rem; }

/* ---------- Kabuk ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100dvh; }
.side {
  position: sticky; top: 0; height: 100dvh; overflow-y: auto; background: var(--side); color: var(--side-text);
  display: flex; flex-direction: column; padding: 1.1rem .8rem 1rem; z-index: 40;
  background-image: radial-gradient(circle at 50% 118%, transparent 0 82px, rgba(255, 255, 255, .06) 82px 84px, transparent 84px);
}
.side__brand { display: flex; align-items: center; gap: .65rem; padding: .3rem .6rem 1.1rem; text-decoration: none; }
.side__brand img { width: 34px; height: 34px; border-radius: 9px; }
.side__brand b { font-family: var(--f-display); font-weight: 900; font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; display: block; line-height: 1; }
.side__brand span { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--side-muted); }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav__group { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--side-muted); padding: 1rem .7rem .35rem; }
.nav a {
  display: flex; align-items: center; gap: .65rem; padding: .52rem .7rem; border-radius: 9px; text-decoration: none;
  font-weight: 600; font-size: .92rem; color: var(--side-text); opacity: .78; position: relative;
  transition: background .15s, opacity .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .06); opacity: 1; }
.nav a[aria-current='page'] { background: var(--side-2); opacity: 1; }
.nav a[aria-current='page']::before { content: ''; position: absolute; left: -.8rem; top: 22%; bottom: 22%; width: 4px; border-radius: 0 4px 4px 0; background: var(--turf); }
.nav svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav .count {
  margin-left: auto; min-width: 1.35rem; padding: 0 .4rem; border-radius: 99px; background: var(--flare); color: #1a0a02;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 700; text-align: center; line-height: 1.35rem;
}
.side__foot { margin-top: auto; padding: 1rem .5rem 0; font-size: .8rem; color: var(--side-muted); }
.side__foot b { display: block; color: var(--side-text); font-size: .9rem; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: .8rem; padding: .7rem clamp(1rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.top .top__menu { display: none; }
.top__title { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.view { padding: clamp(1rem, 3vw, 2rem); max-width: 1500px; width: 100%; }
.page-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .8rem 1.2rem; margin-bottom: 1.3rem; }
.page-head h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: .95; text-transform: uppercase; letter-spacing: -.005em; }
.page-head p { color: var(--muted); max-width: 52ch; margin-top: .35rem; }

/* ---------- Kontroller ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem 1rem; border-radius: 9px;
  border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: transform .12s var(--ease), background .15s, border-color .15s;
}
.btn:hover { border-color: var(--text); }
a.btn { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--turf); border-color: var(--turf); color: #04170c; }
html[data-theme='dark'] .btn--primary { color: #04170c; }
.btn--primary:hover { background: var(--turf); filter: brightness(1.08); border-color: var(--turf); }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn--danger:hover { filter: brightness(1.08); border-color: var(--danger); }
.btn--ghost { background: transparent; }
.btn--sm { padding: .32rem .7rem; font-size: .82rem; border-radius: 8px; }
.btn--icon { padding: .5rem; }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.input, .select, .textarea {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 9px; padding: .55rem .75rem;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--turf); box-shadow: 0 0 0 3px var(--turf-soft); }
.textarea { resize: vertical; min-height: 5.2rem; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.field > label, .label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .err { font-size: .82rem; color: var(--danger); font-weight: 600; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.toolbar .search { flex: 1 1 220px; max-width: 360px; }
.toolbar .select { width: auto; min-width: 9rem; }
.search { position: relative; }
.search svg { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
.search .input { padding-left: 2.2rem; }

.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tab {
  border: 1.5px solid var(--line-2); background: transparent; border-radius: 99px; padding: .3rem .9rem; font-weight: 700; font-size: .85rem;
}
.tab[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab .n { font-family: var(--f-mono); font-size: .72rem; opacity: .7; margin-left: .35rem; }

.badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .08rem .55rem; border-radius: 99px; font-size: .74rem; font-weight: 700;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap;
}
.badge--ok { background: var(--turf-soft); color: var(--turf-d); border-color: transparent; }
html[data-theme='dark'] .badge--ok { color: var(--turf); }
.badge--warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge--danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge--info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.badge--flare { background: var(--flare-soft); color: #B93E0D; border-color: transparent; }
html[data-theme='dark'] .badge--flare { color: var(--flare); }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Kart / tablo ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card__head { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.card__head h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.card__body { padding: 1.1rem; }
.grid { display: grid; gap: 1rem; }
.grid > * { min-width: 0; } /* ızgara çocuğu içeriği kadar genişleyip taşmasın */
.grid--kpi { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); margin-bottom: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.kpi { padding: 1rem 1.1rem; position: relative; overflow: hidden; }
.kpi__label { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.kpi__value { font-family: var(--f-mono); font-weight: 700; font-size: 2rem; line-height: 1.15; margin: .25rem 0 .15rem; letter-spacing: -.02em; }
.kpi__sub { font-size: .82rem; color: var(--muted); }
.kpi__sub b { color: var(--turf-d); font-weight: 700; }
html[data-theme='dark'] .kpi__sub b { color: var(--turf); }
.kpi::after { content: ''; position: absolute; right: -18px; top: -18px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--line); }
.kpi--accent { border-color: color-mix(in srgb, var(--flare) 55%, transparent); }
.kpi--accent::after { border-color: var(--flare-soft); background: var(--flare-soft); }

.attention { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.attention a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .9rem;
  background: var(--flare-soft); border: 1px solid color-mix(in srgb, var(--flare) 40%, transparent);
}
.attention a b { font-family: var(--f-mono); font-size: 1.05rem; }
.attention a:hover { border-color: var(--flare); }
.attention--clear { padding: .7rem 1rem; border-radius: 10px; background: var(--turf-soft); font-weight: 600; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }

.tablewrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  position: sticky; top: 0; text-align: left; padding: .65rem 1rem; font-family: var(--f-mono); font-size: .62rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover td { background: var(--surface-2); }
.table .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.who { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.who > div b { display: block; font-weight: 700; line-height: 1.2; }
.who > div span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.2; }
.avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  font-family: var(--f-display); font-weight: 800; font-size: .95rem; background: var(--turf-soft); color: var(--turf-d); text-transform: uppercase;
}
html[data-theme='dark'] .avatar { color: var(--turf); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.6rem; }

.pager { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.pager .btn { padding: .3rem .75rem; }

.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.empty svg { width: 54px; height: 54px; stroke: var(--line-2); fill: none; stroke-width: 1.4; margin-bottom: .6rem; }
.empty b { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .2rem; }

.sk { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 6px; height: 1em; }
@keyframes sk { to { background-position: -200% 0; } }
.sk-row td { padding: .85rem 1rem; }
.sk-card { height: 112px; border-radius: var(--r); }

/* ---------- Şikayet kartları ---------- */
.report { padding: 1rem 1.1rem; display: grid; gap: .6rem; }
.report + .report { margin-top: .8rem; }
.report__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.report__desc { padding: .6rem .8rem; border-left: 3px solid var(--flare); background: var(--surface-2); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.report__who { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .9rem; }
.linkish { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.linkish:hover { text-decoration-color: var(--turf); }

/* ---------- Modal / çekmece / bildirim ---------- */
.backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(5, 13, 10, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 1rem; animation: fade .15s; }
.modal { width: min(480px, 100%); max-height: 92dvh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); animation: pop .2s var(--ease); }
.modal--wide { width: min(640px, 100%); }
.modal__head { padding: 1.1rem 1.3rem .2rem; }
.modal__head h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.modal__body { padding: .6rem 1.3rem 1rem; color: var(--muted); }
.modal__body p { margin-bottom: .8rem; }
.modal__foot { display: flex; justify-content: flex-end; gap: .6rem; padding: .9rem 1.3rem 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { border: 1.5px solid var(--line-2); background: transparent; border-radius: 99px; padding: .25rem .8rem; font-weight: 700; font-size: .85rem; }
.chip[aria-pressed='true'] { background: var(--danger); border-color: var(--danger); color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.drawer-back { position: fixed; inset: 0; z-index: 70; background: rgba(5, 13, 10, .45); animation: fade .15s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(560px, 100%); background: var(--bg); border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); display: flex; flex-direction: column; animation: slide .25s var(--ease);
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem; display: grid; gap: 1rem; align-content: start; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: .6rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface); }
.profile { display: flex; gap: 1rem; align-items: center; }
.profile h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; }
.fact { padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.fact .label { display: block; margin-bottom: .1rem; }
.fact b { font-family: var(--f-mono); font-size: 1.15rem; }
.fact span.v { overflow-wrap: anywhere; font-weight: 600; }
.sect h3 { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.list__item { display: flex; gap: .6rem; align-items: center; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: .9rem; }
.ban-note { padding: .7rem .9rem; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-weight: 600; }

.toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: grid; gap: .5rem; width: min(380px, calc(100% - 2rem)); }
.toast { padding: .75rem 1rem; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; box-shadow: var(--shadow); animation: pop .2s var(--ease); display: flex; gap: .6rem; align-items: center; }
.toast--error { background: var(--danger); color: #fff; }
.toast--ok { background: var(--turf-d); color: #fff; }

/* ---------- Grafikler ---------- */
.chart { position: relative; width: 100%; min-height: 240px; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-family: var(--f-mono); font-size: 10px; }
.chart .tip {
  position: absolute; pointer-events: none; z-index: 5; min-width: 150px; padding: .55rem .7rem; border-radius: 9px; background: var(--text); color: var(--bg);
  font-size: .8rem; box-shadow: var(--shadow); transform: translate(-50%, -100%); margin-top: -10px;
}
.chart .tip b { display: block; font-family: var(--f-mono); font-size: .7rem; margin-bottom: .25rem; opacity: .8; }
.chart .tip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .4rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.donut { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.donut svg { width: 150px; height: 150px; flex: none; }
.donut .legend { flex-direction: column; flex: 1; min-width: 150px; gap: .35rem; }
.donut .legend div { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.donut .legend span:last-child { white-space: nowrap; font-size: .8rem; }
.hbars { display: grid; gap: .6rem; }
.hbar__top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .2rem; font-weight: 600; }
.hbar__track { height: 9px; border-radius: 99px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.hbar__fill { height: 100%; border-radius: 99px; background: var(--turf); transition: width .6s var(--ease); }

/* ---------- Bildirim formu ---------- */
.compose { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.2rem; align-items: start; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: block; padding: .6rem .8rem; border: 1.5px solid var(--line-2); border-radius: 10px; font-weight: 700; font-size: .9rem; background: var(--surface); }
.radio-card input:checked + span { border-color: var(--turf); background: var(--turf-soft); }
.radio-card input:focus-visible + span { outline: 2px solid var(--turf); outline-offset: 2px; }
.phone { width: 100%; max-width: 300px; margin-inline: auto; border: 6px solid var(--text); border-radius: 30px; padding: 2.4rem .8rem 1.4rem; background: var(--side); min-height: 280px; background-image: linear-gradient(160deg, var(--side-2), var(--side)); }
.push { background: rgba(255, 255, 255, .92); color: #0B1F16; border-radius: 14px; padding: .65rem .8rem; display: flex; gap: .6rem; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.push img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.push b { display: block; font-size: .85rem; line-height: 1.2; }
.push span { display: block; font-size: .8rem; opacity: .8; line-height: 1.3; overflow-wrap: anywhere; }
.push small { margin-left: auto; font-size: .68rem; opacity: .55; }
.suggest { position: relative; }
.suggest__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); max-height: 260px; overflow: auto; }
.suggest__list button { display: flex; width: 100%; gap: .6rem; align-items: center; padding: .5rem .7rem; border: 0; background: none; text-align: left; }
.suggest__list button:hover, .suggest__list button:focus { background: var(--surface-2); }

.meta { font-family: var(--f-mono); font-size: .72rem; background: var(--surface-2); padding: .5rem .7rem; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .4rem; }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 272px; transform: translateX(-102%); transition: transform .25s var(--ease); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .6); }
  .shell.nav-open .side { transform: none; }
  .shell.nav-open::after { content: ''; position: fixed; inset: 0; z-index: 35; background: rgba(5, 13, 10, .5); }
  .top .top__menu { display: inline-flex; }
  .compose { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .table--stack thead { display: none; }
  .table--stack td { display: block; padding: .3rem 1rem; border: 0; }
  .table--stack tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .table--stack td[data-l]::before { content: attr(data-l) ' · '; font-family: var(--f-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .table--stack .actions { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Faz 2: işletme, destek, fotoğraf, ayarlar, hedefli bildirim ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; }
.check-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; }
.check-pill span { display: inline-block; padding: .3rem .85rem; border: 1.5px solid var(--line-2); border-radius: 99px; font-weight: 700; font-size: .85rem; background: var(--surface); cursor: pointer; }
.check-pill input:checked + span { border-color: var(--turf); background: var(--turf-soft); }
.check-pill input:focus-visible + span { outline: 2px solid var(--turf); outline-offset: 2px; }
.audience { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--line-2); margin-bottom: 1rem; }
.audience b { font-family: var(--f-mono); font-size: 1.5rem; }
.audience small { color: var(--muted); display: block; line-height: 1.3; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.photo { overflow: hidden; display: flex; flex-direction: column; }
.photo__img { aspect-ratio: 1 / 1; background: var(--surface-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.photo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo__img .btn { position: absolute; right: .5rem; bottom: .5rem; }
.photo__meta { padding: .6rem .75rem; display: grid; gap: .1rem; }
.photo__strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 2px; background: var(--line); }
.photo__strip .photo__img { aspect-ratio: 4 / 3; }

.reply { margin-top: .2rem; padding: .7rem .9rem; border-left: 3px solid var(--turf); background: var(--turf-soft); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.reply small { display: block; color: var(--muted); margin-bottom: .2rem; }

.meter { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--turf); border-radius: 99px; }
.venue-card { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: grid; gap: .5rem; }
.venue-card header { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.venue-card .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; font-size: .85rem; }
.venue-card .nums b { display: block; font-family: var(--f-mono); font-size: 1rem; }

.switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 700; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 44px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked + i { background: var(--danger); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--turf); outline-offset: 2px; }
.settings { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.gate { display: grid; place-items: center; text-align: center; gap: .5rem; padding: 1.4rem 1rem; border-radius: 12px; background: var(--side); color: var(--side-text); min-height: 150px; }
.gate b { font-family: var(--f-display); font-size: 1.3rem; text-transform: uppercase; }
.gate span { opacity: .75; font-size: .88rem; max-width: 30ch; }
.roles-help { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.roles-help div { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: .88rem; }
.roles-help b { display: block; }
.side__foot button { margin-top: .5rem; }
.inline-select { width: auto; padding: .25rem .5rem; font-size: .85rem; }
