/* Minimal modern look + robust modal handling */
:root { --bg:#0b0e12; --card:#0f172a; --text:#e2e8f0; --muted:#94a3b8; --border:#1e293b; --accent:#22d3ee; }
* { box-sizing:border-box; }
html, body { background:var(--bg); color:var(--text); margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif; }
a { color:var(--text); text-decoration:none; }
.container { max-width:1100px; margin:0 auto; padding:0 16px; }
.header { display:flex; align-items:center; justify-content:space-between; height:64px; border-bottom:1px solid var(--border); }
.brand { font-weight:700; font-size:18px; }
.header-actions .button.small { padding:6px 10px; font-size:14px; }
.hero { padding:32px 0 64px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:16px; }
.button { display:inline-block; background:var(--accent); color:#002733; padding:10px 16px; border-radius:10px; font-weight:600; border:0; cursor:pointer; }
.button.ghost { background:transparent; color:var(--text); border:1px solid var(--border); }
.badge { display:inline-flex; align-items:center; gap:6px; background:#0b1527; color:var(--text); border:1px solid var(--border); border-radius:999px; padding:6px 10px; font-size:12px; }
.footer { margin:40px 0; color:var(--muted); font-size:14px; text-align:center; }

/* Forms & modals */
label { display:block; margin:12px 0 6px; color:var(--muted); font-size:14px; }
input, textarea { width:100%; padding:10px 12px; border-radius:10px; background:#0b1527; color:var(--text); border:1px solid var(--border); }
textarea { min-height:120px; resize:vertical; }
.row { display:flex; gap:12px; margin-top:16px; }

.modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.6); }
.modal[hidden] { display:none !important; }
.modal-card { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:20px; width:100%; max-width:420px; }

/* Profile */
.profile-card { padding:24px; border:1px solid var(--border); border-radius:16px; background:var(--card); }
.grid-2 { display:grid; grid-template-columns: 160px 1fr; gap:24px; align-items:center; }
.avatar { width:128px; height:128px; border-radius:50%; background:#1e293b; display:flex; align-items:center; justify-content:center; font-size:48px; }
.grid-cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:12px; margin-top:16px; }
.link-card { display:block; padding:16px; border:1px solid var(--border); border-radius:14px; background:#0f172a; }
.link-card h3 { margin:0 0 6px; font-size:16px; }
.link-card .muted { font-size:13px; }
