html, body {
  overflow-x: hidden;
  width: 100%;
}

/* ---------- GENEL TASARIM ---------- */

:root {
  --bg-main: #1b1227;
  --bg-card: #231633;
  --bg-card-dark: #1b1027;
  --accent: #25ff72;
  --accent-soft: #25ff7233;
  --text-main: #f5f5ff;
  --text-muted: #a3a0c0;
  --border-soft: #35254b;
  --danger: #ff4c5b;
  --badge-blue: #3b82f6;
}

/* Tema sınıfları */
body.theme-dark {
  background: radial-gradient(circle at top left, #2c1b47, #120913 55%);
  color: var(--text-main);
}

body.theme-neon {
  --bg-main: #05031a;
  --bg-card: #090421;
  --bg-card-dark: #050016;
  --accent: #8b5cff;
  --accent-soft: #8b5cff33;
  --text-main: #f9f5ff;
  --text-muted: #c7b7ff;
  --border-soft: #382470;
  --danger: #ff5c7c;
  --badge-blue: #4adeff;

  background: radial-gradient(circle at top left, #3c155f, #05000b 60%);
  color: var(--text-main);
}

body.theme-neon .left-panel,
body.theme-neon .right-panel,
body.theme-neon .offline-section {
  box-shadow: 0 0 32px rgba(139, 92, 255, 0.35);
  border-color: rgba(139, 92, 255, 0.6);
}

body.theme-neon .badge-live {
  background: rgba(139, 92, 255, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

body.theme-neon .kick-badge {
  border-color: rgba(139, 92, 255, 0.6);
}

/* ---------- RESET ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

body {
  background: radial-gradient(circle at top left, #2c1b47, #120913 55%);
  color: var(--text-main);
  min-height: 100vh;
}

.app {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- HEADER ---------- */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px; /* etkinlik kartıyla boşluk */
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #0b0b10;
}

.logo-text-main {
  font-size: 18px;
  font-weight: 700;
}

.logo-text-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.top-right {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  margin-left: auto; /* logoyu solda bırakır, geri kalan sağa gider */
}

.players-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #15101f;
  border: 1px solid var(--border-soft);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
}

.players-pill span {
  font-weight: 600;
  color: var(--accent);
}

/* sağ üstteki "TÜM YAYINCILARI GÖR" pill'i */
.top-view-all-btn {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  border-color: var(--accent);
  color: var(--accent);
  cursor: pointer;
}

.top-view-all-btn:hover {
  background: var(--accent-soft);
}

.kick-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111;
  border: 1px solid #3b3b3b;
  font-size: 12px;
}

.kick-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* Tema toggle butonu */

.theme-toggle-btn {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #120919;
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-soft);
  color: var(--text-main);
}

.theme-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(37, 255, 114, 0.6);
}

body.theme-neon .theme-toggle-dot {
  box-shadow: 0 0 10px rgba(139, 92, 255, 0.9);
}

/* ---------- LAYOUT ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
}

/* ---------- SOL PANEL ---------- */

.left-panel {
  background: #150d22;
  border-radius: 14px;
  padding: 14px 12px 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.section-title-row h2 {
  font-size: 18px;
  font-weight: 700;
}

.live-count-pill {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.live-count-pill span {
  color: var(--accent);
  font-weight: 600;
}

.sub-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  padding: 0 4px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 4px 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #110a1a;
  border: 1px solid #2e1f43;
  font-size: 12px;
  color: var(--text-muted);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  flex: 1;
  font-size: 12px;
}

.search-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.streamer-list {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.streamer-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease-out;
  position: relative;
}

.streamer-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.04);
}

.streamer-item.active {
  background: var(--bg-card);
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(37, 255, 114, 0.18);
}

.streamer-item.live .streamer-name {
  background: linear-gradient(90deg, #f97316, #facc15, #4ade80);
  -webkit-background-clip: text;
  color: transparent;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 20%, #facc15, #fb7185, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.streamer-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.streamer-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.streamer-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-live {
  background: #06c16722;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.badge-offline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.badge-dept {
  background: #1d2a4a;
  border: 1px solid #2563eb;
  color: #bfdbfe;
}

.streamer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 11px;
}

