* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-mid:   #B8923A;
  --gold-dark:  #A07828;
  --gold-glow:  rgba(201,168,76,0.25);
  --gold-glow2: rgba(201,168,76,0.12);
  --cream:      #FBF6EE;
  --parchment:  #F5EDD8;
  --warm-white: #FEFCF7;
  --ink:        #2E2416;
  --mist:       #8C7A5A;
  --brown-soft: #C4A882;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

html { height: 100%; background: var(--cream); }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ─── BACKGROUND BLOBS ─────────────────────────────── */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.26; animation: blobFloat 16s ease-in-out infinite alternate; }
.blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, #F0D9A0, #E8C97A); top: -180px; left: -150px; }
.blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, #D4A96A, #C9A84C); bottom: -130px; right: -120px; animation-delay: -6s; }
.blob-3 { width: 340px; height: 340px; background: radial-gradient(circle, #F5EDD8, #E8C97A); bottom: 60px; left: 20px; animation-delay: -11s; }
.blob-4 { width: 280px; height: 280px; background: radial-gradient(circle, #E8C97A, #A07828); top: 100px; right: 40px; animation-delay: -3s; opacity: 0.14; }
@keyframes blobFloat {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(12px, 20px) scale(1.04); }
  66%  { transform: translate(-8px, 14px) scale(0.97); }
  100% { transform: translate(20px, 30px) scale(1.08); }
}

/* Grain texture overlay */
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* Vignette — warm, intimate */
.bg-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 85% 80% at 50% 50%, transparent 30%, rgba(46,28,10,0.18) 100%);
}

/* CTA shimmer */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 32px rgba(201,168,76,0.28), 0 2px 8px rgba(160,120,40,0.18); }
  50%       { box-shadow: 0 8px 44px rgba(201,168,76,0.45), 0 2px 12px rgba(160,120,40,0.24); }
}
@keyframes readyPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.8; }
}
@keyframes dotPulse {
  0%, 100% { background: rgba(201,168,76,0.3); transform: scale(1); }
  50%       { background: var(--gold); transform: scale(1.35); }
}
.dot.next-ready {
  animation: dotPulse 1.4s ease-in-out infinite;
  background: var(--gold);
}

/* ─── SCREEN SYSTEM ────────────────────────────────── */
.screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 2rem 1.6rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  padding-top: calc(2rem + env(safe-area-inset-top, 0px));
  pointer-events: none;
  /* transition controlled by JS classes */
}

/* Transition states */
.screen { opacity: 0; transform: translateX(0) translateY(0); }
.screen.exit-left  { opacity: 0; transform: translateX(-5%); transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo); }
.screen.exit-right { opacity: 0; transform: translateX(5%);  transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo); }
.screen.enter      { opacity: 0; transform: translateX(4%);  }
.screen.active     { opacity: 1; transform: translateX(0); pointer-events: all; transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo); }

.s1-blur-overlay {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background: rgba(0,0,0,0);
  opacity: 0;
  transition: opacity 250ms ease-in, backdrop-filter 250ms ease-in, -webkit-backdrop-filter 250ms ease-in;
}
.s1-blur-overlay.active {
  opacity: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.08);
}

/* ─── STEP LABEL ───────────────────────────────────── */
.screen-step {
  position: fixed; top: max(1.4rem, env(safe-area-inset-top, 1.4rem));
  right: 1.4rem; z-index: 30;
  font-family: 'Nunito', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-dark); opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.screen-step.visible { opacity: 0.55; }

/* ─── SCREEN 1 ─────────────────────────────────────── */
.s1-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 0px;
  margin-bottom: clamp(0.4rem, 1dvh, 0.7rem);
}
.s1-eyebrow-mark {
  opacity: 0.52;
  flex-shrink: 0;
}
.s1-eyebrow-text {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(184,146,58,0.52);
}

/* Two-line main copy */
.s1-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 5.4vw, 2.2rem);
  font-weight: 400; font-style: normal;
  color: var(--ink); text-align: center;
  margin-bottom: 0; line-height: 1.35;
  opacity: 0.82;
}
.s1-sub {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem); color: var(--mist);
  text-align: center; margin-bottom: 0;
  letter-spacing: 0; line-height: 1.5; opacity: 0.6;
  display: none;
}

/* Staggered entrance — slower, softer */
#screen1.active .s1-eyebrow  { animation: fadeUp 1s   0.22s var(--ease-out-expo) both; }
#screen1.active .s1-main     { animation: fadeUp 1s   0.38s var(--ease-out-expo) both; }
#screen1.active .s1-sub      { animation: fadeUp 1s   0.52s var(--ease-out-expo) both; }
#screen1.active .hold-wrap   { animation: fadeUp 1s   0.66s var(--ease-spring)   both; }

/* S1: vertically centered, proportional on all screens */
#screen1 {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  padding-top: max(8rem, env(safe-area-inset-top, 8rem));
  padding-bottom: max(4.5rem, env(safe-area-inset-bottom, 4.5rem));
  gap: 0;
}
/* Text group spacing */
#screen1 .s1-main  { margin: 0; }
#screen1 .s1-sub   { margin: 0; }

#screen1 .hold-wrap { margin-top: 53px; }
#screen1 .last-checkin { margin-top: 40px; }

/* ─── HOLD TO BEGIN ────────────────────────────────── */
.hold-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  user-select: none; touch-action: none;
  position: relative; z-index: 11;
}
.hold-ring-btn {
  width: 200px; height: 200px; position: relative;
  cursor: pointer; flex-shrink: 0;
  transition: transform 0.18s var(--ease-spring);
}
.hold-ring-btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110%; height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.42) 0%, rgba(201,168,76,0.155) 45%, transparent 72%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
  animation: s1GlowPulse 7s ease-in-out infinite;
}
.hold-ring-btn svg {
  width: 100%; height: 100%; display: block;
  position: relative; z-index: 1;
  animation: s1OrbBreathe 7s ease-in-out infinite;
}
@keyframes s1OrbBreathe {
  0%   { transform: scale(0.95); }
  50%  { transform: scale(1.07); }
  100% { transform: scale(0.95); }
}
@keyframes s1GlowPulse {
  0%   { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%  { opacity: 0.92; transform: translate(-50%,-50%) scale(1.12); }
  100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
}
.hold-ring-btn.pressing {
  transform: scale(0.93);
}
.hold-ring-btn.pressing::before {
  opacity: 1.4;
}
.hold-ring-btn.completing {
  animation: holdPulse 0.45s var(--ease-spring) forwards;
}
@keyframes holdPulse {
  0%   { transform: scale(0.93); }
  55%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.hold-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: normal;
  letter-spacing: 0.12em;
  color: var(--mist); text-align: center;
  opacity: 0.83;
  transition: opacity 0.35s ease;
  min-height: 1.2rem;
  margin-bottom: 8px;
}

/* ─── LAST CHECK-IN INDICATOR ──────────────────────── */
.last-checkin {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease 0.2s;
  position: relative;
  width: 60%;
  margin-left: auto; margin-right: auto;
  padding-top: 14px;
}
.last-checkin::before {
  display: none;
}
.last-checkin.visible {
  opacity: 1; pointer-events: auto;
}
.last-checkin > * {
  position: relative; z-index: 1;
}
.lc-label {
  display: none;
}
.lc-phrase {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  color: var(--mist); opacity: 0.72;
  margin: 0; text-align: center;
  letter-spacing: 0.01em; line-height: 1.5;
}
.lc-phrase .lc-emotion-word {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  color: var(--mist); opacity: 1;
  font-style: normal;
}
.lc-emotion { display: none; }
.lc-time    { display: none; }

/* ─── MOMENTS PILL ─────────────────────────────────── */
/* Hide on screens 2–5 */
/* ─── HELP ACCORDION ────────────────────────────────── */
.help-title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
  padding: 0 0.2rem;
}
.help-section {
  border-bottom: 0.5px solid rgba(201,168,76,0.15);
}
.help-section:first-of-type { border-top: 0.5px solid rgba(201,168,76,0.15); }
.help-section-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  padding: 0.85rem 0.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  color: var(--ink); text-align: left;
  transition: opacity 0.2s;
}
.help-section-btn:hover { opacity: 0.7; }
.help-section-chevron {
  flex-shrink: 0; margin-left: 0.8rem;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  color: var(--gold-dark); opacity: 1;
}
.help-section-chevron svg { display: block; }
.help-section.open .help-section-chevron { transform: rotate(180deg); }
.help-section-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1);
}
.help-section.open .help-section-body { max-height: 200px; }
.help-section-content {
  padding: 0 0.2rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
  color: var(--mist); line-height: 1.75;
}
.help-section-content p { margin-bottom: 0.25rem; }
.help-section-content p:last-child { margin-bottom: 0; }
#helpSheet .why-sheet-box {
  position: relative;
}
#helpSheet .why-sheet-box::after {
  content: '';
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  display: block;
  height: 48px;
  margin-top: -48px;
  background: linear-gradient(to bottom, transparent, var(--warm-white));
  pointer-events: none;
  border-radius: 0 0 28px 28px;
}
.help-privacy-link {
  color: var(--gold-dark); text-decoration: none; opacity: 0.85;
}
.help-privacy-link:hover { opacity: 1; }

.profile-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(251,246,238,0.25);
  border: 1.5px solid rgba(154,116,32,0.5);
  cursor: pointer;
  transition: all 0.25s var(--ease-spring), opacity 0.6s ease;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  box-shadow: 0 2px 6px rgba(160,120,40,0.18);
}
.profile-btn:hover { border-color: rgba(154,116,32,0.7); background: rgba(251,246,238,0.4); transform: scale(1.06); box-shadow: 0 4px 10px rgba(160,120,40,0.28); }
.profile-btn:active { transform: scale(0.92); box-shadow: 0 1px 3px rgba(160,120,40,0.15); }
.profile-btn > svg {
  width: 16px; height: 16px;
  stroke: var(--mist); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; opacity: 0.7;
}
.profile-btn span#profileBtnLabel {
  font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; font-weight: 500;
  color: #9A7420; letter-spacing: 0.02em;
  line-height: 1;
}
/* Gear badge — bottom-right corner of the profile button */
.profile-btn-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-mid);
  border: 1.5px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  pointer-events: none;
}
.profile-btn-badge svg {
  width: 9px;
  height: 9px;
  stroke: var(--cream);
  opacity: 1;
}
/* Logat: arăt inițiala, ascund SVG-ul person. Badge-ul (gear) rămâne mereu vizibil. */
.profile-btn.logged-in > svg { display: none; }
.profile-btn.logged-in > span#profileBtnLabel { display: inline; }
/* Nelogat: arăt SVG, ascund textul (același cerc, fără pill) */
.profile-btn:not(.logged-in) > svg { display: block; }
.profile-btn:not(.logged-in) > span#profileBtnLabel { display: none; }

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

