/* FabWhispers 2.0 — emotional reset redesign */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
:root {
  --bg: #0d1a14;
  --bg-soft: #14251b;
  --surface: rgba(255,255,255,0.055);
  --surface-strong: rgba(255,255,255,0.09);
  --border: rgba(217,184,93,0.24);
  --gold: #d4af57;
  --gold-2: #f0d58a;
  --text: #f5eedc;
  --muted: #b9ad91;
  --shadow: 0 18px 70px rgba(0,0,0,0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.light-mode {
  --bg: #f7f0e5;
  --bg-soft: #efe3d0;
  --surface: rgba(56,40,20,0.055);
  --surface-strong: rgba(56,40,20,0.09);
  --border: rgba(136,94,30,0.23);
  --gold: #9b7022;
  --gold-2: #b88b35;
  --text: #1d160d;
  --muted: #6f5c3d;
  --shadow: 0 18px 70px rgba(78,55,24,0.16);
}
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% -10%, rgba(212,175,87,0.18), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(88,141,113,0.18), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
button, textarea, a { font: inherit; }
button { cursor: pointer; }
.screen { display: none; min-height: 100svh; }
.screen.active { display: flex; flex-direction: column; }
#screen-checkin { min-height: unset; }
.content-shell {
  width: min(100% - 24px, 760px);
  margin: 0 auto;
}
h2, h3 { font-family: var(--font-serif); font-weight: 500; }
.btn-primary, .btn-secondary, .text-link, .icon-btn {
  border: 0;
  border-radius: 999px;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  background: #6b8f71;
  color: #fff;
  padding: 14px 24px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(107,143,113,0.22);
}
.btn-primary:hover { background: #7da384; transform: translateY(-1px); }
.lang-btn {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.25);
  min-width: 34px;
  background: transparent;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.lang-btn:hover { opacity: 1; }
.light-mode .lang-btn { border-color: rgba(0,0,0,0.2); }

.btn-primary:active, .btn-secondary:active, .icon-btn:active { transform: scale(.98); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 13px 20px;
}
.btn-secondary:hover { background: var(--surface-strong); }
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 24px, 760px);
  margin: 14px auto 0;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border: 1px solid rgba(212,175,87,.38);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}
.topbar-brand,
.topbar-actions,
.reset-header-right { display: flex; align-items: center; gap: 8px; }
.topbar-brand { min-width: 0; flex: 1; text-decoration: none; }
.brand-mini { color: var(--gold); font-family: var(--font-serif); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(212,175,87,.45); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.header-logo { height: 32px; width: auto; object-fit: contain; }
.icon-btn { width: 42px; height: 42px; background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.topbar .icon-btn { border-color: rgba(212,175,87,.35); background: rgba(255,255,255,.03); }
.topbar .lang-btn { border-color: rgba(212,175,87,.35); }
.content-shell { padding: 20px 0 24px; }
#date-label,
.daily-message { display: none; }
#checkin-title { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; text-align: center; margin-bottom: 10px; }
.heart-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 10px 0 10px;
  color: var(--gold);
}
.heart-divider::before,
.heart-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 70px;
  background: linear-gradient(90deg, transparent, rgba(212,175,87,.75), transparent);
}
.heart-divider span { font-size: 1.1rem; line-height: 1; }
.checkin-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 auto 20px;
  max-width: 430px;
}
.checkin-tagline {
  text-align: center;
  color: var(--text);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,87,.36);
  background: rgba(20,37,27,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  width: fit-content;
  max-width: 100%;
}
/* Staggered card fade-in */
.card-fade {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.card-fade.card-visible { opacity: 1; transform: translateY(0); }
.card-fade-1.card-visible { transition-delay: 0.1s; }
.card-fade-2.card-visible { transition-delay: 0.5s; }
.card-fade-3.card-visible { transition-delay: 0.9s; }

.daily-message {
  text-align: center;
  color: var(--text);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  margin: 0 0 28px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.daily-message.fade-in { opacity: 1; transform: translateY(0); }

.reset-shell { max-width: 560px; }
.reset-card {
  position: relative; overflow: hidden; min-height: 280px;
  border-radius: 24px; box-shadow: var(--shadow); border: 1px solid rgba(212,175,87,.35);
  background: #14251b;
}
#reset-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.0) saturate(1.1); }
.reset-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(5,14,8,.86) 0%, rgba(5,14,8,.72) 42%, rgba(5,14,8,.36) 64%, rgba(5,14,8,.14) 100%),
    linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.0) 38%, rgba(0,0,0,.30) 100%);
}
.reset-content {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  padding: 24px 22px 24px;
  color: white;
  max-width: 70%;
}
.reset-badge {
  align-self: flex-start;
  color: var(--gold-2);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0;
  border: none;
  border-radius: 0;
}
.whisper-badge-divider {
  width: 78px;
  height: 1px;
  background: rgba(212,175,87,.42);
  margin-bottom: 16px;
}
.whisper-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6.5vw, 2.9rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: #f2e8d5;
  max-width: 100%;
}
.whisper-italic {
  font-family: var(--font-script);
  color: var(--gold-2);
  font-size: clamp(1.55rem, 5.2vw, 2.1rem);
  line-height: 1.28;
  margin-bottom: 12px;
}
.whisper-deco-line {
  width: 96px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  margin-bottom: 4px;
}
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; max-width: 420px; margin-left: auto; margin-right: auto; }
.action-row button {
  width: 100%;
  min-height: 48px;
  padding: 14px 10px;
  border-radius: 999px;
  font-size: clamp(0.62rem, 2.1vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.action-row .btn-secondary {
  background: rgba(8,14,11,.62);
  color: var(--gold-2);
  border: 1.5px solid rgba(212,175,87,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.action-row .btn-secondary:hover {
  background: rgba(212,175,87,.08);
  border-color: rgba(212,175,87,.92);
  color: #fff2c6;
}
.text-link { display: block; margin: 18px auto 0; background: transparent; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; padding: 8px 10px; font-size: .9rem; }

.install-btn {
  display: block;
  margin: 20px auto 0;
  background: transparent;
  border: 1px dotted rgba(240,213,138,.45);
  color: rgba(240,213,138,.7);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity .2s;
}
.install-btn:hover { opacity: 1; color: var(--gold); border-color: var(--gold); }

.ios-install-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.85);
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 28px;
}
.ios-install-modal.show { display: flex; }
.ios-install-inner {
  background: linear-gradient(160deg, #17281f, #0e1c16);
  border: 1px solid rgba(212,175,87,.35);
  border-radius: 24px;
  padding: 28px 22px 22px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.install-modal-header {
  text-align: center;
  margin-bottom: 22px;
}
.install-modal-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 4px;
}
.install-modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 6px;
}
.install-modal-sub {
  font-size: 0.82rem;
  color: rgba(240,213,138,.6);
  margin: 0;
  line-height: 1.5;
}
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.install-platform-block { padding: 4px 0 8px; }
.install-platform-label {
  font-size: 0.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240,213,138,.5);
  margin: 0 0 10px;
  font-weight: 700;
}
.install-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.45;
}
.install-step strong { color: var(--gold); }
.install-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212,175,87,.15);
  border: 1px solid rgba(212,175,87,.3);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.install-divider {
  height: 1px;
  background: rgba(212,175,87,.15);
  margin: 8px 0 14px;
}
.install-got-it {
  width: 100%;
  margin-top: 18px;
}

