/* Card link-button styles — one file for the card page (#links) and the live preview (.bsp) in the builder and edit page.
   Classic (no class) is the original look. Classes: bs-{outline|solid|soft|minimal}, bsh-{pill|round|square}, bsz-{s|l}, bi-{color|gold|mono} */
.bsp{display:grid;gap:10px;padding:16px;border-radius:18px;background:radial-gradient(120% 100% at 50% 0%,#1d1d2b,#09090f);--acc:#E9B949;--on-acc:#1B1206;max-width:340px}
.bsp .btn{display:flex;align-items:center;gap:14px;text-decoration:none;color:#fff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:12px 16px 12px 12px;font-weight:600;font-size:1rem;font-family:inherit;pointer-events:none}
.bsp .btn .ic{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center}.bsp .btn .ic svg{width:20px;height:20px}
.bsp .btn > span:not(.chev):not(.ic){flex:1;min-width:0}.bsp .btn small{display:block;font-weight:400;font-size:.78rem;color:rgba(255,255,255,.7)}.bsp .btn .chev{margin-left:auto;opacity:.5;font-size:1.2rem}

/* Outline — transparent pill, thin border, icon + divider (elegant on dark pages) */
:is(body.bs-outline #links,.bsp.bs-outline) .btn{background:transparent;border:1.5px solid rgba(255,255,255,.38);border-radius:999px;-webkit-backdrop-filter:none;backdrop-filter:none;padding:13px 22px 13px 18px;box-shadow:none}
:is(body.bs-outline #links,.bsp.bs-outline) .btn .ic{background:transparent!important;width:34px;height:34px}
:is(body.bs-outline #links,.bsp.bs-outline) .btn img{width:32px;height:32px}
:is(body.bs-outline #links,.bsp.bs-outline) .btn > span:not(.chev):not(.ic){border-left:1px solid rgba(255,255,255,.22);padding-left:18px;font-weight:500;letter-spacing:.01em}
:is(body.bs-outline #links,.bsp.bs-outline) .btn small{display:none}
/* Solid — light filled buttons with dark text (stands out on every page colour) */
:is(body.bs-solid #links,.bsp.bs-solid) .btn{background:#FAF7F0;border-color:transparent;color:#14141c;box-shadow:0 10px 24px rgba(0,0,0,.3);-webkit-backdrop-filter:none;backdrop-filter:none}
:is(body.bs-solid #links,.bsp.bs-solid) .btn small{color:#4b4b57}
:is(body.bs-solid #links,.bsp.bs-solid) .btn .chev{color:#14141c;opacity:.45}
:is(body.bs-solid #links,.bsp.bs-solid) .btn:active{background:#fff}
:is(body.bs-solid.bi-mono #links,.bsp.bs-solid.bi-mono) .btn .ic{color:#14141c}
:is(body.bs-solid.bi-mono #links,.bsp.bs-solid.bi-mono) .btn .ic svg{filter:brightness(0)}
:is(body.bs-solid.bi-mono #links,.bsp.bs-solid.bi-mono) .btn img{filter:grayscale(1) brightness(.35)}
/* Soft cards — larger rounded cards, subtle gradient, more air */
:is(body.bs-soft #links,.bsp.bs-soft) .btn{background:linear-gradient(160deg,rgba(255,255,255,.13),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:18px 18px 18px 16px;box-shadow:0 14px 32px rgba(0,0,0,.28)}
body.bs-soft #links .btn + .btn{margin-top:4px}
/* Minimal list — slim rows with hairlines */
:is(body.bs-minimal #links,.bsp.bs-minimal) .btn{background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.14);border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none;padding:14px 4px;box-shadow:none}
:is(body.bs-minimal #links,.bsp.bs-minimal) .btn .ic,:is(body.bs-minimal #links,.bsp.bs-minimal) .btn img{width:32px;height:32px}
:is(body.bs-minimal #links,.bsp.bs-minimal) .btn small{display:none}
/* Shape (not for Minimal list) */
:is(body.bsh-pill:not(.bs-minimal) #links,.bsp.bsh-pill:not(.bs-minimal)) .btn{border-radius:999px}
:is(body.bsh-round:not(.bs-minimal) #links,.bsp.bsh-round:not(.bs-minimal)) .btn{border-radius:16px}
:is(body.bsh-square:not(.bs-minimal) #links,.bsp.bsh-square:not(.bs-minimal)) .btn{border-radius:6px}
/* Size */
:is(body.bsz-s #links,.bsp.bsz-s) .btn{padding-top:8px;padding-bottom:8px;font-size:.94rem}
:is(body.bsz-s #links,.bsp.bsz-s) .btn :is(.ic,img){width:34px;height:34px}
:is(body.bsz-l #links,.bsp.bsz-l) .btn{padding-top:18px;padding-bottom:18px;font-size:1.12rem}
:is(body.bsz-l #links,.bsp.bsz-l) .btn :is(.ic,img){width:52px;height:52px}
/* Icons — gold or white instead of brand colours */
:is(body.bi-gold #links,.bsp.bi-gold) .btn .ic,:is(body.bi-mono #links,.bsp.bi-mono) .btn .ic{background:transparent!important;box-shadow:inset 0 0 0 1.5px currentColor}
:is(body.bi-gold #links,.bsp.bi-gold) .btn .ic{color:#E2B868}
:is(body.bi-gold #links,.bsp.bi-gold) .btn .ic svg{filter:brightness(0) saturate(100%) invert(78%) sepia(37%) saturate(625%) hue-rotate(352deg) brightness(95%)}
:is(body.bi-gold #links,.bsp.bi-gold) .btn img{filter:grayscale(1) sepia(1) saturate(2.6) hue-rotate(2deg) brightness(1.05)}
:is(body.bi-mono #links,.bsp.bi-mono) .btn .ic{color:rgba(255,255,255,.75)}
:is(body.bi-mono #links,.bsp.bi-mono) .btn .ic svg{filter:brightness(0) invert(1)}
:is(body.bi-mono #links,.bsp.bi-mono) .btn img{filter:grayscale(1) brightness(1.5)}
:is(body.bs-outline,body.bs-minimal) #links .btn .ic,.bsp:is(.bs-outline,.bs-minimal) .btn .ic{box-shadow:none}

/* ---------- Text style (name, tagline, button text) — tf, tns, tnc, ttc, tts. None = Classic ---------- */
.bsp .pv-head{text-align:center;padding:6px 0 10px}
.bsp .pv-name{margin:0;font-family:"Poppins",system-ui,sans-serif;font-weight:700;font-size:1.35rem;letter-spacing:.12em;text-transform:uppercase;color:#fff;line-height:1.2}
.bsp .pv-div{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 6px;color:#E9B949}.bsp .pv-div::before,.bsp .pv-div::after{content:"";width:56px;height:1px;background:#E9B949;opacity:.8}
.bsp .pv-tag{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:1.12rem;color:#E9B949;letter-spacing:.02em}
/* font styles */
:is(body.tf-elegant h1,.bsp.tf-elegant .pv-name){font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;letter-spacing:.08em;font-size:clamp(1.7rem,7.4vw,2.2rem)}
:is(body.tf-elegant #links,.bsp.tf-elegant) .btn{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:1.12rem;letter-spacing:.01em}
:is(body.tf-luxury h1,.bsp.tf-luxury .pv-name){font-weight:300;letter-spacing:.32em;font-size:clamp(1.35rem,6vw,1.75rem)}
:is(body.tf-luxury #links,.bsp.tf-luxury) .btn{font-weight:400;letter-spacing:.04em}
:is(body.tf-luxury .tag,.bsp.tf-luxury .pv-tag){font-family:"Poppins",system-ui,sans-serif;font-weight:300;font-size:.78rem;letter-spacing:.32em;text-transform:uppercase}
:is(body.tf-modern h1,.bsp.tf-modern .pv-name){text-transform:none;letter-spacing:-.01em;font-weight:700;font-size:clamp(1.6rem,7vw,2.05rem)}
:is(body.tf-modern .tag,.bsp.tf-modern .pv-tag){font-family:"Poppins",system-ui,sans-serif;font-weight:500;font-size:.98rem;letter-spacing:0}
:is(body.tf-script h1,.bsp.tf-script .pv-name){font-family:"Great Vibes","Cormorant Garamond",cursive;text-transform:none;letter-spacing:0;font-weight:400;font-size:clamp(2.3rem,10vw,2.9rem)}
/* name size */
:is(body.tns-s h1,.bsp.tns-s .pv-name){font-size:clamp(1.15rem,5vw,1.45rem)}
:is(body.tns-l h1,.bsp.tns-l .pv-name){font-size:clamp(1.9rem,8.6vw,2.5rem)}
body.tf-script.tns-s h1,.bsp.tf-script.tns-s .pv-name{font-size:clamp(1.8rem,8vw,2.2rem)}body.tf-script.tns-l h1,.bsp.tf-script.tns-l .pv-name{font-size:clamp(2.8rem,12vw,3.5rem)}
/* name colour */
:is(body.tnc-gold h1,.bsp.tnc-gold .pv-name){color:#E9B949}
:is(body.tnc-cream h1,.bsp.tnc-cream .pv-name){color:#F5ECD7}
:is(body.tnc-silver h1,.bsp.tnc-silver .pv-name){color:#D7DCE3}
/* tagline colour */
:is(body.ttc-white .tag,.bsp.ttc-white .pv-tag){color:#fff}
:is(body.ttc-cream .tag,.bsp.ttc-cream .pv-tag){color:#F5ECD7}
:is(body.ttc-muted .tag,.bsp.ttc-muted .pv-tag){color:rgba(255,255,255,.66)}
/* tagline style */
:is(body.tts-italic .tag,.bsp.tts-italic .pv-tag){font-style:italic}
:is(body.tts-caps .tag,.bsp.tts-caps .pv-tag){font-family:"Poppins",system-ui,sans-serif;font-weight:400;font-size:.76rem;letter-spacing:.28em;text-transform:uppercase}
