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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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