:root {
  --bg: #090611;
  --bg-deep: #06040d;
  --surface: rgba(25, 16, 38, 0.72);
  --surface-solid: #161020;
  --surface-light: rgba(255, 238, 247, 0.07);
  --line: rgba(255, 220, 238, 0.14);
  --line-strong: rgba(255, 220, 238, 0.26);
  --text: #fff6fb;
  --muted: #b9aabd;
  --faint: #84768c;
  --pink: #ff9acb;
  --pink-soft: #ffc4dd;
  --pink-pale: #ffe6f0;
  --lilac: #b8a3ff;
  --gold: #f6d29a;
  --danger: #ff8f9d;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Songti SC", "STSong", serif;
  --sans: "Avenir Next", "Century Gothic", "Microsoft YaHei", "PingFang SC", sans-serif;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 6%, rgba(160, 88, 153, 0.16), transparent 30%),
    radial-gradient(circle at 3% 31%, rgba(98, 70, 143, 0.13), transparent 27%),
    linear-gradient(180deg, #0c0714 0%, #090611 45%, #08050d 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  color: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
}

h1 em,
h2 em {
  color: var(--pink-soft);
  font-style: italic;
}

::selection {
  color: #20101c;
  background: var(--pink-soft);
}

#starCanvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.2;
  pointer-events: none;
}

.ambient-a {
  top: 18vh;
  right: -180px;
  width: 510px;
  height: 510px;
  background: #c55e9d;
}

.ambient-b {
  top: 76vh;
  left: -200px;
  width: 440px;
  height: 440px;
  background: #7158a8;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 18px max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  padding-block: 12px;
  border-bottom-color: var(--line);
  background: rgba(8, 5, 14, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  color: var(--pink-soft);
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(255, 154, 203, 0.42));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 232, 244, 0.08);
  border-radius: 999px;
  background: rgba(255, 242, 249, 0.035);
}

.nav-link {
  position: relative;
  padding: 9px 17px;
  border-radius: 999px;
  color: #a99cac;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
  background: rgba(255, 220, 237, 0.1);
}

.nav-link.active::after {
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  content: "";
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.icon-btn,
.profile-orb {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  place-items: center;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.icon-btn:hover {
  color: var(--pink-soft);
  border-color: var(--line-strong);
  background: var(--surface-light);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.sound-on {
  display: none;
}

.sound-btn.playing .sound-on {
  display: block;
}

.sound-btn.playing .sound-off {
  display: none;
}

.profile-orb {
  margin-left: 2px;
  border: 1px solid rgba(255, 218, 237, 0.28);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 18%),
    var(--avatar-color, linear-gradient(145deg, #ea8db8, #8e66b4));
  box-shadow:
    inset -6px -8px 14px rgba(45, 12, 37, 0.35),
    0 0 0 4px rgba(255, 162, 205, 0.06);
  color: #fff;
  font-family: var(--serif);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s;
}

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

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  color: #2b1520;
  background: linear-gradient(135deg, #ffd1e2, #f29ac2);
  box-shadow:
    0 10px 28px rgba(238, 119, 174, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow:
    0 14px 34px rgba(238, 119, 174, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.55);
}

.btn-quiet {
  min-height: 38px;
  padding: 9px 15px;
  border-color: var(--line);
  color: #c7b7cb;
}

.btn-quiet:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface-light);
}

.btn-large {
  min-height: 52px;
  padding-inline: 25px;
  font-size: 13px;
}

.btn-text {
  min-height: 44px;
  padding-inline: 8px;
  color: var(--muted);
}

.btn-text span {
  color: var(--pink-soft);
  font-size: 18px;
  transition: transform 0.25s;
}

.btn-text:hover span {
  transform: translate(2px, -2px);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--pink-pale);
  background: rgba(255, 230, 241, 0.025);
}

.btn-outline:hover {
  border-color: var(--pink);
  background: rgba(255, 183, 216, 0.08);
}

.btn-light {
  color: #39202f;
  background: #fff1f6;
  box-shadow: 0 12px 28px rgba(58, 22, 42, 0.18);
}

.view {
  display: none;
  animation: viewIn 0.55s ease both;
}

.view.active {
  display: block;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(420px, 0.98fr) minmax(430px, 1.02fr);
  align-items: center;
  gap: 36px;
  padding-top: 38px;
}

.hero-copy {
  z-index: 2;
  padding-bottom: 44px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(55px, 6.4vw, 88px);
  line-height: 1.05;
  text-shadow: 0 0 44px rgba(255, 185, 218, 0.09);
}

.hero h1 em {
  position: relative;
  font-weight: 400;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 216, 0.65), transparent);
  content: "";
}

.hero-lead {
  max-width: 475px;
  margin-bottom: 31px;
  color: #baaabd;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 42px;
}

.hero-travelers {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 14px;
}

.traveler-stack {
  display: flex;
}

.mini-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 2px solid #120c1a;
  border-radius: 50%;
  background: var(--avatar, var(--pink));
  color: #321725;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  place-items: center;
}

.traveler-stack .mini-avatar + .mini-avatar {
  margin-left: -9px;
}

.hero-travelers p {
  margin: 0;
  color: #9e8fa5;
  font-size: 10px;
  line-height: 1.55;
}

.hero-travelers strong {
  color: #d9cbd9;
  font-weight: 500;
}

.hero-orbit {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1;
  justify-self: end;
}

.orbit-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.halo-one {
  width: 82%;
  height: 82%;
  background: radial-gradient(circle, rgba(255, 157, 201, 0.1) 0%, rgba(157, 115, 191, 0.05) 37%, transparent 68%);
  filter: blur(7px);
}

.halo-two {
  width: 46%;
  height: 46%;
  background: radial-gradient(circle, rgba(255, 195, 220, 0.12), rgba(255, 150, 198, 0.04) 45%, transparent 73%);
  filter: blur(11px);
}

.halo-three {
  width: 97%;
  height: 97%;
  background: conic-gradient(from 190deg, transparent 0 34%, rgba(188, 147, 230, 0.06) 44%, transparent 55% 100%);
  filter: blur(10px);
  animation: haloRotate 28s linear infinite;
}

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

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 220, 237, 0.12);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-17deg);
}

