:root {
  --mavi: #1D4ED8;
  --turkuaz: #2DD4BF;
  --lacivert: #0E1A3A;
  --metin: #0E1A3A;
  --soluk: #44506B;
  --cizgi: #E2E8F2;
  --zemin: #F3F6FA;
  --acik-mavi: #EEF4FF;
  --acik-turkuaz: #DDF7F4;
  --koyu-turkuaz: #0A6B64;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--metin); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1 { margin: 0; font-size: 28px; letter-spacing: -0.03em; font-weight: 800; }
h2 { margin: 6px 0 0; font-size: 19px; font-weight: 800; }
p { margin: 0; line-height: 1.55; }
.soluk { color: var(--soluk); font-size: 15px; }

.sayfa { min-height: 100vh; display: flex; flex-direction: column; }
.ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--cizgi); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.logo b { color: var(--mavi); }
a.logo { color: inherit; text-decoration: none; }
.ust > .rozet-egitmen { margin-right: auto; margin-left: -4px; }
/* Ortak pencere (panel: paket, puan, profil…): beyaz zemin */
.uyari-pencere { width: min(440px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 24px; box-shadow: 0 24px 60px rgba(14, 26, 58, 0.25); color: var(--lacivert); }
.uyari-pencere::backdrop { background: rgba(14, 26, 58, 0.45); }
.uyari-pencere h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.uyari-pencere p { margin: 0 0 24px; line-height: 1.6; color: #44506B; }
.uyari-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; }
.uyari-dugmeler .btn-ana { align-self: auto; }
.uyari-dugmeler .btn-cizgi { min-height: 54px; }
/* Dersten ayrılma / dersi bitirme onayı (9 Kasım 2026, taslak B "koyu cam"): YALNIZ ders ekranındaki pencere (#uyari-pencere)
   koyu ve yarı saydam; sağ üstte çarpı (derse devam), "Dersi bitir" solda ikinci planda, "Derse devam et" sağda mavi */
#uyari-pencere { width: min(460px, calc(100vw - 32px)); padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: rgba(23, 30, 52, .9); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
#uyari-pencere::backdrop { background: rgba(8, 12, 26, .58); backdrop-filter: blur(2px); }
.up-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 30px; }
.up-cip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; }
.up-cip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5383B; }
.up-cip[hidden] { display: none; }
.up-kapat { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #C9D4EA; cursor: pointer; padding: 0; }
.up-kapat:hover { background: rgba(255, 255, 255, .16); color: #fff; }
#uyari-pencere h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; color: #fff; }
#uyari-pencere p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #C9D4EA; }
.up-sure { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 13.5px; color: #C9D4EA; line-height: 1.4; }
.up-sure[hidden] { display: none; }
.up-sure svg { flex: none; }
.up-sure b { display: block; color: #fff; font-size: 15.5px; }
/* İki düğme eşit genişlikte, yazı ortada (11 Kasım, İlker) */
#uyari-pencere .uyari-dugmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#uyari-pencere .uyari-dugmeler button { min-height: 50px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; padding: 0 14px; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; }
.up-bitir { background: rgba(255, 255, 255, .08); color: #FFB1B3; box-shadow: inset 0 0 0 1.5px rgba(255, 138, 140, .45); }
.up-bitir:hover { background: rgba(229, 56, 59, .18); }
.up-devam { background: var(--mavi, #1D4ED8); color: #fff; }
.up-devam:hover { filter: brightness(1.08); }
@media (max-width: 420px) { #uyari-pencere .uyari-dugmeler { grid-template-columns: 1fr; } .up-devam { order: -1; } }
.rozet-egitmen { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; background: #FFF4D6; color: #5C4300; padding: 5px 10px; border-radius: 999px; }
.adimlar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.adimlar li { padding: 8px 12px; border-radius: 999px; background: #F1F3F8; color: #5A6580; }
.adimlar li.gecti { background: var(--acik-turkuaz); color: var(--metin); }
.adimlar li.simdi { background: var(--lacivert); color: #fff; }
.ust-sag { display: flex; align-items: center; gap: 10px; }
.sayac { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 18px; background: #9AA6C0; color: #fff; padding: 8px 14px; border-radius: 10px; }
.sayac.aktif { background: var(--lacivert); }
.sayac.son { background: #B45309; }

.uyari { margin: 12px 24px 0; padding: 12px 16px; border-radius: 12px; background: #FDEBDD; color: #7A2E0B; font-weight: 600; }

.govde { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; max-width: 1360px; width: 100%; margin: 0 auto; }
/* Eğitmen paneli: portre tüm paneli kaplar (görüntülü görüşme hissi) */
.egitmen-panel { position: relative; flex: 1 1 340px; min-width: 0; min-height: 600px; border-radius: 28px; overflow: hidden; background: #0E1A3A; display: flex; flex-direction: column; }
.video-alan { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #AACAE7; container-type: size; }
/* Alan altyazı yüzünden kısaldığında yüz kesilmesin: görsel üstten hizalanır */

.avatar { position: absolute; left: 50%; bottom: 0; width: max(100cqw, 84cqh); aspect-ratio: 1; translate: -50% 0; transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%); mask-image: linear-gradient(to bottom, transparent, #000 7%); animation: nefes 5s ease-in-out infinite; }
.video-alan::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(10, 15, 30, 0.7), transparent); pointer-events: none; }
.ad-etiketi { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; flex-direction: column; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); line-height: 1.3; }
.ad-etiketi strong { font-size: 16px; }
.ad-etiketi span { font-size: 13px; color: #44506B; }
.panel-alt { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.panel-alt .durum { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); }
.panel-alt .canli { background: rgba(255, 255, 255, 0.92); padding: 6px 12px; border-radius: 999px; }
.avatar .kat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .agiz, .avatar .goz { opacity: 0; }
.avatar .agiz { -webkit-mask-image: radial-gradient(ellipse 15% 11% at 50% 52%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 15% 11% at 50% 52%, #000 55%, transparent 100%); }
.avatar .goz { -webkit-mask-image: radial-gradient(ellipse 22% 8% at 50.5% 32.5%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 22% 8% at 50.5% 32.5%, #000 55%, transparent 100%); }
.avatar .gorunur { opacity: 1; }
/* Konuşan Roy videosu (K-75): dinleme videosu altta hep görünür, ses varken konuşma videosu üste gelir.
   Video modunda eski ağız/göz resimleri, genişletilmiş zemin ve "nefes" ölçeklemesi kapanır (videoda zaten var). */
.avatar .vid { opacity: 0; transition: opacity 150ms ease-out; } /* kelime aralarında sık geçiş: kısa ve yumuşak */
.avatar.video-modu .vid.dinleme { opacity: 1; }
.avatar.video-modu.video-konusuyor .vid.konusma { opacity: 1; }
.avatar.video-modu .kat:not(.vid) { opacity: 0 !important; }
.avatar.video-modu .zemin { display: none; }
/* Video kare ve alanın tamamını kaplar: genişliği doldurur, alttan hizalanır; üst kenar zemine yumuşakça karışır.
   (Eski düzen 16:9 zemin içindeki küçük bir kareye yerleştiriyordu, video kutu gibi görünüyordu.) */
/* Uzak çekim (bel üstü, masada oturan Roy): kare video alanın yüksekliğine sığar (baş hiç kesilmez), ortalanır ve
   alta dayanır. Yanlar duvara yumuşakça karışır; masa şeridi (--moori-masa-oran: karede masanın kapladığı alt pay)
   alanın arka planında tüm genişlikte sürer. Renkler videodan örneklenir (avatarVideoKur). */
.avatar.video-modu { --moori-boy: min(100cqw, 100cqh); animation: none; aspect-ratio: 1; width: var(--moori-boy); height: auto; top: auto; bottom: 0; transform: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.avatar.video-modu .kare { inset: 0; left: 0; top: 0; width: 100%; }
.avatar.video-modu .vid { object-fit: cover; }
.video-alan:has(.video-modu) { --moori-masa-oran: 9.7%; background: var(--moori-zemin, #93BBE5); }
/* Videonun boyunda arka plan: masa şeridi + videodaki duvar geçişi (üst açık, alt koyu) */
.video-alan:has(.video-modu)::before { content: ""; position: absolute; inset: auto 0 0 0; height: min(100cqw, 100cqh);
  background: linear-gradient(to top, var(--moori-masa, #C8B6AE) var(--moori-masa-oran), var(--moori-zemin-alt, #73A0CC) var(--moori-masa-oran), var(--moori-zemin-orta, #85AFD9) 52%, var(--moori-zemin, #93BBE5)); }
.egitmen-panel:not(.canli) .avatar { animation: none; transform: scale(1.03); }
/* Roy solarak gelmez (12 Kasım 2026): yarı saydamken arkadaki düz zemin rengiyle karışıp bulanık görünüyordu; yükleme ekranı solar */
.egitmen-panel .avatar { transition: none; }
.baglanti-yukleniyor { transition: opacity .25s ease; }
.baglanti-yukleniyor.kapaniyor { opacity: 0; }
.baglanti-yukleniyor.sadece-zemin > * { visibility: hidden; } /* tanıtım turu: yalnız zemin (22 Kasım) */
.egitmen-panel.baglaniyor .avatar, .egitmen-panel.baglaniyor .ad-etiketi, .egitmen-panel.baglaniyor .panel-alt { opacity: 0; }
.egitmen-panel.canli .avatar.dinliyor { animation: nefes 5s ease-in-out infinite, dinle 7s ease-in-out infinite; }
/* Video modunda eski avatarın nefes/baş eğme ölçeklemesi hiçbir durumda çalışmaz: dinlerken %3–4 büyüyüp 1,2° dönüyor,
   konuşmaya geçince sıfırlanıyordu; dinleme→konuşma geçişi sıçrama gibi görünüyordu (videolar zaten nefes alıyor). */
.egitmen-panel .avatar.video-modu { animation: none !important; transform: none !important; rotate: none !important; }.baglanti-yukleniyor { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: linear-gradient(160deg, #EEF4FF, #DCE9FA); color: var(--lacivert); font-weight: 700; font-size: 17px; }
.yukleniyor-halka { width: 52px; height: 52px; border-radius: 50%; border: 5px solid rgba(29, 78, 216, 0.15); border-top-color: var(--mavi); animation: don 0.9s linear infinite; }
@keyframes nefes { 0%, 100% { transform: scale(1.03); } 50% { transform: scale(1.042) translateY(-2px); } }
@keyframes dinle { 0%, 100% { rotate: 0deg; } 40%, 60% { rotate: -1.2deg; } }
@media (prefers-reduced-motion: reduce) { .avatar, .egitmen-panel.canli .avatar.dinliyor { animation: none; } }
.durum { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.nokta { width: 10px; height: 10px; border-radius: 50%; background: #9AA6C0; }
.nokta.dinliyor { background: var(--turkuaz); }
.nokta.konusuyor { background: var(--mavi); animation: nabiz 1s infinite; }
@keyframes nabiz { 50% { transform: scale(1.5); } }
span.canli { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: #B42318; } /* yalnız etiket; panelin .canli durum sınıfına sızmasın */
.kirmizi { width: 8px; height: 8px; border-radius: 50%; background: #D92D20; }

.sag-panel { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--cizgi); border-radius: 28px; overflow: hidden; background: var(--zemin); min-height: 600px; }
.gorunum { flex: 1 1 auto; display: flex; flex-direction: column; }
.gorunum.beyaz { background: #fff; padding: 32px; gap: 18px; }
.gorunum.kaydir { overflow-y: auto; max-height: 82vh; }

.liste-numara { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.liste-numara li { display: flex; gap: 14px; align-items: flex-start; }
.liste-numara li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--acik-turkuaz); display: flex; align-items: center; justify-content: center; font-weight: 800; }

.btn-ana { align-self: flex-start; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--mavi); color: #fff; font-weight: 800; font-size: 17px; }
.btn-ana:disabled { background: var(--cizgi); color: #5A6580; }
.btn-cizgi { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--lacivert); border-radius: 999px; background: #fff; color: var(--lacivert); font-weight: 700; font-size: 15px; }
.btn-acik { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--acik-turkuaz); color: var(--lacivert); font-weight: 700; font-size: 15px; }
.btn-gri { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #F1F3F8; color: var(--lacivert); font-weight: 700; font-size: 15px; }
.btn-ikon { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #F1F3F8; font-size: 18px; }
.satir { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.kart { border: 1px solid var(--cizgi); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.kart-baslik { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; }
/* Ses testi adımları: aktif / silik / bitti */
.adim-kart { border-width: 1.5px; transition: border-color .25s, box-shadow .25s, opacity .25s, background .25s; }
.adim-kart.aktif { border-color: var(--mavi); box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10); }
.adim-kart.silik { opacity: 0.45; background: #F8FAFC; }
.adim-kart.silik #hop-satir { pointer-events: none; }
.adim-kart.bitti { border-color: var(--turkuaz); background: #F3FDFB; }
.adim-ad { display: flex; align-items: center; gap: 10px; }
.adim-no { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: #F1F3F8; color: var(--soluk); transition: background .25s, color .25s; }
.adim-kart.aktif .adim-no { background: var(--mavi); color: #fff; }
.adim-kart.bitti .adim-no { background: var(--turkuaz); color: #0E1A3A; }
.adim-no .tik { width: 16px; height: 16px; display: none; }
.adim-kart.bitti .adim-no .no { display: none; }
.adim-kart.bitti .adim-no .tik { display: block; animation: tik-gel .3s ease-out; }
@keyframes tik-gel { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.adim-kart.bitti .cubuklar { opacity: 0.5; }
#derse-basla:not(:disabled) { box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15); }
.rozet { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.rozet.bekle { background: #F1F3F8; color: var(--soluk); }
.rozet.tamam { background: var(--acik-turkuaz); color: var(--koyu-turkuaz); }
.rozet.sorun { background: #FDEBDD; color: #8A3B12; }
.cubuklar { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.cubuklar span { width: 10px; height: 8px; border-radius: 4px; background: #B7C4E2; transition: height 0.08s; }
.cubuklar.iyi span { background: var(--turkuaz); }
.hata-metin { color: #8A3B12; font-weight: 600; }

.dokum-baslik { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--cizgi); font-size: 17px; }
.son-dakika { background: #FFF4D6; color: #5C4300; padding: 10px 20px; font-size: 14px; font-weight: 700; }
.dokum { flex: 1 1 auto; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; max-height: 70vh; }
.dokum-bos { margin: auto; max-width: 320px; text-align: center; color: #5A6580; }
.balon { max-width: 78%; padding: 10px 14px 8px; box-shadow: 0 1px 1px rgba(14,26,58,0.08); display: flex; flex-direction: column; gap: 4px; }
.balon .kim { font-size: 12px; font-weight: 800; }
.balon .yazi { font-size: 16px; line-height: 1.5; white-space: pre-wrap; }
.balon .alt { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 11.5px; color: #5A6580; }
.balon.egitmen { align-self: flex-start; background: #fff; border-radius: 4px 16px 16px 16px; }
.balon.egitmen .kim { color: var(--mavi); }
.balon.ogrenci { align-self: flex-end; background: #D3F5F0; border-radius: 16px 4px 16px 16px; }
.balon.ogrenci .kim { color: var(--koyu-turkuaz); }
.balon.bekliyor .yazi { color: #5A6580; font-style: italic; }
.isaretle { border: 0; background: none; color: #8A3B12; font-size: 12px; font-weight: 700; padding: 4px 6px; border-radius: 6px; }
.isaretle:hover { background: #FDEBDD; }
.not-satiri { align-self: center; background: #FFF4D6; color: #5C4300; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

#rapor-icerik { display: flex; flex-direction: column; gap: 18px; }
#rapor-icerik h2 { margin-top: 10px; }
#r-duzeltmeler { display: flex; flex-direction: column; gap: 12px; }
.duzeltme { margin-top: 0 !important; }
.ovgu { font-size: 17px; font-weight: 600; background: var(--acik-turkuaz); padding: 14px 16px; border-radius: 14px; }
.ozet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ozet div { background: var(--acik-mavi); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.ozet span { font-size: 13px; color: var(--soluk); }
.ozet b { font-size: 22px; }
.duzeltme { border: 1px solid var(--cizgi); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.duzeltme .s { display: flex; gap: 10px; align-items: baseline; }
.etiket { flex: none; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.etiket.soyledin { color: #8A3B12; background: #FDEBDD; }
.etiket.dogrusu { color: var(--koyu-turkuaz); background: var(--acik-turkuaz); }
.ustu-cizili { text-decoration: line-through; color: #5A6580; }
.kelimeler { display: flex; flex-wrap: wrap; gap: 8px; }
.kelimeler span { background: var(--acik-mavi); padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.kelimeler span b { font-weight: 700; }
.maliyet { border-top: 1px solid var(--cizgi); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.maliyet table { border-collapse: collapse; font-size: 15px; }
.maliyet td { padding: 4px 16px 4px 0; }
.maliyet td:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.maliyet tr.toplam td { font-weight: 800; border-top: 1px solid var(--cizgi); }
.maliyet tr.toplam.genel td { font-size: 17px; color: var(--mavi); }
.maliyet tr.ara-baslik td { text-align: left !important; padding-top: 14px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--soluk); }
.maliyet td small { color: var(--soluk); }
.maliyet #kayit-yeri { font-size: 13px; line-height: 1.5; }

/* Eğitmen defteri paneli */
.defter { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff; border-left: 1px solid var(--cizgi); box-shadow: -8px 0 24px rgba(14,26,58,0.12); display: flex; flex-direction: column; z-index: 10; }
.defter-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--cizgi); font-size: 17px; }
.defter-yeni { padding: 14px 18px; border-bottom: 1px solid var(--cizgi); display: flex; flex-direction: column; gap: 8px; background: var(--zemin); }
.defter textarea, .defter select { width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #CBD3E3; border-radius: 10px; background: #fff; color: var(--metin); resize: vertical; }
.kotu-ornek { font-size: 13px; background: #FDEBDD; color: #7A2E0B; padding: 8px 10px; border-radius: 10px; }
.kurallar { flex: 1 1 auto; overflow-y: auto; padding: 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.kural { border: 1px solid var(--cizgi); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.kural.yeni { border-color: var(--turkuaz); box-shadow: 0 0 0 2px var(--acik-turkuaz); }
.kural.degisti { border-color: var(--mavi); }
.kural.kapali { opacity: 0.6; }
.kural-ust { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.kural-ust select { width: auto; flex: none; padding: 4px 8px; }
.kural-ust .bosluk { flex: 1; }
.kural label { font-size: 12px; font-weight: 700; color: var(--soluk); }
.defter-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--cizgi); }

@media (max-width: 640px) {
  .govde { padding: 12px; gap: 12px; }
  .egitmen-panel { flex-basis: 100%; min-height: 0; height: 46vh; }
  .ad-etiketi { top: 12px; left: 12px; padding: 8px 12px; }
  .panel-alt { bottom: 14px; }
  .gorunum.beyaz { padding: 20px; }
  .ozet { grid-template-columns: 1fr; }
}

/* Rapor hazırlanıyor + geri bildirim */
@keyframes don { to { transform: rotate(360deg); } }
@keyframes nabiz2 { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes dolum { 0% { width: 8%; } 60% { width: 72%; } 100% { width: 92%; } }
.yukleniyor { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 20px; border-radius: 22px; background: var(--zemin); }
.yukleniyor h1 { font-size: 26px; }
.ikon-halka { position: relative; width: 96px; height: 96px; }
.ikon-halka .halka { position: absolute; inset: 0; animation: don 1.1s linear infinite; }
.ikon-halka .belge { position: absolute; left: 26px; top: 26px; }
.ikon-halka.bitti .halka { animation: none; }
.ikon-halka.bitti .halka path { stroke: var(--turkuaz); }
.nk { animation: nabiz2 1.2s ease-in-out infinite; }
.nk2 { animation-delay: .2s; }
.nk3 { animation-delay: .4s; }
.cubuk { width: min(320px, 100%); height: 6px; border-radius: 999px; background: var(--cizgi); overflow: hidden; }
#cubuk-dolu { height: 100%; width: 0; border-radius: 999px; background: var(--turkuaz); }
#cubuk-dolu.calisiyor { transition: width .3s linear; } /* genişliği app.js beklenen rapor süresine göre ayarlar */
#cubuk-dolu.tamam { width: 100%; transition: width .3s; }
#rapora-gec { align-self: center; }
/* Rapor hazırlanırken "Hatalarını pekiştir" (7 Kasım 2026): bekleme ekranı genişler, solda durum ve puan, sağda geniş quiz */
.govde.tek-sutun.bekle-genis .sag-panel { flex-basis: 1240px; }
.bekle-izgara { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.bekle-izgara:has(#b-quiz-kutu:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.bekle-sol { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bekle-quiz[hidden] { display: none; }
.bekle-quiz { padding: 22px; }
.bekle-quiz .quiz { min-height: 260px; }
.b-quiz-bekle { margin: 0; padding: 40px 12px; text-align: center; color: var(--soluk, #5B6683); font-weight: 600; }
@media (max-width: 980px) { .bekle-izgara:has(#b-quiz-kutu:not([hidden])) { grid-template-columns: minmax(0, 1fr); } }
.geri-bildirim { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 0; }
.geri-bildirim h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.yildizlar { display: flex; gap: 8px; }
.yildiz { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: var(--zemin); padding: 0; }
.puan-etiket { font-size: 16px; font-weight: 800; min-width: 90px; }
.gb-kutu { display: flex; flex-direction: column; gap: 10px; }
.gb-kutu label { font-size: 15px; font-weight: 700; }
.gb-kutu textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid #CBD3E3; border-radius: 14px; resize: vertical; color: var(--metin); }
.gb-kutu .btn-ana { align-self: auto; min-height: 48px; font-size: 16px; }
.gb-tesekkur { display: flex; align-items: center; gap: 12px; background: var(--acik-turkuaz); padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; }
textarea:focus-visible, button:focus-visible { outline: 3px solid var(--turkuaz); outline-offset: 2px; }

/* Defter paneli: kategoriler + akordiyon liste */
.defter-baslik { display: flex; align-items: baseline; gap: 8px; }
.btn-acik.kucuk { min-height: 40px; font-size: 14px; padding: 0 14px; }
.kategoriler { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--cizgi); }
.sekme { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: #F1F3F8; color: var(--metin); font-weight: 700; font-size: 14px; }
.sekme .sayi { font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #fff; color: var(--soluk); }
.sekme.secili { background: var(--lacivert); color: #fff; }
.sekme.secili .sayi { background: var(--turkuaz); color: var(--lacivert); }
.kural-listesi { flex: 1 1 auto; overflow-y: auto; }
.kural-bos { padding: 20px 18px; color: var(--soluk); }
.kural-satir { border-bottom: 1px solid var(--cizgi); }
.kural-satir.yeni { box-shadow: inset 3px 0 0 var(--turkuaz); }
.kural-satir.degisti { box-shadow: inset 3px 0 0 var(--mavi); }
.kural-satir.kapali .kural-ac { opacity: 0.55; }
.kural-bas { display: flex; align-items: center; gap: 6px; padding: 0 10px 0 18px; min-height: 56px; }
.kural-bas:hover { background: #F6F8FC; }
.kural-ac { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 14px 0; color: var(--metin); text-align: left; }
.kural-ac .ok { flex: none; transition: transform .15s; }
.kural-ac[aria-expanded="true"] .ok { transform: rotate(90deg); }
.kural-ac .no { flex: none; width: 36px; font-size: 12px; font-weight: 800; color: var(--soluk); }
.kural-ac .baslik { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.durum-rozet { flex: none; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #F1F3F8; color: var(--soluk); }
.durum-rozet.aktif { background: var(--acik-turkuaz); color: var(--koyu-turkuaz); }
.durum-rozet.deneniyor { background: #FFF4D6; color: #5C4300; }
.ikon-btn { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; display: flex; align-items: center; justify-content: center; }
.ikon-btn:hover { background: #EEF2F8; }
.kural-detay { display: flex; flex-direction: column; gap: 10px; padding: 0 18px 16px 64px; font-size: 14px; line-height: 1.55; }
.kural-detay .etk { font-size: 12px; font-weight: 800; color: var(--soluk); display: block; }
.kural-form { display: flex; flex-direction: column; gap: 10px; padding: 0 18px 16px; }
.kural-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 800; color: var(--soluk); }
.kural-form input { font: inherit; font-size: 14px; font-weight: 600; color: var(--metin); padding: 8px 10px; border: 1px solid #CBD3E3; border-radius: 10px; }
.kural-form .satir { align-items: flex-end; }
.kural-form .bosluk { flex: 1; }
.kural-form select { width: auto; }
.btn-kucuk { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; font-weight: 700; font-size: 13px; background: #F1F3F8; color: var(--metin); }
.btn-kucuk.mavi { background: var(--mavi); color: #fff; }
.btn-kucuk.kirmizi { background: #B42318; color: #fff; }
.btn-kucuk.beyaz { background: #fff; }
.sil-onay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 18px 14px; padding: 12px 14px; border-radius: 12px; background: #FDEBDD; font-size: 14px; }
.sil-onay span { flex: 1 1 200px; }
.kural-form textarea, .kural-form select { font-weight: 400; font-size: 14px; color: var(--metin); }
.kural-form input { font-weight: 600; }

/* Rapor hazırlanırken ve raporda eğitmen paneli gizlenir, içerik ortalanır */
.govde.tek-sutun .egitmen-panel { display: none; }
.govde.tek-sutun .sag-panel { flex: 0 1 860px; margin: 0 auto; min-height: 0; align-self: flex-start; background: #fff; }
.govde.tek-sutun .sag-panel > .gorunum { flex: 0 0 auto; padding-bottom: 36px; }
.govde.tek-sutun .gorunum.kaydir { max-height: none; overflow: visible; }

/* ---------- Rapor + Roy'un planı (iki sütun) ---------- */
.govde.tek-sutun.rapor-genis .sag-panel { flex-basis: 1240px; }
.rapor-izgara { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.rapor-sol { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rapor-baslik { display: flex; flex-direction: column; gap: 4px; }
.rapor-tarih { font-size: 14px; font-weight: 600; color: #5A6580; }
.rapor-tarih:empty { display: none; }
.rapor-izgara:has(#rapor-yan[hidden]) { grid-template-columns: minmax(0, 1fr); }
/* Sağ panel: ekrandan uzunsa kendi içinde kayar; deneme dersinde Roy'un planı en üstte */
.rapor-yan { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 6px 28px; margin: 0 -6px; }
.rapor-yan[hidden] { display: none; }
.rapor-yan .plan-panel { position: static; order: -1; }
.rapor-yan .plan-panel[hidden] { display: none; }
.plan-panel { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px; color: #fff; background: linear-gradient(160deg, #1D4ED8, #2F5FE6 60%, #3B6CF0); box-shadow: 0 20px 44px rgba(29, 78, 216, 0.28); }
.pp-alex { display: flex; align-items: center; gap: 12px; }
.pp-alex strong { display: block; font-size: 15px; }
.pp-alex small { font-size: 12px; color: #D6E2FF; }
.pp-foto { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--turkuaz); background: #AACAE7; }
.pp-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 50% 30%; }
.pp-not { font-size: 14px; line-height: 1.55; color: #EEF3FF; background: rgba(255, 255, 255, 0.12); border-radius: 4px 14px 14px 14px; padding: 10px 12px; }
.pp-gosterge { display: flex; align-items: center; gap: 16px; }
.pp-halka { --y: 50; flex: none; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--turkuaz) calc(var(--y) * 1%), rgba(255, 255, 255, 0.18) 0); }
.pp-halka > div { width: 80px; height: 80px; border-radius: 50%; background: #2452DB; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pp-halka b { font-size: 24px; line-height: 1; }
.pp-halka small { font-size: 10px; color: #D6E2FF; margin-top: 3px; }
.pp-beceriler { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pp-bc { font-size: 12px; font-weight: 600; }
.pp-bc > div { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.2); margin-top: 3px; overflow: hidden; }
.pp-bc span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--turkuaz); transition: width .8s ease; }
.pp-hedef { font-size: 14px; color: #D6E2FF; }
.pp-hedef b { color: #fff; }
.pp-kart { background: #fff; color: var(--lacivert); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pp-kart-ust { display: flex; justify-content: space-between; gap: 10px; }
.pp-kart h3 { margin: 6px 0 0; font-size: 17px; }
.pp-rozet { display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--acik-mavi); color: var(--mavi); }
.pp-fiyat { text-align: right; display: flex; flex-direction: column; line-height: 1.1; }
.pp-fiyat s { font-size: 12px; color: #9AA6C0; }
.pp-fiyat b { font-size: 24px; }
.pp-fiyat small { font-size: 12px; color: var(--soluk); }
.pp-plan { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-plan li { display: flex; gap: 9px; font-size: 14px; line-height: 1.4; }
.pp-plan li svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--acik-turkuaz); color: var(--koyu-turkuaz); }
.pp-dugme { align-self: stretch; display: flex; align-items: center; justify-content: center; text-decoration: none; min-height: 50px; font-size: 16px; }
.pp-alt { text-align: center; font-size: 13px; color: #D6E2FF; }
.pp-alt a { color: #fff; font-weight: 700; }
.pp-uyari { font-size: 11px; line-height: 1.5; color: #C3D3FF; }
/* Rapordaki "Roy'un değerlendirmesi" kartı (degerlendirme.js, K-86): deneme plan panelinin seviye ve beceri kısmı */
/* Sol sütunda raporun üstünde ayrı kart: solda başlık, ortada seviye halkası, sağda dört çubuk */
.r-sol-sutun { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dg-kart { display: flex; align-items: center; gap: 32px; margin: 0; padding: 22px 28px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, #1D4ED8, #2F5FE6 60%, #3B6CF0); box-shadow: 0 16px 36px rgba(29, 78, 216, 0.22); }
.dg-kart[hidden] { display: none; }
.dg-bas { display: flex; align-items: center; gap: 12px; flex: none; width: 190px; }
.dg-bas strong { display: block; font-size: 17px; }
.dg-bas small { font-size: 12.5px; color: #D6E2FF; }
.dg-foto { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--turkuaz); background: #AACAE7; }
.dg-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 50% 30%; }
.dg-govde { flex: 1; display: flex; align-items: center; gap: 32px; }
.dg-halka { --y: 50; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--turkuaz) calc(var(--y) * 1%), rgba(255, 255, 255, 0.18) 0); }
.dg-halka > div { width: 70px; height: 70px; border-radius: 50%; background: #2452DB; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dg-halka b { font-size: 22px; line-height: 1; }
.dg-halka small { font-size: 9.5px; color: #D6E2FF; margin-top: 3px; text-align: center; line-height: 1.15; }
.dg-belirsiz { flex: 1; margin: 0; font-size: 14px; line-height: 1.55; color: #EEF3FF; }
.dg-beceriler { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.dg-bc { font-size: 13.5px; font-weight: 600; }
.dg-bc > div { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.2); margin-top: 5px; overflow: hidden; }
.dg-bc i { display: block; height: 100%; width: 0; border-radius: 7px; background: var(--turkuaz); transition: width .8s ease; }
@media (max-width: 760px) { .dg-kart { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; } .dg-bas { width: auto; } }
@media (max-width: 560px) { .dg-govde { gap: 16px; } .dg-beceriler { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 980px) { .rapor-izgara { grid-template-columns: minmax(0, 1fr); } .plan-panel { position: static; } .rapor-yan { position: static; max-height: none; overflow: visible; } }

/* ---------- Sıradaki ders kartı ---------- */
.siradaki { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; color: var(--lacivert); background: linear-gradient(135deg, #DDF7F4 0%, #E3EDFF 60%, #EEF4FF 100%); border: 1px solid #BFE9E2; }
.siradaki::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, 0.35), transparent 70%); pointer-events: none; }
.sd-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.sd-etiket { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--koyu-turkuaz); padding: 6px 12px; border-radius: 999px; }
.sd-etiket svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sd-kim { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--soluk); }
.sd-foto { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #AACAE7; box-shadow: 0 0 0 2px #fff; }
.sd-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 50% 30%; }
.siradaki h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.sd-metin { font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--lacivert); }
.sd-adimlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; counter-reset: sd; }
.sd-adimlar li { counter-increment: sd; background: rgba(255, 255, 255, 0.75); border-radius: 14px; padding: 12px 14px 12px 46px; position: relative; font-size: 14px; font-weight: 600; line-height: 1.4; }
.sd-adimlar li::before { content: counter(sd); position: absolute; left: 12px; top: 11px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mavi); color: #fff; font-size: 12px; font-weight: 800; }
.sd-kaliplar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--soluk); font-weight: 600; }
.sd-kaliplar > div { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-kaliplar b { font-size: 13px; background: #fff; color: var(--mavi); padding: 4px 10px; border-radius: 999px; }
.sd-kaliplar > div > span { font-size: 13px; background: #fff; color: var(--lacivert); font-weight: 500; padding: 4px 12px 4px 4px; border-radius: 999px; }
.sd-kaliplar > div > span b { padding: 3px 9px; background: #EEF4FF; margin-right: 2px; }
.sd-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; position: relative; z-index: 1; }
.sd-dugme { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--mavi); color: #fff; font-weight: 800; text-decoration: none; }
.sd-bilgi { font-size: 14px; font-weight: 600; color: var(--soluk); }
.sd-bilgi b { color: var(--koyu-turkuaz); margin-right: 4px; }
.govde.tek-sutun .sag-panel { overflow: clip; } /* sticky plan paneli için kaydırma kapsayıcısı olmasın */

/* Deneme dersi sonrası şifre belirleme (K-35) */
.hesap-kur { margin: 14px 0 18px; padding: 16px 18px; border: 1.5px solid #C7D7FB; background: var(--acik-mavi); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.hk-metin { display: flex; flex-direction: column; gap: 3px; }
.hk-metin strong { font-size: 16px; font-weight: 800; }
.hk-metin span { color: var(--soluk); font-size: 14px; line-height: 1.5; }
.hk-alanlar { display: flex; gap: 8px; flex-wrap: wrap; }
.hk-alanlar input { flex: 1 1 170px; min-width: 0; font: inherit; font-size: 14px; padding: 11px 13px; border: 1.5px solid var(--cizgi); border-radius: 12px; background: #fff; color: var(--metin); }
.hk-alanlar input:focus { outline: none; border-color: var(--mavi); }
.hk-alanlar .btn-ana { flex: 0 0 auto; }
.hk-hata { color: #B42318; font-size: 14px; font-weight: 600; }
.hk-hata a { color: var(--mavi); }

/* ---------- Ders ekranı: etiketler, canlı altyazı, Ödevin / Konuşma sekmeleri (K-40) ---------- */
.ad-etiketi { flex-direction: row; align-items: center; gap: 8px; padding: 0; background: none; backdrop-filter: none; }
.ad-etiketi > span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 13px; }
.ad-etiketi .canli { background: #fff; color: #B42318; letter-spacing: 0.02em; }
.ad-etiketi .canli[hidden] { display: none; }
.ad-etiketi .kim { background: rgba(14, 26, 58, 0.72); color: #E6ECF8; backdrop-filter: blur(6px); }
.ad-etiketi .kim strong { color: #fff; font-size: 13px; }
.panel-alt { left: 18px; right: auto; top: auto; bottom: 20px; align-items: flex-start; }
.panel-alt .durum { font-size: 13px; padding: 7px 13px; }
.altyazi { position: absolute; left: 50%; transform: translateX(-50%); bottom: 76px; z-index: 2; width: min(88%, 760px); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; pointer-events: none; }
.altyazi p { margin: 0; background: rgba(10, 15, 30, 0.8); color: #fff; font-size: 19px; line-height: 1.45; font-weight: 600; padding: 8px 16px; border-radius: 12px; }
.egitmen-panel.altyazi-kapali .altyazi { display: none; }
.cc-grup { position: absolute; right: 18px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(10, 15, 30, 0.8); }
.cc { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 6px 11px; min-height: 34px; font-weight: 800; font-size: 13px; background: transparent; color: #fff; }
.cc i { font-style: normal; border: 2px solid currentColor; border-radius: 5px; padding: 0 4px; font-size: 11px; line-height: 15px; }
.egitmen-panel.altyazi-kapali .cc { background: #fff; color: var(--lacivert); }
/* Altyazı dili: EN varsayılan; TR seçilince altyazı Türkçe çevirisiyle görünür, MOORI/SEN etiketleri kalır */
/* Mikrofon testinde "Bu adımı atla" (geçici): Derse başla'nın yanında, sağa dayalı, yalnız metin */
.baslat-satir { display: flex; align-items: center; gap: 12px; }
.atla-link { margin-left: auto; border: 0; background: none; padding: 6px 2px; font: inherit; font-size: 14px; font-weight: 700; color: var(--soluk); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.atla-link:hover { color: var(--mavi); }
/* Kulaklık önerisi (K-68): hoparlörde yankı engelleme öğrencinin sesini kısıp geç algılatıyor */
.kulaklik-not { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 11px 14px; border-radius: 14px; background: #EEF4FF; color: var(--lacivert); font-size: 14px; line-height: 1.5; }
.kulaklik-not > span:first-child { font-size: 18px; line-height: 1.2; }
.altyazi-dil { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.altyazi-dil button { border: 0; border-radius: 999px; padding: 5px 11px; min-height: 30px; background: transparent; color: #C9D3E8; font: inherit; font-size: 12px; font-weight: 800; }
.altyazi-dil button[aria-pressed="true"] { background: #fff; color: var(--lacivert); }
.egitmen-panel.altyazi-kapali .altyazi-dil { display: none; }
/* EN altyazıda kelimeler: üstüne gelince çevirisi; altyazı kutusu tıklanmaz, kelimeler tıklanır */
.altyazi .k { pointer-events: auto; cursor: pointer; border-radius: 4px; padding: 0 1px; }
.altyazi .k:hover, .altyazi .k.acik { background: rgba(253, 230, 138, 0.22); box-shadow: inset 0 -2px 0 #FDE68A; }
.kelime-kutu { position: absolute; z-index: 3; width: 240px; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--lacivert); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); text-align: left; }
.kelime-kutu[hidden] { display: none; }
.kelime-kutu::after { content: ''; position: absolute; left: var(--ok, 50%); bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.kelime-kutu b { font-size: 16px; font-weight: 800; }
.kelime-kutu small { font-size: 11.5px; font-weight: 700; color: #6B7690; }
.kelime-kutu .anlam { font-size: 15px; color: #26324D; }
.kelime-kutu .ekle { margin-top: 6px; border: 1.5px solid #BFD0FA; border-radius: 999px; padding: 7px 12px; min-height: 36px; background: var(--acik-mavi); color: var(--mavi); font: inherit; font-size: 13px; font-weight: 800; }
.kelime-kutu .ekle.eklendi { border-color: #9FE3DA; background: var(--acik-turkuaz); color: var(--koyu-turkuaz); }
.kelime-kutu .ekle:disabled { cursor: default; }
/* Arkada yeni cümle birikince: kutu 3 sn hareketsiz kalırsa kapanır; ince çizgi bu süreyi gösterir */
.kelime-kutu .sure { height: 3px; margin-top: 6px; border-radius: 3px; background: #E2E8F2; overflow: hidden; }
.kelime-kutu .sure i { display: block; height: 100%; width: 100%; background: var(--mavi); transform-origin: left; animation: kutu-sure 3s linear forwards; }
@keyframes kutu-sure { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.ders-sekmeler { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--cizgi); }
.ders-sekmeler .soluk { margin-left: auto; font-size: 13px; }
.sekme { border: 0; background: none; padding: 9px 15px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #5A6580; }
.sekme.sec { background: #EEF4FF; color: var(--mavi); }
.sekme em { font-style: normal; font-size: 11px; font-weight: 800; background: var(--turkuaz); color: var(--lacivert); padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.odev-panel { flex: 1 1 auto; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 18px; background: #fff; max-height: 70vh; }
.odev-etk { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #5A6580; margin-bottom: 8px; }
.odev-metin { font-size: 16px; line-height: 1.55; }
.odev-adimlar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.odev-adimlar li button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 1.5px solid var(--cizgi); background: #fff; border-radius: 12px; padding: 11px 13px; font-size: 15px; color: var(--lacivert); }
.odev-adimlar li .kutu { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.8px solid #B8C2D6; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #5A6580; }
.odev-adimlar li.simdi button { border-color: var(--mavi); background: #EEF4FF; font-weight: 700; }
.odev-adimlar li.simdi .kutu { border-color: var(--mavi); color: var(--mavi); }
.odev-adimlar li.tamam button { color: #98A2B8; text-decoration: line-through; }
.odev-adimlar li.tamam .kutu { background: var(--turkuaz); border-color: var(--turkuaz); color: var(--lacivert); }
.odev-adimlar li.yeni-tamam button { animation: adim-parla 1.2s ease; }
@keyframes adim-parla { 0% { background: #DDF7F4; } 100% { background: #fff; } }
.odev-kaliplar { display: flex; flex-wrap: wrap; gap: 8px; }
.odev-kaliplar span { background: #DDF7F4; color: #0A6B64; font-weight: 700; font-size: 14px; padding: 5px 11px; border-radius: 9px; }
.odev-not { margin-top: auto; font-size: 13px; color: #5A6580; }
/* Derste ekran kenardan kenara ve ortadan ikiye bölünür: solda Roy, sağda Ödevin / Konuşma */
.sayfa:has(> .govde:not(.tek-sutun)) { height: 100vh; min-height: 560px; }
.govde:not(.tek-sutun) { max-width: none; padding: 0; gap: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); min-height: 0; }
.govde:not(.tek-sutun) .egitmen-panel, .govde:not(.tek-sutun) .sag-panel { height: auto; min-height: 0; border-radius: 0; }
.govde:not(.tek-sutun) .sag-panel { border: 0; border-left: 1px solid var(--cizgi); background: #fff; }
/* Sekme içerikleri panelin yüksekliğiyle sınırlı kalsın ki konuşma kendi içinde kaysın (yeni satırda en alta iner) */
.govde:not(.tek-sutun) #v-ders { min-height: 0; overflow: hidden; }
.govde:not(.tek-sutun) .dokum, .govde:not(.tek-sutun) .odev-panel { max-height: none; flex: 1 1 0; min-height: 0; }
/* Roy: 16:9 genişletilmiş zemin + kare yüz katmanları. Alan yüksekliğinin üst %85'i görünür (baş ve omuzlar tam),
   genişlik yetmezse yanlardan doldurur. Kare katmanların yeri genişletilmiş görseldeki yüzün konumudur (2752×1536 içinde 814,95 · 1124px) */
.avatar { left: 50%; top: 0; bottom: auto; aspect-ratio: 2752 / 1536; height: max(118cqh, 55.8cqw); width: auto; translate: -50% 0; transform-origin: 50% 40%; -webkit-mask-image: none; mask-image: none; }
.avatar .zemin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .kare { position: absolute; left: 29.58%; top: 6.18%; width: 40.84%; aspect-ratio: 1; }
/* Kare, zemine kenarlarından yumuşakça karışır (dikiş görünmez) */
.avatar .kare .taban { -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); }
/* Zemin yüklenemezse eski davranış: kare tam alanı kaplar */
.avatar:not(:has(.zemin)) { aspect-ratio: 1; height: auto; width: max(100cqw, 84cqh); top: auto; bottom: 0; }
.avatar:not(:has(.zemin)) .kare { inset: 0; width: 100%; }
/* Ağız şekilleri arasında kısa yumuşak geçiş */
.avatar .agiz { transition: opacity 80ms ease-out; }
@media (max-width: 640px) {
  .sayfa:has(> .govde:not(.tek-sutun)) { height: auto; }
  .govde:not(.tek-sutun) { grid-template-columns: 1fr; grid-template-rows: auto; }
  .govde:not(.tek-sutun) .egitmen-panel { height: 52vh; min-height: 0; }
  .govde:not(.tek-sutun) .sag-panel { height: auto; min-height: 50vh; border-left: 0; border-top: 1px solid var(--cizgi); }
  .altyazi { bottom: 60px; }
  .altyazi p { font-size: 15px; }
  .panel-alt { top: auto; bottom: 14px; left: 12px; right: auto; }
  .cc-grup { bottom: 14px; right: 12px; }
  .cc span { display: none; } /* telefonda yalnız "CC" */
  .kelime-kutu { width: 210px; }
}

/* ---------- Ders raporu: Ödev Başarın kartı (K-41) ---------- */
.r-odev { border: 1.5px solid var(--cizgi); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; background: #fff; margin: 4px 0; }
.ro-bas { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ro-bas h3 { margin: 0; font-size: 18px; }
.ro-bas small { display: block; color: var(--soluk); font-size: 13px; margin-top: 3px; line-height: 1.45; }
.ro-rozet { flex: none; background: #EEF4FF; color: var(--mavi); font-weight: 800; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.ro-rozet.tam { background: var(--acik-turkuaz); color: var(--koyu-turkuaz); }
.ro-etk { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soluk); margin-bottom: 8px; }
.ro-adimlar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ro-adimlar li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; background: #F7F9FC; }
.ro-adimlar b { display: block; font-size: 15px; }
.ro-adimlar li.tamam b { text-decoration: line-through; text-decoration-color: rgba(14, 26, 58, 0.35); color: #4A5672; }
.ro-tik { flex: none; width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; }
.ro-tik.tamam { background: var(--turkuaz); color: var(--lacivert); }
.ro-tik.kismen { background: #FDE68A; color: #78350F; }
.ro-tik.yok { background: #fff; border: 1.8px solid #C5CEDD; }
.ro-kanit { display: block; margin-top: 4px; font-size: 13.5px; color: var(--soluk); font-style: italic; line-height: 1.45; }
.ro-durum { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 800; font-style: normal; color: #92400E; background: #FEF3C7; padding: 1px 8px; border-radius: 999px; vertical-align: 1px; text-decoration: none; }
.ro-durum.yok { color: #9A3412; background: #FFEDD5; }
.ro-kaliplar { display: flex; flex-direction: column; gap: 8px; }
.ro-kalip { display: flex; align-items: flex-start; gap: 12px; padding: 11px 13px; border-radius: 12px; border: 1.5px dashed #9FE3D8; background: #F3FCFA; }
.ro-kalip.yok { border-color: var(--cizgi); background: #fff; }
.ro-kalip .ro-tik.yok { border: 0; background: #F1F3F8; color: #8A94AD; font-size: 16px; } /* kullanılmayan kalıp: boş kutu yerine silik eksi */
.ro-kalip b { font-size: 15px; }
.ro-say { margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--koyu-turkuaz); white-space: nowrap; }
.ro-kalip.yok .ro-say { color: #9A3412; }
@media (max-width: 640px) { .ro-bas { flex-direction: column; } }

/* Kalıpların Türkçe karşılığı */
.odev-kaliplar span b { font-weight: 800; }
.odev-kaliplar span { font-weight: 500; }
.ro-anlam { font-size: 14px; color: var(--soluk); font-weight: 500; }

/* Rapor sonu mini quiz (K-42) */
.quiz { border: 1.5px solid var(--cizgi); border-radius: 20px; padding: 20px 22px; margin-top: 16px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #F5F9FF, #fff 60%); }
.quiz[hidden] { display: none; }
.qz-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qz-bas h3 { margin: 0; font-size: 18px; }
.qz-bas small { display: block; color: var(--soluk); font-size: 13px; font-weight: 500; margin-top: 3px; }
.qz-etk { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--soluk); }
.qz-btn { border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; background: var(--mavi); color: #fff; }
.qz-btn.ikincil { background: transparent; color: var(--soluk); border: 1.5px solid var(--cizgi); padding: 10px 18px; font-size: 14px; }
.qz-dugmeler { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qz-cizgiler { display: flex; gap: 6px; }
.qz-cizgiler i { flex: 1; height: 6px; border-radius: 99px; background: var(--cizgi); }
.qz-cizgiler i.dogru { background: var(--turkuaz); }
.qz-cizgiler i.yanlis { background: #F59E6B; }
.qz-cizgiler i.simdi { background: var(--mavi); }
.qz-kaynak { font-size: 12px; font-weight: 700; color: var(--soluk); background: #EEF4FF; padding: 4px 10px; border-radius: 999px; }
.qz-kaynak.hata { background: #FFF1EA; color: #C2410C; }
.qz-soru { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0; color: var(--lacivert); }
.qz-bosluk { display: inline-block; min-width: 70px; border-bottom: 2px solid var(--mavi); margin: 0 4px; }
.qz-siklar { display: flex; flex-direction: column; gap: 8px; }
.qz-sik { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--lacivert); background: #fff; border: 1.5px solid var(--cizgi); border-radius: 14px; padding: 13px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.qz-sik:hover:not(:disabled) { border-color: var(--mavi); background: #EEF4FF; }
.qz-sik:disabled { cursor: default; }
.qz-harf { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #EEF4FF; color: var(--mavi); font-weight: 800; font-size: 13px; }
.qz-sik.dogru { border-color: var(--turkuaz); background: #DDF7F4; }
.qz-sik.dogru .qz-harf { background: var(--turkuaz); color: var(--lacivert); }
.qz-sik.yanlis { border-color: #F59E6B; background: #FFF1EA; }
.qz-sik.yanlis .qz-harf { background: #F59E6B; color: #fff; }
.qz-etiket { margin-left: auto; font-size: 12px; font-weight: 700; color: #C2410C; white-space: nowrap; }
.qz-aciklama { border-radius: 14px; padding: 13px 15px; font-size: 14.5px; line-height: 1.55; color: var(--lacivert); }
.qz-aciklama b { display: block; margin-bottom: 2px; }
.qz-aciklama.iyi { background: #DDF7F4; }
.qz-aciklama.kotu { background: #FFF1EA; }
.qz-skor { display: flex; align-items: center; gap: 16px; }
.qz-skor p { margin: 0; font-size: 15px; line-height: 1.5; }
.qz-daire { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 800; background: conic-gradient(var(--turkuaz) calc(var(--y) * 1%), var(--cizgi) 0); }
.qz-daire span { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.qz-tekrar { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qz-tekrar li { background: #F7F9FC; border-radius: 12px; padding: 10px 13px; font-size: 14px; line-height: 1.5; }
.qz-tekrar li b { color: #0A6B64; }
.qz-not { font-size: 13.5px; color: var(--soluk); background: #EEF4FF; border-radius: 12px; padding: 10px 13px; line-height: 1.5; }
@media (max-width: 560px) { .quiz { padding: 16px; } .qz-soru { font-size: 16.5px; } .qz-etiket { white-space: normal; } }

/* Hoparlör testi: sesli mesaj oynatıcı */
.hop-satir { display: flex; flex-direction: column; gap: 12px; }
.ses-oynat { display: flex; align-items: center; gap: 14px; background: #EEF4FF; border-radius: 999px; padding: 8px 18px 8px 8px; max-width: 420px; }
.so-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--mavi); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(29, 78, 216, .3); }
.so-btn svg { grid-area: 1 / 1; }
.so-btn .so-durdur, .so-btn.caliyor .so-oynat { display: none; }
.so-btn.caliyor .so-durdur { display: block; }
/* Dalga podcast oynatıcısının aynısı (K-163, 20 Kasım): sesten çıkarılan ince çubuklar,
   altında soluk yansıma; dinlenen kısım turkuazdan maviye dolar */
.so-dalga { position: relative; flex: 1; height: 28px; min-width: 0; }
.so-dalga svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.so-dalga .kat { position: absolute; inset: 0; }
.so-dalga .taban { fill: #CBD6EC; }
.so-dalga .dolu { fill: url(#so-dg); }
.so-sure { font-size: 13px; font-weight: 700; color: var(--soluk); font-variant-numeric: tabular-nums; }
.so-etk { font-size: 13px; color: var(--soluk); margin: -6px 0 0 4px; }
.hop-satir .satir:not(:has(:not([hidden]))) { display: none; }
/* "Evet, duydum" sonrası oynatıcı da kartla birlikte yeşile döner */
.adim-kart.bitti .ses-oynat { background: #DDF7F4; }
.adim-kart.bitti .so-btn { background: var(--turkuaz); color: var(--lacivert); box-shadow: 0 6px 16px rgba(45, 212, 191, .35); }
.adim-kart.bitti .so-dalga .taban { fill: #9FE5DC; }

/* Rapor sağ paneli ve istatistikler: ders sonu raporu (ders.html) ve panel raporu (rapor.html) ortak */
.r-yan[hidden], .r-mavi[hidden], .r-kelime-kart[hidden] { display: none; }
.r-mavi { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 24px; color: #fff; background: linear-gradient(160deg, #1D4ED8, #2F5FE6 60%, #3B6CF0); box-shadow: 0 20px 44px rgba(29, 78, 216, 0.28); }
.r-mavi .quiz { margin-top: 0; color: var(--lacivert); }
.r-moori { display: flex; align-items: center; gap: 12px; }
.r-moori strong { display: block; font-size: 16px; }
.r-moori small { font-size: 13px; color: #DDE7FF; }
.r-foto { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--turkuaz); background: #AACAE7; }
.r-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 50% 30%; }
.r-kelime-kart { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--cizgi); }
.r-kk-ust { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.r-kk-ust b { font-size: 16px; }
.r-kk-ust button { border: 0; background: none; padding: 6px 0; min-height: 32px; color: var(--mavi); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.r-kk-ust button[hidden] { display: none; }
.r-kelimeler { display: flex; flex-direction: column; gap: 8px; }
.r-kel { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--acik-mavi); }
.r-kel div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.r-kel b { font-size: 15px; }
.r-kel small { font-size: 13px; color: var(--soluk); }
.r-kel button { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid #BFD0FA; background: #fff; color: var(--mavi); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.r-kk-not { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--soluk); }
.r-kk-deste { display: inline-block; align-self: flex-start; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mavi); color: #fff; font-size: 13.5px; font-weight: 800; text-decoration: none; } /* ders destesine git (K-82) */
.r-kel button.eklendi { border-color: #9FE3DA; background: var(--acik-turkuaz); color: var(--koyu-turkuaz); font-size: 15px; cursor: default; }
/* Bu dersin istatistikleri (karşılaştırmalar nötr renkte) */
/* Deneme raporunun altındaki paket seçimi (app.js, K-90) */
/* Deneme raporu altındaki paketler (K-90, 10 Kasım): raporun iki sütununun altında, rapor kutusunun kenarlarına kadar uzanan
   mavi-yeşil bant; ana sayfadaki paketler bölümüyle aynı kartlar, her kartın kendi düğmesi */
.pkc { margin: 28px -32px -36px; padding: 52px 32px 60px; background: linear-gradient(165deg, #DCE9FF 0%, #EEF4FF 55%, #D5F6EF 100%); display: grid; gap: 28px; }
.pkc[hidden] { display: none; }
.pkc-bas { display: grid; gap: 10px; max-width: 760px; }
.pkc-etk { justify-self: start; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; color: #0A6B64; font-size: 13px; font-weight: 800; box-shadow: 0 2px 8px rgba(14, 26, 58, .06); }
.pkc h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; font-weight: 800; }
.pkc-bas p { margin: 0; font-size: 17px; line-height: 1.6; color: #44506B; }
.pkc-paketler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } /* K-234: 4 paket */
.pkc-pk { display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid #DCE6FA; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px -18px rgba(29, 78, 216, .35); color: var(--lacivert); }
.pkc-pk.oner { border: 0; box-shadow: inset 0 0 0 3px var(--turkuaz), 0 24px 44px -20px rgba(29, 78, 216, .4); }
.pkc-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkc-pk h3 { margin: 0; font-size: 22px; }
.pkc-rozet { background: #DDF7F4; color: #0A6B64; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pkc-dk { margin: 0; font-size: 17px; color: #44506B; }
.pkc-dk b { color: var(--lacivert); }
.pkc-fiyat { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.pkc-fiyat small { font-size: 16px; font-weight: 500; color: #44506B; letter-spacing: 0; }
.pkc-db { align-self: flex-start; font-size: 15px; font-weight: 700; padding: 8px 14px; border-radius: 12px; background: #DDF7F4; color: #0A6B64; }
.pkc-pk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #44506B; }
.pkc-dugme { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; background: #fff; color: var(--mavi); box-shadow: inset 0 0 0 1.5px #C9D6F5; text-decoration: none; font-weight: 800; font-size: 15.5px; }
.pkc-pk.oner .pkc-dugme { background: var(--mavi); color: #fff; box-shadow: none; }
.pkc-dugme:hover { filter: brightness(1.05); }
.pkc-guven { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: #44506B; }
.pkc-guven span::before { content: '✓'; margin-right: 6px; color: #0F9F6E; font-weight: 800; }
@media (max-width: 1200px) { .pkc-paketler { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pkc-paketler { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pkc { margin: 24px -20px -20px; padding: 36px 20px 44px; } }
/* Rapordaki öne çıkan kelimeler (kelimeler.js, K-89): kart ızgarası, altta kayıt bilgisi */
.kl-bolum { display: flex; flex-direction: column; gap: 12px; }
.kl-bolum[hidden] { display: none; }
.kl-bas { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kl-bas h2 { margin: 0; font-size: 19px; }
.kl-bas small { font-size: 13px; font-weight: 600; color: var(--soluk); }
.kl-izgara { display: flex; flex-wrap: wrap; gap: 10px; }
.kl-kart { flex: 1 1 calc(25% - 10px); min-width: 150px; position: relative; min-height: 84px; padding: 14px 14px 12px; border-radius: 16px; background: var(--acik-mavi); display: flex; flex-direction: column; gap: 4px; }
.kl-izgara.uc .kl-kart { flex-basis: calc(33.3% - 10px); }
.kl-kart b { font-size: 16px; line-height: 1.3; padding-right: 34px; overflow-wrap: anywhere; }
.kl-kart small { font-size: 13px; font-weight: 600; color: var(--soluk); }
.kl-ses { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: var(--mavi); display: grid; place-items: center; cursor: pointer; }
.kl-ses svg { width: 15px; height: 15px; }
/* Hover ve "çalıyor" (İlker, 10 Kasım): üstüne gelince mavi zemin; basınca ses gelene kadar ve çalarken simge yerine 3 çizgili dalga */
.kl-ses { transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.kl-ses:hover { background: var(--mavi); color: #fff; transform: scale(1.08); box-shadow: 0 4px 12px rgba(29, 78, 216, .3); }
.kl-ses:focus-visible { outline: 2px solid var(--mavi); outline-offset: 2px; }
.kl-dalga { display: none; align-items: center; gap: 2px; height: 14px; }
.kl-dalga i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; animation: kl-dalga .7s ease-in-out infinite; transform-origin: center; }
.kl-dalga i:nth-child(2) { animation-delay: .15s; }
.kl-dalga i:nth-child(3) { animation-delay: .3s; }
.kl-ses.caliyor { background: var(--mavi); color: #fff; }
.kl-ses.caliyor svg { display: none; }
.kl-ses.caliyor .kl-dalga { display: flex; }
@keyframes kl-dalga { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .kl-dalga i { animation: none; } .kl-ses:hover { transform: none; } }
.kl-not { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--acik-turkuaz); color: var(--koyu-turkuaz); font-size: 13.5px; font-weight: 600; }
.kl-not.bos { background: #F5F7FB; color: var(--soluk); }
.kl-not b { color: var(--lacivert); }
.kl-tik { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--koyu-turkuaz); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.kl-dugme { margin-left: auto; flex: none; border: 0; border-radius: 999px; padding: 9px 16px; background: var(--mavi); color: #fff; font: inherit; font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; }
@media (max-width: 640px) { .kl-kart { flex-basis: calc(50% - 10px); } .kl-not { flex-wrap: wrap; } .kl-dugme { margin-left: 0; } }
/* Rapor istatistikleri (istatistik.js, K-88): solda pay kartı ve süre donut'u, sağda dört satırlık liste */
.is-izgara { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; }
.is-izgara.tek { grid-template-columns: minmax(0, 1fr); }
.is-sol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.is-etk { font-size: 12.5px; font-weight: 700; color: var(--soluk); }
.is-buyuk { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.is-buyuk small { font-size: 14px; font-weight: 700; color: var(--soluk); }
.is-not { font-size: 12.5px; font-weight: 600; color: var(--soluk); }
.is-pay { border-radius: 18px; padding: 16px; background: linear-gradient(160deg, #1D4ED8, #3B6CF0); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.is-pay .is-etk { color: #D6E2FF; }
.is-pay .is-buyuk { font-size: 30px; }
.is-pay .is-buyuk small { color: #D6E2FF; }
.is-serit { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); display: flex; }
.is-serit i { display: block; height: 100%; border-radius: 999px 0 0 999px; background: var(--turkuaz); }
.is-serit span { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: #fff; border-radius: 2px; }
.is-efsane { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: #D6E2FF; }
.is-efsane b { color: #fff; }
.is-sure { border: 1px solid var(--cizgi); border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 16px; background: #fff; }
.is-donut { --y: 50; flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--mavi) calc(var(--y) * 1%), #E6EBF3 0); }
.is-donut > div { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--mavi); }
.is-liste { border: 1px solid var(--cizgi); border-radius: 18px; padding: 6px 16px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.is-satir { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--cizgi); }
.is-satir:last-child { border-bottom: 0; }
.is-ad { font-size: 14px; font-weight: 700; color: var(--lacivert); }
.is-ad small { font-size: 12.5px; font-weight: 600; color: var(--soluk); }
.is-satir b { font-size: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.is-ikon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
@media (max-width: 640px) { .is-izgara { grid-template-columns: minmax(0, 1fr); } }
.r-ist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.r-ist > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px; border-radius: 16px; background: var(--acik-mavi); }
.r-ist span { font-size: 12.5px; font-weight: 600; color: var(--soluk); }
.r-ist b { font-size: 22px; font-variant-numeric: tabular-nums; }
.r-ist b small { font-size: 13px; font-weight: 700; color: var(--soluk); }
.r-ist em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--soluk); }
.r-cubuk { position: relative; height: 6px; margin-top: 2px; border-radius: 6px; background: #D7E2F8; }
.r-cubuk i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--mavi); }
.r-cubuk span { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--lacivert); }
.r-ist-not { margin: -8px 0 0; font-size: 13px; color: var(--soluk); }
.r-uzun { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--cizgi); border-radius: 16px; }
.r-uzun span { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--soluk); }
.r-uzun p { margin: 0; font-size: 15.5px; line-height: 1.55; font-style: italic; }
.r-puan-rozet { margin-left: auto; flex: none; padding: 6px 11px; border-radius: 999px; background: #FEF3C7; color: #7A4E0B; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.r-puan-rozet[hidden] { display: none; }

/* ---------- Görüntülü görüşme görünümü (K-79, Taslak 1): ders sırasında koyu zemin, ortada Roy, altta düğmeler ---------- */
.gorusme-kim { display: none; }
.gorusme-alt[hidden] { display: none; }
body.gorusme { background: #0B1020; }
body.gorusme .sayfa { height: 100vh; min-height: 520px; background: #0B1020; color: #fff; }
body.gorusme .ust { border-bottom: 0; padding: 12px 22px; }
body.gorusme .ust .logo, body.gorusme .adimlar, body.gorusme #bitir { display: none; }
body.gorusme .gorusme-kim { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.gorusme-kim img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.gorusme-kim strong { display: block; font-size: 15px; }
.gorusme-kim small { color: #9FB0CF; font-size: 12.5px; }
body.gorusme .sayac { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, .1); }
body.gorusme .sayac::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5383B; }
body.gorusme .sayac.son { background: rgba(180, 83, 9, .85); }
body.gorusme .govde { grid-template-columns: 1fr; place-items: center; padding: 0 16px; }
body.gorusme .sag-panel { display: none; }
/* Konuşma paneli açıkken (K-79): Roy kartının sağında, kartla aynı boyda; yalnız konuşma dökümü */
/* Roy kartının genişliği (7 Kasım 2026, İlker: "%15 büyüt, ekrana oranlı kalsın, bir noktadan sonra büyümesin"): ekranın %70'i
   (eski 880 px, 1440 px ekranda ~%61 idi; ×1,15), ekran 1600 px'e gelince durur (en fazla 1120 px). Yükseklik sınırı aynı:
   altta düğmeler ve üst satır için 210 px kalır, kısa ekranda kart ekrandan taşmaz. */
/* 17 Kasım 2026 (İlker): "%15 büyüt; ekrana göre oranlı büyüsün/küçülsün, 2500 px ekranda daha da büyük olsun".
   Ekranın %80,5'i (eski %70 × 1,15), 1600 px'te 1288 px'e ulaşır; 1920 px'e kadar orada kalır, sonra ekranın %67'siyle
   büyümeye devam eder (2560 px ekranda ~1715 px). 1024 px ekranda ~824 px. Yükseklik sınırı aynı kalır (kısa ekranda taşmaz). */
body.gorusme { --moori-g: min(80.5vw, max(1288px, 67vw)); }
@media (max-width: 700px) { body.gorusme { --moori-g: 100vw; } } /* telefonda kart tam genişlik (yan boşluk %30 olunca çok küçülüyor) */
/* 18 Kasım 2026 (İlker): "Roy'un görseli tüm ekranlarda %7 küçük olsun" → kart genişliği × 0,93 (yükseklik 16:9'la birlikte küçülür) */
body.gorusme { --roy-olcek: .93; }
body.gorusme.dokum-acik { --kart-g: calc(min(var(--moori-g), calc((100vh - 210px) * 16 / 9), calc(100vw - 420px)) * var(--roy-olcek)); }
body.gorusme.dokum-acik .govde { grid-template-columns: var(--kart-g) 340px; justify-content: center; gap: 16px; }
body.gorusme.dokum-acik .govde .egitmen-panel { width: var(--kart-g); }
body.gorusme.dokum-acik .govde .sag-panel { display: flex; width: 340px; height: calc(var(--kart-g) * 9 / 16); border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: var(--lacivert); }
body.gorusme .sag-panel .ders-sekmeler, body.gorusme .sag-panel #odev-panel { display: none; }
body.gorusme .sag-panel #v-ders::before { content: "Geçmiş"; /* K-201: düğmenin adıyla aynı */ display: block; padding: 14px 18px 10px; font-weight: 800; font-size: 15px; border-bottom: 1px solid var(--cizgi); }
body.gorusme .sag-panel #dokum { display: flex !important; padding: 14px; }
/* Roy kartı ekranı kaplamaz: en fazla ~880 px, 16:9 (uzakta durur, ağız hareketi daha az göze batar) */
/* (.govde:not(.tek-sutun) köşeleri sıfırladığı için seçici güçlü: Google Meet gibi yuvarlak köşe) */
body.gorusme .govde .egitmen-panel { width: calc(min(100%, var(--moori-g), calc((100vh - 210px) * 16 / 9)) * var(--roy-olcek)); aspect-ratio: 16 / 9; height: auto; flex: none; border-radius: 22px; overflow: hidden; background: #1B2238; }
body.gorusme .video-alan, body.gorusme .video-alan:has(.video-modu) { background: #d6cec6 url('/egitmen/yeni-renk/moori-soluk.webp') center / cover no-repeat; } /* D-21: yeni soluk renk */
body.gorusme .video-alan::before { display: none; }
/* Alttaki koyu geçiş kaldırıldı: altyazının kendi cam kutusu var; kesit oynatıcıları bu katmanın üstüne çıkınca gölge kesit
   değiştikçe gelip gidiyordu (K-81). Roy'un katmanları kendi içinde kalır (isolation), dışarıdaki katmanlarla karışmaz. */
body.gorusme .video-alan::after { display: none; }
.avatar.video-modu { isolation: isolate; }
body.gorusme .avatar:not(.oda) { display: none; } /* oda videosu gelene kadar odadaki Roy'un fotoğrafı görünür */
.avatar.video-modu.oda { inset: 0; left: 0; top: 0; translate: none; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
.avatar.video-modu.oda .kare { inset: 0; width: 100%; height: 100%; }
.video-alan:has(.oda)::before { display: none; }
body.gorusme .ad-etiketi { display: none; }
body.gorusme .panel-alt { left: 14px; top: 14px; bottom: auto; }
body.gorusme .panel-alt .durum { background: rgba(14, 22, 44, .62); color: #fff; backdrop-filter: blur(8px); }
body.gorusme .altyazi { bottom: 16px; width: min(76%, 640px); }
body.gorusme .altyazi p { font-size: 17px; padding: 8px 15px; background: rgba(14, 22, 44, .66); backdrop-filter: blur(10px); }
body.gorusme .egitmen-panel.sessiz .altyazi { bottom: 58px; }
/* "TR" düğmesi ve Türkçe kart (K-119): düğme altyazının solunda yuvarlak, Türkçesi altta beyaz kartta */
.altyazi p { position: relative; }
.tr-dugme { position: absolute; left: -46px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(14, 22, 44, .66); backdrop-filter: blur(8px); color: #fff; font: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; cursor: pointer; pointer-events: auto; transition: background .15s, color .15s; }
.tr-dugme:hover { background: rgba(14, 22, 44, .85); }
.tr-dugme[aria-pressed="true"] { background: #fff; color: var(--mavi); }
/* 11 Kasım: Türkçe kart beyazdı, "Ne diyebilirim?" kartıyla karışıyordu → soluk, yarı saydam zemin ve sarımsı yazı */
body.gorusme .altyazi p.tr-kart, .altyazi p.tr-kart { margin: 0; padding: 7px 14px; border-radius: 12px; background: rgba(14, 22, 44, .38); backdrop-filter: blur(6px); color: #FDE68A; font-size: 15px; font-weight: 600; line-height: 1.45; box-shadow: none; pointer-events: auto; }
/* Giriş animasyonu yalnız kart ilk açıldığında (app.js .yeni ekler); altyazı her yenilendiğinde kart yeniden yanıp sönmesin */
.altyazi p.tr-kart.yeni { animation: tr-gel .2s ease-out; }
body.gorusme .altyazi p.tr-kart.bekliyor { color: rgba(253, 230, 138, .6); font-style: italic; }
@keyframes tr-gel { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .tr-dugme { left: auto; right: -8px; top: -14px; transform: none; width: 30px; height: 30px; font-size: 11px; } }
.video-alan .son-dakika { position: absolute; z-index: 3; top: 14px; left: 50%; translate: -50% 0; border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.video-alan .son-dakika[hidden], .sessiz-uyari[hidden], .odev-ust[hidden] { display: none; }
.sessiz-uyari { position: absolute; z-index: 3; left: 50%; bottom: 16px; translate: -50% 0; padding: 8px 15px; border-radius: 999px; background: rgba(229, 56, 59, .92); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
/* Ödev hatırlatması görselin üzerinde, altyazı gibi cam */
.odev-ust { position: absolute; z-index: 2; top: 14px; right: 14px; width: 240px; padding: 12px 13px 11px; border-radius: 16px; background: rgba(14, 22, 44, .62); backdrop-filter: blur(12px); color: #fff; font-size: 12.5px; }
.odev-ust h3 { margin: 0 0 3px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #A9C1F5; }
.odev-ust p { margin: 0 0 9px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.odev-ust p[hidden] + ol { margin-top: 9px; } /* K-117: paragraf yok, liste başlığın altında */
.odev-ust ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.odev-ust li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; color: #E6ECFA; cursor: pointer; }
.odev-ust li b { flex: none; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; background: rgba(255, 255, 255, .14); }
.odev-ust li.tamam { color: #9FB0CF; text-decoration: line-through; }
.odev-ust li.tamam b { background: #0F9F6E; }
.odev-ust li.simdi b { background: var(--mavi); }
/* 20 Kasım (İlker): beyaz zeminli listenin "adim-parla" animasyonu beyaza dönerek bitiyordu; koyu kutuda satır önce beyaz oluyordu.
   Koyu kutuya kendi animasyonu: hafif turkuaz parlama, sonra şeffaf */
.odev-ust li.yeni-tamam { animation: adim-parla-koyu 1.2s ease; border-radius: 8px; }
@keyframes adim-parla-koyu { 0% { background: rgba(45, 212, 191, .32); } 100% { background: transparent; } }
.odev-ust-kaliplar { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.odev-ust-kaliplar:empty { display: none; }
.odev-ust-kaliplar span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; }
/* Alttaki düğmeler */
.gorusme-alt { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 22px 18px; background: #0B1020; color: #fff; }
.ga-not { color: #8FA3CC; font-size: 12.5px; }
.ga-dugmeler { display: flex; gap: 22px; }
.gorusme-alt .altyazi-dil { justify-self: end; background: rgba(255, 255, 255, .1); }
.ga-dugme { display: grid; justify-items: center; gap: 7px; border: 0; background: none; color: #E6ECFA; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ga-yuvarlak { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .15s; }
.ga-dugme:hover .ga-yuvarlak { background: rgba(255, 255, 255, .2); }
.ga-dugme svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ga-dugme:disabled { opacity: .5; cursor: default; }
.ga-dugme.bitir .ga-yuvarlak { background: #E5383B; }
.ga-dugme.bitir:hover .ga-yuvarlak { background: #C92A2D; }
#cc[aria-pressed="false"] .ga-yuvarlak, .ga-dugme.ac-kapa[aria-pressed="false"] .ga-yuvarlak { background: rgba(255, 255, 255, .05); color: #8FA3CC; }
.ga-dugme.ac-kapa[aria-pressed="false"] > span:last-child { color: #8FA3CC; }
.ga-dugme[hidden] { display: none; }
/* "Ne diyebilirim?" (K-114): alttaki mod düğmesi açıkken sarı ampul; öneri kartı altyazının altında beyaz, altyazı yukarı kayar */
.ipucu-dugme[aria-pressed="true"] .ga-yuvarlak { background: rgba(251, 191, 36, .2); color: #FBBF24; }
.ipucu-dugme[aria-pressed="true"]:hover .ga-yuvarlak { background: rgba(251, 191, 36, .3); }
.ipucu { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 16px; width: min(76%, 600px); padding: 10px 14px 11px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--lacivert); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); text-align: left; animation: ipucu-gel .25s ease-out; }
.ipucu[hidden], .ipucu-hap[hidden] { display: none; }
@keyframes ipucu-gel { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.ipucu-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.ipucu-etk { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mavi); }
.ipucu-etk svg, .ipucu-hap svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ipucu-kapat { border: 0; background: none; color: #7A859F; font-size: 15px; line-height: 1; padding: 2px 4px; cursor: pointer; }
.ipucu-en { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.35; }
.ipucu-tr { margin: 3px 0 0; font-size: 13.5px; color: #44506B; }
.ipucu-bekle { margin: 0; font-size: 14px; color: #6B7591; }
body.gorusme .egitmen-panel.ipucu-acik .altyazi { bottom: calc(24px + var(--ipucu-h, 90px)); }
.ipucu-hap { position: absolute; z-index: 3; right: 14px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--lacivert); font: inherit; font-size: 13.5px; font-weight: 800; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: pointer; animation: ipucu-gel .4s ease-out; }
.ipucu-hap svg { width: 17px; height: 17px; color: #D97706; }
.ipucu-hap.parla { animation: ipucu-parla 1.6s ease-in-out infinite; }
@keyframes ipucu-parla { 0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, .25), 0 0 0 0 rgba(251, 191, 36, 0); } 50% { box-shadow: 0 6px 18px rgba(0, 0, 0, .25), 0 0 0 6px rgba(251, 191, 36, .45); } }
/* Ses kapalı: mikrofon kırmızı, üzerinde çapraz çizgi */
.ga-dugme.mik .cizgi { opacity: 0; transition: opacity .15s; }
.ga-dugme.mik[aria-pressed="true"] .cizgi { opacity: 1; }
.ga-dugme.mik[aria-pressed="true"] .ga-yuvarlak { background: rgba(229, 56, 59, .18); color: #FF6B6E; }
.ga-dugme.mik[aria-pressed="true"] #sessiz-yazi { color: #FF8A8C; }
@media (max-width: 720px) {
  body.gorusme .egitmen-panel { width: calc(100% * var(--roy-olcek)); }
  .gorusme-alt { grid-template-columns: 1fr auto; padding: 10px 14px 14px; }
  .ga-not { display: none; }
  body.gorusme.dokum-acik .govde { grid-template-columns: 1fr; }
  body.gorusme.dokum-acik .govde .egitmen-panel { width: calc(100% * var(--roy-olcek)); justify-self: center; }
  body.gorusme.dokum-acik .govde .sag-panel { width: 100%; height: 34vh; }
  .ga-dugmeler { gap: 14px; }
  .ga-yuvarlak { width: 48px; height: 48px; }
  .odev-ust { width: 190px; font-size: 11.5px; }
  body.gorusme .altyazi p { font-size: 15px; }
  .ipucu { width: 92%; padding: 8px 12px 9px; }
  .ipucu-en { font-size: 15.5px; }
  .ipucu-tr { font-size: 12.5px; }
  .ipucu-hap { right: 10px; bottom: 10px; font-size: 12.5px; padding: 6px 11px 6px 9px; }
}

/* ?yumusak=1: konuşma videosu ağzı kapalı bekleme videosunun üstünde yarı saydam; bekleme videosu altta hep görünür kalır */
.avatar.video-modu.yumusak .vid.dinleme { opacity: 1; }
.avatar.video-modu.yumusak.video-konusuyor .vid.konusma { opacity: .55; }

/* ---------- Sese göre kesit (K-81, ?agiz=kesit) ---------- */
/* Döngüdeki konuşma videosu yerine iki kesit oynatıcısı; altta ağzı kapalı bekleme videosu hep görünür */
.avatar.kesit-modu .vid.konusma { display: none; }
.avatar.video-modu .vid.kesit { opacity: 0; transition: opacity 90ms linear; z-index: 1; }
.avatar.video-modu .vid.kesit.on { opacity: 1; z-index: 2; }
.kesit-rozet { position: absolute; z-index: 4; left: 14px; top: 52px; padding: 4px 10px; border-radius: 999px; background: rgba(124, 58, 237, .85); color: #fff; font-size: 12px; font-weight: 700; }

/* Konuşma videosu ve kesitler yalnız baş-yüz bölgesini gösterir (K-81): boyundan aşağısı ve arka plan hep normal hızdaki bekleme
   videosundan gelir. Konuşma videosu 2× ve kesitler hâlinde oynayınca göğüs nefesle hızlı inip kalkıyor ("bir küçük bir büyük"),
   kazak dokusu da iki videoda farklıydı; yüz dışı bekleme videosunda sabit kalınca atlama olmaz. Kenar yumuşak (boyun/saç). */
.avatar.video-modu.oda .vid.konusma, .avatar.video-modu.oda .vid.kesit {
  -webkit-mask-image: radial-gradient(ellipse 12.5% 25% at 51% 27%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 12.5% 25% at 51% 27%, #000 72%, transparent 100%);
}

/* Video motoru (K-100): kesitler yalnız yüzün alt kısmını (burun-ağız-çene) gösterir; göğüs ve omuzlar hep bekleme videosundan
   (kesit geçişlerinde nefes farkından hırka sıçramasın). O/U için cümle videosu daha küçük maskeyle (burun dışarıda) ve her karede
   ölçülen yüz kaymasının tersine kaydırılarak (--dx, --dy) gösterilir. Oranlar 1280×720 oda videosuna göre (ağız ≈ 650, 271 px).
   Bunlar yedek değerler; app.js maskeyi videonun ekrandaki gerçek yerine göre piksel olarak yeniden yazar. */
.avatar.video-modu.oda .vid.kesit.vm {
  -webkit-mask-image: radial-gradient(ellipse 8.4% 12% at 50.8% 36%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 8.4% 12% at 50.8% 36%, #000 60%, transparent 100%);
}
.avatar.video-modu.oda .vid.kesit.vm.yuvarlak {
  transform: translate(var(--dx, 0px), var(--dy, 0px));
  -webkit-mask-image: radial-gradient(ellipse 9.8% 11.4% at 50.8% 39.2%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 9.8% 11.4% at 50.8% 39.2%, #000 60%, transparent 100%);
}

/* ---- Avatar seçici (K-96): kayıt ve Hesabım. Sayı arttıkça satır kayar ---- */
.av-izgara { display: flex; flex-wrap: wrap; gap: 12px; }
.av-secim { position: relative; width: 72px; height: 72px; flex: none; cursor: pointer; border-radius: 50%; }
.av-secim input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.av-secim img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #fff; box-shadow: 0 0 0 1.5px var(--cizgi, #E3E8F2); transition: transform .15s, box-shadow .15s; }
.av-secim:hover img { transform: translateY(-2px); }
.av-secim input:checked + img { box-shadow: 0 0 0 3px var(--mavi, #1D4ED8), 0 0 0 7px rgba(29, 78, 216, 0.14); }
.av-secim input:focus-visible + img { outline: 3px solid var(--mavi, #1D4ED8); outline-offset: 3px; }
.av-tik { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--mavi, #1D4ED8); color: #fff; display: none; place-items: center; box-shadow: 0 0 0 2.5px #fff; }
.av-tik svg { width: 14px; height: 14px; }
.av-secim input:checked ~ .av-tik { display: grid; }
@media (max-width: 460px) { .av-secim { width: 60px; height: 60px; } .av-izgara { gap: 10px; } }

/* K-188 (19 Kasım 2026): teknik sorun / sayılmayan ders ekranı (ders.html #v-sorun) */
#v-sorun { text-align: center; align-items: center; }
#v-sorun .sorun-ikon { width: 72px; height: 72px; margin: 8px auto 18px; border-radius: 50%; display: grid; place-items: center; background: #FEF3C7; }
#v-sorun h1 { margin: 0 0 10px; }
#v-sorun #sorun-metin { max-width: 480px; margin: 0 auto 14px; line-height: 1.6; }
#v-sorun .sorun-hak { display: inline-flex; gap: 8px; align-items: center; margin: 0 auto 24px; padding: 9px 16px; border-radius: 999px; background: #ECFDF5; color: #065F46; font-weight: 700; font-size: 14.5px; }
#v-sorun .sorun-hak::before { content: "✓"; font-weight: 800; }
#v-sorun .sorun-dugmeler { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#v-sorun .sorun-dugmeler .btn-cizgi { display: inline-flex; align-items: center; text-decoration: none; }
#v-sorun .sorun-yardim { margin-top: 22px; font-size: 13.5px; }

/* K-195 (20 Kasım 2026): ders giriş ekranı (#v-giris) taslak B: üç adım yan yana, vektör çizimler, numaralar kesikli çizgiyle bağlı */
#v-giris .gy-alt { margin: -4px 0 22px; color: var(--soluk); font-size: 15px; }
#v-giris .gy-yol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: center; }
#v-giris .gy-yol::before { content: ""; position: absolute; top: 151px; left: 16%; right: 16%; border-top: 2.6px dashed #93C5FD; }
#v-giris .gy-cizim { height: 128px; display: grid; place-items: end center; }
#v-giris .gy-cizim svg { width: 100%; max-width: 210px; height: auto; display: block; }
#v-giris .gy-no { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mavi); color: #fff; font-weight: 800; font-size: 16px; margin: 4px 0 12px; box-shadow: 0 0 0 6px #fff; }
#v-giris .gy-adim h2 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; }
#v-giris .gy-adim p { margin: 0 auto; max-width: 240px; font-size: 14px; line-height: 1.5; color: var(--soluk); }
#v-giris .gy-ipucu { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 140px; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 18px; background: #F0FDFA; border: 1.5px solid #BDF1E8; }
#v-giris .gy-ipucu strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
#v-giris .gy-ipucu p { margin: 0; font-size: 14px; line-height: 1.5; color: #24534E; }
#v-giris .gy-ipucu > svg { width: 140px; height: auto; margin: -30px 0 -20px; }
#v-giris .gy-dugme { margin-top: 26px; }
#v-giris .gy-dugme .btn-ana { display: inline-flex; align-items: center; gap: 10px; }
#v-giris .gy-dugme .btn-ana svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  #v-giris .gy-yol { grid-template-columns: 1fr; }
  #v-giris .gy-yol::before { display: none; }
  #v-giris .gy-ipucu { grid-template-columns: 1fr; }
  #v-giris .gy-ipucu > svg { display: none; }
}

/* K-197 (20 Kasım 2026): ders sonu yorum kutusu başlığındaki "(isteğe bağlı)" */
#gb-baslik .gb-istege { font-weight: 500; color: var(--soluk); }

/* ---------- K-201 (20 Kasım 2026): ders ekranının alt düğmeleri yeni görünüm (taslak/ders-tur.html) ----------
   Bütün ikonlar ve yazılar beyaz (Ne diyebilirim? sarısı, sessizdeki kırmızı kalktı; yalnız Dersi bitir kırmızı).
   Kapalı düğme: soluk zemin, soluk ikon ve yazı, ikonun üstünde sol üstten sağ alta ince çizgi. */
.gorusme-alt .ga-dugme { color: #fff; }
.gorusme-alt .ga-dugme > span:last-child { color: #fff; }
.gorusme-alt .ga-dugme:not(.bitir) .ga-yuvarlak { position: relative; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.gorusme-alt .ga-dugme:not(.bitir):hover .ga-yuvarlak { background: rgba(255, 255, 255, .24); }
.gorusme-alt .ga-harf { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.gorusme-alt .ga-dugme.mik .cizgi { display: none; } /* eski kırmızı çizgi yerine ortak çizgi */
.gorusme-alt .ga-dugme:not(.bitir) .ga-yuvarlak::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 1.6px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 1.2px rgba(11, 16, 32, .9); opacity: 0; transition: opacity .15s; }
/* Kapalı: Altyazı / Çeviri / Ne diyebilirim? / Geçmiş aria-pressed="false"; mikrofon "sessiz" iken aria-pressed="true" */
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] .ga-yuvarlak,
.gorusme-alt #cc[aria-pressed="false"] .ga-yuvarlak,
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] .ga-yuvarlak { background: rgba(255, 255, 255, .05); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] .ga-yuvarlak > *,
.gorusme-alt #cc[aria-pressed="false"] .ga-yuvarlak > *,
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] .ga-yuvarlak > * { opacity: .5; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] .ga-yuvarlak::after,
.gorusme-alt #cc[aria-pressed="false"] .ga-yuvarlak::after,
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] .ga-yuvarlak::after { opacity: .9; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] > span:last-child,
.gorusme-alt #cc[aria-pressed="false"] > span:last-child,
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] > span:last-child { color: #fff; opacity: .6; }
.gorusme-alt .ipucu-dugme[aria-pressed="true"] .ga-yuvarlak { background: rgba(255, 255, 255, .16); color: #fff; }
/* Çeviri (TR) kapalıyken "Ne diyebilirim?" önerisinin Türkçesi de gizli */
.egitmen-panel:not(.tr-acik) .ipucu .ipucu-tr { display: none; }

/* ---------- K-201: deneme dersindeki ekran turu ---------- */
body.turda .gorusme-alt, body.turda .ust { pointer-events: none; }
.tur-isik { position: fixed; z-index: 60; border-radius: 22px; box-shadow: 0 0 0 9999px rgba(6, 10, 22, .74), 0 0 0 3px #2DD4BF; pointer-events: none; transition: all .3s ease; }
.tur-baloncuk { position: fixed; z-index: 61; width: 290px; background: #fff; color: var(--lacivert); border-radius: 18px; padding: 16px 18px 14px; box-shadow: 0 16px 44px rgba(0, 0, 0, .45); transition: left .3s ease, top .3s ease; }
.tur-baloncuk::after { content: ""; position: absolute; left: var(--ok, 50%); bottom: -8px; width: 16px; height: 16px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.tur-baloncuk .tb-adim { font-size: 12px; font-weight: 800; color: #0D9488; letter-spacing: .04em; }
.tur-baloncuk h3 { margin: 4px 0 6px; font-size: 17px; }
.tur-baloncuk .tb-durum { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; vertical-align: 2px; }
.tur-baloncuk .tb-durum.acik { background: #DDF7F4; color: #0A6B64; }
.tur-baloncuk .tb-durum.kapali { background: #EEF1F6; color: #5B6683; }
.tur-baloncuk p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #44506B; }
.tur-baloncuk .tb-alt { display: flex; justify-content: space-between; align-items: center; }
.tur-baloncuk .tb-noktalar { display: flex; gap: 5px; }
.tur-baloncuk .tb-noktalar i { width: 7px; height: 7px; border-radius: 50%; background: #D5DBE7; }
.tur-baloncuk .tb-noktalar i.on { background: var(--mavi); }
.tur-baloncuk .tb-geri { border: 0; background: none; color: #5B6683; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 8px; }
.tur-baloncuk .tb-ileri { border: 0; border-radius: 999px; background: var(--mavi); color: #fff; font: inherit; font-weight: 800; font-size: 14px; padding: 9px 18px; cursor: pointer; }
.tur-perde { position: fixed; inset: 0; z-index: 70; background: rgba(6, 10, 22, .72); display: grid; place-items: center; padding: 16px; }
.tur-perde[hidden], .tur-isik[hidden], .tur-baloncuk[hidden] { display: none; }
.tur-perde .tur-kart { width: min(440px, 100%); background: #fff; color: var(--lacivert); border-radius: 22px; padding: 30px 26px 22px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.tur-kart .ts-foto { position: relative; width: 84px; height: 84px; margin: 0 auto 14px; }
.tur-kart .ts-foto img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 7px #2DD4BF; }
.tur-kart .ts-foto i { position: absolute; right: 2px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: #2DD4BF; box-shadow: 0 0 0 3px #fff; }
.tur-kart h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.tur-kart > p { margin: 0 0 22px; color: #44506B; font-size: 15px; line-height: 1.55; }
.tur-kart .ts-dugme { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--mavi); color: #fff; font: inherit; font-weight: 800; font-size: 15px; padding: 13px 24px; cursor: pointer; }
.tur-kart .ts-not { display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--cizgi); font-size: 13px; line-height: 1.5; color: #6B7591; }
.tur-kart .ts-not svg { flex: none; margin-top: 2px; color: #94A3B8; }

/* ---------- K-210 (20 Kasım 2026): alt düğmelerin açık/kapalı görünümü ve altyazı boyutu (taslak/altyazi-boyut.html) ----------
   İlker: çizgiler kalktı. Kapalı = sade gri yuvarlak (çizgisiz, çerçevesiz, soluk değil). Açık = turkuaz dolu, ikon lacivert,
   hafif ışıma. "Sesin kapalı" kırmızımsı zemin ve ikonun üstünde kırmızı çapraz çizgi. */
.gorusme-alt .ga-dugme:not(.bitir) .ga-yuvarlak::after { display: none; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] .ga-yuvarlak,
.gorusme-alt #cc[aria-pressed="false"] .ga-yuvarlak { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"]:hover .ga-yuvarlak,
.gorusme-alt #cc[aria-pressed="false"]:hover .ga-yuvarlak { background: rgba(255, 255, 255, .24); }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] .ga-yuvarlak > *,
.gorusme-alt #cc[aria-pressed="false"] .ga-yuvarlak > *,
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] .ga-yuvarlak > * { opacity: 1; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="false"] > span:last-child,
.gorusme-alt #cc[aria-pressed="false"] > span:last-child { color: #fff; opacity: 1; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="true"] .ga-yuvarlak,
.gorusme-alt #cc[aria-pressed="true"] .ga-yuvarlak,
.gorusme-alt .ipucu-dugme[aria-pressed="true"] .ga-yuvarlak { background: #2DD4BF; color: #0E1A3A; box-shadow: 0 0 0 4px rgba(45, 212, 191, .18); }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="true"]:hover .ga-yuvarlak,
.gorusme-alt #cc[aria-pressed="true"]:hover .ga-yuvarlak { background: #5EEAD4; }
.gorusme-alt .ga-dugme.ac-kapa[aria-pressed="true"] > span:last-child,
.gorusme-alt #cc[aria-pressed="true"] > span:last-child { font-weight: 700; }
/* Sesin kapalı: kırmızımsı zemin + kırmızı çapraz çizgi (svg içindeki .cizgi) */
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] .ga-yuvarlak { background: rgba(229, 72, 77, .28); color: #FCA5A5; box-shadow: none; }
.gorusme-alt .ga-dugme.mik .cizgi { display: inline; stroke: #FF4D52; stroke-width: 2.6; opacity: 0; }
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] .cizgi { opacity: 1; }
.gorusme-alt .ga-dugme.mik[aria-pressed="true"] > span:last-child { color: #FCA5A5; opacity: 1; }

/* Altyazı boyutu: alt çubuğun solunda üç küçük "a" (Küçük · Orta · Büyük), yalnız altyazı açıkken. Varsayılan en küçük. */
.ga-sol { display: flex; align-items: center; min-width: 0; }
.altyazi-boy { display: inline-flex; align-items: center; gap: 8px; }
.altyazi-boy .ab-grup { display: inline-flex; align-items: flex-end; gap: 1px; padding: 2px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.altyazi-boy button { border: 0; background: none; color: #C7D2EA; font: inherit; font-weight: 800; cursor: pointer; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; line-height: 1; padding: 0 0 2px; }
.altyazi-boy button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.altyazi-boy button[aria-pressed="true"] { background: #fff; color: #0E1A3A; }
.altyazi-boy button:nth-child(1) { font-size: 12px; } .altyazi-boy button:nth-child(2) { font-size: 15px; } .altyazi-boy button:nth-child(3) { font-size: 18.5px; }
.altyazi-boy .ab-etk { font-size: 12px; font-weight: 600; color: #8FA3CC; white-space: nowrap; }
body.gorusme .altyazi, body.gorusme .altyazi p { transition: font-size .18s ease, width .2s ease; }
body.gorusme[data-altyazi-boy="2"] .altyazi { width: min(84%, 720px); }
body.gorusme[data-altyazi-boy="2"] .altyazi p { font-size: 21px; }
body.gorusme[data-altyazi-boy="2"] .altyazi p.tr-kart { font-size: 18px; }
body.gorusme[data-altyazi-boy="3"] .altyazi { width: min(90%, 800px); }
body.gorusme[data-altyazi-boy="3"] .altyazi p { font-size: 26px; padding: 10px 18px; border-radius: 14px; }
body.gorusme[data-altyazi-boy="3"] .altyazi p.tr-kart { font-size: 21px; }
@media (max-width: 720px) {
  .altyazi-boy .ab-etk { display: none; }
  .gorusme-alt .ga-sol { grid-column: 1 / -1; justify-content: center; }
  .gorusme-alt .ga-sol:has(.altyazi-boy[hidden]) { display: none; }
  body.gorusme[data-altyazi-boy="2"] .altyazi { width: 92%; }
  body.gorusme[data-altyazi-boy="2"] .altyazi p { font-size: 18px; }
  body.gorusme[data-altyazi-boy="2"] .altyazi p.tr-kart { font-size: 16px; }
  body.gorusme[data-altyazi-boy="3"] .altyazi { width: 96%; }
  body.gorusme[data-altyazi-boy="3"] .altyazi p { font-size: 21px; }
  body.gorusme[data-altyazi-boy="3"] .altyazi p.tr-kart { font-size: 18px; }
}

/* ---------- 20 Kasım 2026 (İlker): ders ekranında Geçmiş paneli siyah (taslak/gecmis-koyu.html, seçenek 1 · Siyah) ----------
   Düz siyah panel; Roy'un balonu koyu gri, öğrencinin balonu koyu turkuaz, yazılar açık renk. Yalnız ders ekranında (body.gorusme). */
body.gorusme.dokum-acik .govde .sag-panel { background: #000; color: #F1F4FA; }
body.gorusme .sag-panel #v-ders::before { color: #fff; border-bottom-color: rgba(255, 255, 255, .08); }
body.gorusme .sag-panel #dokum { gap: 10px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
body.gorusme .sag-panel .balon { max-width: 82%; padding: 9px 13px 7px; gap: 3px; box-shadow: none; }
body.gorusme .sag-panel .balon .kim { font-size: 11.5px; }
body.gorusme .sag-panel .balon .yazi { font-size: 14.5px; }
body.gorusme .sag-panel .balon.egitmen { background: #1C1F27; color: #F1F4FA; }
body.gorusme .sag-panel .balon.egitmen .kim { color: #8FB3FF; }
body.gorusme .sag-panel .balon.ogrenci { background: #0F3B37; color: #E6FBF8; }
body.gorusme .sag-panel .balon.ogrenci .kim { color: #2DD4BF; }
body.gorusme .sag-panel .balon .alt { color: #6B7591; }
body.gorusme .sag-panel .balon.bekliyor .yazi { color: #9AA7C4; }
body.gorusme .sag-panel .dokum-bos { color: #7C8AA8; }

/* K-229: düzeltmenin altında konu bağlantısı ve plandaki konu bağlantısı */
.duzeltme .duz-konu { align-self: flex-start; font-size: 13px; font-weight: 700; color: #0A6B64; background: #DDF7F4; border-radius: 999px; padding: 4px 11px; text-decoration: none; }
.duzeltme .duz-konu:hover { background: #C6F0EA; }
.plan-neden .plan-konu { font-weight: 700; color: #0A6B64; white-space: nowrap; text-decoration: none; }
.plan-neden .plan-konu:hover { text-decoration: underline; }
