:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #050505;
  --line: #f0f0f0;
  --tile: #f6f6f6;
  --nav-height: 64px;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  padding-top: var(--nav-height);
}

body.has-home-hero {
  padding-top: 0;
}

body.is-search-open,
body.is-download-open,
body.is-detail-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.outfits-page {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
}

.home-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(clamp(520px, calc(100svh - 180px), 650px) + var(--nav-height));
  padding: calc(48px + var(--nav-height)) 24px 135px;
  overflow: hidden;
  background-color: #fbfbfa;
  background-image: radial-gradient(#e3e3e1 0.8px, transparent 0.8px);
  background-size: 18px 18px;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72), transparent 72%);
  pointer-events: none;
  content: "";
}

.home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 230px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%);
  pointer-events: none;
  content: "";
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  text-align: center;
}

.home-hero-eyebrow {
  color: #666;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.17em;
}

.home-hero-eyebrow {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid #e6e6e4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.home-hero h1 {
  max-width: 760px;
  margin: 20px auto 16px;
  font-size: clamp(46px, 5.2vw, 66px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.home-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #666;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
}

.home-hero p span {
  display: block;
}

.hero-search-form {
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(100%, 690px);
  height: 74px;
  margin: 34px auto 0;
  padding: 9px 10px 9px 22px;
  border: 1px solid #e9e9e7;
  border-radius: 22px;
  background: #fff;
  color: #666;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.hero-search-form:focus-within {
  border-color: #aaa;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.hero-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #050505;
  font: inherit;
  font-size: 17px;
}

.hero-search-form input::placeholder {
  color: #888;
  opacity: 1;
}

.hero-search-form input::-webkit-search-cancel-button {
  display: none;
}

.hero-search-submit {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #050505;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  line-height: 1;
}

.hero-search-submit:hover {
  background: #333;
}

.hero-search-submit:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 4px;
}

#outfitGrid {
  scroll-margin-top: calc(var(--nav-height) + 8px);
}

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
  background: #fff;
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

body.has-home-hero .site-nav:not(.is-glass) {
  background: transparent;
}

.nav-segment {
  position: absolute;
  left: 50%;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(68px, 1fr));
  gap: 2px;
  width: min(200px, calc(100vw - 220px));
  min-width: 150px;
  height: 36px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.055);
  transform: translateX(-50%);
}

