* {
  box-sizing: border-box;
}

html {
  background: #000;
  scroll-behavior: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
}

.phone-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

.catalog-cycle {
  width: 100%;
  margin: 0;
  padding: 0;
}

.costume-link {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  background: #000;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 675px 1200px;
}

.costume-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.costume-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.noscript {
  position: fixed;
  inset: auto 12px 12px;
  max-width: 420px;
  margin: auto;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  z-index: 9999;
}

@media (min-width: 560px) {
  body {
    background:
      radial-gradient(circle at center top, #252525 0, #0c0c0c 42%, #000 100%);
  }

  .phone-shell {
    box-shadow: 0 0 55px rgba(0, 0, 0, .85);
  }
}

@media (max-width: 559px) {
  .phone-shell {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
