/* MusicInsight User Hub — modern component layer
 * Extracted in dev67 from the historical user-hub.css tail.
 * Keep component-specific additions here instead of appending more overrides
 * to the legacy/core stylesheet. Loaded after user-hub.css and before the
 * light-theme compatibility layer.
 */

/* =========================================================
   dev54 — public profile privacy controls
   ========================================================= */
.mi-profile-privacy{
  grid-column:1/-1;
  min-width:0;
  margin:2px 0 0;
  
  border:1px solid var(--mi-hub-border);
  border-radius:17px;
  background:color-mix(in srgb,var(--mi-hub-surface-strong) 82%,transparent);
}
.mi-profile-privacy>legend{
  padding:0 7px;
  color:var(--mi-hub-text);
  font-size:10.5px;
  font-weight:900;
}
.mi-profile-privacy>p{
  margin:0 0 12px;
  color:var(--mi-hub-muted);
  font-size:8.7px;
  line-height:1.8;
}
.mi-profile-privacy-grid{display:grid;}
.mi-user-profile-form .mi-profile-privacy-option{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:10px;
  
  
  border:1px solid var(--mi-hub-border);
  border-radius:14px;
  background:var(--mi-hub-surface);
  cursor:pointer;
}
.mi-user-profile-form .mi-profile-privacy-option>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.mi-profile-privacy-switch{
  position:relative;
  display:block;
  width:36px;
  height:20px;
  border:1px solid color-mix(in srgb,var(--mi-hub-muted) 35%,var(--mi-hub-border));
  border-radius:999px;
  background:color-mix(in srgb,var(--mi-hub-muted) 10%,transparent);
  transition:background .18s ease,border-color .18s ease;
}
.mi-profile-privacy-switch>i{
  position:absolute;
  top:3px;
  right:3px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--mi-hub-muted);
  transition:transform .18s ease,background .18s ease;
}
.mi-profile-privacy-option>input[type="checkbox"]:checked~.mi-profile-privacy-switch{
  border-color:color-mix(in srgb,var(--mi-hub-accent) 52%,var(--mi-hub-border));
  background:color-mix(in srgb,var(--mi-hub-accent) 14%,transparent);
}
.mi-profile-privacy-option>input[type="checkbox"]:checked~.mi-profile-privacy-switch>i{
  transform:translateX(-16px);
  background:var(--mi-hub-accent);
}
.mi-profile-privacy-copy{display:grid;gap:3px;min-width:0}
.mi-user-profile-form .mi-profile-privacy-copy strong{color:var(--mi-hub-text);font-weight:850;line-height:1.45;}
.mi-user-profile-form .mi-profile-privacy-copy small{margin:0;color:var(--mi-hub-muted);line-height:1.55;}
.mi-profile-privacy-option:focus-within{border-color:color-mix(in srgb,var(--mi-hub-accent) 50%,var(--mi-hub-border))}

/* Hiding the Listener Level must not leak it through the public palette/ring. */
.mi-public-level-shell.is-level-hidden,
.mi-public-profile-v3.is-level-hidden{
  --mi-public-tone:#7b8492;
  --mi-public-shine:#aab1bc;
}
.mi-public-profile-v3.is-level-hidden .mi-public-profile-stage-v3{grid-template-columns:190px minmax(0,1fr)}
.mi-public-profile-v3.is-level-hidden .mi-public-profile-portrait-wrap:before{display:none!important}
.mi-public-profile-v3.is-level-hidden .mi-public-profile-portrait{box-shadow:0 18px 42px rgba(0,0,0,.18)}
.mi-public-profile-v3.is-level-hidden .mi-public-profile-atmosphere .orb-a{opacity:.34}
.mi-public-profile-v3.is-level-hidden .mi-public-profile-atmosphere .orb-b{opacity:.2}

@media (max-width:1100px){
  .mi-public-profile-v3.is-level-hidden .mi-public-profile-stage-v3{grid-template-columns:160px minmax(0,1fr)}
}
@media (max-width:767px){
  .mi-profile-privacy{padding:12px;border-radius:15px}
  .mi-profile-privacy-grid{grid-template-columns:1fr}
  .mi-user-profile-form .mi-profile-privacy-option{min-height:58px}
  .mi-public-profile-v3.is-level-hidden .mi-public-profile-stage-v3{grid-template-columns:1fr}
}

/* =========================================================
   dev56 — profile settings composition correction
   Keep the identity preview on its original RTL/right side and compact it.
   ========================================================= */
.mi-user-profile-heading{align-items:flex-end}
.mi-user-profile-heading>div{display:grid;gap:4px}
.mi-user-profile-panel--identity{
  grid-template-columns:220px minmax(0,1fr);
  align-items:start;
  gap:14px;
}
.mi-user-profile-avatar-block{
  --mi-profile-level-tone:var(--mi-level-3);
  position:relative;
  align-self:start;
  justify-content:flex-start;
  min-height:0;
  padding:18px 16px 15px;
  overflow:hidden;
  isolation:isolate;
}
.mi-user-profile-avatar-block.is-level-1{--mi-profile-level-tone:var(--mi-level-1)}
.mi-user-profile-avatar-block.is-level-2{--mi-profile-level-tone:var(--mi-level-2)}
.mi-user-profile-avatar-block.is-level-3{--mi-profile-level-tone:var(--mi-level-3)}
.mi-user-profile-avatar-block.is-level-4{--mi-profile-level-tone:var(--mi-level-4)}
.mi-user-profile-avatar-block.is-level-5{--mi-profile-level-tone:var(--mi-level-5)}
.mi-user-profile-preview-top{position:relative;display:grid;place-items:center;width:122px;height:122px;margin:0 auto 10px}
.mi-user-profile-preview-avatar{
  width:108px!important;
  height:108px!important;
  border:1px solid color-mix(in srgb,var(--mi-profile-level-tone) 30%,var(--mi-hub-border))!important;
  border-radius:50%!important;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.14),0 0 24px color-mix(in srgb,var(--mi-profile-level-tone) 7%,transparent);
}
.mi-user-profile-preview-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.mi-user-profile-preview-sigil{position:absolute;left:-2px;bottom:-5px;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--mi-hub-surface-strong);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.mi-user-profile-preview-sigil .mi-level-sigil{width:52px;height:52px}
.mi-user-profile-preview-sigil .mi-level-sigil-number{font-size:19px}
.mi-user-profile-preview-sigil .mi-level-sigil small{bottom:20%;font-size:4px}
.mi-user-profile-preview-name{display:grid;gap:3px;text-align:center}
.mi-user-profile-preview-name strong{margin:0!important;color:var(--mi-hub-text);font-size:17px!important;line-height:1.3}
.mi-user-profile-preview-name span{margin:0!important;color:var(--mi-hub-muted);font-size:8.5px!important}
.mi-user-profile-preview-meta{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:9px;color:var(--mi-hub-muted);font-size:8px;line-height:1.5}
.mi-user-profile-preview-meta b{color:var(--mi-profile-level-tone);font-size:8.5px;font-style:normal;font-weight:850}
.mi-user-profile-preview-meta em{font-style:normal;font-weight:750}
.mi-user-profile-preview-meta em.is-public:before{content:"";display:inline-block;width:5px;height:5px;margin-left:5px;border-radius:50%;background:#66cf88;vertical-align:1px}
.mi-user-profile-avatar-block .mi-user-profile-public-link{width:100%;box-sizing:border-box;margin-top:11px}


.mi-profile-privacy-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.mi-user-profile-form .mi-profile-privacy-option{grid-column:span 2;min-height:60px;padding:9px 10px}
.mi-user-profile-form .mi-profile-privacy-option:nth-last-child(-n/**/+2){grid-column:span 3}
.mi-user-profile-form .mi-profile-privacy-copy strong{font-size:9.3px}
.mi-user-profile-form .mi-profile-privacy-copy small{font-size:7.5px}

@media (max-width:1100px){
  .mi-user-profile-panel--identity{grid-template-columns:200px minmax(0,1fr)}
  .mi-user-profile-avatar-block{padding-inline:14px}
  .mi-profile-privacy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mi-user-profile-form .mi-profile-privacy-option,
  .mi-user-profile-form .mi-profile-privacy-option:nth-last-child(-n/**/+2){grid-column:auto}
  .mi-user-profile-form .mi-profile-privacy-option:last-child{grid-column:1/-1}
}
@media (max-width:700px){
  .mi-user-profile-heading{align-items:flex-start;gap:12px}
  .mi-user-profile-panel--identity{grid-template-columns:1fr;gap:11px;padding:9px}
  .mi-user-profile-avatar-block{width:100%;box-sizing:border-box;padding:15px 14px 13px}
  .mi-user-profile-preview-top{width:108px;height:108px;margin-bottom:9px}
  .mi-user-profile-preview-avatar{width:94px!important;height:94px!important}
  .mi-user-profile-preview-sigil{left:0;bottom:-3px;width:43px;height:43px}
  .mi-user-profile-preview-sigil .mi-level-sigil{width:46px;height:46px}
  .mi-user-profile-preview-name strong{font-size:15px!important}
  .mi-user-profile-preview-meta{margin-top:9px}
  .mi-user-profile-avatar-block .mi-user-profile-public-link{max-width:310px}
  .mi-profile-privacy-grid{grid-template-columns:1fr}
  .mi-user-profile-form .mi-profile-privacy-option,
  .mi-user-profile-form .mi-profile-privacy-option:nth-last-child(-n/**/+2),
  .mi-user-profile-form .mi-profile-privacy-option:last-child{grid-column:auto}
}



/* =========================================================
   dev57 — compact profile identity preview
   Remove legacy direct-child circle geometry from the settings sidebar.
   ========================================================= */
.mi-user-profile-avatar-block > .mi-user-profile-preview-top{
  width:122px!important;
  height:122px!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.mi-user-profile-avatar-block > .mi-user-profile-preview-name,
.mi-user-profile-avatar-block > .mi-user-profile-preview-meta{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.mi-user-profile-preview-name{padding:0 4px}
.mi-user-profile-preview-name span{display:block;line-height:1.6}
.mi-user-profile-preview-meta{padding:7px 0 0;border-top:1px solid color-mix(in srgb,var(--mi-hub-border) 72%,transparent)!important}
.mi-user-profile-avatar-block .mi-user-profile-public-link{min-height:34px}
@media (max-width:700px){
  .mi-user-profile-avatar-block > .mi-user-profile-preview-top{width:108px!important;height:108px!important}
  .mi-user-profile-avatar-block > .mi-user-profile-preview-name,
  .mi-user-profile-avatar-block > .mi-user-profile-preview-meta{width:100%!important;height:auto!important}
}

/* =========================================================
   dev58 — compact collapsible public-profile privacy control
   ========================================================= */
.mi-profile-privacy{
  padding:0!important;
  overflow:hidden;
}
.mi-profile-privacy-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:11px 14px;
  list-style:none;
  cursor:pointer;
  user-select:none;
  outline:0;
}
.mi-profile-privacy-summary::-webkit-details-marker{display:none}
.mi-profile-privacy-summary::marker{display:none;content:""}
.mi-profile-privacy-summary-copy{display:grid;gap:3px;min-width:0}
.mi-user-profile-form .mi-profile-privacy-summary-copy strong{
  color:var(--mi-hub-text);
  font-size:10px;
  font-weight:900;
  line-height:1.45;
}
.mi-user-profile-form .mi-profile-privacy-summary-copy small{
  margin:0;
  color:var(--mi-hub-muted);
  font-size:8px;
  line-height:1.55;
}
.mi-profile-privacy-summary-action{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 11px;
  border:1px solid var(--mi-hub-border);
  border-radius:999px;
  color:var(--mi-hub-text);
  background:color-mix(in srgb,var(--mi-hub-surface) 86%,transparent);
  font-size:8px;
  font-weight:850;
  white-space:nowrap;
}
.mi-profile-privacy-summary-action i{
  position:relative;
  display:block;
  width:7px;
  height:7px;
  border-left:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(-45deg) translateY(-1px);
  transition:transform .18s ease;
}
.mi-profile-privacy[open] .mi-profile-privacy-summary-action i{
  transform:rotate(135deg) translate(-1px,-1px);
}
.mi-profile-privacy[open] .mi-profile-privacy-summary{
  border-bottom:1px solid var(--mi-hub-border);
}
.mi-profile-privacy-summary:hover .mi-profile-privacy-summary-action,
.mi-profile-privacy-summary:focus-visible .mi-profile-privacy-summary-action{
  border-color:color-mix(in srgb,var(--mi-hub-accent) 38%,var(--mi-hub-border));
}
.mi-profile-privacy-body{padding:12px 14px 14px}
.mi-profile-privacy-body>p{
  margin:0 0 11px;
  color:var(--mi-hub-muted);
  font-size:8.4px;
  line-height:1.75;
}
@media (max-width:700px){
  .mi-profile-privacy-summary{min-height:55px;padding:10px 11px;gap:10px}
  .mi-user-profile-form .mi-profile-privacy-summary-copy strong{font-size:9.5px}
  .mi-user-profile-form .mi-profile-privacy-summary-copy small{font-size:7.5px}
  .mi-profile-privacy-summary-action{min-height:28px;padding-inline:9px;font-size:7.5px}
  .mi-profile-privacy-body{padding:10px 10px 11px}
}

/* =========================================================
   dev62 — purposeful personal Top Artists ranking
   The avatar and its identity copy are a single visual unit.
   Remaining horizontal space is used as a relative-play meter.
   ========================================================= */
.mi-personal-top-artists{--mi-top-artist-tone:var(--mi-level-3)}
.mi-listening-page.is-level-1 .mi-personal-top-artists{--mi-top-artist-tone:var(--mi-level-1)}
.mi-listening-page.is-level-2 .mi-personal-top-artists{--mi-top-artist-tone:var(--mi-level-2)}
.mi-listening-page.is-level-3 .mi-personal-top-artists{--mi-top-artist-tone:var(--mi-level-3)}
.mi-listening-page.is-level-4 .mi-personal-top-artists{--mi-top-artist-tone:var(--mi-level-4)}
.mi-listening-page.is-level-5 .mi-personal-top-artists{--mi-top-artist-tone:var(--mi-level-5)}
.mi-personal-top-artists>.mi-personal-top-artists-head{display:block!important;margin-bottom:18px!important;text-align:right!important}
.mi-personal-top-artists>.mi-personal-top-artists-head>div{max-width:680px;margin-right:0;margin-left:auto}
.mi-personal-top-artists>.mi-personal-top-artists-head p{max-width:620px!important;margin:7px 0 0!important;color:var(--mi-hub-muted)!important;text-align:right!important}
.mi-personal-top-artists-list{display:grid;gap:8px}
.mi-personal-top-artist-row{position:relative;display:flex;flex-direction:row;direction:rtl;align-items:center;gap:12px;min-height:74px;padding:8px 12px;border:1px solid var(--mi-hub-border);border-radius:17px;background:color-mix(in srgb,var(--mi-hub-surface) 90%,transparent);color:var(--mi-hub-text);text-decoration:none;overflow:hidden;transition:border-color .18s ease,background-color .18s ease}
.mi-personal-top-artist-row:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(270deg,color-mix(in srgb,var(--mi-top-artist-tone) 4%,transparent),transparent 34%);opacity:0;transition:opacity .18s ease}
.mi-personal-top-artist-row:hover{border-color:color-mix(in srgb,var(--mi-top-artist-tone) 30%,var(--mi-hub-border));background:color-mix(in srgb,var(--mi-top-artist-tone) 3%,var(--mi-hub-surface));color:var(--mi-hub-text)}
.mi-personal-top-artist-row:hover:before{opacity:1}
.mi-personal-top-artist-row.is-first{min-height:82px;border-color:color-mix(in srgb,var(--mi-top-artist-tone) 42%,var(--mi-hub-border));background:linear-gradient(270deg,color-mix(in srgb,var(--mi-top-artist-tone) 8%,var(--mi-hub-surface)),color-mix(in srgb,var(--mi-hub-surface) 94%,transparent) 52%)}
.mi-personal-top-artist-rank{position:relative;z-index:1;flex:0 0 38px;color:color-mix(in srgb,var(--mi-top-artist-tone) 78%,var(--mi-hub-muted));font-family:Arial,Helvetica,sans-serif!important;font-size:17px;font-weight:400;line-height:1;text-align:center}
.mi-personal-top-artist-row.is-first .mi-personal-top-artist-rank{color:var(--mi-top-artist-tone);font-size:21px}
.mi-personal-top-artist-image{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:50%;overflow:hidden;border:1px solid color-mix(in srgb,var(--mi-top-artist-tone) 22%,var(--mi-hub-border));background:var(--mi-hub-surface-strong)}
.mi-personal-top-artist-row.is-first .mi-personal-top-artist-image{flex-basis:66px;width:66px;height:66px;border-color:color-mix(in srgb,var(--mi-top-artist-tone) 48%,var(--mi-hub-border));box-shadow:0 0 24px color-mix(in srgb,var(--mi-top-artist-tone) 8%,transparent)}
.mi-personal-top-artist-image img{display:block;width:100%;height:100%;object-fit:cover}
.mi-personal-top-artist-image .mi-public-artist-placeholder{display:grid;place-items:center;width:100%;height:100%;background:color-mix(in srgb,var(--mi-top-artist-tone) 12%,var(--mi-hub-surface-strong));color:var(--mi-top-artist-tone);font-family:Arial,Helvetica,sans-serif!important;font-size:18px;font-weight:700}
.mi-personal-top-artist-copy{position:relative;z-index:1;display:grid;flex:0 1 260px;gap:4px;min-width:150px;text-align:right}
.mi-personal-top-artist-copy strong{overflow:hidden;color:var(--mi-hub-text);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.mi-personal-top-artist-row.is-first .mi-personal-top-artist-copy strong{font-size:15px}
.mi-personal-top-artist-copy small{display:flex;align-items:center;gap:6px;color:var(--mi-hub-muted);font-size:8px;line-height:1.4;white-space:nowrap}
.mi-personal-top-artist-copy small b{color:var(--mi-top-artist-tone);font-size:7.5px;font-weight:850}
.mi-personal-top-artist-copy small span{color:color-mix(in srgb,var(--mi-top-artist-tone) 46%,var(--mi-hub-muted))}
.mi-personal-top-artist-meter{position:relative;z-index:1;display:block;flex:1 1 auto;min-width:90px;height:4px;border-radius:999px;background:color-mix(in srgb,var(--mi-hub-muted) 13%,transparent);overflow:hidden}
.mi-personal-top-artist-meter>i{display:block;width:var(--mi-artist-share);height:100%;border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--mi-top-artist-tone) 52%,var(--mi-hub-muted)),var(--mi-top-artist-tone));box-shadow:0 0 12px color-mix(in srgb,var(--mi-top-artist-tone) 18%,transparent)}
.mi-personal-top-artist-open{position:relative;z-index:1;flex:0 0 22px;color:var(--mi-hub-muted);font-size:13px;font-style:normal;text-align:center}
.mi-personal-top-artist-row:hover .mi-personal-top-artist-open{color:var(--mi-top-artist-tone)}
@media (max-width:700px){
  .mi-personal-top-artists{padding-top:22px!important}
  .mi-personal-top-artists>.mi-personal-top-artists-head{margin-bottom:13px!important}
  .mi-personal-top-artists>.mi-personal-top-artists-head>div{max-width:none}
  .mi-personal-top-artist-row{gap:8px;min-height:62px;padding:6px 8px;border-radius:14px}
  .mi-personal-top-artist-row.is-first{min-height:68px}
  .mi-personal-top-artist-rank{flex-basis:27px;font-size:11px}
  .mi-personal-top-artist-row.is-first .mi-personal-top-artist-rank{font-size:14px}
  .mi-personal-top-artist-image{flex-basis:48px;width:48px;height:48px}
  .mi-personal-top-artist-row.is-first .mi-personal-top-artist-image{flex-basis:54px;width:54px;height:54px}
  .mi-personal-top-artist-copy{flex:1 1 auto;min-width:0;gap:3px}
  .mi-personal-top-artist-copy strong{font-size:10.5px}
  .mi-personal-top-artist-row.is-first .mi-personal-top-artist-copy strong{font-size:12px}
  .mi-personal-top-artist-copy small{gap:4px;font-size:7.2px}
  .mi-personal-top-artist-copy small b{font-size:6.8px}
  .mi-personal-top-artist-meter{flex:0 0 44px;min-width:44px;height:3px}
  .mi-personal-top-artist-open{flex-basis:14px;font-size:11px}
}


