/* ==========================================================
   azsdobretu.site — stil public (2026)
   ========================================================== */
:root {
  --ink: #0f1b2d;
  --ink-2: #172741;
  --ink-3: #22375a;
  --paper: #fbf8f3;
  --sand: #f3ece1;
  --card: #ffffff;
  --gold: #d9a441;
  --gold-2: #f2c96e;
  --gold-ink: #6b4a0c;
  --text: #1c2333;
  --muted: #5e6778;
  --line: #e8e1d5;
  --jesus: #b8322a;
  --ok: #2f8f5b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -12px rgba(15, 27, 45, .18);
  --shadow-lg: 0 30px 80px -30px rgba(15, 27, 45, .45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1422;
    --sand: #111c2e;
    --card: #15223a;
    --text: #e9edf4;
    --muted: #9aa6ba;
    --line: #24344f;
    --jesus: #ff8a7a;
    --gold-ink: #f2c96e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { 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(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.kicker { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; display: inline-flex; gap: 8px; align-items: center; }
.kicker-light { color: var(--gold-2); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.note { color: var(--muted); font-size: .92rem; margin-top: 24px; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 1.04rem; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241703; box-shadow: 0 10px 24px -10px rgba(217, 164, 65, .8); }
.btn-gold:hover { box-shadow: 0 16px 30px -12px rgba(217, 164, 65, .9); }
.btn-dark { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-dark { background: var(--gold); color: #241703; } }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-light { background: #fff; color: var(--ink); }

/* ---------- bara de sus ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.is-home .topbar { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; color: #fff; }
.is-home .topbar.scrolled { background: color-mix(in srgb, var(--ink) 88%, transparent); border-color: rgba(255, 255, 255, .08); }
.topbar { padding-top: env(safe-area-inset-top); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.brand small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; opacity: .9; }
.nav a:hover { background: rgba(127, 127, 127, .14); opacity: 1; }
.btn-ask { padding: 10px 18px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241703; font-size: .92rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); margin: 0; max-height: calc(100svh - 72px); overflow-y: auto;
         opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav-open .nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .2s, transform .2s; }
  .nav-toggle { display: block; margin-left: 0; }
  .btn-ask span { display: none; }
  .btn-ask { padding: 11px 13px; margin-left: auto; }
  .topbar-in { gap: 10px; }
  body.nav-open .topbar { background: var(--ink); color: #fff; border-color: rgba(255, 255, 255, .08); }
  .nav { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, .25) 35%, rgba(10, 18, 32, .82) 100%), radial-gradient(80% 60% at 10% 100%, rgba(217, 164, 65, .25), transparent 60%); }
.hero-in { position: relative; padding: 140px 0 110px; }
.hero-title { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 600; max-width: 13ch; margin-bottom: 22px; text-wrap: balance; }
.hero-text { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 560px; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); font-size: .9rem; }
.chip-gold { background: rgba(217, 164, 65, .22); border-color: rgba(242, 201, 110, .5); }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: #fff; opacity: .7; animation: bob 2s infinite; font-size: 1.2rem; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- secțiuni ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { padding-top: 0; }
.sec-head { margin-bottom: 44px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev > :first-child { order: 2; }
.split-img img, .top-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.top-img { margin: 0 0 32px; }
.top-img img { aspect-ratio: 21/9; }
figure { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-rev > :first-child { order: 0; } }

.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.prose a { color: var(--gold-ink); text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose-light { color: rgba(255, 255, 255, .86); }
.prose-light strong { color: #fff; }

.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .25s; }
.card:hover { transform: translateY(-4px); }
.card-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241703; font-size: 1.3rem; margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- MyCopilot ---------- */
.copilot { position: relative; background: radial-gradient(120% 80% at 50% 0%, var(--ink-3) 0%, var(--ink) 55%, #0a1322 100%); color: #fff; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; isolation: isolate; }
.copilot-page { min-height: calc(100svh - 72px); padding-top: 64px; }
.copilot-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(2px 2px at 12% 22%, rgba(255,255,255,.7), transparent),
  radial-gradient(1.5px 1.5px at 78% 14%, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 64% 70%, rgba(255,255,255,.5), transparent),
  radial-gradient(2px 2px at 30% 82%, rgba(255,255,255,.5), transparent),
  radial-gradient(1px 1px at 90% 52%, rgba(255,255,255,.6), transparent),
  radial-gradient(40% 35% at 50% 18%, rgba(217,164,65,.22), transparent 70%); }
.copilot-in { max-width: 920px; }
.copilot-head { text-align: center; margin-bottom: 34px; }
.copilot-title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 16px; text-wrap: balance; }
.copilot-text { color: rgba(255, 255, 255, .78); font-size: 1.14rem; max-width: 640px; margin: 0 auto; }

.ask { position: relative; display: flex; align-items: flex-end; gap: 10px; background: #fff; color: var(--ink); border-radius: 26px; padding: 10px 10px 10px 56px; box-shadow: 0 0 0 6px rgba(242, 201, 110, .16), var(--shadow-lg); transition: box-shadow .25s; }
.ask:focus-within { box-shadow: 0 0 0 6px rgba(242, 201, 110, .38), var(--shadow-lg); }
.ask-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.15rem; }
.ask textarea { flex: 1; border: 0; outline: 0; resize: none; font: 500 1.14rem/1.45 var(--sans); padding: 12px 0; background: transparent; color: var(--ink); min-height: 50px; max-height: 180px; }
.ask textarea::placeholder { color: #8a93a3; }
.ask-btn { height: 52px; border-radius: 18px; padding: 0 22px; }
.ask.busy .ask-btn i { animation: spin 1s linear infinite; }
.ask.busy .ask-btn i::before { content: "\f110"; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .ask { padding-left: 46px; border-radius: 22px; } .ask-icon { left: 17px; } .ask-btn span { display: none; } .ask-btn { width: 52px; padding: 0; } }

.ask-examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; align-items: center; }
.ask-examples > span { color: rgba(255, 255, 255, .6); font-size: .9rem; margin-right: 4px; }
.ex-chip { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 999px; padding: 8px 14px; font: 500 .9rem/1.2 var(--sans); cursor: pointer; transition: background .2s, border-color .2s; text-align: left; }
.ex-chip:hover { background: rgba(242, 201, 110, .16); border-color: rgba(242, 201, 110, .55); }

.ask-results { margin-top: 30px; display: grid; gap: 14px; scroll-margin-top: 90px; }
section[id] { scroll-margin-top: 64px; }
.hero[id] { scroll-margin-top: 0; }
.ask-results:empty { display: none; }
.ask-lognote { margin: 14px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.ask-lognote button { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .72); text-decoration: underline; cursor: pointer; font: inherit; }
.ask-lognote button:hover { color: var(--gold-2); }
.res-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255, 255, 255, .66); font-size: .9rem; }
.res-meta button { background: none; border: 0; color: var(--gold-2); cursor: pointer; font: inherit; }
.res { background: #fff; color: var(--text); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); animation: rise .4s both; }
@media (prefers-color-scheme: dark) { .res { background: #13213a; color: var(--text); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.res-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.res-ref { font: 600 1.15rem/1.2 var(--serif); color: var(--gold-ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.res-ref:hover { text-decoration: underline; text-underline-offset: 3px; }
.res-fit { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.res-fit i { display: block; width: 46px; height: 5px; border-radius: 9px; background: var(--line); overflow: hidden; position: relative; }
.res-fit i::after { content: ""; position: absolute; inset: 0; width: var(--fit); background: linear-gradient(90deg, var(--gold), var(--ok)); border-radius: 9px; }
.res-verse { font: 400 1.2rem/1.55 var(--serif); margin: 0; }
.jesus { color: var(--jesus); }
.res-why { margin-top: 14px; }
.res-why > button { background: var(--sand); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 7px 14px; font: 500 .86rem/1 var(--sans); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.res-why > button[aria-expanded="true"] i { transform: rotate(180deg); }
.res-com { margin-top: 12px; padding: 16px 18px; background: var(--sand); border-radius: var(--radius-sm); font-size: .96rem; line-height: 1.6; white-space: pre-line; max-height: 340px; overflow: auto; border-left: 3px solid var(--gold); }
.res-com a { color: var(--gold-ink); cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.res-com small { display: block; margin-top: 10px; color: var(--muted); white-space: normal; }
.tm { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-left: 3px solid var(--gold-2); border-radius: var(--radius); color: rgba(255, 255, 255, .92); animation: rise .4s both; }
.tm-head { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; text-align: left; background: none; border: 0; color: inherit; padding: 16px 20px; cursor: pointer; font: inherit; }
.tm-label { font: 600 .72rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.tm-label i { margin-right: 4px; }
.tm-title { grid-column: 1; font: 600 1.08rem/1.3 var(--serif); }
.tm-prev { grid-column: 1; font-size: .84rem; color: rgba(255, 255, 255, .62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm.open .tm-prev { display: none; }
.tm-chev { grid-column: 2; grid-row: 1 / span 3; color: var(--gold-2); transition: transform .2s; }
.tm.open .tm-chev { transform: rotate(180deg); }
.tm-body { padding: 0 20px 14px; display: grid; gap: 10px; }
.tm-body[hidden] { display: none; }
.tm-item { background: #fff; color: var(--text); border-radius: var(--radius-sm); padding: 12px 16px; }
@media (prefers-color-scheme: dark) { .tm-item { background: #13213a; } }
.tm-ref { font: 600 1rem/1.2 var(--serif); color: var(--gold-ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.tm-ref:hover { text-decoration: underline; text-underline-offset: 3px; }
.tm-star { color: var(--gold); margin-right: 4px; }
.tm-note { font-size: .86rem; color: var(--muted); }
.tm-verse { font: 400 1.05rem/1.5 var(--serif); margin: 6px 0 0; }
.res-empty { background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 26px; text-align: center; color: rgba(255, 255, 255, .85); }
.res-empty i { font-size: 1.6rem; color: var(--gold-2); margin-bottom: 8px; display: block; }
.skel { height: 120px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.copilot-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.copilot-features > div { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 4px; }
.copilot-features i { color: var(--gold-2); font-size: 1.3rem; margin-bottom: 8px; }
.copilot-features span { color: rgba(255, 255, 255, .68); font-size: .93rem; line-height: 1.5; }
@media (max-width: 760px) { .copilot-features { grid-template-columns: 1fr; } }

.app-cta { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 28px 32px 0; border-radius: var(--radius); background: linear-gradient(135deg, rgba(242, 201, 110, .16), rgba(255, 255, 255, .04)); border: 1px solid rgba(242, 201, 110, .25); overflow: hidden; }
.app-cta img { width: 160px; height: auto; align-self: end; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); }
.app-cta > div { padding-bottom: 28px; }
.app-cta h3 { font-size: 1.6rem; }
.app-cta p { color: rgba(255, 255, 255, .78); }
.app-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.soon { color: rgba(255, 255, 255, .6); font-size: .9rem; }
@media (max-width: 640px) { .app-cta { grid-template-columns: 1fr; padding: 26px 22px 0; } .app-cta img { order: 2; justify-self: center; width: 150px; } }

.verse-modal { border: 0; padding: 0; border-radius: var(--radius); width: min(640px, 100% - 24px); max-height: 82vh; background: var(--card); color: var(--text); box-shadow: var(--shadow-lg); }
.verse-modal::backdrop { background: rgba(8, 14, 26, .6); backdrop-filter: blur(4px); }
.vm-in { position: relative; padding: 30px 28px 24px; overflow: auto; max-height: 82vh; }
.vm-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); color: var(--text); cursor: pointer; }
.vm-body h3 { color: var(--gold-ink); }
.vm-body p { font: 400 1.12rem/1.6 var(--serif); }
.vm-body sup { font: 600 .7rem var(--sans); color: var(--muted); margin-right: 4px; }

/* ---------- evenimente ---------- */
.events { background: var(--paper); }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.ev-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ev-single .ev-card { display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 860px) { .ev-single .ev-card { grid-template-columns: 1fr; } }
.ev-media { position: relative; display: block; aspect-ratio: 16/10; background: var(--sand); overflow: hidden; }
.ev-single .ev-media { aspect-ratio: auto; min-height: 320px; }
.ev-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ev-card:hover .ev-media img { transform: scale(1.04); }
.ev-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; color: var(--gold); background: linear-gradient(135deg, var(--ink-2), var(--ink)); }
.badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; font: 600 .78rem/1 var(--sans); letter-spacing: .02em; background: var(--gold); color: #241703; }
.badge-now { background: #2f8f5b; color: #fff; }
.badge-past { background: rgba(15, 27, 45, .75); color: #fff; }
.ev-body { padding: 28px; display: flex; flex-direction: column; }
.ev-date { color: var(--gold-ink); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.ev-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.ev-body h3 a { text-decoration: none; }
.ev-sub { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.ev-sum { color: var(--muted); }
.ev-meta { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--muted); }
.ev-meta i { color: var(--gold); margin-right: 4px; }
.ev-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- program ---------- */
.program { background: var(--sand); padding-top: clamp(72px, 10vw, 128px) !important; }
.wk { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 20px; }
.wk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.wk-head h3 { margin: 0; font-size: 1.3rem; }
.wk-head i { color: var(--gold); margin-right: 6px; }
.wk-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.day { border-radius: var(--radius-sm); padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.day-sat { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 14%, var(--paper)), var(--paper)); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.day-name { font: 600 1.1rem var(--serif); margin-bottom: 12px; }
.day-name span { font: 500 .85rem var(--sans); color: var(--muted); margin-left: 6px; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.slots li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.slots time { font-weight: 700; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.slots strong { display: block; font-weight: 600; line-height: 1.35; }
.slots span { color: var(--muted); font-size: .9rem; }

/* ---------- PBE ---------- */
.pbe { background: linear-gradient(160deg, #10233f 0%, #0b1830 100%); color: #fff; padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.pbe::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 164, 65, .22), transparent 65%); }
.pbe-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
@media (max-width: 860px) { .pbe-grid { grid-template-columns: 1fr; } }
.pbe-photo { position: relative; }
.pbe-photo > img:first-child { border-radius: 28px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.pbe-logo { position: absolute; right: -14px; bottom: -14px; width: 96px; height: 96px; background: #fff; border-radius: 50%; padding: 10px; box-shadow: var(--shadow-lg); }
.pbe h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.season { padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); display: inline-flex; gap: 10px; align-items: center; }
.season i { color: var(--gold-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 64px; position: relative; }
.stats > div { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stats strong { display: block; font: 600 clamp(2rem, 4vw, 2.8rem)/1 var(--serif); color: var(--gold-2); margin-bottom: 8px; }
.stats span { color: rgba(255, 255, 255, .72); font-size: .94rem; }
.journey { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.journey li { padding: 26px 20px 0 0; position: relative; border-top: 2px solid rgba(242, 201, 110, .35); }
.journey li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(242, 201, 110, .2); }
.j-year { display: block; font: 600 1.1rem var(--serif); color: var(--gold-2); margin-bottom: 6px; }
.j-text { color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* ---------- slujbași ---------- */
.team-teaser { padding-top: clamp(72px, 10vw, 128px) !important; }
.team-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
@media (max-width: 860px) { .team-box { grid-template-columns: 1fr; } }
.lead-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.lead-list li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.lead-list span { color: var(--muted); }
.avatars { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 600 1rem var(--sans); color: #fff; overflow: hidden; flex: none; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-0 { background: #2b4a7a; } .av-1 { background: #b9862f; } .av-2 { background: #3f7d6b; } .av-3 { background: #8a4d6b; } .av-4 { background: #5a5f9e; } .av-5 { background: #a2543c; }
.av-more { background: var(--sand); color: var(--text); }
.av-sm { width: 30px; height: 30px; font-size: .7rem; }
.av-lg { width: 56px; height: 56px; }

.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.tp-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-bottom: 30px; }
.seg { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 .92rem var(--sans); color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.search-mini { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-width: min(320px, 100%); }
.search-mini input { border: 0; outline: 0; background: none; font: 400 .98rem var(--sans); padding: 12px 0; color: var(--text); width: 100%; }
.search-mini i { color: var(--muted); }
.role-cat { margin-bottom: 40px; }
.role-cat h2 { font-size: 1.5rem; display: flex; gap: 12px; align-items: center; }
.role-cat h2 i { color: var(--gold); font-size: 1.1rem; }
.role-grid, .people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.role-card, .person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.role-card h3 { font: 600 1rem var(--sans); color: var(--gold-ink); margin-bottom: 10px; }
.role-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.role-card li { display: flex; align-items: center; gap: 10px; }
.person { display: flex; gap: 14px; align-items: flex-start; }
.person h3 { font-size: 1.1rem; margin: 0; }
.person small { color: var(--muted); }
.person p { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }
[data-item].hide { display: none; }

/* ---------- galerie / video ---------- */
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; transition: transform .5s; }
.masonry a:hover img { transform: scale(1.03); }
.lb-open, .lb-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; background: rgba(6, 9, 15, .98); z-index: 90; display: grid; grid-template-rows: 1fr auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 56px 16px 8px; cursor: zoom-out; }
.lb-img { max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); object-fit: contain; border-radius: 10px; cursor: default; transition: transform .18s ease-out; -webkit-user-drag: none; }
.lb-in-r { animation: lb-in-r .22s ease-out; } .lb-in-l { animation: lb-in-l .22s ease-out; }
@keyframes lb-in-r { from { opacity: .3; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lb-in-l { from { opacity: .3; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); cursor: pointer; transition: background .15s; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .26); }
.lb-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-foot { display: flex; gap: 16px; justify-content: center; align-items: baseline; padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); color: #e9edf3; font-size: .92rem; text-align: center; }
.lb-count { color: #9aa6ba; font-variant-numeric: tabular-nums; flex: none; }
@media (max-width: 600px) { .lb-stage { padding: 56px 0 4px; } .lb-img { border-radius: 0; } .lb-prev, .lb-next { width: 40px; height: 40px; background: rgba(0, 0, 0, .35); } .lb-prev { left: 6px; } .lb-next { right: 6px; } }
@media (hover: none) and (max-width: 600px) { .lb-prev, .lb-next { opacity: .75; } }
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.yt iframe, .yt-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { background-size: cover; background-position: center; cursor: pointer; display: grid; place-items: center; }
.yt-play i { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 164, 65, .95); color: #241703; font-size: 1.8rem; padding-left: 6px; box-shadow: var(--shadow-lg); transition: transform .2s; }
.yt-play:hover i { transform: scale(1.08); }

/* ---------- secțiune liberă ---------- */
.custom.style-soft { background: var(--sand); padding-top: clamp(72px, 10vw, 128px) !important; }
.custom.style-dark { background: var(--ink); color: #fff; padding-top: clamp(72px, 10vw, 128px) !important; }
.custom.style-dark .prose { color: rgba(255, 255, 255, .85); }
.custom.style-dark .kicker { color: var(--gold-2); }
.custom.style-accent { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241703; padding-top: clamp(72px, 10vw, 128px) !important; }
.custom.style-accent .kicker { color: #4a3208; }

/* ---------- contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--gold-ink); flex: none; }
.contact-list strong { display: block; }
.contact-list span, .contact-list a { color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- pagina evenimentului ---------- */
.ev-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, var(--ink-3), var(--ink)); overflow: hidden; }
/* imaginea evenimentului e adesea un afiș cu text: în antet doar ca fundal estompat, afișul întreg apare în pagină (.ev-poster) */
.ev-hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.2); transform: scale(1.1); }
.ev-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, .45), rgba(10, 18, 32, .88)); }
.ev-hero { min-height: 40vh; }
.ev-poster { margin: 0 0 28px; }
.ev-poster img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); cursor: zoom-in; }
.ev-hero-in { position: relative; padding: 60px 0 50px; }
.ev-hero .back { color: rgba(255, 255, 255, .8); display: flex; width: max-content; }
.ev-hero .badge { position: static; display: inline-block; margin-bottom: 14px; }
.ev-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 18ch; }
.ev-hero-sub { font: italic 400 clamp(1.2rem, 2.4vw, 1.6rem) var(--serif); color: rgba(255, 255, 255, .88); }
.ev-hero-place { display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; padding: 9px 16px; border-radius: 999px; font: 600 1rem var(--sans); color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.ev-hero-place i { color: var(--gold-2); }
.ev-layout { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 48px 0 100px; align-items: start; }
@media (max-width: 900px) { .ev-layout { grid-template-columns: 1fr; } }
.ev-facts { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
@media (max-width: 900px) { .ev-facts { position: static; } }
.fact { display: flex; gap: 14px; align-items: center; }
.fact i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--gold-ink); flex: none; }
.fact span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fact-actions { display: grid; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--text); border: 0; cursor: pointer; text-decoration: none; }
.ev-lead { font: 400 1.35rem/1.5 var(--serif); }

.ev-list { display: grid; gap: 12px; }
.ev-row { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s; }
.ev-row:hover { transform: translateX(4px); }
.ev-row.is-past { opacity: .72; }
.ev-row-img { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--sand); display: grid; place-items: center; color: var(--gold); flex: none; }
.ev-row-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-row-txt { display: grid; flex: 1; }
.ev-row-txt small { color: var(--muted); }
.ev-row-txt strong { font: 600 1.15rem var(--serif); }
.ev-row-txt span { color: var(--muted); font-size: .92rem; }

.notfound { min-height: 60vh; display: grid; place-items: center; }

/* ---------- subsol ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1.1rem; }
.footer p { margin: 0 0 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.footer i { color: var(--gold-2); width: 20px; }
.brand-foot { color: #fff; margin-bottom: 18px; }
.brand-foot img { width: 44px; height: 44px; }
.motto { font: italic 400 1.08rem/1.5 var(--serif); max-width: 420px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a i { width: auto; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; font-size: .86rem; color: rgba(255, 255, 255, .55); }

/* ---------- animații la derulare ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- ecrane mici: bară mai compactă ---------- */
@media (max-width: 560px) {
  .topbar-in { height: 64px; }
  .brand { gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .68rem; }
  .nav { max-height: calc(100svh - 64px); }
  .hero-in { padding: 112px 0 96px; }
}
/* ---------- telefon în landscape / ecrane joase ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .topbar-in { height: 56px; }
  .brand img { width: 34px; height: 34px; }
  .hero { min-height: auto; }
  .hero-in { padding: 88px 0 48px; }
  .hero-title { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 12px; }
  .hero-text { font-size: 1rem; }
  .hero-actions { margin: 18px 0 18px; }
  .hero-scroll { display: none; }
  .nav { max-height: calc(100svh - 56px); }
  .copilot { padding: 64px 0; }
  section[id] { scroll-margin-top: 56px; }
}
/* notch / colțuri rotunjite în landscape */
@supports (padding: env(safe-area-inset-left)) {
  .wrap { width: min(var(--wrap), 100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
}

/* ==========================================================
   Corul Jubilate Deo
   ========================================================== */
.choir-band { padding: clamp(72px, 10vw, 128px) 0; background: linear-gradient(180deg, var(--paper), var(--sand)); }
.choir-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .choir-grid { grid-template-columns: 1fr; } }
.choir-photo { position: relative; margin: 0; }
.choir-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.choir-ph { aspect-ratio: 4/3; border-radius: 28px; display: grid; place-items: center; font-size: 4rem; color: var(--gold); background: linear-gradient(135deg, var(--ink-2), var(--ink)); }
.choir-note { position: absolute; right: -12px; bottom: -12px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #241703; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: var(--shadow-lg); }
.choir-next { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 4px 0 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.choir-next:hover { transform: translateY(-2px); }
.choir-next-date { display: grid; place-items: center; width: 58px; height: 62px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; flex: none; }
.choir-next-date strong { font: 600 1.6rem/1 var(--serif); color: var(--gold-2); }
.choir-next > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.choir-next small { color: var(--gold-ink); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.choir-next b { font: 600 1.15rem/1.25 var(--serif); }
.choir-next em { font-style: normal; color: var(--muted); font-size: .9rem; }
.choir-next > i { color: var(--gold); }

.choir-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--ink-3), var(--ink)); }
.choir-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.choir-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, .35), rgba(10, 18, 32, .9)); }
.choir-hero-in { position: relative; padding: 110px 0 56px; }
.choir-hero .back { color: rgba(255, 255, 255, .8); display: flex; width: max-content; }
.choir-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 10px; }
.choir-hero-sub { font: italic 400 clamp(1.1rem, 2.2vw, 1.4rem) var(--serif); color: rgba(255, 255, 255, .85); }
.choir-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.choir-facts li { display: flex; gap: 14px; align-items: center; }
.choir-facts i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--gold-ink); flex: none; }
.choir-facts small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.choir-events { background: var(--sand); padding-top: clamp(64px, 9vw, 110px) !important; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.album-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s; }
.album-card:hover { transform: translateY(-4px); }
.album-thumb { aspect-ratio: 16/10; background: var(--sand); display: grid; place-items: center; color: var(--gold); font-size: 2rem; overflow: hidden; }
.album-thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.album-body small { color: var(--muted); }
.album-body strong { font: 600 1.2rem/1.25 var(--serif); }
.album-count { display: flex; gap: 12px; color: var(--muted); font-size: .9rem; }
.album-count i { color: var(--gold); margin-right: 3px; }
.choir-private { display: flex; gap: 22px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--ink); color: #fff; }
.choir-private > i { font-size: 1.6rem; color: var(--gold-2); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex: none; }
.choir-private p { color: rgba(255, 255, 255, .78); }
.choir-private .btn-dark { background: var(--gold); color: #241703; }
.section-tight { padding: 8px 0 clamp(56px, 8vw, 96px) !important; }
.h-sm { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.h-sm i { color: var(--gold); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 36px; }
.video-item { margin: 0; }
.video-item figcaption { padding: 8px 2px; font-weight: 600; }
.video-item .yt { box-shadow: var(--shadow); }
.yt-play i { width: 64px; height: 64px; font-size: 1.4rem; }
.narrow-box { max-width: 640px; }
.lock-ic { width: 76px; height: 76px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.8rem; color: #241703; background: linear-gradient(135deg, var(--gold-2), var(--gold)); margin-bottom: 18px; }
.lock-ic.lock-bad { background: #f3d6d2; color: #a02c22; }
.welcome-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: #e6f5ec; color: #11603a; border: 1px solid #bfe5cf; margin: 10px 0 18px; }
.welcome-box > i { margin-top: 4px; } .welcome-box strong { overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) { .welcome-box { background: #123b27; color: #bdeccf; border-color: #1f5a3c; } }

/* repertoriu */
.rep-search { margin-bottom: 18px; }
.rep-list { display: grid; gap: 10px; }
.rep-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .15s, border-color .15s; }
.rep-row:hover { transform: translateX(3px); border-color: var(--gold); }
.rep-row.is-draft { opacity: .7; border-style: dashed; }
.rep-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); flex: none; }
.rep-txt { flex: 1; display: grid; gap: 3px; min-width: 0; }
.rep-txt strong { font: 600 1.15rem/1.25 var(--serif); }
.rep-txt small { color: var(--muted); }
.rep-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.vtag { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }
.vtag-video { background: #fdeceb; color: #a3170f; border-color: #f6c9c5; }
.vtag-S { background: #fde7ec; color: #8f2443; border-color: #f6c6d3; }
.vtag-A { background: #efe6fb; color: #5b2f97; border-color: #dccbf3; }
.vtag-T { background: #e2f0fb; color: #1d5d8f; border-color: #c4def3; }
.vtag-B { background: #e3f4ea; color: #1f6a43; border-color: #c3e6d1; }
.vtag-score { background: #fff3da; color: #7a4f05; border-color: #f2d9a4; }
@media (prefers-color-scheme: dark) { .vtag-S, .vtag-A, .vtag-T, .vtag-B, .vtag-score { filter: saturate(.8) brightness(.95); } }
.rep-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.rep-foot .note { margin: 0 auto 0 0; }
.draft-tag { font: 600 .8rem var(--sans); padding: 3px 10px; border-radius: 999px; background: #fff3da; color: #7a4f05; vertical-align: middle; }

/* player */
.piece-head { padding-bottom: 8px; }
.player-wrap { padding: 8px 0 140px; }
.player { display: grid; gap: 22px; }
.score-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.score-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--sand); }
.score-bar select { padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); max-width: 180px; }
.page-ind { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 54px; text-align: center; }
.toggle { display: inline-flex; gap: 6px; align-items: center; font-size: .88rem; margin-left: auto; cursor: pointer; }
.pbtn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; display: inline-grid; place-items: center; }
.pbtn:hover { border-color: var(--gold); }
.pbtn.danger:hover { border-color: #c0392b; color: #c0392b; }
/* partitura: imaginea își păstrează mereu proporțiile (align-items: flex-start — fără întindere pe înălțime) */
.score-view { --score-h: 70vh; background: #fff; display: flex; justify-content: center; align-items: flex-start; gap: 6px; overflow: auto; }
.score-view img { display: block; width: auto; height: auto; max-width: 100%; flex: none; }
.score-view img[hidden] { display: none; }
.score-view[data-fit="page"] img { max-height: var(--score-h); }
.score-view[data-fit="two"] img { max-height: var(--score-h); max-width: calc(50% - 3px); }
.score-view[data-fit="width"] { overflow: visible; }   /* pe lățime: se derulează cu pagina (în „Mărește” — în fereastră) */
.score-view[data-fit="width"] img { width: 100%; max-width: 1100px; }
.fit-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.fit-seg button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 .82rem var(--sans); cursor: pointer; }
.fit-seg button[hidden] { display: none; }
.fit-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.fit-seg button[aria-pressed="true"] i { color: var(--gold-2); }
@media (max-width: 560px) { .fit-seg span { display: none; } .fit-seg button { padding: 0 11px; } }
.score-view { touch-action: pan-x pan-y; }   /* două degete = mărirea partiturii (choir-zoom.js), nu a paginii */
.score-view.swipe-l img { animation: sw-l .22s ease-out; } .score-view.swipe-r img { animation: sw-r .22s ease-out; }
@keyframes sw-l { from { opacity: .35; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes sw-r { from { opacity: .35; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.score-big .score-panel { position: fixed; inset: 0; z-index: 80; border-radius: 0; display: flex; flex-direction: column; }
.score-big .score-view { flex: 1; max-height: none; align-items: center; }
.score-big .score-view[data-fit="width"] { align-items: flex-start; overflow: auto; }
.score-big .score-view img { cursor: pointer; }
/* mărit: playerul fix jos, pe toată lățimea; partitura are dedesubt spațiu cât playerul (--tr-h, măsurat în choir-player.js) */
.score-big .transport { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; border-radius: 16px 16px 0 0; }
.score-big .score-view { padding-bottom: calc(var(--tr-h, 150px) + 8px); }
.player-wrap { padding-bottom: calc(var(--tr-h, 120px) + 40px); }
/* „Ascunde”: rămân doar ▶, timpul și „Arată” */
.transport.is-min { display: flex; align-items: center; gap: 10px; padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
.transport.is-min .t-row { order: 1; flex: 1; margin-top: 0; flex-wrap: nowrap; }
.transport.is-min .t-row > :not(.t-play):not(.t-min) { display: none; }
.transport.is-min .t-min { margin-left: auto; flex: none; }
.transport.is-min .wave-wrap { order: 0; }
.transport.is-min .wave { display: none; }
.transport.is-min .t-time { position: static; display: inline-block; }
.transport.is-min .t-hint, .transport.is-min .loading { display: none; }
.transport.is-min .t-play { width: 44px; height: 44px; font-size: 1.05rem; }
.t-min { margin-left: 4px; }

.mixer, .sections, .mark-editor { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.mixer-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mixer-head .h-sm { margin: 0; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { border: 1px solid var(--line); background: var(--sand); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 600 .8rem var(--sans); cursor: pointer; }
.presets button:hover { border-color: var(--gold); }
.voice-list { display: grid; gap: 8px; }
.voice { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 14px; border: 1px solid var(--line); border-left: 5px solid #9aa6ba; transition: opacity .2s; }
.voice.v-S { border-left-color: #d0557a; } .voice.v-A { border-left-color: #8a5cc7; } .voice.v-T { border-left-color: #3b86c4; } .voice.v-B { border-left-color: #3d9a68; } .voice.v-f { border-left-color: var(--gold); }
.voice.st-off { opacity: .55; }
.voice.mine { background: color-mix(in srgb, var(--gold) 10%, transparent); }
.v-name { flex: 1; font-weight: 600; }
.v-name small { font-weight: 600; font-size: .7rem; color: var(--gold-ink); margin-left: 6px; text-transform: uppercase; letter-spacing: .06em; }
.seg { display: inline-flex; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; color: var(--muted); padding: 7px 11px; border-radius: 999px; font: 600 .8rem var(--sans); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg button[data-s="bg"][aria-pressed="true"] { background: var(--gold); color: #241703; }
.seg button[data-s="off"][aria-pressed="true"] { background: #9aa6ba; color: #fff; }
@media (max-width: 420px) { .seg button { padding: 7px 8px; font-size: .74rem; } .voice { flex-wrap: wrap; } .v-name { flex-basis: 100%; } }
.mixer-help { color: var(--muted); font-size: .84rem; margin: 10px 0 0; }
.section-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sec-chip { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--sand); }
.sec-chip button { border: 0; background: none; color: var(--text); padding: 8px 12px; font: 600 .86rem var(--sans); cursor: pointer; }
.sec-chip button + button { border-left: 1px solid var(--line); color: var(--gold-ink); }
.sec-chip small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.sec-chip.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 18%, var(--sand)); }
.mark-editor summary { cursor: pointer; font-weight: 700; }
.mark-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.mark-status { color: var(--muted); font-size: .86rem; }
.mark-list { display: grid; gap: 6px; }
.mark-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; border-radius: 10px; background: var(--sand); }
.mark-row input { padding: 7px 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 .88rem var(--sans); }
.m-time { width: 74px; font-variant-numeric: tabular-nums; } .m-page { width: 56px; } .m-label { flex: 1; min-width: 150px; }
kbd { font: 600 .78rem var(--sans); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.sync-list { display: grid; gap: 6px; margin-top: 10px; }
.sync-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--sand); border-left: 4px solid #9aa6ba; }
.sync-row.v-S { border-left-color: #d0557a; } .sync-row.v-A { border-left-color: #8a5cc7; } .sync-row.v-T { border-left-color: #3b86c4; } .sync-row.v-B { border-left-color: #3d9a68; }
.sync-ref { display: inline-flex; gap: 6px; align-items: center; min-width: 150px; font-weight: 600; margin-right: auto; cursor: pointer; }
.sync-val { width: 74px; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 .9rem var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.sync-row .pbtn { width: auto; min-width: 34px; padding: 0 6px; font-weight: 700; }
.sync-wave { flex: 1 1 200px; min-width: 160px; height: 34px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); cursor: crosshair; }
.sync-ref { margin-right: 0; }
/* pe butoanele închise eticheta tastei e transparentă, cu text alb (altfel ieșea alb pe alb) */
.btn-dark kbd { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; }

.transport { position: sticky; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px 20px 0 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -14px rgba(15, 27, 45, .35); }
.loading { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.loading[hidden] { display: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.wave-wrap { position: relative; }
.wave { width: 100%; height: 64px; display: block; touch-action: none; cursor: pointer; border-radius: 10px; background: var(--sand); }
.t-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.t-play { width: 54px; height: 54px; border-radius: 50%; border: 0; font-size: 1.25rem; color: #241703; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 8px 20px -8px rgba(217, 164, 65, .9); cursor: pointer; }
.player:not(.ready) [data-play] { opacity: .5; }
.t-time { position: absolute; right: 6px; bottom: 5px; pointer-events: none; font-variant-numeric: tabular-nums; font-weight: 700; font-size: .78rem; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--card) 85%, transparent); }
.t-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 50px; height: 50px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font-size: .95rem; }
.t-btn small { font-size: .62rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.t-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-btn[aria-pressed="true"] small { color: var(--gold-2); }
.t-btn[hidden] { display: none; }
.t-tempo { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--muted); }
.t-tempo select { padding: 9px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 .9rem var(--sans); }
.t-hint { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) {
  .transport { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
  .wave { height: 46px; }
  .t-row { flex-wrap: nowrap; gap: 5px; margin-top: 7px; }
  .t-play { width: 44px; height: 44px; font-size: 1.05rem; flex: none; }
  .t-btn { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 4px; border-radius: 10px; font-size: .9rem; }
  .t-btn small { font-size: .55rem; letter-spacing: 0; }
  .t-tempo { margin-left: 0; flex: none; } .t-tempo i { display: none; }
  .t-tempo select { padding: 9px 4px; font-size: .82rem; }
  .t-hint { margin-top: 5px; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* video pe voci (YouTube) */
.audio-pane { display: contents; }
.player.mode-video .audio-pane, .player:not(.mode-video) .video-pane { display: none; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sand); border: 1px solid var(--line); }
.mode-switch button { border: 0; background: transparent; padding: 11px 10px; border-radius: 10px; font: 600 .92rem var(--sans); color: var(--muted); cursor: pointer; display: flex; gap: 8px; justify-content: center; align-items: center; }
.mode-switch button[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 10px -4px rgba(15, 27, 45, .3); }
.mode-switch .fa-youtube { color: #e62117; }
.player { grid-template-columns: minmax(0, 1fr); }
.video-pane { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.vtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.vtab { border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 9px 14px; border-radius: 999px; font: 600 .9rem var(--sans); cursor: pointer; border-left: 4px solid #9aa6ba; }
.vtab em { font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); margin-left: 4px; }
.vt-S { border-left-color: #d0557a; } .vt-A { border-left-color: #8a5cc7; } .vt-T { border-left-color: #3b86c4; } .vt-B { border-left-color: #3d9a68; }
.vtab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.vtab[aria-selected="true"] em { color: var(--gold-2); }
.vframe { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vframe iframe, .vframe > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmsg { position: absolute; inset: auto 0 0 0; margin: 0; padding: 12px 16px; background: rgba(20, 12, 4, .88); color: #fff; font-size: .9rem; }
.vmsg a { color: var(--gold-2); font-weight: 600; }
.vctl { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.vbar { position: relative; height: 38px; border-radius: 10px; background: var(--sand); cursor: pointer; touch-action: none; overflow: hidden; }
.vsel { position: absolute; top: 0; bottom: 0; background: rgba(217, 164, 65, .32); border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.vsel[hidden] { display: none; }
.vpos { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #c0392b; }
.vbar .t-time { top: 50%; bottom: auto; transform: translateY(-50%); }
/* clipul peste partitură: fereastră mică fixă (YouTube: minim 200 px înălțime, vizibilă) */
.v-withscore { justify-self: start; margin-top: 10px; }
.vmini-bar { display: none; }
.player.v-listen .transport { display: none; }
.player:not(.mode-video) .video-pane.v-mini { display: block; position: fixed; z-index: 90; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(356px, calc(100vw - 24px)); border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .55); }
.video-pane.v-mini .vtabs, .video-pane.v-mini .vctl { display: none; }
.video-pane.v-mini .vframe { aspect-ratio: auto; height: 200px; border-radius: 0; box-shadow: none; margin: 0; }
.video-pane.v-mini .vmini-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #0f1b2d; color: #fff; }
.vm-label { flex: 1; min-width: 0; font: 600 .82rem var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-btn { width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vm-btn:hover { background: rgba(255, 255, 255, .24); }
.player.v-listen .player-wrap, .player.v-listen { padding-bottom: 260px; }
@media (max-width: 560px) {
  .vframe { border-radius: 12px; margin: 0 -6px; }
  .vctl { padding: 8px 10px; } .vbar { height: 32px; }
  .vtab { padding: 8px 11px; font-size: .85rem; }
}
/* programe (coriști) */
.prog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 30px; }
.prog-card { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.prog-card-d { font: 700 .74rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.prog-card strong { font: 600 1.2rem/1.25 var(--serif); }
.prog-card small { color: rgba(255, 255, 255, .7); }
.prog-notes { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--sand); border: 1px solid var(--line); margin-top: 6px; }
.prog-notes i { color: var(--gold); margin-top: 4px; }
.prog-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.offline-box { display: grid; gap: 6px; flex: 1; min-width: 260px; }
.offline-box .btn { justify-self: start; }
.offline-st { margin: 0; font-size: .85rem; color: var(--muted); }
.prog-pub { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.prog-pub a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.prog-pub a:hover { border-color: var(--gold); }
.prog-pub .prog-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-weight: 800; flex: none; }
.prog-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.prog-body strong { font: 600 1.12rem/1.25 var(--serif); }
.prog-who { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .88rem; margin: 2px 0 0; }
.prog-who i { color: var(--gold); margin-right: 3px; }
.prog-note { color: var(--muted); font-style: italic; }
.prog-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.prog-nav-back { flex: 1; min-width: 0; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog-nav-back i { color: var(--gold); margin-right: 4px; }
.prog-nav .pbtn { text-decoration: none; }

/* pupitru */
.stand-open, .stand-open body { overflow: hidden; }
.stand { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; grid-template-rows: auto 1fr; outline: 0; color: #0f1b2d; }
.stand-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; padding-top: max(6px, env(safe-area-inset-top)); background: #0f1b2d; color: #fff; transition: margin-top .2s; }
.stand.bar-hidden .stand-bar { margin-top: -80px; }
.stand-btn { flex: none; display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 .85rem var(--sans); cursor: pointer; text-decoration: none; }
.stand-btn[hidden] { display: none; }
.stand-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; padding: 2px 4px; }
.stand-n { flex: none; font: 800 .8rem var(--sans); color: #241703; background: var(--gold-2); border-radius: 999px; padding: 4px 9px; }
.stand-t { min-width: 0; display: grid; }
.stand-t strong, .stand-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stand-t strong { font: 600 1rem var(--sans); } .stand-t small { color: rgba(255, 255, 255, .7); font-size: .78rem; }
.stand-pg { flex: none; font: 600 .8rem var(--sans); color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.stand-menu { position: absolute; z-index: 3; top: 56px; left: 8px; right: 8px; max-width: 520px; max-height: 70vh; overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .45); padding: 6px; }
.stand-menu[hidden] { display: none; }
.stand-menu button { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 10px; font: 500 .95rem var(--sans); color: #0f1b2d; cursor: pointer; }
.stand-menu button:hover { background: #f5f1e8; }
.stand-menu button span { flex: 1; display: grid; } .stand-menu small { color: #6b7385; } .stand-menu em { color: #a35a00; font-size: .78rem; font-style: normal; }
.stand-view { position: relative; overflow: hidden; display: grid; place-items: center; background: #fff; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.stand-img { max-width: 100%; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; }
.stand.fit-width .stand-view { overflow-y: auto; display: block; }
.stand.fit-width .stand-img { width: 100%; max-height: none; display: block; }
.stand-empty { text-align: center; padding: 30px; color: #6b7385; } .stand-empty h2 { color: #0f1b2d; font-family: var(--serif); }
.stand-empty-n { font: 800 2.4rem var(--serif); color: var(--gold); margin: 0; } .stand-sub { font-size: .9rem; }
.stand-flash { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: grid; gap: 2px; text-align: center; padding: 12px 20px; border-radius: 14px; background: rgba(15, 27, 45, .92); color: #fff; box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .5); pointer-events: none; max-width: 90%; }
.stand-flash[hidden] { display: none; }
.stand-flash b { font: 600 1.15rem var(--serif); } .stand-flash span { font-size: .85rem; color: var(--gold-2); } .stand-flash em { font-size: .8rem; color: rgba(255, 255, 255, .75); }
.stand-help { position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; width: min(92%, 560px); text-align: center; font-size: .8rem; padding: 9px 14px; border-radius: 12px; background: rgba(15, 27, 45, .85); color: #fff; pointer-events: none; }
@media (max-width: 560px) { .stand-pg { display: none; } .stand-btn { min-width: 36px; height: 36px; padding: 0 8px; } }
.piece-notes { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }

/* eveniment cu corul */
.badge-choir { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font: 600 .8rem var(--sans); text-decoration: none; margin-left: 8px; }
/* mărirea partiturii (choir-zoom.js): doar partitura, în chenarul ei; se mută cu degetul / mouse-ul */
.zoom-seg { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.zoom-seg button { display: inline-grid; place-items: center; height: 32px; min-width: 32px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font: 600 .8rem var(--sans); cursor: pointer; }
.zoom-seg button:hover:not(:disabled) { background: var(--sand); }
.zoom-seg button:disabled { opacity: .35; cursor: default; }
.zoom-val { min-width: 50px; font-variant-numeric: tabular-nums; }
.score-view.zoomed { overflow: auto !important; justify-content: flex-start; justify-content: safe center; align-items: flex-start; user-select: none; -webkit-user-select: none; }
.score-view.zoomed img, .stand-view.zoomed img { flex: none; cursor: grab; -webkit-user-drag: none; }
.zoomed.dragging, .zoomed.dragging img { cursor: grabbing; }
.stand-view.zoomed { display: block; overflow: auto; }
.stand-view.zoomed .stand-img { display: block; margin: 0 auto; }
.stand-bar .zoom-seg { background: rgba(255, 255, 255, .1); border-color: transparent; flex: none; }
.stand-bar .zoom-seg button { color: #fff; }
.stand-bar .zoom-seg button:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
@media (max-width: 560px) { .stand-bar .zoom-val { display: none; } .score-bar .zoom-val { min-width: 44px; padding: 0 4px; } }
/* „Întreabă Biblia”: distribuire (5 nov 2026, Docs/FEATURE_Distribuire.md) */
.cp-share { margin: 34px auto 0; max-width: 760px; padding: 22px 24px; border-radius: 20px; text-align: center;
  background: linear-gradient(135deg, rgba(242, 201, 110, .14), rgba(255, 255, 255, .05)); border: 1px solid rgba(242, 201, 110, .32); }
.cp-share-t { margin: 0 0 14px; font: 600 1.15rem/1.35 var(--serif); color: #fff; }
.cp-share-t i { color: var(--gold-2); margin-right: 4px; }
.cp-share-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cp-status-btn { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.cp-status-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.res-share { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; justify-content: flex-end; }
.share-sheet { width: min(480px, calc(100vw - 24px)); border: 0; border-radius: 20px; padding: 0; color: var(--text); background: var(--card); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.share-sheet::backdrop { background: rgba(6, 10, 18, .62); }
.ss-in { position: relative; padding: 22px 22px 20px; }
.ss-in h3 { margin: 0 0 14px; font: 600 1.25rem var(--serif); } .ss-in h3 i { color: var(--gold); }
.ss-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--sand); color: var(--text); cursor: pointer; }
.ss-lbl { display: block; font: 600 .8rem var(--sans); color: var(--muted); margin-bottom: 6px; }
.share-sheet textarea { width: 100%; resize: vertical; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font: 400 .95rem/1.45 var(--sans); color: var(--text); background: var(--bg, #fff); }
.ss-url { margin: 6px 0 14px; font: 600 .85rem var(--sans); color: var(--gold); word-break: break-all; }
.ss-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ss-b { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: 600 .9rem var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.ss-b:hover { background: var(--sand); }
.ss-wa { background: #25d366; border-color: #25d366; color: #fff; } .ss-wa:hover { background: #1ebe5b; }
.ss-fb { background: #1877f2; border-color: #1877f2; color: #fff; } .ss-fb:hover { background: #166fe0; }
@media (max-width: 420px) { .ss-btns { grid-template-columns: 1fr; } }
.share-toast { position: fixed; z-index: 120; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  width: min(520px, calc(100vw - 24px)); padding: 12px 16px; border-radius: 14px; background: #0f1b2d; color: #fff; font: 500 .9rem/1.4 var(--sans);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); transition: opacity .2s, transform .2s; }
.share-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* programul evenimentului (6 nov 2026, Docs/FEATURE_Program_Eveniment.md) */
.ev-prog { margin: 0 0 28px; padding: 22px 22px 10px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ev-prog-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 6px; }
.ev-prog-head h2 { margin: 0; font: 600 1.5rem var(--serif); } .ev-prog-head h2 i { color: var(--gold); font-size: .85em; margin-right: 4px; }
.ev-prog-share { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-wa-btn { background: #25d366; color: #fff; border: 0; } .ss-wa-btn:hover { background: #1ebe5b; color: #fff; }
.ev-prog-choir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 4px; padding: 10px 14px; border-radius: 12px;
  background: rgba(217, 164, 65, .12); border: 1px solid rgba(217, 164, 65, .35); font-size: .92rem; }
.ev-prog-choir > i { color: var(--gold); } .ev-prog-choir span { flex: 1; min-width: 180px; }
.ev-sess + .ev-sess { margin-top: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.ev-sess-t { margin: 16px 0 8px; font: 700 .82rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ev-items { list-style: none; margin: 0; padding: 0; position: relative; }
.ev-items::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.ev-it { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; }
.ev-ic { flex: none; position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--ink, #0f1b2d); border: 2px solid var(--card); font-size: .85rem; }
.ev-it-choir .ev-ic { background: var(--ink, #0f1b2d); color: var(--gold-2); }
.ev-it-sermon .ev-ic { background: var(--gold); color: #241703; }
.ev-it-b { flex: 1; min-width: 0; display: grid; gap: 1px; padding-top: 1px; }
.ev-it-k { font: 700 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ev-it-b strong { font: 600 1.05rem/1.35 var(--sans); }
.ev-it-s { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.ev-score { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px;
  background: var(--ink, #0f1b2d); color: #fff; font: 600 .82rem var(--sans); text-decoration: none; }
.ev-score i { color: var(--gold-2); } .ev-score:hover { filter: brightness(1.15); }
.ev-prog-img { margin: 6px 0 8px 50px; font-size: .88rem; } .ev-prog-img a { color: var(--gold); font-weight: 600; }
@media (max-width: 560px) { .ev-prog { padding: 18px 14px 6px; } .ev-prog-share { width: 100%; } .ev-prog-share > * { flex: 1; justify-content: center; } }
/* „Acum” și anunțurile corului (6 nov 2026, Docs/FEATURE_Acum_Anunturi.md) */
.push-box { margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: #0f1b2d; color: #fff; display: grid; gap: 10px; }
.push-box[hidden] { display: none; }
.push-box.is-on { background: #12341f; }
.push-txt { margin: 0; font-size: .92rem; line-height: 1.45; } .push-txt > i { color: var(--gold-2); margin-right: 4px; }
.push-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.push-box .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.push-ios { margin: 0; font-size: .85rem; line-height: 1.45; color: rgba(255, 255, 255, .85); padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.ev-prog .push-box { margin: 12px 0 0; }
.ev-it.is-now { background: linear-gradient(90deg, rgba(217, 164, 65, .18), transparent 85%); border-radius: 12px; margin: 0 -10px; padding: 9px 10px; }
.ev-it.is-now .ev-ic { background: var(--gold); color: #241703; box-shadow: 0 0 0 4px rgba(217, 164, 65, .3); animation: now-pulse 1.8s ease-in-out infinite; }
.ev-it.is-now .ev-it-b::after { content: 'ACUM'; justify-self: start; margin-top: 3px; font: 800 .66rem var(--sans); letter-spacing: .14em; color: #fff; background: #c0392b; border-radius: 6px; padding: 2px 7px; }
@keyframes now-pulse { 50% { box-shadow: 0 0 0 9px rgba(217, 164, 65, 0); } }
.ann-banner { position: fixed; z-index: 130; left: 50%; top: calc(10px + env(safe-area-inset-top)); transform: translate(-50%, -140%); width: min(560px, calc(100vw - 20px));
  display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 16px; background: linear-gradient(135deg, #f2c96e, #d9a441); color: #241703;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .55); transition: transform .3s; }
.ann-banner.on { transform: translate(-50%, 0); }
.ann-in { flex: 1; min-width: 0; display: grid; gap: 2px; } .ann-in strong { font: 700 1rem/1.3 var(--sans); } .ann-in span { font-size: .85rem; }
.ann-go { background: #0f1b2d; color: #fff; border: 0; } .ann-x { border: 0; background: rgba(0, 0, 0, .12); color: #241703; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; }
/* panoul „Acum” */
.live-page { padding: 18px 0 60px; }
.live-wrap { max-width: 640px; }
.live-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: .88rem; margin: 0 0 6px; } .live-top a { color: var(--muted); }
.live-subs { color: var(--muted); } .live-subs i { color: var(--gold); }
.live-h { font: 600 1.5rem/1.2 var(--serif); margin: 0 0 14px; }
.live-flash { padding: 10px 14px; border-radius: 12px; background: #e7f6ec; color: #1d5a33; font-weight: 600; } .live-flash.live-err { background: #fdecea; color: #8a2a1e; }
.live-now { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #0f1b2d; color: #fff; margin-bottom: 12px; }
.live-k { font: 800 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.live-now strong { font: 600 1.3rem/1.3 var(--sans); } .live-s { color: rgba(255, 255, 255, .75); font-size: .9rem; }
.live-next { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: rgba(255, 255, 255, .8); }
.live-ann { margin: 0 0 12px; padding: 14px; border-radius: 16px; border: 2px dashed var(--gold); background: #fffaf0; }
.live-ann.is-soon { border-style: solid; background: #fff3d6; animation: soon 1.4s ease-in-out infinite; }
@keyframes soon { 50% { box-shadow: 0 0 0 6px rgba(217, 164, 65, .25); } }
.live-ann-t { margin: 0 0 8px; font-weight: 700; } .live-sent { color: #1d7a43; }
.live-ann-b { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.live-big { width: 100%; min-height: 64px; border: 0; border-radius: 16px; font: 700 1.1rem var(--sans); cursor: pointer; background: var(--sand); color: var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; }
.live-big small { font: 500 .85rem var(--sans); opacity: .85; }
.live-big:disabled { opacity: .4; cursor: default; }
.live-gold { background: linear-gradient(135deg, #f2c96e, #d9a441); color: #241703; } .live-dark { background: #0f1b2d; color: #fff; }
.live-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-bottom: 14px; } .live-nav form { margin: 0; }
.live-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.live-list form { margin: 0; }
.live-list button { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--text); }
.live-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font: 700 .8rem var(--sans); }
.live-b { display: grid; gap: 1px; } .live-b em { font: 700 .66rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.live-b small { color: var(--muted); }
.live-list .is-now button { border: 2px solid var(--gold); background: #fff8e8; } .live-list .is-now .live-n { background: var(--gold); color: #241703; }
.live-list .is-done button { opacity: .55; }
.live-list .live-choir .live-n { background: #0f1b2d; color: var(--gold-2); }
.live-stop { margin: 0 0 16px; }
.live-msg { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.live-msg summary { cursor: pointer; font-weight: 600; } .live-msg form { display: grid; gap: 8px; margin-top: 10px; }
.live-msg input, .live-msg textarea { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.live-msg label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.live-log h2 { font: 600 1.05rem var(--serif); margin: 0 0 6px; } .live-log p { margin: 0 0 4px; font-size: .88rem; } .live-log span { color: var(--muted); }
.push-box [hidden] { display: none !important; }   /* .btn are display propriu — fără asta butoanele ascunse se vedeau */
.push-help { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: .88rem; line-height: 1.5; }
.push-help p { margin: 0 0 6px; } .push-help ol { margin: 0 0 10px; padding-left: 20px; } .push-help li { margin-bottom: 3px; }
/* program încheiat azi din panoul „Acum” (7 nov 2026) */
.badge.badge-done { background: #334155; color: #fff; }
.ev-prog-done { margin: 12px 0 4px; padding: 10px 14px; border-radius: 12px; background: #eef2f6; color: #334155; font-weight: 600; font-size: .92rem; }
.ev-prog-done i { color: #1d7a43; margin-right: 4px; }
.live-now.live-ended { background: #12341f; } .live-ended .live-k { color: #9fe0b5; }
.live-nav-1 { display: block; margin: 0 0 14px; }
.live-end { margin: 0 0 14px; } .live-end .live-big { background: #fff; border: 2px solid #334155; color: #334155; min-height: 52px; }
.live-end.is-last .live-big { background: #334155; color: #fff; }

/* ---------- „Ne-am mutat” (FEATURE_Domeniu.md) ---------- */
.moved-bar { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto;
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 16px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: moved-in .35s ease-out; }
.moved-bar > i { color: var(--gold); font-size: 1.2rem; margin-top: 2px; }
.moved-bar p { margin: 0; font-size: .92rem; line-height: 1.45; flex: 1; }
.moved-bar button { background: none; border: 0; color: #fff; opacity: .7; font-size: 1.1rem; padding: 2px 4px; cursor: pointer; }
.moved-bar button:hover { opacity: 1; }
@keyframes moved-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .moved-bar { animation: none; } }