.save-modal { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.86); padding: 18px; align-items: center; justify-content: center; }
.save-modal.show { display: flex; }
.save-modal-inner { width: min(100%, 430px); text-align: center; }
.save-modal img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); }
.save-modal p { color: rgba(255,255,255,.78); margin: 14px 0; }
.modal-actions { display: flex; gap: 10px; justify-content: center; }
.modal-actions a { text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(20px); opacity: 0; transition: .2s; z-index: 1200; background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); font-size: .9rem; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 430px) {
  .reset-card { min-height: 250px; }
  .reset-content { min-height: 250px; max-width: 70%; padding: 18px 14px 18px; }
  .whisper-text { font-size: clamp(1.72rem, 7.5vw, 2.1rem); }
  .whisper-italic { font-size: clamp(1.25rem, 5.5vw, 1.55rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 32px 20px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; text-decoration: none; }
.footer-logo { height: 28px; width: auto; object-fit: contain; }
.footer-name { color: var(--gold); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
.footer-tagline { color: var(--text); font-family: var(--font-serif); font-style: italic; font-size: 1rem; margin: 0 0 10px; }
.footer-credit { color: var(--muted); font-size: .85rem; margin: 0 0 2px; }
.footer-role { color: var(--muted); font-size: .8rem; margin: 0 0 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: flex; justify-content: center; gap: 20px; }
.footer-links a { color: var(--muted); font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }


/* Premium FabWhispers category card redesign */
.content-shell {
  position: relative;
}

#screen-checkin .content-shell::before,
#screen-checkin .content-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: .42;
  filter: blur(.2px);
}

#screen-checkin .content-shell::before {
  width: 360px;
  height: 360px;
  top: 92px;
  right: -170px;
  background:
    radial-gradient(circle at 40% 50%, rgba(212,175,87,.16), transparent 4px),
    radial-gradient(circle at 67% 35%, rgba(245,238,220,.22), transparent 3px),
    radial-gradient(circle at 78% 70%, rgba(212,175,87,.18), transparent 3px);
}

#screen-checkin .content-shell::after {
  width: 280px;
  height: 280px;
  top: 160px;
  left: -150px;
  background:
    radial-gradient(circle at 50% 30%, rgba(245,238,220,.2), transparent 3px),
    radial-gradient(circle at 35% 58%, rgba(212,175,87,.2), transparent 3px),
    radial-gradient(circle at 71% 76%, rgba(212,175,87,.18), transparent 2px);
}

