:root {
  --bg: #f6f4ef;
  --paper: #fffdfa;
  --ink: #292621;
  --mute: #8b857d;
  --edge: #e9e5de;
  --wash: #f0ede7;
  --rose: #a8737b;
  --rosewash: #f3e7e6;
  --sage: #7c897b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
body.dark {
  --bg: #181817;
  --paper: #242321;
  --ink: #f7f3ee;
  --mute: #a6a098;
  --edge: #3a3834;
  --wash: #302e2a;
  --rose: #d5a7ac;
  --rosewash: #47363a;
  --sage: #9bae9a;
}
.app {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 22px 32px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.brand {
  font:
    32px Georgia,
    serif;
  letter-spacing: -1.8px;
}
.brand i {
  color: var(--rose);
  font:
    16px Georgia,
    serif;
  vertical-align: top;
  margin-left: 4px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--mute);
}
.right {
  display: flex;
  gap: 9px;
  align-items: center;
}
.profile {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 50px;
  padding: 5px 11px 5px 5px;
  font-size: 12px;
  font-weight: 650;
}
.avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcd0c6;
  color: #534541;
  font-size: 12px;
  font-weight: 750;
}
.round {
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 50%;
  width: 38px;
  height: 38px;
}
.nav {
  display: flex;
  gap: 3px;
  background: var(--wash);
  padding: 5px;
  border-radius: 13px;
  margin-bottom: 26px;
}
.nav button {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 11px 4px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 12px;
  color: var(--mute);
}
.nav button.sel {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 5px #00000008;
}
.headline {
  font:
    normal clamp(30px, 4.5vw, 42px) / 1.12 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 10px 0 8px;
}
.lede {
  color: var(--mute);
  font-size: 13px;
  margin: 0 0 22px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--edge);
  padding: 20px;
  border-radius: 16px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.dash {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 15px;
}
.stack {
  display: grid;
  gap: 15px;
}
.mini-title {
  font:
    normal 24px Georgia,
    serif;
  letter-spacing: -0.45px;
  margin: 0;
}
.headrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin: 5px 0 12px;
}
.small {
  color: var(--mute);
  font-size: 12px;
}
.hero {
  background: #e9e0d8;
  color: #443733;
  min-height: 225px;
  position: relative;
  overflow: hidden;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dark .hero {
  background: #413732;
  color: #f4e9e3;
}
.hero:after {
  content: "";
  position: absolute;
  right: 2%;
  top: -72px;
  font:
    290px Georgia,
    serif;
  opacity: 0.16;
  transform: rotate(-16deg);
}
.hero .eyebrow {
  color: inherit;
  opacity: 0.7;
}
.hero strong {
  display: block;
  font:
    normal 33px Georgia,
    serif;
  letter-spacing: -0.4px;
  position: relative;
  z-index: 1;
}
.hero .small {
  color: inherit;
  opacity: 0.75;
}
.button {
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 9px;
}
.button.ghost {
  background: var(--wash);
  color: var(--ink);
}
.textbtn {
  border: 0;
  background: none;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  padding: 5px;
}
.category {
  border: 1px solid var(--edge);
  background: var(--paper);
  border-radius: 15px;
  padding: 17px;
  text-align: left;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category .emoji {
  font:
    25px Georgia,
    serif;
  color: var(--rose);
}
.category h3 {
  margin: 0;
  font-size: 14px;
}
.category p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--mute);
}
.note {
  background: var(--rosewash);
  padding: 15px;
  border-radius: 13px;
}
.note p {
  font:
    italic 17px Georgia,
    serif;
  margin: 5px 0;
}
.moviegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.movie {
  min-width: 0;
}
.poster {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 11px;
  overflow: hidden;
  background: linear-gradient(150deg, #756c79, #26272f);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
  padding: 12px;
  font:
    18px Georgia,
    serif;
  text-align: center;
}
.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster span {
  position: relative;
  z-index: 0;
}
.movie-title {
  font-size: 13px;
  font-weight: 650;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meta {
  font-size: 11px;
  color: var(--mute);
}
.lovepair {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 8px;
}
.heartbtn {
  border: 1px solid var(--edge);
  background: var(--paper);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
}
.heartbtn.liked {
  background: var(--rosewash);
  color: var(--rose);
  border-color: transparent;
}
.tiny {
  font-size: 10px;
  color: var(--mute);
}
.pill {
  display: inline-block;
  border-radius: 30px;
  background: var(--wash);
  color: var(--mute);
  font-size: 10px;
  padding: 5px 9px;
  font-weight: 700;
}
.pill.match {
  background: var(--rosewash);
  color: var(--rose);
}
.chiprow {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.chip {
  border: 1px solid var(--edge);
  background: var(--paper);
  border-radius: 24px;
  color: var(--mute);
  padding: 8px 12px;
  font-size: 11px;
}
.chip.sel {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.field {
  width: 100%;
  border: 1px solid var(--edge);
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
  border-radius: 10px;
  outline: none;
  margin-top: 6px;
}
.field:focus {
  border-color: var(--rose);
}
.listrow {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
}
.listrow:last-child {
  border-bottom: 0;
}
.check {
  width: 25px;
  height: 25px;
  border: 1px solid var(--edge);
  background: var(--paper);
  border-radius: 8px;
  flex: none;
}
.check.yes {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}
.rowbody {
  flex: 1;
  min-width: 0;
}
.rowbody strong {
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rowbody small {
  font-size: 11px;
  color: var(--mute);
}
.iconbtn {
  background: none;
  border: 0;
  color: var(--mute);
  padding: 7px;
}
.quiet {
  font:
    italic 19px Georgia,
    serif;
  color: var(--mute);
}
.planidea {
  background: var(--wash);
  border-radius: 13px;
  padding: 27px 20px;
  text-align: center;
  min-height: 175px;
  display: grid;
  place-content: center;
}
.planidea h2 {
  font:
    normal 25px Georgia,
    serif;
  margin: 5px;
}
.planidea p {
  color: var(--mute);
  font-size: 12px;
  margin: 5px;
  max-width: 280px;
}
.datebox {
  display: flex;
  align-items: center;
  gap: 15px;
}
.datebadge {
  padding: 12px;
  background: var(--wash);
  border-radius: 11px;
  text-align: center;
  min-width: 56px;
}
.datebadge strong {
  display: block;
  font:
    23px Georgia,
    serif;
}
.datebadge small {
  display: block;
  font-size: 10px;
  color: var(--mute);
}
.footer {
  text-align: center;
  padding: 24px 0 4px;
  color: var(--mute);
  font-size: 10px;
  letter-spacing: 1.4px;
}
.modalwrap {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #141312a9;
  display: grid;
  place-items: center;
  padding: 15px;
}
.modal {
  background: var(--paper);
  color: var(--ink);
  max-width: 480px;
  width: 100%;
  border-radius: 18px;
  padding: 23px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 24px 90px #0004;
}
.modalheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.modal h2 {
  font:
    normal 26px Georgia,
    serif;
  margin: 0;
}
.modal form {
  margin-top: 16px;
}
.modal label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
  margin-top: 11px;
}
.modalactions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}
.results {
  max-height: 300px;
  overflow: auto;
  margin-top: 12px;
}
.result {
  display: flex;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid var(--edge);
  padding: 10px 0;
}
.thumb {
  width: 43px;
  height: 61px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--wash);
}
.resultinfo {
  flex: 1;
  min-width: 0;
}
.resultinfo strong {
  display: block;
  font-size: 12px;
}
.resultinfo small {
  color: var(--mute);
  font-size: 11px;
}
.resultinfo a {
  font-size: 10px;
  color: var(--rose);
}
.empty {
  padding: 26px 12px;
  text-align: center;
  color: var(--mute);
  font-size: 13px;
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: #3a332f;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 30px #0002;
  font-size: 12px;
}
hr {
  border: 0;
  border-top: 1px solid var(--edge);
  margin: 18px 0;
}
@media (max-width: 680px) {
  .app {
    padding: 13px;
  }
  .dash {
    grid-template-columns: 1fr;
  }
  .moviegrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .panel {
    padding: 16px;
  }
  .right {
    gap: 5px;
  }
  .brand {
    font-size: 29px;
  }
  .nav {
    margin-bottom: 22px;
  }
  .nav button {
    font-size: 11px;
  }
  .hero {
    min-height: 210px;
  }
}
@media (max-width: 365px) {
  .moviegrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile {
    padding-right: 6px;
    font-size: 11px;
  }
  .panel {
    padding: 14px;
  }
}

/* LDR HOME — V3 */
.distance-section {
  margin-bottom: 19px;
}
.distance-section .section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 1px 11px;
  gap: 10px;
}
.distance-section .section-kicker h2 {
  font:
    normal 22px Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 0;
}
.distance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.distance-card {
  border-radius: 17px;
  border: 1px solid var(--edge);
  padding: 19px 19px 17px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.distance-card.reunion {
  background: #efe4e0;
  border-color: #eadbd5;
  color: #4c3d3a;
}
.dark .distance-card.reunion {
  background: #423734;
  border-color: #584642;
  color: #f9eee9;
}
.distance-card .distance-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--mute);
  position: relative;
  z-index: 1;
}
.distance-card.reunion .distance-label {
  color: inherit;
  opacity: 0.7;
}
.distance-card .distance-value {
  font:
    normal clamp(46px, 7.5vw, 72px) / 1 Georgia,
    serif;
  letter-spacing: -2.5px;
  margin: 12px 0 0;
  position: relative;
  z-index: 1;
}
.distance-card .distance-unit {
  font:
    normal 18px Georgia,
    serif;
  letter-spacing: -0.3px;
  margin-top: 1px;
  position: relative;
  z-index: 1;
}
.distance-card .distance-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
  margin-top: 17px;
}
.distance-card .distance-foot small {
  font-size: 11px;
  color: var(--mute);
}
.distance-card.reunion .distance-foot small {
  color: inherit;
  opacity: 0.72;
}
.distance-edit {
  background: transparent;
  color: var(--rose);
  border: 0;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.distance-card.reunion .distance-edit {
  color: inherit;
}
.distance-card.reunion:after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 3px;
  top: -44px;
  font:
    190px Georgia,
    serif;
  opacity: 0.11;
  transform: rotate(12deg);
}
.distance-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--mute);
  font-size: 11px;
}
@media (max-width: 400px) {
  .distance-grid {
    gap: 9px;
  }
  .distance-card {
    padding: 14px;
    min-height: 178px;
  }
  .distance-card .distance-value {
    font-size: 48px;
  }
  .distance-card .distance-label {
    font-size: 9px;
    letter-spacing: 1.1px;
  }
  .distance-card .distance-unit {
    font-size: 16px;
  }
  .distance-card .distance-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-top: 12px;
  }
}

