/* kad2u Public Opener Flow
   Isolated public-card styling so admin/client UI is not affected. */

.ewc-public-page,
.ewc-public-page *{
  box-sizing:border-box;
}

.ewc-public-page{
  margin:0;
  min-height:100svh;
  font-family:Calibri,'Segoe UI',Candara,Arial,sans-serif;
  color:var(--text,#342936);
  background:
    radial-gradient(circle at 12% 0,rgba(255,229,238,.78),transparent 34%),
    radial-gradient(circle at 88% 10%,rgba(225,215,255,.50),transparent 32%),
    linear-gradient(135deg,#fff8fa,#f1e9ee 55%,#e8e5ea);
  overflow-x:hidden;
}

.ewc-public-page button,
.ewc-public-page input,
.ewc-public-page textarea,
.ewc-public-page select{
  font-family:Calibri,'Segoe UI',Candara,Arial,sans-serif;
}

.ewc-public-page.ewc-locked{
  overflow:hidden;
}

.ewc-public-page a{
  color:inherit;
  text-decoration:none;
}

/* Opener first, card hidden until user clicks */
.ewc-opener{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:26px;
  overflow:hidden;
  transition:opacity .45s ease,visibility .45s ease,transform .45s ease;
}

.ewc-opener-bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.68),rgba(255,244,248,.88)),
    var(--ewc-bg);
  background-size:cover;
  background-position:center;
  transform:scale(1.04);
  filter:saturate(1.04);
}

.ewc-opener:after{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 45% 18%,rgba(255,255,255,.82),transparent 18%),
    radial-gradient(circle at 20% 80%,rgba(255,206,222,.26),transparent 20%),
    radial-gradient(circle at 85% 78%,rgba(197,166,255,.18),transparent 18%);
  animation:ewcFloatGlow 8s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes ewcFloatGlow{
  from{transform:translate3d(-1.2%,0,0) scale(1)}
  to{transform:translate3d(1.2%,-1%,0) scale(1.03)}
}

.ewc-envelope-wrap{
  position:relative;
  z-index:2;
  width:min(390px,100%);
}

.ewc-envelope-card{
  position:relative;
  min-height:520px;
  border-radius:36px;
  padding:28px;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.52));
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 30px 90px rgba(75,43,58,.20), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(26px) saturate(165%);
  -webkit-backdrop-filter:blur(26px) saturate(165%);
}

.ewc-envelope-card:before,
.ewc-envelope-card:after{
  content:"";
  position:absolute;
  width:270px;
  height:270px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(255,221,230,.90),transparent 66%);
  pointer-events:none;
}
.ewc-envelope-card:before{left:-120px;top:-100px}
.ewc-envelope-card:after{right:-125px;bottom:-120px;background:radial-gradient(circle,rgba(218,202,255,.58),transparent 66%)}

.ewc-envelope-flap{
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:46%;
  background:linear-gradient(160deg,rgba(255,255,255,.42),rgba(255,232,239,.54));
  clip-path:polygon(0 0,100% 0,50% 100%);
  border-top:1px solid rgba(255,255,255,.8);
  opacity:.9;
}