#checkin-title {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  text-shadow: 0 10px 40px rgba(0,0,0,.36);
}

.feeling-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.feeling-btn {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  padding: 34px 18px 24px;
  text-align: center;
  border: 1px solid rgba(212,175,87,.52);
  background: #0b1712;
  color: #fff;
  box-shadow:
    0 22px 60px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.08);
  transform: translateZ(0);
}

.feeling-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
}

.feeling-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  grid-column: auto;
  margin: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.26) 52%, rgba(0,0,0,.04) 100%);
  color: transparent;
}

.feeling-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.42));
}

.feeling-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255,244,204,.18) 43%, transparent 62%);
  transform: translateX(-110%);
  transition: transform .65s ease, opacity .25s ease;
}

.feeling-btn:hover,
.feeling-btn:focus-visible {
  border-color: rgba(240,213,138,.85);
  box-shadow:
    0 26px 75px rgba(0,0,0,.48),
    0 0 0 1px rgba(240,213,138,.14),
    inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateY(-5px);
}

.feeling-btn:hover::before,
.feeling-btn:focus-visible::before {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1.06);
}

.feeling-btn:hover .feeling-glow,
.feeling-btn:focus-visible .feeling-glow {
  opacity: 1;
  transform: translateX(110%);
}

.feeling-emoji-wrap {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid rgba(240,213,138,.76);
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), transparent 38%),
    rgba(7,18,15,.58);
  box-shadow:
    0 12px 30px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.feeling-emoji {
  font-size: 2rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}

.feeling-title {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.65rem, 2.4vw, 1.52rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: #fff7e8;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0,0,0,.7);
  max-width: 100%;
  word-break: normal;
  hyphens: none;
}

.feeling-line {
  position: relative;
  z-index: 1;
  display: block;
  width: 46px;
  height: 1px;
  margin: 14px 0 16px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

.feeling-desc {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  color: rgba(255,255,255,.86);
  font-size: clamp(0.65rem, 2.2vw, .93rem);
  line-height: 1.4;
  text-shadow: 0 3px 14px rgba(0,0,0,.72);
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 760px) {
  .content-shell {
    width: min(100% - 40px, 780px);
  }
  .feeling-grid { gap: 16px; }

  .feeling-btn {
    min-height: 340px;
    border-radius: 28px;
    padding: 42px 18px 28px;
  }

  .feeling-title {
    font-size: 1.52rem;
  }

  .feeling-desc {
    font-size: .95rem;
  }
}

@media (max-width: 430px) {
  .feeling-grid { gap: 10px; }

  .feeling-btn {
    min-height: 220px;
    border-radius: 18px;
    padding: 18px 6px 14px;
  }

  .feeling-emoji-wrap {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .feeling-emoji {
    font-size: 1.25rem;
  }

  .feeling-title {
    font-size: 0.70rem;
    font-family: var(--font-serif);
    letter-spacing: -.02em;
  }

  .feeling-desc {
    font-size: .62rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .feeling-line {
    width: 28px;
    margin: 9px 0 9px;
  }

  .checkin-tagline {
    font-size: .82rem;
    padding: 10px 14px;
  }
}

/* === NEW PREMIUM DESIGN: Heading, Subtitle, Tagline === */

.title-script {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

#checkin-title {
  line-height: 1.1;
  margin-bottom: 8px;
}

:lang(es) #checkin-title {
  font-size: clamp(1.97rem, 7.5vw, 2.97rem);
  letter-spacing: -.02em;
}

/* === YOU ARE NOT ALONE badge === */

.alone-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
}
.alone-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === Section panels below reset card === */

.section-panels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.section-panel {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  min-height: 96px;
  border: 1px solid rgba(240,213,138,.22);
  border-radius: 24px;
  background-color: #0d1a10;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  box-shadow:
    0 18px 44px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(11,26,18,1)   0%,
    rgba(11,26,18,.97) 46%,
    rgba(11,26,18,.18) 68%,
    transparent        84%);
  z-index: 1;
}

