:root {
  color-scheme: light;
  --navy-950: #071a34;
  --navy-900: #0b2a55;
  --navy-800: #174375;
  --ink: #16233a;
  --muted: #5f6878;
  --paper: #f4f8fc;
  --white: #ffffff;
  --gold: #5b9be8;
  --gold-soft: #cfe5ff;
  --blue: #2e78d2;
  --line: #d5e0eb;
  --accent-rgb: 91, 155, 232;
  --hero-gradient-start: rgba(16, 62, 112, 0.98);
  --hero-gradient-end: #071a34;
  --header-muted: #b9cce0;
  --header-link: #deebf7;
  --hero-copy: #d2e2f1;
  --hero-hint: #a9c0d7;
  --topic-label: #c4d5e6;
  --topic-text: #e8f1fa;
  --eyebrow-dark: #2d6cae;
  --section-line: #cbd8e4;
  --issue-number: #377ab9;
  --reflection-label: #2d6cae;
  --reflection-copy: #526273;
  --card-line: #d7e1ea;
  --card-text: #1d3046;
  --reference: #28659e;
  --about-bg: #dcebf8;
  --about-copy: #455d70;
  --about-accent: #24588f;
  --footer-muted: #adc3d8;
  --input-muted: #718195;
  --button-hover: #79b1f3;
  --glow-one: rgba(102, 178, 255, 0.24);
  --glow-two: rgba(190, 222, 255, 0.14);
  --panel-shadow: rgba(4, 25, 48, 0.28);
  --shadow: 0 18px 48px rgba(8, 24, 48, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="pink-gold"] {
  --navy-950: #42152f;
  --navy-900: #662044;
  --navy-800: #83305a;
  --ink: #35202b;
  --muted: #715b67;
  --paper: #fff8fb;
  --gold: #d5a43d;
  --gold-soft: #f7dda1;
  --blue: #b63f77;
  --line: #ecd8e1;
  --accent-rgb: 213, 164, 61;
  --hero-gradient-start: rgba(117, 33, 73, 0.98);
  --hero-gradient-end: #42152f;
  --header-muted: #edc8d9;
  --header-link: #faeaf1;
  --hero-copy: #f4dbe6;
  --hero-hint: #dab5c6;
  --topic-label: #e9c6d6;
  --topic-text: #fff3f7;
  --eyebrow-dark: #956c17;
  --section-line: #e6cfd9;
  --issue-number: #ad7c18;
  --reflection-label: #956c17;
  --reflection-copy: #67515c;
  --card-line: #ead6df;
  --card-text: #3c2631;
  --reference: #946b16;
  --about-bg: #f5e4eb;
  --about-copy: #654f5a;
  --about-accent: #805d16;
  --footer-muted: #ddb9ca;
  --input-muted: #856e79;
  --button-hover: #e1b653;
  --glow-one: rgba(234, 119, 169, 0.2);
  --glow-two: rgba(229, 184, 91, 0.16);
  --panel-shadow: rgba(66, 21, 47, 0.3);
}

[data-theme="pink-black"] {
  --navy-950: #111014;
  --navy-900: #27141d;
  --navy-800: #4a1a30;
  --ink: #251820;
  --muted: #705c67;
  --paper: #fff6fa;
  --gold: #ef5a9b;
  --gold-soft: #ffc8df;
  --blue: #d92e78;
  --line: #ecd5df;
  --accent-rgb: 239, 90, 155;
  --hero-gradient-start: rgba(61, 20, 39, 0.98);
  --hero-gradient-end: #111014;
  --header-muted: #d9bdca;
  --header-link: #f7e9f0;
  --hero-copy: #ecd4df;
  --hero-hint: #cba9b9;
  --topic-label: #dcbecd;
  --topic-text: #fff0f7;
  --eyebrow-dark: #b42764;
  --section-line: #e3cbd5;
  --issue-number: #cb3475;
  --reflection-label: #b42764;
  --reflection-copy: #69535e;
  --card-line: #ead3dd;
  --card-text: #321f28;
  --reference: #a7215a;
  --about-bg: #f7dce8;
  --about-copy: #634c57;
  --about-accent: #9f1f56;
  --footer-muted: #cfadbd;
  --input-muted: #826c77;
  --button-hover: #f477ad;
  --glow-one: rgba(239, 90, 155, 0.22);
  --glow-two: rgba(255, 190, 218, 0.12);
  --panel-shadow: rgba(17, 16, 20, 0.34);
}

[data-theme="purple-white-black"] {
  --navy-950: #17131d;
  --navy-900: #352047;
  --navy-800: #52306d;
  --ink: #251d2d;
  --muted: #665d6d;
  --paper: #fbf9fd;
  --gold: #9a62d7;
  --gold-soft: #e0cdf5;
  --blue: #7e42bd;
  --line: #dfd8e7;
  --accent-rgb: 154, 98, 215;
  --hero-gradient-start: rgba(64, 36, 85, 0.98);
  --hero-gradient-end: #17131d;
  --header-muted: #cec3d8;
  --header-link: #f0eaf5;
  --hero-copy: #ded5e6;
  --hero-hint: #b9a9c6;
  --topic-label: #cec1d8;
  --topic-text: #f7f1fb;
  --eyebrow-dark: #7440aa;
  --section-line: #d8d0df;
  --issue-number: #8650bd;
  --reflection-label: #7440aa;
  --reflection-copy: #5d5364;
  --card-line: #ded6e5;
  --card-text: #2e2436;
  --reference: #6f399f;
  --about-bg: #ece3f4;
  --about-copy: #564b5f;
  --about-accent: #693493;
  --footer-muted: #bfb2c9;
  --input-muted: #7a7081;
  --button-hover: #ad7ce1;
  --glow-one: rgba(154, 98, 215, 0.23);
  --glow-two: rgba(220, 196, 244, 0.13);
  --panel-shadow: rgba(23, 19, 29, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--navy-950);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 1rem clamp(1.25rem, 5vw, 5.5rem);
  background: var(--navy-950);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(229, 184, 91, 0.75);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  line-height: 1.18;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.brand-copy small {
  margin-top: 0.2rem;
  color: var(--header-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-link {
  color: var(--header-link);
  font-size: 0.9rem;
  text-underline-offset: 0.3rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.75rem);
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.account-trigger:hover {
  border-color: rgba(var(--accent-rgb), 0.76);
  background: rgba(var(--accent-rgb), 0.13);
  transform: translateY(-1px);
}

.account-avatar {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.account-trigger-copy {
  display: grid;
  line-height: 1.15;
}

.account-trigger-copy strong {
  max-width: 9rem;
  overflow: hidden;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-trigger-copy small {
  margin-top: 0.2rem;
  color: var(--header-muted);
  font-size: 0.75rem;
}

.search-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7.25rem) clamp(1.25rem, 5vw, 5.5rem) clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(120deg, var(--hero-gradient-start), var(--hero-gradient-end) 64%),
    var(--navy-950);
  color: var(--white);
}

.search-stage::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(var(--accent-rgb), 0.035),
    0 0 0 10rem rgba(var(--accent-rgb), 0.025);
  content: "";
}

.glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.glow-one {
  top: 12%;
  left: -7rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, var(--glow-one), transparent 70%);
}

.glow-two {
  top: 1rem;
  right: 18%;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, var(--glow-two), transparent 68%);
}

.search-intro,
.search-form,
.quick-topics {
  width: min(100%, 67rem);
  margin-inline: auto;
}

.search-intro {
  max-width: 50rem;
  margin-left: max(0px, calc((100% - min(100%, 67rem)) / 2));
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--eyebrow-dark);
}

