/* cred.eu — sistem vizual
   Paletă: vișiniu liturgic, aur stins, pergament cald, verde-ocrotire. Tipografie: serif clasic pentru titluri, sans de sistem pentru text. */
:root {
  --bg: #fbf8f2; --bg-2: #f4eee3; --surface: #ffffff; --ink: #2a2320; --ink-2: #4a3f39; --muted: #74685f; --line: #e9e0d2;
  --wine: #5c1a24; --wine-2: #7a2433; --wine-ink: #fff8ef; --gold: #b8892f; --gold-2: #d6b062; --gold-soft: #f6ecd5; --green: #1f3d34;
  --red: #a3202d; --ok: #2f6b4f;
  --f-free: #e8f1ea; --f-free-t: #2f6b4f; --f-fast: #f6ead6; --f-fast-t: #8a5a12; --f-fish: #e3edf5; --f-fish-t: #2b5577; --f-dairy: #f3eee3; --f-dairy-t: #6b5a33; --f-strict: #f4e1e1; --f-strict-t: #8b1d2a;
  --r: 14px; --r-lg: 22px; --sh: 0 1px 2px rgba(60,30,20,.05), 0 8px 24px -12px rgba(60,30,20,.18); --sh-lg: 0 24px 60px -24px rgba(60,20,20,.35);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w: 1180px; color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #15110f; --bg-2: #1c1714; --surface: #211b18; --ink: #f2eadf; --ink-2: #ddd1c3; --muted: #b0a294; --line: #382e28;
  --wine: #8f2e40; --wine-2: #a93b50; --gold: #d6b062; --gold-2: #e6c681; --gold-soft: #2c2418; --green: #2c5446; --red: #e06070; --ok: #6fbf94;
  --f-free: #1d2c24; --f-free-t: #8fd1ab; --f-fast: #33281a; --f-fast-t: #e9c07a; --f-fish: #1b2833; --f-fish-t: #8cbde3; --f-dairy: #2b271d; --f-dairy-t: #d9c48f; --f-strict: #3a1d21; --f-strict-t: #f19aa5;
  --sh: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #15110f; --bg-2: #1c1714; --surface: #211b18; --ink: #f2eadf; --ink-2: #ddd1c3; --muted: #b0a294; --line: #382e28;
  --wine: #8f2e40; --wine-2: #a93b50; --gold: #d6b062; --gold-2: #e6c681; --gold-soft: #2c2418; --green: #2c5446; --red: #e06070; --ok: #6fbf94;
  --f-free: #1d2c24; --f-free-t: #8fd1ab; --f-fast: #33281a; --f-fast-t: #e9c07a; --f-fish: #1b2833; --f-fish-t: #8cbde3; --f-dairy: #2b271d; --f-dairy-t: #d9c48f; --f-strict: #3a1d21; --f-strict-t: #f19aa5;
  --sh: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6); color-scheme: dark; }
html[data-zoom="1"] { font-size: 112.5%; } html[data-zoom="2"] { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--wine-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:root[data-theme="dark"] a, :root:not([data-theme="light"]) a { }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: var(--gold-2); } }
:root[data-theme="dark"] a { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: .5rem 1rem; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); } .small { font-size: .9rem; } .micro { font-size: .8rem; color: var(--muted); margin: .6rem 0 0; }
.mt { margin-top: 1.5rem; }
.ic { flex: none; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.kicker { flex-wrap: wrap; display: inline-flex; align-items: center; gap: .4rem; font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.lnk { font-weight: 600; text-decoration: none; color: var(--wine-2); }
.lnk:hover { text-decoration: underline; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.2rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wine); color: var(--wine-ink) !important; box-shadow: 0 6px 18px -8px rgba(92,26,36,.7); }
.btn-primary:hover { background: var(--wine-2); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1b06 !important; box-shadow: 0 6px 18px -8px rgba(184,137,47,.8); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink) !important; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-ghost.on { border-color: var(--gold); background: var(--gold-soft); }
.btn-danger { background: #8b1d2a; color: #fff !important; }
.btn-sm { padding: .5rem .95rem; font-size: .92rem; } .btn-xs { padding: .25rem .6rem; font-size: .8rem; } .btn-lg { padding: .95rem 1.6rem; font-size: 1.08rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2) !important; text-decoration: none; font-size: .92rem; cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover, .chip.on { border-color: var(--gold); background: var(--gold-soft); }
.chip small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.1rem, 2.5vw, 1.75rem); box-shadow: var(--sh); }
.tag { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .8rem; background: var(--bg-2); color: var(--muted); }
.tag.ok { background: var(--f-free); color: var(--f-free-t); }
.flash { margin: 1rem 0; padding: .9rem 1.2rem; border-radius: var(--r); background: var(--f-free); color: var(--f-free-t); border: 1px solid currentColor; }
.flash-err { background: var(--f-strict); color: var(--f-strict-t); }
.notice { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); color: var(--ink-2); margin: 1rem 0; }
.notice p { margin: 0; font-size: .95rem; } .notice .ic { color: var(--gold); margin-top: .15rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink) !important; flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1; font-family: var(--serif); font-size: 1.5rem; }
.brand-t b { font-weight: 700; color: var(--wine); } .brand-t i { font-style: normal; color: var(--gold); }
.brand-t { flex-direction: row; flex-wrap: wrap; align-items: baseline; max-width: 190px; }
.brand-t small { flex-basis: 100%; font: 500 .68rem/1.2 var(--sans); color: var(--muted); letter-spacing: .02em; margin-top: .25rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-t b { color: var(--ink); } }
:root[data-theme="dark"] .brand-t b { color: var(--ink); }
.nav { display: flex; gap: .2rem; margin-left: .5rem; }
.nav a { white-space: nowrap; padding: .5rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink-2) !important; font-weight: 500; font-size: .96rem; }
.nav a:hover { background: var(--bg-2); }
.nav a[aria-current] { color: var(--wine) !important; background: var(--gold-soft); }
.nav .nav-gal { font-weight: 700; color: var(--wine) !important; }
.tools { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.tsearch { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 .35rem 0 .9rem; height: 40px; width: 220px; transition: width .2s, border-color .2s; }
.tsearch:focus-within { width: 290px; border-color: var(--gold); }
.tsearch input { border: 0; background: none; outline: 0; width: 100%; font-size: .9rem; }
.tsearch button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: .3rem; display: flex; }
.tbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: none; color: var(--ink-2) !important; cursor: pointer; }
.tbtn:hover { background: var(--bg-2); }
.alms-pill { display: inline-flex; align-items: center; gap: .4rem; margin-left: .3rem; padding: .48rem .9rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); color: var(--wine) !important; background: var(--gold-soft); text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.alms-pill .ic { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alms-pill { color: var(--gold-2) !important; } }
:root[data-theme="dark"] .alms-pill { color: var(--gold-2) !important; }
.menu-btn { display: none; }
@media (max-width: 1400px) { .tsearch { width: 150px; } .tsearch:focus-within { width: 220px; } .nav a { padding: .5rem .55rem; } .brand-t small { display: none; } }
@media (max-width: 1180px) { .tsearch { width: 160px; } .tsearch:focus-within { width: 220px; } .nav a { padding: .5rem .55rem; } }
@media (max-width: 1240px) { .tsearch { display: none; } }
@media (max-width: 1080px) { .nav, .tsearch { display: none; } .menu-btn { display: inline-grid; } }
@media (max-width: 560px) { .top-in { height: 62px; gap: .5rem; } .brand-t small { display: none; } .alms-pill span { display: none; } .alms-pill { padding: .5rem; } .tools [data-zoom] { display: none; } .logo { width: 36px; height: 36px; } }

