.ai-teacher-home-card {
    width: calc(100% - 40px); margin: 12px 20px 4px; border: 1px solid rgba(168,85,247,.45);
    background: linear-gradient(135deg, rgba(88,28,135,.32), rgba(20,24,31,.96)); color: var(--text-main);
    border-radius: 20px; padding: 16px; display: flex; align-items: center; gap: 13px; text-align: left; cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.ai-teacher-orb { width: 46px; height: 46px; border-radius: 15px; display:grid; place-items:center; font-size:24px; background:rgba(168,85,247,.18); }
.ai-teacher-home-copy { flex:1; display:flex; flex-direction:column; gap:3px; }
.ai-teacher-home-copy strong { font-size:16px; font-weight:900; }
.ai-teacher-home-copy span { font-size:12px; color:var(--text-muted); font-weight:700; }
.ai-teacher-home-badge { font-size:10px; padding:6px 8px; border-radius:999px; font-weight:900; background:#6b21a8; color:#fff; }
.ai-teacher-home-badge.is-active { background:#16a34a; }
.ai-tutor-page { padding: 12px 18px 100px; }
.ai-tutor-lock { margin-top:28px; border:1px solid rgba(168,85,247,.35); border-radius:24px; padding:28px 22px; text-align:center; background:rgba(38,27,51,.6); }
.ai-tutor-lock.hidden,.ai-tutor-shell.hidden { display:none !important; }
.ai-lock-icon { font-size:48px; margin-bottom:8px; }
.ai-tutor-lock h2 { margin:4px 0 8px; font-weight:900; }
.ai-tutor-lock p { color:var(--text-muted); font-weight:650; line-height:1.55; }
.ai-plan-pill { border:0; border-radius:999px; background:#7e22ce; color:white; font-size:10px; font-weight:900; padding:7px 10px; cursor:pointer; }
.ai-tutor-shell { border:1px solid rgba(255,255,255,.08); border-radius:22px; overflow:hidden; background:rgba(15,18,24,.86); min-height:68vh; display:flex; flex-direction:column; }
.ai-tutor-topline { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:14px 15px; border-bottom:1px solid rgba(255,255,255,.07); }
.ai-tutor-topline > div { display:flex; flex-direction:column; gap:2px; }
.ai-tutor-topline strong { font-weight:900; }
.ai-tutor-topline small { color:var(--text-muted); font-size:11px; }
.ai-clear-btn { border:1px solid rgba(255,255,255,.12); background:transparent; color:var(--text-muted); padding:7px 9px; border-radius:10px; font-size:10px; font-weight:800; cursor:pointer; }
.ai-tutor-messages { flex:1; min-height:360px; max-height:55vh; overflow-y:auto; padding:15px; display:flex; flex-direction:column; gap:11px; }
.ai-msg { max-width:88%; border-radius:16px; padding:10px 12px; line-height:1.48; font-size:14px; white-space:pre-wrap; word-break:break-word; }
.ai-msg small { display:block; font-size:9px; font-weight:900; opacity:.65; margin-bottom:4px; text-transform:uppercase; letter-spacing:.5px; }
.ai-msg.assistant { align-self:flex-start; background:rgba(168,85,247,.16); border:1px solid rgba(168,85,247,.2); }
.ai-msg.user { align-self:flex-end; background:rgba(34,197,94,.16); border:1px solid rgba(34,197,94,.2); }
.ai-system-error { margin:auto; color:#fca5a5; font-weight:800; text-align:center; }
.ai-suggestions { display:flex; gap:6px; overflow-x:auto; padding:0 12px 10px; }
.ai-suggestions button { white-space:nowrap; border:1px solid rgba(255,255,255,.1); background:transparent; color:var(--text-main); border-radius:999px; padding:7px 10px; font-size:10px; font-weight:800; cursor:pointer; }
.ai-tutor-compose { display:grid; grid-template-columns:1fr auto; gap:8px; padding:12px; border-top:1px solid rgba(255,255,255,.07); }
.ai-tutor-compose textarea { resize:none; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.05); color:var(--text-main); border-radius:14px; padding:11px 12px; font:inherit; outline:none; }
.ai-tutor-compose button { border:0; border-radius:13px; padding:0 16px; background:#8b5cf6; color:white; font-weight:900; cursor:pointer; }
.ai-tutor-compose button:disabled { opacity:.55; }
.premium-modal-head { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; text-align:left; }
.premium-modal-head h2 { margin:0; font-weight:900; }
.premium-modal-head p { margin:2px 0 0; color:var(--text-muted); font-size:12px; font-weight:700; }
.premium-crown { font-size:32px; }
.premium-close { border:0; background:transparent; color:var(--text-muted); font-size:20px; cursor:pointer; }
.premium-benefits { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:18px 0; }
.premium-benefits > div { padding:12px; border-radius:15px; background:rgba(168,85,247,.09); border:1px solid rgba(168,85,247,.16); display:flex; flex-direction:column; text-align:left; }
.premium-benefits span { font-size:20px; }
.premium-benefits b { margin-top:5px; font-size:12px; }
.premium-benefits small { margin-top:2px; color:var(--text-muted); font-size:10px; line-height:1.35; }
.premium-expiry-box { border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:10px; font-size:12px; font-weight:800; margin-bottom:10px; }
.premium-expiry-box.active { border-color:rgba(34,197,94,.35); background:rgba(34,197,94,.08); }
.premium-foot small { display:block; margin-top:8px; color:var(--text-muted); font-size:10px; line-height:1.4; }
.test-row.is-premium-test { border-color:rgba(168,85,247,.38) !important; }
.premium-test-badge { display:inline-block; margin-left:6px; padding:2px 6px; border-radius:999px; background:#6b21a8; color:#fff; font-size:9px; font-weight:900; vertical-align:middle; }
.premium-test-lock { color:#c084fc; font-size:11px; font-weight:900; }
body.light-mode .ai-teacher-home-card, body.light-mode .ai-tutor-shell, body.light-mode .ai-tutor-lock { background:#fff; color:#111; }
body.light-mode .ai-msg.assistant { background:#f3e8ff; color:#111; }
body.light-mode .ai-msg.user { background:#dcfce7; color:#111; }
body.light-mode .ai-tutor-compose textarea { background:#f8fafc; color:#111; border-color:#ddd; }
@media (max-width:430px) { .premium-benefits { grid-template-columns:1fr; } .ai-tutor-messages { min-height:330px; } }

/* V6.1 — AI yazıyor göstergesi */
.ai-msg-typing { min-width: 112px; }
.ai-typing-row { display:flex; align-items:center; gap:7px; min-height:20px; }
.ai-typing-text { font-size:12px; font-weight:800; opacity:.78; }
.ai-typing-dots { display:inline-flex; align-items:center; gap:4px; height:12px; }
.ai-typing-dots i { width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.35; animation:slovraTypingDot 1.05s infinite ease-in-out; }
.ai-typing-dots i:nth-child(2) { animation-delay:.14s; }
.ai-typing-dots i:nth-child(3) { animation-delay:.28s; }
@keyframes slovraTypingDot { 0%, 60%, 100% { transform:translateY(0); opacity:.28; } 30% { transform:translateY(-4px); opacity:1; } }
.ai-tutor-compose textarea:disabled { opacity:.72; cursor:not-allowed; }
@media (prefers-reduced-motion: reduce) { .ai-typing-dots i { animation:none; opacity:.65; } }

/* ========================================================================== 
   V6.2 — AI ÖĞRETMEN REDESIGN + HIZLI ERİŞİM ROZETİ
   ========================================================================== */
#ai-teacher-home-card.ai-teacher-home-card{width:auto;margin:0}
.home-feature-ai .ai-teacher-home-badge{
    position:absolute;top:6px;right:6px;
    min-width:22px;padding:3px 5px;border-radius:999px;
    font-size:7px;line-height:1;font-weight:900;
    background:rgba(73,32,102,.65);color:#fff;
    box-shadow:none
}
.home-feature-ai .ai-teacher-home-badge.is-active{background:#20b956}
.ai-tutor-page{padding:18px 20px 110px}
.ai-tutor-lock{
    border:0;background:var(--card-bg);border-radius:20px;
    box-shadow:0 5px 0 rgba(0,0,0,.22);padding:28px 22px
}
.ai-tutor-shell{
    border:0;border-radius:20px;background:var(--card-bg);
    box-shadow:0 5px 0 rgba(0,0,0,.22);
    min-height:68vh
}
.ai-tutor-topline{padding:14px 15px;border-bottom:2px solid #2b3b42;background:#1b2a31}
.ai-plan-pill{background:#ce82ff;box-shadow:0 3px 0 #a568cc;border-radius:10px}
.ai-clear-btn{border:0;background:#263941;color:var(--text-muted);box-shadow:0 3px 0 #17242a;border-radius:10px}
.ai-tutor-messages{background:#16242a}
.ai-msg{border:0;border-radius:16px;box-shadow:0 3px 0 rgba(0,0,0,.14)}
.ai-msg.assistant{background:#203641;border:0}
.ai-msg.user{background:#3d9700;border:0;color:#fff}
.ai-msg.assistant small{color:#7ed8ff;opacity:1}
.ai-msg.user small{color:rgba(255,255,255,.72);opacity:1}
.ai-suggestions{background:#16242a;padding-top:4px}
.ai-suggestions button{
    border:0;background:#263941;color:var(--text-main);
    box-shadow:0 3px 0 #17242a;border-radius:12px
}
.ai-tutor-compose{background:#1b2a31;border-top:2px solid #2b3b42}
.ai-tutor-compose textarea{
    border:2px solid #37464f;background:#152329;border-radius:14px;color:var(--text-main)
}
.ai-tutor-compose textarea:focus{border-color:var(--color-cyan);box-shadow:0 0 0 3px rgba(28,176,246,.09)}
.ai-tutor-compose button{
    background:var(--color-green);box-shadow:0 4px 0 var(--shadow-green);
    border-radius:13px;min-width:76px
}
.ai-tutor-compose button:active{transform:translateY(2px);box-shadow:0 2px 0 var(--shadow-green)}
.premium-benefits>div{background:#19282f;border:0;box-shadow:0 3px 0 #142127}
.premium-expiry-box{border:0;background:#19282f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
body.light-mode .ai-tutor-shell,body.light-mode .ai-tutor-lock{background:#fff;color:#131f24;box-shadow:0 4px 0 #d7e2e7}
body.light-mode .ai-tutor-topline,body.light-mode .ai-tutor-compose{background:#f5f9fb;border-color:#dce7eb}
body.light-mode .ai-tutor-messages,body.light-mode .ai-suggestions{background:#eef4f7}
body.light-mode .ai-msg.assistant{background:#dff4ff;color:#131f24}
body.light-mode .ai-msg.user{background:#58cc02;color:#fff}
body.light-mode .ai-suggestions button{background:#fff;color:#131f24;box-shadow:0 3px 0 #d7e2e7}
body.light-mode .premium-benefits>div,body.light-mode .premium-expiry-box{background:#f1f5f7;box-shadow:none}
