/*
 * Profile Page Styles - Modern Hero Card Layout
 * Follows patterns from tmail.css and common.css
 * Dark mode and responsive at the end of each section
 */

/* ==========================================================================
   PROFILE CONTAINER
   ========================================================================== */

.profile-container {
    margin-top: 0;
    line-height: normal;
    background: var(--color-bg-surface);
    border-radius: 8px;
    box-shadow: var(--profile-shadow);
    overflow: hidden;
}

/* ==========================================================================
   HERO SECTION - Avatar, Username, Actions, Badges
   ========================================================================== */

.profile-hero {
    background: linear-gradient(135deg, var(--site-primary) 0%, var(--site-secondary) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    background-color: var(--color-border-light);
}

.profile-hero-content {
    flex: 1;
    min-width: 0;
    color: var(--color-text-on-primary);
}

.profile-username {
    font-family: 'Black Ops One', cursive;
    font-size: 2.5rem;
    font-weight: normal;
    font-style: normal;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-username-memoriam {
    font-size: 0.5em;
    font-family: inherit;
    font-style: italic;
    opacity: 0.9;
}

.profile-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.profile-badge .material-icons {
    font-size: 18px;
    color: var(--color-text-on-primary) !important;
    width: 20px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-badge-value {
    color: var(--color-text-on-primary);
}

/* Action icons (RSS, follow, ignore, watch, tmail) */
.profile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.profile-action,
a.profile-action,
a.profile-action:link,
a.profile-action:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--color-text-on-primary) !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none !important;
}

.profile-action:hover,
a.profile-action:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
    text-decoration: none;
    color: var(--color-text-on-primary);
}

/* Active state: Following, Ignoring, or Watching this user */
.profile-action--active {
    background: rgba(255, 166, 0, 0.35) !important;
    border-color: rgba(255, 200, 100, 0.5) !important;
}

.profile-action--active:hover {
    background: rgba(255, 166, 0, 0.5) !important;
    border-color: rgba(255, 200, 100, 0.6) !important;
}

.profile-action .material-icons,
a.profile-action .material-icons,
a.profile-action:link .material-icons,
a.profile-action:visited .material-icons {
    font-size: 24px;
    color: var(--color-text-on-primary) !important;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   PROFILE INFO BAR - Location, School, Occupation, Hobbies
   ========================================================================== */

.profile-info-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 12px 20px;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.profile-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.profile-info-item .material-icons {
    font-size: 20px;
    color: var(--site-primary) !important;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   STATS ROW - Joined, Last Seen, Views, Posts, Followers
   ========================================================================== */

.profile-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
    padding: 15px 20px;
    background: var(--color-bg-surface);
    border-bottom: 1px solid var(--color-border);
}

.profile-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text);
}

