.tv-settings-popover {
  position: fixed;
  top: 63px;
  right: 77px;
  left: auto;
  z-index: 1200;
  box-sizing: border-box;
  width: 270px;
  max-width: calc(100vw - 36px);
  overflow: visible;
  border: 1px solid #eceef1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 36, 49, .16);
  color: #20242c;
  font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 13px;
}

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

.tv-settings-primary {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.tv-settings-primary li {
  margin: 0;
  padding: 0;
}

.tv-settings-primary a,
.tv-settings-row {
  width: 100%;
  color: #252a33;
  font: inherit;
  text-decoration: none;
}

.tv-settings-primary a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 22px;
}

.tv-settings-primary a:hover,
.tv-settings-primary a:focus-visible,
.tv-settings-dark-row:hover,
.tv-settings-language:hover,
.tv-settings-language:focus-visible {
  background: #f5f6f8;
}

.tv-settings-primary a:focus-visible,
.tv-settings-language:focus-visible,
.tv-settings-dark-toggle:focus-visible {
  outline: 2px solid rgba(8, 125, 255, .35);
  outline-offset: -2px;
}

.tv-settings-primary svg,
.tv-settings-row-label > svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #5d6470;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-top: 1px solid #e3e6ea;
  background: transparent;
}

button.tv-settings-row,
.tv-settings-dark-row {
  cursor: pointer;
}

.tv-settings-row-label,
.tv-settings-row-value {
  display: inline-flex;
  align-items: center;
}

.tv-settings-row-label {
  gap: 14px;
  font-weight: 500;
}

.tv-settings-row-value {
  gap: 8px;
  color: #858c98;
  font-size: 12px;
}

.tv-settings-row-value svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.tv-settings-dark-toggle > 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-settings-dark-toggle.is-active {
  background: #1683ff;
}

.tv-settings-dark-toggle.is-active > span {
  transform: translateX(18px);
}