.personal-greeting {
  margin: 0 0 0.55rem;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 7vw, 5.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro-copy {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  color: var(--hero-copy);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.search-form {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.search-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 4.8rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.search-icon {
  width: 1.45rem;
  margin-left: 1rem;
  fill: none;
  stroke: #697386;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-control input {
  min-width: 0;
  height: 3.75rem;
  padding: 0 1rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.06rem;
}

.search-control input::placeholder {
  color: var(--input-muted);
  opacity: 1;
}

.search-control:focus-within {
  outline: 3px solid rgba(var(--accent-rgb), 0.42);
  outline-offset: 3px;
}

.search-button,
.clear-button,
.topic-button,
.empty-state button {
  cursor: pointer;
}

.search-button {
  min-height: 3.75rem;
  padding: 0 1.45rem;
  border: 0;
  border-radius: 0.72rem;
  background: var(--gold);
  color: #172033;
  font-weight: 760;
}

.search-button:hover {
  background: var(--button-hover);
}

.clear-button {
  padding: 0.7rem;
  border: 0;
  background: transparent;
  color: #586273;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.search-hint {
  margin: 0.8rem 0 0 0.2rem;
  color: var(--hero-hint);
  font-size: 0.84rem;
}

kbd {
  padding: 0.05rem 0.38rem;
  border: 1px solid #61738d;
  border-bottom-width: 2px;
  border-radius: 0.25rem;
  color: #d8e1ed;
  font-family: inherit;
  font-size: 0.78rem;
}

.quick-topics {
  margin-top: 2.1rem;
}

.quick-topics > p {
  margin: 0 0 0.75rem;
  color: var(--topic-label);
  font-size: 0.84rem;
  font-weight: 650;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.topic-button {
  padding: 0.62rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--topic-text);
  font-size: 0.88rem;
  transition: 150ms ease;
}

.topic-button:hover,
.topic-button[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--gold-soft);
}

.results-section {
  width: min(100%, 78rem);
  margin-inline: auto;
  padding: clamp(3.25rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--section-line);
}

.results-heading h2,
.about-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.result-count {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.faith-response {
  position: relative;
  overflow: hidden;
  margin-top: 1.75rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--card-line);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 28rem),
    var(--white);
  box-shadow: var(--shadow);
}

.faith-response-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  color: var(--reflection-label);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-badge::before {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(var(--accent-rgb), 0.12);
  content: "";
}

.faith-response-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.guide-read {
  max-width: 48rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.privacy-note {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.prayer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border-radius: 1.1rem;
  background:
    linear-gradient(130deg, var(--hero-gradient-start), var(--hero-gradient-end) 68%),
    var(--navy-950);
  color: var(--white);
}

.prayer-card::after {
  position: absolute;
  z-index: -1;
  right: -6rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(var(--accent-rgb), 0.05), 0 0 0 6rem rgba(var(--accent-rgb), 0.035);
  content: "";
}

.prayer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.prayer-type,
.prayer-version {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.prayer-type {
  color: var(--gold-soft);
}

.prayer-version {
  color: var(--header-muted);
}

.generated-prayer {
  max-width: 63rem;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.55;
}

.prayer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.prayer-action {
  min-height: 2.8rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 740;
}

.prayer-action:hover {
  border-color: var(--gold);
  background: rgba(var(--accent-rgb), 0.16);
}

.prayer-action.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-950);
}

.prayer-action.primary:hover {
  background: var(--button-hover);
}

.copy-status {
  min-height: 1.3rem;
  color: var(--header-muted);
  font-size: 0.8rem;
}

.lens-intro {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.lens-intro h4 {
  max-width: 46rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.lens-card {
  min-height: 10.5rem;
  padding: 1.15rem;
  border: 1px solid var(--card-line);
  border-top: 3px solid var(--gold);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--paper) 66%, var(--white));
}

.wisdom-lens {
  border-top-color: var(--blue);
}

.healing-lens {
  border-top-color: var(--navy-800);
}

.lens-label,
.step-label {
  margin: 0 0 0.45rem;
  color: var(--reflection-label);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lens-copy,
.step-copy {
  margin: 0;
  color: var(--card-text);
}

.grounded-step {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1rem;
  align-items: center;
  margin-top: 0.8rem;
  padding: 1.15rem;
  border: 1px solid var(--card-line);
  border-radius: 0.8rem;
  background: var(--about-bg);
}

.daily-reminder {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--about-accent);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
}

.guide-scope {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.issue-block {
  padding: clamp(2.35rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--section-line);
}

.issue-block:last-child {
  border-bottom: 0;
}

.issue-summary {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(18rem, 0.58fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  margin-bottom: 1.6rem;
}

.issue-number {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--issue-number);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.issue-summary h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.reflection-label {
  margin: 0 0 0.4rem;
  color: var(--reflection-label);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reflection-copy {
  max-width: 45rem;
  margin: 0;
  color: var(--reflection-copy);
  font-size: 1rem;
}

.verse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.verse-card {
  position: relative;
  display: flex;
  min-height: 17.5rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.55rem;
  border: 1px solid var(--card-line);
  border-radius: 0.85rem;
  background: var(--white);
  box-shadow: 0 7px 24px rgba(var(--accent-rgb), 0.055);
}

.verse-card::before {
  position: absolute;
  top: -3.5rem;
  right: -3.5rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 50%;
  content: "";
}

.verse-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--card-text);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  line-height: 1.48;
}

.verse-text::before {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  content: "“";
  font-size: 2rem;
  line-height: 0.5;
}

.verse-reference {
  margin: 1.2rem 0 0;
  color: var(--reference);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.verse-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--card-line);
}

.verse-card-footer .verse-reference {
  margin: 0;
}

.verse-share-button {
  flex: 0 0 auto;
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, var(--white));
  color: var(--reference);
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 780;
}

