/* Gather Musicians — Grup / Party sistemi */

.profile-band-wrap {
  margin-top: 0.65rem;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

#profileBandCreateBtn {
  width: 100%;
  max-width: min(300px, 100%);
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

/* Profil kartı — Spotify kartına benzer */
.gm-band-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: min(300px, 100%);
  padding: 0.55rem 0.65rem 0.55rem 0.55rem;
  text-decoration: none;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  border-color: rgba(124, 58, 237, 0.35);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.08) 0%, var(--card, #fff) 48%);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
html.dark .gm-band-card {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.16) 0%, #131828 50%);
  border-color: rgba(167, 139, 250, 0.35);
}
.gm-band-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.15);
}

.gm-band-card-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.gm-band-card-avatar {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #7c3aed;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}
.gm-band-card-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}
.gm-band-card-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  background: #7c3aed;
  color: #fff;
  border: 2px solid var(--card, #fff);
}
.gm-band-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gm-band-card-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gm-band-card-sub {
  font-size: 0.72rem;
  color: #6d28d9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.dark .gm-band-card-sub { color: #c4b5fd; }
.gm-band-card-go {
  flex-shrink: 0;
  color: var(--muted, #64748b);
  font-size: 0.85rem;
}

.profile-band-photo-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px dashed var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.profile-band-photo-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.profile-band-create-hint {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  max-width: 280px;
}

.btn-band {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-700);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-band:hover {
  background: var(--blue-100);
}
html.dark .btn-band {
  background: #112240;
  border-color: #1e3a6e;
  color: #93c5fd;
}
.btn-band--primary {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.btn-band--primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
}
.btn-band--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}
.btn-band--ghost:hover {
  background: var(--gray-100);
  color: var(--text);
}
.btn-band--danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.btn-band--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
.btn-band--danger:disabled {
  opacity: 0.65;
  cursor: default;
}

/* ── Grup silme onay modalı ── */
.band-delete-warning {
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #b91c1c;
  font-size: 0.85rem;
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}
html.dark .band-delete-warning {
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

/* ── Party slots ── */
.party-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.party-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  min-width: 72px;
  text-align: center;
  gap: 0.2rem;
  cursor: default;
}
.band-party-card.is-clickable .party-slot--preview {
  cursor: pointer;
}

.party-slot-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--gray-100);
  border: 2px solid #22c55e;
  overflow: hidden;
}
html.dark .party-slot-avatar { background: #1a2236; }
.party-slot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.party-slot--empty .party-slot-avatar {
  border: 2px dashed var(--blue-400);
  background: var(--blue-50);
  animation: party-slot-pulse 2s ease-in-out infinite;
}
html.dark .party-slot--empty .party-slot-avatar { background: #0d1829; }

@keyframes party-slot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

.party-slot-name {
  font-size: 0.62rem;
  font-weight: 600;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.party-slot-role {
  font-size: 0.58rem;
  color: var(--muted);
}

/* Stüdyo / sahne — zaman etiketi daha geniş, alt alta taşmasın */
.party-slots--venue .party-slot {
  width: 108px;
  min-width: 108px;
}
.party-slots--venue .party-slot-name {
  max-width: 104px;
}
.party-slots--venue .party-slot-role {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  max-width: 104px;
  width: 100%;
  line-height: 1.28;
  min-height: 2.35em;
}
.party-slots--venue .party-slot-time {
  display: block;
  width: 100%;
  font-size: 0.56rem;
  color: var(--text);
  word-break: break-word;
  hyphens: auto;
}
.party-slots--venue .party-slot-status {
  display: block;
  font-size: 0.54rem;
  color: var(--muted);
}

.party-slots--venue .party-slot--filled .party-slot-avatar {
  border: 2px solid var(--gray-400);
  background: var(--gray-100);
  color: var(--muted);
  font-size: 1rem;
  animation: none;
}
html.dark .party-slots--venue .party-slot--filled .party-slot-avatar {
  background: #1a2236;
  border-color: #5a7099;
}
.party-slots--venue .party-slot--filled .party-slot-name {
  color: var(--muted);
  font-weight: 600;
}

.party-slot-apply {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: none;
  background: var(--blue-600);
  color: #fff;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.party-slot-apply.is-applied {
  background: #16a34a;
}
.party-slot-apply.is-rejected {
  background: #b91c1c;
}
.party-slot-apply:disabled { opacity: 0.85; cursor: default; }

/* ── Gruplar sayfası ── */
.gruplar-guest-cta,
.studyolar-guest-cta {
  margin-top: 0.75rem;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.gruplar-guest-cta:hover {
  background: var(--blue-700);
}

.gruplar-page,
.studyolar-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
.gruplar-hero h1,
.studyolar-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
}
.gruplar-hero p,
.studyolar-hero p { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }
.gruplar-hero-actions,
.studyolar-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.gruplar-band-alert-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}
.gruplar-band-alert-btn:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
}
.gruplar-band-create-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.gruplar-band-create-btn:hover {
  background: var(--blue-700);
}
.gruplar-band-create-btn[hidden] {
  display: none !important;
}
.gruplar-sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.gruplar-sort-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-right: 0.15rem;
}
.gruplar-sort-btn {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}
.gruplar-sort-btn:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
}
.gruplar-sort-btn.is-active {
  border-color: var(--blue-600);
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-700);
}
.gruplar-sort-clear {
  margin-left: auto;
}
.gruplar-sort-clear:hover {
  border-color: #b91c1c;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.06);
}
.gruplar-sort-search {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
}
.gruplar-grid,
.studyolar-grid { display: flex; flex-direction: column; gap: 1.25rem; }