.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(20,10,8,.45); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg); padding: 1rem 1rem 6rem; overflow: auto; box-shadow: var(--sh-lg); animation: slide .22s ease; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-x { margin-left: auto; display: grid; }
.drawer a { display: flex; align-items: center; gap: .8rem; padding: .85rem .6rem; border-bottom: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-weight: 500; }
.drawer a .ic { color: var(--gold); }
.dsearch { display: flex; gap: .4rem; margin: .5rem 0 1rem; }
.dsearch input { flex: 1; padding: .7rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.dsearch button { border: 0; background: var(--wine); color: #fff; border-radius: 12px; padding: 0 .9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); background:
  radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
  radial-gradient(700px 400px at -10% 110%, color-mix(in srgb, var(--wine) 12%, transparent), transparent 70%); }
.hero-orn { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23b8892f' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M36 22v28M32 27h8M29 33h14M32 45l8-2.6'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--wine); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 em { color: var(--gold-2); } }
:root[data-theme="dark"] .hero h1 em { color: var(--gold-2); }
.hero-ask { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .4rem .4rem .5rem; box-shadow: var(--sh); margin: 1.5rem 0 1rem; max-width: 640px; transition: border-color .2s, box-shadow .2s; }
.hero-ask:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent), var(--sh); }
.hero-ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1.02rem; padding: .5rem .2rem; }
.hero-ask .gal-av { flex: none; }
.trust-line { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .88rem; margin-top: 1.1rem; }
.trust-line .ic { color: var(--ok); }
.today { position: relative; border-top: 4px solid var(--gold); }
.today::after { content: "✝"; position: absolute; right: 1.2rem; top: .7rem; font-size: 3.2rem; color: var(--gold); opacity: .12; font-family: var(--serif); }
.today-k { margin: 0 0 .2rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.today h2 { font-size: 1.45rem; margin-bottom: .8rem; }
.today-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.today-list li { display: flex; gap: .55rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; }
.today-list li.red { color: var(--red); font-weight: 600; }
.today-list.big li { font-size: 1.3rem; }
.xr { color: var(--red); font-weight: 700; } .xb { color: var(--muted); }
.fast { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.f-free { background: var(--f-free); color: var(--f-free-t); } .f-fast { background: var(--f-fast); color: var(--f-fast-t); } .f-fish { background: var(--f-fish); color: var(--f-fish-t); }
.f-dairy { background: var(--f-dairy); color: var(--f-dairy-t); } .f-strict { background: var(--f-strict); color: var(--f-strict-t); }
.verse { margin: 1.2rem 0; padding: 0 0 0 1rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-2); }
.verse cite { display: block; font: normal 600 .82rem var(--sans); color: var(--muted); margin-top: .35rem; }
.today-foot { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .88rem; color: var(--muted); margin-bottom: .8rem; }
.today-foot span { display: inline-flex; align-items: center; gap: .35rem; } .today-foot .ic { color: var(--gold); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-grid > *, .with-side > *, .split > * { min-width: 0; }
@media (max-width: 560px) { .hero-ask .btn span { display: none; } .hero-ask .btn { padding: .7rem; } .hero .chips .chip:nth-child(n+3) { display: none; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; margin-top: .5rem; }
.tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; box-shadow: var(--sh); transition: transform .18s, border-color .18s; }
.tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.tile b { font-family: var(--serif); font-size: 1.08rem; line-height: 1.25; }
.tile small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.tile-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); color: var(--wine); margin-bottom: .5rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile-ic { color: var(--gold-2); } }
:root[data-theme="dark"] .tile-ic { color: var(--gold-2); }
.tile-gold { background: linear-gradient(160deg, var(--gold-soft), var(--surface)); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: .65rem; } .tile { padding: .9rem; } }