.ring-one {
  width: 51%;
  height: 51%;
  border-color: rgba(255, 213, 233, 0.18);
}

.ring-two {
  width: 76%;
  height: 76%;
  border-style: dashed;
  border-color: rgba(255, 220, 237, 0.16);
  animation: slowSpin 70s linear infinite;
}

.ring-three {
  width: 97%;
  height: 97%;
  border-color: rgba(255, 220, 237, 0.085);
  animation: slowSpinReverse 100s linear infinite;
}

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

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

.orbit-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(255, 225, 240, 0.06), transparent);
  pointer-events: none;
  transform-origin: center;
}

.cross-one { transform: translate(-50%, -50%) rotate(43deg); }
.cross-two { transform: translate(-50%, -50%) rotate(-43deg); }

.planetary-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  overflow: hidden;
  width: 41%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 228, 240, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 226, 240, 0.2), transparent 22%),
    conic-gradient(from 22deg, #8a537e, #29182c, #d384a8, #3d2548, #8a537e);
  box-shadow:
    0 0 0 10px rgba(255, 177, 211, 0.025),
    0 0 70px rgba(245, 135, 185, 0.21),
    inset -26px -25px 50px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  animation: planetFloat 7s ease-in-out infinite;
}

.planetary-photo::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.14), transparent 29%),
    radial-gradient(circle at 75% 71%, transparent 0 28%, rgba(28, 9, 28, 0.35) 64%);
  content: "";
  pointer-events: none;
}

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

.planet-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  text-align: center;
}

.planet-star {
  color: var(--pink-pale);
  font-size: 32px;
  text-shadow: 0 0 20px var(--pink);
}

.planet-fallback strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.planet-fallback small {
  max-width: 140px;
  color: rgba(255, 241, 247, 0.56);
  font-size: 9px;
  letter-spacing: 0.1em;
}

@keyframes planetFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

.orbit-photo {
  position: absolute;
  z-index: 5;
  display: flex;
  overflow: hidden;
  width: 88px;
  height: 98px;
  flex-direction: column;
  border: 1px solid rgba(255, 231, 243, 0.2);
  border-radius: 18px;
  background: rgba(25, 15, 32, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.orbit-photo:hover {
  border-color: rgba(255, 205, 228, 0.5);
  transform: translateY(-6px) rotate(2deg);
}

.orbit-photo img {
  width: 100%;
  height: 68px;
  object-fit: cover;
}

.orbit-photo small {
  padding: 7px 4px;
  color: rgba(255, 242, 248, 0.72);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.orbit-add {
  display: grid;
  width: 100%;
  height: 68px;
  color: var(--pink-soft);
  font-family: var(--serif);
  font-size: 24px;
  place-items: center;
}

.orbit-photo-a {
  top: 13%;
  right: 4%;
  transform: rotate(6deg);
  animation: cardFloat 8s ease-in-out infinite;
}

.orbit-photo-b {
  bottom: 7%;
  left: 10%;
  width: 78px;
  height: 92px;
  transform: rotate(-8deg);
  animation: cardFloat 9.5s 0.8s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.orbit-label {
  position: absolute;
  color: rgba(220, 198, 217, 0.4);
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0.18em;
}

.orbit-label strong {
  color: rgba(255, 220, 237, 0.68);
  font-size: 12px;
  font-weight: 400;
}

.label-one {
  top: 17%;
  left: 3%;
}

.label-two {
  right: 15%;
  bottom: 15%;
}

.label-two span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

.floating-note {
  position: absolute;
  right: -6%;
  bottom: 20%;
  width: 172px;
  padding: 15px 15px 14px 17px;
  border-left: 1px solid rgba(255, 221, 237, 0.25);
  color: rgba(255, 237, 246, 0.58);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.8;
  transform: rotate(2deg);
}

.floating-note p {
  margin: 0;
}

.note-star {
  position: absolute;
  top: -4px;
  left: -5px;
  color: var(--pink-soft);
  font-size: 10px;
}

.dust {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe4ef;
  box-shadow: 0 0 9px #ffd1e3;
  animation: twinkle 3.4s ease-in-out infinite;
}

.d1 { top: 20%; left: 25%; }
.d2 { top: 37%; right: 12%; animation-delay: 1.2s; }
.d3 { bottom: 20%; right: 34%; animation-delay: 2.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.35); }
}

.stat-strip {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr) 1.55fr;
  align-items: center;
  min-height: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pink-soft);
  font-size: 12px;
  place-items: center;
}

.stat-item p {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 1px;
}

.stat-item strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stat-item sup {
  color: var(--pink);
  font-size: 10px;
}

.stat-item small {
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.stat-orbit-word {
  overflow: hidden;
  color: rgba(255, 219, 236, 0.12);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.45em;
  white-space: nowrap;
}

.section {
  padding-top: 112px;
}

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

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 45px);
}

.round-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--pink-soft);
  font-size: 20px;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.round-arrow:hover {
  background: var(--surface-light);
  transform: translate(2px, -2px);
}

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

.galaxy-preview-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--galaxy-gradient, linear-gradient(140deg, #4c2b4c, #160e21));
  text-align: left;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.galaxy-preview-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    radial-gradient(circle at var(--star-x, 70%) var(--star-y, 30%), rgba(255, 237, 245, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 20% 75%, rgba(255, 237, 245, 0.6) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 82%, rgba(255, 237, 245, 0.45) 0 1px, transparent 2px);
  background-size: 93px 77px, 121px 109px, 144px 131px;
  content: "";
}

.galaxy-preview-card::after {
  position: absolute;
  top: -45%;
  right: -18%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 220, 235, 0.2), transparent 8%),
    conic-gradient(from 20deg, rgba(255, 176, 213, 0.2), rgba(116, 82, 139, 0.06), rgba(255, 226, 239, 0.13), rgba(255, 176, 213, 0.2));
  content: "";
  filter: blur(1px);
  transform: rotate(-20deg) scaleY(0.48);
}

.galaxy-preview-card:hover {
  border-color: rgba(255, 220, 237, 0.32);
  transform: translateY(-5px);
}

