/* Creator pages (templates/creator*.html, creators.py). The page itself borrows
   category.css's header and grid; this file adds the creator's own row. */

.creator-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.creator-title-row .cat-title { min-width: 0; }
.creator-avatar {
    flex: none;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background: #1d1d20;
    border: 2px solid rgba(255, 255, 255, .14);
}
@media (max-width: 1000px) {
    .creator-title-row { gap: 14px; }
    .creator-avatar { width: 64px; height: 64px; }
}

.creator-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 12px 0 16px;
}
.creator-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(205, 65, 43, .14);
    border: 1px solid rgba(205, 65, 43, .45);
    color: var(--rb-text-bright);
    font-size: 13px;
    font-weight: 600;
}
.creator-channel,
.creator-link {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--rb-text);
    font-size: 13px;
    text-decoration: none;
}
.creator-channel:hover,
.creator-link:hover,
.creator-channel:focus-visible,
.creator-link:focus-visible {
    border-color: var(--rb-accent);
    color: var(--rb-text-bright);
}
.creator-line {
    margin: 0 0 10px;
    font-size: 17px;
    font-style: italic;
    color: var(--rb-text-bright);
    max-width: 720px;
    overflow-wrap: anywhere;
}
.creator-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}
.creator-stat {
    min-width: 110px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--rb-panel);
    border: 1px solid rgba(255, 255, 255, .08);
}
.creator-stat dt {
    font-size: 22px;
    font-weight: 700;
    color: var(--rb-text-bright);
    line-height: 1.1;
}
.creator-stat dd {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--rb-text);
    opacity: .75;
}
.creator-grid-heading {
    margin: 0 0 16px;
}
.creator-foot {
    margin: 22px 0 0;
    font-size: 14px;
}

/* The claim / edit / badge pages (account.css panels). */
.creator-list {
    margin: 0 0 12px;
    padding-left: 20px;
    line-height: 1.6;
}
.creator-links-input,
.creator-copy {
    width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px; /* under 16px iOS zooms on focus */
    resize: vertical;
}
.creator-badge-preview {
    margin: 4px 0 14px;
}
.creator-badge-preview img {
    display: block;
    width: 220px;
    height: 44px;
}

@media (max-width: 600px) {
    .creator-stat { min-width: 0; flex: 1 1 30%; padding: 8px 10px; }
    .creator-stat dt { font-size: 19px; }
}

/* account.css pads each note by itself; these panels hold lists, pictures and
   code boxes too, so one padded body holds everything. */
.creator-body { padding: 16px 20px 20px; }
.creator-body .account-note { padding: 0; margin: 0 0 12px; }
.creator-body .account-note:last-child,
.creator-body > :last-child { margin-bottom: 0; }
.creator-body .rb-label { display: block; margin: 0 0 6px; }
.creator-body .rb-btn { margin-top: 4px; }
.creator-edit .account-field { max-width: none; }
.creator-body code { overflow-wrap: anywhere; color: var(--rb-text); }
