/* 909 Bots — premium arayüz. Renkler temadan (CSS değişkenleri) gelir. */
:root {
  --accent: #ff6a00; --accent2: #ffb347; --on-accent: #fff;
  --bg: #0b0b0d; --bg2: #111114; --card: #15151a; --card2: #1b1b21; --line: #26262e;
  --text: #ececf1; --muted: #8b8b98; --ok: #3ecf8e; --warn: #f5b041; --bad: #f2555a;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45); --glass: color-mix(in srgb, var(--card) 62%, transparent);
  --line2: color-mix(in srgb, var(--line) 70%, var(--text) 30%);
  --soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --radius: 16px; --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
              radial-gradient(700px 420px at -5% 105%, color-mix(in srgb, var(--accent2) 8%, transparent), transparent 70%); }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .85em; background: var(--card2); padding: 2px 6px; border-radius: 6px; color: var(--text); border: 1px solid var(--line); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.015em; margin: 0 0 .4em; line-height: 1.2; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.block { display: block; }
.mt { margin-top: 22px; }
.ok-text { color: var(--ok); }
.danger-text { color: var(--bad); }
.ico { flex: none; vertical-align: middle; }
.grow1 { flex: 1; }
.hidden { display: none !important; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.gradient-text { background: linear-gradient(100deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ilerleme çubuğu / sayfa geçişi ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--accent), var(--accent2)); box-shadow: 0 0 10px var(--accent); transition: width .4s var(--ease), opacity .3s; }
.progress.done { opacity: 0; }
main, .app-main { animation: pagein .45s var(--ease) both; }
body.leaving main, body.leaving .app-main { opacity: 0; transform: translateY(6px); transition: .18s; }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- butonlar ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line2); background: var(--card2); color: var(--text); font: 600 14px var(--font); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s, filter .2s; white-space: nowrap; }
.btn:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line2)); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; color: var(--on-accent); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary:hover { box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 55%, transparent); filter: brightness(1.05); }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); color: var(--bad); }
.btn.danger:hover { background: color-mix(in srgb, var(--bad) 10%, transparent); border-color: var(--bad); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled], .btn.loading { opacity: .55; pointer-events: none; }
.btn.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iconbtn { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--muted); cursor: pointer; transition: .15s; font: inherit; text-decoration: none; }
.iconbtn:hover { color: var(--text); border-color: var(--accent); }
.iconbtn.danger:hover { color: var(--bad); border-color: var(--bad); }
.iconbtn .pip { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font: 700 11px/18px var(--font); text-align: center; }

