:root {
  --text: #000;
  --muted: #4e4e4e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fff;
  color: var(--text);
}

.frame3-bg-audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site,
.scene {
  width: 100vw;
  height: 100vh;
}

.scene {
  position: relative;
  overflow: hidden;
}

.artboard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center center;
  background: #fff;
  overflow: hidden;
}

.screen-header,
.screen-body,
.screen-footer {
  position: absolute;
  left: 0;
  width: 100%;
}

.screen-header {
  top: 0;
  height: 140px;
  z-index: 10;
}

.screen-body {
  inset: 0;
  z-index: 5;
}

.screen-footer {
  bottom: 0;
  height: 120px;
  z-index: 30;
  pointer-events: none;
  display: none;
}

.screen-footer .download-cta {
  pointer-events: auto;
}

.mobile-statusbar,
.mobile-sheet {
  display: none;
}

.topbar {
  position: absolute;
  top: 40px;
  left: 53px;
  right: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  width: 209px;
  height: 60px;
  object-fit: cover;
}

.lang-toggle {
  border: 0;
  background: transparent;
  font-size: 32px;
  font-weight: 500;
  cursor: pointer;
}

.intro {
  position: absolute;
  left: 50%;
  top: 121px;
  width: 826px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 9;
}

.intro h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  white-space: nowrap;
}

.mouse-trigger {
  margin-top: 7px;
  width: 124.446px;
  height: 124.446px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: mouse-bounce 1.3s ease-in-out infinite;
}

.mouse-trigger img {
  width: 91px;
  height: 91px;
  transform: rotate(-150deg);
}

@keyframes mouse-bounce {
  0%,
  100% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(10px);
  }
}

.hero-wrap {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  left: 50%;
  bottom: 0px;
  width: 399px;
  height: 714px;
  object-fit: contain;
  z-index: 2;
}

.outfit-row {
  position: absolute;
  left: 50%;
  bottom: 0px;
  width: 399px;
  height: 714px;
  display: none;
  transform: translateX(-50%);
  z-index: 1;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.outfit-row img {
  width: 399px;
  height: 714px;
  margin-right: 0;
  display: none;
}

.outfit-row img.active {
  display: block;
}

.download-cta {
  display: none;
}

.download-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 522px;
  height: 100vh;
  display: none;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: -5px 4px 17px rgba(0, 0, 0, 0.05);
  padding: 41px 48px max(48px, env(safe-area-inset-bottom, 0px));
  z-index: 12;
}

.download-panel h2 {
  margin: 0;
  font-size: 25px;
  flex-shrink: 0;
}

.qr-card {
  margin-top: auto;
  flex-shrink: 0;
  width: 299px;
  height: 299px;
  border-radius: 14px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
}

.qr-card img {
  width: 227px;
  height: 227px;
}

#qrText {
  margin: 35px 0 0;
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
  text-align: center;
  max-width: 100%;
}

.options-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 522px;
  height: 1080px;
  display: none;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 41px 48px 48px;
  z-index: 11;
}

.options-panel h2 {
  margin: 0;
  font-size: 25px;
  font-weight: bold;
}

/* Body stacks below header by default (z-index 5 vs 10); frame 3 needs clicks on the
   options heading at the top of the right column, so lift body above the header only here */
.scene.frame-3 .screen-body {
  z-index: 15;
}

.scene.frame-3 .options-panel {
  display: flex;
  z-index: 50;
  pointer-events: auto;
}

.scene.frame-3 .options-title {
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 51;
  pointer-events: auto;
}

/* Let clicks reach the options column instead of the full-screen hero wrapper */
.scene.frame-3 .hero-wrap {
  pointer-events: none;
}

.scene.frame-3 .hero-image {
  pointer-events: auto;
}

.scene.frame-3 .options-title:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.scene.frame-1 .options-panel,
.scene.frame-2 .options-panel,
.scene.frame-4 .options-panel {
  display: none !important;
}

.scene.frame-2 .outfit-row {
  display: flex;
}

.scene.frame-2 .hero-image {
  display: none;
}

