/* Public seed profile — /u/<avatar_seed>. Light + dark via theme vars. */

.snr-uprofile {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
    font-family: var(--body);
    color: var(--text);
    /* #375: own stacking context so nothing (e.g. the marquee ticker band) can
       overlap the avatar/header. */
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.snr-up-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}
.snr-up-avatar {
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--display);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.snr-up-avatar-img {
    object-fit: cover;
    text-shadow: none;
}
.snr-up-name {
    font-family: var(--display);
    font-size: 1.85rem;
    line-height: 1.15;
    margin: 0 0 .35rem;
    color: var(--text);
}
/* #375: Karma rank badge (Penny Stock, …) — derived from the Karma-2.0 balance. */
.snr-up-rank {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .4rem;
    font-family: var(--ui);
    font-size: .85rem;
}
.snr-up-rank-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.snr-up-rank-label { font-weight: 700; }
.snr-up-rank-karma { color: var(--ink-faint, #8A877E); font-weight: 500; }
.snr-up-since {
    font-family: var(--ui);
    font-size: .85rem;
    color: var(--text-secondary);
}
.snr-up-bio {
    margin: .6rem 0 0;
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Stats ── */
.snr-up-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 2.25rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.snr-up-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.snr-up-stat-num {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}
.snr-up-stat-label {
    font-family: var(--ui);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-secondary);
}

/* ── Activity ── */
.snr-up-sec-title {
    font-family: var(--display);
    font-size: 1.25rem;
    margin: 0 0 1.1rem;
    color: var(--text);
}
.snr-up-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.snr-up-comment {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
}
.snr-up-comment-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
    margin-bottom: .45rem;
    flex-wrap: wrap;
}
.snr-up-comment-article {
    font-family: var(--ui);
    font-weight: 600;
    font-size: .95rem;
    color: var(--crimson);
    text-decoration: none;
}
.snr-up-comment-article:hover { text-decoration: underline; }
.snr-up-comment-meta {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--ui);
    font-size: .78rem;
    color: var(--text-secondary);
    white-space: nowrap;
}
.snr-up-comment-ticker {
    color: var(--crimson);
    text-decoration: none;
    font-weight: 600;
}
.snr-up-comment-ticker:hover { text-decoration: underline; }
.snr-up-comment-body {
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--text);
}

/* ── Pagination ── */
.snr-up-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    font-family: var(--ui);
    font-size: .85rem;
}
.snr-up-page-link {
    color: var(--crimson);
    text-decoration: none;
    font-weight: 600;
}
.snr-up-page-link:hover { text-decoration: underline; }
.snr-up-page-info { color: var(--text-secondary); }

/* ── Empty / not found ── */
.snr-uprofile-empty {
    text-align: center;
    padding: 4rem 1.25rem;
}
.snr-up-empty-title {
    font-family: var(--display);
    font-size: 1.8rem;
    margin: 0 0 .75rem;
    color: var(--text);
}
.snr-up-empty-text {
    font-family: var(--body);
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}
.snr-up-back {
    font-family: var(--ui);
    color: var(--crimson);
    text-decoration: none;
    font-weight: 600;
}
.snr-up-back:hover { text-decoration: underline; }

@media (max-width: 560px) {
    .snr-up-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem .5rem; }
    .snr-up-header { gap: 1rem; }
    .snr-up-avatar { width: 64px; height: 64px; font-size: 1.55rem; }
    .snr-up-name { font-size: 1.5rem; }
}

/* ── Feature 2: Web account / profile claim ── */
.snr-up-claim-banner {
    font-family: var(--ui);
    font-size: .95rem;
    padding: .85rem 1.1rem;
    border-radius: 8px;
    margin: 0 0 1.25rem;
}
.snr-up-claim-ok {
    background: color-mix(in srgb, var(--crimson) 12%, transparent);
    border: 1px solid var(--crimson);
    color: var(--text);
}
.snr-up-claim-row { margin: 1rem 0 0; }
.snr-up-verified-badge {
    display: inline-block;
    font-family: var(--ui);
    font-size: .85rem;
    font-weight: 600;
    color: var(--crimson);
    border: 1px solid var(--crimson);
    border-radius: 999px;
    padding: .3rem .8rem;
}
.snr-up-claim-box {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: var(--surface, transparent);
}
.snr-up-claim-title {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 .35rem;
}
.snr-up-claim-text {
    font-family: var(--body);
    font-size: .9rem;
    color: var(--text-secondary);
    margin: 0 0 .75rem;
}
.snr-up-claim-form {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.snr-up-claim-input {
    flex: 1 1 220px;
    font-family: var(--ui);
    font-size: .95rem;
    padding: .6rem .8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg, #fff);
    color: var(--text);
}
.snr-up-claim-btn {
    font-family: var(--ui);
    font-size: .9rem;
    font-weight: 600;
    padding: .6rem 1.1rem;
    border: none;
    border-radius: 6px;
    background: var(--crimson);
    color: #fff;
    cursor: pointer;
}
.snr-up-claim-btn:hover { filter: brightness(1.06); }
.snr-up-claim-btn:disabled { opacity: .6; cursor: default; }
.snr-up-claim-msg {
    font-family: var(--ui);
    font-size: .88rem;
    margin-top: .65rem;
}
.snr-up-claim-msg.is-ok { color: var(--crimson); }
.snr-up-claim-msg.is-err { color: #c0392b; }
