/* OSANIME Profile UI — Stage 3 v279
 * Uploads + Posts content polish.
 * Layered after Stage 1/2 so legacy profile behavior remains intact.
 */
body.profile-ui-stage3-v279 {
    --profile-s3-panel: rgba(7, 16, 32, .82);
    --profile-s3-panel-strong: rgba(8, 18, 36, .94);
    --profile-s3-soft: rgba(255, 255, 255, .045);
    --profile-s3-line: rgba(255, 255, 255, .09);
    --profile-s3-line-strong: rgba(255, 255, 255, .14);
    --profile-s3-text: #f5f7fb;
    --profile-s3-muted: #9aa8bc;
    --profile-s3-pink: #ff4f93;
    --profile-s3-pink-soft: #ff8fbc;
    --profile-s3-purple: #9a75ff;
}

body.profile-ui-stage3-v279 .profile-content-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 7px !important;
    color: var(--profile-s3-pink-soft) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

/* ---------- Upload library heading ---------- */
body.profile-ui-stage3-v279 .profile-library-intro {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 15px 0 10px !important;
    padding: 18px 19px !important;
    border: 1px solid var(--profile-s3-line) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,79,147,.11), transparent 34%),
        linear-gradient(145deg, rgba(13,26,49,.91), rgba(6,15,31,.91)) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,.12) !important;
}
body.profile-ui-stage3-v279 .profile-library-intro-copy {
    min-width: 0 !important;
}
body.profile-ui-stage3-v279 .profile-library-intro h2 {
    margin: 0 !important;
    color: var(--profile-s3-text) !important;
    font-size: clamp(20px, 2vw, 27px) !important;
    font-weight: 900 !important;
    line-height: 1.16 !important;
    letter-spacing: -.35px !important;
}
body.profile-ui-stage3-v279 .profile-library-intro p {
    max-width: 720px !important;
    margin: 7px 0 0 !important;
    color: var(--profile-s3-muted) !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}
body.profile-ui-stage3-v279 .profile-library-intro-stat {
    flex: 0 0 auto !important;
    min-width: 112px !important;
    min-height: 68px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 16px !important;
    border: 1px solid rgba(255,79,147,.22) !important;
    border-radius: 13px !important;
    background: rgba(255,79,147,.08) !important;
}
body.profile-ui-stage3-v279 .profile-library-intro-stat b {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}
body.profile-ui-stage3-v279 .profile-library-intro-stat span {
    margin-top: 5px !important;
    color: #b9c4d5 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
}