.profile-stat .material-icons {
    font-size: 20px;
    color: var(--site-secondary) !important;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-stat-label {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.profile-stat-value {
    color: var(--color-text);
}

/* Dark mode: stats row icons use secondary text color, not purple */
html.dark-mode .profile-stat .material-icons {
    color: var(--color-text-secondary) !important;
}

/* ==========================================================================
   BIO SECTION - Highlights + Expandable Full Bio (Player Bio Pattern)
   ========================================================================== */

.profile-bio-section {
    margin: 15px;
}

.profile-bio-highlights {
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg-surface);
}

.profile-bio-highlights:empty {
    display: none;
}

/* Full bio content - starts collapsed */
.profile-bio-full {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
    opacity: 1;
}

.profile-bio-full.collapsed {
    max-height: 0;
    opacity: 0;
}

.profile-bio-text {
    padding: 15px;
    font-size: 14px;
    line-height: 1.7;
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
}

/* Expand/collapse button - matches view-bio.css pattern */
.profile-bio-expand-btn {
    width: 100%;
    padding: 10px 12px;
    background: var(--profile-bio-btn-bg);
    border: none;
    border-top: 1px solid var(--color-border);
    cursor: pointer;
    font-size: 12px;
    color: var(--color-text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.profile-bio-expand-btn:hover {
    background: var(--profile-bio-btn-hover-bg);
    color: var(--color-text);
}

.profile-bio-expand-btn .expand-icon {
    font-size: 10px;
    transition: transform 0.3s;
}

.profile-bio-expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   AWARDS & DONATIONS SECTION
   ========================================================================== */

.profile-awards-section {
    margin: 15px;
    text-align: center;
}

.profile-donations {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
    background: var(--color-bg-surface);
}

.profile-donations a {
    display: inline-block;
    transition: transform 0.15s ease;
    text-decoration: none !important;
}

.profile-donations a:hover {
    transform: scale(1.05);
}

.profile-donations img {
    height: 60px;
    border-radius: 4px;
}

.profile-awards {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.profile-awards img {
    width: 110px;
    height: 60px;
    border-radius: 4px;
    transition: transform 0.15s ease;
}

.profile-awards a:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   FAVORITE LINKS SECTION
   ========================================================================== */

.profile-fav-links {
    margin: 15px;
}

.profile-fav-links-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: var(--color-bg-surface);
}

.profile-fav-link {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-elevated);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    max-width: 300px;
}

.profile-fav-link:hover {
    border-color: var(--site-primary);
    box-shadow: 0 4px 12px var(--shadow-color-md);
    text-decoration: none;
}

.profile-fav-link-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-right: 1px solid var(--color-border);
    flex-shrink: 0;
}

.profile-fav-link-text {
    padding: 10px 15px;
    font-size: 14px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.profile-fav-link-icon {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
}

.profile-fav-link-icon .material-icons {
    font-size: 20px;
    color: var(--site-primary) !important;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   ACTIVITY TABS - jQuery UI Restyled
   ========================================================================== */

.profile-tabs-container {
    margin: 15px;
}

/* Tab panel content wrapper - responsive padding */
.tab-panel-content {
    padding: 15px;
}

/* Tab navigation bar - styled like tmail inbox bar */
#user-tabs {
    display: block !important;
}

/* TAB HEADER: match widget-header-solid orange gloss */
#user-tabs .profile-tab-header,
#user-tabs .ui-tabs-nav {
    background: var(--site-primary) !important;
    background-image: linear-gradient(to bottom, var(--gloss-highlight) 0%, rgba(255, 255, 255, 0.06) 35%, var(--gloss-darken) 100%) !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 12px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 5px 5px 0 0 !important;
    box-shadow: inset 0 1px 0 var(--gloss-highlight), inset 0 -1px 0 var(--shadow-color-md);
    list-style: none;
    min-height: auto !important;
    align-content: flex-start;
}

#user-tabs .profile-tab-header li,
#user-tabs .ui-tabs-nav li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Tabs: orange pills with active dark state (same visual language as awards/activity header area) */
#user-tabs .profile-tab-header li a,
#user-tabs .ui-tabs-nav li a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px !important;
    color: var(--color-text-on-primary) !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#user-tabs .profile-tab-header li a:hover,
#user-tabs .ui-tabs-nav li a:hover {
    filter: brightness(1.08);
    border-color: rgba(255, 255, 255, 0.36) !important;
    text-decoration: none;
}

/* Active tab: list item (so DevTools shows a rule when you inspect the li) */
#user-tabs .profile-tab-header li.ui-tabs-selected,
#user-tabs .ui-tabs-nav li.ui-tabs-selected {

    /* Visual styling (background, color) is on the child a below */
}

/* easytabs uses ui-tabs-selected on both li and a; jQuery UI uses ui-tabs-active / ui-state-active.
   DevTools shows these rules when you select the <a> (the link), not the <li>. */
#user-tabs .profile-tab-header li.ui-tabs-selected a,
#user-tabs .profile-tab-header li.ui-tabs-active a,
#user-tabs .profile-tab-header li.ui-state-active a,
#user-tabs .profile-tab-header li a.ui-tabs-selected,
#user-tabs .ui-tabs-nav li.ui-tabs-selected a,
#user-tabs .ui-tabs-nav li.ui-tabs-active a,
#user-tabs .ui-tabs-nav li.ui-state-active a,
#user-tabs .ui-tabs-nav li a.ui-tabs-selected {
    background: linear-gradient(to bottom, color-mix(in srgb, var(--site-secondary, #2f1b4f) 80%, white) 0%, var(--site-secondary, #2f1b4f) 100%) !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Tab content panel */
#user-tabs .ui-tabs-panel {
    padding: 0 !important;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    min-height: 400px;
}

/* Activity scroll pane */
#user-tabs #activities.scroll-pane {
    border: none !important;
    max-height: 500px;
    overflow-y: auto;
}

/* Activity header row - keep orange (site primary); only the tab bar above is purple */
#activity-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 15px;
    background: var(--site-primary);
    color: var(--color-text-on-primary);
}

