:root {
  color-scheme: dark;
  --bg: #08070a;
  --ink: #fff7fb;
  --muted: #b9aeb7;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --hot: #ff0074;
  --rose: #ff6ba8;
  --aqua: #6ff4ff;
  --lime: #d7ff67;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 116, 0.25), transparent 28rem),
    radial-gradient(circle at 85% 20%, rgba(111, 244, 255, 0.16), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: -18vh -12vw;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 0, 116, 0.12), transparent 30rem),
    radial-gradient(circle at 76% 18%, rgba(111, 244, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 54% 82%, rgba(215, 255, 103, 0.055), transparent 24rem);
  filter: blur(8px);
  opacity: 0.84;
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0);
  animation: slowGradientDrift 34s ease-in-out infinite alternate;
}

body::selection {
  background: var(--hot);
  color: white;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field::before,
.ambient-field::after {
  content: "";
  position: absolute;
  inset: -12%;
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.54) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 0, 116, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(111, 244, 255, 0.34) 0 1px, transparent 2px);
  background-position: 0 0, 42px 84px, 108px 22px;
  background-size: 160px 170px, 230px 240px, 300px 280px;
  filter: blur(0.35px);
  animation: particleField 42s linear infinite;
}

.ambient-field::after {
  opacity: 0.14;
  transform: scale(1.2);
  animation-duration: 68s;
  animation-direction: reverse;
}

.ambient-field span {
  position: absolute;
  display: block;
}

.ambient-glow {
  width: clamp(180px, 24vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.24;
  filter: blur(46px);
  mix-blend-mode: screen;
  animation: ambientGlow 18s ease-in-out infinite alternate;
}

.ambient-glow--one {
  left: -120px;
  top: 18vh;
  background: rgba(255, 0, 116, 0.38);
}

.ambient-glow--two {
  right: -150px;
  top: 52vh;
  background: rgba(111, 244, 255, 0.22);
  animation-delay: -6s;
}

.ambient-glow--three {
  left: 42vw;
  bottom: -180px;
  background: rgba(255, 107, 168, 0.2);
  animation-delay: -11s;
}

.ambient-heart {
  width: 18px;
  height: 18px;
  opacity: 0.11;
  filter: blur(2px);
  transform: rotate(-45deg);
  background: rgba(255, 247, 251, 0.72);
  animation: ambientHeart 24s ease-in-out infinite;
}

.ambient-heart::before,
.ambient-heart::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: inherit;
}

.ambient-heart::before {
  top: -9px;
  left: 0;
}

.ambient-heart::after {
  left: 9px;
  top: 0;
}

.ambient-heart--one {
  left: 12vw;
  top: 28vh;
}

.ambient-heart--two {
  right: 16vw;
  top: 18vh;
  width: 14px;
  height: 14px;
  animation-delay: -7s;
}

.ambient-heart--two::before,
.ambient-heart--two::after {
  width: 14px;
  height: 14px;
}

.ambient-heart--two::before {
  top: -7px;
}

.ambient-heart--two::after {
  left: 7px;
}

.ambient-heart--three {
  left: 66vw;
  bottom: 18vh;
  animation-delay: -13s;
}

.ambient-heart--four {
  left: 28vw;
  bottom: 8vh;
  width: 12px;
  height: 12px;
  animation-delay: -18s;
}

.ambient-heart--four::before,
.ambient-heart--four::after {
  width: 12px;
  height: 12px;
}

.ambient-heart--four::before {
  top: -6px;
}

.ambient-heart--four::after {
  left: 6px;
}

.ambient-dust {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 247, 251, 0.52);
  box-shadow: 0 0 18px rgba(255, 247, 251, 0.65);
  opacity: 0.22;
  animation: ambientDust 16s ease-in-out infinite;
}

.ambient-dust--one {
  left: 9vw;
  top: 58vh;
}

.ambient-dust--two {
  left: 24vw;
  top: 16vh;
  animation-delay: -3s;
}

.ambient-dust--three {
  left: 38vw;
  top: 76vh;
  animation-delay: -6s;
}

