:root {
  --zemin: #07061a;
  --zemin-2: #12102e;
  --yuzey: rgba(255, 255, 255, .07);
  --yuzey-2: rgba(255, 255, 255, .12);
  --cizgi: rgba(255, 255, 255, .14);
  --metin: #f4f2ff;
  --soluk: #aaa5cf;
  --renk: #7c5cff;
  --renk-2: #22d3ee;
  --evet: #22c55e;
  --hayir: #f43f5e;
  --avatar: 190px;
  --gecis: .6s cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--metin);
  background:
    radial-gradient(800px 560px at 50% 42%, color-mix(in srgb, var(--renk) 26%, transparent), transparent 70%),
    radial-gradient(600px 420px at 90% 105%, color-mix(in srgb, var(--renk-2) 14%, transparent), transparent 70%),
    var(--zemin);
  min-height: 100dvh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
  transition: background 1s;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* yıldızlar */
.yildizlar {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 70% 80%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 40% 70%, #cfc6ff, transparent),
    radial-gradient(1px 1px at 85% 20%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 55% 15%, #a5f3fc, transparent);
  background-size: 340px 340px, 260px 260px, 420px 420px, 300px 300px, 380px 380px;
  animation: suzul 120s linear infinite;
}
@keyframes suzul { to { transform: translate(170px, 120px); } }

/* ---------------------------------------------------------------- üst */
.ust { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; gap: 12px; }
.marka { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; }
.marka strong { display: block; font-size: 16px; letter-spacing: .3px; }
.marka small { display: block; font-size: 11.5px; color: var(--soluk); letter-spacing: .4px; }
.marka-nokta {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--renk); box-shadow: 0 0 16px var(--renk);
  animation: nabiz 2.4s ease-in-out infinite;
}
@keyframes nabiz { 50% { box-shadow: 0 0 4px var(--renk); } }
.hesap { display: flex; align-items: center; gap: 8px; }
.hesap[hidden] { display: none; }
.rozet {
  font-size: 14px; padding: 7px 14px; border-radius: 999px;
  background: var(--yuzey); border: 1px solid var(--cizgi);
}
.cikis {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--cizgi);
  background: var(--yuzey); font-size: 16px;
}
.cikis:hover { border-color: var(--hayir); }

/* ---------------------------------------------------------------- sahne */
.sahne {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 16px 32px; gap: 18px; width: 100%; max-width: 900px; margin: 0 auto;
}
.merkez {
  position: relative; width: 100%; max-width: 640px; height: 400px;
  display: grid; place-items: center;
}
.balon {
  margin: 0; max-width: 560px; min-height: 2.9em; text-align: center;
  font-size: clamp(19px, 2.6vw, 25px); line-height: 1.4; font-weight: 600;
}
.balon .imlec { display: inline-block; width: .5em; color: var(--renk); animation: imlec 1s steps(1) infinite; }
@keyframes imlec { 50% { opacity: 0; } }
.alt-dugmeler { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; min-height: 44px; }

/* ---------------------------------------------------------------- avatar */
.avatar {
  position: relative; width: var(--avatar); height: var(--avatar); z-index: 1;
  transition: transform var(--gecis), width var(--gecis), height var(--gecis);
  --gx: 0px; --gy: 0px;
}
.aura {
  position: absolute; inset: -30%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--renk) 45%, transparent), transparent 65%);
  animation: nefes 4s ease-in-out infinite; transition: background 1s;
}
.halka {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: color-mix(in srgb, var(--renk) 85%, white);
  border-right-color: color-mix(in srgb, var(--renk-2) 50%, transparent);
  animation: don 7s linear infinite;
}
.halka.h2 { inset: -14%; animation-duration: 12s; animation-direction: reverse; opacity: .45; border-top-color: var(--renk-2); }
.kure {
  position: absolute; inset: 8%; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .6), transparent 38%),
    radial-gradient(circle at 50% 62%, var(--renk), color-mix(in srgb, var(--renk) 35%, #050414) 78%);
  box-shadow: 0 0 70px color-mix(in srgb, var(--renk) 75%, transparent), inset 0 -14px 34px rgba(0, 0, 0, .4);
  animation: nefes 4s ease-in-out infinite;
  transition: background 1s, box-shadow 1s;
}
.goz {
  position: absolute; top: 34%; width: 15%; height: 23%; border-radius: 40% / 35%;
  background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .8);
  overflow: hidden; transition: transform .35s, height .35s, border-radius .35s, top .35s;
  animation: kirp 5.5s infinite;
}
.goz i {
  position: absolute; left: 50%; top: 50%; width: 52%; height: 44%; border-radius: 50%;
  background: #1a1440;
  transform: translate(calc(-50% + var(--gx)), calc(-50% + var(--gy)));
  transition: transform .12s linear;
}
.goz.sol { left: 29%; }
.goz.sag { right: 29%; }
.yanak {
  position: absolute; top: 56%; width: 13%; height: 7%; border-radius: 50%;
  background: #ff7eb6; opacity: 0; filter: blur(2px); transition: opacity .4s;
}
.yanak.sol { left: 17%; } .yanak.sag { right: 17%; }
.agiz {
  position: absolute; left: 50%; top: 66%; width: 24%; height: 9%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .92); border-radius: 0 0 999px 999px;
  transition: all .35s;
}
.damla {
  position: absolute; left: 31%; top: 52%; width: 7%; height: 10%;
  background: #7dd3fc; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0; z-index: 2;
}