.ewc-envelope-seal{
  position:absolute;
  top:45%;
  left:50%;
  transform:translate(-50%,-50%);
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:22px;
  background:linear-gradient(135deg,var(--button,#B76E8A),#8f4b66);
  box-shadow:0 14px 36px rgba(143,75,102,.30), inset 0 1px 0 rgba(255,255,255,.32);
}

.ewc-envelope-content{
  position:relative;
  z-index:2;
  padding-top:70px;
}

.ewc-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:var(--primary,#B76E8A);
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.ewc-envelope-content h1{
  margin:14px 0 12px;
  color:var(--primary,#B76E8A);
  font-family:var(--opener-font,var(--card-font,Georgia,'Times New Roman',serif));
  font-size:48px;
  line-height:.98;
  letter-spacing:-.04em;
  font-weight:500;
}
.ewc-envelope-content h1 em{
  display:block;
  font-style:normal;
  color:var(--accent,#E7B7C4);
  font-size:.68em;
  line-height:1.05;
}

.ewc-envelope-content p{
  max-width:310px;
  margin:0 auto 26px;
  color:rgba(52,41,54,.78);
  line-height:1.55;
  font-size:15px;
}

.ewc-open-btn,
.ewc-btn-primary,
.ewc-btn-soft{
  border:0;
  cursor:pointer;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ewc-open-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:50px;
  padding:14px 22px;
  color:#fff;
  background:linear-gradient(135deg,var(--button,#B76E8A),#8f4b66);
  box-shadow:0 16px 36px rgba(143,75,102,.26);
}
.ewc-open-btn i{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-style:normal;
}
.ewc-open-btn:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(143,75,102,.32)}

.ewc-public-page.ewc-opened .ewc-opener{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:scale(1.018);
}

.ewc-phone-wrap{
  position:relative;
  z-index:1;
  min-height:100svh;
  width:100%;
  transition:opacity .42s ease, transform .42s ease, filter .42s ease;
}
.ewc-public-page.ewc-locked .ewc-phone-wrap{
  opacity:0;
  pointer-events:none;
  transform:translateY(18px) scale(.985);
  filter:blur(3px);
  height:100svh;
  overflow:hidden;
}
.ewc-public-page.ewc-opened .ewc-phone-wrap{
  opacity:1;
  transform:none;
  filter:none;
}

/* Phone/card stage */
.ewc-phone{
  position:relative;
  width:100%;
  max-width:430px;
  min-height:100svh;
  margin:0 auto;
  overflow:clip;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,246,249,.38)),
    var(--ewc-bg);
  background-size:cover;
  background-position:center top;
  box-shadow:0 0 0 1px rgba(255,255,255,.52), 0 28px 90px rgba(44,29,38,.22);
}

.ewc-phone:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,247,250,.60)),
    radial-gradient(circle at 50% 20%,rgba(255,255,255,.42),transparent 34%);
  pointer-events:none;
}

.ewc-topbar{
  position:sticky;
  top:0;
  z-index:35;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:calc(14px + env(safe-area-inset-top)) 18px 8px;
  pointer-events:none;
}
.ewc-top-btn{
  pointer-events:auto;
  min-width:44px;
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.76);
  border-radius:999px;
  color:var(--text,#342936);
  background:rgba(255,255,255,.66);
  box-shadow:0 12px 28px rgba(42,25,35,.10);
  backdrop-filter:blur(18px) saturate(165%);
  -webkit-backdrop-filter:blur(18px) saturate(165%);
  font-weight:800;
}

.ewc-card-main{
  position:relative;
  z-index:2;
  padding:0 18px 116px;
}

.ewc-screen{
  min-height:calc(100svh - 62px);
  display:grid;
  place-items:center;
}
.ewc-hero{
  text-align:center;
  padding:34px 0 42px;
}
.ewc-hero-inner{
  width:100%;
  padding:42px 22px 28px;
  border-radius:34px;
  background:linear-gradient(180deg,rgba(255,255,255,.36),rgba(255,255,255,.18));
  border:1px solid rgba(255,255,255,.38);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.ewc-invitation-text{
  max-width:330px;
  margin:14px auto 24px;
  line-height:1.6;
  color:rgba(52,41,54,.78);
  font-size:14px;
}
.ewc-names strong{
  display:block;
  font-family:var(--card-font,Georgia,'Times New Roman',serif);
  font-size:62px;
  line-height:.92;
  font-weight:500;
  color:var(--primary,#B76E8A);
  letter-spacing:-.055em;
  text-shadow:0 2px 0 rgba(255,255,255,.42);
}
.ewc-names em{
  display:block;
  margin:8px 0 10px;
  font-family:var(--card-font,Georgia,'Times New Roman',serif);
  font-style:normal;
  font-size:42px;
  line-height:1;
  color:var(--accent,#E7B7C4);
}
.ewc-date-card{
  display:inline-grid;
  gap:4px;
  margin-top:26px;
  padding:14px 22px;
  min-width:235px;
  border-radius:22px;
  background:rgba(255,255,255,.66);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 14px 32px rgba(41,25,35,.10);
  backdrop-filter:blur(16px) saturate(155%);
  -webkit-backdrop-filter:blur(16px) saturate(155%);
}
.ewc-date-card b{font-size:14px;color:var(--primary,#B76E8A)}
.ewc-date-card span{font-size:12px;color:rgba(52,41,54,.70)}

.ewc-section{
  margin:0 0 18px;
}
.ewc-glass{
  border-radius:28px;
  padding:22px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.76);
  box-shadow:0 18px 44px rgba(41,25,35,.11), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter:blur(22px) saturate(170%);
  -webkit-backdrop-filter:blur(22px) saturate(170%);
}
.overlay-none .ewc-glass{background:rgba(255,255,255,.48);backdrop-filter:none;-webkit-backdrop-filter:none}
.overlay-blur .ewc-glass{background:rgba(255,255,255,.54);backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%)}
.overlay-gradient .ewc-glass{background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.42),rgba(242,215,222,.42))}

.ewc-section-label,
.ewc-small-title{
  display:block;
  margin-bottom:8px;
  font-size:11px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  color:var(--primary,#B76E8A);
}
.ewc-small-title{text-align:center;margin-bottom:14px}
.ewc-section h2{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.12;
  font-weight:900;
  color:var(--text,#342936);
}
.ewc-section p{
  margin:0 0 12px;
  line-height:1.58;
  color:rgba(52,41,54,.82);
}

.ewc-countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.ewc-countdown div{
  display:grid;
  place-items:center;
  gap:4px;
  min-height:78px;
  border-radius:20px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.66);
}
.ewc-countdown strong{
  font-family:Georgia,'Times New Roman',serif;
  font-size:28px;
  line-height:1;
  color:var(--text,#342936);
}
.ewc-countdown span{
  font-size:11px;
  font-weight:800;
  color:rgba(52,41,54,.64);
}

.ewc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.ewc-btn-primary,
.ewc-btn-soft{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 17px;
}
.ewc-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--button,#B76E8A),#8f4b66);
  box-shadow:0 13px 30px rgba(143,75,102,.22);
}
.ewc-btn-soft{
  color:var(--primary,#B76E8A);
  background:rgba(255,255,255,.68);
  border:1px solid rgba(255,255,255,.76);
}
.ewc-btn-primary:hover,.ewc-btn-soft:hover{transform:translateY(-1px)}

.ewc-form{display:grid;gap:12px}
.ewc-form label{
  display:grid;
  gap:6px;
  font-size:12px;
  font-weight:900;
  color:rgba(52,41,54,.86);
}
.ewc-form input,
.ewc-form select,
.ewc-form textarea{
  width:100%;
  border:1px solid rgba(96,65,82,.12);
  border-radius:18px;
  padding:13px 14px;
  color:var(--text,#342936);
  background:rgba(255,255,255,.72);
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
.ewc-form textarea{resize:vertical;min-height:94px}
.ewc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.ewc-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.ewc-gallery img{
  width:100%;
  height:145px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 12px 28px rgba(39,24,32,.13);
}
.ewc-wishes{display:grid;gap:10px;margin-top:14px}
.ewc-wish{
  padding:15px;
  border-radius:22px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.68);
}
.ewc-wish strong{display:block;margin-bottom:6px;color:var(--primary,#B76E8A)}
.ewc-wish p{margin:0}
.ewc-footer{
  padding:24px 0 4px;
  text-align:center;
  color:rgba(52,41,54,.54);
  font-size:12px;
}

.ewc-bottom-nav{
  position:fixed;
  left:50%;
  bottom:calc(14px + env(safe-area-inset-bottom));
  z-index:80;
  width:min(396px,calc(100% - 32px));
  min-height:72px;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  transform:translateX(-50%);
  border-radius:30px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(255,255,255,.80);
  box-shadow:0 20px 58px rgba(35,22,29,.19);
  backdrop-filter:blur(25px) saturate(175%);
  -webkit-backdrop-filter:blur(25px) saturate(175%);
}
.ewc-public-page.ewc-locked .ewc-bottom-nav{display:none}
.ewc-bottom-nav a{
  flex:1;
  min-width:0;
  min-height:56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border-radius:22px;
  color:rgba(52,41,54,.78);
  font-size:10px;
  font-weight:900;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.ewc-bottom-nav a span{font-size:17px;line-height:1}
.ewc-bottom-nav a.active{
  background:rgba(255,255,255,.78);
  color:var(--primary,#B76E8A);
  box-shadow:0 10px 25px rgba(54,31,43,.10);
  transform:translateY(-1px);
}

/* Make old public classes harmless if cached markup/CSS overlaps */
.ewc-public-page .mobile-preview-shell,
.ewc-public-page .wedding-public,
.ewc-public-page .bottom-nav,
.ewc-public-page .envelope-screen{
  font-family:Calibri,'Segoe UI',Candara,Arial,sans-serif;
}

@media (min-width:720px){
  .ewc-phone{
    border-radius:34px;
    margin-top:24px;
    margin-bottom:24px;
    min-height:calc(100svh - 48px);
  }
  .ewc-screen{min-height:calc(100svh - 110px)}
}

@media (max-width:480px){
  .ewc-phone{max-width:none;box-shadow:none}
  .ewc-card-main{padding-left:14px;padding-right:14px}
  .ewc-names strong{font-size:54px}
  .ewc-envelope-content h1{font-size:42px}
  .ewc-envelope-card{min-height:500px;border-radius:32px}
  .ewc-bottom-nav{width:calc(100% - 24px)}
}

@media (max-width:360px){
  .ewc-countdown{gap:6px}
  .ewc-countdown strong{font-size:23px}
  .ewc-bottom-nav a{font-size:9px}
  .ewc-names strong{font-size:48px}
}

/* V8 Public Opener Premium Flow Fix
   Customer flow: full mobile cover opener -> tap button -> actual digital card.
   This overrides earlier opener sizing that looked like a small floating card on desktop. */
.ewc-public-page{
  width:100%;
  min-height:100svh;
  overflow-x:hidden;
}
.ewc-public-page.ewc-locked{
  width:100%;
  height:100svh;
  overflow:hidden !important;
}
.ewc-opener{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100svh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  background:
    radial-gradient(circle at 18% 10%,rgba(255,229,238,.72),transparent 34%),
    radial-gradient(circle at 86% 4%,rgba(226,216,255,.48),transparent 32%),
    linear-gradient(135deg,#fff8fb,#f4edf2 60%,#ebe6ef) !important;
}
.ewc-opener-bg{
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,245,249,.83)),
    var(--ewc-bg) !important;
  background-size:cover !important;
  background-position:center !important;
  opacity:.72;
  filter:blur(2px) saturate(1.08);
  transform:scale(1.045);
}
.ewc-envelope-wrap{
  width:min(430px,100%) !important;
  height:min(820px,calc(100svh - 36px)) !important;
  max-height:820px !important;
  display:flex !important;
  align-items:stretch !important;
  justify-content:center !important;
  margin:0 auto !important;
}
.ewc-envelope-card{
  width:100% !important;
  min-height:0 !important;
  height:100% !important;
  border-radius:36px !important;
  padding:26px 24px 30px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,246,250,.74)),
    var(--ewc-bg) !important;
  background-size:cover !important;
  background-position:center top !important;
  box-shadow:0 34px 110px rgba(67,39,54,.24), inset 0 1px 0 rgba(255,255,255,.88) !important;
}
.ewc-envelope-card:before{
  width:360px !important;
  height:360px !important;
  left:-160px !important;
  top:-145px !important;
  background:radial-gradient(circle,rgba(255,227,235,.88),transparent 65%) !important;
}
.ewc-envelope-card:after{
  width:360px !important;
  height:360px !important;
  right:-170px !important;
  bottom:-165px !important;
  background:radial-gradient(circle,rgba(221,205,255,.52),transparent 66%) !important;
}
.ewc-envelope-flap{
  height:42% !important;
  background:linear-gradient(150deg,rgba(255,255,255,.36),rgba(255,233,240,.54)) !important;
  opacity:.76 !important;
}
.ewc-envelope-seal{
  top:49% !important;
  width:64px !important;
  height:64px !important;
  font-size:23px !important;
  opacity:.94;
}
.ewc-envelope-content{
  width:100% !important;
  max-width:350px !important;
  padding-top:88px !important;
  transform:translateY(18px);
}
.ewc-envelope-content:before{
  content:'✦';
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  margin:0 auto 18px;
  border-radius:999px;
  color:var(--primary,#B76E8A);
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 12px 26px rgba(62,37,50,.10);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
}
.ewc-envelope-content h1{
  margin:14px auto 16px !important;
  font-size:56px !important;
  line-height:.86 !important;
  letter-spacing:-.055em !important;
  text-shadow:0 2px 0 rgba(255,255,255,.58);
}
.ewc-envelope-content h1 em{
  width:64px;
  height:64px;
  margin:4px auto 2px;
  display:grid !important;
  place-items:center;
  border-radius:999px;
  color:#fff !important;
  background:linear-gradient(135deg,var(--button,#B76E8A),#8f4b66);
  font-size:34px !important;
  box-shadow:0 16px 34px rgba(143,75,102,.25);
}
.ewc-envelope-content p{
  margin-bottom:34px !important;
  font-size:15px !important;
  color:rgba(52,41,54,.78) !important;
}
.ewc-open-btn{
  min-height:54px !important;
  padding:14px 18px 14px 24px !important;
  gap:14px !important;
  font-size:14px !important;
  box-shadow:0 18px 42px rgba(143,75,102,.28) !important;
}
.ewc-open-btn i{
  width:32px !important;
  height:32px !important;
}
.ewc-public-page.ewc-opened{
  overflow-y:auto !important;
}
.ewc-public-page.ewc-opened .ewc-opener{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:scale(1.02) !important;
}
.ewc-public-page.ewc-locked .ewc-phone-wrap{
  height:100svh !important;
  max-height:100svh !important;
  overflow:hidden !important;
}
.ewc-phone-wrap{
  display:flex;
  justify-content:center;
  width:100%;
}
.ewc-phone{
  width:100%;
  max-width:430px;
}
@media (min-width:720px){
  .ewc-phone-wrap{
    padding:20px 0;
  }
  .ewc-phone{
    border-radius:34px;
    min-height:calc(100svh - 40px);
  }
}
@media (max-width:480px){
  .ewc-opener{
    padding:0 !important;
  }
  .ewc-envelope-wrap{
    width:100vw !important;
    height:100svh !important;
    max-height:none !important;
  }
  .ewc-envelope-card{
    border-radius:0 !important;
    border:0 !important;
    padding:calc(22px + env(safe-area-inset-top)) 22px calc(26px + env(safe-area-inset-bottom)) !important;
    box-shadow:none !important;
  }
  .ewc-envelope-content{
    max-width:330px !important;
    padding-top:76px !important;
    transform:translateY(10px);
  }
  .ewc-envelope-content h1{
    font-size:51px !important;
  }
  .ewc-envelope-content p{
    font-size:14px !important;
  }
}
@media (max-width:360px){
  .ewc-envelope-content h1{font-size:46px !important;}
  .ewc-envelope-content h1 em{width:58px;height:58px;font-size:30px !important;}
  .ewc-envelope-content{padding-top:58px !important;}
}

/* V9 Public Opener Layout Correction
   Fixes opener composition: no overlapping names, better vertical balance,
   and true full-screen mobile cover before entering the card. */
.ewc-envelope-card{
  justify-content:center !important;
  padding:42px 26px !important;
}
.ewc-envelope-seal{
  display:none !important;
}
.ewc-envelope-content{
  width:100% !important;
  max-width:350px !important;
  min-height:auto !important;
  padding-top:0 !important;
  transform:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}
.ewc-envelope-content:before{
  display:none !important;
  content:none !important;
}
.ewc-opener-mark{
  width:48px;
  height:48px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:var(--primary,#B76E8A);
  background:rgba(255,255,255,.68);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 14px 34px rgba(62,37,50,.12);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
}
.ewc-envelope-content .ewc-kicker{
  margin:0 0 20px !important;
  font-size:11px !important;
  line-height:1.2 !important;
  letter-spacing:.20em !important;
  white-space:normal !important;
}
.ewc-opener-names,
.ewc-envelope-content h1.ewc-opener-names{
  width:100% !important;
  margin:0 auto 18px !important;
  padding:0 !important;
  display:grid !important;
  justify-items:center !important;
  gap:4px !important;
  color:var(--primary,#B76E8A) !important;
  font-family:var(--opener-font,var(--card-font,Georgia,'Times New Roman',serif)) !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  line-height:1 !important;
  text-shadow:0 2px 0 rgba(255,255,255,.55);
}
.ewc-opener-names span{
  display:block !important;
  font-family:inherit !important;
  font-size:56px !important;
  line-height:.94 !important;
  font-weight:500 !important;
  letter-spacing:-.035em !important;
}
.ewc-opener-names em,
.ewc-envelope-content h1.ewc-opener-names em{
  width:52px !important;
  height:52px !important;
  margin:0 !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  color:#fff !important;
  background:linear-gradient(135deg,var(--button,#B76E8A),#8f4b66) !important;
  font-family:Calibri,'Segoe UI',Candara,Arial,sans-serif !important;
  font-size:28px !important;
  line-height:1 !important;
  font-weight:900 !important;
  font-style:normal !important;
  letter-spacing:0 !important;
  box-shadow:0 14px 32px rgba(143,75,102,.24) !important;
}
.ewc-opener-date{
  min-width:210px;
  margin:0 auto 20px;
  padding:11px 17px;
  display:grid;
  gap:2px;
  border-radius:20px;
  color:rgba(52,41,54,.74);
  background:rgba(255,255,255,.56);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 12px 28px rgba(46,29,38,.10);
  backdrop-filter:blur(16px) saturate(155%);
  -webkit-backdrop-filter:blur(16px) saturate(155%);
}
.ewc-opener-date strong{
  font-size:13px;
  line-height:1.2;
  color:var(--primary,#B76E8A);
}
.ewc-opener-date small{
  font-size:11px;
  color:rgba(52,41,54,.66);
}
.ewc-envelope-content p{
  max-width:315px !important;
  margin:0 auto 26px !important;
  font-size:14px !important;
  line-height:1.62 !important;
}
.ewc-open-btn{
  min-height:52px !important;
  padding:13px 18px 13px 24px !important;
}

@media (min-width:720px){
  .ewc-envelope-wrap{
    width:min(430px,100%) !important;
    height:min(760px,calc(100svh - 56px)) !important;
  }
}

@media (max-width:560px){
  .ewc-opener{
    padding:0 !important;
  }
  .ewc-envelope-wrap{
    width:100vw !important;
    height:100svh !important;
    max-height:none !important;
  }
  .ewc-envelope-card{
    width:100vw !important;
    height:100svh !important;
    border-radius:0 !important;
    border:0 !important;
    padding:calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)) !important;
    box-shadow:none !important;
  }
  .ewc-opener-mark{
    margin-bottom:18px;
  }
  .ewc-envelope-content .ewc-kicker{
    margin-bottom:20px !important;
  }
  .ewc-opener-names span{
    font-size:52px !important;
  }
  .ewc-opener-names em{
    width:50px !important;
    height:50px !important;
    font-size:27px !important;
  }
}

@media (max-width:380px){
  .ewc-opener-mark{
    width:44px;
    height:44px;
    margin-bottom:14px;
  }
  .ewc-envelope-content .ewc-kicker{
    margin-bottom:16px !important;
    font-size:10px !important;
  }
  .ewc-opener-names span{
    font-size:46px !important;
  }
  .ewc-opener-names em{
    width:46px !important;
    height:46px !important;
    font-size:25px !important;
  }
  .ewc-opener-date{
    margin-bottom:16px;
  }
  .ewc-envelope-content p{
    margin-bottom:22px !important;
  }
}

/* V10 Opener Customization
   Client can configure opener text, icon, button, date visibility, style, and font. */
.ewc-opener-style-minimal .ewc-envelope-card{
  background-image:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,250,252,.78)),var(--ewc-bg) !important;
}
.ewc-opener-style-minimal .ewc-envelope-flap,
.ewc-opener-style-minimal .ewc-envelope-card:before,
.ewc-opener-style-minimal .ewc-envelope-card:after{
  opacity:.36 !important;
}
.ewc-opener-style-minimal .ewc-opener-mark{
  background:rgba(255,255,255,.84);
}
.ewc-opener-style-luxury .ewc-envelope-card{
  background-image:
    radial-gradient(circle at 50% 18%,rgba(255,255,255,.56),transparent 28%),
    linear-gradient(180deg,rgba(255,250,245,.64),rgba(255,244,249,.80)),
    var(--ewc-bg) !important;
  border:1px solid rgba(255,255,255,.92) !important;
}
.ewc-opener-style-luxury .ewc-opener-names span{
  text-shadow:0 3px 0 rgba(255,255,255,.62), 0 16px 38px rgba(76,39,56,.12);
}
.ewc-opener-style-luxury .ewc-opener-mark{
  box-shadow:0 16px 36px rgba(62,37,50,.14), inset 0 1px 0 rgba(255,255,255,.78);
}
.ewc-no-opener .ewc-phone-wrap{
  opacity:1 !important;
  pointer-events:auto !important;
  transform:none !important;
  filter:none !important;
  height:auto !important;
  overflow:visible !important;
}



/* V13 Gallery public fix: gallery nav follows section toggle, not image count */
.ewc-empty-gallery{
  margin-top:12px;
  padding:18px 16px;
  border-radius:24px;
  background:rgba(255,255,255,.62);
  border:1px dashed rgba(183,110,138,.34);
  color:rgba(52,41,54,.78);
  text-align:center;
}
.ewc-empty-gallery strong{
  display:block;
  color:var(--primary,#B76E8A);
  font-weight:900;
  margin-bottom:6px;
}
.ewc-empty-gallery p{
  margin:0;
  font-size:12px;
  line-height:1.55;
}
.ewc-bottom-nav.has-gallery-nav{
  width:min(430px,calc(100% - 20px));
  gap:2px;
  padding:7px;
}
.ewc-bottom-nav.has-gallery-nav a{
  font-size:9px;
  min-height:54px;
  border-radius:20px;
  gap:3px;
  letter-spacing:-.01em;
}
.ewc-bottom-nav.has-gallery-nav a span{font-size:15px}
@media (max-width:380px){
  .ewc-bottom-nav.has-gallery-nav{width:calc(100% - 12px);padding:6px}
  .ewc-bottom-nav.has-gallery-nav a{font-size:8px;min-height:50px}
  .ewc-bottom-nav.has-gallery-nav a span{font-size:14px}
}

/* V14 Guest Memory Album */
.ewc-muted-copy{
  margin:-4px 0 14px;
  color:rgba(52,41,54,.68);
  font-size:13px;
  line-height:1.6;
}
.ewc-gallery-item{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:22px;
  background:rgba(255,255,255,.55);
  box-shadow:0 12px 28px rgba(39,24,32,.13);
}
.ewc-gallery-item img{
  display:block;
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:none;
}
.ewc-gallery-item figcaption{
  padding:10px 12px 12px;
  display:grid;
  gap:3px;
  color:rgba(52,41,54,.76);
  font-size:11px;
  line-height:1.35;
}
.ewc-gallery-item figcaption strong{
  color:var(--primary,#B76E8A);
  font-size:12px;
}
.ewc-gallery-item figcaption span{
  color:rgba(52,41,54,.62);
}
.ewc-memory-upload{
  margin-top:16px;
  padding:17px;
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.70),rgba(255,255,255,.46));
  border:1px solid rgba(255,255,255,.76);
  box-shadow:0 14px 34px rgba(57,33,45,.08);
}
.ewc-memory-upload h3{
  margin:0 0 7px;
  color:var(--text,#342936);
  font-size:17px;
  letter-spacing:-.02em;
}
.ewc-memory-upload p{
  margin:0 0 14px;
  color:rgba(52,41,54,.68);
  font-size:12px;
  line-height:1.55;
}
.ewc-form small{
  color:rgba(52,41,54,.52);
  font-weight:700;
}
.ewc-form input[type="file"]{
  padding:12px;
  background:rgba(255,255,255,.78);
}

/* V16 Premium Glass Background UI Patch
   Goal: let the generated background artwork remain visible, while making
   hero/front section and lower content cards more elegant and readable.
   Safe override only: no PHP flow / DB / form logic changed. */
:root{
  --ewc-glass-bg:rgba(255,255,255,.38);
  --ewc-glass-bg-strong:rgba(255,255,255,.48);
  --ewc-glass-border:rgba(255,255,255,.62);
  --ewc-glass-shadow:0 22px 58px rgba(39,37,27,.13), inset 0 1px 0 rgba(255,255,255,.70);
  --ewc-sage:#58785d;
  --ewc-sage-dark:#365341;
  --ewc-gold:#b89555;
  --ewc-mauve:#ad557c;
}
.ewc-public-page{
  background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.92),rgba(255,255,255,.52) 32%,transparent 70%),linear-gradient(90deg,#f5f0ec,#efe7e3 46%,#f5f0ec) !important;
}
.ewc-phone{
  max-width:430px !important;
  background-image:var(--ewc-bg) !important;
  background-size:cover !important;
  background-position:center top !important;
  background-repeat:repeat-y !important;
  isolation:isolate;
}
.ewc-phone:before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02) 34%,rgba(255,255,255,.04)),radial-gradient(circle at 50% 12%,rgba(255,255,255,.22),transparent 24%),linear-gradient(90deg,rgba(255,255,255,.32),transparent 16%,transparent 84%,rgba(255,255,255,.32)) !important;
}
.ewc-phone:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 0,rgba(255,255,255,.08) 44%,rgba(255,255,255,.14) 100%);
}
.ewc-topbar,.ewc-card-main,.ewc-bottom-nav{position:relative;z-index:2;}
.ewc-topbar{
  position:sticky !important;
  top:0 !important;
  padding:calc(16px + env(safe-area-inset-top)) 20px 0 !important;
}
.ewc-top-btn{
  min-height:42px !important;
  min-width:42px !important;
  padding:0 15px !important;
  color:var(--ewc-sage-dark) !important;
  background:rgba(255,255,255,.48) !important;
  border:1px solid rgba(255,255,255,.70) !important;
  box-shadow:0 12px 26px rgba(58,48,37,.10), inset 0 1px 0 rgba(255,255,255,.70) !important;
  backdrop-filter:blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(150%) !important;
}
.ewc-card-main{padding:0 24px 126px !important;}
.ewc-screen{
  min-height:760px !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
}
.ewc-hero{
  padding:210px 0 76px !important;
  text-align:center !important;
}
.ewc-hero-inner{
  position:relative !important;
  width:100% !important;
  max-width:348px !important;
  margin:0 auto !important;
  padding:42px 24px 28px !important;
  overflow:hidden !important;
  border-radius:110px 110px 34px 34px !important;
  background:radial-gradient(circle at 50% 4%,rgba(255,255,255,.58),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,.28)) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 28px 70px rgba(53,49,35,.14), inset 0 1px 0 rgba(255,255,255,.78) !important;
  backdrop-filter:blur(10px) saturate(145%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(145%) !important;
}
.ewc-hero-inner:before{
  content:"✦";
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  margin:0 auto 16px;
  border-radius:999px;
  color:var(--ewc-gold);
  background:rgba(255,255,255,.36);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}
.ewc-hero-inner:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:radial-gradient(circle at 18% 18%,rgba(255,255,255,.26),transparent 13%),radial-gradient(circle at 82% 22%,rgba(255,255,255,.22),transparent 13%);
}
.ewc-hero .ewc-kicker{
  color:var(--ewc-sage) !important;
  letter-spacing:.24em !important;
  font-size:11px !important;
  font-weight:900 !important;
}
.ewc-invitation-text{
  max-width:286px !important;
  margin:18px auto 22px !important;
  color:rgba(43,54,42,.78) !important;
  font-size:14px !important;
  line-height:1.72 !important;
}
.ewc-names{
  display:grid !important;
  justify-items:center !important;
  gap:3px !important;
  margin:0 auto !important;
}
.ewc-names strong{
  display:block !important;
  max-width:100% !important;
  font-family:var(--card-font,Georgia,'Times New Roman',serif) !important;
  font-size:58px !important;
  line-height:.95 !important;
  font-weight:500 !important;
  letter-spacing:-.035em !important;
  color:var(--ewc-sage-dark) !important;
  text-shadow:0 2px 0 rgba(255,255,255,.54), 0 18px 42px rgba(31,55,38,.10) !important;
}
.ewc-names em{
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  width:auto !important;
  height:auto !important;
  margin:3px auto 4px !important;
  padding:0 42px !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:30px !important;
  line-height:1 !important;
  font-style:normal !important;
  font-weight:700 !important;
  color:var(--ewc-gold) !important;
}
.ewc-names em:before,.ewc-names em:after{
  content:"";
  position:absolute;
  top:50%;
  width:32px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(184,149,85,.72));
}
.ewc-names em:before{right:calc(50% + 16px)}
.ewc-names em:after{left:calc(50% + 16px);transform:scaleX(-1)}
.ewc-date-card{
  min-width:230px !important;
  margin-top:24px !important;
  padding:14px 20px !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.48) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 16px 34px rgba(48,41,31,.10), inset 0 1px 0 rgba(255,255,255,.70) !important;
  backdrop-filter:blur(12px) saturate(150%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(150%) !important;
}
.ewc-date-card b{color:var(--ewc-sage) !important;font-size:13px !important;}
.ewc-date-card span{color:rgba(43,54,42,.70) !important;font-size:12px !important;}
.ewc-section{margin:0 0 16px !important;}
.ewc-glass,.ewc-memory-upload,.ewc-empty-gallery,.ewc-wish,.ewc-gallery-item{
  background:linear-gradient(135deg,rgba(255,255,255,.46),rgba(255,255,255,.23)) !important;
  border:1px solid var(--ewc-glass-border) !important;
  box-shadow:var(--ewc-glass-shadow) !important;
  backdrop-filter:blur(10px) saturate(145%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(145%) !important;
}
.ewc-glass{
  position:relative !important;
  overflow:hidden !important;
  border-radius:30px !important;
  padding:22px 22px !important;
}
.ewc-glass:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 12% 0%,rgba(255,255,255,.28),transparent 34%),radial-gradient(circle at 88% 100%,rgba(255,255,255,.18),transparent 32%);
}
.ewc-glass > *{position:relative;z-index:1;}
.overlay-none .ewc-glass,.overlay-blur .ewc-glass,.overlay-gradient .ewc-glass{
  background:linear-gradient(135deg,rgba(255,255,255,.46),rgba(255,255,255,.23)) !important;
  backdrop-filter:blur(10px) saturate(145%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(145%) !important;
}
.ewc-section-label,.ewc-small-title{
  color:var(--ewc-sage) !important;
  letter-spacing:.22em !important;
  font-size:10px !important;
  font-weight:900 !important;
}
.ewc-section h2{
  color:rgba(35,49,39,.96) !important;
  font-size:23px !important;
  letter-spacing:-.025em !important;
  margin-bottom:14px !important;
}
.ewc-section p{
  color:rgba(41,49,42,.78) !important;
  line-height:1.72 !important;
  font-size:14px !important;
}
.ewc-countdown-card{margin-top:-28px !important;padding:20px 18px !important;}
.ewc-countdown{gap:9px !important;}
.ewc-countdown div{
  min-height:76px !important;
  border-radius:19px !important;
  background:rgba(255,255,255,.34) !important;
  border:1px solid rgba(255,255,255,.58) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62), 0 10px 24px rgba(50,45,34,.07) !important;
  backdrop-filter:blur(7px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(7px) saturate(135%) !important;
}
.ewc-countdown strong{color:var(--ewc-sage-dark) !important;font-size:31px !important;}
.ewc-countdown span{color:rgba(43,54,42,.70) !important;}
.ewc-actions{gap:12px !important;}
.ewc-btn-primary,.ewc-btn-soft{border-radius:999px !important;min-height:44px !important;padding:12px 18px !important;}
.ewc-btn-primary{color:#fff !important;background:linear-gradient(135deg,var(--ewc-sage),var(--ewc-mauve)) !important;box-shadow:0 16px 32px rgba(100,76,72,.20) !important;}
.ewc-btn-soft{color:rgba(35,49,39,.92) !important;background:rgba(255,255,255,.38) !important;border:1px solid rgba(255,255,255,.64) !important;box-shadow:0 12px 26px rgba(45,42,31,.08) !important;}
.ewc-form{gap:12px !important;}
.ewc-form label{color:rgba(39,49,40,.86) !important;}
.ewc-form input,.ewc-form select,.ewc-form textarea{
  border:1px solid rgba(255,255,255,.58) !important;
  border-radius:17px !important;
  background:rgba(255,255,255,.38) !important;
  color:rgba(35,49,39,.95) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68), 0 10px 20px rgba(48,42,33,.04) !important;
  backdrop-filter:blur(7px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(7px) saturate(130%) !important;
}
.ewc-form input::placeholder,.ewc-form textarea::placeholder{color:rgba(43,54,42,.44) !important;}
.ewc-gallery img,.ewc-gallery-item img{border-radius:20px !important;}
.ewc-empty-gallery{border-style:dashed !important;border-color:rgba(173,85,124,.30) !important;}
.ewc-empty-gallery strong,.ewc-wish strong,.ewc-gallery-item figcaption strong{color:var(--ewc-mauve) !important;}
.ewc-muted-copy,.ewc-memory-upload p,.ewc-empty-gallery p{color:rgba(41,49,42,.68) !important;}
.ewc-footer{color:rgba(43,54,42,.55) !important;text-shadow:0 1px 0 rgba(255,255,255,.55);}
.ewc-bottom-nav,.ewc-bottom-nav.has-gallery-nav{
  position:fixed !important;
  z-index:80 !important;
  width:min(392px,calc(100% - 28px)) !important;
  min-height:66px !important;
  padding:7px !important;
  border-radius:26px !important;
  background:rgba(255,255,255,.46) !important;
  border:1px solid rgba(255,255,255,.70) !important;
  box-shadow:0 18px 50px rgba(41,38,30,.16), inset 0 1px 0 rgba(255,255,255,.70) !important;
  backdrop-filter:blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(150%) !important;
}
.ewc-bottom-nav a,.ewc-bottom-nav.has-gallery-nav a{
  min-height:52px !important;
  border-radius:20px !important;
  color:rgba(37,47,39,.78) !important;
  font-size:9px !important;
}
.ewc-bottom-nav a span,.ewc-bottom-nav.has-gallery-nav a span{color:currentColor !important;font-size:15px !important;}
.ewc-bottom-nav a.active{
  color:var(--ewc-sage) !important;
  background:rgba(255,255,255,.55) !important;
  box-shadow:0 11px 24px rgba(48,42,33,.09), inset 0 1px 0 rgba(255,255,255,.70) !important;
}
@media (min-width:720px){
  .ewc-phone{border-radius:34px !important;overflow:clip !important;}
  .ewc-screen{min-height:760px !important;}
}
@media (max-width:480px){
  .ewc-card-main{padding-left:18px !important;padding-right:18px !important;}
  .ewc-screen{min-height:735px !important;}
  .ewc-hero{padding-top:198px !important;padding-bottom:70px !important;}
  .ewc-hero-inner{max-width:342px !important;padding:39px 22px 26px !important;border-radius:96px 96px 31px 31px !important;}
  .ewc-names strong{font-size:53px !important;}
  .ewc-countdown-card{margin-top:-18px !important;}
}
@media (max-width:380px){
  .ewc-card-main{padding-left:14px !important;padding-right:14px !important;}
  .ewc-screen{min-height:705px !important;}
  .ewc-hero{padding-top:184px !important;padding-bottom:62px !important;}
  .ewc-hero-inner{padding:36px 18px 24px !important;border-radius:84px 84px 28px 28px !important;}
  .ewc-invitation-text{font-size:13px !important;}
  .ewc-names strong{font-size:47px !important;}
  .ewc-names em{font-size:25px !important;}
  .ewc-date-card{min-width:205px !important;}
  .ewc-countdown{gap:7px !important;}
  .ewc-countdown div{min-height:70px !important;}
  .ewc-countdown strong{font-size:25px !important;}
}

/* V17 TRUE GLASS + FIX BACKGROUND SCALE
   Safe CSS override only. No DB/form/RSVP/gallery logic changed. */
:root{
  --ewc-v17-sage:#526f55;
  --ewc-v17-sage-dark:#2f513d;
  --ewc-v17-gold:#b7924f;
  --ewc-v17-mauve:#b65b87;
  --ewc-v17-text:#25352b;
  --ewc-v17-border:rgba(255,255,255,.54);
  --ewc-v17-shadow:0 24px 62px rgba(32,37,25,.14), inset 0 1px 0 rgba(255,255,255,.58);
}
.ewc-public-page{
  color:var(--ewc-v17-text) !important;
  background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.82),rgba(255,255,255,.42) 38%,transparent 72%),linear-gradient(90deg,#f6f2ed,#eee6e1 48%,#f6f2ed) !important;
}
/* Fix utama: jangan guna cover untuk long scrolling page, sebab itu yang buat background zoom besar. */
.ewc-phone{
  max-width:430px !important;
  min-height:100svh !important;
  background-color:#f7f3ec !important;
  background-image:var(--ewc-bg) !important;
  background-size:100% auto !important;
  background-position:center top !important;
  background-repeat:repeat-y !important;
  background-attachment:scroll !important;
  isolation:isolate !important;
}
.ewc-phone:before,.ewc-phone:after{content:none !important;display:none !important;background:none !important;}
.ewc-topbar,.ewc-card-main{position:relative !important;z-index:2 !important;}
.ewc-topbar{padding:calc(16px + env(safe-area-inset-top)) 20px 0 !important;}
.ewc-top-btn{
  min-width:42px !important;min-height:42px !important;padding:0 15px !important;
  color:var(--ewc-v17-sage-dark) !important;background:rgba(255,255,255,.38) !important;
  border:1px solid rgba(255,255,255,.62) !important;
  box-shadow:0 12px 28px rgba(42,43,31,.10),inset 0 1px 0 rgba(255,255,255,.62) !important;
  backdrop-filter:blur(8px) saturate(145%) !important;-webkit-backdrop-filter:blur(8px) saturate(145%) !important;
}
.ewc-card-main{padding:0 22px 128px !important;}
.ewc-screen{min-height:calc(100svh - 58px) !important;display:flex !important;align-items:flex-start !important;justify-content:center !important;}
.ewc-hero{padding:148px 0 54px !important;text-align:center !important;}
.ewc-hero-inner{
  position:relative !important;width:100% !important;max-width:342px !important;margin:0 auto !important;padding:38px 24px 27px !important;overflow:hidden !important;
  border-radius:118px 118px 34px 34px !important;
  background:radial-gradient(circle at 50% 4%,rgba(255,255,255,.34),transparent 25%),linear-gradient(180deg,rgba(255,255,255,.30),rgba(255,255,255,.14)) !important;
  border:1px solid rgba(255,255,255,.60) !important;
  box-shadow:0 24px 66px rgba(44,48,33,.14),inset 0 1px 0 rgba(255,255,255,.62) !important;
  backdrop-filter:blur(7px) saturate(138%) !important;-webkit-backdrop-filter:blur(7px) saturate(138%) !important;
}
.ewc-hero-inner:before{
  content:"✦" !important;display:grid !important;place-items:center !important;width:38px !important;height:38px !important;margin:0 auto 15px !important;border-radius:999px !important;
  color:var(--ewc-v17-gold) !important;background:rgba(255,255,255,.28) !important;border:1px solid rgba(255,255,255,.48) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58),0 10px 24px rgba(44,48,33,.07) !important;
}
.ewc-hero-inner:after{
  content:"" !important;position:absolute !important;inset:0 !important;pointer-events:none !important;border-radius:inherit !important;opacity:.75 !important;
  background:linear-gradient(130deg,rgba(255,255,255,.30),transparent 31%,rgba(255,255,255,.10) 61%,transparent 100%),radial-gradient(circle at 14% 18%,rgba(255,255,255,.22),transparent 14%),radial-gradient(circle at 84% 20%,rgba(255,255,255,.18),transparent 14%) !important;
}
.ewc-hero-inner>*{position:relative !important;z-index:1 !important;}
.ewc-hero .ewc-kicker{color:var(--ewc-v17-sage) !important;letter-spacing:.24em !important;font-size:10px !important;font-weight:900 !important;}
.ewc-invitation-text{max-width:285px !important;margin:18px auto 22px !important;color:rgba(37,53,43,.82) !important;font-size:14px !important;line-height:1.72 !important;}
.ewc-names{display:grid !important;justify-items:center !important;gap:2px !important;margin:0 auto !important;}
.ewc-names strong{font-family:var(--card-font,Georgia,'Times New Roman',serif) !important;font-size:58px !important;line-height:.94 !important;font-weight:500 !important;letter-spacing:-.035em !important;color:var(--ewc-v17-sage-dark) !important;text-shadow:0 2px 0 rgba(255,255,255,.50),0 16px 40px rgba(27,52,36,.12) !important;}
.ewc-names em{position:relative !important;display:grid !important;place-items:center !important;margin:3px auto 4px !important;padding:0 40px !important;background:transparent !important;box-shadow:none !important;color:var(--ewc-v17-gold) !important;font-family:Georgia,'Times New Roman',serif !important;font-size:30px !important;font-style:normal !important;font-weight:700 !important;line-height:1 !important;}
.ewc-names em:before,.ewc-names em:after{content:"" !important;position:absolute !important;top:50% !important;width:30px !important;height:1px !important;background:linear-gradient(90deg,transparent,rgba(183,146,79,.72)) !important;}
.ewc-names em:before{right:calc(50% + 15px) !important;}.ewc-names em:after{left:calc(50% + 15px) !important;transform:scaleX(-1) !important;}
.ewc-date-card{min-width:226px !important;margin-top:23px !important;padding:13px 19px !important;border-radius:20px !important;background:rgba(255,255,255,.34) !important;border:1px solid rgba(255,255,255,.58) !important;box-shadow:0 14px 30px rgba(42,43,31,.09),inset 0 1px 0 rgba(255,255,255,.62) !important;backdrop-filter:blur(7px) saturate(140%) !important;-webkit-backdrop-filter:blur(7px) saturate(140%) !important;}
.ewc-date-card b{color:var(--ewc-v17-sage) !important;font-size:13px !important;}.ewc-date-card span{color:rgba(37,53,43,.72) !important;font-size:12px !important;}
.ewc-section{margin:0 0 16px !important;}
.ewc-glass,.ewc-memory-upload,.ewc-empty-gallery,.ewc-wish,.ewc-gallery-item{
  background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(255,255,255,.12)) !important;
  border:1px solid var(--ewc-v17-border) !important;box-shadow:var(--ewc-v17-shadow) !important;
  backdrop-filter:blur(6px) saturate(132%) !important;-webkit-backdrop-filter:blur(6px) saturate(132%) !important;
}
.ewc-glass{position:relative !important;overflow:hidden !important;border-radius:30px !important;padding:22px !important;}
.ewc-glass:before{content:"" !important;position:absolute !important;inset:0 !important;pointer-events:none !important;opacity:.72 !important;background:linear-gradient(135deg,rgba(255,255,255,.20),transparent 38%,rgba(255,255,255,.08)),radial-gradient(circle at 12% 0%,rgba(255,255,255,.20),transparent 32%) !important;}
.ewc-glass>*{position:relative !important;z-index:1 !important;}
.overlay-none .ewc-glass,.overlay-blur .ewc-glass,.overlay-gradient .ewc-glass{background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(255,255,255,.12)) !important;backdrop-filter:blur(6px) saturate(132%) !important;-webkit-backdrop-filter:blur(6px) saturate(132%) !important;}
.ewc-section-label,.ewc-small-title{color:var(--ewc-v17-sage) !important;letter-spacing:.22em !important;font-size:10px !important;font-weight:900 !important;}
.ewc-section h2{color:rgba(33,47,38,.98) !important;font-size:23px !important;letter-spacing:-.025em !important;margin-bottom:14px !important;}
.ewc-section p{color:rgba(36,48,40,.82) !important;line-height:1.72 !important;font-size:14px !important;}
.ewc-countdown-card{margin-top:-20px !important;padding:20px 18px !important;}.ewc-countdown{gap:9px !important;}
.ewc-countdown div{min-height:76px !important;border-radius:19px !important;background:rgba(255,255,255,.24) !important;border:1px solid rgba(255,255,255,.50) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.58),0 10px 24px rgba(42,43,31,.06) !important;backdrop-filter:blur(5px) saturate(128%) !important;-webkit-backdrop-filter:blur(5px) saturate(128%) !important;}
.ewc-countdown strong{color:var(--ewc-v17-sage-dark) !important;font-size:31px !important;}.ewc-countdown span{color:rgba(37,53,43,.72) !important;}
.ewc-actions{gap:12px !important;}.ewc-btn-primary,.ewc-btn-soft{border-radius:999px !important;min-height:44px !important;padding:12px 18px !important;}
.ewc-btn-primary{color:#fff !important;background:linear-gradient(135deg,var(--ewc-v17-sage),var(--ewc-v17-mauve)) !important;box-shadow:0 16px 32px rgba(91,73,67,.22) !important;}
.ewc-btn-soft{color:rgba(33,47,38,.94) !important;background:rgba(255,255,255,.30) !important;border:1px solid rgba(255,255,255,.55) !important;box-shadow:0 12px 26px rgba(42,43,31,.07) !important;backdrop-filter:blur(5px) saturate(125%) !important;-webkit-backdrop-filter:blur(5px) saturate(125%) !important;}
.ewc-form{gap:12px !important;}.ewc-form label{color:rgba(35,47,38,.88) !important;}
.ewc-form input,.ewc-form select,.ewc-form textarea{border:1px solid rgba(255,255,255,.55) !important;border-radius:17px !important;background:rgba(255,255,255,.30) !important;color:rgba(33,47,38,.95) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 10px 20px rgba(42,43,31,.04) !important;backdrop-filter:blur(5px) saturate(125%) !important;-webkit-backdrop-filter:blur(5px) saturate(125%) !important;}
.ewc-form input::placeholder,.ewc-form textarea::placeholder{color:rgba(37,53,43,.48) !important;}.ewc-form input[type="file"]{background:rgba(255,255,255,.34) !important;}
.ewc-memory-upload{margin-top:16px !important;border-radius:26px !important;}.ewc-empty-gallery{border-style:dashed !important;border-color:rgba(182,91,135,.32) !important;}
.ewc-empty-gallery strong,.ewc-wish strong,.ewc-gallery-item figcaption strong{color:var(--ewc-v17-mauve) !important;}.ewc-muted-copy,.ewc-memory-upload p,.ewc-empty-gallery p{color:rgba(36,48,40,.72) !important;}
.ewc-gallery img,.ewc-gallery-item img{border-radius:20px !important;}.ewc-footer{color:rgba(37,53,43,.58) !important;text-shadow:0 1px 0 rgba(255,255,255,.52) !important;}
.ewc-bottom-nav,.ewc-bottom-nav.has-gallery-nav{position:fixed !important;left:50% !important;bottom:calc(14px + env(safe-area-inset-bottom)) !important;transform:translateX(-50%) !important;z-index:80 !important;width:min(392px,calc(100% - 28px)) !important;min-height:66px !important;padding:7px !important;border-radius:26px !important;background:rgba(255,255,255,.34) !important;border:1px solid rgba(255,255,255,.58) !important;box-shadow:0 18px 50px rgba(42,43,31,.15),inset 0 1px 0 rgba(255,255,255,.62) !important;backdrop-filter:blur(9px) saturate(140%) !important;-webkit-backdrop-filter:blur(9px) saturate(140%) !important;}
.ewc-bottom-nav a,.ewc-bottom-nav.has-gallery-nav a{min-height:52px !important;border-radius:20px !important;color:rgba(35,47,38,.78) !important;font-size:9px !important;}
.ewc-bottom-nav a span,.ewc-bottom-nav.has-gallery-nav a span{color:currentColor !important;font-size:15px !important;}.ewc-bottom-nav a.active{color:var(--ewc-v17-sage) !important;background:rgba(255,255,255,.42) !important;box-shadow:0 11px 24px rgba(42,43,31,.08),inset 0 1px 0 rgba(255,255,255,.62) !important;}
@media (min-width:720px){.ewc-phone{border-radius:34px !important;overflow:clip !important;}}
@media (max-width:480px){.ewc-card-main{padding-left:18px !important;padding-right:18px !important;}.ewc-hero{padding-top:138px !important;padding-bottom:50px !important;}.ewc-hero-inner{max-width:340px !important;padding:37px 21px 26px !important;border-radius:106px 106px 31px 31px !important;}.ewc-names strong{font-size:53px !important;}.ewc-countdown-card{margin-top:-16px !important;}}
@media (max-width:380px){.ewc-card-main{padding-left:14px !important;padding-right:14px !important;}.ewc-hero{padding-top:126px !important;padding-bottom:46px !important;}.ewc-hero-inner{padding:34px 18px 24px !important;border-radius:92px 92px 28px 28px !important;}.ewc-invitation-text{font-size:13px !important;}.ewc-names strong{font-size:47px !important;}.ewc-names em{font-size:25px !important;}.ewc-date-card{min-width:205px !important;}.ewc-countdown{gap:7px !important;}.ewc-countdown div{min-height:70px !important;}.ewc-countdown strong{font-size:25px !important;}}

/* V18 NO HERO GLASS PATCH
   Request: bahagian atas/home tidak mahu glass card; text direct atas background.
   Safe CSS override only: no DB/form/RSVP/gallery/upload logic changed. */
:root{
  --ewc-v18-sage:#2f513d;
  --ewc-v18-sage-soft:#526f55;
  --ewc-v18-gold:#b7924f;
}

/* Hero area: remove the big frosted panel completely */
.ewc-hero{
  padding-top:210px !important;
  padding-bottom:88px !important;
  text-align:center !important;
}
.ewc-hero-inner{
  width:100% !important;
  max-width:356px !important;
  margin:0 auto !important;
  padding:0 14px !important;
  overflow:visible !important;
  border-radius:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.ewc-hero-inner:before,
.ewc-hero-inner:after{
  content:none !important;
  display:none !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
}
.ewc-hero-inner > *{
  position:relative !important;
  z-index:1 !important;
}

/* Text direct on artwork, with soft readability glow only */
.ewc-hero .ewc-kicker{
  display:block !important;
  margin:0 auto 24px !important;
  color:var(--ewc-v18-sage-soft) !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.25em !important;
  text-shadow:0 1px 0 rgba(255,255,255,.78),0 8px 22px rgba(255,255,255,.90) !important;
}
.ewc-invitation-text{
  max-width:315px !important;
  margin:0 auto 24px !important;
  color:rgba(36,50,41,.88) !important;
  font-size:14px !important;
  line-height:1.76 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.78),0 8px 24px rgba(255,255,255,.92) !important;
}
.ewc-names{
  display:grid !important;
  justify-items:center !important;
  gap:0 !important;
  margin:0 auto !important;
}
.ewc-names strong{
  display:block !important;
  font-family:var(--card-font,Georgia,'Times New Roman',serif) !important;
  font-size:62px !important;
  line-height:.92 !important;
  font-weight:500 !important;
  letter-spacing:-.035em !important;
  color:var(--ewc-v18-sage) !important;
  text-shadow:0 2px 0 rgba(255,255,255,.82),0 14px 34px rgba(255,255,255,.72),0 18px 42px rgba(27,52,36,.12) !important;
}
.ewc-names em{
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  margin:5px auto 7px !important;
  padding:0 42px !important;
  width:auto !important;
  height:auto !important;
  border-radius:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:var(--ewc-v18-gold) !important;
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:30px !important;
  line-height:1 !important;
  font-style:normal !important;
  font-weight:800 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.82),0 10px 24px rgba(255,255,255,.72) !important;
}
.ewc-names em:before,
.ewc-names em:after{
  content:"" !important;
  position:absolute !important;
  top:50% !important;
  width:30px !important;
  height:1px !important;
  background:linear-gradient(90deg,transparent,rgba(183,146,79,.78)) !important;
}
.ewc-names em:before{right:calc(50% + 16px) !important;}
.ewc-names em:after{left:calc(50% + 16px) !important;transform:scaleX(-1) !important;}

