/* VBadg digital card — shared base + 25 layouts (.L1 … .L25). Everything is scoped under .vb. */
.vb {
  --bg: #ffffff; --surface: #f7f8fc; --text: #0f172a; --muted: #64748b; --line: #e8eaf1; --on: #ffffff;
  --tint: color-mix(in srgb, var(--p) 10%, transparent); --tint2: color-mix(in srgb, var(--p) 18%, transparent);
  position: relative; isolation: isolate; max-width: 480px; margin: 0 auto; min-height: 100%; background: var(--bg); color: var(--text);
  font-family: var(--fb); font-size: 14.5px; line-height: 1.55; overflow: hidden; -webkit-font-smoothing: antialiased; text-align: left;
}
.vb *, .vb *::before, .vb *::after { box-sizing: border-box; }
:where(.vb) a { color: inherit; text-decoration: none; }
.vb img { display: block; max-width: 100%; }
.vb h1, .vb h2, .vb p { margin: 0; }
.vb .ic { flex-shrink: 0; }
.vb-bgfx { display: none; }

/* Hero */
.vb-hero { position: relative; }
.vb-cover { position: relative; height: 150px; background: linear-gradient(135deg, var(--p), var(--p2)); overflow: hidden; }
.vb-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vb-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.vb-cover .d1 { width: 220px; height: 220px; right: -60px; top: -90px; background: rgba(255, 255, 255, .16); }
.vb-cover .d2 { width: 140px; height: 140px; left: -40px; bottom: -70px; background: rgba(255, 255, 255, .12); }
.vb-cover .d3 { display: none; }
.vb-cover:has(img) .vb-deco { display: none; }
.vb-id { position: relative; text-align: center; padding: 0 20px 6px; }
.vb-avatar { width: 108px; height: 108px; margin: -54px auto 0; border-radius: 50%; border: 4px solid var(--bg); background: linear-gradient(135deg, color-mix(in srgb, var(--p) 22%, #fff), color-mix(in srgb, var(--p2) 30%, #fff)); display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .35); position: relative; z-index: 2; }
.vb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vb-avatar img.is-logo { object-fit: contain; padding: 14%; background: #fff; }
.vb-avatar span { font-family: var(--fh); font-weight: 800; font-size: 36px; color: var(--p); letter-spacing: -.02em; }
.vb-names { padding-top: 12px; }
.vb-logo { height: 30px; width: auto; margin: 0 auto 8px; object-fit: contain; }
.vb-name { font-family: var(--fh); font-size: 25px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.vb-title { color: var(--p); font-weight: 650; font-size: 14px; margin-top: 4px; }
.vb-biz { color: var(--muted); font-size: 13px; margin-top: 2px; }
.vb-tagline { color: var(--muted); font-size: 13.5px; margin-top: 8px; font-style: italic; }

/* Actions */
.vb-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: 6px; padding: 16px 16px 6px; }
.vb-act { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); transition: transform .15s; }
.vb-act:active { transform: scale(.95); }
.vb-act i { width: 50px; height: 50px; border-radius: calc(var(--r) - 2px); background: var(--tint); color: var(--p); display: grid; place-items: center; font-style: normal; transition: background .15s, color .15s; }
.vb-act:hover i { background: var(--p); color: var(--on); }

/* Buttons */
.vb-ctas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 12px 18px 4px; }
.vb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: calc(var(--r) - 2px); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; width: 100%; transition: transform .15s, filter .15s; }
.vb-btn:active { transform: scale(.98); }
.vb-btn-p { background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 70%, var(--p2))); color: var(--on); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--p) 70%, transparent); }
.vb-btn-p:hover { filter: brightness(1.06); }
.vb-btn-o { background: transparent; color: var(--text); border-color: var(--line); }
.vb-btn-o:hover { border-color: var(--p); color: var(--p); }

