/* Code:studio — sade, mobil uyumlu site */

:root {
  --bg: #141416;
  --bg-soft: #19191c;
  --surface: #1e1e22;
  --surface-2: #26262b;
  --border: #2e2e34;
  --border-hover: #41414b;
  --text: #e9e9ec;
  --muted: #9a9aa3;
  --dim: #6f6f78;
  --cyan: #3fe0c8;
  --purple: #9b8cff;
  --green: #3ddc97;
  --amber: #ffb454;
  --radius: 12px;
  --header-h: 62px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
}

/* ===== Üst bar ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}
.site-nav a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}
.site-nav a.nav-cta {
  margin-left: 8px;
  border: 1px solid var(--border);
  color: var(--text);
}
.site-nav a.nav-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: none;
}

/* Hesap düğmesi (üst bar) */
.nav-uye {
  margin-left: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-uye:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.nav-uye img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

/* ===== Giriş ===== */
.hero {
  background: #171719;
  border-bottom: 1px solid var(--border);
  padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 64px);
}

.hero-logo { margin: 0 0 20px; }
.hero-logo img {
  display: block;
  width: clamp(124px, 16vw, 164px);
  height: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.hero-tagline {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin: 0 0 14px;
}

.hero-text {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.03rem;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--cyan);
  color: #101014;
}
.btn-primary:hover { background: #5cead6; }
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ===== Bölümler ===== */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin: 0 0 10px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 62ch;
}

.about-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.about-grid p { margin: 0; color: var(--muted); }
.about-grid .lead { font-size: 1.1rem; color: var(--text); }
.about-grid strong { color: var(--text); }

@media (min-width: 820px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Wiki şeridi */
.wiki-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}
.wiki-strip strong { color: var(--text); }
.wiki-strip a {
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

/* ===== Kartlar ===== */
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--border-hover); }

.card-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.card h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Görselli kartlar (oyunlar) */
.card-media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ===== Yayın programı ===== */
.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.93rem;
}
.schedule th,
.schedule td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.schedule th {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dim);
  background: var(--surface-2);
}
.schedule tbody tr:last-child td { border-bottom: 0; }
.schedule tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.cell-title { font-weight: 600; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.87rem;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
  flex: 0 0 auto;
}
.status-live::before { background: var(--green); }
.status-progress::before { background: var(--amber); }
.status-soon::before { background: var(--purple); }

/* ===== Ekip ===== */
.team-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.team-list li:last-child { border-bottom: 0; }

.team-photo {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.team-name {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.team-name strong { font-size: 1rem; font-weight: 600; }
.team-name > span { color: var(--muted); font-size: 0.85rem; }

.team-role {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
  max-width: 46%;
}

/* ===== Resmi hesaplar ===== */
.link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 22px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 17px;
  color: var(--text);
  transition: border-color 0.15s;
}
.link-card:hover {
  border-color: var(--border-hover);
  text-decoration: none;
}

.link-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
}
.link-icon svg { display: block; }
.icon-discord { background: #5865f2; }
.icon-youtube { background: #ff0000; }
.icon-twitch  { background: #9146ff; }
.icon-kick    { background: #53fc18; color: #0f0f14; }

.link-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.link-info strong { font-size: 0.97rem; font-weight: 600; }
.link-info small { color: var(--muted); font-size: 0.83rem; }

/* ===== Canlı yayın ===== */
.stream-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 14px;
}
.stream-tab {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.stream-tab:hover {
  color: var(--text);
  border-color: var(--border-hover);
}
.stream-tab.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #101014;
}

.stream-player {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stream-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tam ekran düğmesi */
.tam-ekran {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: rgba(16, 16, 18, 0.72);
  color: #e9e9ec;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s;
}
.tam-ekran:hover,
.tam-ekran:focus-visible {
  opacity: 1;
  border-color: var(--cyan);
  color: var(--cyan);
}
/* Tam ekranda oynatıcı tüm ekranı kaplasın */
.stream-player:-webkit-full-screen {
  max-width: none;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.stream-player:fullscreen {
  max-width: none;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.stream-note {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 0.85rem;
}
.stream-note a {
  color: var(--muted);
  text-decoration: underline;
}
.stream-note a:hover { color: var(--cyan); }

/* Kendi yayınımız (HLS) */
.own-player {
  position: absolute;
  inset: 0;
  background: #000;
}
.own-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* İzleyici yayın durduramasın: oynatıcı kontrolleri kapalı,
     tıklama/video üzerinde hiçbir denetim yok. */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.own-offline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--surface);
}
/* hidden özelliği, display:flex tarafından eziliyordu — video yayın
   açıkken bile görünmüyordu. Bu kural her şeyi çözer. */
.own-offline[hidden] { display: none; }
.own-offline p { margin: 0; }
.own-offline strong { font-size: 1rem; }
.own-offline-sub {
  margin-top: 6px !important;
  color: var(--dim);
  font-size: 0.85rem;
}
.own-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dim);
  margin-bottom: 14px;
}
.own-player.is-live .own-dot { background: var(--green); }

/* Tarayıcı sesli otomatik oynatmayı engellerse: dokun-başlat düğmesi */
.own-unmute {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.92);
  color: var(--cyan);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.own-unmute[hidden] { display: none; }

/* ===== Alt bilgi ===== */
.site-footer {
  background: #101012;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.footer-brand strong {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.footer-brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  padding-bottom: 26px;
}
.footer-bottom p {
  margin: 0;
  color: var(--dim);
  font-size: 0.82rem;
}

/* ===== Mobil menü ===== */
@media (max-width: 860px) {
  .brand { font-size: 0.82rem; }
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
  }
}

/* ===== Mobil düzen ===== */
@media (max-width: 768px) {
  /* Tablo kartlara dönüşür */
  .table-wrap { border: 0; overflow: visible; }
  .schedule,
  .schedule tbody,
  .schedule tr,
  .schedule td { display: block; width: 100%; }
  .schedule { background: none; }
  .schedule thead { display: none; }
  .schedule tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
  }
  .schedule td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 11px 16px;
    text-align: right;
  }
  .schedule tr td:last-child { border-bottom: 0; }
  .schedule td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--dim);
    text-align: left;
  }
  .schedule .cell-title {
    display: block;
    background: var(--surface-2);
    font-size: 1rem;
    padding: 14px 16px;
    text-align: left;
  }
  .schedule .cell-title::before { display: none; }

  /* Ekip dikey dizilir */
  .team-list li { flex-wrap: wrap; gap: 12px; }
  .team-role {
    margin-left: 64px;
    margin-right: 0;
    text-align: left;
    max-width: calc(100% - 64px);
  }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* ===== Erişilebilirlik ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Yayın sohbeti ===== */