/* Date/time no longer in a glass box */
.ewc-date-card{
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
  width:auto !important;
  margin:24px auto 0 !important;
  padding:10px 0 0 !important;
  border-radius:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.ewc-date-card:before{
  content:"" !important;
  width:70px !important;
  height:1px !important;
  margin:0 auto 9px !important;
  background:linear-gradient(90deg,transparent,rgba(183,146,79,.70),transparent) !important;
}
.ewc-date-card b{
  color:var(--ewc-v18-sage-soft) !important;
  font-size:13px !important;
  line-height:1.25 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.82),0 8px 22px rgba(255,255,255,.90) !important;
}
.ewc-date-card span{
  color:rgba(36,50,41,.76) !important;
  font-size:12px !important;
  text-shadow:0 1px 0 rgba(255,255,255,.82),0 8px 22px rgba(255,255,255,.90) !important;
}

/* Keep lower content as real glass, slightly clearer but still transparent */
.ewc-glass,
.ewc-memory-upload,
.ewc-empty-gallery,
.ewc-wish,
.ewc-gallery-item{
  background:linear-gradient(135deg,rgba(255,255,255,.30),rgba(255,255,255,.13)) !important;
  border:1px solid rgba(255,255,255,.52) !important;
  box-shadow:0 20px 54px rgba(32,37,25,.12),inset 0 1px 0 rgba(255,255,255,.56) !important;
  backdrop-filter:blur(6px) saturate(132%) !important;
  -webkit-backdrop-filter:blur(6px) saturate(132%) !important;
}
.overlay-none .ewc-glass,
.overlay-blur .ewc-glass,
.overlay-gradient .ewc-glass{
  background:linear-gradient(135deg,rgba(255,255,255,.30),rgba(255,255,255,.13)) !important;
  backdrop-filter:blur(6px) saturate(132%) !important;
  -webkit-backdrop-filter:blur(6px) saturate(132%) !important;
}
.ewc-countdown-card{
  margin-top:-12px !important;
}