.verse-share-button:hover {
  border-color: var(--gold);
  background: var(--about-bg);
}

.support-alert {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #bd5d5d;
  border-left-width: 5px;
  border-radius: 0.7rem;
  background: #fff7f5;
}

.support-alert h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.support-alert p {
  margin: 0;
  color: #4e4141;
}

.support-alert p + p {
  margin-top: 0.55rem;
}

.support-alert a {
  color: #713232;
  font-weight: 740;
}

.empty-state {
  margin-top: 2rem;
  padding: 3rem 1.25rem;
  border: 1px dashed #b9bdc3;
  border-radius: 0.9rem;
  text-align: center;
}

.empty-state > span {
  color: var(--issue-number);
  font-size: 1.6rem;
}

.empty-state h3 {
  margin: 0.65rem 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.empty-state button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--reference);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 7rem);
  background: var(--about-bg);
}

.about-copy {
  max-width: 46rem;
  color: var(--about-copy);
}

.about-copy p {
  margin-top: 0;
}

.about-copy p:last-child {
  margin-bottom: 0;
  color: var(--about-accent);
  font-size: 0.9rem;
  font-weight: 650;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 5.5rem);
  background: var(--navy-950);
  color: var(--footer-muted);
  font-size: 0.82rem;
}

footer p {
  max-width: 34rem;
  margin: 0;
}

