body[data-custom-name-font="true"] #nicknameCover,
body[data-custom-name-font="true"] #rightNickname,
body[data-custom-name-font="true"] .desktop-nickname,
body[data-custom-name-font="true"] #openingName,
body[data-custom-name-font="true"] #velvetCelebrant,
body[data-custom-name-font="true"] #envelopeGuestName,
body[data-custom-name-font="true"] #envelopeLetter,
body[data-custom-name-font="true"] #birthdayCardName,
body[data-custom-name-font="true"] #themePreviewName{font-family:var(--invitation-name-font);overflow-wrap:anywhere}
body[data-custom-heading-font="true"] #app .form-page h2,
body[data-custom-heading-font="true"] #themePreviewEvent,
body[data-custom-heading-font="true"] #openingTitle,
body[data-custom-heading-font="true"] #eventTitleCover,
body[data-custom-heading-font="true"] #app .gallery-title h2,
body[data-custom-heading-font="true"] #app .done-page h2{font-family:var(--invitation-heading-font);overflow-wrap:anywhere}
.font-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.font-controls label{display:grid;gap:8px;font:12px/1.5 'Segoe UI',sans-serif}.font-controls select{width:100%;min-height:44px;font-size:16px!important}
.font-library{margin:20px 0;border-block:1px solid #6e5842;padding:16px 0}.font-library summary{cursor:pointer;padding:8px 0}.font-library h5{font:400 18px Georgia;margin:18px 0 10px}.font-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.font-samples button{display:grid;gap:10px;min-width:0;padding:16px 10px;border:1px solid #6e5842;border-radius:8px;background:#211b29;color:#faedda;cursor:pointer}.font-samples button:hover,.font-samples button:focus-visible{border-color:#edcd8c}.font-samples span{font-size:25px;line-height:1.35;overflow-wrap:anywhere}.font-samples small{font:11px 'Segoe UI',sans-serif;color:#d3c3d5}.font-preview-note{font:12px/1.5 'Segoe UI',sans-serif;color:#c8bacc}
@media(max-width:360px){.font-controls{grid-template-columns:1fr}.font-samples span{font-size:22px}}