/* duygular */
.avatar.duygu-mutlu .goz { height: 10%; top: 40%; border-radius: 999px 999px 0 0; }
.avatar.duygu-mutlu .goz i { opacity: 0; }
.avatar.duygu-mutlu .yanak { opacity: .55; }

.avatar.duygu-heyecanli { animation: zipla 1s ease-in-out 3; }
.avatar.duygu-heyecanli .goz { height: 10%; top: 40%; border-radius: 999px 999px 0 0; }
.avatar.duygu-heyecanli .goz i { opacity: 0; }
.avatar.duygu-heyecanli .yanak { opacity: .8; }
.avatar.duygu-heyecanli .agiz { width: 32%; height: 15%; }

.avatar.duygu-uzgun .goz.sol { transform: rotate(-14deg); height: 18%; }
.avatar.duygu-uzgun .goz.sag { transform: rotate(14deg); height: 18%; }
.avatar.duygu-uzgun .agiz { top: 70%; height: 7%; width: 20%; border-radius: 999px 999px 0 0; }
.avatar.duygu-uzgun .damla { animation: damla 2.4s ease-in infinite; }

.avatar.duygu-saskin .goz { height: 27%; top: 31%; }
.avatar.duygu-saskin .agiz { width: 12%; height: 12%; border-radius: 50%; top: 66%; }

.avatar.duygu-dusunceli .goz i { transform: translate(-20%, -85%); }
.avatar.duygu-dusunceli .agiz { width: 14%; height: 4%; border-radius: 999px; left: 56%; }

.avatar.konusuyor .agiz { animation: konus .22s ease-in-out infinite alternate; }
.avatar.dusunuyor .halka { animation-duration: 1.1s; }
.avatar.dusunuyor .goz i { animation: bak 1.4s ease-in-out infinite; }

@keyframes don { to { transform: rotate(360deg); } }
@keyframes nefes { 50% { transform: scale(1.04); } }
@keyframes kirp { 0%, 93%, 100% { scale: 1 1; } 96% { scale: 1 .1; } }
@keyframes bak { 0%, 100% { transform: translate(-90%, -50%); } 50% { transform: translate(-10%, -50%); } }
@keyframes konus { from { scale: 1 .45; } to { scale: 1 1.15; } }
@keyframes zipla { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px) rotate(-3deg); } 70% { transform: translateY(0) rotate(2deg); } }
@keyframes damla { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(46px); } }

