/* Panelden secilen site renkleri (bos olabilir). Burada olmali: @import en ustte gelir. */
@import url("/marka.css");

:root {
  /* Obsidyen koyu tema: logodaki siyaha yakin koyu renk (#05080c/#141c26) */
  --bg: #070b12;
  --bg-soft: #0d141f;
  --line: #1b2533;
  --text: #e9eff7;
  --muted: #8d9bb0;
  --accent: #c9d4e4;
  --accent-glow: rgba(201, 212, 228, 0.20);
  --danger: #f76a61;
  --danger-text: #ff9a93;
  --ok: #4fce74;
  --ok-soft: #12261a;
  --ok-text: #7ee787;
  --radius: 12px;
  --cerceve-golge: 0 24px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(140, 170, 220, 0.14);
  --overlay: rgba(4, 7, 12, 0.96);
  --field: #0a1019;
  --field-line: #1e2a3c;
  --stage-bg: radial-gradient(130% 130% at 50% 15%, #111826 0%, #0a111c 50%, #05080c 100%);
  --stage-status: #eef3fa;
  --mine: #86a6d8;
  --error-bg: #2a1014;
  --error-text: #ff9a93;
  --warn: #d29922;
  --warn-soft: #2d2410;
  --warn-text: #f0c674;
  --mark-a: #c2410c;
  --mark-b: #055eed;
  --mark-c: #5c3a1e;
  --mark-tile: linear-gradient(140deg, #f7f9fb, #e4eaf1);
  /* Ekip unvan renkleri: Admin kirmizi, Moderator mavi, Destek yesil, Editor mor. */
  --unvan-admin: #ff8a80;
  --unvan-moderator: #6aa8ff;
  --unvan-destek: #4fce74;
  --unvan-editor: #b794f6;
  /* Ana eylem rengi (BASLAT, DEVAM ET...). Panelden degisirse /marka.css ezer. */
  --ana-ust: #ff9a3d;
  --ana-alt: #ef7716;
  --ana-hover: #f08a2e;
  --ana-yazi: #241503;
}

html[data-theme="light"] {
  --bg: #eef1f5;
  --bg-soft: #ffffff;
  --line: #d0d7de;
  --text: #1c2128;
  --muted: #59636e;
  --accent: #e87a1d;
  --accent-glow: rgba(232, 122, 29, 0.22);
  --danger: #cf222e;
  --danger-text: #cf222e;
  --ok: #1a7f37;
  --ok-soft: #dafbe1;
  --ok-text: #116329;
  --overlay: rgba(246, 247, 249, 0.96);
  --field: #ffffff;
  --field-line: #d1d7df;
  --stage-bg: radial-gradient(120% 120% at 50% 20%, #e8edf3 0%, #cfd6de 55%, #c2cbd4 100%);
  --mine: #0969da;
  --error-bg: #ffebe9;
  --error-text: #b42318;
  --warn: #bf8700;
  --warn-soft: #fff8c5;
  --warn-text: #7d4e00;
  --cerceve-golge: 0 12px 32px rgba(31, 35, 40, 0.16);
  --mark-a: #f0883e;
  --mark-b: #79c0ff;
  --mark-c: #fff1d6;
  --mark-tile: linear-gradient(140deg, #141c26, #05080c);
  --unvan-admin: #c42b2b;
  --unvan-moderator: #1a62c7;
  --unvan-destek: #116329;
  --unvan-editor: #7c3aed;
}

/* Ekip unvan rozeti: rengi unvandan, zemini ayni rengin soluk tonu. */
.ekip-rozet {
  --unvan: var(--unvan-moderator);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap;
  color: var(--unvan);
  background: color-mix(in srgb, var(--unvan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--unvan) 45%, transparent);
}
.ekip-rozet::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ekip-rozet--admin { --unvan: var(--unvan-admin); }
.ekip-rozet--moderator { --unvan: var(--unvan-moderator); }
.ekip-rozet--destek { --unvan: var(--unvan-destek); }
.ekip-rozet--editor { --unvan: var(--unvan-editor); }

.hesap__ekip { margin: 12px 0 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.hesap__ekip-baslik { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 15px; }
.hesap__ekip-dugmeler { display: flex; gap: 8px; margin-top: 8px; }
.hesap__not { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Durum cubugunda ekip uyesi: video ustunde okunsun diye duz tema zemini. */
.status__ekip {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 9px; padding: 2px 4px 2px 10px; vertical-align: middle;
  font: inherit; font-size: 13px; font-weight: 600;
  color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.status__ekip:hover { border-color: var(--accent); }
.status__ekip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.status__ekip-ad { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Yazismada ekip uyesinin adi: unvan renginde, tiklaninca bilgi karti. */
.ekip-ad {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; font-weight: 700;
  color: var(--unvan, var(--unvan-moderator));
  text-decoration: underline dotted; text-underline-offset: 3px;
}

/* Ekip bilgi karti */
.ekip-kart {
  width: min(360px, calc(100vw - 32px));
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--cerceve-golge);
}
.ekip-kart::backdrop { background: rgba(0, 0, 0, 0.6); }
.ekip-kart__ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ekip-kart__ad { margin: 12px 0 6px; font-size: 20px; overflow-wrap: anywhere; }
.ekip-kart__bio { margin: 0 0 12px; line-height: 1.55; overflow-wrap: anywhere; }
.ekip-kart__not { margin: 0; font-size: 12px; color: var(--muted); }

/* Alt cubuktaki Ekip dugmesi ve cevrimici sayisi */
.ekip-sayi:empty { display: none; }
.ekip-sayi {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  margin-left: 2px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--bg-soft); background: var(--ok);
}

/* Cevrimici ekip listesi */
.ekip-liste { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.ekip-liste__baslik { margin: 0; font-size: 18px; }
.ekip-liste__ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ekip-liste__oge { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 6px; justify-items: start; }
.ekip-liste__ust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ekip-liste__bio { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.ekip-liste__bos { color: var(--muted); font-size: 14px; padding: 8px 0; }
.ekip-durum { font-size: 12px; color: var(--muted); }
.ekip-durum::before { content: '● '; }
.ekip-durum--musait { color: var(--ok-text); }
.ekip-durum--gorusmede { color: var(--warn-text); }
.ekip-ben { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; cursor: pointer; }
.ekip-bekle { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn-text); font-size: 14px; }
.ekip-bekle p { margin: 0; }
.ekip-mesaj { margin: 12px 0 0; font-size: 14px; color: var(--text); }
#staffListNote { margin-top: 10px; }

/* Ekip uyesine gelen istek */
.ekip-gelen { margin: 10px 0 6px; overflow-wrap: anywhere; }
.ekip-sure { width: 100%; height: 6px; margin: 12px 0 4px; accent-color: var(--ok); }

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}


.gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: safe center;
  justify-content: safe center;
  overflow-y: auto;
  padding: 24px;
  background: var(--overlay);
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: var(--danger) transparent;
}

body:has(.gate:not([hidden])) { overflow: hidden; }

body:has(#authGate:not([hidden])) #app[hidden] {
  display: grid !important;
}

body:has(#authGate:not([hidden])) #authGate {
  background: rgba(13, 17, 23, 0.72);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

#authGate {
  grid-auto-flow: column;
  grid-auto-columns: auto;
  gap: 200px;
}

.gate__yanreklam {
  flex: 0 0 auto;
  align-self: center;
  width: 160px;
  height: 600px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px dashed var(--accent);
  background: rgba(242, 145, 63, 0.05);
  border-radius: var(--radius);
  text-align: center;
}
.gate__yanetiket {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.gate__yanreklam strong {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.06em;
}
.gate__yanolc { font-size: 12px; color: var(--muted); }

.gate__yanreklam--g1,
.gate__yanreklam--g2,
.gate__yanreklam--g3,
.gate__yanreklam--g4,
.gate__yanreklam--g5,
.gate__yanreklam--g6 { display: none; }

@media (max-width: 1024px) {
  #authGate {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, max-content);
    row-gap: 28px;
  }
  .gate__yanreklam--sol,
  .gate__yanreklam--sag { display: none; }
  .gate__yanreklam--g1,
  .gate__yanreklam--g2,
  .gate__yanreklam--g3,
  .gate__yanreklam--g4,
  .gate__yanreklam--g5,
  .gate__yanreklam--g6 {
    display: flex;
    width: 320px;
    max-width: 100%;
    height: 100px;
  }
}

.gate::-webkit-scrollbar { width: 14px; }
.gate::-webkit-scrollbar-track { background: transparent; }
.gate::-webkit-scrollbar-thumb {
  background-color: var(--danger);
  border-radius: 999px;
  border: 4px solid transparent;
  background-clip: content-box;
}
.gate::-webkit-scrollbar-thumb:hover {
  background-color: var(--danger-text);
  background-clip: content-box;
}

.gate__card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gate__card h1 {
  margin: 0 0 16px;
  font-size: 22px;
}

.gate__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mark { display: block; width: 100%; height: 100%; }
.mark__a { stroke: var(--mark-a); }
.mark__b { stroke: var(--mark-b); }
.mark__c { fill: var(--mark-c); }

.gate__logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  padding: 4px;
  background: var(--mark-tile);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.gate__brandtext h1 {
  margin: 0;
  line-height: 1.2;
}

.gate__brand > h1 {
  margin: 0;
  line-height: 1.2;
}

.gate__tagline {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gate__note {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.gate__note--tight { margin-bottom: 8px; }

.gate__rules {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.gate__rules li { margin: 0 0 5px; }
.gate__rules li:last-child { margin-bottom: 0; }

.gate__skip { margin-top: 8px; }

.gate__skip[hidden] { display: none; }

.gate__error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--danger);
  border-radius: 8px;
  background: #3d1418;
  color: #ffb3ad;
  font-size: 13px;
}

.gate__error--bekliyor {
  border-color: var(--warn);
  background: var(--warn-soft);
  color: var(--warn-text);
}

.gate__error--ok {
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ok-text);
}

.gate__session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--muted);
}

.gate__session strong {
  color: var(--text);
}


.authform {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.authform .check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  min-height: 40px;
  padding: 8px 0;
  margin: -14px 0 2px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.authform .check input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  cursor: pointer;
}

.authform .check:active {
  opacity: 0.6;
}

.authform__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: -14px 0 2px;
}

.authform__row .check {
  margin: 0;
}

.authlink {
  align-self: center;
  min-height: 40px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.authlink:hover,
.authlink:focus-visible {
  color: var(--text);
}

.authform__intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.authform__intro strong {
  color: var(--text);
}


.authsplit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
}

.authsplit__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.authsplit__text {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


.authform input[type="text"],
.authform input[type="password"],
.authform input[type="email"] {
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--field-line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.authform input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.authform input:user-invalid {
  border-color: var(--danger);
}

.tabs--mini {
  display: flex;
  gap: 2px;
  margin: 0 0 18px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.tabs--mini .tab {
  flex: 1;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 999px;
  text-align: center;
}

.tabs--mini .tab.is-active {
  background: var(--accent);
  color: var(--ana-yazi);
  font-weight: 600;
}

/* Koyu tema: aktif sekme — logodaki siyah ton, gümüs yazi */
html:not([data-theme="light"]) .tabs--mini .tab.is-active {
  background: linear-gradient(180deg, #1a2230 0%, #0d1219 58%, #05080c 100%);
  color: #eef3fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 10px rgba(0, 0, 0, 0.45);
}

.tabs--mini .tab:not(.is-active):hover {
  color: var(--text);
}

/* 2026-10-16: formun altinda iki eylem dugmesi. Giris yap = ana renk,
   Misafir = notr. Renk durum sinifina (is-active) degil dugmeye bagli:
   misafir girisi surerken de "Giris yap" ana eylem gibi gorunur. */
.guesttoggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  background: none;
  border: 0;
}

.guesttoggle .tab,
html:not([data-theme="light"]) .guesttoggle .tab.is-active {
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  box-shadow: none;
}

.guesttoggle .tab[data-mod="hesap"],
html:not([data-theme="light"]) .guesttoggle .tab[data-mod="hesap"] {
  background: linear-gradient(180deg, var(--ana-ust), var(--ana-alt));
  border-color: var(--ana-alt);
  color: var(--ana-yazi);
}

/* Dar telefonda iki dugme yan yana kalsin, yazi tek satira sigsin. */
@media (max-width: 420px) {
  .guesttoggle .tab,
  html:not([data-theme="light"]) .guesttoggle .tab.is-active {
    padding: 12px 4px;
    font-size: 13.5px;
    white-space: nowrap;
  }
}

.guesttoggle .tab[data-mod="hesap"]:hover:not(:disabled) {
  filter: brightness(1.06);
  color: var(--ana-yazi);
}

/* Iki dugme gorunurken formun kendi gonder dugmesi gereksiz (ayni is).
   Misafir girisi panelden kapatilirsa anahtar DOM'dan silinir ve bu
   kural uymaz: tek "Giris yap" dugmesi geri gelir. */
.gate__card:has(#guestToggle:not([hidden])) #loginForm > button[type="submit"] {
  display: none;
}

.guesttoggle .tab:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* "Hesabin yok mu? Kayit ol": 2026-10-16'dan beri kartin ustunde, marka
   ile form arasinda. Ana eylemler formun altindaki iki dugme. */
#authTabs {
  margin: 4px 0 14px;
}

.authalt {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

#authTabs .tab[data-mode="register"] {
  display: inline;
  padding: 4px 2px;
  background: none;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#authTabs .tab[data-mode="register"]:hover {
  color: var(--text);
  text-decoration-thickness: 2px;
}

.alert {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.alert--error {
  background: var(--error-bg);
  border: 1px solid var(--danger);
  color: var(--error-text);
}

.alert--ok {
  background: var(--ok-soft);
  border: 1px solid var(--ok);
  color: var(--ok-text);
}

.btn--ghost { background: none; }
.btn--sm { padding: 5px 10px; font-size: 13px; }

.tab { background: none; border: 0; color: var(--muted); padding: 9px 14px; font: inherit; cursor: pointer; }
.tab.is-active { color: var(--text); }
.tab:hover { color: var(--text); }

.field small { color: var(--muted); font-size: 12px; }
.authform .field small.bad { color: var(--danger-text); }
.authform .field small.ok { color: var(--ok-text); }


@keyframes modpulse {
  0%   { box-shadow: 0 0 0 0 rgba(248, 81, 73, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(248, 81, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 81, 73, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .stage__live-dot { animation: none; }
}

.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 14px;

  flex: 1 0 auto;
  width: 100%;
  max-width: 1480px;
  height: calc(100dvh - 32px);
  min-height: 520px;
  margin: 0 auto;
  padding: 16px;
}

.app > .topbar { grid-column: 1 / -1; grid-row: 1; }
.app > .cerceve { grid-column: 1; grid-row: 2; }

.cerceve {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--cerceve-golge);
}

.cerceve > .stage {
  grid-column: 1;
  grid-row: 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cerceve > .chat {
  grid-column: 2;
  grid-row: 1;
  border: 0;
  border-radius: 0;
  border-left: 1px solid var(--line);
  background: var(--bg);
}

.cerceve:not(:has(> .chat:not([hidden]))) > .stage { grid-column: 1 / -1; }

.cerceve > .controls {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.cerceve > .controls > .controls__row { flex: 0 0 auto; order: 2; }
.cerceve > .controls > .controls__row--cta,
.cerceve > .controls > .controls__row--buttons {
  order: 1;
  flex: 1 1 0;
  min-width: 0;
  max-width: 480px;
  gap: 8px;
}
.cerceve > .controls > .controls__row--cta { margin-right: auto; }
/* Ekip dugmesi gorununce satir genisler; dugme kendi genisliginde kalir. */
.cerceve > .controls > .controls__row--cta:has(.btn--ekip:not([hidden])) { max-width: 600px; }
.controls__row--cta .btn.btn--ekip { flex: 0 0 auto; padding-inline: 14px; }
/* Dar ekranda yalnizca simge ve sayi; "Ekip" yazisi ekran okuyucuda kalir. */
@media (max-width: 560px) {
  .controls__row--cta .btn.btn--ekip { padding-inline: 10px; }
  .btn--ekip__ad {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}
.cerceve > .controls > .controls__row--buttons { order: 3; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
}

.brand__logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  padding: 4px;
  background: var(--mark-tile);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}


.stage {
  --durum-y: 0px;


  position: relative;
  background: var(--stage-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}



.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}

.video--remote {
  background: transparent;
  object-fit: contain;
}

.video--local {
  position: absolute;
  left: 14px;
  top: 14px;
  height: 35%;
  width: auto;
  aspect-ratio: 27 / 32;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  background: #fff;
}

/* Koyu tema: kendi kamerasi — siyaha yakin obsidyen zemin */
html:not([data-theme="light"]) .video--local {
  /* Ilk katman: kamera kapaliyken gorunen simge (bkz. "Bos durumlar"). */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 10l4.55-2.28A1 1 0 0 1 21 8.62v6.76a1 1 0 0 1-1.45.9L15 14'/%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3C/svg%3E") center / 32% no-repeat,
    linear-gradient(165deg, #101826 0%, #0a111b 55%, #05080c 100%);
  border-color: rgba(140, 170, 220, 0.30);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stage__status {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--durum-bosluk, 14px 18px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: var(--stage-status);
  font-size: var(--durum-font, 14px);
  text-align: var(--durum-hiza, right);
}

.stage__status:empty { display: none; }


@media (max-width: 640px) {
  .stage__status {
    font-size: var(--durum-mobil-font, 14px);
    text-align: var(--durum-mobil-hiza, right);
    padding: var(--durum-mobil-bosluk, 14px 18px);
  }

  html.durum-mobil-duz .stage__status { background: none; }

  html.durum-mobil-satir-aktif .stage__status:not(:empty) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--durum-mobil-satir, 2);
    line-clamp: var(--durum-mobil-satir, 2);
    overflow: hidden;
  }

  html.durum-mobil-gizle .stage__status:not(:empty) { display: none; }
}

@media (min-width: 641px) {
  html.durum-duz .stage__status:not(:empty) { background: none; }

  html.durum-satir-aktif .stage__status:not(:empty) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--durum-satir, 2);
    line-clamp: var(--durum-satir, 2);
    overflow: hidden;
  }

  html.durum-gizle .stage__status:not(:empty) { display: none; }
}

.video--local--ayna {
  transform: scaleX(-1);
}

.announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 34px 12px 8px;
  background: var(--accent);
  color: #16110a;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  font-weight: 600;
}

.announce:not(:empty) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 0 14px;
}

.devices__field {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}

.devices__field select {
  min-width: 0;
  max-width: 220px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 12px;
}

.devices__note {
  flex: 1 1 100%;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage__zoom {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(22, 58, 115, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}

.stage__zoom:hover { border-color: var(--muted); }
.stage__zoom:active { transform: translateY(1px); }
.stage__zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.stage__zoom::before {
  content: '\26F6';
  font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols2', sans-serif;
  font-size: 19px;
  line-height: 1;
  user-select: none;
}
.stage__zoom--aktif::before {
  content: '\2921';
}

@media (max-width: 640px) {
  .stage__zoom { width: 44px; height: 44px; }
  .stage__zoom::before { font-size: 21px; }
}

@media (max-width: 640px) {
  .stage:has(> #zoomBtn:checked) {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 80;
  }
  body:has(#zoomBtn:checked) .cerceve {
    padding-bottom: calc((100vw - 26px) * 0.5625);
  }
  html:has(#zoomBtn:checked) { overflow: hidden; }
  #zoomBtn:checked::before {
    content: '\2921';
  }
}


.stage__live {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: rgba(22, 58, 115, 0.78);
  border: 1px solid rgba(247, 106, 97, 0.55);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.stage__live-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(247, 106, 97, 0.24);
  animation: modpulse 1.6s ease-out infinite;
}

.stage__live-yazi { flex: none; }

.stage__live-sure {
  flex: none;
  padding-left: 9px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .stage__live { padding: 7px 11px; font-size: 13px; }
  .stage__live-yazi { display: none; }
  .stage__live-sure { padding-left: 0; border-left: 0; }
}

.status__country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 9px;
  padding: 3px 10px 3px 4px;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 600;
  color: var(--stage-status);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.status__flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.45);
}


.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.controls__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.controls__row--buttons {
  gap: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

select, input[type="text"], input:not([type]) {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}


.country {
  position: relative;
}

.country__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 190px;
  max-width: 100%;
  padding: 8px 10px;
  font: inherit;
  text-align: left;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.country__btn:hover { border-color: var(--muted); }
.country__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.country__flag {
  width: 22px;
  height: 15px;
  flex: none;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.35);
}

.country__label {
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.country__caret { flex: none; color: var(--muted); font-size: 11px; }

.country__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.country__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  font: inherit;
  text-align: left;
  color: var(--text);
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.country__option:hover,
.country__option.is-active { background: var(--field); }
.country__option[aria-selected='true'] { font-weight: 600; }
.country__option[aria-selected='true'] .country__flag {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.country__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.btn {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover:not(:disabled) {
  border-color: var(--muted);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--primary {
  background: linear-gradient(180deg, var(--ana-ust), var(--ana-alt));
  border-color: var(--ana-alt);
  color: var(--ana-yazi);
  font-weight: 600;
}

.btn--primary:hover:not(:disabled) {
  filter: brightness(1.08);
  border-color: var(--ana-hover);
}

/* Koyu tema (2026-10-15): ana dugme acik temayla AYNI turuncu. Onceki
   obsidyen ana dugme koyu zeminde kayboluyordu; BASLAT en silik dugme,
   DURDUR en parlak dugmeydi. Turuncu iki temada da "ana eylem" demek. */
html:not([data-theme="light"]) .btn--primary {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.btn--danger {
  border-color: var(--danger);
  color: var(--danger-text);
}

.btn--block {
  width: 100%;
}

.btn--off {
  opacity: 0.5;
  text-decoration: line-through;
}

.btn--guestlocked {
  text-decoration: line-through;
}


.btn--guest {
  background: linear-gradient(180deg, #79c0ff, #4a9bf5);
  border: 1px solid #1d4ed8;
  color: #04182e;
  font-weight: 600;
  min-height: 64px;
  padding: 18px 20px;
  font-size: 17px;
  line-height: 1.3;
}

.btn--guest:hover:not(:disabled) {
  filter: brightness(1.08);
  border-color: #1e40af;
}

.btn--guest:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.btn--guest:disabled {
  opacity: 0.6;
}


.controls .btn {
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.controls .btn:active:not(:disabled) { transform: translateY(1px); }

.controls__row--cta {
  align-items: stretch;
}

.controls__row--cta .btn,
.chat__user > .user,
.controls__row--buttons .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 8px;
  font-size: 14px;
  line-height: 1.25;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 641px) {
  .controls__row--buttons .btn {
    flex: 0 0 auto;
    padding: 4px 9px;
    font-size: 11px;
    line-height: 1.2;
  }
}

/* Renk sistemi (2026-10-15): turuncu = ana eylem (BASLAT, DEVAM ET),
   kirmizi cerceve = durdurma/sikayet/engel, digerleri notr. */
.controls__row--cta .btn--next {
  background: linear-gradient(180deg, var(--ana-ust), var(--ana-alt));
  border-color: var(--ana-alt);
  color: var(--ana-yazi);
}
.controls__row--cta .btn--chat {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--text);
}
.controls__row--cta .btn--next:hover:not(:disabled),
.controls__row--cta .btn--chat:hover:not(:disabled) {
  filter: brightness(1.1);
}

.controls__row--cta .btn--stop {
  background: var(--bg-soft);
  border-color: var(--danger);
  color: var(--danger-text);
  font-weight: 600;
}
.controls__row--cta .btn--stop:hover:not(:disabled) {
  border-color: var(--danger);
  filter: none;
}

/* DURDUR ana kurali altta, en sonda (btn--next ezme sorunu icin) */

.controls .btn--off {
  opacity: 0.8;
  border-color: var(--danger);
  color: var(--danger-text);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
}
.controls .btn--off:hover:not(:disabled) { border-color: var(--danger); }
.controls .btn--on {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.controls .btn--on:hover:not(:disabled) { border-color: var(--accent); }


.chat {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.chat__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.chat__user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.chat__user > .user,
.chat__user > .btn--sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 8px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
}

.chat__user .chat__userlabel {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}
.chat__user:has(.user:not([hidden])) .chat__userlabel {
  display: inline;
}

.chat__head > .btn--danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 28px;
  min-width: 56px;
  padding: 0 10px;
  border: 1px solid var(--danger);
  border-radius: 999px;
  font-size: 13px;
  background: none;
}
.chat__head > .btn--danger:hover:not(:disabled) {
  border-color: var(--danger-text);
}

.chat__head .field--country {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: none;
  font-size: 11px;
  margin-right: auto;
}

.chat__head > #micBtn,
.chat__head > #camBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}
.chat__head .country__btn {
  padding: 4px 6px;
  min-width: 96px;
  gap: 4px;
  border-radius: 4px;
}
.chat__head .country__flag { width: 12px; height: 8px; border-radius: 1px; }
.chat__head .country__caret { font-size: 8px; }
.chat__head .country__menu {
  min-width: 200px;
  max-height: 260px;
  z-index: 60;
}

@media (max-width: 640px) {
  .chat__head {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .chat__head > .btn--danger {
    margin-left: auto;
  }
  /* Iki kirmizi dugme yan yana sagda durur; ikincisi kendi payini istemez. */
  .chat__head > #blockBtn {
    margin-left: 0;
  }
  .chat__user:has(.user:not([hidden])) .chat__userlabel {
    display: none;
  }
  .controls__row--buttons > .chat__user {
    flex: 1 0 100%;
  }
}

@media (max-width: 440px) {
  .chat__head > #micBtn,
  .chat__head > #camBtn,
  .chat__head > .btn--danger {
    font-size: 0;
    padding: 0 10px;
    min-width: 42px;
  }
  .chat__head > #micBtn::before {
    content: '\1F399';
    font-size: 14px;
    line-height: 1;
  }
  .chat__head > #camBtn::before {
    content: '\1F3A5';
    font-size: 14px;
    line-height: 1;
  }
  .chat__head > .btn--danger::before {
    content: '\1F6A9';
    font-size: 14px;
    line-height: 1;
  }
  .chat__head > #blockBtn::before {
    content: '\1F6AB';
  }
}

.chat__log {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat__log p {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.chat__log p.system {
  color: var(--muted);
  font-style: italic;
}

.chat__log p.mine { color: var(--mine); }
.chat__log p.theirs { color: var(--text); }

.chat__form {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.chat__form input {
  flex: 1;
}

.reklam {
  flex: none;
  align-self: center;
  width: 728px;
  max-width: calc(100% - 32px);
  height: 90px;
  margin: 12px auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px dashed var(--accent);
  background: rgba(242, 145, 63, 0.05);
  border-radius: var(--radius);
  text-align: center;
}
.reklam__konum {
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.reklam strong {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.06em;
}
.reklam__olc { font-size: 12px; color: var(--muted); }

.reklam--alt { margin-top: 120px; }

body:has(.reklam) .site-foot { margin-top: 108px; }

@media (max-width: 1024px) {
  .reklam { width: 320px; height: 100px; }
}


.site-foot {
  flex: 0 0 auto;
  margin-top: 50vh;
  margin-top: 50dvh;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-foot__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
}

.site-foot__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}


.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Kurumsal linkler (İletişim ile biten) ile blog linkleri arasında
   görünür boşluk: iki ayrı grup okunsun. */
.site-foot__links + .site-foot__links {
  margin-top: 40px;
}

.site-foot__links a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.site-foot__links a:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


.site-foot__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.site-foot__block {
  min-width: 0;
}


.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.social__link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: block;
}

.social__link:hover {
  border-color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.social__link[data-yer="bos"] {
  opacity: 0.45;
  cursor: not-allowed;
  border-style: dashed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.social__link[data-yer="bos"]:hover {
  border-color: var(--line);
  text-decoration: line-through;
}


.lang { position: relative; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.lang__btn:hover { border-color: var(--muted); }
.lang__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang__caret { font-size: 10px; opacity: 0.8; }

.lang__menu {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 190px;
  max-width: calc(100vw - 24px);
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lang__head {
  margin: 0 0 4px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lang__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.lang__opt:hover { background: var(--line); }
.lang__opt:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.lang__opt[aria-pressed="true"] {
  background: var(--line);
  font-weight: 600;
}

.lang__opt[aria-pressed="true"]::after {
  content: "✓";
  font-size: 12px;
  color: var(--muted);
}


.lang--gate {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.lang--gate .lang__menu {
  left: 50%;
  transform: translateX(-50%);
}


.site-foot__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.site-foot__contact a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.site-foot__contact a:hover {
  border-bottom-color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot__contact a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-foot__note {
  color: var(--muted);
  font-size: 12px;
}

.site-foot__todo {
  display: inline-block;
  padding: 1px 7px;
  border: 1px dashed var(--danger);
  border-radius: 5px;
  color: var(--danger-text);
  font-size: 12px;
}

.site-foot__bar {
  background: #05080c;
  color: #8b949e;
  text-align: center;
  padding: 16px;
  font-size: 12px;
}

.site-foot__copy,
.site-foot__bar p {
  margin: 0;
}

.site-foot__bar .site-foot__note {
  color: #8b949e;
  margin-top: 4px;
}

.site-foot__bar a {
  color: #e6edf3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*
  Alt bilgideki hashtag blogu: ekranda gorunmez, ekran okuyucuya ve
  arama motoruna acik kalir.

  `display:none` ve `visibility:hidden` IKI SEYI BIRDEN SILERDI: hem
  metni gosteren ekrandan, hem de erisilebilirlik agacindan. Buradaki
  klasik 1x1 kirpma teknigi yalnizca GORSEL katmani gizler; metin
  DOM'da ve ekran okuyucu agacinda durur, sayfada yer kaplamaz.
*/
.site-foot__tags {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}


.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  line-height: 1.7;
}

.page__crumb { margin: 0 0 20px; }

.page__crumb a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.page__crumb a:hover { color: var(--text); text-decoration: underline; }

.page h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

.page h2 {
  margin: 32px 0 10px;
  font-size: 19px;
  line-height: 1.3;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.page h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--muted);
}

.page p,
.page li { color: var(--text); }

.page__lead {
  font-size: 17px;
  color: var(--text);
}

/* Panelden yazilan blog yazisinin tarihi (src/icerik.js). */
.page__tarih { margin: -6px 0 16px; font-size: 13px; color: var(--muted); }

.page__note {
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
}

.page__lang {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.page__urgent {
  padding: 16px 18px;
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  background: var(--error-bg);
}

.page__urgent h2 {
  margin-top: 0;
  border-bottom-color: var(--danger);
}

.page__urgent p { color: var(--error-text); }

.page__todo {
  padding: 16px 18px;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.page__todo h2 {
  margin-top: 0;
  border-bottom: 0;
}

.page a {
  color: var(--text);
  text-underline-offset: 3px;
}

.page a:hover { text-decoration-thickness: 2px; }

.page ul,
.page ol {
  padding-left: 22px;
}

.page li { margin: 4px 0; }

.shot {
  margin: 20px 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

/* Blog videolari: gorsellerle ayni cerceve, siyah zemin. */
.shot video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* Koyu tema: blog videolari da obsidyen zemin */
html:not([data-theme="light"]) .shot video {
  background: linear-gradient(165deg, #101826 0%, #0a111b 55%, #05080c 100%);
}

.shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Gorseller sitenin gercek arayuzuyle cekilmis ama kisiler temsilidir. */
.shot__temsili {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  opacity: 0.85;
}

.shot--end { margin-bottom: 28px; }

.shot--aside {
  float: right;
  width: 42%;
  margin: 0 0 16px 20px;
}
.shot--aside img { border-radius: 10px; }

.page h2 { clear: both; }

@media (max-width: 640px) {
  .shot--aside {
    float: none;
    width: 100%;
    margin: 20px 0;
  }
}

.page table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.page th,
.page td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.page thead th {
  background: var(--bg-soft);
  font-size: 13px;
  white-space: nowrap;
}

.page tbody th[scope="row"] {
  background: var(--bg-soft);
  font-weight: 600;
  white-space: nowrap;
}

.page code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
}

.page kbd {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--bg-soft);
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
}


.theme-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 70;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.theme-toggle:hover { border-color: var(--muted); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


@media (max-width: 1024px) {
  .app {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1080px;
    height: auto;
    min-height: 0;
  }

  .stage { aspect-ratio: 16 / 9; }

  .cerceve {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    height: auto;
    align-content: start;
  }

  .cerceve > .stage,
  .cerceve:not(:has(> .chat:not([hidden]))) > .stage {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .cerceve > .controls {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cerceve > .controls > .controls__row,
  .cerceve > .controls > .controls__row--cta,
  .cerceve > .controls > .controls__row--buttons {
    order: 0;
    flex: 0 0 auto;
    max-width: none;
    margin: 0;
  }

  .cerceve > .chat {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .chat__log { flex: none; height: 220px; min-height: 0; }
}


@media (max-width: 640px) {
  .app { padding: 12px; }
  .chat__user > .user,
  .controls__row--buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 5px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .controls__row--cta .btn,
  .chat__user > .user {
    padding: 10px 5px;
    font-size: 12px;
  }
  .topbar { padding-right: 54px; }
  .country__menu { max-height: 50vh; }
  .btn--guest { min-height: 72px; font-size: 18px; }
  .site-foot__inner { grid-template-columns: 1fr; gap: 24px; padding: 24px 12px 20px; }
  .page { padding: 16px 12px 32px; }
  .page__crumb { padding-right: 54px; }
  .page h1 { font-size: 23px; }
  .page h2 { font-size: 17px; }
  .page__lead { font-size: 16px; }

  .page table { display: block; overflow-x: visible; }
  .page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .page tbody tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-soft);
    padding: 4px 0;
    margin: 0 0 10px;
  }
  .page tbody th,
  .page tbody td {
    display: grid;
    grid-template-columns: minmax(84px, 36%) minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    border: 0;
    padding: 7px 12px;
    background: none;
    white-space: normal;
  }
  .page tbody th[scope="row"] { font-size: 13px; }
  .page tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }
  .tablo-konu tbody th[scope="row"] {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    font-size: 14px;
    padding-bottom: 2px;
  }
  .page tbody td:not([data-label]) { grid-template-columns: minmax(0, 1fr); }
  .page code { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .controls__row--cta .btn,
  .chat__user > .user,
  .controls__row--buttons .btn {
    font-size: 12px;
    padding: 8px 4px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 400px) {
  .controls__row--cta .btn,
  .chat__user > .user,
  .controls__row--buttons .btn { padding: 8px 3px; font-size: 11px; }
}

@media (max-width: 360px) {
  .controls__row--cta .btn,
  .chat__user > .user,
  .controls__row--buttons .btn { padding: 8px 3px; font-size: 11px; }


}

@media (max-width: 340px) {
  .controls__row--cta .btn,
  .chat__user > .user,
  .controls__row--buttons .btn { padding: 8px 2px; font-size: 10px; }
}

/* =========================================================
   Koyu tema: OBSİDYEN — logodaki siyaha yakin koyu renkten
   gelen yetkin bir gece tasarimi. Yalnizca koyu temada.
   ========================================================= */

/* Sayfa zemini: hafif serin aydinlatma (cam oksu) */
html:not([data-theme="light"]) body {
  background:
    radial-gradient(900px 460px at 50% -12%, rgba(150, 175, 220, 0.07), transparent 62%),
    radial-gradient(760px 420px at 88% 112%, rgba(30, 40, 60, 0.28), transparent 58%),
    var(--bg);
}

/* Giris karti: obsidyen cam, ince gümüs kenar */
html:not([data-theme="light"]) .gate__card {
  background: linear-gradient(168deg, #101826 0%, #0b111b 55%, #05080c 100%);
  border-color: rgba(140, 170, 220, 0.22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(140, 170, 220, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Misafir düğmesi de obsidyen */
html:not([data-theme="light"]) .btn--guest {
  background: linear-gradient(180deg, #1b2433 0%, #0d1219 55%, #05080c 100%);
  border-color: rgba(140, 170, 220, 0.30);
  color: #f2f6fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 6px 18px rgba(0, 0, 0, 0.55);
}

html:not([data-theme="light"]) .btn--guest:hover:not(:disabled) {
  filter: brightness(1.25);
}

/* DURDUR iki temada da kirmizi cerceve (2026-10-15). Dugme btn--next de
   tasir; bu blok btn--next turuncusunu ezmek icin ondan sonra gelir.
   Koyu temada turuncu DURDUR, BASLAT'tan parlak gorunuyordu. */
.controls__row--cta .btn--next.btn--stop {
  background: var(--bg-soft);
  border-color: var(--danger);
  color: var(--danger-text);
  box-shadow: none;
}

/* Çerceve: içten minik gümüs halka */
html:not([data-theme="light"]) .cerceve {
  box-shadow: var(--cerceve-golge), inset 0 0 0 1px rgba(140, 170, 220, 0.07);
}

/* Giris alanlari: odakta gümüs isik halkasi */
html:not([data-theme="light"]) .authform input:focus {
  box-shadow: 0 0 0 3px rgba(201, 212, 228, 0.16);
}

/* Karşı tarafın kamerası kapalıysa: uzak videonun ortasinda uyari */
.stage__camuyari {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 18px;
  pointer-events: none;
  z-index: 4;
}
.stage__camuyari-ikon {
  font-size: 34px;
  line-height: 1;
}
.stage__camuyari-metin {
  max-width: 62%;
  padding: 11px 22px;
  border: 1px solid var(--danger);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--danger-text);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

/* Koyu tema: obsidyen cam, soluk korall vurgu */
html:not([data-theme="light"]) .stage__camuyari-metin {
  background: linear-gradient(168deg, rgba(26, 19, 22, 0.93) 0%, rgba(7, 11, 18, 0.90) 100%);
  border-color: rgba(247, 106, 97, 0.55);
  color: #ffb7ae;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* =========================================================
   TAŞMA KORUMASI (panel ayarları düzeni bozmasın)
   ---------------------------------------------------------
   Panelden gelen metinler (site adı, slogan, durum yazıları,
   duyuru, hashtag, reklam kodu) ve aç/kapa anahtarları (sohbet,
   rapor, ülke seçimi, reklam) mevcut düzeni bozamasın: hiçbir
   yazı kabından taşmasın, hiçbir düğme kutusundan "uçmasın".

   Bu kurallar NORMAL durumda görünümü değiştirmez; yalnızca
   metin/içerik sığmadığında devreye girer (taşma anında kırpar,
   kısaltır veya alt satıra indirir). Ana tasarım aynı kalır.
   ========================================================= */

/* --- Üst çubuk: uzun site adı / kullanıcı adı taşmasın; sohbet
       kapatılınca üst çubuğa taşınan "kullanıcı/çıkış" düğmeleri
       sağ üstteki sabit tema düğmesinin altına girmesin. --- */
.topbar { min-width: 0; padding-right: 54px; }
.brand { min-width: 0; max-width: 100%; }
.brand > [data-marka="ad"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar__right {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar__right .user {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Giriş kartı: uzun site adı / sloganı karttan taşmasın. --- */
.gate__brand { min-width: 0; }
.gate__brandtext { min-width: 0; }
.gate__brand > h1,
.gate__brandtext h1,
.gate__card h1 { min-width: 0; overflow-wrap: anywhere; }
.gate__tagline { overflow-wrap: anywhere; }

/* --- Sahne durum yazısı ve duyuru bandı: kesintisiz uzun
       metinler yatay taşma yapmasın. --- */
.stage__status { overflow-wrap: anywhere; }
.announce { overflow-wrap: anywhere; }

/* --- Duyuru bandı açıkken üst çubuğu örtmesin. Bant `position:
       fixed` olduğu için normalde içeriğin üstüne binerdi; yüksekliği
       kadar içerik aşağı itilir. Yükseklik (satır sayısına göre
       değişir) app.js tarafından `--duyuru-y` değişkenine yazılır.
       Bant kapalıyken değişken 0'dır; görünüm aynı kalır. --- */
body { padding-top: var(--duyuru-y, 0px); }

@media (min-width: 1025px) {
  .app { height: calc(100dvh - 32px - var(--duyuru-y, 0px)); }
}

/* --- Sohbet başlığı: dar genişlikte veya uzun çevirilerde
       öğeler taşmak yerine alt satıra insin. --- */
.chat__head { flex-wrap: wrap; row-gap: 6px; min-width: 0; }

/* --- CTA düğmeleri: etiket sığmadığında komşuya taşmasın
       (dar ekranda zaten alt satıra iner). --- */
.controls__row--cta .btn { overflow: hidden; text-overflow: ellipsis; }

/* --- Reklam kutuları: panelden gelen reklam kodu sabit
       yükseklikli kutudan dışarı taşmasın. --- */
.reklam,
.gate__yanreklam { overflow: hidden; }
.reklam img,
.reklam iframe,
.reklam video,
.reklam ins,
.reklam canvas,
.reklam svg,
.gate__yanreklam img,
.gate__yanreklam iframe,
.gate__yanreklam video,
.gate__yanreklam ins,
.gate__yanreklam canvas,
.gate__yanreklam svg { max-width: 100%; }



/* ---------- Hesabim penceresi ---------- */

.hesap {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--cerceve-golge);
}

.hesap::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.hesap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hesap__baslik {
  margin: 0;
  font-size: 18px;
}

.hesap__kapat {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.hesap__kapat:hover,
.hesap__kapat:focus-visible {
  color: var(--text);
}

.hesap__ozet {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  margin: 0 0 4px;
  font-size: 14px;
}

.hesap__ozet dt {
  color: var(--muted);
}

.hesap__ozet dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hesap__rozet {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--warn);
  color: var(--warn-text);
}

.hesap__rozet--ok {
  border-color: var(--ok);
  color: var(--ok-text);
}

/* ----- Hesabim: kimlik karti, gruplar, acilir satirlar (tema degiskenleriyle) ----- */

.hesap { width: min(480px, calc(100vw - 32px)); padding: 18px; }

.hesap__kimlik {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin: 0 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 55%, var(--bg-soft));
}
.hesap__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* Sitenin ana dugmesiyle ayni turuncu gecis. */
  background: linear-gradient(180deg, var(--ana-ust), var(--ana-alt));
  color: var(--ana-yazi);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}
.hesap__kimlik-metin { display: grid; gap: 4px; min-width: 0; }
.hesap__ad { font-size: 17px; overflow-wrap: anywhere; }
.hesap__eposta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

.hesap__grup { margin-top: 16px; }
.hesap__grup-baslik {
  margin: 0 0 6px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Grup: tek kart, satirlar arasinda ince cizgi. */
.hesap__grup > .hesap__bolum {
  margin: 0;
  border: 1px solid var(--line);
  border-top-width: 0;
  background: var(--bg-soft);
}
.hesap__grup > .hesap__bolum:first-of-type { border-top-width: 1px; border-radius: var(--radius) var(--radius) 0 0; }
.hesap__grup > .hesap__bolum:last-of-type { border-radius: 0 0 var(--radius) var(--radius); }
.hesap__grup > .hesap__bolum:only-of-type { border-radius: var(--radius); }

.hesap__bolum summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  border-radius: inherit;
}
.hesap__bolum summary::-webkit-details-marker { display: none; }
/* Acilinca donen ok. */
.hesap__bolum summary::after {
  content: '';
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.hesap__bolum[open] summary::after { transform: rotate(45deg); }
.hesap__bolum summary:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.hesap__bolum summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.hesap__ikon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 7%, transparent);
  font-size: 16px;
}
.hesap__etiket { min-width: 0; overflow-wrap: anywhere; }

/* Acik bolumun icerigi. */
.hesap__bolum > :not(summary) { margin-left: 14px; margin-right: 14px; }
.hesap__bolum[open] { padding-bottom: 14px; }
.hesap__bolum[open] summary { margin-bottom: 10px; border-bottom: 1px solid var(--line); border-radius: inherit; }

/* Tehlikeli islem: kirmizi tonlu kart. */
.hesap__grup--tehlike > .hesap__bolum {
  border-color: color-mix(in srgb, var(--danger) 45%, var(--line));
  background: color-mix(in srgb, var(--danger) 7%, var(--bg-soft));
}
.hesap__grup--tehlike .hesap__grup-baslik { color: var(--danger-text); }
.hesap__bolum--tehlike summary { color: var(--danger-text); }
.hesap__bolum--tehlike .hesap__ikon { background: color-mix(in srgb, var(--danger) 14%, transparent); }

/* Ekip daveti ve dogrulama baglantisi kimlik kartinin altinda. */
.hesap > #accountVerify { margin: 4px 0 0 4px; }

@media (max-width: 480px) {
  .hesap { padding: 14px; }
  .hesap__avatar { width: 42px; height: 42px; font-size: 18px; }
}


/* Klavye odagi: dugme ve sekmelerde gorunur halka (fare tiklamasinda cikmaz). */
.btn:focus-visible,
.tab:focus-visible,
.chat__log:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Sagdan sola (Arapca; yalnizca html[data-tam-ceviri]) ---------- */

/* Logo saga gecer; tema dugmesi sola alinir, ustune binmesin. */
html[dir="rtl"] .theme-toggle {
  right: auto;
  left: 10px;
}

/* Alt bilgideki Turkce kalan basliklar (blog) kendi yonunde dizilsin:
   yoksa "Goruntulu sohbet nedir?" -> "?Goruntulu sohbet nedir" olur. */
html[dir="rtl"] .site-foot a {
  unicode-bidi: plaintext;
}

/* Telif satiri marka adi ve surumden olusur (Latin); kendi yonunde kalsin. */
html[dir="rtl"] .site-foot__copy {
  direction: ltr;
}


/* ---------- Uye yorumlari (/yorumlar) ---------- */

.gizli {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.yorum-ozet {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
}

.yorum-ozet__puan {
  font-size: 28px;
  color: var(--text);
}

.yorum-puan {
  color: #e8a317;
  letter-spacing: 2px;
}

.yorum-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Sagdan sola dizilir: ~ secicisi uzerine gelinen yildizdan oncekileri yakar. */
.yorum-yildiz {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
}

.yorum-yildiz legend {
  width: 100%;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.yorum-yildiz input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.yorum-yildiz label {
  font-size: 30px;
  line-height: 1;
  color: var(--line);
  cursor: pointer;
  padding: 2px;
}

.yorum-yildiz input:checked ~ label,
.yorum-yildiz label:hover,
.yorum-yildiz label:hover ~ label {
  color: #e8a317;
}

.yorum-yildiz input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.yorum-alan {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yorum-alan span {
  color: var(--muted);
  font-size: 14px;
}

.yorum-alan textarea {
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--field-line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.yorum-alan small {
  align-self: flex-end;
  color: var(--muted);
}

.yorum-onay {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

.yorum-onay input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.yorum-form .btn {
  align-self: flex-start;
}

/* .page ol girintisini ezmek icin .page ile birlikte. */
.page .yorum-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yorum {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.yorum__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 6px;
}

.yorum__kim {
  color: var(--muted);
  font-size: 13px;
}

.yorum__metin {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.yorum-benim {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.yorum-benim li {
  margin: 6px 0;
  overflow-wrap: anywhere;
}

.yorum-durum {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.yorum-durum--pending { border-color: var(--warn); color: var(--warn-text); }
.yorum-durum--approved { border-color: var(--ok); color: var(--ok-text); }
.yorum-durum--rejected { color: var(--muted); }

.yorum__rozet {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  /* Iki temada da koyu mavi: acik temanin --mark-b tonu beyaz yaziyla okunmaz. */
  background: #055eed;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.yorum--yonetici {
  border-color: var(--mark-b);
}

.yorum__yanit {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--mark-b);
  border-radius: 0 8px 8px 0;
  background: var(--bg);
}

html[dir="rtl"] .yorum__yanit {
  border-left: 0;
  border-right: 3px solid var(--mark-b);
  border-radius: 8px 0 0 8px;
}


/* ---------- Bos durumlar (2026-10-15) ---------- */

/* Baslamadan once video alaninin ortasinda davet. */
.stage__bos {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.stage__bos[hidden] { display: none; }

.stage__bos-logo .mark {
  width: 64px;
  height: 64px;
}

.stage__bos-baslik {
  margin: 0;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: var(--text);
}

.stage__bos-btn {
  margin-top: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 16px;
}

/* Davet gorunurken alttaki "BASLAT'a bas" yazisi tekrar olurdu. */
.stage--bos .stage__status { visibility: hidden; }

/* Kendi kameran kapaliyken bos beyaz kutu yerine kamera simgesi. Video
   akisi gelince goruntu bu zeminin ustune cizilir. */
.video--local {
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 10l4.55-2.28A1 1 0 0 1 21 8.62v6.76a1 1 0 0 1-1.45.9L15 14'/%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3C/svg%3E") center / 32% no-repeat;
}

/* Sohbet bos durumu: kayit bosken ortada ipucu. */
.chat { position: relative; }

.chat__bos {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 45%;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
}

.chat__log:empty + .chat__bos { display: block; }

/* Telefonda video asil icerik: dikey oranla ekranin cogunu kaplar. */
@media (max-width: 640px) {
  .stage { aspect-ratio: 3 / 4; max-height: 68vh; width: 100%; }

  /* Davet sol ustteki kendi kamera kutusuyla cakismasin: icerik alta (tam
     ekran dugmesinin ustune) yaslanir. Logo kucuk; yazinin hemen ustunde
     durur ve kamera kutusuna ulasmaz. */
  .stage__bos {
    justify-content: flex-end;
    padding-bottom: 76px;
    gap: 8px;
  }
  .stage__bos-logo .mark { width: 44px; height: 44px; }
}


/* ---------- Ses dugmesi, emoji, yaziyor, tanitim (2026-10-15) ---------- */

.ses-toggle {
  position: fixed;
  top: 10px;
  right: 58px;
  z-index: 70;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.ses-toggle:hover { border-color: var(--muted); }
.ses-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ses-toggle[aria-pressed="false"] { opacity: 0.6; }
html[dir="rtl"] .ses-toggle { right: auto; left: 58px; }

.emoji { position: relative; flex: none; }

.emoji__btn {
  height: 100%;
  min-width: 44px;
  padding: 0 10px;
  font-size: 18px;
  line-height: 1;
}

.emoji__menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: 4px;
  padding: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.emoji__menu[hidden] { display: none; }
html[dir="rtl"] .emoji__menu { left: auto; right: 0; }

.emoji__opt {
  width: 40px;
  height: 40px;
  font-size: 20px;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
.emoji__opt:hover,
.emoji__opt:focus-visible { background: var(--bg); outline: none; }

.chat__yaziyor {
  margin: 0;
  padding: 2px 14px 6px;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
}
.chat__yaziyor[hidden] { display: none; }

.tur { width: min(400px, calc(100vw - 32px)); }
.tur__adim { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.tur__metin { margin: 8px 0 18px; line-height: 1.6; }
.tur__dugmeler { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Hesabim: durum, engellediklerim, oturumlarim listeleri. */
.hesap__liste { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.hesap__liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; overflow-wrap: anywhere; }
.hesap__liste li.hesap__liste-bos { justify-content: flex-start; color: var(--muted); border-style: dashed; }

/* Durum cubugunda karsi tarafin adi (bayragin yaninda). */
.status__ad { display: inline-flex; align-items: center; margin-right: 9px; padding: 3px 10px; vertical-align: middle; font-size: 13px; font-weight: 700; color: var(--stage-status); background: rgba(255, 255, 255, 0.16); border-radius: 999px; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ----- Hesabim > Profilim ----- */
.hesap__avatar--resim { background: var(--bg-soft); overflow: hidden; padding: 0; }
.hesap__avatar--resim img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.profil-resim { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.profil-resim__onizleme { width: 72px; height: 72px; font-size: 28px; }
.profil-resim__dugmeler { display: flex; flex-wrap: wrap; gap: 8px; }
.profil-sayac { display: block; text-align: right; color: var(--muted); font-size: 12px; margin-top: 4px; }
.profil-diller { border: 0; padding: 0; margin: 4px 0 12px; }
.profil-diller legend { font-size: 14px; margin-bottom: 6px; padding: 0; }
.profil-diller__liste { display: flex; flex-wrap: wrap; gap: 6px; }
.profil-dil { position: relative; cursor: pointer; }
.profil-dil input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.profil-dil span {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); color: var(--muted); background: var(--bg-soft);
}
.profil-dil input:checked + span { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--bg-soft)); font-weight: 600; }
.profil-dil input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.profil-dil input:disabled + span { opacity: 0.45; cursor: not-allowed; }

/* ----- Sahne: tiklanabilir ad, kamera kapaliyken resim, profil karti ----- */
button.status__ad { font: inherit; font-size: 13px; font-weight: 700; border: 0; cursor: pointer; gap: 6px; padding-left: 4px; }
button.status__ad:not(:has(img)) { padding-left: 10px; }
button.status__ad:hover { background: rgba(255, 255, 255, 0.26); }
button.status__ad:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.status__ad-resim { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }

/* Resim varsa uyari dikey: ustte buyuk yuvarlak resim, altta yazi. */
.stage__camuyari:has(.stage__camuyari-resim:not([hidden])) { flex-direction: column; gap: 14px; }
.stage__camuyari-resim {
  width: clamp(96px, 28%, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.profil-kart__avatar { width: 64px; height: 64px; font-size: 26px; }
.profil-kart__meta { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.profil-kart__diller { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.profil-kart__dil { padding: 3px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--text) 6%, transparent); }

/* Profilim: Hakkimda kutusu normal yazi tipinde; tam genislik dugme kartin icinde kalsin. */
#profileBio { font-family: inherit; font-size: 14px; }
.hesap__bolum > .btn--block { width: calc(100% - 28px); }

/* =====================================================================
   YAS ONAYI EKRANI (2026-10-16): temayi KORUR. Yalnizca sitenin kendi
   degiskenleri (--accent, --mark-a/b, --bg-soft, --line...) kullanilir:
   acik temada acik, koyu temada koyu kalir; panelden secilen ana renk de
   yansir. Hukuki metin aynen ve acik durur, yalnizca gorunumu degisir.
   Hareket azaltmayi secen kullanicida animasyonlar durur (en altta).
   ===================================================================== */

@property --yas-aci {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* --- arka plan: tema zemininde yavasca suzulen iki logo rengi isik --- */
.yas__isik {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.yas__isik span {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}
.yas__isik span:nth-child(1) {
  left: -12vmax;
  top: -10vmax;
  background: var(--mark-a);
  animation: yasSuz1 24s ease-in-out infinite alternate;
}
.yas__isik span:nth-child(2) {
  right: -12vmax;
  bottom: -12vmax;
  background: var(--mark-b);
  animation: yasSuz2 28s ease-in-out infinite alternate;
}
@keyframes yasSuz1 { to { transform: translate(14vmax, 12vmax) scale(1.12); } }
@keyframes yasSuz2 { to { transform: translate(-14vmax, -10vmax) scale(1.1); } }

.gate--yas > :not(.yas__isik) { position: relative; z-index: 1; }

/* --- kart: tema rengi, logo renklerinde donen ince kenar, yumusak acilis --- */
.gate--yas .gate__card {
  position: relative;
  isolation: isolate;
  border-color: transparent;
  box-shadow: var(--cerceve-golge), 0 0 50px var(--accent-glow);
  animation: yasKartGel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.gate--yas .gate__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--yas-aci), var(--mark-a), var(--accent), var(--mark-b), var(--line) 70%, var(--mark-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: yasDon 8s linear infinite;
  pointer-events: none;
}
@keyframes yasDon { to { --yas-aci: 360deg; } }
@keyframes yasKartGel {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* --- logo: halkalar kayarak birlesir --- */
.gate--yas .mark__a { animation: yasHalkaSol 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.gate--yas .mark__b { animation: yasHalkaSag 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes yasHalkaSol { from { transform: translateX(-7px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes yasHalkaSag { from { transform: translateX(7px); opacity: 0; } to { transform: none; opacity: 1; } }

/* --- 18+ amblemi: vurgu renginde halka, hafif nefes --- */
.yas__rozet {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 4px auto 20px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 8px var(--accent-glow), 0 10px 28px var(--accent-glow);
  animation: yasRozet 3.4s ease-in-out infinite;
}
.yas__rozet::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed var(--accent);
  opacity: 0.45;
  animation: yasDonKesik 18s linear infinite;
}
.yas__rozet span {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
}
@keyframes yasRozet {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes yasDonKesik { to { transform: rotate(360deg); } }

/* --- 18 yas ve uzeriyim: kayan isik ve hafif nabiz --- */
.gate--yas #gateAccept {
  position: relative;
  overflow: hidden;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 15.5px;
  font-weight: 700;
  animation: yasKabul 2.8s ease-in-out 1s infinite;
  transition: transform 0.15s, filter 0.2s;
}
.gate--yas #gateAccept::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: yasParilti 4.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
.gate--yas #gateAccept:hover:not(:disabled) { transform: translateY(-1px); }
.gate--yas #gateAccept:active:not(:disabled) { transform: translateY(1px) scale(0.985); }
@keyframes yasParilti {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
@keyframes yasKabul {
  0%, 100% { box-shadow: 0 6px 18px var(--accent-glow); }
  50% { box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 4px var(--accent-glow); }
}

/* "Sunucuya bagli": kutu yerine kucuk, sakin bir satir. Hata kutusu aynen kalir. */
.gate--yas .gate__error--ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 0 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12.5px;
}
.gate--yas .gate__error--ok::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
}

@media (prefers-reduced-motion: reduce) {
  .gate--yas *,
  .gate--yas *::before,
  .gate--yas *::after,
  .yas__isik span {
    animation: none !important;
    transition: none !important;
  }
}

/* Arkadaki alt bilgi baglantilari kartin cevresinden gorunmesin: tema zemini tam ortulu. */
.gate--yas { background: var(--bg); }

/* --- Yas sorusu (2026-10-16): baslik, soru, iki secim, veda, dipnot --- */
.yas__baslik {
  margin: 0 0 8px;
  text-align: center;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  /* 2026-10-18: gecis yerine tek renk: alttaki soru ile ayni gri. */
  color: var(--muted);
  animation: yasKartGel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}
.yas__soru {
  margin: 0 auto 22px;
  max-width: 34ch;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  animation: yasKartGel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s both;
}
.yas__secim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  animation: yasKartGel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.26s both;
}
.yas__secim .btn { width: 100%; border-radius: 14px; }
.yas__hayir {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 15.5px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.yas__hayir:hover:not(:disabled) {
  border-color: var(--danger);
  color: var(--danger-text);
  transform: translateY(-1px);
}
.yas__hayir:active:not(:disabled) { transform: translateY(1px) scale(0.985); }

.yas__veda {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: center;
  background: var(--error-bg);
  color: var(--error-text);
  font-size: 14px;
  font-weight: 600;
  animation: yasKartGel 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.yas__veda[hidden] { display: none; }

.yas__dipnot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.yas__dipnot a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yas__dipnot a:hover { color: var(--accent); }

/* Dar telefonda iki secim alt alta: uzun dillerde (de, ru) yazi sigsin. */
@media (max-width: 420px) {
  .yas__secim { grid-template-columns: 1fr; }
  .yas__baslik { font-size: 21px; }
}
.yas__dipnot > span:first-child { display: block; }

/* =====================================================================
   GIRIS EKRANI (2026-10-16): temayi KORUR, yalnizca sitenin renk
   degiskenleri kullanilir. Yas onayiyla ayni dil: suzulen tema isiklari
   (.yas__isik), logo renklerinde donen kart kenari, yumusak acilis.
   Geri donus: git etiketi yedek/giris-ekrani-oncesi.
   ===================================================================== */

.gate--giris > :not(.yas__isik) { position: relative; z-index: 1; }

/* --- kart --- */
.gate--giris .gate__card {
  position: relative;
  isolation: isolate;
  border-color: transparent;
  box-shadow: var(--cerceve-golge), 0 0 50px var(--accent-glow);
  animation: yasKartGel 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.gate--giris .gate__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--yas-aci), var(--mark-a), var(--accent), var(--mark-b), var(--line) 70%, var(--mark-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: yasDon 8s linear infinite;
  pointer-events: none;
}

/* --- logo: halkalar kayarak birlesir (site adi kendi renginde kalir) --- */
.gate--giris .mark__a { animation: yasHalkaSol 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.gate--giris .mark__b { animation: yasHalkaSag 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.gate--giris .gate__logo {
  transition: transform 0.3s;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.gate--giris .gate__brand:hover .gate__logo { transform: rotate(-6deg) scale(1.05); }

/* --- formdaki alanlar sirayla belirir --- */
.gate--giris #authTabs,
.gate--giris #loginForm > *,
.gate--giris #guestToggle {
  animation: yasKartGel 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.gate--giris #loginForm > :nth-child(1) { animation-delay: 0.08s; }
.gate--giris #loginForm > :nth-child(2) { animation-delay: 0.14s; }
.gate--giris #loginForm > :nth-child(3) { animation-delay: 0.2s; }
.gate--giris #guestToggle { animation-delay: 0.26s; }

/* --- kutular: soldaki simge, odakta vurgu renginde parilti --- */
.gate--giris #loginUsername,
.gate--giris #loginPassword {
  padding-left: 42px;
  background-repeat: no-repeat;
  background-position: 14px 50%;
  background-size: 18px 18px;
  transition: border-color 0.15s, box-shadow 0.2s;
}
.gate--giris #loginUsername {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E");
}
.gate--giris #loginPassword {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb0' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}
.gate--giris #loginUsername:focus,
.gate--giris #loginPassword:focus {
  box-shadow: 0 0 0 3px var(--accent-glow), 0 6px 20px var(--accent-glow);
}

/* --- parola goster/gizle --- */
.parola-kutu {
  position: relative;
  display: block;
}
.parola-kutu input { width: 100%; }
.parola-goster {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
}
.parola-goster:hover,
.parola-goster[aria-pressed="true"] { opacity: 1; background-color: var(--accent-glow); }
/* Gosterilirken ustu cizili goz. */
.parola-goster[aria-pressed="true"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}
.parola-goster:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; opacity: 1; }

/* --- dugmeler: ana dugmede kayan isik, ikisinde hafif yukselme --- */
.gate--giris .guesttoggle .tab {
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, filter 0.2s;
}
.gate--giris .guesttoggle .tab[data-mod="hesap"] {
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.gate--giris .guesttoggle .tab[data-mod="hesap"]::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: yasParilti 4.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
.gate--giris .guesttoggle .tab:hover:not(:disabled) { transform: translateY(-1px); }
.gate--giris .guesttoggle .tab[data-mod="misafir"]:hover:not(:disabled) {
  border-color: var(--accent);
  box-shadow: 0 6px 18px var(--accent-glow);
}
.gate--giris .guesttoggle .tab:active:not(:disabled) { transform: translateY(1px) scale(0.985); }

@media (prefers-reduced-motion: reduce) {
  .gate--giris *,
  .gate--giris *::before,
  .gate--giris *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- "Hesabin yok mu? Kayit ol" (2026-10-16): hap dugme, tema renkleriyle --- */
.gate--giris #authTabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gate--giris #authTabs .tab[data-mode="register"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: color 0.2s, transform 0.15s, box-shadow 0.2s;
}
/* Sagdaki ok: uzerine gelince ileri kayar. */
.gate--giris #authTabs .tab[data-mode="register"]::after {
  content: '→';
  font-weight: 800;
  transition: transform 0.2s;
}
/* Arkadan dolan vurgu rengi. */
.gate--giris #authTabs .tab[data-mode="register"]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--ana-ust), var(--ana-alt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gate--giris #authTabs .tab[data-mode="register"]:hover,
.gate--giris #authTabs .tab[data-mode="register"]:focus-visible {
  color: var(--ana-yazi);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px var(--accent-glow);
}
.gate--giris #authTabs .tab[data-mode="register"]:hover::before,
.gate--giris #authTabs .tab[data-mode="register"]:focus-visible::before { transform: scaleX(1); }
.gate--giris #authTabs .tab[data-mode="register"]:hover::after,
.gate--giris #authTabs .tab[data-mode="register"]:focus-visible::after { transform: translateX(3px); }
.gate--giris #authTabs .tab[data-mode="register"]:active { transform: translateY(1px) scale(0.98); }
.gate--giris #authTabs .tab[data-mode="register"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =====================================================================
   RASTLASMA ASISTANI (2026-10-16): sag ustte zil ve temanin yaninda.
   Tema degiskenleriyle cizilir; acik/koyu temaya uyar.
   ===================================================================== */
.asistan-toggle {
  position: fixed;
  top: 10px;
  right: 106px;
  z-index: 70;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--cerceve-golge);
  transition: transform 0.15s, border-color 0.2s;
}
.asistan-toggle:hover { border-color: var(--accent); transform: translateY(-1px); }
.asistan-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.asistan-toggle[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* Giris ve yas ekranlarinda gizli: asistan uygulama icindir. */
body:has(.gate:not([hidden])) .asistan-toggle,
body:has(.gate:not([hidden])) .asistan { display: none; }

.asistan {
  position: fixed;
  top: 58px;
  right: 10px;
  z-index: 71;
  width: min(360px, calc(100vw - 20px));
  max-height: min(560px, calc(100vh - 80px));
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--cerceve-golge), 0 0 40px var(--accent-glow);
  overflow: hidden;
  animation: asistanAc 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.asistan[hidden] { display: none; }
@keyframes asistanAc {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.asistan__ust {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.asistan__ust > div { flex: 1; display: flex; align-items: center; gap: 8px; }
.asistan__simge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-glow);
  font-size: 18px;
}
.asistan__rozet {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.asistan__kapat {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.asistan__kapat:hover { background: var(--bg); color: var(--text); }

.asistan__mesajlar {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asistan__mesaj {
  margin: 0;
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  animation: asistanAc 0.2s ease-out both;
}
.asistan__mesaj--bot {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.asistan__mesaj--ben {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ana-yazi);
  border-bottom-right-radius: 4px;
}
.asistan__mesaj a { color: var(--accent); font-weight: 600; }
.asistan__mesaj--yaziyor { color: var(--muted); letter-spacing: 0.2em; }

.asistan__secenekler {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
  max-height: 110px;
  overflow-y: auto;
}
.asistan__secenek {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.asistan__secenek:hover { border-color: var(--accent); transform: translateY(-1px); }

.asistan__form {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  border-top: 1px solid var(--line);
}
.asistan__form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
  font: inherit;
}
.asistan__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

@media (prefers-reduced-motion: reduce) {
  .asistan, .asistan__mesaj { animation: none; }
}
.asistan__rozet { white-space: nowrap; }
.asistan__ust strong { line-height: 1.2; }

/* Asistan: Yardim / Pratik sohbet sekmeleri ve yapay zeka uyarisi */
.asistan__sekmeler { display: flex; gap: 6px; padding: 10px 14px 0; }
.asistan__sekmeler[hidden] { display: none; }
.asistan__sekme {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.asistan__sekme[aria-selected="true"] { border-color: var(--accent); color: var(--text); background: var(--accent-glow); }
.asistan__uyari {
  margin: 10px 14px 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--warn-text);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}
.asistan__uyari[hidden], .asistan__mesajlar[hidden], .asistan__secenekler[hidden] { display: none; }
.asistan__mesaj--hata {
  align-self: flex-start;
  background: var(--error-bg);
  color: var(--error-text);
  border-bottom-left-radius: 4px;
}

/* =====================================================================
   KOYU TEMA SADE (2026-10-16, kullanici istegi): koyu temada giris ve yas
   ekranlarindaki isik bulutlari, donen renkli kenar ve parilti efektleri
   neon gibi gorunuyordu. Koyu temada kapatilir; islevler (iki secim,
   18+ yazisi, parola goster) kalir. Acik tema degismez.
   ===================================================================== */
html:not([data-theme="light"]) .yas__isik { display: none; }
html:not([data-theme="light"]) .gate--yas .gate__card::before,
html:not([data-theme="light"]) .gate--giris .gate__card::before { content: none; }
html:not([data-theme="light"]) .gate--yas .gate__card,
html:not([data-theme="light"]) .gate--giris .gate__card {
  border-color: var(--line);
  box-shadow: var(--cerceve-golge);
}
html:not([data-theme="light"]) .yas__rozet {
  box-shadow: 0 0 0 2px var(--line);
  animation: none;
}
html:not([data-theme="light"]) .yas__rozet::after { display: none; }
html:not([data-theme="light"]) .yas__rozet span { color: var(--text); }
html:not([data-theme="light"]) .yas__baslik {
  background: none;
  color: var(--text);
}
html:not([data-theme="light"]) .gate--yas #gateAccept,
html:not([data-theme="light"]) .gate--giris .guesttoggle .tab[data-mod="hesap"] {
  animation: none;
  box-shadow: none;
}
html:not([data-theme="light"]) .gate--yas #gateAccept::after,
html:not([data-theme="light"]) .gate--giris .guesttoggle .tab[data-mod="hesap"]::after { content: none; }
html:not([data-theme="light"]) .gate--giris .gate__logo { box-shadow: none; }
html:not([data-theme="light"]) .gate--giris #loginUsername:focus,
html:not([data-theme="light"]) .gate--giris #loginPassword:focus { box-shadow: 0 0 0 3px var(--accent-glow); }
html:not([data-theme="light"]) .gate--giris #authTabs .tab[data-mode="register"] { box-shadow: none; }
.asistan-toggle[hidden] { display: none; }

/* Itiraz kutusu (giris ekrani) */
.itiraz {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.itiraz[hidden] { display: none; }
.itiraz__durum { margin: 0 0 10px; font-size: 14px; color: var(--text); }
.itiraz__form { display: grid; gap: 10px; }
.itiraz__form[hidden] { display: none; }
.itiraz__form textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.itiraz__form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* Anlik sistem mesaji (ust bant) */
.sistem-mesaj {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(640px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--cerceve-golge);
  font-size: 14.5px;
  font-weight: 600;
  animation: asistanAc 0.25s ease-out both;
}
.sistem-mesaj[hidden] { display: none; }
.sistem-mesaj--uyari { border-color: var(--warn); background: var(--warn-soft); color: var(--warn-text); }
.sistem-mesaj #sistemMesajMetin { flex: 1; overflow-wrap: anywhere; }
.sistem-mesaj__kapat { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.sistem-mesaj__kapat:hover { background: var(--bg); }
/* Ortalama animasyondan bagimsiz: transform kullanilmaz. */
.sistem-mesaj { left: 0; right: 0; margin-inline: auto; transform: none; }

/* Panelden yuklenen logo: kutuyu doldurur, oran korunur. */
.marka-logo-kap { background: transparent !important; overflow: hidden; }
.marka-logo { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
/* Yuklenen logo boyutu varsayilan halka logosuyla ayni. */
.stage__bos-logo .marka-logo { width: 64px; height: 64px; }
@media (max-width: 700px) { .stage__bos-logo .marka-logo { width: 44px; height: 44px; } }
.brand__logo .marka-logo, .gate__logo .marka-logo { border-radius: inherit; }

/* Cerez bildirimi (alt bant) */
.cerez {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--cerceve-golge);
  font-size: 14px;
}
.cerez[hidden] { display: none; }
.cerez p { flex: 1 1 320px; margin: 0; line-height: 1.5; }
.cerez a { color: var(--accent); font-weight: 600; }
.cerez__dugmeler { display: flex; gap: 8px; flex-wrap: wrap; }
.cerez__dugmeler [hidden] { display: none; }
/* Onay gelene kadar reklam yerleri gizli. */
body.reklam-onay-bekliyor .gate__yanreklam,
body.reklam-onay-bekliyor .reklam { display: none !important; }

/* Paylas / arkadasini davet et (bos ekran) */
.paylas { position: relative; margin-top: 12px; }
.paylas[hidden] { display: none; }
.paylas__dugme {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.paylas__dugme:hover { border-color: var(--accent); transform: translateY(-1px); }
.paylas__dugme:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.paylas__menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 30;
  min-width: 220px;
  display: grid;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  box-shadow: var(--cerceve-golge);
}
.paylas__menu[hidden] { display: none; }
.paylas__menu a, .paylas__menu button {
  display: block;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.paylas__menu a:hover, .paylas__menu button:hover { background: var(--bg); }
/* Sahne alt kenarinda kesilmesin: menu yukari acilir. */
.paylas__menu { top: auto; bottom: calc(100% + 8px); }
.haber-ver { flex-wrap: wrap; } .haber-ver #haberVerMetin { flex: 1 1 260px; }
