/* Shared pieces every template gets: watermark + preview ribbon. */
.gov-watermark {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-repeat: repeat;
}
.gov-ribbon {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 9001;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(30, 10, 16, 0.82);
  color: #f7e7c6;
  font: 600 12px/1.3 system-ui, sans-serif;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* live demo: ‹ design name · 3 of 5 › with the unlock link under it */
.gov-ribbon.gov-demo { display: flex; align-items: center; gap: 2px; width: min(400px, calc(100vw - 24px)); max-width: none; min-height: 58px;
  padding: 5px; white-space: normal; overflow: visible; background: rgba(30, 10, 16, 0.9); color: #f7e7c6; }
.gov-demo .gd-nav { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #f7e7c6; text-decoration: none; }
.gov-demo .gd-nav svg { width: 22px; height: 22px; }
.gov-demo .gd-nav.next svg { transform: scaleX(-1); }
.gov-demo .gd-nav:hover { background: rgba(255, 255, 255, 0.12); }
.gov-demo .gd-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; }
.gov-demo .gd-name { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; max-width: 100%; font: 600 14px/1.25 system-ui, sans-serif; color: #fff4e0; }
.gov-demo .gd-name strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gov-demo .gd-name span { flex: none; font-weight: 500; font-size: 12.5px; color: #e9d3ac; }
.gov-demo .gd-unlock { font: 600 12.5px/1.3 system-ui, sans-serif; color: #ffd7a1; text-decoration: underline; text-underline-offset: 2px; padding: 2px 4px; }
.gov-demo a:focus-visible { outline: 3px solid #ffd7a1; outline-offset: 2px; }

/* forwarded private preview: nothing to show on this device */
.gov-private { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: rgba(251,246,236,.97); text-align: center; font: 400 17px/1.5 Georgia, serif; color: #3a2426; }
.gov-private h2 { margin: 0 0 8px; font: 600 24px/1.25 Georgia, serif; color: #a8203a; }
.gov-private p { max-width: 420px; margin: 0 auto 16px; }
.gov-private a { color: #a8203a; font-weight: 700; }


/* maker credit under every invitation: quiet text, no box (overrides each template's older pill style) */
html body .site-foot .credit { display: flex !important; flex-direction: column; align-items: center; gap: 5px; width: auto !important; max-width: none !important;
  margin: 0 auto !important; padding: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-align: center; font-size: 13px; line-height: 1.4; letter-spacing: .01em; }
html body .site-foot .credit .cr-orn { position: relative; width: 132px; height: 1px; margin-bottom: 10px; background: linear-gradient(90deg, transparent, currentColor 30%, currentColor 70%, transparent); opacity: .45; }
html body .site-foot .credit .cr-orn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; translate: -50% -50%; rotate: 45deg; background: currentColor; }
html body .site-foot .credit .cr-1 { display: inline-flex; align-items: center; gap: 8px; }
html body .site-foot .credit .credit-logo { margin: 0; width: 20px; height: 20px; vertical-align: middle; }
html body .site-foot .credit .cr-2 { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
html body .site-foot .credit .cr-2 a { font-weight: 800; }
/* both names link back to their sites (search engines follow them); neither is underlined */
html body .site-foot .credit a, html body .site-foot .credit a:hover, html body .site-foot .credit a:visited { text-decoration: none !important; border-bottom: 0 !important; background-image: none !important; color: inherit; }
html body .site-foot .credit .cr-brand strong { font-weight: 800; }

/* RSVP sent: the thank-you replaces the form in place */
form .status.ok:has(strong) { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 17px; padding: 18px 16px; }
form .status.ok strong { font-size: 22px; }
.rsvp-again { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; cursor: pointer; opacity: .85; }

/* scroll hint after opening: a mouse whose wheel glides down, on dark glass that reads on any painted scene */
.gov-scrollhint { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 9002; transform: translate(-50%, 12px);
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(24, 12, 16, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
  font: 600 14px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: 0.02em; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0; transition: opacity 0.45s ease, transform 0.45s ease; }
.gov-scrollhint.on { opacity: 1; transform: translate(-50%, 0); }
.gov-scrollhint .sh-mouse { position: relative; flex: none; width: 20px; height: 30px; border: 2px solid rgba(255, 255, 255, 0.95); border-radius: 11px; }
.gov-scrollhint .sh-mouse i { position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: govWheel 1.6s ease-in-out infinite; }
@keyframes govWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.gov-scrollhint:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gov-scrollhint { transition: opacity 0.2s linear; transform: translate(-50%, 0); } .gov-scrollhint .sh-mouse i { animation: none; } }

/* gallery captions stay on one line (the script shrinks long ones to fit) */
html .mat figcaption { white-space: nowrap; overflow: hidden; text-overflow: clip; max-width: 100%; }

/* names written letter by letter: room around each letter so a script font's long tails (j, y, g) and swashes
   are never cut off at the letter's box; the negative margins keep the layout exactly the same */
html .hero-names .nm i { padding: .15em .1em .45em; margin: -.15em -.1em -.45em; }

/* countdown after the date is revealed: hidden until then (a design's own countdown too) */
/* ---- date reveal extras: the space opens smoothly, then the countdown cells rise in one by one ---- */
.gov-grow { display: flow-root; overflow: hidden; transition: height .75s cubic-bezier(.2, .7, .2, 1); }
.gov-grow.open { overflow: visible; }
html #countdown:not(.cd-on) { display: none !important; }
html .gov-grow > #countdown > * { opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .6s ease, transform .75s cubic-bezier(.2, .9, .3, 1.15); }
html .gov-grow > #countdown.on > * { opacity: 1; transform: none; }
html .gov-grow > #countdown.on > :nth-child(2), .gov-countdown.on .gc-cell:nth-child(2) { transition-delay: .08s; }
html .gov-grow > #countdown.on > :nth-child(3), .gov-countdown.on .gc-cell:nth-child(3) { transition-delay: .16s; }
html .gov-grow > #countdown.on > :nth-child(4), .gov-countdown.on .gc-cell:nth-child(4) { transition-delay: .24s; }
.gov-countdown { display: flex; justify-content: center; gap: 10px; max-width: 360px; margin: 16px auto 10px; padding: 0 14px; color: var(--gc-ink, var(--maroon, #6b1a1a)); }
.gov-countdown .gc-cell { flex: 0 1 70px; min-width: 0; padding: 11px 4px 9px; border-radius: 14px; text-align: center; background: rgba(255, 252, 245, .9); box-shadow: 0 0 0 1px rgba(201, 164, 92, .62), inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px rgba(60, 20, 10, .08); opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .6s ease, transform .75s cubic-bezier(.2, .9, .3, 1.15); }
.gov-countdown.on .gc-cell { opacity: 1; transform: none; }
.gov-countdown b { display: block; font: 600 27px/1.12 var(--gc-font, var(--display, Georgia, serif)); font-variant-numeric: tabular-nums lining-nums; }
.gov-countdown b.tk { animation: govTick .42s cubic-bezier(.2, .8, .3, 1); }
@keyframes govTick { from { opacity: .25; transform: translateY(-26%); } to { opacity: 1; transform: none; } }
.gov-countdown span { display: block; margin-top: 5px; font: 700 11px/1 var(--sans, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; opacity: .86; }
@media (min-width: 900px) {
  .gov-countdown { gap: 16px; max-width: 540px; margin-top: 22px; }
  .gov-countdown .gc-cell { flex-basis: 108px; padding: 15px 6px 13px; border-radius: 16px; }
  .gov-countdown b { font-size: 40px; }
  .gov-countdown span { font-size: 12px; }
}

/* ---- scratch to reveal (designs without their own scratch card): gold foil over the date medallions ---- */
#date.gov-scratch .plaques { position: relative; }
#date.gov-scratch .date-center { position: relative; z-index: 3; }   /* the foil sits above the side decorations, so every part of it can be scratched */
#date.gov-scratch .plaques, #date.gov-scratch .reveal-slot { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#date.gov-scratch .plaque .v { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
#date.gov-scratch #revealBtn { visibility: hidden; pointer-events: none; }
.gov-foil { position: absolute; left: -6px; top: -6px; z-index: 4; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent; transition: opacity .8s ease, filter .8s ease, transform .8s ease; }
.gov-foil:active { cursor: grabbing; }
.gov-foil:focus-visible { outline: 3px solid rgba(201, 164, 92, .9); outline-offset: 4px; border-radius: 18px; }
.gov-foil.gone { opacity: 0; filter: blur(4px); transform: scale(1.04); pointer-events: none; }
html #date .gov-scratch-hint { font-variant: normal; font-feature-settings: normal; text-transform: none; letter-spacing: normal; }
.gov-scratch-hint { margin: 0; text-transform: none; letter-spacing: normal; display: flex; align-items: center; justify-content: center; gap: 8px; font: italic 600 18px/1.3 var(--display, Georgia, serif); color: var(--maroon, #6b1a1a); transition: opacity .6s ease, transform .6s ease; }
.gov-scratch-hint.busy { opacity: .6; }
.gov-scratch-hint.gone { opacity: 0; transform: translateY(6px); pointer-events: none; }
.gsh-ico { width: 22px; height: 22px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 11.2V4.9a1.6 1.6 0 0 1 3.2 0v5.4h.5V8.6a1.6 1.6 0 0 1 3.2 0v1.9h.5v-.9a1.6 1.6 0 0 1 3.2 0v5.3a6.6 6.6 0 0 1-6.6 6.6h-1.3a5.6 5.6 0 0 1-4.3-2l-3.4-4.2a1.6 1.6 0 0 1 2.4-2.1l2.6 2.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 11.2V4.9a1.6 1.6 0 0 1 3.2 0v5.4h.5V8.6a1.6 1.6 0 0 1 3.2 0v1.9h.5v-.9a1.6 1.6 0 0 1 3.2 0v5.3a6.6 6.6 0 0 1-6.6 6.6h-1.3a5.6 5.6 0 0 1-4.3-2l-3.4-4.2a1.6 1.6 0 0 1 2.4-2.1l2.6 2.6z'/%3E%3C/svg%3E") center / contain no-repeat; animation: govRub 1.8s ease-in-out infinite; }
@keyframes govRub { 0%, 100% { transform: translateX(-4px) rotate(-10deg); } 50% { transform: translateX(4px) rotate(10deg); } }
.gov-scratch-hint.nudge, #date .scratch.nudge { animation: govNudge 1.1s ease 2; }
@keyframes govNudge { 0%, 100% { transform: none; } 35% { transform: scale(1.05); } 65% { transform: scale(.985); } }
@media (min-width: 900px) { .gov-scratch-hint { font-size: 21px; } .gsh-ico { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) {
  .gov-grow, .gov-countdown .gc-cell, html .gov-grow > #countdown > * { transition: none; }
  .gov-countdown b.tk, .gsh-ico, .gov-scratch-hint.nudge, #date .scratch.nudge { animation: none; }
}

/* ---- RSVP: the field that needs attention, in red with a short note under it ---- */
html .rsvp-bad input:not([type=radio]):not([type=checkbox]) { border-color: #c4172c !important; box-shadow: 0 0 0 2px rgba(196, 23, 44, .55) !important; }
html .rsvp-ev.rsvp-bad { box-shadow: inset 0 0 0 2px #c4172c !important; border-radius: 14px; background-color: rgba(196, 23, 44, .04); }
html .rsvp-note { display: block !important; margin: 6px 0 0 !important; padding: 0 !important; font: 600 14px/1.35 system-ui, -apple-system, 'Segoe UI', sans-serif !important; color: #c4172c !important; text-align: left !important; text-transform: none !important; letter-spacing: normal !important; opacity: 1 !important; }
html .rsvp-note::before { content: '! '; }

/* ---- made by our team, not paid for yet: the pay card slides up from the bottom ---- */
.gov-paynote { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 2147483000; width: min(420px, calc(100% - 24px)); box-sizing: border-box;
  padding: 24px 22px 16px; border-radius: 22px; background: #fff; color: #1d1d1f; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); text-align: center;
  font: 400 15px/1.45 -apple-system, system-ui, 'Segoe UI', sans-serif; transform: translate(-50%, 130%); opacity: 0; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease; }
.gov-paynote.on { transform: translate(-50%, 0); opacity: 1; }
.gov-paynote .gpn-k { margin: 0 0 4px; font-size: 13px; color: #6e6e73; }
.gov-paynote h2 { margin: 0 0 8px; font: 600 22px/1.25 -apple-system, system-ui, 'Segoe UI', sans-serif; color: #1d1d1f; }
.gov-paynote .gpn-t { margin: 0 0 6px; color: #3a3a3c; }
.gov-paynote .gpn-m { margin: 0 0 14px; font-size: 13.5px; color: #6e6e73; }
.gov-paynote .gpn-pay { display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 10px; border-radius: 999px; background: #a8203a; color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; }
.gov-paynote .gpn-later { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; color: #a8203a; font: 400 16px -apple-system, system-ui, sans-serif; cursor: pointer; }
.gov-paynote .gpn-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f2f4; cursor: pointer; }
.gov-paynote .gpn-x::before { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: #3a3a3c;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .gov-paynote { transition: none; } }

/* ---- sheets over the invitation: Save to calendar, Follow on Instagram (same look on every design) ---- */
.gov-sheet { position: fixed; inset: 0; z-index: 2147483100; display: flex; align-items: flex-end; justify-content: center; padding: 12px; box-sizing: border-box;
  background: rgba(0, 0, 0, 0); transition: background .3s ease; font: 400 16px/1.45 -apple-system, system-ui, 'Segoe UI', sans-serif; color: #1d1d1f; }
.gov-sheet.on { background: rgba(0, 0, 0, .42); }
.gov-sheet .gs-card { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 24px); overflow: auto; box-sizing: border-box; margin-bottom: env(safe-area-inset-bottom);
  padding: 26px 20px 16px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); text-align: center;
  transform: translateY(110%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.gov-sheet.on .gs-card { transform: none; }
@media (min-width: 700px) { .gov-sheet { align-items: center; } }
.gov-sheet .gs-h { margin: 0 44px 6px; font: 600 21px/1.25 -apple-system, system-ui, 'Segoe UI', sans-serif; color: #1d1d1f; letter-spacing: 0; text-transform: none; }
.gov-sheet .gs-t { margin: 0 0 14px; color: #3a3a3c; font-size: 16px; }
.gov-sheet .gs-small { margin: 10px 0 0; color: #6e6e73; font-size: 14px; }
.gov-sheet .gs-err { margin: 0 0 8px; color: #c5221f; font-size: 15px; font-weight: 500; }
.gov-sheet .gs-list { display: grid; gap: 8px; margin: 0 0 14px; text-align: left; }
.gov-sheet .gs-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: #f5f5f7; cursor: pointer; box-sizing: border-box; }
.gov-sheet .gs-row input { flex: none; width: 24px; height: 24px; margin: 0; -webkit-appearance: none; appearance: none; box-sizing: border-box; border: 1.5px solid #aeaeb2; border-radius: 6px; background: #fff no-repeat center / 16px 16px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.gov-sheet .gs-row input:checked { background-color: #a8203a; border-color: #a8203a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.gov-sheet .gs-row input:focus-visible { outline: 2px solid #c2334e; outline-offset: 2px; }
.gov-sheet .gs-row span { flex: 1; min-width: 0; }
.gov-sheet .gs-row strong { display: block; font-weight: 600; font-size: 16px; color: #1d1d1f; }
.gov-sheet .gs-row small { display: block; font-size: 14px; color: #6e6e73; line-height: 1.4; }
.gov-sheet .gs-save { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #a8203a; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.gov-sheet .gs-save.is-done { background: #f5f5f7; color: #248a3d; }
.gov-sheet .gs-main { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: #a8203a; color: #fff;
  font: 600 17px -apple-system, system-ui, 'Segoe UI', sans-serif; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.gov-sheet .gs-alt, .gov-sheet .gs-later:not(.gs-main) { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; color: #a8203a; font: 400 16px -apple-system, system-ui, sans-serif; cursor: pointer; }
.gov-sheet .gs-main:focus-visible, .gov-sheet .gs-alt:focus-visible, .gov-sheet .gs-x:focus-visible, .gov-sheet .gs-save:focus-visible { outline: 3px solid #c2334e; outline-offset: 2px; }
.gov-sheet .gs-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f2f4; cursor: pointer; }
.gov-sheet .gs-x::before { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: #3a3a3c;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
.gov-sheet .gs-tick { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; background: #248a3d;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/svg%3E"); }
.gov-sheet .gs-tick::after { content: ''; display: block; width: 100%; height: 100%; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 33l9 9 17-19'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 33l9 9 17-19'/%3E%3C/svg%3E") center / 100% no-repeat; }
.gov-sheet .gs-ig { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 18px; background: #a8203a; position: relative; }
.gov-sheet .gs-ig::after { content: ''; position: absolute; inset: 14px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .gov-sheet, .gov-sheet .gs-card { transition: none; } }

/* the design's own form styles never reach the sheet's tick boxes */
.gov-sheet .gs-row input[type=checkbox] { background-color: #fff !important; border: 1.5px solid #aeaeb2 !important; border-radius: 6px !important; box-shadow: none !important; width: 24px !important; height: 24px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
.gov-sheet .gs-row input[type=checkbox]:checked { background-color: #a8203a !important; border-color: #a8203a !important; }
.gov-sheet .gs-card:focus { outline: none; }

/* ---------- a copyright line under every invitation; the artwork can't be dragged out or long-pressed to save ---------- */
html body .site-foot .gov-copy { margin: 10px auto 0; max-width: 34em; padding: 0 16px; text-align: center; font-size: 12px; line-height: 1.4; letter-spacing: .01em; }
img, video, canvas, svg { -webkit-user-drag: none; -webkit-touch-callout: none; }
.gallery img, .gal-stage img, [data-photo] img, img[data-photo] { -webkit-touch-callout: default; }

/* the three link buttons (Instagram, Venue, Calendar) in every design: three equal columns, short names on one line */
body .badges { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 110px); justify-content: center; gap: 14px 16px; }
body .badges .badge { min-width: 0; width: 100%; }
body .badges .medal-label, body .badges .badge > span:last-child { white-space: nowrap; text-align: center; }
