/* V11.6.3 · Şifreli Akademi paneli ve güvenli tam ekran çalışma alanı */
.academy-panel{padding:0!important;overflow:hidden;background:var(--surface,#f7f5ee)}
.academy-panel-intro{max-width:980px;margin:clamp(24px,6vh,72px) auto;padding:clamp(24px,4vw,48px);display:flex;justify-content:space-between;align-items:center;gap:28px;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
.academy-panel-intro h1{font-family:Georgia,serif;font-size:clamp(2.15rem,4.6vw,4.2rem);line-height:.98;margin:.2em 0;color:var(--brand)}
.academy-panel-intro p{max-width:700px;font-size:clamp(.95rem,1.3vw,1.12rem);line-height:1.7;color:var(--muted)}
.academy-frame-shell{width:100%;height:100%;min-height:100vh;background:#f6f5ef}
.academy-frame-shell iframe{display:block;width:100%;height:100%;border:0;background:#f6f5ef}

/* hidden özniteliği, bileşen display kuralları tarafından geçersiz kılınmasın. */
#academyPanelIntro[hidden],#academyFrameShell[hidden]{display:none!important}

/* Akademi, üst uygulama kabuğundan bağımsız bir body portalında açılır. */
.academy-frame-shell.academy-frame-live{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#f6f5ef!important;
  isolation:isolate;
}
.academy-frame-shell.academy-frame-live iframe{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}

html.academy-running,body.academy-running{overflow:hidden!important;overscroll-behavior:none}
body.academy-running #academyPanelIntro{display:none!important}
body.academy-running .topbar,
body.academy-running .sidebar,
body.academy-running .meta-card,
body.academy-running .mobile-action-bar,
body.academy-running .menu-backdrop{visibility:hidden!important;pointer-events:none!important}

.academy-frame-shell.academy-frame-live::before{
  content:"Akademi hazırlanıyor…";
  position:absolute;
  inset:0;
  z-index:3;
  display:none;
  place-items:center;
  background:#f6f5ef;
  color:var(--brand);
  font-weight:800;
  font-size:clamp(1rem,2vw,1.25rem)
}
body.academy-loading .academy-frame-shell.academy-frame-live::before{display:grid}
.academy-open-status{margin-top:14px;font-weight:700;color:var(--muted)}
.academy-open-status[data-tone="error"]{color:#a23f32}

@media(max-width:720px){
  .academy-panel-intro{margin:16px 10px;padding:22px;display:block;border-radius:22px}
  .academy-panel-intro .btn{width:100%;margin-top:18px}
  .academy-frame-shell.academy-frame-live{height:100dvh!important}
}