.galaxy-preview-card:nth-child(2) {
  --galaxy-gradient: linear-gradient(140deg, #322a57, #120e20);
}

.galaxy-preview-card:nth-child(3) {
  --galaxy-gradient: linear-gradient(140deg, #593b4a, #1a1019);
}

.galaxy-preview-card:nth-child(n + 4) {
  display: none;
}

.galaxy-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.galaxy-card-top span {
  color: rgba(255, 237, 245, 0.48);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.galaxy-card-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-pale);
  box-shadow: 0 0 12px var(--pink-soft);
}

.galaxy-card-bottom {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
}

.galaxy-card-bottom h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.galaxy-card-bottom p {
  margin: 0;
  color: rgba(240, 223, 236, 0.58);
  font-size: 10px;
}

.galaxy-card-bottom span {
  position: absolute;
  right: 0;
  bottom: 1px;
  color: rgba(255, 235, 245, 0.65);
  font-family: var(--serif);
  font-size: 11px;
}

.heading-with-tools {
  align-items: center;
}

.filter-chips {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--faint);
  font-size: 10px;
  transition: color 0.2s, background 0.2s;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--text);
  background: var(--surface-light);
}

.memory-grid {
  columns: 3;
  column-gap: 16px;
}

.memory-card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(22, 14, 30, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.memory-card:hover {
  border-color: rgba(255, 222, 238, 0.28);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
  transform: translateY(-4px);
}

.memory-card-main {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.memory-card-image {
  position: relative;
  overflow: hidden;
  background: #1a0f1d;
}

.memory-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 4, 12, 0.52));
  content: "";
}

.memory-card img {
  display: block;
  width: 100%;
  min-height: 200px;
  max-height: 440px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.memory-card:nth-child(3n + 2) img {
  min-height: 280px;
}

.memory-card:hover img {
  transform: scale(1.035);
}

.memory-vibe {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 243, 248, 0.2);
  border-radius: 999px;
  color: rgba(255, 246, 250, 0.86);
  background: rgba(20, 10, 22, 0.38);
  font-size: 8px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.demo-badge {
  display: none;
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 13px;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(255, 245, 249, 0.72);
  background: rgba(13, 7, 16, 0.5);
  font-size: 8px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.memory-card.is-demo .demo-badge {
  display: inline-block;
}

.memory-card-copy {
  padding: 17px 18px 17px;
}

.memory-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.memory-card-meta .place::before {
  margin-right: 9px;
  color: var(--pink);
  content: "✦";
}

.memory-card h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.memory-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 14px;
  color: #9b8ca3;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.memory-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aa99af;
  font-size: 9px;
}

.memory-card-author .mini-avatar {
  width: 22px;
  height: 22px;
  border-width: 1px;
  font-size: 8px;
}

.card-favorite {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 241, 248, 0.18);
  border-radius: 50%;
  color: rgba(255, 245, 250, 0.82);
  background: rgba(16, 8, 20, 0.35);
  font-size: 17px;
  line-height: 1;
  opacity: 0;
  place-items: center;
  transition: opacity 0.25s, background 0.25s, color 0.25s;
  backdrop-filter: blur(10px);
}

.memory-card:hover .card-favorite,
.card-favorite.favorited {
  opacity: 1;
}

.card-favorite.favorited {
  color: #ffb6d5;
  background: rgba(62, 20, 44, 0.66);
}

.empty-state {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state .empty-star {
  margin-bottom: 18px;
  color: var(--pink-soft);
  font-size: 35px;
  text-shadow: 0 0 22px var(--pink);
}

.empty-state h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}

.empty-state p {
  max-width: 390px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.load-more-wrap .btn[hidden] {
  display: none;
}

.capsule {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 355px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 112px;
  padding: 45px 60px;
  border: 1px solid rgba(255, 217, 235, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 40%, rgba(255, 212, 230, 0.15), transparent 20%),
    radial-gradient(circle at 20% 50%, rgba(139, 95, 147, 0.28), transparent 38%),
    linear-gradient(125deg, #392137, #24162d 52%, #3d253a);
}

.capsule::before {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 240, 246, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 65% 70%, rgba(255, 240, 246, 0.5) 0 1px, transparent 1.5px);
  background-size: 119px 123px, 151px 139px;
  content: "";
}

.capsule-copy {
  position: relative;
  z-index: 3;
}

.capsule-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(39px, 4.5vw, 57px);
  line-height: 1.1;
}

.capsule-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 26px;
  color: rgba(255, 231, 242, 0.58);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.9;
}

.capsule-orbit {
  position: absolute;
  top: 50%;
  right: 15%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 230, 241, 0.12);
  border-radius: 50%;
  transform: translateY(-50%);
}

.capsule-orbit::before,
.capsule-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 230, 241, 0.1);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.capsule-orbit::before {
  width: 62%;
  height: 62%;
}

.capsule-orbit::after {
  width: 128%;
  height: 38%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.capsule-orbit span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink-pale);
  box-shadow: 0 0 12px var(--pink);
}

.capsule-orbit span:nth-child(1) { top: 10%; left: 29%; }
.capsule-orbit span:nth-child(2) { top: 55%; right: -2px; }
.capsule-orbit span:nth-child(3) { bottom: 13%; left: 15%; }

.capsule-cards {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.game-card {
  position: absolute;
  display: flex;
  width: 140px;
  height: 196px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  border: 1px solid rgba(255, 228, 241, 0.25);
  border-radius: 18px;
  font-family: var(--serif);
  box-shadow: 0 30px 50px rgba(8, 2, 11, 0.26);
}

.game-card span {
  font-size: 47px;
}

.game-card small {
  font-size: 7px;
  letter-spacing: 0.25em;
}

.front-card {
  z-index: 2;
  color: var(--pink-pale);
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 213, 232, 0.2), transparent 24%),
    linear-gradient(145deg, #68425f, #211426);
  transform: rotate(-2deg);
}

.ghost-card {
  color: rgba(255, 238, 246, 0.28);
  background: rgba(30, 17, 35, 0.6);
}

.ghost-card:first-child {
  z-index: 1;
  transform: translateX(-94px) rotate(-15deg) scale(0.88);
}

.ghost-card:last-child {
  z-index: 1;
  transform: translateX(94px) rotate(14deg) scale(0.88);
}