.scene.frame-3 .intro {
  display: none;
}

.scene.frame-3 .outfit-row,
.scene.frame-4 .outfit-row {
  display: none;
}

.scene.frame-3 .hero-image,
.scene.frame-4 .hero-image {
  left: 722px;
  top: 130.778px;
  width: 476.854px;
  height: 854.363px;
  cursor: default;
}

.scene.frame-3 .lang-toggle,
.scene.frame-4 .lang-toggle {
  display: none;
}

.scene.frame-3 .download-cta,
.scene.frame-4 .download-cta {
  position: absolute;
  right: 40px;
  top: 40px;
  display: block;
  border: 0;
  background: transparent;
  font-size: 32px;
}

.music-toggle {
  display: none;
}

@media (min-width: 769px) {
  .scene.frame-3 .music-toggle,
  .scene.frame-4 .music-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 50%;
    top: max(40px, env(safe-area-inset-top, 0px));
    transform: translateX(-50%);
    z-index: 10000;
    padding: 8px 12px;
    min-height: 44px;
    min-width: 44px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    font-family: inherit;
    color: var(--text);
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
  }

  .scene.frame-3 .music-toggle .music-toggle-svg,
  .scene.frame-4 .music-toggle .music-toggle-svg {
    display: block;
    width: 28px;
    height: 28px;
  }

  .scene.frame-3 .music-toggle:hover,
  .scene.frame-4 .music-toggle:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    transform: translateX(-50%) translateY(-1px);
  }

  .scene.frame-3 .music-toggle:focus-visible,
  .scene.frame-4 .music-toggle:focus-visible {
    outline: 2px solid #000;
    outline-offset: 3px;
  }
}

/* Footer: hidden on desktop (base .screen-footer). Shown only inside @media (max-width: 768px). */
.scene.frame-4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.scene.frame-4 .screen-body,
.scene.frame-4 .screen-header,
.scene.frame-4 .screen-footer {
  z-index: 21;
}

