/* Centrl v1.0.32 — Android Chromium compositor safety profile.
   Limit expensive nested GPU filter/clip/shadow layers throughout PDA,
   including chat and theme selector, not just Notes. Retain neon accents.
   This is mobile-Android specific. iOS and desktop keep full visual detail. */
.centrl-pda-shell.centrl-android-safe,
.centrl-pda-shell.centrl-android-safe *,
.centrl-pda-shell.centrl-android-safe *::before,
.centrl-pda-shell.centrl-android-safe *::after{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
  will-change:auto!important;
  animation:none!important;
}
/* Heavy parent clip paths and drop-shadows can cause huge offscreen layers on Samsung Chrome. */
.centrl-pda-shell.centrl-android-safe .centrl-pda-device,
.centrl-pda-shell.centrl-android-safe .pda-command-frame,
.centrl-pda-shell.centrl-android-safe .centrl-pda-header,
.centrl-pda-shell.centrl-android-safe .centrl-pda-content{
  clip-path:none!important;
  -webkit-clip-path:none!important;
  isolation:auto!important;
  transform:none!important;
  border-radius:11px!important;
}
.centrl-pda-shell.centrl-android-safe .pda-command-frame{
  padding:2px!important;
  background:linear-gradient(115deg,#20c9ef,#2467ed 53%,#913ef1)!important;
  box-shadow:none!important;
  border:0!important;
}
.centrl-pda-shell.centrl-android-safe .centrl-pda-header,
.centrl-pda-shell.centrl-android-safe .centrl-pda-content{
  overflow:visible!important;
  background:linear-gradient(150deg,#081a3b,#050c21)!important;
  border:0!important;
  box-shadow:none!important;
}
/* Keep static outlines and dark background but drop numerous independent raster layers. */
.centrl-pda-shell.centrl-android-safe .pda-command-frame::before,
.centrl-pda-shell.centrl-android-safe .pda-command-frame::after,
.centrl-pda-shell.centrl-android-safe .centrl-pda-header::after,
.centrl-pda-shell.centrl-android-safe .centrl-pda-content::after,
.centrl-pda-shell.centrl-android-safe .pda-cyber-chrome,
.centrl-pda-shell.centrl-android-safe .pda-cyber-scan,
.centrl-pda-shell.centrl-android-safe .pda-cyber-core,
.centrl-pda-shell.centrl-android-safe .centrl-electric-emblem::before{display:none!important;}
.centrl-pda-shell.centrl-android-safe .centrl-pda-header::before,
.centrl-pda-shell.centrl-android-safe .centrl-pda-content::before{
  background:linear-gradient(90deg,rgba(50,147,255,.06) 1px,transparent 1px) 0 0/28px 28px,
  linear-gradient(0deg,rgba(50,147,255,.06) 1px,transparent 1px) 0 0/28px 28px!important;
  box-shadow:none!important;
}
/* The chrome panels no longer obscure their own controls when theme changes. */
.centrl-pda-shell.centrl-android-safe .pda-app-icon,
.centrl-pda-shell.centrl-android-safe .pda-app-icon::before,
.centrl-pda-shell.centrl-android-safe .pda-app-icon::after{box-shadow:none!important;}
.centrl-pda-shell.centrl-android-safe .pda-app-icon{border-radius:8px!important;clip-path:none!important;box-shadow:inset 0 0 0 1px currentColor!important;}
.centrl-pda-shell.centrl-android-safe .pda-app-icon .rail-halo{display:none!important}
.centrl-pda-shell.centrl-android-safe .pda-app-icon .pda-tactical-rail{filter:none!important;}
.centrl-pda-shell.centrl-android-safe .centrl-approved-shield{filter:none!important;}
.centrl-pda-shell.centrl-android-safe .pda-note-media img,
.centrl-pda-shell.centrl-android-safe .pda-note-thumbnail img,
.centrl-pda-shell.centrl-android-safe .pda-msg img{
  filter:none!important;transform:none!important;
  max-width:100%;image-rendering:auto!important;
}
/* Keep themed backgrounds on light and other non-Tactical skins. */
.centrl-pda-shell.centrl-android-safe:not([data-pda-theme="tactical-neon"]) .pda-command-frame{background:transparent!important;padding:0!important;}
.centrl-pda-shell.centrl-android-safe:not([data-pda-theme="tactical-neon"]) .centrl-pda-header,
.centrl-pda-shell.centrl-android-safe:not([data-pda-theme="tactical-neon"]) .centrl-pda-content{background:var(--pda-card,#101b30)!important;}
.centrl-pda-shell.centrl-android-safe:not([data-pda-theme="tactical-neon"]) .centrl-pda-content{background:var(--pda-panel,#0d172c)!important;}
/* Ensure modal never inherits problematic raster layers from the PDA. */
.centrl-pda-shell.centrl-android-safe .centrl-pda-theme-overlay,
.centrl-pda-shell.centrl-android-safe .centrl-pda-theme-dialog{
  clip-path:none!important;transform:none!important;filter:none!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
.centrl-pda-shell.centrl-android-safe .centrl-pda-theme-dialog{
  background:#0b1930!important;border:1px solid #2b639a!important;border-radius:15px!important;
}
/* All other device interfaces retain their original treatment. */

/* Win against high-specificity per-theme filter overrides. */
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .pda-command-frame,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .pda-app-icon,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-header,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-content,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-approved-shield,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-theme-overlay,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-theme-dialog{
  filter:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
/* A decoded media element or modal must not widen the mobile layout. */
.centrl-pda-shell.centrl-android-safe,
.centrl-pda-shell.centrl-android-safe .centrl-pda-device,
.centrl-pda-shell.centrl-android-safe .pda-command-frame,
.centrl-pda-shell.centrl-android-safe .centrl-pda-content{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.centrl-pda-shell.centrl-android-safe .pda-msg img,
.centrl-pda-shell.centrl-android-safe .pda-note-media img{max-width:100%!important;object-fit:contain!important;}
/* Decorative rings in Glassy extend past their card by ~64px; contain them in low-GPU mode. */
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-header,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-content{
  overflow:hidden!important;
}
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-header::before,
.centrl-pda-shell.centrl-android-safe[data-pda-theme] .centrl-pda-content::before{
  inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100%!important;height:100%!important;border:0!important;box-shadow:none!important;
}