.site-footer {
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: space-between;
  margin-top: 90px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pink-soft);
  font-family: var(--serif);
  letter-spacing: 0.16em;
}

.site-footer > p {
  margin: 0;
  color: #8b7d90;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-right > span {
  font-size: 8px;
  letter-spacing: 0.18em;
}

.footer-right button {
  color: var(--pink-soft);
  font-size: 10px;
}

.page-view {
  min-height: calc(100vh - 140px);
}

.page-hero {
  padding-top: 90px;
  padding-bottom: 60px;
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(55px, 7vw, 86px);
  line-height: 1.05;
}

.page-hero > p:not(.eyebrow),
.page-hero > div > p:not(.eyebrow) {
  max-width: 545px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.95;
}

.timeline-shell {
  max-width: 1090px;
}

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 241, 248, 0.025);
  backdrop-filter: blur(16px);
}

.search-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.search-field svg {
  width: 18px;
  color: var(--faint);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 11px;
}

.search-field input::placeholder {
  color: var(--faint);
}

.toolbar-selects {
  display: flex;
  gap: 8px;
}

.toolbar-selects select {
  min-width: 130px;
  padding: 10px 30px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  color: #c4b4c8;
  background: #15101d;
  font-size: 10px;
  cursor: pointer;
}

.timeline {
  position: relative;
  padding: 6px 0 16px;
}

.timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 128px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 214, 233, 0.3) 6%, rgba(255, 214, 233, 0.13) 92%, transparent);
  content: "";
}

.timeline-month {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 33px;
  padding-bottom: 42px;
}

.timeline-label {
  padding-top: 12px;
  text-align: right;
}

.timeline-label strong {
  display: block;
  color: var(--pink-pale);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.timeline-label small {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.timeline-month::before {
  position: absolute;
  top: 21px;
  left: 123px;
  width: 11px;
  height: 11px;
  border: 2px solid #1b1020;
  border-radius: 50%;
  background: var(--pink-soft);
  box-shadow: 0 0 0 4px rgba(255, 184, 218, 0.09), 0 0 18px rgba(255, 154, 203, 0.4);
  content: "";
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.timeline-photo {
  display: grid;
  overflow: hidden;
  grid-template-columns: 156px 1fr;
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(22, 14, 30, 0.66);
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
}

.timeline-photo:hover {
  border-color: rgba(255, 220, 237, 0.31);
  transform: translateY(-3px);
}

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

.timeline-photo-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px 16px;
}

.timeline-photo-copy .date {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.timeline-photo-copy h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.timeline-photo-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.timeline-photo-copy .author {
  margin-top: auto;
  color: var(--faint);
  font-size: 8px;
}

.timeline-empty {
  margin-left: 145px;
}

.galaxy-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.galaxy-compass {
  position: relative;
  display: grid;
  width: 260px;
  height: 260px;
  flex: 0 0 auto;
  margin-right: 70px;
  border-radius: 50%;
  place-items: center;
}

.compass-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 225, 240, 0.14);
  border-radius: 50%;
  animation: slowSpinCenter 55s linear infinite;
}

.compass-ring::before,
.compass-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 225, 240, 0.13);
  content: "";
  transform: translate(-50%, -50%);
}

.compass-ring::before { width: 100%; height: 1px; }
.compass-ring::after { width: 1px; height: 100%; }

.compass-ring.inner {
  width: 65%;
  height: 65%;
  border-style: dashed;
  animation-duration: 34s;
  animation-direction: reverse;
}

@keyframes slowSpinCenter {
  to { transform: rotate(360deg); }
}

.compass-core {
  z-index: 2;
  color: var(--pink-pale);
  font-size: 38px;
  text-shadow: 0 0 24px var(--pink);
}

.galaxy-compass small {
  position: absolute;
  bottom: 30px;
  color: var(--faint);
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-align: center;
}

.galaxy-map-section {
  padding-bottom: 90px;
}

.galaxy-map {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(151, 102, 155, 0.12), transparent 39%),
    radial-gradient(circle at 10% 9%, rgba(255, 239, 246, 0.65) 0 1px, transparent 1.7px),
    radial-gradient(circle at 90% 32%, rgba(255, 239, 246, 0.5) 0 1px, transparent 1.7px),
    rgba(12, 8, 18, 0.6);
  background-size: auto, 180px 180px, 210px 210px, auto;
}

.galaxy-map::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent, rgba(8, 4, 13, 0.45));
  content: "";
  pointer-events: none;
}

.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  transform: translate(-50%, -50%);
}

.map-avatar {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 11px;
  border: 1px solid rgba(255, 221, 238, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 20%),
    linear-gradient(140deg, #d987ae, #72528b);
  box-shadow: 0 0 0 9px rgba(255, 174, 212, 0.03), 0 0 35px rgba(229, 128, 176, 0.2);
  color: white;
  font-family: var(--serif);
  font-size: 21px;
  place-items: center;
}

.map-center strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.map-center small {
  margin-top: 4px;
  color: var(--faint);
  font-size: 8px;
}

.map-connect {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 216, 234, 0.19), transparent);
  transform-origin: left center;
}

.line-one {
  top: 35%;
  left: 23%;
  width: 30%;
  transform: rotate(10deg);
}

.line-two {
  top: 62%;
  left: 51%;
  width: 28%;
  transform: rotate(-23deg);
}

.line-three {
  top: 50%;
  left: 24%;
  width: 34%;
  transform: rotate(160deg);
}

.map-galaxy {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s;
}

.map-galaxy:hover {
  transform: translateY(-5px) scale(1.04);
}

.map-galaxy .galaxy-orb {
  display: grid;
  width: var(--orb-size, 54px);
  height: var(--orb-size, 54px);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 235, 245, 0.3);
  border-radius: 50%;
  background: var(--orb-bg);
  box-shadow: 0 0 25px var(--orb-glow);
  font-size: 16px;
  place-items: center;
}

.map-galaxy strong {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
}

.map-galaxy small {
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
}

.galaxy-position-0 { top: 12%; left: 15%; }
.galaxy-position-1 { top: 15%; right: 16%; }
.galaxy-position-2 { top: 48%; left: 12%; }
.galaxy-position-3 { top: 47%; right: 10%; }
.galaxy-position-4 { bottom: 10%; left: 20%; }
.galaxy-position-5 { right: 23%; bottom: 10%; }