/* ─── BUTTONS ──────────────────────────────────────── */
/* Shimmer sweep */
.btn-done {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #fff; border: none;
  padding: 0.9rem 2.6rem; border-radius: 100px;
  font-family: 'Nunito', sans-serif; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, filter 0.2s;
  box-shadow: 0 4px 20px var(--gold-glow);
  min-height: 48px;
}
.btn-done:hover  { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); }
.btn-done:active { transform: scale(0.97); }

.btn-ghost {
  background: rgba(255,255,255,0.65); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(201,168,76,0.28); color: var(--mist);
  padding: 0.55rem 1.3rem; border-radius: 100px; font-size: 0.82rem;
  cursor: pointer; transition: all 0.22s var(--ease-spring);
  font-family: 'DM Sans', sans-serif; min-height: 40px;
}
.btn-ghost:hover  { border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn-ghost:active { transform: scale(0.97); }
.btn-ghost.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(251,240,216,0.95), rgba(248,232,190,0.9));
  color: var(--ink);
}
/* ─── SCREEN 2 ─────────────────────────────────────── */
.screen-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 500; color: var(--ink); text-align: center; margin-bottom: 0.35rem; }
#screen2 .screen-title { font-size: clamp(1.2rem, 3.5vw, 1.5rem); font-weight: 400; letter-spacing: 0.25em; text-transform: lowercase; color: rgba(184,146,58,0.75); margin-bottom: 0.5rem; }
#screen3 .screen-title { font-size: clamp(1.2rem, 3.5vw, 1.5rem); font-weight: 400; letter-spacing: 0.25em; text-transform: lowercase; color: rgba(184,146,58,0.75); margin-bottom: 0.5rem; transition: opacity 0.3s ease; }
#screen4 .screen-title { font-size: clamp(1.2rem, 3.5vw, 1.5rem); font-weight: 400; letter-spacing: 0.25em; text-transform: lowercase; color: rgba(184,146,58,0.75); margin-bottom: 0.5rem; }
.screen-sub   { font-size: 0.84rem; color: var(--mist); opacity: 0.78; text-align: center; margin-bottom: 1.6rem; }
#screen3 .screen-sub { transition: opacity 0.3s ease; }

#screen2 {
  overflow-y: auto; justify-content: center; align-items: center;
  padding-top: calc(5rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}
#screen2.active { pointer-events: all; }

#screen3 {
  justify-content: flex-start;
  padding-top: calc(5rem + env(safe-area-inset-top, 0px));
}

.s2-inner {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 400px; margin: 0 auto; min-height: 100%;
}

.s2-spacer { flex: 0.5; min-height: 0.5rem; }

.emotion-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.6rem; width: 100%; margin-bottom: 1.1rem; }
.emotion-chip {
  background: rgba(255,255,255,0.72); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(201,168,76,0.18); border-radius: 18px;
  padding: 0.75rem 0.3rem 0.6rem; text-align: center; cursor: pointer;
  transition: all 0.22s var(--ease-spring); font-size: 0.75rem;
  color: var(--mist); user-select: none;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
}
.emotion-chip svg { width: 26px; height: 26px; stroke: var(--mist); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.22s; flex-shrink: 0; }
.emotion-chip:hover { transform: translateY(-3px) scale(1.04); border-color: var(--gold); box-shadow: 0 4px 16px var(--gold-glow2); color: var(--ink); }
.emotion-chip:hover svg { stroke: var(--gold-dark); }
.emotion-chip:active { transform: scale(0.95); }
.emotion-chip.selected {
  background: linear-gradient(135deg, rgba(251,240,216,0.95), rgba(248,232,190,0.9));
  border-color: var(--gold); border-width: 2px; transform: scale(1.06);
  box-shadow: 0 4px 24px var(--gold-glow), 0 0 0 1px var(--gold-dark);
  color: var(--ink);
}
.emotion-chip.selected svg { stroke: var(--gold-dark); }
.emotion-chip.selected span { font-weight: 700; color: var(--gold-dark); }

.emotion-actions { display: flex; gap: 0.7rem; margin-bottom: 0; flex-wrap: wrap; justify-content: center; }
.btn-ghost svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Modal chips — same SVG style */
.modal-chip {
  background: var(--cream); border: 1.5px solid rgba(201,168,76,0.16); border-radius: 12px;
  padding: 0.45rem 0.3rem; text-align: center; cursor: pointer;
  transition: all 0.2s var(--ease-spring); font-size: 0.68rem; color: var(--mist);
  user-select: none; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
}
.modal-chip svg { width: 18px; height: 18px; stroke: var(--mist); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.modal-chip:hover  { background: #FBF0D8; border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.modal-chip:hover svg { stroke: var(--gold-dark); }
.modal-chip:active { transform: scale(0.95); }
.modal-chip.selected { background: #FBF0D8; border-color: var(--gold); transform: scale(1.04); color: var(--ink); }
.modal-chip.selected svg { stroke: var(--gold-dark); }

/* Intensity slider */
.intensity-label { font-size: 0.78rem; letter-spacing: 0.02em; color: var(--mist); margin-bottom: 0.8rem; text-align: center; font-family: 'DM Sans', sans-serif; }
.intensity-dots-row { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 0.5rem; }
.intensity-dot-wrap { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; }
.intensity-dot { border-radius: 50%; background: rgba(201,168,76,0.32); display: block; flex-shrink: 0; transition: background 0.18s; }
.intensity-dot.selected { background: var(--gold); }
.intensity-dot-wrap:hover .intensity-dot { background: rgba(201,168,76,0.6); }
.intensity-dot-wrap:hover .intensity-dot.selected { background: var(--gold); }
@keyframes intensityPulse { 0% { transform: scale(1); } 40% { transform: scale(1.42); } 100% { transform: scale(1); } }
.intensity-dot.pulse { animation: intensityPulse 0.38s ease-out forwards; }
.intensity-dots-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--mist); font-family: 'DM Sans', sans-serif; padding: 0 4px; }

.emotion-chip.from-modal {
  border-color: var(--gold);
  background: rgba(184,146,58,0.10);
  position: relative;
}
.emotion-chip.from-modal::after {
  content: '';
  position: absolute;
  top: 7px; right: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
}

.feeling-preview {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.25rem; color: var(--gold-dark);
  margin: 0; padding: 0;
  text-align: center; transition: opacity 0.3s; width: 100%;
  font-weight: 400; line-height: 1.6;
}

/* ─── SCREEN 3 ─────────────────────────────────────── */
.s3-header {
  text-align: center; margin-bottom: 2rem;
  transition: opacity 0.6s ease;
}
#screen3.s3-running .screen-title,
#screen3.s3-running .screen-sub {
  opacity: 0;
  pointer-events: none;
}

/* Hide profile button while S3 timer is running (matches title fade) */
body:has(#screen3.s3-running) .profile-btn {
  opacity: 0;
  pointer-events: none;
}

/* ─── PREMIUM ORB TIMER — VARIANT B: SOFT FIELD ────── */
.s3-orb-scene {
  position: relative;
  width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
  margin: 2rem auto 0;
  flex-shrink: 0;
}
/* Ambient halo — outermost soft glow */
.s3-halo {
  position: absolute;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,217,160,0.18) 0%, rgba(201,168,76,0.07) 55%, transparent 75%);
  animation: s3-halo 5s ease-in-out infinite;
}
/* Outer ring — soft, filled layer */
.s3-ring-outer {
  position: absolute;
  width: 290px; height: 290px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,217,160,0.14) 0%, rgba(201,168,76,0.08) 60%, transparent 80%);
  animation: s3-ring-outer 5s ease-in-out infinite;
}
/* Mid ring — inner soft halo */
.s3-ring-mid {
  position: absolute;
  width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,217,160,0.22) 0%, rgba(201,168,76,0.12) 65%, transparent 85%);
  animation: s3-ring-mid 5s ease-in-out infinite 0.3s;
}
/* Progress arc SVG */
.s3-arc-svg {
  position: absolute;
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* Core orb */
.s3-orb-core {
  position: relative; z-index: 2;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #F8E8B0, #D4A030 60%, #A07828);
  box-shadow:
    0 0 28px rgba(201,168,76,0.5),
    0 0 64px rgba(201,168,76,0.18),
    0 0 100px rgba(201,168,76,0.08);
  animation: s3-core 5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
/* Countdown inside orb */
.s3-orb-countdown {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; position: relative; z-index: 3;
}
.s3-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 4rem; color: #7A5010; line-height: 1;
  transition: color 0.5s ease;
  text-shadow: 0 1px 4px rgba(120,70,0,0.25);
}
.s3-sec-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.58rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 7px;
}

/* Play triangle — idle state inside orb (replaces "Tap when you feel ready") */
.s3-play-triangle {
  position: absolute; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.4s ease, transform 0.2s ease;
}
.s3-play-triangle svg {
  /* Subtle inner glow shadow to integrate with orb */
  filter: drop-shadow(0 1px 2px rgba(120,70,0,0.18));
  transform: translateX(2px); /* optical centering — triangle's visual center is left-shifted */
}
.s3-play-triangle:active { transform: scale(0.94); }
/* When running, hide play triangle and show countdown */
#screen3.s3-running .s3-play-triangle {
  opacity: 0; pointer-events: none;
}
/* When idle (default), hide countdown and show play triangle */
#screen3:not(.s3-running):not(.s3-done) .s3-orb-countdown {
  opacity: 0; pointer-events: none;
}
/* When done, hide both — just luminous orb */
#screen3.s3-done .s3-play-triangle,
#screen3.s3-done .s3-orb-countdown {
  opacity: 0; pointer-events: none;
}

