:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:#0e111b;color:#f3f5fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -10%,#2c4264 0,transparent 52%),#0e111b}
a{color:#8bd9d1}button,input{font:inherit}.shell{width:min(900px,calc(100% - 32px));margin:0 auto;padding:34px 0 28px}
.brand{display:flex;align-items:center;gap:12px;margin-bottom:52px}.brand strong,.brand span{display:block}.brand strong{font-size:19px}.brand span{font-size:12px;color:#9ba5bd;margin-top:3px}
.mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#38c3b3,#7858d3);font-weight:900;font-size:22px}
.hero{max-width:690px;padding:50px 0 64px}.eyebrow{font-size:12px;letter-spacing:.18em;color:#7bd7ce;font-weight:800}
h1{font-size:clamp(34px,6vw,58px);line-height:1.08;letter-spacing:-.04em;margin:14px 0 18px}.lead{font-size:17px;line-height:1.65;color:#bac4d9;max-width:680px}
.muted{color:#8f9bb5;font-size:13px;line-height:1.55}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #3b4358;border-radius:11px;padding:11px 17px;color:#f5f8ff;text-decoration:none;cursor:pointer;background:#222a3d}
.button.primary{background:linear-gradient(120deg,#249c99,#6053ba);border:0;font-weight:750}.button.ghost{margin-left:auto}.button.danger{background:#482532;border-color:#773d53}.button:disabled{opacity:.45;cursor:not-allowed}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature-grid article,.panel{background:#181e2d;border:1px solid #2c354b;border-radius:18px;padding:22px}.feature-grid h2{font-size:16px;margin:0 0 8px}.feature-grid p{color:#9eabc4;line-height:1.55;margin:0;font-size:14px}
footer{border-top:1px solid #293248;margin-top:52px;padding-top:17px;color:#8290ac;font-size:12px}
.panel{max-width:720px;margin:0 auto;padding:28px}.panel h1{font-size:34px}.file-picker{display:block;border:1px dashed #52617e;border-radius:12px;padding:16px;margin:22px 0 10px;cursor:pointer;background:#20293b}.file-picker input{display:block;margin-top:12px;max-width:100%}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.summary{padding:13px;background:#20293b;border-radius:12px;margin:15px 0;color:#c1cbe0}.summary strong{color:#fff}.result{margin-top:16px;color:#93e2cf;overflow-wrap:anywhere}.result.error{color:#f29aad}
.public-profile{overflow:hidden;background:#181e2d;border:1px solid #303a51;border-radius:22px}.profile-banner{position:relative;overflow:hidden;height:180px;background:linear-gradient(120deg,var(--accent),#171a29);background-size:cover;background-position:center}.profile-banner img{width:100%;height:100%;object-fit:cover}.profile-head{padding:0 26px 20px}.profile-avatar{width:108px;height:108px;object-fit:cover;margin-top:-48px;border-radius:28px;border:5px solid #181e2d;background:var(--accent)}.profile-avatar.initials{display:grid;place-items:center;font-size:32px;font-weight:800;color:#fff}.profile-name{font-size:30px;margin:10px 0 0}.profile-slug{color:#95a3bd;font-family:ui-monospace,monospace}.profile-headline{color:#c1cbe0}.profile-content{padding:0 26px 28px}.profile-section{border-top:1px solid #303a51;padding:18px 0}.profile-section h2{font-size:15px;color:var(--accent);margin:0 0 10px}.profile-section p{color:#bcc6dc;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.profile-list{list-style:none;display:grid;gap:8px;padding:0}.profile-list li,.connection{background:#222a3d;border-radius:10px;padding:11px}.connection{display:grid;grid-template-columns:1fr auto;gap:4px 10px}.connection span{color:#aab6cf;font-size:13px}.connection a{grid-column:2;grid-row:1/3;align-self:center}.widget-items,.badges{display:flex;flex-wrap:wrap;gap:7px}.widget-item,.badge{background:#242e43;border:1px solid #3a4864;border-radius:10px;padding:6px 10px;font-size:13px;color:#c8d5eb}.badge{border-radius:18px;color:var(--accent);border-color:var(--accent)}
.theme-ocean{background:linear-gradient(145deg,#142f47,#19273c)}.theme-aurora{background:linear-gradient(145deg,#1b2747,#321d42)}.theme-ember{background:linear-gradient(145deg,#3a241d,#241b2e)}.theme-rose{background:linear-gradient(145deg,#382139,#241b30)}.theme-mint{background:linear-gradient(145deg,#19382f,#1d2b34)}
.frame-glow{box-shadow:0 0 22px var(--accent)}.frame-neon{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent),0 0 18px var(--accent)}.frame-orbit{border-radius:50%;outline:2px dashed var(--accent);outline-offset:4px}.frame-paw{border-radius:48%;border:5px dotted var(--accent)}
.effect-glow .profile-banner{filter:saturate(1.25) brightness(1.08)}.effect-aurora .profile-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#35bdb155,#8d52bc55,#d46e8055);pointer-events:none}.effect-stars .profile-banner:after{content:"✦  ·   ✧";position:absolute;right:24px;top:30px;font-size:32px;color:#fff;opacity:.7}
@media(max-width:700px){.feature-grid{grid-template-columns:1fr}.hero{padding:25px 0 40px}.brand{margin-bottom:30px}.profile-banner{height:135px}.profile-head,.profile-content{padding-left:17px;padding-right:17px}}

.connection-list{display:grid;gap:10px;margin-top:18px}
.connection-card{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px;border:1px solid #303a51;border-radius:12px;background:#20283a}
.connection-card strong{display:block}.connection-card p{margin:4px 0 0}
.verified-label{grid-column:1/-1;color:#8ee3d0;font-size:12px;font-weight:700;letter-spacing:.03em}

/* ---- MelloGram brand layer: same tokens, type and buttons as mellogram.foulfoxhacks.dev ---- */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#10101a;color:#f4f2ff}
body{background:radial-gradient(ellipse 65% 38% at 50% 0%,rgba(104,87,219,.18),transparent 72%),#10101a;line-height:1.65}
a{color:#b5a6ff;text-underline-offset:3px}a:hover{color:#79baff}
h1,h2,h3{letter-spacing:-.035em}h1{font-weight:850;letter-spacing:-.05em}
.eyebrow{color:#9fc5ff;letter-spacing:.13em}.lead{color:#b7b4d0}.muted,.brand span,.profile-slug{color:#aaa8c3}
.mark{background:linear-gradient(110deg,#8068f5,#5b8ef0);box-shadow:0 0 12px rgba(145,119,255,.28)}
.button{background:rgba(255,255,255,.025);border-color:rgba(178,169,255,.24);color:#e4e0fa}
.button.primary{background:linear-gradient(110deg,#8068f5,#5b8ef0);box-shadow:0 8px 26px rgba(104,91,235,.25)}.button.primary:hover{filter:brightness(1.1)}
.feature-grid article,.panel,.public-profile{background:#1b1b2d;border-color:rgba(169,157,255,.18);border-radius:16px}
.feature-grid p,.profile-headline,.profile-section p,.summary{color:#b7b4d0}
.profile-avatar{border-color:#1b1b2d}.profile-section{border-color:rgba(169,157,255,.18)}
.profile-list li,.connection,.connection-card,.summary,.file-picker{background:#22223a;border-color:rgba(169,157,255,.18)}
.widget-item{background:#22223a;border-color:rgba(169,157,255,.24);color:#e4e0fa}
.result,.verified-label{color:#8fd3ff}footer{border-color:rgba(169,157,255,.13);color:#8f8cab}
:focus-visible{outline:3px solid #79baff;outline-offset:3px;border-radius:5px}
.mark{object-fit:contain;background:none;box-shadow:none;filter:drop-shadow(0 0 12px rgba(145,119,255,.28))}
