:root{color-scheme:light;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--ink:#102b45;--muted:#62758a;--accent:#1268d8;--page:#f5f8fc;--line:#dbe5f0;--button-radius:13px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f8fc;color:var(--ink)}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}svg{display:block}a:focus-visible{outline:3px solid #6caefa;outline-offset:3px}
.linktree-app{min-height:100vh;background:radial-gradient(circle at 50% 0,#e9f3ff 0,transparent 360px),var(--page);color:var(--ink)}
.page-wrap{width:min(100% - 32px,610px);margin:0 auto;padding:34px 0 22px}
.brand-header{text-align:center;margin:0 auto 27px}.brand-logo{height:52px;display:grid;place-items:center;margin-bottom:12px}.brand-image{max-height:52px;max-width:185px;object-fit:contain}.brand-mark{width:45px;height:45px;border:2px solid var(--accent);border-radius:13px;display:grid;place-items:center;transform:rotate(-7deg);font-weight:900;font-size:25px;color:var(--accent);box-shadow:0 4px 15px #1268d81c}.brand-header h1{font-size:25px;line-height:1.1;letter-spacing:.16em;margin:0;font-weight:900}.tagline{font-size:13px;font-weight:650;color:#3572b3;margin:8px 0 0}.brand-intro{max-width:440px;margin:12px auto 0;font-size:13px;line-height:1.55;color:var(--muted)}
.featured{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 26px #173f6a0c;margin:0 0 29px}.featured-media{min-height:192px;background:#edf5fd;display:grid;place-items:center;overflow:hidden}.featured-media img{width:100%;height:100%;max-height:245px;object-fit:contain}.featured-placeholder{font-size:18px;letter-spacing:.18em;color:#7a9fc4;font-weight:850}.featured-body{padding:21px 22px;display:flex;flex-direction:column;align-items:start}.featured-label{font-size:10px;letter-spacing:.15em;color:var(--accent);font-weight:850}.featured-body h2{font-size:21px;line-height:1.2;letter-spacing:-.025em;margin:10px 0 7px}.featured-body p{font-size:12px;line-height:1.55;color:var(--muted);margin:0 0 16px}.featured-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--accent);color:#fff;border-radius:var(--button-radius);padding:11px 17px;min-height:42px;font-size:13px;font-weight:800;margin-top:auto}.featured-button svg{height:15px;width:15px}
.link-section{margin:0 0 24px}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:11px;padding:0 3px}.section-image{width:30px;height:30px;object-fit:contain;border-radius:7px}.section-heading h2{font-size:13px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:3px 0 0;line-height:1.4}.section-links{display:grid;gap:9px}.link-button{display:flex;align-items:center;gap:12px;min-height:55px;background:#fff;border:1px solid var(--line);border-radius:var(--button-radius);padding:10px 15px;box-shadow:0 2px 8px #15375b08;transition:transform .16s,border-color .16s,box-shadow .16s}.link-button:hover{transform:translateY(-2px);border-color:#8bbdf0;box-shadow:0 7px 16px #15375b12}.link-thumbnail{width:34px;height:34px;object-fit:contain;border-radius:7px;flex:none}.link-copy{flex:1;min-width:0;text-align:center}.link-copy strong{display:block;font-size:14px;line-height:1.3}.link-copy small{display:block;font-size:11px;line-height:1.4;color:var(--muted);margin-top:2px}.link-button svg{width:17px;height:17px;color:var(--accent);flex:none}.link-button:before{content:"";width:17px;flex:none}.link-button.has-thumbnail:before{display:none}
.social-links{display:flex;justify-content:center;gap:10px;margin:29px auto 26px}.social-link{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center}.social-link:hover{border-color:#8bbdf0}.social-link img{width:19px;height:19px;object-fit:contain}
.footer{border-top:1px solid var(--line);padding:17px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#71839b}.footer nav{display:flex;flex-wrap:wrap;gap:13px}.footer a:hover{color:var(--accent)}
.loading-shell,.empty-state{min-height:100vh;display:grid;place-content:center;text-align:center;padding:24px}.loading-mark,.empty-panel>strong{font-size:22px;letter-spacing:.15em;color:var(--accent)}.loading-shell p,.empty-panel p{font-size:13px;color:var(--muted)}.empty-panel{max-width:440px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px}.empty-panel h1{font-size:24px}.empty-panel a{color:var(--accent);font-weight:800}
.theme-dark{--page:#0e1d2d;--ink:#edf5ff;--muted:#b7c9db;--line:#344b63;background:#0e1d2d}.theme-dark .tagline{color:#8bbefa}.theme-dark .featured,.theme-dark .link-button,.theme-dark .social-link,.theme-dark .empty-panel{background:#152a40;color:#edf5ff}.theme-dark .featured-media{background:#203a55}.theme-dark .footer{color:#b7c9db}
.preview-mobile .page-wrap{width:min(100% - 26px,390px)}.preview-mobile .featured{grid-template-columns:1fr}.preview-mobile .featured-media{min-height:175px;max-height:195px}.preview-mobile .featured-body{padding:18px 19px}
@media(max-width:600px){.page-wrap{width:min(100% - 26px,440px);padding-top:23px}.brand-header{margin-bottom:22px}.featured{grid-template-columns:1fr;margin-bottom:25px}.featured-media{min-height:168px;max-height:195px}.featured-media img{max-height:195px}.featured-body{padding:17px 20px}.featured-body h2{font-size:20px}.featured-button{width:100%}.link-section{margin-bottom:22px}.footer{justify-content:center;flex-direction:column;text-align:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.link-button{transition:none}}