.ambient-dust--four {
  right: 34vw;
  top: 38vh;
  animation-delay: -9s;
}

.ambient-dust--five {
  right: 22vw;
  top: 70vh;
  animation-delay: -12s;
}

.ambient-dust--six {
  right: 8vw;
  top: 30vh;
  animation-delay: -15s;
}

.ambient-dust--seven {
  left: 54vw;
  top: 10vh;
  animation-delay: -18s;
}

.ambient-dust--eight {
  left: 76vw;
  bottom: 8vh;
  animation-delay: -21s;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.anniversary-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 0, 116, 0.24), transparent 28rem),
    rgba(8, 7, 10, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.anniversary-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.anniversary-overlay__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.anniversary-overlay__backdrop::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(255, 0, 116, 0.64), transparent, rgba(111, 244, 255, 0.38), transparent);
  mask: radial-gradient(circle, transparent 58%, #000 59%, #000 60%, transparent 61%);
  animation: anniversaryHalo 10s linear infinite;
}

.anniversary-overlay__backdrop span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 28px rgba(255, 0, 116, 0.95);
  animation: anniversaryBurst 4.8s ease-in-out infinite;
}

.anniversary-overlay__backdrop span:nth-child(2) {
  background: var(--aqua);
  animation-delay: -1.2s;
  animation-name: anniversaryBurstTwo;
}

.anniversary-overlay__backdrop span:nth-child(3) {
  background: var(--rose);
  animation-delay: -2.4s;
  animation-name: anniversaryBurstThree;
}

.anniversary-overlay__backdrop span:nth-child(4) {
  background: var(--lime);
  animation-delay: -3.4s;
  animation-name: anniversaryBurstFour;
}

.anniversary-overlay__card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 10, 15, 0.76);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(24px);
  text-align: center;
  transform: translateY(20px) scale(0.98);
}

.anniversary-overlay.is-visible .anniversary-overlay__card {
  animation: anniversaryCardIn 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anniversary-overlay__card p {
  margin-bottom: 18px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.anniversary-overlay__card h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
}

.anniversary-overlay__card strong {
  display: block;
  margin: 0 auto 30px;
  width: min(480px, 100%);
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 0, 116, 0.22), transparent 28rem),
    radial-gradient(circle at 72% 76%, rgba(111, 244, 255, 0.12), transparent 30rem),
    rgba(8, 7, 10, 0.88);
  backdrop-filter: blur(18px);
}

.auth-screen[hidden] {
  display: none;
}

.auth-card {
  position: relative;
  width: min(480px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 10, 15, 0.78);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.56);
}

.auth-card h1 {
  width: 100%;
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 58px);
}

.auth-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-error {
  margin: -2px 0 0;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  --hero-edge: max(clamp(18px, 6vw, 96px), calc((100vw - 1180px) / 2));
  min-height: clamp(760px, 88vh, 1080px);
  padding: 22px clamp(18px, 4vw, 64px) 58px;
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.celebration-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 72px 100%,
    radial-gradient(circle at 84% 30%, rgba(255, 0, 116, 0.16), transparent 26rem),
    radial-gradient(circle at 78% 74%, rgba(111, 244, 255, 0.09), transparent 28rem);
  animation: heroSceneDrift 28s ease-in-out infinite alternate;
}

.year-stamp {
  position: absolute;
  right: calc(var(--hero-edge) + clamp(92px, 11vw, 210px));
  top: clamp(146px, 22vh, 220px);
  display: grid;
  gap: 0;
  color: rgba(255, 247, 251, 0.12);
  text-transform: uppercase;
  animation: stampDrift 9s ease-in-out infinite;
}

.year-stamp span {
  font-size: clamp(150px, 18vw, 270px);
  font-weight: 800;
  line-height: 0.76;
}

