/* TALKCHAT_R19C12R9R18R5R1_PROFILE_DARK_PARITY
   Dark-mode parity for the existing desktop 360px right-side profile drawer.
   Geometry and light mode are intentionally untouched.
*/
@media (min-width:768px){

  html[data-theme="dark"] #featureLayer .msref-profile-panel{
    background:#111a24!important;
    color:#e7eef5!important;
    border-left-color:#2a3948!important;
    box-shadow:-8px 0 24px rgba(0,0,0,.28)!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-head{
    background:#111a24!important;
    color:#e7eef5!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-head>button:first-child,
  html[data-theme="dark"] #featureLayer .msref-more{
    background:#172330!important;
    color:#e7eef5!important;
    border-color:#314254!important;
    box-shadow:none!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-head>button:first-child:hover,
  html[data-theme="dark"] #featureLayer .msref-more:hover{
    background:#1d2c3b!important;
  }

  html[data-theme="dark"] #featureLayer .msref-peer-menu{
    background:#172330!important;
    border-color:#314254!important;
    box-shadow:0 14px 32px rgba(0,0,0,.42)!important;
  }

  html[data-theme="dark"] #featureLayer .msref-peer-menu button{
    color:#dce6ef!important;
  }

  html[data-theme="dark"] #featureLayer .msref-peer-menu button:hover{
    background:#203141!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-scroll{
    background:#111a24!important;
    scrollbar-color:#41556b #111a24;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-hero{
    background:#111a24!important;
    border-bottom-color:#2a3948!important;
  }

  html[data-theme="dark"] #featureLayer .msref-name-line h2,
  html[data-theme="dark"] #featureLayer .msref-role{
    color:#f2f6fa!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-chips span{
    background:#1b2937!important;
    color:#bac7d3!important;
    border:1px solid #2e4052!important;
  }

  html[data-theme="dark"] #featureLayer .msref-mood{
    background:#172330!important;
    color:#d9e3ec!important;
    border-color:#314254!important;
    box-shadow:0 6px 16px rgba(0,0,0,.28)!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-actions{
    background:#111a24!important;
    border-bottom-color:#2a3948!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-actions button{
    border-color:#314254!important;
    background:#16222f!important;
    color:#dce6ef!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-actions button:hover{
    background:#1e3040!important;
  }

  html[data-theme="dark"] #featureLayer .msref-self-note{
    background:#111a24!important;
    color:#9fb0c2!important;
    border-bottom-color:#2a3948!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-tabs{
    background:#111a24!important;
    border-bottom-color:#2a3948!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-tabs button{
    background:#172330!important;
    color:#aebdca!important;
    border-color:#314254!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-tabs button:hover{
    background:#1d2c3b!important;
    color:#eef4fa!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-tabs button.active{
    background:#2563eb!important;
    border-color:#3b82f6!important;
    color:#fff!important;
    box-shadow:none!important;
  }

  html[data-theme="dark"] #featureLayer .msref-tab-body{
    background:#111a24!important;
    color:#dce6ef!important;
  }

  html[data-theme="dark"] #featureLayer .msref-section-title h3{
    color:#eef4fa!important;
  }

  html[data-theme="dark"] #featureLayer .msref-section-title .material-symbols-outlined{
    color:#8aa7c2!important;
  }

  html[data-theme="dark"] #featureLayer .msref-info-row{
    border-bottom-color:#2a3948!important;
  }

  html[data-theme="dark"] #featureLayer .msref-info-row>span{
    color:#94a8bb!important;
  }

  html[data-theme="dark"] #featureLayer .msref-info-row>strong{
    color:#edf3f8!important;
  }

  html[data-theme="dark"] #featureLayer .msref-summary,
  html[data-theme="dark"] #featureLayer .msref-empty,
  html[data-theme="dark"] #featureLayer .msref-loading{
    color:#94a8bb!important;
  }

  html[data-theme="dark"] #featureLayer .msref-user-row{
    color:#e5edf4!important;
    border-bottom-color:#2a3948!important;
    background:transparent!important;
  }

  html[data-theme="dark"] #featureLayer .msref-user-row:hover{
    background:#172330!important;
  }

  html[data-theme="dark"] #featureLayer .msref-user-row small{
    color:#91a4b6!important;
  }

  html[data-theme="dark"] #featureLayer .msref-user-row>.material-symbols-outlined{
    color:#7890a7!important;
  }

  html[data-theme="dark"] #featureLayer .msref-gift-grid article{
    background:#172330!important;
    border-color:#2e4052!important;
    color:#e8eef5!important;
  }

  html[data-theme="dark"] #featureLayer .msref-gift-grid small{
    color:#97a9ba!important;
  }

  html[data-theme="dark"] #featureLayer .msref-profile-menu{
    background:#111a24!important;
    color:#e7eef5!important;
    border-color:#314254!important;
    box-shadow:0 20px 48px rgba(0,0,0,.45)!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-user{
    background:#172330!important;
  }

  html[data-theme="dark"] #featureLayer .msref-status-trigger{
    background:#172330!important;
    border-color:#314254!important;
  }

  html[data-theme="dark"] #featureLayer .msref-status-menu{
    background:#172330!important;
    border-color:#314254!important;
    box-shadow:0 12px 28px rgba(0,0,0,.42)!important;
  }

  html[data-theme="dark"] #featureLayer .msref-status-menu button{
    color:#dce6ef!important;
  }

  html[data-theme="dark"] #featureLayer .msref-status-menu button:hover,
  html[data-theme="dark"] #featureLayer .msref-status-menu button.active{
    background:#203141!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-section>h4{
    color:#879bad!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-section>div{
    background:#172330!important;
    border-color:#2e4052!important;
    box-shadow:none!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-section hr,
  html[data-theme="dark"] #featureLayer .msref-menu-footer{
    border-color:#2a3948!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-section button{
    color:#e0e8f0!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-section button:hover{
    background:#203141!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-section button>span:first-child,
  html[data-theme="dark"] #featureLayer .msref-menu-section button>.arrow{
    color:#829bb2!important;
  }

  html[data-theme="dark"] #featureLayer .msref-menu-footer button{
    color:#9eb0c1!important;
  }

  html[data-theme="dark"] #featureLayer .msref-privacy-note{
    background:#172330!important;
    border-color:#314254!important;
    color:#bdcad6!important;
  }
}

/* Mobile and light-mode styling intentionally untouched. */
