    .app-wrapper {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      gap: 16px;
      position: relative;
      height: calc(var(--true-height) - 32px);
      transition: filter 1.5s ease, transform 1.5s ease;
    }
    .app-wrapper.shutting-down { filter: blur(12px) brightness(0.1) grayscale(0.5); transform: scale(0.98); }

    .chat-main { flex: 1; min-width: 0; border-radius: var(--border-radius); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; box-shadow: var(--shadow-light); position: relative; overflow-x: hidden; }
    .chat-main::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(var(--glass-color-rgb), var(--main-bg-opacity)); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); pointer-events: none; }
    .chat-main::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 140px; background: linear-gradient(to bottom, rgba(10,10,15,0.6) 0%, transparent 100%); pointer-events: none; z-index: 5; }
    
    .chat-header { display: flex; justify-content: flex-end; align-items: flex-start; padding: 1.2rem 1.5rem 0; z-index: 10; text-shadow: 0 1px 2px #000, 0 0 10px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.6); overflow: hidden; }
    .chat-header-info { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; max-width: 100%; overflow: hidden; }
    .chat-header-title { font-size: 1.3rem; font-weight: 600; color: #ffffff; letter-spacing: 1px; }
    .chat-header-status { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
    .header-badge { font-size: 0.65rem; padding: 2px 8px; background: rgba(0,0,0,0.4); border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); text-shadow: none; white-space: nowrap; }
    .platform-badge { color: var(--accent-color); font-weight: 500; border: none; background: none; padding: 2px 0; }
    .top-actions { display: flex; gap: 1rem; flex-shrink: 0; }
    
    .action-icon { font-size: 1.3rem; cursor: pointer; opacity: 0.85; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #b0b0d0; font-family: system-ui, sans-serif; line-height: 1; }
    .action-icon:hover { opacity: 1; transform: scale(1.1); color: var(--accent-color); background: rgba(162,155,254,0.12); border-color: rgba(162,155,254,0.4); }
    .action-icon.power { font-size: 1.2rem; }
    .action-icon.power:hover { color: #ff6b6b; border-color: rgba(255,107,107,0.5); filter: drop-shadow(0 0 8px rgba(255,107,107,0.4)); transform: scale(1.1); }
    .action-icon.settings:hover { transform: scale(1.1) rotate(90deg); }

    /* 设置面板 = app-wrapper 内的 absolute 覆盖层，与侧边栏完美重合 */