/* =========================================================
   dev63 — Favorite Artist preference
   One compact identity unit: avatar + artist name stay together.
   ========================================================= */
.mi-favorite-artist-setting{position:relative;padding:13px 14px;border:1px solid var(--mi-hub-border);border-radius:17px;background:color-mix(in srgb,var(--mi-hub-surface) 94%,transparent)}
.mi-favorite-artist-setting-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mi-favorite-artist-setting-head>div:first-child{display:grid;gap:3px;min-width:0}
.mi-user-profile-form .mi-favorite-artist-setting-head>div:first-child>span{color:var(--mi-hub-text);font-size:10px;font-weight:900;line-height:1.4}
.mi-user-profile-form .mi-favorite-artist-setting-head>div:first-child>small{margin:0;color:var(--mi-hub-muted);font-size:7.8px;line-height:1.55}
.mi-favorite-artist-modes{display:flex;flex:0 0 auto;padding:3px;border:1px solid var(--mi-hub-border);border-radius:999px;background:color-mix(in srgb,var(--mi-hub-surface-strong) 72%,transparent)}
.mi-favorite-artist-modes button{min-height:29px;padding:0 11px;border:0;border-radius:999px;background:transparent;color:var(--mi-hub-muted);font:inherit;font-size:7.8px;font-weight:850;cursor:pointer}
.mi-favorite-artist-modes button.is-active{background:color-mix(in srgb,var(--mi-hub-accent) 13%,var(--mi-hub-surface));color:var(--mi-hub-text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--mi-hub-accent) 35%,transparent)}
.mi-favorite-artist-current{display:flex;align-items:center;gap:10px;min-height:58px;margin-top:11px;padding:7px 9px;border-top:1px solid var(--mi-hub-border)}
.mi-favorite-artist-current-image{flex:0 0 46px;width:46px;height:46px;border-radius:50%;overflow:hidden;border:1px solid color-mix(in srgb,var(--mi-hub-accent) 24%,var(--mi-hub-border));background:var(--mi-hub-surface-strong)}
.mi-favorite-artist-current-image img,.mi-favorite-artist-current-image .mi-public-artist-placeholder{display:block;width:100%;height:100%;object-fit:cover}
.mi-favorite-artist-current-image .mi-public-artist-placeholder{display:grid;place-items:center;color:var(--mi-hub-accent);font-size:16px;font-weight:800}
.mi-favorite-artist-current-copy{display:grid;gap:3px;min-width:0;text-align:right}
.mi-favorite-artist-current-copy strong{overflow:hidden;color:var(--mi-hub-text);font-size:10.5px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
.mi-favorite-artist-current-copy small{margin:0!important;color:var(--mi-hub-muted);font-size:7.5px!important}
.mi-favorite-artist-current-empty{color:var(--mi-hub-muted);font-size:8.2px;line-height:1.6}
.mi-favorite-artist-manual{display:none;position:relative;margin-top:4px;padding-top:10px;border-top:1px solid var(--mi-hub-border)}
.mi-favorite-artist-manual.is-visible{display:block}
.mi-user-profile-form .mi-favorite-artist-search{display:grid!important;gap:5px!important;margin:0!important}
.mi-user-profile-form .mi-favorite-artist-search>span{font-size:8px!important;color:var(--mi-hub-muted)!important}
.mi-favorite-artist-results{position:absolute;top:calc(100% + 5px);right:0;left:0;max-height:292px;padding:5px;border:1px solid var(--mi-hub-border);border-radius:14px;overflow:auto;}
.mi-favorite-artist-result{display:flex;width:100%;align-items:center;gap:9px;padding:6px;border:0;border-radius:10px;color:var(--mi-hub-text);font:inherit;text-align:right;cursor:pointer;}
.mi-favorite-artist-result:hover{background:color-mix(in srgb,var(--mi-hub-accent) 7%,transparent)}
.mi-favorite-artist-result-image{display:grid;place-items:center;border-radius:50%;overflow:hidden;color:var(--mi-hub-accent);font-size:13px;font-weight:800;}

.mi-favorite-artist-result>span:last-child{display:grid;gap:2px;min-width:0}
.mi-favorite-artist-result strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.mi-favorite-artist-result small{margin:0!important;color:var(--mi-hub-muted);font-size:7px!important}
.mi-favorite-artist-result-empty{display:block;padding:12px;color:var(--mi-hub-muted);font-size:8px;text-align:center}

.mi-public-chosen-artist{display:flex;align-items:center;gap:12px;min-height:76px;margin:0 0 20px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--mi-public-tone) 34%,rgba(255,255,255,.08));border-radius:18px;background:linear-gradient(270deg,color-mix(in srgb,var(--mi-public-tone) 8%,transparent),rgba(255,255,255,.018));color:#fff;text-decoration:none}
.mi-public-chosen-artist-image{flex:0 0 58px;width:58px;height:58px;border-radius:50%;overflow:hidden;border:1px solid color-mix(in srgb,var(--mi-public-tone) 48%,rgba(255,255,255,.09))}
.mi-public-chosen-artist-image img,.mi-public-chosen-artist-image .mi-public-artist-placeholder{display:block;width:100%;height:100%;object-fit:cover}
.mi-public-chosen-artist-image .mi-public-artist-placeholder{display:grid;place-items:center;background:rgba(255,255,255,.035);color:var(--mi-public-tone);font-size:19px;font-weight:800}
.mi-public-chosen-artist-copy{display:grid;gap:3px;min-width:0;text-align:right}
.mi-public-chosen-artist-copy small{color:var(--mi-public-tone);font-weight:900;letter-spacing:.04em;}
.mi-public-chosen-artist-copy strong{overflow:hidden;color:#fff;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;}
.mi-public-chosen-artist-copy em{color:rgba(255,255,255,.43);font-size:7.5px;font-style:normal}
.mi-public-chosen-artist>i{margin-right:auto;color:rgba(255,255,255,.38);font-size:14px;font-style:normal}
.mi-public-chosen-artist:hover{border-color:color-mix(in srgb,var(--mi-public-tone) 58%,rgba(255,255,255,.08));color:#fff}
@media(max-width:700px){
  .mi-favorite-artist-setting{padding:11px;border-radius:15px}
  .mi-favorite-artist-setting-head{align-items:flex-start;gap:10px}
  .mi-favorite-artist-modes button{min-height:27px;padding-inline:9px;font-size:7.2px}
  .mi-favorite-artist-current{min-height:53px;padding-inline:4px}
  .mi-favorite-artist-current-image{flex-basis:43px;width:43px;height:43px}
  .mi-public-chosen-artist{min-height:68px;margin-bottom:16px;padding:7px 9px;border-radius:15px}
  .mi-public-chosen-artist-image{flex-basis:52px;width:52px;height:52px}
  .mi-public-chosen-artist-copy strong{font-size:12px}
}


/* dev64 — favorite artist privacy + search portrait clarity */
.mi-favorite-artist-result-image{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  position:relative;
  isolation:isolate;
  border:1px solid color-mix(in srgb,var(--mi-hub-accent) 24%,var(--mi-hub-border));
  background:var(--mi-hub-surface)!important;
  opacity:1!important;
  filter:none!important;
}
.mi-favorite-artist-result-image img{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  transform:none!important;
}
.mi-favorite-artist-result:hover .mi-favorite-artist-result-image img,
.mi-favorite-artist-result:focus .mi-favorite-artist-result-image img,
.mi-favorite-artist-result:active .mi-favorite-artist-result-image img{
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
.mi-public-chosen-artist-copy{align-content:center}


/* =========================================================
   dev65 — Favorite Artist live-search layer fix
   The issue was the result dropdown itself blending/stacking
   under the following controls, not the portrait opacity.
   ========================================================= */
.mi-favorite-artist-setting{
  z-index:1;
}
.mi-favorite-artist-setting:focus-within{
  z-index:120;
}
.mi-favorite-artist-manual.is-visible{
  z-index:121;
}
.mi-favorite-artist-results{
  z-index:999!important;
  background:#1b1e24!important;
  opacity:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:0 20px 48px rgba(0,0,0,.48)!important;
}
.mi-favorite-artist-result{
  position:relative;
  z-index:1;
  background:#1b1e24!important;
  opacity:1!important;
}
.mi-favorite-artist-result:hover,
.mi-favorite-artist-result:focus-visible{
  background:#22262d!important;
}
.mi-favorite-artist-result-image,
.mi-favorite-artist-result-image img,
.mi-favorite-artist-result>span:last-child{
  opacity:1!important;
}


/* dev66 — public Favorite Artist typography scale */
.mi-public-chosen-artist-copy small{font-size:9.52px}
.mi-public-chosen-artist-copy strong{font-size:19.6px}
@media (max-width:767px){
  .mi-public-chosen-artist-copy small{font-size:9.52px}
  .mi-public-chosen-artist-copy strong{font-size:16.8px}
}


/* =========================================================
   dev73 — Music DNA v3
   One coherent identity surface, clearer hierarchy and data scope.
   ========================================================= */
.mi-listening-page .mi-music-dna{
  --mi-dna-tone:var(--mi-level-3);
  position:relative;
  padding:32px 30px 26px!important;
  border:1px solid color-mix(in srgb,var(--mi-dna-tone) 17%,var(--mi-hub-border))!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 88% 0,color-mix(in srgb,var(--mi-dna-tone) 11%,transparent),transparent 31%),
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.007))!important;
  overflow:hidden;
  --mi-dna-color-1:#c7a25b;
  --mi-dna-color-2:#a88366;
  --mi-dna-color-3:#7f927e;
  --mi-dna-color-4:#6f8295;
  --mi-dna-color-5:#827586;
}
.mi-listening-page.is-level-1 .mi-music-dna{--mi-dna-tone:var(--mi-level-1)}
.mi-listening-page.is-level-2 .mi-music-dna{--mi-dna-tone:var(--mi-level-2)}
.mi-listening-page.is-level-3 .mi-music-dna{--mi-dna-tone:var(--mi-level-3)}
.mi-listening-page.is-level-4 .mi-music-dna{--mi-dna-tone:var(--mi-level-4)}
.mi-listening-page.is-level-5 .mi-music-dna{--mi-dna-tone:var(--mi-level-5)}
.mi-listening-page .mi-music-dna:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.14;
  background:repeating-linear-gradient(90deg,transparent 0 119px,color-mix(in srgb,var(--mi-dna-tone) 5%,transparent) 120px,transparent 121px 240px);
  mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
}
.mi-listening-page .mi-music-dna:after{
  content:"";
  position:absolute;
  top:0;
  right:30px;
  width:86px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--mi-dna-tone));
  opacity:.9;
}
.mi-music-dna>*{position:relative;z-index:1}

/* Override the generic listening header. The previous flex rule was splitting the title
   from its description and was the main reason the DNA heading felt unfinished. */
.mi-listening-page .mi-music-dna>.mi-music-dna-head{
  display:block!important;
  width:min(100%,720px);
  max-width:720px!important;
  margin:0 0 24px auto!important;
  text-align:right!important;
}
.mi-music-dna-title-row{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap}
.mi-listening-page .mi-music-dna-head>.mi-music-dna-title-row>.mi-user-hub-kicker{
  display:inline-block!important;
  color:var(--mi-dna-tone)!important;
  font-size:8px!important;
  text-align:right!important;
}
.mi-music-dna-source{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:0 8px;
  border:1px solid color-mix(in srgb,var(--mi-dna-tone) 16%,rgba(255,255,255,.06));
  border-radius:999px;
  background:color-mix(in srgb,var(--mi-dna-tone) 4%,transparent);
  color:rgba(255,255,255,.43);
  font-size:7.5px;
  font-weight:650;
}
.mi-listening-page .mi-music-dna-head h3{
  margin:7px 0 0!important;
  color:#fff!important;
  font-size:29px!important;
  line-height:1.18!important;
  letter-spacing:-.025em;
  text-align:right!important;
}
.mi-listening-page .mi-music-dna-head p{
  max-width:650px!important;
  margin:8px 0 0!important;
  color:rgba(255,255,255,.49)!important;
  font-size:10.5px!important;
  line-height:1.9!important;
  text-align:right!important;
}