.band-alert-section { margin-top: 1rem; }
.band-alert-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}
.band-alert-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.band-alert-loc-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.band-alert-loc-select {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
}
.band-alert-loc-add {
  flex-shrink: 0;
  white-space: nowrap;
}
.band-alert-selected-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.band-alert-selected-empty {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.25rem 0;
}
.band-alert-selected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.86rem;
}
.band-alert-selected-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.15rem 0.25rem;
}
.band-alert-selected-remove:hover {
  color: #b91c1c;
}
.band-alert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.band-alert-chip {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}
.band-alert-chip.is-on {
  border-color: var(--blue-600);
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-700);
}

.band-alert-disable-row {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.band-alert-disable-btn {
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #dc2626;
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.band-alert-disable-btn:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.7);
}
.band-alert-disable-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.band-party-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.15rem 1.15rem;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.band-party-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.1);
}

.band-party-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.band-party-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}
.band-party-card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.band-party-card-actions .post-more-wrap {
  position: relative;
}
/* Açık ⋯ menüsü iletişim balonunun (z-index 1100) üstünde kalsın — dar
   pencerede balon, alt sıradaki kartın menüsünün sağ kısmını örtebiliyor. */
.band-party-card-actions:has(.post-more-dropdown.open) {
  z-index: 1150;
}
.band-party-mine-badge {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  white-space: nowrap;
}
.band-incoming-requests-btn {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.45);
  background: var(--card);
  color: var(--blue-700);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}