.section-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  z-index: 4;
}

.section-panel-icon {
  position: relative;
  z-index: 3;
  width: 58px;
  height: 58px;
  margin-left: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  align-self: center;
}

.section-panel-icon svg {
  width: 28px;
  height: 28px;
}

.sp-breath {
  background: radial-gradient(circle at 35% 30%, rgba(68,156,112,.6), rgba(20,60,42,.9));
  border: 1px solid rgba(68,156,112,.38);
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}

.sp-step {
  background: radial-gradient(circle at 35% 30%, rgba(212,175,87,.5), rgba(90,60,8,.9));
  border: 1px solid rgba(212,175,87,.38);
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}

.sp-reminder {
  background: radial-gradient(circle at 35% 30%, rgba(148,90,185,.5), rgba(55,24,80,.9));
  border: 1px solid rgba(148,90,185,.38);
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}

.section-panel-text {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: 18px 10px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.section-panel-label {
  display: block;
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.section-panel:first-child .section-panel-label {
  color: rgba(180,225,180,.95);
}

.section-panel:nth-child(3) .section-panel-label {
  color: rgba(205,165,230,.95);
}

.section-panel p {
  color: rgba(255,255,255,.91);
  font-family: var(--font-serif);
  font-size: clamp(.9rem, 2.8vw, 1.05rem);
  line-height: 1.42;
  margin: 0;
  text-wrap: pretty;
}

.action-row {
  margin-top: 20px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.text-link.small { font-size: .8rem; margin-top: 12px; opacity: .75; }

.action-row + .text-link,
.action-row + .text-link + .text-link + .text-link {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px dotted rgba(240,213,138,.55);
  width: max-content;
}

@media (max-width: 430px) {
  .section-panels {
    gap: 10px;
    margin-top: 14px;
  }

  .section-panel {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 96px;
    border-radius: 18px;
  }

  .section-panel-icon {
    width: 46px;
    height: 46px;
    margin-left: 12px;
  }

  .section-panel-icon svg {
    width: 22px;
    height: 22px;
  }

  .section-panel-text {
    padding: 14px 12px 14px 14px;
    gap: 5px;
  }

  .section-panel-label {
    font-size: .58rem;
    letter-spacing: .14em;
  }

  .section-panel p {
    font-size: .84rem;
    line-height: 1.4;
  }

  .action-row {
    margin-top: 14px;
  }

  /* reset-topbar small screen adjustments */
  .reset-topbar { padding: 10px; }
  .reset-header-emoji-wrap { width: 36px; height: 36px; font-size: 0.95rem; }
  .reset-topbar-logo-link { width: 36px; height: 36px; }
  .reset-header-name { font-size: 0.9rem; }
  .reset-header-love { font-size: 0.6rem; }
}


/* === Reset screen header === */

.reset-topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: min(100% - 24px, 560px);
  margin: 14px auto 0;
  padding: 10px 4px;
  border: none;
  background: transparent;
}

.reset-header-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.reset-header-emoji-wrap {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.reset-header-feeling-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.reset-header-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.reset-topbar-logo-link {
  display: block;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  overflow: hidden;
  background: #0d1a14;
  cursor: pointer;
}
.reset-topbar-logo-link .header-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reset-header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 0;
  text-align: right;
}

.reset-date-mini {
  font-size: 0.78rem;
  color: rgba(240,213,138,.78);
  letter-spacing: .04em;
  white-space: nowrap;
}

.reset-header-love {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.68rem;
  color: rgba(240,213,138,.78);
  white-space: nowrap;
}

.reset-topbar #theme-toggle-reset { display: none; }

/* ============================================
   STATIC PAGES — about, privacy, contact
   ============================================ */

/* Shared header elements */
.static-back {
  text-decoration: none;
  display: inline-grid;
  place-items: center;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.static-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Shared page layout */
.simple-page,
.about-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 54px 24px 72px;
}
.simple-page h1,
.about-header h1 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 28px;
}
.simple-page h2 { color: var(--gold); font-size: 1.1rem; margin: 28px 0 8px; }
.simple-page p  { color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.simple-page ul { color: var(--text); line-height: 1.75; margin: 0 0 14px 22px; padding: 0; }
.simple-page li { margin-bottom: 6px; }

.static-page-kicker {
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 14px;
}

/* About page */
.about-header { text-align: center; margin-bottom: 40px; }
.about-header h1 { font-size: 2rem; margin-bottom: 6px; }
.about-header p { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.about-section { margin-bottom: 36px; }
.about-section h2 { color: var(--gold); font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; margin-bottom: 12px; }
.about-section p { color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.about-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; text-decoration: none; }
.about-back:hover { color: var(--gold); }
.book-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; margin-top: 12px; }
.book-card .book-info h3 { color: var(--gold); font-size: 1rem; margin-bottom: 4px; }
.book-card .book-info p { color: var(--muted); font-size: .88rem; margin: 0 0 12px; line-height: 1.5; }
.social-links { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.social-link { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: .92rem; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link span { color: var(--muted); font-size: .82rem; }

/* Contact page */
.contact-options { display: flex; flex-direction: column; gap: 12px; }
.contact-option { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; color: var(--text); text-decoration: none; font-size: .92rem; }
.contact-option:hover { border-color: var(--gold); color: var(--gold); }
.contact-option span { color: var(--muted); font-size: .82rem; }

/* Static pages responsive */
@media (max-width: 430px) {
  .simple-page, .about-page { padding: 42px 20px 64px; }
  .topbar .brand-mini { font-size: .96rem; }
  .static-actions { gap: 6px; }
  /* center logo — keep visible on small screens, same size as emoji-wrap */
  /* alone-badge — must be after base at line ~625 */
  .alone-badge { width: 78px; height: 78px; bottom: 12px; right: 12px; }
}


/* ============================================
   FEELING ICONS — SVG line icons + colored circles
   ============================================ */

.feeling-icon {
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* Colored tinted circles per feeling */
.feeling-overwhelmed .feeling-emoji-wrap {
  background: rgba(55, 75, 140, 0.55);
  border-color: rgba(100, 130, 210, 0.75);
}
.feeling-overwhelmed .feeling-icon { color: rgba(150, 180, 255, 0.9); }

.feeling-anxious .feeling-emoji-wrap {
  background: rgba(15, 90, 80, 0.55);
  border-color: rgba(40, 160, 145, 0.75);
}
.feeling-anxious .feeling-icon { color: rgba(80, 210, 195, 0.9); }

.feeling-heartbroken .feeling-emoji-wrap {
  background: rgba(130, 30, 70, 0.55);
  border-color: rgba(210, 75, 120, 0.75);
}
.feeling-heartbroken .feeling-icon { color: rgba(245, 110, 155, 0.9); }

.feeling-stuck .feeling-emoji-wrap {
  background: rgba(90, 60, 15, 0.55);
  border-color: rgba(180, 130, 50, 0.75);
}
.feeling-stuck .feeling-icon { color: rgba(220, 175, 80, 0.9); }

.feeling-doubting .feeling-emoji-wrap {
  background: rgba(90, 40, 110, 0.55);
  border-color: rgba(160, 90, 185, 0.75);
}
.feeling-doubting .feeling-icon { color: rgba(205, 140, 235, 0.9); }

.feeling-burnedout .feeling-emoji-wrap {
  background: rgba(55, 35, 15, 0.55);
  border-color: rgba(130, 90, 40, 0.75);
}
.feeling-burnedout .feeling-icon { color: rgba(185, 140, 75, 0.9); }

.feeling-hopeful .feeling-emoji-wrap {
  background: rgba(130, 90, 15, 0.55);
  border-color: rgba(205, 165, 50, 0.75);
}
.feeling-hopeful .feeling-icon { color: rgba(245, 205, 80, 0.9); }

.feeling-unsure .feeling-emoji-wrap {
  background: rgba(15, 55, 65, 0.55);
  border-color: rgba(40, 105, 115, 0.75);
}
.feeling-unsure .feeling-icon { color: rgba(80, 160, 175, 0.9); }

/* PWA standalone — hide install button when running from home screen */
@media (display-mode: standalone) {
  #install-btn { display: none !important; }
}

/* ── Update banner ───────────────────────────────────────── */
.update-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 24, 38, 0.97);
  border: 1px solid rgba(212,175,87,0.45);
  border-radius: 999px;
  padding: 10px 16px 10px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: banner-slide-up 0.35s cubic-bezier(.22,.68,0,1.2) both;
  white-space: nowrap;
}
.update-banner[hidden] { display: none !important; }
@keyframes banner-slide-up {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.update-banner-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(220,220,230,0.92);
  letter-spacing: 0.01em;
}
.update-banner-btn {
  font-size: 12px;
  font-weight: 700;
  color: rgba(18,24,38,0.95);
  background: rgba(212,175,87,0.95);
  border: none;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}
.update-banner-btn:active { background: rgba(240,213,138,1); }