.year-stamp small {
  color: rgba(255, 0, 116, 0.68);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.anniversary-line {
  position: absolute;
  right: calc(var(--hero-edge) + clamp(0px, 3vw, 58px));
  top: 48%;
  width: min(45vw, 560px);
  height: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}

.anniversary-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 26%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--hot), transparent);
  filter: drop-shadow(0 0 16px rgba(255, 0, 116, 0.62));
  animation: dateSweep 5.8s ease-in-out infinite;
}

.anniversary-line span {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.anniversary-line span:nth-child(4n) {
  height: 34px;
  background: rgba(255, 0, 116, 0.58);
}

.date-card,
.name-lockup {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 9, 12, 0.66);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.date-card {
  right: calc(var(--hero-edge) + clamp(120px, 14vw, 260px));
  top: clamp(390px, 55vh, 500px);
  min-width: 178px;
  padding: 18px 20px;
}

.date-card strong {
  display: block;
  color: var(--ink);
  font-size: 52px;
  font-weight: 800;
  line-height: 0.85;
}

.date-card span {
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.name-lockup {
  right: var(--hero-edge);
  top: clamp(210px, 31vh, 310px);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  animation: nameFloat 7s ease-in-out infinite;
}

.name-lockup b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.name-lockup i {
  width: 28px;
  height: 1px;
  background: var(--hot);
  box-shadow: 0 0 16px rgba(255, 0, 116, 0.72);
}

.gift-trace {
  position: absolute;
  right: calc(var(--hero-edge) + clamp(12px, 5vw, 110px));
  top: 22vh;
  width: min(43vw, 520px);
  height: 260px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(-18deg);
}

.gift-trace::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 24px rgba(255, 0, 116, 0.86);
  animation: traceDot 6.4s linear infinite;
}

.gift-trace--two {
  right: calc(var(--hero-edge) + clamp(72px, 9vw, 190px));
  top: 31vh;
  width: min(30vw, 360px);
  height: 170px;
  transform: rotate(12deg);
  border-color: rgba(255, 0, 116, 0.15);
}

.gift-trace--two::after {
  background: var(--aqua);
  box-shadow: 0 0 24px rgba(111, 244, 255, 0.7);
  animation-duration: 8s;
  animation-direction: reverse;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: clamp(128px, 15vw, 178px);
  display: inline-flex;
  filter: drop-shadow(0 12px 32px rgba(255, 0, 116, 0.28));
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
}

.topbar__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.topbar__links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.topbar__auth {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-logout {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.auth-logout:hover {
  border-color: rgba(255, 107, 168, 0.4);
}

.hero__content {
  width: min(1180px, 100%);
  margin: 0 auto;
  align-self: center;
  padding: 5vh 0 8vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: min(710px, 100%);
  margin-bottom: 22px;
  font-size: clamp(40px, 5.7vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  width: min(620px, 100%);
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: rgba(255, 0, 116, 0.7);
  background: linear-gradient(135deg, var(--hot), #ff7cb7);
  box-shadow: 0 18px 44px rgba(255, 0, 116, 0.28);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero__preview {
  position: absolute;
  right: var(--hero-edge);
  top: clamp(560px, 58vh, 650px);
  width: min(380px, calc(100% - 36px));
  height: 230px;
}

.preview-card {
  position: absolute;
  width: 280px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 10, 15, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(var(--lift-x, 0px), var(--lift-y, 0px), 0);
  transform-style: preserve-3d;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.preview-card--main {
  right: 0;
  top: 0;
  animation: cardLift 6s ease-in-out infinite;
}

.preview-card--side {
  left: 0;
  bottom: 0;
  --card-rotate: -4deg;
  rotate: -4deg;
  animation: cardLift 6.5s ease-in-out infinite reverse;
}

.preview-card:hover {
  border-color: rgba(255, 107, 168, 0.38);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.46),
    0 0 42px rgba(255, 0, 116, 0.16);
}

.preview-card__owner {
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.anniversary,
.wishlist-layout,
.add-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.anniversary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.anniversary::before {
  content: "";
  position: absolute;
  inset: 18px 50% 10px 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(255, 0, 116, 0.055), transparent 18%, transparent 72%, rgba(111, 244, 255, 0.045)),
    radial-gradient(circle at 14% 38%, rgba(255, 0, 116, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(111, 244, 255, 0.11), transparent 30rem),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045);
}

.anniversary h2 {
  max-width: 460px;
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 500;
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(var(--lift-x, 0px), var(--lift-y, 0px), 0);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.stats-grid article::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 84px;
  background: radial-gradient(circle, rgba(255, 0, 116, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.stats-grid article:hover {
  border-color: rgba(255, 107, 168, 0.36);
  background: rgba(255, 255, 255, 0.092);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.34);
}

.stats-grid article:hover::after {
  opacity: 1;
}

.stats-grid span {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  color: var(--ink);
}

.stats-grid p {
  margin: 0;
  color: var(--muted);
}

.relationship-timeline {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  margin: 34px 0 0;
  padding: 126px 86px 32px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-left: 86px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(255, 107, 168, 0.45) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  isolation: isolate;
  perspective: 1200px;
}

.relationship-timeline::before {
  content: "";
  position: absolute;
  left: 109px;
  width: clamp(1980px, 188vw, 2590px);
  top: 74px;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 0, 116, 0.92), rgba(215, 255, 103, 0.54), rgba(111, 244, 255, 0.48), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 0 20px rgba(255, 0, 116, 0.42),
    0 0 52px rgba(111, 244, 255, 0.16);
  animation: timelinePulse 5.5s ease-in-out infinite;
}

.relationship-timeline::after {
  content: "";
  position: absolute;
  left: 109px;
  top: 70px;
  z-index: 0;
  width: clamp(110px, 16vw, 220px);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 251, 0.72), rgba(255, 0, 116, 0.62), transparent);
  filter: blur(8px);
  opacity: 0.76;
  animation: timelineTrail 8.5s ease-in-out infinite;
}

.relationship-timeline::-webkit-scrollbar {
  height: 6px;
}

.relationship-timeline::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.relationship-timeline::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot), var(--aqua));
}

.relationship-timeline li {
  position: relative;
  z-index: 1;
  flex: 0 0 clamp(232px, 22vw, 308px);
  min-height: 286px;
  padding: 0 0 20px;
  background: transparent;
  scroll-snap-align: start;
  opacity: 0;
  translate: 0 18px;
  transform: rotateY(-5deg);
  animation: timelineItemIn 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition:
    border-color 220ms ease,
    transform 220ms ease;
}

.relationship-timeline li::before {
  content: "";
  position: absolute;
  left: 31px;
  top: -54px;
  z-index: 0;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 107, 168, 0.5), rgba(255, 255, 255, 0.14), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 0, 116, 0.42));
}

