.tv-profile-popover {
  position: fixed;
  top: 63px;
  right: 77px;
  left: auto;
  z-index: 1200;
  box-sizing: border-box;
  width: 270px;
  max-width: calc(100vw - 36px);
  max-height: calc(100vh - 76px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 36, 49, .18);
  color: var(--tv-admin-text, #20242c);
  font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 13px;
  scrollbar-width: thin;
  scrollbar-color: #d5d9df transparent;
}

.tv-profile-popover,
.tv-profile-popover * {
  box-sizing: border-box;
}

.tv-profile-popover::-webkit-scrollbar {
  width: 6px;
}

.tv-profile-popover::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: #d5d9df;
}

.tv-profile-summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 6px 0;
}

.tv-profile-summary-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 66px;
  min-width: 0;
  margin: 0;
  padding: 10px 20px;
  color: inherit;
  text-decoration: none;
}

.tv-profile-summary.has-admin .tv-profile-summary-link {
  padding-right: 78px;
}

.tv-profile-summary-link:hover,
.tv-profile-summary-link:focus-visible {
  background: #f5f6f8;
}

.tv-profile-summary-link:focus-visible {
  outline: 2px solid rgba(8, 125, 255, .35);
  outline-offset: 1px;
}

.tv-profile-summary-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.tv-profile-summary-avatar img {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe3e8;
  border-radius: 50%;
  object-fit: cover;
}

.tv-profile-identity {
  display: flex;
  min-width: 0;
  margin-left: 13px;
  flex-direction: column;
  line-height: 1.35;
}

.tv-profile-identity strong,
.tv-profile-identity > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-profile-identity strong {
  color: var(--tv-admin-text, #20242c);
  font-size: 14px;
  font-weight: 600;
}

.tv-profile-identity > span {
  margin-top: 3px;
  color: var(--tv-admin-text, #7b8492);
  font-size: 12px;
}

.tv-profile-admin-button {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 28px;
  margin-left: 0;
  padding: 0 9px;
  border: 1px solid #dfe3e8;
  border-radius: 7px;
  background: #fff;
  color: var(--tv-admin-text, #4f5663);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
}

.tv-profile-admin-button:hover,
.tv-profile-admin-button:focus-visible {
  border-color: #c7ccd3;
  background: #f5f6f8;
  color: #20242c;
}

.tv-profile-admin-button:focus-visible {
  outline: 2px solid rgba(8, 125, 255, .35);
  outline-offset: 1px;
}

.tv-profile-section {
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid #e3e6ea;
}

.tv-profile-menu-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--tv-admin-text, #252a33);
  font: inherit;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}

div.tv-profile-menu-row,
a.tv-profile-menu-row,
button.tv-profile-menu-row {
  cursor: pointer;
}

div.tv-profile-menu-row:hover,
a.tv-profile-menu-row:hover,
a.tv-profile-menu-row:focus-visible,
button.tv-profile-menu-row:hover,
button.tv-profile-menu-row:focus-visible {
  background: #f5f6f8;
  color: #11141b;
}

.tv-profile-menu-row:focus-visible,
.tv-profile-switch:focus-visible {
  outline: 2px solid rgba(8, 125, 255, .35);
  outline-offset: -2px;
}

.tv-profile-menu-row > svg:not(.tv-profile-chevron) {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 14px;
  fill: none;
  stroke: #626a76;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-profile-menu-row > svg.tv-profile-editinfo-icon:not(.tv-profile-chevron) {
  flex-basis: 23px;
  width: 23px;
  height: 23px;
  margin-right: 11px;
}

.tv-profile-menu-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 14px;
  object-fit: contain;
}

.tv-profile-divider {
  height: 0;
  margin: 8px 0;
  border-top: 1px solid #e3e6ea;
}

.tv-profile-menu-row > span:not(.tv-profile-row-value) {
  min-width: 0;
}

.tv-profile-row-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--tv-admin-text, #8a929e);
  font-size: 11px;
}

.tv-profile-chevron {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-left: auto;
  fill: none;
  stroke: #7f8793;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-profile-row-value .tv-profile-chevron {
  margin-left: 0;
}

.tv-profile-switch {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 22px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #dde1e7;
  cursor: pointer;
  transition: background-color .18s ease;
}

.tv-profile-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(27, 34, 46, .2);
  transition: transform .18s ease;
}

.tv-profile-switch.is-active {
  background: #1683ff;
}

.tv-profile-switch.is-active > span {
  transform: translateX(18px);
}