/* Secțiuni */
.block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.block-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.2rem; }
.block-h h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.4rem; margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.split-3 { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.split-3 .block { margin-top: 0; }
@media (max-width: 900px) { .split, .split-3 { grid-template-columns: 1fr; } }
.prayer-day h2 a { color: var(--ink) !important; text-decoration: none; }
.prayer-text { font-family: var(--serif); font-size: 1.16rem; line-height: 1.75; }
.prayer-text p { margin-bottom: .9em; }
.row-act { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.gal-promo { background: linear-gradient(170deg, var(--green), #142a24); color: #f3ece0; border: 0; }
.gal-promo h2 { color: #fff; margin-top: .8rem; } .gal-promo p { color: #d8cfc1; } .gal-promo .micro { color: #b9ae9d; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; } .checks .ic { color: var(--gold); margin-top: .25rem; }
.gal-promo .checks .ic { color: var(--gold-2); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.news-card, .news-row { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; transition: border-color .15s, transform .15s; }
.news-card:hover, .news-row:hover { border-color: var(--gold); transform: translateY(-2px); }
.news-card b, .news-row b { font-family: var(--serif); font-size: 1.08rem; line-height: 1.3; }
.news-card small, .news-row small { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.src { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.src-strip { color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.news-list { display: grid; gap: .8rem; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.art-list { display: grid; gap: .8rem; margin-bottom: 1rem; }
.art { display: block; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; }
.art:hover { border-color: var(--gold); }
.art b { display: block; font-family: var(--serif); font-size: 1.12rem; margin: .1rem 0 .2rem; } .art small { color: var(--muted); }
.cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; font-style: normal; display: block; }
.faq-mini details, .faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: .6rem; }
.faq-mini summary, .faq-item summary { cursor: pointer; padding: .95rem 1.1rem; font-weight: 600; list-style: none; position: relative; padding-right: 2.5rem; }
.faq-mini summary::after, .faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: .75rem; font-size: 1.3rem; color: var(--gold); }
details[open] > summary::after { content: "–"; }
.faq-mini .prose, .faq-item .prose { padding: 0 1.1rem 1rem; }
.faq-item { padding: 0; box-shadow: none; } .faq-item h2 { font-size: 1.12rem; margin: 0; display: inline; font-family: var(--sans); font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: clamp(2.5rem, 5vw, 4rem) auto; }
.pillars > div { display: flex; flex-direction: column; gap: .3rem; }
.pillars .ic { color: var(--gold); margin-bottom: .3rem; } .pillars b { font-family: var(--serif); font-size: 1.1rem; } .pillars span { color: var(--muted); font-size: .92rem; }
.pillars-6 { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
@media (max-width: 800px) { .pillars, .pillars-6 { grid-template-columns: 1fr 1fr; } }

/* Cutia Milei */
.alms { position: relative; display: flex; gap: 1.1rem; padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: var(--r-lg); margin: 2rem 0;
  background: linear-gradient(135deg, var(--gold-soft), color-mix(in srgb, var(--gold-soft) 40%, var(--surface))); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.alms.hide { display: none; }
.alms-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); color: var(--wine); box-shadow: var(--sh); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alms-ic { color: var(--gold-2); } }
:root[data-theme="dark"] .alms-ic { color: var(--gold-2); }
.alms-k { margin: 0 0 .25rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.alms h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.alms p { color: var(--ink-2); margin-bottom: .8rem; max-width: 64ch; }
.alms-act { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.alms-act .lnk { font-size: .9rem; margin-left: .3rem; }
.alms-x { position: absolute; right: .7rem; top: .7rem; border: 0; background: none; color: var(--muted); cursor: pointer; padding: .3rem; border-radius: 8px; }
.alms-x:hover { background: color-mix(in srgb, var(--gold) 15%, transparent); }
.alms-compact { padding: 1rem 1.2rem; margin: 1rem 0; } .alms-compact h3 { font-size: 1.08rem; } .alms-compact .alms-ic { width: 40px; height: 40px; }
.alms-goal { margin: 0 0 1rem; max-width: 420px; } .alms-goal small { color: var(--muted); font-size: .82rem; }
.bar { height: 8px; background: color-mix(in srgb, var(--gold) 18%, transparent); border-radius: 99px; overflow: hidden; margin-bottom: .3rem; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine-2)); border-radius: 99px; }
@media (max-width: 560px) { .alms { flex-direction: column; gap: .6rem; } }
.donate-box h2 { font-size: 1.2rem; margin-top: .4rem; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-bottom: .8rem; }
.amount { padding: .9rem .5rem; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; text-align: center; font-size: .95rem; }
.amount b { font-size: 1.35rem; font-family: var(--serif); }
.amount.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.amount.custom { display: flex; align-items: center; gap: .3rem; padding: .5rem; cursor: text; }
.amount.custom input { width: 100%; border: 0; background: none; outline: 0; text-align: center; font-size: 1.05rem; }
@media (max-width: 640px) { .amounts { grid-template-columns: repeat(2, 1fr); } .amount.custom { grid-column: span 2; } }
.impact { padding: .7rem 1rem; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); font-size: .95rem; margin-bottom: 1.5rem; }
.impact::before { content: "♡ "; color: var(--gold); }
.methods { display: grid; gap: .7rem; }
.method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink) !important; }
a.method:hover { border-color: var(--gold); }
.method > span { flex: 1; display: flex; flex-direction: column; } .method small { color: var(--muted); } .method > .ic:first-child { color: var(--gold); }
.method.bank { align-items: flex-start; }
.iban { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .5rem 0 .2rem; }
.iban code { font-size: 1rem; background: var(--bg-2); padding: .3rem .6rem; border-radius: 8px; letter-spacing: .04em; }
.ledger { list-style: none; padding: 0; margin: 0; } .ledger li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ledger .in { color: var(--ok); } .ledger .out { color: var(--red); }

/* Pagini de conținut */
.page-head { padding: clamp(1.5rem, 4vw, 2.8rem) 0 1.2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted) !important; text-decoration: none; } .crumbs a:hover { color: var(--wine) !important; }
.filter { display: grid; gap: .8rem; margin-top: 1.2rem; }
.filter input { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-width: 420px; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; padding-bottom: 3rem; }
.side { position: sticky; top: 90px; display: grid; gap: 1rem; }
.side .card { padding: 1.2rem; }
.side-gal { text-align: left; } .side-gal h3 { margin: .6rem 0 .3rem; } .side-gal p { color: var(--muted); font-size: .94rem; }
.side-today b { display: block; font-family: var(--serif); font-size: 1.15rem; } .side-today p { margin: .3rem 0 .6rem; color: var(--ink-2); }
@media (max-width: 960px) { .with-side { grid-template-columns: 1fr; } .side { position: static; } }
.lst-sec { margin-bottom: 2rem; } .lst-sec h2 { font-size: 1.3rem; }
.lst { display: grid; gap: .55rem; }
.lst-item { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink) !important; transition: border-color .15s; }
.lst-item:hover { border-color: var(--gold); }
.lst-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.lst-item b { font-family: var(--serif); font-size: 1.1rem; } .lst-item small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.lst-item > .ic:last-child { color: var(--muted); }
.lst-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--wine); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lst-ic { color: var(--gold-2); } }
:root[data-theme="dark"] .lst-ic { color: var(--gold-2); }
mark { background: var(--gold-soft); color: inherit; padding: 0 .15em; border-radius: 3px; }
.doc { padding: clamp(1.5rem, 4vw, 2.8rem) 0 1rem; min-width: 0; }
.doc-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.6rem; }
.inline { display: inline; }
.prose { font-size: 1.06rem; max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.45rem; } .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; } .prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: .9rem 1.1rem; background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; font-size: .98rem; font-family: var(--sans); color: var(--ink-2); }
.prayer-text blockquote { font-size: .92rem; }
.src-note { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.related { margin-top: 2.5rem; } .related h2 { font-size: 1.3rem; }
.center-page { text-align: center; padding: 3rem 0 4rem; } .center-page .hero-ask { margin-inline: auto; } .center-page .crumbs { justify-content: center; }
.big-cross { font-size: 4rem; color: var(--gold); font-family: var(--serif); margin: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.src-list { list-style: none; padding: 0; margin: 0 0 1rem; } .src-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); } .src-list small { display: block; color: var(--muted); font-size: .82rem; }

