/* ─── TASARIM DEĞİŞKENLERİ ─────────────────────────────────────────────── */
:root {
  --bg: #0b0a14;
  --surface: #15131f;
  --surface-2: #1e1b2c;
  --surface-3: #2a2640;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9b98ad;
  --purple: #8b5cff;
  --pink: #ff4d9d;
  --grad: linear-gradient(135deg, #6d5bff 0%, #b14bff 50%, #ff4d9d 100%);
  --gold: #ffc53d;
  --live: #ff3b5c;
  --green: #2ee6a6;
  --radius: 18px;
  --tabbar-h: 66px;
  --pad: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

html, body { height: 100%; margin: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: radial-gradient(1200px 700px at 50% 0%, #241a45 0%, #08070f 60%);
  display: grid;
  place-items: center;
  overscroll-behavior: none;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
small { font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); font-size: 12px; }
.icon { flex: none; }

/* ─── CİHAZ ÇERÇEVESİ ──────────────────────────────────────────────────── */
.device {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 500px) {
  .device {
    height: min(900px, calc(100dvh - 32px));
    border-radius: 44px;
    border: 9px solid #1b1926;
    box-shadow: 0 0 0 1px #34304a, 0 40px 120px rgba(109, 91, 255, 0.28);
  }
}

.screen {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  padding-top: env(safe-area-inset-top, 0px);
}
.screen::-webkit-scrollbar { display: none; }
.screen.is-fixed { overflow: hidden; }
.view { min-height: 100%; padding-bottom: 20px; display: flex; flex-direction: column; animation: view-in 0.22s ease; }
.view > * { flex: none; }
.view > .auth { flex: 1; }
.view:has(> .auth) { padding-bottom: 0; }
.is-fixed .view { height: 100%; padding-bottom: 0; }
.is-fixed .view > * { flex: 1; min-height: 0; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } }

/* ─── ALT SEKME ÇUBUĞU ─────────────────────────────────────────────────── */
.tabbar {
  flex: none;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(14, 12, 23, 0.96);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.tab.is-active { color: #c9a8ff; }
.tab[data-tab] { position: relative; }
.tab-badge { position: absolute; top: 8px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--live); border: 2px solid var(--bg); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; }
.tab.is-active .icon { filter: drop-shadow(0 0 8px rgba(177, 75, 255, 0.8)); }
.tab-create { color: var(--text); }
.tab-create-btn {
  width: 54px;
  height: 54px;
  margin-top: -26px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(177, 75, 255, 0.55), 0 0 0 5px var(--bg);
  transition: transform 0.15s;
}
.tab-create:active .tab-create-btn { transform: scale(0.92); }

/* ─── ORTAK BİLEŞENLER ─────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad);
  background: linear-gradient(var(--bg) 70%, transparent);
}
.topbar-solid { background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.page-title { font-size: 22px; font-weight: 800; }
.page-title-center { flex: 1; text-align: center; font-size: 17px; }
.icon-btn-spacer { width: 38px; }

.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: 0.2px; }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: conic-gradient(from 200deg, #ff4d9d, #ffb02e, #2ee6a6, #3d8bff, #b14bff, #ff4d9d);
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(177, 75, 255, 0.5);
}
.logo-lg { font-size: 28px; }
.logo-lg .logo-mark { width: 46px; height: 46px; border-radius: 14px; font-size: 27px; }

.icon-btn {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  transition: transform 0.12s, background 0.15s;
}
.icon-btn:active { transform: scale(0.9); }
.icon-btn.has-dot::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 2px var(--surface-2);
}
.icon-btn-plain { width: 34px; background: none; }
.icon-btn-plain.has-dot::after { top: 6px; right: 6px; box-shadow: 0 0 0 2px var(--bg); }
.icon-btn-glass { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.icon-btn-primary { background: var(--grad); }
.icon-btn-gift { background: linear-gradient(135deg, #ff4d6d, #ff8a3d); }
.icon-btn-game { background: linear-gradient(135deg, #3d8bff, #6d5bff); }
.icon-btn.is-muted { color: var(--live); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.12s, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; }
.btn-primary { background: var(--grad); box-shadow: 0 8px 22px rgba(177, 75, 255, 0.35); }
.btn-soft { background: var(--surface-2); border: 1px solid var(--line); }
.btn-ghost { color: var(--muted); }
.btn-glass { background: rgba(255, 255, 255, 0.14); }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

.coin {
  flex: none;
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b8, #ffc53d 45%, #e08a00);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.coin-sm { width: 12px; height: 12px; box-shadow: none; }
.coin-lg { width: 34px; height: 34px; }
.coin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 6px 0 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13px;
}
.coin-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe08a, #ffb800);
  color: #3a2a08;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.chips { display: flex; gap: 8px; padding: 4px var(--pad) 12px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips-wrap { flex-wrap: wrap; padding: 0; }
.chip {
  flex: none;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  color: #d5d2e4;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s;
}
.chip.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(177, 75, 255, 0.35); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.pill-live { background: var(--live); letter-spacing: 0.4px; }
.pill-dark { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pill-glass { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 28px; font-weight: 600; }

.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.avatar-xs { width: 22px; height: 22px; }
.avatar-sm { width: 36px; height: 36px; flex: none; }
.avatar-md { width: 52px; height: 52px; flex: none; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 88px; height: 88px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--surface); margin-left: -7px; }
.avatar-stack .avatar:first-child { margin-left: 0; }
.online-dot {
  position: absolute;
  left: 2px;
  bottom: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.badge-vip { background: linear-gradient(135deg, #3a2a08, #6b4a0c); color: var(--gold); border: 1px solid rgba(255, 197, 61, 0.5); }
.badge-role { background: linear-gradient(135deg, #6d5bff, #b14bff); }
.badge-level { background: linear-gradient(135deg, #2b2470, #5a3bd6); border: 1px solid rgba(139, 92, 255, 0.6); }
.verified { color: #3d9bff; display: inline-flex; vertical-align: -3px; }

.section { padding: 8px var(--pad) 10px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-head h2 { font-size: 17px; font-weight: 800; }
.section-head a { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .search-box input, .composer input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  outline: none;
  font-size: 16px; /* iOS'ta odaklanınca otomatik yakınlaştırmayı engeller */
}
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  outline: none;
  resize: none;
  font: inherit;
  font-size: 16px;
  color: inherit;
}
.field input:focus, .field textarea:focus, .composer input:focus { border-color: var(--purple); }
.field-row { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

/* Profil düzenleme: yatay kaydırılan görsel seçiciler */
.picker-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.picker-row::-webkit-scrollbar { display: none; }
.picker-avatar, .picker-cover { flex: none; border: 2px solid transparent; overflow: hidden; opacity: 0.7; transition: opacity 0.15s, border-color 0.15s; }
.picker-avatar { width: 56px; height: 56px; border-radius: 50%; }
.picker-cover { width: 92px; height: 56px; border-radius: 12px; }
.picker-avatar img, .picker-cover img { width: 100%; height: 100%; object-fit: cover; }
.picker-avatar.is-active, .picker-cover.is-active { opacity: 1; border-color: var(--pink); box-shadow: 0 0 0 2px rgba(255, 77, 157, 0.3); }
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 var(--pad) 12px;
  padding-left: 14px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
}
.search-box input { border: 0; background: none; padding-left: 0; color: var(--text); }

.loading { display: grid; place-items: center; height: 60vh; }
.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--surface-3);
  border-top-color: var(--purple);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty { padding: 60px var(--pad); text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.demo-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

.toast-root {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  max-width: 86%;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(40, 36, 60, 0.96);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: toast-in 0.25s ease;
  transition: opacity 0.3s, transform 0.3s;
}
.toast-success { border-color: rgba(46, 230, 166, 0.5); }
.toast-error { border-color: rgba(255, 59, 92, 0.6); }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

/* ─── ALTTAN AÇILAN PANEL ──────────────────────────────────────────────── */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s;
}
.sheet-backdrop.is-open { background: rgba(0, 0, 0, 0.6); }
.sheet {
  width: 100%;
  max-height: 86%;
  overflow-y: auto;
  padding: 10px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px));
  border-radius: 26px 26px 0 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet-backdrop.is-open .sheet { transform: none; }
