/* /username/links — matches site shell (flat, brand blue; no glass) */
body.page-links {
    background: var(--bg, #0e0e10);
}
body.page-links .tl-page-content {
    max-width: 720px;
    margin-inline: auto;
}
.tl-links-page {
    padding: 20px 16px 48px;
    box-sizing: border-box;
}
.tl-links-hero {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #11131a;
    margin-bottom: 18px;
}
.tl-links-hero__banner {
    min-height: 140px;
    background:
        linear-gradient(180deg, rgba(10, 12, 18, 0.15), rgba(10, 12, 18, 0.88)),
        radial-gradient(circle at top right, rgba(30, 86, 245, 0.28), transparent 42%),
        #11131a;
    background-size: cover;
    background-position: center;
}
.tl-links-hero__body {
    position: relative;
    margin-top: -48px;
    padding: 0 16px 18px;
    text-align: center;
}
.tl-links-hero__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
    border: 3px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
}
.tl-links-hero__name {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 800;
    color: var(--text, #f3f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    flex-wrap: wrap;
}
.tl-links-hero__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.tl-links-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tl-links-pill--live {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.28);
}
.tl-links-hero__bio {
    margin: 0 auto;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.65;
    white-space: pre-line;
}
.tl-links-list {
    display: grid;
    gap: 10px;
}
.tl-links-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text, #f3f5f9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.tl-links-row:hover {
    background: rgba(30, 86, 245, 0.1);
    border-color: rgba(30, 86, 245, 0.35);
}
.tl-links-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-links-row__icon img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
    display: block;
}
.tl-links-row__text {
    min-width: 0;
    flex: 1;
}
.tl-links-row__label {
    display: block;
    font-weight: 800;
    line-height: 1.25;
}
.tl-links-row__sub {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tl-links-row__arrow {
    color: rgba(255, 255, 255, 0.4);
    flex: 0 0 auto;
    font-size: 0.78rem;
}
.tl-links-empty {
    text-align: center;
    padding: 20px 14px;
    color: rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}
@media (max-width: 768px) {
    .tl-links-page {
        padding: 12px 10px calc(24px + env(safe-area-inset-bottom, 0px));
    }
    .tl-links-hero__banner {
        min-height: 96px;
    }
    .tl-links-hero__body {
        margin-top: -36px;
        padding: 0 12px 14px;
    }
    .tl-links-hero__avatar {
        width: 72px;
        height: 72px;
        margin-bottom: 8px;
        border-width: 2px;
    }
    .tl-links-hero__name {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }
    .tl-links-hero__bio {
        font-size: 0.84rem;
        line-height: 1.5;
    }
    .tl-links-list {
        gap: 8px;
    }
    .tl-links-row {
        padding: 12px;
        min-height: 48px;
    }
    .tl-links-row__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 9px;
        font-size: 0.95rem;
    }
    .tl-links-row__icon img {
        width: 20px;
        height: 20px;
    }
}