.relationship-timeline li:nth-child(2) {
  animation-delay: 80ms;
}

.relationship-timeline li:nth-child(3) {
  animation-delay: 160ms;
}

.relationship-timeline li:nth-child(4) {
  animation-delay: 240ms;
}

.relationship-timeline li:nth-child(5) {
  animation-delay: 320ms;
}

.relationship-timeline li:nth-child(6) {
  animation-delay: 400ms;
}

.relationship-timeline li:nth-child(7) {
  animation-delay: 480ms;
}

.relationship-timeline li:nth-child(8) {
  animation-delay: 560ms;
}

.relationship-timeline li:hover {
  z-index: 3;
  border-color: rgba(255, 107, 168, 0.45);
  transform: translateY(-4px) rotateY(0deg);
}

.relationship-timeline li:nth-child(even) .timeline-card {
  margin-top: 58px;
}

.relationship-timeline li:nth-child(even)::before {
  height: 68px;
}

.relationship-timeline .timeline-milestone {
  background: transparent;
}

.timeline-card {
  position: relative;
  overflow: hidden;
  min-height: 226px;
  margin: 32px 8px 0 0;
  padding: 100px 20px 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 18%), rgba(255, 255, 255, 0.085), transparent 92px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012) 82%, transparent);
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(var(--lift-x, 0px), var(--lift-y, 0px), 0);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.relationship-timeline li:not(.timeline-milestone):hover .timeline-card {
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 18%), rgba(255, 0, 116, 0.16), transparent 112px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.016) 82%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 86px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(255, 0, 116, 0.12);
}

