/* At maskotu: kaynak portre değişmez; durumlar küçük rozet ve canlı metinle duyurulur. */
.destek-ac.maskotlu{display:inline-flex;align-items:center;justify-content:center;padding:0;width:56px;height:56px;border-radius:50%;overflow:hidden}
.mk{position:relative;width:46px;height:46px;display:block}
.mk picture,.mk img{display:block;width:46px;height:46px;object-fit:contain}
.mk-rozet{position:absolute;right:0;top:0;width:20px;height:20px;display:none;align-items:center;justify-content:center;border:1px solid var(--cizgi);border-radius:50%;background:var(--yuzey);color:var(--vurgu);font-size:12px;font-weight:700;line-height:1}
.mk[data-durum="uyari"] .mk-uyari,.mk[data-durum="dusunuyor"] .mk-dusunuyor{display:flex}
.mk-durum{position:fixed;top:0;left:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#destek-baslik{display:flex;align-items:center;gap:8px}
#destek-baslik picture,#destek-baslik img{display:block;width:28px;height:28px;object-fit:contain}
@media(prefers-reduced-motion:no-preference){.mk[data-durum="dusunuyor"] .mk-dusunuyor{animation:mk-dusun 1s infinite}@keyframes mk-dusun{50%{opacity:.4}}}
/* Kısa öğren ekranında yüzen maskot ders kontrollerinin üstüne gelmez. */
@media(max-height:720px){html:not(.mk-pilot) body:has([data-ogren]) .destek-ac.maskotlu{display:none}}
.mk-panel{display:block;position:relative;width:28px;height:28px}
.mk-panel[data-durum="uyari"] .mk-uyari,.mk-panel[data-durum="dusunuyor"] .mk-dusunuyor{display:flex}
.mk[data-rol] .mk-rol{display:flex}.mk-rol svg{width:14px;height:14px}.mk[data-rol="sessiz"] .mk-rol,.mk[data-durum="uyari"] .mk-rol,.mk[data-durum="dusunuyor"] .mk-rol{display:none}
.mk-balon{position:fixed;inset:auto 16px calc(var(--destek-buton-alt) + 64px + env(safe-area-inset-bottom)) auto;top:var(--mk-ust,auto);bottom:auto;margin:0;box-sizing:border-box;width:min(300px,calc(100vw - 32px));padding:14px 16px;border:1px solid var(--cizgi);border-radius:14px;background:var(--yuzey);color:var(--metin);box-shadow:0 8px 32px rgba(0,0,0,.18);overflow:visible;z-index:91}
.mk-balon{left:var(--mk-sol,auto)}
.mk-balon[hidden]{display:none!important}.mk-balon::after{content:"";position:absolute;right:16px;bottom:-6px;width:10px;height:10px;transform:rotate(45deg);background:var(--yuzey);border-right:1px solid var(--cizgi);border-bottom:1px solid var(--cizgi)}
.mk-balon.mk-balon-alt::after{bottom:auto;top:-6px;transform:rotate(225deg)}
.mk-balon p{margin:0 30px 12px 0;font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}.mk-balon-eylem{display:flex;gap:8px}
.mk-balon{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:8px}.mk-rehber-resim{display:block;width:64px;height:64px}.mk-rehber-resim img{display:block;width:64px;height:64px;object-fit:contain}.mk-balon-eylem{grid-column:1/-1}
.mk-balon button{min-height:44px;min-width:44px;font:inherit;cursor:pointer;border:1px solid var(--cizgi);border-radius:8px;padding:8px;background:var(--bg);color:var(--metin)}
.mk-balon .ana{background:var(--metin);color:var(--bg);font-size:.85rem;flex:1;min-width:0}.mk-balon .mk-balon-sessiz{font-size:.85rem;color:var(--ikincil);white-space:nowrap}.mk-balon .mk-balon-kapat{position:absolute;right:3px;top:3px;padding:0;background:transparent;border:0;color:var(--soluk)}
.mk-balon :focus-visible,#mk-konussun:focus-visible{outline:2px solid var(--vurgu);outline-offset:2px}.mk-hedef{outline:2px solid var(--vurgu)!important;outline-offset:4px}
@media(prefers-reduced-motion:no-preference){.mk-balon:popover-open,.mk-balon.mk-yedek{animation:mk-giris .18s}.mk-hedef{animation:mk-isaret 2.4s}@keyframes mk-giris{from{opacity:0;transform:translateY(8px)}}@keyframes mk-isaret{50%{outline-offset:8px}}}
@media(prefers-reduced-motion:reduce){.mk-balon,.mk-hedef{animation:none!important;transition:none!important}}
@media(max-height:720px){html:not(.mk-pilot) body:has([data-ogren]) .mk-balon{display:none!important}}
.mk-pilot .mk-balon{width:min(300px,calc(100vw - 104px))}
.mk-pilot .mk-balon::after{right:-6px;top:var(--mk-kuyruk);bottom:auto;transform:rotate(-45deg)}
.mk-pilot .v1-sahne,.mk-pilot .ogren-izgara,.mk-pilot main.orta{transition:none}
/* At alanı dar ekranda eylemleri sıkıştırmasın; yalnız pilotun boşlukları. */
.mk-pilot .v1-uygulama{gap:4px;padding-top:6px;padding-bottom:6px}
.mk-pilot .v1-baslik{gap:8px}
.mk-pilot .v1-sekmeler{padding-bottom:2px}
.mk-pilot .v1-ic{padding-top:8px;padding-bottom:4px}
@media(max-width:820px) and (max-height:720px){
  /* Kurs bağlantısı üst gezinmede var; kısa ekranda yinelenen yol satırı
     yerine soru ve geri bildirim için yer kalır. */
  .mk-pilot .v1-baslik>p.ikincil{display:none}
  .mk-pilot .v1-uygulama{gap:2px}
  .mk-pilot .v1-uygulama>header.ust,.mk-pilot .v1-uygulama>header.ust nav{gap:4px}
  .mk-pilot .v1-uygulama>header.ust nav .tum{display:none}
  .mk-pilot .v1-baslik{gap:4px}
  .mk-pilot .v1-baslik>h1{flex:1;min-width:0}
  .mk-pilot .v1-baslik .ogren-kopru{box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;min-height:44px;padding:9px;margin:0;justify-content:center}
  .mk-pilot .v1-baslik .ogren-kopru>svg{width:24px;height:24px}
  .mk-pilot .v1-baslik .ogren-kopru span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* Telefonda kompakt başlık ilk boyamadan itibaren sabittir; balon açılışı
   içeriği kaydırmaz. Gezinme marka, kurs ve adlı öğrenme simgesindedir. */
@media(max-width:820px){
  .mk-pilot .v1-baslik>p.ikincil{display:none}
  .mk-pilot .v1-uygulama{gap:2px}
  .mk-pilot .v1-uygulama>header.ust,.mk-pilot .v1-uygulama>header.ust nav{gap:4px}
  .mk-pilot .v1-uygulama>header.ust nav .tum{display:none}
  .mk-pilot .v1-baslik{gap:4px}
  .mk-pilot .v1-baslik>h1{flex:1;min-width:0}
  .mk-pilot .v1-baslik .ogren-kopru{box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;min-height:44px;padding:9px;margin:0;justify-content:center}
  .mk-pilot .v1-baslik .ogren-kopru>svg{width:24px;height:24px}
  .mk-pilot .v1-baslik .ogren-kopru span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
#mk-konussun{flex:none}#mk-konussun[aria-checked="false"]{opacity:.65}
