/* kliklink.my: Brand wordmark, social footer and per-button icon picker */
.kl-title-choice{padding:16px 0 4px;border-top:1px solid #ece9f6;margin:8px 0 18px;}
.kl-title-choice h3,.kl-footer-settings h3{font-size:13px;font-weight:800;color:#34206a;}
.kl-title-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;}
.kl-title-option{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1.5px solid #e4def2;border-radius:12px;padding:14px 12px;min-width:0;color:#40266f;cursor:pointer;}
.kl-title-option.selected{border-color:#7c3ced;background:#f9f6ff;box-shadow:inset 0 0 0 .5px #7c3ced;}
.kl-title-option svg{flex:0 0 auto;color:#7c3ced;}
.kl-title-option span{display:flex;flex-direction:column;gap:4px;min-width:0;}
.kl-title-option strong{font-size:12px;}.kl-title-option small{font-size:10px;line-height:1.35;color:#8b7eaa;}
.kl-wordmark-options{border:1px solid #e4dff3;border-radius:12px;padding:13px;background:#fcfbff;display:flex;flex-direction:column;gap:12px;margin-top:4px;}
.kl-wordmark-options[hidden]{display:none;}
.kl-wordmark-preview{min-height:67px;display:flex;align-items:center;justify-content:center;border:1px dashed #d8c8fa;border-radius:9px;padding:10px;background:white;text-align:center;}
.kl-wordmark-preview img{max-width:100%;max-height:85px;object-fit:contain;}
.kl-wordmark-actions{display:flex;gap:9px;flex-wrap:wrap;}
.kl-wordmark-options .hint{line-height:1.5;}
.kl-icon-picker{padding:16px 0 7px;margin:6px 0;border-top:1px solid #e9e2f5;}
.kl-icon-picker-head strong{font-size:12px;color:#382067;}
.kl-icon-picker-head .hint{margin-top:4px;line-height:1.45;}
.kl-icon-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:12px;max-height:238px;overflow:auto;padding:2px;}
.kl-icon-choice{min-height:62px;min-width:0;border:1px solid #e5dff4;border-radius:9px;background:#fff;color:#4e3875;padding:6px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;text-align:center;cursor:pointer;}
.kl-icon-choice span{line-height:1.2;overflow-wrap:anywhere;}
.kl-icon-choice .kl-icon{height:20px;width:20px;flex:0 0 auto;}
.kl-icon-choice .kl-none-icon{font-size:22px;font-weight:500;line-height:22px;}
.kl-icon-choice:hover{border-color:#a98ff1;background:#fcfbff;}
.kl-icon-choice.selected{border-color:#7c3ced;background:#f4edff;box-shadow:inset 0 0 0 .5px #7c3ced;color:#5525a6;font-weight:800;}
.kl-icon-choice:focus-visible,.kl-title-option:focus-visible{outline:3px solid #b68eff;outline-offset:3px;}
.kl-footer-settings{margin:26px 0 18px;padding-top:22px;border-top:1px solid #eae4f7;}
.kl-footer-settings .hint{line-height:1.5;}
.kl-footer-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 16px;}
.kl-footer-switch{display:flex;align-items:flex-start;gap:10px;padding:13px;border-radius:11px;border:1px solid #e8e2f7;background:#fff;cursor:pointer;}
.kl-footer-switch input{width:16px;height:16px;accent-color:#7c3ced;margin-top:1px;flex-shrink:0;}
.kl-footer-switch span{display:flex;flex-direction:column;gap:4px;min-width:0;}
.kl-footer-switch strong{font-size:11px;color:#39206f;}
.kl-footer-switch small{font-size:10px;color:#9388a6;line-height:1.45;}
.kl-footer-text-fields{margin-top:7px;}
/* Common profile presentation for public page and phone preview. */
.kl-public-title{display:flex;align-items:center;justify-content:center;min-height:24px;overflow-wrap:anywhere;}
.profile-wordmark{display:block;width:auto;max-width:100%;height:auto;object-fit:contain;}
.phone-title .profile-wordmark{max-height:76px;max-width:225px;}
.public-card .kl-public-title{max-width:100%;min-height:29px;margin:3px auto 9px;}
.public-card .profile-wordmark{max-height:125px;max-width:100%;width:auto;}
.phone .kl-phone-bio{opacity:.72;margin:-10px auto 18px;line-height:1.5;}
.kl-link-button{position:relative;display:flex;justify-content:center;align-items:center;min-height:48px;padding:11px 42px;gap:0;line-height:1.25;text-decoration:none;}
.kl-link-button .kl-button-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:23px;height:23px;display:grid;place-items:center;}
.kl-link-button .kl-button-icon svg{width:20px;height:20px;}
.kl-link-button .kl-button-text{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:100%;min-width:0;}
.kl-link-button .kl-button-title{font-size:inherit;font-weight:650;line-height:1.3;overflow-wrap:anywhere;}
.kl-link-button .kl-button-subtitle{font-size:9px;font-weight:450;line-height:1.35;opacity:.87;overflow-wrap:anywhere;}
.public-card .kl-link-button{border-radius:26px;min-height:55px;margin-bottom:12px;padding:11px 52px;font-size:14px;}
.public-card .kl-link-button .kl-button-icon{left:20px;width:28px;height:28px;}
.public-card .kl-link-button .kl-button-icon svg{width:26px;height:26px;}
.public-card .kl-link-button .kl-button-subtitle{font-size:11px;}
/* Footer is deliberately separate from the platform's 'Powered by' credit. */
.kl-profile-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding-top:26px;margin-top:20px;text-align:center;}
.kl-footer-brand{width:44px;height:44px;border-radius:11px;display:flex;justify-content:center;align-items:center;padding:5px;background:#fff;overflow:hidden;}
.kl-footer-brand img{width:100%;height:100%;object-fit:contain;}
.kl-footer-heading{font-size:19px;font-weight:650;line-height:1.35;margin-top:7px;color:var(--profile-text,#27314b);}
.kl-footer-subtitle{font-size:12px;font-weight:700;line-height:1.4;margin-top:0;color:var(--profile-text,#27314b);}
.kl-footer-social{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:12px 0 2px;max-width:100%;}
.kl-social-item{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:var(--profile-text,#25304b);text-decoration:none;background:transparent;}
.kl-social-item:hover{background:#ffffff8a;}
.kl-social-item .kl-icon{height:27px;width:27px;}
.phone .kl-profile-footer{gap:5px;padding-top:12px;margin-top:22px;}
.phone .kl-footer-brand{width:34px;height:34px;border-radius:9px;padding:4px;}
.phone .kl-footer-heading{font-size:13px;}
.phone .kl-footer-subtitle{font-size:9px;}
.phone .kl-footer-social{gap:5px;margin:7px 0 2px;}
.phone .kl-social-item{width:26px;height:26px;}
.phone .kl-social-item .kl-icon{width:19px;height:19px;}
.phone .phone-powered{margin-top:23px;}
.public-card .phone-powered{margin-top:28px;}
@media(max-width:640px){.kl-footer-switches{grid-template-columns:1fr}.kl-title-options{grid-template-columns:1fr}.kl-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.public-card .kl-link-button{padding:11px 44px;font-size:13px}.public-card .kl-link-button .kl-button-icon{left:15px;}}
@media(prefers-reduced-motion:reduce){.kl-icon-choice,.kl-title-option{transition:none}}