html.dark .band-incoming-requests-btn {
  color: #c4b5fd;
  background: #131828;
}
.band-incoming-requests-btn:hover {
  background: var(--blue-50);
  border-color: rgba(124, 58, 237, 0.65);
}
.band-incoming-count {
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.band-modal--wide {
  max-width: min(520px, 94vw);
  max-height: min(82vh, 640px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.band-incoming-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.band-incoming-head h2 {
  margin: 0;
}
.band-incoming-list {
  flex: 1;
  overflow-y: auto;
  margin: 0.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 50vh;
}
.band-incoming-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.band-incoming-toolbar-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-right: 0.15rem;
}
.band-incoming-sort-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}
.band-incoming-sort-btn.is-active {
  border-color: rgba(124, 58, 237, 0.55);
  color: var(--blue-700);
  background: var(--blue-50);
}
html.dark .band-incoming-sort-btn.is-active {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.15);
}
.band-incoming-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--gray-50, #f8fafc);
}
.band-incoming-item.is-busy {
  opacity: 0.65;
  pointer-events: none;
}
html.dark .band-incoming-item {
  background: #131828;
}
.band-incoming-av {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.band-incoming-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-incoming-av--empty {
  background: var(--gray-200, #e2e8f0);
  color: var(--muted);
}
.band-incoming-body {
  flex: 1;
  min-width: 0;
}
.band-incoming-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  min-width: 5.5rem;
}
.band-incoming-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.38rem 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.band-incoming-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.band-incoming-btn--accept {
  background: #16a34a;
  color: #fff;
  border-color: #15803d;
}
.band-incoming-btn--accept:hover:not(:disabled) {
  background: #15803d;
}
.band-incoming-btn--reject {
  background: transparent;
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.45);
}
.band-incoming-btn--reject:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.08);
}
.band-incoming-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  margin-bottom: 0.35rem;
}
.band-incoming-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
}
.band-incoming-name:hover {
  color: var(--blue-600);
}
.band-incoming-role {
  font-size: 0.72rem;
  color: var(--muted);
}
.band-incoming-msg {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.band-incoming-msg--empty {
  color: var(--muted);
  font-style: italic;
}
.band-incoming-loading,
.band-incoming-empty {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.band-party-card--mine {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.12);
}
.party-slot-edit {
  margin-top: 0.35rem;
  font-size: 0.62rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--blue-700);
  cursor: pointer;
  font-family: inherit;
}
html.dark .party-slot-edit { color: #93c5fd; }
.party-slot-edit:hover { background: var(--blue-50); }
.band-slot-edit-preview {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
}
.band-slot-edit-preview img,
.band-slot-edit-preview .party-slot-avatar {
  width: 100%;
  height: 100%;
}
.band-party-cover,
img.band-party-cover {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}
img.band-detail-cover,
.band-detail-cover {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
}
.band-party-cover--placeholder,
.venue-cover-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.venue-cover-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(37, 99, 235, 0.35);
  background: var(--gray-50);
}
html.dark .venue-cover-icon {
  background: #0c1018;
  border-color: rgba(96, 165, 250, 0.35);
}
.band-party-title {
  font-size: 1.1rem;
  font-weight: 600;
}
.band-party-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.2rem; }
.band-tag {
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}
html.dark .band-tag {
  background: #112240;
  color: #93c5fd;
  border-color: #1e3a6e;
}
.band-party-vision {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.band-party-founder {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.band-party-founder a { color: var(--blue-600); text-decoration: none; }

.party-slots--card {
  padding: 0.75rem 0.5rem;
  border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
html.dark .party-slots--card {
  background: #0c1018;
  border-color: #1a2236;
}

.band-party-tap-hint {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.65rem;
}

/* ── Detay modal ── */
.band-detail-modal {
  max-width: 560px;
}
.band-detail-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.band-detail-cover {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(124, 58, 237, 0.4);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.2);
}
.band-detail-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}
.band-detail-title { font-size: 1.35rem; font-weight: 600; }
.band-detail-genre { font-size: 0.85rem; color: #6d28d9; }
html.dark .band-detail-genre { color: #c4b5fd; }
.band-detail-vision {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
  width: 100%;
  margin-bottom: 0.85rem;
}
.band-detail-founder {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  width: 100%;
  text-align: left;
}
.band-detail-founder a { color: var(--blue-600); font-weight: 500; text-decoration: none; }
.band-detail-slots-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-align: center;
}
.band-detail-slots-wrap {
  padding: 0.85rem;
  border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
html.dark .band-detail-slots-wrap {
  background: #0c1018;
  border-color: #1a2236;
}

.gruplar-empty,
.studyolar-empty,
.gruplar-loading,
.studyolar-loading {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

/* ── GM scrollbar (profil + grup modalları, açık/koyu tema) ── */
:root {
  --gm-scrollbar-track: transparent;
  --gm-scrollbar-thumb: #cbd5e1;
  --gm-scrollbar-thumb-hover: #94a3b8;
}
html.dark {
  --gm-scrollbar-track: transparent;
  --gm-scrollbar-thumb: #2a3a5c;
  --gm-scrollbar-thumb-hover: #3d5280;
}

.gm-scrollbar,
.band-modal,
.band-incoming-list,
.edit-body,
.legal-body,
.profile-dn-history-list,
.dn-transfer-modal,
.dn-transfer-search-dd {
  scrollbar-width: thin;
  scrollbar-color: var(--gm-scrollbar-thumb) var(--gm-scrollbar-track);
}

.gm-scrollbar::-webkit-scrollbar,
.band-modal::-webkit-scrollbar,
.band-incoming-list::-webkit-scrollbar,
.edit-body::-webkit-scrollbar,
.legal-body::-webkit-scrollbar,
.profile-dn-history-list::-webkit-scrollbar,
.dn-transfer-modal::-webkit-scrollbar,
.dn-transfer-search-dd::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.gm-scrollbar::-webkit-scrollbar-track,
.band-modal::-webkit-scrollbar-track,
.band-incoming-list::-webkit-scrollbar-track,
.edit-body::-webkit-scrollbar-track,
.legal-body::-webkit-scrollbar-track,
.profile-dn-history-list::-webkit-scrollbar-track,
.dn-transfer-modal::-webkit-scrollbar-track,
.dn-transfer-search-dd::-webkit-scrollbar-track {
  background: var(--gm-scrollbar-track);
  border-radius: 999px;
}

.gm-scrollbar::-webkit-scrollbar-thumb,
.band-modal::-webkit-scrollbar-thumb,
.band-incoming-list::-webkit-scrollbar-thumb,
.edit-body::-webkit-scrollbar-thumb,
.legal-body::-webkit-scrollbar-thumb,
.profile-dn-history-list::-webkit-scrollbar-thumb,
.dn-transfer-modal::-webkit-scrollbar-thumb,
.dn-transfer-search-dd::-webkit-scrollbar-thumb {
  background: var(--gm-scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.gm-scrollbar::-webkit-scrollbar-thumb:hover,
.band-modal::-webkit-scrollbar-thumb:hover,
.band-incoming-list::-webkit-scrollbar-thumb:hover,
.edit-body::-webkit-scrollbar-thumb:hover,
.legal-body::-webkit-scrollbar-thumb:hover,
.profile-dn-history-list::-webkit-scrollbar-thumb:hover,
.dn-transfer-modal::-webkit-scrollbar-thumb:hover,
.dn-transfer-search-dd::-webkit-scrollbar-thumb:hover {
  background: var(--gm-scrollbar-thumb-hover);
  background-clip: padding-box;
}

.band-modal,
.edit-body,
.legal-body,
.dn-transfer-modal {
  scrollbar-gutter: stable;
}

/* ── Modals ── */
.band-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}
.band-modal-overlay.open { display: flex; }
#bandDetailOverlay { z-index: 1200; }
#bandApplyOverlay { z-index: 1210; }
#bandCreateOverlay { z-index: 1330; }
#bandAssignOverlay { z-index: 1310; }
.band-modal {
  width: 100%;
  max-width: 520px;
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.25rem 1.35rem;
}
.band-modal h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.band-modal-sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.band-form-group { margin-bottom: 0.85rem; }
.band-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.band-form-group input,
.band-form-group textarea,
.band-form-group select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  background: var(--card);
  color: var(--text);
}
.band-form-hint {
  margin-top: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}
.band-assign-search-wrap { position: relative; }
.band-assign-dd {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16); z-index: 10; overflow: hidden;
  max-height: 260px; overflow-y: auto;
}
.band-assign-dd.open { display: block; }
.band-assign-row {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem;
  cursor: pointer; font-size: 0.86rem; color: var(--text); transition: background 0.12s;
}
.band-assign-row:hover { background: var(--blue-50); }
html.dark .band-assign-row:hover { background: #0d1829; }
.band-assign-av {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 600; color: #fff; overflow: hidden;
  background: var(--gray-200, #e2e8f0);
}
.band-assign-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-assign-name { font-weight: 500; }
.band-assign-empty { padding: 0.7rem 0.85rem; font-size: 0.82rem; color: var(--muted); }
.band-form-group--photo .band-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.band-photo-upload-tile {
  display: block;
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background: var(--gray-50);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.band-photo-upload-tile:hover {
  border-color: var(--blue-400);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.band-photo-upload-tile.has-photo {
  border-style: solid;
  border-color: var(--blue-400);
}
.band-photo-upload-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.band-photo-upload-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  text-align: center;
  color: var(--muted);
  pointer-events: none;
}
.band-photo-upload-icon {
  width: 34px;
  height: 34px;
  color: var(--blue-600);
  flex-shrink: 0;
}
.band-photo-upload-text {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
}
.band-photo-upload-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.band-photo-upload-tile.has-photo .band-photo-upload-preview {
  display: block;
}
.band-photo-upload-tile.has-photo .band-photo-upload-placeholder {
  display: none;
}
html.dark .band-photo-upload-tile {
  background: #0c1018;
}
html.dark .band-photo-upload-tile:hover {
  background: rgba(37, 99, 235, 0.12);
}

.band-slots-builder {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  background: var(--gray-50);
  margin-bottom: 0.75rem;
}
html.dark .band-slots-builder { background: #0c1018; }
.band-slots-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}
#bandSlotRows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.band-slot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.band-slot-row .band-slot-role {
  flex: 1 1 84px;
  min-width: 0;
  padding: 0.45rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: inherit;
  background: var(--card);
  color: var(--text);
  text-overflow: ellipsis;
}
.band-slot-row select {
  flex: 0 0 auto;
  padding: 0.45rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  background: var(--card);
  color: var(--text);
}
/* Durum menüsü geniş kalır ki atanan isim içine sığsın */
.band-slot-row .band-slot-status {
  flex: 1 1 132px;
  min-width: 0;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.band-slot-row-remove {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.band-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.band-form-error {
  font-size: 0.78rem;
  color: #dc2626;
  min-height: 1.1em;
}

/* ── Grup oluşturma sihirbazı (3 aşama) ── */
.band-wizard-steps {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.band-wizard-dot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.band-wizard-dot i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.band-wizard-dot em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.band-wizard-dot.is-active i {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}
.band-wizard-dot.is-active em { color: var(--text); font-weight: 600; }
.band-wizard-dot.is-done i {
  border-color: var(--blue-400);
  background: var(--blue-50);
  color: var(--blue-600);
}
html.dark .band-wizard-dot.is-done i { background: #0d1829; }
.band-wizard-line {
  flex: 1 1 12px;
  min-width: 8px;
  height: 1.5px;
  background: var(--border);
}
.band-wizard-pane[hidden] { display: none; }

/* 3. aşama: önizleme kartı — verisi tamamen formdan gelir, ağ isteği yok */
.band-wizard-preview-hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.band-wiz-prev-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: var(--gray-50);
}
html.dark .band-wiz-prev-card { background: #0c1018; }
.band-wiz-prev-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.band-wiz-prev-cover {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.band-wiz-prev-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--gray-100);
}
.band-wiz-prev-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.band-wiz-prev-name {
  font-size: 1rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.band-wiz-prev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.band-wiz-prev-vision {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.band-wiz-prev-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.band-wiz-prev-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 72px;
  padding: 0.45rem 0.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}
.band-wiz-prev-slot--empty { border-style: dashed; }
.band-wiz-prev-slot-av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.band-wiz-prev-slot--empty .band-wiz-prev-slot-av {
  background: var(--gray-100);
  color: var(--muted);
}
.band-wiz-prev-slot-name {
  font-size: 0.68rem;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.band-wiz-prev-slot-role {
  font-size: 0.62rem;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 480px) {
  /* Dar ekranda yalnızca aktif adımın etiketi görünür */
  .band-wizard-dot:not(.is-active) em { display: none; }
}
.band-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1300;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--gray-900);
  color: #fff;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}
.band-toast.show { transform: translateX(-50%) translateY(0); }

.band-slot-assign-wrap {
  flex: 1 1 100%;
  position: relative;
}
.band-slot-assign-wrap input {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: inherit;
  background: var(--card);
  color: var(--text);
}
.party-slot-assign {
  background: #7c3aed !important;
}
.party-slot-assign:hover {
  background: #6d28d9 !important;
}

.profile-name-block .profile-stats-row {
  margin-top: 0.55rem;
  gap: 1.25rem 1.5rem;
}

@media (max-width: 600px) {
  .party-slot { width: 64px; min-width: 64px; }
  .party-slot-avatar { width: 48px; height: 48px; }
}

/* ── Gruplar: kart altı genişleme + etkinlikler ── */
.band-party-wrap { display: flex; flex-direction: column; }
.band-party-wrap.is-expanded .band-party-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  box-shadow: none;
}
.band-party-card.is-expanded {
  border-color: var(--blue-500);
  cursor: default;
}
.band-party-expand {
  display: none;
}
.band-party-wrap.is-expanded .band-party-expand {
  display: block;
}
.band-party-expand-inner {
  padding: 0.85rem 1.15rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 18px 18px;
  margin-top: -1px;
}
.band-party-wrap.is-expanded .band-party-tap-hint {
  opacity: 0.55;
}
.band-events-locked {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px dashed var(--border);
}
html.dark .band-events-locked { background: #0c1018; }
.band-events-locked-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.band-events-locked p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 28rem;
  margin: 0 auto;
}
.gm-events-tab--band { padding-top: 0; }

#bandEventOverlay { z-index: 1320; }
.band-modal--form {
  max-width: 560px;
  position: relative;
  padding-top: 2.35rem;
}
.band-modal-form-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.band-modal-close-x {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
html.dark .band-modal-close-x { background: #1a2236; }
.band-modal-close-x:hover { color: var(--text); background: var(--blue-50); }
html.dark .band-modal-close-x:hover { background: #112240; }
.band-modal--events {
  max-width: 560px;
}
.band-modal--events .gm-events-editor {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.band-modal--events .gm-events-editor-title {
  display: none;
}
.band-modal--events .gm-events-form-grid {
  grid-template-columns: 1fr;
}
.band-party-expand-inner .gm-events-tab--band {
  overflow: visible;
}
.band-party-expand-inner .gm-events-add-toggle {
  white-space: nowrap;
}

/* ── Mobil (feed ile uyumlu) ── */
@media (max-width: 900px) {
  .btn-band {
    min-height: 44px;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  .party-slot-apply {
    min-height: 32px;
    padding: 0.32rem 0.55rem;
    font-size: 0.6rem;
    border-radius: 8px;
  }

  .party-slot-edit {
    min-height: 32px;
    padding: 0.28rem 0.5rem;
    font-size: 0.6rem;
  }

  .band-party-card {
    padding: 0.9rem 0.85rem 1rem;
    border-radius: 16px;
  }

  .band-party-card-head {
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .band-party-card-top {
    gap: 0.65rem;
  }

.venue-cover-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  background: var(--gray-50);
  border: 1px solid var(--border);
}
html.dark .venue-cover-icon {
  background: #0c1018;
}

.band-party-cover {
  width: 52px;
  height: 52px;
    flex-shrink: 0;
  }

  .band-party-title {
    font-size: 1rem;
  }

  .party-slots--card {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 0.65rem 0.35rem;
    margin: 0 -0.15rem;
  }

  .party-slots--card .party-slot {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .band-party-expand-inner {
    padding: 0.75rem 0.85rem 1rem;
  }

  .band-party-expand-inner .gm-events-add-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }

  .band-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .band-modal {
    max-width: none;
    max-height: min(92vh, 720px);
    border-radius: 18px 18px 0 0;
    padding: 1.15rem 1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }

  .band-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.45rem;
  }

  .band-modal-actions .btn-band {
    width: 100%;
    text-align: center;
  }

  .band-slot-row .band-slot-row-remove {
    width: 44px;
    height: 44px;
  }

  .report-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .report-box {
    max-width: none;
    border-radius: 18px 18px 0 0;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 520px) {
  .band-party-card-head {
    flex-wrap: wrap;
  }

  .band-party-card-actions {
    margin-left: auto;
  }

  .band-party-mine-badge {
    order: 3;
    width: 100%;
    text-align: center;
  }
}

/* Dolu slotlar — kart içi (büyük avatar / isim) */
.party-slots--card .party-slot:not(.party-slot--empty) {
  width: 88px;
  min-width: 88px;
}

.party-slots--card .party-slot:not(.party-slot--empty) .party-slot-avatar {
  width: 68px;
  height: 68px;
  font-size: 1.65rem;
  border-radius: 14px;
  border-width: 2.5px;
  cursor: pointer;
}

.party-slots--card .party-slot:not(.party-slot--empty) .party-slot-avatar img {
  border-radius: 12px;
}

.party-slots--card .party-slot:not(.party-slot--empty) .party-slot-name {
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 88px;
}

.party-slots--card .party-slot:not(.party-slot--empty) .party-slot-role {
  font-size: 0.68rem;
}

.party-slot-apply--guest {
  background: var(--gray-500, #64748b);
}

.party-slot-apply--guest:hover {
  background: var(--gray-600, #475569);
}


/* ── Gelen grup davetleri ─────────────────────────────────────────────────── */
.gruplar-band-invites-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gruplar-band-invites-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.gruplar-band-invites-count[hidden] {
  display: none;
}

.band-invites-modal {
  max-width: min(640px, 94vw);
}

/* Davet kartları: yatay kaydırılan sıra */
.band-invites-scroller {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.75rem 0.15rem;
  margin: 0.35rem 0 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gm-scrollbar-thumb, #94a3b8) var(--gm-scrollbar-track, transparent);
}

.band-invites-scroller::-webkit-scrollbar {
  height: 6px;
}

.band-invite-card {
  flex: 0 0 auto;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  background: var(--card, #fff);
}

.band-invite-cover-wrap {
  display: flex;
  justify-content: center;
}

.band-invite-cover {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.band-invite-cover--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--gray-100, #f1f5f9);
  border: 1px solid var(--border, #e2e8f0);
}

.band-invite-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  min-width: 0;
}

.band-invite-band {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text, #0f172a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.band-invite-tags {
  font-size: 0.74rem;
  color: var(--muted, #64748b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.band-invite-role {
  font-size: 0.8rem;
  color: var(--text, #0f172a);
  margin-top: 0.15rem;
}

.band-invite-from {
  font-size: 0.74rem;
  color: var(--muted, #64748b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.band-invite-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: auto;
}

.band-invite-btn {
  flex: 1;
  padding: 0.45rem 0.4rem;
  font-size: 0.8rem;
}

.band-invites-empty {
  width: 100%;
  padding: 1.4rem 0.5rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted, #64748b);
}