@keyframes s3-halo {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.1); opacity: 1; }
}
@keyframes s3-ring-outer {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes s3-ring-mid {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
@keyframes s3-core {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
.s3-final .s3-orb-core {
  animation-duration: 8s;
  box-shadow: 0 0 36px rgba(201,168,76,0.65), 0 0 80px rgba(201,168,76,0.25), 0 0 120px rgba(201,168,76,0.1);
}
.s3-final .s3-halo { animation-duration: 8s; }
.s3-final .s3-ring-outer { animation-duration: 8s; }
.s3-final .s3-ring-mid { animation-duration: 8s; }

/* Breath bar — fluid air wave */
/* Breath indicator — dots layout */
.s3-wave-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-top: -10px;
  opacity: 0; transition: opacity 0.7s ease;
}
.s3-wave-block.visible { opacity: 1; }
.s3-breath-label {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0.02em; text-transform: none;
  color: var(--mist); text-align: center;
  transition: opacity 0.5s ease;
  margin: 0;
  min-height: 1.5rem;
  order: 1;
}
.s3-breath-line {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #B8923A 18%, #B8923A 82%, transparent);
  border-radius: 1px;
  width: 40px;
  transition: width 0.05s linear;
  order: 2;
}
/* header rămâne vizibil când timerul rulează */
/* Last 10 seconds: warmer, slower pulse */


.timer-done-msg {
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  font-size: 0.86rem; color: var(--mist);
  margin: 0; opacity: 0; transition: opacity 0.8s 0.3s ease;
  text-align: center; line-height: 1.65; max-width: 260px;
}

/* Continue button on S3 — text variant ("keep going →"), matches S2 */
.s3-continue-btn-text {
  border: none; outline: none; background: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(140,122,90,0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}
.s3-continue-btn-text.visible {
  opacity: 1;
  pointer-events: auto;
}
.s3-continue-btn-text:hover {
  color: rgba(140,122,90,1);
}
.s3-continue-btn-text:active { opacity: 0.6; }

/* ─── SCREEN 4 ─────────────────────────────────────── */
#screen4 {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}
.s4-inner {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 400px; margin: 0 auto;
  flex: 1;
}
.after-card {
  background: transparent;
  border-radius: 0; padding: 0;
  width: 100%;
  border: none;
  box-shadow: none;
  margin-top: auto; margin-bottom: auto;
}
.after-question { font-size: 0.84rem; color: var(--mist); opacity: 0.78; text-align: center; margin: 0.4rem 0 1.6rem; line-height: 1.6; }
.decision-row { display: flex; flex-direction: column; gap: 0; }
.decision-chip {
  padding: 1.15rem 1.3rem; border-radius: 18px;
  border: 0.5px solid rgba(255,255,255,0.52);
  background: rgba(255,251,242,0.18);
  box-shadow: 0 2px 18px rgba(184,146,58,0.06), inset 0 1px 0 rgba(255,255,255,0.48), inset 0 0 24px rgba(255,248,220,0.10);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  cursor: pointer; transition: all 0.28s var(--ease-spring);
  font-family: 'DM Sans', sans-serif; color: var(--ink);
  user-select: none;
  display: flex; flex-direction: column; gap: 0.2rem;
  text-align: left;
}
.decision-chip .dc-title {
  font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.02em;
}
.decision-chip .dc-sub {
  font-size: 0.88rem; color: var(--mist); font-style: italic;
  font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.35;
  transition: color 0.22s;
}
.decision-chip:hover  { border-color: rgba(201,168,76,0.45); transform: translateY(-2px); box-shadow: 0 4px 18px rgba(184,146,58,0.10), inset 0 1px 0 rgba(255,255,255,0.55); }
.decision-chip:active { transform: scale(0.97); }
.decision-chip.selected {
  background: rgba(251,240,216,0.55);
  border-color: rgba(184,146,58,0.55); border-width: 1.5px;
  box-shadow: 0 2px 12px rgba(184,146,58,0.10);
}
.decision-chip.selected .dc-sub { color: var(--ink); }

/* ─── S4 CARD CONNECTOR ──────────────────────────────── */
.dc-connector {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; padding: 5px 0;
  pointer-events: none;
}
.dc-conn-line {
  width: 0.5px; height: 6px;
  background: linear-gradient(to bottom, rgba(184,146,58,0), rgba(184,146,58,0.20));
}
.dc-conn-line.bottom {
  background: linear-gradient(to bottom, rgba(184,146,58,0.20), rgba(184,146,58,0));
}
.dc-conn-rhombus {
  width: 4px; height: 4px;
  background: rgba(184,146,58,0.32);
  transform: rotate(45deg);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ─── SCREEN 4 MODAL ─────────────────────────────────── */
.s4-modal {
  position: fixed; inset: 0;
  background: rgba(40,30,16,0.18); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 105; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
  overflow: hidden;
}
.s4-modal.open { opacity: 1; pointer-events: all; }
.s4-modal-box {
  background: rgba(250,244,232,0.95);
  border-radius: 22px;
  border: 0.5px solid rgba(255,255,255,0.75);
  box-shadow: 0 8px 48px rgba(40,30,16,0.14), 0 1px 0 rgba(255,255,255,0.55);
  width: 100%; max-width: 440px;
  max-height: 88vh;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: 10px 20px 28px;
  transform: translateY(16px) scale(0.98); transition: transform 0.38s var(--ease-spring), opacity 0.35s;
  display: flex; flex-direction: column;
}
.s4-modal.open .s4-modal-box { transform: translateY(0) scale(1); }

/* Handle */
.s4m-handle { display: none; }

/* Header row */
.s4m-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; position: relative; flex-shrink: 0;
}
.s4m-return {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 400;
  color: #6B5A3E; letter-spacing: 0.01em;
  background: none; border: none; cursor: pointer; padding: 0;
  opacity: 1; pointer-events: all;
  transition: opacity 0.22s;
}
.s4m-return:hover { opacity: 0.7; }
.s4m-header-spacer { width: 72px; flex-shrink: 0; }

/* Path label — centrat absolut în header */
.s4m-path-label {
  font-family: 'Nunito', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); text-align: center;
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
}

/* Suggestion zone */
.s4m-suggestion {
  background: rgba(201,168,76,0.07);
  border-radius: 14px;
  padding: 16px 16px 14px;
  text-align: center;
  margin-bottom: 14px;
  border: 0.5px solid rgba(201,168,76,0.11);
  flex-shrink: 0;
}
.s4m-suggestion .ctx-icon {
  width: 20px; height: 20px; margin: 0 auto 9px;
  display: flex; align-items: center; justify-content: center;
}
.s4m-suggestion .ctx-icon svg {
  width: 20px; height: 20px; stroke: #B8923A; fill: none;
  stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.s4m-suggestion .ctx-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  color: var(--ink); line-height: 1.6;
}

/* Guided response — micro input in prompt zone */
.s4m-guided {
  display: none;
  width: 100%; background: transparent; border: none;
  border-bottom: 0.5px solid rgba(184,146,58,0.25);
  outline: none; margin-top: 10px; padding: 5px 2px;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic;
  color: var(--ink); letter-spacing: 0.01em;
}
.s4m-guided::placeholder { color: rgba(154,130,96,0.50); }
.s4m-guided.visible { display: block; }

/* Divider between prompt and journal */
.s4m-divider {
  display: none;
  align-items: center; gap: 8px;
  margin: 14px 0 12px;
}
.s4m-divider.visible { display: flex; }
.s4m-div-line { flex: 1; height: 0.5px; background: rgba(184,146,58,0.13); }
.s4m-div-label {
  font-family: 'DM Sans', sans-serif; font-size: 0.60rem; font-weight: 300;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(154,130,96,0.55); white-space: nowrap;
}

.s4m-note-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem; font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist); margin-bottom: 6px; flex-shrink: 0;
}
.s4m-textarea {
  width: 100%; min-height: 120px; height: 120px;
  background: rgba(220,210,195,0.22); border: none;
  border-radius: 10px; padding: 10px 12px;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic;
  color: var(--ink); resize: none; outline: none; overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(184,146,58,0.14);
  line-height: 1.6; margin-bottom: 0;
  transition: box-shadow 0.25s, height 0.2s ease;
}
.s4m-textarea::placeholder { color: var(--mist); font-style: italic; }
.s4m-textarea:focus { box-shadow: 0 0 0 1px rgba(184,146,58,0.30), 0 2px 14px rgba(184,146,58,0.07); }

/* Save */
.done-row { display: flex; justify-content: center; margin-top: auto; padding-top: 20px; flex-shrink: 0; }
.btn-done {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 400;
  color: #8A7252; letter-spacing: 0.04em;
  background: transparent;
  border: 0.5px solid rgba(184,146,58,0.35);
  border-radius: 20px; padding: 6px 22px;
  cursor: pointer; transition: all 0.22s var(--ease-spring);
}
.btn-done:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-1px); }
.btn-done:active { transform: scale(0.97); }

/* Saved confirmation */
.s4m-saved {
  display: none; text-align: center; padding: 0.8rem 0 0.2rem; flex-shrink: 0;
}
.s4m-saved.visible { display: block; }
.s4m-saved-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic; color: var(--gold-dark);
}

/* Legacy — keep for s4-modal-close refs in JS (now hidden via CSS) */
/* ─── SCREEN 5 ─────────────────────────────────────── */
#screen5 { overflow: hidden; }
.s5-orb-afterimage {
  display: none; /* TEMP DISABLED: orb afterimage hidden until iOS Safari rendering issue is resolved. Code kept for future re-enable. */
  position: fixed;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(232,201,122,0.28) 0%, rgba(232,201,122,0.08) 30%, rgba(232,201,122,0) 50%),
    radial-gradient(circle, rgba(201,168,76,0.30) 0%, rgba(201,168,76,0.18) 30%, rgba(201,168,76,0.08) 55%, rgba(201,168,76,0.02) 75%, rgba(201,168,76,0) 85%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.s5-inner {
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; max-width: 340px; padding: 18vh 4px 0;
  position: relative; z-index: 1;
}
.s5-time {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 4rem; color: rgba(140,122,90,0.35); line-height: 1;
  margin: 0; letter-spacing: -0.01em;
}
.s5-date {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 0.95rem; font-style: italic;
  color: var(--mist); margin: 6px 0 0 0;
}
.s5-divider {
  width: 100%; height: 1px;
  background: rgba(184,146,58,0.18);
  margin: 28px 0 32px 0;
}
.s5-phrase {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(1rem, 4vw, 1.15rem);
  color: var(--ink); line-height: 1.65;
  margin: 0;
}
.s5-phrase .s5-gold { color: var(--gold); }
.s5-cta-pair {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; margin-top: 36px;
}
.s5-cta {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 300;
  color: rgba(184,146,58,0.65); letter-spacing: 0.04em;
  background: none; border: none; padding: 0;
  cursor: pointer; margin: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
  display: inline-block;
}
.s5-cta:hover { color: rgba(184,146,58,0.90); }
.s5-cta:active { opacity: 0.7; }
.s5-back {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 300;
  color: rgba(140,122,90,0.55); letter-spacing: 0.04em;
  background: none; border: none; padding: 0;
  cursor: pointer; margin: 0;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}
.s5-back:hover { color: rgba(140,122,90,0.80); }
.s5-back:active { opacity: 0.7; }

#screen5.active .s5-orb-afterimage { animation: fadeUp 1.2s 0.0s var(--ease-out-expo) both; }
#screen5.active .s5-time     { animation: fadeUp 0.8s 0.05s var(--ease-out-expo) both; }
#screen5.active .s5-date     { animation: fadeUp 0.7s 0.15s var(--ease-out-expo) both; }
#screen5.active .s5-divider  { animation: fadeUp 0.6s 0.22s var(--ease-out-expo) both; }
#screen5.active .s5-phrase   { animation: fadeUp 0.7s 0.30s var(--ease-out-expo) both; }
#screen5.active .s5-cta-pair { animation: fadeUp 0.7s 0.45s var(--ease-out-expo) both; }

/* Particle canvas */
canvas.particle-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 5; }