@media (max-width:480px){
  .ewc-hero{
    padding-top:206px !important;
    padding-bottom:82px !important;
  }
  .ewc-hero-inner{
    max-width:350px !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .ewc-names strong{font-size:56px !important;}
  .ewc-countdown-card{margin-top:-10px !important;}
}
@media (max-width:380px){
  .ewc-hero{
    padding-top:188px !important;
    padding-bottom:72px !important;
  }
  .ewc-invitation-text{font-size:13px !important;max-width:292px !important;}
  .ewc-names strong{font-size:49px !important;}
  .ewc-names em{font-size:25px !important;}
}

/* V19 HERO HEADER + PREMIUM DATE STYLE PATCH
   Adds selectable header above invitation title and styled date block.
   Safe CSS only: public submission/gallery/RSVP flow unchanged. */
:root{
  --ewc-v19-sage:#2f513d;
  --ewc-v19-sage-soft:#526f55;
  --ewc-v19-gold:#b7924f;
  --ewc-v19-ink:#26362d;
}
.ewc-hero{
  padding-top:158px !important;
  padding-bottom:70px !important;
}
.ewc-hero-inner{
  max-width:360px !important;
}
.ewc-hero-header{
  display:grid !important;
  justify-items:center !important;
  gap:4px !important;
  margin:0 auto 18px !important;
  color:var(--ewc-v19-sage) !important;
  text-align:center !important;
  text-shadow:0 1px 0 rgba(255,255,255,.82),0 10px 26px rgba(255,255,255,.92) !important;
}
.ewc-hero-header:after{
  content:"" !important;
  display:block !important;
  width:96px !important;
  height:10px !important;
  margin-top:4px !important;
  background:
    radial-gradient(circle at 50% 50%,rgba(183,146,79,.92) 0 2px,transparent 3px),
    linear-gradient(90deg,transparent,rgba(183,146,79,.72),transparent) !important;
  background-repeat:no-repeat !important;
  background-size:100% 1px,100% 1px !important;
  background-position:center 5px,center 5px !important;
  opacity:.92 !important;
}
.ewc-hero-header-main{
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:25px !important;
  line-height:1.1 !important;
  letter-spacing:.015em !important;
  color:var(--ewc-v19-sage) !important;
}
.ewc-hero-header-bismillah .ewc-hero-header-main,
.ewc-hero-header-assalam .ewc-hero-header-main,
.ewc-hero-header-barakah .ewc-hero-header-main{
  direction:rtl !important;
  font-size:31px !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  color:var(--ewc-v19-sage) !important;
}
.ewc-hero-header-sub{
  font-size:9px !important;
  line-height:1.25 !important;
  letter-spacing:.22em !important;
  text-transform:uppercase !important;
  font-weight:900 !important;
  color:rgba(82,111,85,.90) !important;
}
.ewc-hero .ewc-kicker{
  margin-bottom:18px !important;
}
.ewc-hero-header + .ewc-kicker{
  margin-top:0 !important;
}

/* New date markup reset from previous V18 date line */
.ewc-date-card,
.ewc-date-card *{
  box-sizing:border-box !important;
}
.ewc-date-card:before,
.ewc-date-card:after{
  content:none !important;
  display:none !important;
}
.ewc-date-card{
  width:min(286px,100%) !important;
  margin:26px auto 0 !important;
  color:var(--ewc-v19-ink) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.78),0 8px 22px rgba(255,255,255,.80) !important;
}
.ewc-date-main,
.ewc-date-info{
  display:grid !important;
  justify-items:center !important;
  gap:2px !important;
  min-width:0 !important;
}
.ewc-date-weekday,
.ewc-date-month,
.ewc-date-info span{
  display:block !important;
  font-size:10px !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
  letter-spacing:.14em !important;
  font-weight:800 !important;
  color:rgba(38,54,45,.72) !important;
}
.ewc-date-day{
  display:block !important;
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:38px !important;
  line-height:.95 !important;
  font-weight:700 !important;
  color:var(--ewc-v19-gold) !important;
  letter-spacing:-.035em !important;
}
.ewc-date-info b{
  display:block !important;
  font-size:12px !important;
  line-height:1.25 !important;
  color:var(--ewc-v19-sage) !important;
  font-weight:900 !important;
}
.ewc-date-divider{
  display:block !important;
  width:1px !important;
  min-height:46px !important;
  background:linear-gradient(180deg,transparent,rgba(183,146,79,.72),transparent) !important;
}