/* ---------- Search / filter toolbar ---------- */
body.profile-ui-stage3-v279 .profile-upload-toolbar {
    grid-template-columns: minmax(280px, 1fr) minmax(160px, 205px) minmax(150px, 180px) !important;
    align-items: end !important;
    gap: 11px !important;
    margin: 0 0 9px !important;
    padding: 12px !important;
    border: 1px solid var(--profile-s3-line) !important;
    border-radius: 15px !important;
    background: rgba(7,17,34,.76) !important;
    transition: border-color .18s ease, opacity .18s ease !important;
}
body.profile-ui-stage3-v279 .profile-upload-toolbar .member-toolbar-spacer {
    display: none !important;
}
body.profile-ui-stage3-v279 .profile-upload-toolbar.is-filtering {
    opacity: .72 !important;
    border-color: rgba(255,79,147,.3) !important;
}
body.profile-ui-stage3-v279 .profile-upload-search {
    position: relative !important;
    min-height: 49px !important;
    height: 49px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 11px !important;
    background: rgba(3,11,25,.78) !important;
}
body.profile-ui-stage3-v279 .profile-upload-search:focus-within {
    border-color: rgba(255,79,147,.48) !important;
    box-shadow: 0 0 0 3px rgba(255,79,147,.09) !important;
}
body.profile-ui-stage3-v279 .profile-upload-search > i:first-child {
    color: #7f8da4 !important;
    font-size: 12px !important;
}
body.profile-ui-stage3-v279 .profile-upload-search input {
    min-width: 0 !important;
    padding-right: 86px !important;
    color: #eef3fb !important;
    font-size: 13px !important;
}
body.profile-ui-stage3-v279 .profile-upload-search input::placeholder {
    color: #6f7d93 !important;
}
body.profile-ui-stage3-v279 .profile-upload-search button,
body.profile-ui-stage3-v279 .profile-search-clear {
    position: absolute !important;
    top: 50% !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    transform: translateY(-50%) !important;
}
body.profile-ui-stage3-v279 .profile-upload-search button {
    right: 7px !important;
    border: 1px solid rgba(255,79,147,.3) !important;
    background: linear-gradient(135deg, rgba(255,79,147,.92), rgba(231,54,133,.88)) !important;
    color: #fff !important;
}
body.profile-ui-stage3-v279 .profile-search-clear {
    right: 46px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    background: rgba(255,255,255,.05) !important;
    color: #a8b4c6 !important;
    text-decoration: none !important;
}
body.profile-ui-stage3-v279 .profile-search-clear:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,.17) !important;
}
body.profile-ui-stage3-v279 .profile-filter-field {
    min-width: 0 !important;
    display: grid !important;
    gap: 6px !important;
}
body.profile-ui-stage3-v279 .profile-filter-field > span {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding-left: 2px !important;
    color: #8593a9 !important;
    font-size: 9.5px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: .045em !important;
}
body.profile-ui-stage3-v279 .profile-filter-field .member-select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 49px !important;
    height: 49px !important;
    margin: 0 !important;
    padding-inline: 12px 34px !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 11px !important;
    background-color: rgba(3,11,25,.78) !important;
    color: #e7edf7 !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
}
body.profile-ui-stage3-v279 .profile-filter-field .member-select:focus {
    border-color: rgba(255,79,147,.44) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(255,79,147,.08) !important;
}

body.profile-ui-stage3-v279 .profile-upload-summary {
    min-height: 40px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255,255,255,.065) !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.025) !important;
    color: #9ba9bd !important;
    font-size: 11.5px !important;
}
body.profile-ui-stage3-v279 .profile-upload-summary > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}
body.profile-ui-stage3-v279 .profile-upload-summary > span i {
    color: var(--profile-s3-pink-soft) !important;
}
body.profile-ui-stage3-v279 .profile-upload-summary a {
    min-height: 30px !important;
    color: #d4dceb !important;
}

body.profile-ui-stage3-v279 .profile-active-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 9px 0 10px !important;
}
body.profile-ui-stage3-v279 .profile-active-filters a {
    max-width: 100% !important;
    min-height: 31px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255,79,147,.17) !important;
    border-radius: 999px !important;
    background: rgba(255,79,147,.065) !important;
    color: #dce4f0 !important;
    font-size: 10.5px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