/* ─── NAV BAR ──────────────────────────────────────── */
.nav-bar {
  position: fixed;
  bottom: max(6rem, calc(5rem + env(safe-area-inset-bottom, 1rem)));
  left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 20;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.nav-bar.visible { opacity: 1; pointer-events: all; }

/* Landscape / shorter viewports: lower nav-bar to avoid overlapping with content above */
@media (orientation: landscape) and (max-height: 900px) {
  .nav-bar {
    bottom: max(2rem, calc(1rem + env(safe-area-inset-bottom, 1rem)));
  }
}

.s2-nav-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
}
.s3-nav-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
}
.s2-continue-btn {
  border: none; outline: none; background: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(140,122,90,0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}
.s2-continue-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.s2-continue-btn:hover {
  color: rgba(140,122,90,1);
}
.s2-continue-btn:active { opacity: 0.6; }

/* ─── STEP LABEL ───────────────────────────────────── */
.screen-step { position: fixed; top: max(1.5rem, env(safe-area-inset-top, 1.5rem)); right: 1.4rem; z-index: 30; font-family: 'Nunito', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.screen-step.visible { opacity: 0.55; }

/* ─── WHY SHEET ────────────────────────────────────── */
.why-sheet {
  position: fixed; inset: 0; background: rgba(46,36,22,0.38); backdrop-filter: blur(10px);
  z-index: 110; display: flex; align-items: center; justify-content: center;
  padding: max(1.5rem, env(safe-area-inset-top, 1.5rem)) 1rem max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.why-sheet.open { opacity: 1; pointer-events: all; }
.why-sheet-box {
  background: var(--warm-white); border-radius: 28px;
  padding: 1.5rem 1.8rem 2rem; max-width: 440px; width: 100%;
  height: auto; max-height: 88svh; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  transform: translateY(24px) scale(0.97); transition: transform 0.42s var(--ease-spring);
  border-top: 2.5px solid var(--gold-light);
  box-shadow: 0 -8px 40px rgba(46,36,22,0.06);
  position: relative;
}
.why-close-x {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.22s var(--ease-spring);
  color: var(--mist); flex-shrink: 0;
}
.why-close-x:hover { background: rgba(201,168,76,0.18); border-color: var(--gold); color: var(--gold-dark); transform: scale(1.1); }
.why-close-x:active { transform: scale(0.93); }
.why-close-x svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.why-sheet.open .why-sheet-box { transform: translateY(0) scale(1); }
.why-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--brown-soft); opacity: 0.28; margin: 0 auto 1.5rem; }

/* Account sheet — fixed height, internal scroll only */
#accountSheet .why-sheet-box {
  height: auto; max-height: 88svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-bottom: 1.5rem;
}
#accountInner {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
#accountInner::-webkit-scrollbar { width: 3px; }
#accountInner::-webkit-scrollbar-track { background: transparent; }
#accountInner::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.35); border-radius: 2px; }
#accountInner::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.6); }
#accountInner { scrollbar-width: thin; scrollbar-color: rgba(201,168,76,0.35) transparent; }
/* ─── MODALS ───────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(46,36,22,0.25); backdrop-filter: blur(8px);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--warm-white); border-radius: 24px; padding: 1.8rem 1.6rem;
  max-width: 400px; width: 100%; max-height: 82vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(46,36,22,0.14);
  transform: translateY(24px) scale(0.98); transition: transform 0.35s var(--ease-spring), opacity 0.3s;
  opacity: 0;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); opacity: 1; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; margin-bottom: 1rem; color: var(--ink); }
.modal-emotions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; margin-bottom: 1.2rem; }
/* ─── MODAL: close X ──────────────────────────────── */
.modal-box { position: relative; }
.modal-close-x {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.22s var(--ease-spring);
  color: var(--mist); flex-shrink: 0; padding: 0; z-index: 2;
}
.modal-close-x:hover { background: rgba(201,168,76,0.18); border-color: var(--gold); color: var(--gold-dark); transform: scale(1.1); }
.modal-close-x:active { transform: scale(0.93); }
.modal-close-x svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }

/* ─── MODAL: use your own words ───────────────────── */
.modal-own-divider {
  display: flex; align-items: center; gap: 0.8rem;
  width: 100%; margin: 0 0 0.9rem;
  color: var(--mist); font-size: 0.72rem; letter-spacing: 0.06em;
  font-family: 'DM Sans', sans-serif;
}
.modal-own-divider::before, .modal-own-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.custom-textarea {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid rgba(201,168,76,0.28); border-radius: 14px;
  padding: 0.75rem 0.95rem;
  font-family: 'DM Sans', sans-serif; font-size: 1rem;
  outline: none; margin-bottom: 0.35rem;
  background: var(--cream); color: var(--ink);
  resize: none; line-height: 1.55; min-height: 64px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.custom-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.custom-textarea::placeholder { color: var(--mist); font-style: italic; opacity: 0.55; }
.custom-textarea.filled { border-color: var(--gold); }
.custom-counter {
  text-align: right; font-size: 0.66rem; color: var(--mist);
  font-family: 'DM Sans', sans-serif; margin: 0 0 1rem; opacity: 0.7;
}
.modal-save-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #fff; border: none;
  padding: 0.65rem 1.8rem; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; display: block; margin: 0 auto;
  transition: all 0.22s var(--ease-spring);
  box-shadow: 0 4px 18px var(--gold-glow); min-height: 42px;
}
.modal-save-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.modal-save-btn:active { transform: scale(0.97); }

/* ─── See more button — dot icon ──────────────────── */
.btn-ghost svg.see-more-dot { width: 13px; height: 13px; }
.btn-ghost svg.see-more-dot circle:first-child { fill: currentColor; stroke: none; }
.btn-ghost svg.see-more-dot circle:last-child { fill: none; stroke: currentColor; }

/* ─── S2 progressive reveal ───────────────────────── */
.s2-hidden { display: none !important; }
.intensity-wrap {
  width: 100%;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.intensity-wrap.revealed { opacity: 1; }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 430px) {
  .s2-spacer { flex: 0; min-height: 0; max-height: 1rem; }
  .s2-inner { min-height: 0; }
  #screen2 { justify-content: flex-start; padding-top: calc(5rem + env(safe-area-inset-top, 0px)); }
  .s3-orb-scene { margin-top: 3.5rem; width: 320px; height: 320px; }
  .s3-halo { width: 302px; height: 302px; }
  .s3-ring-outer { width: 258px; height: 258px; }
  .s3-ring-mid { width: 204px; height: 204px; }
  .s3-arc-svg { width: 232px; height: 232px; }
  .s3-orb-core { width: 160px; height: 160px; }
  .s3-num { font-size: 3.7rem; }
}

@media (max-width: 390px) {
  .emotion-grid { grid-template-columns: repeat(4,1fr); gap: 0.45rem; }
  .emotion-chip { font-size: 0.74rem; padding: 0.5rem 0.25rem; }
    }

/* Landscape / very short screens */
@media (max-height: 600px) {
  .hold-ring-btn { width: 110px; height: 110px; }
  #screen1 { padding-top: 2rem; padding-bottom: 2rem; }
      }

/* MacBook Air 13"/14" — wide, ~800-900px tall */
@media (min-width: 1100px) and (max-height: 920px) {
  .hold-ring-btn { width: 180px; height: 180px; }
}

/* Large desktop 27"–32" */
@media (min-width: 1600px) {
  .s1-main  { font-size: clamp(1.35rem, 1.8vw, 1.75rem); }
  .hold-ring-btn { width: 200px; height: 200px; }
}

/* ─── WELCOME MODAL ────────────────────────────────── */
.welcome-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); text-align: center;
  margin-bottom: 0.5rem;
}

.welcome-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; font-weight: 500;
  color: var(--ink); text-align: center;
  line-height: 1.25; margin-bottom: 0.5rem;
}
.welcome-title span { color: var(--gold-dark); font-style: italic; }

.welcome-rule {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.8rem auto 1.2rem;
}

.welcome-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  color: var(--ink); text-align: center;
  line-height: 1.65; margin-bottom: 1.4rem;
  opacity: 0.88;
}

.welcome-steps {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 1.4rem;
}
.welcome-step {
  display: flex; align-items: flex-start; gap: 0.9rem;
}
.welcome-step-timeline {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
}
.welcome-step-num {
  width: 38px; height: 38px; flex-shrink: 0;
}
.welcome-step-num svg { width: 38px; height: 38px; display: block; }
.welcome-step-line {
  width: 1px; flex: 1; min-height: 12px;
  background: rgba(201,168,76,0.22);
  margin: 3px 0;
}
.welcome-step-text { flex: 1; padding-bottom: 14px; }
.welcome-step-label {
  font-family: 'Nunito', sans-serif; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.15rem;
}
.welcome-step-desc {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  color: var(--mist); line-height: 1.5;
}

.welcome-disclaimer {
  border-top: 1px solid rgba(201,168,76,0.18);
  padding-top: 1rem; margin-top: 0.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  color: var(--mist); line-height: 1.6; text-align: center;
}
.welcome-disclaimer strong { color: var(--ink); font-weight: 500; }

/* ─── LANG TOGGLE (global, fixed) ─────────────────── */
/* ─── TOP-RIGHT BAR ────────────────────────────────── */
.top-bar {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top, 1rem));
  right: 1.2rem;
  z-index: 50;
  display: flex; align-items: center; gap: 0.5rem;
}

