/* SosyalBot — yumuşak gece teması. Saf siyah/beyaz yok, düşük doygunluklu vurgular. */
:root {
  --bg: #1a1d23;
  --surface: #21252c;
  --surface-2: #282d35;
  --surface-3: #30353f;
  --border: #343a45;
  --text: #d5d8de;
  --text-strong: #e6e8ec;
  --muted: #8d94a0;
  --faint: #6b7280;
  --primary: #8ea6d8;
  --primary-soft: rgba(142, 166, 216, .14);
  --on-primary: #1a1d23;
  --green: #93c2a2;  --green-soft: rgba(147, 194, 162, .14);
  --yellow: #d8bd85; --yellow-soft: rgba(216, 189, 133, .14);
  --orange: #d6a283; --orange-soft: rgba(214, 162, 131, .14);
  --red: #d58f8f;    --red-soft: rgba(213, 143, 143, .14);
  --blue: #8ab4cf;   --blue-soft: rgba(138, 180, 207, .14);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.25), 0 4px 16px rgba(0,0,0,.12);
  --sidebar-w: 240px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f4f6; --surface: #fbfbfc; --surface-2: #f0f1f4; --surface-3: #e6e8ec;
  --border: #dfe2e7; --text: #353a43; --text-strong: #23272e; --muted: #6b7280; --faint: #9aa1ab;
  --primary: #5b77b3; --primary-soft: rgba(91, 119, 179, .12); --on-primary: #fbfbfc;
  --green: #4f8a63; --green-soft: rgba(79,138,99,.12); --yellow: #9a7a36; --yellow-soft: rgba(154,122,54,.12);
  --orange: #a86a45; --orange-soft: rgba(168,106,69,.12); --red: #b05555; --red-soft: rgba(176,85,85,.12);
  --blue: #4f7f9e; --blue-soft: rgba(79,127,158,.12);
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { font-size: 15px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.3; font-weight: 600; }
h1 { font-size: 1.45rem; margin: 0; }
h2 { font-size: 1.1rem; margin: 0 0 .75rem; }
h3 { font-size: .98rem; margin: 0 0 .5rem; }
p { margin: .4rem 0 .8rem; }
code, kbd { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .85em;
  background: var(--surface-3); padding: .1em .4em; border-radius: 5px; color: var(--text-strong); word-break: break-all; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.icon { width: 18px; height: 18px; stroke-width: 1.8; flex-shrink: 0; }
.icon-sm { width: 15px; height: 15px; }

/* ---------- Yerleşim ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 1rem .75rem;
}
.brand { display: flex; align-items: center; gap: .6rem; padding: .25rem .6rem 1.25rem; color: var(--text-strong);
  font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 1rem .7rem .35rem; }
.nav a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: var(--radius-sm);
  color: var(--muted); font-weight: 500; }
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--primary-soft); color: var(--primary); }
.nav .pill { margin-left: auto; background: var(--primary); color: var(--on-primary); font-size: .7rem; font-weight: 700;
  border-radius: 99px; padding: 0 .45rem; min-width: 1.3rem; text-align: center; }
.sidebar-foot { border-top: 1px solid var(--border); padding-top: .75rem; display: flex; align-items: center; gap: .5rem; }
.user-chip { flex: 1; display: flex; align-items: center; gap: .55rem; min-width: 0; color: var(--text); font-size: .9rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center;
  font-weight: 600; color: var(--text-strong); flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; align-items: center; justify-content: space-between; padding: .7rem 1rem;
  background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.content { padding: 1.75rem 2rem 3rem; max-width: 1280px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head p { margin: .2rem 0 0; color: var(--muted); }

@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .backdrop { display: block; }
  .topbar { display: flex; }
  .content { padding: 1.25rem 1rem 3rem; }
}
.backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; }

/* ---------- Bileşenler ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-main { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .85rem; }
.mt { margin-top: 1rem; } .mb { margin-bottom: 1rem; }
.hidden { display: none !important; }

/* KPI */
.kpi { display: flex; flex-direction: column; gap: .35rem; }
.kpi-label { color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: .45rem; }
.kpi-value { font-size: 1.7rem; font-weight: 650; color: var(--text-strong); letter-spacing: -.01em; }
.delta { font-size: .8rem; font-weight: 600; }
.delta.up { color: var(--green); } .delta.down { color: var(--red); }

/* Buton */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font: inherit; font-weight: 550; font-size: .92rem; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--surface-3); text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary); filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: transparent; border-color: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { padding: .35rem .7rem; font-size: .84rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
.icon-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: .35rem; border-radius: 6px; display: inline-grid; place-items: center; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* Form */
.field { margin-bottom: 1rem; }
.label { display: block; font-weight: 550; color: var(--text-strong); margin-bottom: .4rem; font-size: .9rem; }
.help { color: var(--muted); font-size: .82rem; margin-top: .3rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), textarea, select {
  width: 100%; padding: .6rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font: inherit; font-size: .93rem; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); width: 1rem; height: 1rem; margin: 0; }