body.profile-ui-stage3-v279 .profile-active-filters a span {
    max-width: min(330px, 55vw) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
body.profile-ui-stage3-v279 .profile-active-filters a > i:first-child {
    color: #ff8ebc !important;
}
body.profile-ui-stage3-v279 .profile-active-filters a > i:last-child {
    color: #8290a6 !important;
    font-size: 9px !important;
}
body.profile-ui-stage3-v279 .profile-active-filters a:hover {
    border-color: rgba(255,79,147,.36) !important;
    background: rgba(255,79,147,.11) !important;
    color: #fff !important;
}

/* ---------- Upload table ---------- */
body.profile-ui-stage3-v279 .profile-upload-library {
    border: 1px solid var(--profile-s3-line) !important;
    border-radius: 15px !important;
    background: rgba(5,14,29,.76) !important;
    box-shadow: 0 13px 30px rgba(0,0,0,.11) !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table thead {
    background: rgba(255,255,255,.025) !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table th {
    height: 45px !important;
    padding: 0 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    color: #7f8da4 !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table td {
    height: 76px !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.055) !important;
    color: #bdc7d7 !important;
    font-size: 11.5px !important;
    vertical-align: middle !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table tbody tr:last-child td {
    border-bottom: 0 !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table tbody tr {
    transition: background .16s ease !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-table tbody tr:hover {
    background: rgba(255,255,255,.027) !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-num {
    color: #65738a !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-song-info {
    align-items: center !important;
    gap: 11px !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-song-thumb {
    width: 52px !important;
    height: 52px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 11px !important;
    object-fit: cover !important;
    box-shadow: 0 7px 16px rgba(0,0,0,.2) !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-song-title {
    max-width: 360px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #f5f7fb !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-song-meta {
    color: #7e8ca2 !important;
    font-size: 9.8px !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-cat {
    max-width: 145px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-height: 27px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 9px !important;
    border: 1px solid rgba(154,117,255,.16) !important;
    border-radius: 999px !important;
    background: rgba(154,117,255,.07) !important;
    color: #c3baff !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-download {
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,.035) !important;
    color: #aab5c7 !important;
}
body.profile-ui-stage3-v279 .profile-upload-library .member-download:hover {
    border-color: rgba(255,79,147,.25) !important;
    background: rgba(255,79,147,.08) !important;
    color: #fff !important;
}

/* ---------- Mobile upload cards ---------- */
body.profile-ui-stage3-v279 .profile-upload-mobile-card {
    grid-template-columns: 66px minmax(0,1fr) 34px !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 92px !important;
    padding: 11px !important;
    border: 1px solid rgba(255,255,255,.075) !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, rgba(11,23,43,.92), rgba(6,15,30,.92)) !important;
    color: inherit !important;
    text-decoration: none !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-card > img {
    width: 66px !important;
    height: 66px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 12px !important;
    object-fit: cover !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-copy {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-copy > b {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #f6f8fc !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.32 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-meta,
body.profile-ui-stage3-v279 .profile-upload-mobile-submeta {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px 10px !important;
    margin-top: 6px !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-meta small,
body.profile-ui-stage3-v279 .profile-upload-mobile-submeta small {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    color: #8f9db2 !important;
    font-size: 9.8px !important;
    line-height: 1.2 !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-meta small {
    max-width: 46% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-meta i {
    color: #ff7eae !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-submeta i {
    color: #75849b !important;
}
body.profile-ui-stage3-v279 .profile-upload-mobile-open {
    width: 32px !important;
    height: 32px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 9px !important;
    color: #8896aa !important;
    background: rgba(255,255,255,.025) !important;
}

/* ---------- Empty states + pagination ---------- */
body.profile-ui-stage3-v279 .profile-upload-empty,
body.profile-ui-stage3-v279 .profile-posts-empty {
    min-height: 230px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 28px 20px !important;
    text-align: center !important;
}
body.profile-ui-stage3-v279 .profile-upload-empty > i,
body.profile-ui-stage3-v279 .profile-posts-empty > i {
    width: 50px !important;
    height: 50px !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 4px !important;
    border: 1px solid rgba(255,79,147,.17) !important;
    border-radius: 15px !important;
    background: rgba(255,79,147,.07) !important;
    color: #ff86b5 !important;
    font-size: 18px !important;
}
body.profile-ui-stage3-v279 .profile-upload-empty b,
body.profile-ui-stage3-v279 .profile-posts-empty b {
    color: #eef3fb !important;
    font-size: 15px !important;
}
body.profile-ui-stage3-v279 .profile-upload-empty small,
body.profile-ui-stage3-v279 .profile-posts-empty small {
    max-width: 520px !important;
    color: #8e9cb1 !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
}
body.profile-ui-stage3-v279 .profile-empty-action {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin-top: 8px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255,79,147,.24) !important;
    border-radius: 10px !important;
    background: rgba(255,79,147,.09) !important;
    color: #ffacd0 !important;
    font-size: 10.5px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}
body.profile-ui-stage3-v279 .profile-upload-pagination {
    min-height: 48px !important;
    margin-top: 12px !important;
    gap: 6px !important;
}
body.profile-ui-stage3-v279 .profile-upload-pagination a,
body.profile-ui-stage3-v279 .profile-upload-pagination .member-page-dots {
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 9px !important;
    font-size: 10.5px !important;
    font-weight: 850 !important;
}
body.profile-ui-stage3-v279 .profile-upload-pagination a {
    border: 1px solid rgba(255,255,255,.075) !important;
    background: rgba(255,255,255,.025) !important;
    color: #9aa8bb !important;
}
body.profile-ui-stage3-v279 .profile-upload-pagination a.active {
    border-color: rgba(255,79,147,.34) !important;
    background: rgba(255,79,147,.13) !important;
    color: #fff !important;
}

/* ---------- Posts ---------- */
body.profile-ui-stage3-v279 .profile-posts-panel {
    margin-top: 15px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--profile-s3-line) !important;
    border-radius: 16px !important;
    background: rgba(6,15,30,.76) !important;
}
body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 19px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(154,117,255,.09), transparent 38%),
        rgba(255,255,255,.018) !important;
}
body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head > div:first-child {
    min-width: 0 !important;
}
body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head h2 {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 0 !important;
    color: #f5f7fb !important;
    font-size: clamp(19px, 2vw, 25px) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}
body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head h2 > i {
    color: #ff7daf !important;
    font-size: .8em !important;
}
body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head p {
    max-width: 700px !important;
    margin: 7px 0 0 !important;
    color: #93a1b6 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}
body.profile-ui-stage3-v279 .profile-content-head-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}
body.profile-ui-stage3-v279 .profile-content-head-actions a {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.035) !important;
    color: #c7d0df !important;
    font-size: 10.5px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}
body.profile-ui-stage3-v279 .profile-content-head-actions a.primary {
    border-color: rgba(255,79,147,.3) !important;
    background: linear-gradient(135deg, rgba(255,79,147,.18), rgba(154,117,255,.1)) !important;
    color: #ffbad6 !important;
}
body.profile-ui-stage3-v279 .profile-post-feed {
    display: grid !important;
    gap: 10px !important;
    padding: 13px !important;
}
body.profile-ui-stage3-v279 .profile-post-card {
    position: relative !important;
    padding: 15px 16px 14px !important;
    border: 1px solid rgba(255,255,255,.075) !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, rgba(12,25,46,.94), rgba(7,16,31,.94)) !important;
    box-shadow: none !important;
    transition: border-color .16s ease, transform .16s ease, background .16s ease !important;
}
body.profile-ui-stage3-v279 .profile-post-card::before {
    width: 3px !important;
    border-radius: 0 3px 3px 0 !important;
}
body.profile-ui-stage3-v279 .profile-post-card:hover {
    border-color: rgba(255,255,255,.13) !important;
    background: linear-gradient(145deg, rgba(15,29,52,.96), rgba(8,18,35,.96)) !important;
    transform: translateY(-1px) !important;
}
body.profile-ui-stage3-v279 .profile-post-card-top,
body.profile-ui-stage3-v279 .profile-post-card-bottom {
    gap: 12px !important;
}
body.profile-ui-stage3-v279 .profile-post-badges {
    gap: 6px !important;
}
body.profile-ui-stage3-v279 .profile-post-badges > span,
body.profile-ui-stage3-v279 .profile-post-badges > a {
    min-height: 27px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
body.profile-ui-stage3-v279 .profile-post-category {
    border: 1px solid rgba(255,255,255,.075) !important;
    background: rgba(255,255,255,.04) !important;
    color: #aab5c6 !important;
}
body.profile-ui-stage3-v279 a.profile-post-category:hover {
    border-color: rgba(255,79,147,.2) !important;
    color: #fff !important;
}
body.profile-ui-stage3-v279 .profile-post-card time {
    flex: 0 0 auto !important;
    color: #77869d !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}
body.profile-ui-stage3-v279 .profile-post-card h3 {
    margin: 12px 0 7px !important;
    font-size: 15px !important;
    line-height: 1.38 !important;
    letter-spacing: -.1px !important;
}
body.profile-ui-stage3-v279 .profile-post-card h3 a {
    color: #f4f7fc !important;
}
body.profile-ui-stage3-v279 .profile-post-card > p {
    max-width: 900px !important;
    margin: 0 0 12px !important;
    color: #9aa8bc !important;
    font-size: 11.8px !important;
    line-height: 1.62 !important;
}
body.profile-ui-stage3-v279 .profile-post-card-bottom {
    padding-top: 11px !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
}
body.profile-ui-stage3-v279 .profile-post-metrics {
    gap: 13px !important;
    color: #7f8ca1 !important;
    font-size: 9.8px !important;
}
body.profile-ui-stage3-v279 .profile-post-open {
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 9px !important;
    border: 1px solid rgba(255,79,147,.13) !important;
    border-radius: 8px !important;
    background: rgba(255,79,147,.045) !important;
    color: #ff99c2 !important;
    font-size: 9.8px !important;
    font-weight: 850 !important;
}
body.profile-ui-stage3-v279 .profile-post-pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    padding: 0 13px 14px !important;
}
body.profile-ui-stage3-v279 .profile-post-pagination a {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    font-weight: 850 !important;
}

body.profile-ui-stage3-v279 :where(
    .profile-search-clear,
    .profile-upload-search button,
    .profile-filter-field .member-select,
    .profile-active-filters a,
    .profile-upload-pagination a,
    .profile-content-head-actions a,
    .profile-post-category,
    .profile-post-open,
    .profile-empty-action
):focus-visible {
    outline: 2px solid var(--profile-s3-pink) !important;
    outline-offset: 2px !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    body.profile-ui-stage3-v279 .profile-upload-toolbar {
        grid-template-columns: minmax(240px, 1fr) 180px 160px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-library .member-table th:nth-child(4),
    body.profile-ui-stage3-v279 .profile-upload-library .member-table td:nth-child(4) {
        display: none !important;
    }
}

@media (max-width: 920px) {
    body.profile-ui-stage3-v279 .profile-upload-toolbar {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-search {
        grid-column: 1 / -1 !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-library .member-table th:nth-child(5),
    body.profile-ui-stage3-v279 .profile-upload-library .member-table td:nth-child(5) {
        display: none !important;
    }
    body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head {
        flex-direction: column !important;
    }
    body.profile-ui-stage3-v279 .profile-content-head-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 760px) {
    body.profile-ui-stage3-v279 .profile-library-intro {
        align-items: flex-start !important;
        margin-top: 11px !important;
        padding: 15px !important;
        border-radius: 14px !important;
    }
    body.profile-ui-stage3-v279 .profile-library-intro h2 {
        font-size: 20px !important;
    }
    body.profile-ui-stage3-v279 .profile-library-intro p {
        font-size: 11.5px !important;
    }
    body.profile-ui-stage3-v279 .profile-library-intro-stat {
        min-width: 74px !important;
        min-height: 58px !important;
        padding: 8px 10px !important;
    }
    body.profile-ui-stage3-v279 .profile-library-intro-stat b {
        font-size: 18px !important;
    }
    body.profile-ui-stage3-v279 .profile-library-intro-stat span {
        font-size: 8.5px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-toolbar {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
        gap: 9px !important;
        padding: 10px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-search {
        grid-column: 1 / -1 !important;
        height: 48px !important;
        min-height: 48px !important;
    }
    body.profile-ui-stage3-v279 .profile-filter-field > span {
        font-size: 9px !important;
    }
    body.profile-ui-stage3-v279 .profile-filter-field .member-select {
        height: 46px !important;
        min-height: 46px !important;
        font-size: 12px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-summary {
        align-items: flex-start !important;
        min-height: 0 !important;
        gap: 7px !important;
        padding: 9px 10px !important;
        font-size: 10.5px !important;
    }
    body.profile-ui-stage3-v279 .profile-active-filters {
        margin-top: 8px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-library .member-table {
        display: none !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-library .member-mobile-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 9px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-library {
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-card {
        display: grid !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-pagination {
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 0 1px 5px !important;
        scrollbar-width: none !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-pagination::-webkit-scrollbar {
        display: none !important;
    }
    body.profile-ui-stage3-v279 .profile-posts-panel {
        border-radius: 14px !important;
    }
    body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head {
        gap: 13px !important;
        padding: 15px !important;
    }
    body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head h2 {
        font-size: 19px !important;
    }
    body.profile-ui-stage3-v279 .profile-posts-panel .profile-content-head p {
        font-size: 11.2px !important;
    }
    body.profile-ui-stage3-v279 .profile-content-head-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
    body.profile-ui-stage3-v279 .profile-content-head-actions a {
        min-width: 0 !important;
        min-height: 42px !important;
        padding-inline: 9px !important;
        font-size: 10px !important;
        white-space: normal !important;
        text-align: center !important;
    }
    body.profile-ui-stage3-v279 .profile-post-feed {
        gap: 8px !important;
        padding: 9px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card {
        padding: 13px !important;
        border-radius: 11px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card-top {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card time {
        font-size: 9px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card h3 {
        margin-top: 10px !important;
        font-size: 14px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card > p {
        font-size: 11px !important;
        line-height: 1.58 !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card-bottom {
        align-items: center !important;
    }
    body.profile-ui-stage3-v279 .profile-post-open {
        min-height: 34px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-pagination {
        justify-content: stretch !important;
        padding: 0 9px 11px !important;
    }
    body.profile-ui-stage3-v279 .profile-post-pagination a {
        flex: 1 1 auto !important;
        min-height: 42px !important;
    }
}

@media (max-width: 520px) {
    body.profile-ui-stage3-v279 .profile-library-intro {
        gap: 10px !important;
    }
    body.profile-ui-stage3-v279 .profile-library-intro-stat {
        min-width: 68px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-toolbar {
        grid-template-columns: minmax(0,1fr) !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-search,
    body.profile-ui-stage3-v279 .profile-filter-field {
        grid-column: 1 !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-search input,
    body.profile-ui-stage3-v279 .profile-filter-field .member-select {
        font-size: 16px !important; /* prevent iOS focus zoom */
    }
    body.profile-ui-stage3-v279 .profile-active-filters a {
        min-height: 34px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-card {
        grid-template-columns: 58px minmax(0,1fr) 30px !important;
        gap: 9px !important;
        min-height: 82px !important;
        padding: 9px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-card > img {
        width: 58px !important;
        height: 58px !important;
        border-radius: 10px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-copy > b {
        font-size: 12.5px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-meta,
    body.profile-ui-stage3-v279 .profile-upload-mobile-submeta {
        gap: 4px 7px !important;
        margin-top: 5px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-meta small,
    body.profile-ui-stage3-v279 .profile-upload-mobile-submeta small {
        font-size: 9.2px !important;
    }
    body.profile-ui-stage3-v279 .profile-upload-mobile-open {
        width: 30px !important;
        height: 30px !important;
    }
    body.profile-ui-stage3-v279 .profile-content-head-actions {
        grid-template-columns: minmax(0,1fr) !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card-bottom {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
    body.profile-ui-stage3-v279 .profile-post-open {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.profile-ui-stage3-v279 .profile-post-card,
    body.profile-ui-stage3-v279 .profile-upload-toolbar,
    body.profile-ui-stage3-v279 .profile-active-filters a {
        transition: none !important;
    }
    body.profile-ui-stage3-v279 .profile-post-card:hover {
        transform: none !important;
    }
}

body.profile-ui-stage3-v279 .profile-post-card.is-interactive {
    cursor: pointer !important;
}