#activity-header-row span {
    font-weight: 600;
}

/* Activity toggles - pill style */
#activity-toggles {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#activity-toggles input[type="checkbox"] {
    display: none;
}

#activity-toggles .toggle-text {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-on-primary) !important;
    background: var(--profile-toggle-bg);
    border: 1px solid var(--profile-toggle-border);
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#activity-toggles .toggle-text:hover {
    background: var(--profile-toggle-hover-bg);
}

#activity-toggles input[type="checkbox"]:checked + .toggle-text {
    background: var(--profile-toggle-checked-bg);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Activity rows (activity feed) */
.follow-row {
    padding: 12px 15px;
    line-height: 1.5;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color 0.15s ease;
    color: var(--color-text);
}

.follow-row:hover {
    background-color: var(--color-bg-light);
}

.follow-row:nth-child(odd) {
    background-color: var(--color-bg-hover);
}

.follow-row:nth-child(odd):hover {
    background-color: var(--color-bg-light);
}

.follow-row a {
    color: var(--site-primary) !important;
    text-decoration: none;
}

.follow-row a:hover {
    text-decoration: underline;
}

/* Followers / Following / Ignored list - modern card row (flex, icon buttons) */
.follow-row__avatar {
    flex-shrink: 0;
    margin-right: 12px;
}

.follow-row__img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.follow-row__main {
    flex: 1;
    min-width: 0;
}

.follow-row__main .aUsername a {
    font-weight: 600;
    text-decoration: none;
}

.follow-row__main .aUsername a:hover {
    text-decoration: underline;
}

.follow-row__meta {
    color: var(--color-text-secondary);
    font-size: 0.95em;
}

.follow-row__main .fstatus {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    display: block;
    margin-top: 2px;
}

.follow-row__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.follow-row__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: var(--color-bg-light);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    font: inherit;
}

.follow-row__action:hover {
    background: var(--color-bg-muted);
    color: var(--color-text);
    text-decoration: none;
}

.follow-row__action .material-icons {
    font-size: 22px;
}

.follow-row__action--active {
    background: var(--profile-accent-bg);
    color: var(--site-primary);
}

.follow-row__action--active:hover {
    background: var(--profile-accent-bg-strong);
    color: var(--site-primary);
}

/* Contextual pill button (Followers/Following/Ignoring lists) */
.follow-row__action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    font: inherit;
    min-width: 0;
}

.follow-row__action-pill .follow-row__action-pill-icon {
    font-size: 18px;
}

.follow-row__action-pill-text {
    display: inline;
}

.follow-row__action-pill-hover {
    display: none;
}

.follow-row__action-pill:hover .follow-row__action-pill-text {
    display: none;
}

.follow-row__action-pill:hover .follow-row__action-pill-hover {
    display: inline;
}

/* Follow (not following yet) */
.follow-row__action-pill--follow {
    background: var(--color-bg-light);
    color: var(--color-text-secondary);
    border-color: var(--color-border);
}

.follow-row__action-pill--follow:hover {
    background: var(--color-bg-muted);
    color: var(--color-text);
    border-color: var(--color-border);
}

/* Following (active state) */
.follow-row__action-pill--following {
    background: var(--profile-accent-bg);
    color: var(--site-primary);
    border-color: var(--profile-accent-border);
}

.follow-row__action-pill--following:hover {
    background: var(--profile-danger-bg);
    color: var(--profile-danger-color);
    border-color: var(--profile-danger-border);
}

/* Ignoring (active state) */
.follow-row__action-pill--ignoring {
    background: var(--profile-accent-bg);
    color: var(--site-primary);
    border-color: var(--profile-accent-border);
}

.follow-row__action-pill--ignoring:hover {
    background: var(--profile-danger-bg);
    color: var(--profile-danger-color);
    border-color: var(--profile-danger-border);
}