.timeline-milestone .timeline-card {
  padding-top: 118px;
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 18%), rgba(215, 255, 103, 0.12), transparent 108px),
    radial-gradient(circle at 26px 28px, rgba(255, 0, 116, 0.15), transparent 66px),
    linear-gradient(180deg, rgba(255, 0, 116, 0.095), rgba(255, 0, 116, 0.018) 82%, transparent);
}

.timeline-milestone:hover .timeline-card {
  padding-top: 118px;
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 18%), rgba(215, 255, 103, 0.16), transparent 116px),
    radial-gradient(circle at 26px 28px, rgba(255, 0, 116, 0.15), transparent 66px),
    linear-gradient(180deg, rgba(255, 0, 116, 0.095), rgba(255, 0, 116, 0.018) 82%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 86px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(255, 0, 116, 0.12);
}

.timeline-dot {
  position: absolute;
  z-index: 8;
  left: 23px;
  top: -60px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 0 2px, var(--hot) 3px 5px, rgba(8, 7, 10, 0.92) 6px);
  box-shadow:
    0 0 0 8px rgba(255, 0, 116, 0.06),
    0 0 22px rgba(255, 0, 116, 0.24);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.relationship-timeline li:hover .timeline-dot {
  border-color: rgba(255, 247, 251, 0.9);
  box-shadow:
    0 0 0 12px rgba(255, 0, 116, 0.18),
    0 0 34px rgba(255, 0, 116, 0.98),
    0 0 74px rgba(111, 244, 255, 0.42);
  transform: scale(1.24);
}

.timeline-milestone .timeline-dot {
  background:
    radial-gradient(circle, white 0 2px, var(--lime) 3px 5px, var(--hot) 6px 7px, rgba(8, 7, 10, 0.92) 8px);
  box-shadow:
    0 0 0 9px rgba(255, 0, 116, 0.1),
    0 0 32px rgba(255, 0, 116, 0.58),
    0 0 62px rgba(215, 255, 103, 0.16);
}

.timeline-milestone strong {
  color: #fffdf3;
}

.timeline-milestone time {
  color: var(--lime);
}

.timeline-photo {
  position: absolute;
  inset: 12px 12px auto;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 0, 116, 0.56), rgba(111, 244, 255, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.04);
  transform: translateZ(24px) scale(1);
  transition:
    filter 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.timeline-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(8, 7, 10, 0.38)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 42%);
}

.timeline-card:hover .timeline-photo {
  filter: saturate(1.15) contrast(1.1);
  transform: translateZ(34px) scale(1.04);
}

.timeline-milestone .timeline-photo {
  height: 88px;
}