/* Lang toggle inside welcome modal */
/* ─── ACCOUNT SHEET ────────────────────────────────── */
/* Tab navigation */
.acc-tabs {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  margin-bottom: 1.4rem;
}
.acc-tab {
  flex: 1; padding: 0.6rem 0.5rem;
  background: none; border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist); opacity: 0.55;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
}
.acc-tab.active {
  color: var(--gold-dark); opacity: 1;
  border-bottom-color: var(--gold);
}
.acc-tab:hover:not(.active) { opacity: 0.8; }

/* Sheet title — replaces tabs */
.acc-sheet-title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,168,76,0.18);
}




.acc-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: #fff; letter-spacing: 0.04em;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.acc-logout-row { display: flex; justify-content: center; padding: 0.4rem 0 0.2rem; }
.acc-logout {
  background: none; border: 1.5px solid rgba(192,57,43,0.2); color: #c0392b;
  padding: 0.5rem 1.6rem; border-radius: 100px; font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; cursor: pointer; transition: all 0.22s;
}
.acc-logout:hover { border-color: #c0392b; background: rgba(192,57,43,0.05); }

/* ─── ACCOUNT V2 — CARD LAYOUT ─────────────────────── */
.acc-profile-header {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.4rem 0 0.65rem; margin-bottom: 0.2rem;
}
.acc-profile-header .acc-avatar {
  width: 64px; height: 64px; margin-bottom: 0.7rem;
}
.acc-name-inline {
  background: transparent; border: none; outline: none;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 500;
  color: var(--ink); text-align: center;
  padding: 0.15rem 0.4rem; border-radius: 6px;
  width: 100%; max-width: 240px;
  transition: background 0.2s;
}
.acc-name-inline:hover { background: rgba(201,168,76,0.05); }
.acc-name-inline:focus { background: rgba(201,168,76,0.08); }
.acc-name-inline::placeholder { color: var(--mist); opacity: 0.6; font-style: italic; font-size: 0.95rem; }
.acc-email-inline {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  color: var(--mist); margin-top: 0.15rem; opacity: 0.75;
}
.acc-lang-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.4rem;
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.15);
  padding: 0.25rem 0.75rem; border-radius: 100px;
}
.acc-lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mist); opacity: 0.6;
  padding: 0.1rem 0.15rem;
  transition: opacity 0.2s, color 0.2s;
}
.acc-lang-btn.active { color: var(--gold-dark); opacity: 1; }
.acc-lang-btn:hover:not(.active) { opacity: 0.85; }
.acc-lang-div { color: var(--brown-soft); opacity: 0.4; font-size: 0.7rem; }

.acc-card {
  background: rgba(255,255,255,0.65);
  border: 0.5px solid rgba(201,168,76,0.18);
  border-radius: 14px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(46,36,22,0.04), 0 1px 3px rgba(46,36,22,0.03);
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s, transform 0.22s;
}
.acc-card:hover {
  border-color: rgba(201,168,76,0.32);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(46,36,22,0.07), 0 1px 3px rgba(46,36,22,0.04);
}

.acc-card-btn {
  width: 100%; display: flex; align-items: center; gap: 0.75rem;
  background: none; border: none; cursor: pointer;
  padding: 0.85rem 0.95rem;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
}
.acc-card-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}
.acc-card-icon svg { width: 18px; height: 18px; display: block; }
.acc-card-text { flex: 1; min-width: 0; }
.acc-card-title {
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  margin: 0 0 0.1rem; line-height: 1.3;
}
.acc-card-desc {
  font-size: 0.7rem; color: var(--mist);
  margin: 0; line-height: 1.35; opacity: 0.85;
}
.acc-card-chevron {
  flex-shrink: 0; color: var(--brown-soft);
  display: flex; align-items: center; opacity: 0.7;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.acc-card.open .acc-card-chevron-toggle { transform: rotate(180deg); }

.acc-card-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s cubic-bezier(0.4,0,0.2,1);
}
.acc-card.open .acc-card-body { max-height: 900px; }
.acc-card-body-inner {
  padding: 0 0.75rem 0.65rem;
  border-top: 0.5px solid rgba(201,168,76,0.12);
  padding-top: 0.4rem;
}

/* Q&A items inside cards (Help / Privacy data) */
.acc-qa { border-bottom: 0.5px solid rgba(201,168,76,0.08); }
.acc-qa:last-child { border-bottom: none; }
.acc-qa-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  padding: 0.7rem 0.25rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 400;
  color: var(--ink); text-align: left;
  transition: opacity 0.2s;
}
.acc-qa-btn:hover { opacity: 0.7; }
.acc-qa-chevron {
  flex-shrink: 0; margin-left: 0.6rem;
  color: var(--brown-soft); opacity: 0.7;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.acc-qa-chevron svg { display: block; }
.acc-qa.open .acc-qa-chevron { transform: rotate(180deg); }
.acc-qa-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1);
}
.acc-qa.open .acc-qa-body { max-height: 220px; }
.acc-qa-content {
  padding: 0 0.25rem 0.65rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  color: var(--mist); line-height: 1.65;
}
.acc-qa-content p { margin-bottom: 0.2rem; }
.acc-qa-content p:last-child { margin-bottom: 0; }

/* Sub-rows (legal links, account actions) */
.acc-sub-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.25rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  color: var(--ink); cursor: pointer;
  border-bottom: 0.5px solid rgba(201,168,76,0.08);
  transition: opacity 0.2s;
}
.acc-sub-row:last-child { border-bottom: none; }
.acc-sub-row:hover { opacity: 0.7; }
.acc-sub-row.acc-sub-danger { color: #c0392b; }
.acc-sub-chevron { color: var(--brown-soft); opacity: 0.6; display: flex; align-items: center; }
.acc-sub-row.acc-sub-danger .acc-sub-chevron { color: rgba(192,57,43,0.55); }

/* ─── CONTACT POPUP ───────────────────────────────── */
.contact-popup-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(46,36,22,0.42);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.contact-popup-overlay.open { opacity: 1; pointer-events: all; }
.contact-popup-box {
  position: relative;
  background: var(--cream);
  border: 0.5px solid rgba(201,168,76,0.22);
  border-radius: 20px;
  padding: 1.6rem 1.4rem 1.3rem;
  max-width: 340px; width: 100%;
  box-shadow: 0 18px 50px rgba(46,36,22,0.18);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1);
}
.contact-popup-overlay.open .contact-popup-box {
  transform: translateY(0) scale(1);
}
.contact-popup-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  background: none; border: none; cursor: pointer;
  color: var(--mist); opacity: 0.6;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, background 0.2s;
}
.contact-popup-close:hover { opacity: 1; background: rgba(201,168,76,0.08); }
.contact-popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500;
  color: var(--ink); margin: 0 0 0.3rem;
  text-align: center;
}
.contact-popup-sub {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  color: var(--mist); text-align: center;
  margin: 0 0 0.9rem;
}
.contact-popup-email {
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.18);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 1rem;
  user-select: all; -webkit-user-select: all;
}
.contact-popup-actions {
  display: flex; gap: 0.5rem;
}
.contact-popup-btn-secondary, .contact-popup-btn-primary {
  flex: 1;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  padding: 0.55rem 0.9rem; border-radius: 100px;
  cursor: pointer; transition: all 0.22s;
}
.contact-popup-btn-secondary {
  background: none;
  border: 0.5px solid rgba(201,168,76,0.32);
  color: var(--gold-dark);
}
.contact-popup-btn-secondary:hover { background: rgba(201,168,76,0.08); }
.contact-popup-btn-secondary.copied {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.42);
}
.contact-popup-btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border: none; color: #fff;
  box-shadow: 0 3px 12px var(--gold-glow);
}
.contact-popup-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.contact-popup-btn-primary:active { transform: scale(0.97); }

.acc-back {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: none; color: var(--gold-dark); cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; padding: 0.3rem 0;
  margin-bottom: 1rem; transition: opacity 0.2s;
}
.acc-back:hover { opacity: 0.7; }
.acc-page-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.8rem;
}
.acc-page-body {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--mist);
  line-height: 1.7;
}
.acc-page-body p { margin-bottom: 0.7rem; }

.acc-moments { display: flex; flex-direction: column; gap: 0.7rem; }
.acc-moment-card {
  background: rgba(255,255,255,0.55); border: 1px solid rgba(201,168,76,0.14);
  border-radius: 14px; padding: 0.7rem 0.85rem 0.55rem;
}
.acc-moment-emotion {
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.82rem;
  color: var(--ink);
}
.acc-moment-intensity {
  font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 0.68rem;
  color: var(--ink); opacity: 0.6;
}
.acc-moment-path {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-dark); font-family: 'Nunito', sans-serif; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; align-self: center;
}
/* Top row: emotion+intensity left, path text right */
.acc-moment-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.3rem; gap: 10px;
}
.acc-moment-main-line {
  display: flex; align-items: center; gap: 0.3rem; flex: 1;
}
.acc-moment-date {
  font-size: 0.68rem; color: var(--brown-soft);
  font-family: 'DM Sans', sans-serif;
}
/* Fade swap */
.welcome-content { transition: opacity 0.22s ease; }
.welcome-content.fading { opacity: 0; }
/* ─── AUTH SCREEN ─────────────────────────────────── */
.auth-input {
  width: 100%; border: 1.5px solid rgba(201,168,76,0.22); border-radius: 14px;
  padding: 0.75rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 1rem;
  color: var(--ink); background: rgba(255,255,255,0.6); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s; margin-bottom: 0.6rem;
}
.auth-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.auth-input::placeholder { color: var(--mist); }
.auth-pwd-wrap {
  position: relative; display: flex; align-items: center;
  margin-bottom: 0.6rem;
}
.auth-pwd-wrap .auth-input {
  margin-bottom: 0;
}
.auth-pwd-wrap .auth-eye-btn {
  position: absolute; right: 0.75rem;
  background: none; border: none; cursor: pointer; padding: 0;
  color: #8C7A5A; opacity: 0.7;
  display: flex; align-items: center; justify-content: center;
  height: 100%;
}
.auth-btn {
  width: 100%; margin-top: 0.3rem; margin-bottom: 0;
}
.auth-error {
  font-size: 0.78rem; color: #c0392b; text-align: center;
  min-height: 0; margin-bottom: 0.2rem;
  font-family: 'DM Sans', sans-serif;
}
.auth-confirm {
  font-size: 0.82rem; color: var(--gold-dark); text-align: center;
  font-family: 'DM Sans', sans-serif; padding: 0.5rem 0;
  font-style: italic;
}
.auth-divider {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 0.7rem 0; color: var(--mist); font-size: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}
.auth-google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.75rem 1rem; border-radius: 14px;
  border: 1.5px solid rgba(201,168,76,0.22); background: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif; font-size: 0.84rem; color: var(--ink);
  cursor: pointer; transition: all 0.22s var(--ease-spring);
  min-height: 48px;
}
.auth-google-btn:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 14px var(--gold-glow2); }
.auth-google-btn:active { transform: scale(0.97); }
.auth-switch {
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; color: var(--mist);
  margin-top: 1.2rem; text-align: center; display: block;
}
.auth-switch a { color: var(--gold-dark); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.app-wrap { display: none; }
.app-wrap.visible { display: block; }

/* ─── AUTH MODAL OVERLAY ───────────────────────────── */
.auth-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(43,35,25,0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.auth-modal-overlay.open {
  display: flex;
  animation: fadeInOverlay 0.3s ease;
}
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }

.auth-modal-box {
  background: #FDFAF4;
  border-radius: 24px;
  border: 1px solid rgba(201,168,76,0.25);
  padding: 2.8rem 2rem 2rem;
  width: 100%; max-width: 400px;
  position: relative;
  animation: scaleInModal 0.32s var(--ease-spring);
  box-shadow: 0 8px 40px rgba(201,168,76,0.15), 0 20px 60px rgba(43,35,25,0.12);
}
@keyframes scaleInModal { from { transform: scale(0.93); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.auth-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--ink); text-align: center;
  margin-bottom: 0.3rem;
}
.auth-modal-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; color: var(--mist);
  text-align: center; line-height: 1.5;
  margin-bottom: 1.4rem;
}

