/* Public creator profile navigation and tabs */
.creator-profile-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 0 0 20px;
    padding: 5px;
    border: 1px solid #302b40;
    border-radius: 10px;
    background: #10101a;
}
.creator-profile-tabs button {
    padding: 9px 13px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9690a6;
    font-size: 11px;
    cursor: pointer;
    transition: .2s;
}
.creator-profile-tabs button:hover,
.creator-profile-tabs button.active {
    background: #302344;
    color: #e4d8ff;
}
.creator-stat-button {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.creator-stat-button:hover {
    border-color: #7655aa;
    background: #1c1929;
}
.creator-owner-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    padding: 9px 12px;
    border: 1px solid #493762;
    border-radius: 8px;
    color: #ccb5ff;
    font-size: 10px;
    font-weight: 800;
}
.creator-tab-content { min-height: 150px; }
.creator-tab-empty {
    padding: 38px 18px;
    border: 1px dashed #39364c;
    border-radius: 11px;
    background: rgba(18,18,29,.5);
    color: #9a93a9;
    text-align: center;
    font-size: 12px;
}
.creator-tab-empty h3 { margin: 9px 0 5px; color: #e7e0f2; }
.creator-tab-empty p { max-width: 540px; margin: 0 auto; font-size: 11px; }
.creator-tab-error { color: #f0a5ad; }
.creator-tab-muted { color: #777187; font-size: 10px; }

/* People lists */
.creator-people-list { display: grid; gap: 9px; }
.creator-person-card {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #302b40;
    border-radius: 10px;
    background: #15141f;
}
.creator-person-avatar {
    display: grid;
    flex-shrink: 0;
    width: 39px;
    height: 39px;
    overflow: hidden;
    place-items: center;
    border: 1px solid #65508b;
    border-radius: 50%;
    background: linear-gradient(135deg,#a27aff,#536ce8);
    color: white;
    font-size: 14px;
    font-weight: 800;
}
.creator-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-person-details { display: grid; min-width: 0; flex: 1; gap: 4px; }
.creator-person-details b { color: #f0ebfa; font-size: 11px; }
.creator-person-details span,
.creator-person-details small {
    overflow: hidden;
    color: #898198;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.creator-person-open {
    flex-shrink: 0;
    padding: 8px 10px;
    border: 1px solid #493762;
    border-radius: 7px;
    background: #251e35;
    color: #d4c1ff;
    font-size: 10px;
    cursor: pointer;
}

/* About and achievements */
.creator-about-panel {
    padding: 17px;
    border: 1px solid #302b40;
    border-radius: 11px;
    background: #14131f;
}
.creator-about-panel h3 { margin: 0 0 11px; color: #eee8f8; font-size: 13px; }
.creator-about-panel h3:not(:first-child) { margin-top: 24px; }
.creator-about-panel > p {
    margin: 0;
    color: #bcb5ca;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.creator-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.creator-social-links a {
    padding: 8px 11px;
    border: 1px solid #3a304d;
    border-radius: 7px;
    background: #211b30;
    color: #d3c0ff;
    text-decoration: none;
    font-size: 10px;
}
.creator-achievement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.creator-achievement-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid #302b40;
    border-radius: 10px;
    background: #15141f;
}
.creator-achievement-card > span {
    display: grid;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: #302344;
    color: #c3a7ff;
}
.creator-achievement-card b { color: #eee8f8; font-size: 11px; }
.creator-achievement-card p { margin: 5px 0 0; color: #928ba1; font-size: 10px; line-height: 1.5; }

/* Imported publications: read-only content from connected platforms */
.creator-profile-actions { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.creator-profile-actions .creator-follow-button { min-width: 105px; margin: 0; }
.creator-donate-button {
    min-width: 105px;
    padding: 11px 16px;
    border: 1px solid #76543e;
    border-radius: 8px;
    background: linear-gradient(110deg,#533a3d,#3f2d48);
    color: #ffe0d0;
    font-weight: 800;
    cursor: pointer;
}
.profile-content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.profile-content-card {
    min-width: 0;
    overflow: hidden;
    padding-bottom: 14px;
    border: 1px solid #302b40;
    border-radius: 11px;
    background: #12121d;
}
.profile-content-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #211c30;
}
.profile-content-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-content-no-thumb {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 130px;
    place-items: center;
    color: #c6adf4;
    font-weight: 900;
}
.profile-content-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 12px 13px 0; color: #8d879d; font-size: 9px; }
.profile-content-card h3 { margin: 8px 13px; color: #eee8f8; font-size: 13px; line-height: 1.45; }
.profile-content-card > p { margin: 0 13px; color: #aaa4b7; font-size: 10px; line-height: 1.5; }
.profile-content-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 13px 0; color: #89839b; font-size: 9px; }
.profile-content-link {
    display: inline-flex;
    margin: 12px 13px 0;
    padding: 8px 11px;
    border: 1px solid #51406d;
    border-radius: 7px;
    background: #29213c;
    color: #decfff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .creator-profile-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .creator-profile-tabs button { text-align: center; }
    .creator-person-card { flex-wrap: wrap; }
    .creator-person-open { margin-left: auto; }
    .creator-achievement-grid, .profile-content-grid { grid-template-columns: 1fr; }
    .creator-profile-actions { width: 100%; }
    .creator-profile-actions button { flex: 1; }
}
