/* 우측 페이지 셸과 상단 헤더 */
.tv-page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: var(--tv-sidebar-width);
  background: #fff;
}

.tv-top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  flex: 0 0 var(--tv-header-height);
  height: var(--tv-header-height);
  background: #fff;
}

.tv-search-box {
  position: absolute;
  top: 10px;
  left: calc(50vw - var(--tv-sidebar-width));
  width: 401px;
  height: 45px;
  margin: 0;
  transform: translateX(-50%);
  border-radius: 24px;
  background: var(--tv-search-surface);
}

.tv-search-box input[type="search"] {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 54px 0 22px;
  border: 0;
  border-radius: inherit;
  outline: none;
  background: transparent;
  color: var(--tv-text-main);
  font: inherit;
  font-size: 14px;
}

.tv-search-box button {
  position: absolute;
  top: 0;
  right: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 45px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #343b49;
  cursor: pointer;
}

.tv-search-box button .tv-icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.55;
}

.tv-header-actions {
  position: absolute;
  top: 9px;
  right: 29px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 45px;
}

.tv-reward-link,
.tv-reward-link img {
  display: block;
  width: 122px;
  height: 36px;
}

.tv-header-action-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4f5663;
  cursor: pointer;
  text-decoration: none;
}

.tv-header-action-button .tv-icon {
  width: 40px;
  height: 40px;
}

.tv-header-action-button:hover,
.tv-header-action-button:focus-visible {
  background: #eef0f2;
}

.tv-login-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  max-width: 100px;
  height: 45px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  color: var(--tv-admin-text, #313641);
  font-size: 14px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-login-link:hover,
.tv-login-link:focus-visible {
  background: #eef0f2;
}

.tv-notice-button {
  color: var(--tv-admin-text, #4f5663);
}

.tv-apps-button {
  width: 40px;
  height: 40px;
}

.tv-profile-button {
  flex: 0 0 40px;
}

.tv-profile-button > img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.tv-profile-button:hover,
.tv-profile-button:focus-visible {
  background: #eef0f2;
}