/* ─── LANG TOGGLE IN PROFILE ───────────────────────── */
/* acc saved feedback */
.acc-saved-feedback {
  font-size: 0.72rem; color: var(--gold-dark);
  opacity: 0; height: 0; overflow: hidden;
  transition: opacity 0.25s ease, height 0.25s ease;
  font-family: 'DM Sans', sans-serif;
}
.acc-saved-feedback.visible {
  opacity: 0.75; height: 1.2rem;
}

/* Override browser autofill yellow in auth modal */
.auth-modal-box .auth-input:-webkit-autofill,
.auth-modal-box .auth-input:-webkit-autofill:hover,
.auth-modal-box .auth-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #FDFAF4 inset;
  -webkit-text-fill-color: var(--ink);
}

/* ─── EXPANDABLE MOMENT CARDS ──────────────────────── */
.acc-moment-card {
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.acc-moment-card:hover { box-shadow: 0 4px 16px rgba(201,168,76,0.12); }
.acc-moment-card.expanded {
  box-shadow: 0 6px 24px rgba(201,168,76,0.14);
}

.acc-moment-expanded {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease 0.05s;
}

.acc-moment-exp-divider {
  height: 1px;
  background: rgba(201,168,76,0.15);
  margin: 0.8rem 0 0.7rem;
}

.acc-moment-exp-section {
  margin-bottom: 0.9rem;
}

.acc-moment-exp-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--ink); line-height: 1.55;
}

.acc-moment-exp-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-style: italic;
  color: var(--mist); line-height: 1.5;
}

.acc-moment-exp-actions {
  display: flex; justify-content: flex-end;
  margin-top: 0.5rem; padding-bottom: 0.1rem;
}

.acc-moment-delete-exp {
  background: none; border: none;
  color: var(--brown-soft); opacity: 0.75;
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 400;
  cursor: pointer; transition: opacity 0.2s; padding: 0.25rem 0;
}
.acc-moment-delete-exp:hover { opacity: 1; }

/* Empty state */
.acc-empty-state { text-align: center; padding: 3rem 1rem; }
.acc-empty-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  font-weight: 600; color: var(--ink); margin-bottom: 0.5rem;
}
.acc-empty-sub {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  color: var(--mist); line-height: 1.6; opacity: 0.8;
}

/* Group labels */
.acc-moments-group-label {
  font-family: 'Nunito', sans-serif; font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown-soft); opacity: 1;
}

/* Group row (non-collapsible: Today, This week) */
.acc-moments-group-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0.85rem 0 0.45rem; padding: 0 0.15rem;
}
.acc-moments-group-row:first-child,
.acc-moments .acc-moments-group-row:first-of-type { margin-top: 0; }

/* Group count (gri discret în dreapta) */
.acc-moments-group-count {
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 400;
  color: var(--brown-soft); opacity: 0.7;
}

/* Group right cluster (count + chevron) — folosit doar în bara colapsabilă */
.acc-moments-group-right {
  display: flex; align-items: center; gap: 8px;
}
.acc-moments-group-chev {
  display: inline-flex; color: var(--gold-dark); opacity: 0.55;
}
.acc-moments-group-chev svg {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.acc-moments-group-collapsed-bar.open .acc-moments-group-chev svg {
  transform: rotate(180deg);
}

/* Collapsed bar pentru grupul "Earlier" */
.acc-moments-group-collapsed-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 12px;
  cursor: pointer;
  margin-top: 0.85rem;
  transition: background 0.2s;
}
.acc-moments-group-collapsed-bar:hover {
  background: rgba(255,255,255,0.5);
}
.acc-moments-group-body {
  margin-top: 0.45rem;
}

/* Section label în expanded card ("REFLECTION", "YOUR NOTE") */
.acc-moment-exp-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown-soft); opacity: 0.75;
  margin: 0 0 0.25rem;
}

/* ─── CARD CHEVRON ─────────────────────────────────── */
.acc-moment-chevron {
  display: flex; justify-content: flex-end;
  margin-top: 0.4rem;
  color: var(--gold-dark); opacity: 0.55;
}
.acc-moment-chevron svg {
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.acc-moment-card.expanded .acc-moment-chevron svg {
  transform: rotate(180deg);
}
/* ─── UNDO TOAST ────────────────────────────────────── */
.moment-undo-toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #F7F2EA;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
  padding: 0.6rem 1rem 0.6rem 1.1rem;
  border-radius: 100px;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999; white-space: nowrap;
}
.moment-undo-toast.visible {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.moment-undo-toast-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 0.78rem; font-weight: 800;
  color: var(--gold); letter-spacing: 0.04em; padding: 0;
}
.moment-undo-toast-btn:hover { opacity: 0.8; }

/* ─── DELETE CONFIRM MODAL ─────────────────────────── */
/* ─── AVATAR UPLOAD ────────────────────────────────── */
.acc-avatar-clickable {
  position: relative; cursor: pointer;
}
.acc-avatar-edit-icon {
  position: absolute; bottom: 0; right: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #FDFAF4;
  transition: transform 0.2s;
}
.acc-avatar-clickable:hover .acc-avatar-edit-icon { transform: scale(1.12); }



/* ─── DELETE ACCOUNT CONFIRM ───────────────────────── */
/* ─── MICRO FOOTER ─────────────────────────────────── */
.micro-footer {
  display: none;
}
.micro-footer.hidden {
  display: none;
}
.micro-footer a, .micro-footer span {
  display: none;
}
.micro-footer a:hover { opacity: 0.65; }

/* ─── GUEST SAVE PROMPT ────────────────────────────── */
.s4-guest-prompt {
  display: none;
  flex-direction: column; align-items: center;
  gap: 0.75rem;
  padding: 1rem 0 0.25rem;
  animation: fadeUp 0.35s var(--ease-out-expo) both;
}
.s4-guest-prompt.visible { display: flex; }
.s4gp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; font-style: italic;
  color: var(--ink); text-align: center; line-height: 1.4;
  opacity: 0.9;
}
.s4gp-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.45rem; width: 100%;
}
.s4gp-btn-primary {
  width: 100%; padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border: none; border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
  color: #fff; cursor: pointer; letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.15s var(--ease-spring);
}
.s4gp-btn-primary:active { transform: scale(0.97); opacity: 0.9; }
.s4gp-btn-ghost {
  background: none; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 300;
  color: var(--mist); cursor: pointer; opacity: 0.65;
  padding: 0.2rem 0.5rem;
  transition: opacity 0.2s;
}
.s4gp-btn-ghost:hover { opacity: 1; }
.s4gp-soft {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 300;
  color: var(--mist); text-align: center; opacity: 0.7;
  font-style: italic;
}
.s4-guest-prompt.soft { animation: fadeUp 0.3s var(--ease-out-expo) both; }

/* ─── LEGAL MODAL ──────────────────────────────────── */
.legal-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 600;
  background: rgba(43,35,25,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.22s ease;
}
.legal-modal-box {
  background: #FDFAF4;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2rem 1.8rem;
  width: 100%; max-width: 400px;
  max-height: 80svh; overflow-y: auto;
  position: relative;
  box-shadow: 0 12px 40px rgba(43,35,25,0.15);
}
.legal-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(201,168,76,0.1); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.legal-modal-close svg {
  width: 14px; height: 14px; stroke: var(--gold-dark);
  fill: none; stroke-width: 2; stroke-linecap: round;
}
.legal-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--ink);
  margin-bottom: 1rem;
}
.legal-modal-body p {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  color: var(--mist); line-height: 1.65; margin-bottom: 0.8rem;
}
.legal-modal-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600; color: var(--ink);
  margin-bottom: 0.25rem;
}
.legal-modal-body h5 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dark); opacity: 0.8;
  margin: 1.1rem 0 0.35rem;
}
.legal-modal-body .legal-date {
  font-size: 0.74rem; color: var(--mist); opacity: 0.55;
  margin-bottom: 1rem;
}
.legal-modal-body strong {
  color: var(--ink); font-weight: 600;
}

/* ─── PLAN LABEL IN PROFILE BTN ────────────────────── */


/* ═══════════════════════════════════════════════════════════════════════════ */
/* REMOVED 2026-05-24 — Safety backup of 106 unused CSS rules. */
/* To restore an item: uncomment the block(s) below and move to original location. */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* DELETED: .btn-ready
   .btn-ready {
     background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)) !important;
     color: #fff !important;
     border-color: transparent !important;
     animation: readyPulse 1.8s ease-in-out infinite !important;
   }
*/

/* DELETED: .s1-hint
   .s1-hint {
     font-size: 0.64rem; letter-spacing: 0.32em; text-transform: uppercase;
     color: var(--gold); margin-bottom: 0.8rem; opacity: 0.75;
   }
*/

/* DELETED: .s1-eyebrow-dot
   .s1-eyebrow-dot {
     display: none;
   }
*/

/* DELETED: #screen1 .s1-hint
   #screen1 .s1-hint  { margin: 0 0 0.5rem; }
*/