/* OURS V4 • THE REUNION RITUAL */
.distance-card.reunion.in-person {
  background: #e7e7de;
  border-color: #dfe1d6;
  color: #3c4b40;
}
.dark .distance-card.reunion.in-person {
  background: #343d36;
  border-color: #4b554d;
  color: #e5f0e5;
}
.distance-card.reunion.memory-lock {
  background: #f2e9e2;
  border-color: #e8d9cc;
  color: #694e43;
}
.dark .distance-card.reunion.memory-lock {
  background: #473b33;
  border-color: #554638;
  color: #f4e0d1;
}
.reunion-banner {
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--paper);
  padding: 18px 20px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.reunion-banner h3 {
  font:
    normal 23px Georgia,
    serif;
  letter-spacing: -0.4px;
  margin: 3px 0 5px;
}
.reunion-banner p {
  margin: 0;
  color: var(--mute);
  font-size: 12px;
  max-width: 540px;
}
.reunion-banner .button {
  white-space: nowrap;
  flex: none;
}
.reunion-banner.locked {
  border-color: #eadbd5;
  background: var(--rosewash);
}
.reunion-banner.locked p {
  color: var(--ink);
  opacity: 0.7;
}
.reunion-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 22px;
}
.reunion-stepper .step {
  font-size: 10px;
  font-weight: 700;
  padding: 7px 10px;
  border: 1px solid var(--edge);
  background: var(--paper);
  color: var(--mute);
  border-radius: 24px;
}
.reunion-stepper .step.now {
  color: var(--rose);
  background: var(--rosewash);
  border-color: transparent;
}
.reunion-stepper .connector {
  height: 1px;
  background: var(--edge);
  width: 16px;
}
.memory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 17px;
}
.memory-upload {
  display: block;
  border: 1.5px dashed var(--rose);
  background: var(--rosewash);
  padding: 22px;
  text-align: center;
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
  margin-top: 12px;
}
.memory-upload strong {
  display: block;
  font:
    normal 22px Georgia,
    serif;
  margin: 6px 0;
}
.memory-upload small {
  color: var(--mute);
  font-size: 11px;
  display: block;
}
.memory-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.memory-progress {
  height: 7px;
  background: var(--wash);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 12px;
}
.memory-progress > span {
  display: block;
  height: 100%;
  background: var(--rose);
  border-radius: 20px;
  transition: width 0.18s;
}
.memory-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 15px;
}
.memory-photo {
  aspect-ratio: 3/4;
  min-width: 0;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--edge);
}
.memory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memory-photo .delete-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #14110fcf;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: 14px;
  line-height: 1;
}
.memory-slot {
  display: grid;
  place-items: center;
  color: var(--mute);
  font:
    25px Georgia,
    serif;
}
.memory-card {
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid var(--edge);
  background: var(--paper);
}
.memory-cover {
  aspect-ratio: 5/3;
  display: grid;
  place-items: center;
  background: var(--rosewash);
  overflow: hidden;
  font:
    55px Georgia,
    serif;
  color: var(--rose);
}
.memory-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memory-card-body {
  padding: 14px 15px;
}
.memory-card-body h3 {
  font:
    normal 21px Georgia,
    serif;
  margin: 0 0 4px;
}
.memory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.memory-save-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
@media (max-width: 730px) {
  .memory-layout {
    grid-template-columns: 1fr;
  }
  .memory-gallery {
    grid-template-columns: repeat(5, 1fr);
  }
  .reunion-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .reunion-banner .button {
    align-self: flex-start;
  }
}
@media (max-width: 390px) {
  .memory-gallery {
    gap: 5px;
  }
  .memory-photo .delete-photo {
    width: 20px;
    height: 20px;
  }
  .reunion-banner {
    padding: 14px;
  }
  .reunion-stepper .step {
    font-size: 9px;
    padding: 6px 8px;
  }
  .reunion-stepper .connector {
    width: 9px;
  }
}

