:root {
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --ink: #241f1a;
  --muted: #6f675d;
  --vine: #355c48;
  --vine-deep: #243f33;
  --gold: #a57a3c;
  --blush: #8a4e4a;
  --white: #fffcf7;
  --shadow: 0 24px 60px rgba(36, 31, 26, 0.18);
  --verse: 18px;
  --ans-bg: #efe8d8;
  --ans-ink: #3d3558;
}

[data-theme="dark"] {
  --paper: #1c211d;
  --paper-2: #2a322c;
  --ink: #f3eee4;
  --muted: #b7b0a4;
  --vine: #6ea887;
  --vine-deep: #c5e0cf;
  --gold: #d4ae6a;
  --blush: #d4a09c;
  --white: #252b27;
  --ans-bg: #2c2a40;
  --ans-ink: #ddd6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 10% -10%, #e8dcc3 0%, transparent 50%),
    linear-gradient(180deg, #d9cbb3, #c9b79a);
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
}

[data-theme="dark"] body {
  background: linear-gradient(180deg, #121614, #1b221e);
}

.stage {
  min-height: 100vh;
  display: flex;
  gap: 56px;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.brief {
  max-width: 340px;
}

.brief-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--vine-deep);
  margin: 0 0 12px;
}

.brief h1 {
  font-family: "Noto Serif TC", serif;
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.brief p,
.brief li {
  color: #3d352c;
  line-height: 1.7;
}

[data-theme="dark"] .brief p,
[data-theme="dark"] .brief li {
  color: #d9d1c4;
}

.brief ul {
  padding-left: 18px;
}

.device {
  width: 390px;
  height: 844px;
  background: var(--paper);
  border-radius: 42px;
  box-shadow: var(--shadow);
  border: 8px solid #1c1814;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.device-bar {
  height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 10px 18px 0;
  font-size: 13px;
  font-weight: 600;
}

.device-time {
  justify-self: start;
}

.device-brand {
  display: none;
  font-family: "Noto Serif TC", serif;
  font-size: 14px;
  color: var(--vine-deep);
}

.device-notch {
  width: 118px;
  height: 22px;
  background: #1c1814;
  border-radius: 0 0 16px 16px;
}

.device-tools {
  justify-self: end;
  display: flex;
  gap: 6px;
}

.icon-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  display: grid;
  place-items: center;
  padding: 0;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn .mute-slash,
.icon-btn .icon-moon,
[data-theme="dark"] .icon-btn .icon-sun {
  display: none;
}

.icon-btn.is-muted .mute-slash,
[data-theme="dark"] .icon-btn .icon-moon {
  display: block;
}

.app {
  flex: 1;
  overflow: auto;
  padding: 8px 20px 20px;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 8px 18px;
  background: var(--white);
  border-top: 1px solid rgba(36, 31, 26, 0.08);
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 11px/1.2 "Noto Sans TC", sans-serif;
  min-height: 48px;
  padding: 6px 0 4px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.tab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab.is-active {
  background: var(--paper-2);
  color: var(--vine-deep);
}

.tab-tree-icon {
  transform: scale(var(--tree-scale, 1));
  transform-origin: center bottom;
}

.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}

h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 26px;
  line-height: 1.25;
  margin: 6px 0 12px;
}

h3 {
  font-family: "Noto Serif TC", serif;
  margin: 0 0 8px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 16px 16px 14px;
  margin: 12px 0;
  box-shadow: 0 8px 24px rgba(36, 31, 26, 0.06);
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.verse {
  font-family: "Noto Serif TC", serif;
  font-size: var(--verse);
  line-height: 1.85;
  margin: 0 0 10px;
}

.gold-verse {
  background: linear-gradient(180deg, rgba(165, 122, 60, 0.12), rgba(165, 122, 60, 0.04));
  border-left: 4px solid var(--gold);
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font: 600 15px/1 "Noto Sans TC", sans-serif;
  background: var(--vine);
  color: #f7f4ee;
  margin-top: 8px;
}

.btn.secondary {
  background: transparent;
  color: var(--vine-deep);
  border: 1px solid rgba(53, 92, 72, 0.35);
}

.btn.ghost {
  background: var(--paper-2);
  color: var(--ink);
}

.btn.sm {
  width: auto;
  padding: 8px 12px;
  font-size: 13px;
  margin-top: 0;
}

.btn[disabled] {
  opacity: 0.38;
  pointer-events: none;
}

.row {
  display: flex;
  gap: 8px;
}

.row .btn {
  flex: 1;
}

.members,
.prayers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member,
.prayer {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
}

.avatar,
.tree-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e3d4bc;
  font-family: "Noto Serif TC", serif;
}

[data-theme="dark"] .avatar {
  background: #3b463f;
}

.tree-hero {
  width: 104px;
  height: 104px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(53, 92, 72, 0.12));
  border: 3px solid rgba(53, 92, 72, 0.25);
}