.viewer-count {
  font-size: 11px;
  color: var(--text-muted);
}

.viewer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 4px;
}

.viewer-count.offline .viewer-dot {
  background: #555;
}

/* ---------- SAĞ PANEL ---------- */

.right-panel {
  background: #150d22;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 12px 12px 16px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px 2px;
}

.player-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.player-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
}

.player-avatar .logo-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.player-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.player-title {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.badge-nowlive {
  background: var(--danger);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffe8f0;
  box-shadow: 0 0 12px rgba(255, 232, 240, 0.9);
}

.badge-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--text-muted);
}

.player-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
}

.viewer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #100a1a;
  border: 1px solid var(--border-soft);
}

.viewer-pill strong {
  color: var(--accent);
  font-weight: 700;
}

.kick-link {
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kick-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #020202;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid #2f2f2f;
}

.player-body {
  margin-top: 4px;
  border-radius: 12px;
  overflow: hidden;
  background: #08060c;
  border: 1px solid #201630;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

/* MINI PLAYER (mobil floating) */
.player-body.mini-player {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 260px;
  max-width: 50vw;
  height: 146px; /* yaklaşık 16:9 */
  padding-top: 0;
  z-index: 1000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

.player-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 0 16px;
}

.player-placeholder-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.player-placeholder-sub {
  font-size: 12px;
}

.player-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- OFFLINE BÖLÜMÜ ---------- */

.offline-section {
  margin-top: 18px;
  background: #150d22;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 12px 14px 16px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.offline-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Kartları yan yana grid halinde diz */
.offline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  padding: 4px 0;
}

/* Kartın kendisi – footer hep alta sabit */
.offline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #120a1c;
  border: 1px solid #2e1f43;
  transition: background 0.13s ease-out,
              border-color 0.13s ease-out,
              transform 0.13s ease-out;
  min-height: 110px;
}

.offline-card:hover {
  background: #1b1027;
  border-color: #3a2954;
  transform: translateY(-2px);
}

.offline-card .avatar,
.offline-card .logo-img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

/* Üst kısım (isim vs.) */
.offline-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.offline-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offline-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Karakter adı boş olsa bile yükseklik sabit kalsın */
.offline-subline {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 14px;
}

/* Takipçi + buton satırı (kart altı) */
.offline-footer-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  position: relative;      /* badge bunun üstüne gelecek */
  padding-top: 8px;
  min-height: 28px;
}

.offline-followers {
  opacity: 0.9;
}

/* KANALA GİT butonu – pill, sağda, dark bg */
.offline-link-btn {
  margin-left: auto;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #2f2f2f;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  background: #050509;
  color: #f5f5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.offline-link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.offline-link-btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* OFFLINE badge – kartın sağ üst köşesi */
.offline-status-badge {
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #ef4444;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  z-index: 1;
}

/* Mobilde tek kolon */
@media (max-width: 600px) {
  .offline-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .right-panel {
    order: -1; /* player üstte */
  }

  .left-panel {
    max-height: 320px;
  }
}

@media (max-width: 600px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .player-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .player-meta {
    align-items: flex-start;
  }
}

/* ---------- ADMIN PANELİ (admin.html) ---------- */

.admin-body {
  background: radial-gradient(circle at top left, #2c1b47, #120913 55%);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-wrapper {
  max-width: 900px;
  margin: 40px auto;
  background: #150d22;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #35254b;
}

.admin-form input {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #35254b;
  background: #0e0716;
  color: #fff;
  margin-right: 8px;
  margin-bottom: 8px;
}

.admin-form button {
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: #25ff72;
  color: #050505;
  font-weight: 600;
  cursor: pointer;
}

.admin-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #2e1f43;
  padding: 6px 4px;
}

.admin-table button {
  padding: 4px 8px;
  border-radius: 999px;
  border: none;
  font-size: 11px;
  cursor: pointer;
}

.admin-edit-btn {
  background: #2563eb;
  color: #fff;
}

.admin-edit-btn:hover {
  background: #1d4ed8;
}

.admin-delete-btn {
  background: var(--danger);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255, 76, 91, 0.3);
}