footer strong {
  color: var(--white);
}

.account-dialog {
  width: min(calc(100% - 2rem), 48rem);
  max-height: min(90vh, 52rem);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px var(--panel-shadow);
}

.share-dialog {
  width: min(calc(100% - 2rem), 66rem);
  max-height: min(92vh, 58rem);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px var(--panel-shadow);
}

.account-dialog::backdrop,
.share-dialog::backdrop {
  background: rgba(5, 8, 14, 0.7);
  backdrop-filter: blur(4px);
}

.account-dialog[open],
.share-dialog[open] {
  animation: dialog-in 180ms ease-out;
}

.account-panel {
  padding: clamp(1.25rem, 4vw, 2.15rem);
}

.share-panel {
  padding: clamp(1.25rem, 4vw, 2.15rem);
}

.account-panel-heading,
.account-heading-copy,
.account-form-footer {
  display: flex;
  align-items: center;
}

.share-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.share-panel-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.share-panel-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.share-intro {
  max-width: 48rem;
  margin: 1.1rem 0 1.35rem;
  color: var(--muted);
}

.share-workspace {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(20rem, 1.18fr);
  gap: clamp(1.25rem, 4vw, 2.25rem);
  align-items: center;
}

.share-card-frame {
  overflow: hidden;
  padding: 0.55rem;
  border: 1px solid var(--card-line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.share-card-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
  background: var(--navy-950);
}

.share-label {
  margin: 0 0 0.65rem;
  color: var(--reflection-label);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.share-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.platform-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.7rem;
  padding: 0.75rem;
  border: 1px solid var(--card-line);
  border-radius: 0.85rem;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.platform-button:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.1);
  transform: translateY(-1px);
}

.platform-button:disabled,
.share-utility-grid button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.platform-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.instagram-button .platform-mark {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
}

.facebook-button .platform-mark {
  border-radius: 50%;
  background: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
}