/* ---------- rozet / mesaj ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--card2); color: var(--muted); border: 1px solid var(--line); }
.badge.ok { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.badge.warn { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.badge.bad { background: color-mix(in srgb, var(--bad) 13%, transparent); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 25%, transparent); }
.badge.accent { background: var(--soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); animation: pulse 2s infinite; }
.dot.warn { background: var(--warn); }
.dot.bad { background: var(--bad); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.flashes { display: grid; gap: 8px; margin-bottom: 18px; }
.public .flashes { max-width: 1180px; margin: 18px auto 0; padding: 0 24px; }
.flash { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid; font-size: 14px; animation: pagein .4s var(--ease); }
.flash.ok { background: color-mix(in srgb, var(--ok) 10%, transparent); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.flash.bad { background: color-mix(in srgb, var(--bad) 10%, transparent); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.flash.ok .ico { color: var(--ok); } .flash.bad .ico { color: var(--bad); }
.note { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 9%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); font-size: 14px; margin-bottom: 16px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 8px; }
.toast { padding: 11px 16px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 14px; animation: pagein .3s var(--ease); display: flex; gap: 9px; align-items: center; }
.toast.ok .ico { color: var(--ok); } .toast.bad .ico { color: var(--bad); }

/* ---------- üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--on-accent); font-size: 14px; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent); }
.brand-mark { color: var(--accent); }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; padding: 7px 12px; border-radius: 9px; transition: .15s; }
.topnav a:hover { color: var(--text); background: var(--card); }
.tools { display: flex; align-items: center; gap: 8px; }
.userchip { display: flex; align-items: center; gap: 9px; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 500; min-width: 0; background: var(--glass); }
.userchip img { width: 28px; height: 28px; border-radius: 50%; }
.userchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.userchip a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--muted); border-radius: 50%; }
.userchip a:hover { color: var(--bad); }
.langsw { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass); }
.langsw a { padding: 4px 10px; font-size: 12.5px; font-weight: 700; border-radius: 7px; text-decoration: none; color: var(--muted); letter-spacing: .03em; transition: .15s; }
.langsw a.on { background: var(--accent); color: var(--on-accent); }
.themesw { position: relative; }
.theme-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); display: none; z-index: 60; }
.themesw.open .theme-menu { display: block; animation: pagein .2s var(--ease); }
.theme-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 500; }
.theme-menu a:hover, .theme-menu a.on { background: var(--card2); }
.theme-menu a.on::after { content: "✓"; margin-left: auto; color: var(--accent); }
.swatch { display: inline-flex; width: 30px; height: 18px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line2); flex: none; }
.swatch i { flex: 1; }
.menu-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 4px; }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 110px; background: color-mix(in srgb, var(--bg2) 70%, transparent); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 24px; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; } .foot-links a:hover { color: var(--text); }

/* ---------- banner / duyuru ---------- */
.announce { display: flex; gap: 10px; justify-content: center; align-items: center; padding: 9px 16px; font-size: 14px; font-weight: 500; text-align: center; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, var(--bg2)), color-mix(in srgb, var(--accent2) 16%, var(--bg2))); border-bottom: 1px solid var(--line); }
.announce.warning { background: color-mix(in srgb, var(--warn) 18%, var(--bg2)); } .announce.danger { background: color-mix(in srgb, var(--bad) 18%, var(--bg2)); } .announce.success { background: color-mix(in srgb, var(--ok) 16%, var(--bg2)); }
.announce a { text-decoration: underline; font-weight: 700; }
.banner-card { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(90deg, var(--soft), transparent); margin-bottom: 18px; }
.banner-card.warning { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.banner-card.danger { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.banner-card.success { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.banner-card .ico { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent); pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; animation: float 14s ease-in-out infinite; }
.orb.a { width: 380px; height: 380px; background: var(--accent); right: -80px; top: -120px; }
.orb.b { width: 300px; height: 300px; background: var(--accent2); left: -100px; bottom: -140px; animation-delay: -6s; opacity: .22; }
@keyframes float { 50% { transform: translate(24px, 18px) scale(1.06); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; padding: 90px 24px 84px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid var(--line2); border-radius: 99px; font-size: 13px; color: var(--muted); margin-bottom: 20px; background: var(--glass); backdrop-filter: blur(8px); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 700; margin-bottom: 18px; line-height: 1.08; }
.lead { font-size: 17px; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin: 30px 0 0; flex-wrap: wrap; }

/* canlı istatistik paneli (hero sağ) */
.livepanel { position: relative; padding: 22px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid var(--line2); box-shadow: var(--shadow), inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent); }
.livepanel::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, transparent), transparent 40%, color-mix(in srgb, var(--accent2) 40%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.live-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 600; }
.live-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ok); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.live-stat { padding: 16px; border-radius: 14px; background: color-mix(in srgb, var(--card2) 70%, transparent); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.live-stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.live-stat .ico { color: var(--accent); margin-bottom: 8px; }
.live-stat b { display: block; font: 700 30px/1 var(--display); letter-spacing: -.02em; }
.live-stat span { color: var(--muted); font-size: 13px; }
.live-list { margin-top: 14px; display: grid; gap: 8px; }
.live-srv { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--card2) 60%, transparent); border: 1px solid var(--line); font-size: 14px; }
.live-srv img, .live-srv .ph { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: var(--card2); display: grid; place-items: center; color: var(--muted); }
.live-srv b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- landing bölümleri ---------- */
.sec { padding-top: 96px; }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); text-align: center; margin: 0 0 10px; }
.sec-sub2 { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 38px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; counter-reset: s; }
.step { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: var(--shadow); }
.step > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--accent); font-weight: 700; font-family: var(--display); margin-bottom: 14px; }
.step h4 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.feat { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--card) 40%, var(--bg2))); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.feat::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent); opacity: 0; transition: opacity .4s; }
.feat:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 20px 40px color-mix(in srgb, var(--accent) 12%, transparent); }
.feat:hover::after { opacity: 1; }
.feat .ico-wrap { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--accent); margin-bottom: 14px; }
.feat h4 { font-size: 16px; }
.feat p { color: var(--muted); font-size: 14px; margin: 0; }