.sohbet {
  margin-top: 22px;
  max-width: 900px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}
.sohbet-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.sohbet-baslik {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}
.sohbet-durum { font-size: 0.75rem; color: var(--dim); }
.sohbet-durum.canli { color: var(--green); }
.sohbet-durum.hata { color: #ff9a9a; }
.sohbet-liste {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sohbet-mesaj { display: flex; gap: 10px; align-items: flex-start; }
.sohbet-mesaj > img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: 0 0 auto;
  object-fit: cover;
  background: var(--surface);
}
.sohbet-mesaj-govde { min-width: 0; }
.sohbet-mesaj-ust {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.sohbet-mesaj-nick {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cyan);
}
.sohbet-mesaj-zaman {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
}
.sohbet-mesaj-metin {
  margin: 2px 0 0;
  font-size: 0.93rem;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sohbet-bos {
  margin: auto;
  text-align: center;
  color: var(--dim);
  font-size: 0.9rem;
}
.sohbet-alt {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  background: var(--surface);
}
.sohbet-giris p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.sohbet-form { display: flex; gap: 10px; align-items: center; }
.sohbet-form[hidden] { display: none; }
.sohbet-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.sohbet-form input:focus { outline: none; border-color: var(--cyan); }
.sohbet-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: 0 0 auto;
}

/* ===== Küçük/tam genişlik butonlar ===== */
.btn-tam { width: 100%; }
.btn-kucuk { padding: 11px 16px; flex: 0 0 auto; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--cyan);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.link-btn:hover { color: #5cead6; }
.link-btn:disabled {
  color: var(--dim);
  text-decoration: none;
  cursor: default;
}

/* ===== Klipler (yayın kayıtları) ===== */
.klip-izgara {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 22px;
}

.klip-bos {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.klip-kart {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s;
}
.klip-kart:hover { border-color: var(--border-hover); }

.klip-kapak {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}
.klip-kapak img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.klip-kapak-yok {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.klip-sure {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(10, 10, 12, 0.86);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.klip-oynat {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 12, 0.35);
  opacity: 0;
  transition: opacity 0.15s;
}
.klip-kart:hover .klip-oynat,
.klip-kart:focus-visible .klip-oynat { opacity: 1; }
.klip-oynat span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  color: #101014;
}

.klip-bilgi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px 15px;
}
.klip-bilgi strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.klip-bilgi small {
  color: var(--muted);
  font-size: 0.82rem;
}
.klip-sayilar { color: var(--dim) !important; font-size: 0.78rem !important; }

/* ===== Hesap penceresi ===== */
body.modal-acik { overflow: hidden; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-arkaplan {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.74);
}
.modal-kart {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px 24px;
}
.modal-kapat {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1;
}
.modal-kapat:hover { color: var(--text); border-color: var(--border-hover); }
.uye-panel h3 { margin: 0 0 16px; font-size: 1.15rem; }
.alan {
  display: block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.alan input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
}
.alan input:focus { outline: none; border-color: var(--cyan); }
.form-not { font-size: 0.85rem; color: var(--muted); margin: 0 0 14px; }
.form-not code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--amber);
}
.form-hata {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 0.87rem;
  background: rgba(255, 92, 92, 0.09);
  border: 1px solid rgba(255, 92, 92, 0.4);
  color: #ff9a9a;
  border-radius: 8px;
}
.form-basari {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 0.87rem;
  background: rgba(61, 220, 151, 0.09);
  border: 1px solid rgba(61, 220, 151, 0.35);
  color: var(--green);
  border-radius: 8px;
}
.uye-alt {
  margin: 14px 0 0;
  font-size: 0.87rem;
  color: var(--muted);
  text-align: center;
}
#dogrula-kod {
  font-family: var(--mono);
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-align: center;
}