/* Calendar */
.cal-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; margin-bottom: 1rem; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .85rem; margin-bottom: 1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dn { text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: .3rem 0; }
.cal-d { position: relative; min-height: 104px; display: flex; flex-direction: column; gap: .2rem; padding: .5rem .55rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; transition: border-color .15s; }
.cal-d:hover { border-color: var(--gold); }
.cal-d .n { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.cal-d .t { font-size: .74rem; line-height: 1.3; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.cal-d.red .n, .cal-d.red .t { color: var(--red); } .cal-d.sun .n { color: var(--red); }
.cal-d.today { border: 2px solid var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.cal-d .dot { position: absolute; right: 8px; top: 9px; width: 9px; height: 9px; border-radius: 50%; }
.fl-harti .dot { background: var(--f-free-t); opacity: .35; } .fl-post .dot { background: var(--f-fast-t); } .fl-peste .dot { background: var(--f-fish-t); } .fl-brinza .dot { background: var(--f-dairy-t); } .fl-aspru .dot { background: var(--f-strict-t); }
.fl-post, .fl-aspru { background: color-mix(in srgb, var(--f-fast) 45%, var(--surface)); }
@media (max-width: 700px) { .cal-grid { gap: 3px; } .cal-d { min-height: 58px; padding: .35rem; } .cal-d .t { display: none; } .cal-d .n { font-size: 1rem; } .cal-d .dot { right: 5px; top: auto; bottom: 6px; } }
.feast-list { list-style: none; padding: 0; margin: 0; } .feast-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); } .feast-list a { text-decoration: none; color: var(--ink) !important; }
.day-card.red { border-top: 4px solid var(--red); }

/* Fapte bune, lumânare, spovedanie */
.pledge { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--surface), var(--gold-soft)); }
.pledge p { font-family: var(--serif); font-size: 1.3rem; margin: 0; max-width: 46ch; }
.pledge-act { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.deed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.deed { text-decoration: none; color: var(--ink) !important; } .deed p { color: var(--muted); }
@media (max-width: 800px) { .deed-grid { grid-template-columns: 1fr; } }
.candle-stage { position: relative; height: 260px; display: grid; place-items: end center; margin: 1rem 0; }
.candle { position: relative; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.wax { width: 34px; height: 150px; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #e9cf8f, #f8e7b8 40%, #d9b765); box-shadow: inset -4px 0 8px rgba(0,0,0,.1); }
.wick { width: 2px; height: 12px; background: #3a2a1a; }
.flame { width: 22px; height: 46px; opacity: 0; transform: scale(.4); transition: opacity .6s, transform .6s; }
.flame i { display: block; width: 100%; height: 100%; border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%; background: radial-gradient(ellipse at 50% 75%, #fff 0 18%, #ffe08a 30%, #ffb238 60%, rgba(255,120,0,0) 75%); animation: flicker 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
.glow { position: absolute; bottom: 120px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,190,80,.45), transparent 65%); opacity: 0; transition: opacity 1s; }
.lit .flame { opacity: 1; transform: none; } .lit .glow { opacity: 1; }
@keyframes flicker { 0%,100% { transform: rotate(-1.5deg) scaleY(1); } 30% { transform: rotate(1.2deg) scaleY(1.06); } 60% { transform: rotate(-.6deg) scaleY(.96); } }
@media (prefers-reduced-motion: reduce) { .flame i { animation: none; } }
.candle-form { display: grid; gap: .8rem; justify-items: center; max-width: 440px; margin: 0 auto 1rem; }
.candle-form input { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh); }
.candle-prayer p { font-family: var(--serif); font-style: italic; font-size: 1.25rem; max-width: 50ch; margin: 1rem auto; }
.candle-after { text-align: left; }
.steps { padding-left: 1.3rem; display: grid; gap: .6rem; margin: 1.5rem 0; }
.exam fieldset { border: 1px solid var(--line); margin: 0 0 1rem; } .exam legend { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; padding: 0 .4rem; }
.ck { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem 0; cursor: pointer; }
.ck input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--wine); flex: none; }
.exam textarea, .form input, .form select, .form textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin-top: .3rem; }
.form { display: grid; gap: 1rem; margin: 1rem 0; } .form label { display: block; font-weight: 600; font-size: .95rem; } .form .ck { font-weight: 400; }
.form fieldset { border: 0; padding: 0; margin: 0; } .form legend { font-weight: 600; margin-bottom: .3rem; }
.ck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; } @media (max-width: 560px) { .ck-grid { grid-template-columns: 1fr; } }
.consent { padding: .8rem 1rem; border-radius: 12px; background: var(--gold-soft); font-size: .9rem; }
.auth { padding: 3rem 0; } .auth .card { max-width: 480px; margin: 0 auto; }