/* Sections */
.vb-body { padding: 8px 0 6px; }
.vb-sec { padding: 16px 18px; }
.vb-h { font-family: var(--fh); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.vb-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.vb-about p { font-size: 14.5px; color: var(--text); opacity: .9; }
.vb-svcs { display: grid; gap: 8px; }
.vb-svc { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.vb-svc-n { font-family: var(--fh); font-weight: 800; font-size: 12px; color: var(--p); background: var(--tint); border-radius: 8px; padding: 3px 7px; margin-top: 1px; }
.vb-svc > div { flex: 1; min-width: 0; }
.vb-svc b { display: block; font-size: 14.5px; font-weight: 700; }
.vb-svc p { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.vb-price { font-weight: 800; font-size: 13px; color: var(--p); white-space: nowrap; }
.vb-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vb-prod { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.vb-prod-img { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1; }
.vb-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.vb-prod-b { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vb-prod-b b { font-size: 13.5px; line-height: 1.3; }
.vb-prod-b p { font-size: 12px; color: var(--muted); line-height: 1.4; }
.vb-prod-f { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.vb-order { display: inline-flex; align-items: center; gap: 4px; background: #16a34a; color: #fff !important; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 99px; }
.vb-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vb-gal button { padding: 0; border: 0; background: var(--surface); border-radius: calc(var(--r) - 6px); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.vb-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vb-gal button:hover img { transform: scale(1.06); }
.vb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.vb-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; word-break: break-word; }
.vb-list li:last-child { border: 0; }
.vb-list .ic { color: var(--p); margin-top: 1px; }
.vb-list a:hover { color: var(--p); }
.vb-paybox { display: grid; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.vb-upiqr { width: 180px; margin: 0 auto; border-radius: 12px; background: #fff; padding: 6px; }
.vb-upi { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: 13.5px; }
.vb-upi span { color: var(--muted); }
.vb-upi button { border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 8px; padding: 4px 9px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.vb-bank { font-size: 13px; color: var(--muted); text-align: left; border-top: 1px dashed var(--line); padding-top: 10px; }
.vb-soc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.vb-soc a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: .15s; }
.vb-soc a:hover { background: var(--p); color: var(--on); border-color: var(--p); }
.vb-review { margin-top: 2px; }
.vb-review + .vb-review { margin-top: 8px; }
.vb-form { display: grid; gap: 8px; }
.vb-form input, .vb-form textarea { width: 100%; padding: 12px 14px; border-radius: calc(var(--r) - 4px); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; outline: none; }
.vb-form input:focus, .vb-form textarea:focus { border-color: var(--p); box-shadow: 0 0 0 3px var(--tint); }
.vb-form textarea { resize: vertical; }
.vb-hp { position: absolute; left: -9999px; }
.vb-qrsec { padding-top: 4px; }
.vb-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 18px 18px 26px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 8px; }
.vb-foot a { font-weight: 700; color: var(--p); }

/* ===== Polish layer (applies to every layout) ===== */
.vb-cover { height: 176px; }
.vb-cover:has(img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, color-mix(in srgb, var(--p) 45%, rgba(0, 0, 0, .35)) 100%); }
.vb-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.vb-avatar { width: 116px; height: 116px; margin-top: -58px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 55%, transparent), 0 18px 34px -14px rgba(15, 23, 42, .45); }
.vb-name { font-size: 26px; }
.vb-title { display: inline-block; margin-top: 6px; }
.vb-act i { background: linear-gradient(160deg, color-mix(in srgb, var(--p) 16%, transparent), color-mix(in srgb, var(--p2) 10%, transparent)); border: 1px solid color-mix(in srgb, var(--p) 16%, transparent); box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--p) 80%, transparent); }
.vb-act:hover i { background: linear-gradient(135deg, var(--p), var(--p2)); border-color: transparent; color: #fff; }
.vb-btn-p { background: linear-gradient(120deg, var(--p), var(--p2)); }
.vb-h { color: var(--text); opacity: .75; }
.vb-h::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, var(--p), var(--p2)); flex-shrink: 0; }
.vb-svc { transition: transform .2s, box-shadow .2s, border-color .2s; }
.vb-svc:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--p) 30%, var(--line)); box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--p) 60%, transparent); }
.vb-svc-n { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; }
.vb-price { background: var(--tint); padding: 3px 9px; border-radius: 99px; font-size: 12.5px; }
.vb-gal { gap: 8px; }
.vb-gal button { border-radius: calc(var(--r) - 4px); }
.vb-gal button:first-child:nth-last-child(n+4) { grid-column: span 2; grid-row: span 2; }
.vb-prod { transition: transform .2s, box-shadow .2s; }
.vb-prod:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(15, 23, 42, .45); }
.vb-paybox { background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--p) 6%, var(--surface))); }
.vb-soc a { width: 48px; height: 48px; }