.timeline-photo--meet {
  background-image:
    linear-gradient(135deg, rgba(255, 0, 116, 0.38), rgba(111, 244, 255, 0.18)),
    url("https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--kiss {
  background-image:
    linear-gradient(135deg, rgba(255, 0, 116, 0.32), rgba(8, 7, 10, 0.18)),
    url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--start {
  background-image:
    linear-gradient(135deg, rgba(255, 0, 116, 0.34), rgba(215, 255, 103, 0.14)),
    url("https://images.unsplash.com/photo-1518199266791-5375a83190b7?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--trip {
  background-image:
    linear-gradient(135deg, rgba(111, 244, 255, 0.28), rgba(255, 0, 116, 0.2)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--newyear {
  background-image:
    linear-gradient(135deg, rgba(255, 0, 116, 0.26), rgba(255, 247, 251, 0.12)),
    url("https://images.unsplash.com/photo-1512389142860-9c449e58a543?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--moscow {
  background-image:
    linear-gradient(135deg, rgba(111, 244, 255, 0.22), rgba(255, 0, 116, 0.22)),
    url("https://images.unsplash.com/photo-1513326738677-b964603b136d?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--fight {
  background-image:
    linear-gradient(135deg, rgba(255, 0, 116, 0.3), rgba(255, 247, 251, 0.12)),
    url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=600&q=80");
}

.timeline-photo--year {
  background-image:
    linear-gradient(135deg, rgba(255, 0, 116, 0.34), rgba(215, 255, 103, 0.18)),
    url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=600&q=80");
}

.relationship-timeline time {
  display: inline-flex;
  margin: 10px 0 14px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.relationship-timeline strong {
  display: block;
  max-width: 160px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.1;
}

.relationship-timeline p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  width: min(640px, 100%);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.08;
}

.wishlist-layout {
  position: relative;
  padding-top: 104px;
}

.wishlist-layout::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter.is-active {
  background: var(--ink);
  color: #111;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wish-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  translate: 0 14px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(var(--lift-x, 0px), var(--lift-y, 0px), 0);
  opacity: 0;
  animation: revealCard 560ms ease forwards;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.wish-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 22%), rgba(255, 255, 255, 0.14), transparent 138px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.wish-card:hover {
  border-color: rgba(255, 107, 168, 0.36);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(255, 0, 116, 0.12);
}

.wish-card:hover::before {
  opacity: 1;
}

.wish-card.is-done {
  opacity: 0.58;
}

.wish-card.is-done h3 {
  text-decoration: line-through;
}

.wish-card__image {
  height: 210px;
  background:
    linear-gradient(135deg, rgba(255, 0, 116, 0.76), rgba(111, 244, 255, 0.48)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.12), transparent);
  background-size: cover;
  background-position: center;
}

.wish-card__body {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.wish-card__meta,
.wish-card__footer,
.card-actions {
  display: flex;
  align-items: center;
}

.wish-card__meta,
.wish-card__footer {
  justify-content: space-between;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.owner {
  color: var(--aqua);
}

.priority {
  color: var(--lime);
}

.wish-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.wish-card p {
  min-height: 52px;
  color: var(--muted);
  line-height: 1.55;
}

.price {
  color: var(--ink);
  font-weight: 800;
}

.price-stack {
  display: grid;
  gap: 4px;
}

.rub-price {
  min-height: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.card-actions {
  gap: 8px;
}

.icon-button,
.icon-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-link[hidden] {
  display: none;
}

.remove {
  color: var(--rose);
}

.complete.is-restore {
  color: var(--aqua);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.add-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(360px, 1.24fr);
  gap: 58px;
  align-items: start;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.add-panel::before {
  content: "";
  position: absolute;
  inset: 32px 50% 32px 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 46%),
    radial-gradient(circle at 18% 72%, rgba(111, 244, 255, 0.08), transparent 24rem);
}

.add-panel__intro {
  position: sticky;
  top: 24px;
}

.add-panel__intro p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.add-panel h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.08;
}

.wish-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(18px);
  transform:
    perspective(1000px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg))
    translate3d(var(--lift-x, 0px), var(--lift-y, 0px), 0);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.wish-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 18%), rgba(111, 244, 255, 0.1), transparent 140px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.wish-form:hover {
  border-color: rgba(111, 244, 255, 0.24);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.36);
}

.wish-form:hover::before {
  opacity: 1;
}

.wish-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row--price {
  grid-template-columns: 1fr 0.72fr 1fr;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border-color 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--hot);
  background: rgba(0, 0, 0, 0.36);
}

input[type="file"] {
  min-height: 48px;
  padding: 7px 10px;
  color: var(--muted);
}

input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 107, 168, 0.38);
  border-radius: 8px;
  background: rgba(255, 0, 116, 0.16);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

input[type="file"]::file-selector-button:hover {
  background: rgba(255, 0, 116, 0.24);
}

@keyframes stampDrift {
  50% {
    transform: translate3d(-18px, 10px, 0);
    opacity: 0.86;
  }
}

@keyframes slowGradientDrift {
  0% {
    transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0) scale(1);
  }
  100% {
    transform: translate3d(calc(var(--scene-x, 0px) - 28px), calc(var(--scene-y, 0px) + 24px), 0) scale(1.05);
  }
}

@keyframes particleField {
  to {
    transform: translate3d(-160px, -170px, 0);
  }
}

@keyframes heroSceneDrift {
  0% {
    background-position: 0 0, 84% 30%, 78% 74%;
  }
  100% {
    background-position: 72px 0, 80% 34%, 74% 70%;
  }
}

@keyframes dateSweep {
  0% {
    transform: translateX(-30%);
  }
  50% {
    transform: translateX(330%);
  }
  100% {
    transform: translateX(-30%);
  }
}

@keyframes nameFloat {
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes traceDot {
  0% {
    left: 0;
    top: 50%;
    transform: translate3d(0, -50%, 0);
  }
  25% {
    left: 50%;
    top: 0;
    transform: translate3d(-50%, -50%, 0);
  }
  50% {
    left: 100%;
    top: 50%;
    transform: translate3d(-100%, -50%, 0);
  }
  75% {
    left: 50%;
    top: 100%;
    transform: translate3d(-50%, -50%, 0);
  }
  100% {
    left: 0;
    top: 50%;
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes sparkFloat {
  50% {
    transform: translate3d(0, -12px, 0) scale(1.35);
    opacity: 0.62;
  }
}

@keyframes cardLift {
  50% {
    translate: 0 -12px;
  }
}

@keyframes revealCard {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes ambientGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(42px, -34px, 0) scale(1.18);
  }
}

@keyframes ambientHeart {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-45deg) scale(1);
  }
  45% {
    transform: translate3d(18px, -42px, 0) rotate(-45deg) scale(1.16);
  }
  70% {
    transform: translate3d(-10px, -68px, 0) rotate(-45deg) scale(0.92);
  }
}

@keyframes ambientDust {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.14;
  }
  50% {
    transform: translate3d(16px, -34px, 0);
    opacity: 0.34;
  }
}

@keyframes timelinePulse {
  0%,
  100% {
    opacity: 0.8;
    filter: saturate(1);
  }
  50% {
    opacity: 1;
    filter: saturate(1.45);
  }
}

@keyframes timelineTrail {
  0% {
    transform: translateX(-20%);
    opacity: 0;
  }
  18% {
    opacity: 0.84;
  }
  100% {
    transform: translateX(calc(100vw - 220px));
    opacity: 0;
  }
}

@keyframes timelineItemIn {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

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

@keyframes anniversaryBurst {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.4);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(-50% + 32vw), calc(-50% - 22vh), 0) scale(1.4);
    opacity: 0;
  }
}

