/* «Жүрөк» (zhurok) — стили авторской страницы chakyruu.digital. Все цвета — переменные --zh-*, готовые сочетания — html[data-tone]. */
@font-face{font-family:"French Kiss KG";src:url(/assets/zhurok/fonts/french-kiss-kg-699e1d14bc763e991a684872bcbaf6aa.woff2) format("woff2");font-display:swap}
@font-face{font-family:"MADE The Artist Script";src:url(/assets/zhurok/fonts/made-the-artist-script-e756c0256d9d062e5b2ba615f6f796ae.otf) format("opentype");font-display:swap}

:root,html[data-tone="grey"]{
  --zh-bg:#ecebe9;      /* фон страницы */
  --zh-bg2:#e2e0dd;     /* бумажные карточки за фото, поле анкеты */
  --zh-ink:#2e2b2a;     /* основной текст */
  --zh-soft:#77716d;    /* подписи, капс */
  --zh-acc:#4a2a24;     /* шоколад: сердце, кнопки, линия, рамка */
  --zh-acc-ink:#f6f1ec; /* текст на шоколаде */
  --zh-script:#3b3634;  /* рукописные имена */
}
html[data-tone="milk"]{--zh-bg:#f4efe8;--zh-bg2:#ebe3d8;--zh-ink:#2f2925;--zh-soft:#857a70;--zh-acc:#4f2e24;--zh-acc-ink:#f8f3ec;--zh-script:#3e3530}
html[data-tone="white"]{--zh-bg:#fbfbfa;--zh-bg2:#efeeec;--zh-ink:#1f1f1f;--zh-soft:#7b7b7b;--zh-acc:#2a2a2a;--zh-acc-ink:#fafafa;--zh-script:#262626}
html[data-tone="powder"]{--zh-bg:#f1e6e3;--zh-bg2:#e8d8d4;--zh-ink:#33262a;--zh-soft:#8a7277;--zh-acc:#5b2f40;--zh-acc-ink:#fbf2f1;--zh-script:#40292f}

*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{background:#d9d7d4;-webkit-text-size-adjust:100%}
body{max-width:440px;margin:0 auto;background:var(--zh-bg);color:var(--zh-ink);font:400 17px/1.5 "Cormorant Garamond",Georgia,serif;overflow-x:hidden;min-height:100vh;position:relative;-webkit-font-smoothing:antialiased}
body.zhurok-locked{overflow:hidden;height:100vh}
img{display:block;max-width:100%}
img[data-zhurok-crop]{max-width:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.zhurok-caps{font-family:"Cormorant SC","Cormorant Garamond",serif;font-weight:500;letter-spacing:.14em;text-transform:uppercase;font-size:13px;color:var(--zh-soft)}
.zhurok-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
main{overflow-x:clip}
main>section{position:relative;padding:46px 28px;text-align:center}

/* сердце — картинка-маска (assets/heart_date.webp), красится акцентом */
.zhurok-heart{display:block;width:44px;aspect-ratio:360/317;background:var(--zh-acc);
  -webkit-mask:url(/assets/zhurok/heart_date-3cd5d173a4faa59fd6a75e07240bc216.webp) center/contain no-repeat;mask:url(/assets/zhurok/heart_date-3cd5d173a4faa59fd6a75e07240bc216.webp) center/contain no-repeat}

/* имена лесенкой: первое слева, «&» в центре, второе справа */
.zhurok-names{display:flex;flex-direction:column;font-weight:400;line-height:1}
.zhurok-nm{font-family:"MADE The Artist Script",cursive;color:var(--zh-script);font-size:clamp(48px,15.8vw,64px);line-height:1.2;white-space:nowrap}
.zhurok-nm.a{align-self:flex-start;padding-left:4%}
.zhurok-nm.b{align-self:flex-end;padding-right:4%}
.zhurok-amp{align-self:center;font-family:"Cormorant Garamond",serif;font-style:italic;font-weight:300;font-size:46px;color:var(--zh-soft);margin:-4px 0}
.zhurok-names.one .zhurok-nm.a{align-self:center;padding:0}
.zhurok-one-heart{width:30px;margin:14px auto 0}

/* ===== загрузка ===== */
.zhurok-loader{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:var(--zh-bg);transition:opacity .7s}
.zhurok-loader .zhurok-heart{width:38px;animation:zhurok-beat 1.1s ease-in-out infinite}
.zhurok-loader.out{opacity:0;pointer-events:none}
@keyframes zhurok-beat{0%,100%{transform:scale(1)}30%{transform:scale(1.14)}55%{transform:scale(.98)}}

/* ===== верхние кнопки ===== */
.zhurok-top{position:fixed;z-index:50;top:12px;left:50%;width:min(440px,100%);transform:translateX(-50%);display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:0 12px;pointer-events:none}
.zhurok-top>*{pointer-events:auto}
.zhurok-lang{font:600 11px/1 "Cormorant SC",serif;letter-spacing:.14em;text-transform:uppercase;color:var(--zh-ink);text-decoration:none;padding:8px 10px;border:1px solid var(--zh-ink);border:1px solid color-mix(in srgb,var(--zh-ink) 30%,transparent);border-radius:20px;background:var(--zh-bg)}
.zhurok-music{position:relative;width:58px;height:58px;border-radius:50%;background:var(--zh-bg);display:grid;place-items:center;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.zhurok-music-ring{position:absolute;inset:0;width:100%;height:100%;animation:zhurok-spin 14s linear infinite;animation-play-state:paused}
.zhurok-music.on .zhurok-music-ring{animation-play-state:running}
.zhurok-music-ring text{font:600 10.5px "Cormorant SC",serif;letter-spacing:.12em;fill:var(--zh-ink);text-transform:uppercase}
.zhurok-music-ic{width:26px;height:26px;border-radius:50%;background:var(--zh-ink);position:relative}
.zhurok-music-ic::before{content:"";position:absolute;left:10px;top:7.5px;border-left:8px solid var(--zh-bg);border-top:5.5px solid transparent;border-bottom:5.5px solid transparent}
.zhurok-music.on .zhurok-music-ic::before{left:8.5px;top:8px;width:9px;height:10px;border:0;border-left:3px solid var(--zh-bg);border-right:3px solid var(--zh-bg)}
@keyframes zhurok-spin{to{transform:rotate(360deg)}}
body.zhurok-locked .zhurok-top{opacity:0;pointer-events:none}
.zhurok-top{transition:opacity .6s .4s}

/* ===== ОБЛОЖКА ===== */
.zhurok-cover{position:fixed;z-index:70;inset:0;left:50%;width:min(440px,100%);transform:translateX(-50%);background:var(--zh-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5vh;padding:9vh 26px 8vh;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .9s ease,filter .9s ease}
.zhurok-cover-ev{text-align:center;color:var(--zh-ink);font-size:14px}
.zhurok-cover-ev span{display:inline}
.zhurok-cover-names{width:100%;max-width:340px}
.zhurok-cover-names .zhurok-nm{font-size:clamp(46px,13.8vw,60px)}
.zhurok-cover-act{display:flex;flex-direction:column;align-items:center;gap:14px}
.zhurok-cover-addr{font-style:italic;font-size:18px;color:var(--zh-soft);text-align:center;line-height:1.3}
.zhurok-cover-to{display:block;font-style:normal;font-family:"Cormorant SC",serif;letter-spacing:.06em;color:var(--zh-ink);font-size:19px}
.zhurok-open{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:230px;padding:17px 30px;border-radius:40px;background:var(--zh-acc);color:var(--zh-acc-ink);
  font:600 15px/1.1 "Cormorant SC",serif;letter-spacing:.16em;text-transform:uppercase;box-shadow:0 10px 26px -12px var(--zh-acc);box-shadow:0 10px 26px -12px color-mix(in srgb,var(--zh-acc) 80%,transparent);animation:zhurok-press 2.4s ease-in-out infinite}
.zhurok-open b{font-weight:600;position:relative;z-index:1}
.zhurok-open-ring{position:absolute;inset:0;border-radius:40px;border:1.5px solid var(--zh-acc);animation:zhurok-ring 2.4s ease-out infinite;pointer-events:none}
.zhurok-open-ring.r2{animation-delay:.5s}
.zhurok-hand{position:absolute;right:-6px;bottom:-34px;width:52px;height:52px;background:var(--zh-ink);opacity:.85;
  -webkit-mask:url(/assets/zhurok/hand_tap-b50b9536b0170cfd744a8d62eddea1c2.webp) center/contain no-repeat;mask:url(/assets/zhurok/hand_tap-b50b9536b0170cfd744a8d62eddea1c2.webp) center/contain no-repeat;animation:zhurok-tap 2.4s ease-in-out infinite}
.zhurok-cover-hint{font-size:12px;margin-top:22px}
@keyframes zhurok-ring{0%{opacity:.7;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.28,1.7)}}
@keyframes zhurok-press{0%,58%,100%{transform:scale(1)}64%{transform:scale(.95)}72%{transform:scale(1.02)}}
@keyframes zhurok-tap{0%,40%{transform:translate(10px,10px);opacity:0}52%{transform:translate(0,0);opacity:.85}62%{transform:translate(-2px,-4px) scale(.92)}78%{transform:translate(0,0);opacity:.85}100%{transform:translate(8px,10px);opacity:0}}
.zhurok-cover.open{opacity:0;filter:blur(6px);pointer-events:none}

/* ===== HERO ===== */
.zhurok-hero{min-height:100vh;min-height:100svh;padding:76px 22px 84px!important;display:flex;flex-direction:column;align-items:center}
.zhurok-hero-ev{color:var(--zh-ink);font-size:14px;margin-bottom:22px}
.zhurok-hero-names{width:100%;max-width:340px;margin-bottom:28px}
.zhurok-note{font-style:italic;font-size:20px;color:var(--zh-soft);margin:-12px 0 22px}
/* фото из двух половин: обе копии одного кадра, каждая обрезана по своей половине */
.zhurok-split{position:relative;width:86%;aspect-ratio:3/4;margin:0 auto}
.zhurok-split img{--photo-pos:50% 30%;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;filter:grayscale(1) contrast(1.05) brightness(.96)}
.zhurok-split .zhurok-half{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.zhurok-split>img:not(.zhurok-half){visibility:hidden}
.zhurok-half{transition:transform 1.5s cubic-bezier(.2,.75,.2,1),opacity 1.1s ease}
.zhurok-half.l{clip-path:inset(0 50% 0 0)}
.zhurok-half.r{clip-path:inset(0 0 0 50%)}
body.zhurok-locked .zhurok-half.l{transform:translate(-18%,-9%);opacity:0}
body.zhurok-locked .zhurok-half.r{transform:translate(18%,9%);opacity:0}
.zhurok-hero-names,.zhurok-hero-ev,.zhurok-note{transition:opacity 1.2s ease .7s,transform 1.2s ease .7s}
body.zhurok-locked .zhurok-hero-names,body.zhurok-locked .zhurok-hero-ev,body.zhurok-locked .zhurok-note{opacity:0;transform:translateY(14px)}
.zhurok-hero.nophoto{justify-content:center}
.zhurok-hero.nophoto .zhurok-hero-names .zhurok-nm{font-size:clamp(54px,16.4vw,68px)}
.zhurok-hero.nophoto .zhurok-hero-names::after{content:"";display:block;margin:30px auto 0;width:40px;aspect-ratio:360/317;background:var(--zh-acc);-webkit-mask:url(/assets/zhurok/heart_date-3cd5d173a4faa59fd6a75e07240bc216.webp) center/contain no-repeat;mask:url(/assets/zhurok/heart_date-3cd5d173a4faa59fd6a75e07240bc216.webp) center/contain no-repeat}
.zhurok-hero.nophoto.one .zhurok-hero-names::after{display:none}
/* подсказка прокрутки: тонкая нить, по которой вниз скользит сердце */
.zhurok-scroll{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;opacity:0;transition:opacity .8s}
body.zhurok-shown .zhurok-scroll{opacity:1;transition-delay:2.4s}
.zhurok-scroll.off{opacity:0!important;transition-delay:0s!important}
.zhurok-scroll-ln{position:relative;display:block;width:1px;height:46px;background:var(--zh-ink);background:color-mix(in srgb,var(--zh-ink) 35%,transparent)}
.zhurok-scroll-ln .zhurok-heart{position:absolute;left:50%;top:0;width:14px;margin-left:-7px;animation:zhurok-slide 2.2s ease-in-out infinite}
.zhurok-scroll span{font-size:11px;white-space:nowrap}
@keyframes zhurok-slide{0%{transform:translateY(-4px);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateY(40px);opacity:0}}

/* ===== общие заголовки и появление ===== */
.zhurok-ttl{font-family:"Cormorant SC",serif;font-weight:500;font-size:16px;letter-spacing:.2em;text-transform:uppercase;color:var(--zh-ink);margin-bottom:26px}
.zhurok-script-ttl{font-family:"French Kiss KG",cursive;font-weight:400;font-size:46px;line-height:1.1;color:var(--zh-script);margin-bottom:18px}
.zhurok-sub{margin-bottom:12px}
.zhurok-rv{opacity:0;transform:translateY(22px);transition:opacity 1.1s ease var(--d,.1s),transform 1.1s cubic-bezier(.2,.7,.2,1) var(--d,.1s),filter 1.1s ease var(--d,.1s)}
.zhurok-rv.l{transform:translateX(-40px)}
.zhurok-rv.r{transform:translateX(40px)}
.zhurok-rv.z{transform:scale(.92);filter:blur(4px)}
.zhurok-rv.in{opacity:1;transform:none;filter:none}
/* заголовки — три анимации по кругу (JS ставит t0/t1/t2 среди видимых секций) */
.zhurok-ttl .w,.zhurok-script-ttl .w{display:inline-block;transition:opacity .9s ease calc(var(--i)*.09s + .1s),transform .9s ease calc(var(--i)*.09s + .1s),filter .9s ease calc(var(--i)*.09s + .1s)}
.t0 .w{opacity:0;filter:blur(6px)}
.t1 .w{opacity:0;transform:translateY(.6em)}
.t2{opacity:0;transform:translateY(12px);transition:opacity 1.4s ease .1s,transform 1.4s cubic-bezier(.5,0,.2,1) .1s}
.t0.in .w,.t1.in .w{opacity:1;filter:none;transform:none}
.t2.in{opacity:1;transform:none}

/* ===== приглашение ===== */
.zhurok-greet{padding-top:52px!important}
.zhurok-kick{margin-bottom:10px}
.zhurok-hello{font-family:"Cormorant SC",serif;font-weight:500;font-size:24px;line-height:1.3;letter-spacing:.06em;color:var(--zh-ink);margin-bottom:16px}
.zhurok-lead{font-style:italic;font-size:20px;color:var(--zh-soft);margin-bottom:18px}
.zhurok-letter{font-family:"Cormorant SC",serif;font-size:14.5px;line-height:1.75;letter-spacing:.08em;text-transform:uppercase;color:var(--zh-ink);color:color-mix(in srgb,var(--zh-ink) 78%,var(--zh-bg));max-width:330px;margin:0 auto;white-space:pre-line}

/* ===== той ээлери ===== */
.zhurok-hosts-g{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
.zhurok-hosts-g.one{grid-template-columns:1fr}
.zhurok-host-t{font-size:11.5px;margin-bottom:8px}
.zhurok-host-n{font-family:"MADE The Artist Script",cursive;font-size:clamp(54px,17vw,76px);line-height:1.35;color:var(--zh-script);overflow-wrap:break-word}
.zhurok-closing-flourish{display:block;width:100%;max-width:330px;height:44px;margin:0 auto 34px;background:var(--zh-ink);-webkit-mask:url(/assets/zhurok/flourish_heart-1e64ac6c09c5554372059f934c4187b7.webp) center/contain no-repeat;mask:url(/assets/zhurok/flourish_heart-1e64ac6c09c5554372059f934c4187b7.webp) center/contain no-repeat}
.zhurok-closing-title{font:500 clamp(21px,6vw,28px)/1.25 "Cormorant SC",serif;max-width:330px;margin:0 auto 26px;color:var(--zh-ink)}
.zhurok-closing-names .a{text-align:left}
.zhurok-closing-names .b{text-align:right}
.zhurok-closing-names .zhurok-amp{display:block;font:italic 68px/1.25 "Cormorant SC",serif;margin:4px auto 18px;color:var(--zh-soft)}
.zhurok-hosts .zhurok-prints{width:190px;height:170px;margin:44px auto 28px}
.zhurok-hosts .zhurok-final-t{font-size:20px;line-height:1.5;letter-spacing:0;color:var(--zh-ink);margin-bottom:0}
.zhurok-final:has(+ .zhurok-hosts){padding-bottom:0!important}
.zhurok-final:has(+ .zhurok-hosts):not(:has(img)){display:none}
.zhurok-host-f{margin-top:8px;font-size:11.5px}

/* ===== дата и таймер ===== */
.zhurok-dots{font-weight:300;font-size:44px;letter-spacing:.06em;line-height:1.1;color:var(--zh-ink)}
.zhurok-wt{margin-top:10px;color:var(--zh-ink)}
.zhurok-flourish{display:block;width:250px;height:30px;margin:26px auto 16px;background:var(--zh-acc);
  -webkit-mask:url(/assets/zhurok/flourish_heart-1e64ac6c09c5554372059f934c4187b7.webp) center/contain no-repeat;mask:url(/assets/zhurok/flourish_heart-1e64ac6c09c5554372059f934c4187b7.webp) center/contain no-repeat}
.zhurok-ghost{font:600 11.5px/1 "Cormorant SC",serif;letter-spacing:.16em;text-transform:uppercase;color:var(--zh-ink);padding:10px 16px;border-bottom:1px solid var(--zh-ink);border-bottom:1px solid color-mix(in srgb,var(--zh-ink) 40%,transparent)}
.zhurok-count{margin-top:34px}
.zhurok-cd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(4px,2vw,14px)}
.zhurok-cd>div{min-width:0;display:flex;flex-direction:column;align-items:center}
.zhurok-cd b{font-weight:300;font-size:clamp(30px,10vw,46px);line-height:1;color:var(--zh-ink);font-variant-numeric:lining-nums tabular-nums}
.zhurok-cd small{font-size:16px;color:var(--zh-soft);margin-top:4px}
.zhurok-today{font-family:"French Kiss KG",cursive;font-size:40px;color:var(--zh-script)}

/* ===== фото в середине: «коллаж» из фото и двух бумажных карточек ===== */
.zhurok-photo{padding:30px 30px 46px!important}
.zhurok-photo-f{position:relative;width:78%;margin:0 auto;aspect-ratio:4/5}
.zhurok-card{position:absolute;inset:0;background:var(--zh-bg2);box-shadow:0 8px 24px -16px rgba(0,0,0,.35)}
.zhurok-card.c1{transform:translate(-14%,-7%) rotate(-5deg)}
.zhurok-card.c2{transform:translate(13%,8%) rotate(4deg)}
.zhurok-photo-in{position:absolute;inset:0;overflow:hidden;box-shadow:0 14px 30px -18px rgba(0,0,0,.45)}
.zhurok-photo-in img{position:absolute;width:100%;height:100%;object-fit:cover;translate:0 var(--py,0px)}
.zhurok-photo-f.gallery{cursor:pointer;isolation:isolate}
.zhurok-photo-f.gallery:focus-visible{outline:2px solid var(--zh-acc);outline-offset:18px}
.zhurok-photo-f.gallery .zhurok-card{display:none}
.zhurok-photo-f.gallery .zhurok-photo-in{transition:transform .65s ease,filter .65s ease;z-index:1;transform:translate(-14%,-7%) rotate(-5deg)}
.zhurok-photo-f.gallery .zhurok-photo-in[data-position="1"]{z-index:2;transform:translate(13%,8%) rotate(4deg)}
.zhurok-photo-f.gallery .zhurok-photo-in[data-position="0"]{z-index:3;transform:none}
.zhurok-photo-f.gallery .zhurok-photo-in[data-position="0"] img{translate:none}

/* ===== путь: полоска календаря + программа на волнистой линии ===== */
.zhurok-way{padding:40px 18px 40px!important}
.zhurok-days{display:flex;justify-content:center;align-items:center;gap:10px;font-size:20px;color:var(--zh-soft)}
.zhurok-days span{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--zh-ink);border:1px solid color-mix(in srgb,var(--zh-ink) 22%,transparent)}
.zhurok-days span[data-d="-2"],.zhurok-days span[data-d="2"]{opacity:.55;border-color:transparent}
.zhurok-days .zhurok-day0{width:62px;height:58px;border:0;position:relative}
.zhurok-day0 b{visibility:hidden;font-weight:400}
.zhurok-prog{margin-top:20px}
.zhurok-prog .zhurok-ttl{margin-bottom:10px}
.zhurok-pts{list-style:none;position:relative;z-index:2}
.zhurok-pt{display:flex;flex-direction:column;align-items:center;width:58%;padding:16px 0 12px;opacity:.2;transition:opacity .9s,transform .9s cubic-bezier(.2,.7,.2,1);transform:translateX(-28px)}
.zhurok-pt:nth-child(even){transform:translateX(28px)}
.zhurok-pt:nth-child(odd){margin-right:auto}
.zhurok-pt:nth-child(even){margin-left:auto}
.zhurok-pt.on{opacity:1;transform:none}
.zhurok-pt-ic{width:58px;height:58px;margin-bottom:8px;background:var(--zh-ink);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.zhurok-pt-ic[data-icon="YURT"]{--ic:url(/assets/zhurok/icon_yurt-ba806666fd8883a248b2cb1459e53959.webp)}.zhurok-pt-ic[data-icon="RINGS"]{--ic:url(/assets/zhurok/icon_rings-5a82dcecd183c3f79b25ad9554e6256e.webp)}
.zhurok-pt-ic[data-icon="KOMUZ"]{--ic:url(/assets/zhurok/icon_komuz-e6ef485cfebe16e340432a5e7d388300.webp)}.zhurok-pt-ic[data-icon="TABLE"]{--ic:url(/assets/zhurok/icon_table-f340ae579e29ddc7c2881988bc3d8b70.webp)}
.zhurok-pt-ic[data-icon="MOON"]{--ic:url(/assets/zhurok/icon_moon-dd6ac7d948c061461b3eb1384969673c.webp)}.zhurok-pt-ic[data-icon="CAKE"]{--ic:url(/assets/zhurok/icon_cake-84da37abdbda19fae73a5ee2c89c827b.webp)}
.zhurok-pt-ic[data-icon="CRADLE"]{--ic:url(/assets/zhurok/icon_cradle-bf8a12b61376d2411c8d1ac8bb9da2a7.webp)}.zhurok-pt-ic[data-icon="GIFT"]{--ic:url(/assets/zhurok/icon_gift-ae0bc92cd702b7ab8456e0a138f180b8.webp)}
.zhurok-pt-ic[data-icon="HOUSE"]{--ic:url(/assets/zhurok/icon_house-b550ba6618eca349c2424a8b875445e4.webp)}
.zhurok-pt-n{font-family:"French Kiss KG",cursive;font-size:31px;line-height:1.15;color:var(--zh-script)}
.zhurok-pt-t{font-size:21px;color:var(--zh-ink);margin-top:4px;font-variant-numeric:lining-nums}
.zhurok-path{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
.zhurok-path path{fill:none;stroke:var(--zh-acc);stroke-width:1.4;stroke-linecap:round}
.zhurok-path-bg{opacity:.18}
/* сердце-«бегунок» с числом дня */
.zhurok-rider{position:absolute;left:0;top:0;z-index:3;width:56px;height:52px;margin:-26px 0 0 -28px;transform:translate(var(--rx,50vw),var(--ry,0));will-change:transform;pointer-events:none}
.zhurok-rider .zhurok-heart{position:absolute;inset:0;width:100%;height:100%}
.zhurok-rider b{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:6px;font:500 21px/1 "Cormorant Garamond",serif;color:var(--zh-acc-ink);font-variant-numeric:lining-nums}
.zhurok-rider{opacity:0;transition:opacity .8s}
.zhurok-way.in .zhurok-rider{opacity:1}

/* ===== место: рамка от руки ===== */
.zhurok-frame{position:relative;max-width:350px;margin:0 auto;padding:36px 24px;border:1px solid rgba(74,42,36,.24);border-color:color-mix(in srgb,var(--zh-acc) 24%,transparent);border-radius:3px}
.zhurok-vn{font-family:"Cormorant SC",serif;font-weight:500;font-size:26px;line-height:1.25;letter-spacing:.06em;color:var(--zh-ink);margin-bottom:10px}
.zhurok-va{font-size:19px;color:var(--zh-soft);white-space:pre-line;margin-bottom:24px}
.zhurok-btn{display:inline-block;padding:14px 28px;border-radius:6px;background:var(--zh-acc);color:var(--zh-acc-ink);text-decoration:none;font:600 13px/1.1 "Cormorant SC",serif;letter-spacing:.16em;text-transform:uppercase;box-shadow:0 8px 18px -12px var(--zh-acc);box-shadow:0 8px 18px -12px color-mix(in srgb,var(--zh-acc) 90%,transparent);transition:transform .2s}
.zhurok-btn:active{transform:scale(.97)}

/* ===== дресс-код ===== */
.zhurok-dots-c{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:6px}
.zhurok-dot{width:50px;height:50px;border-radius:50%;background:var(--c);box-shadow:0 0 0 4px var(--zh-bg),0 0 0 5px var(--zh-ink);box-shadow:0 0 0 4px var(--zh-bg),0 0 0 5px color-mix(in srgb,var(--zh-ink) 30%,transparent)}

/* ===== анкета ===== */
.zhurok-rsvp-note{font-style:italic;font-size:18px;color:var(--zh-soft);max-width:320px;margin:0 auto 22px}
.zhurok-form{max-width:320px;margin:0 auto;text-align:left}
.zhurok-fl{display:block;margin-bottom:22px}
.zhurok-fl span{display:block;margin:0 0 8px 16px;font-size:11.5px}
.zhurok-fl input{width:100%;height:50px;padding:0 20px;border-radius:30px;border:1px solid var(--zh-ink);border:1px solid color-mix(in srgb,var(--zh-ink) 32%,transparent);background:transparent;font:400 19px "Cormorant Garamond",serif;color:var(--zh-ink);outline:0}
.zhurok-fl input:focus{border-color:var(--zh-acc)}
.zhurok-fl input.bad{animation:zhurok-shake .4s;border-color:#a3473d}
@keyframes zhurok-shake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.zhurok-q{margin:0 0 12px 16px;font-size:11.5px}
.zhurok-opt{display:flex;align-items:center;gap:12px;padding:9px 16px;font-size:19px;cursor:pointer}
.zhurok-opt input{position:absolute;opacity:0}
.zhurok-opt i{flex:none;width:20px;height:20px;border:1px solid var(--zh-ink);border:1px solid color-mix(in srgb,var(--zh-ink) 45%,transparent);border-radius:50%;position:relative}
.zhurok-opt input:checked+i::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--zh-acc)}
.zhurok-opt input:focus-visible+i{outline:2px solid var(--zh-acc);outline-offset:2px}
.zhurok-form .zhurok-btn{display:block;width:100%;margin-top:22px;padding:16px;border-radius:30px}
.zhurok-err{margin-top:12px;text-align:center;color:#a3473d;font-style:italic}
.zhurok-thanks{padding:10px 0}
.zhurok-thanks-h{width:52px;margin:0 auto 14px}
.zhurok-thanks.in .zhurok-thanks-h{animation:zhurok-beat 1.1s ease-in-out 2}
.zhurok-th{font-family:"French Kiss KG",cursive;font-size:48px;color:var(--zh-script);line-height:1.1}
.zhurok-change{margin-top:16px;font-size:11.5px;border-bottom:1px solid currentColor;padding-bottom:3px}

/* ===== финал ===== */
.zhurok-final{padding-bottom:84px!important}
.zhurok-final-ph{position:relative;width:56%;aspect-ratio:3/4;margin:0 auto 34px;overflow:hidden}
.zhurok-final-ph img{position:absolute;width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.zhurok-final-t{font-family:"Cormorant SC",serif;font-size:16px;line-height:1.6;letter-spacing:.12em;text-transform:uppercase;color:var(--zh-soft);max-width:300px;margin:0 auto 30px}
.zhurok-final-n{max-width:320px;margin:0 auto 26px}
.zhurok-final-n .zhurok-nm{font-size:clamp(48px,14.8vw,62px)}
.zhurok-sig{font-style:italic;font-size:18px;color:var(--zh-soft);white-space:pre-line}

/* лёгкий режим и без движения */
.zhurok-lite .zhurok-card{box-shadow:none}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01s!important;transition-delay:0s!important}
}

/* финал: сердце из двух отпечатков. Один отпечаток (assets/print_heart.webp) берётся дважды:
   левый наклонён влево, правый зеркальный и наклонён вправо; они подлетают и накладываются низами → сердце */
.zhurok-prints{position:relative;display:block;width:170px;height:150px;margin:0 auto 26px}
.zhurok-prints i{position:absolute;top:0;width:44%;height:100%;background:var(--zh-ink);opacity:0;
  -webkit-mask:url(/assets/zhurok/print_heart-9d809511b95331a5e0cb610eb81de09e.webp) center/contain no-repeat;mask:url(/assets/zhurok/print_heart-9d809511b95331a5e0cb610eb81de09e.webp) center/contain no-repeat;
  transition:transform 1.8s cubic-bezier(.2,.75,.25,1),opacity 1.2s ease}
.zhurok-prints .pl{left:16%;transform-origin:50% 50%;transform:translate(-90%,-20%) rotate(-70deg)}
.zhurok-prints .pr{right:16%;transform-origin:50% 50%;transform:translate(90%,-20%) scaleX(-1) rotate(-70deg)}
.zhurok-prints.in .pl{opacity:.92;transform:rotate(-36deg)}
.zhurok-prints.in .pr{opacity:.92;transform:scaleX(-1) rotate(-36deg);transition-delay:.25s}

/* Подписи отдельных тоев у двух детей, без свадебного соединителя. */
.zhurok-person-title{font:500 12px/1.4 "Cormorant SC",serif;letter-spacing:.12em;color:var(--zh-soft);margin:8px 4% 20px}
.zhurok-person-title.a{align-self:flex-start}.zhurok-person-title.b{align-self:flex-end}
.zhurok-way.static .zhurok-rider{display:none}
.zhurok-way.static .zhurok-day0 b{visibility:visible;position:relative;z-index:1;color:var(--zh-acc-ink)}
.zhurok-way.static .zhurok-day0::before{content:"";position:absolute;inset:3px;background:var(--zh-acc);-webkit-mask:url(/assets/zhurok/heart_date-3cd5d173a4faa59fd6a75e07240bc216.webp) center/contain no-repeat;mask:url(/assets/zhurok/heart_date-3cd5d173a4faa59fd6a75e07240bc216.webp) center/contain no-repeat}
.zhurok-cover{overflow-y:auto;justify-content:safe center;min-height:0}
.zhurok-cover>*{flex-shrink:0}
.zhurok-cover-act{width:100%}.zhurok-cover-to{overflow-wrap:anywhere}
@media(max-height:650px){.zhurok-cover{gap:3vh;padding:44px 26px}.zhurok-cover-names .zhurok-nm{font-size:48px}.zhurok-cover-act{gap:10px}.zhurok-cover-hint{margin-top:12px}}
@media(max-width:350px){.zhurok-days{gap:5px}.zhurok-days span{width:35px}.zhurok-frame{padding:30px 20px}.zhurok-vn{font-size:22px}.zhurok-flourish{max-width:100%}.zhurok-dots{font-size:36px}}