@keyframes panel-slide-in {
  from {
    transform: translateX(36px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {

  .artboard {
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(var(--scale));
    transform-origin: top center;
  }

  .screen-header {
    height: 120px;
  }

  .screen-footer {
    height: 96px;
    z-index: 40;
    display: block;
  }

  .options-panel {
    display: none !important;
  }

  .mobile-statusbar {
    position: absolute;
    left: 0;
    top: 0;
    width: 375px;
    height: 44px;
    padding: 0 18px 0 33px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 14;
    font-family: "SF Pro Text", "Source Han Sans CN", sans-serif;
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-statusbar .icons {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mobile-statusbar .signal {
    width: 17px;
    height: 11px;
    background: linear-gradient(
      to right,
      #000 0 3px,
      transparent 3px 5px,
      #000 5px 8px,
      transparent 8px 10px,
      #000 10px 13px,
      transparent 13px 15px,
      #000 15px 17px
    );
  }

  .mobile-statusbar .wifi {
    width: 15px;
    height: 11px;
    border-top: 2px solid #000;
    border-radius: 50%;
  }

  .mobile-statusbar .battery {
    width: 25px;
    height: 12px;
    border: 1px solid #000;
    border-radius: 3px;
    position: relative;
  }

  .mobile-statusbar .battery::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 18px;
    height: 7px;
    background: #000;
  }

  .topbar {
    top: 71px;
    left: 26px;
    right: 22px;
  }

  .logo {
    width: 128px;
    height: 36.884px;
  }

  .lang-toggle {
    font-size: 16px;
    line-height: 24px;
  }

  .intro,
  .mouse-trigger,
  .outfit-row,
  .download-panel {
    display: none !important;
  }

  .hero-image {
    left: 8px;
    top: 97px;
    width: 359px;
    height: 643.208px;
    transform: none;
    display: block !important;
  }

  .download-cta {
    position: absolute;
    left: 83px;
    bottom: 26px;
    width: 209px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    display: block;
  }

  .scene.frame-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .scene.frame-2 .lang-toggle,
  .scene.frame-2 .download-cta {
    display: none;
  }

  .mobile-sheet {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 375px;
    height: 325px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 13;
  }

  .scene.frame-1 .mobile-sheet {
    display: none;
  }

  .scene.frame-2 .mobile-sheet {
    display: block;
  }

  .mobile-app-block {
    position: absolute;
    left: 122px;
    top: 55px;
    width: 133px;
    text-align: center;
  }

  .mobile-app-icon-card {
    width: 82px;
    height: 82px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 0 3.544px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-app-icon {
    width: 60.454px;
    height: 17.42px;
    object-fit: contain;
  }

  .mobile-app-name {
    margin: 14px 0 0;
    font-size: 20px;
    font-weight: 500;
  }

  .mobile-sheet-cta {
    position: absolute;
    left: 68px;
    top: 233px;
    width: 240px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-sheet-cta img {
    width: 24px;
    height: 24px;
  }
}
:root {
  --text: #000;
  --muted: #4e4e4e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
}

.site {
  height: 100vh;
}

.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.artboard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center center;
  background: #fff;
  overflow: hidden;
}

.topbar {
  position: absolute;
  top: 40px;
  left: 53px;
  right: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  width: 209px;
  height: 60px;
  object-fit: cover;
}

.lang-toggle {
  font-size: 32px;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
}

.intro {
  position: absolute;
  top: 121px;
  left: 50%;
  width: 826px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 9;
}

.intro h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  white-space: nowrap;
}

.mouse-trigger {
  margin-top: 7px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  animation: mouse-bounce 1.3s ease-in-out infinite;
  width: 124.446px;
  height: 124.446px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mouse-trigger img {
  width: 91px;
  height: 91px;
  transform: rotate(-150deg);
  transform-origin: center center;
}

@keyframes mouse-bounce {
  0%,
  100% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(10px);
  }
}

.hero-wrap {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: auto;
  height: min(714px, 70vh);
  object-fit: contain;
}

/* .outfit-row {
  position: absolute;
  left: -486px;
  top: 297px;
  width: 2974px;
  height: 714px;
  display: none;
  justify-content: flex-start;
  z-index: 1;
}

.outfit-row img {
  width: 399px;
  height: 714px;
  margin-right: -296px;
} */

.download-cta {
  display: none;
}

.mobile-sheet {
  display: none;
}

.mobile-statusbar {
  display: none;
}

.scene.frame-2 .outfit-row {
  display: flex;
}

.scene.frame-2 .hero-image {
  display: none;
}

.scene.frame-3 .intro {
  display: none;
}

.scene.frame-3 .outfit-row,
.scene.frame-4 .outfit-row {
  display: none;
}

.scene.frame-3 .hero-image,
.scene.frame-4 .hero-image {
  left: 50%;
  top: clamp(70px, 12.1vh, 130.778px);
  transform: translateX(-50%);
  width: auto;
  height: min(854.363px, 79vh);
}

.scene.frame-3 .lang-toggle,
.scene.frame-4 .lang-toggle {
  display: none;
}

.scene.frame-3 .download-cta,
.scene.frame-4 .download-cta {
  display: block;
  position: absolute;
  right: 40px;
  top: 40px;
  background: transparent;
  border: 0;
  font-size: 32px;
}

.scene.frame-4 .download-panel {
  display: flex;
}

@media (min-width: 769px) {
  .scene::before {
    display: none !important;
  }

  .mobile-sheet {
    display: none !important;
  }

  .scene.frame-1 .download-cta,
  .scene.frame-2 .download-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {

  .artboard {
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(var(--scale));
    transform-origin: top center;
  }

  .topbar {
    top: 71px;
    left: 26px;
    right: 22px;
  }

  .logo {
    width: 128px;
    height: 36.88px;
  }

  .lang-toggle {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }

  .intro {
    top: 120px;
    width: 340px;
  }

  .intro {
    display: none;
  }

  .intro h1 {
    font-size: 24px;
    white-space: normal;
  }

  .mouse-trigger img {
    width: 72px;
    height: 72px;
  }

  .hero-wrap {
    position: absolute;
    inset: 0;
  }

  .hero-image {
    left: 8px;
    top: 97px;
    transform: none;
    width: 359px;
    height: 643.208px;
  }

  .outfit-row {
    left: -120px;
    top: 220px;
    width: 1000px;
    height: 240px;
  }

  .outfit-row img {
    width: 140px;
    height: 250px;
    margin-right: -103px;
  }

  .download-cta {
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    width: 209px;
    height: 46px;
    bottom: 26px;
    left: 83px;
    transform: none;
    position: absolute;
    display: block;
    text-align: center;
  }

  .scene.frame-1 .download-cta,
  .scene.frame-2 .download-cta {
    display: block;
  }

  .scene.frame-2 .download-cta {
    display: none;
  }

  .download-panel {
    width: 100%;
    height: 325px;
    top: auto;
    bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
    padding: 55px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .qr-card {
    width: 82px;
    height: 82px;
    border-radius: 14px;
    margin-top: auto;
    flex-shrink: 0;
  }

  .qr-card img {
    width: 60px;
    height: 60px;
  }

  #qrText {
    margin: 14px 0 0;
    font-size: 20px;
    color: #000;
    flex-shrink: 0;
    text-align: center;
    max-width: 100%;
  }

  .scene.frame-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .scene.frame-2 .hero-wrap,
  .scene.frame-2 .topbar,
  .scene.frame-2 .download-cta,
  .scene.frame-2 .mobile-statusbar {
    z-index: 12;
  }

  .scene.frame-2 .lang-toggle {
    display: none;
  }

  .scene.frame-2 .outfit-row {
    display: none;
  }

  .scene.frame-2 .hero-image {
    display: block;
  }

  .scene.frame-3 .hero-image,
  .scene.frame-4 .hero-image,
  .scene.frame-2 .hero-image {
    left: 8px;
    top: 97px;
    transform: none;
    width: 359px;
    height: 643.208px;
  }

  .scene.frame-1 .download-panel {
    display: none;
  }

  .scene.frame-1 .mobile-sheet {
    display: none;
  }

  .scene.frame-2 .mobile-sheet {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 325px;
    display: block;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 13;
  }

  .scene.frame-2 .download-panel {
    display: none;
  }

  .mobile-app-block {
    position: absolute;
    left: 122px;
    top: 55px;
    width: 133px;
    text-align: center;
  }

  .mobile-app-icon-card {
    width: 82px;
    height: 82px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14.192px;
    box-shadow: 0 0 3.544px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-app-icon {
    width: 60.454px;
    height: 17.42px;
    object-fit: contain;
  }

  .mobile-app-name {
    margin: 14px 0 0;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
  }

  .mobile-sheet-cta {
    position: absolute;
    left: 68px;
    top: 233px;
    width: 240px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-sheet-cta img {
    width: 24px;
    height: 24px;
  }

  .mobile-statusbar {
    position: absolute;
    left: 0;
    top: 0;
    width: 375px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 33px;
    z-index: 14;
    font-family: "SF Pro Text", "Source Han Sans CN", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }

  .mobile-statusbar .icons {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mobile-statusbar .signal {
    width: 17px;
    height: 11px;
    background: linear-gradient(
      to right,
      #000 0 3px,
      transparent 3px 5px,
      #000 5px 8px,
      transparent 8px 10px,
      #000 10px 13px,
      transparent 13px 15px,
      #000 15px 17px
    );
    border-radius: 1px;
  }

  .mobile-statusbar .wifi {
    width: 15px;
    height: 11px;
    border-top: 2px solid #000;
    border-radius: 50%;
    position: relative;
    margin-top: 2px;
  }

  .mobile-statusbar .wifi::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: -1px;
    border-top: 2px solid #000;
    border-radius: 50%;
  }

  .mobile-statusbar .battery {
    width: 25px;
    height: 12px;
    border: 1px solid #000;
    border-radius: 3px;
    position: relative;
  }

  .mobile-statusbar .battery::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 7px;
    background: #000;
    border-radius: 1px;
  }

  .mobile-statusbar .battery::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: #000;
    border-radius: 1px;
  }
}

/* Viewport-height anchored hero sizing */
.hero-image {
  width: auto;
  height: min(70vh, 714px);
}

.scene.frame-3 .hero-image,
.scene.frame-4 .hero-image {
  width: auto;
  height: min(79vh, 854.363px);
}

/* Keep outfit-row visuals consistent with hero-image */
.outfit-row {
  left: 50%;
  top: 297px;
  transform: translateX(-50%);
  width: auto;
  height: min(70vh, 714px);
  overflow: visible;
}

.outfit-row img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-image,
  .scene.frame-2 .hero-image,
  .scene.frame-3 .hero-image,
  .scene.frame-4 .hero-image {
    left: 50%;
    top: 97px;
    transform: translateX(-50%);
    width: auto;
    /* Keep visible space for bottom CTA/sheet trigger area */
    height: min(calc(100vh - 170px), 643.208px);
  }

  .outfit-row,
  .scene.frame-2 .outfit-row {
    left: 50%;
    top: 97px;
    transform: translateX(-50%);
    width: auto;
    height: min(calc(100vh - 170px), 643.208px);
  }

  .download-cta {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: min(209px, calc(100vw - 48px));
    z-index: 999;
  }

  .scene.frame-1 .download-cta {
    display: block !important;
  }

  .scene.frame-2 .download-cta {
    display: none !important;
  }
}

/* Hero as div (match outfit-row container approach) */
.hero-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hero-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Frames 3–4: no intro (headline + mouse); wins over duplicate rules in this file */
.scene.frame-3 .intro,
.scene.frame-4 .intro {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

@keyframes outfit-door-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes outfit-door-right {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

/* Desktop: frame 2 = full-width row (wider columns, less side crop on cover), bottom-aligned like hero */
@media (min-width: 769px) {
  .scene.frame-2 .outfit-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: auto;
    height: min(714px, 70vh);
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 4;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .scene.frame-2 .outfit-row::before,
  .scene.frame-2 .outfit-row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 8;
    pointer-events: none;
    background: #fff;
    box-shadow: none;
  }

  .scene.frame-2 .outfit-row::before {
    left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .scene.frame-2 .outfit-row::after {
    left: 50%;
    border-radius: 0;
    box-shadow: none;
  }

  .scene.frame-2 .outfit-row.outfit-row--anim::before {
    animation: outfit-door-left 0.95s cubic-bezier(0.28, 0.9, 0.32, 1) forwards;
  }

  .scene.frame-2 .outfit-row.outfit-row--anim::after {
    animation: outfit-door-right 0.95s cubic-bezier(0.28, 0.9, 0.32, 1) forwards;
  }

  .scene.frame-2 .outfit-row img {
    display: block !important;
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    width: 0;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    transform: none;
    opacity: 1;
  }

  .scene.frame-4 .outfit-row {
    display: none !important;
  }
}

/* Privacy policy page */
.legal-site {
  height: auto;
  min-height: 100vh;
}

.scene.legal-page {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

.scene.legal-page .screen-header {
  position: sticky;
  top: 0;
  background: #fff;
  height: auto;
  min-height: 140px;
}

.logo-link {
  display: inline-flex;
  line-height: 0;
}

.legal-scroll {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 53px 80px;
  z-index: 5;
}

.legal-doc--hidden {
  display: none;
}

.legal-doc h1 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
}

.legal-doc h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

.legal-doc h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.legal-doc p,
.legal-doc li {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.legal-meta {
  color: var(--muted);
  font-size: 15px;
}

.legal-item strong {
  font-weight: 500;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.35em;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-contact a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .scene.legal-page .screen-header {
    min-height: 120px;
  }

  .legal-scroll {
    padding: 16px 26px 48px;
  }

  .legal-doc h1 {
    font-size: 24px;
  }

  .legal-doc h2 {
    margin-top: 32px;
    font-size: 20px;
  }

  .legal-doc h3 {
    font-size: 17px;
  }

  .legal-doc p,
  .legal-doc li {
    font-size: 15px;
  }
}