.admin-delete-btn:hover {
  background: #ff1f35;
  box-shadow: 0 0 14px rgba(255, 76, 91, 0.5);
}

/* ----- En çok izlenen highlight kartı ----- */

.top-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: radial-gradient(circle at 0 0,
    rgba(37, 255, 114, 0.16),
    rgba(0, 0, 0, 0.6)
  );
  border: 1px solid var(--accent-soft);
  font-size: 12px;
}

.top-highlight-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.top-highlight-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-highlight-name {
  font-weight: 600;
}

.top-highlight-viewers {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}

/* ----- Discord entegrasyon kartı ----- */

.discord-section {
  margin-top: 14px;
}

.discord-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, #232046, #1b1227);
  border: 1px solid rgba(88, 101, 242, 0.7);
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.35);
}

.discord-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-icon-inner {
  font-size: 18px;
  color: #fff;
}

.discord-content {
  flex: 1;
  min-width: 0;
}

.discord-title {
  font-size: 13px;
  font-weight: 600;
}

.discord-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-join-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: #5865f2;
  color: #f9f9ff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
}

.discord-join-btn:hover {
  filter: brightness(1.05);
}

/* ----- Micro animasyonlar ----- */

@keyframes liveAppear {
  0% {
    transform: translateY(4px) scale(0.98);
    box-shadow: 0 0 0 rgba(37, 255, 114, 0);
    border-color: rgba(37, 255, 114, 0);
  }
  60% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 24px rgba(37, 255, 114, 0.45);
    border-color: var(--accent-soft);
  }
  100% {
    box-shadow: 0 0 0 rgba(37, 255, 114, 0);
  }
}

.streamer-item.live.new-live {
  animation: liveAppear 0.5s ease-out;
}

.streamer-item.live.active {
  transform: translateY(-1px) scale(1.01);
}

/* Player üzerinde hafif zoom efekti */
.player-body iframe {
  transition: transform 0.18s ease-out;
}
.player-body:hover iframe {
  transform: scale(1.01);
}

/* ---------- ULTRA CLEAN FOOTER (no border, no bg) ---------- */

.site-footer {
  margin-top: 40px;
  padding: 20px 0 30px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.75;
}

.site-footer p {
  margin: 3px 0;
}

.site-footer .devline span {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: 0.2s ease;
}

.site-footer .devline span:hover {
  filter: brightness(1.3);
  text-shadow: 0 0 4px var(--accent);
}

/* ------------------------------
   MOBİL FIX – YANA KAYMA SORUNU
--------------------------------*/