.nav-segment-button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.nav-segment-button.is-active {
  background: rgba(255, 255, 255, 0.94);
  color: #050505;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav.is-glass {
  background: rgba(255, 255, 255, 0.82);
  border-color: transparent;
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  cursor: pointer;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #050505;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.search-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #050505;
  cursor: pointer;
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

.search-glyph {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.search-glyph::before,
.search-glyph::after {
  position: absolute;
  content: "";
}

.search-glyph::before {
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-glyph::after {
  top: 14px;
  left: 13px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.download-button:focus-visible,
.search-button:focus-visible,
.nav-segment-button:focus-visible,
.detail-close-button:focus-visible,
.detail-media-arrow:focus-visible,
.detail-media-dot:focus-visible,
.detail-creator-button:focus-visible,
.download-prompt-close:focus-visible,
.app-store-link:focus-visible,
.theme-image-shell:focus-visible,
.detail-item:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 2px;
  padding: 2px;
}

.outfit-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.45;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.outfit-tile:focus-visible {
  outline: 2px solid #050505;
  outline-offset: -2px;
}

.outfit-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms ease;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .outfit-tile:hover > img {
    transform: scale(1.035);
  }
}

.outfit-tile.is-loading {
  background:
    linear-gradient(90deg, #f3f3f3, #fbfbfb, #f3f3f3) 0 0 / 220% 100%;
  animation: shimmer 1200ms linear infinite;
}

.outfit-tile.is-empty {
  background:
    linear-gradient(135deg, #fafafa 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(135deg, transparent 75%, #fafafa 75%) 0 0 / 18px 18px,
    #f4f4f4;
}

.outfit-detail {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.54);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.outfit-detail.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.outfit-detail-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(360px, 1fr);
  width: min(1180px, calc(100vw - 48px));
  height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.detail-close-button {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #050505;
  cursor: pointer;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.detail-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 68px 42px 50px;
  background: #fff;
}

.detail-media-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.detail-media-track::-webkit-scrollbar {
  display: none;
}

.detail-media-page {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
}

.detail-media-page img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: left center;
}

.detail-media-page.is-white img {
  --white-image-inset: clamp(16px, 2.5vh, 28px);
  top: var(--white-image-inset);
  height: calc(100% - var(--white-image-inset) - var(--white-image-inset));
}

.detail-media > .detail-media-brand {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.detail-media-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #050505;
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.detail-media-arrow.is-previous {
  left: 5px;
}

.detail-media-arrow.is-next {
  right: 5px;
}

.detail-media-arrow span {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.detail-media-arrow.is-previous span {
  margin-left: 3px;
  transform: rotate(-135deg);
}

.detail-media-arrow.is-next span {
  margin-right: 3px;
  transform: rotate(45deg);
}

.detail-media-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.detail-media-arrow[hidden] {
  display: none;
}

.detail-media-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.detail-media-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.detail-media-dot.is-active {
  background: #050505;
}

.detail-content {
  position: relative;
  min-width: 0;
  overflow-y: auto;
  padding: 34px 30px 40px;
}

.detail-creator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-right: 42px;
}

.detail-creator-button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.detail-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: #ececec;
  color: rgba(0, 0, 0, 0.5);
  font-size: 18px;
  font-weight: 720;
}

.detail-creator-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.detail-creator-copy strong,
.detail-creator-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-creator-copy .detail-creator-label {
  color: rgba(0, 0, 0, 0.42);
  font-size: 10px;
  font-weight: 680;
  text-transform: uppercase;
}

.detail-creator-copy strong {
  font-size: 15px;
  font-weight: 720;
}

.detail-creator-copy span {
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
}

.detail-score {
  display: grid;
  justify-items: end;
  min-width: 76px;
  gap: 1px;
}

.detail-score strong {
  color: #146d59;
  font-size: 26px;
  font-weight: 780;
  line-height: 1;
}

.detail-score span,
.detail-label,
.detail-items-heading span {
  color: rgba(0, 0, 0, 0.48);
  font-size: 11px;
  font-weight: 680;
  text-transform: uppercase;
}

.detail-theme {
  padding: 42px 0 34px;
  border-bottom: 1px solid var(--line);
}

.detail-theme h1 {
  margin: 8px 0 10px;
  font-size: 34px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.05;
}

.detail-theme p {
  margin: 0;
  color: rgba(0, 0, 0, 0.66);
  font-size: 15px;
  line-height: 1.5;
}

.detail-items-section {
  padding-top: 28px;
}

.detail-items-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-items-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 760;
}

.detail-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 10px;
}

.detail-item {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.detail-item-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 4px;
  background: #f6f6f6;
}

.detail-item-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-item-image.is-empty {
  background: #ededed;
}

.detail-item strong,
.detail-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-item strong {
  font-size: 12px;
  font-weight: 680;
}

.detail-item span {
  color: rgba(0, 0, 0, 0.48);
  font-size: 11px;
}

.outfit-detail.is-loading .detail-content::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.14);
  border-top-color: #050505;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  animation: detailSpin 700ms linear infinite;
}

.download-prompt {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.44);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 160ms ease,
    visibility 160ms ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.download-prompt.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.download-prompt-panel {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(360px, calc(100vw - 40px));
  padding: 32px 28px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.download-prompt-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #050505;
  cursor: pointer;
}

.download-prompt-logo {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.download-prompt-qr {
  width: 172px;
  height: 172px;
}

.download-prompt-panel p {
  max-width: 280px;
  margin: 18px 0 16px;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.3;
}

.app-store-link {
  display: block;
  line-height: 0;
}

.app-store-link img {
  width: auto;
  height: 48px;
}

.theme-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 10px 32px;
}

.theme-card {
  min-width: 0;
}

.theme-title {
  margin: 0 6px 10px;
  overflow: hidden;
  color: #050505;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
  border-radius: 8px;
}

.theme-image-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.28;
  padding: 0;
  border: 0;
  background: #fff;
}

a.theme-image-shell {
  display: block;
  cursor: pointer;
}

