/* =====================================================================
   "Our Love Story" — page styling. Soft blush / rose / coral / peach /
   cream / lavender palette with rose-gold accents. Narrow centered
   timeline column with short horizontal connectors to heart nodes.
   Fonts come from the Google Fonts <link> in layout.tsx.
   ===================================================================== */

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{ font-family:'Quicksand',sans-serif; color:#7c6470; background:#fbe6e6; }

/* ---- page shell ---- */
.lovepage{
  position:relative;
  min-height:100vh;
  overflow-x:hidden;
  /* rich soft-pink blending into light lavender, with warm peach + lavender pools */
  background:
    radial-gradient(900px 720px at 92% 8%,  rgba(214,198,242,.72), transparent 56%),
    radial-gradient(840px 700px at 6% 26%,  rgba(255,196,220,.6),  transparent 56%),
    radial-gradient(760px 660px at 16% 99%, rgba(255,198,170,.5),  transparent 56%),
    radial-gradient(820px 700px at 86% 88%, rgba(224,202,246,.55), transparent 60%),
    linear-gradient(125deg,#fde6e6 0%,#fbd2dc 30%,#f4cce4 58%,#e7d1f2 100%);
}

/* ---- soft bokeh lights (blurred glowing orbs for depth) ---- */
.bokeh{
  position:fixed; z-index:0; pointer-events:none; border-radius:50%;
  transform:translate(-50%,-50%); filter:blur(7px);
  animation:lp-bokeh 13s ease-in-out infinite;
}

/* ---- particle layers (tsParticles mounts into these) ---- */
.fx{ position:fixed; inset:0; z-index:0; pointer-events:none; }

/* floating hearts + rose petals scattered across the page (pos/size/anim inline) */
.bg-heart{ position:fixed; z-index:0; pointer-events:none; opacity:.95; }
.bg-heart img{ width:100%; height:auto; display:block; }
.petal{ position:fixed; z-index:0; pointer-events:none; }
.petal svg{ width:100%; height:100%; display:block; }

.content{ position:relative; z-index:1; max-width:1180px; margin:0 auto; padding:0 28px 140px; }

/* ---- header ---- */
.lp-header{ text-align:center; padding:78px 0 14px; }
.lp-eyebrow{
  font-family:'Quicksand'; font-weight:600; letter-spacing:.42em; text-transform:uppercase;
  font-size:12px; color:#c98aa6; margin:0 0 14px;
}
.lp-title{
  font-family:'Cormorant Garamond',serif; font-weight:600; line-height:.98; margin:0;
  font-size:clamp(46px,7.4vw,96px); color:#8e3a5c; letter-spacing:-.005em;
  text-shadow:0 4px 26px rgba(180,90,120,.18);
}
/* "Story" — warm, rich gold → peach */
.lp-title em{
  font-style:italic; font-weight:500;
  background:linear-gradient(118deg,#e7a456 0%,#ef9f72 48%,#e98c79 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  text-shadow:none;
  filter:drop-shadow(0 2px 9px rgba(225,150,95,.32));
}
.lp-subtitle{
  font-family:'Dancing Script',cursive; font-weight:600;
  font-size:clamp(22px,3.2vw,32px); color:#cf7e9e; margin:8px 0 0;
}

/* ---- day counter (glowing, pulsing heart) ---- */
.counter-wrap{ position:relative; width:fit-content; margin:36px auto 6px; }
.counter-glow{
  position:absolute; left:50%; top:52%; width:118%; height:118%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,
    rgba(255,224,190,.3) 0%, rgba(255,205,185,.14) 45%, transparent 72%);
  filter:blur(8px); z-index:0; pointer-events:none;
}
/* line emerging from behind the heart down to the timeline (hidden behind the opaque heart, visible below it) */
.counter-line{
  position:absolute; left:50%; top:40%; bottom:-50px; transform:translateX(-50%);
  width:2.5px; border-radius:2px; z-index:0; pointer-events:none;
  background:linear-gradient(180deg,#d2728f,#cf6f8d);
}
.counter-heart{ position:relative; width:clamp(300px,28vw,380px); z-index:1; }
.counter-svg{
  display:block; width:100%; height:auto;
  animation:lp-pulse 3.4s ease-in-out infinite;
  transform-origin:50% 42%;
}
.counter-inner{
  position:absolute; left:0; right:0; top:44%; transform:translateY(-50%);
  display:flex; flex-direction:column; align-items:center; gap:7px;
  text-align:center; pointer-events:none;
}
.counter-num{
  font-family:'Cormorant Garamond',serif; font-weight:700;
  font-size:clamp(46px,5.8vw,72px); line-height:1; color:#6b2433;
  text-shadow:0 2px 10px rgba(255,255,255,.7);
}
.counter-label{
  font-family:'Quicksand'; font-weight:600; text-transform:none; letter-spacing:.04em;
  font-size:clamp(18px,2.2vw,25px); color:#9b7b83;
}
/* decorative sparkles around the counter (position/size/anim inline) */
.mini-heart{ position:absolute; z-index:2; pointer-events:none; }
.mini-heart svg{ display:block; width:100%; height:100%;
  filter:drop-shadow(0 0 4px rgba(255,244,214,.95)) drop-shadow(0 0 9px rgba(255,222,170,.6)); }

/* ---- timeline (narrow centered column) ---- */
.timeline{ position:relative; max-width:960px; margin:30px auto 0; padding-top:0; }
.tl-line{
  position:absolute; top:0; bottom:auto; height:calc(100% - 74px); left:50%; transform:translateX(-50%);
  width:42px; z-index:0; pointer-events:none; overflow:visible;
}
/* closing heart at the end of the timeline, centred on the line */
.tl-end{ position:relative; z-index:2; display:flex; justify-content:center; margin-top:12px; }
.tl-end img{ width:150px; height:auto; display:block; animation:lp-beat 2.6s ease-in-out infinite;
  filter:drop-shadow(0 0 20px rgba(255,194,150,.6)) drop-shadow(0 0 8px rgba(255,216,175,.55)); }

/* closing call-to-action below the end heart */
.story-cta{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; margin:14px auto 0; }
.cta-title{ font-family:'Dancing Script',cursive; font-weight:700; margin:0; color:#6a2a3c;
  font-size:clamp(34px,6vw,54px); line-height:1.05; text-shadow:0 2px 14px rgba(190,110,140,.22); }
.cta-sub{ font-family:'Quicksand',sans-serif; font-weight:500; margin:0 0 8px; color:#8a6470;
  font-size:clamp(15px,2vw,20px); }
.cta-btn{ display:inline-flex; align-items:center; gap:10px; cursor:pointer;
  padding:14px 32px; border-radius:999px; border:1.5px solid rgba(255,228,184,.75);
  font-family:'Dancing Script',cursive; font-weight:700; font-size:clamp(20px,2.6vw,27px); color:#fbe5bf;
  background:linear-gradient(120deg,#e295ae 0%,#ef9d83 100%);
  box-shadow:0 0 34px rgba(255,190,152,.62), 0 0 14px rgba(255,210,170,.5), 0 10px 24px -10px rgba(216,120,150,.55);
  transition:transform .3s cubic-bezier(.2,.8,.25,1), box-shadow .3s ease; }
.cta-btn:hover{ transform:translateY(-2px) scale(1.03);
  box-shadow:0 0 36px rgba(255,190,150,.85), 0 14px 30px -10px rgba(216,120,150,.75); }
.cta-ico{ width:24px; height:24px; display:block; flex:none; }

/* ── Add-a-Memory modal ─────────────────────────────────────────────── */
.mm-overlay{
  position:fixed; inset:0; z-index:1000;
  display:flex; align-items:center; justify-content:center; padding:20px;
  background:rgba(74,38,52,.34); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  animation:mm-fade .25s ease both;
}
.mm-modal{
  position:relative; width:min(460px,100%); max-height:92vh; overflow:auto;
  padding:30px 32px 28px; border-radius:26px;
  background:linear-gradient(165deg,#fbe1de 0%,#fdeee3 58%,#fef4ed 100%);
  border:1px solid rgba(255,225,205,.85);
  box-shadow:0 0 50px rgba(255,182,150,.5), 0 24px 60px -20px rgba(150,70,90,.5);
  animation:mm-pop .3s cubic-bezier(.2,.9,.3,1.05) both;
}
@keyframes mm-fade{ from{opacity:0} to{opacity:1} }
@keyframes mm-pop{ from{opacity:0; transform:translateY(12px) scale(.96)} to{opacity:1; transform:none} }

.mm-close{
  position:absolute; top:16px; right:16px; width:32px; height:32px;
  border:none; border-radius:50%; cursor:pointer;
  background:rgba(255,255,255,.66); color:#bd6a78;
  font-size:21px; line-height:1; display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s; }
.mm-close:hover{ background:#fff; transform:scale(1.08); }

.mm-title{
  margin:0 0 22px; text-align:center;
  font-family:'Cormorant Garamond',serif; font-weight:700;
  font-size:clamp(26px,4vw,33px); color:#b1586b;
  display:flex; align-items:center; justify-content:center; gap:8px; }
.mm-title-heart{ color:#ef8ba1; font-size:.7em; }

.mm-group{ margin-bottom:16px; }
.mm-label{
  display:block; margin:0 0 7px;
  font-family:'Quicksand',sans-serif; font-weight:600; font-size:15px; color:#4f4448; }

.mm-input{
  width:100%; box-sizing:border-box; padding:13px 15px; border-radius:13px;
  border:1px solid #f0d7d2; background:#fdf7f3; color:#6a565b;
  font-family:'Quicksand',sans-serif; font-size:15px;
  transition:border-color .2s, box-shadow .2s; }
.mm-input::placeholder{ color:#bda9ac; }
.mm-input:focus{ outline:none; border-color:#ef9fb0; box-shadow:0 0 0 3px rgba(239,159,176,.18); }

.mm-field-icon{ position:relative; }
.mm-input-icon{ padding-left:44px; }
.mm-cal{ position:absolute; left:15px; top:50%; transform:translateY(-50%);
  width:19px; height:19px; color:#d98f7c; pointer-events:none; z-index:1; }

/* native date picker — keep the pill look; the gold icon is the affordance */
.mm-input[type="date"]{ cursor:pointer; }
.mm-input[type="date"]::-webkit-calendar-picker-indicator{
  position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0;
  opacity:0; cursor:pointer; /* invisible but covers the pill so any click opens it */
}
.mm-input[type="date"]::-webkit-datetime-edit{ color:#6a565b; }
.mm-input[type="date"]::-webkit-inner-spin-button,
.mm-input[type="date"]::-webkit-clear-button{ display:none; }

.mm-upload{
  display:flex; align-items:stretch; border:1px solid #f0d7d2; border-radius:14px;
  background:#fdf7f3; overflow:hidden; min-height:86px; }
.mm-drop{
  flex:0 0 122px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  padding:12px; cursor:pointer; text-align:center; border-right:1px dashed #eccfc9;
  color:#9a8589; font-family:'Quicksand',sans-serif; font-size:12.5px; line-height:1.25;
  transition:background .2s; }
.mm-drop:hover{ background:#fbeee8; }
.mm-up{ width:26px; height:26px; color:#cf8a76; }
.mm-previews{ flex:1; display:flex; align-items:center; gap:8px; padding:12px; flex-wrap:wrap; }
.mm-thumb{ width:62px; height:62px; object-fit:cover; border-radius:10px;
  border:2px solid #fff; box-shadow:0 3px 8px rgba(150,80,90,.25); }

.mm-actions{ display:flex; align-items:center; gap:18px; margin-top:24px; }
.mm-add{
  flex:1; padding:15px 20px; border:none; border-radius:999px; cursor:pointer;
  font-family:'Quicksand',sans-serif; font-weight:700; font-size:17px; color:#fff;
  background:linear-gradient(100deg,#ef8aa0 0%,#f1a187 100%);
  box-shadow:0 0 22px rgba(255,162,140,.5), 0 10px 22px -10px rgba(216,110,140,.6);
  transition:transform .25s, box-shadow .25s; }
.mm-add:hover{ transform:translateY(-2px);
  box-shadow:0 0 30px rgba(255,166,140,.72), 0 14px 28px -10px rgba(216,110,140,.7); }
.mm-cancel{
  border:none; background:none; cursor:pointer; padding:6px 4px;
  font-family:'Quicksand',sans-serif; font-size:16px; color:#7c6a6e; text-decoration:underline;
  transition:color .2s; }
.mm-cancel:hover{ color:#b1586b; }

.tl-row{
  position:relative; display:grid; grid-template-columns:1fr 100px 1fr;
  align-items:center; margin:0 0 28px;
}
.tl-card-wrap{ grid-column:1; grid-row:1; display:flex; justify-content:flex-end; }
.tl-row.right .tl-card-wrap{ grid-column:3; justify-content:flex-start; }

.tl-connect{ grid-column:2; grid-row:1; position:relative; display:flex; align-items:center; justify-content:center; min-height:60px; z-index:2; }
/* short horizontal connector from card inner edge → heart node on the line */
.tl-hline{
  position:absolute; top:50%; height:2px; width:50%; transform:translateY(-50%); border-radius:3px;
  background:linear-gradient(90deg,#d2728f,#df8a58); box-shadow:0 0 5px rgba(205,100,140,.5);
}
.tl-row.left  .tl-hline{ left:0; }
.tl-row.right .tl-hline{ right:0; }
.tl-line-base, .tl-line-path{ filter:drop-shadow(0 0 5px rgba(243,118,162,.6)); }
.tl-node{ position:relative; width:34px; height:34px; z-index:3; }
.tl-node svg{ width:100%; height:100%; display:block;
  animation:lp-nodeglow 2.6s ease-in-out infinite; }
/* sparkle stars around each node (each event) */
.tl-spark{ position:absolute; z-index:4; pointer-events:none; }
.tl-spark svg{ width:100%; height:100%; display:block; filter:drop-shadow(0 0 3px rgba(206,128,82,.8)); }
.tl-spark.s1{ width:12px; height:12px; top:0;    left:62%; animation:lp-twinkle 3s   ease-in-out infinite; }
.tl-spark.s2{ width:8px;  height:8px;  bottom:4%; left:30%; animation:lp-twinkle 3.6s ease-in-out .5s infinite; }
.tl-spark.s3{ width:9px;  height:9px;  top:46%;  left:78%; animation:lp-twinkle 3.2s ease-in-out 1s  infinite; }
/* right-side events: mirror the sparkle layout horizontally (100% - left) */
.tl-row.right .tl-spark.s1{ left:38%; }
.tl-row.right .tl-spark.s2{ left:70%; }
.tl-row.right .tl-spark.s3{ left:22%; }

.tl-card{
  position:relative; width:100%; max-width:352px;
  display:flex; gap:16px; align-items:center; padding:14px;
  background:linear-gradient(135deg,#fff7f5 0%,#fef0f4 100%);
  border:1px solid rgba(255,255,255,.85); border-radius:26px;
  box-shadow:0 28px 56px -26px rgba(221,118,160,.6), 0 10px 22px rgba(222,150,182,.22), 0 2px 6px rgba(120,60,90,.05);
  transition:transform .45s cubic-bezier(.2,.8,.25,1), box-shadow .45s ease;
  will-change:transform;
}
.tl-row.right .tl-card{ flex-direction:row-reverse; text-align:right; }
.tl-card:hover{
  transform:translateY(-7px) scale(1.02);
  box-shadow:0 40px 80px -26px rgba(228,120,165,.75), 0 0 40px rgba(255,196,214,.55);
}
.tl-photo{
  flex:none; width:124px; height:104px; border-radius:20px; overflow:hidden;
  box-shadow:0 12px 24px -12px rgba(208,120,155,.7); background:#fbe2ec;
  object-fit:cover; display:block; /* it's an <img> now (was <image-slot>) */
}
.tl-body{ flex:1; min-width:0; }
.tl-date{
  display:inline-block; padding:5px 14px; border-radius:999px;
  font-family:'Quicksand'; font-weight:700; font-size:12px; letter-spacing:.04em; color:#b25c7e;
  background:linear-gradient(120deg,#f0aec3 0%,#f4c4ac 100%); box-shadow:0 5px 13px -5px rgba(232,150,165,.6);
}
.tl-title{
  font-family:'Cormorant Garamond',serif; font-weight:600;
  font-size:23px; line-height:1.12; margin:7px 0 6px; color:#9c4f70;
}
.tl-text{
  font-family:'Quicksand'; font-weight:500; font-size:14px; line-height:1.5;
  margin:0; color:#9a8492; text-wrap:pretty;
}
.tl-cardheart{ display:inline-block; width:22px; height:21px; margin-top:10px; }
.tl-cardheart svg{ width:100%; height:100%; fill:url(#roseGrad);
  filter:drop-shadow(0 2px 6px rgba(236,106,146,.5)); animation:lp-beat 2.4s ease-in-out infinite; }
.tl-row.right .tl-cardheart{ margin-left:auto; }

/* ---- keyframes ---- */
@keyframes lp-pulse{
  0%,100%{ transform:scale(1); filter:drop-shadow(0 0 6px rgba(255,200,170,.3)); }
  50%{ transform:scale(1.02); filter:drop-shadow(0 0 12px rgba(255,205,175,.42)); }
}
@keyframes lp-float{
  0%,100%{ transform:translateY(0) rotate(-4deg); opacity:.72; }
  50%{ transform:translateY(-16px) rotate(8deg); opacity:1; }
}
@keyframes lp-bokeh{
  0%,100%{ transform:translate(-50%,-50%) scale(1); opacity:.75; }
  50%{ transform:translate(-50%,-56%) scale(1.08); opacity:1; }
}
@keyframes lp-beat{
  0%,100%{ transform:scale(1); } 14%{ transform:scale(1.22); }
  28%{ transform:scale(1); } 42%{ transform:scale(1.16); } 56%{ transform:scale(1); }
}
@keyframes lp-nodeglow{
  0%,100%{ filter:drop-shadow(0 0 3px rgba(255,212,150,.6)) drop-shadow(0 0 2px rgba(255,228,185,.45)); }
  50%{ filter:drop-shadow(0 0 8px rgba(255,216,158,.8)) drop-shadow(0 0 4px rgba(255,232,190,.6)); }
}
@keyframes lp-twinkle{
  0%,100%{ opacity:.45; transform:scale(.8); }
  50%{ opacity:1; transform:scale(1.12); }
}

/* ---- responsive: mobile keeps identical visual style, line shifts left ---- */
@media (max-width:760px){
  .content{ padding:0 16px 100px; }
  .lp-header{ padding:64px 0 8px; }
  .timeline{ padding:0; }
  /* keep the line centred; cards are full-width and alternate the photo side */
  .tl-line{ left:50%; transform:translateX(-50%); width:34px; }
  .tl-row{ display:block; position:relative; margin:0 0 48px; }
  .tl-card-wrap, .tl-row.right .tl-card-wrap{ display:block; width:100%; }
  .tl-card{ width:100%; max-width:none; flex-direction:row; text-align:left; gap:14px; padding:14px; border-radius:22px; }
  .tl-row.right .tl-card{ flex-direction:row-reverse; text-align:left; }
  .tl-cardheart, .tl-row.right .tl-cardheart{ margin-left:0; }
  /* heart node centred on the line, sitting in the gap below each card */
  .tl-connect{ position:absolute; left:50%; bottom:-44px; transform:translateX(-50%);
    width:90px; height:40px; min-height:0; display:flex; align-items:center; justify-content:center; z-index:3; }
  .tl-hline{ display:none !important; }
  .tl-photo{ width:104px; height:96px; border-radius:18px; }
  .tl-title{ font-size:21px; margin:7px 0 5px; }
  .tl-text{ font-size:13px; }
}

/* =====================================================================
   Login gate ("Welcome Back, My Love") — glassmorphism card over the
   same dreamy gradient + drifting hearts/petals/sparkles as the site.
   ===================================================================== */
.login-page{
  position:relative; min-height:100vh; overflow:hidden;
  display:flex; align-items:center; justify-content:center; padding:28px;
  background:
    radial-gradient(900px 720px at 92% 8%,  rgba(214,198,242,.72), transparent 56%),
    radial-gradient(840px 700px at 6% 26%,  rgba(255,196,220,.6),  transparent 56%),
    radial-gradient(760px 660px at 16% 99%, rgba(255,198,170,.5),  transparent 56%),
    radial-gradient(820px 700px at 86% 88%, rgba(224,202,246,.55), transparent 60%),
    linear-gradient(125deg,#fde6e6 0%,#fbd2dc 30%,#f4cce4 58%,#e7d1f2 100%);
}

/* shell carries the width so the % resolves against the flex container, not content */
.login-shell{ position:relative; z-index:2; width:min(420px,100%); }
.login-card{
  position:relative; z-index:2; width:100%;
  padding:46px 40px 34px; border-radius:28px; text-align:center;
  background:linear-gradient(165deg, rgba(255,255,255,.62), rgba(255,248,250,.40));
  backdrop-filter:blur(22px) saturate(1.25); -webkit-backdrop-filter:blur(22px) saturate(1.25);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:
    0 30px 70px -26px rgba(150,90,110,.5),
    0 0 60px rgba(255,202,180,.34),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.login-monogram{
  display:flex; align-items:center; justify-content:center; gap:12px;
  font-family:'Cormorant Garamond',serif; font-weight:600; font-size:46px;
  letter-spacing:.04em; line-height:1; margin-bottom:18px; color:#c9a86a;
}
.mono-letter{
  background:linear-gradient(160deg,#dcc084 0%,#c39c54 55%,#b88f48 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.mono-heart{ width:20px; height:20px; color:#cfa75f;
  filter:drop-shadow(0 1px 3px rgba(201,168,106,.5)); }

.login-heading{
  font-family:'Cormorant Garamond',serif; font-weight:600;
  font-size:30px; line-height:1.15; color:#5a4a42; margin:0;
}
.login-sub{
  font-family:'Dancing Script',cursive; font-weight:600;
  font-size:21px; color:#b08d57; margin:5px 0 0;
}

.login-form{ display:flex; flex-direction:column; gap:14px; margin-top:26px; }
.login-field{ position:relative; }
.login-lock{
  position:absolute; left:18px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; color:#c9a86a; pointer-events:none;
}
.login-input{
  width:100%; height:54px; box-sizing:border-box;
  padding:0 20px 0 48px; border-radius:999px;
  border:1px solid rgba(201,168,106,.45); background:rgba(255,255,255,.92);
  font-family:'Quicksand',sans-serif; font-size:15px; color:#6a5a52;
  box-shadow:inset 0 2px 6px rgba(150,110,90,.12);
  transition:border-color .2s, box-shadow .2s;
}
.login-input::placeholder{ color:#b3a89b; }
.login-input:focus{
  outline:none; border-color:#c9a86a;
  box-shadow:inset 0 2px 6px rgba(150,110,90,.1), 0 0 0 3px rgba(201,168,106,.3);
}

.login-btn{
  height:56px; border:none; border-radius:999px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:10px;
  font-family:'Quicksand',sans-serif; font-weight:700; font-size:17px; color:#fff;
  background:linear-gradient(100deg,#e8a5b0 0%,#e89b8a 100%);
  box-shadow:0 12px 26px -10px rgba(220,130,140,.65), 0 0 22px rgba(232,165,150,.45);
  transition:transform .25s, box-shadow .25s, opacity .2s;
}
.login-btn:hover{ transform:translateY(-2px);
  box-shadow:0 16px 30px -10px rgba(220,130,140,.78), 0 0 30px rgba(232,170,150,.6); }
.login-btn:active{ transform:translateY(0); }
.login-btn:disabled{ opacity:.75; cursor:default; transform:none; }
.login-btn-heart{ width:19px; height:19px; flex:none;
  filter:drop-shadow(0 1px 2px rgba(190,110,80,.4)); }

.login-error{
  margin:2px 2px 0; padding:10px 14px; border-radius:14px;
  background:rgba(181,101,118,.12); border:1px solid rgba(181,101,118,.28);
  color:#b05f70; font-family:'Quicksand',sans-serif; font-size:13.5px; line-height:1.35;
}

.login-forgot{
  display:inline-block; margin-top:18px; padding:4px 6px;
  border:none; background:none; cursor:pointer;
  font-family:'Quicksand',sans-serif; font-size:13px; color:#b08d57; text-decoration:underline;
  transition:color .2s;
}
.login-forgot:hover{ color:#9a7440; }
.login-hint{ margin:8px 0 0; font-family:'Dancing Script',cursive; font-size:18px; color:#bd8a86; }

@media (max-width:480px){
  .login-card{ padding:38px 26px 30px; border-radius:24px; }
  .login-monogram{ font-size:40px; }
  .login-heading{ font-size:26px; }
  .login-sub{ font-size:19px; }
  /* drop the heavy blurred bokeh layer on small screens for performance */
  .login-page .bokeh{ display:none; }
}

/* fewer background hearts on phones (≈50% vs ≈70% on desktop) */
@media (max-width:760px){ .bg-heart--m-hide{ display:none; } }

/* "Enable notifications" button under the CTA */
.notify-btn{
  display:inline-block; margin-top:14px; padding:9px 18px; border-radius:999px; cursor:pointer;
  border:1px solid rgba(201,168,106,.5); background:rgba(255,255,255,.5);
  font-family:'Quicksand',sans-serif; font-weight:600; font-size:13.5px; color:#b08d57;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  transition:background .2s, transform .2s; }
.notify-btn:hover{ background:rgba(255,255,255,.85); transform:translateY(-1px); }

/* force portrait on phones — iOS ignores the manifest orientation, so when the
   phone is held landscape we counter-rotate the whole page to stay upright. */
@media (orientation: landscape) and (max-height: 600px){
  html, body{ margin:0; overflow-x:hidden; }
  body{
    position:absolute;
    top:100%;
    left:0;
    width:100vh;
    height:100vw;
    transform:rotate(-90deg);
    transform-origin:left top;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .lovepage, .login-page{ min-height:100vw; }
}