/* Chat */
.pg-preot-gal .foot, .pg-preot-gal .fab { display: none; }
.chat-page { display: grid; grid-template-columns: 330px minmax(0, 1fr); width: min(1280px, 100%); margin: 0 auto; height: calc(100dvh - 72px); }
.chat-side { padding: 1.5rem; border-right: 1px solid var(--line); overflow: auto; }
.gal-id { display: flex; gap: .9rem; align-items: center; } .gal-id h1 { font-size: 1.6rem; margin: 0; } .gal-id p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.prefs { border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; background: var(--surface); }
.prefs summary { cursor: pointer; font-weight: 600; display: flex; gap: .5rem; align-items: center; }
.prefs label { display: block; font-size: .85rem; font-weight: 600; margin-top: .7rem; color: var(--ink-2); }
.prefs select { width: 100%; margin-top: .25rem; padding: .5rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.side-links { display: grid; gap: .2rem; margin: 1rem 0; }
.side-links a, .side-links button { display: flex; gap: .6rem; align-items: center; padding: .6rem .5rem; border-radius: 10px; text-decoration: none; color: var(--ink-2) !important; border: 0; background: none; cursor: pointer; font-size: .95rem; text-align: left; }
.side-links a:hover, .side-links button:hover { background: var(--bg-2); } .side-links .ic { color: var(--gold); }
.chat-main { display: flex; flex-direction: column; min-height: 0; position: relative; }
.chat-head-m { display: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 1.5rem clamp(1rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; scroll-behavior: smooth; }
.msg { display: flex; gap: .7rem; max-width: 780px; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.bubble { padding: .9rem 1.15rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); min-width: 0; overflow-wrap: anywhere; }
.bubble p:last-child { margin-bottom: 0; } .bubble ul { padding-left: 1.2rem; margin: .4rem 0 .8rem; }
.msg.bot .bubble { border-top-left-radius: 6px; }
.msg.user .bubble { background: var(--wine); color: var(--wine-ink); border-color: transparent; border-top-right-radius: 6px; }
.msg .gal-av { flex: none; margin-top: 2px; }
.msg-src { margin-top: .8rem; padding-top: .7rem; border-top: 1px dashed var(--line); font-size: .85rem; }
.msg-src b { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.msg-src a { display: block; margin-top: .25rem; }
.msg-act { display: flex; gap: .2rem; margin-top: .6rem; }
.msg-act button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: .3rem .45rem; border-radius: 8px; font-size: .8rem; display: inline-flex; gap: .3rem; align-items: center; }
.msg-act button:hover { background: var(--bg-2); color: var(--ink); }
.msg.crisis .bubble { border: 2px solid var(--red); }
.typing { display: inline-flex; gap: 4px; padding: .3rem 0; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: dot 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,60%,100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-sugg { display: flex; gap: .5rem; padding: 0 clamp(1rem, 4vw, 3rem) .6rem; overflow-x: auto; scrollbar-width: none; }
.chat-sugg .chip { flex: none; }
.chat-form { display: flex; align-items: flex-end; gap: .5rem; margin: 0 clamp(1rem, 4vw, 3rem); padding: .5rem .5rem .5rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--sh); }
.chat-form:focus-within { border-color: var(--gold); }
.chat-form textarea { flex: 1; border: 0; outline: 0; background: none; resize: none; max-height: 160px; padding: .55rem 0; font-size: 1.02rem; line-height: 1.45; }
.chat-form .send { width: 46px; height: 46px; padding: 0; flex: none; }
.chat-form .tbtn.rec { color: var(--red) !important; background: var(--f-strict); }
.chat-disc { text-align: center; font-size: .76rem; color: var(--muted); margin: .5rem 1rem .8rem; }
.chat-log .alms { margin: .2rem 0 .2rem 44px; max-width: 700px; }
@media (max-width: 900px) {
  .chat-page { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 62px - 64px - env(safe-area-inset-bottom)); }
  .chat-side { display: none; }
  .chat-head-m { display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-bottom: 1px solid var(--line); }
  .chat-head-m div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; } .chat-head-m small { color: var(--muted); font-size: .78rem; }
  .chat-log { padding: 1rem; } .chat-form { margin: 0 .6rem; } .chat-sugg { padding: 0 .6rem .5rem; }
  .chat-log .alms { margin-left: 0; }
}