/* kategori filtre çipleri */
.chipbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 26px; }
.chipbar button { border: 1px solid var(--line2); background: var(--glass); color: var(--muted); font: 600 13.5px var(--font); padding: 7px 15px; border-radius: 99px; cursor: pointer; transition: .2s; }
.chipbar button:hover { color: var(--text); border-color: var(--accent); }
.chipbar button.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ürün kartları */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 18px; margin-top: 10px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.pkg:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 24px 50px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow); }
.pkg.featured { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 20px 50px color-mix(in srgb, var(--accent) 12%, transparent); }
.pkg-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--card2)), var(--card2)); overflow: hidden; display: grid; place-items: center; color: color-mix(in srgb, var(--accent) 60%, var(--muted)); }
.pkg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pkg:hover .pkg-media img { transform: scale(1.07); }
.pkg-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, color-mix(in srgb, var(--card) 85%, transparent)); pointer-events: none; }
.pkg-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pkg-flag { position: absolute; top: 12px; left: 12px; z-index: 2; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 99px; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 45%, transparent); }
.pkg-sale { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.pkg h3 { font-size: 21px; margin: 0; }
.pkg-cat { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.pkg-body > p { margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: 32px; letter-spacing: -.02em; }
.price s { color: var(--muted); font-size: 16px; }
.price span { color: var(--muted); }
.pkg ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.pkg li { display: flex; gap: 10px; font-size: 14px; }
.pkg li .ico { color: var(--accent); margin-top: 4px; }
.pkg li small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.pkg-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ürün detay */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 44px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--card2); display: grid; place-items: center; color: var(--muted); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: pagein .4s var(--ease); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 84px; height: 56px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--card2); cursor: pointer; opacity: .65; transition: .2s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd h1 { font-size: 38px; }
.crumbs { color: var(--muted); font-size: 14px; display: flex; gap: 8px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }

/* çalıştığımız sunucular */
.srvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-top: 30px; }
.srv { position: relative; border: 1px solid var(--line); background: var(--card); border-radius: 20px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.srv:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: var(--shadow); }
.srv-cover { height: 118px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--card2)), color-mix(in srgb, var(--accent2) 14%, var(--card2))); position: relative; overflow: hidden; }
.srv-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.srv:hover .srv-cover img { transform: scale(1.06); }
.srv-body { padding: 0 20px 20px; }
.srv-logo { width: 62px; height: 62px; border-radius: 16px; border: 3px solid var(--card); background: var(--card2); margin-top: -32px; position: relative; object-fit: cover; display: grid; place-items: center; color: var(--accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.srv-top { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; margin-top: 10px; }
.srv h3 { font-size: 18px; margin: 0; }
.srv p { color: var(--muted); font-size: 14px; margin: 8px 0 12px; }
.srv-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.srv-ip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--bg2); border: 1px dashed var(--line2); border-radius: 10px; font: 13px ui-monospace, Consolas, monospace; cursor: pointer; transition: .2s; }
.srv-ip:hover { border-color: var(--accent); color: var(--accent); }
.srv-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.star { color: var(--accent); }

/* CTA */
.cta { margin-top: 100px; padding: 56px 28px; text-align: center; border-radius: 28px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: radial-gradient(600px 240px at 50% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent), var(--card); position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(26px, 3.6vw, 40px); }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }

.prose { padding-top: 54px; }
.prose h1 { font-size: 40px; }
.prose h2 { font-size: 22px; margin-top: 38px; }
.prose ol { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--accent); }

/* ---------- link / hata ---------- */
.linkcard { text-align: center; padding: 40px 32px; margin-top: 60px; display: grid; gap: 14px; justify-items: center; }
.linkcard-av { width: 84px; height: 84px; border-radius: 50%; }
.linkcard h1 { font-size: 28px; margin: 0; }
.linkcard .btn.block { max-width: 360px; }
.linkrow { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--card2); width: 100%; max-width: 360px; font-size: 14px; }
.linkrow.done .ico { color: var(--ok); }
.errpage { padding: 120px 0; }
.errpage h1 { font-size: 84px; }

