/* Движок приглашений: общая вёрстка. Цвета и шрифты приходят из темы через CSS-переменные. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--fb), sans-serif; font-weight: 400; font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.page { max-width: 480px; margin: 0 auto; background: var(--card); min-height: 100vh; position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,.08); }
.pattern-bg { background-color: var(--bg); background-image: var(--pattern); background-size: var(--pattern-size, 120px); }
body.pattern-on { background-image: var(--pattern); background-size: var(--pattern-size, 120px); }

.fd { font-family: var(--fd), serif; }
.names-font { font-family: var(--fs, var(--fd)), serif; }
.has-script .names-font { font-style: normal; }

/* ───── Обложка-конверт ───── */
.cover { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; background-color: var(--bg); background-image: var(--pattern); background-size: var(--pattern-size, 120px);
  transition: opacity .9s ease, visibility .9s; }
.cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, var(--card) 0%, transparent 70%); opacity: .9; }
.cover > * { position: relative; }
.cover.hidden { opacity: 0; visibility: hidden; }
.cover .to { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.cover .cover-names { font-size: 42px; line-height: 1.1; color: var(--accent); margin: 14px 0 28px; font-style: italic; }
.has-script .cover .cover-names { font-style: normal; font-size: 50px; }
.seal { width: 104px; height: 104px; border: none; background: none; cursor: pointer; animation: pulse 2.4s ease-in-out infinite; color: var(--deco); position: relative; }
.seal svg { width: 100%; height: 100%; }
.seal span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--fd), serif; font-size: 26px; font-style: italic; color: var(--seal-ink, #fff); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.cover .hint { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ───── Язык и музыка ───── */
.lang { position: fixed; top: 14px; right: 14px; z-index: 40; display: flex; border: 1px solid var(--deco); border-radius: 20px; overflow: hidden;
  background: color-mix(in srgb, var(--card) 85%, transparent); backdrop-filter: blur(6px); }
.lang button { border: none; background: none; padding: 6px 12px; font: 500 12px var(--fb), sans-serif; color: var(--muted); cursor: pointer; }
.lang button.on { background: var(--deco); color: var(--card); }
.music-btn { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--deco);
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(6px); color: var(--accent); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 3px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.music-btn i { width: 3px; height: 8px; background: currentColor; border-radius: 2px; }
.music-btn.playing i { animation: eq 1s ease-in-out infinite; }
.music-btn.playing i:nth-child(2) { animation-delay: .2s; } .music-btn.playing i:nth-child(3) { animation-delay: .4s; } .music-btn.playing i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%,100% { height: 6px; } 50% { height: 20px; } }
.music-btn:not(.playing)::after { content: ''; position: absolute; width: 30px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }

/* ───── Секции ───── */
section { padding: 52px 28px; text-align: center; position: relative; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
h2 { font-family: var(--fd), serif; font-weight: 500; font-size: 31px; line-height: 1.2; color: var(--accent); margin-bottom: 18px; }
.divider { display: flex; justify-content: center; color: var(--deco); margin: 4px auto; }
.divider svg { width: 190px; height: 34px; }
.soft-sec { background: var(--soft); }

/* ───── Обложка приглашения (5 раскладок) ───── */
.hero { position: relative; padding: 70px 28px 54px; text-align: center; overflow: hidden; }
.hero .kicker { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--deco); }
.hero .names { font-weight: 400; font-size: 54px; line-height: 1.05; color: var(--accent); margin: 22px 0 8px; font-style: italic; }
.has-script .hero .names { font-style: normal; font-size: 60px; }
.hero .names.long { font-size: 42px; }
.hero .amp { display: block; font-size: 32px; color: var(--deco); margin: 2px 0; }
.hero .date-big { font-family: var(--fd), serif; font-size: 24px; letter-spacing: .1em; margin-top: 16px; }
.hero .weekday { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.corner { position: absolute; width: 110px; height: 110px; color: var(--deco); opacity: .9; pointer-events: none; }
.corner svg { width: 100%; height: 100%; }
.corner.tl { top: 8px; left: 8px; } .corner.tr { top: 8px; right: 8px; transform: scaleX(-1); }
.corner.bl { bottom: 8px; left: 8px; transform: scaleY(-1); } .corner.br { bottom: 8px; right: 8px; transform: scale(-1); }

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* classic: фото сверху с плавным переходом */
.hero--classic .hero-photo { margin: -70px -28px 10px; aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.hero--classic .hero-photo img { animation: slowzoom 14s ease-out both; }
.hero--classic .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--card) 100%); }
.hero--classic:not(.with-photo) { padding-top: 90px; }
.hero--classic:not(.with-photo)::before, .hero--frame::before { content: ''; position: absolute; inset: 14px; border: 1px solid var(--deco); opacity: .55; pointer-events: none; }
.hero--classic:not(.with-photo)::after, .hero--frame::after { content: ''; position: absolute; inset: 20px; border: 1px solid var(--deco); opacity: .3; pointer-events: none; }