/* DELETED: .moments-pill
   .moments-pill {
     width: 34px; height: 34px; border-radius: 50%;
     background: rgba(251,246,238,0.55);
     backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
     border: 1px solid rgba(201,168,76,0.15);
     display: flex; align-items: center; justify-content: center;
     cursor: pointer;
     transition: all 0.25s var(--ease-spring);
     box-shadow: none;
     flex-shrink: 0;
   }
*/

/* DELETED: .moments-pill:hover
   .moments-pill:hover { border-color: rgba(201,168,76,0.3); background: rgba(251,246,238,0.75); transform: scale(1.08); }
*/

/* DELETED: .moments-pill:active
   .moments-pill:active { transform: scale(0.93); }
*/

/* DELETED: .moments-pill svg
   .moments-pill svg {
     width: 15px; height: 15px;
     stroke: var(--mist); fill: none;
     stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
     opacity: 0.7;
   }
*/

/* DELETED: .moments-pill.hide
   .moments-pill.hide { opacity: 0; pointer-events: none; }
*/

/* DELETED: .btn-cta
   .btn-cta {
     position: relative; overflow: hidden;
     background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
     color: #fff; border: none;
     padding: 1.1rem 3.2rem; border-radius: 100px;
     font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 700;
     cursor: pointer; letter-spacing: 0.06em;
     transition: transform 0.28s var(--ease-spring), box-shadow 0.28s, filter 0.2s;
     box-shadow: 0 6px 32px rgba(201,168,76,0.28), 0 2px 8px rgba(160,120,40,0.18);
     min-height: 56px;
     animation: ctaPulse 3s ease-in-out infinite;
   }
*/

/* DELETED: .btn-cta::after
   .btn-cta::after {
     content: '';
     position: absolute; inset: 0;
     background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
     background-size: 200% 100%;
     animation: shimmer 3.5s ease-in-out infinite;
     border-radius: inherit;
   }
*/

/* DELETED: .btn-cta:hover
   .btn-cta:hover  { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 48px rgba(201,168,76,0.4); filter: brightness(1.07); animation: none; }
*/

/* DELETED: .btn-cta:active
   .btn-cta:active { transform: translateY(0) scale(0.97); animation: none; }
*/

/* DELETED: .btn-restart
   .btn-restart {
     background: transparent; border: 1.5px solid rgba(201,168,76,0.35);
     color: var(--mist); padding: 0.75rem 2.2rem; border-radius: 100px;
     font-family: 'Nunito', sans-serif; font-size: 0.85rem;
     cursor: pointer; transition: all 0.22s; min-height: 48px;
   }
*/

/* DELETED: .btn-restart:hover
   .btn-restart:hover  { border-color: var(--gold); color: var(--ink); }
*/

/* DELETED: .btn-restart:active
   .btn-restart:active { transform: scale(0.97); }
*/

/* DELETED: .see-more-tag
   .see-more-tag {
     display: inline-flex;
     align-items: center;
     gap: 4px;
     font-size: 0.68rem;
     font-family: 'DM Sans', sans-serif;
     background: var(--gold);
     color: #fff;
     border-radius: 999px;
     padding: 2px 6px 2px 10px;
     margin-left: 6px;
     vertical-align: middle;
     white-space: nowrap;
     max-width: 110px;
   }
*/

/* DELETED: .see-more-tag-label
   .see-more-tag-label {
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     max-width: 70px;
   }
*/

/* DELETED: .see-more-tag-x
   .see-more-tag-x {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 16px;
     height: 16px;
     border-radius: 50%;
     background: rgba(255,255,255,0.25);
     font-size: 0.75rem;
     line-height: 1;
     cursor: pointer;
     flex-shrink: 0;
     transition: background 0.15s;
   }
*/

/* DELETED: .see-more-tag-x:hover
   .see-more-tag-x:hover { background: rgba(255,255,255,0.45); }
*/

/* DELETED: .s4-modal-close
   .s4-modal-close { display: none; }
*/

/* DELETED: .done-screen
   .done-screen { display: none; }
*/

/* DELETED: .done-restart-row
   .done-restart-row { display: none; }
*/

/* DELETED: .why-title
   .why-title  { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--ink); text-align: center; margin-bottom: 1rem; }
*/

/* DELETED: .why-title span
   .why-title span { color: var(--gold-dark); }
*/

/* DELETED: .why-quote
   .why-quote { background: var(--parchment); border-left: 3px solid var(--gold-light); border-radius: 0 14px 14px 0; padding: 0.95rem 1.15rem; margin-bottom: 1.25rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; color: var(--ink); line-height: 1.65; }
*/

/* DELETED: .why-body
   .why-body  { font-family: 'DM Sans', sans-serif; font-size: 0.86rem; color: var(--mist); line-height: 1.78; text-align: center; margin-bottom: 1.5rem; }
*/

/* DELETED: .why-body strong
   .why-body strong { color: var(--ink); font-weight: 500; }
*/

/* DELETED: .why-close
   .why-close { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #fff; border: none; padding: 0.75rem 2.2rem; border-radius: 100px; font-family: 'Nunito', sans-serif; font-size: 0.88rem; font-weight: 700; cursor: pointer; display: block; margin: 0 auto; transition: all 0.22s var(--ease-spring); box-shadow: 0 4px 18px var(--gold-glow); min-height: 46px; }
*/

/* DELETED: .why-close:hover
   .why-close:hover { filter: brightness(1.08); transform: translateY(-2px); }
*/

/* DELETED: .why-close:active
   .why-close:active { transform: scale(0.97); }
*/

/* DELETED: .modal-close
   .modal-close { background: var(--parchment); border: none; padding: 0.65rem 1.5rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; cursor: pointer; color: var(--ink); display: block; margin: 0 auto; transition: all 0.2s; min-height: 42px; }
*/

/* DELETED: .modal-close:hover
   .modal-close:hover  { background: #EEE0C0; transform: translateY(-1px); }
*/

/* DELETED: .modal-close:active
   .modal-close:active { transform: scale(0.97); }
*/

/* DELETED: @media inner: .breath-ring-wrap
   .breath-ring-wrap { width: 190px; height: 190px; }
*/

/* DELETED: @media inner: .breath-inner
   .breath-inner { width: 128px; height: 128px; }
*/

/* DELETED: @media inner: .breath-ring-wrap
   .breath-ring-wrap { width: 160px; height: 160px; }
*/

/* DELETED: @media inner: .breath-inner
   .breath-inner { width: 108px; height: 108px; }
*/

/* DELETED: @media inner: .timer-number
   .timer-number { font-size: 4.2rem; }
*/

/* DELETED: .welcome-handle
   .welcome-handle {
     width: 36px; height: 4px; border-radius: 2px;
     background: var(--brown-soft); opacity: 0.28;
     margin: 0 auto 1.6rem;
   }
*/

/* DELETED: .lang-toggle-modal
   .lang-toggle-modal {
     display: flex; align-items: center;
     background: var(--parchment);
     border: 1px solid rgba(201,168,76,0.25);
     border-radius: 100px;
     padding: 3px; gap: 2px;
     margin: 0 auto 1.4rem;
     width: fit-content;
   }
*/

/* DELETED: .acc-avatar-wrap
   .acc-avatar-wrap { display: flex; justify-content: center; margin-bottom: 1.4rem; }
*/

/* DELETED: .acc-section
   .acc-section { margin-bottom: 1.4rem; }
*/

/* DELETED: .acc-label
   .acc-label {
     font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
     color: var(--mist); margin-bottom: 0.3rem;
   }
*/

/* DELETED: .acc-input
   .acc-input {
     width: 100%; border: 1.5px solid rgba(201,168,76,0.2); border-radius: 12px;
     padding: 0.6rem 0.85rem; font-family: 'DM Sans', sans-serif; font-size: 1rem;
     color: var(--ink); background: rgba(255,255,255,0.6); outline: none;
     transition: border-color 0.25s;
   }
*/

/* DELETED: .acc-input:focus
   .acc-input:focus { border-color: var(--gold); }
*/

/* DELETED: .acc-input::placeholder
   .acc-input::placeholder { color: var(--mist); font-style: italic; }
*/

/* DELETED: .acc-section-title
   .acc-section-title {
     font-family: 'Nunito', sans-serif; font-size: 0.68rem; font-weight: 700;
     letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark);
     margin-bottom: 0.6rem;
   }
*/

/* DELETED: .acc-setting-row
   .acc-setting-row {
     display: flex; justify-content: space-between; align-items: center;
     padding: 0.55rem 0; border-bottom: 1px solid rgba(201,168,76,0.1);
     font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--ink);
   }
*/

/* DELETED: .acc-setting-val
   .acc-setting-val { color: var(--mist); font-size: 0.78rem; flex-shrink: 0; margin-left: 0.75rem; }
*/

/* DELETED: .acc-setting-val.muted
   .acc-setting-val.muted { opacity: 0.5; font-style: italic; }
*/

/* DELETED: .acc-link
   .acc-link { cursor: pointer; transition: background 0.2s; border-radius: 8px; padding: 0.55rem 0.4rem; margin: 0 -0.4rem; }
*/

/* DELETED: .acc-link:hover
   .acc-link:hover { background: rgba(201,168,76,0.06); }
*/

/* DELETED: .acc-chevron
   .acc-chevron { color: var(--brown-soft); display: flex; align-items: center; }
*/

/* DELETED: .acc-app-info
   .acc-app-info {
     text-align: center; font-size: 0.7rem; color: var(--brown-soft);
     font-family: 'DM Sans', sans-serif; padding: 0.8rem 0 0.6rem;
     border-top: 1px solid rgba(201,168,76,0.1); margin-top: 0.5rem;
   }
*/

/* MODIFIED: .acc-card-btn, .acc-card-link
   OLD: .acc-card-btn, .acc-card-link {
     width: 100%; display: flex; align-items: center; gap: 0.75rem;
     background: none; border: none; cursor: pointer;
     padding: 0.85rem 0.95rem;
     text-align: left;
     font-family: 'DM Sans', sans-serif;
     color: var(--ink);
   }
   NEW: .acc-card-btn {
     width: 100%; display: flex; align-items: center; gap: 0.75rem;
     background: none; border: none; cursor: pointer;
     padding: 0.85rem 0.95rem;
     text-align: left;
     font-family: 'DM Sans', sans-serif;
     color: var(--ink);
   }
*/

/* DELETED: .acc-empty
   .acc-empty {
     text-align: center; color: var(--mist); font-style: italic;
     font-family: 'Cormorant Garamond', serif; font-size: 1rem;
     padding: 2rem 0;
   }
*/

