/* Theme styles are scoped to the public page. */
.theme-minimal{--page:#f6f7f9!important;--ink:#171b24;--muted:#626977;--accent:#252d40!important;--line:#dce0e7}
.theme-minimal:before,.theme-midnight:before,.theme-bold:before{background:none}
.theme-minimal .link-card{border-radius:6px;box-shadow:none;background:#fff;padding:20px}
.theme-minimal .portrait{background:#e5e8ee}
.theme-minimal .donation{background:#fff;border-color:var(--line);border-radius:6px}
.theme-minimal .bio:before,.theme-minimal .bio:after{display:none}
.theme-midnight{--page:#101827!important;--ink:#edf3ff;--muted:#a9b8d0;--accent:#8fb8ff!important;--line:#35435c}
.theme-midnight .link-card{background:#1b2940;border-color:#35435c;box-shadow:0 5px 20px #0002}
.theme-midnight .portrait{background:#263b5d;border-color:#35435c;box-shadow:0 0 0 1px #57729b}
.theme-midnight .contact{background:#1b2940}
.theme-midnight .donation{background:#1b2940;border-color:#35435c}
.theme-midnight .donation>p{color:#a9b8d0}
.theme-midnight .bank{border-color:#53627c}
.theme-midnight .copy{background:#293d5c;color:#edf3ff;border-color:#53627c}
.theme-midnight .bio:before,.theme-midnight .bio:after{color:#30486a}
.theme-pastel{--page:#faf1fa!important;--ink:#43324d;--muted:#796480;--accent:#a04b92!important;--line:#e6cfe6;background:linear-gradient(135deg,#faf1fa,#edf7fb);min-height:100vh}
.theme-pastel .link-card{border-radius:28px;background:#ffffffc9;border-color:#ead7eb;box-shadow:0 5px 16px #9976ad12}
.theme-pastel .portrait{background:#efd7ef;border-color:#fff}
.theme-pastel .donation{background:#f3e4f4;border-color:#e5cce9;border-radius:28px}
.theme-pastel .donation>p{color:#796480}
.theme-bold{--page:#fff4cb!important;--ink:#202020;--muted:#605c4e;--accent:#a62f21!important;--line:#292929}
.theme-bold .link-card{background:#fffdf6;border:2px solid #292929;border-radius:0;box-shadow:5px 5px 0 #292929;margin-bottom:18px}
.theme-bold .link-card[href]:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 #292929;border-color:#292929}
.theme-bold .portrait{border:3px solid #292929;box-shadow:5px 5px 0 #292929;background:#ffc96d}
.theme-bold .donation{background:#ffe393;border:2px solid #292929;border-radius:0;box-shadow:5px 5px 0 #292929}
.theme-bold h1{font-size:34px}
.theme-bold .link-icon{border-radius:0}
.theme-picker{border:0;padding:0;margin:0 0 28px;min-width:0}
.theme-picker legend{font-weight:600;font-size:13px}
.theme-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.theme-option{cursor:pointer;text-align:center;min-width:0}
.theme-option input{width:16px;height:16px;min-height:16px;margin:0 auto 8px;accent-color:var(--accent)}
.theme-swatch{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 10px;border:2px solid transparent;border-radius:12px;background:#f8f5ef;margin-bottom:8px}
.theme-option input:checked+.theme-swatch{outline:3px solid var(--accent);outline-offset:2px}
.theme-option input:focus-visible+.theme-swatch{outline:3px dashed var(--ink);outline-offset:3px}
.theme-swatch i{width:25px;height:25px;border-radius:50%;background:#e3bca6;margin-bottom:4px}
.theme-swatch b{width:100%;height:12px;border-radius:5px;background:#fff;border:1px solid #ddd}
.swatch-minimal{background:#eef0f4}.swatch-minimal b{border-radius:0}.swatch-minimal i{background:#8994a8}
.swatch-midnight{background:#101827}.swatch-midnight b{background:#293d5c;border-color:#53627c}.swatch-midnight i{background:#8fb8ff}
.swatch-pastel{background:linear-gradient(135deg,#f5dff5,#def1fa)}.swatch-pastel i{background:#d3a6d6}
.swatch-bold{background:#ffe393}.swatch-bold b{border:1px solid #222;border-radius:0;box-shadow:2px 2px #222}.swatch-bold i{background:#d77b32}
@media(max-width:600px){.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