.tree-hero.pop {
  animation: pop 0.45s ease;
}

@keyframes pop {
  50% {
    transform: scale(1.08);
  }
}

.pill {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7efe8;
  color: var(--vine-deep);
}

.pill.wait {
  background: var(--paper-2);
  color: var(--muted);
}

.progress {
  height: 10px;
  background: var(--paper-2);
  border-radius: 99px;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  background: var(--vine);
  border-radius: 99px;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font: 600 12px/1 "Noto Sans TC", sans-serif;
  position: relative;
}

.cal-day.done {
  background: var(--vine);
  color: #f7f4ee;
}

.cal-day.current {
  outline: 2px solid var(--gold);
}

.cal-day.has-note::after,
.cal-day.has-hl::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.cal-day.has-hl::before {
  left: calc(50% + 5px);
  background: #e6c37a;
  box-shadow: 0 0 0 1px rgba(165, 122, 60, 0.35);
}

.cal-day.has-note.has-hl::after {
  left: calc(50% - 5px);
}

.notice {
  background: #f3e6d0;
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
}

[data-theme="dark"] .notice {
  background: #3a3224;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 6px;
}

textarea,
input[type="text"],
input[type="search"] {
  width: 100%;
  border: 1px solid rgba(36, 31, 26, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font: 15px/1.6 "Noto Sans TC", sans-serif;
  background: #fff;
  color: var(--ink);
}

[data-theme="dark"] textarea,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="search"] {
  background: #1a1f1c;
  border-color: #3d4740;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

.q-list {
  margin: 0;
  padding-left: 18px;
}

.q-list li {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
}

.ans {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--ans-bg);
  color: var(--ans-ink);
  border-radius: 10px;
  font-size: 13px;
}

.ans.show {
  display: block;
}

.wall,
.share-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wall-item {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.wall-item p,
.save-hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.copyright {
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
}

.toast {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 92px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  z-index: 20;
}

.modal {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 20, 0.55);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 30;
}

.modal[hidden],
.toast[hidden] {
  display: none;
}

.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  width: 100%;
  max-height: 92%;
  overflow: auto;
}

.modal-card canvas {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 0;
}

.theme-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid rgba(36, 31, 26, 0.12);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.ext {
  display: inline-block;
  margin: 6px 0 0;
  color: var(--vine);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.prayer-form {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 6px;
  margin-bottom: 10px;
}

.device.onboarding .tabbar,
.device.focus-mode .tabbar {
  display: none;
}

.device.focus-mode .toast,
.device.has-dock .toast {
  bottom: 92px;
}

.step-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 4px 0 12px;
}

.step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper-2);
}

.step-dot.is-on {
  background: var(--vine);
  transform: scale(1.2);
}

.step-dot.is-done {
  background: var(--gold);
}

.pause-card {
  text-align: center;
  padding: 36px 8px 12px;
}

.pause-card h2 {
  margin-top: 12px;
}

.still-scene,
.read-illu {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 10px;
  border-radius: 16px;
}

.pause-guide {
  margin: 14px 8px 0;
  font-family: "Noto Serif TC", serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--vine-deep);
}

.pause-breath {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 92, 72, 0.18), rgba(165, 122, 60, 0.08));
  animation: breath 3.6s ease-in-out infinite;
}

@keyframes breath {
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}

.bible-reader {
  padding: 4px 2px 88px;
}

.bible-kicker {
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.bible-verse {
  font-family: "Noto Serif TC", serif;
  font-size: var(--verse);
  line-height: 1.95;
  margin: 0 0 10px;
  padding: 6px 8px;
  border-radius: 10px;
  cursor: pointer;
}

.bible-verse.is-poem {
  line-height: 2.1;
  padding-left: 14px;
}

.bible-verse.is-on {
  outline: 2px solid var(--gold);
}

.bible-verse.hl-gold {
  background: rgba(212, 174, 106, 0.38);
}

.bible-verse.hl-vine {
  background: rgba(110, 168, 135, 0.32);
}

.bible-verse.hl-rose {
  background: rgba(212, 160, 156, 0.38);
}

.verse-num {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 11px;
  color: var(--gold);
  margin-right: 6px;
  vertical-align: super;
}

.verse-toolbar {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(36, 31, 26, 0.08);
}

.hl-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(36, 31, 26, 0.12);
  padding: 0;
}

