/* NOA — sol altta günde bir kez açılan ayet kutusu (noa-ayet.js). Yeşil tema (sitenin yeşili rgb(46, 196, 142)), sağ alttaki tanıtım kutusunun (noa-vitrin) eşi.
   Giriş: kutu soldan yaylanarak gelir, hilal döne döne açılır, yazı satır satır belirir; çerçevede ışık dolaşır, yıldız ışıldar.
   Sürekli hareketler yalnızca transform / opacity ile; kutu kapalıyken (hidden) hiçbiri çalışmaz. */
.noa-ayet {
  position: fixed; left: 18px; bottom: 18px; z-index: 1150; width: 252px; max-width: calc(100vw - 24px);
  font-family: var(--noa-font, 'Rajdhani', system-ui, sans-serif); color: var(--noa-text, #f0efe4);
}
.noa-ayet[hidden] { display: none; }
.noa-ayet { zoom: 0.85; }   /* kutunun tamamı oranı bozulmadan küçülür (telefonda 0,9) */
.ay-card {
  --c: 46, 196, 142; --c2: 240, 239, 228;
  position: relative; padding: 1px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: rgba(var(--c), 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
/* çerçevede dolaşan altın ışık */
.ay-orbit {
  position: absolute; left: 50%; top: 50%; z-index: -1; width: 160%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #e4fff3 84%, rgba(var(--c), 0.8) 88%, transparent 94%);
  animation: ay-spin 5.5s linear infinite;
}
.ay-in {
  position: relative; overflow: hidden; border-radius: 15px; padding: 10px 12px 11px;
  background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(12, 16, 25, 0) 58%), rgb(11, 15, 23);
}
.ay-in::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent);
}
.noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
.ay-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ay-deco i { position: absolute; border-radius: 50%; }
.ay-deco i:nth-child(1) { left: -70px; top: -80px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
.ay-deco i:nth-child(2) { right: -40px; bottom: -60px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(84, 132, 255, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }

.ay-top { position: relative; display: flex; align-items: center; gap: 8px; padding-right: 24px; }
.ay-ico {
  position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #141821;
  background: linear-gradient(135deg, #8ff0c8, rgb(46, 196, 142) 55%, #17855e); box-shadow: 0 8px 22px rgba(var(--c), 0.4);
}
.ay-ico svg { position: relative; z-index: 1; width: 17px; height: 17px; fill: currentColor; }
.ay-ico i { position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(var(--c), 0.7); opacity: 0; }
.noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
.ay-star { transform-box: fill-box; transform-origin: center; }
.noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
.ay-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.17em; color: rgb(var(--c)); }
.ay-p { position: relative; margin: 7px 0 0; font-size: 12.5px; font-weight: 500; line-height: 1.32; color: rgba(240, 239, 228, 0.9); }
.ay-src { position: relative; display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: rgba(var(--c), 0.95); }
.ay-src i { flex: none; width: 22px; height: 1px; background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); transform-origin: left; }

.ay-x {
  position: absolute; top: 7px; right: 7px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; padding: 0;
  border: 1px solid rgba(240, 239, 228, 0.14); border-radius: 50%; background: rgba(10, 14, 21, 0.6); color: rgba(240, 239, 228, 0.75); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.ay-x svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ay-x:hover { background: rgba(var(--c), 0.3); color: #fff; transform: rotate(90deg); }
.ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }

/* giriş / çıkış */
.noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
.noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
.noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
.noa-ayet.is-in .ay-tag, .noa-ayet.is-in .ay-p, .noa-ayet.is-in .ay-src, .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
.noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
.noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
.noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
.noa-ayet.is-in .ay-x { animation-delay: 0.66s; }

@keyframes ay-in { from { opacity: 0; transform: translate(-46px, 70px) scale(0.84) rotate(-4deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes ay-out { to { opacity: 0; transform: translate(-70px, 24px) scale(0.9) rotate(-3deg); } }
@keyframes ay-pop { from { opacity: 0; transform: scale(0.2) rotate(40deg); } to { opacity: 1; transform: none; } }
@keyframes ay-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ay-line { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ay-spin { to { rotate: 360deg; } }
@keyframes ay-sweep { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(360%); } }
@keyframes ay-drift { to { transform: translate(24px, 18px) scale(1.15); } }
@keyframes ay-ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.75); } }
@keyframes ay-twinkle { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 0.45; transform: scale(0.7) rotate(36deg); } }

@media (max-width: 680px) {
  /* telefonda küçük kutu: sol altta, ekranın çoğunu kaplamadan */
  .noa-ayet { left: 8px; bottom: 8px; width: min(220px, calc(100vw - 20px)); zoom: 0.8; }   /* 11-05: telefonda daha küçük (0,9 → 0,8) */
  .ay-card { border-radius: 13px; }
  .ay-in { border-radius: 12px; padding: 8px 10px 9px; }
  .ay-top { gap: 7px; padding-right: 20px; }
  .ay-ico { width: 24px; height: 24px; border-radius: 7px; }
  .ay-ico svg { width: 15px; height: 15px; }
  .ay-tag { font-size: 10px; letter-spacing: 0.15em; }
  .ay-p { margin-top: 6px; font-size: 11.5px; line-height: 1.3; }
  .ay-src { margin-top: 5px; font-size: 10px; }
  .ay-x { top: 6px; right: 6px; width: 20px; height: 20px; }
  .ay-x svg { width: 10px; height: 10px; }
  .ay-deco i:nth-child(1) { width: 130px; height: 130px; left: -50px; top: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  .ay-orbit, .ay-deco i, .ay-in::after, .ay-ico i, .ay-star { animation: none !important; }
  .noa-ayet.is-in .ay-card, .noa-ayet.is-in .ay-card * { animation: none !important; }
  .noa-ayet.is-out .ay-card { animation: none; opacity: 0; }
}

/* TEMA-BASLA (NOA-araclar/tema_uret.py üretir; elle düzenleme: NOA-araclar/tema-el/) */
/* ---- karanlik ---- */
html[data-tema="karanlik"] .noa-ayet { color: var(--noa-text, #efefe9); }
html[data-tema="karanlik"] .ay-card { --c: 72, 180, 136; --c2: 239, 239, 233; background: rgba(var(--c), 0.3); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04); }
html[data-tema="karanlik"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #eefbf5 84%, rgba(var(--c), 0.8) 88%, transparent 94%); animation: ay-spin 5.5s linear infinite; }
html[data-tema="karanlik"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(4, 4, 5, 0) 58%), rgb(4, 4, 4); }
html[data-tema="karanlik"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent); }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
html[data-tema="karanlik"] .ay-deco i:nth-child(1) { background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
html[data-tema="karanlik"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(101, 118, 155, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }
html[data-tema="karanlik"] .ay-ico { color: #070708; background: linear-gradient(135deg, #91ddbd, rgb(72, 180, 136) 55%, #2c7a5a); box-shadow: 0 8px 22px rgba(var(--c), 0.4); }
html[data-tema="karanlik"] .ay-ico svg { fill: currentColor; }
html[data-tema="karanlik"] .ay-ico i { border: 2px solid rgba(var(--c), 0.7); }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
html[data-tema="karanlik"] .ay-tag { color: rgb(var(--c)); }
html[data-tema="karanlik"] .ay-p { color: rgba(239, 239, 233, 0.9); }
html[data-tema="karanlik"] .ay-src { color: rgba(var(--c), 0.95); }
html[data-tema="karanlik"] .ay-src i { background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); }
html[data-tema="karanlik"] .ay-x { border: 1px solid rgba(239, 239, 233, 0.14); background: rgba(3, 3, 4, 0.6); color: rgba(239, 239, 233, 0.75); }
html[data-tema="karanlik"] .ay-x svg { fill: none; stroke: currentColor; }
html[data-tema="karanlik"] .ay-x:hover { background: rgba(var(--c), 0.3); color: #ffffff; }
html[data-tema="karanlik"] .ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
html[data-tema="karanlik"] .noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-tag,
html[data-tema="karanlik"] .noa-ayet.is-in .ay-p,
html[data-tema="karanlik"] .noa-ayet.is-in .ay-src,
html[data-tema="karanlik"] .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-x { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
html[data-tema="karanlik"] .ay-orbit,
html[data-tema="karanlik"] .ay-deco i,
html[data-tema="karanlik"] .ay-in::after,
html[data-tema="karanlik"] .ay-ico i,
html[data-tema="karanlik"] .ay-star { animation: none !important; }
html[data-tema="karanlik"] .noa-ayet.is-in .ay-card,
html[data-tema="karanlik"] .noa-ayet.is-in .ay-card * { animation: none !important; }
html[data-tema="karanlik"] .noa-ayet.is-out .ay-card { animation: none; }
}

/* ---- beyaz ---- */
html[data-tema="beyaz"] .noa-ayet { color: var(--noa-text, #201f1b); }
html[data-tema="beyaz"] .ay-card { --c: 0, 135, 88; --c2: 32, 31, 27; background: rgba(var(--c), 0.3); box-shadow: 0 22px 50px rgba(27, 27, 27, 0.22), 0 0 0 1px rgba(24, 24, 24, 0.022); }
html[data-tema="beyaz"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #131e1a 84%, rgba(var(--c), 0.8) 88%, transparent 94%); animation: ay-spin 5.5s linear infinite; }
html[data-tema="beyaz"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(244, 245, 248, 0) 58%), rgb(244, 246, 249); }
html[data-tema="beyaz"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(24, 24, 24, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent); }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
html[data-tema="beyaz"] .ay-deco i:nth-child(1) { background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
html[data-tema="beyaz"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(66, 90, 146, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }
html[data-tema="beyaz"] .ay-ico { color: #f0f2f4; background: linear-gradient(135deg, #359472, rgb(0, 135, 88) 55%, #005e3c); box-shadow: 0 8px 22px rgba(var(--c), 0.4); }
html[data-tema="beyaz"] .ay-ico svg { fill: currentColor; }
html[data-tema="beyaz"] .ay-ico i { border: 2px solid rgba(var(--c), 0.7); }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
html[data-tema="beyaz"] .ay-tag { color: rgb(var(--c)); }
html[data-tema="beyaz"] .ay-p { color: rgba(32, 31, 27, 0.9); }
html[data-tema="beyaz"] .ay-src { color: rgba(var(--c), 0.95); }
html[data-tema="beyaz"] .ay-src i { background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); }
html[data-tema="beyaz"] .ay-x { border: 1px solid rgba(32, 31, 27, 0.14); background: rgba(245, 246, 249, 0.6); color: rgba(32, 31, 27, 0.75); }
html[data-tema="beyaz"] .ay-x svg { fill: none; stroke: currentColor; }
html[data-tema="beyaz"] .ay-x:hover { background: rgba(var(--c), 0.3); color: #181818; }
html[data-tema="beyaz"] .ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
html[data-tema="beyaz"] .noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-tag,
html[data-tema="beyaz"] .noa-ayet.is-in .ay-p,
html[data-tema="beyaz"] .noa-ayet.is-in .ay-src,
html[data-tema="beyaz"] .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-x { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
html[data-tema="beyaz"] .ay-orbit,
html[data-tema="beyaz"] .ay-deco i,
html[data-tema="beyaz"] .ay-in::after,
html[data-tema="beyaz"] .ay-ico i,
html[data-tema="beyaz"] .ay-star { animation: none !important; }
html[data-tema="beyaz"] .noa-ayet.is-in .ay-card,
html[data-tema="beyaz"] .noa-ayet.is-in .ay-card * { animation: none !important; }
html[data-tema="beyaz"] .noa-ayet.is-out .ay-card { animation: none; }
}

/* ---- turkiye ---- */
html[data-tema="turkiye"] .noa-ayet { color: var(--noa-text, #f4f1f0); }
html[data-tema="turkiye"] .ay-card { --c: 46, 196, 142; --c2: 244, 241, 240; background: rgba(var(--c), 0.3); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(252, 252, 252, 0.04); }
html[data-tema="turkiye"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #fff9f8 84%, rgba(var(--c), 0.8) 88%, transparent 94%); animation: ay-spin 5.5s linear infinite; }
html[data-tema="turkiye"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(23, 2, 2, 0) 58%), rgb(21, 2, 2); }
html[data-tema="turkiye"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(252, 252, 252, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent); }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
html[data-tema="turkiye"] .ay-deco i:nth-child(1) { background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
html[data-tema="turkiye"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(219, 57, 53, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }
html[data-tema="turkiye"] .ay-ico { color: #1e0505; background: linear-gradient(135deg, #8ff0c8, rgb(46, 196, 142) 55%, #17855e); box-shadow: 0 8px 22px rgba(var(--c), 0.4); }
html[data-tema="turkiye"] .ay-ico svg { fill: currentColor; }
html[data-tema="turkiye"] .ay-ico i { border: 2px solid rgba(var(--c), 0.7); }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
html[data-tema="turkiye"] .ay-tag { color: rgb(var(--c)); }
html[data-tema="turkiye"] .ay-p { color: rgba(244, 241, 240, 0.9); }
html[data-tema="turkiye"] .ay-src { color: rgba(var(--c), 0.95); }
html[data-tema="turkiye"] .ay-src i { background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); }
html[data-tema="turkiye"] .ay-x { border: 1px solid rgba(244, 241, 240, 0.14); background: rgba(20, 1, 2, 0.6); color: rgba(244, 241, 240, 0.75); }
html[data-tema="turkiye"] .ay-x svg { fill: none; stroke: currentColor; }
html[data-tema="turkiye"] .ay-x:hover { background: rgba(var(--c), 0.3); color: #fcfcfc; }
html[data-tema="turkiye"] .ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
html[data-tema="turkiye"] .noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-tag,
html[data-tema="turkiye"] .noa-ayet.is-in .ay-p,
html[data-tema="turkiye"] .noa-ayet.is-in .ay-src,
html[data-tema="turkiye"] .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-x { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
html[data-tema="turkiye"] .ay-orbit,
html[data-tema="turkiye"] .ay-deco i,
html[data-tema="turkiye"] .ay-in::after,
html[data-tema="turkiye"] .ay-ico i,
html[data-tema="turkiye"] .ay-star { animation: none !important; }
html[data-tema="turkiye"] .noa-ayet.is-in .ay-card,
html[data-tema="turkiye"] .noa-ayet.is-in .ay-card * { animation: none !important; }
html[data-tema="turkiye"] .noa-ayet.is-out .ay-card { animation: none; }
}

/* ---- azerbaycan ---- */
html[data-tema="azerbaycan"] .noa-ayet { color: var(--noa-text, #eff2f3); }
html[data-tema="azerbaycan"] .ay-card { --c: 111, 191, 103; --c2: 239, 242, 243; background: rgba(var(--c), 0.3); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(252, 252, 252, 0.04); }
html[data-tema="azerbaycan"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #f6fcff 84%, rgba(var(--c), 0.8) 88%, transparent 94%); animation: ay-spin 5.5s linear infinite; }
html[data-tema="azerbaycan"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(0, 10, 19, 0) 58%), rgb(0, 10, 18); }
html[data-tema="azerbaycan"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(252, 252, 252, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent); }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
html[data-tema="azerbaycan"] .ay-deco i:nth-child(1) { background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
html[data-tema="azerbaycan"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(0, 178, 226, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }
html[data-tema="azerbaycan"] .ay-ico { color: #02111a; background: linear-gradient(135deg, #b0eba9, rgb(111, 191, 103) 55%, #488142); box-shadow: 0 8px 22px rgba(var(--c), 0.4); }
html[data-tema="azerbaycan"] .ay-ico svg { fill: currentColor; }
html[data-tema="azerbaycan"] .ay-ico i { border: 2px solid rgba(var(--c), 0.7); }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
html[data-tema="azerbaycan"] .ay-tag { color: rgb(var(--c)); }
html[data-tema="azerbaycan"] .ay-p { color: rgba(239, 242, 243, 0.9); }
html[data-tema="azerbaycan"] .ay-src { color: rgba(var(--c), 0.95); }
html[data-tema="azerbaycan"] .ay-src i { background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); }
html[data-tema="azerbaycan"] .ay-x { border: 1px solid rgba(239, 242, 243, 0.14); background: rgba(0, 9, 17, 0.6); color: rgba(239, 242, 243, 0.75); }
html[data-tema="azerbaycan"] .ay-x svg { fill: none; stroke: currentColor; }
html[data-tema="azerbaycan"] .ay-x:hover { background: rgba(var(--c), 0.3); color: #fcfcfc; }
html[data-tema="azerbaycan"] .ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
html[data-tema="azerbaycan"] .noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-tag,
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-p,
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-src,
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-x { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
html[data-tema="azerbaycan"] .ay-orbit,
html[data-tema="azerbaycan"] .ay-deco i,
html[data-tema="azerbaycan"] .ay-in::after,
html[data-tema="azerbaycan"] .ay-ico i,
html[data-tema="azerbaycan"] .ay-star { animation: none !important; }
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-card,
html[data-tema="azerbaycan"] .noa-ayet.is-in .ay-card * { animation: none !important; }
html[data-tema="azerbaycan"] .noa-ayet.is-out .ay-card { animation: none; }
}

/* ---- yirmiyedi ---- */
html[data-tema="yirmiyedi"] .noa-ayet { color: var(--noa-text, #e8f1ea); }
html[data-tema="yirmiyedi"] .ay-card { --c: 96, 193, 114; --c2: 232, 241, 234; background: rgba(var(--c), 0.3); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(241, 247, 242, 0.04); }
html[data-tema="yirmiyedi"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #edf9ef 84%, rgba(var(--c), 0.8) 88%, transparent 94%); animation: ay-spin 5.5s linear infinite; }
html[data-tema="yirmiyedi"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(4, 18, 12, 0) 58%), rgb(4, 17, 11); }
html[data-tema="yirmiyedi"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(241, 247, 242, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent); }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
html[data-tema="yirmiyedi"] .ay-deco i:nth-child(1) { background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
html[data-tema="yirmiyedi"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(16, 137, 99, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }
html[data-tema="yirmiyedi"] .ay-ico { color: #0a1a13; background: linear-gradient(135deg, #a7edb0, rgb(96, 193, 114) 55%, #3d834a); box-shadow: 0 8px 22px rgba(var(--c), 0.4); }
html[data-tema="yirmiyedi"] .ay-ico svg { fill: currentColor; }
html[data-tema="yirmiyedi"] .ay-ico i { border: 2px solid rgba(var(--c), 0.7); }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
html[data-tema="yirmiyedi"] .ay-tag { color: rgb(var(--c)); }
html[data-tema="yirmiyedi"] .ay-p { color: rgba(232, 241, 234, 0.9); }
html[data-tema="yirmiyedi"] .ay-src { color: rgba(var(--c), 0.95); }
html[data-tema="yirmiyedi"] .ay-src i { background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); }
html[data-tema="yirmiyedi"] .ay-x { border: 1px solid rgba(232, 241, 234, 0.14); background: rgba(3, 16, 10, 0.6); color: rgba(232, 241, 234, 0.75); }
html[data-tema="yirmiyedi"] .ay-x svg { fill: none; stroke: currentColor; }
html[data-tema="yirmiyedi"] .ay-x:hover { background: rgba(var(--c), 0.3); color: #f1f7f2; }
html[data-tema="yirmiyedi"] .ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
html[data-tema="yirmiyedi"] .noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-tag,
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-p,
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-src,
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-x { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
html[data-tema="yirmiyedi"] .ay-orbit,
html[data-tema="yirmiyedi"] .ay-deco i,
html[data-tema="yirmiyedi"] .ay-in::after,
html[data-tema="yirmiyedi"] .ay-ico i,
html[data-tema="yirmiyedi"] .ay-star { animation: none !important; }
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-card,
html[data-tema="yirmiyedi"] .noa-ayet.is-in .ay-card * { animation: none !important; }
html[data-tema="yirmiyedi"] .noa-ayet.is-out .ay-card { animation: none; }
}

/* ---- neon ---- */
html[data-tema="neon"] .noa-ayet { color: var(--noa-text, #f9eaf0); }
html[data-tema="neon"] .ay-card { --c: 0, 198, 193; --c2: 249, 234, 240; background: rgba(var(--c), 0.3); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 245, 250, 0.04); }
html[data-tema="neon"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(var(--c), 0.95) 80%, #fff1fa 84%, rgba(var(--c), 0.8) 88%, transparent 94%); animation: ay-spin 5.5s linear infinite; }
html[data-tema="neon"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.15), rgba(14, 6, 28, 0) 58%), rgb(13, 5, 26); }
html[data-tema="neon"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(255, 245, 250, 0.07) 45%, rgba(var(--c), 0.16) 55%, transparent); }
html[data-tema="neon"] .noa-ayet.is-in .ay-in::after { animation: ay-sweep 7s ease-in-out 1.2s infinite; }
html[data-tema="neon"] .ay-deco i:nth-child(1) { background: radial-gradient(circle, rgba(var(--c), 0.26), transparent 68%); animation: ay-drift 8s ease-in-out infinite alternate; }
html[data-tema="neon"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(201, 40, 131, 0.16), transparent 68%); animation: ay-drift 10s ease-in-out -4s infinite alternate-reverse; }
html[data-tema="neon"] .ay-ico { color: #150b24; background: linear-gradient(135deg, #71f1ec, rgb(0, 198, 193) 55%, #2fc2be); box-shadow: 0 8px 22px rgba(var(--c), 0.4); }
html[data-tema="neon"] .ay-ico svg { fill: currentColor; }
html[data-tema="neon"] .ay-ico i { border: 2px solid rgba(var(--c), 0.7); }
html[data-tema="neon"] .noa-ayet.is-in .ay-ico i { animation: ay-ring 2.8s ease-out 1s infinite; }
html[data-tema="neon"] .noa-ayet.is-in .ay-star { animation: ay-twinkle 2.4s ease-in-out 1s infinite; }
html[data-tema="neon"] .ay-tag { color: rgb(var(--c)); }
html[data-tema="neon"] .ay-p { color: rgba(249, 234, 240, 0.9); }
html[data-tema="neon"] .ay-src { color: rgba(var(--c), 0.95); }
html[data-tema="neon"] .ay-src i { background: linear-gradient(90deg, rgba(var(--c), 0), rgb(var(--c))); }
html[data-tema="neon"] .ay-x { border: 1px solid rgba(249, 234, 240, 0.14); background: rgba(12, 5, 25, 0.6); color: rgba(249, 234, 240, 0.75); }
html[data-tema="neon"] .ay-x svg { fill: none; stroke: currentColor; }
html[data-tema="neon"] .ay-x:hover { background: rgba(var(--c), 0.3); color: #fff5fa; }
html[data-tema="neon"] .ay-x:focus-visible { outline: 2px solid rgba(var(--c), 0.8); outline-offset: 2px; }
html[data-tema="neon"] .noa-ayet.is-in .ay-card { animation: ay-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) both; }
html[data-tema="neon"] .noa-ayet.is-out .ay-card { animation: ay-out 0.5s cubic-bezier(0.5, 0, 0.75, 0) both; }
html[data-tema="neon"] .noa-ayet.is-in .ay-ico { animation: ay-pop 0.8s cubic-bezier(0.2, 1.5, 0.4, 1) 0.2s both; }
html[data-tema="neon"] .noa-ayet.is-in .ay-tag,
html[data-tema="neon"] .noa-ayet.is-in .ay-p,
html[data-tema="neon"] .noa-ayet.is-in .ay-src,
html[data-tema="neon"] .noa-ayet.is-in .ay-x { animation: ay-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html[data-tema="neon"] .noa-ayet.is-in .ay-tag { animation-delay: 0.32s; }
html[data-tema="neon"] .noa-ayet.is-in .ay-p { animation-delay: 0.44s; }
html[data-tema="neon"] .noa-ayet.is-in .ay-src { animation-delay: 0.6s; }
html[data-tema="neon"] .noa-ayet.is-in .ay-src i { animation: ay-line 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s both; }
html[data-tema="neon"] .noa-ayet.is-in .ay-x { animation-delay: 0.66s; }
@media (prefers-reduced-motion: reduce) {
html[data-tema="neon"] .ay-orbit,
html[data-tema="neon"] .ay-deco i,
html[data-tema="neon"] .ay-in::after,
html[data-tema="neon"] .ay-ico i,
html[data-tema="neon"] .ay-star { animation: none !important; }
html[data-tema="neon"] .noa-ayet.is-in .ay-card,
html[data-tema="neon"] .noa-ayet.is-in .ay-card * { animation: none !important; }
html[data-tema="neon"] .noa-ayet.is-out .ay-card { animation: none; }
}

/* ---- elle (NOA-araclar/tema-el/noa-ayet.css) ---- */
/* noa-ayet.css — elle yazılmış tema kuralları (sol alttaki GÜNÜN AYETİ kutusu; yeşil tema her temada korunur) */

/* ================= KARANLIK NOA ================= */
html[data-tema="karanlik"] .ay-card { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05); }
html[data-tema="karanlik"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.12), rgba(10, 10, 12, 0) 58%), #0c0c0e; }
html[data-tema="karanlik"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(120, 130, 155, 0.12), transparent 68%); }
html[data-tema="karanlik"] .ay-p { color: rgba(230, 230, 233, 0.9); }

/* ================= NOA BEYAZI ================= */
/* kart: beyaz → çok açık zümrüt, ince yeşil kenar, yumuşak gölge */
html[data-tema="beyaz"] .ay-card { box-shadow: 0 18px 40px rgba(20, 24, 34, 0.15), 0 3px 10px rgba(20, 24, 34, 0.07); }
html[data-tema="beyaz"] .ay-in { background: linear-gradient(160deg, rgba(30, 160, 112, 0.09), rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #ffffff, #f2f5f4); }
html[data-tema="beyaz"] .ay-orbit { background: conic-gradient(from 0deg, transparent 0 62%, rgba(30, 160, 112, 0.9) 80%, #c9eedd 84%, rgba(30, 160, 112, 0.75) 88%, transparent 94%); }
html[data-tema="beyaz"] .ay-in::after { background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.85) 45%, rgba(30, 160, 112, 0.08) 55%, transparent); }
html[data-tema="beyaz"] .ay-deco { opacity: 0.5; }
/* hilal rozeti: zümrüt metal, beyaz hilal */
html[data-tema="beyaz"] .ay-ico { color: #ffffff; background: linear-gradient(135deg, #5fd3a6, rgb(30, 160, 112) 55%, #136e4e); box-shadow: 0 6px 14px rgba(30, 160, 112, 0.28); }
html[data-tema="beyaz"] .ay-tag { color: rgb(22, 128, 90); }
html[data-tema="beyaz"] .ay-p { color: #2b2f38; }
html[data-tema="beyaz"] .ay-src { color: rgb(22, 128, 90); }
html[data-tema="beyaz"] .ay-src i { background: linear-gradient(90deg, rgba(30, 160, 112, 0), rgb(30, 160, 112)); }
html[data-tema="beyaz"] .ay-x { background: rgba(255, 255, 255, 0.85); border-color: #d6dbe4; color: #4a505c; }
html[data-tema="beyaz"] .ay-x:hover { background: rgba(30, 160, 112, 0.14); color: #1b1e25; }

/* TR-KORU-BASLA (tema_turkiye_koru.py üretir: KARANLIK NOA'daki korunan renkler TÜRKİYE için) */
html[data-tema="turkiye"] .ay-card { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05); }
html[data-tema="turkiye"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.12), rgba(10, 10, 12, 0) 58%), #0c0c0e; }
html[data-tema="turkiye"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(120, 130, 155, 0.12), transparent 68%); }
html[data-tema="turkiye"] .ay-p { color: rgba(230, 230, 233, 0.9); }
/* TR-KORU-BITIS */

/* AZ-KORU-BASLA (tema_turkiye_koru.py üretir: KARANLIK NOA'daki korunan renkler AZERBAYCAN için) */
html[data-tema="azerbaycan"] .ay-card { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05); }
html[data-tema="azerbaycan"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.12), rgba(10, 10, 12, 0) 58%), #0c0c0e; }
html[data-tema="azerbaycan"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(120, 130, 155, 0.12), transparent 68%); }
html[data-tema="azerbaycan"] .ay-p { color: rgba(230, 230, 233, 0.9); }
/* AZ-KORU-BITIS */

/* YY-KORU-BASLA (tema_turkiye_koru.py üretir: KARANLIK NOA'daki korunan renkler 27 TEMASI için) */
html[data-tema="yirmiyedi"] .ay-card { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05); }
html[data-tema="yirmiyedi"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.12), rgba(10, 10, 12, 0) 58%), #0c0c0e; }
html[data-tema="yirmiyedi"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(120, 130, 155, 0.12), transparent 68%); }
html[data-tema="yirmiyedi"] .ay-p { color: rgba(230, 230, 233, 0.9); }
/* YY-KORU-BITIS */

/* NEON-OTOMATIK-BASLA (tema_neon_el.py üretir: 27 TEMASI el kurallarının neon kopyası) */
html[data-tema="neon"] .ay-card { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 252, 255, 0.05); }
html[data-tema="neon"] .ay-in { background: linear-gradient(160deg, rgba(var(--c), 0.12), rgba(12, 7, 20, 0) 58%), #0e0917; }
html[data-tema="neon"] .ay-deco i:nth-child(2) { background: radial-gradient(circle, rgba(145, 123, 133, 0.12), transparent 68%); }
html[data-tema="neon"] .ay-p { color: rgba(239, 226, 232, 0.9); }
/* NEON-OTOMATIK-BITIS */
/* TEMA-BITIS */