@media (max-width: 900px) {

  /* Grid tek kolona düşsün */
  .layout {
    grid-template-columns: 1fr !important;
  }

  /* Sol panel taşmayı engellesin */
  .left-panel {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  /* Sağ panel tam genişlik */
  .right-panel {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  /* Top bar öğeleri taşmasın */
  .top-right {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }

  /* Player container sabit 100% */
  .player-body {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Streamer listesi taşmayı engellesin */
  .streamer-item {
    max-width: 100% !important;
  }

  /* Offline kart taşmasını engelle */
  .offline-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Discord kart taşmasın */
  .discord-card {
    flex-direction: column;
    text-align: center;
    width: 100% !important;
  }
}

/* Mini-player genişlik fix */
.player-body.mini-player {
  max-width: 90vw !important;
}

/* ----- Son Etkinlik / Duyuru kartı ----- */

.event-section {
  margin-bottom: 16px;
}

.event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0,
    rgba(37, 255, 114, 0.14),
    rgba(0, 0, 0, 0.7)
  );
  border: 1px solid var(--accent-soft);
  box-shadow: 0 0 20px rgba(37, 255, 114, 0.25);
}

.event-main {
  flex: 1;
  min-width: 0;
}

.event-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.event-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.event-description {
  font-size: 12px;
  color: var(--text-muted);
}

.event-meta {
  margin-top: 6px;
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  color: var(--text-muted);
}

.event-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.event-link-btn {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #050505;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.event-link-btn:hover {
  filter: brightness(1.05);
}

/* Offline başlığı + "Tüm yayıncılar" linki */

.offline-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.offline-title-row h3 {
  margin: 0;
}

.see-all-streamers-link {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(37, 255, 114, 0.3);
}

.see-all-streamers-link:hover {
  background: rgba(37, 255, 114, 0.08);
}

/* Mobilde event kartı dik hizalansın */
@media (max-width: 600px) {
  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ===========================
   /yayincilar Sayfası
=========================== */

.streamers-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

.streamers-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.streamers-page-title {
  font-size: 20px;
  font-weight: 700;
}

.streamers-page-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.streamers-page-back {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #120919;
}

.streamer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px) {
  .streamer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .streamer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 550px) {
  .streamer-grid {
    grid-template-columns: 1fr;
  }
}

/* 3D hover + glow efektli kart */
.streamer-card {
  border-radius: 14px;
  background: #150d22;
  border: 1px solid var(--accent-soft);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  /* 3D hover için */
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.streamer-card:hover {
  transform: translateY(-4px) perspective(800px) rotateX(4deg) rotateY(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border-color: rgba(156, 120, 255, 0.6);
  background: radial-gradient(
    circle at top left,
    rgba(156, 120, 255, 0.14),
    #150d22
  );
}

.streamer-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.streamer-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.streamer-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-card-name {
  font-size: 14px;
  font-weight: 700;
}

.streamer-card-char {
  font-size: 11px;
  color: var(--text-muted);
}

.streamer-card-dept {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #1d2a4a;
  border: 1px solid #2563eb;
  color: #bfdbfe;
}

.streamer-card-status {
  font-size: 13px;
  font-weight: 600;
}

.streamer-card-status.online {
  color: var(--accent);
}

.streamer-card-status.offline {
  color: var(--text-muted);
}

.streamer-card-followers {
  font-size: 11px;
  color: var(--text-muted);
}

.streamer-card-footer {
  margin-top: 8px;
}

.streamer-profile-btn {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #050505;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.streamer-profile-btn:hover {
  filter: brightness(1.05);
}

/* ---------- YENİ ÖZELLİKLER İÇİN STİLLER ---------- */

/* Discord kimlik doğrulama butonları */
.auth-buttons {
  display: flex;
  gap: 8px;
}

.auth-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #120919;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Oy verme sistemi stilleri */
.vote-count {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.vote-btn {
  padding: 5px 10px;
  font-size: 11px;
  background: #ffbb00;
  color: #000;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  border: none;
  transition: all 0.2s ease;
}

.vote-btn:hover {
  background: #ff9900;
  transform: translateY(-1px);
}

.vote-btn:active {
  transform: translateY(0);
}

/* Offline kartları için dinamik arka plan rengi */
.offline-card.dynamic-bg {
  background: var(--dynamic-bg, #120a1c);
  border-color: var(--dynamic-border, #2e1f43);
}

.offline-card.dynamic-bg:hover {
  background: var(--dynamic-hover-bg, #1b1027);
  border-color: var(--dynamic-hover-border, #3a2954);
}


/* Neon tema için oy butonu stilleri */
body.theme-neon .vote-btn {
  background: #8b5cff;
  color: #fff;
}

body.theme-neon .vote-btn:hover {
  background: #7a4cef;
}

/* Neon tema için oy sayısı stilleri */
body.theme-neon .vote-count {
  color: #c7b7ff;
}

.live-vote-tag {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 10px;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--text-muted);
  opacity: 0.9;
}

.viewer-count {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.3;
}

/* ----- Kullanıcı Profil Paneli (sağda sabit) ----- */

/* -----------------------------------------------------------
   PROFIL MODAL (sağdan kayan panel)
----------------------------------------------------------- */
.profile-modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 9999;
}

.profile-modal.visible {
  pointer-events: auto;
}

.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.profile-modal.visible .profile-modal-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.profile-modal-card {
  background: #0f0b17;
  border-left: 2px solid #6d4aff;
  width: 380px;
  height: 100%;
  padding: 24px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
}

.profile-modal.visible .profile-modal-card {
  transform: translateX(0);
}

.profile-modal-close {
  background: none;
  font-size: 26px;
  color: #fff;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Üst kısım */
.profile-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  background: #222;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}

.profile-username {
  font-size: 20px;
  font-weight: 600;
}

.profile-userid {
  opacity: .7;
}

/* Stats (4 kutu) */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.profile-stat {
  background: #1a1326;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

.profile-stat-label {
  font-size: 12px;
  opacity: .65;
  margin-bottom: 4px;
}

.profile-stat-value {
  font-size: 17px;
  font-weight: 600;
}

/* Bölüm başlığı */
.profile-section-title {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: .75;
}

/* Son oylar */
.profile-vote-item {
  background: #1a1326;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-vote-tag {
  background: #2d1a40;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* Desteklenen yayıncılar */
.profile-favorite-item {
  background: #1a1326;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.profile-empty {
  opacity: .6;
  font-size: 13px;
}

#loginInfoPill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  gap: 8px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: 0.15s ease;
}

#loginInfoPill:hover {
  background: rgba(130, 80, 255, 0.25);
  border-color: rgba(130, 80, 255, 0.6);
}

.pill-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.pill-name {
  font-size: 14px;
  font-weight: 500;
  opacity: .95;
}

.player-profile-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: 0.25s;
  font-size: 15px;
}

.player-profile-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.player-profile-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.player-profile-name {
  font-weight: 600;
  color: #3cffc4; /* neon yeşil */
}

#loginInfoPill {
  order: 99;
  margin-left: auto;  /* sağa yapıştırır */
}

/* ============ LIVE BADGE & CARD EFFECTS ============ */

.badge-live {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(28, 235, 157, 0.15);
  color: #1ce39f;
  border: 1px solid rgba(28, 235, 157, 0.7);
  overflow: visible;
}

.badge-live::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(28, 235, 157, 0.8);
  box-shadow: 0 0 0 0 rgba(28, 235, 157, 0.7);
  opacity: 0.8;
  animation: livePulse 1.4s ease-out infinite;
}

@keyframes livePulse {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.6);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* LIVE kartları için 3D hover / highlight */

.streamer-item.live {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  transform-style: preserve-3d;
}

.streamer-item.live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(28, 235, 157, 0);
  box-shadow: 0 0 0 0 rgba(28, 235, 157, 0);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.streamer-item.live:hover {
  transform: translateY(-3px) perspective(700px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  background: radial-gradient(
      circle at top left,
      rgba(28, 235, 157, 0.12),
      transparent 55%
    ),
    radial-gradient(circle at bottom right, rgba(120, 90, 255, 0.2), transparent 55%),
    #0b0613;
}

.streamer-item.live:hover::after {
  border-color: rgba(28, 235, 157, 0.7);
  box-shadow: 0 0 18px rgba(28, 235, 157, 0.7);
}

/* Offline kartlar için 3D hover */

.offline-card {
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.offline-card:hover {
  transform: translateY(-4px) perspective(800px) rotateX(4deg) rotateY(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border-color: rgba(156, 120, 255, 0.6);
}

/* OFFLINE kart içindeki buton / linkler her zaman tıklanabilir olsun */
.offline-card {
  position: relative;
  z-index: 0;
}

.offline-card button,
.offline-card a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.streamer-item.live {
  position: relative;
  z-index: 0;
}

.streamer-item.live button,
.streamer-item.live a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* ============ SPLASH EKRANI ============ */

.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at top, rgba(101, 84, 255, 0.32), transparent 55%),
    radial-gradient(circle at bottom, rgba(18, 226, 140, 0.24), transparent 55%),
    #05000b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.splash-overlay.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  max-width: 420px;
  width: 100%;
  background: rgba(10, 5, 25, 0.95);
  border-radius: 24px;
  padding: 26px 26px 22px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 22px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.splash-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #fff2, transparent 70%), #1ce39f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #05000b;
  box-shadow: 0 0 22px rgba(28, 227, 159, 0.75);
}

.splash-title {
  font-size: 20px;
  font-weight: 700;
}

.splash-sub {
  font-size: 13px;
  opacity: 0.75;
}

.splash-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.8;
}

.splash-spinner {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: #1ce39f;
  animation: splashSpin 0.85s linear infinite;
}

@keyframes splashSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover / glow overlay'leri tıklamayı engellemesin */
.streamer-item.live::before,
.streamer-item.live::after,
.offline-card::before,
.offline-card::after {
  pointer-events: none;
}

/* Ek güvenlik: kart içindeki buton ve linkler en üstte kalsın */
.streamer-item.live,
.offline-card {
  position: relative;
  z-index: 0;
}

.streamer-item.live button,
.streamer-item.live a,
.offline-card button,
.offline-card a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
/* ==== TIKLAMA BUG HOTFIX – 3D / GLOW KAPAT ==== */

/* Offline kartlar ve canlı listede 3D transform'u iptal et */
.offline-card,
.offline-card:hover,
.streamer-item.live,
.streamer-item.live:hover {
  transform: none !important;
  box-shadow: none !important;
  perspective: none !important;
}

/* Her ihtimale karşı bu kartların üstünde görünmez layer olmasın */
.offline-card::before,
.offline-card::after,
.streamer-item.live::before,
.streamer-item.live::after {
  pointer-events: none !important;
}

/* Buton ve linkler hep en üstte ve tıklanabilir olsun */
.offline-card button,
.offline-card a,
.streamer-item.live button,
.streamer-item.live a {
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}

/* ===============================
   YAYINCI PROFİL SAYFASI (/yayin)
================================= */

.streamer-profile-page {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.streamer-profile-header {
  margin-bottom: 18px;
}

.sp-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sp-back-btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #120919;
  color: var(--text-muted);
}

.sp-back-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sp-main-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0,
    rgba(37, 255, 114, 0.16),
    rgba(0, 0, 0, 0.7)
  );
  border: 1px solid var(--accent-soft);
  box-shadow: 0 0 20px rgba(37, 255, 114, 0.25);
}

.sp-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #050505;
  background-size: cover;
  background-position: center;
}

.sp-main-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-name {
  font-size: 20px;
  font-weight: 700;
}

.sp-char {
  font-size: 13px;
  color: var(--text-muted);
}

.sp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.sp-meta-pill {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

.sp-live-badge {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 51, 102, 0.2);
  color: #ff9ec3;
  border: 1px solid #ff4c7a;
}

/* stats row */

.sp-stats-section {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sp-stat-card {
  background: #150d22;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
}

.sp-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sp-stat-value {
  font-size: 16px;
  font-weight: 600;
}

/* alt layout */

.sp-body {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 16px;
}

.sp-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sp-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.sp-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sp-kick-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #050505;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-secondary-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
}

/* sağ kutu */

.sp-status-card {
  background: #150d22;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
}

.sp-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sp-status-row:last-child {
  margin-bottom: 0;
}

.sp-status-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.sp-status-live {
  background: rgba(255, 51, 102, 0.2);
  color: #ffb3cb;
}

.sp-status-value {
  opacity: .8;
}

/* responsive */

@media (max-width: 900px) {
  .sp-stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .streamer-profile-page {
    padding: 0 12px;
  }

  .sp-main-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.streamer-card-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.streamer-card-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
}

.streamer-btn-profile {
  background: var(--accent);
  color: #050505;
}

.streamer-btn-profile:hover {
  filter: brightness(1.05);
}

.streamer-btn-kick {
  background: #000;
  color: #fff;
  border: 1px solid #333;
}

.streamer-btn-kick:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- TOPLULUK SOHBET PANELİ ---------- */

.community-section {
  margin-top: 18px;
  background: #150d22;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 12px 14px 14px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.community-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.community-header h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.community-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.community-hint {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.8;
}

.community-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
}

.community-item {
  display: flex;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  background: #11091b;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.community-item-left {
  flex-shrink: 0;
}

.community-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899, #6366f1);
  background-size: cover;
  background-position: center;
}

.community-item-header {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.community-name {
  font-weight: 600;
}

.community-time {
  font-size: 11px;
  color: var(--text-muted);
}

.community-text {
  font-size: 12px;
  color: var(--text-main);
}

.community-empty {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}

/* form */

.community-form {
  display: flex;
  gap: 8px;
}

.community-input {
  flex: 1;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #0f0718;
  color: var(--text-main);
  font-size: 12px;
  outline: none;
}

.community-input::placeholder {
  color: var(--text-muted);
}

.community-send-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #050505;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.community-send-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 600px) {
  .community-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-hint {
    align-self: flex-start;
  }
}