/* DELETED: .acc-moment-header
   .acc-moment-header {
     display: flex; justify-content: space-between; align-items: center;
     margin-bottom: 0.35rem;
   }
*/

/* DELETED: .acc-moment-title-row
   .acc-moment-title-row { margin-bottom: 0.3rem; }
*/

/* DELETED: .acc-moment-title-input
   .acc-moment-title-input {
     width: 100%; border: none; border-bottom: 1px solid rgba(201,168,76,0.15);
     background: transparent; padding: 0.3rem 0; font-family: 'Cormorant Garamond', serif;
     font-size: 0.95rem; font-style: italic; color: var(--ink); outline: none;
     transition: border-color 0.25s;
   }
*/

/* DELETED: .acc-moment-title-input:focus
   .acc-moment-title-input:focus { border-color: var(--gold); }
*/

/* DELETED: .acc-moment-title-input::placeholder
   .acc-moment-title-input::placeholder { color: var(--brown-soft); }
*/

/* DELETED: .acc-moment-note
   .acc-moment-note {
     font-family: 'Cormorant Garamond', serif; font-size: 0.9rem;
     color: var(--mist); line-height: 1.55; margin-top: 0.55rem; margin-bottom: 0.1rem;
     font-style: italic;
   }
*/

/* DELETED: .acc-moment-footer
   .acc-moment-footer {
     display: flex; justify-content: space-between; align-items: center;
     margin-top: 0.3rem;
   }
*/

/* DELETED: .acc-moment-delete
   .acc-moment-delete {
     background: none; border: none; color: var(--mist); font-size: 0.7rem;
     cursor: pointer; padding: 0.2rem 0.5rem; border-radius: 6px;
     font-family: 'DM Sans', sans-serif; transition: all 0.2s;
   }
*/

/* DELETED: .acc-moment-delete:hover
   .acc-moment-delete:hover { color: #c0392b; background: rgba(192,57,43,0.08); }
*/

/* DELETED: .app-content
   .app-content { transition: opacity 0.2s ease; }
*/

/* DELETED: .app-content.fading
   .app-content.fading { opacity: 0; }
*/

/* DELETED: .auth-screen
   .auth-screen {
     position: fixed; inset: 0; z-index: 200;
     display: none; align-items: center; justify-content: center;
     padding: 2rem;
   }
*/

/* DELETED: .auth-screen.visible
   .auth-screen.visible {
     display: flex;
   }
*/

/* DELETED: .auth-card
   .auth-card {
     width: 100%; max-width: 340px; text-align: center;
   }
*/

/* DELETED: .auth-title
   .auth-title {
     font-family: 'Cormorant Garamond', serif;
     font-size: clamp(3.5rem, 12vw, 5rem);
     font-weight: 400; letter-spacing: -2px;
     color: var(--gold-dark); line-height: 0.86;
     margin-bottom: 0.3rem;
     text-shadow: 0 2px 0 rgba(160,120,40,0.12), 0 6px 60px rgba(201,168,76,0.22);
   }
*/

/* DELETED: .auth-modal-close
   .auth-modal-close {
     position: absolute; top: 1rem; right: 1rem;
     width: 30px; height: 30px; border-radius: 50%;
     background: rgba(201,168,76,0.1); border: none; cursor: pointer;
     display: flex; align-items: center; justify-content: center;
   }
*/

/* DELETED: .auth-modal-close svg
   .auth-modal-close svg {
     width: 14px; height: 14px; stroke: var(--gold-dark);
     fill: none; stroke-width: 2; stroke-linecap: round;
   }
*/

/* DELETED: .lang-segment
   .lang-segment {
     display: flex; align-items: center; gap: 0;
   }
*/

/* DELETED: .lang-seg-btn
   .lang-seg-btn {
     padding: 0.2rem 0.65rem;
     font-family: 'Nunito', sans-serif; font-size: 0.72rem; font-weight: 600;
     letter-spacing: 0.08em; cursor: pointer; border: none;
     background: transparent; color: var(--mist);
     transition: color 0.2s ease;
   }
*/

/* DELETED: .lang-seg-btn.active
   .lang-seg-btn.active {
     color: var(--gold-dark); font-weight: 700;
   }
*/

/* DELETED: .lang-seg-div
   .lang-seg-div {
     width: 1px; height: 12px;
     background: rgba(201,168,76,0.25);
   }
*/

/* DELETED: .acc-moment-close-exp
   .acc-moment-close-exp { display: none; }
*/

/* DELETED: .acc-plan-badge
   .acc-plan-badge {
     font-family: 'Nunito', sans-serif; font-size: 0.68rem; font-weight: 800;
     letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark);
     background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25);
     padding: 0.2rem 0.6rem; border-radius: 100px;
   }
*/

/* DELETED: .acc-save-row
   .acc-save-row { margin-top: 0.8rem; }
*/

/* DELETED: .acc-save-btn
   .acc-save-btn {
     width: 100%; padding: 0.65rem;
     background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
     color: #fff; border: none; border-radius: 12px;
     font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
     cursor: pointer; transition: opacity 0.2s, transform 0.15s;
   }
*/

/* DELETED: .acc-save-btn:hover
   .acc-save-btn:hover { opacity: 0.9; transform: translateY(-1px); }
*/

/* DELETED: .acc-delete-row
   .acc-delete-row { display: flex; justify-content: center; padding: 0.2rem 0 0.8rem; }
*/

/* DELETED: .acc-delete-btn
   .acc-delete-btn {
     background: none; border: none; cursor: pointer;
     font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
     color: var(--mist); opacity: 0.5; text-decoration: underline;
   }
*/

/* DELETED: .acc-delete-btn:hover
   .acc-delete-btn:hover { opacity: 1; color: #c0392b; }
*/

/* DELETED: .delete-confirm-overlay
   .delete-confirm-overlay {
     display: none; position: fixed; inset: 0; z-index: 600;
     background: rgba(43,35,25,0.5);
     backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
     align-items: center; justify-content: center; padding: 1.5rem;
   }
*/

/* DELETED: .delete-confirm-overlay.open
   .delete-confirm-overlay.open { display: flex; animation: fadeInOverlay 0.22s ease; }
*/

/* DELETED: .delete-confirm-box
   .delete-confirm-box {
     background: #FDFAF4; border-radius: 20px;
     border: 1px solid rgba(201,168,76,0.2);
     padding: 1.8rem 1.6rem 1.4rem;
     width: 100%; max-width: 340px;
     box-shadow: 0 12px 40px rgba(43,35,25,0.16);
     animation: scaleInModal 0.25s var(--ease-spring);
   }
*/

/* DELETED: .delete-confirm-title
   .delete-confirm-title {
     font-family: 'Cormorant Garamond', serif;
     font-size: 1.25rem; font-weight: 600; color: var(--ink);
     text-align: center; margin-bottom: 0.5rem;
   }
*/

/* DELETED: .delete-confirm-sub
   .delete-confirm-sub {
     font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
     color: var(--mist); text-align: center; line-height: 1.55;
     margin-bottom: 1.4rem;
   }
*/

/* DELETED: .delete-confirm-actions
   .delete-confirm-actions {
     display: flex; gap: 0.6rem;
   }
*/

/* DELETED: .delete-confirm-cancel
   .delete-confirm-cancel {
     flex: 1; padding: 0.65rem;
     background: rgba(201,168,76,0.08);
     border: 1px solid rgba(201,168,76,0.2);
     border-radius: 12px; cursor: pointer;
     font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
     color: var(--ink); transition: background 0.2s;
   }
*/

/* DELETED: .delete-confirm-cancel:hover
   .delete-confirm-cancel:hover { background: rgba(201,168,76,0.15); }
*/

/* DELETED: .delete-confirm-ok
   .delete-confirm-ok {
     flex: 1; padding: 0.65rem;
     background: #c0392b; border: none; border-radius: 12px; cursor: pointer;
     font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
     color: #fff; transition: opacity 0.2s;
   }
*/

/* DELETED: .delete-confirm-ok:hover
   .delete-confirm-ok:hover { opacity: 0.88; }
*/

/* DELETED: .delete-confirm-overlay
   .delete-confirm-overlay {
     display: none; position: fixed; inset: 0; z-index: 600;
     background: rgba(43,35,25,0.5);
     backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
     align-items: center; justify-content: center; padding: 1.5rem;
   }
*/

/* DELETED: .delete-confirm-overlay.open
   .delete-confirm-overlay.open {
     display: flex;
     animation: fadeInOverlay 0.22s ease;
   }
*/

/* DELETED: .delete-confirm-box
   .delete-confirm-box {
     background: #FDFAF4; border-radius: 20px;
     border: 1px solid rgba(201,168,76,0.2);
     padding: 1.8rem 1.6rem 1.4rem;
     width: 100%; max-width: 340px;
     box-shadow: 0 12px 40px rgba(43,35,25,0.16);
     animation: scaleInModal 0.25s var(--ease-spring);
   }
*/

/* DELETED: .delete-confirm-title
   .delete-confirm-title {
     font-family: 'Cormorant Garamond', serif;
     font-size: 1.3rem; font-weight: 600; color: var(--ink);
     text-align: center; margin-bottom: 0.5rem;
   }
*/

/* DELETED: .delete-confirm-sub
   .delete-confirm-sub {
     font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
     color: var(--mist); text-align: center; line-height: 1.55;
     margin-bottom: 1.4rem;
   }
*/

/* DELETED: .delete-confirm-actions
   .delete-confirm-actions {
     display: flex; gap: 0.6rem;
   }
*/

/* DELETED: .delete-confirm-cancel
   .delete-confirm-cancel {
     flex: 1; padding: 0.65rem;
     background: rgba(201,168,76,0.08);
     border: 1px solid rgba(201,168,76,0.2); border-radius: 12px;
     cursor: pointer;
     font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
     color: var(--ink); transition: background 0.2s;
   }
*/

/* DELETED: .delete-confirm-cancel:hover
   .delete-confirm-cancel:hover { background: rgba(201,168,76,0.15); }
*/

/* DELETED: .delete-confirm-ok
   .delete-confirm-ok {
     flex: 1; padding: 0.65rem;
     background: #c0392b; border: none; border-radius: 12px;
     cursor: pointer;
     font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
     color: #fff; transition: opacity 0.2s;
   }
*/

/* DELETED: .delete-confirm-ok:hover
   .delete-confirm-ok:hover { opacity: 0.88; }
*/

/* ═══ END OF REMOVED CODE BACKUP ═══ */
