/* Lightweight link style picker + public profile link variants */
.link-style-native{position:absolute!important;inline-size:1px!important;block-size:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.link-style-picker-ui{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:2px}.link-style-choice{appearance:none;border:1px solid #d7e0ea;border-radius:13px;background:#fff;color:#334155;padding:9px 8px;min-height:82px;display:grid;grid-template-rows:42px auto;gap:6px;place-items:center;font:inherit;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s,background .15s}.link-style-choice:hover{transform:translateY(-1px);border-color:#93c5fd;box-shadow:0 7px 16px rgba(37,99,235,.08)}.link-style-choice.is-selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.10)}.link-style-choice strong{font-size:11px;line-height:1.2}.link-style-preview{width:100%;max-width:88px;height:38px;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:9px;border:1px solid #cbd5e1;background:#fff;position:relative;overflow:hidden}.link-style-preview i{width:13px;height:13px;border-radius:4px;background:#60a5fa;display:block}.link-style-preview b{width:34px;height:5px;border-radius:99px;background:#cbd5e1;display:block}.link-style-choice[data-style="featured"] .link-style-preview{background:#2563eb;border-color:#2563eb}.link-style-choice[data-style="featured"] .link-style-preview i{background:#fff}.link-style-choice[data-style="featured"] .link-style-preview b{background:#bfdbfe}.link-style-choice[data-style="outline"] .link-style-preview{border:2px solid #2563eb;background:transparent;box-shadow:none}.link-style-choice[data-style="image"] .link-style-preview{justify-content:flex-start;padding:5px;background:linear-gradient(135deg,#dbeafe,#fff)}.link-style-choice[data-style="image"] .link-style-preview i{width:26px;height:26px;border-radius:7px}.link-style-choice[data-style="image"] .link-style-preview b{width:28px}.link-style-choice[data-style="icon"] .link-style-preview{width:38px;border-radius:50%;background:#2563eb;border-color:#2563eb}.link-style-choice[data-style="icon"] .link-style-preview i{width:16px;height:16px;border-radius:50%;background:#fff}.link-style-choice[data-style="icon"] .link-style-preview b{display:none}

/* Toggle controls stay independent from visual style. */
.links-manager-page .toggle-card{transition:border-color .15s,background .15s,box-shadow .15s}.links-manager-page .toggle-card:has(input:checked){border-color:#86efac;background:#f0fdf4;box-shadow:0 0 0 2px rgba(34,197,94,.07)}.links-manager-page .toggle-card:has(input:checked) strong{color:#166534}.links-manager-page .toggle-card:has(input:not(:checked)){background:#fff7f7;border-color:#fecaca}.links-manager-page .toggle-card:has(input:not(:checked)) strong{color:#991b1b}

/* Public style is controlled by style; featured is a second, independent emphasis flag. */
.public-profile .link-card.style-normal{background:var(--profile-surface,#fff);border:1px solid var(--profile-border,#d7e0ea);box-shadow:0 7px 20px rgba(2,8,23,.08)}
.public-profile .link-card.style-featured{background:var(--profile-accent,#2563eb);color:var(--profile-accent-text,#fff);border:2px solid var(--profile-accent,#2563eb);box-shadow:0 13px 28px rgba(2,8,23,.17);padding-block:15px}.public-profile .link-card.style-featured .link-icon{background:rgba(255,255,255,.17);color:var(--profile-accent-text,#fff)}.public-profile .link-card.style-featured .link-copy .muted,.public-profile .link-card.style-featured .link-arrow{color:currentColor;opacity:.78}
.public-profile .link-card.style-outline{background:transparent;border:2px solid var(--profile-accent,#2563eb);box-shadow:none}.public-profile .link-card.style-outline .link-icon{background:transparent;border:1px solid var(--profile-accent,#2563eb)}.public-profile .link-card.style-outline:hover{background:var(--profile-soft-accent,#eff6ff)}
.public-profile .link-card.style-image{position:relative;overflow:hidden;min-height:92px;padding:14px 17px;background:linear-gradient(135deg,var(--profile-soft-accent,#eff6ff),var(--profile-surface,#fff));border:1px solid var(--profile-border,#d7e0ea);box-shadow:0 10px 25px rgba(2,8,23,.10)}.public-profile .link-card.style-image:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;left:-58px;top:-62px;background:var(--profile-accent,#2563eb);opacity:.07;pointer-events:none}.public-profile .link-card.style-image .link-icon{width:62px;height:62px;flex-basis:62px;border-radius:17px;font-size:27px;background:var(--profile-accent,#2563eb);color:var(--profile-accent-text,#fff)}.public-profile .link-card.style-image .link-copy strong{font-size:16px}
.public-profile .link-card.style-icon{width:72px;height:72px;min-height:72px;justify-self:center;margin-inline:auto;padding:0;border-radius:50%!important;background:var(--profile-accent,#2563eb);color:var(--profile-accent-text,#fff);border:0;box-shadow:0 10px 24px rgba(2,8,23,.16);justify-content:center}.public-profile .link-card.style-icon:hover{transform:translateY(-3px) scale(1.03)}.public-profile .link-card.style-icon .link-main{gap:0}.public-profile .link-card.style-icon .link-icon{width:52px;height:52px;flex-basis:52px;background:transparent;color:var(--profile-accent-text,#fff);font-size:27px}.public-profile .link-card.style-icon .link-copy{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.public-profile .link-card.style-icon .link-arrow{display:none}
.public-profile .link-card.featured{position:relative;border-color:#f59e0b!important;box-shadow:0 0 0 2px rgba(245,158,11,.16),0 13px 30px rgba(2,8,23,.14)!important}.public-profile .link-card.featured:before{content:"★";position:absolute;top:-9px;left:14px;z-index:2;min-width:24px;height:24px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#f59e0b;color:#fff;font-size:11px;box-shadow:0 5px 12px rgba(245,158,11,.28)}.public-profile .link-card.style-featured.featured{border-color:#f59e0b!important}

@media(max-width:760px){.link-style-picker-ui{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:480px){.link-style-picker-ui{grid-template-columns:repeat(2,minmax(0,1fr))}.link-style-choice{min-height:78px}}