/* Reclame */
.ad-slot { display: block; width: min(var(--w), 100% - 32px); margin: 1.5rem auto; text-align: center; min-height: 90px; }
.side .ad-slot, .doc .ad-slot { width: 100%; }
.ad-label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }

/* Footer, navigare mobilă, FAB */
.foot { margin-top: 4rem; background: #2a1116; color: #e8dccb; padding: 3.5rem 0 6rem; }
.foot a { color: #e8dccb !important; text-decoration: none; } .foot a:hover { color: var(--gold-2) !important; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1rem; }
.foot-grid > div:not(.foot-brand) a { display: block; padding: .3rem 0; font-size: .94rem; }
.foot .brand-t b { color: #fff; } .foot-brand p { color: #c9b9a5; font-size: .94rem; margin-top: 1rem; }
.ai-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem !important; } .ai-note .ic { color: var(--gold-2); margin-top: .2rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .84rem; color: #b8a792; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.bnav { display: none; }
@media (max-width: 900px) {
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; color: var(--muted) !important; text-decoration: none; border: 0; background: none; padding: 2px; cursor: pointer; }
  .bnav [aria-current] { color: var(--wine) !important; }
  .bnav-orb { display: grid; place-items: center; width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; background: var(--wine); color: #fff; box-shadow: 0 8px 20px -8px rgba(92,26,36,.9); border: 3px solid var(--bg); }
  .bnav-gal { color: var(--wine) !important; font-weight: 700; }
  main { padding-bottom: 20px; }
  .fab { display: none !important; }
}
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 44; display: flex; align-items: center; gap: .6rem; padding: .45rem 1.1rem .45rem .45rem; border-radius: 999px; background: var(--green); color: #fff !important; text-decoration: none; font-weight: 600; box-shadow: var(--sh-lg); transform: translateY(120px); transition: transform .35s ease; }
.fab.show { transform: none; }
.fab:hover { background: #18322a; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .7rem 1.2rem; border-radius: 999px; z-index: 80; font-size: .92rem; box-shadow: var(--sh-lg); animation: rise .2s; }

@media print { .top, .foot, .bnav, .fab, .alms, .ad-slot, .side, .doc-tools, .row-act { display: none !important; } body { background: #fff; } .with-side { display: block; } }

/* ---------- Profil personal, poarta Preot Gal, memorie ---------- */
.onboard { padding-block: clamp(1.5rem, 4vw, 3rem) 3rem; }
.ob-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.ob-head > div { min-width: 0; } .ob-head h1 { margin-bottom: .3rem; }
.pform { display: grid; gap: 1.2rem; }
.pform fieldset { border: 1px solid var(--line); margin: 0; min-width: 0; }
.pform legend { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; padding: 0 .4rem; display: flex; align-items: center; gap: .6rem; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wine); color: var(--wine-ink); font: 700 .9rem var(--sans); }
.fld { display: grid; gap: .5rem; margin: 1.1rem 0 0; font-weight: 600; }
.fld > span small, .fld small { font-weight: 400; color: var(--muted); }
.fld input, .fld textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 400; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; font-weight: 400; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s, background .15s; font-size: .95rem; }
.opt:hover span { border-color: var(--gold); }
.opt input:checked + span { border-color: var(--wine); background: var(--gold-soft); color: var(--ink); font-weight: 600; }
.opts-multi .opt input:checked + span::before { content: "✓"; color: var(--wine); font-weight: 700; }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.pform .ck { font-weight: 400; } .pform .consent { margin: .8rem 0; }
.wz-progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.wz-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine)); transition: width .3s; }
.wz-steps { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--muted); counter-reset: s; }
.wz-steps li { counter-increment: s; } .wz-steps li::before { content: counter(s) ". "; }
.wz-steps li.on { color: var(--wine); font-weight: 700; } .wz-steps li.ok { color: var(--ok); }
.wz-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.gate { padding-block: clamp(2rem, 5vw, 4rem); background: radial-gradient(800px 380px at 90% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%); }
.gate-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gate .gal-id { margin-bottom: 1rem; } .gate .gal-id h1 { margin: 0; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.gate-steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; counter-reset: g; }
.gate-steps li { counter-increment: g; display: grid; grid-template-columns: 40px 1fr; column-gap: .9rem; }
.gate-steps li::before { content: counter(g); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: var(--wine-ink); font: 700 1rem var(--sans); }
.gate-steps b { font-family: var(--serif); font-size: 1.12rem; } .gate-steps span { color: var(--muted); font-size: .94rem; }
.gate-form { position: sticky; top: 90px; border-top: 4px solid var(--gold); }
.center-txt { text-align: center; margin: .5rem 0 0; }
@media (max-width: 900px) { .gate-grid { grid-template-columns: minmax(0, 1fr); } .gate-form { position: static; } }
.know-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 1rem; margin: 1rem 0; }
.know-box h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; display: flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; }
.know-box h2 .ic { color: var(--gold); } .know-box h3 { font: 700 .74rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: .9rem 0 .4rem; }
.who { margin: 0 0 .4rem; font-size: .95rem; }
.know { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .3rem; font-size: .9rem; color: var(--ink-2); }
.know li::before { content: "· "; color: var(--gold); font-weight: 700; }
.mem-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.mem-list li { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .55rem .75rem; border-radius: 10px; background: var(--gold-soft); font-size: .95rem; }
.mem-list li span { min-width: 0; display: flex; flex-direction: column; } .mem-list small { color: var(--muted); font-size: .78rem; }
.mem-list.mini li { font-size: .86rem; padding: .4rem .6rem; }
.mem-list li.new { animation: rise .4s ease; box-shadow: 0 0 0 2px var(--gold); }
.mem-list .mem-empty { background: none; color: var(--muted); padding: 0; font-size: .85rem; }
.mem-x { border: 0; background: none; color: var(--muted); cursor: pointer; padding: .2rem; border-radius: 6px; flex: none; font-size: 1rem; line-height: 1; }
.mem-x:hover { color: var(--red); background: var(--surface); }
.mem-add { display: flex; gap: .5rem; } .mem-add input { flex: 1; min-width: 0; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.acct { padding-block: clamp(1.5rem, 4vw, 2.5rem) 3rem; }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.acct-head h1 { margin: 0; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.acct h3 { font-size: 1.1rem; margin-top: 1.2rem; }
.rep-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.rep-row .chip { padding: .25rem .7rem; font-size: .82rem; }
.chat-side .gal-id h1 { font-size: 1.5rem; }

.for-you { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; margin-top: 1.5rem; border-left: 4px solid var(--gold); }
.for-you > div:nth-child(2) { flex: 1 1 320px; min-width: 0; } .for-you h2 { margin: 0 0 .2rem; } .for-you h2 a { color: var(--ink) !important; text-decoration: none; } .for-you p { margin: 0; }

/* ---------- Rugăciuni: așezare liturgică (titlu, ornament, inițială, rubrici roșii) ---------- */
.prayer-page { width: min(820px, 100% - 32px); padding-block: clamp(1.2rem, 3vw, 2rem) 3rem; }
.prayer-sheet { position: relative; margin-top: .5rem; padding: clamp(1.8rem, 5vw, 3.5rem) clamp(1.2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold-soft) 55%, var(--surface)), var(--surface) 240px);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 6px;
  box-shadow: inset 0 0 0 6px var(--surface), inset 0 0 0 7px color-mix(in srgb, var(--gold) 35%, transparent), var(--sh); }
