/* Henna 03 — «صندوق العروس». Original design (3D renders + live text) by لحظتنا on the Graduation 01 V12 system. */
.g1-root.lgx-chest{
  --x-font:'Noto Naskh Arabic','Amiri',serif;--x-num:'Tajawal','Noto Naskh Arabic',sans-serif;
  --h-bg:#1e120a;--h-bg-2:#4a2a16;--h-deep:#120a05;--wine:#8e1b22;--gold:#e2c071;--gold-2:#ecd29a;--gold-deep:#b68a3a;--cream:#f7ecd5;
  --linen:#efe2c6;--linen-2:#e4d2ad;--l-ink:#3a1712;--ink-soft:#7a5b4b;--l-text:#f6e7c9;--text-soft:#d8bba3;
  --l-gold:var(--gold);--l-gold-2:var(--gold-2);--l-soft:var(--text-soft);--l-paper:var(--linen);--l-paper-2:var(--linen-2);--l-ink-soft:var(--ink-soft);--l-wine:var(--wine);
  --linen-bg:radial-gradient(120% 90% at 50% 0%,#f8eedb,#efe2c6 60%,#e4d2ad);
  --t-amiri:'Amiri','Noto Naskh Arabic',serif;--t-sign:'Aref Ruqaa','Amiri',serif;--t-latin:'Cormorant Garamond','Playfair Display',Georgia,serif;
  --g1-paper:var(--h-bg);--g1-ink:#f6e7c9;--g1-soft:#d8bba3;--g1-accent:#e2c071;--g1-font:var(--x-font);
}
.g1-root.lgx-chest[data-theme="ebony"]{--text-soft:#cfc6bd}
.g1-root.lgx-chest[data-theme="rosewood"]{--text-soft:#e0c4b4}
html:has(.lgx-chest){background:var(--h-bg,#2c070c)}
body{margin:0;background:var(--h-bg,#2c070c)}
.g1-root.lgx-chest{position:relative;color:var(--l-text);font-family:var(--x-font);overflow-x:hidden;overflow-x:clip;min-height:100vh;-webkit-text-size-adjust:100%;text-size-adjust:100%;
  background:radial-gradient(120% 60% at 50% 0,var(--h-bg-2),var(--h-bg) 45%,var(--h-deep) 100%) 0 0/100% 1600px no-repeat,var(--h-deep)}
.g1-root.lgx-chest *{box-sizing:border-box}
.g1-root.lgx-chest [hidden]{display:none!important}
.g1-root.lgx-chest p{margin:0}
.g1-root.lgx-chest button{font-family:inherit}
.g1-root.lgx-chest .g1-doc{position:relative;z-index:1;padding-bottom:4px}
.g1-root.lgx-chest .g1-confetti{position:fixed;z-index:70;inset:0;width:100%;height:100%;pointer-events:none}
.g1-root.lgx-chest .g1-bgm{position:fixed;z-index:20;right:4%;bottom:max(4%,env(safe-area-inset-bottom));width:52px;height:52px;padding:13px;border-radius:50%;background:var(--l-gold);border:2px solid rgba(255,255,255,.6);color:var(--h-deep);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-chest.g1-lifted .g1-bgm{opacity:1;pointer-events:auto}
.g1-root.lgx-chest .g1-bgm svg{width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-linecap:round;display:block}
.g1-root.lgx-chest .g1-bgm .g1-bgm-off{opacity:0;transition:opacity .25s}
.g1-root.lgx-chest .g1-bgm[aria-pressed="false"]{background:#7d8597}
.g1-root.lgx-chest .g1-bgm[aria-pressed="false"] .g1-bgm-off{opacity:1}
.g1-root.lgx-chest .g1-scrollhint{display:none!important}
.g1-root.lgx-chest .lgx-emb{display:block;color:var(--l-gold)}


/* ================= THE TRAY (curtain): 3D renders stacked — unlit tray, lit tray, flame glows, velvet cloth ================= */
.g1-root.lgx-chest .g1-open{position:fixed;z-index:60;inset:0;overflow:hidden;cursor:pointer;background:var(--h-deep);-webkit-tap-highlight-color:transparent;outline:none}
.g1-root.lgx-chest .lgx-scene{position:absolute;inset:0;overflow:hidden;background:radial-gradient(70% 70% at 50% 45%,var(--h-bg-2),var(--h-deep) 78%),var(--h-deep)}
@media (min-aspect-ratio:9/16){.g1-root.lgx-chest .lgx-shot{-webkit-mask-image:linear-gradient(180deg,transparent,#000 9%),linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(180deg,transparent,#000 9%),linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect}}
.g1-root.lgx-chest .lgx-shot{position:absolute;top:9%;left:50%;height:100%;aspect-ratio:1080/1920;transform:translateX(-50%);max-width:none;-webkit-mask-image:linear-gradient(180deg,transparent,#000 9%);mask-image:linear-gradient(180deg,transparent,#000 9%)}
.g1-root.lgx-chest .lgx-shot img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.g1-root.lgx-chest .lgx-fr{opacity:0}
.g1-root.lgx-chest .lgx-fr.on{opacity:1}
.g1-root.lgx-chest .lgx-ph-lit{opacity:0;transition:opacity .35s ease}
.g1-root.lgx-chest .lgx-scene.is-open .lgx-ph-lit{opacity:1}
.g1-root.lgx-chest .lgx-scene.is-open .lgx-fr{opacity:0}
.g1-root.lgx-chest .lgx-glow{position:absolute;left:20%;right:20%;top:38%;height:22%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,200,120,.38),rgba(255,170,80,0));mix-blend-mode:screen;opacity:0;transition:opacity 1s ease .2s;pointer-events:none}
.g1-root.lgx-chest .lgx-scene.is-open .lgx-glow{opacity:1;animation:lgx-shine 3.6s ease-in-out infinite}
@keyframes lgx-shine{0%,100%{opacity:.75}50%{opacity:1}}
.g1-root.lgx-chest .lgx-scene.is-open .lgx-ph-lit{transition:none}
.g1-root.lgx-chest .lgx-ph-top{position:absolute;z-index:2;left:0;right:0;top:0;padding:max(4svh,calc(env(safe-area-inset-top) + 18px)) 16px 56px;text-align:center;background:linear-gradient(180deg,rgba(20,4,6,.6),rgba(20,4,6,0))}
.g1-root.lgx-chest .lgx-ph-kicker{font-family:var(--t-sign);font-weight:700;font-size:clamp(21px,6vw,26px);color:var(--gold)}
.g1-root.lgx-chest .lgx-ph-name{font-family:var(--t-sign);font-weight:700;font-size:clamp(56px,17vw,78px);line-height:1.25;color:var(--cream);white-space:nowrap;text-shadow:0 2px 0 #00000055,0 0 30px rgba(226,192,113,.18)}
.g1-root.lgx-chest .lgx-ph-from{font-family:var(--t-amiri);font-size:clamp(15px,4.3vw,18px);color:var(--text-soft);text-wrap:balance}
.g1-root.lgx-chest .lgx-ph-bottom{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:70px 16px calc(max(9svh,64px) + 54px);text-align:center;background:linear-gradient(0deg,rgba(20,4,6,.88),rgba(20,4,6,0))}
.g1-root.lgx-chest .lgx-hero .lgx-ph-bottom{padding-bottom:calc(max(4svh,26px) + 50px)}
.g1-root.lgx-chest .lgx-ph-when{font-family:var(--x-num);font-weight:800;font-size:clamp(16px,4.8vw,20px);color:#ffd78a;text-wrap:balance}
.g1-root.lgx-chest .lgx-ph-chip{display:inline-block;margin-top:10px!important;padding:4px 16px;border-radius:999px;border:1px solid var(--gold-deep);color:var(--gold);font-size:14px}
.g1-root.lgx-chest .lgx-hero-stage{position:absolute;inset:0}
.g1-root.lgx-chest .g1-hint{position:absolute;z-index:6;left:0;right:0;bottom:max(5%,calc(env(safe-area-inset-bottom) + 14px));margin:0 auto;width:max-content;max-width:88vw;padding:13px 28px;border-radius:999px;background:linear-gradient(180deg,#f3d98f,#d6a94e);color:#3a0a10;font-family:var(--t-amiri);font-weight:700;font-size:clamp(16px,4.4vw,19px);text-align:center;box-shadow:0 10px 24px -10px rgba(0,0,0,.7);animation:lgx-breathe 2.4s ease-in-out infinite}
@keyframes lgx-breathe{0%,100%{opacity:.85}50%{opacity:1}}
.g1-root.lgx-chest .g1-open{transition:none!important}
.g1-root.lgx-chest.g1-lifted .g1-open{opacity:0;visibility:hidden;pointer-events:none}
.g1-root.lgx-chest.g1-on .g1-open .g1-hint{animation:none;opacity:0;transition:opacity .35s ease}
.g1-root.lgx-chest.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-chest .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-chest .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-chest:not(.g1-lifted) .lgx-scrollhint{opacity:0}
.g1-root.lgx-chest .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-chest .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-chest .lgx-title{display:flex;flex-direction:column;align-items:center;margin:0 auto clamp(20px,6vw,32px)}
.g1-root.lgx-chest .lgx-orn{display:flex;align-items:center;justify-content:center;gap:10px}
.g1-root.lgx-chest .lgx-orn-line{display:block;width:clamp(48px,15vw,84px);height:1px;background:linear-gradient(90deg,transparent,var(--l-gold))}
.g1-root.lgx-chest .lgx-orn-line:last-child{transform:scaleX(-1)}
.g1-root.lgx-chest .lgx-orn-emb svg{display:block;width:30px;height:auto}
.g1-root.lgx-chest .lgx-h{margin:4px 0 0;font-family:var(--t-sign);font-weight:700;font-size:clamp(33px,9.6vw,46px);line-height:1.4;color:var(--l-gold-2)}
.g1-root.lgx-chest .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-chest .lgx-ico{display:block;width:20px;height:20px;flex:none}
.g1-root.lgx-chest .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-chest .g1-doc .g1-div::before,.g1-root.lgx-chest .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-chest .g1-doc .g1-div::after{transform:scaleX(-1)}
.g1-root.lgx-chest .g1-doc .g1-div>i{display:block;width:8px;height:8px;flex:none;background:var(--l-gold);transform:rotate(45deg)}
.g1-root.lgx-chest .g1-doc .g1-div[hidden]{display:none!important}
.g1-root.lgx-chest .g1-doc .g1-div.lgx-div--quiet{visibility:hidden;height:2px;margin:0 auto}
.g1-root.lgx-chest .g1-s-new{margin:0 auto}
.g1-root.lgx-chest .g1-s-new .g1-extra-box{background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-chest .g1-s-text{display:none!important}
.g1-root.lgx-chest .lgx-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:clamp(24px,7vw,36px)}
.g1-root.lgx-chest .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-chest .lgx-arrow:hover{background:var(--l-gold);color:var(--h-deep)}
.g1-root.lgx-chest .lgx-dots{display:flex;align-items:center;gap:11px;min-height:20px}
.g1-root.lgx-chest .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-chest .lgx-dots button::before{content:"";position:absolute;inset:-9px}
.g1-root.lgx-chest .lgx-dots button[aria-current="true"]{background:var(--l-gold);transform:scale(1.3)}
.g1-root.lgx-chest .lgx-count-txt{font-family:var(--x-num);font-weight:800;font-size:16px;color:var(--l-gold-2);direction:ltr}
.g1-root.lgx-chest :focus-visible{outline:2px solid var(--l-gold);outline-offset:3px}
.g1-root.lgx-chest .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)}

/* ================= linen surface ================= */
.g1-root.lgx-chest .lgx-linen{position:relative;border-radius:4px;background-color:var(--linen);background-image:var(--weave,none),repeating-linear-gradient(0deg,rgba(90,60,30,.05) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(90,60,30,.05) 0 1px,transparent 1px 3px),radial-gradient(120% 90% at 50% 0%,#f8eedb,var(--linen) 60%,var(--linen-2));color:var(--l-ink);box-shadow:0 26px 40px -24px #000,0 2px 0 rgba(255,255,255,.25) inset}
/* ================= 1. invitation ================= */
.g1-root.lgx-chest .lgx-inlay{position:relative;padding:3.4cqw;border-radius:2.4cqw;background:repeating-linear-gradient(45deg,#3a2414 0 2.4cqw,#2d1b0f 2.4cqw 4.8cqw);box-shadow:0 26px 44px -22px #000,inset 0 0 0 .5cqw #c9a24a}
.g1-root.lgx-chest .lgx-inlay::before{content:"";position:absolute;inset:1.4cqw;border-radius:1.6cqw;background:radial-gradient(circle,#efe6da .55cqw,transparent .65cqw) 0 0/4cqw 4cqw;opacity:.55;pointer-events:none}
.g1-root.lgx-chest .lgx-card-wrap{width:min(92vw,430px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-chest .lgx-velvet{position:relative;border-radius:1.4cqw;color:var(--cream);background:radial-gradient(120% 90% at 30% 10%,#8e1b22,#5a0c13 60%,#3a060b);box-shadow:inset 0 0 0 1px rgba(226,192,113,.5)}
.g1-root.lgx-chest .lgx-card{padding:13cqw 6cqw 12cqw;text-align:center}
.g1-root.lgx-chest .lgx-band{position:absolute;left:3cqw;right:3cqw;display:block;height:5.4cqw;background-repeat:repeat-x;background-position:center;background-size:auto 100%}
.g1-root.lgx-chest .lgx-band--t{top:2.6cqw}.g1-root.lgx-chest .lgx-band--b{bottom:2.6cqw}
.g1-root.lgx-chest .lgx-lead{font-family:var(--t-amiri);font-size:max(17px,4.6cqw);line-height:2.05;color:#f6e7c9;text-wrap:balance}
.g1-root.lgx-chest .lgx-lead b{color:#f3d98f}
.g1-root.lgx-chest .lgx-cd-name{margin-top:1cqw!important;font-family:var(--t-sign);font-weight:700;font-size:13cqw;line-height:1.35;color:#fbf0dc;white-space:nowrap;text-shadow:0 2px 0 #0006}
.g1-root.lgx-chest .lgx-cd-sub{font-family:var(--t-amiri);font-size:max(15px,4.1cqw);color:#e6cfb8}
.g1-root.lgx-chest .lgx-cd-text{margin-top:4cqw!important;font-family:var(--t-amiri);font-size:max(15px,4.2cqw);line-height:1.95;color:#e6cfb8;text-wrap:balance}
.g1-root.lgx-chest .lgx-cd-text .lgx-para{display:block}.g1-root.lgx-chest .lgx-cd-text strong{color:#f3d98f}
.g1-root.lgx-chest .lgx-sign{display:inline-flex;flex-direction:column;align-items:center;margin-top:5cqw;padding-top:2cqw;border-top:1px solid rgba(226,192,113,.5);min-width:40cqw}
.g1-root.lgx-chest .lgx-sign small{font-size:max(12.5px,3.3cqw);color:#e6cfb8}
.g1-root.lgx-chest .lgx-sign b{font-family:var(--t-sign);font-weight:700;font-size:max(20px,5.8cqw);color:#f3d98f}
/* ================= 2. date ================= */
.g1-root.lgx-chest .lgx-slip{--own-w:min(88vw,410px);width:min(88vw,410px);margin:0 auto;container-type:inline-size;padding:calc(var(--own-w) * 0.04) calc(var(--own-w) * 0.05);text-align:right;border-top:calc(var(--own-w) * 0.02) solid var(--wine)}
.g1-root.lgx-chest .lgx-sl-row{display:flex;align-items:baseline;gap:2.6cqw;padding:3cqw 0;border-bottom:1px dashed rgba(58,23,18,.28)}
.g1-root.lgx-chest .lgx-sl-row:last-child{border:0}
.g1-root.lgx-chest .lgx-sl-row small{flex:none;width:15cqw;font-weight:700;color:var(--wine);font-size:max(13px,3.6cqw)}
.g1-root.lgx-chest .lgx-sl-row i{flex:1;min-width:3cqw;border-bottom:1px dotted rgba(58,23,18,.35)}
.g1-root.lgx-chest .lgx-sl-row b{max-width:72%;font-family:var(--x-num);font-weight:800;font-size:max(15px,4.4cqw);line-height:1.4;color:var(--l-ink);text-align:left;text-wrap:balance;overflow-wrap:anywhere}
.g1-root.lgx-chest .lgx-sl-row b.lgx-sl-place{font-family:var(--t-amiri);font-weight:700}
.g1-root.lgx-chest .g1-s-calendar .lgx-cal-box{max-width:430px;margin:clamp(22px,6vw,30px) auto 0;padding:0;background:none;border:0;box-shadow:none}
.g1-root.lgx-chest .g1-s-calendar .g1-calendar-desc{margin:0 0 14px;font-size:clamp(14.5px,3.9vw,17px);color:var(--l-soft)}
.g1-root.lgx-chest .g1-s-calendar .g1-calendar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.g1-root.lgx-chest .g1-calendar-actions a.lgx-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:8px 10px;border-radius:999px;font-size:clamp(14.5px,4vw,16.5px);font-weight:700;text-decoration:none;transition:filter .2s}
.g1-root.lgx-chest .g1-calendar-actions a.lgx-btn--solid{background:linear-gradient(180deg,#f3d98f,#d6a94e);color:#3a0a10;border:0}
.g1-root.lgx-chest .g1-calendar-actions a.lgx-btn--line{background:transparent;color:var(--l-gold-2);border:1.5px solid var(--l-gold)}
.g1-root.lgx-chest .g1-calendar-actions a.lgx-btn:hover{filter:brightness(1.07)}
.g1-root.lgx-chest .g1-calendar-actions a.lgx-btn span{white-space:nowrap}


/* ================= 3. lanterns ================= */
.g1-root.lgx-chest .g1-s-countdown .g1-extra-box{display:none}
.g1-root.lgx-chest .lgx-coins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.6vw;width:min(92vw,420px);margin:0 auto}
.g1-root.lgx-chest .lgx-coin{display:flex;flex-direction:column;align-items:center;min-width:0}
.g1-root.lgx-chest .lgx-coin-face{display:grid;place-items:center;width:100%;max-width:84px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3c4,#e6b95a 45%,#a8771f 85%);box-shadow:inset 0 0 0 3px #c99a3c,inset 0 0 0 5px #f6dc94,inset 0 0 0 7px rgba(140,98,30,.6),0 10px 16px -8px #000}
.g1-root.lgx-chest .lgx-coin-face b{font-family:var(--x-num);font-weight:800;font-size:clamp(20px,6.4vw,27px);color:#4a2a08;font-variant-numeric:tabular-nums;text-shadow:0 1px 0 rgba(255,245,210,.7)}
.g1-root.lgx-chest .lgx-coin small{margin-top:8px;font-size:13.5px;color:var(--l-text)}
.g1-root.lgx-chest .lgx-cd-line{margin-top:16px!important;font-family:var(--t-amiri);font-size:clamp(15px,4.2vw,18px);color:var(--text-soft)}
/* ================= 4. venue ================= */
.g1-root.lgx-chest .lgx-venue-frame{width:min(88vw,410px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-chest .g1-s-venue .lgx-venue-card{padding:6cqw 6cqw 7cqw;text-align:center}
.g1-root.lgx-chest .lgx-venue-emb{display:block;width:10cqw;height:auto;margin:0 auto 1cqw;color:#e2c071}
.g1-root.lgx-chest .lgx-venue-kicker{font-size:max(13px,3.6cqw);color:#e6cfb8}
.g1-root.lgx-chest .g1-s-venue .lgx-venue-card h2{margin:1cqw 0 0;font-family:var(--t-sign);font-weight:700;font-size:9cqw;line-height:1.4;color:#fbf0dc;overflow-wrap:anywhere;text-wrap:balance}
.g1-root.lgx-chest .g1-s-venue .lgx-venue-card .g1-sub{margin:1.6cqw 0 0;font-size:max(14px,4cqw);line-height:1.7;color:#e6cfb8;overflow-wrap:anywhere}
.g1-root.lgx-chest .g1-s-venue .lgx-venue-card .g1-sub+.g1-sub{font-weight:700;color:#fbf0dc;text-wrap:balance}
.g1-root.lgx-chest .g1-s-venue .g1-map{display:flex;align-items:center;justify-content:center;gap:8px;width:min(76vw,300px);min-height:52px;margin:clamp(20px,6vw,28px) auto 0;padding:8px 18px;border-radius:999px;border:0;background:var(--wine);color:#fff;text-decoration:none;font-size:clamp(14.5px,4vw,16.5px);font-weight:700;letter-spacing:0;transition:filter .2s}
.g1-root.lgx-chest .g1-s-venue .g1-map:hover{filter:brightness(1.07)}

/* ================= 5. program ================= */
.g1-root.lgx-chest .g1-s-prog>ul.g1-prog{display:none}
.g1-root.lgx-chest .lgx-prog-card{--own-w:min(92vw,430px);width:min(92vw,430px);margin:0 auto;container-type:inline-size;padding:calc(var(--own-w) * 0.02) calc(var(--own-w) * 0.05)}
.g1-root.lgx-chest .lgx-prog-list{--lit:0px;list-style:none;margin:0;padding:0;text-align:right}
.g1-root.lgx-chest .lgx-prog-row{display:grid;grid-template-columns:19cqw minmax(0,1fr) 6cqw;align-items:center;gap:2.6cqw;padding:3.4cqw 1cqw;border-bottom:1px dashed rgba(58,23,18,.28);transition:background .5s}
.g1-root.lgx-chest .lgx-prog-row:last-child{border:0}
.g1-root.lgx-chest .lgx-prog-time{font-family:var(--x-num);font-weight:800;font-size:max(15px,4.2cqw);color:var(--wine);white-space:nowrap;direction:rtl;unicode-bidi:plaintext}
.g1-root.lgx-chest .lgx-prog-text{font-size:max(15px,4.4cqw);line-height:1.5;color:var(--l-ink);overflow-wrap:anywhere}
.g1-root.lgx-chest .lgx-prog-coin{display:block;width:6cqw;height:auto;color:#b68a3a}
.g1-root.lgx-chest .lgx-prog-coin .lgx-cn-fill{fill:#e6b95a;opacity:0;transition:opacity .5s}
.g1-root.lgx-chest .lgx-prog-row.is-lit{background:linear-gradient(270deg,rgba(142,27,34,.12),transparent 85%)}
.g1-root.lgx-chest .lgx-prog-row.is-lit .lgx-cn-fill{opacity:1}.g1-root.lgx-chest .lgx-prog-row.is-lit .lgx-prog-coin{filter:drop-shadow(0 0 4px rgba(230,185,90,.8))}
/* ================= 6. dress ================= */
.g1-root.lgx-chest .lgx-dress{--own-w:min(88vw,410px);width:min(88vw,410px);margin:0 auto;container-type:inline-size;padding:calc(var(--own-w) * 0.06) calc(var(--own-w) * 0.05) calc(var(--own-w) * 0.06);text-align:center}
.g1-root.lgx-chest .lgx-dr-style{font-family:var(--t-sign);font-weight:700;font-size:7.2cqw;line-height:1.4;color:var(--wine)}
.g1-root.lgx-chest .lgx-dr-desc{font-family:var(--t-amiri);font-size:max(15px,4.2cqw);color:var(--ink-soft)}
.g1-root.lgx-chest .lgx-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3cqw;margin-top:5cqw}
.g1-root.lgx-chest .lgx-swatches[data-n="1"],.g1-root.lgx-chest .lgx-swatches[data-n="2"],.g1-root.lgx-chest .lgx-swatches[data-n="3"]{display:flex;justify-content:center}
.g1-root.lgx-chest .lgx-swatch{display:flex;flex-direction:column;align-items:center;gap:1.6cqw;min-width:0}
.g1-root.lgx-chest .lgx-swatch-dot{display:block;width:100%;max-width:18cqw;height:auto;filter:drop-shadow(0 1.4cqw 1.4cqw rgba(0,0,0,.25))}
.g1-root.lgx-chest .lgx-swatches[data-n="1"] .lgx-swatch-dot,.g1-root.lgx-chest .lgx-swatches[data-n="2"] .lgx-swatch-dot,.g1-root.lgx-chest .lgx-swatches[data-n="3"] .lgx-swatch-dot{width:18cqw}
.g1-root.lgx-chest .lgx-swatch small{font-size:max(12px,3.3cqw);font-weight:700;color:var(--l-ink)}
.g1-root.lgx-chest .lgx-dress-note{margin:16px auto 0!important;max-width:30em;font-family:var(--t-amiri);font-size:clamp(15px,4.2vw,17px);line-height:1.9;color:var(--text-soft);white-space:pre-line;text-wrap:balance}
/* ================= 7. photos ================= */
.g1-root.lgx-chest .g1-s-gallery>.g1-extra-box,.g1-root.lgx-chest .g1-s-gallery>.g1-gallery-intro{display:none}
.g1-root.lgx-chest .lgx-gal{width:min(92vw,420px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-chest .lgx-album{position:relative;aspect-ratio:354/470;border-radius:2cqw;background:var(--linen-bg);box-shadow:0 26px 44px -22px rgba(0,0,0,.85)}
.g1-root.lgx-chest .lgx-gal-deck{position:absolute;inset:0}
.g1-root.lgx-chest .lgx-gal-page{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s .5s}
.g1-root.lgx-chest .lgx-gal-page.is-on{opacity:1;visibility:visible;transition:opacity .5s ease}
.g1-root.lgx-chest .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-chest .lgx-photo-win{display:block;overflow:hidden;background:#e3dccb}
.g1-root.lgx-chest .lgx-photo-win img{display:block;width:100%;height:100%;object-fit:cover}
.g1-root.lgx-chest .lgx-photo--main{top:6%;left:12%;width:76%;transform:rotate(-1.5deg)}
.g1-root.lgx-chest .lgx-photo--main .lgx-photo-win{aspect-ratio:226/170}
.g1-root.lgx-chest .lgx-photo--a{top:58%;right:5%;width:43%;transform:rotate(2.5deg)}
.g1-root.lgx-chest .lgx-photo--b{top:59%;left:5%;width:43%;transform:rotate(-3deg)}
.g1-root.lgx-chest .lgx-photo--a .lgx-photo-win,.g1-root.lgx-chest .lgx-photo--b .lgx-photo-win{aspect-ratio:150/110}
.g1-root.lgx-chest .lgx-gal-n1 .lgx-photo--main{top:16%}
.g1-root.lgx-chest .lgx-gal-n2 .lgx-photo--a{right:28.5%}
.g1-root.lgx-chest .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-chest .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-chest .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-chest .lgx-photo--a .lgx-photo-no,.g1-root.lgx-chest .lgx-photo--b .lgx-photo-no{display:none}
.g1-root.lgx-chest .lgx-photo--a .lgx-photo-cap,.g1-root.lgx-chest .lgx-photo--b .lgx-photo-cap{right:2cqw;max-width:none;text-align:center}
.g1-root.lgx-chest .lgx-gal .lgx-nav{margin-top:max(22px,6cqw)}
.g1-root.lgx-chest .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-chest .lgx-gal>.lgx-album+.lgx-gal-hint{margin-top:max(22px,6cqw)!important}
.g1-root.lgx-chest .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 form ================= */
.g1-root.lgx-chest .g1-s-addon{position:relative}
.g1-root.lgx-chest .lgx-form-scene{width:min(88vw,410px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-chest .lgx-form-card{padding:6cqw 5.5cqw;text-align:right}
.g1-root.lgx-chest .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-chest .g1-s-addon .g1-rs-field{display:flex;flex-direction:column;gap:2px}
.g1-root.lgx-chest .g1-s-addon .g1-rs-field>span,.g1-root.lgx-chest .g1-s-addon .lgx-field-label{margin:0;font-size:max(13px,3.7cqw);color:var(--l-ink-soft)}
.g1-root.lgx-chest .g1-s-addon .g1-rs-field input,.g1-root.lgx-chest .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-chest .g1-s-addon .g1-rs-field textarea{min-height:88px;resize:vertical;line-height:30px;background:repeating-linear-gradient(180deg,transparent 0 29px,rgba(58,23,18,.2) 29px 30px);border-bottom:0;padding-top:0}
.g1-root.lgx-chest .g1-s-addon .g1-rs-field input:focus{border-bottom-color:var(--wine)}
.g1-root.lgx-chest .g1-s-addon .g1-rs-field input::placeholder,.g1-root.lgx-chest .g1-s-addon .g1-rs-field textarea::placeholder{color:#a3907c}
.g1-root.lgx-chest .g1-s-addon .lgx-rsvp-question{margin-bottom:-4px!important}
.g1-root.lgx-chest .g1-s-addon .g1-rs-choice{display:grid;grid-template-columns:1fr 1fr;gap:2.6cqw}
.g1-root.lgx-chest .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-chest .g1-s-addon .g1-rs-choice button .lgx-ico{width:18px;height:18px;display:none}
.g1-root.lgx-chest .g1-s-addon .g1-rs-choice button.is-on{background:var(--l-ink);color:#fff}
.g1-root.lgx-chest .g1-s-addon .g1-rs-choice button.is-on .lgx-ico{display:block}
.g1-root.lgx-chest .g1-s-addon .lgx-companions{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
.g1-root.lgx-chest .g1-s-addon .g1-rs-step{display:flex;align-items:center;gap:12px}
.g1-root.lgx-chest .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-chest .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-chest .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:var(--wine);color:#fff;font-family:var(--x-font);font-size:16.5px;font-weight:800;box-shadow:0 10px 20px -12px rgba(0,0,0,.6);transition:filter .2s}
.g1-root.lgx-chest .g1-s-addon .g1-rs-send:hover{filter:brightness(1.1)}
.g1-root.lgx-chest .g1-s-addon .g1-rs-send:disabled{opacity:.6;cursor:progress}
.g1-root.lgx-chest .g1-s-addon .g1-rs-error{color:#a3342f;text-align:center;font-size:15px}
.g1-root.lgx-chest .g1-s-addon .g1-message{margin:0;min-height:1.4em;text-align:center;font-size:15.5px;color:var(--wine);font-weight:700}
.g1-root.lgx-chest .g1-s-addon .g1-message:empty{display:none}

/* ================= 9. blessings ================= */
.g1-root.lgx-chest .g1-s-wishes>.g1-extra-box{display:none}
.g1-root.lgx-chest .lgx-wish-scene{width:min(88vw,410px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-chest .lgx-wish-deck{display:grid;min-height:46cqw;align-items:center;padding:2cqw 0}
.g1-root.lgx-chest .lgx-wish-deck>*{grid-area:1/1}
.g1-root.lgx-chest .lgx-blessing{margin:0;padding:7cqw 6cqw 5cqw;text-align:right}
.g1-root.lgx-chest .lgx-tag{border-radius:2cqw 2cqw 2cqw 2cqw}
.g1-root.lgx-chest .lgx-tag::before{content:"";position:absolute;top:3cqw;left:3.4cqw;width:3.2cqw;height:3.2cqw;border-radius:50%;background:var(--h-deep);box-shadow:0 0 0 .6cqw #c9a24a}
.g1-root.lgx-chest .lgx-bl-tag{font-size:max(12px,3.3cqw);font-weight:700;color:var(--wine)}
.g1-root.lgx-chest .lgx-blessing .lgx-wish-msg{margin:1.6cqw 0 0;padding:0;border:0;font-family:var(--t-amiri);font-size:max(16px,4.6cqw);line-height:1.9;color:var(--l-ink);white-space:pre-line;overflow-wrap:anywhere;unicode-bidi:plaintext}
.g1-root.lgx-chest .lgx-bl-sign{margin-top:2.6cqw;font-family:var(--t-sign);font-weight:700;font-size:max(19px,5.6cqw);color:var(--wine)}
.g1-root.lgx-chest .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-chest .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-chest .lgx-wish-list{display:grid;gap:6cqw}

/* ================= 10. notes ================= */
.g1-root.lgx-chest .g1-s-notes>.g1-extra-box,.g1-root.lgx-chest .g1-s-notes>h2{display:none}
.g1-root.lgx-chest .lgx-info{width:min(88vw,410px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-chest .lgx-info-head{text-align:center;margin-bottom:4cqw}
.g1-root.lgx-chest .lgx-info-title{margin:0;font-family:var(--t-sign);font-weight:700;font-size:clamp(30px,8.6vw,38px);line-height:1.4;color:var(--gold-2)}
.g1-root.lgx-chest .lgx-info-list{list-style:none;margin:0;padding:2cqw 5cqw;text-align:right}
.g1-root.lgx-chest .lgx-info-list li{display:flex;gap:2.6cqw;align-items:baseline;padding:3cqw 0;border-bottom:1px dashed rgba(58,23,18,.25)}
.g1-root.lgx-chest .lgx-info-list li:last-child{border:0}
.g1-root.lgx-chest .lgx-dia{flex:none;width:3.2cqw;height:3.2cqw;color:var(--wine);transform:translateY(.4cqw)}
.g1-root.lgx-chest .lgx-info-list p{font-size:max(15px,4.3cqw);line-height:1.7;color:var(--l-ink);overflow-wrap:anywhere}
/* ================= after the event: thank-you ================= */
.g1-root.lgx-chest .lgx-thanks{--own-w:min(88vw,410px);position:relative;width:min(88vw,410px);margin:0 auto;container-type:inline-size;padding:calc(var(--own-w) * 0.09) calc(var(--own-w) * 0.07) calc(var(--own-w) * 0.09);text-align:center;border-radius:4px;border-top:calc(var(--own-w) * 0.02) solid var(--wine);background-color:var(--linen);background-image:var(--weave,none),repeating-linear-gradient(0deg,rgba(90,60,30,.05) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(90,60,30,.05) 0 1px,transparent 1px 3px),radial-gradient(120% 90% at 50% 0%,#f8eedb,var(--linen) 60%,var(--linen-2));color:var(--l-ink);box-shadow:0 26px 40px -24px #000,0 2px 0 rgba(255,255,255,.25) inset}
.g1-root.lgx-chest .lgx-thanks-emb svg{width:12cqw;height:auto;margin:0 auto}
.g1-root.lgx-chest .lgx-thanks-emb .lgx-emb{color:var(--wine)}
.g1-root.lgx-chest .lgx-thanks-text{margin-top:4cqw!important;font-family:var(--t-amiri);font-size:max(16px,5cqw);line-height:2;color:var(--l-ink);white-space:pre-line}
.g1-root.lgx-chest .lgx-thanks-name{margin-top:4cqw!important;font-family:var(--t-sign);font-weight:700;font-size:9cqw;line-height:1.35;color:var(--wine)}
.g1-root.lgx-chest .lgx-thanks-date{margin-top:1cqw!important;font-size:max(13px,3.8cqw);color:var(--ink-soft)}
/* ================= 11. ending ================= */
.g1-root.lgx-chest footer.g1-end.lgx-ending{max-width:760px;margin:0 auto;padding:10px 16px clamp(14px,4vw,24px);text-align:center}
.g1-root.lgx-chest .lgx-ending-art{display:block;width:46px;height:auto;margin:6px auto 4px;filter:drop-shadow(0 0 26px rgba(255,170,70,.4))}
.g1-root.lgx-chest footer.g1-end .lgx-finis{margin-top:8px;font-family:var(--t-sign);font-weight:700;font-size:clamp(25px,7vw,32px);line-height:1.4;color:var(--l-gold-2)}
.g1-root.lgx-chest 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-chest 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-chest 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:#d8bba3!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(216,187,163,.5)}
.lahzatna-credit.lgx-credit .lahzatna-ig{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-10px;color:#d8bba3}
.lahzatna-credit.lgx-credit .lahzatna-ig .lgx-ico{width:22px;height:22px}
.g1-map-sheet{background:#f6ead2;color:#3a1712}
.g1-map-sheet-head h3{color:#3a1712;font-family:'Amiri',serif}
@media (min-width:760px){
  .g1-root.lgx-chest .lgx-sec{padding-top:56px;padding-bottom:60px}
}
@media (max-width:370px){
  .g1-root.lgx-chest .g1-calendar-actions a.lgx-btn{font-size:14px;gap:6px;padding:8px 6px}
  .g1-root.lgx-chest .g1-calendar-actions a.lgx-btn .lgx-ico{width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce){
  .g1-root.lgx-chest .lgx-ph-lit{transition:none}.g1-root.lgx-chest .lgx-glow{animation:none}
  .g1-root.lgx-chest.g1-lifted .g1-doc,.g1-root.lgx-chest .g1-hint,.g1-root.lgx-chest .lgx-scrollhint-arrow{animation:none}
}
.g1-root.lgx-chest .g1-doc .lahzatna-live-focus{outline:2px dashed color-mix(in srgb,var(--l-gold) 85%,transparent);outline-offset:4px;border-radius:12px}