.map-galaxy.dynamic-0 { top: 12%; left: 15%; }
.map-galaxy.dynamic-1 { top: 15%; right: 16%; }
.map-galaxy.dynamic-2 { top: 48%; left: 12%; }
.map-galaxy.dynamic-3 { top: 47%; right: 10%; }
.map-galaxy.dynamic-4 { bottom: 10%; left: 20%; }
.map-galaxy.dynamic-5 { right: 23%; bottom: 10%; }

.galaxy-detail-section {
  padding-bottom: 30px;
}

.muted-note {
  color: var(--faint);
  font-size: 9px;
}

.galaxy-list {
  display: grid;
  gap: 12px;
}

.galaxy-row {
  display: grid;
  grid-template-columns: 74px 1.2fr 0.6fr 0.7fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 20px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 242, 249, 0.025);
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.galaxy-row:hover {
  border-color: var(--line-strong);
  background: rgba(255, 242, 249, 0.045);
  transform: translateX(4px);
}

.galaxy-row-thumb {
  display: grid;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--row-bg, #2c1a31);
  font-size: 20px;
  place-items: center;
}

.galaxy-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galaxy-row h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.galaxy-row > div > p {
  margin: 0;
  color: var(--faint);
  font-size: 9px;
}

.galaxy-row-meta {
  color: var(--muted);
  font-size: 10px;
}

.galaxy-row-meta small {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.galaxy-row-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pink-soft);
  place-items: center;
}

.games-page-hero {
  text-align: center;
}

.games-page-hero > p:not(.eyebrow) {
  margin-inline: auto;
}

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

.game-feature {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 540px;
  grid-template-rows: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 25px;
}

.match-feature {
  background:
    radial-gradient(circle at 52% 22%, rgba(255, 186, 218, 0.14), transparent 26%),
    linear-gradient(160deg, #2b172c, #100a18);
}

.guess-feature {
  background:
    radial-gradient(circle at 44% 25%, rgba(183, 153, 239, 0.14), transparent 27%),
    linear-gradient(160deg, #1c1730, #100b19);
}

.feature-orbit {
  position: relative;
  display: grid;
  min-height: 255px;
  place-items: center;
}

.feature-orbit::before,
.feature-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 228, 241, 0.11);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.feature-orbit::before { width: 66%; height: 66%; }
.feature-orbit::after { width: 90%; height: 90%; border-style: dashed; }

.mini-card {
  position: absolute;
  display: grid;
  width: 85px;
  height: 116px;
  border: 1px solid rgba(255, 225, 240, 0.23);
  border-radius: 12px;
  background: linear-gradient(145deg, #7a536f, #271829);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  color: var(--pink-pale);
  font-family: var(--serif);
  font-size: 24px;
  place-items: center;
}

.mini-card.c1 { transform: translateX(-93px) rotate(-13deg); }
.mini-card.c2 { z-index: 2; transform: translateY(-7px); }
.mini-card.c3 { transform: translateX(93px) rotate(13deg); }

.game-feature-copy {
  position: relative;
  z-index: 2;
  padding: 9px 36px 35px;
}

.game-number {
  position: absolute;
  top: -23px;
  right: 28px;
  color: rgba(255, 227, 240, 0.08);
  font-family: var(--serif);
  font-size: 94px;
}

.game-feature-copy .eyebrow {
  margin-bottom: 11px;
  color: rgba(246, 210, 154, 0.72);
}

.game-feature-copy h2 {
  margin-bottom: 12px;
  font-size: 40px;
}

.game-feature-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.game-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 21px;
}

.game-meta span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-size: 8px;
}

.polaroid-stack {
  position: relative;
  display: grid;
  place-items: center;
}

.tiny-polaroid {
  position: absolute;
  display: flex;
  width: 130px;
  height: 154px;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  padding-bottom: 12px;
  border: 8px solid #e9dbe0;
  border-bottom-width: 24px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(255, 231, 240, 0.15), transparent),
    linear-gradient(160deg, #93718d, #2d2536);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.27);
  color: #544550;
  font-family: var(--serif);
  font-size: 9px;
}

.tiny-polaroid.p1 { transform: translateX(-80px) rotate(-15deg); }
.tiny-polaroid.p2 { z-index: 2; transform: translateY(-9px) rotate(1deg); }
.tiny-polaroid.p3 { transform: translateX(80px) rotate(13deg); }

.games-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--faint);
  background: rgba(255, 241, 248, 0.02);
}

.games-note > span {
  color: var(--pink);
}

.games-note p {
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  overflow-y: auto;
  visibility: hidden;
  padding: 25px;
  opacity: 0;
  place-items: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 9, 0.8);
  backdrop-filter: blur(14px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(255, 225, 240, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(164, 100, 155, 0.16), transparent 26%),
    linear-gradient(145deg, rgba(28, 18, 38, 0.98), rgba(12, 8, 19, 0.99));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(13px) scale(0.985);
  transition: transform 0.3s ease;
}

.modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 10;
  top: 17px;
  right: 19px;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 23px;
  font-weight: 200;
  place-items: center;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: var(--text);
  background: var(--surface-light);
}

.upload-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
}

.upload-panel h2,
.invite-panel h2,
.profile-panel h2 {
  margin-bottom: 23px;
  font-size: 40px;
  line-height: 1.12;
}

.drop-zone {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  border: 1px dashed rgba(255, 212, 234, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 173, 212, 0.07), transparent 27%),
    rgba(255, 244, 249, 0.02);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--pink);
  background: rgba(255, 174, 213, 0.07);
}

.drop-zone input {
  display: none;
}

.drop-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--pink-soft);
  font-size: 23px;
  place-items: center;
}

.drop-zone strong {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.drop-zone small {
  color: var(--faint);
  font-size: 9px;
}

.photo-queue {
  display: flex;
  gap: 8px;
  min-height: 0;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.queue-item {
  position: relative;
  width: 66px;
  height: 70px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.queue-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.queue-item button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: white;
  background: rgba(10, 5, 13, 0.65);
  font-size: 12px;
  place-items: center;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.7;
}

.privacy-note span {
  color: var(--pink);
}

.memory-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 242, 249, 0.022);
}

