/* NEXUS DATE v5.0 · Cam paneller ve CRT düğmeler */
body.date-crt {
  --bg:#081429;
  --fg:#f5faff;
  --soft:#b9d6eb;
  --muted:#a3bdd5;
  --ice:#a5d9ff;
  --rose:#ffc1e8;
  --line:#9bcefb57;
  --panel:#0b1d35c7;
  --panel2:#142e49cf;
  --crt-rgb:153,209,251;
  --crt-action:255,167,222;
  --crt-ink:#06101c;
  --crt-focus:#d5edff;
  --crt-glass:linear-gradient(145deg,#1e456bc1,#091d36cf 57%,#242542bf);
  --crt-top:#07182be8;
  --crt-scene:url("./nexus-date-medya/tema-gece.webp");
  --crt-scene-tint:linear-gradient(180deg,#100f2b24,#10112836 56%,#080c23a0);
  --crt-depth:0 16px 42px #030b1b55,inset 0 1px 0 #d0eaff26;
  --crt-scan:repeating-linear-gradient(0deg,#b7dbff0b 0 1px,transparent 1px 3px);
  --nd-r:2px;
  --nd-r-sm:2px;
}
body.date-crt.light {
  --bg:#ecf5fd;
  --fg:#142e48;
  --soft:#254a65;
  --muted:#365973;
  --ice:#204e76;
  --rose:#821d5a;
  --line:#346b9980;
  --panel:#f5fbffdc;
  --panel2:#dceeffdf;
  --crt-rgb:51,102,153;
  --crt-action:155,52,111;
  --crt-ink:#f9fdff;
  --crt-focus:#215c90;
  --crt-glass:linear-gradient(145deg,#ffffffeb,#e3f3ffe0 60%,#fcecf4dc);
  --crt-top:#f0f8fff0;
  --crt-scene:url("./nexus-date-medya/tema-beyaz.webp");
  --crt-scene-tint:linear-gradient(180deg,#edf6ff0c,#e8f5ff10 55%,#f1f8ff56);
  --crt-depth:0 16px 42px #14345326,inset 0 1px 0 #fff;
  --crt-scan:repeating-linear-gradient(0deg,#285b8a0a 0 1px,transparent 1px 3px);
}
body.date-crt.pink {
  --bg:#25182c;
  --fg:#fff3fc;
  --soft:#efd4e9;
  --muted:#d1aac9;
  --ice:#c6e4ff;
  --rose:#ffc1e8;
  --line:#ffc0e762;
  --panel:#382038d9;
  --panel2:#502a49d2;
  --crt-rgb:239,174,220;
  --crt-action:255,171,221;
  --crt-top:#2a182dea;
  --crt-glass:linear-gradient(145deg,#523754e2,#2c1d36e0 62%,#442641d9);
  --crt-scene:url("./nexus-date-medya/tema-pembe.webp");
  --crt-scene-tint:linear-gradient(180deg,#331b3828,#42244432 52%,#21152c9c);
  --crt-focus:#ffe3f5;
  --crt-scan:repeating-linear-gradient(0deg,#ffcbef0b 0 1px,transparent 1px 3px);
}
body.date-crt.rainbow {
  --crt-scene:url("./nexus-date-medya/tema-aurora.webp");
  --crt-scene-tint:linear-gradient(180deg,#07182b26,#16142c30 48%,#071021a6);
}

body.date-crt .date-atmosphere {
  background:var(--crt-scene-tint),var(--crt-scene) center center/cover no-repeat;
}
body.date-crt .date-atmosphere::after { background:var(--crt-scan); }
.date-crt .hero-avatar {
  --avatar-glow:#6abef88c;
  margin:0;
  overflow:hidden;
  isolation:isolate;
  display:grid;
  place-items:center;
  background:var(--crt-scan),radial-gradient(ellipse at 50% 65%,var(--avatar-glow),transparent 65%),var(--crt-glass);
}
.date-crt .hero-avatar.two { --avatar-glow:#f290cf75; }
.date-crt .hero-avatar img {
  width:90%;
  height:87%;
  object-fit:contain;
  transform:translateY(-4%);
  filter:drop-shadow(0 0 16px var(--avatar-glow));
}
.date-crt .hero-avatar .photo-caption {
  letter-spacing:.18em;
  bottom:14px;
  z-index:2;
}
.date-crt .hero-avatar .photo-caption strong { font:600 14px Consolas,monospace; }
@media(min-width:1121px) {
  body.date-crt:has(#nxSis) .header-controls { margin-right:128px; }
}
.date-crt .date-header,
.date-crt .mobile-nav {
  background:var(--crt-scan),var(--crt-top);
  backdrop-filter:blur(10px);
}
.date-crt :is(.date-brand,.profile-card,.modal-sheet,.filter-sheet,.plan-card,.cookie-banner,.local-bubble,.hero-floating,.feature-story,.thread-item,.thread-panel,.chat-panel,.profile-sheet,.empty-state) {
  background:var(--crt-scan),var(--crt-glass);
  border-color:var(--line);
  border-radius:2px;
  box-shadow:var(--crt-depth);
}
.date-crt :is(.profile-photo,.avatar-photo,.hero-photo) { border-radius:2px; }
.date-crt .date-brand::before { background:linear-gradient(90deg,transparent,var(--ice),var(--rose),transparent); }
.date-crt .date-brand em { background:none;color:var(--rose);font-style:normal; }
.date-crt .date-brand .brand-slogan { color:var(--soft); }
.date-crt .date-footer { background:var(--crt-scan),var(--crt-top); }
.date-crt .nd-sheen { display:none; }

body.date-crt :is(.date-app,.date-modal,.cookie-banner,#ndGercek) :is(button:not([role=switch]),.ge-crt) {
  --crt-edge:var(--crt-rgb);
  border:1px solid rgba(var(--crt-edge),.52);
  border-radius:0;
  color:var(--fg);
  background:repeating-linear-gradient(0deg,rgba(var(--crt-edge),.08) 0 1px,transparent 1px 3px),
    linear-gradient(180deg,rgba(var(--crt-edge),.12),rgba(var(--crt-edge),.035));
  box-shadow:inset 0 1px 0 rgba(var(--crt-edge),.12);
  transition:background-color .16s,border-color .16s,box-shadow .16s;
}
body.date-crt :is(.date-app,.date-modal,.cookie-banner,#ndGercek) :is(.primary,.birincil,.begen:not(.sakin),.ge-davet,button[aria-pressed=true],button.liked) {
  --crt-edge:var(--crt-action);
  color:var(--rose);
}
body.date-crt :is(.date-app,.date-modal,.cookie-banner,#ndGercek) :is(button:not(:disabled),.ge-crt):hover {
  border-color:rgba(var(--crt-edge,var(--crt-rgb)),.95);
  background-color:rgba(var(--crt-edge,var(--crt-rgb)),.2);
  box-shadow:0 0 13px rgba(var(--crt-edge,var(--crt-rgb)),.26),inset 0 0 10px rgba(var(--crt-edge,var(--crt-rgb)),.09);
}
body.date-crt :is(.date-app,.date-modal,.cookie-banner,#ndGercek) :is(button,a,input,select,textarea):focus-visible {
  outline:2px solid var(--crt-focus);
  outline-offset:3px;
}
body.date-crt :is(.date-app,.date-modal,#ndGercek) :is(input:not([type=checkbox],[type=range],[type=radio],[type=file]),select,textarea) {
  background:color-mix(in srgb,var(--crt-ink) 66%,transparent);
  color:var(--fg);
  border-color:var(--line);
}
body.date-crt :is(#desktopNav,.mobile-nav,#ndGercek .sekmeler) button {
  background:transparent;
  box-shadow:none;
  border-color:transparent;
  border-bottom-color:var(--line);
}
body.date-crt :is(#desktopNav,.mobile-nav,#ndGercek .sekmeler) :is(button.active,button[aria-selected=true]),
body.date-crt .date-app :is(.selected,.active[aria-pressed]) {
  --crt-edge:var(--crt-action);
  color:var(--rose);
  border-bottom-color:rgba(var(--crt-action),.89);
  background-color:rgba(var(--crt-action),.11);
}
body.date-crt #desktopNav button { padding-inline:clamp(3px,.4vw,8px); }
body.date-crt :is(.primary,.outline,#ndGercek .birincil,#ndGercek .ikincil,#ndGercek .goster-btn) {
  font-family:Consolas,"Segoe UI",monospace;
  font-weight:600;
  letter-spacing:.06em;
}

body.date-crt #ndGercek:not(.giris-ekran) {
  --pembe:var(--rose);
  background:rgba(4,13,24,.47);
  backdrop-filter:blur(4px);
}
body.date-crt #ndGercek:not(.giris-ekran) :is(.kabuk,.mini,.pk,.yazisma,.onaykart,.ndg-kural,fieldset,.olcer,.soru,.anahtar) {
  background:var(--crt-scan),var(--crt-glass);
  border-color:var(--line);
  box-shadow:var(--crt-depth);
}
body.date-crt #ndGercek:not(.giris-ekran) .mesaj.ben {
  border-color:rgba(var(--crt-action),.56);
  background:var(--crt-scan),rgba(var(--crt-action),.16);
  color:var(--fg);
}

/* Giriş sahnesinin gece paleti tema seçicisinden bağımsızdır. */
body.date-crt #ndGercek.giris-ekran {
  --fg:#f5faff;
  --rose:#ffc1e8;
  --line:#9bcefb57;
  --crt-rgb:153,209,251;
  --crt-action:255,167,222;
  --crt-ink:#06101c;
  --crt-focus:#d5edff;
}
body.date-crt #ndGercek.giris-ekran .ge-form {
  background:repeating-linear-gradient(0deg,#b7dbff0b 0 1px,transparent 1px 3px),
    linear-gradient(145deg,#153653c9,#07192eb0);
  border-color:var(--line);
}
body.date-crt #ndGercek.giris-ekran .ge-davet { text-align:center; }
body.date-crt #ndGercek.giris-ekran .ge-muzik[aria-pressed=false] { color:#a5d9ff; }
body.date-crt #ndGercek.giris-ekran .ge-form .ikili button {
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  box-shadow:none;
}
body.date-crt :is(#ndGercek.giris-ekran .birincil,#ndGercek.giris-ekran .ge-davet) {
  min-height:40px;
  letter-spacing:.19em;
}
@media(max-width:640px) {
  body.date-crt:has(#ndGercek.giris-ekran) #nxSis { top:calc(max(12px,env(safe-area-inset-top)) + 53px); }
}
@media(prefers-reduced-motion:reduce) {
  body.date-crt .date-app *,body.date-crt #ndGercek .ge-holo *,body.date-crt #ndGercek .ge-holo {
    transition-duration:0s;
    animation-duration:.01ms;
    animation-iteration-count:1;
  }
}
@media(forced-colors:active) {
  body.date-crt :is(.date-app,.date-modal,#ndGercek) :is(button,a,input,select,textarea):focus-visible { outline-color:Highlight; }
  body.date-crt .date-atmosphere { display:none; }
}

/* Marka ve hesap araçları üstte, gezinme bağımsız bir sırada — tam genişlik banner. */
body.date-crt .date-app {
  max-width:100%;
  width:100%;
}
body.date-crt #dateMain {
  max-width:1600px;
  margin:0 auto;
}
body.date-crt:has(>.nx-ust-profil-serit) .date-header { top:41px; }
.date-crt .date-header {
  --navheight:112px;
  width:100%;
  height:auto;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  grid-template-rows:auto auto;
  grid-template-areas:"brand controls" "nav nav";
  gap:8px clamp(16px,2.6vw,42px);
  padding:9px clamp(18px,3vw,44px) 8px;
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 28px #07182b30;
}
.date-crt .date-brand {
  grid-area:brand;
  justify-self:start;
  min-height:64px;
  padding:8px 18px 8px 12px;
  border-radius:8px;
}
.date-crt .header-controls {
  grid-area:controls;
  justify-self:end;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px 12px;
  min-width:0;
}
.date-crt #desktopNav {
  grid-area:nav;
  gap:5px clamp(12px,1.2vw,20px);
  flex-wrap:wrap;
  padding-top:8px;
  border-top:1px solid var(--line);
  overflow:visible;
}
body.date-crt #desktopNav button {
  min-height:36px;
  padding:7px 10px;
  font-size:12px;
}
.date-crt .date-audio { display:none !important; }
body.date-crt:has(#ndGercek) :is(#nxSis,#ndVisitCounter,#nxAramaDugme,.nx-arama-dugme,[data-nx-arama-dugme]),
body.date-crt:has(#dateModal:not([hidden])) :is(#nxSis,#ndVisitCounter,#nxAramaDugme,.nx-arama-dugme,[data-nx-arama-dugme]) {
  opacity:0 !important;
  pointer-events:none !important;
}
body.date-crt .date-footer { padding-bottom:54px; }
body.date-crt .date-audio #ndMusic,
body.date-crt .date-audio .nd-music-row,
body.date-crt .date-audio #ndRadyoSerit,
body.date-crt .date-audio .nd-rad-serit { display:none !important; }
.date-crt .date-audio #ndRadyo {
  --nd-rad-line:rgba(166,178,192,.44);
  --nd-rad-bg:repeating-linear-gradient(0deg,rgba(180,192,206,.06) 0 1px,transparent 1px 3px),rgba(94,106,120,.24);
  width:auto;
  min-width:104px;
  max-width:142px;
  height:30px;
  border-radius:4px;
  border:1px solid var(--nd-rad-line);
  background:var(--nd-rad-bg);
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.date-crt .date-audio #ndRadyo.caliyor {
  --nd-rad-line:#4ee69a;
  --nd-rad-bg:repeating-linear-gradient(0deg,rgba(78,230,154,.11) 0 1px,transparent 1px 3px),linear-gradient(135deg,rgba(24,158,92,.44),rgba(14,108,64,.56));
  box-shadow:0 0 16px rgba(61,220,132,.34);
}
body.date-crt .date-audio #ndRadyo .nd-rad-toggle {
  --crt-edge:166,178,192;
  width:100%;
  justify-content:center;
  background:transparent;
  color:#c5cfd9;
  border:0;
  font:700 10px/1 Consolas,monospace;
  letter-spacing:.12em;
  padding-inline:12px;
}
body.date-crt .date-audio #ndRadyo.caliyor .nd-rad-toggle {
  --crt-edge:78,230,154;
  color:#dcffec;
}
body.date-crt.light .date-audio #ndRadyo {
  --nd-rad-line:rgba(104,116,130,.46);
  --nd-rad-bg:rgba(120,132,146,.16);
}
body.date-crt.light .date-audio #ndRadyo .nd-rad-toggle { color:#4a5664; }
body.date-crt.light .date-audio #ndRadyo.caliyor {
  --nd-rad-line:#1f9b5e;
  --nd-rad-bg:rgba(28,164,96,.22);
  box-shadow:0 0 12px rgba(28,164,96,.24);
}
body.date-crt.light .date-audio #ndRadyo.caliyor .nd-rad-toggle { color:#0e5c35; }
.date-crt .date-audio #ndRadyo .nd-rad-etiket { display:inline; }
.date-crt .date-session {
  min-width:0;
  max-width:clamp(100px,15vw,210px);
  padding:5px 8px;
  border:1px solid var(--line);
  background:var(--crt-scan),var(--crt-glass);
  color:var(--fg);
  font:600 11px/1.35 Consolas,monospace;
  white-space:normal;
  overflow-wrap:anywhere;
}
.date-crt .date-session[data-owner=true] { color:#ffdf78;border-color:#d7ac557d; }
.date-crt.light .date-session[data-owner=true] { color:#744800; }
@media(max-width:1120px) {
  .date-crt .date-header {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"brand" "controls";
    grid-template-rows:auto auto;
    --navheight:auto;
    min-height:96px;
  }
  .date-crt #desktopNav { display:none; }
  .date-crt .header-controls { justify-self:stretch;margin:0;gap:8px; }
  .date-crt .date-brand { min-height:54px; }
  .date-crt .date-session { margin-right:auto;max-width:min(60vw,210px); }
  body.date-crt :is(#ndgOwner,#ndgGiris,#ndgCikis).dar { position:static;margin:0;height:30px; }
  body.date-crt:has(.date-header):not(:has(#ndGercek.giris-ekran)) #nxSis { top:6px; }
}
@media(max-width:420px) {
  .date-crt .date-header { padding-inline:12px;row-gap:9px; }
  .date-crt .date-audio #ndRadyo .nd-rad-eq { display:none; }
  .date-crt .header-controls { justify-content:flex-start; }
  .date-crt .date-session { margin-right:0; }
  body.date-crt:has(.date-header):not(:has(#ndGercek.giris-ekran)) #nxSis { top:118px; }
  body.date-crt:has(.date-header):not(:has(#ndGercek.giris-ekran)) #nxSis .dg { padding-inline:6px; }
}

@media(max-width:350px) { body.date-crt:has(.date-header):not(:has(#ndGercek.giris-ekran)) #nxSis { top:150px; } }

.date-crt .date-audio { position:relative; }

.date-crt .nd-music-row { display:flex;gap:4px;align-items:center;min-width:0; }
.date-crt .nd-music-row #ndMusic { flex:1;min-width:0;gap:5px; }

.date-crt .profile-card > .nd-presence { display:flex; width:max-content; margin:6px 10px 9px auto; padding:2px 6px; border:1px solid #ed526c38; background:#171824bb; }

.date-crt .hero-heart {
  --heart-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 94' preserveAspectRatio='none'%3E%3Cpath d='M50 92C43 86 1 57 1 28 1 4 30 -8 50 16 70 -8 99 4 99 28 99 57 57 86 50 92Z'/%3E%3C/svg%3E");
  position:relative;
  width:min(100%,470px);
  aspect-ratio:1.12;
  flex:none;
  filter:drop-shadow(-8px 0 20px #6acbff7a) drop-shadow(8px 0 20px #f88bd48c);
}
.date-crt .hero-heart::before,.date-crt .hero-heart-inner {
  position:absolute;
  mask:var(--heart-mask) center/100% 100% no-repeat;
}
.date-crt .hero-heart::before {
  content:"";
  inset:0;
  background:linear-gradient(120deg,#acdfff,#fac2e7 73%,#75abdb);
  opacity:.86;
}
.date-crt .hero-heart-inner {
  inset:2px 3px 3px;
  background:var(--crt-scan),
    radial-gradient(ellipse at 29% 39%,#4f9ede55,transparent 52%),
    radial-gradient(ellipse at 73% 39%,#d765a957,transparent 54%),var(--crt-glass);
}
.date-crt .hero-heart .hero-avatar {
  position:absolute;
  top:17%;
  width:36%;
  height:53%;
  transform:none;
  background:none;
  border:0;
  box-shadow:none;
  overflow:visible;
  align-content:start;
}
.date-crt .hero-heart .hero-avatar.one { left:15%; }
.date-crt .hero-heart .hero-avatar.two { right:15%; }
.date-crt .hero-heart .hero-avatar::after { display:none; }
.date-crt .hero-heart .hero-avatar img { width:100%;height:88%;transform:none; }
.date-crt .hero-heart .hero-avatar .photo-caption {
  position:absolute;
  left:0;right:0;bottom:0;
  color:var(--fg);
  text-align:center;
  letter-spacing:.18em;
}
.date-crt .hero-heart .hero-avatar .photo-caption strong { font-size:clamp(9px,1.1vw,14px); }
@media(max-width:850px) { .date-crt .hero-heart { width:min(100%,450px);height:min(100%,400px); } }

.date-crt .date-no-photo { position:relative; background:radial-gradient(circle at 35% 32%,#396b936e,transparent 62%),var(--crt-glass); border:1px solid var(--line); }

body.date-crt:has(#ndGercek.giris-ekran) #nxSis { display:none!important; }

/* Profil paletleri görüntü katmanında kalır. */
.date-crt [data-date-palette] {
  --profil-isik:#5b96ab;
  --profil-kose:#424a79;
  --profil-derin:#132136;
  --profil-cerceve:#9ecced83;
  border-color:var(--profil-cerceve);
}
.date-crt [data-date-palette="rose"] {
  --profil-isik:#aa467c;
  --profil-kose:#573695;
  --profil-derin:#2a1835;
  --profil-cerceve:#f29acc9f;
}
.date-crt [data-date-palette="ocean"] {
  --profil-isik:#306ab7;
  --profil-kose:#14776a;
  --profil-derin:#14243c;
  --profil-cerceve:#76cfa5a0;
}
.date-crt.rainbow [data-date-palette] {
  --profil-cerceve:#e3afdda0;
  --profil-pride:linear-gradient(135deg,#8c2d56 1%,#995034 19%,#846535 35%,#236e53 52%,#30578f 71%,#693282 92%);
}
.date-crt :is(.profile-card,#ndgSerit .profile-card)[data-date-palette] {
  background:var(--crt-scan),linear-gradient(150deg,color-mix(in srgb,var(--profil-isik) 25%,transparent),color-mix(in srgb,var(--profil-kose) 23%,transparent)),var(--crt-glass);
  border-color:var(--profil-cerceve);
}
body.date-crt #ndGercek :is(.pk,.mini)[data-date-palette] {
  background:var(--crt-scan),linear-gradient(145deg,color-mix(in srgb,var(--profil-isik) 28%,transparent),color-mix(in srgb,var(--profil-kose) 30%,transparent)),var(--crt-glass);
  border-color:var(--profil-cerceve);
}
.date-crt.rainbow :is(.profile-card,#ndGercek .pk,#ndGercek .mini)[data-date-palette] {
  border-image:linear-gradient(110deg,#ed7796,#ffd487,#7adabd,#87c9fe,#cb9bff) 1;
}
body.date-crt .date-app [data-date-palette] .date-no-photo,
body.date-crt #ndgSerit [data-date-palette] .ndg-foto.date-no-photo,
body.date-crt #ndGercek [data-date-palette] .sanat.date-no-photo {
  background:var(--crt-scan),var(--profil-pride,linear-gradient(145deg,var(--profil-isik),var(--profil-kose) 62%,var(--profil-derin))) !important;
}

.date-crt #nx-hud-chat-modal iframe {
  outline: none;
  border: 1px solid rgba(129, 172, 216, .35) !important;
  color-scheme: dark;
}