/* Signature + anchor are one identity band, not two disconnected cards. */
.mi-music-dna-overview{
  display:grid;
  grid-template-columns:minmax(255px,.72fr) minmax(0,1.28fr);
  grid-template-areas:"anchor signature";
  align-items:stretch;
  margin-top:8px;
  border-top:1px solid rgba(255,255,255,.065);
  border-bottom:1px solid rgba(255,255,255,.065);
  background:linear-gradient(90deg,rgba(255,255,255,.006),rgba(255,255,255,.018),rgba(255,255,255,.006));
}
.mi-music-dna-signature{
  grid-area:signature;
  min-width:0;
  padding:19px 18px 20px;
}
.mi-music-dna-signature>span{display:block;color:var(--mi-dna-tone);font-size:8.5px;font-weight:900}
.mi-music-dna-signature-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.mi-music-dna-signature-tags>strong{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:35px;
  padding:0 12px;
  border:1px solid color-mix(in srgb,var(--mi-dna-tone) 18%,rgba(255,255,255,.075));
  border-radius:10px;
  background:color-mix(in srgb,var(--mi-dna-tone) 4%,rgba(255,255,255,.012));
  color:rgba(255,255,255,.9);
  font-size:12.5px;
  font-weight:800;
  line-height:1.3;
}
.mi-music-dna-signature-tags>strong:first-child{
  border-color:color-mix(in srgb,var(--mi-dna-tone) 38%,rgba(255,255,255,.08));
  background:color-mix(in srgb,var(--mi-dna-tone) 10%,rgba(255,255,255,.015));
  box-shadow:inset 0 0 22px color-mix(in srgb,var(--mi-dna-tone) 5%,transparent);
}
.mi-music-dna-signature-tags>strong i{
  color:color-mix(in srgb,var(--mi-dna-tone) 84%,#fff);
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:7px;
  font-style:normal;
  font-weight:800;
}
.mi-music-dna-anchor{
  grid-area:anchor;
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding:17px 18px;
  border-inline-start:1px solid rgba(255,255,255,.065);
  color:inherit;
  text-decoration:none;
}
.mi-music-dna-anchor-image{
  flex:0 0 auto;
  display:block;
  width:64px;
  height:64px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--mi-dna-tone) 34%,rgba(255,255,255,.08));
  border-radius:50%;
  background:rgba(255,255,255,.03);
  box-shadow:0 8px 24px rgba(0,0,0,.12),0 0 24px color-mix(in srgb,var(--mi-dna-tone) 7%,transparent);
}
.mi-music-dna-anchor-image img,.mi-music-dna-anchor-image .mi-public-artist-placeholder{display:block;width:100%;height:100%;object-fit:cover}
.mi-music-dna-anchor-copy{min-width:0}
.mi-music-dna-anchor small{display:block;color:var(--mi-dna-tone);font-size:8px;font-weight:900}
.mi-music-dna-anchor strong{display:block;margin-top:4px;overflow:hidden;color:#fff;font-size:16px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
.mi-music-dna-anchor em{display:block;margin-top:4px;color:rgba(255,255,255,.43);font-size:8.7px;font-style:normal}

.mi-music-dna-spectrum{margin-top:24px}
.mi-music-dna-spectrum-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.mi-music-dna-spectrum-head strong{color:#fff;font-size:11px;font-weight:850}
.mi-music-dna-spectrum-head small{color:rgba(255,255,255,.36);font-size:8px}
.mi-music-dna-composition{
  display:flex;
  width:100%;
  height:9px;
  overflow:hidden;
  margin-bottom:18px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  direction:rtl;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.mi-music-dna-composition>i{display:block;flex:0 0 var(--mi-dna-segment);height:100%;background:var(--mi-dna-segment-color,var(--mi-dna-tone));border-inline-end:2px solid rgba(13,16,21,.72)}
.mi-music-dna-composition>i:first-child{border-inline-end:0}
.mi-music-dna-composition>.is-segment-1{--mi-dna-segment-color:var(--mi-dna-color-1)}
.mi-music-dna-composition>.is-segment-2{--mi-dna-segment-color:var(--mi-dna-color-2)}
.mi-music-dna-composition>.is-segment-3{--mi-dna-segment-color:var(--mi-dna-color-3)}
.mi-music-dna-composition>.is-segment-4{--mi-dna-segment-color:var(--mi-dna-color-4)}
.mi-music-dna-composition>.is-segment-5{--mi-dna-segment-color:var(--mi-dna-color-5)}
.mi-music-dna-strands{display:grid;gap:9px}
.mi-music-dna-strand{
  --mi-dna-bar-color:var(--mi-dna-tone);
  display:grid;
  grid-template-columns:minmax(170px,255px) minmax(180px,1fr) 48px;
  gap:16px;
  align-items:center;
  min-height:30px;
}
.mi-music-dna-strand:nth-child(1){--mi-dna-bar-color:var(--mi-dna-color-1)}
.mi-music-dna-strand:nth-child(2){--mi-dna-bar-color:var(--mi-dna-color-2)}
.mi-music-dna-strand:nth-child(3){--mi-dna-bar-color:var(--mi-dna-color-3)}
.mi-music-dna-strand:nth-child(4){--mi-dna-bar-color:var(--mi-dna-color-4)}
.mi-music-dna-strand:nth-child(5){--mi-dna-bar-color:var(--mi-dna-color-5)}
.mi-music-dna-strand-name{display:flex;align-items:center;gap:9px;min-width:0}
.mi-music-dna-strand-name i{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;color:var(--mi-dna-bar-color);font-family:Arial,Helvetica,sans-serif!important;font-size:8px;font-style:normal;font-weight:850}
.mi-music-dna-strand-name i:before{content:"";display:block;width:10px;height:2px;border-radius:999px;background:var(--mi-dna-bar-color);opacity:.88}
.mi-music-dna-strand-name b{min-width:0;overflow:hidden;color:rgba(255,255,255,.84);font-size:10.5px;font-weight:760;white-space:nowrap;text-overflow:ellipsis}
.mi-music-dna-meter{position:relative;display:block;height:7px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.06)}
.mi-music-dna-meter i{position:absolute;inset-block:0;inset-inline-start:0;display:block;width:var(--mi-dna-strength);border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--mi-dna-bar-color) 74%,#6d7176),var(--mi-dna-bar-color));box-shadow:0 0 8px color-mix(in srgb,var(--mi-dna-bar-color) 7%,transparent)}
.mi-music-dna-strand>small{color:color-mix(in srgb,var(--mi-dna-bar-color) 66%,#d7d9dc);font-family:Arial,Helvetica,sans-serif!important;font-size:9px;font-weight:750;text-align:left}

.mi-music-dna-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:25px;
  border-top:1px solid rgba(255,255,255,.065);
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent);
}
.mi-music-dna-metrics>div{min-width:0;padding:17px 18px 14px;text-align:center}
.mi-music-dna-metrics>div+div{border-inline-start:1px solid rgba(255,255,255,.065)}
.mi-music-dna-metrics strong{display:block;color:#fff;font-family:Arial,Helvetica,sans-serif!important;font-size:23px;font-weight:500;line-height:1}
.mi-music-dna-metrics span{display:block;margin-top:7px;color:rgba(255,255,255,.46);font-size:8px;line-height:1.5}
.mi-music-dna-note{max-width:980px;margin:12px 0 0;color:rgba(255,255,255,.34);font-size:7.8px;line-height:1.8;text-align:right}

@media (max-width:980px){
  .mi-listening-page .mi-music-dna{padding:27px 22px 23px!important}
  .mi-music-dna-overview{grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr)}
  .mi-music-dna-strand{grid-template-columns:minmax(145px,205px) minmax(120px,1fr) 44px;gap:12px}
}
@media (max-width:767px){
  .mi-listening-page .mi-music-dna{padding:20px 13px 18px!important;border-radius:20px!important;background:radial-gradient(circle at 90% 0,color-mix(in srgb,var(--mi-dna-tone) 9%,transparent),transparent 26%),rgba(255,255,255,.01)!important}
  .mi-listening-page .mi-music-dna>.mi-music-dna-head{width:100%;max-width:none!important;margin:0 0 16px!important}
  .mi-music-dna-title-row{gap:7px}
  .mi-music-dna-source{min-height:21px;padding-inline:7px;font-size:6.9px}
  .mi-listening-page .mi-music-dna-head h3{margin-top:6px!important;font-size:21px!important;line-height:1.25!important}
  .mi-listening-page .mi-music-dna-head p{margin-top:6px!important;font-size:8.8px!important;line-height:1.75!important}
  .mi-music-dna-overview{grid-template-columns:1fr;grid-template-areas:"signature" "anchor";margin-top:0;border-radius:14px;overflow:hidden}
  .mi-music-dna-signature{padding:14px 12px 15px}
  .mi-music-dna-signature-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}
  .mi-music-dna-signature-tags>strong{justify-content:flex-start;min-height:31px;padding:0 8px;font-size:9.5px;border-radius:9px}
  .mi-music-dna-signature-tags>strong:nth-child(3){grid-column:1/-1;width:max-content;max-width:100%}
  .mi-music-dna-anchor{padding:11px 12px;border-inline-start:0;border-top:1px solid rgba(255,255,255,.06);gap:10px}
  .mi-music-dna-anchor-image{width:52px;height:52px}
  .mi-music-dna-anchor strong{font-size:13.5px}
  .mi-music-dna-anchor em{font-size:7.8px}
  .mi-music-dna-spectrum{margin-top:17px}
  .mi-music-dna-spectrum-head{margin-bottom:10px}
  .mi-music-dna-spectrum-head strong{font-size:10px}
  .mi-music-dna-spectrum-head small{font-size:7px}
  .mi-music-dna-composition{height:7px;margin-bottom:15px}
  .mi-music-dna-strands{gap:11px}
  .mi-music-dna-strand{grid-template-columns:minmax(0,1fr) 38px;grid-template-areas:"name value" "meter meter";gap:6px 10px;min-height:0}
  .mi-music-dna-strand-name{grid-area:name}
  .mi-music-dna-strand-name b{font-size:9.2px}
  .mi-music-dna-meter{grid-area:meter;height:5px}
  .mi-music-dna-strand>small{grid-area:value;font-size:8px;text-align:left}
  .mi-music-dna-metrics{margin-top:19px}
  .mi-music-dna-metrics>div{padding:13px 4px 11px}
  .mi-music-dna-metrics strong{font-size:18px}
  .mi-music-dna-metrics span{margin-top:5px;font-size:6.7px;line-height:1.4}
  .mi-music-dna-note{margin-top:10px;font-size:7px;line-height:1.65}
}
nn/* dev79 — Listening Insights v3: cohesive track identity + native Persian units */
.mi-listening-insights{
  --mi-insight-tone:var(--mi-level-1);
  position:relative;
  overflow:hidden;
  padding:30px 30px 28px!important;
  border-color:color-mix(in srgb,var(--mi-insight-tone) 20%,rgba(255,255,255,.075))!important;
  background:
    radial-gradient(circle at 92% 0,color-mix(in srgb,var(--mi-insight-tone) 9%,transparent),transparent 29%),
    linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,.008))!important;
}
.mi-listening-insights:before{
  content:"";
  position:absolute;
  inset-inline-end:30px;
  inset-block-start:0;
  width:72px;
  height:2px;
  border-radius:999px;
  background:var(--mi-insight-tone);
  opacity:.78;
}
.mi-listening-page.is-level-1 .mi-listening-insights{--mi-insight-tone:var(--mi-level-1)}
.mi-listening-page.is-level-2 .mi-listening-insights{--mi-insight-tone:var(--mi-level-2)}
.mi-listening-page.is-level-3 .mi-listening-insights{--mi-insight-tone:var(--mi-level-3)}
.mi-listening-page.is-level-4 .mi-listening-insights{--mi-insight-tone:var(--mi-level-4)}
.mi-listening-page.is-level-5 .mi-listening-insights{--mi-insight-tone:var(--mi-level-5)}

/* Keep the heading as one readable cluster; the old split layout left the description floating on the far side. */
.mi-listening-insights-head{
  display:block;
  max-width:760px;
  margin:0 0 23px 0;
  text-align:right;
}
.mi-listening-insights-head .mi-user-hub-kicker{font-size:10.5px!important;letter-spacing:.11em}
.mi-listening-insights-head h3{margin:6px 0 0;color:#fff;font-size:28px;line-height:1.25}
.mi-listening-insights-head p{max-width:700px;margin:9px 0 0;color:rgba(255,255,255,.58);font-size:13.2px;line-height:1.85;text-align:right}

.mi-listening-insights-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(430px,.88fr);gap:16px;align-items:stretch}

