/* ═══════════════════════════════════════════════════════
   AIMIRU LOVE — Shared Love Divination Styles
   ═══════════════════════════════════════════════════════ */

:root {
  --love-bg: #1a0a14;
  --love-bg2: #200e1a;
  --love-card-bg: #251220;
  --love-accent: #e8a0c0;
  --love-accent2: #FF6B9D;
  --love-highlight: #ff85b1;
  --love-gold: #f0c080;
  --love-text: #f0e0ea;
  --love-muted: #9a7888;
  --love-border: #3a1a2e;
  --love-positive: #e88ab0;
  --love-negative: #c85070;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--love-bg);
  color: var(--love-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screen { width: 100%; max-width: 480px; min-height: 100vh; display: flex; flex-direction: column; padding: 0 20px 24px; margin: 0 auto; }
.screen.hidden { display: none; }

/* NAV */
.nav-back { padding: 20px 0 8px; display: flex; gap: 12px; align-items: center; }
.nav-back a { color: var(--love-muted); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.nav-back a:hover { color: var(--love-accent); }

/* HEADER */
.love-header { text-align: center; padding: 32px 0 28px; position: relative; }
.love-header .icon-main { font-size: 36px; margin-bottom: 8px; display: inline-block; }
.love-header .logo { font-size: 10px; letter-spacing: 4px; color: var(--love-accent2); text-transform: uppercase; margin-bottom: 4px; }
.love-header h1 { font-family: 'Noto Serif JP', serif; font-size: 24px; font-weight: 700; letter-spacing: 3px; color: var(--love-text); }
.love-header .subtitle { font-size: 13px; color: var(--love-muted); margin-top: 10px; line-height: 1.8; font-style: italic; }

/* Floating hearts background */
.love-header::before {
  content: '♡';
  position: absolute;
  top: 10px; left: 15%;
  font-size: 18px; color: rgba(255,107,157,0.15);
  animation: floatHeart 4s ease-in-out infinite;
  contain: layout style;
}
.love-header::after {
  content: '♡';
  position: absolute;
  top: 20px; right: 15%;
  font-size: 14px; color: rgba(232,160,192,0.12);
  animation: floatHeart 5s ease-in-out infinite 1s;
  contain: layout style;
}
@keyframes floatHeart {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.3; }
  50% { transform: translateY(-12px) rotate(5deg); opacity: 0.7; }
}

/* WELCOME SCREEN */
.welcome-card {
  background: linear-gradient(135deg, rgba(37,18,32,0.7), rgba(60,20,40,0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,107,157,0.12);
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.welcome-card .greeting { font-size: 15px; color: var(--love-accent); margin-bottom: 8px; }
.welcome-card .info { font-size: 12px; color: var(--love-muted); }
.welcome-card .partner-info { font-size: 13px; color: var(--love-accent2); margin-top: 8px; font-weight: 600; }

.btn-love-start {
  width: 100%; padding: 16px; border-radius: 50px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #FF6B9D 0%, #e8608a 40%, #d94f7a 100%);
  color: #fff; font-size: 16px; font-weight: 700; font-family: 'Noto Serif JP', serif;
  letter-spacing: 3px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,107,157,0.25), 0 0 0 0 rgba(255,107,157,0);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-love-start::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.18) 55%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
  pointer-events: none;
}
.btn-love-start:hover::before {
  transform: translateX(100%);
}
.btn-love-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,107,157,0.4), 0 0 20px rgba(255,107,157,0.15);
  background: linear-gradient(135deg, #ff7baa 0%, #e8608a 40%, #d94f7a 100%);
}
.btn-love-start:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(255,107,157,0.3);
  transition-duration: 0.1s;
}

/* LOADING ANIMATION */
#screen-loading { justify-content: center; align-items: center; text-align: center; }
.loading-heart-container {
  position: relative; width: 120px; height: 120px; margin: 0 auto 32px;
  display: flex; align-items: center; justify-content: center;
}
/* Orbital ring around the heart */
.loading-heart-container::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--love-accent2);
  border-right-color: rgba(255,107,157,0.3);
  animation: loadOrbit 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.loading-heart-container::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: var(--love-accent);
  border-left-color: rgba(232,160,192,0.3);
  animation: loadOrbit 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}
