/* Birthday dynamic layer. Tilda geometry remains untouched. */
#rec764662402,#rec750369693,#rec750369781,#rec810443169,#rec810443287{display:none!important}

/* Avoid duplicated animation flashes after dynamic replacements. */
.bd-dynamic,.bd-countdown,.bd-rsvp{animation:none!important;transition:none!important}

.bd-countdown{position:absolute;z-index:30;left:50%;bottom:18px;transform:translateX(-50%);width:290px;text-align:center;color:#554c41;font-family:'Raleway',Arial,sans-serif;box-sizing:border-box}
.bd-countdown__kicker{font-family:'Myfonts',Georgia,serif;font-size:20px;line-height:1;margin-bottom:2px;color:#9a724e}
.bd-countdown__title{font-family:'Myfonts',Georgia,serif;font-size:25px;line-height:1.05;margin-bottom:16px;color:#9a724e}
.bd-countdown__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.bd-countdown__num{font-size:25px;line-height:1.1;font-weight:400;font-variant-numeric:tabular-nums;min-width:0}
.bd-countdown__label{margin-top:4px;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.04em}

/* Custom RSVP reuses the original Tilda form box. */
#rec810433515 [data-elem-id="1728659957954"]{z-index:20!important}
.bd-rsvp{font-family:'Raleway',Arial,sans-serif;color:#3a2e1f;width:100%;font-size:14px;box-sizing:border-box}
.bd-field{margin-bottom:16px}
.bd-label{display:block;font-size:15px;font-weight:500;margin-bottom:6px}
.bd-note{display:block;font-size:11px;line-height:1.35;color:#786c5e;margin-top:4px}
.bd-input,.bd-textarea{width:100%;box-sizing:border-box;border:1px solid #d8c5ae;border-radius:9px;background:rgba(255,255,255,.88);color:#554c41;font:400 14px/1.35 'Raleway',Arial,sans-serif;padding:9px 11px;outline:none}
.bd-textarea{min-height:64px;resize:vertical}
.bd-radios{display:grid;gap:7px}
.bd-radio{display:flex;gap:8px;align-items:flex-start;line-height:1.25;cursor:pointer}
.bd-radio input{margin-top:2px;accent-color:#b8915f}
.bd-submit{display:block;margin:5px auto 0;width:190px;height:40px;border-radius:10px;border:1px solid #b8915f;background:#dabb95;color:#fff;font:500 14px 'Raleway',Arial,sans-serif;cursor:pointer}
.bd-submit:disabled{opacity:.6;cursor:wait}
.bd-status{text-align:center;min-height:20px;margin-top:8px;font-size:12px;line-height:1.35}
.bd-status.ok{color:#59764c}.bd-status.err{color:#a44d45}

/* Remove the old form internals after JS inserts the custom one. */
#rec810433515 .tn-atom__inputs-wrapp{display:none!important}

@media(max-width:479px){
 .bd-countdown{bottom:17px;width:270px}
 .bd-countdown__kicker{font-size:18px}.bd-countdown__title{font-size:23px;margin-bottom:14px}
 .bd-countdown__num{font-size:23px}.bd-countdown__label{font-size:9px}
 .bd-rsvp{font-size:13px}.bd-label{font-size:14px}.bd-field{margin-bottom:13px}
}


/* v2: first-screen typography + compact RSVP canvas */
#rec810433510 [data-elem-id="1728752632710"] .tn-atom{overflow:visible!important}
#rec810433510 [data-elem-id="1728752632719"]{display:none!important}
.bd-hero-stack{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:0;color:#1f1d1b}
.bd-hero-name{display:block;font-family:'Myfonts',Arial,sans-serif;font-size:40px;line-height:1.05;font-weight:100;letter-spacing:3px;white-space:nowrap}
.bd-hero-subtitle{display:block;margin-top:8px;font-family:'Raleway',Arial,sans-serif;font-size:10px;line-height:1.2;font-weight:400;letter-spacing:0;text-transform:uppercase;color:#544c41;white-space:nowrap}
.bd-hero-age{display:block;margin-top:10px;font-family:'Myfonts',Arial,sans-serif;font-size:34px;line-height:1.05;font-weight:100;letter-spacing:2px;white-space:nowrap;color:#1f1d1b}

#rec810433515 .t396__artboard{overflow:visible!important}#rec810433515 .t396__filter,#rec810433515 .t396__carrier{overflow:hidden!important}
#rec810433515 [data-elem-id="1728659957954"]{top:142px!important}
.bd-field{margin-bottom:11px}
.bd-textarea{min-height:52px}
.bd-submit{margin-top:1px;min-height:42px;height:42px;line-height:1.15;padding:0 14px;overflow:visible!important}

@media(max-width:479px){
 #rec810433510 [data-elem-id="1728752632710"]{top:70px!important}
 .bd-hero-name{font-size:36px;line-height:1.05}
 .bd-hero-subtitle{font-size:9px;margin-top:7px}
 .bd-hero-age{font-size:31px;margin-top:9px;letter-spacing:1.5px}
 #rec810433515 [data-elem-id="1728659957954"]{top:136px!important}
 .bd-field{margin-bottom:9px}
 .bd-textarea{min-height:50px}
 .bd-submit{height:42px;min-height:42px;margin-top:0}
}


/* v3: name + age in one line, using the original Tilda hero geometry. */
#rec810433510 [data-elem-id="1728752632710"] .tn-atom{
  overflow:visible!important;
  white-space:nowrap!important;
}
#rec810433510 [data-elem-id="1728752632719"]{
  display:table!important;
}
#rec810433510 [data-elem-id="1728752632719"] .tn-atom{
  white-space:nowrap!important;
}
.bd-hero-inline{
  display:inline-flex;
  align-items:baseline;
  justify-content:center;
  white-space:nowrap;
  color:#1f1d1b;
}
.bd-hero-inline-name,.bd-hero-inline-age,.bd-hero-inline-years{
  display:inline!important;
  font:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  white-space:nowrap!important;
}
.bd-hero-inline-age{color:#b88b58!important;}
@media(max-width:479px){
  #rec810433510 [data-elem-id="1728752632710"] .tn-atom{font-size:36px!important;line-height:1.15!important;}
  #rec810433510 [data-elem-id="1728752632719"] .tn-atom{font-size:10px!important;}
}


/* v4: add breathing room between name, age and years on the first screen. */
.bd-hero-inline{
  gap:0!important;
}
.bd-hero-inline-name{
  margin-right:.18em!important;
}
.bd-hero-inline-age{
  color:#b88b58!important;
  margin-right:.14em!important;
}
.bd-hero-inline-years{
  margin-left:0!important;
}
@media(max-width:479px){
  .bd-hero-inline-name{margin-right:.20em!important}
  .bd-hero-inline-age{margin-right:.15em!important}
}