/* Split Premium: like printed invitation date block */
.ewc-date-card--split{
  display:grid !important;
  grid-template-columns:1fr 1px 1fr !important;
  align-items:center !important;
  gap:15px !important;
  padding:13px 8px !important;
  border-radius:0 !important;
  border-top:1px solid rgba(183,146,79,.45) !important;
  border-bottom:1px solid rgba(183,146,79,.45) !important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.ewc-date-card--split .ewc-date-main{
  padding-right:2px !important;
}
.ewc-date-card--split .ewc-date-info{
  align-self:center !important;
}
.ewc-date-card--split .ewc-date-info span{
  max-width:118px !important;
  text-transform:none !important;
  letter-spacing:.02em !important;
  font-size:10px !important;
  line-height:1.35 !important;
}

/* Elegant line: clean text with gold divider */
.ewc-date-card--line{
  display:grid !important;
  justify-items:center !important;
  gap:8px !important;
  padding:6px 0 0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.ewc-date-card--line .ewc-date-divider{
  order:-1 !important;
  width:106px !important;
  height:1px !important;
  min-height:1px !important;
  background:linear-gradient(90deg,transparent,rgba(183,146,79,.72),transparent) !important;
}
.ewc-date-card--line .ewc-date-main{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
}
.ewc-date-card--line .ewc-date-day{
  font-size:30px !important;
}
.ewc-date-card--line .ewc-date-info span{
  display:none !important;
}

/* Soft pill */
.ewc-date-card--pill{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
  padding:13px 18px !important;
  border-radius:23px !important;
  background:rgba(255,255,255,.28) !important;
  border:1px solid rgba(255,255,255,.56) !important;
  box-shadow:0 14px 32px rgba(42,43,31,.09),inset 0 1px 0 rgba(255,255,255,.60) !important;
  backdrop-filter:blur(5px) saturate(126%) !important;
  -webkit-backdrop-filter:blur(5px) saturate(126%) !important;
}
.ewc-date-card--pill .ewc-date-divider{
  width:88px !important;
  min-height:1px !important;
  height:1px !important;
  margin:0 auto !important;
  background:linear-gradient(90deg,transparent,rgba(183,146,79,.66),transparent) !important;
}
.ewc-date-card--pill .ewc-date-main{
  display:flex !important;
  justify-content:center !important;
  align-items:baseline !important;
  gap:7px !important;
  flex-wrap:wrap !important;
}
.ewc-date-card--pill .ewc-date-day{
  font-size:22px !important;
}

/* Minimal text */
.ewc-date-card--minimal{
  display:grid !important;
  justify-items:center !important;
  gap:4px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.ewc-date-card--minimal .ewc-date-main{
  display:flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  gap:7px !important;
  flex-wrap:wrap !important;
}
.ewc-date-card--minimal .ewc-date-day{
  font-size:22px !important;
  color:var(--ewc-v19-sage) !important;
}
.ewc-date-card--minimal .ewc-date-divider{
  width:70px !important;
  min-height:1px !important;
  height:1px !important;
  background:linear-gradient(90deg,transparent,rgba(183,146,79,.70),transparent) !important;
}
.ewc-date-card--minimal .ewc-date-info span{
  display:none !important;
}

@media (max-width:480px){
  .ewc-hero{padding-top:150px !important;padding-bottom:64px !important;}
  .ewc-hero-header{margin-bottom:16px !important;}
  .ewc-hero-header-main{font-size:23px !important;}
  .ewc-hero-header-bismillah .ewc-hero-header-main,
  .ewc-hero-header-assalam .ewc-hero-header-main,
  .ewc-hero-header-barakah .ewc-hero-header-main{font-size:28px !important;}
  .ewc-date-card--split{width:min(272px,100%) !important;gap:12px !important;}
  .ewc-date-day{font-size:35px !important;}
}
@media (max-width:380px){
  .ewc-hero{padding-top:132px !important;padding-bottom:58px !important;}
  .ewc-hero-header-main{font-size:20px !important;}
  .ewc-hero-header-bismillah .ewc-hero-header-main,
  .ewc-hero-header-assalam .ewc-hero-header-main,
  .ewc-hero-header-barakah .ewc-hero-header-main{font-size:24px !important;}
  .ewc-date-card--split{grid-template-columns:1fr !important;gap:7px !important;padding:11px 0 !important;}
  .ewc-date-card--split .ewc-date-divider{width:76px !important;height:1px !important;min-height:1px !important;background:linear-gradient(90deg,transparent,rgba(183,146,79,.70),transparent) !important;}
  .ewc-date-card--split .ewc-date-info span{display:none !important;}
}



/* =========================================================
   V20 DATE VISIBILITY HOTFIX
   Tujuan: bahagian tarikh atas hero jelas walaupun duduk atas bunga/background sibuk.
   Hero masih TANPA glass/card besar. Hanya date plaque kecil diberi contrast.
   ========================================================= */
.ewc-hero{
  padding-top:138px !important;
  padding-bottom:104px !important;
}
.ewc-hero-inner{
  max-width:386px !important;
  padding-left:18px !important;
  padding-right:18px !important;
}
.ewc-hero .ewc-kicker{
  color:#31543e !important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 8px 18px rgba(255,255,255,.70) !important;
}
.ewc-invitation-text{
  color:rgba(35,52,43,.92) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 8px 20px rgba(255,255,255,.72) !important;
}
.ewc-names{
  margin-top:22px !important;
}
.ewc-names strong{
  text-shadow:0 1px 0 rgba(255,255,255,.90),0 14px 26px rgba(255,255,255,.65) !important;
}
.ewc-date-card{
  position:relative !important;
  z-index:4 !important;
  width:min(318px,92%) !important;
  margin:20px auto 0 !important;
  color:#24372d !important;
  text-shadow:none !important;
}
.ewc-date-card .ewc-date-weekday,
.ewc-date-card .ewc-date-month,
.ewc-date-card .ewc-date-info span,
.ewc-date-card .ewc-date-info b,
.ewc-date-card .ewc-date-day{
  text-shadow:none !important;
}

/* Split Premium V20: printed invitation plaque, lebih jelas tapi masih lembut */
.ewc-date-card--split{
  display:grid !important;
  grid-template-columns:.9fr 1px 1.1fr !important;
  align-items:center !important;
  gap:13px !important;
  padding:13px 16px !important;
  border-radius:20px !important;
  overflow:hidden !important;
  background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(251,247,231,.66)) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 16px 35px rgba(41,53,41,.15),inset 0 1px 0 rgba(255,255,255,.78),inset 0 -1px 0 rgba(183,146,79,.14) !important;
  backdrop-filter:blur(4px) saturate(124%) !important;
  -webkit-backdrop-filter:blur(4px) saturate(124%) !important;
}
.ewc-date-card--split:before{
  content:"" !important;
  position:absolute !important;
  inset:6px !important;
  border-radius:15px !important;
  border:1px solid rgba(183,146,79,.28) !important;
  pointer-events:none !important;
  display:block !important;
  opacity:.95 !important;
}
.ewc-date-card--split:after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:30px !important;
  height:30px !important;
  transform:translate(-50%,-50%) !important;
  border-radius:999px !important;
  background:radial-gradient(circle,rgba(183,146,79,.20),rgba(183,146,79,0) 68%) !important;
  display:block !important;
  pointer-events:none !important;
}
.ewc-date-card--split .ewc-date-main,
.ewc-date-card--split .ewc-date-info,
.ewc-date-card--split .ewc-date-divider{
  position:relative !important;
  z-index:2 !important;
}
.ewc-date-card--split .ewc-date-weekday,
.ewc-date-card--split .ewc-date-month{
  font-size:10px !important;
  line-height:1.15 !important;
  letter-spacing:.17em !important;
  font-weight:900 !important;
  color:#3e5c46 !important;
}
.ewc-date-card--split .ewc-date-day{
  font-size:39px !important;
  line-height:.9 !important;
  color:#b08a43 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.72) !important;
}
.ewc-date-card--split .ewc-date-divider{
  width:1px !important;
  min-height:56px !important;
  height:56px !important;
  background:linear-gradient(180deg,transparent,rgba(176,138,67,.72),transparent) !important;
}
.ewc-date-card--split .ewc-date-info{
  justify-items:start !important;
  text-align:left !important;
  gap:4px !important;
}
.ewc-date-card--split .ewc-date-info b{
  font-size:12px !important;
  line-height:1.15 !important;
  color:#1f3f2e !important;
  font-weight:950 !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
}
.ewc-date-card--split .ewc-date-info span{
  display:block !important;
  max-width:132px !important;
  font-size:10.5px !important;
  line-height:1.25 !important;
  text-transform:none !important;
  letter-spacing:.01em !important;
  color:rgba(37,50,42,.86) !important;
  font-weight:750 !important;
}

/* Pilihan lain pun bagi readable, bukan tenggelam dalam bunga */
.ewc-date-card--pill{
  background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(251,247,231,.62)) !important;
  border:1px solid rgba(255,255,255,.76) !important;
  box-shadow:0 14px 32px rgba(41,53,41,.14),inset 0 1px 0 rgba(255,255,255,.78) !important;
  backdrop-filter:blur(4px) saturate(124%) !important;
  -webkit-backdrop-filter:blur(4px) saturate(124%) !important;
}
.ewc-date-card--line,
.ewc-date-card--minimal{
  width:min(300px,88%) !important;
  padding:10px 14px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.58) !important;
  border:1px solid rgba(255,255,255,.66) !important;
  box-shadow:0 12px 28px rgba(41,53,41,.10),inset 0 1px 0 rgba(255,255,255,.74) !important;
  backdrop-filter:blur(3px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(3px) saturate(120%) !important;
}
.ewc-date-card--line .ewc-date-weekday,
.ewc-date-card--line .ewc-date-month,
.ewc-date-card--minimal .ewc-date-weekday,
.ewc-date-card--minimal .ewc-date-month{
  color:#3e5c46 !important;
}
.ewc-date-card--line .ewc-date-info b,
.ewc-date-card--minimal .ewc-date-info b{
  color:#1f3f2e !important;
}

