/* Site teması (editör hariç bütün sayfalar): açık, ferah; bilgisayar koyu moddaysa otomatik koyu.
   Editör bu dosyayı yüklemez, kendi koyu temasında kalır. */
body.site {
  --bg: #f6f7fb; --bg2: #eef1f8; --panel: #ffffff; --panel2: #f2f4f9; --line: #e3e7ef; --line2: #d5dbe7;
  --text: #121726; --muted: #5f6b80; --accent: #2563eb; --accent-2: #2563eb; --accent-h: #1d4ed8; --accent-soft: #e8efff;
  --violet: #7c3aed; --danger: #dc2626; --danger-soft: #fdecec; --ok: #16a34a; --ok-soft: #e7f6ec; --warn: #b45309; --warn-soft: #fff4e0;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
  --radius: 14px; --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --head: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  body.site {
    --bg: #0b0f19; --bg2: #0f1524; --panel: #121a2b; --panel2: #18223a; --line: #223050; --line2: #2c3b5e;
    --text: #e8ecf6; --muted: #98a4bd; --accent: #5b8cff; --accent-2: #3b6fff; --accent-h: #6d9aff; --accent-soft: #1a2950;
    --violet: #a78bfa; --danger: #f87171; --danger-soft: #3a1c22; --ok: #4ade80; --ok-soft: #14301f; --warn: #fbbf24; --warn-soft: #36290f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
body.site h1, body.site h2, body.site h3, body.site h4 { font-family: var(--head); letter-spacing: -.015em; color: var(--text); }
body.site h1 { font-size: 30px; font-weight: 800; line-height: 1.2; }
body.site h2 { font-size: 20px; font-weight: 700; }
body.site a { color: var(--accent); }
body.site a:hover { text-decoration: none; color: var(--accent-h); }
body.site ::selection { background: var(--accent-soft); }

/* ---------- form ve düğmeler ---------- */
body.site input[type=text], body.site input[type=email], body.site input[type=password], body.site input[type=number],
body.site input[type=search], body.site select, body.site textarea {
  background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
body.site input:focus, body.site select:focus, body.site textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
body.site input:disabled { opacity: .6; }
body.site label { font-size: 13px; font-weight: 500; color: var(--muted); }
body.site .btn {
  background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 16px; font-weight: 600; font-size: 14px;
  color: var(--text); transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
body.site .btn:hover { background: var(--panel2); border-color: var(--line2); color: var(--text); }
body.site .btn:active { transform: translateY(1px); }
body.site .btn.primary { background: linear-gradient(135deg, var(--accent-2), var(--violet)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .25); }
body.site .btn.primary:hover { filter: brightness(1.07); color: #fff; }
body.site .btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
body.site .btn.ghost:hover, body.site .btn.ghost.on { background: var(--panel2); color: var(--text); }
body.site .btn.danger { color: var(--danger); }
body.site .btn.danger:hover { background: var(--danger-soft); }
body.site .btn.small { padding: 5px 11px; font-size: 13px; border-radius: 8px; }
body.site .btn.big { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
body.site .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- genel kutular ---------- */
body.site .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
body.site .page { flex: 1; width: 100%; max-width: 1180px; padding: 32px 20px 56px; }
body.site.wide .page { max-width: 1320px; }
body.site .muted { color: var(--muted); }
body.site .note { background: var(--accent-soft); border: 1px solid transparent; color: var(--text); border-radius: 10px; padding: 10px 14px; }
body.site .error { color: var(--danger); }
body.site .warn { color: var(--warn); }
body.site table th { color: var(--muted); font-size: 11.5px; letter-spacing: .06em; }
body.site table th, body.site table td { border-bottom-color: var(--line); padding: 12px 12px; }
body.site tr:hover td { background: var(--panel2); }
body.site .badge { border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 12px; background: var(--panel2); border-color: var(--line); }
body.site .badge.admin { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
body.site .badge.ok { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
body.site .badge.blocked { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
body.site .badge.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
body.site .tabs { border-bottom-color: var(--line); gap: 2px; overflow-x: auto; }
body.site .tabs button { font-weight: 600; padding: 10px 14px; color: var(--muted); white-space: nowrap; }
body.site .tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
body.site .stat { background: var(--panel); border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
body.site .stat .v { font-family: var(--head); font-size: 28px; }
body.site .bars .bar i { background: linear-gradient(var(--accent), var(--violet)); }
body.site .empty { background: var(--panel); border: 1.5px dashed var(--line2); border-radius: var(--radius); padding: 56px 16px; }
body.site .meter { background: var(--panel2); border: 0; height: 9px; border-radius: 99px; }
body.site .meter i { background: linear-gradient(90deg, var(--accent), var(--violet)); border-radius: 99px; }
body.site .meter i.full { background: var(--danger); }
body.site .payinfo { background: var(--panel2); border-color: var(--line); border-radius: 10px; }
body.site #toasts .toast { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 11px 14px; }
body.site #toasts .toast.error { border-left-color: var(--danger); }
body.site #toasts .toast.ok { border-left-color: var(--ok); }
body.site .modal-bg { background: rgba(10, 14, 25, .45); backdrop-filter: blur(3px); }
body.site .modal { background: var(--panel); border-color: var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 24px; }
body.site .check { font-size: 14px; }
body.site .check input { accent-color: var(--accent); width: 16px; height: 16px; }
body.site .dcard { background: var(--panel); border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; transition: transform .15s, box-shadow .15s, border-color .15s; }
body.site .dcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line2); }
body.site .dcard .name { font-family: var(--head); font-size: 16px; }

/* ---------- üst menü (navbar) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 24, 40, .05); }
.nav-in { max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 20px; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; flex: none; }
.logo svg { width: 34px; height: 34px; }
.logo svg rect { fill: var(--accent-2); }
.logo svg path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linejoin: round; }
.logo svg circle { fill: #fff; }
.logo-t { font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo-t span { background: linear-gradient(135deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
body.site .nav-links a { padding: 8px 13px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14.5px; white-space: nowrap; }
body.site .nav-links a:hover, body.site .nav-links a.active { color: var(--text); background: var(--panel2); }
.nav-links .only-mobile { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.umenu { position: relative; }
.ubtn { display: inline-flex; align-items: center; gap: 9px; background: var(--panel); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; color: var(--text); font-weight: 600; font-size: 14px; }
.ubtn:hover { background: var(--panel2); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-2), var(--violet)); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.uname { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; transition: transform .15s; }
.umenu.open .caret { transform: rotate(180deg); }
.udrop { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity .15s, transform .15s; transform-origin: top right; }
.umenu.open .udrop { opacity: 1; transform: none; pointer-events: auto; }
.udrop-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; }
.udrop-head span { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.udrop a, .udrop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; color: var(--text) !important; font-size: 14px; font-weight: 500; background: none; border: 0; cursor: pointer; text-align: left; }
.udrop a:hover, .udrop button:hover { background: var(--panel2); }
.udrop svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.udrop .logout { color: var(--danger) !important; }
.udrop .logout svg { stroke: var(--danger); }
.udrop-sep { height: 1px; background: var(--line); margin: 4px 6px; }

/* ---------- reklam alanları ---------- */
body.site .ad-slot { position: relative; margin: 28px auto; max-width: 1180px; width: calc(100% - 40px); padding: 22px 16px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
body.site .ad-label { position: absolute; top: 8px; left: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .8; }
body.site .ad-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
/* reklam görseli yerin ölçüsüne oturur (ör. 970×250); dar ekranda orantılı küçülür */
body.site .ad-slot .ad { width: min(var(--ad-w, 970px), 100%); }
body.site .ad-slot img { display: block; width: 100%; height: auto; aspect-ratio: var(--ad-w-n, auto); max-height: var(--ad-h, 250px); object-fit: contain; border-radius: 10px; }
body.site .ad-ph .ad-empty { max-width: var(--ad-w, 970px); min-height: min(var(--ad-h, 90px), 120px); margin: 0 auto; display: grid; place-items: center; }
body.site .ad-ph { background: repeating-linear-gradient(135deg, var(--panel), var(--panel) 12px, var(--panel2) 12px, var(--panel2) 24px); box-shadow: none; border-style: dashed; border-color: var(--line2); }
body.site .ad-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 14px 0 6px; }
body.site .page .ad-slot, body.site .land .ad-slot { width: 100%; }

/* ---------- alt bilgi (footer) ---------- */
.foot { margin-top: auto; background: var(--panel); border-top: 1px solid var(--line); }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 48px 20px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 16px; max-width: 360px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin: 4px 0 6px; }
.foot-col a, .foot-col .addr { color: var(--muted) !important; font-size: 14px; display: flex; align-items: flex-start; gap: 8px; word-break: break-word; }
.foot-col a:hover { color: var(--accent) !important; }
.foot-col svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; margin-top: 3px; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); color: var(--muted) !important; transition: all .15s; }
.social a:hover { color: #fff !important; background: linear-gradient(135deg, var(--accent-2), var(--violet)); border-color: transparent; transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .f { fill: currentColor; stroke: none; }
.foot-bottom { max-width: 1240px; margin: 0 auto; padding: 18px 20px 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.foot-bottom a { color: var(--muted) !important; }

/* ---------- ana sayfa ---------- */
body.site .land { flex: 1; width: 100%; max-width: none; padding: 0; margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; text-align: left; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 140%; pointer-events: none;
  background: radial-gradient(600px 300px at 20% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
              radial-gradient(500px 280px at 85% 20%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); }
.eyebrow b { background: linear-gradient(135deg, var(--accent-2), var(--violet)); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 18px 0 18px; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 13.5px; }
.hero .trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mock { position: relative; border-radius: 18px; background: #141a26; border: 1px solid #263149; box-shadow: var(--shadow-lg), 0 30px 80px rgba(37, 99, 235, .18); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1b2335; border-bottom: 1px solid #263149; }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #3a4560; }
.mock-top i:nth-child(1) { background: #ff6b6b; } .mock-top i:nth-child(2) { background: #f9c74f; } .mock-top i:nth-child(3) { background: #43d17a; }
.mock-top span { margin-left: 10px; color: #8a97b2; font-size: 12px; font-family: var(--font); }
.mock svg { display: block; width: 100%; height: auto; }
.section { padding: 64px 0; }
.section.alt { background: var(--bg2); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.sec-head .kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 10px; font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 16.5px; margin: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feat .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 17px; margin: 0 0 6px; }
.feat p { color: var(--muted); margin: 0; font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--violet)); box-shadow: 0 6px 14px rgba(37, 99, 235, .3); }
.step h3 { font-size: 17px; margin: 8px 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: 14.5px; }
.cta-band { margin: 0 auto; max-width: 1180px; border-radius: 22px; padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--accent-2), var(--violet)); color: #fff; box-shadow: 0 20px 50px rgba(37, 99, 235, .3); }
.cta-band h2 { color: #fff !important; font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { background: #fff; color: #1e3a8a; border-color: #fff; }
.cta-band .btn:hover { background: #eef2ff; color: #1e3a8a; }

/* ---------- paket kartları (ana sayfa + Paketim) ---------- */
body.site .pkg-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
body.site .pkg { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; gap: 10px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
body.site .pkg:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
body.site .pkg.current, body.site .pkg.featured { border: 2px solid var(--accent); }
body.site .pkg .ribbon { position: absolute; top: -12px; right: 18px; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--violet)); }
body.site .pkg h2 { font-size: 19px; }
body.site .pkg .price { font-family: var(--head); font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
body.site .pkg ul { gap: 8px; font-size: 14px; margin-top: 6px; }
body.site .pkg li { display: flex; gap: 8px; align-items: flex-start; }
body.site .pkg li::before { content: "✓"; color: var(--ok); font-weight: 800; }
body.site .pkg li.no { text-decoration: none; opacity: .55; }
body.site .pkg li.no::before { content: "–"; color: var(--muted); }
body.site .pkg .btn { justify-content: center; margin-top: 8px; }

/* ---------- üye sayfaları ---------- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ph h1 { margin: 0; }
.ph p { margin: 4px 0 0; color: var(--muted); }
.ph .actions { justify-content: flex-start; }
body.site .quota { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; margin: 0 0 18px; font-size: 14px; }
.search { position: relative; }
.search svg { position: absolute; left: 11px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; }
body.site .search input { padding-left: 36px; width: 230px; }
.prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.prof-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.prof-head .avatar { width: 58px; height: 58px; font-size: 21px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 14px; margin: 16px 0 0; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.perm-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.perm-list span { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.perm-list span.no { background: var(--panel2); color: var(--muted); text-decoration: line-through; }

/* ---------- giriş / üye ol ---------- */
.auth-page { flex: 1; display: grid; grid-template-columns: 1fr 1fr; max-width: 1180px; width: 100%; margin: 0 auto; padding: 48px 20px 64px; gap: 48px; align-items: center; }
.auth-side h1 { font-size: clamp(30px, 4vw, 42px); margin: 14px 0 14px; }
.auth-side p { color: var(--muted); font-size: 16.5px; margin: 0 0 24px; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-side li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.auth-side li i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-style: normal; font-weight: 800; font-size: 14px; }
body.site .auth-card { max-width: 440px; width: 100%; justify-self: end; padding: 30px; border-radius: 20px; }
body.site .auth-card .tabs { margin-bottom: 8px; }
body.site .auth-card .btn.primary { width: 100%; justify-content: center; margin-top: 20px; padding: 12px; font-size: 15px; }

/* ---------- içerik sayfası ---------- */
body.site .page-body { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 40px 20px 56px; }
body.site .page-body article { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 40px 44px; box-shadow: var(--shadow); font-size: 16px; line-height: 1.75; }
body.site .page-body article h1 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 18px; }
body.site .page-body article h2 { font-size: 22px; margin: 30px 0 10px; }
body.site .page-body article img { border-radius: 12px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted) !important; }

/* ---------- yönetim paneli ---------- */
body.site .page > h1 { margin-bottom: 18px; }
body.site .form-grid { gap: 0 18px; }
body.site .actions .btn.small { padding: 4px 10px; }

/* ---------- yönetim: logo / favicon yükleme ---------- */
.upl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 14px; }
.upl { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px dashed var(--line2); border-radius: 12px; background: var(--panel2); }
.upl-prev { width: 120px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  background-image: linear-gradient(45deg, var(--panel2) 25%, transparent 25%, transparent 75%, var(--panel2) 75%), linear-gradient(45deg, var(--panel2) 25%, transparent 25%, transparent 75%, var(--panel2) 75%);
  background-size: 12px 12px; background-position: 0 0, 6px 6px; }
.upl-prev.favicon { width: 64px; }
.upl-prev.ad { width: 220px; height: auto; aspect-ratio: 970 / 250; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.slot { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font-size: 13.5px; }
.slot .btn { align-self: flex-start; margin-top: 4px; }
.slot-prev { width: 100%; max-height: 70px; border-radius: 8px; border: 1.5px dashed var(--line2); background: var(--panel2); display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 600; }
.ad-thumb { width: 120px; max-height: 50px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: var(--panel2); display: block; }
.upl-prev img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* logo: yükseklik Site / SEO'daki "Logo yüksekliği" ayarından (varsayılan 36 px); büyük dosya da olsa bu boyuta küçülür */
body.site .logo-img { height: var(--logo-h, 36px); width: auto; max-width: min(240px, 45vw); max-height: 56px; object-fit: contain; display: block; flex: none; }
body.site .foot .logo-img { height: calc(var(--logo-h, 36px) + 4px); max-height: 60px; }

/* ---------- her ekran boyutu: laptop (1280–1440), masaüstü (1920), 2K / 4K ve mobil ---------- */
body.site { --wrap: 1240px; --gut: clamp(16px, 3vw, 28px); --z: 1; min-height: calc(100vh / var(--z)); }
.wrap, .nav-in, .foot-in, .foot-bottom, .auth-page { max-width: var(--wrap); padding-left: var(--gut); padding-right: var(--gut); }
body.site .page { max-width: var(--wrap); padding-left: var(--gut); padding-right: var(--gut); }
body.site.wide .page { max-width: calc(var(--wrap) + 160px); }
body.site .ad-slot { max-width: calc(var(--wrap) - 2 * var(--gut)); width: calc(100% - 2 * var(--gut)); }
body.site .page .ad-slot, body.site .page-body .ad-slot { width: 100%; max-width: none; }
.cta-band { max-width: none; }
/* paket kartları: en dar 260, en geniş 360 piksel; sığdığı kadar yan yana, ortalı */
body.site .pkg-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
body.site .pkg-grid > .pkg { flex: 0 1 272px; min-width: min(100%, 250px); } /* hepsi eşit genişlikte, eksik satır ortalı */
body.site .pkg-grid > .pkg:only-child, body.site .pkg-grid > .pkg:first-child:nth-last-child(2), body.site .pkg-grid > .pkg:last-child:nth-child(2) { flex-basis: 340px; } /* 1–2 paket: biraz daha geniş */
@media (max-width: 620px) { body.site .pkg-grid > .pkg { flex: 1 1 100%; } }
body.site .pkg-grid > .empty { flex: 1 1 100%; }
body.site .pkg .price { font-size: clamp(26px, 2.4vw, 34px); white-space: nowrap; }
body.site .pkg .price small { white-space: nowrap; }
body.site .pkg ul { font-size: 14px; }
.feat-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hero h1 { overflow-wrap: anywhere; }
.nav-links { mask-image: linear-gradient(90deg, #000 90%, transparent); }
@media (max-width: 1280px) {
  .hero-grid { gap: 32px; }
  .hero p.lead { font-size: 17px; }
  .nav-in { gap: 14px; }
}
@media (max-width: 1100px) {
  .uname { max-width: 110px; }
  .foot-in { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-in .foot-col:last-child { grid-column: 1 / -1; }
}
/* tablet ve telefon: menü hamburger düğmesine geçer */
@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--panel);
    border-bottom: 1px solid var(--line); padding: 8px 12px 14px; box-shadow: var(--shadow-lg); mask-image: none; }
  .nav.mopen .nav-links { display: flex; }
  body.site .nav-links a { padding: 12px 14px; }
  .nav-links .only-mobile { display: block; }
  .burger { display: inline-flex; }
}
/* büyük ekranlar: her şey orantılı büyür (yazılar okunur, sayfa boş kalmaz) */
@media (min-width: 1800px) { body.site { zoom: 1.1; --z: 1.1; } }
@media (min-width: 2300px) { body.site { zoom: 1.25; --z: 1.25; } }
@media (min-width: 3000px) { body.site { zoom: 1.5; --z: 1.5; } }

/* ---------- mobil ---------- */
@media (max-width: 980px) {
  .hero-grid, .auth-page, .prof-grid { grid-template-columns: 1fr; }
  .mock { max-width: 640px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  body.site .auth-card { justify-self: stretch; max-width: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 12px 14px; box-shadow: var(--shadow-lg); }
  .nav.mopen .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .only-mobile { display: block; }
  .burger { display: inline-flex; }
  .hide-sm { display: none !important; }
  .ubtn { padding: 3px; }
  .nav-in { gap: 10px; }
  .hero { padding: 44px 0 40px; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  body.site .page-body article { padding: 26px 20px; }
  .cta-band { padding: 32px 24px; }
  body.site .search input { width: 100%; }
}

/* Ana sayfa bölüm menüsü: yumuşak kaydırma, sabit başlığın altında kalmasın */
html { scroll-behavior: smooth; }
#ozellikler, #nasil-kullanilir, #paketler { scroll-margin-top: 80px; }
/* style.css body yüksekliğini sabitliyor; sitede üst menü sabit (sticky) kalsın diye serbest bırak */
body.site { height: auto; min-height: 100vh; }
/* Bulunulan sayfanın menü öğesi mavi yanar */
body.site .nav-links a.active, body.site .nav-links a.active:hover, body.site .btn.ghost.on { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
/* ---------- Destek ---------- */
.nav-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 1px; }
.tk-table .tk-row { cursor: pointer; }
.tk-table .tk-row:hover td { background: var(--panel2); }
.tk-table .tk-row.unread td { font-weight: 600; }
.tk-empty { text-align: center; padding: 36px 20px; }
.tk-thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.tk-msg { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; max-width: 820px; width: 100%; }
.tk-msg.staff { align-self: flex-end; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.tk-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 8px; }
.tk-meta span { color: var(--muted); }
.tk-meta .btn { margin-left: auto; }
.tk-msg.staff .tk-meta b { color: var(--accent); }
.tk-body { white-space: pre-wrap; word-wrap: break-word; line-height: 1.6; color: var(--text); }
.tk-edit textarea { width: 100%; }
.tk-form label { display: block; margin: 14px 0 6px; }
.tk-form select, .tk-form input, .tk-form textarea { display: block; width: 100%; box-sizing: border-box; }
.tk-form .row label { display: inline; margin: 0; }
.tk-form .row select { display: inline-block; width: auto; }/* üye sayfaları: iç boşluk genişliğe dahil, sayfa yana taşmasın */
body.site .page { box-sizing: border-box; margin-left: auto; margin-right: auto; }
/* ---------- Yönetim paneli: sekmeler en üstte, başlığın içinde ---------- */
body.site.wide .nav-in { max-width: calc(var(--wrap) + 160px); }
.nav-admin { mask-image: none; }
.admin-tabs { display: flex; align-items: center; gap: 2px; }
.admin-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 11px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }
.admin-tabs button:hover { color: var(--text); background: var(--panel2); }
.admin-tabs button.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.admin-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-count.hidden { display: none; }
body.site .admin-page .ph { margin-bottom: 18px; }
body.site .admin-page .ph p { margin-top: 4px; }
/* özet: tıklanabilir kartlar, bekleyen işler */
body.site .stat.go { cursor: pointer; transition: transform .15s, border-color .15s; }
body.site .stat.go:hover, body.site .stat.go:focus-visible { transform: translateY(-2px); border-color: var(--accent); outline: none; }
body.site .stat.attn .v { color: #f59e0b; }
.admin-todo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; border-left: 4px solid var(--accent) !important; }
@media (max-width: 980px) {
  .nav-admin .admin-tabs { flex-direction: column; align-items: stretch; }
  .nav-admin .admin-tabs button { padding: 12px 14px; }
}/* kurumsal logo (picture: açık / koyu tema) */
.logo-pic { display: block; line-height: 0; flex: none; }
/* ---------- Üst menü: Yeni çizim ---------- */
body.site .nav-new { display: inline-flex; align-items: center; gap: 6px; }
body.site .nav-new svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
body.site .nav-links a.nav-new-m { color: var(--accent); font-weight: 600; }
/* ---------- Giriş: şifremi unuttum ---------- */
.auth-links { text-align: right; margin-top: 8px; font-size: 13px; }
.auth-links.hidden { display: none; }
/* ---------- Ayarlar: aç / kapat düğmesi ---------- */
.set-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.set-grid .card { margin: 0; }
.set-grid input[type=email], .set-grid input[type=number] { width: 100%; box-sizing: border-box; }
.set-grid label:not(.switch) { display: block; margin: 14px 0 6px; }
.set-note { font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
body.site label.switch { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--text); font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { position: relative; width: 40px; height: 22px; flex: none; border-radius: 99px; background: var(--line); transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* ---------- Destek: dosya ekleri ---------- */
.tk-hint { font-size: 12px; margin-top: 4px; }
.tk-form input[type=file] { padding: 8px; }
.tk-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body.site a.tk-file { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel2); color: var(--text); font-size: 13px; max-width: 100%; }
body.site a.tk-file:hover { border-color: var(--accent); color: var(--accent); }
.tk-file svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.tk-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.tk-file small { color: var(--muted); }
/* ---------- Özet: ziyaretçiler ---------- */
.vis-stats { margin-bottom: 4px; }
.vis-chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; margin-top: 18px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.vis-chart .vc { flex: 1; height: 100%; position: relative; min-width: 3px; }
.vis-chart .vc:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.vis-chart i { position: absolute; bottom: 0; border-radius: 3px 3px 0 0; }
.vis-chart i.pv { left: 0; right: 0; background: color-mix(in srgb, var(--accent) 35%, transparent); }
.vis-chart i.uv { left: 22%; right: 22%; background: var(--accent); }
.vis-axis { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 6px; flex-wrap: wrap; }
.vis-legend { display: inline-flex; align-items: center; gap: 6px; }
.vis-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 8px; }
.vis-legend i.pv { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.vis-legend i.uv { background: var(--accent); }
.vis-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vis-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.vis-table td:first-child { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vis-table .num { text-align: right; width: 60px; font-variant-numeric: tabular-nums; }
.vis-table .vis-bar { width: 32%; }
.vis-table .vis-bar i { display: block; height: 6px; border-radius: 3px; background: var(--accent); opacity: .75; }/* dar ekranda üst menü sığsın: Çizimlerim profil menüsünde de var */
@media (max-width: 1240px) { .nav-right a.btn.ghost.hide-sm { display: none; } }
@media (max-width: 1140px) { .nav-right .uname { display: none; } }
