/* ---------- nikah / shaadi card maker (views/nikah_maker.php, assets/js/nikah.js). Phone first. ---------- */
@font-face{font-family:CWUrdu;src:url(../fonts/nastaliq-400.woff2) format('woff2');font-display:swap}
@font-face{font-family:CWUrdu;font-weight:700;src:url(../fonts/nastaliq-700.woff2) format('woff2');font-display:swap}
.nk-page { --gold: #d9b56a; --gold-l: #f3e3b8; --em: #0b4a36; padding-bottom: 100px; }
.nk-hero { background: radial-gradient(120% 90% at 70% 20%, #0f5a42, #062e21 55%, #021a12); color: var(--gold-l); padding: 26px 0 14px; position: relative; overflow: hidden; }
.nk-hero::before { content: ""; position: absolute; inset: 0; opacity: .09; background: radial-gradient(circle, #d9b56a 1.4px, transparent 2px) 0 0 / 22px 22px; pointer-events: none; }
.nk-hero-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; position: relative; }
.nk-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.nk-hero h1 { font-family: "Playfair Display", "Playfair Fallback", serif; font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.1; margin: 8px 0 8px; color: #fff3d6; }
.nk-hero p { margin: 0 auto; max-width: 520px; color: #e9dcc0; font-size: 16px; }
.nk-cta { margin-top: 16px; }
.nk-go { background: linear-gradient(100deg, #b98a3a, #f6df9c 45%, #c7983f); color: #2a1b06; border: 0; font-weight: 800; box-shadow: 0 10px 22px -10px #000; }
.nk-go:hover { filter: brightness(1.05); }
.nk-cta .nk-go { min-width: 240px; font-size: 1.08rem; padding: 15px 26px; }
.nk-ok { font-size: 13px !important; margin-top: 10px !important; color: #cdb98d !important; font-weight: 600; }
.nk-hero-card canvas { width: min(62vw, 270px); aspect-ratio: 9 / 16; height: auto; display: block; border-radius: 14px; box-shadow: 0 30px 50px -18px #000, 0 0 0 1px #ffffff18; }
.nk-types { display: flex; gap: 8px; overflow-x: auto; padding: 18px 16px 6px; scrollbar-width: none; position: relative; }
.nk-types::-webkit-scrollbar { display: none; }
.nk-chip { flex: none; padding: 8px 14px; border-radius: 99px; border: 1px solid #d9b56a66; color: var(--gold-l); font-size: 14px; font-weight: 700; text-decoration: none; background: #00000030; }
.nk-chip.on { background: var(--gold); color: #2a1b06; border-color: var(--gold); }

.nk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 18px; scroll-margin-top: 64px; }
.nk-side { order: -1; display: flex; flex-direction: column; align-items: center; }
.nk-prev { position: relative; }
.nk-prev canvas { width: min(70vw, 300px); aspect-ratio: 9 / 16; height: auto; display: block; border-radius: 12px; box-shadow: 0 22px 40px -18px #0009; cursor: zoom-in; }
.nk-badge { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 20px; background: linear-gradient(90deg, #8a6526, #f2d68e, #a77d32); color: #2a1b06; }
.nk-dname { font-size: 13px; color: var(--muted); font-weight: 700; margin: 8px 0 0; }
.nk-dl-btn { display: none; }
.nk-sec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 16px; margin-bottom: 12px; }
.nk-sec h2 { font-size: 17px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.nk-sec h2 i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--em); color: var(--gold-l); display: grid; place-items: center; font-size: 13px; }
.nk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.nk-wide { grid-column: 1 / -1; }
.nk-f { margin: 0; min-width: 0; display: block; }
.nk-f[hidden] { display: none; }
.nk-f > span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.nk-f input, .nk-ev select { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); min-height: 46px; }
.nk-f input[dir=rtl] { font-family: CWUrdu, serif; font-size: 18px; padding: 6px 12px; }
.nk-f input:focus, .nk-ev select:focus { outline: none; border-color: var(--em); background: #fff; }
.nk-need input { border-color: #c2410c; box-shadow: 0 0 0 3px #c2410c33; }
.nk-seg { display: flex; background: var(--paper-2, #efe7da); border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.nk-seg button { flex: 1; border: 0; background: none; font: inherit; font-weight: 800; padding: 10px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.nk-seg button:last-child { font-family: CWUrdu, serif; font-size: 17px; padding: 4px 10px; }
.nk-seg button.on { background: #fff; color: var(--em); box-shadow: 0 1px 4px #0002; }
.nk-more { margin-top: 12px; }
.nk-more summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--em); padding: 4px 0 10px; list-style: none; }
.nk-more summary::-webkit-details-marker { display: none; }
.nk-ev { border: 1px dashed var(--line); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.nk-ev-h { display: flex; gap: 8px; margin-bottom: 10px; }
.nk-ev-h select { font-weight: 800; }
.nk-x { flex: none; width: 46px; border: 1.5px solid var(--line); background: #fff; border-radius: 11px; font-size: 16px; cursor: pointer; color: var(--muted); }
.nk-add { width: 100%; padding: 12px; border-radius: 12px; border: 1.5px dashed var(--em); background: none; color: var(--em); font: inherit; font-weight: 800; cursor: pointer; }
.nk-add[hidden] { display: none; }
.nk-couples { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.nk-couples button { flex: none; width: 82px; border: 1.5px solid var(--line); border-radius: 12px; background: #0b3a2b; padding: 6px 4px 6px; cursor: pointer; font: inherit; color: #f3e3b8; display: flex; flex-direction: column; align-items: center; }
.nk-couples img, .nk-couples i { width: 70px; height: 80px; object-fit: contain; font-style: normal; display: grid; place-items: center; font-size: 26px; }
.nk-couples b { font-size: 10.5px; line-height: 1.2; margin-top: 4px; min-height: 26px; }
.nk-couples small { font-size: 9.5px; color: var(--gold); font-weight: 800; }
.nk-couples [aria-selected=true] { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.nk-filter { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; }
.nk-filter button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.nk-filter button.on { background: var(--em); color: #fff; border-color: var(--em); }
.nk-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nk-d { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 4px; cursor: pointer; font: inherit; text-align: center; }
.nk-d canvas { width: 100%; aspect-ratio: 9 / 16; height: auto; display: block; border-radius: 8px; background: #0b3a2b; }
.nk-d b { display: block; font-size: 11px; line-height: 1.25; margin-top: 5px; min-height: 28px; }
.nk-d span { font-size: 10.5px; font-weight: 800; }
.nk-d[aria-pressed=true] { border-color: var(--em); box-shadow: 0 0 0 2px var(--em); }
.tg-prem { color: #a77d32; }
.nk-content { padding-top: 26px; max-width: 900px; }
.nk-content h2 { font-size: 1.4rem; margin: 22px 0 10px; }
.nk-answer { font-size: 16px; line-height: 1.6; }
.nk-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nk-gal a { text-decoration: none; color: inherit; text-align: center; }
.nk-gal img { width: 100%; height: auto; border-radius: 10px; display: block; background: #0b3a2b; }
.nk-gal b { display: block; font-size: 12px; margin-top: 5px; line-height: 1.25; }
.nk-gal span { font-size: 11px; font-weight: 800; }
.nk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s; }
.nk-bar.on { transform: none; }
.nk-bar .nk-go { flex: 1; padding: 14px; font-size: 16px; }
.nk-mini { flex: none; border: 0; padding: 0; background: none; cursor: pointer; }
.nk-mini canvas { width: 34px; height: 60px; border-radius: 5px; display: block; box-shadow: 0 2px 6px #0004; }
.nk-modal { max-width: 420px; }
.nk-modal h3 { margin: 4px 0 12px; }
#nk-big { padding: 12px; background: #111; border: 0; }
#nk-big canvas { width: min(86vw, 46vh); height: auto; aspect-ratio: 9 / 16; display: block; border-radius: 10px; margin-bottom: 10px; }
#nk-big .btn { width: 100%; }
.nk-opt { display: block; width: 100%; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font: inherit; }
.nk-opt b { display: block; font-size: 16px; } .nk-opt small { color: var(--muted); font-size: 13px; }
.nk-opt:disabled { opacity: .6; }
.nk-share { width: 100%; margin-bottom: 12px; }
/* matching set (phase 2) */
.nk-side { position: relative; scroll-margin-top: 66px; }
.nk-toast { position: absolute; z-index: 5; left: 50%; top: 8px; transform: translateX(-50%); width: min(92%, 330px); background: var(--em); color: var(--gold-l); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 700; box-shadow: 0 8px 20px #0004; }
.nk-toast[hidden] { display: none; }
.nk-evchips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 10px 0 2px; }
.nk-evchips button { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; min-height: 38px; }
.nk-evchips button.on { background: var(--em); color: #fff; border-color: var(--em); }
.nk-side-btns { display: none; }
.nk-side { display: flex; flex-direction: column; align-items: center; }
.nk-set-btn { background: #fff; border: 1.5px solid var(--em); color: var(--em); font-weight: 800; }
.nk-set-mini { flex: none; background: #fff; border: 1.5px solid var(--em); color: var(--em); font-weight: 800; padding: 13px 12px; }
.nk-strip { display: flex; gap: 8px; margin: 0 0 12px; }
.nk-strip canvas { flex: 1; width: 0; height: auto; aspect-ratio: 9 / 16; border-radius: 7px; box-shadow: 0 6px 14px -6px #0006; }
.nk-strip[hidden], .nk-next[hidden] { display: none; }
.nk-nx { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; margin: 4px 0 8px; }
.nk-nxr { display: flex; gap: 8px; }
.nk-nxr button { flex: 1; min-width: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 6px; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.nk-nxr canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; border-radius: 7px; margin-bottom: 5px; }
.nk-nxr small { display: block; color: var(--em); font-size: 11.5px; }
.nk-set-list { max-height: 46vh; overflow: auto; }
.nk-srow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f0e8da; cursor: pointer; }
.nk-srow:first-child { border-top: 0; }
.nk-srow canvas { width: 44px; height: auto; aspect-ratio: 9 / 16; border-radius: 5px; flex: none; }
.nk-srow b { display: block; font-size: 15px; } .nk-srow small { color: var(--muted); font-size: 12.5px; }
.nk-srow.off small { color: #a16207; font-weight: 700; }
.nk-srow input { margin-left: auto; width: 24px; height: 24px; accent-color: var(--em); flex: none; }
.nk-lay { display: flex; gap: 6px; margin: 12px 0 0; }
.nk-lay[hidden] { display: none; }
.nk-lay button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 4px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; line-height: 1.25; }
.nk-lay button.on { border-color: var(--em); box-shadow: 0 0 0 2px var(--em); background: #f3faf6; }
.nk-lay small { display: block; color: var(--muted); font-weight: 600; font-size: 10.5px; }
.nk-fmt { display: flex; gap: 8px; margin: 12px 0; }
.nk-fmt button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.nk-fmt button.on { border-color: var(--em); box-shadow: 0 0 0 2px var(--em); }
.nk-fmt small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.nk-set-go { width: 100%; padding: 14px; font-size: 16px; }
.nk-set-go:disabled { opacity: .55; }

/* invitation link (phase 3) */
.nk-link-btn { display: block; width: min(100%, 340px); margin: 10px auto 0; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--gold); background: linear-gradient(#fffaf0, #fbf1dc); color: #5a3d0c; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; text-align: center; }
.nk-link-btn small { display: block; font-weight: 600; font-size: 12px; color: #8a6a35; }
.nk-link-done { width: 100%; margin: 0 0 12px; }
.nk-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nk-ops button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 4px 8px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; line-height: 1.25; }
.nk-ops i { display: block; font-style: normal; font-size: 24px; margin-bottom: 3px; }
.nk-ops button.on { border-color: var(--em); box-shadow: 0 0 0 2px var(--em); background: #f3faf6; }
.nk-tgl { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.nk-tgl b { display: block; font-size: 14.5px; } .nk-tgl small { color: var(--muted); font-size: 12px; }
.nk-tgl input { width: 24px; height: 24px; accent-color: var(--em); flex: none; }
.nk-err { color: #b91c1c; font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.nk-err[hidden] { display: none; }
#nk-link-ok .nk-share { display: block; text-align: center; margin-bottom: 8px; }

/* hero: two choices + how it works */
.nk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 16px auto 0; }
.nk-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 8px 12px; border-radius: 16px; text-decoration: none; color: var(--gold-l); background: #00000038; border: 1.5px solid #d9b56a88; transition: transform .15s, background .15s; }
.nk-tile i { font-style: normal; font-size: 28px; line-height: 1.2; }
.nk-tile b { font-size: 15.5px; color: #fff3d6; } .nk-tile small { font-size: 12px; color: #d8c79f; line-height: 1.35; }
.nk-tile:active, .nk-tile.on { transform: scale(.98); background: linear-gradient(100deg, #b98a3a, #f6df9c 45%, #c7983f); border-color: transparent; }
.nk-tile.on b, .nk-tile.on small { color: #2a1b06; }
.nk-how { font-size: 13.5px !important; color: #d8c79f !important; margin-top: 12px !important; font-weight: 600; }
.nk-how i { font-style: normal; color: var(--gold); margin: 0 3px; }
/* website mode: the website button takes the spotlight */
.nk-web-bar { display: none; }
.nk-mode-web .nk-link-btn { border-width: 2px; background: linear-gradient(100deg, #b98a3a, #f6df9c 45%, #c7983f); color: #2a1b06; box-shadow: 0 10px 22px -12px #000; order: -1; }
.nk-mode-web .nk-link-btn small { color: #4a3510; }
.nk-mode-web .nk-bar #nk-get { flex: none; background: #fff; border: 1.5px solid var(--em); color: var(--em); padding: 13px 12px; }
.nk-mode-web .nk-bar .nk-set-mini { display: none; }
.nk-mode-web .nk-web-bar { display: block; flex: 1; }
/* SEO content */
.nk-steps { padding-left: 20px; line-height: 1.6; } .nk-steps li { margin-bottom: 8px; }
.nk-words { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.nk-word { position: relative; background: #fffaf0; border: 1px solid #ead9b4; border-radius: 14px; padding: 14px 14px 12px; }
.nk-word pre { margin: 0; white-space: pre-wrap; font: 500 16px/1.55 "Cormorant Garamond", Georgia, serif; color: #3a2a1a; }
.nk-word-ur pre { font: 400 18px/2 CWUrdu, serif; }
.nk-copyw { position: absolute; top: 10px; right: 10px; border: 1px solid #d9b56a; background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; color: #5a3d0c; }
.nk-word-ur .nk-copyw { right: auto; left: 10px; font-family: CWUrdu, serif; padding: 2px 12px 6px; }
.nk-vs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.nk-vs > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.nk-vs ul { margin: 6px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.nk-more-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nk-more-links a { padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 700; }
/* "how it looks on WhatsApp" */
.nk-wa { background: #e7ded3 radial-gradient(circle, #d6cbbd 1px, transparent 1.5px) 0 0 / 14px 14px; border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.nk-wa-b { position: relative; margin-left: auto; max-width: 270px; background: #d9fdd3; border-radius: 10px 2px 10px 10px; padding: 4px 4px 18px; box-shadow: 0 1px 1px #0002; }
.nk-wa-b img { width: 100%; height: 130px; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; display: block; }
.nk-wa-t { background: #cfeec8; padding: 6px 8px; border-radius: 0 0 8px 8px; }
.nk-wa-t b { display: block; font-size: 13px; line-height: 1.3; } .nk-wa-t small { display: block; font-size: 11.5px; color: #4b5d52; line-height: 1.35; } .nk-wa-d { color: #6b7b70 !important; }
.nk-wa-b a { display: block; padding: 6px 6px 0; font-size: 13px; color: #0b6fcf; word-break: break-all; }
.nk-wa-tm { position: absolute; right: 8px; bottom: 3px; font-size: 11px; color: #53bdeb; }

@media (min-width: 900px) {
  .nk-hero { padding: 44px 0 18px; }
  .nk-hero-in { flex-direction: row; justify-content: space-between; text-align: left; }
  .nk-hero p { margin: 0; }
  .nk-hero-card canvas { width: 300px; }
  .nk-types { justify-content: flex-start; padding-left: 0; }
  .nk { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
  .nk-side { order: 0; position: sticky; top: 76px; }
  .nk-prev canvas { width: 340px; }
  .nk-side-btns { display: flex; flex-direction: column; gap: 8px; width: 340px; margin-top: 12px; }
  .nk-dl-btn { display: block; padding: 15px; font-size: 1.05rem; }
  .nk-designs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nk-gal { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nk-words, .nk-vs { grid-template-columns: 1fr 1fr; }
  .nk-tiles { margin-left: 0; }
  .nk-bar { display: none; }
}
/* the 6 opening scenes, each a live demo */
.nk-ops-p { color: var(--muted); font-size: 15px; margin: -4px 0 12px; }
.nk-opgal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nk-opgal a { display: block; text-decoration: none; color: inherit; }
.nk-opgal img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 20px -12px #0008; }
.nk-opgal b { display: block; font-size: 13px; margin-top: 6px; line-height: 1.3; }
.nk-opgal span { font-size: 12.5px; color: var(--green-d, #066B3D); font-weight: 700; }
@media (min-width: 760px) { .nk-opgal { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
#openings, #all-designs { scroll-margin-top: 84px; }

/* ---------- /nikah-designs: all card designs (big view on tap) + website demos ---------- */
.nd-page { padding: 8px 0 56px; }
.nd-hero { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.nd-hero h1 { margin: 8px 0 10px; }
.nd-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nd-jump a { padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: inherit; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.nd-h { margin: 34px 0 4px; scroll-margin-top: 84px; }
.nd-sub { margin: 0 0 14px; font-size: 15px; }
.nd-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.nd-filter::-webkit-scrollbar { display: none; }
.nd-filter button { flex: none; padding: 8px 15px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font: 700 13.5px Inter, sans-serif; color: inherit; cursor: pointer; }
.nd-filter button.on { background: #0b3a2b; border-color: #0b3a2b; color: #f3e3b8; }
.nd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.nd-card { display: block; text-align: center; text-decoration: none; color: inherit; }
.nd-card[hidden] { display: none; }
.nd-card img { display: block; width: 100%; height: auto; border-radius: 10px; background: #0b3a2b; box-shadow: 0 10px 20px -14px #000a; transition: transform .2s; }
.nd-card:hover img { transform: translateY(-3px); }
.nd-card b { display: block; font-size: 13px; line-height: 1.3; margin-top: 6px; }
.nd-card span { font-size: 11.5px; }
.nd-cta { display: grid; gap: 8px; justify-items: center; text-align: center; margin-top: 40px; padding: 26px 18px; border-radius: 22px; color: #f3e3b8; background: radial-gradient(120% 90% at 75% 15%, #0f5a42, #062e21 55%, #021a12); }
.nd-cta b { font: 700 1.5rem var(--serif); color: #fff3d6; }
.nd-cta span { color: #e3d4b2; max-width: 520px; }
.nd-cta div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.nd-ghost { background: transparent; color: #f3e3b8; border: 1.5px solid #d9b56a88; }
@media (min-width: 760px) { .nd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 14px; } }
@media (min-width: 1100px) { .nd-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* the big view */
.nd-lb { padding: 0; border: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; background: #070b09f2; color: #f3e3b8; }
.nd-lb::backdrop { background: #000c; }
.nd-lb-in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 54px 12px calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
.nd-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; width: 100%; }
.nd-stage img { max-height: 100%; max-width: 100%; width: auto; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; box-shadow: 0 20px 50px #000; object-fit: contain; }
.nd-x { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #d9b56a66; background: #ffffff14; color: #fff; font-size: 18px; cursor: pointer; }
.nd-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 64px; border-radius: 14px; border: 1px solid #d9b56a55; background: #0009; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.nd-prev { left: 8px; } .nd-next { right: 8px; }
.nd-bar { width: 100%; max-width: 520px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nd-bar b { display: block; font-size: 16px; color: #fff3d6; }
.nd-bar span { font-size: 12px; margin-right: 8px; }
.nd-bar small { font-size: 12px; color: #cdb98d; }
.nd-bar .btn { flex: none; }
@media (min-width: 760px) { .nd-prev { left: calc(50% - 300px); } .nd-next { right: calc(50% - 300px); } }
.nd-bar .tg-free { color: #7ee2a8; } .nd-bar .tg-prem { color: #f0d48a; }
.nk-more-d { margin: 14px 0 0; font-weight: 700; } .nk-more-d a { color: var(--green-d, #066B3D); }
/* preview of their own invitation website (full screen, before any account) */
.nk-pv { position: fixed; inset: 0; z-index: 200; background: #000; }
.nk-pv[hidden] { display: none; }
.nk-pv iframe { display: block; width: 100%; height: 100%; border: 0; }
.nk-pv-x { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff55; background: #000a; color: #fff; font-size: 18px; cursor: pointer; }
.nk-pv-note { font-size: 12.5px; text-align: center; margin: 8px 0 0; }
#nk-link .nk-set-go + .nk-set-go { margin-top: 8px; }
/* Instagram / TikTok's browser: the card to press and hold */
.nk-iab-p { font-size: 14px; margin: 4px 0 12px; }
.nk-iab-imgs { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 12px; }
.nk-iab-imgs img { flex: none; width: min(62vw, 260px); height: auto; border-radius: 12px; box-shadow: 0 10px 24px -12px #000a; -webkit-touch-callout: default; user-select: auto; }
.nk-iab-imgs img:only-child { margin: 0 auto; }
.nk-iab-ios { font-size: 13px; margin: 6px 0 0; text-align: center; }
