/* ═══════════════════════════════════════════════════
   PROFILE MODAL — Compact, Animated, Tailwind-Inspired
   ═══════════════════════════════════════════════════ */

/* ── Quick Actions (Admin + Logout) ── */
.profile-quick-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px 0 8px;
}
.pqa-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}
.pqa-btn .material-symbols-rounded { font-size: 16px; }
.pqa-btn:hover { color: var(--text-primary); background: var(--bg-hover); transform: translateY(-1px); }
.pqa-admin:hover { color: var(--primary-color); border-color: var(--primary-color); }
.pqa-logout { color: var(--error, #f43f5e); }
.pqa-logout:hover { background: rgba(244, 63, 94, .1); border-color: var(--error, #f43f5e); color: var(--error, #f43f5e); }

/* ── Profile Hero Card — Banner + Avatar + Stats Grid ── */
.profile-hero-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary, rgba(255,255,255,.03));
    border: 1px solid var(--border-color, rgba(255,255,255,.08));
    margin-bottom: 12px;
}
.profile-hero-banner {
    height: 80px;
    background: linear-gradient(135deg,
        rgba(var(--glow, 102,126,234), .55),
        rgba(118, 75, 162, .45));
}
.profile-hero-center {
    text-align: center;
    margin-top: -40px;
    padding: 0 16px 12px;
}
.profile-hero-avatar {
    position: relative;
    display: inline-block;
}
.profile-hero-avatar .profile-avatar-large,
.profile-hero-avatar .profile-avatar-large-placeholder {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--bg-secondary, #13131a);
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    object-fit: cover;
}
.profile-hero-level {
    position: absolute;
    bottom: -2px; right: -2px;
    padding: 1px 6px; border-radius: 8px;
    font-size: .55rem; font-weight: 700; color: #fff;
    display: flex; align-items: center; gap: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    border: 2px solid var(--bg-secondary, #13131a);
}
.profile-hero-level i { font-size: .45rem; }

/* Avatar upload button on hero */
.hero-av-upload {
    position: absolute;
    top: -2px; left: -2px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent, #667eea), #764ba2);
    border: 2px solid var(--bg-secondary, #13131a);
    color: #fff;
    font-size: .5rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    z-index: 3;
    opacity: 0;
}
.profile-hero-avatar:hover .hero-av-upload {
    opacity: 1;
}
.hero-av-upload:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(var(--glow, 102,126,234),.4);
}

/* Name & meta below avatar */
.profile-hero-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 8px 0 2px;
    text-align: center;
}
.profile-hero-meta {
    font-size: .78rem;
    color: var(--text-secondary);
    display: block;
}
.profile-hero-username {
    font-size: .72rem;
    color: var(--text-secondary);
    opacity: .7;
}

/* Stats grid at bottom of hero card */
.profile-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color, rgba(255,255,255,.08));
    padding: 10px 0 8px;
    margin: 0 16px;
}
.phs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.phs-val {
    font-size: .85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.phs-lbl {
    font-size: .58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--text-muted);
}

/* ── Shared card surface ── */
.profile-info-item, .activity-stat-card, .pm-game-card,
.settings-section, .pm-social-counts, .pm-badge-stats,
.profile-bio, .profile-social, .profile-badges {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    position: relative; overflow: hidden;
    transition: border-color .2s, background .2s, box-shadow .25s, transform .25s;
}
.profile-info-item:hover, .activity-stat-card:hover, .pm-game-card:hover,
.settings-section:hover, .pm-social-counts:hover, .pm-badge-stats:hover,
.profile-bio:hover, .profile-social:hover, .profile-badges:hover {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.profile-info-item::before, .activity-stat-card::before, .pm-game-card::before,
.settings-section::before, .pm-social-counts::before, .pm-badge-stats::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    opacity: 0; transition: opacity .3s;
}
.profile-info-item:hover::before, .activity-stat-card:hover::before, .pm-game-card:hover::before,
.settings-section:hover::before, .pm-social-counts:hover::before, .pm-badge-stats:hover::before {
    opacity: 1;
}

/* ── Avatar ── */
.profile-avatar-large, .profile-avatar-large-placeholder {
    width: 72px; height: 72px;
    border-radius: 50%;
    transition: transform .3s, box-shadow .3s;
}
.profile-avatar-large {
    object-fit: cover;
    border: 2px solid rgba(var(--glow, 102,126,234),.3);
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.profile-avatar-large:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(var(--glow, 102,126,234),.25);
}
.profile-avatar-large-placeholder {
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 700; color: #fff;
    box-shadow: 0 4px 16px rgba(102,126,234,.3);
}