/* ---------------------------------------------------------------- yörünge seçenekleri */
.yorunge { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.yorunge > * { pointer-events: auto; }

.secenek {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translate(var(--tx), var(--ty));
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0;
  opacity: 0; animation: cik .55s var(--gecikme, 0s) cubic-bezier(.2, 1.4, .4, 1) forwards;
}
.secenek .kabarcik {
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; font-size: 32px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), transparent 55%), var(--zemin-2);
  border: 1.5px solid var(--cizgi);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.secenek .etiket { font-size: 14px; font-weight: 600; white-space: nowrap; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.secenek:hover .kabarcik, .secenek:focus-visible .kabarcik {
  transform: scale(1.12);
  border-color: var(--secenek-renk, var(--renk));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--secenek-renk, var(--renk)) 22%, transparent), 0 10px 30px rgba(0, 0, 0, .45);
}
.secenek:focus-visible { outline: none; }
.secenek.buyuk .kabarcik { width: 108px; height: 108px; font-size: 44px; }
.secenek.buyuk .etiket { font-size: 18px; letter-spacing: .5px; }
.secenek.evet .kabarcik { border-color: color-mix(in srgb, var(--evet) 60%, transparent); }
.secenek.hayir .kabarcik { border-color: color-mix(in srgb, var(--hayir) 50%, transparent); }
.secenek.dans { animation: cik .55s forwards, salla 2.2s 1.5s ease-in-out infinite; }
@keyframes cik {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  to   { opacity: 1; transform: translate(-50%, -50%) translate(var(--tx), var(--ty)); }
}
@keyframes salla {
  0%, 100% { transform: translate(-50%, -50%) translate(var(--tx), var(--ty)); }
  50% { transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(1.08); }
}
.secenek .kabarcik { position: relative; }
.secenek .alt { font-size: 11.5px; color: var(--soluk); margin-top: -3px; white-space: nowrap; }
.secenek.dolu .kabarcik { border-color: color-mix(in srgb, var(--secenek-renk) 70%, transparent); }
.secenek.dolu .kabarcik::after {
  content: "✓"; position: absolute; right: -2px; bottom: -2px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; background: var(--evet);
  box-shadow: 0 0 0 3px var(--zemin), 0 0 12px var(--evet);
}
.secenek.ekle .kabarcik { border: 2px dashed color-mix(in srgb, var(--evet) 70%, transparent); background: color-mix(in srgb, var(--evet) 12%, var(--zemin-2)); color: #4ade80; text-shadow: 0 0 14px rgba(74, 222, 128, .7); }
.secenek.kayit .kabarcik { border-color: color-mix(in srgb, var(--secenek-renk) 55%, transparent); }

.hap {
  border: 1px solid var(--cizgi); background: var(--yuzey); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; font-weight: 600;
  transition: border-color .2s, background .2s, transform .2s;
  animation: belir .4s both;
}
.hap:hover { border-color: var(--renk); transform: translateY(-2px); }
@keyframes belir { from { opacity: 0; transform: translateY(8px); } }

/* panel: çember düzeni ve ağ çizgileri */
body.ekran-panel .merkez, body.ekran-bolum .merkez, body.ekran-ana .merkez, body.ekran-arkadaslar .merkez, body.ekran-gelenler .merkez { height: clamp(420px, calc(100dvh - 220px), 600px); max-width: 720px; }
.ag { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: -1; }
.ag-halka {
  fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.4; stroke-dasharray: 3 9; stroke-linecap: round;
  opacity: 0; animation: ag-belir .8s .2s forwards, halka-ak 30s linear infinite;
}
.ag-halka.ic { stroke: color-mix(in srgb, var(--renk) 45%, transparent); stroke-dasharray: 1 12; animation: ag-belir .8s .4s forwards, halka-ak 30s linear infinite reverse; }
.ag-kol {
  stroke: url(#ag-isik); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 7;
  opacity: 0; animation: ag-belir .6s forwards, akis 1.4s linear infinite;
  transition: stroke-width .25s, opacity .25s;
}
.ag-kol.aktif { stroke-width: 3; stroke-dasharray: 9 5; filter: drop-shadow(0 0 6px currentColor); }
.ag-dugum { fill: color-mix(in srgb, var(--renk) 70%, white); opacity: .8; }
@keyframes halka-ak { to { stroke-dashoffset: -480; } }
@keyframes ag-belir { to { opacity: 1; } }
@keyframes akis { to { stroke-dashoffset: -24; } }

/* ---------------------------------------------------------------- sohbet */
body.ekran-sohbet .merkez { height: 120px; }
body.ekran-sohbet .avatar { transform: scale(.52); }
body.ekran-sohbet .balon, body.ekran-sohbet .alt-dugmeler { display: none; }
body.ekran-sohbet .sahne { justify-content: flex-start; gap: 6px; }

.sohbet { width: 100%; max-width: 640px; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sohbet[hidden] { display: none; }
.akis {
  flex: 1; overflow-y: auto; padding: 4px 2px 16px;
  display: flex; flex-direction: column; gap: 10px;
  max-height: calc(100dvh - 120px - 70px - 150px);
  scroll-behavior: smooth;
}
.mesaj {
  max-width: 85%; padding: 12px 17px; border-radius: 22px;
  font-size: 16.5px; line-height: 1.45; overflow-wrap: anywhere;
  animation: gir .35s cubic-bezier(.2, 1.3, .4, 1);
}
.mesaj.ajan { align-self: flex-start; background: var(--yuzey-2); border-bottom-left-radius: 6px; }
.mesaj.ben {
  align-self: flex-end; border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--renk), color-mix(in srgb, var(--renk) 60%, var(--renk-2)));
}
.mesaj.gizli { letter-spacing: 3px; }
.mesaj.hata { background: color-mix(in srgb, var(--hayir) 22%, transparent); }
@keyframes gir { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.yaziyor { display: inline-flex; gap: 5px; padding: 16px 18px; }
.yaziyor i { width: 8px; height: 8px; border-radius: 50%; background: var(--soluk); animation: hop 1s infinite; }
.yaziyor i:nth-child(2) { animation-delay: .15s; } .yaziyor i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 30% { transform: translateY(-6px); opacity: 1; } 0%, 60%, 100% { opacity: .35; } }

.dok { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; }
.cipler { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cip {
  border: 1.5px solid var(--cizgi); background: var(--zemin-2); border-radius: 999px;
  padding: 11px 18px; font-size: 16px; font-weight: 600;
  animation: belir .35s both; transition: transform .2s, border-color .2s, background .2s;
}
.cip:hover { border-color: var(--renk); background: color-mix(in srgb, var(--renk) 20%, var(--zemin-2)); transform: translateY(-2px); }
.cip.secili { background: var(--renk); border-color: transparent; box-shadow: 0 0 14px color-mix(in srgb, var(--renk) 55%, transparent); }
.cip.secili::before { content: "✓ "; }
.cip.atla { background: transparent; border-style: dashed; color: var(--soluk); font-weight: 500; font-size: 14.5px; }
.cip.tamam { background: var(--evet); border-color: transparent; padding: 12px 26px; }
.cip.tamam:disabled { opacity: .45; cursor: default; transform: none; }
.yaz.uzun { border-radius: 24px; align-items: flex-end; }
.yaz textarea { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 16.5px; padding: 10px 0; resize: none; line-height: 1.4; max-height: 160px; }
.hap.tehlike:hover { border-color: var(--hayir); }

/* ---------------------------------------------------------------- CV önizleme */
.cv-kap {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  background: rgba(5, 4, 18, .82); backdrop-filter: blur(6px);
  padding: 20px 16px 40px; animation: belir .3s;
}
.cv-arac { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.cv-kagit {
  max-width: 800px; margin: 0 auto; background: #fff; color: #1d1b2e;
  border-radius: 14px; padding: 44px 48px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  font-size: 14.5px; line-height: 1.55;
}
.cv-kagit header { border-bottom: 3px solid #7c5cff; padding-bottom: 16px; margin-bottom: 8px; }
.cv-kagit h1 { margin: 0; font-size: 30px; letter-spacing: -.3px; }
.cv-kagit .unvan { margin: 2px 0 8px; font-size: 17px; color: #7c5cff; font-weight: 600; }
.cv-kagit .iletisim, .cv-kagit .linkler { margin: 4px 0 0; color: #555; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.cv-kagit .linkler a { color: #7c5cff; text-decoration: none; }
.cv-kagit h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.6px; color: #7c5cff; margin: 22px 0 8px; }
.cv-kagit p { margin: 0 0 6px; }
.cv-kagit .kayit { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-bottom: 10px; }
.cv-kagit .kayit p { grid-column: 1 / -1; color: #444; }
.cv-kagit time { color: #777; font-size: 13px; white-space: nowrap; }
.cv-kagit em { color: #666; font-style: normal; }
.cv-kagit .etiket { display: inline-block; background: #f1edff; color: #3b2a8c; border-radius: 999px; padding: 4px 11px; margin: 0 6px 6px 0; font-size: 13px; }
@media (max-width: 640px) { .cv-kagit { padding: 28px 22px; } .cv-kagit h1 { font-size: 24px; } }
@media print {
  body > *:not(.cv-kap) { display: none !important; }
  body { background: #fff; }
  .cv-kap { position: static; background: none; backdrop-filter: none; padding: 0; }
  .cv-arac { display: none; }
  .cv-kagit { box-shadow: none; border-radius: 0; max-width: none; padding: 0; }
}

.yaz {
  display: flex; align-items: center; gap: 8px;
  background: var(--yuzey); border: 1.5px solid var(--cizgi);
  border-radius: 999px; padding: 6px 6px 6px 20px;
  transition: border-color .2s; animation: belir .35s both;
}
.yaz:focus-within { border-color: var(--renk); }
.yaz input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 17px; padding: 8px 0; }
.yaz input::placeholder { color: var(--soluk); }
.yaz .goster { background: none; border: 0; font-size: 20px; padding: 4px 6px; opacity: .8; }
.yaz .gonder {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; font-size: 18px;
  background: var(--renk); box-shadow: 0 0 18px color-mix(in srgb, var(--renk) 60%, transparent);
}
.yaz .gonder:disabled { opacity: .45; box-shadow: none; }
.guc { display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 14px; color: var(--soluk); }
.guc .cubuk { flex: 1; height: 6px; border-radius: 99px; background: var(--yuzey); overflow: hidden; }
.guc .cubuk i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .3s, background .3s; }

/* ---------------------------------------------------------------- konfeti */
.konfeti {
  position: fixed; top: -20px; width: 10px; height: 14px; z-index: 50; pointer-events: none;
  animation: dus var(--sure) cubic-bezier(.3, .6, .6, 1) forwards;
}
@keyframes dus { to { transform: translate(var(--x), 110vh) rotate(var(--don)); } }

.noscript { text-align: center; padding: 20px; }

/* ---------------------------------------------------------------- dar ekran */
@media (max-width: 640px) {
  :root { --avatar: 150px; }
  .ust { padding: 14px 16px; }
  .marka small { display: none; }
  .merkez { height: 340px; }
  .secenek .kabarcik { width: 60px; height: 60px; font-size: 26px; }
  .secenek .etiket { font-size: 12.5px; }
  .secenek.buyuk .kabarcik { width: 78px; height: 78px; font-size: 32px; }
  .secenek.buyuk .etiket { font-size: 15px; }
  body.ekran-sohbet .merkez { height: 96px; }
  body.ekran-panel, body.ekran-bolum { --avatar: 96px; }
  body.ekran-panel .halka.h2, body.ekran-bolum .halka.h2 { display: none; }
  body.ekran-panel .merkez, body.ekran-bolum .merkez, body.ekran-ana .merkez, body.ekran-arkadaslar .merkez, body.ekran-gelenler .merkez { height: clamp(360px, calc(100dvh - 210px), 420px); }
  .akis { max-height: calc(100dvh - 96px - 66px - 150px); }
  .mesaj { font-size: 16px; }
}

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


/* ================================================================ SOSYAL */
/* yörünge rozetleri ve kişi balonları */
.sayac {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--hayir); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 3px var(--zemin);
  animation: nabiz-rozet 1.6s ease-in-out infinite;
}
@keyframes nabiz-rozet { 50% { transform: scale(1.15); } }
.secenek.yeni .kabarcik { animation: parla 1.8s ease-in-out infinite; border-color: var(--secenek-renk); }
@keyframes parla { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--secenek-renk) 25%, transparent), 0 0 28px var(--secenek-renk); } }
.secenek.kisi .kabarcik {
  font-weight: 800; font-size: 28px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), transparent 55%), var(--secenek-renk);
  border-color: rgba(255, 255, 255, .25);
}
.secenek.soluk { opacity: .62; }
.secenek.yakinda .kabarcik { filter: saturate(.5); }
.secenek.yakinda .kabarcik::after { content: "🔒"; position: absolute; right: -2px; bottom: -2px; font-size: 13px; }

/* ortak yuvarlak düğme */
.yuvarlak {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); color: #fff; font-size: 19px;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.yuvarlak.bos { visibility: hidden; }
.yuvarlak.kucuk { width: 50px; height: 50px; font-size: 22px; }

/* kamera ve önizleme */
.kamera-kap {
  position: fixed; inset: 0; z-index: 45; background: #000; display: flex; flex-direction: column;
  animation: belir .25s;
}
.kamera-ust, .kamera-alt { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; gap: 10px; z-index: 2; }
.kamera-ust { position: absolute; top: 0; left: 0; right: 0; padding-top: max(14px, env(safe-area-inset-top)); }
.kamera-ipucu { font-size: 14px; color: #fff; background: rgba(0, 0, 0, .4); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(8px); }
.kamera-alan { flex: 1; min-height: 0; display: grid; place-items: center; position: relative; overflow: hidden; }
.kamera-alan video, .kamera-alan img { width: 100%; height: 100%; object-fit: cover; }
.onizleme .kamera-alan video, .onizleme .kamera-alan img { object-fit: contain; }
.kamera-alan video.ayna { transform: scaleX(-1); }
.kamera-mesaj { position: absolute; inset: auto 24px 40%; text-align: center; color: #fff; font-size: 17px; line-height: 1.5; }
.kamera-alt { padding-bottom: max(24px, env(safe-area-inset-bottom)); justify-content: space-around; }
.kamera-alt label { cursor: pointer; }
.deklansor { position: relative; width: 84px; height: 84px; border: 0; padding: 0; background: none; touch-action: none; -webkit-user-select: none; user-select: none; }
.deklansor svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.deklansor .iz { fill: none; stroke: #fff; stroke-width: 6; }
.deklansor .ilerleme { fill: none; stroke: var(--hayir); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; }
.deklansor .ic { position: absolute; inset: 12px; border-radius: 50%; background: #fff; transition: transform .2s, background .2s, border-radius .2s; }
.deklansor:active .ic { transform: scale(.9); }
.kayitta .deklansor .ilerleme { animation: kayit-halka 10s linear forwards; }
.kayitta .deklansor .ic { background: var(--hayir); transform: scale(.55); border-radius: 22%; }
.kayitta .kamera-ipucu::before { content: "● "; color: var(--hayir); }
@keyframes kayit-halka { to { stroke-dashoffset: 0; } }
.flas::after { content: ""; position: absolute; inset: 0; background: #fff; animation: flas .35s forwards; pointer-events: none; z-index: 5; }
@keyframes flas { from { opacity: .9; } to { opacity: 0; } }

.gonder-panel {
  background: linear-gradient(to top, #07061a 70%, rgba(7, 6, 26, .85));
  padding: 14px 16px max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px;
  max-height: 55vh; overflow-y: auto;
}
.gonder-panel .not {
  width: 100%; background: var(--yuzey); border: 1.5px solid var(--cizgi); border-radius: 999px;
  padding: 12px 18px; font-size: 16px; color: #fff; outline: none;
}
.gonder-panel .not:focus { border-color: var(--renk); }
.gonder-panel .cipler { justify-content: flex-start; }
.kime-baslik { font-size: 14px; color: var(--soluk); font-weight: 600; }
.kisi-cip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; }
.kisi-cip i {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-weight: 800; font-size: 14px; background: var(--r); color: #fff;
}
.kisi-cip.secili::before { content: none; }
.kisi-cip.secili i::after { content: "✓"; position: absolute; }
.kisi-cip.secili i { color: transparent; position: relative; }
.kisi-cip.secili i::after { color: #fff; }
.yukleniyor { color: var(--soluk); font-size: 14px; padding: 8px 2px; }
.gonder-btn {
  border: 0; border-radius: 999px; padding: 15px; font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ec4899, #8b5cf6); box-shadow: 0 8px 26px rgba(236, 72, 153, .35);
}
.gonder-btn:disabled { opacity: .45; box-shadow: none; }
.gonder-durum { text-align: center; color: #fda4af; font-size: 14px; min-height: 1em; }

/* izleyici */
.izleyici {
  position: fixed; inset: 0; z-index: 45; background: #000; display: flex; flex-direction: column;
  animation: belir .2s;
}
.izleyici-ust { display: flex; align-items: center; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 16px 10px; color: #fff; }
.izleyici-ust > div { flex: 1; }
.izleyici-ust small { display: block; color: #bbb; font-size: 12.5px; }
.avatarcik {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-weight: 800; background: var(--r); color: #fff;
}
.izleyici-alan { flex: 1; min-height: 0; display: grid; place-items: center; }
.izleyici-alan img, .izleyici-alan video { max-width: 100%; max-height: 100%; object-fit: contain; }
.izleyici-not { color: #fff; text-align: center; font-size: 17px; padding: 10px 20px 0; margin: 0; }
.tepkiler { display: flex; justify-content: center; gap: 8px; padding: 14px 10px 6px; }
.tepki {
  width: 50px; height: 50px; border-radius: 50%; font-size: 25px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); transition: transform .15s, background .15s;
}
.tepki:active { transform: scale(1.3); }
.tepki.secili { background: rgba(255, 255, 255, .28); border-color: #fff; }
.bildir { align-self: center; background: none; border: 0; color: #888; font-size: 13px; padding: 6px 12px max(14px, env(safe-area-inset-bottom)); }
.ucan-tepki { position: fixed; font-size: 40px; pointer-events: none; animation: uc 1.2s ease-out forwards; z-index: 50; }
@keyframes uc { to { transform: translateY(-160px) scale(1.6); opacity: 0; } }

/* gönderdiklerim listesi */
.liste-kap { position: fixed; inset: 0; z-index: 40; background: rgba(5, 4, 18, .8); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: belir .25s; }
.liste-kutu {
  width: 100%; max-width: 560px; max-height: 80vh; overflow-y: auto; background: var(--zemin-2);
  border-radius: 24px 24px 0 0; border: 1px solid var(--cizgi); padding: 16px 16px max(20px, env(safe-area-inset-bottom));
}
.liste-baslik { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 17px; }
.liste-satir { display: flex; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--cizgi); }
.liste-ikon { font-size: 26px; }
.liste-govde { flex: 1; min-width: 0; }
.liste-govde small { color: var(--soluk); }
.alicilar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.alici { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--yuzey); color: var(--soluk); }
.alici.goruldu { color: #86efac; }
.bos-liste { color: var(--soluk); text-align: center; padding: 20px; }


/* ================================================================ ÇALMA LİSTELERİ */
.cember-ekran .merkez { height: clamp(420px, calc(100dvh - 220px), 600px); max-width: 720px; }
@media (max-width: 640px) {
  .cember-ekran { --avatar: 96px; }
  .cember-ekran .halka.h2 { display: none; }
  .cember-ekran .merkez { height: clamp(360px, calc(100dvh - 210px), 420px); }
}
.secenek.kapakli .kabarcik {
  background: var(--kapak) center / cover no-repeat, var(--zemin-2);
  border-color: color-mix(in srgb, var(--secenek-renk) 60%, transparent);
}
.oynatici-alan { padding: 0 12px; }
.oynatici-alan iframe { width: 100%; max-width: 720px; border: 0; border-radius: 14px; background: #111; }
.oynatici-alan iframe.youtube { aspect-ratio: 16 / 9; }
.oynatici-alan iframe.spotify { height: 352px; }
.plak {
  width: min(60vw, 260px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: repeating-radial-gradient(circle, #1b1b1b 0 3px, #262626 3px 5px);
  box-shadow: 0 0 60px color-mix(in srgb, var(--renk) 50%, transparent); animation: don 6s linear infinite;
}
.plak span {
  width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 40px;
  background: radial-gradient(circle, var(--renk), color-mix(in srgb, var(--renk) 40%, black));
}
.ara-baglantilar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.ara-baglantilar a { color: #fff; text-decoration: none; }
.izleyici-alan.oynatici-alan { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sarki-gezgin { display: flex; align-items: center; justify-content: center; gap: 18px; color: #bbb; font-size: 14px; padding-top: 10px; }
.sarki-gezgin .yuvarlak:disabled { opacity: .3; }
.tepki { position: relative; }
.tepki b { position: absolute; right: -4px; bottom: -4px; font-size: 11px; color: #fff; background: var(--renk); border-radius: 999px; padding: 0 5px; min-width: 16px; line-height: 16px; }
.tepki b:empty { display: none; }
.sarki-satir { width: 100%; background: none; border: 0; border-top: 1px solid var(--cizgi); text-align: left; color: inherit; cursor: pointer; }
.sarki-satir:hover { background: var(--yuzey); }
.liste-kutu.gonder-panel { max-height: 80vh; background: var(--zemin-2); }

.kaynak-ac { margin-top: 14px; color: #fff; text-decoration: none; font-size: 14px; }
/* Çok seçenekli sorularda çipler kendi alanında kaysın, düğmeler hep görünsün */
.dok .cipler { max-height: 30vh; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.dok .tamam-satir { max-height: none; overflow: visible; }

/* ================================================================ GENİŞLEME */
/* bildirim kutusu */
.toast {
  position: fixed; left: 50%; top: 78px; transform: translateX(-50%); z-index: 60; max-width: min(92vw, 420px);
  background: var(--zemin-2); border: 1px solid var(--cizgi); border-radius: 18px; padding: 12px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); font-size: 15px; line-height: 1.4; text-align: center;
  animation: toast-gel .35s cubic-bezier(.2, 1.3, .4, 1);
}
.toast small { color: var(--soluk); }
.toast.gidiyor { opacity: 0; transform: translate(-50%, -10px); transition: all .4s; }
@keyframes toast-gel { from { opacity: 0; transform: translate(-50%, -16px) scale(.95); } }

/* başlık düğmeleri */
.hesap .rozet { cursor: pointer; color: inherit; }
.hesap .rozet:hover { border-color: var(--renk); }

/* kamera ekleri */
.not-satir { display: flex; gap: 8px; align-items: center; }
.not-satir .not { flex: 1; }
.not-satir .yuvarlak { background: var(--yuzey); }
.not-onerileri:empty { display: none; }
.yuz-modu .kamera-alan video { border-radius: 50%; width: min(80vw, 420px); height: min(80vw, 420px); margin: auto; }

/* gelenler: ses oynatıcı */
.ses-oynat { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ses-oynat audio { width: min(86vw, 360px); }
.dalga { display: flex; gap: 6px; align-items: center; height: 90px; }
.dalga i { width: 10px; height: 20px; border-radius: 99px; background: var(--renk); opacity: .7; }
.caliyor .dalga i { animation: dalga 1s ease-in-out infinite; }
.dalga i:nth-child(2) { animation-delay: .1s; } .dalga i:nth-child(3) { animation-delay: .2s; } .dalga i:nth-child(4) { animation-delay: .3s; }
.dalga i:nth-child(5) { animation-delay: .4s; } .dalga i:nth-child(6) { animation-delay: .5s; } .dalga i:nth-child(7) { animation-delay: .6s; }
@keyframes dalga { 50% { height: 80px; opacity: 1; } }
.izleyici-alt-dugmeler { display: flex; justify-content: center; gap: 12px; }
.yuz-tepki { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 4px; }

/* sesli mesaj kaydı */
.ses-kutu { text-align: center; }
.ses-ipucu { color: var(--soluk); margin: 4px 0 18px; }
.mikrofon {
  width: 120px; height: 120px; border-radius: 50%; border: 0; font-size: 46px; color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .3), transparent 55%), var(--renk);
  box-shadow: 0 0 40px color-mix(in srgb, var(--renk) 60%, transparent); touch-action: none; user-select: none; -webkit-user-select: none;
  display: inline-flex; align-items: center; justify-content: center; flex-direction: column; margin-bottom: 14px;
}
.mikrofon .ses-sure { font-size: 15px; font-weight: 700; }
.mikrofon.kayitta { background: var(--hayir); animation: nabiz-rozet 1s infinite; }
.ses-kutu audio { width: 100%; margin: 8px 0; }

/* anılar */
.ani-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 6px; }
.ani-kare { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--yuzey); cursor: pointer; }
.ani-kare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ani-video { display: grid; place-items: center; height: 100%; font-size: 32px; }
.ani-bilgi { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font-size: 11.5px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); text-align: left; }
.ani-izleyici .izleyici-alan { min-height: 30vh; }
.yorumlar { max-height: 20vh; overflow-y: auto; padding: 4px 18px; color: #fff; font-size: 14.5px; }
.yorum { padding: 4px 0; }
.yorum-sil { background: none; border: 0; color: #888; cursor: pointer; }
.yorum-yaz { margin: 6px 14px; }
.ani-ayar { justify-content: center; padding: 6px 0 max(12px, env(safe-area-inset-bottom)); }

/* rozetler */
.rozet-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding-top: 6px; }
.rozet-kart { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 16px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.rozet-kart span { font-size: 34px; }
.rozet-kart small { color: var(--soluk); font-size: 12px; line-height: 1.3; }
.rozet-kart.kilitli { opacity: .45; filter: grayscale(1); }
.yeni-satir { background: color-mix(in srgb, var(--renk) 12%, transparent); border-radius: 12px; }

/* dinleme odası */
.oda-kontrol { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 12px; }
.oda-dinleyenler { text-align: center; color: #bbb; font-size: 14px; padding: 4px 16px max(16px, env(safe-area-inset-bottom)); }
.avatarcik.canli { background: rgba(244, 63, 94, .2); animation: nabiz-rozet 1.4s infinite; }

/* ayarlar */
.ayarlar h3 { font-size: 14px; color: var(--soluk); margin: 18px 0 8px; font-weight: 600; }
.ayar-satir { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--cizgi); cursor: pointer; }
.ayar-satir.kapali { opacity: .5; cursor: default; }
.ayar-satir input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.ayar-satir i { width: 46px; height: 28px; border-radius: 99px; background: var(--yuzey-2); position: relative; flex: none; transition: background .2s; }
.ayar-satir i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ayar-satir input:checked + i { background: var(--evet); }
.ayar-satir input:checked + i::after { transform: translateX(18px); }
.ayar-satir input:focus-visible + i { outline: 2px solid var(--renk); outline-offset: 2px; }
.ayar-not { color: var(--soluk); font-size: 13.5px; margin: 6px 2px; }
.ayar-not a { color: var(--renk-2); }
.renkler { display: flex; gap: 10px; flex-wrap: wrap; }
.renk { width: 38px; height: 38px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; }
.renk.secili { border-color: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .5); }
.hesap-sil { display: flex; gap: 8px; margin-bottom: 8px; }
.hesap-sil input { flex: 1; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 999px; padding: 10px 16px; color: #fff; font-size: 15px; }
.tehlike-cip { background: var(--hayir) !important; border-color: transparent !important; }
.goster.mik.dinliyor { animation: nabiz-rozet 1s infinite; color: var(--hayir); }

/* herkese açık profil */
.profil-sayfa .ust a.marka { color: inherit; text-decoration: none; }
.profil { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.profil-bas { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.profil-avatar { --avatar: 150px; margin: 10px 0 8px; }
.profil-bas h1 { margin: 0; font-size: 28px; }
.profil-unvan { margin: 0; color: var(--soluk); font-size: 16px; }
.profil-rozetler { margin: 4px 0 0; font-size: 22px; letter-spacing: 4px; }
.profil-sohbet { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.profil-sohbet .akis { max-height: 46vh; min-height: 120px; }
.profil-sohbet .cipler { justify-content: flex-start; }
.profil-not { margin: 0; color: var(--soluk); font-size: 12px; text-align: center; }
.profil-kart { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 24px; padding: 6px 20px 18px; }
.profil-kart h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--renk-2); margin: 18px 0 8px; }
.profil-kart p { margin: 0 0 6px; line-height: 1.55; }
.profil-kart .kayit { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; flex-wrap: wrap; }
.profil-kart time { color: var(--soluk); font-size: 13px; }
.etiketler { display: flex; flex-wrap: wrap; gap: 6px; }
.etiketler span, .etiketler a { background: var(--yuzey-2); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; color: inherit; text-decoration: none; }
.profil-kart details { padding: 6px 0; border-top: 1px solid var(--cizgi); }
.profil-kart summary { cursor: pointer; padding: 6px 0; }
.profil-kart ul { margin: 4px 0 8px; padding-left: 20px; color: var(--soluk); }
.profil-anilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.profil-anilar img, .profil-anilar video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