@keyframes loadOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loading-heart {
  font-size: 32px;
  animation: heartPulseSmooth 1.8s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(255,107,157,0.4));
}
@keyframes heartPulseSmooth {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}
.love-particles {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.love-particles .lp {
  position: absolute; font-size: 10px; opacity: 0;
  color: var(--love-accent);
}
@keyframes loveFloat {
  0% { opacity: 0; transform: translateY(10px) scale(0.5); }
  20% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-35px) scale(1.2); }
}
.love-particles .lp:nth-child(1) { left: 10%; top: 55%; animation: loveFloat 2.4s ease-out infinite 0s; }
.love-particles .lp:nth-child(2) { left: 50%; top: 45%; animation: loveFloat 2.4s ease-out infinite 0.5s; }
.love-particles .lp:nth-child(3) { left: 85%; top: 60%; animation: loveFloat 2.4s ease-out infinite 1s; }
.love-particles .lp:nth-child(4) { left: 25%; top: 65%; animation: loveFloat 2.4s ease-out infinite 1.5s; }
.love-particles .lp:nth-child(5) { left: 72%; top: 50%; animation: loveFloat 2.4s ease-out infinite 2s; }
/* Ambient glow behind loading */
.loading-heart-container .loading-heart::after {
  content: '';
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(255,107,157,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.loading-text {
  font-size: 14px; color: var(--love-accent); letter-spacing: 4px;
  font-weight: 300; text-transform: uppercase;
}
.loading-dots::after { content: ''; animation: ldots 1.5s steps(4,end) infinite; }
@keyframes ldots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

/* RESULT SCREEN */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heartReveal {
  0% { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
.section-animate { animation: fadeSlideUp 0.5s ease both; }

.result-header { text-align: center; padding: 16px 0 12px; }
.res-date { font-size: 11px; color: var(--love-muted); letter-spacing: 3px; margin-bottom: 16px; }

/* Score ring */
.love-score-container {
  display: flex; justify-content: center; margin: 16px 0 24px;
}
.love-score-ring {
  width: 140px; height: 140px; border-radius: 50%; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--love-accent2) var(--score-deg, 0deg), rgba(60,20,40,0.3) var(--score-deg, 0deg));
  animation: heartReveal 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
  box-shadow: 0 0 40px rgba(255,107,157,0.15), 0 0 80px rgba(255,107,157,0.05);
}
.love-score-ring::before {
  content: '';
  position: absolute; inset: 8px; border-radius: 50%;
  background: var(--love-bg);
}
.love-score-inner {
  position: relative; text-align: center; z-index: 1;
}
.love-score-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px; font-weight: 700;
  background: linear-gradient(135deg, var(--love-accent2), var(--love-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.love-score-label { font-size: 10px; color: var(--love-muted); letter-spacing: 2px; }

/* Love rank */
.love-rank-card {
  background: linear-gradient(135deg, rgba(255,107,157,0.1), rgba(232,160,192,0.06));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,107,157,0.2); border-radius: 18px;
  padding: 22px; margin-bottom: 16px; text-align: center;
  animation: fadeSlideUp 0.5s ease 0.5s both;
  box-shadow: 0 4px 24px rgba(255,107,157,0.08), inset 0 1px 0 rgba(255,255,255,0.04);
}
.love-rank-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 700; color: var(--love-accent2);
  letter-spacing: 4px; margin-bottom: 6px;
}
.love-rank-desc { font-size: 13px; color: var(--love-accent); line-height: 1.8; }

/* Message card */
.love-message-card {
  background: linear-gradient(135deg, rgba(37,18,32,0.65), rgba(60,20,40,0.45));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,157,0.1); border-radius: 16px;
  padding: 20px; margin-bottom: 14px;
  position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.love-message-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,107,157,0.15);
}
.love-message-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--love-accent2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.section-title { font-size: 11px; color: var(--love-accent); letter-spacing: 3px; margin-bottom: 10px; }
.love-message-card p { font-size: 14px; line-height: 1.85; color: var(--love-text); }

/* Detail grid */
.love-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.love-detail-card {
  background: linear-gradient(135deg, rgba(37,18,32,0.6), rgba(60,20,40,0.35));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,157,0.1); border-radius: 14px; padding: 18px 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.love-detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,157,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,107,157,0.1);
}
.love-detail-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255,107,157,0.35) 50%, transparent 90%);
}
.love-detail-card .detail-icon { font-size: 20px; margin-bottom: 8px; }
.love-detail-card .detail-label { font-size: 10px; color: var(--love-muted); letter-spacing: 1px; margin-bottom: 8px; }
.love-detail-card p { font-size: 12px; line-height: 1.75; color: rgba(240,224,234,0.85); }

