/* DROPX PRIME SYSTEM — PROFILE MASTER */

#profile.profile-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 18px 90px;
    box-sizing: border-box;
}

.profile-story-engine {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

.profile-story-engine .stories-rail {
    display: none;
}

.profile-content-shell {
    width: 100%;
    margin-top: 16px;
}

.profile-main-data {
    width: 100%;
    min-width: 0;
}

#profile .featured-album-post-template {
    display: none;
    visibility: hidden;
}

.profile-tabs-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    margin: 0 0 12px;
    background: linear-gradient(180deg, rgba(13,15,18,.96), rgba(8,10,12,.96));
    border: 1px solid rgba(214,165,43,.20);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0,0,0,.22);
    overflow-x: auto;
    scrollbar-width: none;
}

.profile-tabs-nav::-webkit-scrollbar { display: none; }

.profile-tab-trigger {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: rgba(226,232,240,.66);
    font: 700 .78rem/1 'Chakra Petch', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: .18s ease;
}

.profile-tab-trigger svg {
    width: 16px;
    height: 16px;
}

.profile-tab-trigger:hover {
    color: #fff;
    background: rgba(255,255,255,.045);
}

.profile-tab-trigger.active {
    color: #0b0d0f;
    background: linear-gradient(135deg, #f1c75b, #c79220);
    border-color: rgba(255,220,120,.5);
    box-shadow: 0 8px 22px rgba(214,165,43,.16);
}

.profile-tab-content {
    min-width: 0;
}

.dx-profile-feed-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 2px 12px;
}

.dx-section-kicker {
    display: block;
    color: #d6a52b;
    font: 700 .65rem/1 'JetBrains Mono', monospace;
    letter-spacing: .18em;
    margin-bottom: 4px;
}

.dx-profile-feed-heading h2 {
    margin: 0;
    color: #f8fafc;
    font: 700 1.25rem/1.15 'Chakra Petch', sans-serif;
}

.dx-profile-feed-count {
    color: rgba(226,232,240,.52);
    font: 600 .72rem/1 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.dx-profile-posts-stream {
    display: grid;
    gap: 12px;
}

.dx-profile-empty-state {
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(214,165,43,.15);
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(214,165,43,.07), transparent 50%), rgba(8,10,12,.76);
}

.dx-profile-empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #d6a52b;
    background: rgba(214,165,43,.08);
    border: 1px solid rgba(214,165,43,.18);
}

.dx-profile-empty-icon svg { width: 24px; height: 24px; }

.dx-profile-empty-state h3 {
    margin: 6px 0 0;
    color: #f8fafc;
    font: 700 1rem 'Chakra Petch', sans-serif;
}

.dx-profile-empty-state p {
    max-width: 440px;
    margin: 0;
    color: rgba(226,232,240,.55);
    font-size: .82rem;
}

body.light-mode #profile.profile-page .profile-tabs-nav {
    background: rgba(255,255,255,.78);
    border-color: rgba(168,117,18,.20);
    box-shadow: 0 12px 35px rgba(40,50,60,.10);
}

body.light-mode #profile.profile-page .profile-tab-trigger { color: #59616b; }
body.light-mode #profile.profile-page .profile-tab-trigger.active { color: #161616; }
body.light-mode #profile.profile-page .dx-profile-feed-heading h2,
body.light-mode #profile.profile-page .dx-profile-empty-state h3 { color: #20242a; }
body.light-mode #profile.profile-page .dx-profile-empty-state { background: rgba(255,255,255,.82); }