/* arch: фото в арке на фоне орнамента */
.hero--arch { background-color: var(--bg); background-image: var(--pattern); background-size: var(--pattern-size, 120px); padding-top: 56px; }
.hero--arch .hero-photo { width: 76%; margin: 0 auto 6px; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden;
  outline: 1px solid var(--deco); outline-offset: 7px; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.hero--arch .names { margin-top: 26px; }
.hero--arch::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--card)); }
.hero--arch > *:not(.corner) { position: relative; z-index: 1; }
.hero--arch .corner { z-index: 1; }

/* full: фото на весь экран, текст поверх */
.hero--full { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 70px; }
.hero--full .hero-photo { position: absolute; inset: 0; }
.hero--full .hero-photo img { animation: slowzoom 16s ease-out both; }
.hero--full .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.62) 100%); }
.hero--full.with-photo .names, .hero--full.with-photo .date-big { color: #fff; }
.hero--full.with-photo .kicker, .hero--full.with-photo .weekday { color: rgba(255,255,255,.85); }
.hero--full.with-photo .amp { color: rgba(255,255,255,.8); }
.hero--full > *:not(.hero-photo):not(.corner) { position: relative; z-index: 1; }
.hero--full:not(.with-photo) { background-image: var(--pattern); background-size: var(--pattern-size, 120px); justify-content: center; }

/* circle: круглое фото */
.hero--circle .hero-photo { width: 230px; height: 230px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden;
  outline: 2px solid var(--deco); outline-offset: 8px; box-shadow: 0 0 0 16px var(--soft); }
.hero--circle { padding-top: 64px; background: radial-gradient(circle at 50% 30%, var(--soft) 0, transparent 60%); }

/* frame: имена в двойной рамке, фото ниже отдельным блоком */
.hero--frame { padding: 100px 40px 90px; }
.frame-photo { padding: 0 28px; }
.frame-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid var(--deco); outline-offset: 8px; }

/* ───── Текст приглашения ───── */
.invite-text { font-family: var(--fd), serif; font-size: 20px; line-height: 1.55; }
.hosts { margin-top: 18px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.hosts b { display: block; font-family: var(--fd), serif; font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--accent); margin-top: 4px; }

/* ───── Пара ───── */
.couple { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.couple figure { margin: 0; }
.couple img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 14px 14px; padding: 5px; border: 1px solid var(--deco); background: var(--card); }
.couple figcaption { font-size: 26px; color: var(--accent); margin-top: 10px; font-style: italic; }
.has-script .couple figcaption { font-style: normal; font-size: 30px; }
.couple figcaption small { display: block; font-family: var(--fb), sans-serif; font-style: normal; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ───── Обратный отсчёт ───── */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { background: var(--soft); border: 1px solid color-mix(in srgb, var(--deco) 40%, transparent); border-radius: 12px; padding: 14px 4px 10px; }
.countdown b { display: block; font-family: var(--fd), serif; font-size: 32px; font-weight: 500; color: var(--accent); line-height: 1; }
.countdown small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ───── Кнопки ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 30px;
  font: 500 13px var(--fb), sans-serif; letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 1px solid var(--deco);
  color: var(--accent); background: transparent; transition: background .2s, color .2s; }
.btn:hover { background: var(--soft); }
.btn.solid { background: var(--deco); color: var(--card); border-color: var(--deco); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.btn svg { width: 16px; height: 16px; }

/* ───── Место ───── */
.venue-name { font-family: var(--fd), serif; font-size: 27px; font-weight: 500; color: var(--accent); line-height: 1.25; }
.venue-addr { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ───── Программа ───── */
.timeline { text-align: left; max-width: 330px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 62px; top: 10px; bottom: 10px; width: 1px; background: color-mix(in srgb, var(--deco) 50%, transparent); }
.timeline .item { display: flex; gap: 30px; padding: 10px 0; position: relative; }
.timeline .time { width: 46px; flex-shrink: 0; font-family: var(--fd), serif; font-size: 20px; font-weight: 600; color: var(--deco); }
.timeline .item::after { content: ''; position: absolute; left: 58px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--card); border: 1px solid var(--deco); }

/* ───── Галерея ───── */
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -28px; padding: 0 28px 8px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; scroll-snap-align: center; }

