html {
  background: #e8e8e8;
}
.tab-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.tab-btn {
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #ccc;
  border-radius: 30px;
  background: #fff;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #222;
  border-color: #222;
  color: #fff;
}

.preview-stage {
  min-height: calc(100vh - 50px);
  display: flex;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.preview-frame-wrap {
  width: 100%;
  max-width: 1920px;
  height: calc(100vh - 81px);
  max-height: 100vh;
  transition:
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.05);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.preview-frame-wrap.is-mobile {
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
  height: calc(100vh - 81px);
  max-height: 800px;
}

#preview-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}