/* OURS V5 — photo-first memory archive */
.nav {
  gap: 2px;
}
.nav button {
  padding: 11px 2px;
  font-size: 11px;
}
.nav button:focus-visible,
.album-card:focus-visible,
.latest-memory:focus-visible,
.story-photo:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.latest-section {
  margin: 3px 0 22px;
}
.latest-memory {
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  width: 100%;
  text-align: left;
  padding: 0;
  min-height: 218px;
  box-shadow: 0 12px 34px #3c2c2510;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s;
}
.latest-memory:hover,
.album-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px #3c2c2518;
}
.latest-photo-frame {
  position: relative;
  min-height: 205px;
  display: block;
  overflow: hidden;
  background: #c6a5a0;
}
.latest-photo-frame > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.latest-mini-img {
  position: absolute;
  display: block;
  width: 32%;
  aspect-ratio: 0.85;
  bottom: 13px;
  right: 13px;
  border: 4px solid #fffdfa;
  transform: rotate(7deg);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 5px 16px #2218124d;
}
.latest-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-text {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  min-width: 0;
}
.latest-name {
  font:
    normal clamp(26px, 3vw, 38px) / 1.13 Georgia,
    serif;
  letter-spacing: -0.65px;
}
.latest-name i {
  color: var(--rose);
  font-size: 20px;
}
.latest-description {
  font:
    italic 16px/1.55 Georgia,
    serif;
  color: var(--mute);
  max-width: 390px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-bottom {
  font-size: 11px;
  color: var(--mute);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 10px;
}
.latest-bottom b {
  font-size: 12px;
  color: var(--rose);
  white-space: nowrap;
}
.sample-notice {
  color: var(--mute);
  font-size: 11px;
  margin: 8px 3px 12px;
}
.sample-notice.center {
  text-align: center;
  padding: 18px;
}
.album-index .lede {
  max-width: 660px;
}
.album-hero-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 750;
  color: var(--mute);
  margin: 24px 2px 12px;
}
.album-card {
  display: block;
  position: relative;
  border: 1px solid var(--edge);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  padding: 0;
  width: 100%;
  text-align: left;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.album-art {
  position: relative;
  display: block;
  width: 100%;
  height: 230px;
  background: #9d8888;
  overflow: hidden;
  color: #fff;
  font:
    90px Georgia,
    serif;
  text-align: center;
}
.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.album-card:hover .album-art img {
  transform: scale(1.03);
}
.album-card-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.album-chapter {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
  color: var(--rose);
}
.album-chapter span {
  float: right;
}
.album-name {
  font:
    normal 29px/1.15 Georgia,
    serif;
  letter-spacing: -0.6px;
}
.album-sub {
  font-size: 12px;
  color: var(--mute);
}
.album-open {
  color: var(--rose);
  font-weight: 700;
  font-size: 12px;
  margin-top: 6px;
}
.album-card.featured {
  display: grid;
  grid-template-columns: 57% 43%;
  min-height: 385px;
}
.album-card.featured .album-art {
  height: 100%;
  min-height: 385px;
}
.album-card.featured .album-card-info {
  justify-content: center;
  padding: 38px;
}
.album-card.featured .album-name {
  font-size: clamp(35px, 4vw, 50px);
  letter-spacing: -1.2px;
}
.album-card.featured .album-open {
  margin-top: 35px;
}
.memory-index-bottom {
  margin-top: 33px;
}
.memory-index-bottom h2 {
  margin: 6px 0 18px;
}
.album-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.album-empty-bottom {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 32px 0 18px;
}
.flower-mark {
  font:
    50px Georgia,
    serif;
  color: var(--rose);
}
.album-empty-bottom p {
  max-width: 530px;
  margin-top: 6px;
}
.album-end {
  text-align: center;
  color: var(--mute);
  font:
    italic 19px Georgia,
    serif;
  margin: 44px 0 13px;
}
.memory-story {
  animation: ours-memory-in 0.26s ease;
}
.back-link {
  border: 0;
  background: none;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 0;
  margin-bottom: 13px;
}
.memory-story-cover {
  height: clamp(410px, 60vw, 680px);
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #a58485, #4c485d);
  color: #fff;
}
.memory-story-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.memory-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #1714166a,
    transparent 36%,
    transparent 49%,
    #171416a8
  );
}
.memory-cover-top,
.memory-cover-bottom {
  position: absolute;
  z-index: 1;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
}
.memory-cover-top {
  top: 25px;
}
.memory-cover-bottom {
  bottom: 31px;
  display: block;
}
.memory-cover-bottom h1 {
  font:
    normal clamp(38px, 6vw, 73px) / 1.05 Georgia,
    serif;
  max-width: 780px;
  letter-spacing: -1.9px;
  margin: 12px 0 15px;
  text-wrap: balance;
}
.memory-cover-bottom h1 i {
  color: #f2b9ba;
  font-size: 0.65em;
  font-style: normal;
}
.memory-story-intro {
  position: relative;
  text-align: center;
  padding: 75px 20px 48px;
  max-width: 750px;
  margin: auto;
}
.memory-story-intro h2 {
  font:
    normal clamp(27px, 4vw, 43px) / 1.22 Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 13px 0 22px;
}
.memory-story-intro h2 em {
  font-weight: normal;
  color: var(--rose);
}
.memory-poem {
  font:
    italic 20px/1.7 Georgia,
    serif;
  color: var(--mute);
  max-width: 570px;
  margin: 0 auto 23px;
}
.memory-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--mute);
}
.memory-stamp {
  position: absolute;
  right: -38px;
  top: 22px;
  transform: rotate(12deg);
  border: 1px solid var(--rose);
  border-radius: 100%;
  width: 94px;
  height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  font:
    italic 14px/1.02 Georgia,
    serif;
  opacity: 0.78;
}
.memory-stamp b {
  font-size: 17px;
}
.memory-gallery-label {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 8px 0 17px;
  gap: 10px;
}
.memory-gallery-label h2 {
  font:
    normal 29px Georgia,
    serif;
  margin: 7px 0 0;
}
.memory-gallery-aside {
  font:
    italic 13px Georgia,
    serif;
  color: var(--mute);
}
.story-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 11px;
}
.story-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  background: var(--wash);
  padding: 0;
  border-radius: 10px;
  aspect-ratio: 1;
  grid-column: span 2;
}
.story-photo-0 {
  grid-column: span 4;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 430px;
}
.story-photo-1,
.story-photo-2 {
  grid-column: span 2;
}
.story-photo-3 {
  grid-column: span 3;
  aspect-ratio: 1.25;
}
.story-photo-4 {
  grid-column: span 3;
  aspect-ratio: 1.25;
}
.story-photo-5 {
  grid-column: span 2;
  aspect-ratio: 1;
}
.story-photo-6 {
  grid-column: span 4;
  aspect-ratio: 2.1;
}
.story-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  position: absolute;
  inset: 0;
}
.story-photo:hover img {
  transform: scale(1.035);
}
.story-photo > span {
  position: absolute;
  left: 14px;
  bottom: 11px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  text-shadow: 0 1px 7px #000a;
}
.story-ending {
  text-align: center;
  padding: 70px 0 47px;
}
.ending-heart {
  font:
    normal 46px Georgia,
    serif;
  color: var(--rose);
}
.story-ending h2 {
  font:
    normal clamp(28px, 4vw, 42px) / 1.2 Georgia,
    serif;
  margin: 13px 0 7px;
}
.story-ending p {
  font:
    italic 17px Georgia,
    serif;
  color: var(--mute);
}
.story-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.photo-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: #151311f7;
  color: #f9f4ed;
  display: grid;
  grid-template-rows: 55px 1fr 60px;
  padding: 9px 14px;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 1.2px;
}
.lightbox-bar button {
  font-size: 30px;
  border: 0;
  background: transparent;
  color: white;
  padding: 0 14px;
}
.lightbox-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 3px;
}
.lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
  max-height: calc(100dvh - 140px);
}
.lightbox-stage button {
  color: white;
  background: #ffffff22;
  border: 0;
  border-radius: 50%;
  height: 38px;
  width: 38px;
  font-size: 30px;
}
.lightbox-foot {
  display: grid;
  place-content: center;
  text-align: center;
  font:
    italic 16px Georgia,
    serif;
  color: #d4c6c0;
}
@keyframes ours-memory-in {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 680px) {
  .nav button {
    font-size: 10px;
    padding: 10px 0;
  }
  .latest-memory {
    grid-template-columns: 40% 60%;
    min-height: 184px;
  }
  .latest-photo-frame {
    min-height: 195px;
  }
  .latest-text {
    padding: 15px 14px;
    gap: 8px;
  }
  .latest-name {
    font-size: 25px;
  }
  .latest-description {
    font-size: 14px;
    line-height: 1.3;
    -webkit-line-clamp: 3;
  }
  .latest-bottom {
    font-size: 10px;
    display: block;
    margin-top: 3px;
  }
  .latest-bottom b {
    display: block;
    margin-top: 5px;
  }
  .album-card.featured {
    grid-template-columns: 1fr;
  }
  .album-card.featured .album-art {
    min-height: 0;
    height: 300px;
  }
  .album-card.featured .album-card-info {
    padding: 23px;
  }
  .album-card.featured .album-name {
    font-size: 37px;
  }
  .album-card.featured .album-open {
    margin-top: 8px;
  }
  .memory-story-cover {
    height: 490px;
  }
  .memory-cover-top,
  .memory-cover-bottom {
    left: 18px;
    right: 18px;
  }
  .memory-cover-top {
    top: 19px;
  }
  .memory-cover-bottom {
    bottom: 24px;
  }
  .memory-cover-bottom h1 {
    font-size: 48px;
  }
  .memory-story-intro {
    padding: 62px 16px 36px;
  }
  .memory-stamp {
    right: 2px;
    top: 14px;
    width: 69px;
    height: 69px;
    font-size: 10px;
  }
  .memory-gallery-aside {
    font-size: 11px;
  }
  .story-gallery {
    gap: 7px;
  }
  .story-photo-0 {
    min-height: 240px;
  }
  .story-photo-3,
  .story-photo-4 {
    aspect-ratio: 1;
  }
  .lightbox-stage {
    grid-template-columns: 35px 1fr 35px;
  }
  .lightbox-stage button {
    height: 29px;
    width: 29px;
    font-size: 22px;
  }
  .album-cards {
    grid-template-columns: 1fr;
  }
  .album-empty-bottom {
    padding: 24px 0;
    gap: 11px;
  }
  .flower-mark {
    font-size: 34px;
  }
}
@media (max-width: 370px) {
  .nav button {
    font-size: 9px;
  }
  .latest-name {
    font-size: 22px;
  }
  .latest-photo-frame {
    min-height: 200px;
  }
  .memory-cover-bottom h1 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .memory-story,
  .album-card,
  .latest-memory,
  .story-photo img {
    animation: none;
    transition: none;
  }
}

