/* ==========================================================================
   Dashboard — özel bot bağlamı görünümü (5 Ekim 2026) · js/dashboard-custombot.js
   --------------------------------------------------------------------------
   /dashboard?bot=<id> iken Groyt'un ayar ekranları daha "premium" bir
   kabukla açılır: koyu altın zemin, botun banner'ından gelen ışık, cam
   kartlar, altın çizgiler. Normal Groyt dashboard'unu etkilemez (.cb-ctx).
   ========================================================================== */
body.cb-ctx {
  background: #05060a radial-gradient(1100px 520px at 80% -10%, rgba(255, 143, 0, 0.14), transparent 60%) fixed;
}
body.cb-ctx::before {
  content: ''; position: fixed; inset: 0 0 auto; height: 420px; z-index: 0; pointer-events: none;
  background: var(--cbx-banner, none) center 30% / cover; opacity: 0.12;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
}
.cbx-bar { position: relative; z-index: 6; margin: 0 0 22px; }
.cbx-inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(rgba(10, 11, 18, 0.92), rgba(10, 11, 18, 0.92)) padding-box,
              linear-gradient(120deg, #ffe1a3, #f3c969 40%, #ff8f00 70%, #ffe1a3) border-box;
  box-shadow: 0 20px 60px -30px rgba(255, 179, 0, 0.8);
}
.cbx-ava { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; font-size: 22px; background: radial-gradient(circle at 30% 30%, #fff3c4, #f3c969 45%, #ff8f00); }
.cbx-ava img { width: 100%; height: 100%; object-fit: cover; }
.cbx-txt { display: flex; flex-direction: column; margin-right: auto; }
.cbx-txt small { font: 700 10.5px 'Orbitron', sans-serif; letter-spacing: 0.2em; color: #f3c969; }
.cbx-txt b { font-size: 17px; color: #fff; }
.cbx-btn { padding: 8px 14px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: #1a1408; background: linear-gradient(120deg, #ffe1a3, #f3c969 45%, #ffb300); }
.cbx-link { font-size: 13px; color: #b4bcd0; }
.cbx-link:hover { color: #fff; }
.cbx-warn { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; color: #fde68a; }
.cbx-warn a { color: #ffe1a3; text-decoration: underline; }
body.cb-ctx .dash-topbar,
body.cb-ctx .guild-card,
body.cb-ctx .settings-tabs,
body.cb-ctx .form-section,
body.cb-ctx .card { border-color: rgba(243, 201, 105, 0.22); background-color: rgba(255, 255, 255, 0.035); backdrop-filter: blur(10px); }
body.cb-ctx .guild-card:hover { border-color: rgba(243, 201, 105, 0.7); box-shadow: 0 18px 44px -18px rgba(255, 179, 0, 0.6); }
body.cb-ctx #dashGuilds .dash-title::before { content: 'ÖZEL BOT DASHBOARD'; }
body.cb-ctx .dash-title { background: linear-gradient(110deg, #fff, #ffe1a3 40%, #ffb300); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Bot zaten premium: premium/kampanya öğeleri gizli */
body.cb-ctx [data-home-tab="premium"], body.cb-ctx .dp-home-tab, body.cb-ctx #dpPick, body.cb-ctx .premium-banner { display: none !important; }
@media (max-width: 900px) { .cbx-link { display: none; } }
