:root {
    /* Colors (dark) */
    --bg: #070a12;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);

    --accent: #7dd3fc;
    /* cyan */
    --accent2: #a78bfa;
    /* violet */
    --ok: #34d399;
    /* green */

    --ring: rgba(125, 211, 252, 0.35);

    --grid: rgba(255, 255, 255, 0.06);
    --grid2: rgba(255, 255, 255, 0.03);

    --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.22);

    --radius: 18px;
    --radius-sm: 14px;

    --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Cascadia Mono", "JetBrains Mono", "Fira Code", "Liberation Mono", "Courier New", monospace;
}

html[data-theme="light"] {
    --bg: #f6f7fb;
    --panel: rgba(0, 0, 0, 0.035);
    --panel-strong: rgba(0, 0, 0, 0.055);
    --border: rgba(0, 0, 0, 0.10);
    --border-strong: rgba(0, 0, 0, 0.14);

    --text: rgba(0, 0, 0, 0.88);
    --muted: rgba(0, 0, 0, 0.62);

    --accent: #0284c7;
    --accent2: #6d28d9;
    --ok: #059669;

    --ring: rgba(2, 132, 199, 0.22);

    --grid: rgba(0, 0, 0, 0.06);

    --shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--mono);
    color: var(--text);

    background:
        radial-gradient(1100px 700px at 15% -10%, rgba(125, 211, 252, 0.18), transparent 60%),
        radial-gradient(900px 600px at 110% 10%, rgba(167, 139, 250, 0.14), transparent 55%),
        radial-gradient(800px 600px at 40% 115%, rgba(52, 211, 153, 0.10), transparent 60%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent 25%),
        /* grid */
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        var(--bg);
    background-size:
        auto, auto, auto, auto,
        28px 28px,
        28px 28px,
        auto;
    background-position:
        center, center, center, center,
        0 0,
        0 0,
        center;
}

.container {
    width: min(760px, calc(100% - 32px));
    margin: 44px auto;
}

.header {
    padding: 10px 10px 18px;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.name {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 650;
}

.statusline {
    margin: 12px 0 0;
    font-family: var(--mono);
    color: var(--muted);
}

.statusline::before {
    content: ">";
    margin-right: 8px;
    color: var(--ok);
}

.bio {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.avatar {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    display: block;
    margin-bottom: 14px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.chip {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    padding: 7px 10px;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 999px;
}

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.theme-toggle:hover {
    background: var(--panel-strong);
    transform: translateY(-1px);
    border-color: var(--border-strong);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring);
}

.card {
    margin: 14px 0;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.card-title::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 12px;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.35), transparent);
}

.links {
    display: grid;
    gap: 10px;
}

.link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 14px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--panel-strong), var(--panel));
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-soft);

    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
    overflow: hidden;
}

.link::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(900px 220px at 0% 50%, rgba(125, 211, 252, 0.18), transparent 60%);
    transition: opacity 120ms ease;
}

.link::after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    opacity: 0.85;
}

.link:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.35);
}

html[data-theme="light"] .link:hover {
    border-color: rgba(2, 132, 199, 0.35);
}

.link:hover::before {
    opacity: 1;
}

.link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring), var(--shadow-soft);
}

.left {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    z-index: 1;
}

.icon {
    width: 20px;
    height: 20px;
    opacity: 0.92;
    flex: 0 0 auto;
}

.text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.primary {
    font-weight: 760;
    white-space: normal;
    overflow: visible;
}

.secondary {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12.5px;
    margin-top: 3px;
    white-space: normal;
    overflow: visible;
    line-height: 1.4;
}

.badge {
    position: relative;
    z-index: 1;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    border-color: rgba(125, 211, 252, 0.22);
    background: var(--panel);
}

html[data-theme="light"] .badge {
    position: relative;
    z-index: 1;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    border-color: rgba(2, 132, 199, 0.22);
    background: var(--panel);
}

.footer {
    padding: 18px 10px 10px;
    color: var(--muted);
    font-size: 14px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text);
}

.dot {
    opacity: 0.55;
}

@media (max-width: 420px) {
    .name {
        font-size: 28px;
    }
}