/* type-a의 같은 파일을 복사해 와 hd-lease 화면에 맞춰 고치는 이 테마의 원본 (CT-136). 다시 복사해 덮어쓰지 않음 */
body.theme-a .footer-view-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

body.theme-a .footer-view-mode__btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.theme-a .footer-view-mode__btn:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 8%, #fff);
}

body.theme-a .footer-view-mode__btn.is-active {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

body.theme-a .footer-view-mode__sep {
  color: #cbd5e1;
  font-size: 12px;
}

html.view-mode-mobile-shell,
html.view-mode-mobile-shell body {
  margin: 0;
  height: 100%;
  background: #1e293b;
  overflow: hidden;
}

.view-mode-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.view-mode-shell__bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #0f172a;
  color: #e2e8f0;
}

.view-mode-shell__label {
  font-size: 13px;
  font-weight: 600;
}

.view-mode-shell__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
}

.view-mode-shell__stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 0;
  padding: 12px 0 16px;
}

.view-mode-shell__frame {
  width: 390px;
  max-width: calc(100% - 24px);
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

html.view-mode-pc {
  overflow-x: auto;
}

html.view-mode-pc body {
  min-width: 1920px;
  padding-top: 44px;
}

.view-mode-pc-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  background: #0f172a;
  color: #e2e8f0;
  box-sizing: border-box;
}

.view-mode-pc-bar__label {
  font-size: 13px;
  font-weight: 600;
}

.view-mode-pc-bar__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
}

