:root {
  --zemin: #0b0f14;
  --yuzey: #141b24;
  --yazi: #e8eef5;
  --ince: #8a97a8;
  --vurgu: #28c8ff;
  --vurgu2: #78e1ff;
  --uyari: #ff8a5c;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--zemin); color: var(--yazi); font: 17px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 520px; margin: 0 auto; min-height: 100%; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
section { display: flex; flex-direction: column; flex: 1; }
section[hidden] { display: none; }
h1 { font-weight: 600; letter-spacing: .02em; margin: 18vh 0 6px; }
.ince { color: var(--ince); font-size: 14px; margin: 4px 0 16px; }
.hata { color: var(--uyari); min-height: 1.4em; }
form { display: flex; flex-direction: column; gap: 10px; }
input { font: inherit; padding: 14px; border-radius: 12px; border: 1px solid #263240; background: var(--yuzey); color: var(--yazi); }
button { font: inherit; cursor: pointer; border: 0; border-radius: 12px; padding: 14px; background: var(--vurgu); color: #001018; font-weight: 600; }
button.kucuk { padding: 8px 12px; font-size: 14px; background: var(--yuzey); color: var(--ince); font-weight: 500; }
#ust { display: flex; justify-content: space-between; align-items: center; }
#durumYazi { color: var(--ince); font-size: 15px; }
#konus { position: relative; align-self: center; margin: 9vh 0 4vh; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #1a3a4a, #0e1a22); color: var(--yazi); font-size: 22px; box-shadow: 0 0 0 2px #1f4558 inset; -webkit-tap-highlight-color: transparent; }
#halka { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--vurgu); opacity: .25; transform: scale(var(--olcek, 1)); transition: transform 90ms linear, opacity 200ms; pointer-events: none; }
#konus.acik #halka { opacity: .9; }
#konus.konusuyor #halka { border-color: var(--vurgu2); animation: nabiz 1.1s ease-in-out infinite; }
#konus.baglaniyor #halka { animation: don 1s linear infinite; border-style: dashed; opacity: .8; }
@keyframes nabiz { 50% { transform: scale(1.08); } }
@keyframes don { to { transform: rotate(360deg); } }
#altDugmeler { display: flex; justify-content: center; min-height: 40px; }
#yazilar { flex: 1; overflow-y: auto; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 34vh; }
.satir { padding: 8px 12px; border-radius: 12px; background: var(--yuzey); font-size: 16px; }
.satir.sen { align-self: flex-end; background: #1b2a38; color: #cfe3f5; }
.satir.jarvis { align-self: flex-start; }
.satir.not { align-self: stretch; background: #2a2016; color: #ffd2a8; font-size: 14px; }
.satir.bilgi { align-self: center; background: transparent; color: var(--ince); font-size: 14px; }
.anahtarSatir { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.anahtarSatir input { width: 24px; height: 24px; }
h2 { font-size: 18px; margin: 28px 0 8px; font-weight: 600; }
#modBant { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; text-align: center; font-size: 15px; }
#modBant.deneme { background: #3a2410; color: #ffc48a; border: 1px solid #7a4a1c; font-weight: 600; }
#modBant.is { background: transparent; color: var(--ince); font-size: 13px; padding: 4px; }
select { font: inherit; padding: 12px; border-radius: 12px; border: 1px solid #263240; background: var(--yuzey); color: var(--yazi); }
.etiket { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: #12303d; color: var(--vurgu2); margin-right: 6px; }
.etiket.ucretsiz { background: #2e2a12; color: #ffe08a; }