/* Lucky items */
.love-lucky-section { margin-bottom: 12px; }
.love-lucky-row { display: flex; flex-wrap: wrap; gap: 8px; }
.love-lucky-card {
  flex: 1 1 calc(33% - 8px); min-width: 80px;
  background: linear-gradient(135deg, rgba(255,107,157,0.08), rgba(200,80,120,0.04));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,107,157,0.15); border-radius: 14px; padding: 18px 12px; text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.love-lucky-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.love-lucky-card .lucky-label { font-size: 9px; color: var(--love-muted); letter-spacing: 1px; margin-bottom: 6px; }
.love-lucky-card .lucky-value { font-size: 13px; font-weight: 600; color: var(--love-accent); }

/* Advice card */
.love-advice-card {
  background: linear-gradient(135deg, rgba(255,107,157,0.06), rgba(232,160,192,0.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,157,0.12); border-radius: 16px;
  padding: 20px; margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.love-advice-card .advice-title { font-size: 11px; color: var(--love-accent2); letter-spacing: 3px; margin-bottom: 10px; }
.love-advice-card p { font-size: 13px; line-height: 1.85; color: var(--love-text); }

/* Retry button */
.btn-retry {
  display: block; width: 100%; max-width: 300px; margin: 20px auto 0;
  padding: 14px; border-radius: 50px;
  border: 1px solid rgba(232,160,192,0.35);
  background: rgba(232,160,192,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--love-accent);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.btn-retry::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(232,160,192,0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-retry:hover::before {
  transform: translateX(100%);
}
.btn-retry:hover {
  background: rgba(232,160,192,0.12);
  border-color: rgba(232,160,192,0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,160,192,0.15);
}
.btn-retry:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* Responsive */
@media (max-width: 480px) {
  .screen { padding: 0 16px 20px; }
  .love-header h1 { font-size: 20px; }
  .love-header .subtitle { font-size: 12px; }
  .love-detail-grid { grid-template-columns: 1fr; }
  .love-lucky-card { flex: 1 1 calc(50% - 8px); }
  .love-score-ring { width: 120px; height: 120px; }
  .love-score-number { font-size: 30px; }
  .love-rank-text { font-size: 18px; }
  .btn-love-start { font-size: 15px; padding: 14px; }
  .nav-back { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .love-header h1 { font-size: 18px; letter-spacing: 1px; }
  .love-score-ring { width: 100px; height: 100px; }
  .love-score-number { font-size: 26px; }
  .love-lucky-card { flex: 1 1 100%; }
}

/* ─── LIGHT THEME OVERRIDE ─── */
html[data-theme="light"] {
  --love-bg: #fdf5f8;
  --love-bg2: #f8eef2;
  --love-card-bg: #ffffff;
  --love-text: #2a1a22;
  --love-muted: #8a6878;
  --love-border: #e8d0dc;
  --love-positive: #d06090;
  --love-negative: #c04060;
  color-scheme: light;
}
html[data-theme="light"] body {
  background: var(--love-bg);
  color: var(--love-text);
}
html[data-theme="light"] .love-detail-card,
html[data-theme="light"] .love-lucky-card,
html[data-theme="light"] .love-advice-card,
html[data-theme="light"] .love-welcome-card,
html[data-theme="light"] .welcome-card,
html[data-theme="light"] .love-message-card,
html[data-theme="light"] .love-rank-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--love-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(232,160,192,0.08);
}
html[data-theme="light"] .nav-back a {
  color: var(--love-text);
}
/* ─── HIGH-CONTRAST THEME (Love Pages) ─── */
html[data-theme="high-contrast"] {
  --love-bg: #000000;
  --love-bg2: #0a0a0a;
  --love-card-bg: #0a0a0a;
  --love-text: #ffffff;
  --love-muted: #e0e0e0;
  --love-border: #ffffff;
  --love-positive: #00ff66;
  --love-negative: #ff4444;
  --love-accent: #ffdd00;
  --love-gradient-start: #ffdd00;
  --love-gradient-end: #ffdd00;
  color-scheme: dark;
}
html[data-theme="high-contrast"] body {
  background: #000;
  color: #fff;
}
html[data-theme="high-contrast"] .love-detail-card,
html[data-theme="high-contrast"] .love-lucky-card,
html[data-theme="high-contrast"] .love-advice-card,
html[data-theme="high-contrast"] .love-welcome-card {
  background: #0a0a0a;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}
html[data-theme="high-contrast"] .nav-back a {
  color: #ffdd00;
  text-decoration: underline;
}
html[data-theme="high-contrast"] .score-ring,
html[data-theme="high-contrast"] .love-score-ring {
  border: 3px solid #ffdd00;
}
html[data-theme="high-contrast"] .love-share-panel,
html[data-theme="high-contrast"] .love-share-panel a,
html[data-theme="high-contrast"] .love-share-panel button {
  border: 2px solid #fff;
  color: #fff;
  background: #000;
}
html[data-theme="high-contrast"] .love-particles,
html[data-theme="high-contrast"] .floating-heart,
html[data-theme="high-contrast"] .lp {
  display: none !important;
}
html[data-theme="high-contrast"] * {
  -webkit-text-fill-color: inherit !important;
  background-clip: initial !important;
}
html[data-theme="high-contrast"] a {
  color: #ffdd00;
  text-decoration: underline;
}

/* Theme toggle for love pages */
.ux-theme-toggle-love {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(232,160,192,0.3);
  color: var(--love-accent);
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html:not([data-theme="light"]):not([data-theme="high-contrast"]) .ux-theme-toggle-love {
  background: rgba(26,10,20,0.8);
}
html[data-theme="high-contrast"] .ux-theme-toggle-love {
  background: #000;
  border: 2px solid #fff;
  color: #fff;
}
html[data-theme="high-contrast"] .ux-theme-toggle-love:hover {
  border-color: #ffdd00;
}
.ux-theme-toggle-love:hover {
  transform: scale(1.1);
}

/* ─── WIDE SCREEN LAYOUT ─── */
@media (min-width: 1200px) {
  body {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ─── PRINT STYLESHEET (Love Pages) ─── */
@media print {
  .ux-theme-toggle-love, .ux-skip-to-content, .love-share-panel,
  #love-save-share, .love-particles, .floating-heart,
  #screen-welcome, #screen-loading, .love-nav,
  button[onclick*="reload"], .love-error { display: none !important; }
  #screen-result { display: block !important; }
  .screen { min-height: auto !important; padding: 0 !important; }
  body {
    background: #fff !important;
    color: #333 !important;
    font-size: 12pt !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
  }
  .score-ring, .love-result-card, .love-detail-card, .love-lucky-items,
  .love-advice, [class*="love-card"] {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  * { -webkit-text-fill-color: initial !important; background-clip: initial !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── SHARE & SAVE PANEL (Love Pages) ─── */
.love-share-panel { margin: 20px auto; max-width: 360px; text-align: center; }
.love-share-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.love-share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 25px;
  background: rgba(255,107,157,0.15);
  border: 1px solid rgba(255,107,157,0.4);
  color: var(--love-text, #f0e0ea);
  font-size: 13px; cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.love-share-btn:hover {
  background: rgba(255,107,157,0.25);
  border-color: rgba(255,107,157,0.6);
  transform: translateY(-1px);
}
.love-share-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.love-share-btn--x { border-color: rgba(255,107,157,0.4); }
.love-share-btn--x:hover { background: rgba(0,0,0,0.5); border-color: #555; }
.love-share-btn--line { border-color: #06C755; }
.love-share-btn--line:hover { background: #06C755; color: #fff; }
.love-share-btn--copy { border-color: var(--love-accent, #FF6B9D); }
.love-share-btn--copy:hover { background: var(--love-accent, #FF6B9D); color: #fff; }
.love-share-btn--copy.copied { background: var(--love-accent, #FF6B9D); color: #fff; pointer-events: none; }

.love-save-btn {
  display: block; margin: 16px auto;
  padding: 12px 28px; border-radius: 25px;
  background: linear-gradient(135deg, rgba(255,107,157,0.2), rgba(232,160,192,0.15));
  border: 1px solid rgba(255,107,157,0.4);
  color: var(--love-text, #f0e0ea);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.love-save-btn:hover {
  background: linear-gradient(135deg, rgba(255,107,157,0.3), rgba(232,160,192,0.25));
  transform: translateY(-1px);
}

/* ─── PAGE TRANSITION ANIMATIONS (Love Pages) ─── */
@keyframes loveScreenFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.screen:not(.hidden) {
  animation: loveScreenFadeIn 0.4s ease-out both;
}
[id="screen-result"]:not(.hidden) {
  animation: loveScreenFadeIn 0.5s ease-out both;
}

/* ─── REDUCED MOTION (Love Pages) ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .love-particles, .floating-heart, .lp { display: none !important; }
  .love-loading-spinner { animation: lovePulse 1.2s linear infinite !important; }
}
