.sm-profile-layer {
  width: 244px;
  max-height: calc(100vh - 86px);
  overflow: auto;
  border: 1px solid #313136;
  border-radius: 4px;
  background: #0d0d0f;
  box-shadow: 0 24px 64px rgba(0,0,0,.62);
  color: #fff;
}
.dropdown-menu.sm-profile-layer {
  display: block;
  width: 244px;
  max-height: calc(100vh - 86px);
  padding: 0;
  overflow: auto;
  border: 1px solid #313136;
  border-radius: 4px;
  background: #0d0d0f;
  box-shadow: 0 24px 64px rgba(0,0,0,.62);
  backdrop-filter: none;
}
.dropdown-menu.sm-profile-layer::before { content: none; }
.sm-profile-layer a { color: inherit; text-decoration: none; }
.sm-profile-layer button { font: inherit; }
.sm-profile-summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 24px 16px 13px;
}
.sm-profile-avatar-lg {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
}
.sm-profile-avatar-lg svg,
.sm-profile-avatar-lg img { width: 100%; height: 100%; display: block; }
.sm-profile-copy { display: grid; gap: 7px; min-width: 0; }
.sm-profile-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
}
.sm-profile-name span {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.sm-profile-level {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  color: #f5f5f5;
  background: rgba(255,255,255,.1);
  font-size: 11px;
  font-weight: 900;
}
.sm-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 14px 16px;
  text-align: center;
}
.sm-profile-stats a { display: grid; gap: 4px; }
.sm-profile-stats strong { color: #f3f3f5; font-size: 19px; font-weight: 1000; line-height: 1; }
.sm-profile-stats span { color: #8b8b92; font-size: 12px; font-weight: 700; }
.sm-profile-library {
  width: calc(100% - 32px);
  height: 47px;
  margin: 0 16px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #303036;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}
.sm-profile-library:hover { background: rgba(255,255,255,.045); }
.sm-profile-library.sm-profile-desktop { margin-top: -9px; }
.sm-profile-library span,
.sm-row-icon { width: 16px; height: 16px; position: relative; flex: 0 0 16px; }
.sm-profile-library span::before {
  content: "";
  position: absolute;
  inset: 3px 1px 2px;
  border: 1.8px solid currentColor;
  border-radius: 2px;
}
.sm-profile-desktop span::before { inset: 2px 0 5px; border-radius: 2px; }
.sm-profile-desktop span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.sm-profile-divider.strong {
  height: 9px;
  background: #000;
  border-top: 1px solid #08080a;
  border-bottom: 1px solid #202024;
}
.sm-profile-section { padding: 10px 0; border-bottom: 1px solid #2a2a2f; }
.sm-profile-section:last-child { border-bottom: 0; }
.sm-profile-row {
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 0;
  color: #f3f3f5;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.sm-profile-row:hover { background: rgba(255,255,255,.045); }
.sm-profile-row strong { font-size: 14px; font-weight: 900; white-space: nowrap; }
.sm-profile-row em { color: #8f8f96; font-size: 13px; font-style: normal; font-weight: 900; }
.sm-profile-membership-state.active { color: #72f2c3; }
.sm-profile-membership-row {
  min-height: 52px;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.sm-profile-membership-row .sm-row-icon { grid-row: 1 / span 2; }
.sm-profile-membership-row .sm-profile-membership-state { grid-column: 2; font-size: 12px; }
.sm-row-icon::before,
.sm-row-icon::after { content: ""; position: absolute; box-sizing: border-box; }
.sm-row-icon.card::before { inset: 3px 1px; border: 1.7px solid currentColor; border-radius: 2px; }
.sm-row-icon.card::after { left: 2px; right: 2px; top: 7px; height: 1.7px; background: currentColor; }
.sm-row-icon.point::before { inset: 2px 3px; border: 1.7px solid currentColor; border-radius: 50%; }
.sm-row-icon.point::after { left: 4px; right: 4px; top: 7px; height: 1.7px; box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor; background: currentColor; opacity: .75; }
.sm-row-icon.ticket::before { inset: 4px 0; border-top: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; }
.sm-row-icon.ticket::after { left: 2px; right: 2px; top: 7px; height: 5px; border-left: 1.7px solid currentColor; border-right: 1.7px solid currentColor; }
.sm-row-icon.doc::before { inset: 1px 3px; border: 1.7px solid currentColor; border-radius: 2px; }
.sm-row-icon.doc::after { left: 6px; right: 5px; top: 6px; height: 1.5px; box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor; background: currentColor; }
.sm-row-icon.cube::before { inset: 2px; border: 1.7px solid currentColor; transform: rotate(45deg) scale(.82); }
.sm-row-icon.notice::before { left: 1px; top: 5px; width: 11px; height: 8px; border: 1.7px solid currentColor; border-radius: 2px; }
.sm-row-icon.notice::after { right: 1px; top: 2px; width: 6px; height: 12px; border: 1.7px solid currentColor; border-left: 0; border-radius: 0 99px 99px 0; }
.sm-row-icon.headset::before { inset: 2px 1px; border: 1.7px solid currentColor; border-bottom-color: transparent; border-radius: 50% 50% 0 0; }
.sm-row-icon.headset::after { left: 2px; right: 2px; bottom: 2px; height: 6px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.sm-row-icon.gear::before { inset: 3px; border: 1.8px solid currentColor; border-radius: 50%; box-shadow: 0 -5px 0 -2px currentColor, 0 5px 0 -2px currentColor, 5px 0 0 -2px currentColor, -5px 0 0 -2px currentColor; }
.sm-row-icon.logout::before { left: 1px; top: 3px; width: 9px; height: 10px; border: 1.7px solid currentColor; border-right: 0; border-radius: 2px 0 0 2px; }
.sm-row-icon.logout::after { right: 0; top: 7px; width: 10px; height: 2px; background: currentColor; box-shadow: 3px -3px 0 -1px currentColor, 3px 3px 0 -1px currentColor; }