@keyframes anniversaryBurstTwo {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.4);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(-50% - 26vw), calc(-50% - 18vh), 0) scale(1.35);
    opacity: 0;
  }
}

@keyframes anniversaryBurstThree {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.4);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(-50% + 24vw), calc(-50% + 20vh), 0) scale(1.25);
    opacity: 0;
  }
}

@keyframes anniversaryBurstFour {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.4);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(-50% - 30vw), calc(-50% + 24vh), 0) scale(1.45);
    opacity: 0;
  }
}

@keyframes anniversaryCardIn {
  to {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .hero {
    min-height: 780px;
  }

  .hero__preview {
    top: 528px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-bottom: 360px;
  }

  .hero__content {
    padding-top: 8vh;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar__links {
    display: none;
  }

  .topbar__auth {
    margin-left: auto;
  }

  .year-stamp {
    right: 4vw;
    top: 220px;
  }

  .anniversary-line {
    right: 4vw;
    top: 46%;
    width: 48vw;
  }

  .date-card {
    top: clamp(390px, 48vh, 500px);
  }

  .hero__preview {
    top: clamp(570px, 58vh, 610px);
  }

  .date-card,
  .name-lockup,
  .gift-trace {
    transform: scale(0.82);
    transform-origin: center;
  }

  .anniversary,
  .add-panel {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .add-panel__intro {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .auth-screen {
    padding: 18px;
  }

  .auth-card {
    padding: 24px 18px 20px;
  }

  .auth-card h1 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 0.98;
  }

  .hero {
    min-height: auto;
    padding: 16px 18px 56px;
    display: block;
  }

  .topbar {
    align-items: center;
    gap: 12px;
  }

  .brand {
    width: 126px;
  }

  .topbar__auth {
    min-width: 0;
    gap: 8px;
    font-size: 12px;
  }

  .auth-logout {
    min-height: 34px;
    padding: 0 10px;
  }

  .hero__content {
    padding: 52px 0 0;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 14px;
    font-size: 11px;
  }

  h1 {
    width: 100%;
    margin-bottom: 16px;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.52;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions .button {
    flex: 1 1 100%;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .anniversary,
  .wishlist-layout,
  .add-panel {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

  .hero__preview {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 224px;
    margin-top: 30px;
    width: 100%;
  }

  .preview-card {
    width: min(292px, calc(100vw - 64px));
    padding: 15px;
  }

  .preview-card--main {
    right: 0;
  }

  .preview-card--side {
    left: 0;
  }

  .preview-card strong {
    font-size: 16px;
  }

  .preview-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .celebration-field {
    opacity: 0.54;
  }

  .year-stamp,
  .anniversary-line,
  .date-card,
  .name-lockup,
  .gift-trace {
    display: none;
  }

  .anniversary {
    gap: 22px;
  }

  .anniversary h2,
  .section-heading h2,
  .add-panel h2 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.02;
  }

  .stats-grid article {
    min-height: 112px;
    padding: 18px;
  }

  .stats-grid span {
    font-size: 54px;
  }

  .relationship-timeline {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding: 10px 0 0 28px;
    overflow: visible;
    scroll-padding-left: 0;
    scroll-snap-type: none;
  }

  .relationship-timeline::before {
    left: 7px;
    top: 18px;
    bottom: 18px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 0, 116, 0.78), rgba(111, 244, 255, 0.34), transparent);
  }

  .relationship-timeline::after {
    display: none;
  }

  .relationship-timeline li {
    flex: none;
    min-height: auto;
    padding: 0;
    scroll-snap-align: unset;
    translate: 0 0;
    transform: none;
  }

  .relationship-timeline li:hover {
    transform: none;
  }

  .relationship-timeline li::before {
    display: none;
  }

  .relationship-timeline li:nth-child(even) .timeline-card {
    margin-top: 0;
  }

  .timeline-dot {
    left: -28px;
    top: 16px;
    width: 14px;
    height: 14px;
  }

  .relationship-timeline li:hover .timeline-dot {
    transform: scale(1.12);
  }

  .timeline-card,
  .timeline-milestone .timeline-card,
  .timeline-milestone:hover .timeline-card {
    min-height: auto;
    margin: 0;
    padding: 84px 16px 18px;
    transform: none;
  }

  .timeline-photo {
    height: 60px;
  }

  .timeline-milestone .timeline-photo {
    height: 60px;
  }

  .relationship-timeline strong {
    max-width: none;
    font-size: 18px;
  }

  .relationship-timeline time {
    margin: 8px 0 10px;
  }

  .relationship-timeline p {
    font-size: 13px;
  }

  .section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .filter {
    width: 100%;
  }

  .stats-grid,
  .wishlist-grid,
  .form-row,
  .form-row--price {
    grid-template-columns: 1fr;
  }

  .wish-card {
    min-height: auto;
  }

  .wish-card__image {
    height: 180px;
  }

  .wish-card__body,
  .wish-form {
    padding: 16px;
  }

  .wish-form {
    gap: 12px;
  }

  input[type="file"] {
    min-height: 46px;
    padding: 6px 8px;
    font-size: 12px;
  }

  input[type="file"]::file-selector-button {
    min-height: 32px;
    margin-right: 8px;
    padding: 0 10px;
    font-size: 12px;
  }

  .wish-card__footer {
    align-items: flex-end;
  }

  .add-panel {
    gap: 24px;
  }

  .add-panel__intro p {
    font-size: 15px;
    line-height: 1.55;
  }

  input,
  select,
  textarea {
    padding: 12px;
  }
}

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