.platform-button > span:last-child {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.platform-button strong {
  font-size: 0.91rem;
}

.platform-button small {
  margin-top: 0.24rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.share-utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.share-utility-grid button {
  min-height: 2.85rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--paper) 68%, var(--white));
  color: var(--card-text);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 730;
}

.share-utility-grid button:hover {
  border-color: var(--gold);
  background: var(--about-bg);
}

.share-status {
  min-height: 2.8rem;
  margin: 0.9rem 0 0;
  color: var(--about-accent);
  font-size: 0.86rem;
  font-weight: 680;
}

.share-note {
  margin: 0.8rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.account-panel-heading {
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.account-heading-copy {
  min-width: 0;
  gap: 0.95rem;
}

.account-panel-icon {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold);
}

.account-panel-icon svg {
  width: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.account-heading-copy .eyebrow {
  margin-bottom: 0.2rem;
}

.account-heading-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.dialog-close {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.dialog-close:hover {
  border-color: var(--gold);
}

.dialog-close svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.profile-field {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-field label,
.theme-picker legend {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 780;
}

.profile-field p,
.theme-picker-help {
  margin: 0.2rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-field input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  outline: 0;
  background: var(--white);
  color: var(--ink);
}

.profile-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.theme-picker {
  min-width: 0;
  margin: 0;
  padding: 1.5rem 0 0;
  border: 0;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.theme-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 5rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--white);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.theme-option:hover {
  border-color: rgba(var(--accent-rgb), 0.7);
  transform: translateY(-1px);
}

.theme-option:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.theme-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.16);
}

.theme-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.theme-preview {
  position: relative;
  width: 4.5rem;
  height: 3rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.48rem;
  background: var(--preview-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.theme-preview i {
  position: absolute;
  display: block;
}

.theme-preview i:nth-child(1) {
  top: 0;
  right: 0;
  left: 0;
  height: 0.78rem;
  background: var(--preview-header);
}

.theme-preview i:nth-child(2) {
  top: 1.15rem;
  right: 0.45rem;
  bottom: 0.4rem;
  left: 0.45rem;
  border-radius: 0.25rem;
  background: var(--preview-card);
}

.theme-preview i:nth-child(3) {
  right: 0.72rem;
  bottom: 0.65rem;
  width: 1.15rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--preview-accent);
}

.pink-gold-preview {
  --preview-bg: #fff3f8;
  --preview-header: #5f1e40;
  --preview-card: #ffffff;
  --preview-accent: #d5a43d;
}

.pink-black-preview {
  --preview-bg: #ffeaf3;
  --preview-header: #111014;
  --preview-card: #ffffff;
  --preview-accent: #ef5a9b;
}

.purple-preview {
  --preview-bg: #f2ebf8;
  --preview-header: #17131d;
  --preview-card: #ffffff;
  --preview-accent: #9a62d7;
}

.blue-preview {
  --preview-bg: #e8f3fd;
  --preview-header: #0b2a55;
  --preview-card: #ffffff;
  --preview-accent: #5b9be8;
}

.theme-option-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.theme-option-copy strong {
  font-size: 0.88rem;
}

.theme-option-copy small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.theme-check {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 0.72rem;
  font-weight: 900;
}

.theme-option:has(input:checked) .theme-check {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-950);
}

.account-form-footer {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.save-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--about-accent);
  font-size: 0.84rem;
  font-weight: 650;
}

.save-preferences {
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 0.68rem;
  background: var(--navy-950);
  color: var(--white);
  cursor: pointer;
  font-weight: 760;
}

.save-preferences:hover {
  background: var(--navy-800);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.legal-links a {
  color: var(--header-link);
  font-size: 0.86rem;
}

.member-access {
  padding: 0 clamp(1.1rem, 4vw, 2rem) 1.25rem;
}

.member-status {
  margin: 0 0 1rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
}

.member-status[data-tone="success"] {
  border-color: #91c9a5;
  background: #effaf3;
  color: #1f6138;
}

.member-status[data-tone="error"] {
  border-color: #e6a5a5;
  background: #fff3f3;
  color: #8b2626;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.28rem;
  border-radius: 0.8rem;
  background: var(--paper);
}

.auth-tab {
  min-height: 2.8rem;
  border: 0;
  border-radius: 0.62rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
}

.auth-tab.is-active {
  background: var(--white);
  color: var(--navy-950);
  box-shadow: 0 5px 18px rgba(8, 24, 48, 0.1);
}

.auth-panel {
  padding-top: 1.25rem;
}

.auth-intro {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 0.55rem;
}

.auth-form label:not(.terms-check) {
  margin-top: 0.25rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 740;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--white);
  color: var(--ink);
}

.field-help {
  margin: -0.25rem 0 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.terms-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0.75rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.terms-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  accent-color: var(--blue);
}

.terms-check a,
.member-link-button {
  color: var(--blue);
  font-weight: 720;
}

.member-primary,
.member-secondary,
.member-link-button {
  cursor: pointer;
}

.member-primary {
  min-height: 3rem;
  border: 0;
  border-radius: 0.68rem;
  background: var(--navy-950);
  color: var(--white);
  font-weight: 780;
}

.member-primary:hover {
  background: var(--navy-800);
}

.member-secondary {
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 720;
}

.member-link-button {
  min-height: 2.5rem;
  border: 0;
  background: transparent;
}

.membership-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--paper);
}

