/* Henna 07 — «إبرة وخيط». Linen cloth: the bride's name is cross-stitched live, every section carries a tatreez motif with its meaning. Original design by لحظتنا. */
.g1-root.lgx-tatreez{
  --th:#9b1c24;--th2:#2f5d3a;--th3:#2a1f1a;
  --velvet:#3a2a1e;--velvet-deep:#241910;--crimson:var(--th);--rose:var(--th);--gold:var(--th2);--gold-soft:#d9c39a;--ivory:#e9dcc2;--ivory-2:#f4ecda;--ink:#3b2a1d;--ink-soft:#6e5a45;
  --x-font:'Amiri','Noto Naskh Arabic',serif;--x-num:'Tajawal',sans-serif;--ui:'Tajawal','Amiri',sans-serif;
  --t-amiri:'Amiri','Noto Naskh Arabic',serif;--t-sign:'Aref Ruqaa','Amiri',serif;--t-latin:'Cormorant Garamond',Georgia,serif;
  --l-gold:var(--gold);--l-gold-2:var(--crimson);--l-soft:var(--ink-soft);--l-ink:var(--ink);--l-ink-soft:var(--ink-soft);--l-text:var(--ink);--l-paper:#fff;--l-paper-2:var(--ivory-2);--l-wine:var(--crimson);
  --g1-paper:var(--ivory);--g1-ink:var(--ink);--g1-soft:var(--ink-soft);--g1-accent:var(--gold);--g1-font:var(--x-font);
}
html:has(.lgx-tatreez),html:has(.lgx-tatreez) body{background:radial-gradient(120% 80% at 50% 0%,#5a4430 0%,#3a2a1e 50%,#241910 100%) fixed,#241910}
body{margin:0}
.g1-root.lgx-tatreez{position:relative;max-width:520px;margin:0 auto;color:var(--ink);font-family:var(--x-font);overflow-x:hidden;overflow-x:clip;min-height:100vh;-webkit-text-size-adjust:100%;text-size-adjust:100%;
  background-color:#e9dcc2;background-image:radial-gradient(120% 50% at 50% 0%,rgba(255,250,238,.7),rgba(255,250,238,0) 70%),repeating-linear-gradient(0deg,rgba(120,95,60,.07) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(120,95,60,.07) 0 1px,transparent 1px 3px);background-size:100% 700px,auto,auto;background-repeat:no-repeat,repeat,repeat;box-shadow:0 0 60px rgba(0,0,0,.45)}
.g1-root.lgx-tatreez *{box-sizing:border-box}
.g1-root.lgx-tatreez [hidden]{display:none!important}
.g1-root.lgx-tatreez p{margin:0}
.g1-root.lgx-tatreez button{font-family:inherit}
.g1-root.lgx-tatreez .g1-doc{position:relative;z-index:1;padding-bottom:4px}
.g1-root.lgx-tatreez .g1-confetti{position:fixed;z-index:70;inset:0;width:100%;height:100%;pointer-events:none}
.g1-root.lgx-tatreez .g1-bgm{position:fixed;z-index:20;right:max(4%,calc(50% - 250px));bottom:max(4%,env(safe-area-inset-bottom));width:52px;height:52px;padding:13px;border-radius:50%;background:linear-gradient(180deg,#8f1424,var(--crimson));border:2px solid var(--gold-soft);color:#fff6ea;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .8s ease-out .4s;box-shadow:0 8px 20px -10px rgba(0,0,0,.7)}
.g1-root.lgx-tatreez.g1-lifted .g1-bgm{opacity:1;pointer-events:auto}
.g1-root.lgx-tatreez .g1-bgm svg{width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-linecap:round;display:block}
.g1-root.lgx-tatreez .g1-bgm .g1-bgm-off{opacity:0;transition:opacity .25s}
.g1-root.lgx-tatreez .g1-bgm[aria-pressed="false"]{background:#9a8580}
.g1-root.lgx-tatreez .g1-bgm[aria-pressed="false"] .g1-bgm-off{opacity:1}
.g1-root.lgx-tatreez .g1-scrollhint{display:none!important}
.g1-root.lgx-tatreez .lgx-emb{display:block;color:var(--crimson)}

/* ================= the curtain (opening) over the henna scene ================= */
.g1-root.lgx-tatreez .g1-open{position:fixed;z-index:60;inset:0;overflow:hidden;cursor:pointer;background:var(--velvet-deep);-webkit-tap-highlight-color:transparent;outline:none}
.g1-root.lgx-tatreez .lgx-scene{position:absolute;inset:0;overflow:hidden;background:var(--velvet-deep)}
.g1-root.lgx-tatreez .g1-open .lgx-scene{left:50%;right:auto;width:min(100%,520px);transform:translateX(-50%)}
.g1-root.lgx-tatreez .lgx-stage{position:absolute;left:50%;top:50%;aspect-ratio:9/16;width:max(100%,calc(100svh * 9 / 16));transform:translate(-50%,-50%);container-type:inline-size}
.g1-root.lgx-tatreez .lgx-still,.g1-root.lgx-tatreez .lgx-loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.g1-root.lgx-tatreez .lgx-half{position:absolute;top:0;bottom:0;width:50.5%;background-size:200% 100%;background-repeat:no-repeat;transition:transform 1.35s cubic-bezier(.55,.05,.25,1);will-change:transform}
.g1-root.lgx-tatreez .lgx-half--r{right:0;background-position:right center;transform-origin:100% 0}
.g1-root.lgx-tatreez .lgx-half--l{left:0;background-position:left center;transform-origin:0 0}
.g1-root.lgx-tatreez.g1-on .g1-open .lgx-half--r{transform:translateX(62%) scaleX(.55)}
.g1-root.lgx-tatreez.g1-on .g1-open .lgx-half--l{transform:translateX(-62%) scaleX(.55)}
.g1-root.lgx-tatreez .lgx-lines{position:absolute;top:15%;left:50%;width:66%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.05em;font-family:var(--t-sign);font-weight:700;font-size:8.4cqw;line-height:1.55;color:var(--crimson);text-align:center;pointer-events:none}
.g1-root.lgx-tatreez .g1-open .lgx-lines{visibility:hidden}
.g1-root.lgx-tatreez .lgx-line{display:block;white-space:nowrap;text-shadow:0 0 .35em rgba(255,253,250,.95),0 0 .9em rgba(255,253,250,.8),0 1px 0 rgba(255,255,255,.7);clip-path:inset(0 0 0 100%);opacity:0;filter:blur(3px)}
.g1-root.lgx-tatreez .lgx-line.on{animation:lgx-write 1.15s cubic-bezier(.3,.1,.2,1) forwards}
.g1-root.lgx-tatreez .lgx-line.now{animation:none;clip-path:inset(0 0 0 0);opacity:1;filter:none}
@keyframes lgx-write{0%{clip-path:inset(0 0 0 100%);opacity:0;filter:blur(3px)}25%{opacity:1}100%{clip-path:inset(0 0 0 0);opacity:1;filter:blur(0)}}
.g1-root.lgx-tatreez .lgx-ph-chip{position:absolute;left:0;right:0;bottom:calc(16% + 78px);margin:0 auto!important;width:max-content;max-width:88%;padding:4px 16px;border-radius:999px;background:rgba(40,3,9,.55);border:1px solid rgba(216,183,122,.75);color:#fff7ea;font-family:var(--ui);font-size:14px}
.g1-root.lgx-tatreez .lgx-hero .lgx-ph-chip{bottom:calc(18px + 64px)}
.g1-root.lgx-tatreez .g1-hint{position:absolute;z-index:6;left:0;right:0;bottom:calc(16% + env(safe-area-inset-bottom,0px));margin:0 auto;width:max-content;max-width:88vw;display:flex;align-items:center;gap:10px;padding:12px 22px 12px 18px;border:1px solid rgba(216,183,122,.75);border-radius:999px;background:rgba(40,3,9,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff7ea;font-family:var(--ui);font-size:17px;font-weight:600;white-space:nowrap;box-shadow:0 10px 30px rgba(0,0,0,.35);animation:lgx-hint-in .9s .4s both ease-out}
.g1-root.lgx-tatreez .lgx-tap-hand{width:24px;height:24px;color:var(--gold-soft);animation:lgx-tap 1.6s infinite ease-in-out}
.g1-root.lgx-tatreez .lgx-tap-ring{position:absolute;inset:-1px;border-radius:inherit;border:1px solid rgba(216,183,122,.8);animation:lgx-ring 1.9s infinite ease-out;pointer-events:none}
@keyframes lgx-hint-in{from{opacity:0;transform:translateY(14px)}}
@keyframes lgx-tap{0%,100%{transform:translateY(0)}45%{transform:translateY(-3px) scale(.96)}}
@keyframes lgx-ring{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.18,1.5)}}
.g1-root.lgx-tatreez .g1-open{transition:none!important}
.g1-root.lgx-tatreez.g1-lifted .g1-open{opacity:0;visibility:hidden;pointer-events:none}
.g1-root.lgx-tatreez.g1-on .g1-open .g1-hint{animation:none;opacity:0;transition:opacity .35s ease}
.g1-root.lgx-tatreez.g1-lifted .g1-doc{animation:lgx-rise .85s cubic-bezier(.2,.75,.25,1) both}
@keyframes lgx-rise{from{transform:translate3d(0,24px,0)}to{transform:translate3d(0,0,0)}}
.g1-root.lgx-tatreez .g1-s-cap.lgx-hero{position:relative;max-width:none;margin:0;padding:0;height:100vh;height:100svh;min-height:520px;overflow:hidden;text-align:center}
.g1-root.lgx-tatreez .lgx-hero-stage{position:absolute;inset:0}
.g1-root.lgx-tatreez .lgx-scrollhint{position:absolute;z-index:3;left:0;right:0;bottom:max(12px,2.2svh);margin:0 auto;width:max-content;display:flex;flex-direction:column;align-items:center;padding:6px 18px 3px;border-radius:999px;background:rgba(0,0,0,.4);border:1px solid color-mix(in srgb,var(--l-gold) 50%,transparent);color:var(--l-gold-2);font-size:14px;line-height:1.5;transition:opacity .4s}
.g1-root.lgx-tatreez:not(.g1-lifted) .lgx-scrollhint{opacity:0}
.g1-root.lgx-tatreez .lgx-scrollhint-arrow{width:22px;height:22px;animation:lgx-bob 1.7s ease-in-out infinite}
@keyframes lgx-bob{0%,100%{transform:translateY(-2px);opacity:.6}50%{transform:translateY(4px);opacity:1}}

/* ================= shared section frame ================= */
.g1-root.lgx-tatreez .lgx-sec{position:relative;margin:0 auto;max-width:760px;padding:clamp(28px,7.5vw,50px) 16px clamp(30px,8vw,54px);text-align:center;font-family:var(--x-font);overflow-x:clip}
.g1-root.lgx-tatreez .lgx-title{display:flex;flex-direction:column;align-items:center;margin:0 auto clamp(20px,6vw,32px)}
.g1-root.lgx-tatreez .lgx-orn{display:flex;align-items:center;justify-content:center;gap:10px}
.g1-root.lgx-tatreez .lgx-orn-line{display:block;width:clamp(48px,15vw,84px);height:1px;background:linear-gradient(90deg,transparent,var(--l-gold))}
.g1-root.lgx-tatreez .lgx-orn-line:last-child{transform:scaleX(-1)}
.g1-root.lgx-tatreez .lgx-orn-emb svg{display:block;width:30px;height:auto}
.g1-root.lgx-tatreez .lgx-h{margin:4px 0 0;font-family:var(--t-sign);font-weight:700;font-size:clamp(28px,8.4vw,36px);line-height:1.4;color:var(--crimson)}
.g1-root.lgx-tatreez .lgx-sub{margin:0 auto;max-width:30em;font-size:clamp(14.5px,3.8vw,17px);line-height:1.6;color:var(--l-soft);text-wrap:balance}
.g1-root.lgx-tatreez .lgx-ico{display:block;width:20px;height:20px;flex:none}
.g1-root.lgx-tatreez .g1-doc .g1-div{display:flex;align-items:center;justify-content:center;gap:10px;width:min(56%,320px);height:14px;margin:2px auto;padding:0}
.g1-root.lgx-tatreez .g1-doc .g1-div::before,.g1-root.lgx-tatreez .g1-doc .g1-div::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--l-gold) 60%,transparent))}
.g1-root.lgx-tatreez .g1-doc .g1-div::after{transform:scaleX(-1)}
.g1-root.lgx-tatreez .g1-doc .g1-div>i{display:block;width:8px;height:8px;flex:none;background:var(--l-gold);transform:rotate(45deg)}
.g1-root.lgx-tatreez .g1-doc .g1-div[hidden]{display:none!important}
.g1-root.lgx-tatreez .g1-doc .g1-div.lgx-div--quiet{visibility:hidden;height:2px;margin:0 auto}
.g1-root.lgx-tatreez .g1-s-new{margin:0 auto}
.g1-root.lgx-tatreez .g1-s-new .g1-extra-box{background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-tatreez .g1-s-text{display:none!important}
.g1-root.lgx-tatreez .lgx-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:clamp(24px,7vw,36px)}
.g1-root.lgx-tatreez .lgx-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid color-mix(in srgb,var(--l-gold) 60%,transparent);background:rgba(0,0,0,.25);color:var(--l-gold-2);cursor:pointer;transition:background .2s,color .2s}
.g1-root.lgx-tatreez .lgx-arrow:hover{background:var(--l-gold);color:var(--velvet)}
.g1-root.lgx-tatreez .lgx-dots{display:flex;align-items:center;gap:11px;min-height:20px}
.g1-root.lgx-tatreez .lgx-dots button{position:relative;width:10px;height:10px;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--l-gold) 30%,transparent);cursor:pointer;transition:background .25s,transform .25s}
.g1-root.lgx-tatreez .lgx-dots button::before{content:"";position:absolute;inset:-9px}
.g1-root.lgx-tatreez .lgx-dots button[aria-current="true"]{background:var(--l-gold);transform:scale(1.3)}
.g1-root.lgx-tatreez .lgx-count-txt{font-family:var(--x-num);font-weight:800;font-size:16px;color:var(--l-gold-2);direction:ltr}
.g1-root.lgx-tatreez :focus-visible{outline:2px solid var(--l-gold);outline-offset:3px}
.g1-root.lgx-tatreez .lgx-paper{background:linear-gradient(180deg,#fbf6e9,var(--l-paper) 50%,var(--l-paper-2));color:var(--l-ink);box-shadow:0 26px 44px -24px rgba(0,0,0,.85)}

.g1-root.lgx-tatreez .lgx-sub{color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-orn-line{background:linear-gradient(90deg,transparent,var(--gold))}
.g1-root.lgx-tatreez .lgx-arrow{background:#fff;color:var(--crimson);border-color:rgba(176,132,62,.5)}
.g1-root.lgx-tatreez .lgx-arrow:hover{background:var(--crimson);color:#fff}
.g1-root.lgx-tatreez .lgx-dots button{background:rgba(125,15,31,.22)}.g1-root.lgx-tatreez .lgx-dots button[aria-current="true"]{background:var(--crimson)}
.g1-root.lgx-tatreez .lgx-count-txt{color:var(--crimson)}
.g1-root.lgx-tatreez .g1-doc .g1-div>i{background:var(--gold)}
.g1-root.lgx-tatreez :focus-visible{outline-color:var(--crimson)}
.g1-root.lgx-tatreez .lgx-scrollhint{background:rgba(40,3,9,.5);border-color:rgba(216,183,122,.6);color:#fff3e3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-family:var(--ui)}
/* ================= tiles (the template's card surface) ================= */
.g1-root.lgx-tatreez .lgx-tile{position:relative;padding:16px 10px 14px;border-radius:18px;background:rgba(255,255,255,.78);border:1px solid rgba(176,132,62,.38);box-shadow:0 8px 22px rgba(90,10,21,.07),inset 0 0 0 4px rgba(255,255,255,.55);text-align:center}
.g1-root.lgx-tatreez .lgx-ico2{width:30px;height:30px;margin:0 auto 6px;display:block;fill:none;stroke:var(--crimson);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.g1-root.lgx-tatreez .lgx-k{margin:0;font-family:var(--ui);font-size:14px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-v{margin:2px 0 0!important;font-family:var(--ui);font-weight:600;font-size:clamp(19px,5.6vw,23px);color:var(--crimson);font-variant-numeric:lining-nums}
/* ================= 1. invitation ================= */
.g1-root.lgx-tatreez .g1-s-cert.lgx-sec{padding-top:0}
.g1-root.lgx-tatreez .lgx-invite{text-align:center}
.g1-root.lgx-tatreez .lgx-garland{display:block;width:calc(100% + 32px);height:auto;margin:0 -16px 10px;pointer-events:none;mix-blend-mode:multiply}
.g1-root.lgx-tatreez .lgx-poem{margin:6px 0 4px!important;font-family:var(--t-sign);font-weight:700;font-size:clamp(32px,9.6vw,46px);line-height:1.5;color:var(--crimson);white-space:pre-line;text-wrap:balance}
.g1-root.lgx-tatreez .lgx-divider{display:block;width:min(240px,66%);height:auto;margin:10px auto 14px;color:var(--gold)}
.g1-root.lgx-tatreez .lgx-welcome{margin:0 0 26px!important;font-family:var(--t-sign);font-size:clamp(25px,7.4vw,34px);line-height:1.6;color:var(--gold)}
.g1-root.lgx-tatreez .lgx-lead{margin:0!important;font-size:clamp(19px,5.4vw,23px);line-height:1.9;color:var(--ink);text-wrap:balance}
.g1-root.lgx-tatreez .lgx-lead b{font-family:var(--t-sign);font-weight:700;font-size:1.5em;line-height:1.45;color:var(--crimson);display:block}
.g1-root.lgx-tatreez .lgx-names{margin:4px 0 0;font-family:var(--t-sign);font-weight:700;font-size:clamp(64px,21vw,96px);line-height:1.25;color:var(--rose);text-shadow:0 2px 0 rgba(255,255,255,.8),0 10px 26px rgba(125,15,31,.18);overflow-wrap:anywhere}
.g1-root.lgx-tatreez .lgx-names.is-long{font-size:clamp(44px,13vw,64px);line-height:1.35}
.g1-root.lgx-tatreez .lgx-sub2{font-size:clamp(16px,4.6vw,19px);color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-flourish{display:block;width:min(260px,72%);height:auto;margin:6px auto 10px;color:var(--gold)}
.g1-root.lgx-tatreez .lgx-cd-text{font-size:clamp(16px,4.6vw,19px);line-height:1.9;color:var(--ink-soft);text-wrap:balance}
.g1-root.lgx-tatreez .lgx-cd-text .lgx-para{display:block}.g1-root.lgx-tatreez .lgx-cd-text strong{color:var(--crimson)}
/* ================= 2. date tiles + save the date ================= */
.g1-root.lgx-tatreez .g1-s-calendar.lgx-sec,.g1-root.lgx-tatreez .g1-s-venue.lgx-sec,.g1-root.lgx-tatreez .g1-s-countdown.lgx-sec{padding-top:8px;padding-bottom:10px}
.g1-root.lgx-tatreez .lgx-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:480px;margin:0 auto 26px}
.g1-root.lgx-tatreez .lgx-cal{max-width:300px;margin:0 auto;border-radius:18px;overflow:hidden;background:#fff;border:1px solid rgba(176,132,62,.38);box-shadow:0 12px 26px rgba(90,10,21,.12)}
.g1-root.lgx-tatreez .lgx-cal-top{padding:10px;background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea;font-family:var(--ui);font-weight:600;font-size:17px}
.g1-root.lgx-tatreez .lgx-cal-body{padding:10px 10px 14px}
.g1-root.lgx-tatreez .lgx-cal-wd{font-family:var(--ui);font-size:16px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-cal-day{font-family:var(--ui);font-weight:700;font-size:64px;line-height:1.1;color:var(--crimson)}
.g1-root.lgx-tatreez .lgx-cal-time{font-family:var(--ui);font-size:16px;color:var(--ink)}
.g1-root.lgx-tatreez .g1-s-calendar .lgx-cal-box{max-width:420px;margin:16px auto 0;padding:0;background:none;border:0;box-shadow:none}
.g1-root.lgx-tatreez .g1-s-calendar .g1-calendar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;border-radius:999px;font-family:var(--ui);font-size:16px;font-weight:600;text-decoration:none}
.g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn--solid{background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea}
.g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn--line{background:#fff;color:var(--crimson);border:1.5px solid var(--crimson)}
/* ================= 3. countdown ================= */
.g1-root.lgx-tatreez .g1-s-countdown .g1-extra-box,.g1-root.lgx-tatreez .g1-s-countdown>h2{display:none}
.g1-root.lgx-tatreez .g1-doc>.g1-div{display:none}
.g1-root.lgx-tatreez .lgx-cd{max-width:480px;margin:0 auto;padding:16px 12px 18px;border-radius:20px;color:#fff4e6;text-align:center;background:radial-gradient(120% 100% at 50% 0%,rgba(255,255,255,.08),rgba(255,255,255,0) 60%),linear-gradient(180deg,#7a1020,var(--velvet));box-shadow:0 12px 28px rgba(90,10,21,.28),inset 0 0 0 1px rgba(216,183,122,.45)}
.g1-root.lgx-tatreez .lgx-cd-title{margin:0 0 10px!important;font-family:var(--t-sign);font-size:26px;color:var(--gold-soft)}
.g1-root.lgx-tatreez .lgx-cd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.g1-root.lgx-tatreez .lgx-cd-grid div{display:flex;flex-direction:column;align-items:center}
.g1-root.lgx-tatreez .lgx-cd-grid b{font-family:var(--ui);font-size:clamp(26px,8vw,34px);font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
.g1-root.lgx-tatreez .lgx-cd-grid span{font-family:var(--ui);font-size:13px;opacity:.8}
.g1-root.lgx-tatreez .lgx-cd-line{margin-top:8px!important;font-size:15px;color:var(--gold-soft)}
/* ================= 4. venue ================= */
.g1-root.lgx-tatreez .g1-s-venue .lgx-venue-card{max-width:480px;margin:0 auto;padding:16px 14px 18px}
.g1-root.lgx-tatreez .g1-s-venue .lgx-venue-card h2{margin:2px 0 0;font-family:var(--ui);font-weight:600;font-size:clamp(19px,5.6vw,23px);color:var(--crimson);overflow-wrap:anywhere}
.g1-root.lgx-tatreez .g1-s-venue .lgx-venue-card .g1-sub{margin:2px 0 0;font-size:16px;color:var(--ink-soft);overflow-wrap:anywhere}
.g1-root.lgx-tatreez .g1-s-venue .g1-map.lgx-map-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:10px 22px;border-radius:999px;background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea;font-family:var(--ui);font-size:16px;font-weight:600;text-decoration:none;box-shadow:0 8px 18px rgba(125,15,31,.25);width:auto}
/* ================= 5. program / 6. dress ================= */
.g1-root.lgx-tatreez .lgx-prog-card{max-width:480px;margin:0 auto;padding:6px 16px}
.g1-root.lgx-tatreez .lgx-prog-list{--lit:0px;list-style:none;margin:0;padding:0;text-align:right}
.g1-root.lgx-tatreez .lgx-prog-row{display:grid;grid-template-columns:76px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px dashed rgba(176,132,62,.45);transition:background .5s}
.g1-root.lgx-tatreez .lgx-prog-row:last-child{border:0}
.g1-root.lgx-tatreez .lgx-prog-time{font-family:var(--ui);font-weight:600;font-size:16px;color:var(--crimson);white-space:nowrap;direction:rtl;unicode-bidi:plaintext}
.g1-root.lgx-tatreez .lgx-prog-text{font-size:17px;color:var(--ink);overflow-wrap:anywhere}
.g1-root.lgx-tatreez .lgx-prog-rose{width:22px;height:22px;fill:none;stroke:rgba(125,15,31,.35);stroke-width:1.4;stroke-linecap:round;transition:stroke .5s}
.g1-root.lgx-tatreez .lgx-prog-row.is-lit .lgx-prog-rose{stroke:var(--rose)}
.g1-root.lgx-tatreez .lgx-prog-row.is-lit{background:linear-gradient(270deg,rgba(163,22,43,.07),transparent 85%)}
.g1-root.lgx-tatreez .lgx-dress{max-width:480px;margin:0 auto;padding:16px 14px}
.g1-root.lgx-tatreez .lgx-dr-style{font-family:var(--t-sign);font-weight:700;font-size:clamp(24px,7vw,30px);color:var(--crimson)}
.g1-root.lgx-tatreez .lgx-dr-desc{font-size:17px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-swatches{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:14px}
.g1-root.lgx-tatreez .lgx-swatch{display:flex;flex-direction:column;align-items:center;gap:6px}
.g1-root.lgx-tatreez .lgx-swatch-dot{display:block;width:46px;height:46px;border-radius:50%;background:var(--sw);box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(176,132,62,.6),0 6px 12px rgba(0,0,0,.18)}
.g1-root.lgx-tatreez .lgx-swatch small{font-family:var(--ui);font-size:13px;color:var(--ink)}
.g1-root.lgx-tatreez .lgx-dress-note{margin:12px auto 0!important;max-width:30em;font-size:16px;line-height:1.9;color:var(--ink-soft);white-space:pre-line}
/* ================= 7. exhibits ================= */
.g1-root.lgx-tatreez .g1-s-gallery>.g1-extra-box,.g1-root.lgx-tatreez .g1-s-gallery>.g1-gallery-intro{display:none}
.g1-root.lgx-tatreez .lgx-gal{width:min(92vw,420px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-tatreez .lgx-album{position:relative;aspect-ratio:354/470;border-radius:2cqw;background:#fff;border:1px solid rgba(176,132,62,.38);box-shadow:0 26px 44px -22px rgba(0,0,0,.85)}
.g1-root.lgx-tatreez .lgx-gal-deck{position:absolute;inset:0}
.g1-root.lgx-tatreez .lgx-gal-page{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s .5s}
.g1-root.lgx-tatreez .lgx-gal-page.is-on{opacity:1;visibility:visible;transition:opacity .5s ease}
.g1-root.lgx-tatreez .lgx-photo{position:absolute;display:block;margin:0;padding:2cqw 2cqw 8cqw;border:0;background:#fbf8f0;cursor:zoom-in;color:inherit;box-shadow:0 2.4cqw 4cqw -2cqw rgba(0,0,0,.55)}
.g1-root.lgx-tatreez .lgx-photo-win{display:block;overflow:hidden;background:#e3dccb}
.g1-root.lgx-tatreez .lgx-photo-win img{display:block;width:100%;height:100%;object-fit:cover}
.g1-root.lgx-tatreez .lgx-photo--main{top:6%;left:12%;width:76%;transform:rotate(-1.5deg)}
.g1-root.lgx-tatreez .lgx-photo--main .lgx-photo-win{aspect-ratio:226/170}
.g1-root.lgx-tatreez .lgx-photo--a{top:58%;right:5%;width:43%;transform:rotate(2.5deg)}
.g1-root.lgx-tatreez .lgx-photo--b{top:59%;left:5%;width:43%;transform:rotate(-3deg)}
.g1-root.lgx-tatreez .lgx-photo--a .lgx-photo-win,.g1-root.lgx-tatreez .lgx-photo--b .lgx-photo-win{aspect-ratio:150/110}
.g1-root.lgx-tatreez .lgx-gal-n1 .lgx-photo--main{top:16%}
.g1-root.lgx-tatreez .lgx-gal-n2 .lgx-photo--a{right:28.5%}
.g1-root.lgx-tatreez .lgx-pin{position:absolute;z-index:2;top:-1.6cqw;left:50%;width:3.6cqw;height:3.6cqw;margin-left:-1.8cqw;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f3d98f,#9c7430);box-shadow:0 .6cqw 1cqw rgba(0,0,0,.4)}
.g1-root.lgx-tatreez .lgx-photo-no{position:absolute;right:2.4cqw;bottom:1.8cqw;font-family:var(--t-amiri);font-weight:700;font-size:3.2cqw;color:var(--l-wine)}
.g1-root.lgx-tatreez .lgx-photo-cap{position:absolute;left:2.4cqw;bottom:1.4cqw;max-width:58%;font-family:var(--t-sign);font-size:4cqw;line-height:1.3;color:var(--l-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g1-root.lgx-tatreez .lgx-photo--a .lgx-photo-no,.g1-root.lgx-tatreez .lgx-photo--b .lgx-photo-no{display:none}
.g1-root.lgx-tatreez .lgx-photo--a .lgx-photo-cap,.g1-root.lgx-tatreez .lgx-photo--b .lgx-photo-cap{right:2cqw;max-width:none;text-align:center}
.g1-root.lgx-tatreez .lgx-gal .lgx-nav{margin-top:max(22px,6cqw)}
.g1-root.lgx-tatreez .lgx-gal-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px!important;font-size:clamp(13.5px,3.6vw,15.5px);color:var(--l-soft)}
.g1-root.lgx-tatreez .lgx-gal>.lgx-album+.lgx-gal-hint{margin-top:max(22px,6cqw)!important}
.g1-root.lgx-tatreez .lgx-gal-hint .lgx-ico{width:18px;height:18px;color:var(--l-gold)}
.lg-lightbox[hidden]{display:none!important}
.lg-lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:55px 18px 20px;background:rgba(6,12,26,.95)}
.lg-lightbox img{max-width:95vw;max-height:calc(100dvh - 95px);object-fit:contain;border-radius:2px;box-shadow:0 0 0 8px #fbf8f0,0 16px 50px #000a}
.lg-lightbox-close{position:absolute;top:15px;right:22px;width:44px;height:44px;border:1px solid #fff9;border-radius:50%;background:#ffffff22;color:#fff;font:32px/1 sans-serif;cursor:pointer}
body.lg-lightbox-open{overflow:hidden!important}

/* ================= 8. RSVP ================= */
.g1-root.lgx-tatreez .g1-s-addon{position:relative}
.g1-root.lgx-tatreez .lgx-form-scene{max-width:480px;margin:0 auto}
.g1-root.lgx-tatreez .lgx-form-card{padding:18px 16px 18px;text-align:right}
.g1-root.lgx-tatreez .lgx-form-card .lgx-orn-line{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 8px;width:70%}
.g1-root.lgx-tatreez .lgx-orn-line i{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.g1-root.lgx-tatreez .lgx-orn-rose{width:24px;height:24px;fill:none;stroke:var(--rose);stroke-width:1.4;stroke-linecap:round}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-form{position:relative;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;gap:max(10px,3cqw);text-align:right}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field{display:flex;flex-direction:column;gap:2px}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field>span,.g1-root.lgx-tatreez .g1-s-addon .lgx-field-label{margin:0;font-size:max(13px,3.7cqw);color:var(--l-ink-soft)}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field input,.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field textarea{width:100%;padding:8px 2px;border:0;border-bottom:1.5px solid var(--l-ink);border-radius:0;background:transparent;font-family:var(--t-amiri);font-size:17px;color:var(--l-ink);outline:none;-webkit-appearance:none;appearance:none}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field textarea{min-height:88px;resize:vertical;line-height:30px;background:repeating-linear-gradient(180deg,transparent 0 29px,rgba(74,29,29,.18) 29px 30px);border-bottom:0;padding-top:0}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field input:focus{border-bottom-color:var(--crimson)}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field input::placeholder,.g1-root.lgx-tatreez .g1-s-addon .g1-rs-field textarea::placeholder{color:#b39c90}
.g1-root.lgx-tatreez .g1-s-addon .lgx-rsvp-question{margin-bottom:-4px!important}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-choice{display:grid;grid-template-columns:1fr 1fr;gap:2.6cqw}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-choice button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:6px;border-radius:999px;cursor:pointer;font-size:max(14px,3.9cqw);font-weight:700;color:var(--l-ink);background:transparent;border:1.5px solid var(--l-ink);transition:background .2s,color .2s}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-choice button .lgx-ico{width:18px;height:18px;display:none}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-choice button.is-on{background:var(--l-ink);color:#fff}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-choice button.is-on .lgx-ico{display:block}
.g1-root.lgx-tatreez .g1-s-addon .lgx-companions{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-step{display:flex;align-items:center;gap:12px}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-step button{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--l-ink);background:transparent;font-size:20px;line-height:1;color:var(--l-ink);cursor:pointer}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-step b{min-width:1.4em;text-align:center;font-family:var(--x-num);font-size:22px;font-weight:800;color:var(--l-ink)}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-send{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin:6px 0 0;padding:8px 16px;border:0;border-radius:999px;cursor:pointer;background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea;font-family:var(--ui);font-size:16.5px;font-weight:800;box-shadow:0 10px 20px -12px rgba(0,0,0,.6);transition:filter .2s}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-send:hover{filter:brightness(1.1)}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-send:disabled{opacity:.6;cursor:progress}
.g1-root.lgx-tatreez .g1-s-addon .g1-rs-error{color:#a3162b;text-align:center;font-size:15px}
.g1-root.lgx-tatreez .g1-s-addon .g1-message{margin:0;min-height:1.4em;text-align:center;font-size:15.5px;color:var(--crimson);font-weight:700}
.g1-root.lgx-tatreez .g1-s-addon .g1-message:empty{display:none}

/* ================= 9. well-wishers ================= */
.g1-root.lgx-tatreez .g1-s-wishes>.g1-extra-box{display:none}
.g1-root.lgx-tatreez .lgx-wish-scene{max-width:480px;margin:0 auto}
.g1-root.lgx-tatreez .lgx-wish-deck{display:grid;min-height:120px;align-items:center}
.g1-root.lgx-tatreez .lgx-wish-deck>*{grid-area:1/1}
.g1-root.lgx-tatreez .lgx-wish{display:flex;gap:12px;align-items:flex-start;margin:0;padding:14px 14px;border-radius:16px;background:rgba(255,255,255,.82);border:1px solid rgba(176,132,62,.3);box-shadow:0 8px 20px rgba(90,10,21,.06);text-align:right}
.g1-root.lgx-tatreez .lgx-wish-av{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;font-family:var(--ui);font-weight:700;font-size:19px}
.g1-root.lgx-tatreez .lgx-wish-body{min-width:0;flex:1}
.g1-root.lgx-tatreez .lgx-bl-tag{font-size:12px;color:var(--gold)}
.g1-root.lgx-tatreez .lgx-bl-sign{font-family:var(--ui);font-weight:600;font-size:16px;color:var(--crimson)}
.g1-root.lgx-tatreez .lgx-wish .lgx-wish-msg{margin:2px 0 0;padding:0;border:0;font-size:17px;line-height:1.8;color:var(--ink);white-space:pre-line;overflow-wrap:anywhere;unicode-bidi:plaintext}
.g1-root.lgx-tatreez .lgx-wish-deck .lgx-wish-card{opacity:0;visibility:hidden;transform:translateY(3cqw);transition:opacity .45s ease,transform .45s ease,visibility 0s .45s}
.g1-root.lgx-tatreez .lgx-wish-deck .lgx-wish-card.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .5s cubic-bezier(.2,1.3,.4,1)}
.g1-root.lgx-tatreez .lgx-wish-list{display:grid;gap:6cqw}

.g1-root.lgx-tatreez .lgx-wish-list{gap:10px}
/* ================= 10. notes ================= */
.g1-root.lgx-tatreez .g1-s-notes>.g1-extra-box,.g1-root.lgx-tatreez .g1-s-notes>h2{display:none}
.g1-root.lgx-tatreez .lgx-info{max-width:480px;margin:0 auto}
.g1-root.lgx-tatreez .lgx-info-head{text-align:center;margin-bottom:10px}
.g1-root.lgx-tatreez .lgx-info-title{margin:0;font-family:var(--t-sign);font-weight:700;font-size:clamp(28px,8.4vw,36px);color:var(--crimson)}
.g1-root.lgx-tatreez .lgx-info-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.g1-root.lgx-tatreez .lgx-note{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;border-radius:16px;border:1px dashed rgba(125,15,31,.4);background:rgba(163,22,43,.05)}
.g1-root.lgx-tatreez .lgx-note .lgx-ico2{width:26px;height:26px;margin:0;flex:none}
.g1-root.lgx-tatreez .lgx-note p{margin:0;font-family:var(--ui);font-weight:600;font-size:clamp(16px,4.6vw,19px);color:var(--crimson)}
/* ================= after the event ================= */
.g1-root.lgx-tatreez .lgx-thanks{position:relative;max-width:480px;margin:0 auto;padding:26px 18px;text-align:center;border-radius:20px;background:rgba(255,255,255,.85);border:1px solid rgba(176,132,62,.38);box-shadow:0 10px 26px rgba(90,10,21,.08)}
.g1-root.lgx-tatreez .lgx-thanks-emb svg{width:36px;height:auto;margin:0 auto}
.g1-root.lgx-tatreez .lgx-thanks-text{margin-top:10px!important;font-size:clamp(17px,4.8vw,20px);line-height:2;color:var(--ink);white-space:pre-line}
.g1-root.lgx-tatreez .lgx-thanks-name{margin-top:8px!important;font-family:var(--t-sign);font-weight:700;font-size:clamp(36px,10vw,48px);line-height:1.35;color:var(--rose)}
.g1-root.lgx-tatreez .lgx-thanks-date{margin-top:2px!important;font-size:14px;color:var(--ink-soft)}
/* ================= 11. ending ================= */
.g1-root.lgx-tatreez footer.g1-end.lgx-ending{max-width:760px;margin:0 auto;padding:10px 16px clamp(14px,4vw,24px);text-align:center}

.g1-root.lgx-tatreez footer.g1-end .lgx-finis{margin-top:8px;font-family:var(--t-sign);font-weight:700;font-size:clamp(26px,7.8vw,34px);line-height:1.5;color:var(--gold)}
.g1-root.lgx-tatreez footer.g1-end .lgx-fin-line{margin-top:2px;font-family:var(--t-amiri);font-weight:700;font-size:clamp(19px,5.2vw,24px);line-height:1.6;color:var(--l-text)}
.g1-root.lgx-tatreez footer.g1-end p:not(.lgx-finis):not(.lgx-fin-line):not(.g1-endname){margin-top:6px;font-size:clamp(14.5px,3.8vw,17px);color:var(--l-soft);line-height:1.8}
.g1-root.lgx-tatreez footer.g1-end .g1-endname{margin-top:8px!important;font-family:var(--t-sign);font-weight:700;font-size:clamp(30px,8.6vw,42px)!important;line-height:1.4;color:var(--l-gold)!important}
.lahzatna-credit.lgx-credit{display:flex!important;align-items:center;justify-content:center;gap:12px;margin:0!important;padding:4px 12px 34px!important;background:transparent}
.lahzatna-credit.lgx-credit>a:first-child{display:inline-flex!important;align-items:center;gap:8px;color:#87635a!important;font:400 14.5px 'Noto Naskh Arabic','Amiri',serif!important;text-decoration:none!important;letter-spacing:0!important}
.lahzatna-credit.lgx-credit .lgx-ico{width:17px;height:17px}
.lahzatna-credit.lgx-credit .lgx-credit-sep{width:1px;height:18px;background:rgba(135,99,90,.5)}
.lahzatna-credit.lgx-credit .lahzatna-ig{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-10px;color:#87635a}
.lahzatna-credit.lgx-credit .lahzatna-ig .lgx-ico{width:22px;height:22px}
.g1-map-sheet{background:#fbf7f3;color:#4a1d1d}
.g1-map-sheet-head h3{color:#4a1d1d;font-family:'Amiri',serif}
@media (min-width:760px){
  .g1-root.lgx-tatreez .lgx-sec{padding-top:56px;padding-bottom:60px}
}
@media (max-width:370px){
  .g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn{font-size:14px;gap:6px;padding:8px 6px}
  .g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn .lgx-ico{width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce){
  .g1-root.lgx-tatreez .lgx-half{transition:none}.g1-root.lgx-tatreez .lgx-line{animation:none!important}.g1-root.lgx-tatreez .lgx-line.on{clip-path:none;opacity:1;filter:none}
  .g1-root.lgx-tatreez.g1-lifted .g1-doc,.g1-root.lgx-tatreez .g1-hint,.g1-root.lgx-tatreez .lgx-scrollhint-arrow{animation:none}
}
.g1-root.lgx-tatreez .g1-doc .lahzatna-live-focus{outline:2px dashed color-mix(in srgb,var(--l-gold) 85%,transparent);outline-offset:4px;border-radius:12px}

.g1-root.lgx-tatreez footer.g1-end .g1-endname{color:var(--rose)!important}

/* ================= «إبرة وخيط» — opening: the half-stitched name and the needle ================= */
.g1-root.lgx-tatreez .g1-open,.g1-root.lgx-tatreez .lgx-scene{background:#d9caa9}
.g1-root.lgx-tatreez .lgx-namecv{position:absolute;z-index:2;left:50%;top:43.6%;width:min(86%,92vw,480px);height:17.6%;translate:-50% 0;display:block}
.g1-root.lgx-tatreez .lgx-ph-txt{display:none;position:absolute;z-index:2;left:50%;width:min(88%,92vw);translate:-50% 0;top:43.4%;height:18%;align-items:center;justify-content:center;margin:0;font-family:var(--t-sign);font-weight:700;font-size:10cqw;line-height:1.2;color:var(--th);text-align:center}
.g1-root.lgx-tatreez .is-text .lgx-ph-txt{display:flex}.g1-root.lgx-tatreez .is-text .lgx-namecv{visibility:hidden}
.g1-root.lgx-tatreez .lgx-needle{position:absolute;z-index:3;width:7.5%;height:auto;translate:-6% -100%;rotate:24deg;transform-origin:6% 100%;pointer-events:none;filter:drop-shadow(3px 6px 4px rgba(40,20,10,.35))}
.g1-root.lgx-tatreez .g1-open .is-sewing .lgx-needle{animation:lgx-sew .16s infinite alternate ease-in-out}
.g1-root.lgx-tatreez .g1-open .is-done .lgx-needle{animation:none}
@keyframes lgx-sew{from{translate:0 0}to{translate:-2px 3px}}
.g1-root.lgx-tatreez .lgx-ph-top{position:absolute;z-index:4;inset:0;pointer-events:none;text-align:center}
.g1-root.lgx-tatreez .lgx-ph-k{position:absolute;left:0;right:0;top:15%;padding:0 18px;font-family:var(--t-sign);font-weight:700;font-size:clamp(26px,8vw,34px);color:var(--th)}
.g1-root.lgx-tatreez .lgx-ph-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.g1-root.lgx-tatreez .lgx-ph-from{font-family:var(--t-amiri);font-size:16px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .g1-open .lgx-ph-from{position:absolute;left:0;right:0;top:73.5%;padding:0 18px}
.g1-root.lgx-tatreez .lgx-ph-bot{position:absolute;z-index:4;left:0;right:0;top:73%;padding:0 18px;text-align:center}
.g1-root.lgx-tatreez .lgx-ph-tag{font-family:var(--t-sign);font-size:clamp(20px,6vw,26px);color:var(--th2)}
.g1-root.lgx-tatreez .lgx-ph-date{margin-top:8px!important;font-family:var(--ui);font-weight:800;font-size:clamp(16px,4.8vw,19px);color:var(--th)}
.g1-root.lgx-tatreez .lgx-ph-bot .lgx-ph-from{margin-top:8px!important;color:var(--ink)}
.g1-root.lgx-tatreez .g1-hint{background:rgba(255,250,238,.88);border-color:var(--th);color:var(--th)}
.g1-root.lgx-tatreez .lgx-tap-hand{fill:none;stroke:var(--th);stroke-width:1.6}
.g1-root.lgx-tatreez .lgx-tap-ring{border-color:var(--th)}
.g1-root.lgx-tatreez .lgx-ph-chip{bottom:calc(16% + 78px);background:rgba(255,250,238,.85);border-color:var(--th);color:var(--th)}
.g1-root.lgx-tatreez .lgx-hero .lgx-ph-chip{bottom:calc(64px + env(safe-area-inset-bottom,0px))}
.g1-root.lgx-tatreez .lgx-scrollhint{background:rgba(255,250,238,.85);border-color:rgba(155,28,36,.5);color:var(--th)}
.g1-root.lgx-tatreez .g1-s-cap.lgx-hero{background:#d9caa9}

/* ================= page: titles in thread colour, motifs with meanings ================= */
.g1-root.lgx-tatreez .lgx-title h2,.g1-root.lgx-tatreez .lgx-info-title{color:var(--th)}
.g1-root.lgx-tatreez .lgx-title .lgx-emb{color:var(--th2);width:30px;height:30px}
.g1-root.lgx-tatreez .lgx-orn-line{background:repeating-linear-gradient(90deg,var(--th2) 0 4px,transparent 4px 7px);height:2px}
.g1-root.lgx-tatreez .lgx-sub{color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-motif{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 auto 4px}
.g1-root.lgx-tatreez .lgx-motif-cv{display:block;height:72px;width:auto;max-width:90%}
.g1-root.lgx-tatreez .lgx-mean{display:inline-block;padding:3px 14px;border-radius:999px;background:rgba(155,28,36,.08);font-family:var(--t-amiri);font-size:14px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-motif + .lgx-title .lgx-orn{display:none}
.g1-root.lgx-tatreez .lgx-linen{background-color:#f4ecda;background-image:repeating-linear-gradient(0deg,rgba(120,95,60,.07) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(120,95,60,.07) 0 1px,transparent 1px 3px);border:0;border-radius:6px;box-shadow:0 18px 30px -20px rgba(60,30,10,.55),inset 0 0 0 7px #f4ecda,inset 0 0 0 9px rgba(155,28,36,.18)}
.g1-root.lgx-tatreez .lgx-tile{background:#f4ecda;border:0;box-shadow:0 14px 24px -18px rgba(60,30,10,.6)}
.g1-root.lgx-tatreez .lgx-ico2{stroke:var(--th)}.g1-root.lgx-tatreez .lgx-v,.g1-root.lgx-tatreez .lgx-cal-day{color:var(--th)}
/* 1. invitation on linen with stitched bands and a stitched name */
.g1-root.lgx-tatreez .lgx-invite.lgx-linen{max-width:440px;margin:0 auto;padding:16px 18px 18px;text-align:center}
.g1-root.lgx-tatreez .lgx-band{display:block;width:100%;height:44px;margin:0 auto 10px}
.g1-root.lgx-tatreez .lgx-band--b{margin:14px auto 0}
.g1-root.lgx-tatreez .lgx-invite .lgx-poem{margin:2px 0 10px!important;font-family:var(--t-sign);font-size:clamp(21px,6vw,26px);line-height:1.6;color:var(--th2);white-space:normal}
.g1-root.lgx-tatreez .lgx-invite .lgx-lead b{display:inline;font-family:var(--t-amiri);font-size:1em;color:var(--th)}
.g1-root.lgx-tatreez .lgx-invite .lgx-names{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.g1-root.lgx-tatreez .lgx-invite.is-text .lgx-names{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;margin:6px 0 0;color:var(--th);font-size:clamp(40px,12vw,56px)}
.g1-root.lgx-tatreez .lgx-name-st{display:block;width:100%;height:clamp(96px,30vw,128px);margin:6px auto 0}
.g1-root.lgx-tatreez .lgx-invite.is-text .lgx-name-st{display:none}
.g1-root.lgx-tatreez .lgx-invite .lgx-sub2,.g1-root.lgx-tatreez .lgx-invite .lgx-cd-text{color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-invite .lgx-cd-text strong{color:var(--th)}
.g1-root.lgx-tatreez .lgx-invite .lgx-cd-text{margin-top:10px!important}
.g1-root.lgx-tatreez .lgx-invite .lgx-welcome{margin:12px 0 0!important;font-family:var(--t-amiri);font-size:clamp(16px,4.6vw,18px);color:var(--ink)}
.g1-root.lgx-tatreez .lgx-invite .lgx-welcome::before{content:"«"}.g1-root.lgx-tatreez .lgx-invite .lgx-welcome::after{content:"»"}
.g1-root.lgx-tatreez .lgx-sign{display:inline-block;min-width:150px;margin-top:14px;padding-top:8px;border-top:2px dashed rgba(155,28,36,.45)}
.g1-root.lgx-tatreez .lgx-sign-k{display:block;font-size:13px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-sign-n{font-family:var(--t-sign);font-weight:700;font-size:23px;color:var(--th)}
/* 2. calendar */
.g1-root.lgx-tatreez .lgx-cal{background:#f4ecda;border:0;box-shadow:0 14px 24px -18px rgba(60,30,10,.6)}
.g1-root.lgx-tatreez .lgx-cal-top{background:var(--th);background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.1) 0 2px,transparent 2px 6px),repeating-linear-gradient(-45deg,rgba(255,255,255,.1) 0 2px,transparent 2px 6px)}
.g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn--solid{background:var(--th)}
.g1-root.lgx-tatreez .g1-calendar-actions a.lgx-btn--line{color:var(--th);border-color:var(--th);background:#f4ecda}
/* 3. countdown: stitched digits on linen squares */
.g1-root.lgx-tatreez .lgx-cd{padding:4px;background:none;box-shadow:none;color:var(--ink)}
.g1-root.lgx-tatreez .lgx-cd-grid.lgx-sqs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;direction:rtl}
.g1-root.lgx-tatreez .lgx-sq{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;border-radius:6px;background-color:#f4ecda;background-image:repeating-linear-gradient(0deg,rgba(120,95,60,.07) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(120,95,60,.07) 0 1px,transparent 1px 3px);box-shadow:0 12px 20px -14px rgba(60,30,10,.6),inset 0 0 0 4px #f4ecda,inset 0 0 0 5px rgba(155,28,36,.25)}
.g1-root.lgx-tatreez .lgx-num-cv{display:block;width:100%;height:clamp(44px,13vw,60px)}
.g1-root.lgx-tatreez .lgx-sq .lgx-count-num{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.g1-root.lgx-tatreez .lgx-sq-l{font-family:var(--ui);font-size:14px;color:var(--ink-soft)}
.g1-root.lgx-tatreez .lgx-cd-line{margin-top:12px!important;font-family:var(--t-amiri);font-size:16px;color:var(--ink-soft)}
/* 4. venue */
.g1-root.lgx-tatreez .g1-s-venue .lgx-venue-card h2{color:var(--th)}
.g1-root.lgx-tatreez .g1-s-venue .g1-map.lgx-map-btn{background:var(--th)}
/* 5. program */
.g1-root.lgx-tatreez .lgx-prog-rose{fill:none;stroke:rgba(155,28,36,.35);stroke-width:2.2;stroke-linecap:round}
.g1-root.lgx-tatreez .lgx-prog-row.is-lit .lgx-prog-rose{stroke:var(--th)}
.g1-root.lgx-tatreez .lgx-prog-row.is-lit{background:linear-gradient(270deg,rgba(155,28,36,.07),transparent 85%)}
.g1-root.lgx-tatreez .lgx-prog-row{border-bottom:2px dashed rgba(155,28,36,.25)}
.g1-root.lgx-tatreez .lgx-prog-time{color:var(--th)}
/* 6. dress: thread spools */
.g1-root.lgx-tatreez .lgx-swatch-dot{border-radius:6px;background:repeating-linear-gradient(0deg,rgba(255,255,255,.22) 0 1px,transparent 1px 4px),var(--sw);box-shadow:0 -6px 0 -2px #c9a77a,0 6px 0 -2px #c9a77a,0 6px 12px rgba(0,0,0,.2);width:40px;height:40px}
.g1-root.lgx-tatreez .lgx-dr-style{color:var(--th)}
/* 8. RSVP */
.g1-root.lgx-tatreez .lgx-form-card.lgx-linen{padding:18px}
.g1-root.lgx-tatreez .lgx-orn-rose{fill:none;stroke:var(--th);stroke-width:1.5}
/* 9. handkerchiefs */
.g1-root.lgx-tatreez .lgx-wish{background:#f8f1e1;border:0;border-radius:4px;box-shadow:0 14px 24px -16px rgba(60,30,10,.6);position:relative}
.g1-root.lgx-tatreez .lgx-wish::after{content:"";position:absolute;inset:6px;border:1.5px dashed rgba(155,28,36,.3);border-radius:2px;pointer-events:none}
.g1-root.lgx-tatreez .lgx-wish-av{width:46px;height:46px;border-radius:0;background:none!important;flex:none}
.g1-root.lgx-tatreez .lgx-bl-sign{color:var(--th);font-family:var(--t-sign);font-size:19px}
/* 10. notes / 11. ending */
.g1-root.lgx-tatreez .lgx-note{border:2px dashed rgba(155,28,36,.35);background:#f4ecda}
.g1-root.lgx-tatreez .lgx-note p{color:var(--th)}
.g1-root.lgx-tatreez .lgx-end-motif{display:block;width:min(260px,70vw);height:48px;margin:0 auto 10px}
.g1-root.lgx-tatreez footer.g1-end .lgx-finis{color:var(--th2)}
.g1-root.lgx-tatreez footer.g1-end .g1-endname{color:var(--th)!important}
.g1-root.lgx-tatreez .lgx-arrow{color:var(--th)}.g1-root.lgx-tatreez .lgx-dots button[aria-current="true"]{background:var(--th)}
.g1-root.lgx-tatreez .g1-bgm{background:var(--th);border-color:#f4ecda}
@media (prefers-reduced-motion:reduce){.g1-root.lgx-tatreez .lgx-needle{animation:none!important}}