/* ===== Dark base used by several layouts ===== */
.L3 .vb-title, .L15 .vb-title, .L25 .vb-title, .L3 .vb-svc-n, .L25 .vb-svc-n, .L3 .vb-act i, .L25 .vb-act i, .L3 .vb-list .ic, .L14 .vb-list .ic, .L25 .vb-list .ic { color: color-mix(in srgb, var(--p) 50%, #fff); }
.L3, .L14, .L15, .L16, .L25 { --bg: #0b1020; --surface: #131a2e; --text: #eef2ff; --muted: #94a3b8; --line: rgba(255, 255, 255, .09); --tint: color-mix(in srgb, var(--p) 22%, transparent); }

/* 1 Aurora (base) — soft glows */
.L1 .vb-cover .d3 { display: block; width: 120px; height: 120px; left: 45%; top: 30px; background: rgba(255, 255, 255, .1); filter: blur(4px); }

/* 2 Fresh */
.L2 .vb-cover { height: 96px; background: var(--p); }
.L2 .vb-avatar { border-radius: calc(var(--r) + 8px); margin-top: -50px; }
.L2 .vb-act i { background: var(--bg); border: 1.5px solid var(--line); }
.L2 .vb-act:hover i { border-color: var(--p); }

/* 3 Midnight */
.L3 .vb-cover { background: radial-gradient(120% 120% at 80% 0%, color-mix(in srgb, var(--p) 80%, transparent), transparent 60%), radial-gradient(100% 100% at 0% 100%, color-mix(in srgb, var(--p2) 60%, transparent), transparent 60%), #0b1020; }
.L3 .vb-avatar { border: 3px solid transparent; background: linear-gradient(#131a2e, #131a2e) padding-box, linear-gradient(135deg, var(--p), var(--p2)) border-box; }
.L3 .vb-title { color: color-mix(in srgb, var(--p) 55%, #fff); }

/* 4 Split */
.L4 .vb-cover { display: none; }
.L4 .vb-hero { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; padding: 30px 20px 26px; border-radius: 0 0 28px 28px; }
.L4 .vb-id { display: flex; align-items: center; gap: 16px; text-align: left; padding: 0; }
.L4 .vb-avatar { margin: 0; width: 92px; height: 92px; flex-shrink: 0; border: 3px solid rgba(255, 255, 255, .55); }
.L4 .vb-names { padding: 0; }
.L4 .vb-logo { margin: 0 0 6px; filter: brightness(0) invert(1); }
.L4 .vb-title, .L4 .vb-biz, .L4 .vb-tagline { color: rgba(255, 255, 255, .85); }
.L4 .vb-name { font-size: 23px; }

/* 5 Minimal */
.L5 .vb-cover { display: none; }
.L5 .vb-id { text-align: left; padding: 36px 22px 4px; }
.L5 .vb-avatar { margin: 0 0 16px; width: 76px; height: 76px; border: 0; box-shadow: none; }
.L5 .vb-logo { margin: 0 0 10px; }
.L5 .vb-name { font-size: 30px; }
.L5 .vb-names::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--p); margin-top: 14px; }
.L5 .vb-actions { padding-left: 22px; padding-right: 22px; }
.L5 .vb-act i { background: transparent; border: 1px solid var(--line); }
.L5 .vb-sec, .L5 .vb-ctas { padding-left: 22px; padding-right: 22px; }

/* 6 Bold */
.L6 .vb-cover { display: none; }
.L6 .vb-hero { background: linear-gradient(150deg, var(--p), var(--p2)); color: #fff; padding: 34px 22px 74px; }
.L6 .vb-hero::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .1); }
.L6 .vb-id { text-align: left; padding: 0; }
.L6 .vb-avatar { margin: 0 0 14px; width: 80px; height: 80px; border-radius: 22px; border: 3px solid rgba(255, 255, 255, .45); }
.L6 .vb-logo { margin: 0 0 8px; filter: brightness(0) invert(1); }
.L6 .vb-name { font-size: 30px; }
.L6 .vb-title, .L6 .vb-biz, .L6 .vb-tagline { color: rgba(255, 255, 255, .88); }
.L6 .vb-actions { position: relative; margin: -50px 16px 0; background: var(--bg); border-radius: var(--r); padding: 14px 10px; box-shadow: 0 16px 34px -14px rgba(15, 23, 42, .35); }

/* 7 Glass */
.L7 { --bg: transparent; --surface: rgba(255, 255, 255, .14); --text: #fff; --muted: rgba(255, 255, 255, .78); --line: rgba(255, 255, 255, .22); --tint: rgba(255, 255, 255, .18); background: linear-gradient(160deg, var(--p), var(--p2)); }
.L7 .vb-bgfx { display: block; position: absolute; inset: 0; z-index: -1; }
.L7 .vb-bgfx span { position: absolute; border-radius: 50%; filter: blur(30px); background: rgba(255, 255, 255, .22); }
.L7 .b1 { width: 260px; height: 260px; top: -60px; right: -80px; } .L7 .b2 { width: 220px; height: 220px; top: 420px; left: -90px; } .L7 .b3 { width: 180px; height: 180px; bottom: 120px; right: -40px; }
.L7 .vb-cover { background: transparent; height: 70px; }
.L7 .vb-cover .vb-deco { display: none; }
.L7 .vb-avatar { border-color: rgba(255, 255, 255, .5); margin-top: 0; }
.L7 .vb-title { color: #fff; }
.L7 .vb-act { color: #fff; } .L7 .vb-act i { color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); }
.L7 .vb-act:hover i { background: #fff; color: var(--p); }
.L7 .vb-btn-p { background: #fff; color: var(--p); box-shadow: none; }
.L7 .vb-btn-o { color: #fff; }
.L7 .vb-sec { margin: 0 14px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.L7 .vb-svc-n, .L7 .vb-price, .L7 .vb-list .ic { color: #fff; } .L7 .vb-svc-n { background: rgba(255, 255, 255, .2); }
.L7 .vb-form input, .L7 .vb-form textarea { background: rgba(255, 255, 255, .15); }
.L7 .vb-form ::placeholder { color: rgba(255, 255, 255, .7); }
.L7 .vb-foot a { color: #fff; }

/* 8 Ribbon */
.L8 .vb-cover { height: 190px; clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%); }
.L8 .vb-id { text-align: left; padding: 0 22px; }
.L8 .vb-avatar { margin: -78px 0 0; width: 100px; height: 100px; border-radius: 26px; transform: rotate(-4deg); }
.L8 .vb-avatar > * { transform: rotate(4deg); }
.L8 .vb-logo { margin: 0 0 8px; }

/* 9 Wave */
.L9 .vb-cover { height: 176px; border-radius: 0 0 50% 50% / 0 0 34px 34px; }
.L9 .vb-cover::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 80px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.L9 .vb-act i { border-radius: 50%; }

/* 10 Classic (premium visiting card at top) */
.L10 { --bg: #f4f5f9; }
.L10 .vb-cover { display: none; }
.L10 .vb-hero { padding: 22px 18px 6px; }
.L10 .vb-id { position: relative; display: flex; flex-direction: row-reverse; align-items: flex-end; justify-content: space-between; gap: 12px; text-align: left; padding: 22px; aspect-ratio: 1.75; border-radius: var(--r); color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(135deg, var(--p), var(--p2)); box-shadow: 0 22px 40px -18px color-mix(in srgb, var(--p) 75%, transparent); overflow: hidden; }
.L10 .vb-id::before { content: ""; position: absolute; left: 22px; top: 22px; width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f7e7a8, #c9a74a); opacity: .9; }
.L10 .vb-avatar { margin: 0; width: 70px; height: 70px; border: 2px solid rgba(255, 255, 255, .6); box-shadow: none; align-self: flex-start; }
.L10 .vb-names { padding: 0; }
.L10 .vb-logo { display: none; }
.L10 .vb-name { font-size: 21px; }
.L10 .vb-title, .L10 .vb-biz { color: rgba(255, 255, 255, .85); }
.L10 .vb-tagline { display: none; }
.L10 .vb-svc, .L10 .vb-paybox { background: #fff; }

/* 11 Pastel */
.L11 { --bg: color-mix(in srgb, var(--p) 6%, #fff); --surface: #fff; --line: color-mix(in srgb, var(--p) 14%, #fff); }
.L11 .vb-cover { height: 130px; background: linear-gradient(135deg, color-mix(in srgb, var(--p) 30%, #fff), color-mix(in srgb, var(--p2) 35%, #fff)); }
.L11 .vb-cover .vb-deco { background: rgba(255, 255, 255, .5); }
.L11 .vb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.L11 .vb-act { flex-direction: row; gap: 6px; padding: 7px 14px 7px 7px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 13px; }
.L11 .vb-act i { width: 30px; height: 30px; border-radius: 50%; }
.L11 .vb-sec { margin: 0 14px 12px; background: #fff; border-radius: calc(var(--r) + 6px); }
.L11 .vb-svc { background: var(--bg); border: 0; }

/* 12 Corporate */
.L12 .vb-cover { height: 72px; background: var(--p); }
.L12 .vb-cover .vb-deco { display: none; }
.L12 .vb-id { text-align: left; padding: 0 20px; }
.L12 .vb-avatar { margin: -44px 0 0; width: 92px; height: 92px; border-radius: 14px; }
.L12 .vb-logo { margin: 0 0 6px; }
.L12 .vb-name { font-size: 24px; }
.L12 .vb-h { color: var(--text); font-size: 13px; letter-spacing: .06em; border-left: 3px solid var(--p); padding-left: 10px; }
.L12 .vb-h::after { display: none; }
.L12 .vb-act i { border-radius: 10px; }

/* 13 Elegant */
.L13 { --fh: 'Playfair Display', Georgia, serif; --bg: #fffdf9; --surface: #faf7f1; --line: #ece5d8; }
.L13 .vb-cover { display: none; }
.L13 .vb-hero { padding-top: 40px; }
.L13 .vb-hero::before, .L13 .vb-hero::after { content: ""; position: absolute; left: 22px; right: 22px; height: 1px; background: var(--p); opacity: .4; }
.L13 .vb-hero::before { top: 18px; } .L13 .vb-hero::after { top: 22px; }
.L13 .vb-avatar { margin-top: 0; border: 1px solid var(--p); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px color-mix(in srgb, var(--p) 40%, transparent); }
.L13 .vb-name { font-weight: 700; font-size: 28px; letter-spacing: 0; }
.L13 .vb-title { font-style: italic; font-weight: 500; }
.L13 .vb-h { justify-content: center; text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 700; color: var(--text); }
.L13 .vb-h::before, .L13 .vb-h::after { content: ""; flex: 0 0 28px; height: 1px; background: var(--p); }
.L13 .vb-act i { border-radius: 50%; background: transparent; border: 1px solid var(--line); }

/* 14 Photo Hero */
.L14 .vb-cover { height: 360px; }
.L14 .vb-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, .9) 100%); }
.L14 .vb-id { position: absolute; left: 0; right: 0; bottom: 0; text-align: left; padding: 0 20px 18px; display: flex; align-items: flex-end; gap: 14px; }
.L14 .vb-avatar { margin: 0; width: 70px; height: 70px; border: 2px solid rgba(255, 255, 255, .7); flex-shrink: 0; }
.L14 .vb-names { padding: 0; }
.L14 .vb-logo { margin: 0 0 6px; }
.L14 .vb-name { color: #fff; font-size: 26px; }
.L14 .vb-title { color: color-mix(in srgb, var(--p) 45%, #fff); }
.L14 .vb-biz, .L14 .vb-tagline { color: rgba(255, 255, 255, .8); }

/* 15 Neon */
.L15 .vb-cover { background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(80% 120% at 50% 100%, color-mix(in srgb, var(--p) 55%, transparent), transparent 70%), #070a14; }
.L15 .vb-cover .vb-deco { display: none; }
.L15 .vb-avatar { border: 2px solid var(--p); box-shadow: 0 0 22px color-mix(in srgb, var(--p) 70%, transparent), 0 0 0 4px #0b1020; }
.L15 .vb-name { text-shadow: 0 0 18px color-mix(in srgb, var(--p) 70%, transparent); }
.L15 .vb-title { color: color-mix(in srgb, var(--p) 55%, #fff); }
.L15 .vb-act i { background: transparent; border: 1px solid var(--p); box-shadow: 0 0 12px color-mix(in srgb, var(--p) 45%, transparent), inset 0 0 10px color-mix(in srgb, var(--p) 25%, transparent); color: color-mix(in srgb, var(--p) 50%, #fff); }
.L15 .vb-svc { border-color: color-mix(in srgb, var(--p) 35%, transparent); }
.L15 .vb-btn-p { box-shadow: 0 0 22px color-mix(in srgb, var(--p) 60%, transparent); }

/* ===== Premium 16–25 ===== */

/* 16 Luxe Gold */
.L16 { --p: #d4af37; --p2: #f3d98b; --bg: #0c0b09; --surface: #15130f; --text: #f5efe0; --muted: #b6ab91; --line: rgba(212, 175, 55, .22); --on: #1a1406; --fh: 'Playfair Display', Georgia, serif; }
.L16 .vb-cover { height: 140px; background: radial-gradient(90% 140% at 50% 0%, rgba(212, 175, 55, .35), transparent 70%), #0c0b09; border-bottom: 1px solid var(--line); }
.L16 .vb-cover .vb-deco { display: none; }
.L16 .vb-avatar { border: 1px solid var(--p); box-shadow: 0 0 0 5px #0c0b09, 0 0 0 6px rgba(212, 175, 55, .5); background: #1b1810; }
.L16 .vb-name { font-weight: 700; letter-spacing: .01em; background: linear-gradient(180deg, #fff3cf, #d4af37); -webkit-background-clip: text; background-clip: text; color: transparent; }
.L16 .vb-title { letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; }
.L16 .vb-act i { background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.L16 .vb-h { color: var(--p); letter-spacing: .25em; }

/* 17 Mesh (animated) */
.L17 .vb-cover { display: none; }
.L17 .vb-hero { padding: 44px 20px 54px; color: #fff; background: radial-gradient(at 20% 20%, var(--p) 0, transparent 55%), radial-gradient(at 80% 10%, var(--p2) 0, transparent 50%), radial-gradient(at 70% 90%, color-mix(in srgb, var(--p2) 60%, #ff9a8b) 0, transparent 55%), radial-gradient(at 10% 90%, color-mix(in srgb, var(--p) 50%, #22d3ee) 0, transparent 55%), var(--p); background-size: 180% 180%; animation: vbMesh 12s ease-in-out infinite alternate; }
@keyframes vbMesh { 0% { background-position: 0% 0% } 100% { background-position: 100% 100% } }
.L17 .vb-avatar { margin-top: 0; border-color: rgba(255, 255, 255, .6); }
.L17 .vb-logo { filter: brightness(0) invert(1); }
.L17 .vb-title, .L17 .vb-biz, .L17 .vb-tagline { color: rgba(255, 255, 255, .88); }
.L17 .vb-actions { position: relative; margin-top: -30px; background: var(--bg); border-radius: 28px 28px 0 0; padding-top: 22px; }

/* 18 Geometric */
.L18 .vb-cover { height: 170px; background: color-mix(in srgb, var(--p) 8%, #fff); }
.L18 .vb-cover .vb-deco { display: block; border-radius: 0; }
.L18 .vb-cover .d1 { width: 180px; height: 180px; right: -40px; top: -60px; border-radius: 50%; background: var(--p); opacity: .9; }
.L18 .vb-cover .d2 { width: 110px; height: 110px; left: 30px; top: 30px; background: var(--p2); transform: rotate(18deg); border-radius: 18px; opacity: .85; bottom: auto; }
.L18 .vb-cover .d3 { width: 120px; height: 104px; left: 52%; bottom: -10px; background: color-mix(in srgb, var(--p) 40%, var(--p2)); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .7; }
.L18 .vb-avatar { border-radius: 0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); border: 0; width: 118px; height: 118px; }
.L18 .vb-act i { border-radius: 4px; transform: rotate(45deg); width: 42px; height: 42px; margin: 4px 0; }
.L18 .vb-act i svg { transform: rotate(-45deg); }

/* 19 Magazine */
.L19 .vb-cover { display: none; }
.L19 .vb-id { text-align: left; padding: 26px 22px 6px; }
.L19 .vb-avatar { width: 100%; height: auto; aspect-ratio: 4/3; margin: 0 0 18px; border-radius: var(--r); border: 0; background: linear-gradient(135deg, var(--p), var(--p2)); }
.L19 .vb-avatar span { font-size: 80px; color: #fff; }
.L19 .vb-avatar img.is-logo { padding: 18%; }
.L19 .vb-logo { margin: 0 0 10px; }
.L19 .vb-name { font-size: 40px; font-weight: 800; text-transform: uppercase; letter-spacing: -.04em; line-height: .95; }
.L19 .vb-title { font-size: 15px; display: inline-block; margin-top: 10px; padding: 3px 10px; background: var(--p); color: var(--on); border-radius: 4px; }
.L19 .vb-h { font-size: 22px; text-transform: none; letter-spacing: -.02em; color: var(--text); }
.L19 .vb-h::after { height: 3px; background: var(--p); flex: 0 0 30px; }

/* 20 Float */
.L20 { --bg: #f7f8fc; --surface: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--p) 10%, #fff), #f5f6fb 45%); }
.L20 .vb-cover { height: 110px; margin: 14px 14px 0; border-radius: calc(var(--r) + 6px); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--p) 70%, transparent); }
.L20 .vb-avatar { border-color: #fff; box-shadow: 0 18px 30px -12px rgba(15, 23, 42, .4); }
.L20 .vb-act i { background: #fff; box-shadow: 0 10px 20px -10px rgba(15, 23, 42, .3); }
.L20 .vb-sec { margin: 0 14px 14px; background: #fff; border-radius: calc(var(--r) + 4px); box-shadow: 0 16px 34px -20px rgba(15, 23, 42, .35); }
.L20 .vb-svc { border: 0; background: #f6f7fb; }

/* 21 Retro Pop */
.L21 { --bg: #fff8e7; --surface: #fff; --line: #111; --text: #111; --muted: #444; }
.L21 .vb-cover { height: 120px; background: var(--p); border-bottom: 2.5px solid #111; }
.L21 .vb-cover .vb-deco { border: 2.5px solid #111; background: var(--p2); }
.L21 .vb-avatar { border-radius: 16px; border: 2.5px solid #111; box-shadow: 5px 5px 0 #111; }
.L21 .vb-name { font-size: 27px; }
.L21 .vb-title { color: #111; background: var(--p2); display: inline-block; padding: 1px 8px; border: 2px solid #111; border-radius: 6px; }
.L21 .vb-act { color: #111; }
.L21 .vb-act i { background: #fff; border: 2px solid #111; box-shadow: 3px 3px 0 #111; color: #111; border-radius: 12px; }
.L21 .vb-act:hover i { background: var(--p); color: #fff; }
.L21 .vb-btn { border: 2px solid #111; box-shadow: 4px 4px 0 #111; }
.L21 .vb-btn-p { background: var(--p); }
.L21 .vb-svc, .L21 .vb-paybox, .L21 .vb-form input, .L21 .vb-form textarea, .L21 .vb-soc a { border: 2px solid #111; box-shadow: 3px 3px 0 #111; }
.L21 .vb-h { color: #111; }

/* 22 Bento */
.L22 { --bg: #f3f4f8; --surface: #fff; }
.L22 .vb-cover { display: none; }
.L22 .vb-hero { padding: 16px 14px 0; }
.L22 .vb-id { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px; background: #fff; border-radius: calc(var(--r) + 6px); }
.L22 .vb-avatar { margin: 0; width: 78px; height: 78px; border-radius: 22px; border: 0; box-shadow: none; flex-shrink: 0; }
.L22 .vb-names { padding: 0; } .L22 .vb-logo { margin: 0 0 6px; }
.L22 .vb-name { font-size: 21px; }
.L22 .vb-actions { padding: 10px 14px 0; grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); }
.L22 .vb-act { background: #fff; border-radius: calc(var(--r) + 2px); padding: 10px 2px; font-size: 10.5px; }
.L22 .vb-act i { width: 38px; height: 38px; }
.L22 .vb-ctas { padding: 10px 14px 0; }
.L22 .vb-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px; }
.L22 .vb-sec { grid-column: 1 / -1; background: #fff; border-radius: calc(var(--r) + 6px); padding: 16px; }
.L22 .vb-social, .L22 .vb-qrsec { grid-column: auto; }
.L22 .vb-social .vb-soc a { width: 38px; height: 38px; }
.L22 .vb-qrsec { display: grid; align-items: center; }
.L22 .vb-svc { background: #f3f4f8; border: 0; }

/* 23 Orbit */
.L23 .vb-cover { height: 130px; background: linear-gradient(180deg, color-mix(in srgb, var(--p) 14%, #fff), var(--bg)); }
.L23 .vb-cover .vb-deco { background: color-mix(in srgb, var(--p) 10%, transparent); }
.L23 .vb-avatar { margin-top: -70px; width: 124px; height: 124px; border: 5px solid var(--bg); overflow: visible; background: var(--bg); }
.L23 .vb-avatar::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(var(--p), var(--p2), transparent 70%, var(--p)); z-index: -1; animation: vbSpin 4s linear infinite; }
.L23 .vb-avatar > * { border-radius: 50%; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--p) 22%, #fff), color-mix(in srgb, var(--p2) 30%, #fff)); }
@keyframes vbSpin { to { transform: rotate(360deg) } }
.L23 .vb-act i { border-radius: 50%; }

/* 24 Sidebar strip */
.L24 { padding-left: 12px; }
.L24::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(180deg, var(--p), var(--p2)); }
.L24 .vb-cover { display: none; }
.L24 .vb-id { text-align: left; padding: 30px 20px 4px; display: flex; gap: 16px; align-items: center; }
.L24 .vb-avatar { margin: 0; width: 84px; height: 84px; border-radius: var(--r); border: 0; flex-shrink: 0; }
.L24 .vb-names { padding: 0; } .L24 .vb-logo { margin: 0 0 6px; }
.L24 .vb-h { color: var(--p); }
.L24 .vb-h::after { background: color-mix(in srgb, var(--p) 25%, transparent); }

/* 25 Aurora Night (animated) */
.L25 .vb-bgfx { display: block; position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.L25 .vb-bgfx span { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: vbFloat 14s ease-in-out infinite alternate; }
.L25 .b1 { width: 300px; height: 300px; background: var(--p); top: -80px; left: -60px; }
.L25 .b2 { width: 260px; height: 260px; background: var(--p2); top: 180px; right: -100px; animation-delay: -5s; }
.L25 .b3 { width: 240px; height: 240px; background: color-mix(in srgb, var(--p2) 50%, #22d3ee); bottom: 60px; left: -60px; animation-delay: -9s; }
@keyframes vbFloat { 0% { transform: translate(0, 0) scale(1) } 100% { transform: translate(40px, 60px) scale(1.15) } }
.L25 .vb-cover { background: transparent; height: 90px; }
.L25 .vb-cover .vb-deco { display: none; }
.L25 .vb-avatar { border-color: rgba(255, 255, 255, .25); }
.L25 .vb-act i { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); }
.L25 .vb-sec { margin: 0 14px 12px; border-radius: var(--r); background: rgba(19, 26, 46, .55); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }

@media (prefers-reduced-motion: reduce) { .L17 .vb-hero, .L23 .vb-avatar::before, .L25 .vb-bgfx span { animation: none; } }

/* Page around the card (live + preview) */
html.vb-page, html.vb-page body { margin: 0; min-height: 100%; }
html.vb-page body { background: color-mix(in srgb, var(--pg, #5b47fb) 8%, #eef0f6); }
@media (min-width: 520px) {
  html.vb-page body { padding: 28px 0; }
  html.vb-page .vb { border-radius: 28px; box-shadow: 0 30px 80px -30px rgba(15, 23, 42, .35); min-height: auto; }
}
.vb-preview-bar { position: sticky; top: 0; z-index: 50; background: #0f172a; color: #fff; text-align: center; font: 600 12.5px/1.4 system-ui, sans-serif; padding: 8px 12px; }
.vb-modal { position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 20, .78); display: none; place-items: center; padding: 20px; }
.vb-modal.open { display: grid; }
.vb-modal img { max-width: 100%; max-height: 86vh; border-radius: 14px; }
.vb-modal .qrbox { background: #fff; border-radius: 20px; padding: 22px; text-align: center; font: 600 14px system-ui, sans-serif; color: #0f172a; }
.vb-modal .qrbox canvas, .vb-modal .qrbox img { width: 230px; height: 230px; image-rendering: pixelated; margin: 0 auto 12px; display: block; }
.vb-toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; background: #0f172a; color: #fff; font: 600 13.5px system-ui, sans-serif; padding: 11px 16px; border-radius: 12px; z-index: 120; transition: .25s; pointer-events: none; }
.vb-toast.show { opacity: 1; transform: translate(-50%, 0); }
