/* === GattoMusic v7.2: Chat em três painéis, escuro e responsivo === */
body.chat-view-active{
  --chat-v72-bg:#070b11;
  --chat-v72-panel:#0d141d;
  --chat-v72-panel-2:#111923;
  --chat-v72-card:#151e29;
  --chat-v72-card-hover:#1a2532;
  --chat-v72-line:#273342;
  --chat-v72-accent:#ff8a00;
  --chat-v72-accent-soft:rgba(255,138,0,.14);
  --chat-v72-own:#12375f;
  --chat-v72-own-border:#1c568f;
  --chat-v72-text:#f4f6fa;
  --chat-v72-muted:#9ba5b3;
  --chat-v72-green:#27d17f;
  --chat-v72-danger:#ff5f62;
  color-scheme:dark;
  overflow:hidden!important;
}
body.chat-view-active .app-shell{grid-template-columns:minmax(0,1fr)!important;padding-bottom:0!important;background:radial-gradient(circle at 60% -25%,rgba(31,76,126,.2),transparent 42%),var(--chat-v72-bg)!important}
body.chat-view-active .sidebar{display:none!important}
body.chat-view-active .main-column{grid-column:1!important;display:grid!important;grid-template-rows:64px minmax(0,1fr)!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
body.chat-view-active .topbar{height:64px!important;min-height:64px!important;padding:8px 14px!important;border-bottom:1px solid var(--chat-v72-line)!important;background:rgba(7,11,17,.96)!important;backdrop-filter:blur(18px)!important;gap:10px!important}
body.chat-view-active .topbar .search-wrap{display:none!important}
body.chat-view-active .topbar .menu-button{display:none!important}
body.chat-view-active .topbar .history-controls{order:0}
body.chat-view-active .topbar .server-pill{margin-left:auto!important}
body.chat-view-active .content{height:auto!important;min-height:0!important;overflow:hidden!important;padding:10px 12px 12px!important;background:var(--chat-v72-bg)!important}
body.chat-view-active .hero,body.chat-view-active #chatFixedHeader{display:none!important}
body.chat-view-active .view-content{height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important}
.player-bar.chat-v72-player-hidden{display:none!important}
.chat-v72-topbar-identity{order:-10;display:flex;align-items:center;gap:10px;min-width:248px;padding-right:12px;border-right:1px solid var(--chat-v72-line)}
.chat-v72-topbar-identity img{width:38px;height:38px;border-radius:10px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,138,0,.42)}
.chat-v72-topbar-copy{display:grid;min-width:0;line-height:1.08}.chat-v72-topbar-copy strong{font:900 1.08rem/1.1 Verdana,Arial,sans-serif;color:var(--chat-v72-text)}.chat-v72-topbar-copy span{font:700 .72rem/1.25 Verdana,Arial,sans-serif;color:var(--chat-v72-muted);white-space:nowrap}
.chat-v72-topbar-copy strong::first-letter{color:var(--chat-v72-accent)}
.chat-v72-player-return{min-height:34px!important;padding:6px 10px!important;border-color:rgba(255,138,0,.4)!important;color:var(--chat-v72-accent)!important;font-size:.74rem!important}
.chat-workspace-panel{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;border:1px solid var(--chat-v72-line)!important;border-radius:15px!important;background:var(--chat-v72-bg)!important;box-shadow:0 18px 54px rgba(0,0,0,.36)!important;overflow:hidden!important}
.chat-workspace-panel>.chat-shell,.chat-shell{--chat-sidebar-width:clamp(280px,23vw,382px)!important;display:grid!important;grid-template-columns:minmax(270px,var(--chat-sidebar-width)) 8px minmax(390px,1fr) minmax(286px,23.5vw)!important;gap:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;background:var(--chat-v72-bg)!important}
.chat-sidebar,.chat-conversation,.chat-v72-info-panel{height:100%!important;min-height:0!important;max-height:100%!important;min-width:0!important;border:0!important;border-radius:0!important;background:var(--chat-v72-panel)!important;box-shadow:none!important;color:var(--chat-v72-text)!important;box-sizing:border-box!important}
.chat-sidebar{display:flex!important;flex-direction:column!important;gap:12px!important;overflow:hidden!important;padding:0!important;border-right:1px solid var(--chat-v72-line)!important}
.chat-workspace-panel .chat-sidebar:not(.preferences-mode){padding-left:0!important;overflow:hidden!important;scrollbar-gutter:auto!important}
.chat-workspace-panel .chat-left-scrollbar{display:none!important;visibility:hidden!important;pointer-events:none!important}
.chat-column-splitter{min-width:8px!important;border-radius:0!important;background:var(--chat-v72-bg)!important;cursor:col-resize!important}
.chat-column-splitter::before{left:3px!important;top:8%!important;bottom:8%!important;width:2px!important;background:#334153!important;box-shadow:none!important}
.chat-conversation{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;overflow:hidden!important;background:linear-gradient(180deg,#0b121b,#0d151f)!important;border-right:1px solid var(--chat-v72-line)!important}
.chat-message-splitter{display:none!important}
.chat-title{flex:0 0 auto;align-items:center!important;padding:14px 16px 10px!important;border-bottom:1px solid var(--chat-v72-line)!important;background:#0c121b!important}
.chat-title>div:first-child{display:grid;gap:2px}.chat-title .eyebrow{margin:0!important;color:var(--chat-v72-accent)!important;font:800 .68rem/1.2 Verdana,Arial,sans-serif!important;letter-spacing:.08em}.chat-title h1{margin:0!important;font:900 1.15rem/1.25 Verdana,Arial,sans-serif!important;color:var(--chat-v72-text)!important}
.chat-settings summary{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--chat-v72-line);border-radius:10px;color:var(--chat-v72-muted)!important;font-size:0!important;background:var(--chat-v72-card)}
.chat-settings summary::before{content:'⚙';font-size:1rem}.chat-settings[open]{position:absolute!important;z-index:300!important;top:58px!important;left:10px!important;right:10px!important;width:auto!important;height:calc(100% - 70px)!important;max-height:none!important;padding:14px!important;border:1px solid var(--chat-v72-line)!important;border-radius:12px!important;background:#0d141e!important;box-shadow:0 20px 50px rgba(0,0,0,.55)!important}
.chat-sidebar.preferences-mode .chat-settings[open]{position:static!important;height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.chat-contact-search{flex:0 0 auto;margin:0 14px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}.chat-contact-search input{min-height:42px!important;border:1px solid var(--chat-v72-line)!important;border-radius:11px!important;background:#121a24!important;color:var(--chat-v72-text)!important;padding:9px 12px 9px 38px!important}.chat-contact-search::before{content:'⌕';position:absolute;left:13px;top:8px;color:var(--chat-v72-muted);font-size:1.2rem;z-index:2}.chat-contact-search .button{min-width:42px!important;padding:7px!important;border-color:var(--chat-v72-line)!important}
.chat-request-section{flex:0 0 auto;margin:0 14px!important}
.chat-list-heading{flex:0 0 auto;padding:0 16px!important}.chat-list-heading h3{font:800 .78rem/1.3 Verdana,Arial,sans-serif!important;color:var(--chat-v72-muted)!important;text-transform:uppercase;letter-spacing:.04em}
.chat-contact-list{flex:1 1 auto!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;align-content:start!important;gap:4px!important;padding:0 8px 14px!important;scrollbar-gutter:stable!important}
.chat-contact-row{position:relative;grid-template-columns:48px minmax(0,1fr) 34px!important;gap:2px!important;min-height:70px!important;border:1px solid transparent!important;border-radius:12px!important;padding:4px!important;background:transparent!important;transition:background .16s ease,border-color .16s ease}
.chat-contact-row:hover{background:var(--chat-v72-card)!important}.chat-contact-row.is-selected,.chat-contact-row:has(.chat-contact.active){border-color:rgba(255,138,0,.58)!important;background:linear-gradient(90deg,rgba(255,138,0,.13),rgba(255,255,255,.035))!important;box-shadow:inset 3px 0 0 var(--chat-v72-accent)!important}
.chat-contact-avatar-button{width:46px!important;height:58px!important;border-radius:12px!important}.chat-contact-avatar{width:42px!important;height:42px!important;flex:0 0 42px!important;border:1px solid rgba(255,255,255,.14)!important}.chat-contact-main{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 11px auto!important;align-items:center!important;min-height:58px!important;padding:7px 4px!important;border:0!important;background:transparent!important}.chat-contact-main.active{box-shadow:none!important;background:transparent!important}.chat-contact-info{padding-right:42px!important;gap:3px!important}.chat-contact-info strong{font:800 .86rem/1.25 Verdana,Arial,sans-serif!important;color:var(--chat-v72-text)!important}.chat-contact-info small{font:normal .7rem/1.3 Verdana,Arial,sans-serif!important;color:var(--chat-v72-muted)!important}.chat-v72-contact-preview{opacity:.9}.chat-v72-contact-time{position:absolute;right:3px;top:8px;color:var(--chat-v72-muted);font:normal .64rem/1.2 Verdana,Arial,sans-serif}.chat-contact-options{width:32px!important;height:54px!important;font-size:1.05rem!important;color:var(--chat-v72-muted)!important}.chat-contact-unread{background:var(--chat-v72-accent)!important;color:#111!important}.chat-presence.online{background:var(--chat-v72-green)!important}
.chat-v72-conversation-header{position:relative!important;z-index:12!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:66px!important;padding:9px 14px!important;border-bottom:1px solid var(--chat-v72-line)!important;background:rgba(13,20,29,.97)!important;box-shadow:0 8px 20px rgba(0,0,0,.12)!important}
.chat-v72-conversation-title{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:10px!important;min-width:180px!important}.chat-v72-conversation-title h2{grid-column:2!important;margin:0!important;font:900 1rem/1.25 Verdana,Arial,sans-serif!important;color:var(--chat-v72-text)!important}.chat-v72-conversation-title .chat-conversation-presence,.chat-v72-conversation-title .chat-self-note{grid-column:2!important;margin:0!important;font-size:.7rem!important}.chat-v72-conversation-avatar{grid-column:1!important;grid-row:1/3!important;position:relative;display:grid;place-items:center;width:44px;height:44px;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--secondary));font-weight:900}.chat-v72-conversation-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.chat-v72-mobile-back{display:none;grid-column:1;grid-row:1/3;width:34px;height:42px;border:0;background:transparent;color:var(--chat-v72-text);font-size:1.8rem;cursor:pointer}
.chat-v72-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:nowrap!important;min-width:0!important}.chat-v72-header-actions .button{min-height:38px!important;padding:7px 10px!important;border-color:var(--chat-v72-line)!important;border-radius:10px!important;background:#111a25!important;color:var(--chat-v72-text)!important;font:800 .7rem/1.2 Verdana,Arial,sans-serif!important;white-space:nowrap!important}.chat-v72-header-actions .button:hover,.chat-v72-header-actions .button:focus-visible{border-color:var(--chat-v72-accent)!important;background:var(--chat-v72-accent-soft)!important}.chat-v72-header-actions .button.danger{color:var(--chat-v72-danger)!important}.chat-v72-header-search{width:clamp(120px,16vw,225px)!important;min-height:38px!important;border:1px solid var(--chat-v72-line)!important;border-radius:10px!important;background:#111a25!important;color:var(--chat-v72-text)!important;padding:8px 11px!important}.chat-v72-info-toggle{color:var(--chat-v72-accent)!important}
.chat-message-list{min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;gap:7px!important;padding:18px 20px 24px!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important;background:radial-gradient(circle at 78% 8%,rgba(36,91,150,.10),transparent 31%),linear-gradient(180deg,rgba(7,12,19,.78),rgba(10,17,26,.92))!important}
.chat-message-list[data-chat-wallpaper="midnight"]{background:radial-gradient(circle at 50% 0,rgba(24,91,150,.22),transparent 48%),linear-gradient(180deg,#08111c,#0b1724)!important}.chat-message-list[data-chat-wallpaper="graphite"]{background:repeating-linear-gradient(135deg,#0d1218 0,#0d1218 16px,#0f151c 16px,#0f151c 32px)!important}.chat-message-list[data-chat-wallpaper="plain"]{background:#0b121a!important}
.chat-v72-date-divider{align-self:center;display:inline-flex;align-items:center;justify-content:center;min-height:26px;margin:7px auto;padding:4px 13px;border:1px solid rgba(255,255,255,.06);border-radius:999px;background:rgba(3,7,12,.78);color:#c0c7d0;font:700 .66rem/1.2 Verdana,Arial,sans-serif;box-shadow:0 4px 13px rgba(0,0,0,.18)}
.chat-message{position:relative!important;max-width:min(78%,680px)!important;gap:5px!important;padding:9px 12px!important;border:1px solid var(--chat-v72-line)!important;border-radius:14px!important;background:var(--chat-v72-card)!important;color:var(--chat-v72-text)!important;box-shadow:0 5px 14px rgba(0,0,0,.12)!important}.chat-message.incoming{border-bottom-left-radius:5px!important}.chat-message.outgoing{align-self:flex-end!important;border-color:var(--chat-v72-own-border)!important;border-bottom-right-radius:5px!important;background:linear-gradient(135deg,#12345a,#123f70)!important}.chat-message-text{font:normal .82rem/1.42 Verdana,Arial,sans-serif!important}.chat-message-meta{color:#9ba7b6!important;font-size:.62rem!important}.chat-message-status.status-read{color:#5db2ff!important}.chat-message.removed-for-viewer{background:#171d25!important;border-style:dashed!important}.chat-message-removed-marker strong::before{content:'⊘ ';font-style:normal}.chat-message.selected{outline:2px solid var(--chat-v72-accent)!important;outline-offset:2px!important}.chat-message-menu-options{z-index:500!important;opacity:1!important;border:1px solid var(--chat-v72-line)!important;background:#111923!important;box-shadow:0 16px 40px rgba(0,0,0,.55)!important}.chat-attachment-card{background:rgba(5,11,18,.4)!important}.chat-attachment-preview-image{border:1px solid rgba(255,255,255,.1)!important}
.chat-typing-indicator{min-height:24px!important;padding:3px 20px!important;background:#0d151f!important;color:var(--chat-v72-accent)!important}
body.chat-v72-composer-integrated .chat-composer{position:relative!important;z-index:15!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-auto-flow:row!important;gap:7px 9px!important;width:100%!important;min-width:0!important;max-height:min(42dvh,390px)!important;overflow-y:auto!important;padding:10px 12px!important;border-top:1px solid var(--chat-v72-line)!important;background:linear-gradient(180deg,#101821,#0c131c)!important;box-shadow:0 -10px 25px rgba(0,0,0,.16)!important;scrollbar-gutter:stable!important}
body.chat-v72-composer-integrated .chat-composer textarea{grid-column:1!important;grid-row:1!important;min-height:54px!important;max-height:116px!important;resize:vertical!important;padding:13px 14px!important;border:1px solid #2d3949!important;border-radius:12px!important;background:#151d28!important;color:var(--chat-v72-text)!important;font:normal .86rem/1.45 Verdana,Arial,sans-serif!important;box-shadow:none!important}
body.chat-v72-composer-integrated .chat-composer textarea:focus{border-color:var(--chat-v72-accent)!important;outline:3px solid rgba(255,138,0,.11)!important}
body.chat-v72-composer-integrated .chat-text-toolbar{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;padding:0!important}
body.chat-v72-composer-integrated .chat-text-toolbar .button{min-height:34px!important;padding:6px 9px!important;border-color:var(--chat-v72-line)!important;border-radius:9px!important;background:#111a24!important;color:#c8d0db!important;font:700 .68rem/1.2 Verdana,Arial,sans-serif!important}
body.chat-v72-composer-integrated .chat-music-notes{margin-left:auto!important;min-width:50px!important;color:var(--chat-v72-accent)!important}
body.chat-v72-composer-integrated .chat-composer-actions{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(82px,1fr))!important;align-self:stretch!important;gap:7px!important;min-width:180px!important}
body.chat-v72-composer-integrated .chat-composer-actions .button{min-width:0!important;min-height:42px!important;padding:7px 8px!important;border-color:var(--chat-v72-line)!important;border-radius:10px!important;background:#141e29!important;color:var(--chat-v72-text)!important;font:800 .72rem/1.2 Verdana,Arial,sans-serif!important;white-space:normal!important}.chat-composer-actions .button.primary{background:linear-gradient(135deg,#ff7800,#ff9d00)!important;border-color:#ffad2d!important;color:#111!important;box-shadow:0 7px 20px rgba(255,125,0,.24)!important}.chat-composer-actions .button.primary:hover{filter:brightness(1.08)}
body.chat-v72-composer-integrated .chat-selected-file,body.chat-v72-composer-integrated .chat-voice-preview,body.chat-v72-composer-integrated .chat-upload-progress,body.chat-v72-composer-integrated .chat-upload-progress-label,body.chat-v72-composer-integrated .chat-cancel-upload,body.chat-v72-composer-integrated .chat-clipboard-preview{grid-column:1/-1!important;grid-row:auto!important}
body.chat-v72-composer-integrated .chat-selected-file-text.image-only .chat-selected-file-preview-image{max-height:180px!important}
.chat-v72-info-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;border-left:1px solid var(--chat-v72-line)!important;background:#0d141d!important;overflow:hidden!important;transition:transform .22s ease,opacity .22s ease,width .22s ease}
.chat-v72-info-panel.is-closed{display:none!important}.chat-v72-info-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:12px 14px;border-bottom:1px solid var(--chat-v72-line);background:#0c121a}.chat-v72-info-header h2{margin:0;font:900 .92rem/1.2 Verdana,Arial,sans-serif;color:var(--chat-v72-text)}.chat-v72-icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--chat-v72-muted);font-size:1.25rem;cursor:pointer}.chat-v72-icon-button:hover{border-color:var(--chat-v72-line);background:var(--chat-v72-card);color:var(--chat-v72-text)}.chat-v72-info-body{min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 13px 18px;scrollbar-gutter:stable}.chat-v72-info-profile{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:12px;padding:2px 0 14px;border-bottom:1px solid var(--chat-v72-line)}.chat-v72-info-profile .chat-contact-dialog-avatar{width:60px!important;height:60px!important}.chat-v72-info-profile>div{display:grid;gap:3px}.chat-v72-info-profile strong{font:900 .9rem/1.2 Verdana,Arial,sans-serif}.chat-v72-info-profile span,.chat-v72-info-profile small{color:var(--chat-v72-muted);font:.7rem/1.35 Verdana,Arial,sans-serif}.chat-v72-profile-status.online{color:var(--chat-v72-green)!important}
.chat-v72-info-section{display:grid;gap:9px;padding:14px 0;border-bottom:1px solid var(--chat-v72-line)}.chat-v72-info-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-v72-info-section-heading h3{margin:0;font:800 .75rem/1.2 Verdana,Arial,sans-serif;color:var(--chat-v72-text)}.chat-v72-link-button{border:0;background:transparent;color:var(--chat-v72-accent);font:800 .68rem/1.2 Verdana,Arial,sans-serif;cursor:pointer}.chat-v72-empty,.chat-v72-info-empty{margin:0;padding:12px;border:1px dashed var(--chat-v72-line);border-radius:10px;color:var(--chat-v72-muted);font:.7rem/1.45 Verdana,Arial,sans-serif;text-align:center}.chat-v72-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.chat-v72-media-card{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;overflow:hidden;border:1px solid var(--chat-v72-line);border-radius:8px;background:#111a25;color:var(--chat-v72-text);cursor:pointer}.chat-v72-media-card img{width:100%;height:100%;object-fit:cover}.chat-v72-media-card small{position:absolute;left:5px;right:5px;bottom:5px;overflow:hidden;color:#fff;font:.58rem/1.2 Verdana,Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 4px #000}.chat-v72-media-play{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.58)}
.chat-v72-file-list{display:grid;gap:6px}.chat-v72-file-row{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:8px;width:100%;min-width:0;padding:8px;border:1px solid var(--chat-v72-line);border-radius:9px;background:#111923;color:var(--chat-v72-text);text-align:left;cursor:pointer}.chat-v72-file-row:hover{background:var(--chat-v72-card-hover)}.chat-v72-file-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#6c36dd,#8d59f2);font-size:.9rem}.chat-v72-file-copy{display:grid;gap:2px;min-width:0}.chat-v72-file-copy strong,.chat-v72-file-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-v72-file-copy strong{font:700 .68rem/1.25 Verdana,Arial,sans-serif}.chat-v72-file-copy small{color:var(--chat-v72-muted);font:normal .61rem/1.25 Verdana,Arial,sans-serif}.chat-v72-file-download{color:var(--chat-v72-accent);font-size:1rem}
.chat-v72-detail-row{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-width:0;padding:8px 4px;border:0;border-bottom:1px solid rgba(39,51,66,.7);background:transparent;color:var(--chat-v72-text);text-align:left;cursor:pointer}.chat-v72-detail-row:last-child{border-bottom:0}.chat-v72-detail-row:hover{background:rgba(255,255,255,.035)}.chat-v72-detail-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#111a25;color:var(--chat-v72-muted)}.chat-v72-detail-copy{display:grid;gap:2px;min-width:0}.chat-v72-detail-copy strong{font:700 .68rem/1.25 Verdana,Arial,sans-serif}.chat-v72-detail-copy small{color:var(--chat-v72-accent);font:normal .61rem/1.25 Verdana,Arial,sans-serif}.chat-v72-detail-arrow{justify-self:end;color:var(--chat-v72-muted);font-size:1.1rem}.chat-v72-detail-row.danger strong,.chat-v72-detail-row.danger .chat-v72-detail-icon{color:var(--chat-v72-danger)}
.chat-sidebar,.chat-message-list,.chat-v72-info-body,.chat-composer{scrollbar-width:auto;scrollbar-color:#536174 #101720}.chat-sidebar::-webkit-scrollbar,.chat-contact-list::-webkit-scrollbar,.chat-message-list::-webkit-scrollbar,.chat-v72-info-body::-webkit-scrollbar,.chat-composer::-webkit-scrollbar{width:11px;height:11px}.chat-sidebar::-webkit-scrollbar-track,.chat-contact-list::-webkit-scrollbar-track,.chat-message-list::-webkit-scrollbar-track,.chat-v72-info-body::-webkit-scrollbar-track,.chat-composer::-webkit-scrollbar-track{background:#0a1017}.chat-sidebar::-webkit-scrollbar-thumb,.chat-contact-list::-webkit-scrollbar-thumb,.chat-message-list::-webkit-scrollbar-thumb,.chat-v72-info-body::-webkit-scrollbar-thumb,.chat-composer::-webkit-scrollbar-thumb{min-height:42px;border:3px solid #0a1017;border-radius:999px;background:#536174}.chat-sidebar::-webkit-scrollbar-thumb:hover,.chat-contact-list::-webkit-scrollbar-thumb:hover,.chat-message-list::-webkit-scrollbar-thumb:hover,.chat-v72-info-body::-webkit-scrollbar-thumb:hover,.chat-composer::-webkit-scrollbar-thumb:hover{background:var(--chat-v72-accent)}
@media(min-width:1121px){
  body.chat-view-active:not(.chat-v72-info-open) .chat-workspace-panel>.chat-shell,
  body.chat-view-active:not(.chat-v72-info-open) .chat-shell{grid-template-columns:minmax(270px,var(--chat-sidebar-width)) 8px minmax(390px,1fr)!important}
}
@media(max-width:1380px){
  .chat-workspace-panel>.chat-shell,.chat-shell{grid-template-columns:minmax(250px,310px) 7px minmax(370px,1fr) minmax(270px,300px)!important}
  .chat-v72-header-actions .chat-clear-history-button,.chat-v72-header-actions>.button.danger:not(.chat-v72-info-toggle){display:none!important}
  .chat-v72-header-search{width:150px!important}
}
@media(max-width:1120px){
  .chat-contact-info{padding-right:30px!important}
  .chat-contact-info strong{font-size:.8rem!important}
  .chat-workspace-panel>.chat-shell,.chat-shell{grid-template-columns:minmax(250px,300px) 7px minmax(0,1fr)!important;position:relative!important}
  .chat-v72-info-panel{position:absolute!important;z-index:220!important;top:0!important;right:0!important;bottom:0!important;width:min(340px,42vw)!important;border-left:1px solid var(--chat-v72-line)!important;box-shadow:-20px 0 50px rgba(0,0,0,.48)!important}
  .chat-v72-info-panel.is-closed{display:grid!important;transform:translateX(105%);opacity:0;pointer-events:none}
  .chat-v72-info-open .chat-v72-info-panel{transform:none;opacity:1;pointer-events:auto}
  .chat-v72-header-actions .chat-v72-call-button{padding:7px 8px!important;font-size:0!important}.chat-v72-header-actions .chat-v72-call-button::first-letter{font-size:.9rem}
  .chat-v72-topbar-identity{min-width:220px}.chat-v72-topbar-copy span{display:none}
}
@media(max-width:820px){
  body.chat-view-active .main-column{grid-template-rows:58px minmax(0,1fr)!important}
  body.chat-view-active .topbar{height:58px!important;min-height:58px!important;padding:7px 9px!important}.chat-v72-topbar-identity{min-width:0;flex:1;border-right:0;padding-right:0}.chat-v72-topbar-copy strong{font-size:.92rem}.chat-v72-player-return{min-width:58px!important}.chat-v72-topbar-identity img{width:34px;height:34px}.topbar .history-controls,.topbar .server-pill,.topbar #queueTopButton,.topbar .user-chip{display:none!important}
  body.chat-view-active .content{padding:7px!important}.chat-workspace-panel{border-radius:12px!important}
  .chat-workspace-panel>.chat-shell,.chat-shell{display:block!important;height:100%!important;position:relative!important;overflow:hidden!important}
  .chat-sidebar,.chat-conversation{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;margin:0!important;transition:transform .22s ease,opacity .22s ease!important}
  .chat-sidebar{z-index:20!important;transform:none!important;opacity:1!important}.chat-conversation{z-index:30!important;transform:translateX(103%)!important;opacity:0!important;pointer-events:none!important}
  body.chat-v72-mobile-conversation .chat-sidebar{transform:translateX(-24%)!important;opacity:0!important;pointer-events:none!important}
  body.chat-v72-mobile-conversation .chat-conversation{transform:none!important;opacity:1!important;pointer-events:auto!important}
  .chat-column-splitter{display:none!important}.chat-v72-info-panel{position:absolute!important;z-index:260!important;inset:0!important;width:100%!important;max-width:none!important;transform:translateX(105%);opacity:0;pointer-events:none}.chat-v72-info-open .chat-v72-info-panel{transform:none;opacity:1;pointer-events:auto}.chat-v72-info-panel.is-closed{display:grid!important}
  .chat-v72-conversation-title{grid-template-columns:34px 42px minmax(0,1fr)!important;min-width:0!important}.chat-v72-mobile-back{display:grid!important}.chat-v72-conversation-avatar{grid-column:2!important}.chat-v72-conversation-title h2,.chat-v72-conversation-title .chat-conversation-presence,.chat-v72-conversation-title .chat-self-note{grid-column:3!important}.chat-v72-conversation-header{padding:7px 8px!important}.chat-v72-header-search{display:none!important}.chat-v72-header-actions .chat-clear-history-button,.chat-v72-header-actions>.button.danger{display:none!important}.chat-v72-header-actions .button{min-width:38px!important;padding:7px!important;font-size:0!important}.chat-v72-header-actions .chat-v72-info-toggle{font-size:0!important}.chat-v72-header-actions .chat-v72-info-toggle::before{content:'ⓘ';font-size:1rem}.chat-v72-header-actions .chat-call-start::first-letter{font-size:1rem}
  .chat-message-list{padding:14px 10px 18px!important}.chat-message{max-width:88%!important}.chat-message-text{font-size:.8rem!important}
  body.chat-v72-composer-integrated .chat-composer{grid-template-columns:minmax(0,1fr)!important;max-height:min(46dvh,330px)!important;padding:8px!important}
  body.chat-v72-composer-integrated .chat-composer textarea{grid-column:1!important;grid-row:1!important;min-height:58px!important;max-height:95px!important}
  body.chat-v72-composer-integrated .chat-composer-actions{grid-column:1!important;grid-row:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;min-width:0!important}
  body.chat-v72-composer-integrated .chat-composer-actions .button{min-height:44px!important;font-size:.68rem!important}
  body.chat-v72-composer-integrated .chat-text-toolbar{grid-column:1!important;grid-row:3!important;display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.chat-v72-composer-integrated .chat-text-toolbar .button{flex:0 0 auto!important}
  .chat-settings[open]{top:0!important;left:0!important;right:0!important;height:100%!important;border-radius:0!important}
}
@media(max-width:390px){
  .chat-v72-topbar-copy{display:none}.chat-v72-topbar-identity{gap:6px}.chat-v72-player-return{margin-left:auto!important}
  .chat-contact-row{grid-template-columns:44px minmax(0,1fr) 32px!important}.chat-contact-avatar-button{width:43px!important}.chat-contact-info{padding-right:34px!important}
  .chat-v72-header-actions .chat-v72-call-button:nth-of-type(2){display:none!important}
  body.chat-v72-composer-integrated .chat-composer-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.chat-composer-actions .button.primary{grid-column:1/-1!important}
}
@media(prefers-reduced-motion:reduce){.chat-v72-info-panel,.chat-sidebar,.chat-conversation{transition:none!important}}
/* === fim GattoMusic v7.2 === */
/* === GattoMusic v7.3: splitters reais, painéis sem truncamento e breakpoints do contêiner === */
body.chat-view-active .chat-shell{
  --chat-v73-info-width:380px;
  --chat-v73-center-min:560px;
  position:relative!important;
  container-type:inline-size;
}
body.chat-v73-resizing,body.chat-v73-resizing *{cursor:ew-resize!important;user-select:none!important;-webkit-user-select:none!important}
.chat-v73-splitter{
  position:relative!important;z-index:70!important;display:block;align-self:stretch!important;
  width:8px!important;min-width:8px!important;max-width:8px!important;height:100%!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:var(--chat-v72-bg)!important;cursor:ew-resize!important;touch-action:none!important;outline:none!important
}
.chat-v73-splitter::before{
  content:''!important;position:absolute!important;left:3px!important;top:7%!important;bottom:7%!important;width:2px!important;
  border-radius:999px!important;background:#3a485a!important;box-shadow:none!important;transition:background .16s ease,box-shadow .16s ease!important
}
.chat-v73-splitter:hover::before,.chat-v73-splitter:focus-visible::before,.chat-v73-splitter.is-dragging::before{
  background:var(--chat-v72-accent)!important;box-shadow:0 0 0 4px rgba(255,138,0,.15)!important
}
.chat-v73-splitter:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,138,0,.48)!important}
.chat-v73-splitter[hidden]{display:none!important}
.chat-shell.chat-v73-large{
  display:grid!important;grid-template-columns:minmax(260px,var(--chat-sidebar-width)) 8px minmax(var(--chat-v73-center-min),1fr)!important;
  gap:0!important
}
body.chat-v72-info-open .chat-shell.chat-v73-large{
  grid-template-columns:minmax(260px,var(--chat-sidebar-width)) 8px minmax(var(--chat-v73-center-min),1fr) 8px minmax(320px,var(--chat-v73-info-width))!important
}
.chat-shell.chat-v73-large>.chat-sidebar{grid-column:1!important}
.chat-shell.chat-v73-large>#chatV73LeftSplitter{grid-column:2!important}
.chat-shell.chat-v73-large>.chat-conversation{grid-column:3!important}
.chat-shell.chat-v73-large>#chatV73RightSplitter{grid-column:4!important}
.chat-shell.chat-v73-large>.chat-v72-info-panel{grid-column:5!important;position:relative!important;inset:auto!important;width:auto!important;max-width:none!important;transform:none!important;opacity:1!important;pointer-events:auto!important}
.chat-shell.chat-v73-large>.chat-v72-info-panel.is-closed{display:none!important}
body:not(.chat-v72-info-open) .chat-shell.chat-v73-large>#chatV73RightSplitter,
body:not(.chat-v72-info-open) .chat-shell.chat-v73-large>.chat-v72-info-panel{display:none!important}
.chat-shell.chat-v73-medium{
  display:grid!important;grid-template-columns:minmax(260px,var(--chat-sidebar-width)) 8px minmax(var(--chat-v73-center-min),1fr)!important;
  gap:0!important;position:relative!important
}
.chat-shell.chat-v73-medium>.chat-sidebar{grid-column:1!important}
.chat-shell.chat-v73-medium>#chatV73LeftSplitter{grid-column:2!important}
.chat-shell.chat-v73-medium>.chat-conversation{grid-column:3!important}
.chat-shell.chat-v73-medium>#chatV73RightSplitter{display:none!important}
.chat-shell.chat-v73-medium>.chat-v72-info-panel{
  position:absolute!important;z-index:240!important;top:0!important;right:0!important;bottom:0!important;
  display:grid!important;width:min(var(--chat-v73-info-width),42cqw)!important;min-width:320px!important;max-width:480px!important;
  border-left:1px solid var(--chat-v72-line)!important;box-shadow:-22px 0 54px rgba(0,0,0,.52)!important;
  transform:translateX(104%)!important;opacity:0!important;pointer-events:none!important
}
body.chat-v72-info-open .chat-shell.chat-v73-medium>.chat-v72-info-panel{transform:none!important;opacity:1!important;pointer-events:auto!important}
.chat-v73-info-backdrop{
  position:absolute;z-index:230;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:rgba(2,5,9,.48);cursor:default
}
.chat-v73-info-backdrop[hidden]{display:none!important}
.chat-shell.chat-v73-compact,.chat-shell.chat-v73-mobile{
  display:block!important;position:relative!important;height:100%!important;overflow:hidden!important
}
.chat-shell.chat-v73-compact>.chat-sidebar,.chat-shell.chat-v73-compact>.chat-conversation,
.chat-shell.chat-v73-mobile>.chat-sidebar,.chat-shell.chat-v73-mobile>.chat-conversation{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;
  transition:transform .22s ease,opacity .22s ease!important
}
.chat-shell.chat-v73-compact>.chat-sidebar,.chat-shell.chat-v73-mobile>.chat-sidebar{z-index:20!important;transform:none!important;opacity:1!important;pointer-events:auto!important}
.chat-shell.chat-v73-compact>.chat-conversation,.chat-shell.chat-v73-mobile>.chat-conversation{z-index:30!important;transform:translateX(103%)!important;opacity:0!important;pointer-events:none!important}
body.chat-v72-mobile-conversation .chat-shell.chat-v73-compact>.chat-sidebar,
body.chat-v72-mobile-conversation .chat-shell.chat-v73-mobile>.chat-sidebar{transform:translateX(-20%)!important;opacity:0!important;pointer-events:none!important}
body.chat-v72-mobile-conversation .chat-shell.chat-v73-compact>.chat-conversation,
body.chat-v72-mobile-conversation .chat-shell.chat-v73-mobile>.chat-conversation{transform:none!important;opacity:1!important;pointer-events:auto!important}
.chat-shell.chat-v73-compact>#chatV73LeftSplitter,.chat-shell.chat-v73-compact>#chatV73RightSplitter,
.chat-shell.chat-v73-mobile>#chatV73LeftSplitter,.chat-shell.chat-v73-mobile>#chatV73RightSplitter{display:none!important}
.chat-shell.chat-v73-compact>.chat-v72-info-panel,.chat-shell.chat-v73-mobile>.chat-v72-info-panel{
  position:absolute!important;z-index:270!important;inset:0!important;display:grid!important;width:100%!important;min-width:0!important;max-width:none!important;
  transform:translateX(104%)!important;opacity:0!important;pointer-events:none!important
}
body.chat-v72-info-open .chat-shell.chat-v73-compact>.chat-v72-info-panel,
body.chat-v72-info-open .chat-shell.chat-v73-mobile>.chat-v72-info-panel{transform:none!important;opacity:1!important;pointer-events:auto!important}
.chat-shell.chat-v73-compact>.chat-v73-info-backdrop,.chat-shell.chat-v73-mobile>.chat-v73-info-backdrop{display:none!important}
.chat-shell.chat-v73-compact .chat-v72-mobile-back,.chat-shell.chat-v73-mobile .chat-v72-mobile-back{display:grid!important}
/* Preferências substituem o conteúdo da coluna esquerda; nunca criam uma coluna adicional. */
.chat-shell .chat-sidebar.preferences-mode{overflow:hidden!important;gap:0!important;padding:0!important}
.chat-shell .chat-sidebar.preferences-mode>.chat-contact-search,
.chat-shell .chat-sidebar.preferences-mode>.chat-request-section,
.chat-shell .chat-sidebar.preferences-mode>.chat-list-heading,
.chat-shell .chat-sidebar.preferences-mode>.chat-contact-list,
.chat-shell .chat-sidebar.preferences-mode>.chat-blocked-list,
.chat-shell .chat-sidebar.preferences-mode>.chat-outgoing-request{display:none!important}
.chat-shell .chat-sidebar.preferences-mode>.chat-title{display:block!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important}
.chat-shell .chat-sidebar.preferences-mode>.chat-title>div:first-child{display:none!important}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open]{
  position:static!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;max-height:100%!important;
  margin:0!important;padding:0 15px 26px!important;border:0!important;border-radius:0!important;background:#0d141e!important;box-shadow:none!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] summary{
  position:sticky!important;z-index:8!important;top:0!important;display:flex!important;align-items:center!important;gap:9px!important;
  width:auto!important;height:auto!important;min-height:52px!important;margin:0 -15px 12px!important;padding:10px 15px!important;
  border:0!important;border-bottom:1px solid var(--chat-v72-line)!important;border-radius:0!important;background:#0c121a!important;
  color:var(--chat-v72-text)!important;font:900 .82rem/1.25 Verdana,Arial,sans-serif!important;white-space:normal!important;cursor:pointer!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] summary::before{content:'‹'!important;font:900 1.55rem/1 Verdana,Arial,sans-serif!important;color:var(--chat-v72-accent)!important}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] *,
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] *::before,
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] *::after{box-sizing:border-box!important;min-width:0}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] button{
  max-width:100%!important;min-height:42px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  line-height:1.3!important;text-align:center
}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] p,
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] label,
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] span,
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open] strong{
  overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-settings-grid{width:100%!important;padding:0 0 20px!important;gap:10px!important}
.chat-shell .chat-sidebar.preferences-mode .chat-profile-settings,
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-settings,
.chat-shell .chat-sidebar.preferences-mode .chat-mobile-file-settings,
.chat-shell .chat-sidebar.preferences-mode .chat-local-sound-row{width:100%!important;max-width:100%!important}
/* Ações da foto sempre abaixo da imagem e com quebra apenas por palavras. */
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-preview,
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-preview.v67-centered-profile-preview{
  display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:clamp(160px,24dvh,230px)!important;min-height:160px!important;margin:0!important;padding:10px!important;border-radius:13px!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-preview img,
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-preview.v67-centered-profile-preview img{
  display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:auto!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:8px!important;width:100%!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-public-profile-actions .button{width:100%!important;padding-inline:12px!important}
/* Cards de som e demais grupos empilham quando o espaço não comporta os botões. */
.chat-shell .chat-sidebar.preferences-mode .chat-local-sound-row{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
.chat-shell .chat-sidebar.preferences-mode .chat-local-sound-actions,
.chat-shell .chat-sidebar.preferences-mode .chat-inline-actions,
.chat-shell .chat-sidebar.preferences-mode .gatto-modal-actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;gap:8px!important;width:100%!important
}
.chat-shell .chat-sidebar.preferences-mode .chat-local-sound-actions .button,
.chat-shell .chat-sidebar.preferences-mode .chat-inline-actions .button{width:100%!important}
/* Espaço útil para que a barra não cubra conteúdo. */
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open]::-webkit-scrollbar{width:12px!important}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open]::-webkit-scrollbar-track{background:#090f16!important;border-left:1px solid var(--chat-v72-line)!important}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open]::-webkit-scrollbar-thumb{min-height:48px!important;border:3px solid #090f16!important;border-radius:999px!important;background:#59697c!important}
.chat-shell .chat-sidebar.preferences-mode .chat-settings[open]::-webkit-scrollbar-thumb:hover{background:var(--chat-v72-accent)!important}
/* Cabeçalho e editor compactam sem esconder funções essenciais. */
.chat-shell.chat-v73-medium .chat-v72-header-actions .chat-clear-history-button,
.chat-shell.chat-v73-medium .chat-v72-header-actions>.button.danger:not(.chat-v72-info-toggle){display:none!important}
.chat-shell.chat-v73-medium .chat-v72-header-search{width:clamp(120px,15cqw,190px)!important}
.chat-shell.chat-v73-compact .chat-v72-header-search,.chat-shell.chat-v73-mobile .chat-v72-header-search{display:none!important}
.chat-shell.chat-v73-compact .chat-v72-header-actions .button,.chat-shell.chat-v73-mobile .chat-v72-header-actions .button{min-width:38px!important;padding:7px!important;font-size:0!important}
.chat-shell.chat-v73-compact .chat-v72-header-actions .chat-v72-info-toggle::before,
.chat-shell.chat-v73-mobile .chat-v72-header-actions .chat-v72-info-toggle::before{content:'ⓘ';font-size:1rem}
.chat-shell.chat-v73-compact .chat-v72-conversation-title,.chat-shell.chat-v73-mobile .chat-v72-conversation-title{grid-template-columns:34px 42px minmax(0,1fr)!important;min-width:0!important}
.chat-shell.chat-v73-compact .chat-v72-conversation-avatar,.chat-shell.chat-v73-mobile .chat-v72-conversation-avatar{grid-column:2!important}
.chat-shell.chat-v73-compact .chat-v72-conversation-title h2,.chat-shell.chat-v73-compact .chat-v72-conversation-title .chat-conversation-presence,.chat-shell.chat-v73-compact .chat-v72-conversation-title .chat-self-note,
.chat-shell.chat-v73-mobile .chat-v72-conversation-title h2,.chat-shell.chat-v73-mobile .chat-v72-conversation-title .chat-conversation-presence,.chat-shell.chat-v73-mobile .chat-v72-conversation-title .chat-self-note{grid-column:3!important}
.chat-shell .chat-contact-info strong,.chat-shell .chat-contact-info small{min-width:0;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.chat-shell .chat-v72-file-copy strong,.chat-shell .chat-v72-file-copy small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.chat-shell button{word-break:normal;hyphens:none}
@media(prefers-reduced-motion:reduce){
  .chat-v73-splitter::before,.chat-shell.chat-v73-compact>.chat-sidebar,.chat-shell.chat-v73-compact>.chat-conversation,
  .chat-shell.chat-v73-mobile>.chat-sidebar,.chat-shell.chat-v73-mobile>.chat-conversation,.chat-v72-info-panel{transition:none!important}
}
/* === fim GattoMusic v7.3 === */
/* === GattoMusic v7.4: acabamento do editor, versão do Chat e estabilidade do painel de informações === */
.chat-v74-version{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  min-height:24px!important;padding:3px 8px!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:999px!important;
  background:rgba(255,255,255,.06)!important;color:#fff!important;font:800 .66rem/1 Verdana,Arial,sans-serif!important;white-space:nowrap!important
}
.chat-footer-mode .chat-composer-actions{
  border:1px solid rgba(255,255,255,.92)!important;border-radius:14px!important;padding:8px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 5px 18px rgba(0,0,0,.18)!important
}
.chat-v72-info-body{
  overflow-y:scroll!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important;
  contain:layout paint style!important;will-change:scroll-position
}
.chat-shell.chat-v73-large>.chat-v72-info-panel{min-width:280px!important;max-width:720px!important}
.chat-shell.chat-v73-medium>.chat-v72-info-panel{min-width:280px!important;max-width:720px!important}
body.chat-v72-info-open .chat-shell.chat-v73-large{
  grid-template-columns:minmax(260px,var(--chat-sidebar-width)) 8px minmax(var(--chat-v73-center-min),1fr) 8px minmax(280px,var(--chat-v73-info-width))!important
}
@media(max-width:1220px){.chat-v74-version{padding-inline:6px!important;font-size:.62rem!important}}
@media(max-width:760px){.chat-v74-version{min-height:22px!important;padding:2px 6px!important;font-size:.6rem!important}.chat-footer-mode .chat-composer-actions{padding:7px!important}}
/* === fim GattoMusic v7.4 === */
/* === GattoMusic v7.6: fila de arquivos, foco, contraste e molduras das ações === */
.chat-composer-actions .chat-v76-white-frame{
  border:2px solid #fff!important;
  box-shadow:0 0 0 1px rgba(8,13,20,.78),0 5px 15px rgba(0,0,0,.2)!important;
  outline-offset:2px!important;
}
.chat-composer-actions .chat-v76-white-frame:hover,
.chat-composer-actions .chat-v76-white-frame:focus-visible{
  border-color:#fff!important;
  box-shadow:0 0 0 2px var(--chat-v72-accent),0 7px 18px rgba(0,0,0,.26)!important;
}
.chat-composer-actions .chat-v76-white-frame:disabled{opacity:.56!important;box-shadow:0 0 0 1px rgba(8,13,20,.55)!important}
.chat-v76-file-queue-host{display:grid!important;gap:10px!important;width:100%!important;min-width:0!important}
.chat-v76-file-summary{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;min-width:0!important}
.chat-v76-file-summary strong{color:var(--chat-v72-text)!important;font-size:.78rem!important}
.chat-v76-file-summary small{color:var(--chat-v72-muted)!important;text-align:right!important;font-size:.66rem!important}
.chat-v76-file-queue{display:grid!important;gap:7px!important;width:100%!important;max-height:236px!important;overflow:auto!important;padding-right:4px!important;scrollbar-gutter:stable!important}
.chat-v76-file-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;min-width:0!important;padding:7px 8px!important;border:1px solid var(--chat-v72-line)!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important}
.chat-v76-file-row.status-sending{border-color:var(--chat-v72-accent)!important;background:var(--chat-v72-accent-soft)!important}
.chat-v76-file-row.status-done{border-color:rgba(39,209,127,.58)!important;background:rgba(39,209,127,.08)!important}
.chat-v76-file-row.status-failed{border-color:rgba(255,95,98,.65)!important;background:rgba(255,95,98,.08)!important}
.chat-v76-file-thumb,.chat-v76-file-icon{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:1px solid var(--chat-v72-line)!important;border-radius:8px!important;background:var(--chat-v72-panel-2)!important;object-fit:cover!important;overflow:hidden!important}
.chat-v76-file-copy{display:grid!important;gap:3px!important;min-width:0!important}
.chat-v76-file-copy strong,.chat-v76-file-copy small{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.chat-v76-file-copy strong{color:var(--chat-v72-text)!important;font-size:.74rem!important}
.chat-v76-file-copy small{color:var(--chat-v72-muted)!important;font-size:.64rem!important}
.chat-v76-file-row-actions{display:flex!important;align-items:center!important;gap:6px!important}
.chat-v76-file-row-actions .button{min-height:34px!important;max-width:150px!important;padding:6px 9px!important;white-space:normal!important;word-break:normal!important}
.chat-v76-sending textarea{opacity:.9!important}
.chat-v76-enter-settings{display:grid!important;gap:8px!important;padding:12px!important;border:1px solid var(--chat-v72-line)!important;border-radius:12px!important;background:var(--chat-v72-card)!important}
.chat-v76-enter-settings>strong{color:var(--chat-v72-text)!important}
.chat-v76-radio-group{display:grid!important;gap:7px!important}
.chat-v76-radio-row{align-items:flex-start!important}
.chat-v76-radio-row span{line-height:1.38!important}
.chat-v76-call-sound-setting{padding:10px 12px!important;border:1px solid var(--chat-v72-line)!important;border-radius:11px!important;background:var(--chat-v72-card)!important}
/* A barra permanece reservada, mas deixa de ser repintada continuamente. */
.chat-v72-info-body{
  overflow-y:auto!important;
  scrollbar-gutter:stable!important;
  overscroll-behavior:contain!important;
  contain:layout style!important;
  will-change:auto!important;
  backface-visibility:hidden!important;
}
.chat-v72-info-body:focus-within{scrollbar-color:var(--chat-v72-accent) transparent!important}
/* Paleta clara específica do Chat: contraste revisado sem alterar o Player. */
body.light.chat-view-active{
  --chat-v72-bg:#e7edf5;
  --chat-v72-panel:#f8fafc;
  --chat-v72-panel-2:#eef3f8;
  --chat-v72-card:#ffffff;
  --chat-v72-card-hover:#e6edf5;
  --chat-v72-line:#aab6c5;
  --chat-v72-accent:#b95700;
  --chat-v72-accent-soft:rgba(185,87,0,.13);
  --chat-v72-own:#d8eaff;
  --chat-v72-own-border:#467eb6;
  --chat-v72-text:#111827;
  --chat-v72-muted:#4b5563;
  --chat-v72-green:#087a47;
  --chat-v72-danger:#b4232c;
}
body.light.chat-view-active .app-shell,
body.light.chat-view-active .content,
body.light.chat-view-active .chat-workspace-panel,
body.light.chat-view-active .chat-shell{background:var(--chat-v72-bg)!important}
body.light.chat-view-active .topbar{background:rgba(248,250,252,.97)!important;color:var(--chat-v72-text)!important}
body.light.chat-view-active .chat-sidebar,
body.light.chat-view-active .chat-conversation,
body.light.chat-view-active .chat-v72-info-panel{background:var(--chat-v72-panel)!important;color:var(--chat-v72-text)!important}
body.light.chat-view-active .chat-conversation{background:linear-gradient(180deg,#f3f7fb,#eaf0f6)!important}
body.light.chat-view-active .chat-title,
body.light.chat-view-active .chat-v72-conversation-header,
body.light.chat-view-active .chat-v72-info-header,
body.light.chat-view-active .chat-composer,
body.light.chat-view-active #chatFooterMode{background:#f8fafc!important;color:var(--chat-v72-text)!important}
body.light.chat-view-active .chat-settings[open],
body.light.chat-view-active .chat-message-menu-options,
body.light.chat-view-active .chat-v72-info-body,
body.light.chat-view-active .chat-v72-info-section,
body.light.chat-view-active .chat-call-panel{background:#f8fafc!important;color:var(--chat-v72-text)!important}
body.light.chat-view-active .chat-contact-search input,
body.light.chat-view-active .chat-v72-header-search,
body.light.chat-view-active .chat-composer textarea,
body.light.chat-view-active .chat-settings input,
body.light.chat-view-active .chat-settings select{background:#fff!important;color:#111827!important;border-color:var(--chat-v72-line)!important}
body.light.chat-view-active .chat-v72-header-actions .button,
body.light.chat-view-active .chat-settings summary,
body.light.chat-view-active .chat-v72-detail-row,
body.light.chat-view-active .chat-v72-file-row,
body.light.chat-view-active .chat-v72-media-card,
body.light.chat-view-active .chat-local-sound-row,
body.light.chat-view-active .chat-text-toolbar,
body.light.chat-view-active .chat-v76-file-row{background:#fff!important;color:#111827!important;border-color:var(--chat-v72-line)!important}
body.light.chat-view-active .chat-contact-row:hover{background:var(--chat-v72-card-hover)!important}
body.light.chat-view-active .chat-contact-row.is-selected,
body.light.chat-view-active .chat-contact-row:has(.chat-contact.active){background:linear-gradient(90deg,rgba(185,87,0,.14),rgba(255,255,255,.75))!important}
body.light.chat-view-active .chat-message{background:#fff!important;color:#111827!important;border-color:#9caabb!important;box-shadow:0 4px 12px rgba(30,41,59,.12)!important}
body.light.chat-view-active .chat-message.outgoing{background:linear-gradient(135deg,#dcecff,#c7e0fa)!important;border-color:var(--chat-v72-own-border)!important;color:#10243a!important}
body.light.chat-view-active .chat-message-meta{color:#4b5563!important}
body.light.chat-view-active .chat-message.removed-for-viewer{background:#edf1f5!important;color:#374151!important}
body.light.chat-view-active .chat-attachment-card{background:#eef3f8!important;color:#111827!important}
body.light.chat-view-active .chat-typing-indicator{background:#f3f7fb!important;color:#934600!important}
body.light.chat-view-active .chat-v72-topbar-copy strong,
body.light.chat-view-active .chat-v72-conversation-title h2,
body.light.chat-view-active .chat-title h1,
body.light.chat-view-active .chat-contact-info strong,
body.light.chat-view-active .chat-v72-info-profile strong{color:#111827!important}
body.light.chat-view-active .chat-v72-topbar-copy span,
body.light.chat-view-active .chat-contact-info small,
body.light.chat-view-active .chat-v72-contact-time,
body.light.chat-view-active .chat-v72-file-copy small,
body.light.chat-view-active .chat-v72-detail-copy small{color:#4b5563!important}
body.light.chat-view-active .chat-v74-version{background:#fff!important;color:#111827!important;border-color:#8d99a8!important}
body.light.chat-view-active .chat-composer-actions{background:linear-gradient(180deg,#f8fafc,#edf2f7)!important;border-color:#fff!important;box-shadow:inset 0 0 0 1px #8491a1,0 5px 14px rgba(30,41,59,.14)!important}
body.light.chat-view-active .chat-composer-actions .chat-v76-white-frame{border-color:#fff!important;box-shadow:0 0 0 1px #5f6d7e,0 4px 12px rgba(30,41,59,.16)!important}
body.light.chat-view-active .chat-v72-info-body,
body.light.chat-view-active .chat-contact-list,
body.light.chat-view-active .chat-settings[open],
body.light.chat-view-active .chat-v76-file-queue{scrollbar-color:#6b7788 #edf2f7!important}
body.light.chat-view-active .chat-v72-info-body::-webkit-scrollbar-track,
body.light.chat-view-active .chat-contact-list::-webkit-scrollbar-track,
body.light.chat-view-active .chat-settings[open]::-webkit-scrollbar-track{background:#edf2f7!important;border-color:#c2cad4!important}
body.light.chat-view-active .chat-v72-info-body::-webkit-scrollbar-thumb,
body.light.chat-view-active .chat-contact-list::-webkit-scrollbar-thumb,
body.light.chat-view-active .chat-settings[open]::-webkit-scrollbar-thumb{background:#6b7788!important;border-color:#edf2f7!important}
body.light.chat-view-active :focus-visible{outline:3px solid #175ea8!important;outline-offset:2px!important}
@media(max-width:760px){
  .chat-v76-file-summary{display:grid!important;gap:4px!important}
  .chat-v76-file-summary small{text-align:left!important}
  .chat-v76-file-row{grid-template-columns:38px minmax(0,1fr)!important}
  .chat-v76-file-row-actions{grid-column:1/-1!important;justify-content:flex-end!important}
  .chat-v76-file-thumb,.chat-v76-file-icon{width:38px!important;height:38px!important}
}
/* === fim GattoMusic v7.6 === */
/* === GattoMusic v7.8: controles removidos, desconectado legível e vídeo arrastável === */
.chat-fixed-history{display:none!important}
.chat-v77-small-video{
  position:absolute!important;z-index:6!important;cursor:grab!important;touch-action:none!important;
  user-select:none!important;-webkit-user-select:none!important;will-change:left,top!important;
  border:2px solid rgba(255,255,255,.94)!important;border-radius:13px!important;
  box-shadow:0 12px 34px rgba(0,0,0,.58)!important;background:#000!important;
}
.chat-v77-small-video.chat-v77-dragging{cursor:grabbing!important;box-shadow:0 0 0 3px rgba(255,255,255,.34),0 18px 42px rgba(0,0,0,.68)!important}
.chat-call-stage.video:not(.chat-call-layout-swapped) .chat-v77-small-video{width:min(28%,190px)!important;height:auto!important;max-height:150px!important;object-fit:cover!important}
.chat-call-stage.video.chat-call-layout-swapped .chat-v77-small-video{width:min(28%,190px)!important;height:auto!important;max-height:150px!important;object-fit:cover!important}
.chat-call-stage:fullscreen .chat-v77-small-video,.chat-call-stage:-webkit-full-screen .chat-v77-small-video{width:min(24vw,320px)!important;max-height:28vh!important}
.chat-conversation-presence.offline,.chat-presence.offline,.chat-v72-profile-status:not(.online){color:#f2c66d!important}
.chat-conversation-presence.offline::before,.chat-v72-profile-status:not(.online)::before{content:'○ ';font-weight:900}
.server-pill.offline,.server-pill.connection-attention{background:#4b1720!important;border-color:#ff7d87!important;color:#fff!important;box-shadow:0 0 0 2px rgba(255,125,135,.18)!important}
body.light.chat-view-active .chat-conversation-presence.offline,
body.light.chat-view-active .chat-presence.offline,
body.light.chat-view-active .chat-v72-profile-status:not(.online){color:#7a2d00!important;font-weight:800!important}
body.light .server-pill.offline,body.light .server-pill.connection-attention{background:#fff0f1!important;border-color:#a61b2b!important;color:#721522!important;box-shadow:0 0 0 2px rgba(166,27,43,.12)!important}
@media(max-width:760px){.chat-call-stage.video .chat-v77-small-video{width:min(36%,180px)!important;max-height:138px!important}}
/* === fim GattoMusic v7.8 === */
/* === GattoMusic v7.9: emojis, GIFs e controles modernos da chamada === */
.chat-message-text.chat-v79-emoji-one,
.chat-message-text.chat-v79-emoji-few,
.chat-message-text.chat-v79-emoji-many{
  display:block!important;max-width:100%!important;margin:.08em 0!important;
  letter-spacing:.02em!important;overflow:visible!important;word-break:normal!important;
  font-family:"Segoe UI Emoji","Noto Color Emoji","Apple Color Emoji",Verdana,sans-serif!important;
}
.chat-message-text.chat-v79-emoji-one{font-size:clamp(3rem,5.2vw,4.5rem)!important;line-height:1.08!important}
.chat-message-text.chat-v79-emoji-few{font-size:clamp(2.35rem,4.1vw,3.45rem)!important;line-height:1.12!important}
.chat-message-text.chat-v79-emoji-many{font-size:clamp(1.8rem,3.2vw,2.65rem)!important;line-height:1.16!important}
.chat-v79-gif-import-status{display:grid;place-items:center;min-height:94px;width:min(100%,420px);padding:18px;border:1px dashed var(--secondary);border-radius:12px;background:color-mix(in srgb,var(--secondary) 9%,var(--surface));color:var(--text);font:800 .82rem/1.45 Verdana,Arial,sans-serif;text-align:center}
.chat-v79-gif-import-status.error{border-color:#e85b73;background:color-mix(in srgb,#e85b73 9%,var(--surface));color:#ffd9df}
body.light.chat-view-active .chat-v79-gif-import-status.error{color:#721522;background:#fff0f1;border-color:#a61b2b}
#chatCallModal .chat-v79-call-panel{
  width:min(1040px,96vw)!important;max-height:min(94vh,920px)!important;
  gap:18px!important;padding:clamp(16px,2.2vw,28px)!important;
  border-radius:24px!important;text-align:left!important;
}
#chatCallModal .chat-v79-call-panel>h2,
#chatCallModal .chat-v79-call-panel>.eyebrow,
#chatCallModal .chat-v79-call-panel>.chat-call-status{text-align:center!important}
#chatCallModal .chat-v79-call-device-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;margin:0!important;padding:14px!important;
  border:1px solid color-mix(in srgb,var(--secondary) 30%,var(--line))!important;
  border-radius:17px!important;background:color-mix(in srgb,var(--surface) 88%,var(--secondary) 12%)!important;
}
#chatCallModal .chat-v79-call-device-grid[data-mode="voice"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#chatCallModal .chat-v79-call-device-card{display:grid!important;align-content:start!important;gap:7px!important;min-width:0!important;padding:10px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--panel)!important;color:var(--muted)!important;text-align:left!important}
#chatCallModal .chat-v79-call-device-card>span{font:700 .79rem/1.25 Verdana,Arial,sans-serif!important;padding-left:2px!important}
#chatCallModal .chat-v79-call-device-card .chat-call-device-select{width:100%!important;min-width:0!important;min-height:46px!important;padding:9px 36px 9px 12px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#chatCallModal .chat-v79-call-refresh{grid-column:1/-1!important;justify-self:start!important;min-height:46px!important;padding:10px 18px!important;border-radius:12px!important;white-space:normal!important}
#chatCallModal .chat-v79-call-actions{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(160px,.65fr)!important;align-items:stretch!important;gap:12px!important;width:100%!important}
#chatCallModal .chat-v79-call-action-group{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;align-items:stretch!important;gap:10px!important;min-width:0!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:color-mix(in srgb,var(--surface) 91%,var(--secondary) 9%)!important}
#chatCallModal .chat-v79-call-action-group .button{width:100%!important;min-width:0!important;min-height:48px!important;padding:10px 14px!important;border-radius:12px!important;white-space:normal!important;line-height:1.25!important;text-align:center!important}
#chatCallModal .chat-v79-call-group-danger{display:grid!important;place-items:stretch!important;border-color:color-mix(in srgb,#e85b73 52%,var(--line))!important;background:color-mix(in srgb,#e85b73 8%,var(--surface))!important}
#chatCallModal .chat-v79-call-group-danger .button{font-weight:900!important}
#chatCallModal .chat-v79-call-privacy{padding:11px 14px!important;border-radius:12px!important;background:color-mix(in srgb,var(--surface) 94%,var(--secondary) 6%)!important;text-align:center!important;font-size:.78rem!important}
body.light.chat-view-active #chatCallModal .chat-v79-call-device-grid,
body.light.chat-view-active #chatCallModal .chat-v79-call-action-group,
body.light.chat-view-active #chatCallModal .chat-v79-call-privacy{background:#f1f5f9!important;border-color:#aeb8c5!important}
body.light.chat-view-active #chatCallModal .chat-v79-call-device-card{background:#fff!important;color:#374151!important;border-color:#aeb8c5!important}
@media(max-width:940px){
  #chatCallModal .chat-v79-call-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #chatCallModal .chat-v79-call-actions{grid-template-columns:1fr 1fr!important}
  #chatCallModal .chat-v79-call-group-danger{grid-column:1/-1!important}
}
@media(max-width:600px){
  #chatCallModal .chat-v79-call-panel{width:min(100%,100vw)!important;max-height:100vh!important;padding:13px!important;border-radius:0!important}
  #chatCallModal .chat-v79-call-device-grid,
  #chatCallModal .chat-v79-call-device-grid[data-mode="voice"],
  #chatCallModal .chat-v79-call-actions{grid-template-columns:1fr!important}
  #chatCallModal .chat-v79-call-device-grid{padding:10px!important}
  #chatCallModal .chat-v79-call-refresh{justify-self:stretch!important;width:100%!important}
  #chatCallModal .chat-v79-call-action-group{grid-template-columns:1fr!important;padding:10px!important}
  #chatCallModal .chat-v79-call-group-danger{grid-column:auto!important}
  .chat-message-text.chat-v79-emoji-one{font-size:3.25rem!important}
  .chat-message-text.chat-v79-emoji-few{font-size:2.55rem!important}
}
/* === fim GattoMusic v7.9 === */
/* === GattoMusic v8.0: cabeçalho organizado e responsividade móvel === */
.chat-v80-topbar-status,.chat-v80-topbar-user{display:contents}
body.chat-view-active .topbar.chat-v80-organized{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-width:0!important;
  gap:10px!important;padding:8px 12px!important;overflow:visible!important;
}
body.chat-view-active .topbar.chat-v80-organized .history-controls{display:none!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{
  flex:0 1 auto!important;min-width:min(440px,46vw)!important;max-width:520px!important;
  padding:5px 12px 5px 5px!important;border:1px solid var(--chat-v72-line)!important;border-radius:14px!important;
  background:linear-gradient(145deg,rgba(18,27,39,.94),rgba(8,13,20,.96))!important;
}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-copy{min-width:118px!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-copy strong,
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-copy span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v74-version{flex:none!important;white-space:nowrap!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-player-return{flex:none!important;min-width:70px!important;margin-left:2px!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status,
body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-user{
  display:flex!important;align-items:center!important;min-width:0!important;min-height:48px!important;
  padding:5px 8px!important;border:1px solid var(--chat-v72-line)!important;border-radius:14px!important;
  background:linear-gradient(145deg,rgba(18,27,39,.94),rgba(8,13,20,.96))!important;
}
body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status{gap:8px!important;margin-left:auto!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-user{flex:0 1 210px!important;max-width:260px!important}
body.chat-view-active .topbar.chat-v80-organized .server-pill{margin:0!important;min-width:112px!important;justify-content:center!important;white-space:nowrap!important}
body.chat-view-active .topbar.chat-v80-organized #themeButton,
body.chat-view-active .topbar.chat-v80-organized #queueTopButton{flex:none!important;width:44px!important;height:44px!important;min-width:44px!important;border-radius:12px!important}
body.chat-view-active .topbar.chat-v80-organized #queueBadge{top:-6px!important;right:-5px!important;min-width:23px!important;height:23px!important;padding:0 5px!important;line-height:23px!important;font-size:.68rem!important;white-space:nowrap!important}
body.chat-view-active .topbar.chat-v80-organized .user-chip{width:100%!important;min-width:0!important;padding:0!important;background:transparent!important;border:0!important}
body.chat-view-active .topbar.chat-v80-organized .user-chip div{display:grid!important;min-width:0!important}
body.chat-view-active .topbar.chat-v80-organized .user-chip small,
body.chat-view-active .topbar.chat-v80-organized .user-chip strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.light.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity,
body.light.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status,
body.light.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-user{background:#f8fafc!important;border-color:#9aa7b7!important}
.chat-v80-call-confirm{width:min(500px,calc(100vw - 28px))!important;max-width:500px!important;text-align:center!important}
.chat-v80-call-confirm-message{font-size:1rem!important;line-height:1.6!important;overflow-wrap:anywhere!important}
.chat-v80-call-contact{display:inline-block!important;max-width:100%!important;margin:4px 2px!important;padding:4px 10px!important;border:1px solid color-mix(in srgb,var(--secondary) 58%,var(--line))!important;border-radius:10px!important;background:color-mix(in srgb,var(--secondary) 14%,var(--surface))!important;color:var(--secondary)!important;font-size:1.12rem!important;overflow-wrap:anywhere!important}
.chat-v80-call-confirm .gatto-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.chat-v80-call-confirm .button{min-height:48px!important}
.chat-v80-ios-sound-activation{display:grid!important;gap:8px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:color-mix(in srgb,var(--surface) 90%,var(--secondary) 10%)!important}
.chat-v80-ios-sound-status{margin:0!important;color:var(--muted)!important;font-size:.78rem!important;line-height:1.45!important}
.chat-v80-ios-sound-status.is-ready{color:#36c98b!important;font-weight:800!important}
@media(max-width:1180px) and (min-width:821px){
  body.chat-view-active .main-column{grid-template-rows:auto minmax(0,1fr)!important}
  body.chat-view-active .topbar.chat-v80-organized{height:auto!important;min-height:64px!important;flex-wrap:wrap!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{flex:1 1 430px!important;max-width:none!important;min-width:300px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status{margin-left:0!important;flex:1 1 330px!important;justify-content:flex-end!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-user{flex:1 1 220px!important;max-width:none!important}
}
@media(max-width:820px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  body.gattomusic-v80-mobile .hero-album-showcase{display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.gattomusic-v80-mobile .content{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
  body.gattomusic-v80-mobile .card-grid{grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr))!important;gap:10px!important}
  body.gattomusic-v80-mobile .media-card,body.gattomusic-v80-mobile .section,body.gattomusic-v80-mobile .detail-header{min-width:0!important;max-width:100%!important}
  body.gattomusic-v80-mobile img,body.gattomusic-v80-mobile video{max-width:100%;height:auto}
  body.gattomusic-v80-mobile .gatto-modal{width:min(100% - 20px,620px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important}
  body.gattomusic-v80-mobile input,body.gattomusic-v80-mobile select,body.gattomusic-v80-mobile textarea,body.gattomusic-v80-mobile button{max-width:100%!important;box-sizing:border-box!important}
  body.gattomusic-v80-mobile .button{min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.chat-view-active .topbar.chat-v80-organized{height:auto!important;min-height:58px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;padding:6px 8px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{grid-column:1!important;min-width:0!important;max-width:none!important;width:100%!important;padding:4px 6px!important;border-radius:12px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status{grid-column:2!important;display:flex!important;min-height:46px!important;padding:3px!important;gap:4px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-user{display:none!important}
  body.chat-view-active .topbar.chat-v80-organized .server-pill{display:none!important}
  body.chat-view-active .topbar.chat-v80-organized #themeButton,
  body.chat-view-active .topbar.chat-v80-organized #queueTopButton{display:grid!important;width:40px!important;height:40px!important;min-width:40px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-copy span{display:none!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-copy strong{font-size:.88rem!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v74-version{font-size:.58rem!important;padding:2px 5px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-player-return{min-width:56px!important;padding:6px 7px!important}
  .chat-shell,.chat-sidebar,.chat-conversation,.chat-v72-info-panel,.chat-workspace-panel{max-width:100%!important;min-width:0!important}
  .chat-message-list{overscroll-behavior:contain!important;scrollbar-gutter:auto!important}
  .chat-v80-call-confirm .gatto-modal-actions{grid-template-columns:1fr!important}
}
@media(max-width:430px){
  body.gattomusic-v80-mobile .card-grid{grid-template-columns:1fr!important}
  body.gattomusic-v80-mobile .hero{min-height:auto!important;padding-bottom:18px!important}
  body.gattomusic-v80-mobile .hero-copy{padding:20px 16px!important}
  body.gattomusic-v80-mobile .hero-copy h1{font-size:clamp(1.8rem,10vw,2.5rem)!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-copy{display:none!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{gap:5px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity img{width:34px!important;height:34px!important}
}
/* === fim GattoMusic v8.0 === */
/* === GattoMusic v8.1: cadeado da conversa === */
.chat-v81-conversation-lock{
  display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;
  width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;
  border:1px solid color-mix(in srgb,var(--secondary) 48%,var(--line))!important;
  border-radius:13px!important;background:color-mix(in srgb,var(--surface) 92%,var(--secondary) 8%)!important;
  color:var(--text)!important;font-size:1.28rem!important;line-height:1!important;cursor:pointer!important;
  user-select:none!important;touch-action:manipulation!important;
}
.chat-v81-conversation-lock:hover{border-color:var(--secondary)!important;background:color-mix(in srgb,var(--surface) 82%,var(--secondary) 18%)!important}
.chat-v81-conversation-lock:focus-visible{outline:3px solid color-mix(in srgb,var(--secondary) 55%,transparent)!important;outline-offset:2px!important}
.chat-v81-conversation-lock.is-locked{border-color:#f2a93b!important;background:color-mix(in srgb,#f2a93b 18%,var(--surface))!important;color:#f2a93b!important}
body.light.chat-view-active .chat-v81-conversation-lock{background:#fff!important;border-color:#8794a5!important;color:#263445!important}
body.light.chat-view-active .chat-v81-conversation-lock.is-locked{background:#fff5df!important;border-color:#b76d00!important;color:#9a5700!important}
@media(max-width:820px){.chat-v81-conversation-lock{width:46px!important;height:46px!important;min-width:46px!important}}
/* === fim GattoMusic v8.1 === */
/* === GattoMusic v8.4: topbar do Chat alinhada à aba Player === */
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{flex:1 1 auto!important;max-width:none!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.user-chip{flex:0 1 230px!important;min-width:150px!important;max-width:260px!important;margin-left:2px!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status{display:contents!important;margin-left:0!important;padding:0!important;border:0!important;background:transparent!important}
body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-user{display:none!important}
body.light.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status{background:transparent!important;border-color:transparent!important}
@media(max-width:1180px) and (min-width:821px){
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{flex:1 1 100%!important;min-width:0!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.user-chip{flex:0 1 220px!important}
}
@media(max-width:820px){
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity{display:flex!important;flex-wrap:wrap!important;grid-column:1 / -1!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.user-chip{flex:1 1 160px!important;max-width:none!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v80-topbar-status{display:flex!important;grid-column:1 / -1!important;justify-content:flex-end!important}
}
@media(max-width:430px){body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.user-chip{flex:1 1 100%!important;min-width:0!important}}
/* === fim GattoMusic v8.4 === */
/* === GattoMusic v8.7: editor estável, topbar compacta e menu de dispositivos === */
/* Uma única moldura de foco, sem animação/transição concorrente no Firefox. */
.chat-composer textarea.chat-message-editor,
.chat-composer textarea.chat-message-editor:focus,
.chat-composer textarea.chat-message-editor:focus-visible{
  animation:none!important;
  transition:background-color .12s ease,border-color .12s ease!important;
  border:2px solid color-mix(in srgb,var(--secondary) 72%,var(--line))!important;
  border-radius:14px!important;
  outline:none!important;
  background:color-mix(in srgb,var(--surface) 96%,var(--secondary) 4%)!important;
}
.chat-composer textarea.chat-message-editor{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 24%,transparent)!important;
}
.chat-composer textarea.chat-message-editor:focus,
.chat-composer textarea.chat-message-editor:focus-visible{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 24%,transparent),0 0 0 3px color-mix(in srgb,var(--secondary) 28%,transparent)!important;
}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.user-chip,
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.server-pill,
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>#themeButton{
  flex:none!important;
}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.server-pill{
  min-height:44px!important;
  padding:7px 11px!important;
  border:1px solid var(--chat-v72-line,var(--line))!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--surface) 92%,var(--secondary) 8%)!important;
}
body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>#themeButton{
  width:44px!important;height:44px!important;min-width:44px!important;border-radius:12px!important;
}
body.chat-view-active #queueTopButton.chat-v87-queue-hidden{display:none!important}
#chatCallModal .chat-v87-call-options{
  width:100%!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,var(--secondary) 34%,var(--line))!important;
  border-radius:14px!important;
  background:color-mix(in srgb,var(--surface) 94%,var(--secondary) 6%)!important;
  overflow:visible!important;
}
#chatCallModal .chat-v87-call-options-summary{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:11px 14px!important;
  cursor:pointer!important;
  color:var(--text)!important;
  font:800 .86rem/1.25 Verdana,Arial,sans-serif!important;
  list-style:none!important;
  user-select:none!important;
}
#chatCallModal .chat-v87-call-options-summary::-webkit-details-marker{display:none!important}
#chatCallModal .chat-v87-call-options-summary::after{content:'▾';font-size:1rem;transition:transform .12s ease}
#chatCallModal .chat-v87-call-options[open]>.chat-v87-call-options-summary::after{transform:rotate(180deg)}
#chatCallModal .chat-v87-call-options>.chat-v79-call-device-grid.chat-v87-call-options-body{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  padding:0 12px 12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
#chatCallModal .chat-v87-call-option-row{
  display:grid!important;
  gap:6px!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--muted)!important;
  text-align:left!important;
}
#chatCallModal .chat-v87-call-option-row>span{font:700 .78rem/1.25 Verdana,Arial,sans-serif!important}
#chatCallModal .chat-v87-call-options .chat-call-refresh-devices{
  grid-column:1/-1!important;
  justify-self:start!important;
  margin-top:2px!important;
}
body.light.chat-view-active #chatCallModal .chat-v87-call-options{background:#f8fafc!important;border-color:#aeb8c5!important}
@media(max-width:760px){
  #chatCallModal .chat-v87-call-options>.chat-v79-call-device-grid.chat-v87-call-options-body{grid-template-columns:1fr!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>.server-pill{min-height:40px!important;padding:5px 8px!important}
  body.chat-view-active .topbar.chat-v80-organized .chat-v72-topbar-identity>#themeButton{width:40px!important;height:40px!important;min-width:40px!important}
}
/* === fim GattoMusic v8.7 === */
/* === GattoMusic v8.8 / produto 2.0: um único card visual nas ações da mensagem === */
.chat-message.selected>.chat-message-external-controls{
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.chat-message.selected>.chat-message-external-controls>.chat-message-menu-toggle.v62-menu-toggle{
  outline:0!important;
  outline-offset:0!important;
}
.chat-message.selected>.chat-message-external-controls>.chat-message-menu-toggle.v62-menu-toggle:hover,
.chat-message.selected>.chat-message-external-controls>.chat-message-menu-toggle.v62-menu-toggle:focus-visible{
  outline:0!important;
  outline-offset:0!important;
  border-color:var(--secondary)!important;
  transform:translateY(-1px)!important;
  /* O foco usa o mesmo card existente; não desenha uma segunda moldura externa. */
  box-shadow:0 5px 14px rgba(0,0,0,.38)!important;
}
/* === fim GattoMusic v8.8 / produto 2.0 === */
/* === GattoMusic v8.9 / produto 2.0: controles inferiores, fallback a 50% e boas-vindas proporcionais === */
img.gattomusic-v89-fallback-artwork{
  transform:scale(.5)!important;
  transform-origin:center center!important;
}
.hero-copy>h1{
  font-size:clamp(1.7rem,3vw,3rem)!important;
}
body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v89-boundaries{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:8px 14px!important;
  border-top:1px solid var(--chat-v72-line)!important;
  background:color-mix(in srgb,var(--chat-v72-panel) 94%,transparent)!important;
  box-sizing:border-box!important;
  z-index:2!important;
}
body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v89-boundaries .button{
  min-height:38px!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  font:800 .76rem/1.2 Verdana,Arial,sans-serif!important;
  white-space:normal!important;
}
body.light.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v89-boundaries{
  background:#f8fafc!important;
}
@media(max-width:820px){
  .hero-copy>h1{font-size:clamp(1.55rem,7vw,2.1rem)!important}
  body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v89-boundaries{padding:6px 8px!important;gap:6px!important}
  body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v89-boundaries .button{min-height:42px!important;padding:7px 6px!important;font-size:.72rem!important}
}
@media(max-width:360px){
  body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v89-boundaries{grid-template-columns:1fr!important}
}
/* === fim GattoMusic v8.9 / produto 2.0 === */
/* === GattoMusic v9.0 / produto 2.0: estabilidade visual, fila localizada e artwork uniforme === */
.chat-conversation-boundary-controls.chat-v90-boundaries,
.chat-conversation-boundary-controls.chat-v90-boundaries .button{
  animation:none!important;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease!important;
}
.chat-conversation-boundary-controls.chat-v90-boundaries .button:not(:hover):not(:focus-visible){
  box-shadow:none!important;
}
/* O único toggle válido é o que vive dentro dos controles externos da mensagem. */
.chat-message>.chat-message-menu,
.chat-message>.chat-message-menu-toggle.v62-menu-toggle{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.chat-message.selected>.chat-message-external-controls{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.chat-message.selected>.chat-message-external-controls>.chat-message-menu-toggle.v62-menu-toggle.v90-message-menu-toggle{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  outline:0!important;
  outline-offset:0!important;
  box-shadow:0 5px 14px rgba(0,0,0,.38)!important;
}
.chat-message.selected>.chat-message-external-controls>.chat-message-menu-toggle.v62-menu-toggle.v90-message-menu-toggle:focus-visible{
  outline:0!important;
  box-shadow:0 5px 14px rgba(0,0,0,.38)!important;
}
.queue-heading-line{display:flex;align-items:center;gap:10px;min-width:0}
.queue-position-total{
  display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:28px;
  padding:3px 9px;border:1px solid var(--line);border-radius:999px;background:var(--panel);
  color:var(--secondary);font:900 .78rem/1 Verdana,Arial,sans-serif;white-space:nowrap
}
.queue-position-total.hidden{display:none!important}
.queue-item.v90-current-queue-item{
  position:relative;
  background:color-mix(in srgb,var(--secondary) 15%,var(--panel))!important;
  outline:2px solid color-mix(in srgb,var(--secondary) 68%,var(--line))!important;
  outline-offset:-2px!important;
  box-shadow:inset 4px 0 0 var(--secondary),0 8px 24px rgba(0,0,0,.2)!important;
}
body.light .queue-item.v90-current-queue-item{
  background:color-mix(in srgb,var(--secondary) 9%,#fff)!important;
}
/* A imagem reduzida do gato da v8.9 vira a escala de referência também para
   capas reais de pastas/álbuns/músicas. O layout agora usa dimensões reais,
   em vez de apenas transform, para que posição e margens fiquem equilibradas. */
img.gattomusic-v89-fallback-artwork.gattomusic-v90-uniform-artwork,
img.gattomusic-v90-uniform-artwork{transform:none!important;transform-origin:center!important}
.media-card.gattomusic-v90-artwork-card{
  min-height:0!important;
  padding:12px!important;
}
.media-card.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{
  display:block!important;
  width:50%!important;
  height:auto!important;
  aspect-ratio:1!important;
  margin:5px auto 3px!important;
  justify-self:center!important;
  object-fit:cover!important;
}
.folder-list-view .folder-card.gattomusic-v90-artwork-card{
  grid-template-columns:72px minmax(0,1fr)!important;
}
.folder-list-view .folder-card.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{
  width:34px!important;height:34px!important;margin:0 auto!important;justify-self:center!important
}
.detail-header.gattomusic-v90-artwork-card{
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:18px!important;
  padding:18px!important;
}
.detail-header.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{
  width:95px!important;height:95px!important;margin:auto!important;justify-self:center!important;align-self:center!important;
  object-fit:cover!important;border-radius:14px!important
}
.queue-item>img.gattomusic-v90-uniform-artwork{
  width:24px!important;height:24px!important;margin:auto!important;justify-self:center!important;object-fit:cover!important
}
@media(max-width:820px){
  .detail-header.gattomusic-v90-artwork-card{grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important;padding:12px!important}
  .detail-header.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{width:52px!important;height:52px!important;border-radius:10px!important}
  .media-card.gattomusic-v90-artwork-card{padding:10px!important}
}
/* === fim GattoMusic v9.0 / produto 2.0 === */
/* === GattoMusic v9.1 / produto 2.0: controles de conversa visualmente estáveis === */
body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v91-boundaries{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  animation:none!important;
  transition:none!important;
}
body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v91-boundaries .button{
  animation:none!important;
  transition:none!important;
}
body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v91-boundaries .button:not(:hover):not(:focus-visible){
  transform:none!important;
  filter:none!important;
  opacity:1!important;
}
body.chat-view-active .chat-conversation>.chat-conversation-boundary-controls.chat-v91-boundaries .button:focus-visible{
  border-color:var(--secondary)!important;
}
/* === fim GattoMusic v9.1 / produto 2.0 === */
/* === GattoMusic v9.2 / produto 2.0: chamada dedicada, contraste claro e emoji inline === */
body.light.chat-view-active .chat-composer-actions .button.chat-v76-white-frame{
  background:#ffffff!important;
  color:#172235!important;
  border-color:#66758a!important;
  box-shadow:0 0 0 1px #ffffff,0 4px 12px rgba(30,41,59,.16)!important;
  text-shadow:none!important;
}
body.light.chat-view-active .chat-composer-actions .button.chat-v76-white-frame:hover,
body.light.chat-view-active .chat-composer-actions .button.chat-v76-white-frame:focus-visible{
  background:#e8f0f8!important;
  color:#0b1728!important;
  border-color:#175ea8!important;
  box-shadow:0 0 0 2px rgba(23,94,168,.2),0 6px 14px rgba(30,41,59,.18)!important;
}
body.light.chat-view-active .chat-composer-actions .button.primary.chat-v76-white-frame{
  background:linear-gradient(135deg,#9f4300,#b95300)!important;
  color:#ffffff!important;
  border-color:#7c3500!important;
  box-shadow:0 0 0 1px #ffffff,0 6px 15px rgba(113,54,0,.26)!important;
}
body.light.chat-view-active .chat-composer-actions .button.primary.chat-v76-white-frame:hover,
body.light.chat-view-active .chat-composer-actions .button.primary.chat-v76-white-frame:focus-visible{
  background:linear-gradient(135deg,#823600,#a94800)!important;
  color:#ffffff!important;
  border-color:#692d00!important;
}
body.light.chat-view-active .chat-composer-actions .button.chat-v76-white-frame:disabled{
  background:#e4e9ef!important;
  color:#4a5667!important;
  border-color:#9aa6b5!important;
  opacity:1!important;
  box-shadow:0 0 0 1px #ffffff!important;
}
.chat-v92-call-surface-setting{
  display:grid;gap:7px;padding:11px 12px;border:1px solid var(--chat-v72-line);border-radius:11px;background:var(--chat-v72-card)
}
.chat-v92-call-surface-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,220px)!important;align-items:center!important;gap:12px!important}
.chat-v92-call-surface-copy{display:grid;gap:3px;min-width:0}.chat-v92-call-surface-copy strong{font-size:.78rem}.chat-v92-call-surface-copy small{color:var(--chat-v72-muted);font-size:.68rem;line-height:1.35}
.chat-v92-call-surface-select{width:100%;min-height:42px;border:1px solid var(--chat-v72-line);border-radius:9px;background:var(--chat-v72-panel-2);color:var(--chat-v72-text);padding:8px 10px;font:700 .75rem/1.2 Verdana,Arial,sans-serif}
body.light.chat-view-active .chat-v92-call-surface-setting{background:#fff!important;border-color:#aab6c5!important}.light .chat-v92-call-surface-select{background:#fff!important;color:#111827!important}
.chat-v92-external-call-indicator{
  position:fixed;right:18px;bottom:calc(98px + env(safe-area-inset-bottom,0px));z-index:10050;display:flex;align-items:center;gap:12px;max-width:min(440px,calc(100vw - 28px));padding:10px 12px;border:1px solid color-mix(in srgb,var(--secondary) 52%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--panel) 94%,#000 6%);box-shadow:0 14px 38px rgba(0,0,0,.34);color:var(--text)
}
.chat-v92-external-call-indicator.is-attention{border-color:#d77a00}.chat-v92-external-call-copy{display:grid;gap:2px;min-width:0;flex:1}.chat-v92-external-call-copy strong{font:900 .78rem/1.2 Verdana,Arial,sans-serif}.chat-v92-external-call-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font:.68rem/1.25 Verdana,Arial,sans-serif}.chat-v92-external-call-indicator .button{min-height:38px;padding:7px 11px}
body.light .chat-v92-external-call-indicator{background:#fff;color:#111827;border-color:#66809a;box-shadow:0 12px 30px rgba(30,41,59,.18)}
body.gattomusic-v92-call-surface{min-height:100vh;background:#070a10;overflow:hidden}
body.gattomusic-v92-call-surface #app{display:none!important}
body.gattomusic-v92-call-surface #loginScreen{display:none!important}
body.gattomusic-v92-call-surface #presentation{display:none!important}
body.gattomusic-v92-call-surface #chatCallModal.chat-call-modal{inset:0!important;padding:clamp(10px,2vw,24px)!important;background:radial-gradient(circle at 50% 20%,rgba(25,199,255,.12),rgba(3,5,12,.96) 55%)!important;backdrop-filter:none!important}
body.gattomusic-v92-call-surface #chatCallModal .chat-call-panel{width:min(1180px,98vw)!important;max-height:96vh!important;min-height:min(720px,94vh);align-content:center;padding:clamp(16px,2.2vw,28px)!important}
body.gattomusic-v92-call-surface #chatCallModal .chat-call-stage.video{min-height:min(68vh,720px)!important}
body.gattomusic-v92-call-surface #chatCallModal .chat-call-remote-video{max-height:72vh!important}
body.gattomusic-v92-call-surface.light{background:#e7edf5}
.chat-v92-surface-ended{position:fixed;inset:0;z-index:10080;display:grid;place-content:center;justify-items:center;gap:14px;padding:24px;text-align:center;background:#080b12;color:#f8fafc}.chat-v92-surface-ended h2,.chat-v92-surface-ended p{margin:0}.chat-v92-surface-ended .button{min-width:160px}.light .chat-v92-surface-ended{background:#eef3f8;color:#111827}
.chat-message-text .chat-v92-inline-emoji{
  display:inline-block!important;
  font-size:1.34em!important;
  line-height:.9!important;
  vertical-align:-.08em!important;
  margin-inline:.01em!important;
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif!important;
}
.chat-message-text.chat-v79-emoji-one .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-few .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-many .chat-v92-inline-emoji{font-size:inherit!important}
@media(max-width:760px){
  .chat-v92-call-surface-row{grid-template-columns:1fr!important}
  .chat-v92-external-call-indicator{left:10px;right:10px;bottom:calc(88px + env(safe-area-inset-bottom,0px))}
  body.gattomusic-v92-call-surface #chatCallModal .chat-call-panel{min-height:0!important;width:100%!important;max-height:98vh!important}
}
/* === fim GattoMusic v9.2 / produto 2.0 === */
/* === GattoMusic v9.3 / produto 2.0: busca, emoji inline e chamada compacta === */
/* O card flutuante da v9.2 deixa de ser uma superfície visual ativa. */
.chat-v92-external-call-indicator{display:none!important}
.chat-v93-call-status-header{
  display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:min(360px,34vw);
  margin-right:4px;color:#c8d5e4;font:700 .69rem/1.25 Verdana,Arial,sans-serif;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent;border:0;box-shadow:none
}
.chat-v93-call-status-icon{flex:0 0 auto;font-size:.86rem;line-height:1}
.chat-v93-call-status-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-v93-call-status-header.is-attention{color:#ffc26b}
body.light.chat-view-active .chat-v93-call-status-header{color:#334155!important}
body.light.chat-view-active .chat-v93-call-status-header.is-attention{color:#8a3d00!important}
.chat-v93-search-nav{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;min-height:34px;padding:2px 3px;border:1px solid var(--chat-v72-line);border-radius:9px;background:#0f1720}
.chat-v93-search-nav.hidden{display:none!important}
.chat-v93-search-step{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--chat-v72-text);font:900 .9rem/1 Verdana,Arial,sans-serif;cursor:pointer}
.chat-v93-search-step:hover,.chat-v93-search-step:focus-visible{background:var(--chat-v72-accent-soft);outline:2px solid var(--chat-v72-accent);outline-offset:1px}
.chat-v93-search-step:disabled{opacity:.38;cursor:default;background:transparent!important;outline:0!important}
.chat-v93-search-counter{min-width:43px;text-align:center;color:var(--chat-v72-muted);font:800 .62rem/1.1 Verdana,Arial,sans-serif}
.chat-v93-search-clear{font-size:1rem}
body.light.chat-view-active .chat-v93-search-nav{background:#f7fafc!important;border-color:#9aa8b8!important}
body.light.chat-view-active .chat-v93-search-step{color:#172235!important}
body.light.chat-view-active .chat-v93-search-counter{color:#4b5563!important}
.chat-message.chat-v93-search-target{
  outline:3px solid #ff9d00!important;outline-offset:3px!important;
  box-shadow:0 0 0 5px rgba(255,157,0,.14),0 10px 26px rgba(0,0,0,.24)!important
}
body.light.chat-view-active .chat-message.chat-v93-search-target{
  outline-color:#a94b00!important;box-shadow:0 0 0 5px rgba(169,75,0,.12),0 8px 20px rgba(30,41,59,.14)!important
}
/* Build 9.2 = 1.34em. Build 9.3 aumenta de forma moderada sem alcançar emoji-only. */
.chat-message-text .chat-v92-inline-emoji{font-size:1.50em!important;line-height:.88!important;vertical-align:-.10em!important}
.chat-message-text.chat-v79-emoji-one .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-few .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-many .chat-v92-inline-emoji{font-size:inherit!important;line-height:inherit!important;vertical-align:baseline!important}
@media(max-width:1000px){
  .chat-v93-call-status-header{max-width:min(240px,26vw)}
  .chat-v93-search-counter{min-width:36px}
}
@media(max-width:760px){
  .chat-v93-call-status-header{max-width:150px;font-size:.62rem}
  .chat-v93-call-status-text{max-width:120px}
  .chat-v93-search-nav{display:none!important}
}
@media(max-width:520px){
  .chat-v93-call-status-header{max-width:92px}
  .chat-v93-call-status-text{max-width:66px}
}
/* === fim GattoMusic v9.3 / produto 2.0 === */
/* === GattoMusic v9.4 / produto 2.0: emoji inline maior e alvo de busca estável === */
/* Build 9.3 = 1.50em. Build 9.4 aumenta novamente, mantendo emoji-only maior. */
.chat-message-text .chat-v92-inline-emoji{font-size:1.62em!important;line-height:.84!important;vertical-align:-.12em!important}
.chat-message-text.chat-v79-emoji-one .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-few .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-many .chat-v92-inline-emoji{font-size:inherit!important;line-height:inherit!important;vertical-align:baseline!important}
.chat-message.chat-v94-search-target{scroll-margin-block:72px 110px}
/* === fim GattoMusic v9.4 / produto 2.0 === */
/* === GattoMusic v9.5 / produto 2.0: busca ancorada e layout móvel deliberado === */
.chat-message.chat-v95-search-anchor{
  scroll-margin-block:clamp(68px,9vh,96px) clamp(96px,15vh,150px);
}
/* Menus móveis existem no DOM para preservar os handlers originais, mas só aparecem em viewport móvel. */
.chat-v95-mobile-actions-menu,.chat-v95-mobile-composer-menu{display:none}
.chat-v95-mobile-actions-summary,.chat-v95-mobile-composer-summary{
  list-style:none;cursor:pointer;user-select:none;-webkit-user-select:none
}
.chat-v95-mobile-actions-summary::-webkit-details-marker,.chat-v95-mobile-composer-summary::-webkit-details-marker{display:none}
@media(max-width:820px){
  :root{--gattomusic-v95-touch:44px}
  html,body{max-width:100%;overflow-x:hidden}
  body.gattomusic-v95-mobile .content{
    padding-inline:clamp(8px,2.8vw,14px)!important;
    padding-bottom:max(24px,env(safe-area-inset-bottom))!important;
  }
  body.gattomusic-v95-mobile .section{padding-inline:0!important}
  body.gattomusic-v95-mobile .section-heading{gap:8px!important;align-items:flex-start!important;flex-wrap:wrap!important}
  body.gattomusic-v95-mobile .section-heading h2{font-size:clamp(1rem,4.5vw,1.25rem)!important;line-height:1.2!important}
  body.gattomusic-v95-mobile .section-heading p{font-size:clamp(.72rem,3vw,.86rem)!important;line-height:1.35!important}
  /* Cards de biblioteca viram linhas compactas: a capa representa o item sem dominar a tela. */
  body.gattomusic-v95-mobile .card-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important
  }
  body.gattomusic-v95-mobile .media-card{
    position:relative!important;display:grid!important;
    grid-template-columns:clamp(48px,15vw,62px) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;align-items:center!important;column-gap:10px!important;row-gap:2px!important;
    min-height:clamp(66px,18vw,78px)!important;width:100%!important;max-width:100%!important;
    padding:7px 44px 7px 7px!important;text-align:left!important;border-radius:12px!important;overflow:visible!important
  }
  body.gattomusic-v95-mobile .media-card>img,
  body.gattomusic-v95-mobile .media-card.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{
    grid-column:1!important;grid-row:1/3!important;width:clamp(48px,15vw,62px)!important;height:clamp(48px,15vw,62px)!important;
    max-width:62px!important;max-height:62px!important;aspect-ratio:1/1!important;margin:0!important;border-radius:10px!important;object-fit:cover!important
  }
  body.gattomusic-v95-mobile .media-card>strong{grid-column:2!important;grid-row:1!important;min-width:0!important;align-self:end!important;font-size:clamp(.78rem,3.4vw,.94rem)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.gattomusic-v95-mobile .media-card>span{grid-column:2!important;grid-row:2!important;min-width:0!important;align-self:start!important;font-size:clamp(.66rem,2.9vw,.78rem)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.gattomusic-v95-mobile .media-card>.folder-location-label{grid-column:2!important;grid-row:auto!important;max-width:100%!important;font-size:.62rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.gattomusic-v95-mobile .media-card .card-play{right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  body.gattomusic-v95-mobile .media-card .favorite-card-actions{grid-column:1/-1!important;grid-row:auto!important;margin-top:5px!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(88px,1fr))!important;gap:5px!important}
  body.gattomusic-v95-mobile .detail-header.gattomusic-v90-artwork-card{
    grid-template-columns:clamp(52px,16vw,68px) minmax(0,1fr)!important;gap:10px!important;padding:10px!important
  }
  body.gattomusic-v95-mobile .detail-header.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{
    width:clamp(52px,16vw,68px)!important;height:clamp(52px,16vw,68px)!important;max-width:68px!important;border-radius:10px!important
  }
  body.gattomusic-v95-mobile .detail-header h1{font-size:clamp(1.15rem,6vw,1.65rem)!important;line-height:1.08!important}
  body.gattomusic-v95-mobile .song-row{
    grid-template-columns:30px minmax(0,1fr) 46px 42px!important;gap:5px!important;min-height:52px!important;padding-inline:5px!important
  }
  body.gattomusic-v95-mobile .song-main strong{font-size:clamp(.76rem,3.3vw,.9rem)!important}
  body.gattomusic-v95-mobile .song-main span,body.gattomusic-v95-mobile .song-cell{font-size:clamp(.64rem,2.8vw,.74rem)!important}
  body.gattomusic-v95-mobile .song-row-actions button{min-width:40px!important;min-height:40px!important}
  /* Fila compacta sem perder faixa atual e posição/total. */
  body.gattomusic-v95-mobile .queue-drawer{left:0!important;right:0!important;width:100%!important;max-width:100%!important;border-radius:16px 16px 0 0!important}
  body.gattomusic-v95-mobile .queue-header{padding:10px 12px!important;gap:7px!important}
  body.gattomusic-v95-mobile .queue-item{min-height:50px!important;gap:7px!important;padding:6px 8px!important}
  body.gattomusic-v95-mobile .queue-item img{width:28px!important;height:28px!important;min-width:28px!important;border-radius:7px!important}
  body.gattomusic-v95-mobile .queue-position-total{font-size:.64rem!important;padding:2px 6px!important;white-space:nowrap!important}
  /* Chat mobile: cabeçalho em duas áreas, com as ações secundárias recolhidas em um menu. */
  body.gattomusic-v95-mobile .chat-v72-conversation-header{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
    align-items:center!important;gap:6px 8px!important;padding:7px 8px!important;min-height:0!important
  }
  body.gattomusic-v95-mobile .chat-v72-conversation-title{grid-column:1!important;grid-row:1!important;min-width:0!important}
  body.gattomusic-v95-mobile .chat-v72-header-actions{
    grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;justify-items:end!important;gap:5px!important;min-width:44px!important;max-width:100%!important
  }
  body.gattomusic-v95-mobile .chat-v72-header-actions>.chat-v72-call-button,
  body.gattomusic-v95-mobile .chat-v72-header-actions>.chat-v72-info-toggle,
  body.gattomusic-v95-mobile .chat-v72-header-actions>.button.danger{display:none!important}
  body.gattomusic-v95-mobile .chat-v93-call-status-header{
    grid-column:1!important;max-width:min(38vw,150px)!important;margin:0!important;font-size:clamp(.58rem,2.6vw,.68rem)!important
  }
  body.gattomusic-v95-mobile .chat-v95-mobile-actions-menu{display:block!important;grid-column:2!important;position:relative!important;z-index:290!important}
  body.gattomusic-v95-mobile .chat-v95-mobile-actions-summary,
  body.gattomusic-v95-mobile .chat-v95-mobile-composer-summary{
    display:grid!important;place-items:center!important;width:var(--gattomusic-v95-touch)!important;height:var(--gattomusic-v95-touch)!important;
    border:1px solid var(--chat-v72-line)!important;border-radius:11px!important;background:var(--chat-v72-card)!important;color:var(--chat-v72-text)!important;
    font:900 1.25rem/1 Verdana,Arial,sans-serif!important
  }
  body.gattomusic-v95-mobile .chat-v95-mobile-actions-popover,
  body.gattomusic-v95-mobile .chat-v95-mobile-composer-popover{
    position:absolute!important;z-index:420!important;right:0!important;top:calc(100% + 6px)!important;
    display:grid!important;gap:4px!important;width:min(220px,calc(100vw - 20px))!important;padding:6px!important;
    border:1px solid var(--chat-v72-line)!important;border-radius:12px!important;background:var(--chat-v72-panel-2,#111a25)!important;
    box-shadow:0 16px 40px rgba(0,0,0,.38)!important
  }
  body.gattomusic-v95-mobile details:not([open])>.chat-v95-mobile-actions-popover,
  body.gattomusic-v95-mobile details:not([open])>.chat-v95-mobile-composer-popover{display:none!important}
  body.gattomusic-v95-mobile .chat-v95-mobile-menu-item{
    width:100%!important;min-height:44px!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:9px!important;
    background:transparent!important;color:var(--chat-v72-text)!important;text-align:left!important;font:700 .74rem/1.25 Verdana,Arial,sans-serif!important;cursor:pointer!important
  }
  body.gattomusic-v95-mobile .chat-v95-mobile-menu-item:hover,
  body.gattomusic-v95-mobile .chat-v95-mobile-menu-item:focus-visible{border-color:var(--chat-v72-accent)!important;background:var(--chat-v72-accent-soft)!important;outline:none!important}
  body.gattomusic-v95-mobile .chat-v95-mobile-search-field{display:none!important}
  body.gattomusic-v95-mobile .chat-v72-header-actions.chat-v95-mobile-search-open{
    grid-column:1/-1!important;grid-row:2!important;width:100%!important;grid-template-columns:minmax(0,1fr) auto!important;justify-items:stretch!important
  }
  body.gattomusic-v95-mobile .chat-v72-header-actions.chat-v95-mobile-search-open .chat-v95-mobile-search-field{
    display:block!important;grid-column:1!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:44px!important
  }
  body.gattomusic-v95-mobile .chat-v72-header-actions.chat-v95-mobile-search-open .chat-v95-mobile-actions-menu{grid-column:2!important}
  body.gattomusic-v95-mobile .chat-v72-header-actions.chat-v95-mobile-search-open .chat-v93-call-status-header{display:none!important}
  body.gattomusic-v95-mobile .chat-v93-search-nav:not(.hidden){
    display:inline-flex!important;grid-column:1/-1!important;justify-self:start!important;max-width:100%!important;min-height:36px!important
  }
  body.gattomusic-v95-mobile .chat-message-list{padding:10px 8px 14px!important}
  body.gattomusic-v95-mobile .chat-message{max-width:min(92%,34rem)!important}
  /* Compositor: Enviar continua direto; Arquivo e Voz ficam em Mais ações. */
  body.gattomusic-v95-mobile.chat-v72-composer-integrated .chat-composer{
    grid-template-columns:minmax(0,1fr)!important;gap:6px!important;padding:7px!important;max-height:min(48dvh,340px)!important
  }
  body.gattomusic-v95-mobile.chat-v72-composer-integrated .chat-composer textarea{
    grid-column:1!important;grid-row:1!important;min-height:58px!important;max-height:min(22dvh,110px)!important;font-size:16px!important
  }
  body.gattomusic-v95-mobile.chat-v72-composer-integrated .chat-composer-actions{
    grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:6px!important;min-width:0!important;width:100%!important
  }
  body.gattomusic-v95-mobile .chat-composer-actions>.chat-v95-mobile-secondary-action{display:none!important}
  body.gattomusic-v95-mobile .chat-v95-mobile-composer-menu{display:block!important;grid-column:1!important;position:relative!important;z-index:350!important}
  body.gattomusic-v95-mobile .chat-v95-mobile-composer-menu .chat-v95-mobile-composer-popover{left:0!important;right:auto!important;top:auto!important;bottom:calc(100% + 6px)!important}
  body.gattomusic-v95-mobile .chat-composer-actions>.chat-v95-mobile-send-action{
    display:flex!important;grid-column:2!important;width:100%!important;min-height:44px!important;align-items:center!important;justify-content:center!important;font-size:.78rem!important
  }
  body.gattomusic-v95-mobile.chat-v72-composer-integrated .chat-text-toolbar{
    grid-column:1!important;grid-row:3!important;display:flex!important;gap:4px!important;overflow-x:auto!important;scrollbar-width:thin!important
  }
  body.gattomusic-v95-mobile .chat-text-toolbar .button{min-width:44px!important;min-height:40px!important;padding:6px 8px!important}
  /* Informações/Preferências ocupam a tela útil em vez de espremer painéis lado a lado. */
  body.gattomusic-v95-mobile .chat-v72-info-panel{inset:0!important;width:100%!important;max-width:100%!important}
  body.gattomusic-v95-mobile .chat-settings[open]{max-height:100dvh!important;overflow:auto!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
  body.gattomusic-v95-mobile .chat-settings-grid{grid-template-columns:minmax(0,1fr)!important}
  body.gattomusic-v95-mobile .chat-v92-call-surface-row{grid-template-columns:minmax(0,1fr)!important}
  /* Player inferior usa proporções menores sem sacrificar alvos de toque. */
  body.gattomusic-v95-mobile .player-bar{padding-inline:8px!important;padding-bottom:max(7px,env(safe-area-inset-bottom))!important;gap:3px!important}
  body.gattomusic-v95-mobile .now-playing{grid-template-columns:44px minmax(0,1fr) 40px!important;gap:6px!important}
  body.gattomusic-v95-mobile .now-playing>img{width:44px!important;height:44px!important;border-radius:9px!important}
  body.gattomusic-v95-mobile .transport-buttons .icon-button,
  body.gattomusic-v95-mobile .transport-buttons .play-button{min-width:42px!important;min-height:42px!important}
  body.gattomusic-v95-mobile .gatto-modal{width:min(calc(100vw - 16px),620px)!important;max-height:calc(100dvh - 16px)!important;margin:auto!important}
  body.gattomusic-v95-mobile .chat-v87-call-options-body{max-height:min(56dvh,430px)!important;overflow-y:auto!important}
}
@media(max-width:480px){
  body.gattomusic-v95-mobile .chat-v72-conversation-title h2{font-size:.9rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.gattomusic-v95-mobile .chat-v72-conversation-avatar{width:38px!important;height:38px!important}
  body.gattomusic-v95-mobile .chat-v72-conversation-title{grid-template-columns:30px 38px minmax(0,1fr)!important;column-gap:6px!important}
  body.gattomusic-v95-mobile .chat-v93-call-status-header{max-width:min(32vw,115px)!important}
  body.gattomusic-v95-mobile .chat-message{max-width:94%!important}
  body.gattomusic-v95-mobile .queue-drawer{max-height:min(70dvh,620px)!important}
}
@media(max-width:360px){
  body.gattomusic-v95-mobile .content{padding-inline:7px!important}
  body.gattomusic-v95-mobile .media-card{grid-template-columns:46px minmax(0,1fr)!important;min-height:62px!important;padding:6px 39px 6px 6px!important;column-gap:8px!important}
  body.gattomusic-v95-mobile .media-card>img,
  body.gattomusic-v95-mobile .media-card.gattomusic-v90-artwork-card>img.gattomusic-v90-uniform-artwork{width:46px!important;height:46px!important}
  body.gattomusic-v95-mobile .media-card .card-play{width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;right:5px!important}
  body.gattomusic-v95-mobile .chat-v93-call-status-header{max-width:82px!important}
  body.gattomusic-v95-mobile .chat-v93-call-status-text{max-width:58px!important}
  body.gattomusic-v95-mobile .chat-v95-mobile-actions-summary,
  body.gattomusic-v95-mobile .chat-v95-mobile-composer-summary{width:42px!important;height:42px!important}
  body.gattomusic-v95-mobile.chat-v72-composer-integrated .chat-composer-actions{grid-template-columns:42px minmax(0,1fr)!important}
}
@media(max-width:820px) and (orientation:landscape){
  body.gattomusic-v95-mobile .chat-message-list{min-height:150px!important}
  body.gattomusic-v95-mobile.chat-v72-composer-integrated .chat-composer{max-height:min(60dvh,250px)!important}
  body.gattomusic-v95-mobile .chat-text-toolbar{max-height:46px!important}
  body.gattomusic-v95-mobile .queue-drawer{max-height:76dvh!important}
}
body.light.gattomusic-v95-mobile .chat-v95-mobile-actions-summary,
body.light.gattomusic-v95-mobile .chat-v95-mobile-composer-summary,
body.light.gattomusic-v95-mobile .chat-v95-mobile-actions-popover,
body.light.gattomusic-v95-mobile .chat-v95-mobile-composer-popover{
  background:#fff!important;color:#172235!important;border-color:#9aa8b8!important
}
body.light.gattomusic-v95-mobile .chat-v95-mobile-menu-item{color:#172235!important}
body.light.gattomusic-v95-mobile .chat-v95-mobile-menu-item:hover,
body.light.gattomusic-v95-mobile .chat-v95-mobile-menu-item:focus-visible{background:#e8f0f8!important;border-color:#175ea8!important}
/* === fim GattoMusic v9.5 / produto 2.0 === */

/* === GattoMusic 10.06: emojis novamente grandes no Chat ===
   Texto normal preservado; somente glifos emoji e mensagens emoji-only recebem escala maior. */
.chat-message-text .chat-v92-inline-emoji{font-size:2em!important;line-height:.80!important;vertical-align:-.18em!important}
.chat-message-text.chat-v79-emoji-one{font-size:clamp(3.4rem,5.8vw,5rem)!important;line-height:1.06!important}
.chat-message-text.chat-v79-emoji-few{font-size:clamp(2.7rem,4.7vw,3.9rem)!important;line-height:1.10!important}
.chat-message-text.chat-v79-emoji-many{font-size:clamp(2.05rem,3.6vw,3rem)!important;line-height:1.14!important}
.chat-message-text.chat-v79-emoji-one .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-few .chat-v92-inline-emoji,
.chat-message-text.chat-v79-emoji-many .chat-v92-inline-emoji{font-size:inherit!important;line-height:inherit!important;vertical-align:baseline!important}
@media(max-width:760px){
  .chat-message-text.chat-v79-emoji-one{font-size:3.5rem!important}
  .chat-message-text.chat-v79-emoji-few{font-size:2.8rem!important}
}
/* === fim GattoMusic 10.06 === */

/* === GattoMusic 10.07: emoji no DOM real da mensagem === */
.chat-message-text .chat-v1007-emoji-inline,
.chat-message-text .chat-v92-inline-emoji.chat-v1007-emoji-inline{
  display:inline-block!important;
  font-family:"Segoe UI Emoji","Noto Color Emoji","Apple Color Emoji",sans-serif!important;
  font-size:2.35em!important;
  font-variant-emoji:emoji;
  line-height:.78!important;
  vertical-align:-.20em!important;
  min-width:.88em
}
.chat-message-text.chat-v1007-emoji-only{
  font-family:"Segoe UI Emoji","Noto Color Emoji","Apple Color Emoji",sans-serif!important;
  font-variant-emoji:emoji;
  overflow:visible!important
}
.chat-message-text.chat-v1007-emoji-one{font-size:clamp(3.8rem,6.2vw,5.4rem)!important;line-height:1.04!important}
.chat-message-text.chat-v1007-emoji-few{font-size:clamp(3rem,5vw,4.25rem)!important;line-height:1.08!important}
.chat-message-text.chat-v1007-emoji-many{font-size:clamp(2.25rem,3.8vw,3.25rem)!important;line-height:1.12!important}
.chat-message-text.chat-v1007-emoji-only .chat-v1007-emoji-inline{font-size:inherit!important;line-height:inherit!important;vertical-align:baseline!important;min-width:0}
@media(max-width:760px){
  .chat-message-text.chat-v1007-emoji-one{font-size:3.75rem!important}
  .chat-message-text.chat-v1007-emoji-few{font-size:3rem!important}
}
/* === fim GattoMusic 10.07 === */