/* Featured returning track */
.mi-listening-insight-track{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 108px;
  align-items:center;
  gap:18px;
  min-height:136px;
  padding:16px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:20px;
  background:linear-gradient(270deg,color-mix(in srgb,var(--mi-insight-tone) 7%,rgba(255,255,255,.02)),rgba(255,255,255,.012));
  color:inherit;
  text-decoration:none!important;
  transition:border-color .18s ease,background .18s ease;
}
.mi-listening-insight-track:hover{border-color:color-mix(in srgb,var(--mi-insight-tone) 36%,rgba(255,255,255,.10));background:linear-gradient(270deg,color-mix(in srgb,var(--mi-insight-tone) 10%,rgba(255,255,255,.025)),rgba(255,255,255,.014))}
.mi-listening-insight-track-main{display:flex;align-items:center;gap:16px;min-width:0}
.mi-listening-insight-track-cover{flex:0 0 104px;display:grid;place-items:center;width:104px;height:104px;overflow:hidden;border-radius:16px;background:rgba(255,255,255,.05);box-shadow:0 13px 34px rgba(0,0,0,.24)}
.mi-listening-insight-track-cover img{display:block;width:100%;height:100%;object-fit:cover}
.mi-listening-insight-track-copy{min-width:0;text-align:right}
.mi-listening-insight-track-copy small{display:block;color:var(--mi-insight-tone);font-size:12px;font-weight:900;line-height:1.35}
.mi-listening-insight-track-copy strong{display:block;margin-top:7px;overflow:hidden;color:#fff;font-size:23px;line-height:1.22;white-space:nowrap;text-overflow:ellipsis}
.mi-listening-insight-track-copy em{display:block;margin-top:6px;overflow:hidden;color:rgba(255,255,255,.58);font-size:13.5px;font-style:normal;line-height:1.4;white-space:nowrap;text-overflow:ellipsis}
.mi-listening-insight-track-count{display:grid;justify-items:center;align-content:center;min-width:108px;min-height:78px;padding-inline-start:18px;border-inline-start:1px solid rgba(255,255,255,.075)}
.mi-listening-insight-track-count b{color:#fff;font-family:Arial,Helvetica,sans-serif!important;font-size:32px;font-weight:500;line-height:1}
.mi-listening-insight-track-count small{margin-top:9px;color:rgba(255,255,255,.52);font-size:10.8px;line-height:1.35}

/* Three recent-listening facts */
.mi-listening-insight-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid rgba(255,255,255,.085);border-radius:20px;background:rgba(255,255,255,.012)}
.mi-listening-insight-facts>div{display:grid;align-content:center;min-width:0;padding:17px 13px;text-align:center}
.mi-listening-insight-facts>div+div{border-inline-start:1px solid rgba(255,255,255,.07)}
.mi-listening-insight-facts span{color:rgba(255,255,255,.66);font-size:11.7px;font-weight:800;line-height:1.45}
.mi-listening-insight-facts strong{display:flex;align-items:baseline;justify-content:center;gap:6px;margin-top:10px;color:#fff;font-family:inherit;font-size:31px;font-weight:500;line-height:1}
.mi-listening-insight-facts strong b{font-family:Arial,Helvetica,sans-serif!important;font-size:inherit;font-weight:500;line-height:1}
.mi-listening-insight-facts strong i{color:var(--mi-insight-tone);font-family:inherit!important;font-size:12px;font-style:normal;font-weight:850;line-height:1.25}
.mi-listening-insight-facts small{margin-top:9px;color:rgba(255,255,255,.46);font-size:10.2px;line-height:1.55}

@media (max-width:1180px){
  .mi-listening-insights-grid{grid-template-columns:1fr}
  .mi-listening-insight-facts>div{min-height:112px}
}
@media (max-width:767px){
  .mi-listening-insights{padding:20px 13px 17px!important;border-radius:20px!important}
  .mi-listening-insights:before{inset-inline-end:13px;width:52px}
  .mi-listening-insights-head{margin-bottom:16px}
  .mi-listening-insights-head .mi-user-hub-kicker{font-size:9px!important}
  .mi-listening-insights-head h3{margin-top:5px;font-size:23px}
  .mi-listening-insights-head p{margin-top:7px;font-size:12px;line-height:1.72}
  .mi-listening-insights-grid{gap:10px}
  .mi-listening-insight-track{grid-template-columns:minmax(0,1fr) 62px;gap:10px;min-height:106px;padding:11px;border-radius:15px}
  .mi-listening-insight-track-main{gap:11px}
  .mi-listening-insight-track-cover{flex-basis:80px;width:80px;height:80px;border-radius:12px}
  .mi-listening-insight-track-copy small{font-size:10px}
  .mi-listening-insight-track-copy strong{margin-top:5px;font-size:18px;line-height:1.25}
  .mi-listening-insight-track-copy em{margin-top:4px;font-size:11.5px}
  .mi-listening-insight-track-count{min-width:62px;min-height:62px;padding-inline-start:9px}
  .mi-listening-insight-track-count b{font-size:23px}
  .mi-listening-insight-track-count small{margin-top:6px;font-size:9px}

  /* On phones, three cramped micro-cards were the main readability problem. Make them real rows. */
  .mi-listening-insight-facts{grid-template-columns:1fr;border-radius:15px}
  .mi-listening-insight-facts>div{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value" "note value";align-items:center;min-height:78px;padding:12px 13px;text-align:right}
  .mi-listening-insight-facts>div+div{border-inline-start:0;border-top:1px solid rgba(255,255,255,.07)}
  .mi-listening-insight-facts span{grid-area:label;font-size:11px}
  .mi-listening-insight-facts strong{grid-area:value;align-self:center;margin:0 12px 0 0;font-size:25px}
  .mi-listening-insight-facts strong b{font-size:25px}
  .mi-listening-insight-facts strong i{font-size:10px}
  .mi-listening-insight-facts small{grid-area:note;margin-top:4px;font-size:9.5px;line-height:1.45}
}

/* dev84 — Year in Music v5: keep the atmosphere fully inside the panel so the glow
   reaches transparent before the top/right edges. This removes the rectangular cut
   that was visible around the desktop heading while preserving the same level tone. */
.mi-year-in-music{
  --mi-year-tone:var(--mi-level-1);
  position:relative;
  overflow:hidden;
  padding:29px!important;
  border-color:color-mix(in srgb,var(--mi-year-tone) 20%,rgba(255,255,255,.075))!important;
  background:
    radial-gradient(ellipse 44% 56% at 78% 30%,color-mix(in srgb,var(--mi-year-tone) 11%,transparent) 0%,color-mix(in srgb,var(--mi-year-tone) 5%,transparent) 24%,color-mix(in srgb,var(--mi-year-tone) 1.5%,transparent) 40%,transparent 52%),
    radial-gradient(ellipse 72% 86% at 45% 48%,rgba(255,255,255,.012) 0%,rgba(255,255,255,.005) 40%,transparent 78%)!important;
}
.mi-year-in-music:before{content:"";position:absolute;right:29px;left:auto;top:0;width:78px;height:2px;border-radius:999px;background:var(--mi-year-tone);opacity:.86}
.mi-listening-page.is-level-1 .mi-year-in-music{--mi-year-tone:var(--mi-level-1)}
.mi-listening-page.is-level-2 .mi-year-in-music{--mi-year-tone:var(--mi-level-2)}
.mi-listening-page.is-level-3 .mi-year-in-music{--mi-year-tone:var(--mi-level-3)}
.mi-listening-page.is-level-4 .mi-year-in-music{--mi-year-tone:var(--mi-level-4)}
.mi-listening-page.is-level-5 .mi-year-in-music{--mi-year-tone:var(--mi-level-5)}
.mi-year-in-music-head{margin-bottom:20px}
.mi-year-in-music-heading{max-width:780px;margin:0 0 0 auto;text-align:right}
.mi-year-in-music-eyebrow{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap}
.mi-year-in-music-head .mi-user-hub-kicker{font-size:10px!important}
.mi-year-in-music-year{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border:1px solid color-mix(in srgb,var(--mi-year-tone) 28%,rgba(255,255,255,.08));border-radius:999px;background:color-mix(in srgb,var(--mi-year-tone) 7%,rgba(255,255,255,.015));color:color-mix(in srgb,var(--mi-year-tone) 84%,#fff);font-family:Arial,Helvetica,sans-serif!important;font-size:13px;font-weight:700;line-height:1;letter-spacing:.02em}
.mi-year-in-music-head h3{margin:7px 0 0;color:#fff;font-size:29px;line-height:1.22}
.mi-year-in-music-head p{max-width:720px;margin:8px 0 0;color:rgba(255,255,255,.56);font-size:12.5px;line-height:1.8}

.mi-year-in-music-featured{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr);gap:12px}
.mi-year-in-music-track,.mi-year-in-music-artist{position:relative;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.022),rgba(255,255,255,.008));color:inherit;text-decoration:none!important;transition:border-color .18s ease,background .18s ease}
.mi-year-in-music-track:hover,.mi-year-in-music-artist:hover{border-color:color-mix(in srgb,var(--mi-year-tone) 28%,rgba(255,255,255,.09));background:linear-gradient(135deg,color-mix(in srgb,var(--mi-year-tone) 3%,rgba(255,255,255,.025)),rgba(255,255,255,.009))}
.mi-year-in-music-track{display:flex;align-items:center;gap:17px;padding:14px}
.mi-year-in-music-art{flex:0 0 112px;display:grid;place-items:center;width:112px;height:112px;overflow:hidden;border-radius:15px;background:rgba(255,255,255,.05);box-shadow:0 14px 34px rgba(0,0,0,.22)}
.mi-year-in-music-art img{display:block;width:100%;height:100%;object-fit:cover}
.mi-year-in-music-copy{min-width:0;text-align:right}
.mi-year-in-music-copy small,.mi-year-in-music-artist-copy small{display:block;color:var(--mi-year-tone);font-size:10.5px;font-weight:900}
.mi-year-in-music-copy strong,.mi-year-in-music-artist-copy strong{display:block;margin-top:6px;overflow:hidden;color:#fff;font-size:22px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.mi-year-in-music-copy em,.mi-year-in-music-artist-copy em{display:block;margin-top:5px;color:rgba(255,255,255,.56);font-size:11.5px;font-style:normal}
.mi-year-in-music-copy b{display:inline-flex;align-items:center;min-height:26px;margin-top:10px;padding:0 9px;border:1px solid color-mix(in srgb,var(--mi-year-tone) 18%,rgba(255,255,255,.06));border-radius:999px;background:color-mix(in srgb,var(--mi-year-tone) 9%,rgba(255,255,255,.018));color:rgba(255,255,255,.84);font-size:10.5px;font-weight:850}
.mi-year-in-music-artist{display:flex;align-items:center;gap:16px;padding:14px 17px}
.mi-year-in-music-artist-image{flex:0 0 104px;width:104px;height:104px;overflow:hidden;border-radius:50%;border:1px solid color-mix(in srgb,var(--mi-year-tone) 34%,rgba(255,255,255,.09));background:rgba(255,255,255,.04);box-shadow:0 10px 28px rgba(0,0,0,.14)}
.mi-year-in-music-artist-image img{display:block;width:100%;height:100%;object-fit:cover}
.mi-year-in-music-artist-image .mi-public-artist-placeholder{display:grid!important;place-items:center;width:100%!important;height:100%!important;border-radius:50%;background:radial-gradient(circle at 35% 28%,color-mix(in srgb,var(--mi-year-tone) 18%,#1b1f27),#11151c 68%)!important;color:color-mix(in srgb,var(--mi-year-tone) 78%,#fff)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:26px!important;font-weight:700!important;line-height:1!important}
.mi-year-in-music-artist-copy{min-width:0;text-align:right}

.mi-year-in-music-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:16px;border:1px solid rgba(255,255,255,.075);border-radius:17px;background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.005));overflow:hidden}
.mi-year-in-music-stats>div{position:relative;min-width:0;padding:16px 13px 14px;text-align:center}
.mi-year-in-music-stats>div+div{border-inline-start:1px solid rgba(255,255,255,.065)}
.mi-year-in-music-stats span{display:block;color:rgba(255,255,255,.55);font-size:10px;font-weight:700;line-height:1.45}
.mi-year-in-music-stats strong{display:flex;align-items:baseline;justify-content:center;gap:5px;margin-top:8px;color:#fff;font-family:inherit!important;font-size:25px;font-weight:650;line-height:1.05;font-variant-numeric:tabular-nums}
.mi-year-in-music-stats strong i{color:var(--mi-year-tone);font-family:inherit!important;font-size:10px;font-style:normal;font-weight:850}
.mi-year-in-music-stats small{display:block;margin-top:7px;color:rgba(255,255,255,.42);font-size:9.5px;line-height:1.5}
.mi-year-in-music-stats .is-genre{background:linear-gradient(180deg,color-mix(in srgb,var(--mi-year-tone) 4%,transparent),transparent)}
.mi-year-in-music-stats .is-genre strong{display:block;overflow:hidden;color:color-mix(in srgb,var(--mi-year-tone) 82%,#fff);font-family:inherit!important;font-size:14px;font-weight:850;white-space:nowrap;text-overflow:ellipsis}
@media (max-width:1100px){
  .mi-year-in-music-featured{grid-template-columns:1fr}
  .mi-year-in-music-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mi-year-in-music-stats>div:nth-child(4){border-inline-start:0;border-top:1px solid rgba(255,255,255,.065)}
  .mi-year-in-music-stats>div:nth-child(5){border-top:1px solid rgba(255,255,255,.065)}
}
@media (max-width:767px){
  .mi-year-in-music{padding:20px 13px 17px!important;border-radius:20px!important}
  .mi-year-in-music:before{right:13px;left:auto;width:54px}
  .mi-year-in-music-head{margin-bottom:15px}
  .mi-year-in-music-heading{max-width:none}
  .mi-year-in-music-eyebrow{gap:7px}
  .mi-year-in-music-head .mi-user-hub-kicker{font-size:9px!important}
  .mi-year-in-music-year{min-height:23px;padding:0 7px;font-size:11px}
  .mi-year-in-music-head h3{font-size:23px}
  .mi-year-in-music-head p{font-size:11px;line-height:1.7}
  .mi-year-in-music-featured{gap:9px}
  .mi-year-in-music-track{gap:12px;padding:10px;border-radius:14px}
  .mi-year-in-music-art{flex-basis:84px;width:84px;height:84px;border-radius:12px}
  .mi-year-in-music-copy small,.mi-year-in-music-artist-copy small{font-size:9.5px}
  .mi-year-in-music-copy strong,.mi-year-in-music-artist-copy strong{font-size:17px}
  .mi-year-in-music-copy em,.mi-year-in-music-artist-copy em{font-size:10.5px}
  .mi-year-in-music-copy b{min-height:23px;margin-top:7px;padding-inline:8px;font-size:9.5px}
  .mi-year-in-music-artist{gap:12px;padding:10px 11px;border-radius:14px}
  .mi-year-in-music-artist-image{flex-basis:74px;width:74px;height:74px}
  .mi-year-in-music-artist-image .mi-public-artist-placeholder{font-size:22px!important}
  .mi-year-in-music-stats{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:14px}
  .mi-year-in-music-stats>div{padding:13px 7px 12px}
  .mi-year-in-music-stats>div:nth-child(3),.mi-year-in-music-stats>div:nth-child(5){border-inline-start:0}
  .mi-year-in-music-stats>div:nth-child(n/**/+3){border-top:1px solid rgba(255,255,255,.065)}
  .mi-year-in-music-stats span{font-size:9px}
  .mi-year-in-music-stats strong{font-size:21px}
  .mi-year-in-music-stats strong i{font-size:9px}
  .mi-year-in-music-stats small{margin-top:6px;font-size:8.6px;line-height:1.5}
  .mi-year-in-music-stats .is-genre{grid-column:1/-1}
  .mi-year-in-music-stats .is-genre strong{font-size:14px}
}


/* dev85 — Listener Level Rewards */
.mi-rewards-page{
  --mi-reward-tone:var(--mi-level-1,#8d939d);
  
  padding:34px 0 12px;
}
.mi-rewards-page.is-level-2{--mi-reward-tone:var(--mi-level-2,#5d88b6)}
.mi-rewards-page.is-level-3{--mi-reward-tone:var(--mi-level-3,#b38162)}
.mi-rewards-page.is-level-4{--mi-reward-tone:var(--mi-level-4,#8b66aa)}
.mi-rewards-page.is-level-5{--mi-reward-tone:var(--mi-level-5,#d9b34f)}
.mi-rewards-page:before{content:"";position:absolute;inset:-30px 0 auto auto;width:520px;height:280px;pointer-events:none;background:radial-gradient(circle at 78% 20%,color-mix(in srgb,var(--mi-reward-tone) 13%,transparent),transparent 67%);filter:blur(2px)}

.mi-rewards-head{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:0 0 28px;border-bottom:1px solid rgba(255,255,255,.075)}
.mi-rewards-head>div:first-child{max-width:700px}
.mi-rewards-head .mi-user-hub-kicker{color:var(--mi-reward-tone)}
.mi-rewards-head h2{margin:7px 0 0;color:#fff;font-size:31px;line-height:1.25;font-weight:900}
.mi-rewards-head p{margin:9px 0 0;color:rgba(255,255,255,.48);font-size:11px;line-height:1.8}





























@media(max-width:767px){
  .mi-rewards-page{padding-top:18px}
  .mi-rewards-page:before{width:280px;height:220px}
  .mi-rewards-head{align-items:flex-start;gap:14px;padding-bottom:18px}
  .mi-rewards-head h2{font-size:22px}
  .mi-rewards-head p{font-size:9px}
  .mi-rewards-current{gap:2px;}
  .mi-rewards-current .mi-level-sigil{transform:scale(.8);transform-origin:center}
  .mi-rewards-current>span{font-size:7px}
  
  
  
  
  
  
  
  
  
  
  
  
}

/* dev87 — Level Privileges: compact hierarchy + clearer entitlement states */
.mi-privileges-page{padding:18px 0 24px}
.mi-privileges-head{margin-bottom:20px;border-bottom:1px solid rgba(255,255,255,.075);}

.mi-privileges-head .mi-user-hub-kicker{color:var(--mi-reward-tone);letter-spacing:.08em;}
.mi-privileges-head h2{margin:7px 0 0;color:#fff;line-height:1.25;font-weight:900;}
.mi-privileges-head p{margin:8px 0 0;}
.mi-rewards-current{display:grid;grid-template-columns:auto minmax(96px,auto);grid-template-areas:"sigil label" "sigil name";align-items:center;gap:3px 12px;border:1px solid color-mix(in srgb,var(--mi-reward-tone) 22%,rgba(255,255,255,.07));}
.mi-rewards-current .mi-level-sigil{grid-area:sigil;}

.mi-rewards-current>span{grid-area:label;color:rgba(255,255,255,.46);}
.mi-rewards-current>strong{grid-area:name;color:var(--mi-reward-tone);font-weight:900;}

.mi-privileges-current-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.mi-privilege-feature{position:relative;min-width:0;border:1px solid rgba(255,255,255,.08);overflow:hidden;}
.mi-privilege-feature:before{content:"";position:absolute;inset:0 0 auto auto;height:2px;background:var(--mi-reward-tone);}
.mi-privilege-feature>span:first-child{display:block;color:var(--mi-reward-tone);line-height:1.4;}
.mi-privilege-feature>strong{display:block;color:#fff;font-weight:900;}
.mi-privilege-feature>p{margin:9px 0 0;}
.mi-privilege-feature.is-renewal{grid-column:1/-1;}

.mi-privilege-feature.is-guest.is-locked{opacity:.68}

.mi-privilege-bonus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgba(255,255,255,.075);overflow:hidden;background:rgba(0,0,0,.08);}
.mi-privilege-bonus-grid>div{text-align:center;}
.mi-privilege-bonus-grid>div+div{border-inline-start:1px solid rgba(255,255,255,.065)}
.mi-privilege-bonus-grid small{display:block;color:rgba(255,255,255,.48);}
.mi-privilege-bonus-grid b{display:block;font-weight:900;}
.mi-privilege-tech-note,.mi-privilege-phase{display:block;color:color-mix(in srgb,var(--mi-reward-tone) 70%,rgba(255,255,255,.58));font-style:normal;font-weight:700;}

.mi-privilege-access-facts,.mi-privilege-guest-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.mi-privilege-access-facts>div,.mi-privilege-guest-facts>div{min-width:0;border:1px solid rgba(255,255,255,.065);}
.mi-privilege-access-facts b,.mi-privilege-guest-facts b{display:block;color:#fff;}
.mi-privilege-access-facts small,.mi-privilege-guest-facts small{display:block;color:rgba(255,255,255,.48);}

.mi-privileges-path{border-top:1px solid rgba(255,255,255,.075);}
.mi-privileges-path>header{display:flex;justify-content:space-between;gap:20px;}
.mi-privileges-path>header>span{color:#fff;font-weight:900;}
.mi-privileges-path>header>p{margin:0;}
.mi-privileges-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));}
.mi-privileges-level{--mi-privilege-level-tone:var(--mi-level-1,#8d939d);position:relative;min-width:0;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(255,255,255,.014),rgba(255,255,255,.006));overflow:hidden;}
.mi-privileges-level:before{content:"";position:absolute;inset:0 0 auto 0;height:2px;background:var(--mi-privilege-level-tone);opacity:.45}
.mi-privileges-level.is-level-2{--mi-privilege-level-tone:var(--mi-level-2,#5d88b6)}
.mi-privileges-level.is-level-3{--mi-privilege-level-tone:var(--mi-level-3,#b38162)}
.mi-privileges-level.is-level-4{--mi-privilege-level-tone:var(--mi-level-4,#8b66aa)}
.mi-privileges-level.is-level-5{--mi-privilege-level-tone:var(--mi-level-5,#d9b34f)}

.mi-privileges-level.is-current{opacity:1;border-color:color-mix(in srgb,var(--mi-privilege-level-tone) 50%,rgba(255,255,255,.07));background:linear-gradient(180deg,color-mix(in srgb,var(--mi-privilege-level-tone) 8%,transparent),rgba(255,255,255,.009));box-shadow:0 10px 30px color-mix(in srgb,var(--mi-privilege-level-tone) 7%,transparent)}
.mi-privileges-level.is-current:before{opacity:1}
.mi-privileges-level-head{display:flex;align-items:baseline;border-bottom:1px solid rgba(255,255,255,.06);}
.mi-privileges-level-head b{color:var(--mi-privilege-level-tone);line-height:1;}
.mi-privileges-level-head strong{min-width:0;overflow:hidden;color:#fff;font-weight:850;white-space:nowrap;text-overflow:ellipsis;}
.mi-privileges-level ul{display:grid;margin:11px 0 0;padding:0;list-style:none;}
.mi-privileges-level li{position:relative;}
.mi-privileges-level li:before{content:"";position:absolute;inset-inline-start:0;top:.58em;width:4px;height:4px;border-radius:50%;background:var(--mi-privilege-level-tone);opacity:.82}

@media(max-width:1100px){
  .mi-privileges-current-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mi-privilege-feature.is-renewal{grid-column:1/-1}
  .mi-privilege-feature.is-guest{grid-column:1/-1}
  .mi-privileges-levels{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
  
  
  
  
  
  .mi-rewards-current{flex:0 0 auto;display:grid;grid-template-columns:auto;grid-template-areas:"sigil" "name";justify-items:center;text-align:center;}
  
  
  .mi-rewards-current>span{display:none}
  
  .mi-privileges-current-grid{grid-template-columns:1fr;}
  .mi-privilege-feature,.mi-privilege-feature.is-renewal{grid-column:auto;}
  .mi-privilege-feature.is-access,.mi-privilege-feature.is-request,.mi-privilege-feature.is-guest{min-height:0}
  
  
  .mi-privilege-bonus-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .mi-privilege-bonus-grid>div:nth-child(3),.mi-privilege-bonus-grid>div:nth-child(4){border-top:1px solid rgba(255,255,255,.065)}
  .mi-privilege-bonus-grid>div:nth-child(3){border-inline-start:0}
  .mi-privilege-access-facts,.mi-privilege-guest-facts{margin-top:10px}
  .mi-privilege-access-facts b,.mi-privilege-guest-facts b{font-size:19px}
  
  .mi-privileges-path>header{display:block}
  
  .mi-privileges-path>header>p{margin-top:5px;}
  
  .mi-privileges-level{align-items:start;}
  .mi-privileges-level-head{padding:0;border:0;}
  
  
  .mi-privileges-level ul{margin:0}
  
}


/* dev88 — Level Privileges polish: tighter hero cluster, stronger typography, clearer benefits */
.mi-privileges-head{padding-top:4px;padding-bottom:18px;}

.mi-privileges-head .mi-user-hub-kicker{font-size:10px!important}
.mi-privileges-head h2{font-size:31px}
.mi-privileges-head p{max-width:700px;font-size:11.5px;line-height:1.8}
.mi-rewards-current{min-width:166px;padding:7px 11px;border-radius:15px}
.mi-rewards-current .mi-level-sigil{width:72px;height:72px}
.mi-rewards-current .mi-level-sigil .mi-level-sigil-number{font-size:24px}
.mi-rewards-current>span{font-size:9px}
.mi-rewards-current>strong{font-size:14px}

.mi-privileges-current-grid{gap:12px}
.mi-privilege-feature{padding:19px 20px 18px;border-radius:15px}
.mi-privilege-feature>span:first-child{font-size:10px}
.mi-privilege-feature>strong{font-size:20px;line-height:1.45;}
.mi-privilege-feature>p{margin-top:10px;color:rgba(255,255,255,.58);font-size:11px;line-height:1.8}
.mi-privilege-feature.is-renewal{padding:21px 22px 19px}
.mi-privilege-feature.is-access,.mi-privilege-feature.is-request,.mi-privilege-feature.is-guest{min-height:190px}

.mi-privilege-bonus-grid{margin-top:17px;border-radius:13px}
.mi-privilege-bonus-grid>div{padding:14px 11px}
.mi-privilege-bonus-grid small{font-size:9.5px}
.mi-privilege-bonus-grid b{margin-top:6px;font-size:19px}
.mi-privilege-tech-note,.mi-privilege-phase{margin-top:11px;font-size:9.5px;line-height:1.65}


.mi-privilege-access-facts,.mi-privilege-guest-facts{gap:9px;margin-top:13px}
.mi-privilege-access-facts>div,.mi-privilege-guest-facts>div{padding:11px 12px;border-radius:12px}
.mi-privilege-access-facts b,.mi-privilege-guest-facts b{font-family:inherit!important;font-size:22px;font-weight:850;line-height:1.15}
.mi-privilege-access-facts small,.mi-privilege-guest-facts small{margin-top:6px;font-size:9.5px;line-height:1.5}
.mi-privilege-guest-facts b{font-size:17px}

.mi-privileges-path{margin-top:27px;padding-top:21px}
.mi-privileges-path>header{align-items:flex-start}
.mi-privileges-path>header>span{font-size:18px}
.mi-privileges-path>header>p{max-width:820px;font-size:10.5px;line-height:1.75}
.mi-privileges-levels{gap:10px;margin-top:15px}
.mi-privileges-level{min-height:150px;padding:15px 15px 14px;border-radius:14px}
.mi-privileges-level-head{gap:9px;padding-bottom:11px}
.mi-privileges-level-head b{font-family:inherit!important;font-size:23px;font-weight:850}
.mi-privileges-level-head strong{font-size:12.5px}
.mi-privileges-level ul{gap:7px;margin-top:12px}


@media(min-width:1101px){
  .mi-privileges-head{margin-inline-start:auto;}
  
  .mi-privilege-feature.is-renewal{grid-column:1/-1}
}
@media(max-width:767px){
  .mi-privileges-page{padding-top:10px}
  
  
  
  
  
  .mi-rewards-current{min-width:0;width:78px;padding:5px;border-radius:12px}
  .mi-rewards-current .mi-level-sigil{width:56px;height:56px}
  .mi-rewards-current .mi-level-sigil .mi-level-sigil-number{font-size:19px}
  .mi-rewards-current>strong{font-size:9px}
  
  .mi-privilege-feature,.mi-privilege-feature.is-renewal{border-radius:14px;}
  .mi-privilege-feature>span:first-child{font-size:9.2px}
  
  .mi-privilege-feature>p{line-height:1.75;}
  .mi-privilege-bonus-grid{margin-top:13px}
  .mi-privilege-bonus-grid>div{padding:12px 8px}
  .mi-privilege-bonus-grid small{font-size:9px}
  .mi-privilege-bonus-grid b{font-size:17px}
  .mi-privilege-tech-note,.mi-privilege-phase{font-size:9px}
  .mi-privilege-access-facts b{font-size:20px}
  .mi-privilege-guest-facts b{font-size:15.5px}
  .mi-privilege-access-facts small,.mi-privilege-guest-facts small{font-size:9px}
  
  
  .mi-privileges-level{gap:12px;}
  
  
  
}

/* dev89 — Level Privileges: mature copy hierarchy + unclipped atmosphere */
.mi-rewards-page::before{
  
  
  bottom:auto;
  
  
  
  
  
  opacity:.9;
}
.mi-privileges-page{isolation:isolate}
.mi-privileges-head h2{letter-spacing:-.012em}
.mi-privileges-head p{color:rgba(255,255,255,.56)}
.mi-rewards-current{background:linear-gradient(110deg,color-mix(in srgb,var(--mi-reward-tone) 7%,transparent),rgba(255,255,255,.008) 64%)}
.mi-privilege-feature{background:linear-gradient(180deg,rgba(255,255,255,.024),rgba(255,255,255,.008))}
.mi-privilege-feature>span:first-child{letter-spacing:0;font-weight:800}
.mi-privilege-feature>strong{letter-spacing:-.008em}
.mi-privilege-feature>p{max-width:760px}
.mi-privilege-phase{
  padding-inline-start:0;
  border-inline-start:0;
  color:rgba(255,255,255,.44);
  font-weight:650;
}
.mi-privilege-phase::before{content:"";display:inline-block;width:5px;height:5px;margin-inline-end:6px;border-radius:50%;background:color-mix(in srgb,var(--mi-reward-tone) 58%,rgba(255,255,255,.35));vertical-align:middle}
.mi-privilege-bonus-grid>div{background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.002))}
.mi-privilege-bonus-grid b{color:color-mix(in srgb,#fff 92%,var(--mi-reward-tone))}
.mi-privilege-access-facts>div,.mi-privilege-guest-facts>div{background:rgba(255,255,255,.014)}
.mi-privileges-path>header>p{color:rgba(255,255,255,.5)}
.mi-privileges-level{opacity:.72}
.mi-privileges-level.is-unlocked{opacity:.88}
.mi-privileges-level li{color:rgba(255,255,255,.59)}

@media(min-width:1101px){
  .mi-privileges-head{
    display:grid;
    
    
    
    align-items:center;
    width:100%;
    max-width:none;
    margin:0;
    
  }
  .mi-privileges-head>div:first-child{grid-area:copy;}
  .mi-privileges-head .mi-rewards-current{grid-area:level}
  .mi-rewards-current{min-width:0;width:170px}
  .mi-privileges-current-grid{column-gap:13px;row-gap:13px}
  .mi-privilege-feature.is-access,.mi-privilege-feature.is-request,.mi-privilege-feature.is-guest{min-height:176px}
  .mi-privileges-levels{gap:11px}
  .mi-privileges-level{padding:16px 16px 15px;}
  
}

@media(max-width:767px){
  
  
  .mi-privileges-head .mi-rewards-current{display:none}
  
  .mi-privileges-head p{max-width:100%;}
  .mi-privilege-feature>strong{font-size:17px}
  .mi-privilege-feature>p{font-size:10.3px}
  .mi-privilege-phase{font-size:9.2px}
  
  .mi-privileges-level{grid-template-columns:78px minmax(0,1fr);}
  
}


/* dev90 — Level Privileges final layout polish */
.mi-rewards-page{
  
  background-repeat:no-repeat;
}

.mi-privilege-feature.is-access,
.mi-privilege-feature.is-request,
.mi-privilege-feature.is-guest{display:flex;flex-direction:column}
.mi-privilege-feature.is-access .mi-privilege-phase,
.mi-privilege-feature.is-request .mi-privilege-phase,
.mi-privilege-feature.is-guest .mi-privilege-phase{margin-top:auto;padding-top:12px}
.mi-privileges-path>header>span{line-height:1.35}

@media(min-width:1101px){
  .mi-privileges-head{
    grid-template-columns:170px minmax(0,700px);
    grid-template-areas:"level copy";
    justify-content:start;
    gap:18px;
  }
  .mi-privileges-head>div:first-child{text-align:right}
  .mi-privileges-current-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mi-privilege-feature.is-access,
  .mi-privilege-feature.is-request,
  .mi-privilege-feature.is-guest{min-height:168px}
  .mi-privileges-level{min-height:138px}
}

@media(max-width:767px){
  .mi-rewards-page{
    background-image:radial-gradient(ellipse 430px 310px at 92% 1%,
      color-mix(in srgb,var(--mi-reward-tone) 8%,transparent) 0%,
      color-mix(in srgb,var(--mi-reward-tone) 3.5%,transparent) 30%,
      transparent 70%);
  }
  .mi-privileges-head{padding-top:0}
  .mi-privileges-current-grid{gap:8px}
  .mi-privilege-feature,.mi-privilege-feature.is-renewal{padding:14px 13px}
  .mi-privilege-feature.is-access,
  .mi-privilege-feature.is-request,
  .mi-privilege-feature.is-guest{display:block;min-height:0}
  .mi-privilege-feature.is-access .mi-privilege-phase,
  .mi-privilege-feature.is-request .mi-privilege-phase,
  .mi-privilege-feature.is-guest .mi-privilege-phase{margin-top:10px;padding-top:0}
  .mi-privileges-path{margin-top:16px;padding-top:15px}
  .mi-privileges-path>header>span{font-size:16px}
  .mi-privileges-path>header>p{font-size:10px;line-height:1.75}
  .mi-privileges-levels{
    display:flex;
    grid-template-columns:none;
    gap:9px;
    margin-top:11px;
    padding:0 0 5px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .mi-privileges-levels::-webkit-scrollbar{display:none}
  .mi-privileges-level{
    
    display:block;
    min-height:142px;
    padding:13px 14px 12px;
    scroll-snap-align:start;
  }
  .mi-privileges-level-head{display:flex;align-items:baseline;gap:8px;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.06)}
  .mi-privileges-level-head b{font-size:22px}
  .mi-privileges-level-head strong{font-size:11px}
  .mi-privileges-level ul{gap:6px;margin-top:10px}
  
}

/* dev92 — precise privileges typography rollback + stable current-level layout */
/* Keep dev90 typography everywhere. Only the benefit lines in the Level journey are enlarged by ~30%. */
.mi-privileges-level li{font-size:13px;line-height:1.62}

/* Current Level: keep it independent from the title flow so RTL/grid changes cannot overlap it. */
.mi-privileges-head{
  
  
  max-width:none!important;
  
  
}
.mi-privileges-head>div:first-child{
  
  
  margin-left:auto;
  
}
.mi-privileges-head .mi-rewards-current{
  
  grid-template-columns:minmax(88px,1fr) 58px!important;
  grid-template-areas:"label sigil" "name sigil"!important;
  
  column-gap:10px;
  row-gap:2px;
  
  
  
  
  
}
.mi-privileges-head .mi-rewards-current .mi-level-sigil{
  grid-area:sigil!important;
  
  
  
}

.mi-privileges-head .mi-rewards-current>span{
  grid-area:label!important;
  display:block!important;
  direction:rtl;
  text-align:right;
  font-size:8.5px!important;
  line-height:1.3;
}
.mi-privileges-head .mi-rewards-current>strong{
  grid-area:name!important;
  display:block!important;
  direction:ltr;
  text-align:right;
  font-size:13px!important;
  line-height:1.35;
  white-space:nowrap;
}

@media(min-width:1101px){
  .mi-privileges-head>div:first-child{max-width:720px!important}
  .mi-privileges-level li{font-size:13px;line-height:1.62}
}

@media(max-width:767px){
  /* Restore the dev90 text scale for the page itself. */
  
  .mi-privileges-head .mi-user-hub-kicker{font-size:8.8px!important}
  .mi-privileges-head h2{font-size:23px!important;line-height:1.3!important}
  .mi-privileges-head p{font-size:10px!important;line-height:1.75!important}

  /* Current Level remains visible on mobile, but compact and structurally separate. */
  .mi-privileges-head .mi-rewards-current{
    grid-template-columns:minmax(82px,1fr) 52px!important;
    
    
    
    
    border-radius:12px;
  }
  
  
  .mi-privileges-head .mi-rewards-current>span{font-size:7.8px!important}
  .mi-privileges-head .mi-rewards-current>strong{font-size:11px!important}

  /* Only these benefit lines keep the requested ~30% increase (9.8px -> 12.7px). */
  .mi-privileges-level li{font-size:12.7px!important;line-height:1.66!important}

  /* Make the rail deterministic: current Level is the first visible card, regardless of RTL scroll origin. */
  .mi-privileges-levels{direction:ltr;padding-inline:0 18px;scroll-padding-inline:0 18px}
  .mi-privileges-level{direction:rtl;flex:0 0 calc(100% - 42px);width:calc(100% - 42px);min-width:calc(100% - 42px);max-width:none}
  .mi-rewards-page.is-level-5 .mi-privileges-level.is-level-5{order:0}
  .mi-rewards-page.is-level-5 .mi-privileges-level.is-level-4{order:1}
  .mi-rewards-page.is-level-5 .mi-privileges-level.is-level-3{order:2}
  .mi-rewards-page.is-level-5 .mi-privileges-level.is-level-2{order:3}
  .mi-rewards-page.is-level-5 .mi-privileges-level.is-level-1{order:4}
  .mi-rewards-page.is-level-4 .mi-privileges-level.is-level-4{order:0}
  .mi-rewards-page.is-level-4 .mi-privileges-level.is-level-3{order:1}
  .mi-rewards-page.is-level-4 .mi-privileges-level.is-level-2{order:2}
  .mi-rewards-page.is-level-4 .mi-privileges-level.is-level-1{order:3}
  .mi-rewards-page.is-level-4 .mi-privileges-level.is-level-5{order:4}
  .mi-rewards-page.is-level-3 .mi-privileges-level.is-level-3{order:0}
  .mi-rewards-page.is-level-3 .mi-privileges-level.is-level-2{order:1}
  .mi-rewards-page.is-level-3 .mi-privileges-level.is-level-1{order:2}
  .mi-rewards-page.is-level-3 .mi-privileges-level.is-level-4{order:3}
  .mi-rewards-page.is-level-3 .mi-privileges-level.is-level-5{order:4}
  .mi-rewards-page.is-level-2 .mi-privileges-level.is-level-2{order:0}
  .mi-rewards-page.is-level-2 .mi-privileges-level.is-level-1{order:1}
  .mi-rewards-page.is-level-2 .mi-privileges-level.is-level-3{order:2}
  .mi-rewards-page.is-level-2 .mi-privileges-level.is-level-4{order:3}
  .mi-rewards-page.is-level-2 .mi-privileges-level.is-level-5{order:4}
  .mi-rewards-page.is-level-1 .mi-privileges-level.is-level-1{order:0}
  .mi-rewards-page.is-level-1 .mi-privileges-level.is-level-2{order:1}
  .mi-rewards-page.is-level-1 .mi-privileges-level.is-level-3{order:2}
  .mi-rewards-page.is-level-1 .mi-privileges-level.is-level-4{order:3}
  .mi-rewards-page.is-level-1 .mi-privileges-level.is-level-5{order:4}
}

/* dev93 — stable privileges header, edge-safe atmosphere and visual identity */
.mi-rewards-page{
  background-image:none!important;
  isolation:isolate;
  overflow:visible!important;
}
.mi-rewards-page::before{
  content:""!important;
  display:block!important;
  position:absolute;
  z-index:0;
  
  
  
  
  pointer-events:none;
  
  filter:none!important;
}
.mi-rewards-page>*{position:relative;z-index:1}

/* Header: explicit grid, independent of RTL flex behaviour. */
.mi-privileges-head{
  display:grid!important;
  grid-template-columns:minmax(0,700px) 176px!important;
  grid-template-areas:"copy level"!important;
  justify-content:end!important;
  align-items:center!important;
  gap:15px!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:4px 0 18px!important;
  direction:ltr;
}
.mi-privileges-head>div:first-child{
  grid-area:copy!important;
  width:100%!important;
  max-width:700px!important;
  margin:0!important;
  direction:rtl;
  text-align:right!important;
}
.mi-privileges-head .mi-rewards-current{
  grid-area:level!important;
  justify-self:end!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:10px!important;
  width:176px!important;
  min-width:176px!important;
  margin:0!important;
  padding:7px 9px!important;
  direction:rtl!important;
  border-radius:14px!important;
}
.mi-privileges-head .mi-rewards-current .mi-level-sigil{
  flex:0 0 58px!important;
  width:58px!important;
  height:58px!important;
  transform:none!important;
}
.mi-privileges-head .mi-rewards-current .mi-level-sigil .mi-level-sigil-number{font-size:20px!important}
.mi-rewards-current-copy{
  min-width:0;
  display:grid;
  gap:4px;
  align-content:center;
  text-align:right;
}
.mi-rewards-current-copy>span{
  display:block;
  color:rgba(255,255,255,.46);
  font-size:8.5px;
  line-height:1.35;
  white-space:nowrap;
}
.mi-rewards-current-copy>strong{
  display:block;
  color:var(--mi-reward-tone);
  font-size:13px;
  line-height:1.35;
  font-weight:900;
  white-space:nowrap;
}

/* Every primary privilege gets its own compact visual identifier. */
.mi-privilege-label{
  display:flex!important;
  align-items:center;
  
  color:var(--mi-reward-tone)!important;
  font-size:9px!important;
  font-weight:850!important;
  line-height:1.4!important;
}
.mi-privilege-label>b{font:inherit;color:inherit}
.mi-privilege-icon,
.mi-privilege-path-icon{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:27px;
  height:27px;
  border:1px solid color-mix(in srgb,var(--mi-reward-tone) 28%,rgba(255,255,255,.075));
  border-radius:9px;
  color:color-mix(in srgb,var(--mi-reward-tone) 86%,#fff);
  background:color-mix(in srgb,var(--mi-reward-tone) 6%,rgba(255,255,255,.012));
}
.mi-privilege-icon svg,
.mi-privilege-path-icon svg,
.mi-privileges-level li>i svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mi-privilege-feature>strong{margin-top:9px}
.mi-privilege-feature:before{width:42px;opacity:.72}

.mi-privileges-path-title{
  display:flex!important;
  align-items:center;
  
  color:#fff!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.35!important;
}
.mi-privileges-path-title>b{font:inherit;color:inherit}
.mi-privilege-path-icon{color:var(--mi-reward-tone);}

/* Benefit cards: keep the requested larger benefit copy, add a quiet icon instead of anonymous dots. */
.mi-privileges-level li{
  display:flex!important;
  align-items:flex-start;
  gap:7px;
  padding-inline-start:0!important;
}
.mi-privileges-level li:before{display:none!important}
.mi-privileges-level li>i{
  display:grid;
  place-items:center;
  flex:0 0 17px;
  
  
  margin-top:.08em;
  color:color-mix(in srgb,var(--mi-privilege-level-tone) 82%,rgba(255,255,255,.72));
}
.mi-privileges-level li>i svg{stroke-width:1.7;}
.mi-privileges-level li>span{min-width:0}

@media(max-width:1100px) and (min-width:768px){
  .mi-privileges-head{
    grid-template-columns:minmax(0,1fr) 164px!important;
    gap:12px!important;
  }
  .mi-privileges-head .mi-rewards-current{width:164px!important;min-width:164px!important}
}

@media(max-width:767px){
  .mi-rewards-page::before{
    top:-135px;
    right:-155px;
    width:570px;
    
    
  }
  .mi-privileges-head{
    
    
    
    margin-bottom:13px!important;
    padding:0 0 15px!important;
  }
  .mi-privileges-head>div:first-child{max-width:100%!important}
  
  .mi-privileges-head .mi-rewards-current .mi-level-sigil{flex-basis:50px!important;}
  
  
  
  .mi-privilege-label{gap:7px;font-size:9.2px!important}
  
  .mi-privilege-icon svg{width:14px;height:14px}
  .mi-privileges-path-title{font-size:16px!important}
  
  
}


/* dev94 — mobile containment, side-by-side current level, stacked footer and larger privilege icons */
.mi-rewards-page{
  position:relative;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  overflow-x:clip!important;
}
/* Keep the atmosphere completely inside the page footprint so it cannot widen
   the mobile viewport. The radial field is already transparent before every edge. */
.mi-rewards-page::before{
  top:0!important;
  right:0!important;
  left:0!important;
  width:100%!important;
  height:390px!important;
  background:radial-gradient(ellipse 62% 84% at 68% 53%,
    color-mix(in srgb,var(--mi-reward-tone) 9.2%,transparent) 0%,
    color-mix(in srgb,var(--mi-reward-tone) 4.5%,transparent) 24%,
    color-mix(in srgb,var(--mi-reward-tone) 1.5%,transparent) 42%,
    transparent 58%)!important;
}
.mi-privileges-current-grid,
.mi-privilege-feature,
.mi-privilege-bonus-grid,
.mi-privileges-path,
.mi-privileges-levels{max-width:100%;box-sizing:border-box}

/* 20% larger visual identifiers. */
.mi-privilege-icon{width:32px;height:32px;border-radius:10px}
.mi-privilege-path-icon{width:35px;height:35px;border-radius:11px}
.mi-privilege-icon svg,
.mi-privilege-path-icon svg{width:18px;height:18px}
.mi-privileges-level li>i{flex-basis:20px;width:20px;height:20px}
.mi-privileges-level li>i svg{width:14.5px;height:14.5px}
.mi-privilege-label{gap:9px}
.mi-privileges-path-title{gap:10px}

@media(max-width:782px){
  /* Restore the theme footer's intended one-section-per-row mobile structure.
     Older User Hub CSS forced two columns and made the footer look broken. */
  body.mi-user-hub-active #footer .wp-block-columns{
    display:block!important;
    grid-template-columns:none!important;
    gap:0!important;
    margin-bottom:22px!important;
  }
  body.mi-user-hub-active #footer .wp-block-column{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 28px!important;
  }
  body.mi-user-hub-active #footer .wp-block-column:last-child{margin-bottom:0!important}
}

@media(max-width:767px){
  /* Current level stays opposite the title, matching desktop instead of dropping
     to a second row. Explicit LTR grid placement keeps RTL content predictable. */
  .mi-privileges-head{
    display:grid!important;
    grid-template-columns:108px minmax(0,1fr)!important;
    grid-template-areas:"level copy"!important;
    align-items:center!important;
    gap:8px!important;
    direction:ltr!important;
  }
  .mi-privileges-head>div:first-child{
    grid-area:copy!important;
    direction:rtl!important;
    min-width:0!important;
  }
  .mi-privileges-head .mi-rewards-current{
    grid-area:level!important;
    justify-self:start!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    margin:0!important;
    padding:6px 6px!important;
    gap:5px!important;
    box-sizing:border-box!important;
  }
  .mi-privileges-head .mi-rewards-current .mi-level-sigil{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
  }
  .mi-privileges-head .mi-rewards-current .mi-level-sigil .mi-level-sigil-number{font-size:15px!important}
  .mi-rewards-current-copy{gap:2px}
  .mi-rewards-current-copy>span{font-size:6.8px!important;white-space:normal}
  .mi-rewards-current-copy>strong{font-size:9.5px!important}

  .mi-rewards-page::before{
    height:330px!important;
    background:radial-gradient(ellipse 70% 80% at 63% 50%,
      color-mix(in srgb,var(--mi-reward-tone) 7.5%,transparent) 0%,
      color-mix(in srgb,var(--mi-reward-tone) 3.2%,transparent) 25%,
      color-mix(in srgb,var(--mi-reward-tone) 1%,transparent) 42%,
      transparent 58%)!important;
  }
  .mi-privilege-icon{width:30px;height:30px;border-radius:9px}
  .mi-privilege-path-icon{width:32px;height:32px;border-radius:10px}
  .mi-privilege-icon svg,
  .mi-privilege-path-icon svg{width:17px;height:17px}
  .mi-privileges-level li>i{flex-basis:19px;width:19px;height:19px}
  .mi-privileges-level li>i svg{width:14px;height:14px}
}

@media(max-width:340px){
  .mi-privileges-head{grid-template-columns:102px minmax(0,1fr)!important;gap:7px!important}
  .mi-privileges-head .mi-rewards-current{width:102px!important;min-width:102px!important;max-width:102px!important}
  .mi-privileges-head .mi-rewards-current .mi-level-sigil{flex-basis:40px!important;width:40px!important;height:40px!important}
}

/* dev96 — Device & Session Manager */
.mi-devices-page{
  --mi-device-tone:var(--mi-level-1,#9ba3af);
  position:relative;width:100%;max-width:100%;box-sizing:border-box;padding:15px 0 28px;overflow:hidden;
}
.mi-devices-page.is-level-2{--mi-device-tone:var(--mi-level-2,#5d88b6)}
.mi-devices-page.is-level-3{--mi-device-tone:var(--mi-level-3,#b38162)}
.mi-devices-page.is-level-4{--mi-device-tone:var(--mi-level-4,#8b66aa)}
.mi-devices-page.is-level-5{--mi-device-tone:var(--mi-level-5,#d9b34f)}
.mi-devices-page:before{content:"";position:absolute;inset:0 0 auto;height:380px;pointer-events:none;background:radial-gradient(ellipse 58% 78% at 78% 29%,color-mix(in srgb,var(--mi-device-tone) 7.5%,transparent),color-mix(in srgb,var(--mi-device-tone) 2.2%,transparent) 34%,transparent 64%)}
.mi-devices-page>*{position:relative;z-index:1}
.mi-devices-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding:5px 0 21px;border-bottom:1px solid rgba(255,255,255,.075)}
.mi-devices-head-copy{text-align:right}
.mi-devices-head .mi-user-hub-kicker{color:var(--mi-device-tone)}
.mi-devices-head h2{margin:6px 0 0;color:#fff;font-size:29px;line-height:1.25;font-weight:900}
.mi-devices-head p{max-width:720px;margin:8px 0 0;color:rgba(255,255,255,.5);font-size:10.5px;line-height:1.8}
.mi-devices-usage{display:grid;grid-template-columns:auto;justify-items:start;align-content:end;min-width:132px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--mi-device-tone) 18%,rgba(255,255,255,.07));border-radius:13px;background:linear-gradient(135deg,color-mix(in srgb,var(--mi-device-tone) 4.5%,transparent),rgba(255,255,255,.012))}
.mi-devices-usage-value{display:flex;align-items:baseline;gap:6px;direction:rtl}
.mi-devices-usage-value strong{color:#fff;font:800 25px/1 Arial,Helvetica,sans-serif}
.mi-devices-usage-value span{color:rgba(255,255,255,.55);font-size:10px;font-weight:750}
.mi-devices-usage>small{margin-top:4px;color:rgba(255,255,255,.45);font-size:8px}
.mi-devices-usage>i{display:block;width:100%;height:3px;margin-top:9px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.07)}
.mi-devices-usage>i b{display:block;width:var(--mi-device-usage);height:100%;border-radius:inherit;background:var(--mi-device-tone);transition:width .2s ease}
.mi-device-notice{margin:16px 0 0;padding:11px 14px;border:1px solid rgba(255,255,255,.08);border-radius:11px;color:rgba(255,255,255,.78);background:rgba(255,255,255,.025);font-size:10px;transition:opacity .2s ease,transform .2s ease}
.mi-device-notice.is-success{border-color:rgba(77,190,120,.23);color:#8fd9aa;background:rgba(77,190,120,.05)}
.mi-device-notice.is-error{border-color:rgba(226,93,80,.23);color:#e9a39b;background:rgba(226,93,80,.05)}
.mi-device-notice.is-hiding{opacity:0;transform:translateY(-4px)}
.mi-devices-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:17px;border:1px solid rgba(255,255,255,.075);border-radius:15px;overflow:hidden;background:rgba(255,255,255,.012)}
.mi-devices-summary>div{display:grid;place-items:center;gap:4px;min-height:78px;padding:12px;text-align:center;border-inline-start:1px solid rgba(255,255,255,.07)}
.mi-devices-summary>div:first-child{border-inline-start:0}
.mi-devices-summary strong{color:#fff;font:800 22px/1.1 Arial,Helvetica,sans-serif}
.mi-devices-summary span{color:rgba(255,255,255,.48);font-size:9px}
.mi-device-list-wrap{margin-top:22px}
.mi-device-list-wrap>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}
.mi-device-list-wrap>header>div>span{display:block;color:#fff;font-size:18px;font-weight:900}
.mi-device-list-wrap>header p{max-width:760px;margin:5px 0 0;color:rgba(255,255,255,.45);font-size:9.5px;line-height:1.75}
.mi-device-logout-others button,.mi-device-revoke-form button{appearance:none;border:1px solid rgba(255,255,255,.11);border-radius:999px;color:rgba(255,255,255,.72);background:rgba(255,255,255,.025);font:inherit;font-size:9px;font-weight:800;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}
.mi-device-logout-others button{padding:8px 12px;white-space:nowrap}
.mi-device-logout-others button:hover,.mi-device-revoke-form button:hover{border-color:color-mix(in srgb,var(--mi-device-tone) 48%,rgba(255,255,255,.12));color:#fff;background:color-mix(in srgb,var(--mi-device-tone) 7%,transparent)}
.mi-device-list{display:grid;gap:8px}
.mi-device-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:76px;padding:11px 13px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:linear-gradient(270deg,rgba(255,255,255,.022),rgba(255,255,255,.007))}
.mi-device-item.is-current{border-color:color-mix(in srgb,var(--mi-device-tone) 32%,rgba(255,255,255,.08));background:linear-gradient(270deg,color-mix(in srgb,var(--mi-device-tone) 5.5%,transparent),rgba(255,255,255,.007))}
.mi-device-icon{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.09);border-radius:13px;color:var(--mi-device-tone);background:rgba(255,255,255,.025)}
.mi-device-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.mi-device-copy{min-width:0;text-align:right}
.mi-device-copy>div{display:flex;align-items:center;gap:8px;min-width:0}
.mi-device-copy strong{overflow:hidden;color:#fff;font-size:13px;font-weight:850;white-space:nowrap;text-overflow:ellipsis}
.mi-device-copy p{margin:4px 0 0;color:rgba(255,255,255,.44);font-size:9px}
.mi-device-current-badge{flex:0 0 auto;padding:3px 7px;border:1px solid color-mix(in srgb,var(--mi-device-tone) 30%,transparent);border-radius:999px;color:var(--mi-device-tone);font-size:7.5px;font-weight:850;background:color-mix(in srgb,var(--mi-device-tone) 5%,transparent)}
.mi-device-revoke-form button{padding:7px 10px}
.mi-device-safe-dot{width:8px;height:8px;margin:0 8px;border-radius:50%;background:#5bc581;box-shadow:0 0 0 4px rgba(91,197,129,.08)}
.mi-device-empty{padding:27px 20px;border:1px dashed rgba(255,255,255,.08);border-radius:14px;text-align:center}
.mi-device-empty strong{color:#fff;font-size:13px}
.mi-device-empty p{margin:5px 0 0;color:rgba(255,255,255,.45);font-size:9px}
.mi-devices-foot{display:flex;align-items:flex-start;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07)}
.mi-devices-foot>span{color:var(--mi-device-tone);font-size:8px;line-height:1.8}
.mi-devices-foot p{margin:0;color:rgba(255,255,255,.38);font-size:8.7px;line-height:1.75}
.mi-profile-security-link{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 14px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:13px;color:inherit;background:rgba(255,255,255,.018);text-decoration:none!important;transition:border-color .18s ease,background .18s ease}
.mi-profile-security-link:hover{border-color:color-mix(in srgb,var(--mi-level-tone,#d9b34f) 25%,rgba(255,255,255,.08));background:color-mix(in srgb,var(--mi-level-tone,#d9b34f) 3.5%,transparent)}
.mi-profile-security-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--mi-level-tone,#d9b34f);background:color-mix(in srgb,var(--mi-level-tone,#d9b34f) 7%,transparent);border:1px solid color-mix(in srgb,var(--mi-level-tone,#d9b34f) 20%,transparent)}
.mi-profile-security-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mi-profile-security-link>span:nth-child(2){display:grid;gap:2px;min-width:0;text-align:right}
.mi-profile-security-link strong{color:#fff;font-size:11px}
.mi-profile-security-link small{color:rgba(255,255,255,.43);font-size:8.5px}
.mi-profile-security-link>i{color:rgba(255,255,255,.38);font-style:normal;font-size:15px}
.mi-privilege-manage-link{display:inline-flex;align-items:center;gap:5px;margin-top:10px;color:var(--mi-reward-tone)!important;font-size:8.7px;font-weight:850;text-decoration:none!important}
.mi-privilege-manage-link span{font-size:12px}

@media(max-width:767px){
  .mi-devices-page{padding-top:6px;padding-bottom:22px}
  .mi-devices-page:before{height:300px;background:radial-gradient(ellipse 88% 76% at 72% 24%,color-mix(in srgb,var(--mi-device-tone) 6.5%,transparent),color-mix(in srgb,var(--mi-device-tone) 1.8%,transparent) 38%,transparent 64%)}
  .mi-devices-head{grid-template-columns:minmax(0,1fr) 96px;gap:9px;align-items:center;padding-bottom:14px}
  .mi-devices-head h2{font-size:21px}
  .mi-devices-head p{font-size:9px;line-height:1.7}
  .mi-devices-usage{min-width:0;padding:8px 9px;border-radius:11px}
  .mi-devices-usage-value{gap:4px}
  .mi-devices-usage-value strong{font-size:20px}
  .mi-devices-usage-value span{font-size:8px}
  .mi-devices-usage>small{font-size:7px}
  .mi-devices-usage>i{margin-top:7px}
  .mi-devices-summary{margin-top:12px;border-radius:13px}
  .mi-devices-summary>div{min-height:64px;padding:8px 4px}
  .mi-devices-summary strong{font-size:18px}
  .mi-devices-summary span{font-size:7.5px}
  .mi-device-list-wrap{margin-top:17px}
  .mi-device-list-wrap>header{display:grid;gap:9px;align-items:start}
  .mi-device-list-wrap>header>div>span{font-size:16px}
  .mi-device-list-wrap>header p{font-size:8.6px;line-height:1.7}
  .mi-device-logout-others{justify-self:start}
  .mi-device-item{position:relative;grid-template-columns:44px minmax(0,1fr);gap:10px;min-height:70px;padding:10px}
  .mi-device-icon{width:40px;height:40px;border-radius:11px}
  .mi-device-icon svg{width:21px;height:21px}
  .mi-device-copy strong{font-size:11.5px}
  .mi-device-copy p{font-size:8.2px}
  .mi-device-revoke-form{grid-column:1/-1;display:flex;justify-content:flex-start;padding-top:1px}
  .mi-device-safe-dot{position:absolute;inset-inline-start:15px}
  .mi-devices-foot p{font-size:8.2px}
  .mi-profile-security-link{grid-template-columns:36px minmax(0,1fr) auto;padding:9px 10px}
  .mi-profile-security-icon{width:32px;height:32px}
  .mi-profile-security-icon svg{width:17px;height:17px}
}

/* dev104 — functional Guest Pass wallet + direct activation */
.mi-guest-wallet-facts{margin-top:10px}
.mi-guest-cycle{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin-top:10px}
.mi-guest-cycle>i{display:block;height:3px;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--mi-hub-text) 8%,transparent)}
.mi-guest-cycle>i:after{content:"";display:block;width:var(--mi-guest-progress,0%);height:100%;border-radius:inherit;background:var(--mi-reward-tone);box-shadow:0 0 16px color-mix(in srgb,var(--mi-reward-tone) 24%,transparent)}
.mi-guest-cycle>span{color:var(--mi-hub-muted);}
.mi-guest-pass-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 9px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--mi-hub-border) 78%,transparent)}
.mi-guest-pass-form label{display:grid;gap:5px;min-width:0}
.mi-guest-pass-form label>span{color:var(--mi-hub-muted);font-weight:800;}
.mi-guest-pass-form input{width:100%;min-width:0;box-sizing:border-box;padding:0 11px;border:1px solid var(--mi-hub-border);border-radius:10px;outline:0;background:var(--mi-hub-surface);color:var(--mi-hub-text);font:inherit;direction:ltr;text-align:left;transition:.18s ease;}
.mi-guest-pass-form input:focus{border-color:color-mix(in srgb,var(--mi-reward-tone) 55%,var(--mi-hub-border));box-shadow:0 0 0 2px color-mix(in srgb,var(--mi-reward-tone) 7%,transparent)}
.mi-guest-pass-form button{min-height:38px;padding:0 13px;border:1px solid color-mix(in srgb,var(--mi-reward-tone) 48%,var(--mi-hub-border));border-radius:10px;background:color-mix(in srgb,var(--mi-reward-tone) 12%,var(--mi-hub-surface));color:var(--mi-hub-text);font:inherit;font-size:8.7px;font-weight:850;cursor:pointer;transition:.18s ease}
.mi-guest-pass-form button:hover{background:color-mix(in srgb,var(--mi-reward-tone) 18%,var(--mi-hub-surface))}
.mi-guest-pass-form button:disabled{opacity:.5;cursor:wait}
.mi-guest-pass-form>small{grid-column:1/-1;color:var(--mi-hub-muted);}
.mi-guest-pass-feedback{margin-top:9px;padding:8px 10px;border:1px solid var(--mi-hub-border);border-radius:9px;line-height:1.65;}
.mi-guest-pass-feedback.is-success{color:color-mix(in srgb,#75df9b 82%,var(--mi-hub-text));border-color:color-mix(in srgb,#75df9b 34%,var(--mi-hub-border));background:color-mix(in srgb,#75df9b 6%,transparent)}
.mi-guest-pass-feedback.is-error{color:color-mix(in srgb,#ff8f86 86%,var(--mi-hub-text));border-color:color-mix(in srgb,#ff6f66 34%,var(--mi-hub-border));background:color-mix(in srgb,#ff6f66 6%,transparent)}
.mi-guest-history{display:grid;border-top:1px solid color-mix(in srgb,var(--mi-hub-border) 74%,transparent);}
.mi-guest-history>span{color:var(--mi-hub-muted);font-weight:850;}
.mi-guest-history>div{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--mi-hub-text);}
.mi-guest-history>div b{font:inherit;font-weight:800}
.mi-guest-history>div small{color:var(--mi-hub-muted);}

@media(max-width:767px){
  .mi-guest-pass-form{grid-template-columns:1fr;gap:8px;margin-top:11px}
  .mi-guest-pass-form button{width:100%;}
  .mi-guest-pass-form>small{grid-column:auto}
  
  
}

/* Guest Pass readability and layout. */













.mi-guest-history>div{border:1px solid color-mix(in srgb,var(--mi-hub-border) 65%,transparent);border-radius:9px;background:color-mix(in srgb,var(--mi-hub-text) 1.6%,transparent);}





/* dev106 — Guest Pass typography polish after live testing. */
.mi-privilege-feature.is-guest>span:first-child{font-size:11.5px}
.mi-privilege-feature.is-guest>strong{font-size:23px}
.mi-privilege-feature.is-guest>p{font-size:12.5px;line-height:1.85}
.mi-privilege-feature.is-guest .mi-privilege-guest-facts b{font-size:19.5px}
.mi-privilege-feature.is-guest .mi-privilege-guest-facts small{font-size:10.8px}
.mi-guest-cycle>span{font-size:11px;line-height:1.82}
.mi-guest-pass-form label>span{font-size:10px}
.mi-guest-pass-form input{height:43px;font-size:11px}
.mi-guest-pass-form button{min-height:43px;font-size:10.5px}
.mi-guest-pass-form>small{font-size:10px;line-height:1.72}
.mi-guest-pass-feedback{font-size:10.5px}
.mi-guest-history{gap:9px;margin-top:14px;padding-top:13px}
.mi-guest-history>span{font-size:10.2px}
.mi-guest-history>div{min-height:38px;padding:8px 10px;font-size:10.5px}
.mi-guest-history>div b.mi-guest-history-account{font-size:13.5px;font-weight:900;line-height:1.35}
.mi-guest-history>div small{font-size:9.8px}
@media(max-width:767px){
  .mi-privilege-feature.is-guest>span:first-child{font-size:10.8px}
  .mi-privilege-feature.is-guest>strong{font-size:18px}
  .mi-privilege-feature.is-guest>p{font-size:10.5px;line-height:1.85}
  .mi-privilege-feature.is-guest .mi-privilege-guest-facts b{font-size:17.5px}
  .mi-privilege-feature.is-guest .mi-privilege-guest-facts small{font-size:10.2px}
  .mi-guest-cycle>span{font-size:10.6px}
  .mi-guest-pass-form label>span{font-size:10.2px}
  .mi-guest-pass-form input{height:44px;font-size:11.2px}
  .mi-guest-pass-form button{min-height:44px;font-size:10.8px}
  .mi-guest-pass-form>small{font-size:10px}
  .mi-guest-pass-feedback{font-size:10.5px}
  .mi-guest-history>span{font-size:10.5px}
  .mi-guest-history>div{min-height:41px;padding:9px 10px;font-size:10.5px}
  .mi-guest-history>div b.mi-guest-history-account{font-size:14px}
  .mi-guest-history>div small{font-size:10.2px}
  
  
}

/* =========================================================
   dev107 — User Requests
   ========================================================= */
.mi-requests-page{
  --mi-request-tone:var(--mi-level-1,#9ba3af);
  position:relative;width:100%;max-width:100%;box-sizing:border-box;padding:14px 0 30px;overflow:hidden;
}
.mi-requests-page.is-level-2{--mi-request-tone:var(--mi-level-2,#5d88b6)}
.mi-requests-page.is-level-3{--mi-request-tone:var(--mi-level-3,#b38162)}
.mi-requests-page.is-level-4{--mi-request-tone:var(--mi-level-4,#8b66aa)}
.mi-requests-page.is-level-5{--mi-request-tone:var(--mi-level-5,#d9b34f)}
.mi-requests-page:before{content:"";position:absolute;inset:0 0 auto;height:390px;pointer-events:none;background:radial-gradient(ellipse 62% 82% at 80% 28%,color-mix(in srgb,var(--mi-request-tone) 6.5%,transparent),color-mix(in srgb,var(--mi-request-tone) 1.7%,transparent) 39%,transparent 67%)}
.mi-requests-page>*{position:relative;z-index:1}
.mi-requests-head{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:end;gap:24px;padding:4px 0 20px;border-bottom:1px solid var(--mi-hub-border)}
.mi-requests-head-copy{text-align:right}
.mi-requests-head .mi-user-hub-kicker{color:var(--mi-request-tone)}
.mi-requests-head h2{margin:6px 0 0;color:var(--mi-hub-text);font-size:29px;line-height:1.25;font-weight:900}
.mi-requests-head p{max-width:760px;margin:7px 0 0;color:var(--mi-hub-muted);}
.mi-request-priority-card{display:grid;gap:4px;align-self:end;padding:12px 14px;border:1px solid color-mix(in srgb,var(--mi-request-tone) 24%,var(--mi-hub-border));border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--mi-request-tone) 5.5%,transparent),var(--mi-hub-surface));text-align:right}
.mi-request-priority-card>span{color:var(--mi-request-tone);font-weight:900;}
.mi-request-priority-card>strong{color:var(--mi-hub-text);font-weight:900;}
.mi-request-priority-card>small{color:var(--mi-hub-muted);}
.mi-requests-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:15px;border:1px solid var(--mi-hub-border);border-radius:15px;overflow:hidden;background:var(--mi-hub-surface)}
.mi-requests-summary>div{display:grid;place-items:center;gap:4px;min-height:72px;padding:10px;border-inline-start:1px solid var(--mi-hub-border);text-align:center}
.mi-requests-summary>div:first-child{border-inline-start:0}
.mi-requests-summary strong{color:var(--mi-hub-text);font-size:22px;font-weight:900;line-height:1}
.mi-requests-summary span{color:var(--mi-hub-muted);}
.mi-requests-layout{display:grid;grid-template-columns:minmax(330px,.82fr) minmax(0,1.45fr);gap:14px;align-items:start;margin-top:16px}
.mi-request-compose,.mi-request-history{border:1px solid var(--mi-hub-border);border-radius:17px;background:color-mix(in srgb,var(--mi-hub-surface-strong) 72%,transparent)}
.mi-request-compose{padding:16px}
.mi-request-compose>header{display:flex;align-items:center;gap:11px;padding-bottom:13px;border-bottom:1px solid var(--mi-hub-border)}
.mi-request-compose-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid color-mix(in srgb,var(--mi-request-tone) 24%,var(--mi-hub-border));border-radius:12px;color:var(--mi-request-tone);background:color-mix(in srgb,var(--mi-request-tone) 6%,transparent)}
.mi-request-compose-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.mi-request-compose h3,.mi-request-history h3{margin:0;color:var(--mi-hub-text);font-weight:900;}
.mi-request-compose header p,.mi-request-history header p{margin:3px 0 0;color:var(--mi-hub-muted);}
.mi-request-form{display:grid;}
.mi-request-form label{display:grid;}
.mi-request-form label>span{color:color-mix(in srgb,var(--mi-hub-text) 78%,var(--mi-hub-muted));font-weight:850;}
.mi-request-form label>span small{color:var(--mi-hub-muted);font-weight:650;}
.mi-request-form input,.mi-request-form textarea,.mi-request-form select{width:100%;box-sizing:border-box;border:1px solid var(--mi-hub-border);outline:0;background:var(--mi-hub-surface);color:var(--mi-hub-text);font:inherit;transition:border-color .18s ease,background .18s ease;}
.mi-request-form input,.mi-request-form select{padding:0 12px;}
.mi-request-form textarea{resize:vertical;}
.mi-request-form input:focus,.mi-request-form textarea:focus,.mi-request-form select:focus{border-color:color-mix(in srgb,var(--mi-request-tone) 50%,var(--mi-hub-border));background:color-mix(in srgb,var(--mi-request-tone) 2%,var(--mi-hub-surface))}
.mi-request-form button[type="submit"]{border:1px solid color-mix(in srgb,var(--mi-request-tone) 42%,var(--mi-hub-border));color:#101216;background:var(--mi-request-tone);font:inherit;font-weight:900;cursor:pointer;transition:transform .18s ease,filter .18s ease,opacity .18s ease;}
.mi-request-form button[type="submit"]:not(:disabled):hover{transform:translateY(-1px);filter:brightness(1.04)}
.mi-request-form button:disabled{cursor:not-allowed;opacity:.48}
.mi-request-form-note{margin:0;color:var(--mi-hub-muted);}
.mi-request-form-feedback{border:1px solid var(--mi-hub-border);border-radius:9px;color:var(--mi-hub-muted);background:var(--mi-hub-surface);}
.mi-request-form-feedback.is-success{border-color:rgba(75,184,118,.24);color:#80cf9d;background:rgba(75,184,118,.05)}
.mi-request-form-feedback.is-error{border-color:rgba(220,89,79,.24);color:#e49b94;background:rgba(220,89,79,.05)}
.mi-request-history{padding:16px}
.mi-request-history>header{display:flex;align-items:end;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid var(--mi-hub-border)}
.mi-request-history>header>span{display:inline-flex;align-items:baseline;gap:4px;color:var(--mi-hub-muted);}
.mi-request-history>header>span b{color:var(--mi-request-tone);font-weight:900;}
.mi-request-history-list{display:grid;}
.mi-request-item{display:grid;align-items:start;border:1px solid var(--mi-hub-border);background:var(--mi-hub-surface);transition:border-color .18s ease,background .18s ease;}
.mi-request-item:hover{border-color:color-mix(in srgb,var(--mi-request-tone) 22%,var(--mi-hub-border));background:color-mix(in srgb,var(--mi-request-tone) 2.2%,var(--mi-hub-surface))}
.mi-request-category-icon{display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--mi-request-tone) 18%,var(--mi-hub-border));color:var(--mi-request-tone);background:color-mix(in srgb,var(--mi-request-tone) 4.5%,transparent);}
.mi-request-category-icon svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.mi-request-item-copy{min-width:0;text-align:right}
.mi-request-item-meta{display:flex;align-items:center;color:var(--mi-hub-muted);}
.mi-request-status{display:inline-flex;align-items:center;border:1px solid var(--mi-hub-border);border-radius:999px;color:var(--mi-hub-muted);font-weight:850;background:var(--mi-hub-surface);}
.mi-request-status.is-reviewing{border-color:rgba(94,139,205,.25);color:#87aee5;background:rgba(94,139,205,.06)}
.mi-request-status.is-completed{border-color:rgba(75,184,118,.25);color:#82d09f;background:rgba(75,184,118,.06)}
.mi-request-status.is-declined{border-color:rgba(211,97,88,.24);color:#dda09b;background:rgba(211,97,88,.05)}
.mi-request-item-copy>strong{display:block;color:var(--mi-hub-text);font-weight:900;}
.mi-request-item-copy>p{color:var(--mi-hub-muted);-webkit-box-orient:vertical;}
.mi-request-related{display:inline-flex;color:var(--mi-request-tone)!important;font-weight:850;text-decoration:none!important;}
.mi-request-admin-note{border:1px solid color-mix(in srgb,var(--mi-request-tone) 18%,var(--mi-hub-border));background:color-mix(in srgb,var(--mi-request-tone) 3.2%,transparent);}
.mi-request-admin-note>span{display:block;color:var(--mi-request-tone);font-weight:900;}
.mi-request-admin-note>p{display:block;margin:4px 0 0;color:color-mix(in srgb,var(--mi-hub-text) 78%,var(--mi-hub-muted));}
.mi-request-item-side{display:grid;justify-items:end;padding-top:2px;text-align:left;}
.mi-request-item-side>span{color:color-mix(in srgb,var(--mi-hub-text) 55%,var(--mi-hub-muted));}
.mi-request-item-side>small{color:var(--mi-hub-muted);white-space:nowrap;}
.mi-request-history-empty{display:grid;justify-items:center;border:1px dashed var(--mi-hub-border);border-radius:12px;text-align:center;}
.mi-request-history-empty>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid color-mix(in srgb,var(--mi-request-tone) 22%,var(--mi-hub-border));border-radius:50%;color:var(--mi-request-tone)}
.mi-request-history-empty strong{color:var(--mi-hub-text);}
.mi-request-history-empty p{max-width:360px;margin:0;color:var(--mi-hub-muted);}

@media(max-width:900px){
  .mi-requests-layout{grid-template-columns:1fr}
  .mi-request-compose{order:1}.mi-request-history{order:2}
}
@media(max-width:767px){
  .mi-requests-page{padding-top:7px;padding-bottom:24px}
  .mi-requests-page:before{height:300px;background:radial-gradient(ellipse 90% 78% at 72% 24%,color-mix(in srgb,var(--mi-request-tone) 5.8%,transparent),color-mix(in srgb,var(--mi-request-tone) 1.3%,transparent) 42%,transparent 68%)}
  .mi-requests-head{align-items:center;}
  
  
  .mi-request-priority-card{border-radius:11px;}
  
  .mi-requests-summary{margin-top:11px;border-radius:13px}
  
  
  
  .mi-request-compose-icon{border-radius:10px;}
  
  
  .mi-request-history>header{align-items:center;}
  
  
  
  
}


/* dev108 — Request Center readability + form contrast polish.
 * The first pass was visually too small, especially on phones. Keep these
 * overrides scoped to the request endpoint so the rest of User Hub retains its
 * established typography scale. */
.mi-requests-head p{font-size:12px;line-height:1.85}
.mi-request-priority-card>span{font-size:9.8px}
.mi-request-priority-card>strong{font-size:18px}
.mi-request-priority-card>small{font-size:9.4px;line-height:1.7}
.mi-requests-summary span{font-size:10.5px}
.mi-request-compose,.mi-request-history{padding:20px}
.mi-request-compose>header,.mi-request-history>header{padding-bottom:16px}
.mi-request-compose h3,.mi-request-history h3{font-size:20px}
.mi-request-compose header p,.mi-request-history header p{font-size:11px;line-height:1.75}
.mi-request-form{gap:14px;margin-top:17px}
.mi-request-form label{gap:7px}
.mi-request-form label>span{font-size:12px;line-height:1.55}
.mi-request-form label>span small{font-size:10px;line-height:1.55}
.mi-request-form input,.mi-request-form textarea,.mi-request-form select{font-size:13px;border-radius:12px}
.mi-request-form input,.mi-request-form select{height:49px;padding-inline:14px}
.mi-request-form textarea{min-height:160px;padding:13px 14px;line-height:1.9}
.mi-request-form select{color-scheme:dark;cursor:pointer}
.mi-request-form select option{background:#15181e;color:#f1f3f5;font-size:13px}
.mi-request-form button[type="submit"]{min-height:50px;font-size:13px;border-radius:12px}
.mi-request-form-note{font-size:10.4px;line-height:1.8}
.mi-request-form-feedback{padding:11px 12px;font-size:11.5px;line-height:1.7}
.mi-request-history>header>span{font-size:10px}
.mi-request-history>header>span b{font-size:17px}
.mi-request-history-list{gap:11px;margin-top:14px}
.mi-request-item{grid-template-columns:50px minmax(0,1fr) auto;gap:14px;padding:16px;border-radius:15px}
.mi-request-category-icon{width:46px;height:46px;border-radius:13px}
.mi-request-category-icon svg{width:23px;height:23px}
.mi-request-item-meta{gap:8px;margin-bottom:7px;font-size:10.5px}
.mi-request-status{min-height:25px;padding:0 9px;font-size:9.5px}
.mi-request-item-copy>strong{font-size:15.5px;line-height:1.55}
.mi-request-item-copy>p{display:block;overflow:visible;margin:8px 0 0;font-size:12.5px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:unset}
.mi-request-related{margin-top:10px;font-size:10.5px}
.mi-request-admin-note{margin-top:12px;padding:12px 13px;border-radius:11px}
.mi-request-admin-note>span{font-size:10.5px}
.mi-request-admin-note>p{margin-top:6px;font-size:12px;line-height:1.85}
.mi-request-item-side{gap:6px}
.mi-request-item-side>span{font-size:9px}
.mi-request-item-side>small{font-size:9.3px}
.mi-request-history-empty{gap:9px;padding:46px 22px}
.mi-request-history-empty strong{font-size:14px}
.mi-request-history-empty p{font-size:11px;line-height:1.8}

@media(max-width:767px){
  .mi-requests-head{grid-template-columns:minmax(0,1fr) 136px;gap:12px;padding-bottom:17px}
  .mi-requests-head h2{font-size:25px}
  .mi-requests-head p{font-size:12.3px;line-height:1.8}
  .mi-request-priority-card{padding:11px 12px}
  .mi-request-priority-card>span{font-size:9.4px}.mi-request-priority-card>strong{font-size:15px}.mi-request-priority-card>small{font-size:9px;line-height:1.65}
  .mi-requests-summary>div{min-height:70px;padding:10px 4px}.mi-requests-summary strong{font-size:21px}.mi-requests-summary span{font-size:10px}
  .mi-requests-layout{gap:13px;margin-top:14px}
  .mi-request-compose,.mi-request-history{padding:16px;border-radius:16px}
  .mi-request-compose>header{gap:11px;padding-bottom:13px}.mi-request-compose-icon{width:42px;height:42px;flex-basis:42px}.mi-request-compose-icon svg{width:21px;height:21px}
  .mi-request-compose h3,.mi-request-history h3{font-size:19px}.mi-request-compose header p,.mi-request-history header p{font-size:11.2px;line-height:1.75}
  .mi-request-form{gap:14px;margin-top:14px}.mi-request-form label>span{font-size:12.5px}.mi-request-form label>span small{font-size:10px}
  .mi-request-form input,.mi-request-form select{height:50px;font-size:13.5px}.mi-request-form textarea{min-height:170px;font-size:13.5px;line-height:1.85}.mi-request-form button[type="submit"]{min-height:51px;font-size:13.5px}
  .mi-request-form-note{font-size:10.8px}.mi-request-form-feedback{font-size:11.5px}
  .mi-request-history>header{padding-bottom:13px}.mi-request-history>header>span{font-size:10px}.mi-request-history>header>span b{font-size:16px}
  .mi-request-history-list{gap:11px;margin-top:13px}
  .mi-request-item{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:14px}.mi-request-category-icon{width:45px;height:45px}.mi-request-category-icon svg{width:22px;height:22px}
  .mi-request-item-meta{font-size:10.5px}.mi-request-status{font-size:9.5px}
  .mi-request-item-copy>strong{font-size:15.5px}.mi-request-item-copy>p{font-size:13px;line-height:1.9}
  .mi-request-related{font-size:11px}.mi-request-admin-note>span{font-size:10.8px}.mi-request-admin-note>p{font-size:12.5px}
  .mi-request-item-side{grid-column:2;display:flex;justify-content:space-between;align-items:center;padding-top:4px}.mi-request-item-side>span,.mi-request-item-side>small{font-size:9.5px}
  .mi-request-history-empty strong{font-size:14px}.mi-request-history-empty p{font-size:11px}
}

/* =========================================================
   dev144 — profile settings readability + owner avatar upload
   ========================================================= */
/* Native select menus inherit an explicit color scheme so the two visibility
   choices do not open as a white system popup inside the dark User Hub. */
.mi-user-profile-form select{
  color-scheme:dark!important;
  background:#181b21!important;
  color:#f4f5f7!important;
}
.mi-user-profile-form select option{
  background:#181b21!important;
  color:#f4f5f7!important;
}

/* Favorite Artist: ~30% larger as one coherent card (container, controls,
   portrait and typography), not just inflated text inside the old geometry. */
.mi-favorite-artist-setting{
  padding:17px 18px!important;
  border-radius:20px!important;
}
.mi-favorite-artist-setting-head{gap:20px!important}
.mi-user-profile-form .mi-favorite-artist-setting-head>div:first-child>span{font-size:13px!important}
.mi-user-profile-form .mi-favorite-artist-setting-head>div:first-child>small{font-size:10.1px!important;line-height:1.65!important}
.mi-favorite-artist-modes{padding:4px!important}
.mi-favorite-artist-modes button{
  min-height:38px!important;
  padding:0 14px!important;
  font-size:10.1px!important;
}
.mi-favorite-artist-current{
  gap:13px!important;
  min-height:75px!important;
  margin-top:14px!important;
  padding:9px 12px!important;
}
.mi-favorite-artist-current-image{
  flex-basis:60px!important;
  width:60px!important;
  height:60px!important;
}
.mi-favorite-artist-current-copy{gap:4px!important}
.mi-favorite-artist-current-copy strong{font-size:13.7px!important}
.mi-favorite-artist-current-copy small{font-size:9.75px!important}
.mi-favorite-artist-current-empty{font-size:10.7px!important}
.mi-favorite-artist-manual{margin-top:5px!important;padding-top:13px!important}
.mi-user-profile-form .mi-favorite-artist-search{gap:7px!important}
.mi-user-profile-form .mi-favorite-artist-search>span{font-size:10.4px!important}
.mi-favorite-artist-results{max-height:340px!important;padding:7px!important}
.mi-favorite-artist-result{gap:12px!important;padding:8px!important;border-radius:12px!important}
.mi-favorite-artist-result-image{
  flex-basis:57px!important;
  width:57px!important;
  height:57px!important;
}
.mi-favorite-artist-result strong{font-size:11.7px!important}
.mi-favorite-artist-result small{font-size:9.1px!important}
.mi-favorite-artist-result-empty{padding:15px!important;font-size:10.4px!important}

/* Public-profile privacy controls: +30% text/control scale with matching card
   spacing so the larger typography still breathes. */
.mi-profile-privacy-summary{
  min-height:75px!important;
  padding:14px 18px!important;
  gap:20px!important;
}
.mi-user-profile-form .mi-profile-privacy-summary-copy strong{font-size:13px!important}
.mi-user-profile-form .mi-profile-privacy-summary-copy small{font-size:10.4px!important}
.mi-profile-privacy-summary-action{
  gap:10px!important;
  min-height:39px!important;
  padding:0 14px!important;
  font-size:10.4px!important;
}
.mi-profile-privacy-summary-action i{width:9px!important;height:9px!important}
.mi-profile-privacy-body{padding:16px 18px 18px!important}
.mi-profile-privacy-body>p{margin-bottom:14px!important;font-size:10.9px!important}
.mi-profile-privacy-grid{gap:10px!important}
.mi-user-profile-form .mi-profile-privacy-option{
  grid-template-columns:49px minmax(0,1fr)!important;
  gap:13px!important;
  min-height:78px!important;
  padding:12px 13px!important;
  border-radius:16px!important;
}
.mi-profile-privacy-switch{width:47px!important;height:26px!important}
.mi-profile-privacy-switch>i{top:4px!important;right:4px!important;width:16px!important;height:16px!important}
.mi-profile-privacy-option>input[type="checkbox"]:checked~.mi-profile-privacy-switch>i{transform:translateX(-21px)!important}
.mi-user-profile-form .mi-profile-privacy-copy strong{font-size:12.1px!important}
.mi-user-profile-form .mi-profile-privacy-copy small{font-size:9.75px!important;line-height:1.65!important}

/* Click-to-upload portrait affordance. The file picker itself is created by
   user-hub.js, so no file input participates in the profile settings form. */
.mi-profile-avatar-upload{
  position:relative!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}
.mi-profile-avatar-upload:focus-visible{
  outline:2px solid color-mix(in srgb,var(--mi-hub-accent) 72%,#fff)!important;
  outline-offset:4px!important;
}
.mi-profile-avatar-edit-cue{
  position:absolute;
  top:9px;
  right:9px;
  z-index:4;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  background:rgba(8,10,14,.72);
  color:#fff;
  opacity:.72;
  pointer-events:none;
  box-shadow:0 8px 20px rgba(0,0,0,.22);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:opacity .18s ease,transform .18s ease,background .18s ease;
  line-height:0;
}
.mi-profile-avatar-edit-cue svg{display:block;width:16px;height:16px;fill:currentColor}
.mi-profile-avatar-upload:hover .mi-profile-avatar-edit-cue,
.mi-profile-avatar-upload:focus-visible .mi-profile-avatar-edit-cue{opacity:1;transform:scale(1.05);background:rgba(232,95,5,.88)}
.mi-profile-avatar-upload.is-uploading{pointer-events:none}
.mi-profile-avatar-upload.is-uploading img{opacity:.48!important}
.mi-profile-avatar-upload.is-uploading .mi-profile-avatar-edit-cue{opacity:1;animation:mi-avatar-upload-pulse .8s ease-in-out infinite alternate}
@keyframes mi-avatar-upload-pulse{to{transform:scale(.9);opacity:.55}}
.mi-user-profile-preview-avatar .mi-profile-avatar-edit-cue{top:5px;right:5px;width:27px;height:27px}
.mi-user-profile-preview-avatar .mi-profile-avatar-edit-cue svg{width:14px;height:14px}
.mi-profile-avatar-file-input{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important}
.mi-profile-avatar-toast{
  position:fixed;
  top:84px;
  left:50%;
  z-index:100070;
  max-width:min(420px,calc(100vw - 28px));
  padding:11px 15px;
  border:1px solid rgba(102,207,136,.24);
  border-radius:12px;
  background:rgba(18,21,26,.96);
  color:#d9f4e2;
  font-size:11.5px;
  font-weight:750;
  line-height:1.65;
  text-align:center;
  direction:rtl;
  opacity:0;
  transform:translate(-50%,-8px);
  pointer-events:none;
  box-shadow:0 16px 38px rgba(0,0,0,.30);
  transition:opacity .18s ease,transform .18s ease;
}
.mi-profile-avatar-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.mi-profile-avatar-toast.is-error{border-color:rgba(225,89,89,.28);color:#ffd0d0}

@media (max-width:700px){
  .mi-favorite-artist-setting{padding:15px!important;border-radius:18px!important}
  .mi-favorite-artist-setting-head{gap:12px!important}
  .mi-favorite-artist-modes button{min-height:35px!important;padding-inline:12px!important;font-size:9.4px!important}
  .mi-favorite-artist-current{min-height:69px!important;padding-inline:7px!important}
  .mi-favorite-artist-current-image{flex-basis:56px!important;width:56px!important;height:56px!important}

  .mi-profile-privacy-summary{min-height:72px!important;padding:13px 14px!important;gap:12px!important}
  .mi-user-profile-form .mi-profile-privacy-summary-copy strong{font-size:12.35px!important}
  .mi-user-profile-form .mi-profile-privacy-summary-copy small{font-size:9.75px!important}
  .mi-profile-privacy-summary-action{min-height:36px!important;padding-inline:12px!important;font-size:9.75px!important}
  .mi-profile-privacy-body{padding:13px 13px 14px!important}
  .mi-profile-privacy-body>p{font-size:10.5px!important}
  .mi-user-profile-form .mi-profile-privacy-option{min-height:75px!important;padding:11px 12px!important}

  .mi-stage-head-avatar .mi-profile-avatar-edit-cue{top:8px;right:8px;width:30px;height:30px}
  .mi-profile-avatar-toast{top:72px;font-size:11px}
}


/* =========================================================
   dev145 — profile settings finishing pass
   ========================================================= */
/* Basic identity fields only: +20% title/help text. Favorite Artist and
   public-profile privacy already received their own larger scale in dev144. */
.mi-user-profile-heading h2{
  font-size:33.6px!important;
}
.mi-profile-security-link strong{
  font-size:13.2px!important;
}
.mi-profile-security-link small{
  font-size:10.2px!important;
  line-height:1.6!important;
}
.mi-user-profile-form > label > span{
  font-size:10.8px!important;
  line-height:1.5!important;
}
.mi-user-profile-form > label > small{
  font-size:9.6px!important;
  line-height:1.7!important;
}

/* Keep the existing button geometry; only normalize the site typeface and
   increase the label by 20%. */
.mi-user-profile-actions button[type="submit"]{
  font-family:inherit!important;
  font-size:12px!important;
  line-height:1.2!important;
}

/* The old filled camera path could inherit theme SVG fill rules and look like
   a malformed glyph. The new line icon explicitly uses currentColor/strokes. */
.mi-profile-avatar-edit-cue svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
}
.mi-profile-avatar-edit-cue svg path,
.mi-profile-avatar-edit-cue svg circle{
  fill:none!important;
  stroke:currentColor!important;
}
.mi-user-profile-preview-avatar .mi-profile-avatar-edit-cue svg{
  width:15px!important;
  height:15px!important;
}

@media (max-width:700px){
  .mi-user-profile-heading h2{font-size:27.6px!important}
  .mi-profile-security-link strong{font-size:12.6px!important}
  .mi-profile-security-link small{font-size:9.8px!important}
}


/* =========================================================
   dev146 — account heading scale + robust avatar edit glyph
   ========================================================= */
/* dev145 intentionally enlarged this heading; reduce that result by 17%
   without touching other Settings typography. */
.mi-user-profile-heading h2{
  font-size:27.9px!important;
}

/* The avatar itself clips overflow to stay circular. Keeping the edit badge
   too close to its top-right corner therefore cuts the badge/icon. Inset it
   proportionally so the entire affordance remains inside every avatar size. */
.mi-stage-head-avatar .mi-profile-avatar-edit-cue,
.mi-user-profile-preview-avatar .mi-profile-avatar-edit-cue{
  top:12%!important;
  right:12%!important;
}

/* Pure-CSS camera. No SVG/icon-font rules from Waveme/Play Block can mutate
   this shape, which keeps it identical in the large stage and Settings card. */
.mi-profile-camera-glyph{
  position:relative!important;
  display:block!important;
  width:17px!important;
  height:12px!important;
  margin:0!important;
  padding:0!important;
  border:1.7px solid currentColor!important;
  border-radius:3px!important;
  background:transparent!important;
  box-sizing:border-box!important;
  color:inherit!important;
  font:inherit!important;
  line-height:0!important;
  transform:none!important;
}
.mi-profile-camera-glyph::before{
  content:""!important;
  position:absolute!important;
  top:2px!important;
  left:50%!important;
  width:5px!important;
  height:5px!important;
  border:1.5px solid currentColor!important;
  border-radius:50%!important;
  background:transparent!important;
  box-sizing:border-box!important;
  transform:translateX(-50%)!important;
}
.mi-profile-camera-glyph::after{
  content:""!important;
  position:absolute!important;
  top:-4px!important;
  left:3px!important;
  width:7px!important;
  height:4px!important;
  border:1.6px solid currentColor!important;
  border-bottom:0!important;
  border-radius:3px 3px 0 0!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
.mi-user-profile-preview-avatar .mi-profile-camera-glyph{
  width:14px!important;
  height:10px!important;
  border-width:1.5px!important;
  border-radius:2.5px!important;
}
.mi-user-profile-preview-avatar .mi-profile-camera-glyph::before{
  top:1.5px!important;
  width:4.5px!important;
  height:4.5px!important;
  border-width:1.35px!important;
}
.mi-user-profile-preview-avatar .mi-profile-camera-glyph::after{
  top:-3.5px!important;
  left:2.5px!important;
  width:6px!important;
  height:3.5px!important;
  border-width:1.4px!important;
  border-bottom:0!important;
}

@media (max-width:700px){
  .mi-user-profile-heading h2{font-size:22.9px!important}
}


/* =========================================================
   dev147 — quieter stage avatar + settings badge on the ring
   ========================================================= */
/* The large profile-stage portrait stays click-to-upload, but carries no
   permanent camera badge. The Settings preview keeps the affordance and
   places it over the portrait ring instead of floating inside the photo. */
.mi-stage-head-avatar > .mi-profile-avatar-edit-cue{display:none!important}

.mi-user-profile-preview-avatar{
  overflow:visible!important;
}
.mi-user-profile-preview-avatar > img{
  border-radius:inherit!important;
  clip-path:circle(50% at 50% 50%)!important;
}
.mi-user-profile-preview-avatar .mi-profile-avatar-edit-cue{
  top:-2px!important;
  right:-2px!important;
  width:28px!important;
  height:28px!important;
  opacity:.9!important;
  border-width:2px!important;
  border-color:color-mix(in srgb,var(--mi-profile-level-tone) 48%,rgba(255,255,255,.24))!important;
  box-shadow:0 7px 18px rgba(0,0,0,.28),0 0 0 2px var(--mi-hub-surface-strong)!important;
}
.mi-user-profile-preview-avatar:hover .mi-profile-avatar-edit-cue,
.mi-user-profile-preview-avatar:focus-visible .mi-profile-avatar-edit-cue{
  transform:scale(1.04)!important;
}

@media (max-width:700px){
  .mi-user-profile-preview-avatar .mi-profile-avatar-edit-cue{top:-2px!important;right:-2px!important;width:27px!important;height:27px!important}
}