@media (max-width:480px){
  .ewc-hero{
    padding-top:132px !important;
    padding-bottom:100px !important;
  }
  .ewc-date-card{
    width:min(312px,91%) !important;
    margin-top:18px !important;
  }
  .ewc-date-card--split{
    grid-template-columns:.86fr 1px 1.14fr !important;
    gap:11px !important;
    padding:12px 14px !important;
  }
  .ewc-date-card--split .ewc-date-day{
    font-size:36px !important;
  }
  .ewc-date-card--split .ewc-date-info b{
    font-size:11.5px !important;
  }
  .ewc-date-card--split .ewc-date-info span{
    font-size:10px !important;
  }
}
@media (max-width:380px){
  .ewc-hero{
    padding-top:120px !important;
    padding-bottom:94px !important;
  }
  .ewc-date-card--split{
    width:min(292px,94%) !important;
    grid-template-columns:.82fr 1px 1.18fr !important;
    gap:9px !important;
    padding:11px 12px !important;
  }
  .ewc-date-card--split .ewc-date-day{
    font-size:32px !important;
  }
  .ewc-date-card--split .ewc-date-weekday,
  .ewc-date-card--split .ewc-date-month{
    font-size:9px !important;
  }
  .ewc-date-card--split .ewc-date-divider{
    width:1px !important;
    min-height:48px !important;
    height:48px !important;
  }
  .ewc-date-card--split .ewc-date-info b{
    white-space:normal !important;
  }
}

/* =========================================================
   V24 OPENER CATALOG-ADAPTIVE PATCH
   Tujuan: muka depan/startup ikut design catalog yang dipilih:
   - Background opener guna artwork yang sama tanpa blur berat.
   - Font ikut Card Font / Opener Font.
   - Warna text, date, icon, button ikut palette design/client setting.
   - Flow buka kad tidak disentuh.
   ========================================================= */