.check { display: flex; align-items: center; gap: .55rem; cursor: pointer; padding: .3rem 0; }

/* Rozet / çip */
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 600; padding: .18rem .55rem;
  border-radius: 99px; white-space: nowrap; }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-yellow { background: var(--yellow-soft); color: var(--yellow); }
.badge-orange { background: var(--orange-soft); color: var(--orange); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-gray { background: var(--surface-3); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); } .dot-red { background: var(--red); } .dot-gray { background: var(--faint); } .dot-yellow { background: var(--yellow); }

/* Platform rozeti */
.pf { --c: var(--muted); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.pf-lg { width: 40px; height: 40px; border-radius: 10px; font-size: 1.05rem; }
.pf-sm { width: 20px; height: 20px; border-radius: 5px; font-size: .68rem; }
.pf svg { width: 60%; height: 60%; }

/* Bildirim */
.flash { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid; }
.flash-ok { background: var(--green-soft); color: var(--green); border-color: transparent; }
.flash-error { background: var(--red-soft); color: var(--red); border-color: transparent; }
.flash-info { background: var(--blue-soft); color: var(--blue); border-color: transparent; }

/* Tablo */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-weight: 550; color: var(--muted); font-size: .8rem; padding: .55rem .75rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: .65rem .75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Gönderi listesi */
.post-list { display: flex; flex-direction: column; }
.post-item { display: flex; gap: .9rem; align-items: center; padding: .75rem .5rem; border-bottom: 1px solid var(--border); color: var(--text); border-radius: 8px; }
.post-item:last-child { border-bottom: none; }
.post-item:hover { background: var(--surface-2); text-decoration: none; }
.thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--surface-3); object-fit: cover; flex-shrink: 0;
  display: grid; place-items: center; color: var(--faint); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-main { flex: 1; min-width: 0; }
.post-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-strong); font-weight: 500; }
.post-meta { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .82rem; flex-wrap: wrap; margin-top: .15rem; }
.pf-stack { display: inline-flex; gap: 3px; }
.metric { display: inline-flex; align-items: center; gap: .25rem; }

.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty .icon { width: 36px; height: 36px; color: var(--faint); margin-bottom: .5rem; }