.membership-card h3,
.membership-card p {
  margin-top: 0;
}

.member-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.member-welcome h3 {
  margin-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.member-welcome p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-main {
  width: min(100% - 2rem, 54rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.legal-main h1 {
  margin: 0 0 0.5rem;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
}

.legal-effective {
  margin: 0 0 2rem;
  color: var(--muted);
}

.legal-notice {
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  color: var(--muted);
}

.legal-section {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section a {
  color: var(--blue);
  font-weight: 720;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.noscript-message {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff2c8;
  color: #372b11;
  text-align: center;
  box-shadow: var(--shadow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .lens-grid,
  .grounded-step {
    grid-template-columns: 1fr;
  }

  .share-workspace {
    grid-template-columns: 1fr;
  }

  .share-card-frame {
    width: min(100%, 24rem);
    margin-inline: auto;
  }

  .lens-card {
    min-height: auto;
  }

  .verse-grid {
    grid-template-columns: 1fr;
  }

  .verse-card {
    min-height: auto;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 660px) {
  .site-header {
    min-height: 4.75rem;
  }

  .header-link,
  .brand-copy small,
  .account-trigger-copy small {
    display: none;
  }

  .account-trigger {
    min-height: 2.8rem;
    padding-right: 0.7rem;
  }

  .account-avatar {
    width: 2.1rem;
    height: 2.1rem;
  }

  .account-trigger-copy strong {
    max-width: 6.5rem;
  }

  .search-stage {
    padding-top: 3rem;
  }

  .search-control {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 4.3rem;
  }

  .search-control input {
    height: 3.4rem;
    padding-right: 0.4rem;
    font-size: 1rem;
  }

  .search-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 3.4rem;
    margin-top: 0.45rem;
  }

  .clear-button {
    padding-right: 0.8rem;
  }

  .results-heading,
  .faith-response-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-note {
    white-space: normal;
  }

  .prayer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .result-count {
    text-align: left;
  }

  .issue-summary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .account-dialog {
    width: min(calc(100% - 1rem), 48rem);
    max-height: calc(100vh - 1rem);
    border-radius: 1rem;
  }

  .share-dialog {
    width: min(calc(100% - 1rem), 66rem);
    max-height: calc(100vh - 1rem);
    border-radius: 1rem;
  }

  .share-platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 1rem;
  }

  .account-trigger {
    padding-right: 0.4rem;
  }

  .account-trigger-copy {
    display: none;
  }

  .account-panel-heading {
    align-items: flex-start;
  }

  .prayer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .prayer-action {
    width: 100%;
  }

  .account-panel-icon {
    display: none;
  }

  .theme-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .theme-preview {
    width: 3.9rem;
  }

  .account-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .member-welcome {
    align-items: stretch;
    flex-direction: column;
  }

  .verse-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-utility-grid {
    grid-template-columns: 1fr;
  }

  .share-utility-grid button {
    width: 100%;
  }

  .save-preferences {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