/* ── Profile Header ── */
.profile-view-header h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.profile-view-header h3 small { font-size: .65em; }

/* ── Info Grid ── */
.profile-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.profile-info-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.profile-info-item i { font-size: 1rem; opacity: .8; flex-shrink: 0; }
.profile-info-item small { font-size: .6rem; text-transform: uppercase; letter-spacing: .3px; opacity: .6; }
.profile-info-item p { font-size: .8rem; font-weight: 600; line-height: 1.2; margin: 0; }

/* ── Bio ── */
.profile-bio { padding: 10px 12px; }
.profile-bio h6, .profile-social h6, .profile-badges h6 {
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .6; margin-bottom: 5px;
}
.profile-bio p { font-size: .82rem; line-height: 1.5; margin: 0; }

/* ── Edit Profile — Two columns ── */
.edit-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
}
.edit-col-left,
.edit-col-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.edit-avatar-center {
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.edit-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
@media (max-width: 576px) {
    .edit-two-col { grid-template-columns: 1fr; gap: 10px; }
    .edit-social-grid { grid-template-columns: 1fr; }
}
.edit-top-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.edit-avatar-wrap { position: relative; flex-shrink: 0; }
.edit-av-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.15); box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.edit-av-placeholder { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: #fff; }
.edit-av-btn { position: absolute; bottom: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); border: 2px solid var(--bg-primary, #0f172a); color: #fff; font-size: .5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.edit-av-btn:hover { transform: scale(1.15); box-shadow: 0 2px 8px rgba(102,126,234,.4); }
.edit-top-fields { flex: 1; min-width: 0; }
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }
.edit-grid .edit-full { grid-column: 1 / -1; }
.edit-grid .form-group { margin-bottom: 0; }

/* ── Account Top Bar (Logout + Admin) ── */
.account-top-bar {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ── Account Tab — Two columns ── */
.account-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.account-col-left,
.account-col-right {
    min-width: 0;
}
.account-col-right .settings-2col {
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (max-width: 768px) {
    .account-two-col { grid-template-columns: 1fr; }
    .account-col-right .settings-2col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .account-col-right .settings-2col { grid-template-columns: 1fr; }
}

/* ── Activity Tab — 3 columns (stats | timeline | notifications) ── */
.activity-two-col {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 12px;
}
.activity-col-left .activity-stats-grid {
    grid-template-columns: 1fr;
    gap: 6px;
}
.activity-col-right .activity-timeline {
    max-height: 450px;
}
.activity-col-notif {
    min-width: 0;
}
.activity-col-notif #notificationsContent {
    max-height: 450px;
    overflow-y: auto;
}
@media (max-width: 992px) {
    .activity-two-col { grid-template-columns: 180px 1fr; }
    .activity-col-notif { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .activity-two-col { grid-template-columns: 1fr; }
    .activity-col-left .activity-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Settings ── */
.settings-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.settings-2col .settings-section { margin-bottom: 0; }
.settings-section { padding: 12px 14px; margin-bottom: 10px; }
.settings-section-title { font-size: .75rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); display: flex; align-items: center; gap: 5px; }
.settings-section-title i { font-size: .8rem; opacity: .7; }

/* ── Settings Sub-tab Pills ── */
.settings-pills {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(128,128,128,.08);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.settings-pills::-webkit-scrollbar { display: none; }
.settings-pill {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary, #999);
    font-size: .68rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.settings-pill i { font-size: .7rem; }
.settings-pill:hover { color: var(--text-primary, #fff); background: rgba(128,128,128,.1); }
.settings-pill.active {
    color: #fff;
    background: rgb(var(--color-accent-rgb, 59,130,246));
    box-shadow: 0 2px 8px rgba(var(--color-accent-rgb, 59,130,246), .3);
}
[data-theme="light"] .settings-pill.active { color: #fff; }

.settings-stab { display: none; }
.settings-stab.active { display: block; animation: stabFade .2s ease; }
@keyframes stabFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.settings-bottom-bar {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

/* ── Settings compact grid (2 cols) ── */
.settings-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}
.settings-grid-compact .form-group { margin-bottom: 0; }
.settings-grid-compact .form-label { font-size: .68rem; margin-bottom: 2px; opacity: .8; }
.settings-grid-compact .form-control-sm { padding: 4px 8px; font-size: .75rem; }
.settings-subsection {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(128,128,128,.15);
}
.settings-sub-label {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    color: var(--text-secondary, #999);
    margin-bottom: 6px;
}
.settings-sub-label i { margin-right: 4px; opacity: .6; }

@media (max-width: 480px) {
    .settings-grid-compact { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Level Badges ── */
[class*="badge-level-"] { color: #fff; padding: 2px 8px; border-radius: 10px; font-size: .65rem; font-weight: 600; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 3px; }
[class*="badge-level-"] i { font-size: .55rem; }
.badge-level-1 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.badge-level-5 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.badge-level-10 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

/* ── Profile Details ── */
.profile-detail { display: flex; align-items: center; gap: 6px; padding: 5px 8px; font-size: .8rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.04); border-radius: 8px; }
.profile-detail i { font-size: .8rem; opacity: .7; flex-shrink: 0; }
.profile-detail a { color: #667eea; text-decoration: none; font-size: .8rem; }
.profile-detail a:hover { text-decoration: underline; }

/* ── Social Links ── */
.profile-social { padding: 10px 12px; }
.social-links { display: flex; gap: 6px; }
.social-link { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .9rem; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.social-link:hover { transform: translateY(-2px); }
.social-link.twitter { background: #1DA1F2; color: #fff; }
.social-link.discord { background: #5865F2; color: #fff; }
.social-link.github { background: #333; color: #fff; }
.social-link.youtube { background: #FF0000; color: #fff; }
.social-link.twitter:hover { box-shadow: 0 4px 12px rgba(29,161,242,.4); }
.social-link.discord:hover { box-shadow: 0 4px 12px rgba(88,101,242,.4); }
.social-link.github:hover { box-shadow: 0 4px 12px rgba(51,51,51,.4); }
.social-link.youtube:hover { box-shadow: 0 4px 12px rgba(255,0,0,.4); }

/* ── Badges ── */
.profile-badges { padding: 10px 12px; }
.badges-grid { display: flex; flex-wrap: wrap; gap: 5px; }
.badge-item { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; font-size: .72rem; transition: border-color .2s, transform .2s; }
.badge-item:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.15); }
.badge-item i { font-size: .85rem; }
.badge-item .badge-name { font-weight: 600; font-size: .72rem; }
.badge-item .badge-desc { font-size: .6rem; opacity: .6; }

/* ── Messages ── */
.messages-container { max-height: 460px; overflow-y: auto; }
.messages-list { display: flex; flex-direction: column; gap: 3px; }
.message-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 10px; cursor: pointer; transition: background .2s, border-color .2s; }
.message-item:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.message-item-unread { background: rgba(102,126,234,.04); border-left: 2px solid rgba(102,126,234,.5); }
.message-avatar-container { position: relative; flex-shrink: 0; }
.message-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.message-avatar-placeholder { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: #fff; }
.message-unread-dot { position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; background: #ef4444; border: 2px solid var(--bg-primary); border-radius: 50%; }
.message-content { flex: 1; min-width: 0; }
.message-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px; }
.message-header strong { font-size: .78rem; }
.message-time { font-size: .6rem; color: var(--text-secondary); }
.message-preview { font-size: .75rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { padding: 30px 16px; }
.empty-state i { opacity: .25; }

/* ── Activity ── */
.activity-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.activity-stat-card { padding: 10px; display: flex; align-items: center; gap: 8px; }
.activity-stat-card i { font-size: 1.1rem; opacity: .8; }
.stat-value { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: .55rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; }
.activity-timeline { max-height: 400px; overflow-y: auto; }
.activity-item { display: flex; gap: 8px; padding: 8px 10px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.04); border-radius: 8px; margin-bottom: 4px; transition: background .2s; }
.activity-item:hover { background: rgba(255,255,255,.04); }
.activity-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(102,126,234,.08); flex-shrink: 0; }
.activity-icon i { font-size: .8rem; }
.activity-content { flex: 1; min-width: 0; }
.activity-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1px; }
.activity-header strong { color: var(--text-primary); font-size: .78rem; }
.activity-time { font-size: .6rem; color: var(--text-secondary); }
.activity-description { font-size: .75rem; color: var(--text-secondary); margin-bottom: 2px; }
.activity-meta { display: flex; gap: 8px; font-size: .6rem; color: var(--text-secondary); }
.activity-meta span { display: flex; align-items: center; gap: 3px; }

/* ── Danger Zone ── */
.danger-zone { background: rgba(239,68,68,.04); border: 1px solid rgba(239,68,68,.15); border-radius: 10px; padding: 12px 14px; }
.danger-zone .btn-outline-danger { border-color: rgba(239,68,68,.4); color: #ef4444; font-size: .75rem; padding: 5px 12px; border-radius: 8px; transition: all .2s; }
.danger-zone .btn-outline-danger:hover { background: #ef4444; color: #fff; box-shadow: 0 4px 12px rgba(239,68,68,.3); }

/* ── Games / Social / Achievements Sections ── */
/* ── Two-column layout (Challenges+Games | Achievements) ── */
.profile-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.profile-col-left,
.profile-col-right {
    min-width: 0;
}
.profile-two-col .profile-challenges-list { margin: 0 0 12px; }
.profile-two-col .pm-games-grid { grid-template-columns: repeat(2, 1fr); }
.profile-two-col .pm-badges-grid { gap: 4px; }
.profile-two-col .pm-badge { font-size: .62rem; padding: 3px 6px; }

@media (max-width: 768px) {
    .profile-two-col { grid-template-columns: 1fr; gap: 8px; }
}

/* Section titles — gradient line */
.pm-section-title {
    font-size: .72rem; font-weight: 700; margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
    text-transform: uppercase; letter-spacing: .6px;
    color: var(--text-secondary);
}
.pm-section-title i {
    font-size: .8rem;
    background: linear-gradient(135deg, var(--color-accent, #667eea), #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pm-section-title::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(var(--glow, 102,126,234),.2), transparent);
    margin-left: 8px;
}

/* Games Grid — premium cards */
.pm-games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.pm-game-card {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 12px 8px; cursor: default;
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
}
.pm-game-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 12px rgba(var(--glow, 102,126,234),.1);
    border-color: rgba(var(--glow, 102,126,234),.25);
}
.pm-game-card::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); transform: skewX(-20deg); transition: left .5s; pointer-events: none; }
.pm-game-card:hover::after { left: 125%; }
.pm-game-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.pm-game-icon img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.pm-game-name { font-weight: 700; font-size: .72rem; white-space: nowrap; }
.pm-game-stats { display: flex; gap: 6px; }
.pm-gs { display: flex; flex-direction: column; align-items: center; }
.pm-gs-val { font-weight: 800; font-size: .72rem; }
.pm-gs-lbl { font-size: .46rem; text-transform: uppercase; opacity: .5; letter-spacing: .3px; }
.pm-game-extra { font-size: .55rem; opacity: .4; }

.pm-social-counts { display: flex; gap: 14px; justify-content: center; margin-bottom: 8px; padding: 6px 10px; }
.pm-sc { display: flex; flex-direction: column; align-items: center; }
.pm-sc-num { font-weight: 800; font-size: .95rem; }
.pm-sc-lbl { font-size: .55rem; opacity: .5; text-transform: uppercase; letter-spacing: .3px; }
.pm-social-section { margin-bottom: 8px; }
.pm-social-section h6 { font-size: .65rem; font-weight: 700; margin-bottom: 5px; opacity: .5; text-transform: uppercase; letter-spacing: .3px; }
.pm-user-list { display: flex; flex-wrap: wrap; gap: 4px; }
.pm-user-item { display: flex; align-items: center; gap: 4px; padding: 3px 7px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 8px; font-size: .72rem; transition: border-color .2s; }
.pm-user-item:hover { border-color: rgba(102,126,234,.2); }
.pm-user-av { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.pm-user-name { font-weight: 600; }

/* Achievements — glassmorphism stats + badge pills */
.pm-badge-stats {
    display: flex; gap: 14px; justify-content: center; margin-bottom: 10px;
    padding: 10px 14px;
    background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
}
.pm-bs { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pm-bs i { font-size: 1rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.pm-bs span { font-weight: 800; font-size: .9rem; }
.pm-bs small { font-size: .5rem; opacity: .5; text-transform: uppercase; letter-spacing: .3px; }
.pm-badges-grid { display: flex; flex-wrap: wrap; gap: 5px; }
.pm-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 9px; border-radius: 10px;
    font-size: .68rem; font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}
.pm-badge.earned {
    background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(251,191,36,.04));
    border: 1px solid rgba(251,191,36,.2);
    box-shadow: 0 1px 4px rgba(251,191,36,.1);
}
.pm-badge.earned:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251,191,36,.2);
}
.pm-badge.locked {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    opacity: .4;
}
.pm-badge i { font-size: .75rem; }

/* ── Gradient text on stat values ── */
.stat-value, .pm-sc-num, .pm-gs-val, .pm-bs span {
    background: linear-gradient(135deg, #667eea, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stat-counter { display: inline-block; }

/* ── Profile tab overrides ── */
#profileModal .unified-tab { flex-direction: column; gap: 2px; }
#profileModal .unified-tab span.tab-label { font-size: .6rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }

/* ── Section dividers ── */
/* Section dividers — gradient accent */
.profile-section-divider {
    margin: 14px 0 10px; padding-top: 12px;
    border-top: none;
    background: linear-gradient(90deg, transparent, rgba(var(--glow, 102,126,234),.12), transparent);
    height: 1px;
}
[data-theme="light"] .profile-section-divider {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.08), transparent);
}

/* ── Skeleton shimmer ── */
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
.skeleton-line, .skeleton-circle, .skeleton-avatar, .skeleton-badge { background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%); background-size: 400px 100%; animation: shimmer 1.5s ease-in-out infinite; border-radius: 6px; }
.skeleton-line { height: 10px; margin: 6px 0; border-radius: 4px; }
.skeleton-line.w25 { width: 25%; } .skeleton-line.w30 { width: 30%; } .skeleton-line.w40 { width: 40%; } .skeleton-line.w50 { width: 50%; } .skeleton-line.w60 { width: 60%; }
.skeleton-circle { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.skeleton-avatar { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.skeleton-card { padding: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.skeleton-row { display: flex; gap: 16px; justify-content: center; padding: 10px; margin-bottom: 10px; }
.skeleton-list { display: flex; flex-direction: column; gap: 6px; }
.skeleton-user { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: rgba(255,255,255,.02); border-radius: 10px; }
.skeleton-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.skeleton-badge { width: 70px; height: 28px; border-radius: 10px; }

/* ═══════════════════════════════════════════════════
   NOTIFICATIONS TAB
   ═══════════════════════════════════════════════════ */
.notif-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.notif-tab-badge { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; font-size: .55rem; font-weight: 700; padding: 1px 5px; border-radius: 10px; margin-left: 3px; min-width: 14px; text-align: center; line-height: 1.3; }
.pm-notif-item { display: flex; gap: 10px; padding: 10px; border-radius: 10px; margin-bottom: 4px; border: 1px solid transparent; transition: all .2s; }
.pm-notif-item:hover { background: rgba(102,126,234,.05); }
.pm-notif-item.unread { background: rgba(59,130,246,.08); border-left: 3px solid var(--primary-color, #3b82f6); }
.pm-notif-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; color: #fff; }
.pm-notif-icon.reply { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.pm-notif-icon.mention { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.pm-notif-icon.like { background: linear-gradient(135deg, #ef4444, #dc2626); }
.pm-notif-icon.system { background: linear-gradient(135deg, #10b981, #059669); }
.pm-notif-body { flex: 1; min-width: 0; font-size: .82rem; color: var(--text-primary, #f8fafc); }
.pm-notif-title { color: var(--text-secondary, #94a3b8); }
.pm-notif-msg { font-size: .75rem; color: var(--text-secondary, #94a3b8); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-notif-time { font-size: .65rem; color: var(--text-secondary, #64748b); margin-top: 3px; opacity: .7; }
.pm-notif-actions { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.pm-notif-btn { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--text-secondary, #94a3b8); display: flex; align-items: center; justify-content: center; font-size: .7rem; cursor: pointer; transition: all .2s; text-decoration: none; }
.pm-notif-btn:hover { background: var(--primary-color, #3b82f6); color: #fff; border-color: var(--primary-color, #3b82f6); }
.pm-notif-delete:hover { background: #ef4444; border-color: #ef4444; color: #fff; }
[data-theme="light"] .pm-notif-item.unread { background: rgba(59,130,246,.06); }
[data-theme="light"] .pm-notif-item:hover { background: rgba(0,0,0,.03); }
[data-theme="light"] .pm-notif-btn { border-color: rgba(0,0,0,.1); background: rgba(0,0,0,.03); }

/* Light theme — Hero Card */
[data-theme="light"] .profile-hero-card { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .profile-hero-banner { background: linear-gradient(135deg, rgba(59,130,246,.6), rgba(118,75,162,.4)); }
[data-theme="light"] .profile-hero-avatar .profile-avatar-large,
[data-theme="light"] .profile-hero-avatar .profile-avatar-large-placeholder { border-color: #fff; }
[data-theme="light"] .profile-hero-level { border-color: #fff; }
[data-theme="light"] .hero-av-upload { border-color: #fff; }
[data-theme="light"] .profile-hero-stats { border-color: rgba(0,0,0,.08); }
[data-theme="light"] .phs-val { background: linear-gradient(135deg, #3b5fe0, #7c3aed); -webkit-background-clip: text; background-clip: text; }

/* ═══════════════════════════════════════════════════
   THEME PICKER
   ═══════════════════════════════════════════════════ */
.profile-theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; max-height: 180px; overflow-y: auto; padding: 3px 2px; }
.profile-theme-grid::-webkit-scrollbar { width: 4px; }
.profile-theme-grid::-webkit-scrollbar-track { background: transparent; }
.profile-theme-grid::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.profile-theme-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 3px; background: var(--bg-tertiary); border: 2px solid var(--border-color); border-radius: 10px; cursor: pointer; transition: all .2s; }
.profile-theme-btn:hover { border-color: var(--primary-color); background: var(--bg-hover); transform: translateY(-1px); }
.profile-theme-btn.active { border-color: var(--primary-color); background: rgba(var(--primary-rgb),.1); box-shadow: 0 0 0 1px var(--primary-color), 0 2px 8px rgba(var(--primary-rgb),.2); }
.profile-theme-btn.active .pt-name { color: var(--primary-color); font-weight: 700; }
.pt-swatch { display: flex; width: 36px; height: 20px; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.pt-bg, .pt-accent { flex: 1; }
.pt-name { font-size: .6rem; font-weight: 600; color: var(--text-secondary); text-align: center; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (min-width: 1200px) {
    .profile-info-grid { gap: 8px; }
    .pm-games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
    .edit-grid { gap: 6px 12px; }
    .settings-2col { gap: 10px; }
    .profile-avatar-large, .profile-avatar-large-placeholder { width: 80px; height: 80px; }
    .profile-avatar-large-placeholder { font-size: 2rem; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .profile-info-item { padding: 7px 8px; gap: 6px; }
    .profile-info-item i { font-size: .9rem; }
    .profile-info-item p { font-size: .78rem; }
    .pm-game-card { padding: 7px 5px; }
}
@media (min-width: 577px) and (max-width: 767.98px) {
    .profile-info-item { padding: 6px 7px; gap: 5px; }
    .profile-info-item i { font-size: .85rem; }
    .profile-info-item small { font-size: .55rem; }
    .profile-info-item p { font-size: .75rem; }
    .pm-game-card { padding: 7px 5px; }
    .pm-gs-val { font-size: .65rem; }
    .activity-stat-card { padding: 8px; }
    .edit-grid { gap: 5px 8px; }
    .profile-avatar-large, .profile-avatar-large-placeholder { width: 64px; height: 64px; }
    .profile-avatar-large-placeholder { font-size: 1.6rem; }
    #profileModal .unified-tab span.tab-label { font-size: .5rem; }
}

@media (max-width: 576px) {
    .profile-hero-card { margin-bottom: 8px; }
    .profile-hero-banner { height: 60px; }
    .profile-hero-center { margin-top: -32px; padding: 0 12px 8px; }
    .profile-hero-avatar .profile-avatar-large,
    .profile-hero-avatar .profile-avatar-large-placeholder { width: 64px; height: 64px; }
    .profile-hero-name { font-size: .95rem; }
    .profile-hero-meta { font-size: .7rem; }
    .phs-val { font-size: .78rem; }
    .phs-lbl { font-size: .52rem; }
    .profile-info-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .profile-info-item { padding: 6px 7px; gap: 5px; }
    .profile-info-item i { font-size: .8rem; }
    .profile-info-item small { font-size: .55rem; }
    .profile-info-item p { font-size: .72rem; }
    .profile-avatar-large, .profile-avatar-large-placeholder { width: 56px; height: 56px; }
    .profile-avatar-large-placeholder { font-size: 1.4rem; }
    #profileModal .unified-tab span.tab-label { font-size: .48rem; letter-spacing: 0; }
    #profileModal .unified-tab { gap: 1px; }
    #profileModal .unified-tab i { font-size: .85rem; }
    .profile-bio, .profile-social { padding: 8px 10px; }
    .social-link { width: 28px; height: 28px; font-size: .8rem; }
    .pm-games-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .pm-game-card { padding: 6px 5px; }
    .pm-game-name { font-size: .65rem; }
    .pm-social-counts { gap: 10px; padding: 5px 8px; }
    .pm-sc-num { font-size: .85rem; }
    .pm-badge-stats { gap: 6px; padding: 5px 8px; }
    .pm-bs i { font-size: .8rem; }
    .pm-bs span { font-size: .75rem; }
    .activity-stats-grid { gap: 4px; }
    .activity-stat-card { padding: 7px; gap: 5px; }
    .activity-stat-card i { font-size: .95rem; }
    .stat-value { font-size: 1rem; }
    .stat-label { font-size: .5rem; }
    .edit-grid { grid-template-columns: 1fr; }
    .edit-top-row { gap: 8px; }
    .edit-av-img, .edit-av-placeholder { width: 44px; height: 44px; }
    .settings-2col { grid-template-columns: 1fr; }
    .settings-section { padding: 8px 10px; margin-bottom: 6px; }
    .settings-section-title { font-size: .7rem; margin-bottom: 6px; }
    .profile-section-divider { margin: 10px 0 6px; padding-top: 8px; }
    .pm-section-title { font-size: .7rem; margin-bottom: 6px; }
    .profile-detail { padding: 4px 7px; font-size: .75rem; }
    .danger-zone { padding: 8px 10px; }
    .activity-timeline { max-height: 280px; }
    .activity-item { padding: 6px 8px; gap: 6px; }
    .pm-notif-item { padding: 8px 6px; gap: 6px; }
    .pm-notif-icon { width: 28px; height: 28px; font-size: .75rem; }
    .pm-notif-body { font-size: .78rem; }
    .pm-notif-msg { display: none; }
    .pm-notif-btn { width: 24px; height: 24px; }
    .profile-theme-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 4px; max-height: 140px; }
    .profile-theme-btn { padding: 5px 2px; }
    .pt-swatch { width: 30px; height: 18px; }
    .pt-name { font-size: .55rem; }
}

@media (max-width: 400px) {
    .profile-hero-card { border-radius: 12px; }
    .profile-hero-banner { height: 50px; }
    .profile-hero-center { margin-top: -28px; padding: 0 8px 6px; }
    .profile-hero-avatar .profile-avatar-large,
    .profile-hero-avatar .profile-avatar-large-placeholder { width: 56px; height: 56px; }
    .profile-hero-name { font-size: .88rem; }
    .profile-hero-meta { font-size: .65rem; }
    .profile-hero-stats { margin: 0 8px; padding: 8px 0 6px; }
    .phs-val { font-size: .72rem; }
    .phs-lbl { font-size: .48rem; }
    .profile-info-grid { gap: 3px; }
    .profile-info-item { padding: 5px 6px; gap: 4px; }
    .profile-info-item p { font-size: .7rem; }
    .profile-avatar-large, .profile-avatar-large-placeholder { width: 48px; height: 48px; }
    .profile-avatar-large-placeholder { font-size: 1.2rem; }
    #profileModal .unified-tab span.tab-label { display: none; }
    #profileModal .unified-tab { padding: 7px 3px; }
    .pm-games-grid { gap: 3px; }
    .pm-game-card { padding: 5px 3px; }
    .pm-game-icon { width: 26px; height: 26px; }
    .activity-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
    .activity-stat-card { padding: 5px; }
    .stat-value { font-size: .9rem; }
    .profile-view-header h3 { font-size: .95rem; }
}

/* ── Profile Game Stats Grid ── */
.profile-game-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.profile-gs-card { background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px 10px; text-align: center; transition: transform 0.2s, border-color 0.2s; }
.profile-gs-card:hover { transform: translateY(-2px); border-color: var(--primary-color); }
.profile-gs-icon { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 6px; }
.profile-gs-val { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.profile-gs-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
@media (max-width: 480px) { .profile-game-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .profile-gs-card { padding: 10px 8px; } .profile-gs-val { font-size: 1rem; } }

/* ── Profile Challenges List ── */
/* Challenges — premium cards */
.profile-challenges-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.profile-ch-item {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px; padding: 12px 14px;
    position: relative;
    transition: border-color .3s, box-shadow .3s, transform .2s;
}
.profile-ch-item:hover {
    border-color: rgba(var(--color-accent-rgb, 59,130,246),.35);
    box-shadow: 0 4px 16px rgba(0,0,0,.2), 0 0 8px rgba(var(--color-accent-rgb, 59,130,246),.08);
    transform: translateX(3px);
}
.profile-ch-done { opacity: 0.6; }
.profile-ch-done .profile-ch-bar-fill { background: var(--success) !important; }
.profile-ch-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(var(--primary-rgb), 0.15); color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.profile-ch-body { flex: 1; min-width: 0; }
.profile-ch-title { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-ch-bar { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.profile-ch-bar-track { flex: 1; height: 5px; background: var(--bg-quaternary); border-radius: 3px; overflow: hidden; }
.profile-ch-bar-fill { height: 100%; background: var(--primary-color); border-radius: 3px; transition: width 0.3s; }
.profile-ch-pct { font-size: 0.65rem; color: var(--text-muted); white-space: nowrap; }
.profile-ch-rewards { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.profile-ch-rw { font-size: 0.65rem; color: var(--text-secondary); white-space: nowrap; }
.profile-ch-rw i { margin-right: 2px; }
.profile-ch-rw:first-child i { color: var(--warning); }
.profile-ch-rw:last-child i { color: var(--info); }
.profile-ch-check { position: absolute; top: 6px; right: 8px; color: var(--success); font-size: 0.9rem; }
@media (max-width: 480px) { .profile-ch-item { padding: 8px 10px; gap: 8px; } .profile-ch-icon { width: 28px; height: 28px; font-size: 0.8rem; } .profile-ch-rewards { display: none; } }

/* ── Landscape Mobile — Compact Profile ── */
@media (orientation: landscape) and (max-height: 500px) {
    /* Hero card — horizontal layout, super compact */
    .profile-hero-card { margin-bottom: 4px; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 6px 10px; }
    .profile-hero-banner { display: none; }
    .profile-hero-center { margin-top: 0; padding: 0; text-align: left; flex: 1; min-width: 0; }
    .profile-hero-avatar { flex-shrink: 0; }
    .profile-hero-avatar .profile-avatar-large,
    .profile-hero-avatar .profile-avatar-large-placeholder {
        width: 40px; height: 40px; border-width: 2px;
    }
    .profile-hero-level { font-size: 0.55rem; padding: 1px 4px; }
    .profile-hero-name { font-size: 0.78rem; margin: 0; }
    .profile-hero-meta { font-size: 0.6rem; display: none; }
    .profile-hero-stats { padding: 2px 0 0; gap: 6px; border: none; }
    .phs-val { font-size: 0.72rem; }
    .phs-label { font-size: 0.5rem; }
    .phs-item { gap: 0; }

    /* Two-col stays side by side */
    .profile-two-col { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }

    /* Section titles smaller */
    .pm-section-title { font-size: 0.62rem; margin-bottom: 4px; }

    /* Tabs compact — single row */
    .profile-tabs { gap: 1px; padding: 2px; margin-bottom: 4px; }
    .profile-tab { padding: 3px 6px; font-size: 0.65rem; gap: 2px; }
    .profile-tab .material-symbols-rounded { font-size: 14px; }

    /* Games grid compact */
    .pm-game-card { padding: 6px; }
    .pm-game-icon { width: 28px; height: 28px; font-size: 14px; }
    .pm-game-name { font-size: 0.65rem; }

    /* Badges compact */
    .pm-badge { font-size: 0.58rem; padding: 2px 5px; }

    /* Notifications compact */
    .pm-notif-item { padding: 6px 8px; }

    /* Theme grid compact */
    .profile-theme-grid { max-height: 120px; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 4px; }

    /* Challenges compact */
    .profile-ch-item { padding: 6px 8px; gap: 6px; }
    .profile-ch-icon { width: 28px; height: 28px; font-size: 0.75rem; }

    /* Bootstrap modal — full height, scrollable */
    #profileModal .modal-dialog {
        margin: 0 auto !important;
        max-width: 95vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 4px 0 !important;
    }
    #profileModal .modal-content {
        height: calc(100vh - 8px) !important;
        height: calc(100dvh - 8px) !important;
        max-height: calc(100vh - 8px) !important;
        overflow: hidden !important;
    }
    #profileModal .modal-body {
        flex: 1 1 0 !important;
        overflow-y: auto !important;
        padding: 6px 10px !important;
        max-height: none !important;
    }
    #profileModal .modal-header {
        padding: 4px 10px !important;
        min-height: 0 !important;
    }
    #profileModal .tab-content-wrapper {
        overflow-y: auto !important;
        max-height: none !important;
    }
    /* Unified tabs compact */
    .unified-tab {
        padding: 4px 8px !important;
        font-size: 0.68rem !important;
        gap: 2px !important;
        min-height: 0 !important;
    }
    .unified-tab .material-symbols-rounded {
        font-size: 15px !important;
    }
    .unified-tabs-header {
        gap: 2px !important;
        padding: 3px !important;
    }
}