.form-topline {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.form-topline span:last-child {
  color: var(--faint);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 12px;
}

.memory-form label,
.profile-panel label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.memory-form input,
.memory-form textarea,
.profile-panel input,
.profile-panel textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: rgba(8, 4, 13, 0.45);
  font-size: 11px;
  transition: border-color 0.2s, background 0.2s;
}

.memory-form textarea,
.profile-panel textarea {
  resize: vertical;
  line-height: 1.7;
}

.memory-form input:focus,
.memory-form textarea:focus,
.profile-panel input:focus,
.profile-panel textarea:focus {
  border-color: rgba(255, 167, 208, 0.5);
  background: rgba(15, 8, 20, 0.68);
}

.memory-form input::placeholder,
.memory-form textarea::placeholder,
.profile-panel input::placeholder {
  color: #695d70;
}

.color-input {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(8, 4, 13, 0.45);
}

.color-input input {
  width: 23px;
  height: 23px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
}

.color-input input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input input::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}

.color-input span {
  color: var(--faint);
  font-size: 9px;
}

.mood-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mood-chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-size: 8px;
}

.mood-chip.active {
  border-color: rgba(255, 179, 216, 0.42);
  color: var(--pink-pale);
  background: rgba(255, 159, 201, 0.09);
}

.upload-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.upload-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lilac), var(--pink-soft));
  transition: width 0.3s ease;
}

.upload-submit {
  width: 100%;
  margin-top: 2px;
}

.upload-submit:disabled {
  cursor: not-allowed;
  filter: saturate(0.3);
  opacity: 0.42;
  transform: none;
}

.lightbox {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1100px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  border: 1px solid rgba(255, 225, 240, 0.2);
  border-radius: 23px;
  background: #100b16;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.65);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.modal.open .lightbox {
  transform: translateY(0);
}

.lightbox-image-wrap {
  position: relative;
  display: grid;
  min-height: 540px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  background: #09060d;
  place-items: center;
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
}

.lightbox-vibe {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 242, 248, 0.2);
  border-radius: 999px;
  color: rgba(255, 246, 250, 0.85);
  background: rgba(12, 6, 15, 0.52);
  font-size: 8px;
  backdrop-filter: blur(9px);
}

.lightbox-copy {
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  padding: 55px 37px 29px;
}

.lightbox-meta {
  display: flex;
  gap: 13px;
  margin-bottom: 19px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.lightbox-meta span + span::before {
  margin-right: 13px;
  color: var(--pink);
  content: "✦";
}

.lightbox-copy h2 {
  margin-bottom: 19px;
  font-size: 38px;
  line-height: 1.18;
}

.lightbox-copy > p {
  margin-bottom: 30px;
  color: #b4a3b8;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 2;
  white-space: pre-line;
}

.lightbox-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.lightbox-author .mini-avatar {
  width: 37px;
  height: 37px;
  border-width: 1px;
}

.lightbox-author p {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 2px;
}

.lightbox-author small {
  color: var(--faint);
  font-size: 7px;
}

.lightbox-author strong {
  color: #d7c9d9;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
}

.favorite-btn {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
}

.favorite-btn.active {
  border-color: rgba(255, 163, 205, 0.38);
  color: var(--pink-soft);
  background: rgba(255, 153, 201, 0.08);
}

.delete-photo {
  width: fit-content;
  margin-top: 15px;
  color: rgba(255, 148, 161, 0.65);
  font-size: 8px;
}

.delete-photo:hover {
  color: var(--danger);
}

.lightbox-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 237, 245, 0.22);
  border-radius: 50%;
  color: white;
  background: rgba(10, 5, 13, 0.5);
  font-family: var(--serif);
  font-size: 27px;
  place-items: center;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { left: calc(62.5% - 52px); }

.lightbox-close {
  top: 14px;
  right: 14px;
}

.invite-panel {
  width: min(550px, 100%);
}

.invite-ticket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 19px;
  padding: 21px;
  border: 1px solid rgba(255, 219, 237, 0.2);
  border-radius: 15px;
  background:
    radial-gradient(circle at 81% 32%, rgba(255, 188, 220, 0.14), transparent 23%),
    linear-gradient(120deg, #392338, #1c1325);
}

.invite-ticket::after {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 228, 241, 0.1);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.ticket-orbit {
  display: grid;
  width: 57px;
  height: 57px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--pink-soft);
  font-size: 22px;
  place-items: center;
}