.theme-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.theme-image-shell.is-empty {
  background:
    linear-gradient(135deg, #fafafa 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(135deg, transparent 75%, #fafafa 75%) 0 0 / 18px 18px,
    #f4f4f4;
}

.theme-card.is-loading .theme-title-placeholder,
.theme-card.is-loading .theme-image-shell {
  background:
    linear-gradient(90deg, #f3f3f3, #fbfbfb, #f3f3f3) 0 0 / 220% 100%;
  animation: shimmer 1200ms linear infinite;
}

.theme-title-placeholder {
  width: min(420px, 68%);
  height: 26px;
  margin: 0 6px 10px;
  border-radius: 8px;
}

.sentinel {
  width: 100%;
  height: 1px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 20px 40px;
  color: #777;
  font-size: 12px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #050505;
  text-decoration: underline;
}

.footer-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.footer-loader.is-visible {
  opacity: 1;
}

.footer-loader-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  animation: footerPulse 900ms ease-in-out infinite;
}

.footer-loader-dot:nth-child(2) {
  animation-delay: 120ms;
}

.footer-loader-dot:nth-child(3) {
  animation-delay: 240ms;
}

.search-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  overflow: auto;
  background: rgba(255, 255, 255, 0.86);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.search-close-button {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #050505;
  cursor: pointer;
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

.close-glyph {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.close-glyph::before,
.close-glyph::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.close-glyph::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-glyph::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.search-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(620px, calc(100vw - 36px));
  margin: 0;
  transform: translate(-50%, -50%);
  transition:
    top 220ms ease,
    transform 220ms ease,
    width 220ms ease;
}

.search-overlay.has-results .search-panel {
  top: max(86px, calc(env(safe-area-inset-top) + 70px));
  transform: translateX(-50%);
}

.search-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(0, 0, 0, 0.48);
  box-shadow:
    0 12px 42px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
}

.search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #050505;
  font: inherit;
  font-size: 22px;
  font-weight: 520;
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-input::placeholder {
  color: rgba(0, 0, 0, 0.48);
  opacity: 1;
}

.search-results {
  display: none;
  width: 100%;
  padding-top: 168px;
}

.search-overlay.has-results .search-results {
  display: grid;
}

.search-footer-loader {
  display: none;
}

.search-overlay.has-results .search-footer-loader {
  display: flex;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes shimmer {
  to {
    background-position-x: -220%;
  }
}

@keyframes footerPulse {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes detailSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 719px) {
  .outfit-detail {
    padding: 0;
  }

  .outfit-detail-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: min(52vh, 460px) minmax(0, 1fr);
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .detail-media {
    padding: 62px 42px 42px;
  }

  .detail-media-page img {
    object-position: center;
  }

  .detail-content {
    padding: 24px 20px 36px;
  }

  .detail-creator {
    padding-right: 0;
  }

  .detail-theme {
    padding: 30px 0 26px;
  }

  .detail-theme h1 {
    font-size: 28px;
  }
}

@media (min-width: 720px) {
  .outfit-grid {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  }
}

@media (min-width: 1000px) {
  .detail-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
  }
}

@media (min-width: 1160px) {
  .detail-items {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .outfit-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --nav-height: 58px;
  }

  .home-hero {
    min-height: calc(min(555px, calc(100svh - 150px)) + var(--nav-height));
    padding: calc(68px + var(--nav-height)) 22px 78px;
  }

  .home-hero h1 {
    margin: 20px auto 18px;
    font-size: clamp(40px, 10vw, 54px);
  }

  .home-hero p {
    font-size: 15px;
  }

  .hero-search-form {
    height: 64px;
    margin-top: 30px;
    padding: 7px 8px 7px 17px;
    border-radius: 19px;
  }

  .hero-search-form input {
    font-size: 16px;
  }

  .hero-search-submit {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .home-hero p span {
    display: inline;
  }

  .site-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-segment {
    position: static;
    justify-self: center;
    width: 132px;
    min-width: 132px;
    height: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }

  .nav-segment-button {
    padding: 0 4px;
    font-size: 10px;
  }

  .brand-link {
    width: 38px;
    height: 38px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 7px;
  }

  .download-button {
    min-width: 78px;
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .search-button {
    width: 32px;
    height: 34px;
  }

  .nav-actions {
    gap: 5px;
  }

  .search-panel {
    width: calc(100vw - 28px);
  }

  .search-overlay.has-results .search-panel {
    top: max(72px, calc(env(safe-area-inset-top) + 60px));
  }

  .search-field {
    height: 52px;
    padding: 0 18px;
  }

  .search-input {
    font-size: 19px;
  }

  .search-results {
    padding-top: 138px;
  }

  .outfit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-list {
    gap: 22px;
    padding: 12px 2px 28px;
  }

  .theme-title {
    margin-right: 8px;
    margin-left: 8px;
    font-size: 20px;
  }

  .theme-strip {
    border-radius: 0;
  }
}

@media (max-width: 360px) {
  .download-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 0;
  }

  .download-button::after {
    content: "Get";
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

[hidden] { display: none !important; }
.theme-title-link {
  padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.theme-title-link:hover { opacity: .65; }
.theme-title-link:focus-visible, .page-back:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
.theme-page { padding: 24px 16px 48px; }
.theme-page-header { max-width: 900px; margin: 0 auto 52px; text-align: center; }
.page-back {
  display: inline-block; border: 1px solid #dedede; border-radius: 999px;
  padding: 10px 18px; background: #fff; color: #111;
  font: inherit; font-size: 14px; cursor: pointer;
}
.theme-page-header h1 { margin: 8px 0; font-size: clamp(30px, 5vw, 54px); letter-spacing: -.035em; }
.theme-page-count { margin: 16px 0 0; color: #777; font-size: 13px; }
.theme-page-description { margin: 0; color: #666; line-height: 1.6; white-space: pre-line; }
.theme-page-status { text-align: center; color: #777; font-size: 14px; }
.theme-load-more { display: block; margin: 24px auto; }
.ranked-grid .outfit-tile { display: flex; flex-direction: column; aspect-ratio: auto; }
.ranked-grid .outfit-tile > img { width: 100%; aspect-ratio: 1 / 1.45; object-fit: contain; height: auto; transform-origin: center top; }
.ranked-grid .outfit-tile.is-empty > img { min-height: 240px; }
.submission-caption { order: -1; display: flex; align-items: center; gap: 10px; padding: 12px 10px 18px; width: 100%; }
.submission-caption strong {
  display: grid; flex: 0 0 36px; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 122, 255, 0.11); color: #007aff;
  font-size: 15px; font-weight: 700; line-height: 1;
}
.submission-caption > span { color: #666; font-size: 13px; font-weight: 600; }
/* Submission URLs are pages, while retaining the gallery in memory for Back. */
.outfit-detail { padding: 0; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
.outfit-detail-panel { width: 100%; max-width: 1400px; height: 100%; border-radius: 0; box-shadow: none; }
.outfit-detail.is-loading .detail-content > * { visibility: visible; }
.outfit-detail.is-loading .detail-content::after { display: none; }
.outfit-detail.is-loading .detail-items { min-height: 120px; background: linear-gradient(90deg, #fafafa, #f0f0f0, #fafafa); background-size: 200% 100%; animation: shimmer 1.4s ease infinite; }
@media (max-width: 560px) {
  .theme-page { padding: 20px 0 32px; }
  .theme-page-header { padding: 0 20px; margin-bottom: 40px; }
  .submission-caption { padding: 8px 4px 14px; gap: 8px; }
  .submission-caption strong { flex-basis: 32px; width: 32px; height: 32px; font-size: 14px; }
  .submission-caption > span { font-size: 11px; }
}

.back-glyph { font-size: 24px; line-height: 1; }

.about-page {
  width: min(100% - 48px, 800px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0 60px;
}
.about-eyebrow {
  margin: 0 0 20px;
  color: #777;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
}
.about-page h1 {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 680;
  letter-spacing: -.07em;
  line-height: .98;
}
.about-intro {
  max-width: 690px;
  margin: 0 0 76px;
  color: #444;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
}
.about-page section {
  padding: 36px 0 40px;
  border-top: 1px solid #e8e8e8;
}
.about-page h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.045em;
}
.about-page section p {
  max-width: 690px;
  margin: 0 0 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}
.about-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #111;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.about-link:hover, .about-link:focus-visible { text-decoration: underline; }
@media (max-width: 560px) {
  .about-page { width: min(100% - 40px, 800px); padding-top: 58px; }
  .about-intro { margin-bottom: 54px; }
  .about-page section { padding: 30px 0 34px; }
}