/* ---------- uygulama düzeni ---------- */
.app { display: flex; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; width: 274px; flex: none; display: flex; flex-direction: column; background: color-mix(in srgb, var(--bg2) 88%, transparent); backdrop-filter: blur(14px); border-right: 1px solid var(--line); z-index: 40; }
.side-top { padding: 20px 20px 12px; }
.side-scroll { flex: 1; overflow-y: auto; padding: 4px 12px 20px; }
.side-bottom { padding: 14px; border-top: 1px solid var(--line); }
.side-bottom .userchip { width: 100%; }
.side-bottom .userchip a { margin-left: auto; }
.nav-label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); opacity: .75; padding: 18px 10px 6px; }
.nav { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 11px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; transition: background .2s, color .2s, transform .2s var(--ease); }
.nav:hover { background: var(--card); color: var(--text); transform: translateX(2px); }
.nav.active { background: linear-gradient(90deg, var(--soft), transparent); color: var(--text); }
.nav.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.nav.active .ico { color: var(--accent); }
.nav.locked { opacity: .5; }
.nav .lockico { margin-left: auto; }
.nav .count { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 0 7px; border-radius: 99px; min-width: 20px; text-align: center; }
.botnav img { width: 22px; height: 22px; border-radius: 50%; }
.botnav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.backlink { display: block; padding: 4px 10px 12px; color: var(--muted); text-decoration: none; font-size: 13px; }
.botcard { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
.botcard img { width: 44px; height: 44px; border-radius: 50%; }
.botcard b { display: block; font-size: 15px; }
.botcard small { color: var(--muted); font-size: 12.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.botcard.inline-bot { max-width: 440px; }
.app-main { flex: 1; min-width: 0; }
.app-head { display: flex; align-items: center; gap: 12px; height: 70px; padding: 0 34px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); z-index: 30; }
.app-head h1 { font-size: 22px; margin: 0; flex: 1; }
.app-content { padding: 28px 34px 90px; max-width: 1240px; }
.lead-sm { color: var(--muted); margin: -6px 0 20px; }
.only-mobile { display: none; }

/* bildirim menüsü */
.notif { position: relative; }
.notif-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; max-height: 420px; overflow: auto; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); display: none; z-index: 60; }
.notif.open .notif-menu { display: block; animation: pagein .2s var(--ease); }
.notif-item { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 13.5px; }
.notif-item:hover { background: var(--card2); }
.notif-item.unread { border-left: 3px solid var(--accent); }
.notif-item small { display: block; color: var(--muted); }

/* ---------- kartlar ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; transition: border-color .25s, box-shadow .25s; }
.card.glass { background: var(--glass); backdrop-filter: blur(14px); }
.card.lift:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.card-title { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.card-title .ico { color: var(--accent); }
.card-title .right-link { margin-left: auto; font: 500 13px var(--font); color: var(--muted); text-decoration: none; }
.card-title .right-link:hover { color: var(--accent); }
.sec-sub { font-size: 18px; margin: 30px 0 14px; }
.note-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.note-card > div { flex: 1; }
.note-card.bad { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); background: color-mix(in srgb, var(--bad) 7%, var(--card)); }
.note-card > .ico { color: var(--accent); }
.note-card.bad > .ico { color: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stats.s3 { grid-template-columns: repeat(3, 1fr); } .stats.s5 { grid-template-columns: repeat(5, 1fr); } .stats.s6 { grid-template-columns: repeat(6, 1fr); }
.stat { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.stat::after { content: ""; position: absolute; right: -20px; top: -20px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); }
.stat .ico { color: var(--accent); margin-bottom: 6px; }
.stat > span { color: var(--muted); font-size: 13px; }
.stat b { font-family: var(--display); font-size: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.02em; }
.stat small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat a { text-decoration: none; }
.stat.warn b { color: var(--warn); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.cols.c3 { grid-template-columns: repeat(3, 1fr); }
.cols.wide-l { grid-template-columns: 1.6fr 1fr; }
.cols .card { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions form { margin: 0; }
.inline { display: flex; gap: 10px; align-items: center; }
.inline input, .inline select { flex: 1; }
.invite-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card)); }
.invite-card h2 { font-size: 19px; }
.invite-card p { margin: 0; }
.modlist { display: flex; flex-wrap: wrap; gap: 8px; }
.mod { display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 9px; font-size: 13px; border: 1px solid var(--line); }
.mod.on .ico { color: var(--ok); }
.mod.off { opacity: .5; }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line2); border-radius: 18px; display: grid; justify-items: center; gap: 8px; }
.empty .ico { color: var(--accent); }
.empty h2 { font-size: 22px; margin: 6px 0 0; }
.empty.sm { padding: 30px 16px; } .empty.sm h2 { font-size: 16px; }
.botgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.botbox { display: block; text-decoration: none; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: .3s var(--ease); position: relative; overflow: hidden; }
.botbox:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-4px); box-shadow: var(--shadow); }
.botbox-top { display: flex; gap: 12px; align-items: center; }
.botbox-top img { width: 52px; height: 52px; border-radius: 50%; }
.botbox-top > div { flex: 1; min-width: 0; }
.botbox-top b { display: block; font-size: 16px; }
.botbox-top small { color: var(--muted); }
.botbox-meta { display: grid; gap: 6px; margin-top: 16px; font-size: 13.5px; }
.botbox-meta .ico { color: var(--muted); margin-right: 4px; }

/* bot profil kartı (müşteri paneli) */
.botprofile { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); margin-bottom: 18px; }
.bp-banner { height: 150px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 45%, var(--card2)), color-mix(in srgb, var(--accent2) 25%, var(--card2))); background-size: cover; background-position: center; }
.bp-body { display: flex; gap: 18px; align-items: flex-end; padding: 0 24px 20px; flex-wrap: wrap; }
.bp-av { width: 104px; height: 104px; border-radius: 50%; border: 5px solid var(--card); margin-top: -52px; background: var(--card2); flex: none; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.bp-info { flex: 1; min-width: 220px; padding-top: 12px; }
.bp-info h2 { font-size: 24px; margin: 0 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
.bp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.guilds { display: grid; gap: 8px; }
.guild { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); }
.guild img, .guild .ph { width: 34px; height: 34px; border-radius: 10px; background: var(--card); display: grid; place-items: center; color: var(--muted); flex: none; object-fit: cover; }
.license { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line2); border-radius: 12px; background: var(--bg2); font: 13px ui-monospace, Consolas, monospace; }
.license code { flex: 1; background: none; border: 0; font-size: 14px; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; }
.timeline { display: grid; gap: 0; }
.tl { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: flex-start; }
.tl:last-child { border: 0; }
.tl .tl-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.tl small { color: var(--muted); display: block; }
.tl > div { flex: 1; min-width: 0; }
.progressbar { height: 8px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.progressbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width 1s var(--ease); }