.invite-ticket small {
  color: var(--gold);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.invite-ticket strong {
  display: block;
  margin: 6px 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.invite-ticket p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.share-link {
  display: block;
  margin-bottom: 12px;
}

.share-link > span {
  display: block;
  margin-bottom: 7px;
  color: var(--faint);
  font-size: 8px;
}

.share-link > div {
  display: flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(8, 4, 13, 0.44);
}

.share-link input {
  min-width: 0;
  flex: 1;
  padding: 7px 9px;
  border: 0;
  outline: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
}

.share-link button {
  padding: 8px 14px;
  border-radius: 7px;
  color: #2b1520;
  background: var(--pink-pale);
  font-size: 9px;
  font-weight: 600;
}

.invite-help {
  margin-bottom: 22px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.75;
}

.invite-upload {
  width: 100%;
}

.profile-panel {
  width: min(530px, 100%);
}

.profile-panel form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-panel .btn {
  width: 100%;
  margin-top: 5px;
}

.game-panel {
  width: min(940px, 100%);
  min-height: 630px;
}

.game-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 27px;
  padding-right: 38px;
}

.game-kicker {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.game-panel-head h2 {
  margin: 8px 0 0;
  font-size: 35px;
}

.game-score {
  text-align: right;
}

.game-score small {
  display: block;
  margin-bottom: 3px;
  color: var(--faint);
  font-size: 8px;
}

.game-score strong {
  color: var(--pink-pale);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

#gameBody {
  position: relative;
  min-height: 460px;
}

.game-empty {
  display: flex;
  min-height: 400px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.game-empty > span {
  margin-bottom: 18px;
  color: var(--pink-soft);
  font-size: 37px;
}

.game-empty h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.game-empty p {
  max-width: 400px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.pair-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.pair-card {
  position: relative;
  min-height: 172px;
  perspective: 900px;
}

.pair-card-inner {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  transform-style: preserve-3d;
  transition: transform 0.48s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.pair-card.flipped .pair-card-inner,
.pair-card.matched .pair-card-inner {
  transform: rotateY(180deg);
}

.pair-card-front,
.pair-card-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 241, 0.2);
  border-radius: 13px;
  backface-visibility: hidden;
}

.pair-card-front {
  display: grid;
  background:
    radial-gradient(circle at 40% 32%, rgba(255, 194, 221, 0.15), transparent 20%),
    linear-gradient(145deg, #4d3048, #1c1324);
  place-items: center;
}

.pair-card-front::after {
  position: absolute;
  width: 75%;
  height: 75%;
  border: 1px solid rgba(255, 227, 240, 0.1);
  border-radius: 50%;
  content: "";
}

.pair-card-front span {
  color: var(--pink-pale);
  font-size: 25px;
  text-shadow: 0 0 18px var(--pink);
}

.pair-card-back {
  transform: rotateY(180deg);
}

.pair-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair-card.matched {
  animation: matchedPulse 0.6s ease;
}

.pair-card.matched::after {
  position: absolute;
  inset: 5px;
  z-index: 4;
  border: 1px solid var(--pink-soft);
  border-radius: 10px;
  content: "";
  pointer-events: none;
}

@keyframes matchedPulse {
  50% { filter: brightness(1.45); transform: scale(1.025); }
}

.guess-stage {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 25px;
}

.guess-photo {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #160e1d;
}

.guess-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.7s ease, transform 0.7s ease;
  filter: blur(13px) saturate(1.2);
  transform: scale(1.05);
}

.guess-photo.revealed img {
  filter: blur(0) saturate(1);
  transform: scale(1);
}

.guess-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 7, 17, 0.1), rgba(12, 7, 17, 0.7));
  content: "";
}

.guess-photo-label {
  position: absolute;
  z-index: 2;
  bottom: 21px;
  left: 22px;
  color: rgba(255, 242, 248, 0.68);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}

.guess-options {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.guess-options > p {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
}

.guess-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #c6b6ca;
  font-size: 10px;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.guess-option:hover {
  border-color: var(--line-strong);
  background: rgba(255, 239, 247, 0.04);
}

.guess-option span {
  display: grid;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--faint);
  font-size: 8px;
  place-items: center;
}

.guess-option.correct {
  border-color: rgba(161, 235, 197, 0.45);
  color: #d5f9e4;
  background: rgba(123, 220, 167, 0.08);
}

.guess-option.wrong {
  border-color: rgba(255, 140, 155, 0.4);
  color: #ffc5cc;
  background: rgba(255, 118, 138, 0.08);
}

.guess-next {
  width: 100%;
  margin-top: 8px;
}

.game-result {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 35px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 178, 215, 0.17), transparent 25%),
    rgba(14, 8, 20, 0.95);
  text-align: center;
  backdrop-filter: blur(17px);
}

.game-result[hidden] {
  display: none;
}

.result-star {
  margin-bottom: 14px;
  color: var(--pink-pale);
  font-size: 53px;
  text-shadow: 0 0 28px var(--pink);
}

.game-result h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
}