/* ───── Дресс-код ───── */
.dress-style { display: inline-block; margin: 0 0 14px; padding: 10px 22px; border: 1px solid var(--deco); border-radius: 30px; }
.dress-style b { display: block; font-family: var(--fd), serif; font-size: 23px; font-weight: 500; color: var(--accent); line-height: 1.2; }
.dress-style small { font-size: 12px; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.swatches figure { margin: 0; width: 60px; }
.swatches span { display: block; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--deco); position: relative; }
.swatches figcaption { font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.swatches.no figure { width: auto; max-width: 180px; }
.swatches.no span::after { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: #c0503c; transform: rotate(45deg); }
.avoid-title { margin-top: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #c0503c; }
.dress-for { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
.dress-for div { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.dress-for b { display: block; font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--deco); margin-bottom: 2px; }
.looks { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 22px -28px 0; padding: 0 28px 8px; scrollbar-width: none; }
.looks::-webkit-scrollbar { display: none; }
.looks figure { flex: 0 0 62%; scroll-snap-align: center; margin: 0; }
.looks img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.looks figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.hint-line { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ───── Анкета гостя ───── */
form.rsvp-form { max-width: 340px; margin: 0 auto; text-align: left; }
.rsvp-form label.l { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.rsvp-form input[type=text], .rsvp-form input[type=number], .rsvp-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--deco) 55%, transparent); border-radius: 10px;
  background: var(--card); font: 400 15px var(--fb), sans-serif; color: var(--ink); outline: none; }
.rsvp-form input:focus, .rsvp-form textarea:focus { border-color: var(--deco); }
.rsvp-form textarea { resize: vertical; min-height: 70px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice input { display: none; }
.choice label { text-align: center; padding: 13px 8px; border: 1px solid color-mix(in srgb, var(--deco) 55%, transparent); border-radius: 10px;
  background: var(--card); cursor: pointer; font-size: 14px; transition: all .2s; }
.choice input:checked + label { background: var(--deco); border-color: var(--deco); color: var(--card); }
.rsvp-form .btn { width: 100%; margin-top: 26px; }
.thanks { display: none; padding: 20px 0; }
.thanks .big { font-size: 36px; color: var(--accent); font-style: italic; }
.deadline { font-size: 14px; color: var(--muted); }

/* ───── Контакты и подвал ───── */
.contact + .contact { margin-top: 26px; }
.contact .who { font-size: 13px; color: var(--muted); }
.contact .phone { font-family: var(--fd), serif; font-size: 24px; color: var(--accent); }
footer { padding: 50px 28px 90px; text-align: center; background: linear-gradient(0deg, var(--soft), var(--card)); }
footer .names { font-size: 36px; color: var(--accent); font-style: italic; }
.has-script footer .names { font-style: normal; font-size: 42px; }
footer p { font-size: 13px; color: var(--muted); margin-top: 8px; }
footer .credit { font-size: 10px; opacity: .7; margin-top: 18px; }
footer .made { font-size: 11px; margin-top: 14px; }
footer .made a { color: var(--muted); }

/* ═════════ Дизайны v2: художественная основа ═════════ */
.hero--art { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--art) center / cover no-repeat, var(--bg); padding: 22% 15%; }
.hero--art .art-text { display: flex; flex-direction: column; align-items: center; }
.hero--art .kicker { font-size: 10px; letter-spacing: .38em; color: var(--accent); opacity: .9; }
.hero--art .names { font-size: 64px; line-height: .95; margin: 18px 0 14px; color: var(--accent); }
.has-script .hero--art .names { font-size: 72px; }
.hero--art .names.long { font-size: 50px; }
.has-script .hero--art .names.long { font-size: 56px; }
.hero--art .amp { font-size: 34px; margin: 6px 0; color: var(--deco); }
.date-trio { display: flex; align-items: center; gap: 14px; color: var(--accent); font-family: var(--fd), serif; }
.date-trio b { font-size: 46px; font-weight: 500; line-height: 1; padding: 0 14px; border-left: 1px solid var(--deco); border-right: 1px solid var(--deco); }
.date-trio span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; width: 92px; }
.date-trio span:first-child { text-align: right; }
.date-trio span:last-child { text-align: left; }
.date-time { margin-top: 10px; font-family: var(--fd), serif; font-size: 18px; letter-spacing: .2em; color: var(--accent); }
/* арт + фото клиента в арке */
.hero--art-arch { justify-content: flex-start; padding-top: 26%; }
.arch-photo { width: 56%; aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px; overflow: hidden; outline: 1px solid var(--deco); outline-offset: 6px; margin-bottom: 18px; box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero--art-arch .names { font-size: 52px; margin: 10px 0; }
.has-script .hero--art-arch .names { font-size: 58px; }
.hero--art-arch .date-trio b { font-size: 36px; }
/* полоса орнамента из арта между разделами */
.art-band { height: 96px; background: var(--art) center top / cover no-repeat; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); opacity: .95; }
footer .art-band { background-position: center bottom; -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%); margin: -50px -28px 20px; }
.has-art .cover { background: var(--art) center / cover no-repeat, var(--bg); }
.has-art .cover::before { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 70%); }
.has-art .cover .cover-names { color: var(--accent); }