.ewc-opener{
  isolation:isolate !important;
  background:
    radial-gradient(circle at 14% 8%,rgba(var(--accent-rgb,231,183,196),.26),transparent 33%),
    radial-gradient(circle at 86% 8%,rgba(var(--primary-rgb,199,134,161),.14),transparent 30%),
    #fff !important;
}
.ewc-opener-bg{
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.18) 38%,rgba(255,255,255,.34)),
    var(--ewc-bg) !important;
  background-size:cover !important;
  background-position:center top !important;
}
.ewc-opener-overlay-dark .ewc-opener-bg{
  background-image:
    linear-gradient(180deg,rgba(20,14,18,.10),rgba(255,255,255,.10) 42%,rgba(255,255,255,.28)),
    var(--ewc-bg) !important;
}
.ewc-opener:after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background:
    radial-gradient(circle at 50% 43%,rgba(255,255,255,.70),transparent 29%),
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(var(--accent-rgb,231,183,196),.10)) !important;
  animation:none !important;
}
.ewc-envelope-wrap{
  position:relative !important;
  z-index:2 !important;
  width:min(430px,100%) !important;
  height:min(800px,calc(100svh - 36px)) !important;
  max-height:800px !important;
}
.ewc-envelope-card{
  position:relative !important;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.12) 46%,rgba(255,255,255,.26)),
    var(--ewc-bg) !important;
  background-size:cover !important;
  background-position:center top !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 28px 92px rgba(var(--text-rgb,61,61,61),.18), inset 0 1px 0 rgba(255,255,255,.78) !important;
  overflow:hidden !important;
}
.ewc-envelope-card:before,
.ewc-envelope-card:after,
.ewc-envelope-flap{
  display:none !important;
  content:none !important;
}
.ewc-envelope-card > *{
  position:relative !important;
  z-index:2 !important;
}
.ewc-envelope-content{
  width:100% !important;
  max-width:334px !important;
  margin:0 auto !important;
  padding:clamp(30px,8svh,76px) 8px 0 !important;
  transform:none !important;
  text-align:center !important;
  color:var(--text,#3D3D3D) !important;
}
.ewc-opener-mark{
  width:46px !important;
  height:46px !important;
  margin:0 auto 18px !important;
  color:var(--primary,#C786A1) !important;
  background:rgba(255,255,255,.70) !important;
  border:1px solid rgba(255,255,255,.82) !important;
  box-shadow:0 12px 26px rgba(var(--text-rgb,61,61,61),.09), inset 0 1px 0 rgba(255,255,255,.82) !important;
  backdrop-filter:blur(10px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(135%) !important;
}
.ewc-envelope-content .ewc-kicker{
  color:var(--primary,#C786A1) !important;
  font-family:Calibri,'Segoe UI',Candara,Arial,sans-serif !important;
  font-size:10.5px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  letter-spacing:.24em !important;
  text-transform:uppercase !important;
  text-shadow:0 1px 0 rgba(255,255,255,.85),0 8px 24px rgba(255,255,255,.72) !important;
}
.ewc-opener-names,
.ewc-envelope-content h1.ewc-opener-names{
  color:var(--primary,#C786A1) !important;
  font-family:var(--opener-font,var(--card-font,Georgia,'Times New Roman',serif)) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.88),0 13px 28px rgba(255,255,255,.52) !important;
}
.ewc-opener-names span{
  color:var(--primary,#C786A1) !important;
  font-size:clamp(48px,7.2svh,62px) !important;
  line-height:.92 !important;
  font-weight:500 !important;
  letter-spacing:-.035em !important;
}
.ewc-opener-names em,
.ewc-envelope-content h1.ewc-opener-names em{
  width:52px !important;
  height:52px !important;
  color:#fff !important;
  background:linear-gradient(135deg,var(--button,#C786A1),var(--primary,#C786A1)) !important;
  box-shadow:0 15px 32px rgba(var(--button-rgb,199,134,161),.24), inset 0 1px 0 rgba(255,255,255,.30) !important;
}
.ewc-opener-date{
  min-width:214px !important;
  max-width:292px !important;
  margin:2px auto 22px !important;
  padding:11px 18px !important;
  color:var(--text,#3D3D3D) !important;
  background:rgba(255,255,255,.64) !important;
  border:1px solid rgba(255,255,255,.78) !important;
  box-shadow:0 12px 28px rgba(var(--text-rgb,61,61,61),.10), inset 0 1px 0 rgba(255,255,255,.78) !important;
  backdrop-filter:blur(9px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(9px) saturate(135%) !important;
}
.ewc-opener-date strong{
  color:var(--primary,#C786A1) !important;
  font-weight:900 !important;
}
.ewc-opener-date small{
  color:rgba(var(--text-rgb,61,61,61),.70) !important;
}
.ewc-envelope-content p{
  max-width:320px !important;
  margin:0 auto 28px !important;
  color:rgba(var(--text-rgb,61,61,61),.82) !important;
  font-size:14.5px !important;
  line-height:1.62 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.82),0 9px 22px rgba(255,255,255,.62) !important;
}
.ewc-open-btn{
  color:#fff !important;
  background:linear-gradient(135deg,var(--button,#C786A1),var(--primary,#C786A1)) !important;
  box-shadow:0 18px 42px rgba(var(--button-rgb,199,134,161),.30), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.ewc-open-btn i{
  background:rgba(255,255,255,.22) !important;
}
.ewc-opener-style-minimal .ewc-envelope-card{
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.06) 48%,rgba(255,255,255,.20)),
    var(--ewc-bg) !important;
}
.ewc-opener-style-minimal .ewc-opener-mark,
.ewc-opener-style-minimal .ewc-opener-date{
  background:rgba(255,255,255,.48) !important;
  backdrop-filter:blur(5px) saturate(118%) !important;
  -webkit-backdrop-filter:blur(5px) saturate(118%) !important;
}
.ewc-opener-style-luxury .ewc-envelope-card{
  border:1px solid rgba(255,255,255,.82) !important;
}
.ewc-opener-style-luxury .ewc-envelope-card:before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:18px !important;
  z-index:1 !important;
  border-radius:28px !important;
  border:1px solid rgba(var(--primary-rgb,199,134,161),.22) !important;
  background:none !important;
  pointer-events:none !important;
}
.ewc-opener-style-luxury .ewc-opener-names span{
  text-shadow:0 1px 0 rgba(255,255,255,.86),0 18px 36px rgba(var(--primary-rgb,199,134,161),.14) !important;
}
@media (max-width:560px){
  .ewc-envelope-wrap{
    width:100vw !important;
    height:100svh !important;
    max-height:none !important;
  }
  .ewc-envelope-card{
    width:100vw !important;
    min-height:100svh !important;
    height:100svh !important;
    border-radius:0 !important;
    border:0 !important;
    box-shadow:none !important;
    padding:calc(30px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom)) !important;
  }
  .ewc-envelope-content{
    max-width:332px !important;
    padding-top:clamp(64px,10svh,112px) !important;
  }
  .ewc-opener-names span{
    font-size:clamp(48px,7.5svh,58px) !important;
  }
  .ewc-envelope-content p{
    font-size:14px !important;
  }
}
@media (max-width:380px){
  .ewc-envelope-content{
    padding-top:clamp(48px,8svh,84px) !important;
  }
  .ewc-opener-mark{
    width:42px !important;
    height:42px !important;
    margin-bottom:14px !important;
  }
  .ewc-envelope-content .ewc-kicker{
    font-size:9.5px !important;
    letter-spacing:.20em !important;
  }
  .ewc-opener-names span{
    font-size:44px !important;
  }
  .ewc-opener-names em{
    width:44px !important;
    height:44px !important;
    font-size:24px !important;
  }
  .ewc-opener-date{
    margin-bottom:16px !important;
  }
}


/* =========================================================
   V25 OPENER FONT FIX
   Fix: opener_font sebelum ini masuk dalam <style> dengan HTML entity
   (contoh &#039;Great Vibes&#039;), jadi browser fallback ke font biasa.
   Class di bawah paksa font opener ikut pilihan client.
   ========================================================= */
.ewc-opener-names,
.ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-names span{
  font-family:var(--opener-font,var(--card-font,Georgia,'Times New Roman',serif)) !important;
}
.ewc-opener-font-luxury-serif .ewc-opener-names,
.ewc-opener-font-luxury-serif .ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-font-luxury-serif .ewc-opener-names span{
  font-family:'Playfair Display',Georgia,'Times New Roman',serif !important;
}
.ewc-opener-font-classic-garamond .ewc-opener-names,
.ewc-opener-font-classic-garamond .ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-font-classic-garamond .ewc-opener-names span{
  font-family:'Cormorant Garamond',Garamond,Georgia,serif !important;
}
.ewc-opener-font-modern-calibri .ewc-opener-names,
.ewc-opener-font-modern-calibri .ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-font-modern-calibri .ewc-opener-names span{
  font-family:Calibri,'Segoe UI',Arial,sans-serif !important;
}
.ewc-opener-font-romantic-script .ewc-opener-names,
.ewc-opener-font-romantic-script .ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-font-romantic-script .ewc-opener-names span{
  font-family:'Great Vibes','Segoe Script','Brush Script MT','Lucida Handwriting',cursive !important;
  font-weight:400 !important;
  letter-spacing:.005em !important;
}
.ewc-opener-font-romantic-script .ewc-opener-names span{
  font-size:clamp(56px,8svh,74px) !important;
  line-height:.82 !important;
}
.ewc-opener-font-romantic-script .ewc-opener-names em{
  font-family:Calibri,'Segoe UI',Candara,Arial,sans-serif !important;
  font-weight:900 !important;
}
.ewc-opener-font-clean-times .ewc-opener-names,
.ewc-opener-font-clean-times .ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-font-clean-times .ewc-opener-names span{
  font-family:'Times New Roman',Georgia,serif !important;
}
.ewc-opener-font-formal-trebuchet .ewc-opener-names,
.ewc-opener-font-formal-trebuchet .ewc-envelope-content h1.ewc-opener-names,
.ewc-opener-font-formal-trebuchet .ewc-opener-names span{
  font-family:'Trebuchet MS',Calibri,sans-serif !important;
}
@media (max-width:560px){
  .ewc-opener-font-romantic-script .ewc-opener-names span{
    font-size:clamp(54px,8svh,68px) !important;
  }
}
@media (max-width:380px){
  .ewc-opener-font-romantic-script .ewc-opener-names span{
    font-size:50px !important;
  }
}

/* =========================================================
   V26 OPENER INNER FRAME REMOVE
   Fix: garis/lingkaran nipis warna biru/pink pada startup page datang
   daripada decorative inner frame untuk opener style luxury. Frame ini
   dipaksa oleh CSS, jadi ia muncul walaupun client tukar design catalog.
   ========================================================= */
.ewc-opener .ewc-envelope-card:before,
.ewc-opener .ewc-envelope-card::before,
.ewc-opener .ewc-envelope-card:after,
.ewc-opener .ewc-envelope-card::after,
.ewc-opener .ewc-envelope-flap,
.ewc-opener-style-luxury .ewc-envelope-card:before,
.ewc-opener-style-luxury .ewc-envelope-card::before,
.ewc-opener-style-luxury .ewc-envelope-card:after,
.ewc-opener-style-luxury .ewc-envelope-card::after{
  content:none !important;
  display:none !important;
  opacity:0 !important;
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
  pointer-events:none !important;
}

/* V32 Public Event Sections
   Fix duplicate Majlis/Lokasi content and add centered sections for
   Butiran Majlis, Aturcara Majlis, Lokasi and Contact Person. */
.ewc-info-section{
  text-align:center;
  scroll-margin-top:84px;
}
.ewc-info-section .ewc-section-label{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.ewc-info-section h2{
  text-align:center;
  margin-bottom:18px;
  letter-spacing:-.025em;
}
.ewc-detail-grid{
  display:grid;
  gap:10px;
  margin:8px 0 4px;
}
.ewc-detail-item{
  display:grid;
  place-items:center;
  gap:5px;
  padding:15px 14px;
  border-radius:22px;
  background:rgba(255,255,255,.56);
  border:1px solid rgba(255,255,255,.74);
  box-shadow:0 12px 28px rgba(40,24,34,.08), inset 0 1px 0 rgba(255,255,255,.76);
}
.ewc-detail-item i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-style:normal;
  color:var(--primary,#B76E8A);
  background:rgba(var(--primary-rgb,183,110,138),.10);
  border:1px solid rgba(var(--primary-rgb,183,110,138),.14);
}
.ewc-detail-item small,
.ewc-contact-card small{
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:900;
  color:rgba(52,41,54,.54);
}
.ewc-detail-item strong{
  max-width:100%;
  font-size:15px;
  line-height:1.35;
  color:var(--text,#342936);
}
.ewc-section-note,
.ewc-prayer-text{
  max-width:320px;
  margin:16px auto 0 !important;
  text-align:center;
}
.ewc-prayer-text{
  padding:15px 16px;
  border-radius:22px;
  color:rgba(52,41,54,.74) !important;
  background:rgba(255,255,255,.42);
  border:1px solid rgba(255,255,255,.62);
}
.ewc-itinerary-list{
  list-style:none;
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  text-align:left;
}
.ewc-itinerary-list li{
  display:grid;
  grid-template-columns:42px 1fr;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  border-radius:22px;
  background:rgba(255,255,255,.56);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 10px 24px rgba(40,24,34,.07);
}
.ewc-itinerary-list span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:16px;
  font-weight:800;
  color:var(--primary,#B76E8A);
  background:rgba(var(--primary-rgb,183,110,138),.10);
}
.ewc-itinerary-list p{
  margin:0 !important;
  font-weight:800;
  color:rgba(52,41,54,.82);
}
.ewc-location-card{
  padding:18px 16px;
  border-radius:24px;
  background:rgba(255,255,255,.54);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 12px 28px rgba(40,24,34,.08);
}
.ewc-location-card strong{
  display:block;
  margin-bottom:7px;
  color:var(--text,#342936);
  font-size:16px;
}
.ewc-location-card p{
  margin:0 !important;
  color:rgba(52,41,54,.78) !important;
}
.ewc-location-card small{
  display:block;
  margin-top:10px;
  line-height:1.5;
  color:rgba(52,41,54,.62);
}
.ewc-centered-actions{
  justify-content:center;
}
.ewc-contact-list{
  display:grid;
  gap:10px;
}
.ewc-contact-card{
  display:grid;
  gap:6px;
  padding:16px;
  border-radius:24px;
  background:rgba(255,255,255,.56);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 12px 28px rgba(40,24,34,.08);
  text-align:center;
}
.ewc-contact-card strong{
  font-size:17px;
  line-height:1.25;
  color:var(--text,#342936);
}
.ewc-contact-card p{
  margin:0 !important;
  color:rgba(52,41,54,.70) !important;
  font-weight:800;
}
.ewc-contact-actions{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.ewc-contact-actions .ewc-btn-primary,
.ewc-contact-actions .ewc-btn-soft{
  min-height:40px;
  padding:10px 14px;
  font-size:12px;
}
.ewc-bottom-nav{
  overflow-x:auto;
  justify-content:flex-start;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}
.ewc-bottom-nav::-webkit-scrollbar{display:none}
.ewc-bottom-nav a{
  flex:0 0 62px;
  scroll-snap-align:center;
}
@media (min-width:390px){
  .ewc-bottom-nav a{flex-basis:64px}
}
@media (max-width:360px){
  .ewc-bottom-nav a{flex-basis:58px}
  .ewc-itinerary-list li{grid-template-columns:38px 1fr;gap:10px;padding:12px}
  .ewc-itinerary-list span{width:38px;height:38px;font-size:15px}
}

/* V33 Public Wording Cleanup
   Butiran Majlis now acts as proper invitation wording, while venue/address stays only in Lokasi. */
.ewc-invite-wording{
  max-width:330px;
  margin:6px auto 18px;
  padding:18px 18px;
  border-radius:26px;
  background:rgba(255,255,255,.46);
  border:1px solid rgba(255,255,255,.70);
  box-shadow:0 14px 30px rgba(40,24,34,.08), inset 0 1px 0 rgba(255,255,255,.72);
  color:rgba(52,41,54,.82);
  font-size:14px;
  line-height:1.78;
  text-align:center;
  white-space:normal;
}
.ewc-detail-grid--compact{
  grid-template-columns:1fr;
  max-width:330px;
  margin-left:auto;
  margin-right:auto;
}
@media (min-width:390px){
  .ewc-detail-grid--compact{
    grid-template-columns:1fr 1fr;
  }
}
.ewc-details-section .ewc-detail-grid:not(.ewc-detail-grid--compact) .ewc-detail-item:nth-child(n+3){
  display:none;
}
.ewc-details-section .ewc-section-note{
  display:none;
}
.ewc-location-section .ewc-location-card{
  max-width:330px;
  margin-left:auto;
  margin-right:auto;
}
.ewc-location-section .ewc-location-card strong{
  font-size:15px;
  text-transform:none;
  letter-spacing:0;
}


/* V36 Premium Bottom Navigation
   Clean mobile footer menu: consistent SVG icons, compact active state,
   no browser black focus ring, and no oversized active pill. */
.ewc-bottom-nav,
.ewc-bottom-nav.has-gallery-nav{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:calc(12px + env(safe-area-inset-bottom)) !important;
  transform:translateX(-50%) !important;
  z-index:90 !important;
  width:min(392px,calc(100% - 24px)) !important;
  min-height:64px !important;
  padding:7px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:5px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x proximity !important;
  scrollbar-width:none !important;
  border-radius:28px !important;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,255,255,.56)) !important;
  border:1px solid rgba(255,255,255,.78) !important;
  box-shadow:0 18px 42px rgba(31,42,35,.16), inset 0 1px 0 rgba(255,255,255,.78) !important;
  backdrop-filter:blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(150%) !important;
}
.ewc-bottom-nav::-webkit-scrollbar,
.ewc-bottom-nav.has-gallery-nav::-webkit-scrollbar{display:none !important;}
.ewc-bottom-nav a,
.ewc-bottom-nav.has-gallery-nav a{
  position:relative !important;
  flex:0 0 58px !important;
  min-width:58px !important;
  min-height:50px !important;
  padding:6px 4px 5px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
  scroll-snap-align:center !important;
  border-radius:20px !important;
  border:1px solid transparent !important;
  background:transparent !important;
  color:rgba(40,55,46,.68) !important;
  font-size:9px !important;
  line-height:1.1 !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
  text-decoration:none !important;
  box-shadow:none !important;
  outline:none !important;
  -webkit-tap-highlight-color:transparent !important;
  transition:color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.ewc-bottom-nav a:hover,
.ewc-bottom-nav a:focus,
.ewc-bottom-nav a:focus-visible,
.ewc-bottom-nav.has-gallery-nav a:hover,
.ewc-bottom-nav.has-gallery-nav a:focus,
.ewc-bottom-nav.has-gallery-nav a:focus-visible{
  outline:none !important;
  box-shadow:none !important;
  border-color:transparent !important;
}
.ewc-nav-icon,
.ewc-bottom-nav a > span:first-child{
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  min-height:26px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.42) !important;
  color:currentColor !important;
  font-size:0 !important;
  line-height:0 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.56) !important;
}
.ewc-nav-icon svg{
  width:15px !important;
  height:15px !important;
  display:block !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.9 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.ewc-nav-text{
  display:block !important;
  max-width:100% !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}
.ewc-bottom-nav a.active,
.ewc-bottom-nav.has-gallery-nav a.active{
  color:var(--button,var(--primary,#5f7f70)) !important;
  background:rgba(255,255,255,.62) !important;
  border-color:rgba(255,255,255,.82) !important;
  box-shadow:0 8px 20px rgba(31,42,35,.10), inset 0 1px 0 rgba(255,255,255,.82) !important;
  transform:translateY(-1px) !important;
}
.ewc-bottom-nav a.active .ewc-nav-icon,
.ewc-bottom-nav.has-gallery-nav a.active .ewc-nav-icon{
  color:#fff !important;
  background:linear-gradient(135deg,var(--button,var(--primary,#5f7f70)),var(--primary,#B76E8A)) !important;
  box-shadow:0 7px 16px rgba(48,55,48,.18), inset 0 1px 0 rgba(255,255,255,.28) !important;
}
@media (min-width:390px){
  .ewc-bottom-nav a,
  .ewc-bottom-nav.has-gallery-nav a{
    flex-basis:60px !important;
    min-width:60px !important;
  }
}
@media (max-width:360px){
  .ewc-bottom-nav,
  .ewc-bottom-nav.has-gallery-nav{
    width:calc(100% - 16px) !important;
    padding:6px !important;
    gap:4px !important;
  }
  .ewc-bottom-nav a,
  .ewc-bottom-nav.has-gallery-nav a{
    flex-basis:54px !important;
    min-width:54px !important;
    font-size:8px !important;
  }
  .ewc-nav-icon,
  .ewc-bottom-nav a > span:first-child{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    min-height:24px !important;
  }
}

/* V37 Icon-only Bottom Navigation
   User request: remove all text labels, keep a cleaner icon-only bottom menu. */
.ewc-bottom-nav,
.ewc-bottom-nav.has-gallery-nav{
  width:min(388px,calc(100% - 24px)) !important;
  min-height:58px !important;
  padding:7px 8px !important;
  gap:3px !important;
  justify-content:space-between !important;
}
.ewc-bottom-nav a,
.ewc-bottom-nav.has-gallery-nav a{
  flex:1 1 0 !important;
  flex-basis:auto !important;
  min-width:40px !important;
  min-height:42px !important;
  padding:4px !important;
  gap:0 !important;
  border-radius:16px !important;
  font-size:0 !important;
}
.ewc-nav-text{
  display:none !important;
}
.ewc-nav-icon,
.ewc-bottom-nav a > span:first-child{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  background:rgba(255,255,255,.26) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58) !important;
}
.ewc-nav-icon svg{
  width:16px !important;
  height:16px !important;
  stroke-width:1.95 !important;
}
.ewc-bottom-nav a.active,
.ewc-bottom-nav.has-gallery-nav a.active{
  background:rgba(255,255,255,.34) !important;
  border-color:rgba(255,255,255,.68) !important;
  box-shadow:0 7px 18px rgba(31,42,35,.08), inset 0 1px 0 rgba(255,255,255,.78) !important;
  transform:translateY(-1px) !important;
}
.ewc-bottom-nav a.active .ewc-nav-icon,
.ewc-bottom-nav.has-gallery-nav a.active .ewc-nav-icon{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  color:#fff !important;
  background:linear-gradient(135deg,var(--button,var(--primary,#5f7f70)),var(--primary,#B76E8A)) !important;
  box-shadow:0 8px 18px rgba(48,55,48,.16), inset 0 1px 0 rgba(255,255,255,.26) !important;
}
@media (max-width:360px){
  .ewc-bottom-nav,
  .ewc-bottom-nav.has-gallery-nav{
    width:calc(100% - 16px) !important;
    padding:6px 7px !important;
    gap:2px !important;
  }
  .ewc-bottom-nav a,
  .ewc-bottom-nav.has-gallery-nav a{
    min-width:36px !important;
    min-height:40px !important;
    padding:3px !important;
  }
  .ewc-nav-icon,
  .ewc-bottom-nav a > span:first-child{
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    min-height:28px !important;
  }
  .ewc-bottom-nav a.active .ewc-nav-icon,
  .ewc-bottom-nav.has-gallery-nav a.active .ewc-nav-icon{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
  }
}

/* V38 Gallery: instant preview grid + social gallery page */
.ewc-gallery.ewc-gallery-preview{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
}
.ewc-gallery.ewc-gallery-preview .ewc-gallery-item{
  border-radius:16px !important;
  overflow:hidden !important;
  aspect-ratio:1/1 !important;
  min-height:0 !important;
}
.ewc-gallery.ewc-gallery-preview .ewc-gallery-item img{
  width:100% !important;
  height:100% !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  border-radius:16px !important;
  display:block !important;
}
.ewc-gallery.ewc-gallery-preview .ewc-gallery-item figcaption{
  display:none !important;
}
.ewc-gallery-more-wrap{
  display:flex;
  justify-content:center;
  margin:14px 0 4px;
}
.ewc-gallery-more-btn{
  min-height:42px;
  padding:12px 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:linear-gradient(135deg,var(--button,var(--primary,#5f7f70)),var(--primary,#B76E8A));
  color:#fff !important;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 14px 30px rgba(42,43,31,.16), inset 0 1px 0 rgba(255,255,255,.28);
}
.ewc-gallery-social-page{
  min-height:100svh;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,247,250,.90)),
    var(--ewc-bg) !important;
  background-size:cover !important;
  background-position:center !important;
  background-attachment:fixed !important;
}
.ewc-social-gallery-shell{
  width:min(560px,100%);
  margin:0 auto;
  padding:18px 14px 90px;
}
.ewc-social-gallery-header{
  position:sticky;
  top:0;
  z-index:20;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  margin:0 -14px 14px;
  padding:14px;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.58));
  border-bottom:1px solid rgba(255,255,255,.72);
  box-shadow:0 16px 34px rgba(41,31,38,.08);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
}
.ewc-social-gallery-header h1{
  margin:2px 0 2px;
  font-size:24px;
  line-height:1.05;
  color:var(--text,#342936);
}
.ewc-social-gallery-header p{
  margin:0;
  font-size:12px;
  color:rgba(52,41,54,.62);
}
.ewc-social-back{
  min-width:54px;
  min-height:40px;
  padding:10px 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.78);
  color:var(--button,var(--primary,#5f7f70)) !important;
  font-size:12px;
  font-weight:900;
  box-shadow:0 10px 22px rgba(41,31,38,.08);
}
.ewc-social-feed{
  display:grid;
  gap:16px;
}
.ewc-social-post,
.ewc-social-empty{
  overflow:hidden;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,255,255,.56));
  border:1px solid rgba(255,255,255,.76);
  box-shadow:0 20px 46px rgba(42,35,39,.12), inset 0 1px 0 rgba(255,255,255,.76);
  backdrop-filter:blur(14px) saturate(145%);
  -webkit-backdrop-filter:blur(14px) saturate(145%);
}
.ewc-social-empty{
  padding:22px;
  text-align:center;
  color:rgba(52,41,54,.70);
}
.ewc-social-empty strong{
  display:block;
  margin-bottom:6px;
  color:var(--primary,#B76E8A);
  font-size:16px;
}
.ewc-social-empty p{margin:0;font-size:13px;line-height:1.55;}
.ewc-social-post-head{
  padding:13px 14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.ewc-social-avatar{
  width:38px;
  height:38px;
  border-radius:999px;
  display:grid;
  place-items:center;
  flex:0 0 38px;
  background:linear-gradient(135deg,var(--button,var(--primary,#5f7f70)),var(--primary,#B76E8A));
  color:#fff;
  font-size:15px;
  font-weight:900;
  text-transform:uppercase;
  box-shadow:0 10px 20px rgba(41,31,38,.12);
}
.ewc-social-post-head strong{
  display:block;
  color:var(--text,#342936);
  font-size:14px;
  line-height:1.15;
}
.ewc-social-post-head span{
  display:block;
  margin-top:2px;
  color:rgba(52,41,54,.56);
  font-size:11px;
}
.ewc-social-photo{
  display:block;
  width:100%;
  max-height:680px;
  object-fit:cover;
  background:rgba(255,255,255,.42);
}
.ewc-social-body{
  padding:13px 14px 15px;
}
.ewc-social-caption{
  margin:0 0 9px;
  color:rgba(52,41,54,.82);
  font-size:13px;
  line-height:1.5;
}
.ewc-social-caption strong{color:var(--text,#342936);}
.ewc-social-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:2px 0 10px;
  color:rgba(52,41,54,.58);
  font-size:12px;
  font-weight:800;
}
.ewc-social-meta a{
  color:var(--button,var(--primary,#5f7f70)) !important;
}
.ewc-social-comments{
  display:grid;
  gap:7px;
  margin:0 0 12px;
}
.ewc-social-comment{
  padding:9px 11px;
  border-radius:16px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.70);
  color:rgba(52,41,54,.76);
  font-size:12px;
  line-height:1.45;
}
.ewc-social-comment strong{
  display:inline;
  color:var(--text,#342936);
  margin-right:4px;
}
.ewc-social-comment-form{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.68);
}
.ewc-social-comment-form input,
.ewc-social-comment-form textarea{
  width:100%;
  border:1px solid rgba(96,65,82,.12);
  border-radius:16px;
  padding:11px 12px;
  color:var(--text,#342936);
  background:rgba(255,255,255,.74);
  outline:none;
  resize:vertical;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
.ewc-social-comment-form button{
  min-height:40px;
  border:0;
  border-radius:999px;
  padding:11px 16px;
  background:linear-gradient(135deg,var(--button,var(--primary,#5f7f70)),var(--primary,#B76E8A));
  color:#fff;
  font-size:12px;
  font-weight:900;
  box-shadow:0 12px 24px rgba(42,43,31,.14), inset 0 1px 0 rgba(255,255,255,.28);
  cursor:pointer;
}
@media (max-width:380px){
  .ewc-gallery.ewc-gallery-preview{gap:6px !important;}
  .ewc-gallery.ewc-gallery-preview .ewc-gallery-item,
  .ewc-gallery.ewc-gallery-preview .ewc-gallery-item img{border-radius:13px !important;}
  .ewc-social-gallery-header h1{font-size:21px;}
}

/* Patch V43: public display for non-wedding card categories */
.ewc-opener-names--single,
.ewc-names--single{
  gap:8px;
}
.ewc-opener-names--single em,
.ewc-names--single em{
  display:none;
}
.ewc-opener-names--single small,
.ewc-names--single small{
  display:block;
  font-family:Calibri,'Segoe UI',Arial,sans-serif;
  font-size:.34em;
  line-height:1.35;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  opacity:.82;
  margin-top:6px;
}
.ewc-names--single small{
  font-size:.28em;
}

/* Patch V52: Guest Experience Polish */
.ewc-personal-greeting-v52{
  margin:14px 16px 0;
  padding:13px 15px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.58));
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 16px 36px rgba(45,32,48,.10);
  text-align:center;
  color:var(--text,#342936);
}
.ewc-personal-greeting-v52 span{
  display:block;
  font:800 10px/1.2 Calibri,'Segoe UI',Arial,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.62;
  margin-bottom:4px;
}
.ewc-personal-greeting-v52 strong{
  display:block;
  font:800 18px/1.15 Calibri,'Segoe UI',Arial,sans-serif;
  letter-spacing:-.01em;
}
.ewc-quick-panel-v52{
  margin:16px 16px 18px;
  padding:14px;
  border-radius:26px;
  display:grid;
  gap:10px;
}
.ewc-quick-item{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.54);
  border:1px solid rgba(255,255,255,.62);
}
.ewc-quick-item span{
  font:800 10px/1.2 Calibri,'Segoe UI',Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
  opacity:.60;
  white-space:nowrap;
}
.ewc-quick-item strong{
  font:800 13px/1.25 Calibri,'Segoe UI',Arial,sans-serif;
  text-align:right;
  color:var(--text,#342936);
}
.ewc-quick-actions-v52,
.ewc-success-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:2px;
}
.ewc-quick-actions-v52 a,
.ewc-success-actions a{
  flex:1 1 auto;
  min-width:118px;
  border-radius:999px;
  padding:10px 12px;
  text-decoration:none;
  text-align:center;
  color:#fff;
  background:linear-gradient(135deg,var(--button,var(--primary,#B76E8A)),var(--primary,#B76E8A));
  font:900 11px/1.1 Calibri,'Segoe UI',Arial,sans-serif;
  box-shadow:0 12px 24px rgba(40,28,42,.14), inset 0 1px 0 rgba(255,255,255,.24);
}
.ewc-rsvp-success-card{
  margin:0 0 14px;
  padding:16px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(221,255,235,.86),rgba(255,255,255,.68));
  border:1px solid rgba(158,228,184,.58);
  box-shadow:0 18px 34px rgba(49,110,74,.10);
  text-align:center;
}
.ewc-rsvp-success-card span{
  display:block;
  font:900 10px/1.2 Calibri,'Segoe UI',Arial,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#25714a;
  margin-bottom:5px;
}
.ewc-rsvp-success-card strong{
  display:block;
  font:900 24px/1.05 Calibri,'Segoe UI',Arial,sans-serif;
  color:#174d32;
}
.ewc-rsvp-success-card small{
  display:block;
  margin:6px 0 12px;
  color:#3c7558;
  font-weight:800;
}
.ewc-rsvp-form-v52 button{
  min-height:48px;
  font-size:13px;
}
@media (max-width:420px){
  .ewc-personal-greeting-v52{margin-left:12px;margin-right:12px;border-radius:20px;}
  .ewc-quick-panel-v52{margin-left:12px;margin-right:12px;border-radius:22px;padding:12px;}
  .ewc-quick-item{display:grid;gap:4px;}
  .ewc-quick-item strong{text-align:left;}
  .ewc-quick-actions-v52 a,.ewc-success-actions a{min-width:100%;}
}