.prayer-head { text-align: center; margin-bottom: 1.6rem; }
.pr-cat { margin: 0 0 .7rem; font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.prayer-head h1, .pr-title { font-family: var(--serif); font-weight: 600; color: var(--wine); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.2; margin: 0; letter-spacing: .005em; text-wrap: balance; }
.pr-title { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.7rem); text-align: center; }
.pr-title a { color: inherit !important; text-decoration: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prayer-head h1, :root:not([data-theme="light"]) .pr-title { color: var(--gold-2); } }
:root[data-theme="dark"] .prayer-head h1, :root[data-theme="dark"] .pr-title { color: var(--gold-2); }
.pr-orn { display: flex; justify-content: center; color: var(--gold); margin: .9rem auto 1.1rem; }
.pr-orn svg { max-width: 100%; height: auto; }
.pr-sum { font-family: var(--serif); font-style: italic; color: var(--muted); max-width: 52ch; margin: 0 auto; font-size: 1.02rem; }
.prayer-body { font-family: var(--serif); font-size: clamp(1.12rem, 1.05rem + .35vw, 1.28rem); line-height: 1.9; color: var(--ink); max-width: 62ch; margin: 0 auto;
  text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prayer-body p { margin: 0 0 1.05em; }
.prayer-body .incipit::first-letter { float: left; font-size: 3.35em; line-height: .82; font-weight: 700; color: var(--red); padding: .06em .1em 0 0; font-family: var(--serif); }
.rubric { color: var(--red); font-style: italic; font-size: .82em; letter-spacing: .01em; white-space: nowrap; }
.rubric-line { text-align: center; font-style: italic; font-size: .92em; }
.rubric-line .rubric { white-space: normal; font-size: 1em; }
.amin { font-variant: small-caps; letter-spacing: .04em; }
.pr-sec { display: flex; align-items: center; gap: .9rem; margin: 2.1em 0 .9em; font: 600 .82rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); text-align: center; }
.pr-sec::before, .pr-sec::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--gold) 50%, transparent); }
.prayer-note { margin: 2rem auto 0; max-width: 62ch; padding: 1rem 1.2rem; border-radius: 10px; background: var(--bg-2); font: .95rem/1.6 var(--sans); color: var(--ink-2); text-align: left; }
.prayer-note b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.prayer-note p { margin: 0 0 .5em; } .prayer-note p:last-child { margin: 0; }
.prayer-foot { text-align: center; margin-top: 1.4rem; }
.pr-end { display: block; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.pr-src { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }
.prayer-tools { justify-content: center; margin: 1.4rem 0 0; }
.prayer-after { margin-top: 1rem; }
.prayer-mini .prayer-body { font-size: 1.1rem; line-height: 1.8; }
.prayer-mini .pr-orn { margin: .6rem auto .9rem; }
.prayer-mini .pr-orn svg { width: 180px; }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.pr-card { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: .35rem !important; padding: 1.1rem 1.2rem !important; border-left: 3px solid color-mix(in srgb, var(--gold) 60%, transparent) !important; }
.pr-card b { font-family: var(--serif); font-size: 1.14rem; color: var(--ink); }
.pr-inc { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 640px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } .prayer-body { text-align: left; } .prayer-sheet { box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5px color-mix(in srgb, var(--gold) 35%, transparent), var(--sh); } }
.ext-sec .muted a { font-weight: 600; }
.ext-group { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: .6rem; }
.ext-group summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; font-family: var(--serif); font-size: 1.08rem; }
.ext-group summary small { font-family: var(--sans); color: var(--muted); font-weight: 400; }
.ext-list { list-style: none; margin: 0; padding: 0 1.1rem 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.2rem; }
.ext-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); background: none !important; border-radius: 0 !important; display: block !important; }
.ext-list a { color: var(--ink) !important; text-decoration: none; font-size: .95rem; }
.ext-list a:hover { color: var(--wine-2) !important; }
.ext-ic { color: var(--gold); font-size: .85em; }
@media (max-width: 640px) { .ext-list { grid-template-columns: minmax(0, 1fr); } }
.chat-prayer { margin: .6rem 0 .9rem; padding: 1.1rem 1.2rem 1rem; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold-soft) 60%, var(--surface)), var(--surface)); font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.cp-t { text-align: center; font-weight: 600; font-size: 1.2rem; color: var(--wine); line-height: 1.25; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cp-t { color: var(--gold-2); } }
:root[data-theme="dark"] .cp-t { color: var(--gold-2); }
.cp-orn { text-align: center; color: var(--gold); margin: .2rem 0 .6rem; letter-spacing: .5em; }
.chat-prayer p { margin: 0 0 .8em; } .chat-prayer p:last-child { margin: 0; }
.chat-prayer .incipit::first-letter { float: left; font-size: 2.6em; line-height: .82; font-weight: 700; color: var(--red); padding: .05em .08em 0 0; }
.pr-card { text-decoration: none; } .pr-card:hover b { color: var(--wine-2); }
.prayer-body p.incipit + p, .chat-prayer p.incipit + p { clear: left; }