/* ═════════ Фото-дизайн «Кино» ═════════ */
.hero--cinema { min-height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 64px 26px 80px; color: #fff; overflow: hidden; background: var(--bg); }
.hero--cinema .cin-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowzoom 16s ease-out both; }
.hero--cinema::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 35%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.55)); }
.hero--cinema > *:not(.cin-bg) { position: relative; z-index: 2; }
.hero--cinema .kicker { color: rgba(255,255,255,.9); letter-spacing: .5em; font-size: 10px; text-align: center; }
.hero--cinema .names { color: #fff; font-size: 74px; line-height: .9; text-align: center; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.has-script .hero--cinema .names { font-size: 82px; }
.hero--cinema .names.long { font-size: 58px; }
.hero--cinema .amp { color: rgba(255,255,255,.85); font-size: 40px; }
.cin-date { display: flex; flex-direction: column; font-family: var(--fd), serif; font-style: italic; font-size: 52px; line-height: .95; color: #fff; }
.cin-sub { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-top: 10px; }
.torn { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; z-index: 3; }

/* ═════════ Фото-дизайн «Журнал» ═════════ */
.hero--editorial { padding: 0 0 46px; text-align: center; background: var(--card); }
.ed-photo { position: relative; height: 68svh; min-height: 420px; overflow: hidden; }
.ed-photo img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 16s ease-out both; }
.ed-body { padding: 18px 28px 0; }
.mono { display: inline-flex; align-items: center; gap: 18px; font-family: var(--fd), serif; font-size: 44px; color: var(--accent); letter-spacing: .05em; }
.mono i { width: 1px; height: 46px; background: var(--deco); }
.hero--editorial .kicker { margin-top: 10px; color: var(--deco); }
.hero--editorial .names { font-size: 52px; margin: 12px 0 10px; color: var(--accent); }
.has-script .hero--editorial .names { font-size: 58px; }
.ed-date { font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }

/* фото клиента в арт-дизайне — рамка в цвет орнамента */
.has-art .frame-photo img { outline-color: var(--deco); }
.cover .cover-names { max-width: 92vw; overflow-wrap: anywhere; }
.cover .cover-names .amp { display: block; font-size: .6em; margin: 4px 0; }

/* ═════════ Типографика дизайнов ═════════ */
.typo-serif .names-font { font-style: italic; font-weight: 400; }
.typo-caps .names-font { font-style: normal; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.typo-caps .hero--art .names { font-size: 46px; line-height: 1.1; }
.typo-caps .hero--art .names.long { font-size: 36px; }
.typo-caps .hero--art .amp { font-size: 22px; letter-spacing: 0; }
.typo-display .names-font { font-style: normal; }
.typo-display .hero--art .names { font-size: 56px; }
.typo-bold .names-font { font-style: normal; font-weight: 700; letter-spacing: -.01em; }
.typo-bold .hero--art .names { font-size: 48px; line-height: 1.02; }
.typo-bold .hero--art .names.long { font-size: 38px; }
.typo-caps footer .names, .typo-caps .couple figcaption, .typo-bold footer .names { font-size: 26px; }
.date-line { font-family: var(--fd), serif; color: var(--accent); font-size: 26px; letter-spacing: .14em; }
.date-slash { font-size: 34px; letter-spacing: .06em; font-style: italic; }
.date-words { font-size: 22px; letter-spacing: .08em; }
.date-dots { font-size: 22px; letter-spacing: .2em; }
.date-line + .date-time { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin-top: 8px; }

/* Читаемость: на светлой странице-карточке — «безопасные» акцентные цвета (обложка на тёмном фоне остаётся как есть) */
.page > section:not(.hero), .page > footer, .page > .details, .page > div:not(.hero):not(.cover) { --accent: var(--accent-card); --deco: var(--deco-card); --muted: var(--muted-card); }
.btn.solid, .lang button.on, .choice input:checked + label { color: var(--on-deco); }
.tpl-hero:not(.tpl-cinema):not(.tpl-cover) { --deco: var(--deco-bg); }
