/* ==========================================================================
   Aim — Title-specific styles. Aim renders inside an iframe (see aim.js) and
   supplies its own UI entirely, so this file only styles the thin wrapper
   around that iframe: the full-viewport frame itself and the small floating
   button back to the KrugerBody hub.
   ========================================================================== */
.aim-frame-wrap{
  position:fixed; inset:0; background:#0b0f14; /* matches Aim's own dark background, avoids a flash before it loads */
}
.aim-frame{
  position:absolute; inset:0; width:100%; height:100%; border:none; display:block;
}
.aim-exit-btn{
  position:absolute; z-index:5;
  /* Top-right, matching the shell's universal Home button convention on
     every other screen (see topbar()'s data-nav-home in index.html) — Aim
     renders inside its own iframe with no shared topbar, so this floating
     button is styled to read the same way: always top-right, always a
     one-tap way back to the KrugerBody home board. */
  top:calc(env(safe-area-inset-top,0px) + 10px); right:12px;
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.22);
  background:rgba(10,14,20,0.55); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.aim-exit-btn:active{ background:rgba(10,14,20,0.82); }
/* v98: Back to where AIM was opened from (HOP's Office, Today...), top-left, added by the shell */
.aim-exit-btn.aim-back-btn{ right:auto; left:12px; }