.game-result p {
  max-width: 420px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.game-result .btn-row {
  display: flex;
  gap: 9px;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 300;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 226, 240, 0.2);
  border-radius: 999px;
  color: var(--pink-pale);
  background: rgba(27, 15, 33, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(18px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 250;
  overflow: hidden;
  pointer-events: none;
}

.confetti {
  position: absolute;
  top: -20px;
  width: 6px;
  height: 12px;
  border-radius: 2px;
  background: var(--c, var(--pink));
  animation: confettiFall var(--dur, 2.4s) ease-in forwards;
}

@keyframes confettiFall {
  to {
    opacity: 0;
    transform: translate3d(var(--dx, 40px), 105vh, 0) rotate(720deg);
  }
}

.reveal-section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    bottom: 18px;
    left: 50%;
    z-index: 80;
    border-color: rgba(255, 225, 239, 0.18);
    background: rgba(18, 10, 24, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
    transform: translateX(-50%);
  }

  .header-actions .btn-quiet {
    display: none;
  }

  .hero {
    grid-template-columns: 0.94fr 1.06fr;
  }

  .hero h1 {
    font-size: 60px;
  }

  .floating-note {
    display: none;
  }

  .memory-grid {
    columns: 2;
  }

  .timeline-items {
    grid-template-columns: 1fr;
  }

  .capsule {
    padding: 40px;
  }

  .capsule-orbit {
    right: 2%;
  }

  .galaxy-compass {
    margin-right: 20px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 34px, 680px);
  }

  .site-header {
    padding-inline: 17px;
  }

  .brand-copy small,
  .sound-btn,
  .header-actions .btn-primary span {
    display: none;
  }

  .header-actions .btn-primary {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 65px;
    gap: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(51px, 15vw, 75px);
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-orbit {
    width: min(100%, 520px);
    justify-self: center;
    margin-top: 35px;
  }

  .orbit-photo-a {
    right: 1%;
  }

  .orbit-label {
    display: none;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 25px;
  }

  .stat-item {
    padding: 17px 10px;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-orbit-word {
    display: none;
  }

  .capacity-stat {
    border-bottom: 0;
  }

  .section {
    padding-top: 82px;
  }

  .galaxy-preview-grid {
    grid-template-columns: 1fr;
  }

  .galaxy-preview-card {
    min-height: 200px;
  }

  .galaxy-preview-card:nth-child(3) {
    display: none;
  }

  .heading-with-tools {
    align-items: flex-end;
  }

  .section-heading h2 {
    max-width: 420px;
    line-height: 1.22;
  }

  .capsule {
    min-height: 590px;
    grid-template-columns: 1fr;
    margin-top: 85px;
    padding: 38px 28px;
  }

  .capsule-copy {
    align-self: start;
  }

  .capsule-cards {
    align-self: end;
  }

  .capsule-orbit {
    top: auto;
    right: 50%;
    bottom: -70px;
    width: 300px;
    height: 300px;
    transform: translateX(50%);
  }

  .site-footer {
    min-height: 160px;
    margin-bottom: 70px;
  }

  .site-footer > p {
    display: none;
  }

  .page-hero {
    padding-top: 65px;
    padding-bottom: 42px;
  }

  .page-hero h1 {
    font-size: clamp(50px, 14vw, 75px);
  }

  .content-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 35px;
  }

  .search-field {
    padding: 8px;
  }

  .toolbar-selects select {
    flex: 1;
    min-width: 0;
  }

  .timeline::before {
    left: 58px;
  }

  .timeline-month {
    grid-template-columns: 45px 1fr;
    gap: 27px;
  }

  .timeline-label strong {
    font-size: 15px;
  }

  .timeline-label small {
    font-size: 6px;
  }

  .timeline-month::before {
    left: 53px;
  }

  .timeline-photo {
    grid-template-columns: 116px 1fr;
    min-height: 150px;
  }

  .timeline-empty {
    margin-left: 72px;
  }

  .galaxy-page-hero {
    display: block;
  }

  .galaxy-compass {
    width: 190px;
    height: 190px;
    margin: 15px auto 0;
  }

  .galaxy-map {
    min-height: 510px;
  }

  .map-center {
    top: 45%;
  }

  .map-galaxy.dynamic-0 { top: 5%; left: 5%; }
  .map-galaxy.dynamic-1 { top: 9%; right: 4%; }
  .map-galaxy.dynamic-2 { top: 67%; left: 4%; }
  .map-galaxy.dynamic-3 { top: 68%; right: 3%; }
  .map-galaxy.dynamic-4 { display: none; }
  .map-galaxy.dynamic-5 { display: none; }

  .galaxy-row {
    grid-template-columns: 58px 1fr auto;
    gap: 13px;
  }

  .galaxy-row-thumb {
    width: 54px;
    height: 54px;
  }

  .galaxy-row-meta {
    display: none;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-feature {
    min-height: 500px;
  }

  .upload-layout {
    grid-template-columns: 1fr;
  }

  .upload-panel {
    padding: 28px;
  }

  .drop-zone {
    min-height: 180px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .lightbox-image-wrap {
    min-height: auto;
    height: min(52vh, 470px);
  }

  .lightbox-image-wrap img {
    height: min(52vh, 470px);
    object-fit: contain;
  }

  .lightbox-copy {
    overflow: visible;
    padding: 30px 28px 32px;
  }

  .lightbox-nav {
    top: min(26vh, 235px);
  }

  .lightbox-nav.next {
    left: auto;
    right: 14px;
  }

  .game-panel {
    padding: 27px;
  }

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

  .pair-card {
    min-height: 140px;
  }

  .guess-stage {
    grid-template-columns: 1fr;
  }

  .guess-photo {
    min-height: 250px;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .profile-orb {
    width: 35px;
    height: 35px;
  }

  .main-nav {
    bottom: 10px;
    max-width: calc(100vw - 20px);
    gap: 0;
  }

  .nav-link {
    padding: 9px 10px;
    font-size: 10px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 30px;
  }

  .hero-travelers {
    margin-bottom: 5px;
  }

  .orbit-photo {
    width: 69px;
    height: 82px;
  }

  .orbit-photo-a {
    top: 10%;
  }

  .orbit-photo-b {
    bottom: 3%;
  }

  .orbit-photo img,
  .orbit-add {
    height: 57px;
  }

  .orbit-photo small {
    padding: 5px 3px;
    font-size: 7px;
  }

  .planet-fallback strong {
    font-size: 15px;
  }

  .planet-fallback small {
    font-size: 7px;
  }

  .stat-item strong {
    font-size: 22px;
  }

  .stat-icon {
    width: 26px;
    height: 26px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 14px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .filter-chips {
    flex-shrink: 0;
  }

  .filter-chip {
    padding-inline: 10px;
  }

  .memory-grid {
    columns: 1;
  }

  .memory-card img,
  .memory-card:nth-child(3n + 2) img {
    min-height: 230px;
    max-height: 480px;
  }

  .card-favorite {
    opacity: 1;
  }

  .capsule-copy h2 {
    font-size: 42px;
  }

  .game-card {
    width: 120px;
    height: 168px;
  }

  .ghost-card:first-child {
    transform: translateX(-76px) rotate(-15deg) scale(0.87);
  }

  .ghost-card:last-child {
    transform: translateX(76px) rotate(14deg) scale(0.87);
  }

  .footer-right > span {
    display: none;
  }

  .timeline-photo {
    grid-template-columns: 104px 1fr;
  }

  .timeline-photo-copy {
    padding: 13px 12px;
  }

  .timeline-photo-copy h3 {
    font-size: 15px;
  }

  .timeline-photo-copy p {
    -webkit-line-clamp: 1;
  }

  .timeline-month {
    gap: 21px;
  }

  .timeline-label strong {
    font-size: 12px;
  }

  .timeline-label small {
    display: none;
  }

  .galaxy-row {
    padding-right: 12px;
  }

  .galaxy-row h3 {
    font-size: 17px;
  }

  .galaxy-row-arrow {
    width: 30px;
    height: 30px;
  }

  .game-feature-copy {
    padding-inline: 25px;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
    padding: 29px 20px 23px;
    border-radius: 19px;
  }

  .upload-panel h2,
  .invite-panel h2,
  .profile-panel h2 {
    font-size: 32px;
  }

  .memory-form {
    padding: 17px;
  }

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

  .lightbox-copy h2 {
    font-size: 30px;
  }

  .invite-ticket {
    align-items: flex-start;
    padding: 17px;
  }

  .ticket-orbit {
    width: 43px;
    height: 43px;
  }

  .invite-ticket strong {
    font-size: 19px;
  }

  .game-panel {
    min-height: 0;
    padding: 23px 15px;
  }

  .game-panel-head {
    padding-right: 28px;
  }

  .game-panel-head h2 {
    font-size: 28px;
  }

  .pair-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .pair-card {
    min-height: 104px;
  }

  #gameBody {
    min-height: 350px;
  }

  .guess-photo {
    min-height: 200px;
  }
}

@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;
  }
}
