:root {
  --bg: #0c0c0c;
  --card: #1a1a1a;
  --ink: #f4f1ec;
  --muted: #9a948c;
  --faint: #6a655e;
  --line: rgba(244, 241, 236, 0.12);
  --glow: rgba(244, 241, 236, 0.1);
  --screen: 22px;
  --stack: 14px;
  --section: 28px;
  --card-radius: 22px;
  --media-radius: 18px;
  --page: 480px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse 80% 42% at 50% 6%, var(--glow), transparent 70%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

.page {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 20px var(--screen) 56px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.avatar {
  width: 92px;
  height: 92px;
  margin-top: 8px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(244, 241, 236, 0.12);
}

.avatar.fallback {
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 300;
}

.handle {
  font-size: 20px;
  font-weight: 500;
}

.bio {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-line;
}

.socials {
  display: flex;
  gap: 18px;
  padding-top: 4px;
}

.social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.18s ease;
}

.social:active {
  transform: scale(0.985);
}

.social svg {
  width: 15px;
  height: 15px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabs {
  display: flex;
  gap: 0;
  margin: var(--section) 0;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.tab {
  flex: 1;
  padding: 11px 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.tab.is-on {
  background: var(--ink);
  color: var(--bg);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack);
}

.cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 20px rgba(12, 12, 12, 0.4);
  transition: transform 0.18s ease;
}

.cover:active {
  transform: scale(0.985);
}

.cover-media {
  aspect-ratio: 1;
  background: #fff;
}

.cover-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.mosaic {
  display: flex;
  gap: 3px;
  height: 100%;
}

.mosaic-main {
  width: 52%;
  background: var(--card);
}

.mosaic-side {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}

.mosaic img,
.tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--card);
}

.cover-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 52%, rgba(12, 12, 12, 0.88));
  pointer-events: none;
}

.cover-copy {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
}

.cover-copy h2 {
  font-size: 22px;
  font-weight: 300;
}

.cover-copy p {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 241, 236, 0.86);
}

.link-row {
  display: block;
  padding: 18px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  transition: transform 0.18s ease;
}

.link-row:active {
  transform: scale(0.985);
}

.look-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.look-bar h1 {
  flex: 1;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.6px;
}

.look-count {
  margin: 8px 0 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.product-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--media-radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.18s ease;
}

.product:active .product-photo {
  transform: scale(0.985);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.product-price {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.status {
  padding: 80px 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.hidden {
  display: none;
}
