:root{
  --admin-primary:#006060;
  --admin-primary-soft:rgba(0,96,96,.1);
  --admin-ink:#172121;
  --admin-muted:#6b7280;
  --admin-line:rgba(189,201,200,.45);
  --admin-glass:rgba(247,250,249,.68);
  --admin-panel:rgba(255,255,255,.72);
}
*{box-sizing:border-box}
body.admin-anime{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100dvh;color:var(--admin-ink);background:#f7faf9;position:relative;isolation:isolate;overflow-x:hidden}
body.admin-anime::before{content:'';position:fixed;inset:0;z-index:-2;background-image:var(--admin-bg);background-size:cover;background-position:center;filter:saturate(1.05)}
body.admin-anime::after{content:'';position:fixed;inset:0;z-index:-1;background:rgba(247,250,249,.55);backdrop-filter:blur(2px)}
.admin-shell-top{position:relative;z-index:3000;overflow:visible;height:68px;margin:16px auto 0;width:min(1180px,calc(100% - 32px));display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-radius:22px;background:var(--admin-glass);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.45);box-shadow:0 18px 44px rgba(20,32,32,.12)}
.admin-shell-brand,.admin-shell-title{font-size:22px;font-weight:900;color:#102020;text-decoration:none;letter-spacing:.5px}.admin-shell-title{text-align:left;flex:1;pointer-events:auto}
.admin-nav-toggle{display:none;width:44px;height:44px;border-radius:16px;border:1px solid var(--admin-line);background:rgba(255,255,255,.68);color:#2f3a3a;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.admin-nav-toggle:hover{background:var(--admin-primary-soft);border-color:rgba(0,96,96,.24);color:var(--admin-primary)}.admin-shell-actions{display:flex;align-items:center;gap:10px}.admin-shell-actions a,.admin-shell-actions button{background:rgba(255,255,255,.62);border:1px solid var(--admin-line);border-radius:999px;padding:8px 14px;color:#3e4948;font-size:13px;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.admin-shell-actions a:hover,.admin-shell-actions button:hover,.admin-shell-actions a.active{background:var(--admin-primary-soft);border-color:rgba(0,96,96,.24);color:var(--admin-primary)}
.admin-page-wrap{position:relative;z-index:1;width:min(1180px,calc(100% - 32px));margin:22px auto 56px}.admin-page-narrow{width:min(720px,calc(100% - 32px))}.admin-grid-2{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start}.admin-panel{background:var(--admin-panel);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.52);border-radius:24px;box-shadow:0 20px 54px rgba(20,32,32,.13);overflow:hidden}.admin-panel-head{padding:22px 24px 16px;border-bottom:1px solid rgba(189,201,200,.32)}.admin-panel-body{padding:22px 24px}.admin-title{font-size:22px;font-weight:900;color:var(--admin-ink);margin:0 0 4px}.admin-sub{font-size:13px;color:var(--admin-muted);line-height:1.7;margin:0}
.form-group{margin-bottom:20px}.form-label{display:block;font-size:14px;font-weight:750;color:#2f3a3a;margin-bottom:8px}.form-input{width:100%;padding:11px 13px;border:1px solid var(--admin-line);border-radius:14px;font-size:14px;color:#111827;outline:none;background:rgba(255,255,255,.78);transition:border-color .15s,box-shadow .15s,background .15s}.form-input:focus{border-color:rgba(0,96,96,.45);box-shadow:0 0 0 4px rgba(0,96,96,.10);background:#fff}.form-help{font-size:12px;color:#7b8585;margin-top:6px;line-height:1.6}.avatar-field{display:flex;align-items:center;gap:14px;margin-bottom:6px}.avatar-preview{width:64px;height:64px;border-radius:18px;object-fit:cover;border:1px solid var(--admin-line);background:#fff}.bg-preview{width:132px;height:78px;border-radius:16px;object-fit:cover;border:1px solid var(--admin-line);background:#fff}
.btn-primary,.btn-ghost{height:42px;border-radius:999px;padding:0 20px;border:0;cursor:pointer;font-size:14px;font-weight:800;transition:opacity .15s,transform .15s,background .15s}.btn-primary{background:var(--admin-primary);color:#fff;box-shadow:0 12px 26px rgba(0,96,96,.20)}.btn-primary:hover{opacity:.9;transform:translateY(-1px)}.btn-primary:disabled{opacity:.55;cursor:default;transform:none}.btn-ghost{background:rgba(255,255,255,.7);border:1px solid var(--admin-line);color:#3e4948}.btn-block{width:100%}.alert{padding:10px 12px;border-radius:14px;font-size:13px;margin-bottom:16px}.alert-success{background:#dcfce7;color:#166534}.alert-error{background:#fee2e2;color:#991b1b}
.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid rgba(189,201,200,.32)}.toggle-label{font-size:14px;font-weight:800;color:#2f3a3a}.toggle-desc{font-size:12px;color:#7b8585;margin-top:4px;line-height:1.5}.toggle-switch{position:relative;width:46px;height:26px;flex-shrink:0}.toggle-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-slider{position:absolute;inset:0;background:#cfd8d7;border-radius:999px;cursor:pointer;transition:.2s}.toggle-slider::before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}.toggle-switch input:checked + .toggle-slider{background:var(--admin-primary)}.toggle-switch input:checked + .toggle-slider::before{transform:translateX(20px)}
.login-wrap{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:100%;max-width:410px;background:var(--admin-panel);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.52);border-radius:28px;padding:34px;box-shadow:0 22px 58px rgba(20,32,32,.16)}.login-logo{text-align:center;margin-bottom:26px}.login-mark{width:64px;height:64px;border-radius:22px;background:var(--admin-primary);color:#fff;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;box-shadow:0 12px 28px rgba(0,96,96,.22)}.login-logo h1{font-size:24px;font-weight:900;margin:0;color:var(--admin-ink)}.login-logo p{font-size:13px;color:var(--admin-muted);margin:6px 0 0}
.about-logo{width:72px;height:72px;border-radius:24px;background:var(--admin-primary);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:30px;font-weight:900;box-shadow:0 14px 30px rgba(0,96,96,.22)}.about-card{text-align:center}.about-section{text-align:left;margin-top:20px;padding-top:20px;border-top:1px solid rgba(189,201,200,.32)}.about-section h3{font-size:12px;color:#667;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}.license-box{background:rgba(255,255,255,.62);border:1px solid rgba(189,201,200,.32);border-radius:18px;padding:16px;font-size:13px;line-height:1.8;color:#374151}.tech-list{display:flex;flex-wrap:wrap;gap:8px}.tech-tag{padding:6px 12px;background:rgba(0,96,96,.1);color:var(--admin-primary);border-radius:999px;font-size:12px;font-weight:800}
body.dashboard-chat-page.admin-anime{height:100dvh;overflow:hidden;background:#f7faf9;background-image:none}.dashboard-chat-page.admin-anime .dashboard-chat-wrap{height:calc(100dvh - 100px);padding:22px max(16px,calc((100vw - 1180px)/2)) 30px}.dashboard-chat-page.admin-anime .chat-layout.has-sidebar{border-radius:24px;background:rgba(255,255,255,.70);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.52);box-shadow:0 20px 54px rgba(20,32,32,.13)}.dashboard-chat-page.admin-anime .chat-sidebar,.dashboard-chat-page.admin-anime .chat-main{background:rgba(255,255,255,.58)}.dashboard-chat-page.admin-anime .sidebar-head,.dashboard-chat-page.admin-anime .chat-header,.dashboard-chat-page.admin-anime .chat-input-area,.dashboard-chat-page.admin-anime .sidebar-copy,.dashboard-chat-page.admin-anime .sidebar-tools{background:rgba(247,250,249,.55);border-color:rgba(189,201,200,.32)}.dashboard-chat-page.admin-anime .sidebar-item,.dashboard-chat-page.admin-anime .sidebar-row{border-radius:16px}.dashboard-chat-page.admin-anime .sidebar-row:hover,.dashboard-chat-page.admin-anime .sidebar-row:has(.sidebar-item.active){background:rgba(0,96,96,.08)}.dashboard-chat-page.admin-anime .btn-primary,.dashboard-chat-page.admin-anime .send-btn{background:var(--admin-primary);color:#fff}.dashboard-chat-page.admin-anime .empty-chat{background:rgba(255,255,255,.38)}.dashboard-chat-page.admin-anime .admin-shell-menu{color:#2f3a3a;background:rgba(255,255,255,.42);border:1px solid rgba(189,201,200,.36)}.dashboard-chat-page.admin-anime .admin-shell-menu:hover{background:rgba(0,96,96,.08)}.dashboard-chat-page.admin-anime .brand-badge{border-color:rgba(255,255,255,.85)}
.dashboard-chat-page.admin-anime .messages{padding:18px 22px;overflow-y:auto;min-height:0;background:rgba(255,255,255,.22)}
.dashboard-chat-page.admin-anime .chat-message{display:flex;flex-direction:column;max-width:85%;margin-bottom:1rem}
.dashboard-chat-page.admin-anime .chat-message.self{align-items:flex-end;margin-left:auto}
.dashboard-chat-page.admin-anime .chat-message.other{align-items:flex-start}
.dashboard-chat-page.admin-anime .chat-message-row{display:flex;align-items:flex-end;gap:.5rem}
.dashboard-chat-page.admin-anime .chat-avatar{width:2rem;height:2rem;border-radius:9999px;border:1px solid rgba(255,255,255,.55);overflow:hidden;flex-shrink:0;background:#f1f4f3}
.dashboard-chat-page.admin-anime .chat-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.dashboard-chat-page.admin-anime .chat-bubble{max-width:min(72vw,520px);word-break:break-word;overflow-wrap:anywhere}
.dashboard-chat-page.admin-anime .chat-message.self .chat-bubble{background:rgba(0,106,106,.75);color:#fff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);border-radius:1rem;border-bottom-right-radius:0;padding:1rem;box-shadow:0 4px 10px rgba(0,0,0,.08)}
.dashboard-chat-page.admin-anime .chat-message.other .chat-bubble{background:rgba(255,255,255,.72);color:#181c1c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.28);border-radius:1rem;border-bottom-left-radius:0;padding:1rem;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.dashboard-chat-page.admin-anime .chat-bubble.media-bubble{padding:.25rem!important;overflow:hidden}
.dashboard-chat-page.admin-anime .chat-bubble p{margin:0;font-size:14px;line-height:20px;white-space:pre-wrap}
.dashboard-chat-page.admin-anime .chat-media-img{display:block;max-width:min(280px,42vw);max-height:320px;width:auto;height:auto;object-fit:cover;border-radius:.75rem;cursor:zoom-in}
.dashboard-chat-page.admin-anime .chat-media-video{display:block;max-width:min(320px,46vw);max-height:280px;width:auto;height:auto;border-radius:.75rem;background:#000}
.dashboard-chat-page.admin-anime .chat-message.self .msg-meta{margin-right:.5rem}
.dashboard-chat-page.admin-anime .chat-message.other .msg-meta{margin-left:2.5rem}
.dashboard-chat-page.admin-anime .msg-read.read{color:#2563eb}
.dashboard-chat-page.admin-anime .chat-message.self .chat-bubble.emoji-bubble,.dashboard-chat-page.admin-anime .chat-message.other .chat-bubble.emoji-bubble{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0!important}
.dashboard-chat-page.admin-anime .chat-emoji-img{max-width:112px;max-height:112px;object-fit:contain;border-radius:0;cursor:pointer}
.dashboard-chat-page.admin-anime .audio-play-btn{width:2rem;height:2rem;border:0;border-radius:9999px;background:#006060;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.dashboard-chat-page.admin-anime .audio-wave span{display:block;width:3px;height:14px;border-radius:999px;background:currentColor;opacity:.45}.dashboard-chat-page.admin-anime .audio-wave span:nth-child(2){height:20px}.dashboard-chat-page.admin-anime .audio-wave span:nth-child(3){height:12px}.dashboard-chat-page.admin-anime .audio-wave span:nth-child(4){height:18px}.dashboard-chat-page.admin-anime .audio-wave span:nth-child(5){height:10px}
.dashboard-chat-page.admin-anime .audio-bubble{min-width:148px;max-width:220px;display:flex;align-items:center;gap:.6rem;padding:.625rem .75rem!important;border-radius:1rem}
.dashboard-chat-page.admin-anime .chat-message.self .audio-bubble{border-bottom-right-radius:0;background:rgba(0,106,106,.75);color:#fff}
.dashboard-chat-page.admin-anime .chat-message.other .audio-bubble{border-bottom-left-radius:0;background:rgba(255,255,255,.72);color:#181c1c}
.dashboard-chat-page.admin-anime .audio-bubble audio{display:none}
.dashboard-chat-page.admin-anime .audio-play-btn{width:2rem;height:2rem;border:0;border-radius:9999px;background:#006060;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}
.dashboard-chat-page.admin-anime .audio-play-btn .material-symbols-outlined{font-size:20px}
.dashboard-chat-page.admin-anime .audio-wave{display:flex;align-items:center;gap:3px;flex:1;min-width:44px}
.dashboard-chat-page.admin-anime .audio-wave span{display:block;width:3px;height:8px;background:currentColor;border-radius:999px;opacity:.62}
.dashboard-chat-page.admin-anime .audio-bubble.playing .audio-wave span{animation:wave 1s ease-in-out infinite}
.dashboard-chat-page.admin-anime .audio-duration{font-size:12px;line-height:1;opacity:.82;flex:0 0 auto}
.dashboard-chat-page.admin-anime .emoji-panel[hidden]{display:none}
.dashboard-chat-page.admin-anime .emoji-panel{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:10px;max-height:216px;overflow-y:auto;padding:12px;margin-bottom:10px;border-radius:18px;background:rgba(255,255,255,.94);border:1px solid rgba(189,201,200,.55);box-shadow:0 18px 44px rgba(20,32,32,.14)}
.dashboard-chat-page.admin-anime .emoji-item{width:56px;height:56px;border:1px solid rgba(189,201,200,.45);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s}
.dashboard-chat-page.admin-anime .emoji-item:hover{background:#f7faf9;border-color:rgba(0,96,96,.28);box-shadow:0 8px 20px rgba(20,32,32,.08);transform:translateY(-1px)}
.dashboard-chat-page.admin-anime .emoji-item img{max-width:40px;max-height:40px;object-fit:contain}
.dashboard-chat-page.admin-anime .media-btn.active,.dashboard-chat-page.admin-anime .emoji-btn.active{color:#006060;background:rgba(0,96,96,.08)}
@media(max-width:900px){.admin-shell-top{height:auto;min-height:58px;margin-top:0;width:100%;border-radius:0}.admin-shell-brand,.admin-shell-title{font-size:18px;line-height:1;white-space:nowrap}.admin-nav-toggle{display:flex}.admin-shell-actions{display:none;position:absolute;left:12px;right:12px;top:calc(100% + 8px);z-index:4000;flex-direction:column;align-items:stretch;gap:8px;padding:12px;border-radius:20px;background:rgba(255,255,255,.96);border:1px solid rgba(189,201,200,.42);box-shadow:0 18px 42px rgba(20,32,32,.16);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);overflow:visible}.admin-shell-actions.open{display:flex}.admin-shell-actions a,.admin-shell-actions button{width:100%;white-space:nowrap;padding:10px 12px;text-align:left}.admin-grid-2{grid-template-columns:1fr}.admin-page-wrap{width:calc(100% - 24px);margin-top:12px}.admin-panel-head,.admin-panel-body{padding:18px}.dashboard-chat-page.admin-anime .dashboard-chat-wrap{height:calc(100dvh - 58px);padding:0}.dashboard-chat-page.admin-anime .chat-layout.has-sidebar{border-radius:0}}
@media(max-width:900px){
  .dashboard-chat-page.admin-anime .chat-sidebar{
    top:58px;
    bottom:0;
    width:min(82vw,330px);
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-right:1px solid rgba(189,201,200,.42);
    box-shadow:16px 0 36px rgba(20,32,32,.16);
    z-index:1300;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar.open{left:0}
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask{
    inset:58px 0 0 min(82vw,330px);
    background:rgba(15,23,42,.16);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
    z-index:1200;
  }
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask.show{display:block}
  .dashboard-chat-page.admin-anime .sidebar-head,
  .dashboard-chat-page.admin-anime .sidebar-copy,
  .dashboard-chat-page.admin-anime .sidebar-tools,
  .dashboard-chat-page.admin-anime .sidebar-footer{
    background:rgba(255,255,255,.72);
    border-color:rgba(189,201,200,.32);
  }
  .dashboard-chat-page.admin-anime .sidebar-row:hover,
  .dashboard-chat-page.admin-anime .sidebar-row:has(.sidebar-item.active){background:rgba(0,96,96,.09)}
}

/* admin-bg-fix-20260708 */
body.admin-anime{background:#f7faf9!important;}
body.admin-anime::before{content:""!important;position:fixed!important;inset:0!important;z-index:-2!important;background:linear-gradient(135deg,#f8fbfb 0%,#eef7f6 48%,#fff7fb 100%)!important;background-image:none!important;filter:none!important;}
body.admin-anime::after{content:""!important;position:fixed!important;inset:0!important;z-index:-1!important;background:radial-gradient(circle at 18% 10%,rgba(0,96,96,.08),transparent 30%),radial-gradient(circle at 88% 18%,rgba(255,182,193,.14),transparent 28%),rgba(247,250,249,.45)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
.dashboard-chat-page.admin-anime::before{display:none!important;}
.dashboard-chat-page.admin-anime::after{display:none!important;}

/* audio-fix-20260708 */
.audio-bubble{width:168px!important;min-width:168px!important;max-width:168px!important;height:44px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;border-radius:22px!important;overflow:hidden!important;box-sizing:border-box!important;}
.chat-message.self .audio-bubble{border-bottom-right-radius:6px!important;background:rgba(0,106,106,.78)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 8px 18px rgba(0,96,96,.14)!important;}
.chat-message.other .audio-bubble{border-bottom-left-radius:6px!important;background:rgba(255,255,255,.78)!important;color:#233!important;border:1px solid rgba(189,201,200,.35)!important;box-shadow:0 8px 18px rgba(20,32,32,.08)!important;}
.audio-bubble audio{display:none!important;}
.audio-play-btn{width:30px!important;height:30px!important;min-width:30px!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.92)!important;color:#006060!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;padding:0!important;box-shadow:0 4px 12px rgba(20,32,32,.12)!important;}
.chat-message.other .audio-play-btn{background:#006060!important;color:#fff!important;}
.audio-play-btn .material-symbols-outlined{font-size:20px!important;line-height:1!important;}
.audio-wave{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;flex:1 1 auto!important;min-width:48px!important;height:20px!important;}
.audio-wave span{display:block!important;width:3px!important;height:8px!important;border-radius:999px!important;background:currentColor!important;opacity:.62!important;animation:none!important;}
.audio-wave span:nth-child(2){height:14px!important}.audio-wave span:nth-child(3){height:10px!important}.audio-wave span:nth-child(4){height:16px!important}.audio-wave span:nth-child(5){height:8px!important}
.audio-bubble.playing .audio-wave span{animation:wave 1s ease-in-out infinite!important;}
.audio-duration{font-size:12px!important;line-height:1!important;opacity:.82!important;flex:0 0 auto!important;white-space:nowrap!important;}

/* runtime-message-fix-20260708 */
.chat-day-divider{display:flex!important;justify-content:center!important;align-items:center!important;margin:12px 0!important;width:100%!important;max-width:none!important;clear:both!important;}
.chat-day-divider span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:26px!important;padding:4px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.76)!important;border:1px solid rgba(189,201,200,.38)!important;box-shadow:0 8px 18px rgba(20,32,32,.06)!important;color:#5f6b6b!important;font-size:12px!important;line-height:16px!important;font-weight:700!important;}
.chat-system-tip{display:flex!important;justify-content:center!important;align-items:center!important;margin:8px 0!important;width:100%!important;max-width:none!important;clear:both!important;}
.chat-system-tip span{display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:min(86vw,520px)!important;padding:7px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.88)!important;border:1px solid rgba(186,26,26,.18)!important;color:#ba1a1a!important;box-shadow:0 10px 24px rgba(20,32,32,.08)!important;font-size:13px!important;line-height:18px!important;font-weight:700!important;}
.press-talk-btn{touch-action:none;user-select:none;-webkit-user-select:none;}
.press-talk-btn.active-voice-mode{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;}
.press-talk-btn.pressing{background:#006060!important;color:#fff!important;box-shadow:inset 0 0 0 999px rgba(0,96,96,.08),0 8px 18px rgba(0,96,96,.18)!important;}
#voiceOverlay{display:none!important;}


/* mobile-drawer-polish-20260709 */
@media (max-width:900px){
  .dashboard-chat-page.admin-anime .admin-shell-top{
    position:relative!important;
    z-index:3600!important;
    background:rgba(247,250,249,.96)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar{
    display:flex!important;
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(82vw,330px)!important;
    padding-top:58px!important;
    background:#fff!important;
    background-image:linear-gradient(180deg,#fff 0%,#fbfdfd 100%)!important;
    border-right:1px solid rgba(189,201,200,.48)!important;
    box-shadow:18px 0 42px rgba(20,32,32,.18)!important;
    transform:translate3d(-104%,0,0)!important;
    opacity:.98!important;
    transition:transform .28s cubic-bezier(.22,.72,.18,1), box-shadow .28s ease, opacity .2s ease!important;
    will-change:transform!important;
    z-index:3200!important;
    overflow:hidden!important;
    border-radius:0!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar.open{
    left:0!important;
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:-1!important;
    background:#fff!important;
    pointer-events:none!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-head,
  .dashboard-chat-page.admin-anime .sidebar-copy,
  .dashboard-chat-page.admin-anime .sidebar-tools,
  .dashboard-chat-page.admin-anime .sidebar-list,
  .dashboard-chat-page.admin-anime .sidebar-footer{
    background:#fff!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-head{
    height:58px!important;
    min-height:58px!important;
    padding:0 24px!important;
    border-bottom:0!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-copy,
  .dashboard-chat-page.admin-anime .sidebar-tools{
    border-bottom:1px solid rgba(189,201,200,.32)!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(15,23,42,.18)!important;
    backdrop-filter:blur(4px)!important;
    -webkit-backdrop-filter:blur(4px)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .24s ease, backdrop-filter .24s ease!important;
    z-index:3000!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask.show{
    display:block!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .dashboard-chat-page.admin-anime .chat-main{
    transform:none!important;
  }
}


/* admin-input-match-user-20260709 */
@media (max-width:900px){
  .dashboard-chat-page.admin-anime .chat-input-area{
    padding:8px 20px 10px!important;
    background:rgba(221,227,235,.82)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    border-top:1px solid rgba(189,201,200,.42)!important;
    border-radius:22px 22px 0 0!important;
    box-shadow:0 -10px 30px -18px rgba(20,32,32,.22)!important;
  }
  .dashboard-chat-page.admin-anime .chat-input-area .upload-progress,
  .dashboard-chat-page.admin-anime .chat-input-area .emoji-panel{
    margin-bottom:8px!important;
  }
  .dashboard-chat-page.admin-anime .input-row{
    position:relative!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:space-around!important;
    gap:0!important;
    width:100%!important;
    min-height:96px!important;
    padding:0!important;
  }
  .dashboard-chat-page.admin-anime .input-row .msg-input{
    order:1!important;
    flex:0 0 100%!important;
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    margin:0!important;
    padding:0 64px 0 22px!important;
    border:2px solid #006060!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.96)!important;
    color:#172121!important;
    font-size:16px!important;
    line-height:54px!important;
    resize:none!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .dashboard-chat-page.admin-anime .input-row .msg-input::placeholder{
    color:rgba(95,101,108,.64)!important;
  }
  .dashboard-chat-page.admin-anime .input-row .send-btn{
    position:absolute!important;
    order:2!important;
    top:6px!important;
    right:6px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    margin:0!important;
    border-radius:999px!important;
    background:#006060!important;
    color:#fff!important;
    box-shadow:0 10px 22px rgba(0,96,96,.18)!important;
    z-index:2!important;
  }
  .dashboard-chat-page.admin-anime .input-row .send-btn svg{
    display:block!important;
    width:22px!important;
    height:22px!important;
    stroke-width:2!important;
  }
  .dashboard-chat-page.admin-anime .input-row .send-btn::after{
    content:none!important;
  }
  .dashboard-chat-page.admin-anime .input-row .media-btn{
    order:3!important;
    flex:0 0 25%!important;
    width:25%!important;
    height:42px!important;
    margin-top:8px!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#5f6b76!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-shadow:none!important;
  }
  .dashboard-chat-page.admin-anime .input-row .media-btn:hover,
  .dashboard-chat-page.admin-anime .input-row .media-btn.voice-mode,
  .dashboard-chat-page.admin-anime .input-row .emoji-btn.active{
    background:rgba(0,96,96,.08)!important;
    color:#006060!important;
  }
  .dashboard-chat-page.admin-anime .input-row .media-btn svg{
    width:24px!important;
    height:24px!important;
    stroke-width:1.9!important;
  }
  .dashboard-chat-page.admin-anime .input-row .press-talk-btn{
    order:1!important;
    flex:0 0 100%!important;
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    margin:0!important;
    padding:0 22px!important;
    border:2px solid #006060!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.96)!important;
    color:#006060!important;
    font-size:16px!important;
    font-weight:700!important;
  }
  .dashboard-chat-page.admin-anime .input-row .press-talk-btn.pressing{
    background:#006060!important;
    color:#fff!important;
  }
  .dashboard-chat-page.admin-anime .input-row input[type=file]{
    display:none!important;
  }
}


/* emoji-lazy-loading-20260709 */
.emoji-loading,.emoji-empty{grid-column:1/-1;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#5f6b6b;font-size:13px;font-weight:700;text-align:center;}
.emoji-loading span{width:28px;height:28px;border-radius:999px;border:3px solid rgba(0,96,96,.14);border-top-color:#006060;animation:emojiSpin .8s linear infinite;}
.emoji-loading p{margin:0;line-height:18px;}
@keyframes emojiSpin{to{transform:rotate(360deg)}}
.emoji-panel.is-loading{overflow:hidden;}


/* mobile-drawer-clear-mask-20260709 */
@media (max-width:900px){
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask{
    left:min(82vw,330px)!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    inset:0 0 0 min(82vw,330px)!important;
    background:rgba(15,23,42,.22)!important;
    backdrop-filter:blur(3px)!important;
    -webkit-backdrop-filter:blur(3px)!important;
    z-index:3000!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar{
    z-index:3400!important;
    filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar,
  .dashboard-chat-page.admin-anime .chat-sidebar *{
    filter:none!important;
  }
}

/* mobile-drawer-final-fix-20260709 */
@media (max-width:900px){
  .dashboard-chat-page.admin-anime .dashboard-chat-wrap,
  .dashboard-chat-page.admin-anime .chat-layout.has-sidebar{
    overflow:visible!important;
    isolation:auto!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(15,23,42,.30)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .24s ease, visibility .24s ease!important;
    z-index:9000!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask.show{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar{
    display:flex!important;
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(82vw,330px)!important;
    height:100dvh!important;
    padding-top:58px!important;
    background:#fff!important;
    background-image:linear-gradient(180deg,#fff 0%,#fbfdfd 100%)!important;
    border-right:1px solid rgba(189,201,200,.46)!important;
    box-shadow:20px 0 42px rgba(20,32,32,.18)!important;
    transform:translate3d(-104%,0,0)!important;
    opacity:1!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .28s cubic-bezier(.22,.72,.18,1), visibility .28s ease!important;
    z-index:9010!important;
    filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    overflow:hidden!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar.open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar,
  .dashboard-chat-page.admin-anime .chat-sidebar *{
    filter:none!important;
  }
  .dashboard-chat-page.admin-anime .sidebar-head,
  .dashboard-chat-page.admin-anime .sidebar-copy,
  .dashboard-chat-page.admin-anime .sidebar-tools,
  .dashboard-chat-page.admin-anime .sidebar-list,
  .dashboard-chat-page.admin-anime .sidebar-footer{
    background:#fff!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

/* mobile-drawer-mask-scope-fix-20260709 */
@media (max-width:900px){
  .dashboard-chat-page.admin-anime .sidebar-drawer-mask{
    inset:0 0 0 min(82vw,330px)!important;
    background:rgba(15,23,42,.20)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    z-index:9000!important;
  }
  .dashboard-chat-page.admin-anime .chat-sidebar{
    background:#fff!important;
    opacity:1!important;
    z-index:9010!important;
  }
}