/* OURS V6: soundtrack of a memory */
.memory-soundtrack {
  max-width: 670px;
  margin: 0 auto 65px;
  padding: 23px 25px;
  display: flex;
  align-items: center;
  gap: 19px;
  border: 1px solid var(--edge);
  background: var(--paper);
  border-radius: 19px;
  box-shadow: 0 14px 38px #33272709;
}
.memory-soundtrack .disc {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: repeating-radial-gradient(
    circle at center,
    #3b3435 0,
    #3b3435 3px,
    #615051 4px,
    #262425 5px
  );
  color: #f4d7d4;
  font-size: 24px;
  box-shadow: 0 5px 16px #0002;
}
.memory-soundtrack .disc:before {
  content: "";
  display: grid;
  place-items: center;
  background: var(--rosewash);
  height: 27px;
  width: 27px;
  border-radius: 50%;
  color: var(--rose);
  font-size: 18px;
}
.memory-soundtrack .songinfo {
  flex: 1;
  min-width: 0;
}
.memory-soundtrack .songinfo h3 {
  font:
    normal 23px/1.15 Georgia,
    serif;
  margin: 6px 0 3px;
  overflow-wrap: anywhere;
}
.memory-soundtrack .songinfo p {
  font-size: 12px;
  color: var(--mute);
  margin: 0;
}
.memory-soundtrack .songlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--edge);
  border-radius: 50px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.memory-soundtrack .songlink:hover {
  border-color: var(--rose);
  color: var(--rose);
}
.soundtrack-kicker {
  color: var(--rose);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
}
@media (max-width: 540px) {
  .memory-soundtrack {
    margin-bottom: 42px;
    padding: 17px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .memory-soundtrack .disc {
    height: 55px;
    width: 55px;
  }
  .memory-soundtrack .songinfo h3 {
    font-size: 20px;
  }
  .memory-soundtrack .songlink {
    margin-left: 66px;
  }
}

/* OURS · Quote Book */
.quote-feature {
  margin: 26px 0 20px;
  background: linear-gradient(125deg, var(--rosewash), var(--paper));
  border: 1px solid var(--edge);
  border-radius: 19px;
  padding: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.quote-feature h2 {
  font:
    normal 26px Georgia,
    serif;
  line-height: 1.15;
  margin: 8px 0;
}
.quote-feature p {
  margin: 0;
  color: var(--mute);
  font-size: 12px;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.quote-card {
  border-radius: 17px;
  border: 1px solid var(--edge);
  padding: 22px;
  background: var(--paper);
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.quote-card:nth-child(4n + 2),
.quote-card:nth-child(4n + 3) {
  background: var(--rosewash);
}
.quote-mark {
  font:
    53px Georgia,
    serif;
  line-height: 0.55;
  color: var(--rose);
  opacity: 0.75;
  margin: 5px 0 15px;
}
.quote-words {
  font:
    normal clamp(20px, 3vw, 28px) / 1.22 Georgia,
    serif;
  overflow-wrap: anywhere;
}
.quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.quote-credit {
  font-size: 11px;
  color: var(--mute);
}
.quote-actions {
  display: flex;
  gap: 2px;
}
.quote-actions button {
  border: 0;
  background: transparent;
  color: var(--mute);
  padding: 5px;
  font-size: 12px;
}
.quote-feature .button {
  white-space: nowrap;
}
.quote-random {
  background: var(--wash);
  border: 1px solid var(--edge);
  border-radius: 17px;
  text-align: center;
  padding: 30px 17px;
  margin-bottom: 22px;
}
.quote-random blockquote {
  font:
    italic 30px/1.3 Georgia,
    serif;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.quote-random .quote-credit {
  font-size: 12px;
}
@media (max-width: 650px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .quote-feature {
    align-items: start;
    flex-direction: column;
  }
  .quote-random blockquote {
    font-size: 25px;
  }
}

/* OURS V8 · Little Love + Photo Roulette + Quote of the Day */
.little-love-burst {
  position: fixed;
  z-index: 120;
  inset: 0;
  pointer-events: none;
  background: #17121544;
  display: grid;
  place-items: center;
  animation: love-layer-in 0.28s ease both;
}
.little-love-burst-inner {
  width: min(285px, 80vw);
  padding: 37px 25px;
  border: 1px solid var(--edge);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 24px 80px #0003;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.burst-symbol {
  font:
    normal 80px/1 Georgia,
    serif;
  color: var(--rose);
  height: 91px;
  display: grid;
  place-items: center;
}
.burst-text {
  font:
    normal 27px Georgia,
    serif;
  color: var(--text);
}
.burst-small {
  font-size: 12px;
  color: var(--mute);
}
.love-burst-kiss .burst-symbol {
  animation: love-float 1.2s ease-in-out both;
}
.love-burst-hug .burst-symbol {
  font-size: 55px;
  letter-spacing: -17px;
  transform-origin: center;
  animation: love-hug 1.3s ease both;
}
.love-burst-miss .burst-symbol {
  animation: love-pulse 1.3s ease both;
}
.love-burst-thinking .burst-symbol {
  animation: love-sparkle 1.1s ease-in-out both;
}
.love-burst-love .burst-symbol {
  animation: love-heartgrow 1.2s ease both;
}
.love-burst-cuddle .burst-symbol {
  animation: love-cuddle 1.2s ease both;
}
@keyframes love-layer-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes love-float {
  0% {
    transform: translateY(24px) scale(0.7);
    opacity: 0.2;
  }
  65% {
    transform: translateY(-17px) scale(1.12);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes love-hug {
  0% {
    letter-spacing: 20px;
    opacity: 0.3;
  }
  65% {
    letter-spacing: -22px;
    opacity: 1;
  }
  100% {
    letter-spacing: -17px;
  }
}
@keyframes love-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(0.94);
  }
}
@keyframes love-sparkle {
  0% {
    transform: rotate(-28deg) scale(0.5);
    opacity: 0.3;
  }
  65% {
    transform: rotate(25deg) scale(1.25);
    opacity: 1;
  }
  100% {
    transform: rotate(0) scale(1);
  }
}
@keyframes love-heartgrow {
  0% {
    transform: scale(0.2);
    opacity: 0.3;
  }
  60% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes love-cuddle {
  0% {
    transform: scale(1.3) rotate(-10deg);
  }
  55% {
    transform: scale(0.85) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .little-love-burst,
  .burst-symbol {
    animation: none !important;
  }
}

.quote-daily {
  background: linear-gradient(130deg, var(--rosewash), var(--paper));
  align-items: center;
  padding: 25px 27px;
}
.quote-daily-content {
  flex: 1;
  min-width: 0;
}
.quote-daily blockquote {
  font:
    italic clamp(22px, 3.2vw, 34px) / 1.26 Georgia,
    serif;
  color: var(--text);
  margin: 14px 0 8px;
  max-width: 670px;
  overflow-wrap: anywhere;
}
.quote-daily-credit {
  font-size: 12px;
  color: var(--mute);
}
.quote-daily-tagline {
  font:
    italic 15px Georgia,
    serif !important;
  color: var(--rose) !important;
  margin-top: 12px !important;
}
.little-love-home {
  margin: 22px 0;
  background: var(--paper);
  border: 1px solid var(--edge);
  padding: 22px 24px 18px;
  border-radius: 19px;
  box-shadow: 0 10px 28px #33272708;
}
.little-love-home .headrow {
  margin-bottom: 17px;
}
.little-love-home h2 {
  font:
    normal clamp(24px, 3vw, 30px) / 1.15 Georgia,
    serif;
  margin: 8px 0 0;
}
.little-love-home h2 i {
  color: var(--rose);
}
.love-selector {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.love-gesture {
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--wash);
  color: var(--text);
  padding: 13px 5px 12px;
  min-height: 91px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.love-gesture:hover {
  border-color: var(--rose);
  background: var(--rosewash);
  transform: translateY(-3px);
}
.love-gesture:active {
  transform: scale(0.96);
}
.love-gesture-symbol {
  color: var(--rose);
  font:
    normal 30px Georgia,
    serif;
  line-height: 1;
  display: block;
  animation: little-heart-arrive 0.35s ease both;
}
.love-gesture span:last-child {
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.love-gesture:focus-visible,
.love-inbox-item button:focus-visible,
.roulette-home button:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.love-hint {
  font:
    italic 13px Georgia,
    serif;
  color: var(--mute);
  margin: 15px 0 0;
  text-align: center;
}
.love-home-inbox {
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--edge);
}
.love-home-inbox .eyebrow {
  margin-bottom: 7px;
}
.love-inbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--edge);
}
.love-inbox-item:last-child {
  border-bottom: 0;
}
.love-inbox-icon {
  color: var(--rose);
  font:
    31px Georgia,
    serif;
  width: 38px;
  text-align: center;
  flex: none;
}
.love-inbox-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.love-inbox-text strong {
  font:
    normal 17px/1.2 Georgia,
    serif;
}
.love-inbox-text small {
  font-size: 11px;
  color: var(--mute);
}
.love-replied {
  color: var(--rose);
  font-size: 11px;
}
.love-reply {
  font-size: 11px !important;
  white-space: nowrap;
  padding: 10px 12px !important;
}
.little-love-page {
  margin-top: 28px;
}
.love-selector-big {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 15px 0 24px;
}
.love-selector-big .love-gesture {
  padding: 22px 12px;
  min-height: 156px;
  gap: 12px;
}
.love-selector-big .love-gesture-symbol {
  font-size: 41px;
}
.love-selector-big strong {
  font:
    normal 19px Georgia,
    serif;
}
.love-selector-big small {
  font-size: 11px;
  line-height: 1.35;
  max-width: 150px;
  color: var(--mute);
}
.love-page-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.love-section {
  min-width: 0;
}
.love-section .headrow {
  margin-bottom: 9px;
}
.love-sent {
  padding: 13px 3px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--edge);
  font-size: 12px;
}
.love-sent:last-child {
  border: 0;
}
.love-sent-icon {
  font:
    24px Georgia,
    serif;
  color: var(--rose);
}
.love-sent small {
  margin-left: auto;
  color: var(--mute);
}
.love-disclaimer {
  text-align: center;
  margin: 20px 0 0;
}
.little-love-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--rosewash);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 24px;
  margin: 20px 0;
}
.little-love-shortcut h2 {
  font:
    normal 29px Georgia,
    serif;
  margin: 8px 0;
}
.little-love-shortcut p {
  color: var(--mute);
  font-size: 12px;
  margin: 0;
}
.little-love-shortcut .button {
  white-space: nowrap;
}
.roulette-home {
  margin: 25px 0 30px;
  display: grid;
  grid-template-columns: 36% 1fr;
  min-height: 228px;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 19px;
  overflow: hidden;
}
.roulette-photo {
  background: #c2a59c;
  position: relative;
  min-height: 230px;
  overflow: hidden;
}
.roulette-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.roulette-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 26px 28px;
}
.roulette-text h2 {
  font:
    normal clamp(25px, 3vw, 35px) / 1.15 Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 9px 0;
}
.roulette-text p {
  color: var(--mute);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.roulette-buttons,
.roulette-stage-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.roulette-buttons .button,
.roulette-stage-actions .button {
  font-size: 11px;
}
.memory-roulette-callout {
  text-align: center;
  background: var(--rosewash);
  border: 1px solid var(--edge);
  padding: 30px 17px;
  border-radius: 19px;
  margin: 34px 0 0;
}
.memory-roulette-callout h2 {
  font:
    normal 28px Georgia,
    serif;
  margin: 12px 0 8px;
}
.memory-roulette-callout p {
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 19px;
}
.roulette-page {
  animation: ours-memory-in 0.28s ease;
}
.roulette-page .headline {
  margin: 8px 0;
}
.roulette-stage {
  margin: 26px 0;
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 480px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--edge);
  background: var(--paper);
}
.roulette-stage-art {
  min-height: 480px;
  background: var(--wash);
  position: relative;
}
.roulette-stage-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: ours-memory-in 0.2s ease;
}
.roulette-stage-side {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 39px;
}
.roulette-stage-side h2 {
  font:
    normal clamp(28px, 3.6vw, 43px) / 1.12 Georgia,
    serif;
  margin: 15px 0 8px;
}
.roulette-stage-side h2 i {
  color: var(--rose);
}
.roulette-stage-side p {
  color: var(--mute);
  font-size: 12px;
  line-height: 1.6;
}
.roulette-stage-actions {
  margin-top: 20px;
}
@keyframes little-heart-arrive {
  from {
    opacity: 0.45;
    transform: translateY(7px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 680px) {
  .little-love-home {
    padding: 18px 14px;
  }
  .love-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .love-gesture {
    min-height: 87px;
  }
  .love-gesture-symbol {
    font-size: 27px;
  }
  .love-selector-big {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .love-page-bottom {
    grid-template-columns: 1fr;
  }
  .roulette-home {
    grid-template-columns: 39% 61%;
    min-height: 178px;
  }
  .roulette-photo {
    min-height: 198px;
  }
  .roulette-text {
    padding: 15px;
  }
  .roulette-text h2 {
    font-size: 23px;
  }
  .roulette-buttons .button {
    padding: 9px;
  }
  .roulette-stage {
    grid-template-columns: 1fr;
  }
  .roulette-stage-art {
    min-height: 370px;
  }
  .roulette-stage-side {
    padding: 25px;
  }
  .little-love-shortcut {
    align-items: start;
    flex-direction: column;
  }
  .quote-daily {
    align-items: start;
  }
}
@media (max-width: 390px) {
  .love-inbox-item {
    flex-wrap: wrap;
  }
  .love-inbox-item > div:last-child {
    margin-left: 48px;
  }
  .roulette-home {
    grid-template-columns: 1fr;
  }
  .roulette-photo {
    min-height: 190px;
  }
  .roulette-text {
    padding: 19px;
  }
  .love-gesture span:last-child {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .love-gesture,
  .love-gesture-symbol,
  .roulette-stage-art img {
    animation: none;
    transition: none;
  }
}