/* ===== Profil ===== */
.profil-ust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.profil-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--surface);
}
.profil-ust strong { display: block; font-size: 1.05rem; }
.profil-ust small {
  color: var(--dim);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.profil-etiket {
  margin: 18px 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.avatar-izgara {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.avatar-izgara button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
}
.avatar-izgara img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
}
.avatar-izgara button:hover { border-color: var(--border-hover); }
.avatar-izgara button.secili { border-color: var(--cyan); }
.yukle-dugme {
  cursor: pointer;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Duyarlı düzen ===== */
@media (max-width: 560px) {
  .sohbet-liste { height: 260px; }
  .sohbet-form { flex-wrap: wrap; }
  .sohbet-form input { flex: 1 1 60%; }
  .modal { padding: 12px; }
  .modal-kart { padding: 24px 18px 20px; }
  .nav-uye span.etiket { display: none; }
}

/* ================================================================
 * İZLE SAYFASI (YouTube tarzı oynatıcı + yorumlar)
 * ============================================================= */
.izle-sayfa { padding: 24px 0 48px; }
.izle-duzen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.izle-sag-baslik {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.izle-yok {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ---- Oynatıcı (YouTube tarzı) ---- */
.oynatici {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: none;
  border-radius: 0;
  overflow: hidden;
  user-select: none;
  outline: none;
}
.oynatici.tam-ekran { border-radius: 0; border: none; }
.oynatici video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Büyük oynat rozeti — markasız modern yuvarlak düğme */
.oyn-merkez {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(20, 20, 24, 0.72);
  color: #fff;
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1), background 0.15s, transform 0.15s;
}
.oyn-merkez svg { display: block; margin-left: 3px; }
.oyn-merkez:hover { background: rgba(63, 224, 200, 0.92); color: #101014; transform: translate(-50%, -50%) scale(1.05); }
.oyn-merkez:active { transform: translate(-50%, -50%) scale(0.98); }
.oyn-merkez[hidden] { display: none; }
.oynatici.kontroll-gizli .oyn-merkez:not([hidden]) { opacity: 0; pointer-events: none; }

/* Bekleme halkası (YouTube spinner'ı: açık gri üç çeyrek halka) */
.oyn-bekle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}
.oyn-bekle[hidden] { display: none; }
.oyn-halka {
  display: block;
  width: 44px; height: 44px;
  border: 4px solid transparent;
  border-top-color: #ddd;
  border-right-color: #ddd;
  border-bottom-color: #ddd;
  border-radius: 50%;
  animation: oyn-don 1.33s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes oyn-don { to { transform: rotate(360deg); } }

/* Alt kontrol katmanı (YouTube: gradyan + tam genişlik zaman çubuğu) */
.oyn-kontrol {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  padding-top: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36) 55%, rgba(0, 0, 0, 0));
  transition: opacity 0.2s, transform 0.2s;
}
.oynatici.kontroll-gizli .oyn-kontrol {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  cursor: none;
}
.oynatici.kontroll-gizli { cursor: none; }

/* Zaman çubuğu: 5px hat, üstünde 60% sıkışık — üzerine gelince YouTube gibi doluyor */
.oyn-seek {
  position: relative;
  height: 15px;
  padding: 5px 0;
  cursor: pointer;
  outline: none;
}
.oyn-seek-tam {
  position: relative;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  transform: scaleY(0.6);
  transition: transform 0.1s cubic-bezier(0.4, 0, 1, 1);
}
.oyn-seek:hover .oyn-seek-tam,
.oyn-seek:focus-visible .oyn-seek-tam,
.oyn-seek.oyn-surukleniyor .oyn-seek-tam { transform: scaleY(1); }
.oyn-tampon {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.oyn-ileri {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #f03 80%, #ff2791);
  pointer-events: none;
}
.oyn-bas {
  position: absolute;
  top: 50%;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #f03;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.1s cubic-bezier(0.4, 0, 1, 1);
  pointer-events: none;
}
.oyn-seek:hover .oyn-bas,
.oyn-seek:focus-visible .oyn-bas,
.oyn-seek.oyn-surukleniyor .oyn-bas { transform: translate(-50%, -50%) scale(1); }
.oyn-tutamak { display: none; }
.oyn-ipucu {
  position: absolute;
  bottom: 18px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}
.oyn-ipucu[hidden] { display: none; }

/* Satır */
.oyn-satir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
}
.oyn-sol-dugmeler,
.oyn-sag-dugmeler {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.oyn-dgm {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.oyn-dgm[hidden] { display: none; }
/* YouTube tarzı üzerine gelince beliren etiket */
.oyn-dgm::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s 0s;
  z-index: 8;
}
.oyn-dgm:hover::after { opacity: 1; transition: opacity 0.1s 0.5s; }
/* SVG elemanlar `hidden` IDL özelliği taşımaz — öznitelik tabanlı gizleme */
svg[hidden] { display: none; }
.oyn-yazi {
  width: auto;
  min-width: 44px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
}
.oyn-hiz-yazi { white-space: nowrap; }
.oyn-zaman {
  margin-left: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
}

/* Ses */
.oyn-ses { display: flex; align-items: center; }
.oyn-ses-cubuk {
  width: 0;
  padding: 10px 0;
  overflow: hidden;
  transition: width 0.18s;
}
.oyn-ses:hover .oyn-ses-cubuk,
.oyn-ses:focus-within .oyn-ses-cubuk { width: 64px; }
.oyn-ses-tam {
  position: relative;
  width: 48px;
  height: 4px;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.oyn-ses-dolgu {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: #fff;
  pointer-events: none;
}
.oyn-ses-tutamak {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Hız menüsü (YouTube paneli) */
.oyn-hiz { position: relative; }
.oyn-menu {
  position: absolute;
  right: 0;
  bottom: 56px;
  min-width: 240px;
  background: rgba(28, 28, 28, 0.9);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 9;
}
.oyn-menu[hidden] { display: none; }
.oyn-menu-baslik {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #eee;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.oyn-menu button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0 20px 0 35px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.oyn-menu button:hover { background: rgba(255, 255, 255, 0.1); }
.oyn-menu button.aktif::before {
  content: '';
  position: absolute;
  left: 15px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Bitiş ekranı */
.oyn-bitis {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(8, 8, 10, 0.9);
  text-align: center;
  padding: 20px;
}
.oyn-bitis[hidden] { display: none; }
.oyn-bitis-baslik {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.oyn-bitis-dugmeler { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.oyn-otomatik { margin: 0; color: var(--muted); font-size: 0.88rem; }
.oyn-otomatik b { color: var(--cyan); font-family: var(--mono); }
.oyn-otomatik[hidden] { display: none; }

/* Tiyatro modu */
body.tiyatro .izle-duzen { grid-template-columns: minmax(0, 1fr); max-width: 1180px; }
body.tiyatro .izle-sag { display: none; }
body.tiyatro .izle-sol { max-width: 1180px; margin: 0 auto; width: 100%; }

/* ---- Video bilgisi ---- */
.izle-bilgi { padding: 16px 2px 8px; }
.izle-bilgi h1 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.35;
}
.izle-satir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.izle-sayilar {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.izle-eylemler { display: flex; gap: 8px; flex-wrap: wrap; }
.izle-eylem {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.izle-eylem:hover { border-color: var(--border-hover); text-decoration: none; }
.izle-eylem.aktif {
  background: rgba(63, 224, 200, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---- Yorumlar ---- */
.yorumlar {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.yorum-baslik-satir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.yorum-baslik-satir h2 { margin: 0; font-size: 1.1rem; }
.yorum-sira { display: flex; gap: 4px; }
.yorum-sira button {
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.yorum-sira button:hover { background: var(--surface); color: var(--text); }
.yorum-sira button.aktif { background: var(--surface-2); color: var(--cyan); font-weight: 600; }

.yorum-yazar {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.yorum-yazar[hidden] { display: none; }
.yorum-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}
.yorum-yazar-sag { flex: 1; min-width: 0; }
#yorum-metin {
  width: 100%;
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
}
#yorum-metin:focus { border-bottom-color: var(--cyan); }
#yorum-metin::placeholder { color: var(--dim); }

.yorum-araclar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.yorum-araclar[hidden] { display: none; }
.yorum-iptal,
.yorum-eylem {
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.yorum-iptal:hover,
.yorum-eylem:hover { background: var(--surface); color: var(--text); }
.yorum-gif-dgm { font-weight: 700; letter-spacing: 0.04em; }
.yorum-gif-dgm.aktif,
.yorum-eylem.aktif { color: var(--cyan); }

.yorum-giris-uyari {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.yorum-giris-uyari[hidden] { display: none; }

/* GIF paneli */
.gif-panel {
  margin-top: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gif-panel[hidden] { display: none; }
.gif-panel-baslik {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gif-secenekler { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gif-yukle { cursor: pointer; }
.gif-baglanti { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.gif-baglanti input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  outline: none;
}
.gif-baglanti input:focus { border-color: var(--cyan); }
.gif-panel-hata { margin: 10px 0 0; color: #ff7a7a; font-size: 0.85rem; }
.gif-panel-hata[hidden] { display: none; }
.gif-onizleme {
  position: relative;
  display: inline-block;
  margin-top: 12px;
}
.gif-onizleme[hidden] { display: none; }
.gif-onizleme img {
  max-height: 140px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
}
.gif-kaldir {
  position: absolute;
  top: -9px; right: -9px;
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
}

/* Yorum listesi */
.yorum-liste { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.yorum {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}
.yorum-govde { flex: 1; min-width: 0; }
.yorum-ust { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.yorum-nick {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.yorum-zaman { color: var(--dim); font-size: 0.78rem; }
.yorum-metin-govde {
  margin: 3px 0 6px;
  font-size: 0.93rem;
  line-height: 1.55;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.yorum-metin-govde:empty { display: none; }
.yorum-gif { margin: 6px 0; }
.yorum-gif img {
  max-height: 220px;
  max-width: min(340px, 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
}
.yorum-eylemler { display: flex; gap: 2px; align-items: center; }
.yorum-eylem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.yorum-sil { color: #ff7a7a; }
.yorum-yanitlar {
  margin-top: 8px;
  padding-left: 2px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 14px;
}
.yorum-yanit { padding: 8px 0; }
.yorum-yanit .yorum-avatar { width: 30px; height: 30px; }

.yorum-bos {
  padding: 26px 16px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.yorum-bos[hidden] { display: none; }
.yorum-daha { margin-top: 16px; text-align: center; }
.yorum-daha[hidden] { display: none; }

/* ---- Önerilen videolar ---- */
.oneri-liste { display: flex; flex-direction: column; gap: 12px; }
.oneri-kart {
  display: flex;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 6px;
  margin: -6px;
  border-radius: 10px;
  transition: background 0.15s;
}
.oneri-kart:hover { background: var(--surface); text-decoration: none; }
.oneri-kapak {
  position: relative;
  flex: 0 0 152px;
  width: 152px;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.oneri-kapak img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oneri-sure {
  position: absolute;
  right: 5px; bottom: 5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(10, 10, 12, 0.88);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.oneri-bilgi { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.oneri-bilgi strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.oneri-bilgi small { color: var(--muted); font-size: 0.78rem; }
.oneri-yok { color: var(--muted); font-size: 0.88rem; }
.oneri-yok[hidden] { display: none; }

/* ---- Bildirim ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  z-index: 200;
  padding: 11px 20px;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
  max-width: min(440px, calc(100vw - 32px));
  text-align: center;
}
.toast[hidden] { display: none; }
.toast.gorunur { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Duyarlı ---- */
@media (max-width: 980px) {
  .izle-duzen { grid-template-columns: minmax(0, 1fr); }
  .izle-sag { order: 2; }
  .oneri-kapak { flex-basis: 168px; width: 168px; }
}
@media (max-width: 560px) {
  .izle-sayfa { padding-top: 14px; }
  .oyn-kontrol { padding: 26px 8px 6px; }
  .oyn-dgm { width: 34px; height: 34px; }
  .oyn-zaman { font-size: 0.72rem; margin-left: 4px; }
  .oyn-ses:hover .oyn-ses-cubuk,
  .oyn-ses:focus-within .oyn-ses-cubuk { width: 54px; }
  .oyn-ses-tam { width: 46px; margin: 0 6px; }
  .izle-bilgi h1 { font-size: 1.08rem; }
  .yorum-baslik-satir { flex-direction: column; align-items: flex-start; gap: 8px; }
  .oneri-kapak { flex-basis: 140px; width: 140px; }
  .gif-baglanti { min-width: 100%; }
}

/* ================================================================
 * ROZETLER (✓ Yetkili / MOD / misafir / doğrulandı)
 * ============================================================= */
.rozet {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
}
.rozet-yetkili {
  border-color: rgba(63, 224, 200, 0.5);
  background: rgba(63, 224, 200, 0.12);
  color: var(--cyan);
}
.rozet-mod {
  border-color: rgba(155, 140, 255, 0.5);
  background: rgba(155, 140, 255, 0.12);
  color: var(--purple);
}
.rozet-misafir {
  border-color: var(--border);
  background: transparent;
  color: var(--dim);
}
.rozet-dogrulandi {
  border-color: rgba(61, 220, 151, 0.5);
  background: rgba(61, 220, 151, 0.12);
  color: var(--green);
}

/* ================================================================
 * SOHET BAŞLIK: canlı izleyici + misafir ad akışı
 * ============================================================= */
.sohbet-sag {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sohbet-izleyici {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  white-space: nowrap;
}
.sohbet-izleyici.canli { color: var(--green); }
.sohbet-izleyici[hidden] { display: none; }

.sohbet-ad { display: flex; flex-direction: column; gap: 8px; }
.sohbet-ad[hidden] { display: none; }
.sohbet-ad .alan { font-size: 0.85rem; color: var(--muted); }
.sohbet-ad input {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
}
.sohbet-ad input:focus { outline: none; border-color: var(--cyan); }
.sohbet-ad-dugmeler { display: flex; align-items: center; gap: 14px; }

.sohbet-on-ek {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px dashed var(--border-hover);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sohbet-on-ek[hidden] { display: none; }

/* ================================================================
 * KLİPLER: favori filtresi + kalp
 * ============================================================= */
.klip-filtre {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
}
.klip-filtre[hidden] { display: none; }
.klip-filtre button {
  padding: 7px 16px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}
.klip-filtre button:hover { color: var(--text); }
.klip-filtre button.aktif {
  background: var(--surface-2);
  color: var(--cyan);
  font-weight: 600;
}

.klip-kapak { position: relative; }
.klip-kalp {
  position: absolute;
  top: 7px; right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.72);
  color: #d8d8dc;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s, border-color 0.15s;
  z-index: 3;
}
.klip-kart:hover .klip-kalp,
.klip-kalp:focus-visible,
.klip-kalp.aktif { opacity: 1; }
.klip-kalp.aktif {
  color: #ff6b81;
  border-color: rgba(255, 107, 129, 0.55);
}
@media (hover: none) {
  .klip-kalp { opacity: 1; }
}

/* ================================================================
 * ÜYELER: arama + kartlar
 * ============================================================= */
.uye-ara { max-width: 460px; margin-bottom: 18px; }
.uye-ara input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.uye-ara input:focus { outline: none; border-color: var(--cyan); }
.uye-ara input::placeholder { color: var(--dim); }

.uye-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}
.uye-kart {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color 0.15s;
}
.uye-kart:hover { border-color: var(--border-hover); }
.uye-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}
.uye-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uye-ust { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.uye-ust strong {
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uye-bilgi small { color: var(--dim); font-size: 0.8rem; }
.uye-sag { flex-shrink: 0; }
.uye-bos { color: var(--dim); font-size: 0.92rem; }

/* ================================================================
 * SHORTS / REELS
 * ============================================================= */
.shorts-satir {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shorts-bos { color: var(--dim); font-size: 0.92rem; }
.short-kart {
  flex: 0 0 168px;
  width: 168px;
  scroll-snap-align: start;
  color: var(--text);
  text-decoration: none;
}
.short-kart:hover { text-decoration: none; }
.short-kapak {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.short-kapak img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.short-kart:hover .short-kapak img { transform: scale(1.04); }
.short-oynat {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 10, 12, 0.28);
}
.short-baslik {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ================================================================
 * DESTEK / BAŞVURU FORMLARI
 * ============================================================= */
.basvuru-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.basvuru-kart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.basvuru-kart h3 { margin: 0; font-size: 1.05rem; }
.basvuru-kart .alan { font-size: 0.85rem; color: var(--muted); }
.basvuru-kart .alan input,
.basvuru-kart .alan textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.basvuru-kart .alan input:focus,
.basvuru-kart .alan textarea:focus { outline: none; border-color: var(--cyan); }
.basvuru-kart .form-hata,
.basvuru-kart .form-basari { margin: 0; }

/* ================================================================
 * PROFİL: moderatör yönetimi
 * ============================================================= */
.profil-mod {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.profil-mod[hidden] { display: none; }
.profil-mod .profil-etiket {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.mod-satir { display: flex; gap: 8px; flex-wrap: wrap; }
.mod-satir input {
  flex: 1;
  min-width: 150px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}
.mod-satir input:focus { outline: none; border-color: var(--cyan); }
.mod-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mod-liste li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  font-size: 0.9rem;
}
.mod-liste li img {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.mod-bos { color: var(--dim); font-size: 0.86rem; }

/* ================================================================
 * OYNATICI ÇEVRESİ: sinematik ambiyans + çift dokunma ipucu
 * ============================================================= */
.oyn-cevre { position: relative; }
.oyn-ambiyans {
  position: absolute;
  inset: -26px -26px -10px;
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.35) brightness(1.15);
  opacity: 0.58;
  transform: scale(1.02);
  pointer-events: none;
  z-index: 0;
  border-radius: 32px;
}
.oyn-ambiyans[hidden] { display: none; }
.oynatici { position: relative; z-index: 1; }

.oyn-cift-ipucu {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.82);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.82rem;
  pointer-events: none;
  z-index: 6;
  animation: cift-ipucu 0.65s ease-out forwards;
}
@keyframes cift-ipucu {
  from { opacity: 1; transform: translateY(-50%) scale(1); }
  to { opacity: 0; transform: translateY(-50%) scale(1.18); }
}
@media (max-width: 560px) {
  .oyn-ambiyans { inset: -14px -14px -6px; filter: blur(22px) saturate(1.3) brightness(1.12); opacity: 0.46; }
}

/* ================================================================
 * YORUM: misafir ad alanı
 * ============================================================= */
.yorum-ad {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.yorum-ad[hidden] { display: none; }
.yorum-ad input {
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}
.yorum-ad input:focus { outline: none; border-color: var(--cyan); }

/* ================================================================
 * GIF SEÇİCİ: sekmeler, arama, ızgara, favoriler, emoji
 * ============================================================= */
.gif-sekmeler {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
}
.gif-sekmeler button {
  flex: 1;
  padding: 7px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
}
.gif-sekmeler button:hover { color: var(--text); }
.gif-sekmeler button.aktif {
  background: var(--surface-2);
  color: var(--cyan);
  font-weight: 600;
}

.gif-ara {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.gif-ara[hidden] { display: none; }
.gif-ara input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}
.gif-ara input:focus { outline: none; border-color: var(--cyan); }
.gif-ara input::placeholder { color: var(--dim); }

.gif-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 7px;
  max-height: 260px;
  overflow-y: auto;
  padding: 2px;
}
.gif-karo { position: relative; }
.gif-karo-gorsel {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-soft);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gif-karo-gorsel:hover { border-color: var(--cyan); }
.gif-karo-gorsel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gif-kalp {
  position: absolute;
  top: 4px; right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.7);
  color: #d8d8dc;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}
.gif-karo:hover .gif-kalp,
.gif-kalp:focus-visible,
.gif-kalp.aktif { opacity: 1; }
.gif-kalp.aktif { color: #ff6b81; }
@media (hover: none) {
  .gif-kalp { opacity: 1; }
}

.gif-emoji {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-soft);
  font-size: 1.4rem;
  line-height: 1;
  aspect-ratio: 1;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.gif-emoji:hover { border-color: var(--cyan); background: var(--surface); }

.gif-durum {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 0.85rem;
  text-align: center;
}
.gif-durum[hidden] { display: none; }

.gif-alt-satir {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.gif-karo-dgm,
#gif-favoriler {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
#gif-favoriler:hover { border-color: var(--border-hover); }
#gif-favoriler.aktif {
  border-color: var(--cyan);
  color: var(--cyan);
}
#gif-favoriler b { font-family: var(--mono); font-size: 0.8rem; }
.gif-karo-ikon { color: #ff6b81; }
.gif-yukle { cursor: pointer; }

/* ================================================================
 * YENİ BİLEŞENLER — MOBİL
 * ============================================================= */
@media (max-width: 720px) {
  .uye-izgara { grid-template-columns: 1fr; }
  .short-kart { flex-basis: 148px; width: 148px; }
  .basvuru-izgara { grid-template-columns: 1fr; }
  .gif-izgara { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); max-height: 220px; }
  .gif-alt-satir { flex-direction: column; align-items: stretch; }
  .gif-alt-satir .btn,
  .gif-alt-satir #gif-favoriler { justify-content: center; }
  .gif-baglanti { min-width: 100%; }
  .sohbet-izleyici { display: none; }
}

/* ================================================================
 * YENİ BİLEŞENLER: bölüm başlığı satırı, Videolar, yükleme,
 * üye yayınları, yayın modalı, Shorts oynatıcı, profil sayfası,
 * izle.html canlı rozetleri
 * ============================================================= */

/* ---- Bölüm üst satırı (başlık + işlem düğmesi) ---- */
.bolum-ust {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.bolum-ust > div { min-width: 0; }
.bolum-ust .section-label { margin-bottom: 6px; }
.bolum-ust h2 { margin-bottom: 0; }
.bolum-eylem {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* ---- Videolar ızgarası (üye yüklemeleri) ---- */
.video-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.video-bos {
  margin-top: 18px;
  padding: 26px 18px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--dim);
  font-size: 0.92rem;
  text-align: center;
}
.video-kart-sahip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--dim);
  font-size: 0.78rem;
}
.video-kart-sahip img {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.video-kart-sahip .rozet { font-size: 0.66rem; padding: 1px 5px; }

/* ---- Yükleme modalı ---- */
.yukle-modal .modal-kart { width: min(480px, 100%); }
.yukle-tur {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.yukle-tur button {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.yukle-tur button.aktif {
  border-color: var(--cyan);
  color: var(--cyan);
}
.yukle-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 14px;
  margin-bottom: 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
}
.yukle-sec:hover { border-color: var(--border-hover); color: var(--text); }
.yukle-sec input { display: none; }
.yukle-sec strong { color: var(--text); font-size: 0.95rem; }
.yukle-sec small { color: var(--dim); font-size: 0.78rem; }
.yukle-dosya-ad {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  word-break: break-all;
}
.yukle-ilerleme {
  height: 8px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.yukle-ilerleme span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  transition: width 0.2s;
}
.yukle-yuzde {
  margin: -6px 0 14px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-align: right;
}

/* ---- Üye canlı yayınları (ana oyuncunun altında çipler) ---- */
.uye-yayin {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.uye-yayin-cipler { display: flex; gap: 10px; flex-wrap: wrap; }
.uye-yayin-ac { margin-left: auto; }
.uye-nick { color: inherit; text-decoration: none; }
.uye-nick:hover { color: var(--cyan); text-decoration: none; }
.uye-yayin-baslik {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.uye-cip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s;
}
.uye-cip:hover { border-color: var(--border-hover); text-decoration: none; }
.uye-cip img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.uye-cip-nokta {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff5c5c;
  flex-shrink: 0;
}
.uye-cip-baslik {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.8rem;
}
.uye-yayin-yok {
  color: var(--dim);
  font-size: 0.85rem;
}

/* ---- Yayın modalı (üye OBS anahtarı) ---- */
.yayin-modal .modal-kart { width: min(520px, 100%); }
.yayin-alan {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.yayin-alan-etiket {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.yayin-kutu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.yayin-kutu code,
.yayin-kutu input {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.yayin-kutu input:focus { outline: none; border-color: var(--cyan); }
.yayin-not {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 0.83rem;
  line-height: 1.55;
}
.yayin-not strong { color: var(--amber); font-weight: 600; }
.yayin-durum-satir {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.87rem;
  color: var(--muted);
}
.yayin-nokta {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
}
.yayin-nokta.acik { background: #ff5c5c; }

/* ---- Shorts: tam ekran dikey oynatıcı ---- */
.shorts-oynatici {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0a0a0c;
}
.shorts-oynatici[hidden] { display: none; }
body.shorts-acik { overflow: hidden; }
.shorts-kaydir {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shorts-kaydir::-webkit-scrollbar { display: none; }
.shorts-sayfa {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0c;
}
.shorts-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0c;
}
.shorts-bilgi {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: rgba(8, 8, 10, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.shorts-bilgi > * { pointer-events: auto; }
.shorts-sahip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.shorts-sahip:hover { text-decoration: none; color: var(--cyan); }
.shorts-sahip img {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.shorts-baslik-yazi {
  margin: 0;
  color: #e9e9ec;
  font-size: 0.92rem;
  line-height: 1.45;
}
.shorts-ust {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.shorts-ust-baslik {
  color: #fff;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.shorts-kapat {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.6);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
}
.shorts-kapat:hover { border-color: rgba(255, 255, 255, 0.6); }
.shorts-yon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.66);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  pointer-events: none;
}
.shorts-yon-up { top: 64px; }
.shorts-yon-down { bottom: 118px; }
.shorts-bos-durum {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--dim);
  font-size: 0.92rem;
  text-align: center;
}

/* ---- profil.html: üye profil sayfası ---- */
.profil-sayfa { padding-top: 30px; }
.profil-kart {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  flex-wrap: wrap;
}
.profil-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.profil-kimlik { flex: 1; min-width: 200px; }
.profil-ad {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 4px;
  font-size: 1.4rem;
}
.profil-tarih {
  margin: 0;
  color: var(--dim);
  font-size: 0.85rem;
}
.profil-sayilar {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.profil-sayi {
  color: var(--muted);
  font-size: 0.87rem;
}
.profil-sayi strong {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.05rem;
}
.profil-eylem { display: flex; gap: 10px; flex-wrap: wrap; }
.profil-sekmeler {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.profil-sekmeler::-webkit-scrollbar { display: none; }
.profil-sekmeler[hidden] { display: none; }
.profil-sekme {
  padding: 11px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.profil-sekme:hover { color: var(--text); }
.profil-sekme.aktif {
  border-bottom-color: var(--cyan);
  color: var(--cyan);
}
.profil-bolum[hidden] { display: none; }
.profil-bolum-baslik {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.profil-bolum p.profil-bos {
  padding: 26px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--dim);
  font-size: 0.9rem;
  text-align: center;
}
.profil-yayin-kart {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}
.profil-yayin-kart:hover { border-color: var(--border-hover); text-decoration: none; }
.profil-yayin-kapak {
  position: relative;
  width: 132px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}
.profil-yayin-kapak img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.profil-yayin-bilgi { min-width: 0; }
.profil-yayin-bilgi strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profil-yayin-bilgi small { color: var(--dim); font-size: 0.8rem; }
.profil-canli-etiket {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid #ff5c5c;
  border-radius: 999px;
  color: #ff5c5c;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.profil-canli-etiket::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff5c5c;
}

/* ---- izle.html: canlı yayın + sahip rozeti ---- */
.izle-ust-satir {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.izle-canli {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #d83a3a;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.izle-canli::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
}
.izle-sahip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}
.izle-sahip:hover { color: var(--cyan); text-decoration: none; }
.izle-sahip img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.izle-canli-yok {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.9rem;
}
.izle-canli-yok[hidden] { display: none; }
.izle-canli-yok strong { color: var(--text); }

/* ---- Duyarlı: yeni bileşenler ---- */
@media (max-width: 720px) {
  .video-izgara { grid-template-columns: 1fr; }
  .bolum-ust { align-items: stretch; }
  .bolum-eylem .btn { width: 100%; }
  .profil-kart { gap: 14px; padding: 18px; }
  .profil-avatar { width: 66px; height: 66px; }
  .profil-ad { font-size: 1.18rem; }
  .profil-eylem { width: 100%; }
  .profil-eylem .btn { flex: 1; }
  .profil-yayin-kapak { width: 108px; }
  .uye-cip-baslik { display: none; }
  .shorts-yon { display: none; }
}


/* ================================================================
 * KEŞFET SAYFASI
 * ============================================================= */
.kesfet-ust { margin-bottom: 18px; }
.kesfet-sekmeler { margin-bottom: 14px; }
.kesfet-sira { margin-bottom: 4px; }
.kesfet-bos {
  margin-top: 18px;
  padding: 26px 18px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--dim);
  font-size: 0.92rem;
  text-align: center;
}
.kesfet-bos[hidden] { display: none; }
/* Shorts ızgarası: dar sütunlar (9/16 kartlar) */
.video-izgara.kesfet-kisa { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.video-izgara.kesfet-kisa .short-kart { width: auto; }
.video-izgara.kesfet-kisa .short-kart .short-baslik { margin-top: 8px; }
.short-kart .klip-sayilar { display: block; margin-top: 3px; }

/* ================================================================
 * KAPAK FOTOĞRAFI (yükleme penceresi + izle sayfası)
 * ============================================================= */
.yukle-kapak { padding: 16px 14px; }
.yukle-kapak strong { font-size: 0.88rem; font-weight: 600; }
.yukle-kapak span { font-size: 0.78rem; color: var(--dim); }
#kapak-degistir[disabled] { opacity: 0.6; cursor: wait; }

/* ================================================================
 * DİZİ SAYFASI (film.html) — sezon sekmeleri + bölüm listesi
 * ============================================================= */
.film-ozet {
  margin-top: 8px;
  color: var(--dim);
  font-size: 0.86rem;
}
.film-sezonlar { margin-top: 4px; }
.film-liste {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.film-bolum {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
}
a.film-bolum { cursor: pointer; }
a.film-bolum:hover,
a.film-bolum:focus-visible { border-color: var(--cyan); }
.film-no {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
}
.film-kapak {
  position: relative;
  flex: 0 0 auto;
  width: 128px;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
}
.film-kapak img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-bilgi {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.film-baslik {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.film-alt {
  color: var(--dim);
  font-size: 0.8rem;
}
.film-durum {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.film-bolum.yakinda { opacity: 0.72; }
.film-bolum:not(.yakinda) .film-durum {
  border-color: var(--cyan);
  color: var(--cyan);
}
.film-ipucu {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.6;
}
.film-ipucu[hidden] { display: none; }
@media (max-width: 560px) {
  .film-kapak { width: 96px; }
  .film-no { display: none; }
  .film-bolum { gap: 10px; padding: 9px 11px; }
}

/* ---- Dizi ana kapağı (film.html afişi) ---- */
.film-kapak-ana {
  position: relative;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}
.film-kapak-ana[hidden] { display: none; }
.film-kapak-ana img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}
@media (max-width: 560px) {
  .film-kapak-ana img { aspect-ratio: 16 / 9; }
}

/* .btn display tanımladığı için hidden bu kurala ihtiyaç duyar */
.btn[hidden] { display: none; }

/* ================================================================
 * DİZİ YÖNETİMİ (diziekle.html)
 * ============================================================= */
.dizi-yetki-eylem { text-align: center; }
.dizi-blok {
  margin-top: 18px;
  padding: 18px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.dizi-kapak-onizleme {
  position: relative;
  display: grid;
  place-items: center;
  width: min(440px, 100%);
  aspect-ratio: 16 / 6;
  margin-bottom: 12px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.dizi-kapak-onizleme img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dizi-kapak-onizleme img[hidden] { display: none; }
.dizi-kapak-yok {
  color: var(--dim);
  font-size: 0.85rem;
}
.dizi-kapak-yok[hidden] { display: none; }
.dizi-kapak-eylem {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dizi-kapak-eylem .btn { font-size: 0.85rem; padding: 9px 16px; }
.dizi-form { max-width: 560px; }
.dizi-form-satir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dizi-form .form-alan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.dizi-form .form-alan span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.dizi-form .form-alan input,
.dizi-form .form-alan select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
}
.dizi-form .form-alan input:focus,
.dizi-form .form-alan select:focus {
  outline: none;
  border-color: var(--cyan);
}
.dizi-form-bilgi {
  margin: 2px 0 14px;
  color: var(--dim);
  font-size: 0.78rem;
  line-height: 1.6;
}
.dizi-sil {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.dizi-sil:hover,
.dizi-sil:focus-visible {
  border-color: #d83a3a;
  color: #d83a3a;
}
/* ---- Çoklu dizi: dizi satırları (diziekle) ---- */
.dizi-diziler {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.dizi-dizi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
.dizi-dizi.secili { border-color: var(--cyan); }
.dizi-dizi-kapak {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 78px;
  height: 46px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--dim);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.dizi-dizi-kapak::after { content: "CODE:STUDIO"; }
.dizi-dizi-kapak:not(:empty)::after { content: none; }
.dizi-dizi-kapak img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dizi-dizi-bilgi {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.dizi-dizi-bilgi strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dizi-dizi-bilgi small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dizi-dizi-eylem {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  margin-left: auto;
}
.dizi-sec {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.dizi-sec:hover,
.dizi-sec:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}
.dizi-sec:disabled {
  border-color: var(--cyan);
  color: var(--cyan);
  cursor: default;
}
@media (max-width: 560px) {
  .dizi-form-satir { grid-template-columns: 1fr; gap: 0; }
  .dizi-dizi { flex-wrap: wrap; }
  .dizi-dizi-kapak { width: 64px; height: 38px; }
  .dizi-dizi-bilgi { flex: 1; }
}