/* ---------- tablo ---------- */
.tablewrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: color-mix(in srgb, var(--card2) 55%, transparent); }
.table tr:last-child td { border-bottom: 0; }
.table .thumb { width: 52px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--card2); display: block; }
.table .nowrap { white-space: nowrap; }
.tbot { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; }
.tbot img { width: 28px; height: 28px; border-radius: 50%; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; border: 1px solid transparent; transition: .15s; }
.tabs a:hover { color: var(--text); }
.tabs a.active { background: var(--card); border-color: var(--line); color: var(--text); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .grow1 { min-width: 160px; }
.toolbar input[type=search], .toolbar input[type=text], .toolbar input[type=date] { max-width: 280px; }
.toolbar select { width: auto; max-width: 220px; }

/* ---------- siparişler ---------- */
.order { display: flex; gap: 18px; align-items: center; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .2s; }
.order:hover { border-color: var(--line2); }
.order.pending { border-left: 3px solid var(--warn); }
.order-main { flex: 1; min-width: 0; display: grid; gap: 12px; }
.order-who { display: flex; gap: 12px; align-items: center; }
.order-who img, .order-who .ph { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); }
.order-who b { display: block; }
.order-who small { color: var(--muted); }
.order-info { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.order-info span { display: flex; flex-direction: column; font-size: 14px; }
.order-info small { color: var(--muted); font-size: 12px; }
.order-note { background: var(--card2); border-radius: 10px; padding: 9px 12px; font-size: 14px; white-space: pre-wrap; }
.order-note small { display: block; color: var(--muted); font-size: 12px; }
.order-actions { display: grid; gap: 10px; justify-items: end; flex: none; width: 260px; }
.order-actions form { margin: 0; width: 100%; }
.order-actions .btn.primary { width: 100%; }

/* ---------- grafikler ---------- */
.chart-card { padding: 20px 20px 14px; }
.chart-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.chart-head h3 { font-size: 16px; margin: 0; flex: 1; }
.legend { display: flex; gap: 6px; flex-wrap: wrap; }
.legend button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 600 12.5px var(--font); padding: 4px 11px; border-radius: 99px; cursor: pointer; transition: .15s; }
.legend button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.legend button.off { opacity: .4; text-decoration: line-through; }
.legend button:hover { color: var(--text); }
.chart { position: relative; width: 100%; height: 280px; }
.chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--muted); font: 11px var(--font); }
.chart-tip { position: absolute; pointer-events: none; padding: 9px 12px; border-radius: 11px; background: var(--card2); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 13px; opacity: 0; transition: opacity .12s; z-index: 5; min-width: 130px; }
.chart-tip b { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.chart-tip div { display: flex; align-items: center; gap: 7px; justify-content: space-between; }
.chart-tip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.range { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.range .chip-btn { border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 600 12.5px var(--font); padding: 5px 11px; border-radius: 9px; cursor: pointer; transition: .15s; }
.range .chip-btn.on, .range .chip-btn:hover { color: var(--text); border-color: var(--accent); }
.range .chip-btn.on { background: var(--soft); }
.range input[type=date] { width: auto; height: 32px; padding: 0 8px; font-size: 13px; border-radius: 9px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.live-pill.err { color: var(--bad); } .live-pill.err .dot { background: var(--bad); animation: none; }
.donut { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut svg { width: 150px; height: 150px; flex: none; }
.bars { display: grid; gap: 12px; }
.bar-row .bar-top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.skeleton { background: linear-gradient(90deg, var(--card2) 25%, color-mix(in srgb, var(--card2) 50%, var(--line)) 50%, var(--card2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- formlar ---------- */
input, select, textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 11px; color: var(--text); font: 14px var(--font); padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
input, select { height: 42px; }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 18%, transparent); }
.errmsg { color: var(--bad); font-size: 12.5px; margin-top: 4px; }
input[type=checkbox], input[type=radio] { width: auto; height: auto; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8b98' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
select[multiple] { height: auto; min-height: 110px; background-image: none; }
input[type=color] { width: 46px; height: 38px; padding: 3px; cursor: pointer; }
input[type=file] { height: auto; padding: 8px; }
.colorin { display: flex; gap: 10px; align-items: center; }
.settings .frow, .frow2 { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.settings .frow.wide, .frow2.wide { align-items: start; }
.settings .frow.wide .flabel, .frow2.wide .flabel { padding-top: 10px; }
.settings .frow:last-of-type, .frow2:last-of-type { border-bottom: 0; }
.flabel { font-weight: 500; font-size: 14px; }
.flabel small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.frow.is-toggle .fctrl { display: flex; justify-content: flex-end; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 5px; font-size: 13px; color: var(--muted); align-content: start; }
.field > span { font-weight: 600; }
.field.wide { grid-column: 1 / -1; }
.field .switch { margin-top: 4px; }
.savebar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 0 0; margin-top: 6px; background: linear-gradient(transparent, var(--card) 35%); z-index: 5; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--card2); border: 1px solid var(--line2); border-radius: 99px; cursor: pointer; transition: .25s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: .25s var(--ease); }
.switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--on-accent); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.group-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.group-head h3 { font-size: 15px; margin: 0; }
.grow { border: 1px solid var(--line2); border-radius: 14px; padding: 14px; margin-bottom: 12px; background: var(--bg2); }
.grow-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.grow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }

/* chip çoklu seçim */
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 42px; padding: 6px 8px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 11px; cursor: text; }
.chips.open { border-color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 8px; background: var(--card2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.chip i { width: 9px; height: 9px; border-radius: 50%; }
.chip button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 4px; }
.chip button:hover { color: var(--bad); }
.chips input { flex: 1; min-width: 120px; height: 28px; border: 0; background: none; padding: 0 4px; box-shadow: none !important; }
.chips-menu { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); z-index: 30; max-height: 260px; overflow-y: auto; background: var(--card2); border: 1px solid var(--line2); border-radius: 11px; padding: 6px; display: none; box-shadow: var(--shadow); }
.chips.open .chips-menu { display: block; }
.chips-menu div { padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.chips-menu div:hover, .chips-menu div.hl { background: var(--card); }
.chips-menu div i { width: 9px; height: 9px; border-radius: 50%; }
.chips-menu .none { color: var(--muted); cursor: default; }

/* yükleme alanı & görsel ızgarası */
.drop { position: relative; display: grid; place-items: center; gap: 4px; padding: 22px; text-align: center; border: 2px dashed var(--line2); border-radius: 16px; background: color-mix(in srgb, var(--bg2) 70%, transparent); color: var(--muted); cursor: pointer; transition: .2s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--soft); color: var(--text); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.imggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 12px; }
.imgtile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card2); }
.imgtile img { width: 100%; height: 100%; object-fit: cover; }
.imgtile .tools2 { position: absolute; inset: auto 0 0 0; display: flex; gap: 4px; justify-content: flex-end; padding: 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .2s; }
.imgtile:hover .tools2, .imgtile:focus-within .tools2 { opacity: 1; }
.imgtile .tools2 button { width: 28px; height: 28px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; display: grid; place-items: center; }
.imgtile .tools2 button:hover { background: var(--accent); }
.imgtile .cover-tag { position: absolute; top: 6px; left: 6px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.media-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.media-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--card2); }
.media-item div { padding: 10px 12px; font-size: 12.5px; color: var(--muted); display: grid; gap: 6px; }
.media-item b { color: var(--text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tema editörü */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.theme-card { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--card); transition: .25s var(--ease); }
.theme-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.theme-card.is-default { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.theme-prev { height: 84px; border-radius: 11px; padding: 10px; display: grid; gap: 6px; align-content: start; margin-bottom: 10px; border: 1px solid rgba(128, 128, 128, .2); }
.theme-prev i { display: block; height: 8px; border-radius: 4px; }
.theme-prev .bar { width: 60%; } .theme-prev .bar2 { width: 40%; }
.theme-prev .pill { width: 38px; height: 14px; border-radius: 99px; }
.colors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.colorfield { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.colorfield input[type=color] { width: 38px; height: 34px; flex: none; }
.colorfield label { display: grid; gap: 1px; font-size: 13px; font-weight: 600; flex: 1; }
.colorfield code { font-size: 11.5px; width: fit-content; }
.theme-live { border-radius: 18px; padding: 20px; border: 1px solid var(--line); display: grid; gap: 14px; }

/* sipariş formu */
.orderform { max-width: 860px; }
.pkgpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.pkgopt { position: relative; display: block; cursor: pointer; }
.pkgopt input { position: absolute; opacity: 0; }
.pkgopt > div { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 14px; height: 100%; transition: .2s; }
.pkgopt:hover > div { border-color: var(--accent); }
.pkgopt input:checked + div { border-color: var(--accent); background: var(--soft); box-shadow: 0 0 0 1px var(--accent); }
.price-sm { font-family: var(--display); font-weight: 700; font-size: 18px; }
.price-sm s { color: var(--muted); font-size: 13px; font-weight: 400; margin-right: 4px; }
.price-sm small { color: var(--muted); font-weight: 500; font-size: 13px; }
.seg { display: inline-flex; gap: 6px; padding: 4px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 13px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s; }
.seg em { font-style: normal; color: var(--ok); font-size: 12px; }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg input:checked + span em { color: inherit; }
.tokenpreview:empty { display: none; }
.tokenpreview { margin-top: 10px; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line2); font-size: 14px; }
.tokenpreview img { width: 42px; height: 42px; border-radius: 50%; }
.tokenpreview .bad { color: var(--bad); }
.tokenpreview .okk { color: var(--ok); }
.payinfo pre { margin: 0 0 16px; padding: 14px 16px; background: var(--bg2); border: 1px dashed var(--line2); border-radius: 12px; font: 14px/1.7 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
.total { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.total b { font-family: var(--display); font-size: 28px; color: var(--accent); }
.orderform .frow { display: grid; gap: 8px; margin-top: 12px; }

/* destek ticket sohbeti */
.chat { display: grid; gap: 12px; margin-bottom: 18px; }
.msg { display: flex; gap: 12px; max-width: 760px; }
.msg img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.msg .bubble { padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--card2); border: 1px solid var(--line); min-width: 0; }
.msg.admin .bubble { background: var(--soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.msg .who { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.msg .txt { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Discord kart önizleme (her zaman Discord koyu teması) */
.dc-msg { display: flex; gap: 14px; padding: 14px 16px; background: #1a1a1e; border: 1px solid #2a2a30; border-radius: 12px; font-family: "gg sans", "Inter", sans-serif; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: #dbdee1; }
.dc-av { width: 40px; height: 40px; border-radius: 50%; flex: none; background: #2b2b33; }
.dc-body { flex: 1; min-width: 0; }
.dc-name { display: flex; align-items: center; gap: 6px; font-size: 15px; margin-bottom: 6px; color: #f2f3f5; }
.dc-app { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.dc-time { color: #949ba4; font-size: 12px; }
.dc-container { position: relative; background: #232328; border: 1px solid #2f2f37; border-radius: 9px; padding: 16px; font-size: 14px; color: #dbdee1; }
.dc-container.accent { border-left: 4px solid var(--card-c, var(--accent)); }
.dc-section { display: flex; justify-content: space-between; gap: 16px; }
.dc-title { font-size: 19px; font-weight: 700; color: #f2f3f5; }
.dc-desc { margin-top: 4px; padding-left: 10px; border-left: 3px solid #4e5058; color: #c4c9ce; }
.dc-thumb { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; flex: none; }
.dc-sep { height: 1px; background: #3a3a42; margin: 12px 0; }
.dc-field { margin: 3px 0; }
.dc-field b { color: #f2f3f5; }
.dc-small { font-size: 12px; color: #a3a6aa; margin-top: 6px; }
.dc-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: #a3a6aa; margin-top: 10px; }
.dc-foot code { font-size: 11px; background: #2c2c33; color: #c4c9ce; border-color: #3a3a42; }
.dc-foot-av { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #c4c9ce; }
.dc-buttons { display: flex; gap: 8px; margin-top: 8px; }
.dc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #2b2d31; border: 1px solid #3a3a42; border-radius: 8px; font-size: 13px; font-weight: 500; color: #dbdee1; }

/* onay penceresi */
.modal-bg { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(440px, 100%); background: var(--card); border: 1px solid var(--line2); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); animation: pagein .25s var(--ease); }
.modal h3 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.modal h3 .ico { color: var(--bad); }
.modal p { color: var(--muted); margin: 6px 0 20px; }
.modal .btns { display: flex; gap: 10px; justify-content: flex-end; }

/* admin sürükle-bırak */
.dragrow { cursor: grab; } .dragrow.dragging { opacity: .4; } .dragrow.over td { border-top: 2px solid var(--accent); }
.handle { color: var(--muted); cursor: grab; }

/* ---------- mobil ---------- */
@media (max-width: 1100px) {
  .stats.s5, .stats.s6 { grid-template-columns: repeat(3, 1fr); }
  .cols.wide-l, .cols.c3 { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 56px; gap: 34px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .stats, .stats.s3 { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
  .settings .frow, .frow2 { grid-template-columns: 1fr; gap: 8px; }
  .frow.is-toggle { grid-template-columns: 1fr auto; }
  .fgrid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .topbar-in { gap: 10px; }
  .tools { margin-left: auto; }
  .userchip span { display: none; }
  .features, .steps, .pkgpick, .stats.s5, .stats.s6 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .side { position: fixed; transform: translateX(-100%); transition: .25s var(--ease); }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .55); }
  .only-mobile { display: inline-grid; }
  .app-head, .app-content { padding-left: 16px; padding-right: 16px; }
  .app-head h1 { font-size: 18px; }
  .order { flex-direction: column; align-items: stretch; }
  .order-actions { width: 100%; }
  .invite-card { flex-direction: column; align-items: flex-start; }
  .notif-menu { position: fixed; left: 12px; right: 12px; top: 74px; width: auto; }
  .theme-menu { position: fixed; right: 12px; top: 70px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 8px; }
  .chart { height: 230px; }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .bp-av { width: 84px; height: 84px; margin-top: -42px; }
  .srvs, .pkgs { grid-template-columns: 1fr; }
}

/* tema editörü: türetilmiş değişkenler yerelde yeniden hesaplanır */
.theme-live { --line2: color-mix(in srgb, var(--line) 70%, var(--text) 30%); --soft: color-mix(in srgb, var(--accent) 12%, transparent); --glass: color-mix(in srgb, var(--card) 62%, transparent); --on-accent: #fff; }

/* taşma düzeltmeleri: grid/flex çocukları içerikten geniş olamaz */
.cols > *, .app-content > *, .app-main, .app-content, .stats > *, .licenses > *, .fgrid > *, .card { min-width: 0; }
@media (max-width: 900px) {
  .cols, .cols.wide-l, .cols.c3 { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
}
.stat > a { display: flex; flex-direction: column; gap: 3px; color: inherit; min-width: 0; }
.stat > a > span, .stat > span { color: var(--muted); font-size: 13px; }
.stat > a > svg, .stat > svg { color: var(--accent); margin-bottom: 6px; }