/* ---------- Mărturisirea pregătitoare ---------- */
.conf { margin: 1.5rem 0 1rem; border-top: 4px solid var(--wine); }
.conf-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.conf-head > div { min-width: 0; } .conf-head h2 { margin: 0 0 .3rem; }
.conf-log { display: flex; flex-direction: column; gap: .9rem; max-height: 60vh; overflow-y: auto; padding: .4rem .2rem 1rem; }
.conf-log .msg { max-width: 100%; }
.conf-log .msg.bot .bubble { background: var(--bg); }
.conf-form { display: grid; gap: .6rem; border: 1px solid var(--line); border-radius: 16px; padding: .7rem; background: var(--surface); }
.conf-form:focus-within { border-color: var(--gold); }
.conf-form textarea { width: 100%; border: 0; outline: 0; resize: vertical; min-height: 80px; background: none; font: 1.05rem/1.55 var(--serif); }
.conf-act { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.conf-sp { flex: 1; }
.conf-act .rec { color: var(--red) !important; border-color: var(--red); background: var(--f-strict); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.conf-advice .bubble { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.conf-advice .bubble h2, .conf-advice .bubble strong:first-child { color: var(--wine); }
.bubble blockquote { margin: .4rem 0 .8rem; padding: .3rem 0 .3rem .8rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.conf-sheet { margin-top: 1.2rem; padding: 1.1rem; border-radius: 12px; background: var(--gold-soft); }
.conf-sheet h3 { margin: 0 0 .2rem; }
.conf-sheet textarea { width: 100%; min-height: 200px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: 1rem/1.6 var(--serif); }
.conf-note { display: flex; gap: .45rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.conf-note .ic { margin-top: .2rem; color: var(--ok); }
.conf-cta { padding: 1rem; border-radius: 12px; background: var(--bg-2); }

/* ---------- Mesajul de bun venit (o singură dată) ---------- */
.entry { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-left, 0px)); background: rgba(30, 12, 14, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.entry-card { width: min(520px, 100%); background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.2rem); text-align: center; box-shadow: var(--sh-lg); border-top: 4px solid var(--gold); animation: rise .3s ease; }
.entry-card .logo { width: 56px; height: 56px; margin-bottom: .6rem; }
.entry-card h2 { margin-bottom: .7rem; }
.entry-card p { color: var(--ink-2); text-align: left; }
.entry-card .btn { width: 100%; margin-top: .4rem; }
.notice-link { text-decoration: none; color: var(--ink-2) !important; }
.notice-link:hover { border-color: var(--gold); }