/* Sekmeler */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; overflow-x: auto; }
.tab { padding: .55rem .9rem; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 550; white-space: nowrap; }
.tab:hover { color: var(--text); text-decoration: none; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.seg label, .seg a { padding: .35rem .8rem; border-radius: 6px; cursor: pointer; color: var(--muted); font-weight: 550; font-size: .88rem; display: flex; align-items: center; gap: .35rem; }
.seg input { display: none; }
.seg label:has(input:checked), .seg a.active { background: var(--surface-3); color: var(--text-strong); text-decoration: none; }

/* Oluşturucu */
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center;
  padding: 1.75rem 1rem; border: 1.5px dashed var(--border); border-radius: var(--radius); cursor: pointer; color: var(--muted); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.dropzone input { display: none; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin-top: .75rem; }
.media-tile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.media-tile img, .media-tile video { width: 100%; height: 100%; object-fit: cover; }
.media-tile .rm { position: absolute; top: 4px; right: 4px; background: rgba(26,29,35,.75); color: #e6e8ec; border: 0; border-radius: 6px; width: 24px; height: 24px; cursor: pointer; display: grid; place-items: center; }
.media-tile .info { position: absolute; left: 4px; bottom: 4px; background: rgba(26,29,35,.75); color: #e6e8ec; font-size: .7rem; padding: 0 .35rem; border-radius: 4px; }
.toolbar { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .5rem; }
.counter { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--red); font-weight: 600; }

.acc-group { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .5rem; overflow: hidden; }
.acc-group-head { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; background: var(--surface-2); cursor: pointer; font-weight: 550; }
.acc-option { display: flex; align-items: center; gap: .6rem; padding: .45rem .75rem .45rem 2.2rem; cursor: pointer; border-top: 1px solid var(--border); }
.acc-option:hover { background: var(--surface-2); }
.chip-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border: 1px solid var(--border); border-radius: 99px;
  background: var(--surface-2); color: var(--text); cursor: pointer; font: inherit; font-size: .84rem; }
.chip-btn:hover { border-color: var(--primary); color: var(--primary); }

.checks { display: flex; flex-direction: column; gap: .4rem; }
.check-item { display: flex; gap: .55rem; align-items: flex-start; font-size: .87rem; padding: .5rem .65rem; border-radius: var(--radius-sm); }
.check-item.error { background: var(--red-soft); color: var(--red); }
.check-item.warn { background: var(--yellow-soft); color: var(--yellow); }
.check-item.fix { background: var(--blue-soft); color: var(--blue); }
.check-item.ok { background: var(--green-soft); color: var(--green); }

/* Önizleme */
.preview-shell { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.pv { background: var(--surface-2); border-radius: 10px; overflow: hidden; max-width: 380px; margin: 0 auto; font-size: .88rem; }
.pv-head { display: flex; align-items: center; gap: .55rem; padding: .65rem .75rem; }
.pv-head .avatar { width: 32px; height: 32px; }
.pv-name { font-weight: 600; color: var(--text-strong); }
.pv-media { background: #111317; display: grid; grid-template-columns: 1fr; aspect-ratio: 1; position: relative; }
.pv-media.r45 { aspect-ratio: 4/5; } .pv-media.r916 { aspect-ratio: 9/16; max-height: 520px; } .pv-media.r169 { aspect-ratio: 16/9; }
.pv-media img, .pv-media video { width: 100%; height: 100%; object-fit: cover; }
.pv-media.contain img, .pv-media.contain video { object-fit: contain; }
.pv-media .count { position: absolute; top: 8px; right: 8px; background: rgba(17,19,23,.7); color: #e6e8ec; font-size: .72rem; padding: .1rem .45rem; border-radius: 99px; }
.pv-text { padding: .65rem .75rem; white-space: pre-wrap; word-break: break-word; color: var(--text); }
.pv-text .more { color: var(--muted); }
.pv-actions { display: flex; gap: 1rem; padding: .3rem .75rem .7rem; color: var(--muted); }
.pv-x { padding: .75rem; display: flex; gap: .6rem; }
.pv-x .pv-media { border-radius: 12px; overflow: hidden; margin-top: .5rem; aspect-ratio: 16/9; }
.pv-x-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-top: .5rem; }
.pv-x-grid img { width: 100%; height: 100%; object-fit: cover; }
.pv-discord { padding: .75rem; display: flex; gap: .7rem; }
.pv-discord .pv-media { border-radius: 8px; overflow: hidden; margin-top: .4rem; max-width: 300px; aspect-ratio: auto; background: none; }
.pv-tt { position: relative; aspect-ratio: 9/16; max-height: 540px; background: #111317; }
.pv-tt video, .pv-tt img { width: 100%; height: 100%; object-fit: cover; }
.pv-tt .overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem .8rem; background: linear-gradient(transparent, rgba(17,19,23,.85)); color: #e6e8ec; font-size: .85rem; }

/* Hedef durumları */
.target { display: flex; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.target:last-child { border-bottom: none; }
.target-body { flex: 1; min-width: 0; }
.metrics { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin-top: .35rem; }
.metrics b { color: var(--text-strong); font-weight: 600; }
.error-text { color: var(--red); font-size: .84rem; margin-top: .3rem; word-break: break-word; }

/* Hesap kartları */
.acc-card { display: flex; flex-direction: column; gap: .75rem; }
.acc-card-head { display: flex; align-items: center; gap: .7rem; }
.acc-card-head .name { font-weight: 600; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: .5rem; }
.stat { background: var(--surface-2); border-radius: var(--radius-sm); padding: .5rem .6rem; }
.stat .v { font-weight: 650; color: var(--text-strong); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.stat .l { font-size: .74rem; color: var(--muted); }

.connect-card { display: flex; gap: 1rem; align-items: flex-start; }
.connect-card .body { flex: 1; min-width: 0; }

/* Rehber */
.guide { max-width: 860px; }
.guide h2 { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.guide h2:first-of-type { border-top: 0; margin-top: 1rem; }
.guide .card + .card { margin-top: 1rem; }
.guide .card > h2:first-child, .guide .card > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.1rem 2.6rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.steps > li::after { content: ""; position: absolute; left: .88rem; top: 2rem; bottom: .2rem; width: 1px; background: var(--border); }
.steps > li:last-child::after { display: none; }
.steps li strong { color: var(--text-strong); }
.steps ul { margin: .35rem 0; padding-left: 1.1rem; }
.callout { display: flex; gap: .65rem; padding: .8rem 1rem; border-radius: var(--radius-sm); margin: 1rem 0; font-size: .92rem; }
.callout .icon { margin-top: .15rem; }
.callout-info { background: var(--blue-soft); color: var(--text); } .callout-info .icon { color: var(--blue); }
.callout-warn { background: var(--yellow-soft); color: var(--text); } .callout-warn .icon { color: var(--yellow); }
.callout-ok { background: var(--green-soft); color: var(--text); } .callout-ok .icon { color: var(--green); }
.copy-box { display: flex; align-items: center; gap: .5rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .4rem .4rem .4rem .75rem; margin: .4rem 0; }
.copy-box code { background: none; padding: 0; flex: 1; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .65rem .9rem; margin-bottom: .5rem; }
.faq summary { cursor: pointer; font-weight: 550; color: var(--text-strong); }
.toc { position: sticky; top: 1.5rem; font-size: .88rem; }
.toc a { display: block; padding: .25rem 0; color: var(--muted); }

/* Isı haritası */
.heatmap { display: grid; grid-template-columns: 34px repeat(24, 1fr); gap: 2px; font-size: .68rem; color: var(--faint); }
.heatmap .cell { aspect-ratio: 1; border-radius: 3px; background: var(--surface-2); }
.heatmap .lbl { display: flex; align-items: center; }

/* Takvim (FullCalendar uyumu) */
.fc { --fc-border-color: var(--border); --fc-page-bg-color: var(--surface); --fc-neutral-bg-color: var(--surface-2);
  --fc-today-bg-color: var(--primary-soft); --fc-button-bg-color: var(--surface-2); --fc-button-border-color: var(--border);
  --fc-button-text-color: var(--text); --fc-button-hover-bg-color: var(--surface-3); --fc-button-hover-border-color: var(--border);
  --fc-button-active-bg-color: var(--primary-soft); --fc-button-active-border-color: var(--primary); --fc-event-border-color: transparent;
  --fc-list-event-hover-bg-color: var(--surface-2); font-size: .87rem; }
.fc .fc-button { font-weight: 550; text-transform: none; box-shadow: none !important; }
.fc .fc-button-primary:not(:disabled).fc-button-active { color: var(--primary); }
.fc .fc-toolbar-title { font-size: 1.1rem; color: var(--text-strong); }
.fc .fc-col-header-cell-cushion, .fc .fc-daygrid-day-number { color: var(--muted); }
.fc-event { cursor: pointer; padding: 1px 4px; border-radius: 5px; }

/* Giriş */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.auth-card { width: 100%; max-width: 380px; }

/* Yorumlar */
.comment { display: flex; gap: .75rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment.unread .comment-text { color: var(--text-strong); }
.comment-text { margin: .2rem 0 .4rem; white-space: pre-wrap; word-break: break-word; }
.reply-box { display: flex; gap: .5rem; margin-top: .4rem; }
.reply-box input { margin: 0; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 1.25rem; right: 1.25rem; background: var(--surface-3); color: var(--text-strong); padding: .65rem 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); z-index: 100; font-size: .9rem; }

/* ---------- v2.1: menü, alt sekmeler, sihirbaz ---------- */
.nav-label { padding: .9rem .7rem .3rem; }
.nav .pill-warn { background: var(--red); color: var(--on-primary); }
.crumbs { font-size: .8rem; color: var(--faint); margin-bottom: .3rem; display: flex; gap: .35rem; align-items: center; }
.crumbs a { color: var(--muted); }
.subnav { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin: -0.5rem 0 1.5rem; overflow-x: auto; }
.subnav a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; color: var(--muted); font-weight: 550;
  border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.subnav .count { background: var(--surface-3); color: var(--muted); border-radius: 99px; font-size: .72rem; padding: 0 .45rem; }

.card-link { display: block; color: inherit; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); text-decoration: none; }

.conn-card { display: flex; flex-direction: column; gap: .85rem; }
.conn-card .head { display: flex; gap: .8rem; align-items: center; }
.conn-card .title { font-weight: 650; color: var(--text-strong); font-size: 1rem; }
.conn-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.progress-steps { display: flex; gap: .35rem; }
.progress-steps span { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-3); }
.progress-steps span.on { background: var(--green); }

.wizard-step { position: relative; }
.wizard-step .step-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  background: var(--surface-3); color: var(--muted); flex-shrink: 0; }
.step-num.done { background: var(--green-soft); color: var(--green); }
.step-num.current { background: var(--primary-soft); color: var(--primary); }
.step-head h3 { margin: 0; }
.wizard-step.locked { opacity: .55; }

.acc-line { display: flex; align-items: center; gap: .65rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.acc-line:last-child { border-bottom: none; }
.acc-line .name { font-weight: 550; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-line .meta { font-size: .8rem; color: var(--muted); }

.storage-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-3); margin: .5rem 0 .75rem; }
.storage-bar span { display: block; height: 100%; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: .35rem; vertical-align: middle; }

/* Rehber görselleri (şematik ekran çizimleri) */
.shot { margin: .75rem 0 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.shot svg { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: .78rem; color: var(--faint); padding: .45rem .75rem; border-top: 1px solid var(--border); }
.guide-nav { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.guide-nav a { font-size: .82rem; padding: .3rem .7rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.guide-nav a:hover { color: var(--primary); text-decoration: none; }
.nav a { position: relative; }
.nav a.active::before { content: ""; position: absolute; left: -.75rem; top: 20%; bottom: 20%; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.crumbs { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; font-weight: 600; }