.hl-dot.gold {
  background: #e6c37a;
}

.hl-dot.vine {
  background: #7fb59a;
}

.hl-dot.rose {
  background: #d9a29d;
}

.celebrate {
  text-align: center;
  padding: 28px 8px 12px;
}

.celebrate h2 {
  margin-top: 12px;
}

.talk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.talk-item {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 10px 12px;
}

.talk-item p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.talk-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

@media (max-width: 880px) {
  html,
  body {
    background: var(--paper);
  }

  .brief {
    display: none;
  }

  .stage {
    padding: 0;
    min-height: 100dvh;
  }

  .device {
    width: 100%;
    height: 100dvh;
    height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .device-time,
  .device-notch {
    display: none;
  }

  .device-brand {
    display: block;
    justify-self: start;
  }

  .device-bar {
    height: calc(44px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    align-items: center;
    grid-template-columns: 1fr auto;
  }

  .device-tools {
    justify-self: end;
  }

  .tabbar {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .app {
    padding-bottom: 24px;
  }
}

@media (display-mode: standalone) {
  .brief {
    display: none;
  }

  .stage {
    padding: 0;
  }

  .device {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .device-time,
  .device-notch {
    display: none;
  }

  .device-brand {
    display: block;
    justify-self: start;
  }
}

.cover {
  position: relative;
  padding: 28px 8px 8px;
  min-height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
}

.cover-stamp {
  position: absolute;
  top: 4px;
  right: 0;
  width: 72px;
  height: 72px;
  transform: scale(0.72);
  transform-origin: top right;
  opacity: 0.92;
}

.cover h2 {
  font-size: 30px;
  margin: 10px 0 16px;
}

.cover .verse {
  font-size: calc(var(--verse) + 2px);
  line-height: 1.9;
  margin: 0 0 20px;
}

.cover .btn {
  margin-top: auto;
}

.cover-meta {
  margin-top: 16px;
}

.read-bar {
  height: 3px;
  background: transparent;
}

.read-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.12s linear;
}

.step-pane {
  animation: step-fwd 0.22s ease;
}

.step-pane.is-back {
  animation-name: step-back;
}

@keyframes step-fwd {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes step-back {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pause-ritual {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto;
}

.pause-ritual svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pause-track,
.pause-arc {
  fill: none;
  stroke-width: 4;
  cx: 50;
  cy: 50;
  r: 42;
}

.pause-track {
  stroke: rgba(53, 92, 72, 0.16);
}

.pause-arc {
  stroke: var(--vine);
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: pause-ring 30s linear forwards;
  animation-delay: calc(-1 * var(--pause-elapsed, 0ms));
}

.pause-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  color: var(--vine-deep);
}

@keyframes pause-ring {
  to {
    stroke-dashoffset: 0;
  }
}

.bible-reader {
  padding: 4px 2px 12px;
}

.bible-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 4px 14px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.bible-ornament::before,
.bible-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(165, 122, 60, 0.35);
}

.bible-verse {
  font-family: "Noto Serif TC", serif;
  font-size: var(--verse);
  line-height: 1.95;
  margin: 0 0 6px;
  padding: 2px 2px;
  border-radius: 6px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: 0 100%;
}

.bible-verse.is-lead {
  font-size: calc(var(--verse) + 3px);
  line-height: 1.85;
  margin-bottom: 14px;
}

.bible-verse.is-gene {
  margin-bottom: 2px;
  line-height: 1.62;
  font-size: calc(var(--verse) - 1px);
}

.bible-verse.is-poem {
  line-height: 2.1;
  padding-left: 10px;
}

.bible-verse.is-on {
  outline: 1px solid rgba(165, 122, 60, 0.45);
  background-color: rgba(165, 122, 60, 0.08);
}

.bible-verse.hl-gold,
.bible-verse.hl-vine,
.bible-verse.hl-rose {
  background-size: 100% 100%;
}

.bible-verse.hl-gold {
  background-image: linear-gradient(90deg, rgba(212, 174, 106, 0.42), rgba(212, 174, 106, 0.42));
}

.bible-verse.hl-vine {
  background-image: linear-gradient(90deg, rgba(110, 168, 135, 0.34), rgba(110, 168, 135, 0.34));
}

.bible-verse.hl-rose {
  background-image: linear-gradient(90deg, rgba(212, 160, 156, 0.4), rgba(212, 160, 156, 0.4));
}

.bible-verse.is-paint {
  animation: paint-on 0.38s ease forwards;
}

@keyframes paint-on {
  from {
    background-size: 0 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

.journey-dock {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 6px;
  align-items: center;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid rgba(36, 31, 26, 0.08);
  z-index: 15;
}

.journey-dock[hidden] {
  display: none;
}

.device.has-dock .app {
  padding-bottom: 12px;
}

.dock-side {
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  padding: 8px 4px;
  background: var(--paper-2);
  color: var(--ink);
  font: 600 12px/1.2 "Noto Sans TC", sans-serif;
}

.dock-next {
  background: var(--vine);
  color: #f7f4ee;
}

.dock-side[disabled] {
  opacity: 0.38;
}

.dock-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.dock-mid .step-dots {
  margin: 0;
}

.leaf-layer {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 12;
}

.leaf-layer[hidden] {
  display: none;
}

.leaf {
  position: absolute;
  top: -16px;
  width: 12px;
  height: 18px;
  background: #6ea887;
  border-radius: 0 70% 0 70%;
  opacity: 0.75;
  animation: leaf-fall 3.6s ease-in forwards;
}

.leaf:nth-child(odd) {
  background: #d4ae6a;
  border-radius: 70% 0 70% 0;
}

@keyframes leaf-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(var(--drift, 24px), 110vh, 0) rotate(140deg);
    opacity: 0;
  }
}

.empty-state {
  text-align: center;
  padding: 18px 10px 8px;
}

.empty-vine {
  width: 88px;
  height: 52px;
  margin: 0 auto 8px;
  display: block;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.chip.is-on {
  outline: 2px solid var(--gold);
}

[data-line="tight"] {
  --verse-lh: 1.65;
}

[data-line="normal"] {
  --verse-lh: 1.95;
}

[data-line="loose"] {
  --verse-lh: 2.28;
}

.hide-nums .verse-num {
  display: none;
}

.device.read-sepia {
  --paper: #f3e6c4;
  --paper-2: #ead6aa;
  --ink: #4a3420;
  --white: #f8edd4;
  --muted: #7a6146;
}

.device.read-ink {
  --paper: #141210;
  --paper-2: #221e1a;
  --ink: #e8e0d2;
  --white: #1c1916;
  --muted: #b7aa98;
  --vine: #8fbfa4;
  --vine-deep: #d7eadc;
  --gold: #e0b86a;
}

.bible-verse {
  line-height: var(--verse-lh, 1.95);
}

.welcome-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 4px 0 16px;
}

.welcome-steps li {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  padding: 8px 4px;
  border-radius: 10px;
  background: var(--paper-2);
  line-height: 1.35;
}

.welcome-steps li.is-done {
  background: #e7efe8;
  color: var(--vine-deep);
}

.welcome-steps li.is-on {
  outline: 2px solid var(--gold);
}

.nudge {
  background: rgba(165, 122, 60, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--vine-deep);
  margin: 0 0 12px;
}

.flip-scene {
  perspective: 1000px;
  margin: 8px 0 12px;
}

.flip-card {
  position: relative;
  min-height: 236px;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
}

.flip-card.is-flipped {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(36, 31, 26, 0.06);
}

.flip-front {
  background: linear-gradient(180deg, rgba(165, 122, 60, 0.16), rgba(255, 252, 247, 0.9));
}

.flip-back {
  background: var(--white);
  transform: rotateY(180deg);
}

.flip-face .verse {
  margin-bottom: 8px;
}

.flip-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.memorized-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 4px;
}

.prayers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prayer-card {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 12px;
}

.prayer-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.prayer-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.prayer-card .thanks {
  margin-top: 8px;
  color: var(--vine-deep);
  font-size: 13px;
}

.prayer-card.is-answered {
  outline: 1px solid rgba(53, 92, 72, 0.28);
}

.prayer-card .row {
  margin-top: 10px;
}

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journal-row {
  width: 100%;
  border: 0;
  text-align: left;
  background: var(--paper-2);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--ink);
}

.journal-row strong {
  display: block;
  font-size: 14px;
}

.journal-row p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.journal-hl {
  margin: 8px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: 14px;
  line-height: 1.7;
}

.settings-card .meta {
  margin: 14px 0 6px;
}

.settings-card .row {
  margin-bottom: 4px;
}

.listen-btn.is-on {
  outline: 2px solid var(--gold);
}
