* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0b1f3a;   /* was #fff — dark blue */
  color: #fff;           /* was #111 — white */
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
main {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* Carousel */
.carousel {
  overflow: hidden;
  border-radius: 20px;
  background: #071428;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  touch-action: pan-y;
  user-select: none;
}
.track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1242 / 2208;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 8px;
}
.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #ccc;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.dots button.active { width: 22px; background: #fff; }

/* Text */
h1 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 18px 0 6px;
}
.age { font-weight: 400; color: #b8c4d6; }
.location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #dbe3ee;
}
.location svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
hr {
  border: 0;
  border-top: 1px solid #2a3f5f;
  margin: 22px 0 18px;
}
.row { margin-bottom: 16px; }
h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb0c8;
  margin: 0 0 8px;
}
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 6px 14px;
  border: 1px solid #fff;
  border-radius: 99px;
  font-size: 16px;
}
.tags.dislike li { border-style: dashed; color: #b8c4d6; border-color: #6b7f9e; }

@media (prefers-reduced-motion: reduce) {
  .track { transition: none; }
}

/* Name row with heart like button */
.name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 6px;
}
.name-row h1 { margin: 0; }

.like-btn {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.like-btn svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  transition: fill 0.2s, stroke 0.2s, transform 0.15s;
}
.like-btn:active svg { transform: scale(0.85); }
.like-count {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

/* liked state */
.like-btn.liked svg { fill: #ff3b5c; stroke: #ff3b5c; }
.like-btn.liked .like-count { color: #ff3b5c; }
.like-btn.pop svg { animation: pop 0.4s ease; }
@keyframes pop {
  50% { transform: scale(1.3); }
}

/* Top-right link button */
.corner-link {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 99px;
  background: #fff;
  color: #0b1f3a;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.corner-link:hover { transform: scale(1.05); }
.corner-link:active { transform: scale(0.95); }