/* ==========================================================================
   Groyt Müzik botları kutucuğu (13 Ekim 2026)
   --------------------------------------------------------------------------
   Dashboard › Genel'de DJ kartının hemen altında; müzik panelinde de aynı
   kutucuk kullanılır. Yatay: solda başlık ve kısa anlatım, sağda 4 yuva
   (Groyt + Groyt Müzik 1/2/3). Renkler Kehribar token'larından.
   ========================================================================== */
.mb-tile {
  --mb-line: var(--k-line, #22252D);
  --mb-panel: var(--k-bg-2, #111318);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
  margin-top: 14px; padding: 20px 22px; border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 193, 7, 0.10), transparent 55%),
    var(--mb-panel);
  border: 1px solid rgba(255, 193, 7, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.06), 0 22px 60px -34px rgba(255, 193, 7, 0.45);
}
/* Logodaki hız çizgileri */
.mb-tile::before {
  content: ""; position: absolute; z-index: -1; right: -40px; top: 18px; width: 260px; height: 70px; opacity: 0.22;
  background:
    linear-gradient(90deg, transparent, #FFC107) 0 0 / 100% 3px no-repeat,
    linear-gradient(90deg, transparent, #FFE14D) 40px 22px / 80% 3px no-repeat,
    linear-gradient(90deg, transparent, #FFA000) 90px 44px / 60% 3px no-repeat;
  pointer-events: none;
}
.mb-tile[hidden] { display: none; }
.mb-head { display: grid; gap: 8px; min-width: 0; max-width: 78ch; }
.mb-eyebrow { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; color: #111214; background: linear-gradient(90deg, #FFE14D, #FFC107 55%, #FFA000); }
.mb-title { margin: 0; font-family: var(--k-display, 'Sora', sans-serif); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--k-text, #F5F6F8); }
.mb-title em { font-style: normal; background: linear-gradient(90deg, #FFE14D, #FFC107 55%, #FFA000); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mb-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--k-text-2, #B8BDC8); }
.mb-note { margin: 0; font-size: 12.5px; color: var(--k-text-3, #7C8290); }
.mb-cta { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 4px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: #111214; background: linear-gradient(90deg, #FFE14D, #FFC107 55%, #FFA000); box-shadow: 0 10px 30px -14px rgba(255, 193, 7, 0.8); transition: transform 0.18s var(--k-ease, ease), box-shadow 0.18s; }
.mb-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -14px rgba(255, 193, 7, 0.95); }

/* Yuvalar kutucuğun genişliğine göre 1 / 2 / 4 sütun (tek kalan yuva olmasın). */
.mb-tile { container-type: inline-size; }
.mb-slots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
@container (min-width: 460px) { .mb-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 900px) { .mb-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mb-slot {
  position: relative; display: grid; gap: 10px; align-content: start; min-width: 0;
  padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--mb-line);
  transition: border-color 0.2s, transform 0.2s var(--k-ease, ease), background 0.2s;
}
.mb-slot-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mb-ava {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--k-display, 'Sora', sans-serif); font-weight: 800; font-size: 15px; color: #111214;
  background: linear-gradient(135deg, #FFE14D, #FFC107 55%, #FFA000);
}
.mb-slot[data-slot="0"] .mb-ava { background: #F5F6F8; }
.mb-name { min-width: 0; display: grid; gap: 2px; }
.mb-name b { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--k-text, #F5F6F8); overflow-wrap: anywhere; }
.mb-name span { font-size: 12px; color: var(--k-text-3, #7C8290); }
.mb-state { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 13.5px; line-height: 1.4; color: var(--k-text-2, #B8BDC8); min-width: 0; }
.mb-state > span:not(.mb-eq) { min-width: 0; overflow-wrap: anywhere; }
.mb-dot { flex: 0 0 8px; margin-inline: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--k-text-3, #7C8290); }
.mb-slot.is-free .mb-dot { background: var(--k-ok, #3BA55D); box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.18); }
.mb-slot.is-busy { border-color: rgba(255, 193, 7, 0.45); background: rgba(255, 193, 7, 0.06); }
.mb-slot.is-busy .mb-dot { background: #FFC107; box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.22); animation: mbPulse 1.6s ease-in-out infinite; }
.mb-slot.is-missing { border-style: dashed; }
.mb-slot.is-locked { opacity: 0.72; }
.mb-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; text-decoration: none; color: #FFC107; border: 1px solid rgba(255, 193, 7, 0.5); background: rgba(255, 193, 7, 0.08);
  transition: background 0.18s, color 0.18s;
}
.mb-add:hover { background: #FFC107; color: #111214; }
.mb-eq { flex: 0 0 auto; display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.mb-eq i { width: 3px; border-radius: 2px; background: #FFC107; animation: mbEq 0.9s ease-in-out infinite; }
.mb-eq i:nth-child(1) { height: 6px; } .mb-eq i:nth-child(2) { height: 12px; animation-delay: -0.3s; } .mb-eq i:nth-child(3) { height: 8px; animation-delay: -0.6s; }
@keyframes mbEq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes mbPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .mb-eq i, .mb-slot.is-busy .mb-dot { animation: none; } }
.mb-error { margin: 0; font-size: 13px; color: #f4a3a4; }

@media (max-width: 640px) { .mb-tile { padding: 16px; } }

/* Müzik paneli (muzik.html): bot sekmeleri + tanıtım kartı */
.mz-bottabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mz-bottabs[hidden] { display: none; }
.mz-bottab {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%;
  padding: 8px 14px 8px 8px; border-radius: 999px; cursor: pointer; font: inherit; color: var(--k-text-2, #B8BDC8);
  background: var(--k-bg-2, #111318); border: 1px solid var(--k-line, #22252D); transition: border-color 0.18s, background 0.18s;
}
.mz-bottab:hover { border-color: var(--k-line-2, #30343E); }
.mz-bottab:focus-visible { outline: 2px solid #FFC107; outline-offset: 2px; }
.mz-bottab.is-on { border-color: rgba(255, 193, 7, 0.55); background: rgba(255, 193, 7, 0.08); color: var(--k-text, #F5F6F8); }
.mz-bottab-ava { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; color: #111214; background: linear-gradient(135deg, #FFE14D, #FFC107 55%, #FFA000); }
.mz-bottab[data-slot="0"] .mz-bottab-ava { background: #F5F6F8; }
.mz-bottab-txt { display: grid; min-width: 0; text-align: left; line-height: 1.25; }
.mz-bottab-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-bottab-txt span { font-size: 12px; color: var(--k-text-3, #7C8290); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-botpromo { margin: 12px 0 0; }

/* Site vurgusu (index.html #dort-kanal, muzik-botu.html): 4 ses kanalı görseli */
.mb-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.mb-feature-copy { display: grid; gap: 14px; min-width: 0; }
.mb-feature-copy .mb-eyebrow { margin-bottom: 2px; }
.mb-feature-list { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.mb-feature-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.5; color: var(--k-text-2, #B8BDC8); }
.mb-feature-list b { color: var(--k-text, #F5F6F8); }
.mb-chans {
  position: relative; display: grid; gap: 6px; padding: 16px; border-radius: 18px; min-width: 0;
  background: #1E1F22; border: 1px solid rgba(255, 193, 7, 0.22);
  box-shadow: 0 30px 80px -40px rgba(255, 193, 7, 0.45);
}
.mb-chans-label { margin: 2px 6px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #949BA4; }
.mb-chan { display: grid; gap: 6px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); min-width: 0; }
.mb-chan-name { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #DBDEE1; min-width: 0; }
.mb-chan-name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-chan-who { display: flex; align-items: center; gap: 8px; padding-left: 22px; font-size: 13px; color: #B5BAC1; min-width: 0; }
.mb-chan-who .mb-ava { flex: 0 0 24px; width: 24px; height: 24px; font-size: 11px; }
.mb-chan-who .mb-ava.is-main { background: #F5F6F8; }
.mb-chan-who b { color: #F2F3F5; font-weight: 600; white-space: nowrap; }
.mb-chan-who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: #949BA4; }
.mb-chan-who .mb-eq { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 900px) { .mb-feature { grid-template-columns: minmax(0, 1fr); } }

/* Özel bot paneli (ozelbot.html › Müzik botları) */
.cbp-new { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 800; font-style: normal; color: #111214; background: linear-gradient(90deg, #FFE14D, #FFC107 55%, #FFA000); }
.cbp-music { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cbp-music > .cbp-safe { grid-column: 1 / -1; }
.cbp-mb { display: grid; gap: 12px; align-content: start; min-width: 0; }
.cbp-mb.is-set { border-color: rgba(255, 193, 7, 0.4); }
.cbp-mb-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cbp-mb-top img, .cbp-mb-top .mb-ava { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cbp-mb-top b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbp-mb-top small { color: var(--k-text-3, #7C8290); font-size: 12.5px; }
.cbp-mb-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--k-text-2, #B8BDC8); }
.cbp-mb .cbp-token-row[hidden] { display: none; }
@media (max-width: 1000px) { .cbp-music { grid-template-columns: minmax(0, 1fr); } }