.sheet-dark { background: #12101c; }
.sheet-handle { width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: var(--surface-3); }
.sheet-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.menu-list { display: grid; }
.menu-list > * { display: flex; align-items: center; gap: 12px; height: 54px; font-weight: 600; font-size: 15px; text-align: left; }
.menu-list > * + * { border-top: 1px solid var(--line); }
.is-danger { color: #ff6b84; }

/* ─── GİRİŞ EKRANI ─────────────────────────────────────────────────────── */
.auth { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.auth-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 10, 20, 0.2) 0%, rgba(11, 10, 20, 0.75) 45%, var(--bg) 70%),
    url('../assets/covers/music.jpg') center top / cover;
}
.auth-hero { position: relative; padding: 48px 24px 24px; }
.auth-hero h1 { margin-top: 28px; font-size: 32px; line-height: 1.12; font-weight: 800; }
.auth-hero p { margin-top: 10px; color: #cfcbe0; font-size: 15px; line-height: 1.5; }
.auth-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.auth-features span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
}
.auth-card { position: relative; padding: 20px 24px 28px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--surface-2); }
.segmented button { height: 40px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.segmented button.is-active { background: var(--surface-3); color: #fff; }
.auth-card .btn-ghost { margin-top: 6px; }
.auth-legal { margin-top: 8px; font-size: 11px; line-height: 1.5; color: var(--muted); text-align: center; }
.auth-legal a { color: inherit; text-decoration: underline; }

/* ─── ANA SAYFA ────────────────────────────────────────────────────────── */
/* Üst sekmeler: beşi de tek satıra sığar, yalnızca seçili olan dolu görünür */
.top-tabs { display: flex; justify-content: space-between; gap: 0; margin: 0 var(--pad) 12px; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.top-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  color: #d5d2e4;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}
.top-tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(177, 75, 255, 0.45); }

/* Slaytlar tam genişlik değil: sağda bir sonraki slaytın ucu görünür */
.banner { margin-bottom: 14px; }
.banner-track { display: flex; gap: 10px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { position: relative; flex: none; width: 84%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(177, 75, 255, 0.35); }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38, 8, 66, 0.95) 0%, rgba(90, 20, 120, 0.55) 55%, rgba(255, 77, 157, 0.15) 100%); }
.banner-text { position: absolute; inset: 0; z-index: 1; padding: 16px 16px 26px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.banner-text h2 { font-size: 24px; line-height: 1.05; font-weight: 800; font-style: italic; letter-spacing: -0.3px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.banner-text em { font-size: 30px; background: linear-gradient(90deg, #ff4d9d, #ff8ad0); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 10px rgba(255, 77, 157, 0.6)); }
.banner-cta { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 14px; border-radius: 999px; background: #fff; color: #1a1430; font-size: 12px; font-weight: 800; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 4px; }
.banner-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: width 0.2s; }
.banner-dots i.is-active { width: 14px; border-radius: 4px; background: #fff; }

.quick-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 0 var(--pad) 6px; }
.quick-cat {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  height: 74px;
  padding: 6px 2px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.12s;
}
.quick-cat:active { transform: scale(0.94); }
.quick-cat i { font-style: normal; font-size: 26px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(177, 75, 255, 0.45)); }
.quick-cat span { font-size: 10px; font-weight: 700; line-height: 1.15; color: #e3dff2; }

/* Yatay kaydırılan şerit (öne çıkan odalar) */
.h-strip { display: flex; gap: 8px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; overflow-x: auto; scrollbar-width: none; }
.h-strip::-webkit-scrollbar { display: none; }

/* Ekrana üç kart sığar, dördüncünün ucu görünür */
.feature-card { position: relative; flex: none; width: 30%; aspect-ratio: 1 / 1.08; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); transition: transform 0.15s; }
.feature-card:active { transform: scale(0.97); }
.feature-card-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 10, 20, 0.95) 92%); }
.feature-card-top { position: absolute; top: 6px; left: 6px; right: 6px; z-index: 1; display: flex; justify-content: space-between; }
.feature-card-top .pill { height: 18px; padding: 0 6px; gap: 3px; font-size: 9.5px; border-radius: 6px; }
.feature-card-body { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; display: flex; align-items: center; gap: 5px; }
.feature-card-body .avatar { flex: none; width: 22px; height: 22px; border: 1.5px solid #fff; }
.feature-card-body span { display: grid; min-width: 0; }
.feature-card-body b { font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-card-body small { font-size: 9px; color: #c4c0d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Oyunlar: dört kare kart, adı kartın altında */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.game-card { display: grid; justify-items: center; gap: 6px; transition: transform 0.12s; }
.game-card:active { transform: scale(0.94); }
.game-card b { font-size: 12px; font-weight: 700; }
.game-art { position: relative; width: 100%; aspect-ratio: 1 / 0.92; border-radius: 14px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.game-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 50%); }
.game-art i { position: relative; font-style: normal; font-size: 46px; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.game-roulette { background: radial-gradient(circle at 50% 60%, #c8702e, #6b2a10 70%); }
.game-billiards { background: radial-gradient(circle at 50% 60%, #22a35a, #0b4426 72%); }
.game-okey { background: radial-gradient(circle at 50% 60%, #d84a3a, #6e1616 72%); }
.game-candy { background: radial-gradient(circle at 50% 60%, #ff9ad5, #b13fd1 75%); }

/* Popüler yayıncılar: altı kişi tek satıra sığar */
.streamer-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 8px) / 6); gap: 8px; margin-right: calc(var(--pad) * -1); padding: 14px var(--pad) 4px 0; overflow-x: auto; scrollbar-width: none; }
.streamer-strip::-webkit-scrollbar { display: none; }
.streamer { display: grid; justify-items: center; gap: 8px; min-width: 0; text-align: center; }
.streamer b { max-width: 100%; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.streamer-ring { position: relative; width: 100%; aspect-ratio: 1; padding: 2px; border-radius: 50%; background: linear-gradient(135deg, #5a8bff, #b14bff); }
.streamer-ring.is-live { background: var(--grad); box-shadow: 0 0 12px rgba(255, 77, 157, 0.5); }
.streamer-ring .avatar { border: 2px solid var(--bg); }
.streamer-ring .online-dot { left: auto; right: 1px; bottom: 1px; width: 11px; height: 11px; }
.streamer-live { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 0 5px; border-radius: 5px; background: var(--live); border: 1.5px solid var(--bg); font-size: 8px; font-weight: 800; line-height: 13px; letter-spacing: 0.3px; }
.streamer-crown { position: absolute; top: -13px; left: 50%; z-index: 1; transform: translateX(-50%) rotate(-12deg); font-style: normal; font-size: 16px; }

.rank-strip { display: flex; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad) 6px; overflow-x: auto; scrollbar-width: none; }
.rank-strip::-webkit-scrollbar { display: none; }
.rank-item {
  position: relative;
  flex: none;
  width: 104px;
  padding: 14px 8px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}
.rank-item b { font-size: 13px; }
.rank-item small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gold); }
.rank-no {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.rank-1 { background: linear-gradient(180deg, rgba(255, 197, 61, 0.2), var(--surface) 70%); border-color: rgba(255, 197, 61, 0.45); }
.rank-1 .rank-no { background: var(--gold); color: #3a2a08; }
.rank-2 .rank-no { background: #cfd3dc; color: #22242a; }
.rank-3 .rank-no { background: #d08a4c; color: #2b1808; }

.room-list { display: grid; gap: 10px; padding: 0 var(--pad); }
.section .room-list { padding: 0; }
.following-list { padding-top: 14px; }
.room-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.room-row:active { background: var(--surface-2); }
.room-row-cover { flex: none; width: 68px; height: 68px; border-radius: 14px; object-fit: cover; }
.room-row-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.room-row-body h3 { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.room-row-body h3 .pill { height: 18px; font-size: 9px; padding: 0 6px; }
.room-row-body p { font-size: 12px; color: var(--muted); }
.room-row-count { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: #d5d2e4; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; border-radius: 2px; background: var(--pink); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.2s; }
.eq i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }

/* ─── MESAJLAR ─────────────────────────────────────────────────────────── */
.conversation-list { padding: 0 var(--pad); }
.conversation { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.conversation-avatar { position: relative; flex: none; }
.conversation-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.conversation-body b { font-size: 15px; }
.conversation-body small { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-meta { display: grid; justify-items: end; gap: 6px; }
.unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }

.chat-screen { height: 100%; display: flex; flex-direction: column; }
.chat-peer { display: flex; align-items: center; gap: 10px; }
.chat-peer span { display: grid; }
.chat-thread { flex: 1; min-height: 0; overflow-y: auto; padding: 16px var(--pad); display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.bubble { align-self: flex-start; max-width: 78%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); animation: view-in 0.2s ease; }
.bubble p { line-height: 1.4; overflow-wrap: anywhere; }
.bubble small { display: block; margin-top: 4px; font-size: 10px; text-align: right; }
.bubble.is-mine { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--grad); }
.bubble.is-mine small { color: rgba(255, 255, 255, 0.75); }
.composer { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.composer input { border-radius: 999px; height: 44px; }
.composer .icon-btn { width: 44px; height: 44px; }

/* ─── CÜZDAN ───────────────────────────────────────────────────────────── */
.balance-card {
  margin: 16px var(--pad);
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3b2a9c 0%, #8a2fd1 55%, #d6367f 100%);
  box-shadow: 0 16px 40px rgba(138, 47, 209, 0.35);
}
.balance-card small { color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.balance-card p { margin-top: 10px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.balance-amount { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 34px; font-weight: 800; }
.pop { display: inline-block; animation: pop 0.45s ease; }
@keyframes pop { 40% { transform: scale(1.18); } }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.package {
  position: relative;
  padding: 18px 6px 10px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  justify-items: center;
  gap: 4px;
  transition: transform 0.12s, opacity 0.15s;
}
.package:active { transform: scale(0.96); }
.package.is-loading { opacity: 0.5; }
.package b { margin-top: 4px; font-size: 16px; }
.package small { color: var(--green); font-size: 11px; font-weight: 600; }
.package.is-featured { border-color: rgba(177, 75, 255, 0.7); background: linear-gradient(180deg, rgba(177, 75, 255, 0.16), var(--surface)); }
.package-tag { position: absolute; top: -9px; padding: 2px 8px; border-radius: 999px; background: var(--grad); font-size: 10px; font-weight: 800; white-space: nowrap; }
.package-price { width: 100%; margin-top: 6px; padding: 7px 0; border-radius: 999px; background: var(--surface-3); font-size: 12px; font-weight: 700; }

.tx-list { display: grid; }
.tx { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tx-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.tx-in { color: var(--green); }
.tx-out { color: var(--pink); }
.tx-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tx-body b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-amount { font-size: 14px; }
.tx-amount.is-positive { color: var(--green); }

/* ─── PROFİL ───────────────────────────────────────────────────────────── */
.profile-cover { position: relative; height: 190px; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 20, 0.35) 0%, transparent 40%, var(--bg) 100%); }
.profile-cover-actions { position: absolute; top: 12px; left: var(--pad); right: var(--pad); z-index: 1; display: flex; justify-content: space-between; }
.profile-head { position: relative; display: flex; align-items: flex-end; gap: 12px; margin-top: -46px; padding: 0 var(--pad); }
.profile-avatar { flex: none; width: 96px; height: 96px; padding: 4px; border-radius: 50%; }
.profile-avatar .avatar { border: 3px solid var(--bg); }
.profile-id { flex: 1; min-width: 0; padding-bottom: 6px; }
.profile-id h1 { font-size: 22px; font-weight: 800; }
.id-copy { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; color: var(--muted); }
.profile-badges { display: flex; gap: 6px; padding-bottom: 10px; }
.profile-meta { padding: 12px var(--pad) 0; font-size: 13px; color: #c4c0d6; }
.profile-bio { padding: 6px var(--pad) 0; font-size: 14px; line-height: 1.45; }
.profile-actions { display: flex; gap: 10px; padding: 14px var(--pad) 0; }
.profile-actions .btn { flex: 1; height: 42px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px var(--pad) 0; padding: 14px 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stats div { display: grid; justify-items: center; gap: 2px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font-size: 18px; font-weight: 800; }

.quick-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px var(--pad) 0; }
.quick-tiles button { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 14px; background: var(--surface-2); text-align: left; }
.quick-tiles i { font-style: normal; font-size: 22px; }
.quick-tiles span { display: grid; min-width: 0; }
.quick-tiles b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 22px; margin-top: 16px; padding: 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; flex: none; height: 46px; font-weight: 700; color: var(--muted); }
.tabs button.is-active { color: #fff; }
.tabs button.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--grad); }
.tab-panel { padding: 16px var(--pad) 0; min-height: 280px; }
.sub-title { margin: 4px 0 12px; font-size: 15px; font-weight: 800; }
.sub-title:not(:first-child) { margin-top: 22px; }

.post { padding: 14px; margin-bottom: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.post header { display: flex; align-items: center; gap: 10px; }
.post header span { display: grid; }
.post > p { margin: 10px 0; line-height: 1.45; }
.post-images { display: grid; gap: 6px; border-radius: 14px; overflow: hidden; }
.post-images-2 { grid-template-columns: 1fr 1fr; }
.post-images-3 { grid-template-columns: repeat(3, 1fr); }
.post-images img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-images-1 img { aspect-ratio: 16 / 9; }
.post footer { display: flex; gap: 22px; margin-top: 12px; color: #c4c0d6; }
.post footer button { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.post footer .is-liked { color: var(--live); }
.post footer .is-liked .icon { fill: currentColor; }

.frame-grid, .reward-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.frame-item { display: grid; justify-items: center; gap: 3px; padding: 10px 2px; border-radius: 14px; border: 1px solid transparent; }
.frame-item.is-active { border-color: rgba(177, 75, 255, 0.8); background: rgba(177, 75, 255, 0.12); }
.frame-item b { margin-top: 5px; font-size: 12px; }
.frame-item small { font-size: 10px; }
.frame-item.is-active small { color: var(--green); }
.frame-preview { position: relative; width: 62px; height: 62px; padding: 4px; border-radius: 50%; }
.frame-preview .avatar { border: 2px solid var(--bg); }
.is-locked .frame-preview .avatar { filter: grayscale(0.7) brightness(0.6); }
.frame-lock { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; }

/* Avatar çerçeveleri: her çerçeve yalnızca --frame (halka) ve --frame-glow (parıltı) değişkenini
   tanımlar; halkayı çizen yer (profil, koltuk, sohbet, mağaza önizlemesi) bu değişkenleri kullanır. */
.frame-classic { --frame: linear-gradient(135deg, #8b5cff, #ff4d9d); }
.frame-neon { --frame: conic-gradient(#00f0ff, #7b5cff, #ff4d9d, #00f0ff); --frame-glow: 0 0 18px rgba(0, 240, 255, 0.45); }
.frame-gold { --frame: conic-gradient(#fff3b8, #ffc53d, #a86a00, #ffc53d, #fff3b8); --frame-glow: 0 0 16px rgba(255, 197, 61, 0.4); }
.frame-ice { --frame: linear-gradient(135deg, #e0f7ff, #5cc8ff, #2b6bff); }
.frame-fire { --frame: conic-gradient(#ffd23d, #ff7a1a, #ff2d55, #ffd23d); --frame-glow: 0 0 14px rgba(255, 122, 26, 0.4); }
.frame-forest { --frame: linear-gradient(135deg, #b6ff8a, #2ee6a6, #0a7a5a); }
.frame-galaxy { --frame: conic-gradient(#1b1464, #8b5cff, #ff4d9d, #2b6bff, #1b1464); --frame-glow: 0 0 16px rgba(139, 92, 255, 0.45); }
.frame-royal { --frame: conic-gradient(#ffc53d, #8b1cff, #ffc53d, #8b1cff, #ffc53d); --frame-glow: 0 0 18px rgba(255, 197, 61, 0.5); }
.frame-preview, .profile-avatar, .avatar-frame { background: var(--frame, var(--surface-3)); box-shadow: var(--frame-glow, none); }
/* Küçük avatarın etrafındaki çerçeve (sohbet, listeler) */
/* align-self: satır uzun olsa da (çok satırlı mesaj) halka esneyip yumurta olmasın */
.avatar-frame { flex: none; align-self: flex-start; display: inline-grid; padding: 2px; border-radius: 50%; }
.avatar-frame .avatar { border: 1.5px solid var(--bg); }

.reward { padding: 12px 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; justify-items: center; gap: 3px; text-align: center; }
.reward i { font-style: normal; font-size: 30px; }
.reward b { font-size: 11px; }
.reward small { font-size: 10px; }
.reward-gold { background: linear-gradient(180deg, rgba(255, 197, 61, 0.14), var(--surface)); border-color: rgba(255, 197, 61, 0.35); }

.about { margin: 0; display: grid; }
.about div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about dt { color: var(--muted); }
.about dd { margin: 0; font-weight: 600; }

/* ─── SESLİ ODA ────────────────────────────────────────────────────────── */
.room { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.room-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(22px) brightness(0.32) saturate(1.2); }
.room > *:not(.room-bg) { position: relative; }
.room-header { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px; }
.room-thumb { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.room-title { flex: 1; min-width: 0; }
.room-title h1 { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-title p { font-size: 11px; color: #c4c0d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-pills { flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 12px 10px; }
.room-audience { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.room-audience .avatar { border-color: transparent; }

.seat-grid { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; padding: 8px 12px 12px; }
.seat { display: grid; justify-items: center; align-content: start; gap: 5px; min-width: 0; }
.seat b { max-width: 100%; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat-circle {
  position: relative;
  width: 66px;
  height: 66px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a8bff, #b14bff);
  display: grid;
  place-items: center;
  transition: box-shadow 0.2s;
}
.seat-circle .avatar { border: 2px solid #14121f; }
.seat.is-host .seat-circle { background: linear-gradient(135deg, #ffe08a, #ffb800); }
.seat.is-empty .seat-circle, .seat.is-locked .seat-circle { background: rgba(255, 255, 255, 0.08); border: 1.5px dashed rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.6); }
.seat.is-locked .seat-circle { border-style: solid; }
/* Mağazadan alınmış çerçeve, koltuğun varsayılan halkasının (oda sahibininki dahil) yerine geçer */
.seat .seat-circle.has-frame { background: var(--frame); box-shadow: var(--frame-glow, none); }
.seat.is-empty b, .seat.is-locked b { color: rgba(255, 255, 255, 0.6); }
.seat.is-speaking .seat-circle { animation: speaking 1.1s ease-out infinite; }
@keyframes speaking {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(46, 230, 166, 0); }
}
.seat-crown { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 20px; }
.seat-mic { position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%; background: #23203a; border: 2px solid #14121f; display: grid; place-items: center; color: #8ad8ff; }
.seat-mic.is-muted { color: var(--live); }
.seat-role { padding: 2px 9px; border-radius: 999px; background: linear-gradient(135deg, #ffb800, #ff7a1a); color: #fff; font-size: 10px; font-weight: 700; }
.seat-role-admin { background: linear-gradient(135deg, #6d5bff, #b14bff); }

.room-stream { flex: 1; min-height: 0; display: flex; }
.room-chat { flex: 1; min-width: 0; overflow-y: auto; padding: 6px 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; mask-image: linear-gradient(transparent, #000 28px); -webkit-mask-image: linear-gradient(transparent, #000 28px); }
.room-chat::-webkit-scrollbar { display: none; }
.room-chat > :first-child { margin-top: auto; }
.chat-line { display: flex; gap: 8px; animation: view-in 0.25s ease; }
.chat-line b { font-size: 12px; color: #c9c5dc; }
.chat-line p { margin-top: 1px; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.chat-system { display: block; align-self: flex-start; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.09); font-size: 12px; line-height: 1.4; color: #e3dff2; }
.chat-system b { color: #ffd27a; font-size: 12px; }
.mini-vip { padding: 1px 5px; border-radius: 6px; background: rgba(255, 197, 61, 0.2); color: var(--gold); font-size: 9px; font-weight: 800; }

.gift-feed { flex: none; width: 62px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; padding: 6px 8px 6px 0; }
.gift-feed-item { display: grid; justify-items: end; animation: gift-pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1); }
.gift-feed-item i { font-style: normal; font-size: 34px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.gift-feed-item b { font-size: 12px; font-style: italic; }
@keyframes gift-pop { from { opacity: 0; transform: scale(0.3) translateX(20px); } }
.gift-feed-item.is-combo b { display: inline-block; color: var(--gold); animation: pop 0.35s ease; }

/* Küçük hediye: sağ alttan süzülen emojiler */
.gift-float { position: absolute; right: 70px; bottom: 90px; font-style: normal; font-size: 34px; opacity: 0; animation: gift-float 2s ease-out forwards; }
@keyframes gift-float {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 1; transform: translate(0, -20px) scale(1.1); }
  100% { opacity: 0; transform: translate(var(--drift), -260px) scale(0.9); }
}

/* Büyük hediye: tam ekran parıltı, konfeti ve duyuru şeridi */
.gift-fullscreen { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; animation: fade-in-out 3.4s ease forwards; }
.gift-fullscreen-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 197, 61, 0.45), rgba(177, 75, 255, 0.35) 35%, rgba(11, 10, 20, 0.75) 75%); }
.gift-fullscreen-emoji { position: relative; font-style: normal; font-size: 170px; line-height: 1; filter: drop-shadow(0 0 40px rgba(255, 197, 61, 0.9)); animation: big-gift 3.4s cubic-bezier(0.2, 1.2, 0.4, 1) forwards; }
@keyframes big-gift {
  0% { opacity: 1; transform: scale(0.1) rotate(-30deg); }
  18% { transform: scale(1.15) rotate(6deg); }
  28% { transform: scale(1) rotate(0); }
  80% { opacity: 1; transform: scale(1.05); }
  100% { transform: scale(1.6) translateY(-40px); opacity: 0; }
}
.gift-banner { position: absolute; top: 76px; left: 12px; right: 12px; padding: 10px 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 184, 0, 0.95), rgba(255, 77, 157, 0.95)); box-shadow: 0 10px 30px rgba(255, 77, 157, 0.45); font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: banner-in 3.4s ease forwards; }
@keyframes banner-in {
  0% { transform: translateX(110%); }
  12%, 85% { transform: translateX(0); }
  100% { transform: translateX(-110%); }
}
.gift-confetti { position: absolute; inset: 0; }
.gift-confetti span { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: confetti-fall 2.6s ease-in forwards; }
@keyframes confetti-fall { to { transform: translateY(110vh) rotate(var(--spin)); } }
@keyframes fade-in-out { 0% { opacity: 0; } 8%, 85% { opacity: 1; } 100% { opacity: 0; } }

.room-bar { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.room-bar .icon-btn { width: 42px; height: 42px; }
.room-input { flex: 1; min-width: 0; display: flex; align-items: center; height: 42px; padding: 0 10px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.room-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 16px; }
.room-input input::placeholder { color: rgba(255, 255, 255, 0.55); }
.room-input button { color: rgba(255, 255, 255, 0.8); display: grid; }

.gift-stage { position: absolute !important; inset: 0; z-index: 20; pointer-events: none; display: grid; place-items: center; }
.gift-burst { grid-area: 1 / 1; display: grid; justify-items: center; gap: 8px; animation: burst 2.4s ease forwards; }
.gift-burst i { font-style: normal; font-size: 96px; line-height: 1; filter: drop-shadow(0 0 30px rgba(255, 77, 157, 0.7)); }
.gift-burst span { padding: 6px 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(109, 91, 255, 0.92), rgba(255, 77, 157, 0.92)); font-size: 13px; font-weight: 700; white-space: nowrap; }
@keyframes burst {
  0% { opacity: 0; transform: scale(0.2) translateY(60px); }
  14% { opacity: 1; transform: scale(1.15); }
  24% { transform: scale(1); }
  78% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4) translateY(-50px); }
}

.gift-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gift-sheet-head .sheet-title { margin: 0; }
.receiver-row { display: flex; gap: 12px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.receiver { flex: none; display: grid; justify-items: center; gap: 4px; opacity: 0.55; transition: opacity 0.15s; }
.receiver .avatar { border: 2px solid transparent; }
.receiver.is-active { opacity: 1; }
.receiver.is-active .avatar { border-color: var(--pink); box-shadow: 0 0 0 2px rgba(255, 77, 157, 0.35); }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gift-item { padding: 10px 2px 8px; border-radius: 14px; border: 1.5px solid transparent; background: rgba(255, 255, 255, 0.04); display: grid; justify-items: center; gap: 2px; }
.gift-item i { font-style: normal; font-size: 34px; line-height: 1.15; transition: transform 0.2s; }
.gift-item b { font-size: 11px; }
.gift-item small { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--gold); }
.gift-item.is-active { border-color: var(--pink); background: rgba(255, 77, 157, 0.14); }
.gift-item.is-active i { transform: scale(1.18); }
.gift-sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.quantity { display: flex; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.quantity button { height: 36px; min-width: 44px; padding: 0 10px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); }
.quantity button.is-active { background: var(--surface-3); color: #fff; }

.dice-game { padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(61, 139, 255, 0.18), rgba(177, 75, 255, 0.18)); border: 1px solid var(--line); display: grid; justify-items: center; gap: 12px; text-align: center; }
.dice { display: flex; gap: 14px; font-size: 64px; line-height: 1; }
.dice.is-rolling span { animation: roll 0.3s linear infinite; }
.dice.is-rolling span:last-child { animation-direction: reverse; }
@keyframes roll { to { transform: rotate(360deg); } }
.game-tabs { margin-bottom: 14px; }

/* Rulet: tur sürerken çark döner; sonuç gelince ortadaki sayı rengini alır */
.roulette { display: grid; justify-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 77, 157, 0.14), rgba(109, 91, 255, 0.16)); border: 1px solid var(--line); text-align: center; }
.roulette-wheel {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(#d7263d 0 9.73deg, #1b1b22 9.73deg 19.46deg);
  border: 6px solid #c8952b;
  box-shadow: 0 0 0 3px #5b3a0c, 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 10px rgba(0, 0, 0, 0.25);
}
.roulette-wheel.is-spinning { animation: wheel-spin 1.2s linear infinite; }
.roulette-wheel.is-spinning .roulette-number { animation: wheel-spin 1.2s linear infinite reverse; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
.roulette-number { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #2a2640; border: 3px solid #c8952b; font-size: 24px; font-weight: 800; animation: pop 0.45s ease; }
.roulette-status { font-size: 13px; color: #e3dff2; }
.roulette-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.roulette-color { display: grid; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 2px solid transparent; transition: transform 0.12s, border-color 0.15s; }
.roulette-color:active { transform: scale(0.95); }
.roulette-color:disabled { opacity: 0.5; }
.roulette-color b { font-size: 13px; }
.roulette-color small { font-size: 10px; color: rgba(255, 255, 255, 0.75); }
.roulette-color.is-active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
.roulette-bg-red { background: #d7263d; }
.roulette-bg-black { background: #1b1b22; }
.roulette-bg-green { background: #138a4f; }
.roulette-text-red { color: #ff5a6e; }
.roulette-text-black { color: #e3dff2; }
.roulette-text-green { color: var(--green); }
.roulette-bets { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 26px; }
.roulette-bet { padding: 2px; border-radius: 50%; }
.roulette-ring-red { background: #d7263d; }
.roulette-ring-black { background: #8d8a9e; }
.roulette-ring-green { background: #138a4f; }
.chat-join { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--grad); font-size: 11px; font-weight: 700; }

.user-sheet { display: grid; justify-items: center; gap: 8px; text-align: center; }
.user-sheet h2 { font-size: 20px; font-weight: 800; }
.user-sheet .profile-badges { padding: 0; }
.user-sheet p { color: #c4c0d6; }
.user-sheet-actions { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; width: 100%; margin-top: 10px; }
.user-sheet-actions .btn { padding: 0 8px; }
.mod-list { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ─── Oda moderasyonu: dinleyici listesi, roller, ayarlar ──────────────────── */
.btn-danger { background: linear-gradient(135deg, #ff4d6d, #d6264a); box-shadow: 0 8px 22px rgba(255, 77, 109, 0.3); }
.seat-role-vip { background: linear-gradient(135deg, #3a2a08, #8a610f); color: var(--gold); }
.seat-mic.is-blocked { color: #ff6b84; background: #3a1622; }
.mini-role { padding: 1px 6px; border-radius: 6px; font-size: 9px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ffb800, #ff7a1a); vertical-align: 1px; }
.mini-role-admin { background: linear-gradient(135deg, #6d5bff, #b14bff); }
.mini-role-vip { background: #6b4a0c; color: var(--gold); }
.chat-line[data-message-id] { cursor: pointer; }
.room-audience { color: inherit; }
.member-list { display: grid; max-height: 60vh; overflow-y: auto; margin: 0 calc(var(--pad) * -1); }
.member-row { display: flex; align-items: center; gap: 12px; padding: 10px var(--pad); text-align: left; }
.member-row + .member-row { border-top: 1px solid var(--line); }
.member-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.member-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-info small { font-size: 12px; color: var(--muted); }
.member-empty { padding: 24px 0; text-align: center; color: var(--muted); }
.message-preview { padding: 4px 0 10px; color: #c4c0d6; overflow-wrap: anywhere; }
.sheet-text { margin-bottom: 18px; color: #c4c0d6; line-height: 1.45; }
.invite-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; width: 100%; margin-top: 12px; }
.switch-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; cursor: pointer; }
.switch-row > span { flex: 1; display: grid; gap: 2px; }
.switch-row small { font-size: 12px; color: var(--muted); }
.switch-row input { width: 22px; height: 22px; accent-color: var(--pink); }

/* ─── Bildirimler, ayarlar, kişi arama, gelir, seviye ──────────────────────── */
.notification-list { display: grid; }
.notification { display: flex; align-items: center; gap: 12px; padding: 12px var(--pad); color: inherit; }
.notification + .notification { border-top: 1px solid var(--line); }
.notification.is-unread { background: rgba(139, 92, 255, 0.1); }
.notification-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 20px; }
.notification-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.notification-body p { font-size: 14px; line-height: 1.35; }
.notification-body small { font-size: 12px; color: var(--muted); }

.settings-card { display: flex; align-items: center; gap: 12px; margin: 4px var(--pad) 8px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.settings-card span { display: grid; gap: 2px; }
.settings-card small { color: var(--muted); font-size: 12px; }
.settings-title { margin: 18px var(--pad) 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.settings-list { margin: 0 var(--pad); }
.settings-list + .settings-list { margin-top: 18px; }
.settings-note { padding: 8px 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.settings-version { margin: 24px 0; text-align: center; font-size: 12px; color: var(--muted); }

.explore-modes { margin: 0 var(--pad) 12px; }
.segmented-3 { grid-template-columns: repeat(3, 1fr); }
.segmented-3 button { height: 36px; font-size: 14px; }
.search-section-head { margin-top: 8px; }
.search-section-head:not(:first-child) { margin-top: 22px; }
.search-section-head button { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.user-row { color: inherit; }
.user-row .badge { vertical-align: 1px; }
.online-dot { width: 10px; height: 10px; border-radius: 50%; background: #2ee6a6; box-shadow: 0 0 0 3px rgba(46, 230, 166, 0.2); }

.wallet-tabs { margin: 0 var(--pad) 14px; }
.balance-card-diamond { background: linear-gradient(135deg, #1b3a5c, #3d8bff 60%, #8b5cff); }
.diamond-lg { font-size: 30px; line-height: 1; }
.income-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px var(--pad) 0; }
.income-stats div { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface-2); text-align: center; }
.income-stats b { font-size: 17px; }
.income-stats small { font-size: 11px; color: var(--muted); }
.exchange-form { display: flex; gap: 8px; align-items: center; }
.exchange-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: inherit; font: inherit; }
.supporter-rank { width: 22px; text-align: center; font-weight: 800; color: var(--gold); }

.level-progress { margin: 10px var(--pad) 0; display: grid; gap: 6px; }
.level-progress span { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.level-progress small { color: var(--muted); }
.level-progress i { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--pink) var(--progress), var(--surface-2) var(--progress)); }

/* ─── GELİR SİSTEMLERİ: sohbet balonu, giriş efekti, şanslı hediye, hazine sandığı ──────── */
/* Sohbet balonu: mağazadan alınan balon mesaj metnini renkli bir kutuya alır */
.chat-bubble { display: inline-block; margin-top: 3px; padding: 6px 11px; border-radius: 4px 14px 14px 14px; }
.bubble-pink { background: linear-gradient(135deg, rgba(255, 77, 157, 0.55), rgba(177, 75, 255, 0.45)); }
.bubble-ocean { background: linear-gradient(135deg, rgba(43, 107, 255, 0.55), rgba(46, 230, 166, 0.4)); }
.bubble-gold { background: linear-gradient(135deg, rgba(255, 197, 61, 0.5), rgba(168, 106, 0, 0.5)); border: 1px solid rgba(255, 197, 61, 0.6); }
.bubble-neon { background: rgba(20, 10, 40, 0.75); border: 1px solid #b14bff; box-shadow: 0 0 10px rgba(177, 75, 255, 0.6), inset 0 0 8px rgba(0, 240, 255, 0.25); }

/* Giriş efekti: ekranın soluna kayan, sağdan çıkan şerit */
.entry-effect {
  position: absolute; top: 34%; left: 0; display: flex; align-items: center; gap: 8px;
  padding: 6px 18px 6px 8px; border-radius: 0 999px 999px 0; font-size: 13px; white-space: nowrap;
  animation: entry-slide 3.2s ease forwards;
}
.entry-effect i { font-style: normal; font-size: 30px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.entry-spark { background: linear-gradient(90deg, rgba(139, 92, 255, 0.95), rgba(255, 77, 157, 0.6) 80%, transparent); }
.entry-car { background: linear-gradient(90deg, rgba(255, 45, 85, 0.95), rgba(255, 122, 26, 0.6) 80%, transparent); }
.entry-rocket { background: linear-gradient(90deg, rgba(43, 107, 255, 0.95), rgba(0, 240, 255, 0.55) 80%, transparent); }
.entry-crown { background: linear-gradient(90deg, rgba(168, 106, 0, 0.95), rgba(255, 197, 61, 0.7) 80%, transparent); box-shadow: 0 0 24px rgba(255, 197, 61, 0.45); }
.entry-dragon { background: linear-gradient(90deg, rgba(10, 122, 90, 0.95), rgba(139, 28, 255, 0.7) 80%, transparent); box-shadow: 0 0 30px rgba(46, 230, 166, 0.45); }
.entry-dragon i, .entry-crown i { font-size: 38px; }
@keyframes entry-slide {
  0% { transform: translateX(-105%); opacity: 0; }
  15%, 75% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}

/* Şanslı hediye */
.lucky-tag { position: absolute; top: 4px; left: 4px; padding: 1px 6px; border-radius: 999px; background: linear-gradient(135deg, #2ee6a6, #0a7a5a); font-size: 9px; font-weight: 800; }
.gift-item { position: relative; }
.lucky-banner {
  position: absolute; top: 120px; left: 12px; right: 12px; padding: 10px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(10, 122, 90, 0.95), rgba(255, 197, 61, 0.95)); box-shadow: 0 10px 30px rgba(46, 230, 166, 0.45);
  font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  animation: banner-in 3.6s ease forwards;
}

/* Hazine sandığı */
.chest-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px;
}
.chest-pill small { font-size: 11px; font-weight: 700; color: #ffe08a; }
.chest-bar { width: 40px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.chest-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffc53d, #ff7a1a); }
.chest-pill.is-open { background: linear-gradient(135deg, #ffc53d, #ff7a1a); color: #3a2a08; animation: chest-pulse 1s ease-in-out infinite; }
.chest-pill.is-open small { color: #3a2a08; }
@keyframes chest-pulse { 50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(255, 197, 61, 0.7); } }

/* ─── MAĞAZA ─────────────────────────────────────────────────────────────────────── */
.store-tabs { margin: 0 var(--pad) 14px; }
.vip-promo {
  display: flex; align-items: center; gap: 12px; margin: 0 var(--pad) 14px; padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, #3a2a08, #6b4a0c 60%, #8b1cff); border: 1px solid rgba(255, 197, 61, 0.5); color: #ffe08a;
}
.vip-promo > span:first-child { font-size: 26px; }
.vip-promo > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.vip-promo small { color: #f3e3b5; font-size: 12px; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 var(--pad); }
.store-item {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 4px 10px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); text-align: center;
}
.store-item.is-active { border-color: rgba(46, 230, 166, 0.7); background: rgba(46, 230, 166, 0.08); }
.store-item b { margin-top: 4px; font-size: 13px; }
.store-item small { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.store-item .store-on { color: var(--green); font-weight: 700; }
.store-item .store-price { color: var(--gold); font-weight: 700; }
.store-vip { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 999px; background: linear-gradient(135deg, #ffc53d, #a86a00); color: #3a2a08; font-size: 9px; font-weight: 800; }
.store-entry { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; }
.store-entry i { font-style: normal; font-size: 30px; }
.store-bubble { height: 62px; display: grid; place-items: center; font-size: 12px; }
.frame-preview.is-large, .store-entry.is-large { width: 110px; height: 110px; }
.store-entry.is-large i { font-size: 54px; }
.store-bubble.is-large { height: 80px; font-size: 16px; }
.store-detail { display: grid; justify-items: center; gap: 6px; margin-bottom: 16px; text-align: center; }
.store-detail .sheet-title { margin: 8px 0 0; }
.store-detail-note { font-size: 13px; color: var(--muted); line-height: 1.45; margin-bottom: 14px; }
.store-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.store-buy .btn { height: auto; min-height: 48px; display: grid; gap: 2px; justify-items: center; padding: 8px; }
.store-buy .btn b { display: inline-flex; align-items: center; gap: 4px; }

/* ─── VIP ────────────────────────────────────────────────────────────────────────── */
.vip-status { display: flex; align-items: center; gap: 12px; margin: 0 var(--pad) 16px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.vip-status > div { flex: 1; display: grid; gap: 3px; }
.vip-status small { font-size: 12px; color: var(--muted); }
.vip-status-icon { font-size: 30px; }
.vip-tiers { display: grid; gap: 14px; padding: 0 var(--pad); }
.vip-tier { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.vip-tier header { display: flex; align-items: baseline; gap: 8px; }
.vip-tier header b { font-size: 20px; font-weight: 800; }
.vip-tier header span { color: #e9e5f7; font-weight: 700; }
.vip-tier header small { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--green); color: #05301f; font-size: 11px; font-weight: 800; }
.vip-tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; }
.vip-tier li { display: flex; align-items: center; gap: 6px; }
.vip-tier li svg { color: var(--green); flex: none; }
.vip-tier.is-current { box-shadow: 0 0 0 2px rgba(46, 230, 166, 0.6); }
.vip-items { display: flex; gap: 10px; font-size: 26px; }
.vip-frame { display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: var(--frame); box-shadow: inset 0 0 0 6px var(--surface), var(--frame-glow, none); vertical-align: middle; }
.vip-silver { background: linear-gradient(160deg, rgba(200, 210, 230, 0.18), var(--surface) 60%); border-color: rgba(200, 210, 230, 0.35); }
.vip-gold { background: linear-gradient(160deg, rgba(255, 197, 61, 0.22), var(--surface) 60%); border-color: rgba(255, 197, 61, 0.45); }
.vip-diamond { background: linear-gradient(160deg, rgba(92, 200, 255, 0.22), rgba(139, 28, 255, 0.14) 45%, var(--surface) 75%); border-color: rgba(92, 200, 255, 0.45); }

/* ─── CÜZDAN: hediye paketleri ve kısayollar ─────────────────────────────────────── */
.balance-links { display: flex; gap: 8px; margin-top: 12px; }
.bundle-list { display: grid; gap: 10px; }
.bundle {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: var(--radius); text-align: left;
  background: linear-gradient(135deg, rgba(177, 75, 255, 0.2), var(--surface) 70%); border: 1px solid rgba(177, 75, 255, 0.5);
}
.bundle:disabled { opacity: 0.55; }
.bundle-item { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; font-size: 28px; }
.bundle-item i { font-style: normal; }
.bundle-body { flex: 1; display: grid; gap: 3px; min-width: 0; }
.bundle-body small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #d9d4ee; }
.bundle .package-price { width: auto; margin: 0; padding: 7px 12px; }

/* ─── PROFİL: sahip olunan eşyalar ───────────────────────────────────────────────── */
.owned-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 28px; }
.frame-shop { border: 1px dashed rgba(255, 255, 255, 0.2); color: inherit; }
.bundle .package-tag { right: 14px; }
/* Sandık eklenince üst satır daralır: sandık ve kişi sayısı tam kalsın, sıralama yazısı kısalsın */
.chest-pill, .room-audience { flex: none; white-space: nowrap; }
.room-pills > .pill:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-pills > .pill { flex: 0 1 auto; }

/* ─── BAĞLILIK: görevler, sıralama, aile, CP, etkinlik ───────────────────────────── */
.section-head small { font-size: 11px; color: var(--muted); }
.link-btn { display: block; margin: 8px auto 0; font-size: 12px; color: var(--muted); text-decoration: underline; }
.mini-role-host { background: linear-gradient(135deg, #ffe08a, #ffb800); color: #3a2a08; }
.family-chip {
  display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: linear-gradient(135deg, rgba(46, 230, 166, 0.25), rgba(43, 107, 255, 0.25)); border: 1px solid rgba(46, 230, 166, 0.45); color: #d9fff1;
}
.chat-line .family-chip { padding: 0 5px; font-size: 10px; vertical-align: 1px; }

/* Günlük giriş */
.checkin-card { margin: 0 var(--pad) 8px; padding: 14px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 197, 61, 0.16), var(--surface) 55%); border: 1px solid rgba(255, 197, 61, 0.35); }
.sheet .checkin-card { margin: 0; }
.checkin-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 12px; }
.checkin-day { display: grid; justify-items: center; gap: 3px; padding: 7px 2px; border-radius: 12px; background: var(--surface-2); text-align: center; }
.checkin-day small { font-size: 9px; color: var(--muted); }
.checkin-day i { font-style: normal; font-size: 18px; height: 22px; display: grid; place-items: center; }
.checkin-day b { font-size: 11px; color: var(--gold); }
.checkin-day.is-done { opacity: 0.45; }
.checkin-day.is-done i { color: var(--green); }
.checkin-day.is-today { background: linear-gradient(160deg, rgba(255, 197, 61, 0.45), rgba(255, 122, 26, 0.3)); box-shadow: 0 0 0 1.5px var(--gold); }
.checkin-day.is-big:not(.is-done) { background: linear-gradient(160deg, rgba(177, 75, 255, 0.4), var(--surface-2)); }

/* Görevler */
.task-list { display: grid; gap: 10px; }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.task-body { flex: 1; display: grid; gap: 6px; min-width: 0; }
.task-body small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.task-bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.task-bar i { display: block; height: 100%; background: var(--grad); }
.task-claimed { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--green); }

/* Sıralama */
/* Ortak segment stili (.segmented); yalnızca 4 sütun ve boyut farkı. Etkin sekmeye degrade arka plan
   verildiğinde Chrome'da ekran çizimi takılıyordu (2026-10-19); segmentin düz rengi kullanılıyor. */
.board-kinds { grid-template-columns: repeat(4, 1fr); margin: 0 var(--pad) 10px; }
.board-kinds button { height: 34px; font-size: 13px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; padding: 18px var(--pad) 8px; }
.podium-place { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 18px 18px 8px 8px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-align: center; min-width: 0; }
.podium-place b { max-width: 100%; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium-place small { font-size: 11px; color: var(--gold); font-weight: 700; }
.podium-1 { padding-top: 20px; background: linear-gradient(180deg, rgba(255, 197, 61, 0.28), var(--surface) 75%); border-color: rgba(255, 197, 61, 0.5); }
.podium-2 { background: linear-gradient(180deg, rgba(200, 210, 230, 0.2), var(--surface) 75%); }
.podium-3 { background: linear-gradient(180deg, rgba(205, 127, 50, 0.22), var(--surface) 75%); }
.podium-crown { font-size: 22px; line-height: 1; }
.board-list { display: grid; gap: 8px; padding: 0 var(--pad); }
.section .board-list { padding: 0; }
.board-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: inherit; }
.board-rank { width: 24px; text-align: center; font-weight: 800; color: var(--muted); }
.board-score { margin-left: auto; font-size: 13px; color: var(--gold); white-space: nowrap; }
.board-cover { border-radius: 12px; }
.board-badge { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 26px; }
.board-me { position: sticky; bottom: calc(var(--tabbar-h) + 8px); padding: 10px var(--pad) 0; }
.board-row.is-me { border-color: rgba(177, 75, 255, 0.7); background: linear-gradient(90deg, rgba(177, 75, 255, 0.25), var(--surface)); }

/* Aile */
.family-card { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: inherit; }
.family-card .member-info small { display: flex; align-items: center; gap: 4px; }
.family-badge { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, rgba(46, 230, 166, 0.3), rgba(43, 107, 255, 0.3)); }
.family-badge-lg { width: 84px; height: 84px; border-radius: 26px; font-size: 46px; margin: 0 auto; }
.family-level { padding: 1px 6px; border-radius: 6px; background: var(--surface-3); font-size: 10px; font-weight: 800; color: var(--green); vertical-align: 2px; }
.family-empty { display: grid; justify-items: center; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px dashed rgba(255, 255, 255, 0.18); text-align: center; color: var(--muted); }
.family-hero { display: grid; gap: 8px; margin: 0 var(--pad) 14px; padding: 18px; border-radius: var(--radius); text-align: center; background: linear-gradient(160deg, rgba(46, 230, 166, 0.16), var(--surface) 60%); border: 1px solid var(--line); }
.family-hero h2 { font-size: 20px; font-weight: 800; }
.family-hero p { font-size: 13px; color: #cfcbe0; }
.family-stats { display: flex; justify-content: center; gap: 28px; }
.family-stats span { display: grid; gap: 2px; }
.family-stats small { font-size: 11px; color: var(--muted); }
.family-actions { display: flex; justify-content: center; gap: 8px; }
.family-tabs { margin: 0 var(--pad) 4px; }
.family-chat { display: flex; flex-direction: column; gap: 10px; max-height: 52vh; overflow-y: auto; padding: 4px 0 10px; }
.family-msg { display: flex; gap: 8px; max-width: 85%; }
.family-msg b { font-size: 12px; color: #c9c5dc; }
.family-msg p { margin-top: 2px; padding: 7px 11px; border-radius: 4px 14px 14px 14px; background: var(--surface-2); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.family-msg.is-mine { align-self: flex-end; flex-direction: row-reverse; text-align: right; }
.family-msg.is-mine p { border-radius: 14px 4px 14px 14px; background: linear-gradient(135deg, rgba(109, 91, 255, 0.6), rgba(177, 75, 255, 0.5)); text-align: left; }
.family-input { display: flex; gap: 8px; align-items: center; }
.family-input input { flex: 1; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.badge-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px; }
.badge-pick button { height: 44px; border-radius: 12px; background: var(--surface-2); font-size: 22px; border: 1px solid transparent; }
.badge-pick button.is-active { border-color: var(--purple); background: rgba(139, 92, 255, 0.2); }

/* CP */
.cp-card { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 77, 157, 0.22), rgba(177, 75, 255, 0.16)); border: 1px solid rgba(255, 77, 157, 0.45); }
.cp-card .member-info { margin-left: 6px; }
.cp-heart { font-size: 22px; margin: 0 -14px; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.cp-request { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.cp-request span { flex: 1; min-width: 0; }

/* Etkinlik */
.event-list { display: grid; gap: 10px; }
.event-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: inherit; }
.event-card .member-info small { display: block; }
.event-active { background: linear-gradient(135deg, rgba(255, 197, 61, 0.2), var(--surface) 65%); border-color: rgba(255, 197, 61, 0.45); }
.event-ended { opacity: 0.7; }
.event-emoji { flex: none; font-size: 34px; }
.event-emoji-lg { font-size: 60px; }
.event-time { color: var(--gold) !important; font-weight: 700; }
.event-status { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); font-size: 11px; font-weight: 700; }
.event-hero { display: grid; justify-items: center; gap: 8px; margin: 0 var(--pad) 14px; padding: 20px; border-radius: var(--radius); text-align: center; border: 1px solid var(--line); background: var(--surface); }
.event-hero h2 { font-size: 20px; font-weight: 800; }
.event-hero p { font-size: 13px; color: #cfcbe0; line-height: 1.45; }
.event-rewards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.event-rewards div { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.event-rewards i { font-style: normal; font-size: 26px; }
.event-rewards b { font-size: 13px; color: var(--gold); }

/* ─── ODA İÇİ ETKİNLİKLER: PK, birlikte izleme, karaoke, iki kişilik oyunlar ─────── */
.game-tabs { grid-template-columns: repeat(4, 1fr); }
.game-tabs button { font-size: 12px; height: 36px; }

/* PK çubuğu: kırmızı solda, mavi sağda; ortadaki çizginin yeri puan oranını gösterir */
.pk-bar { flex: none; display: flex; align-items: center; gap: 8px; margin: 0 12px 6px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pk-score { min-width: 44px; font-size: 13px; font-weight: 800; text-align: center; }
.pk-score-red { color: #ff6b81; }
.pk-score-blue { color: #6bb8ff; }
.pk-track { flex: 1; height: 10px; border-radius: 999px; background: #2b6bff; overflow: hidden; }
.pk-track i { display: block; height: 100%; background: #ff2d55; transition: width 0.4s ease; }
.pk-clock { flex: none; font-size: 11px; font-weight: 700; color: #ffe08a; }
.seat.pk-red .seat-circle { box-shadow: 0 0 0 3px #ff2d55; }
.seat.pk-blue .seat-circle { box-shadow: 0 0 0 3px #2b6bff; }

/* Birlikte izleme ve karaoke */
.media-slot { flex: none; margin: 0 12px 6px; }
.media-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 190px; border-radius: 14px; overflow: hidden; background: #000; }
.media-frame iframe, .media-frame #yt-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karaoke-singer { margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 77, 157, 0.55), rgba(177, 75, 255, 0.45)); font-size: 12px; text-align: center; }

/* Etkinlik paneli */
.activity-block { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.activity-block:last-child { border-bottom: 0; }
.activity-block h3 { font-size: 15px; font-weight: 800; }
.activity-block p, .activity-block small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.activity-options { display: flex; flex-wrap: wrap; gap: 8px; }
.activity-form { display: flex; gap: 8px; }
.activity-form input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.karaoke-queue { display: grid; gap: 6px; font-size: 13px; }
.karaoke-queue span { display: flex; align-items: center; gap: 6px; }

/* İki kişilik oyun masaları */
.duel-list { display: grid; gap: 12px; margin-bottom: 12px; max-height: 52vh; overflow-y: auto; }
.duel-table { padding: 12px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 10px; }
.duel-players { display: flex; align-items: center; justify-content: center; gap: 10px; }
.duel-player { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 2px solid transparent; font-size: 12px; max-width: 45%; }
.duel-player b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel-p1 { background: rgba(255, 45, 85, 0.18); }
.duel-p2 { background: rgba(255, 197, 61, 0.18); }
.duel-player.is-turn { border-color: var(--green); }
.duel-player.is-winner { border-color: var(--gold); box-shadow: 0 0 12px rgba(255, 197, 61, 0.5); }
.duel-vs { font-size: 11px; font-weight: 800; color: var(--muted); }
.duel-status { text-align: center; font-size: 13px; color: #d5d2e4; }
.c4-board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 6px; border-radius: 12px; background: #2b4dbd; }
.c4-cell { aspect-ratio: 1; border-radius: 50%; background: #10204f; border: 0; }
.c4-1 { background: #ff2d55; }
.c4-2 { background: #ffc53d; }
.c4-board.can-play .c4-cell:hover { outline: 2px solid rgba(255, 255, 255, 0.6); }
.rps { display: grid; gap: 8px; justify-items: center; }
.rps-score { font-size: 24px; font-weight: 800; }
.rps-last, .rps-chosen { font-size: 12px; color: var(--muted); }
.rps-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.rps-choices button { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: var(--surface-3); font-size: 12px; font-weight: 700; }
.rps-choices i { font-style: normal; font-size: 30px; }

/* ─── YÖNETİM PANELİ VE AJANS ────────────────────────────────────────────────────── */
.admin-tabs { grid-template-columns: repeat(5, 1fr); margin: 0 var(--pad) 6px; }
.admin-tabs button { height: 34px; font-size: 12px; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.admin-stat { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.admin-stat i { font-style: normal; font-size: 22px; }
.admin-stat b { font-size: 22px; font-weight: 800; }
.admin-stat span { font-size: 12px; color: #d5d2e4; }
.admin-stat small { font-size: 10px; color: var(--muted); }
.admin-filter { margin-bottom: 10px; }
.admin-card { display: grid; gap: 6px; margin-bottom: 10px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.admin-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-card a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); }
.admin-card p { font-size: 13px; color: #d5d2e4; line-height: 1.4; }
.admin-card small { font-size: 11px; color: var(--muted); }
.admin-room { display: flex; align-items: center; gap: 10px; }
.admin-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--surface-3); font-size: 10px; font-weight: 700; color: #e9e5f7; vertical-align: 1px; }
.admin-tag-danger { background: rgba(255, 77, 109, 0.25); color: #ff8aa0; }
.admin-resolution { color: var(--green) !important; }
.admin-search { margin: 0 0 10px; }
.admin-user-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.admin-balances { display: flex; justify-content: space-around; margin-bottom: 12px; padding: 10px; border-radius: 14px; background: var(--surface-2); font-size: 13px; }
.admin-adjust { display: grid; gap: 8px; margin: 14px 0; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.admin-adjust div { display: flex; gap: 8px; }
.admin-adjust input, .admin-adjust select { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.admin-adjust select { flex: none; width: 90px; }

.agency-hero { display: grid; justify-items: center; gap: 8px; margin: 0 var(--pad) 14px; padding: 18px; border-radius: var(--radius); text-align: center; background: linear-gradient(160deg, rgba(43, 107, 255, 0.18), var(--surface) 60%); border: 1px solid var(--line); }
.agency-hero h2 { font-size: 20px; font-weight: 800; }
.agency-hero p { font-size: 13px; color: #cfcbe0; }
.agency-hero a { color: inherit; text-decoration: underline; }
.agency-goal { display: grid; gap: 6px; width: 100%; }
.agency-goal small { font-size: 11px; color: var(--muted); }
.agency-member { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.agency-member small { font-size: 11px; color: var(--muted); }
.agency-remove { margin-top: 10px; }
