/* ============================================================================
   A8_PROGRAM_BEGIN | program_key=AOS_AI_UI_MOBILE_FLAT_LOCK_R1
   中文=手機純平面 UI 鎖定 | English=Mobile flat UI lock
   規則：桌機 >820px 保留 R10 2.5D；手機 <=820px 不顯示 2.5D 全螢幕背景/浮窗。
   只改 UI shell，不改 STT / Live Voice / TTS / Brain / Provider。
   ============================================================================ */
@media (max-width:820px){
  html,body{
    background-image:none!important;
    background:#f6f4f8!important;
    background-attachment:scroll!important;
  }
  .app,.main,.workspace,#homePanel{background:#f6f4f8!important}
  #a8ChatWindowR10{
    position:static!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;
    max-width:none!important;max-height:none!important;transform:none!important;
    border:0!important;border-radius:0!important;background:transparent!important;
    box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
  }
  #a8ChatWindowR10 .a8-chat-r10-head,
  #a8ChatWindowR10 .a8-r10-rz{display:none!important}
  #a8ChatWindowR10 .a8-chat-r10-body{display:block!important;overflow:visible!important}
  #a8ChatWindowR10 #chatThread.chat-thread{
    min-height:calc(100dvh - 190px)!important;
    padding:10px 6px 142px!important;
    background:#fff!important;
    border:1px solid rgba(111,59,213,.10)!important;
    border-radius:10px!important;
  }
  #a8ChatWindowR10 .composer{
    position:fixed!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;bottom:max(6px,env(safe-area-inset-bottom))!important;
    width:calc(100vw - 8px)!important;margin:0!important;
  }
  #a8CampaignSlot{display:none!important}
}
/* ============================================================================
   A8_PROGRAM_END | program_key=AOS_AI_UI_MOBILE_FLAT_LOCK_R1
   ============================================================================ */
