/* 기존 안내 막대를 재사용하며 본문·브랜드 스타일은 바꾸지 않습니다. */
body[data-preview-number] #preview-variant-nav.preview-switcher {
  position: fixed;
  z-index: 60;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
  width: 60px;
  margin: 0;
  padding: 6px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 14px rgb(20 35 60 / 9%);
}
body[data-preview-number] #preview-variant-nav.preview-switcher > a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 6px 2px;
  border: 1px solid #e2e6ec;
  border-radius: 5px;
  background: #fff;
  color: #343c49;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}
body[data-preview-number] #preview-variant-nav.preview-switcher > a:hover {
  border-color: #152d56;
  color: #152d56;
}
body[data-preview-number] #preview-variant-nav.preview-switcher > a[aria-current] {
  border-color: #152d56;
  background: #152d56;
  color: #fff;
}
body[data-preview-number] #preview-variant-nav.preview-switcher > a:focus-visible {
  outline: 3px solid #3162ae;
  outline-offset: 3px;
}
@media (max-width: 1439px) {
  body[data-preview-number] #demo-runtime-note.preview-compare-bar {
    position: sticky;
    z-index: 60;
    top: 0;
    border-bottom: 1px solid #dce1e8;
    background: #fff;
  }
  body[data-preview-number] #demo-runtime-note.preview-compare-bar .demo-runtime-note__in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    width: min(1280px, calc(100% - 24px));
    min-width: 0;
    gap: 0;
    margin-inline: auto;
    padding: 4px 0 0;
  }
  body[data-preview-number] #demo-runtime-note.preview-compare-bar p {
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  body[data-preview-number] #preview-variant-nav.preview-switcher {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-height: 44px;
    margin: 0 0 0 auto;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body[data-preview-number] #preview-variant-nav.preview-switcher > a {
    flex: 0 0 auto;
    min-width: 58px;
    min-height: 34px;
    padding: 5px 10px;
    font-size: 13px;
  }
}