/* Read-only pill (e.g. Ignoring list when viewing someone else's profile) */
.follow-row__action-pill--readonly {
    cursor: default;
    pointer-events: none;
}
.follow-row__action-pill--readonly:hover .follow-row__action-pill-text {
    display: inline;
}
.follow-row__action-pill--readonly:hover .follow-row__action-pill-hover {
    display: none;
}

/* Ignored By joke pill (non-functional, just fun) */
.follow-row__action-pill--joke {
    background: var(--profile-pill-joke-bg);
    color: var(--profile-pill-joke-color);
    border-color: var(--profile-pill-joke-border);
    font-style: italic;
}

.follow-row__action-pill--joke:hover {
    background: var(--profile-pill-joke-hover-bg);
    color: var(--profile-pill-joke-hover-color);
    border-color: var(--profile-pill-joke-hover-border);
}

.follow-row__action-pill--joke .follow-row__action-pill-ellipsis {
    font-size: 16px;
    vertical-align: middle;
    margin-left: 1px;
}

.follow-row__action-pill--joke.follow-row__action-pill--shake {
    animation: follow-row-pill-shake 0.6s ease-in-out;
}

@keyframes follow-row-pill-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* When follow-row uses flex (has __main), apply flex layout */
.follow-row:has(.follow-row__main) {
    display: flex;
    align-items: center;
    padding: 14px 16px;
}

/* User info wrapper (avatar + main) */
.follow-row__user {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    gap: 12px;
}

.act-time {
    color: var(--color-text-placeholder);
    font-size: 0.9em;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE - Mobile First
   ========================================================================== */

@media (max-width: 768px) {
    .profile-hero {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-hero-content {
        width: 100%;
    }

    .profile-username {
        font-size: 1.8rem;
    }

    .profile-badges {
        justify-content: center;
    }

    .profile-actions {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .profile-info-bar {
        justify-content: center;
        text-align: center;
    }

    .profile-stats {
        gap: 8px 20px;
    }

    .profile-stat {
        font-size: 13px;
    }

    #user-tabs .ui-tabs-nav {
        justify-content: center;
    }

    #user-tabs .ui-tabs-nav li a {
        padding: 6px 10px !important;
        font-size: 12px;
    }

    #activity-header-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    #activity-toggles {
        justify-content: center;
    }

    /* ===== User List Rows (Followers/Following/Ignoring) - Mobile ===== */
    .follow-row:has(.follow-row__main) {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    /* User wrapper - avatar aligned to top with username */
    .follow-row__user {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .follow-row__avatar {
        flex-shrink: 0;
    }

    .follow-row__main {
        flex: 1;
        min-width: 0;
    }

    .follow-row__meta {
        display: block;
        font-size: 0; /* Hide the dash */
        margin-top: 2px;
    }

    .follow-row__meta .flast-login {
        font-size: 13px; /* Restore font size for "Last seen" */
    }

    .follow-row__actions {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
        justify-content: flex-start;
    }

    /* Pill buttons - smaller on mobile, truncate long text */
    .follow-row__action-pill {
        font-size: 12px;
        padding: 5px 10px;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .follow-row__action-pill .follow-row__action-pill-icon {
        font-size: 16px;
    }

    /* ===== Tab Panel Padding - Reduced on Mobile ===== */
    .profile-tabs-container {
        margin: 8px;
    }

    .tab-panel-content {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-username {
        font-size: 1.5rem;
    }

    .profile-badge {
        font-size: 12px;
        padding: 3px 8px;
    }

    .profile-action {
        width: 40px;
        height: 40px;
    }

    .profile-action .material-icons {
        font-size: 20px;
    }

    .profile-info-item {
        font-size: 13px;
    }

    .profile-stat {
        font-size: 12px;
    }

    .profile-fav-link {
        max-width: 100%;
        width: 100%;
    }

    .profile-fav-link-text {
        max-width: none;
        flex: 1;
    }

    /* ===== User List Rows - Extra Small ===== */
    .follow-row:has(.follow-row__main) {
        padding: 10px;
        gap: 8px;
    }

    /* Keep avatar at default 50px size */

    .follow-row__action-pill {
        font-size: 11px;
        padding: 4px 8px;
        max-width: 130px;
    }

    /* ===== Tab Panel Padding - Extra Small ===== */
    .profile-tabs-container {
        margin: 4px;
    }

    .tab-panel-content {
        padding: 6px;
    }
}

