/* AOS Chat Final Theme V2 / 試驗總台 dark futuristic palette.
   Keeps the existing functional DOM/IDs and only changes presentation. */
:root{--p:#7257ff;--p2:#39d8ff;--bg:#070c14;--card:#101826;--line:#2b3c58;--text:#f4f7ff;--muted:#8996ad;--mine:#332a66;--danger:#ff5f6d;--ok:#35d08b;--shadow:0 18px 48px #0009}
html,body{background:#050910;color:var(--text)}
.app{background:#070c14;box-shadow:0 0 42px #000c}
.top{background:radial-gradient(circle at 15% -20%,#5638d7 0,transparent 45%),linear-gradient(135deg,#0b1422,#11182d 58%,#08111c);border-bottom:1px solid #7257ff55}
.search{background:#111c2c;border:1px solid #2b3c58;color:var(--text)}.search input{color:var(--text)}
.main,.messages{background:radial-gradient(circle at 75% 18%,#39278022 0,transparent 36%),#070c14}
.list,.row,.card,.empty,.chip,.bottom,.tab,.chat-head,.composer,.modal,.sheet,.modulecard,.a8work-item,.product-card,.tool,.actionlist button{background:#101826;color:var(--text)}
.row,.list,.card,.chip,.bottom,.chat-head,.composer,.modal,.modulecard,.a8work-item,.product-card{border-color:#2b3c58}
.row:active{background:#15243a}.avatar{background:#1b2442;color:#e6b85c;border:1px solid #7257ff55}.sub,.meta,.hint,.section-title,.card p,.settings-row span,.aid{color:#8996ad}
.tab{color:#8996ad}.tab.active{color:#39d8ff;text-shadow:0 0 16px #39d8ffaa}.tab.active b{filter:drop-shadow(0 0 8px #7257ff)}
.chat-head .back,.round{background:#151f31;color:#f4f7ff;border:1px solid #2b3c58}.callbtn{background:#18342f;color:#63f1bd;border-color:#2a705f}
.bubble{background:#101826;border-color:#2b3c58;color:#f4f7ff}.mine{background:#30285f;border-color:#7257ff66}.reply-snippet{background:#151f31;border-left-color:#39d8ff;color:#c5cee0}
.composer textarea,.form input,.form select{background:#0d1624;color:#f4f7ff;border-color:#2b3c58}.send,.primary{background:linear-gradient(135deg,#7257ff,#4a89ff);box-shadow:0 0 20px #7257ff55}.ghost{background:#1a2440;color:#9bdfff}.tool b{background:#191d3a;color:#e6b85c;box-shadow:inset 0 0 0 1px #7257ff55,0 0 18px #7257ff22}.grab{background:#40516c}
.friend-cover{background:linear-gradient(135deg,#1d2340,#172f4f)}.me-profile-hero h2,.me-profile-hero .aid{background:#101826}.me-profile-hero .avatar,.friend-profile .avatar.profile-pop{border-color:#101826;background:#1b2442}
.free-limit-note{margin:10px 6px 2px;padding:9px 10px;border:1px solid #2b3c58;border-radius:10px;background:#0d1624}.free-tools{grid-template-columns:repeat(3,1fr)}
@media(max-width:420px){.chat-head{gap:3px}.chat-head .round{width:34px;height:34px;min-width:34px;min-height:34px;font-size:15px}.chat-head .avatar{display:none}}
