/* ===================== USER PROFILE PAGE ===================== */
.profile-page {
    padding: 0 0 52px;
}

.profile-shell { }

.profile-hero {
    position: relative;
    margin-bottom: 14px;
}

.profile-banner {
    height: 180px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    position: relative;
}

.profile-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 15, 19, .85));
}

.profile-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -48px;
    padding: 0 24px 20px;
    position: relative;
    z-index: 1;
}

.profile-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    border: 3px solid var(--panel);
    background: linear-gradient(145deg, #282d36, #11141a);
    object-fit: cover;
}

.profile-avatar-fallback {
    display: grid;
    place-items: center;
    color: var(--accent-bright);
    font-size: 36px;
    font-weight: 900;
}

.profile-level-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 2px solid var(--panel);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.profile-info {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}

.profile-name {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.02em;
    color: var(--text);
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

.profile-username {
    color: var(--muted);
    font-size: 13px;
}

.profile-clan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid var(--accent-border);
    border-radius: 4px;
    color: var(--accent-bright);
    background: var(--accent-soft);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-quick-stats {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.pqs-item {
    text-align: center;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    min-width: 80px;
}

.pqs-item strong {
    display: block;
    font-size: 16px;
    color: var(--text);
}

.pqs-item span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.profile-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.ptab {
    flex: 1;
    display: block;
    padding: 10px 16px;
    border: 0;
    border-radius: 5px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    transition: all .15s;
}

.ptab.active {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 5px 15px rgba(153, 0, 51, .24);
}

.ptab:hover:not(.active) {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
}

.profile-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.profile-panel {
    border: var(--lg-border, 1px solid var(--line-glass));
    border-radius: var(--lg-radius, var(--radius));
    background: var(--panel-glass);
    backdrop-filter: var(--lg-blur, blur(20px) saturate(1.6));
    -webkit-backdrop-filter: var(--lg-blur, blur(20px) saturate(1.6));
    box-shadow: var(--lg-rim, none), var(--lg-ambient, var(--glass-highlight));
    overflow: hidden;
}

.pp-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--raised);
    color: var(--muted-strong);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.pp-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 6px;
    color: #fff;
    background: var(--accent-soft);
    font-size: 10px;
}

.pp-body {
    padding: 4px 0;
}
.pp-body.no-pad { padding: 0; }

.recent-viewers-list{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px}
.recent-viewer-avatar{width:32px;height:32px;border-radius:50%;border:2px solid var(--line)}
.recent-viewer:hover .recent-viewer-avatar{border-color:var(--accent)}

.activity-row{
    display:flex;flex-direction:column;gap:2px;padding:10px 16px;
    border-bottom:1px solid var(--line-soft);
}
.activity-row:last-child{border-bottom:0}
.activity-row:hover{background:rgba(255,255,255,.02)}
.activity-title{font-weight:600;color:var(--text);font-size:.85rem}
.activity-excerpt{color:var(--muted-strong);font-size:.78rem}
.activity-meta{color:var(--muted);font-size:.72rem}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid var(--line-soft);
}

.stat-row:last-child {
    border-bottom: 0;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
}

.stat-value {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.mode-summary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--line-soft);
}

.mode-summary-row:last-child {
    border-bottom: 0;
}

.mode-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.mode-name {
    flex: 1;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.mode-stats-inline {
    display: flex;
    gap: 14px;
    color: var(--muted);
    font-size: 11px;
}

.mode-stats-inline strong {
    color: var(--text);
}

@media (max-width: 780px) {
    .profile-header { flex-direction: column; align-items: center; text-align: center; }
    .profile-meta { justify-content: center; }
    .profile-quick-stats { width: 100%; justify-content: center; }
    .profile-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
    .profile-shell { }
    .profile-banner { height: 120px; }
    .profile-avatar { width: 128px; height: 128px; border-radius: 12px; border: 3px solid var(--panel); background: linear-gradient(145deg, #282d36, #11141a); object-fit: cover; }
    .profile-quick-stats { flex-wrap: wrap; }
    .pqs-item { flex: 1; min-width: 70px; }
}

/* ===================== PROFILE EDIT / UPLOADS ===================== */
.upload-grid-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.upload-section-card {
    background: var(--field);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    transition: border-color 0.2s ease;
}

.upload-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}

.upload-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-ratio-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(153, 0, 51, 0.2);
    color: var(--accent-bright);
    border: 1px solid rgba(204, 0, 68, 0.3);
}

.upload-nogif-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(233, 82, 91, 0.15);
    color: #ff6b72;
    border: 1px solid rgba(233, 82, 91, 0.3);
}

.upload-main-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .upload-main-layout {
        grid-template-columns: 1fr;
    }
}

/* Large Drag & Drop Dropzone */
.dropzone-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    padding: 28px 20px;
    background: linear-gradient(180deg, rgba(26, 30, 37, 0.5), rgba(16, 19, 25, 0.7));
    border: 2px dashed rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.dropzone-box:hover {
    border-color: var(--accent-bright);
    background: linear-gradient(180deg, rgba(153, 0, 51, 0.1), rgba(26, 30, 37, 0.5));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.dropzone-box.dragover {
    border-color: var(--accent-bright);
    border-style: solid;
    background: rgba(153, 0, 51, 0.18);
    box-shadow: 0 0 28px rgba(204, 0, 68, 0.4);
    transform: scale(1.01);
}

.dropzone-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    color: var(--accent-bright);
    display: grid;
    place-items: center;
    background: rgba(153, 0, 51, 0.15);
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.dropzone-box:hover .dropzone-icon {
    transform: scale(1.12);
}

.dropzone-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.dropzone-title span {
    color: var(--accent-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dropzone-subtitle {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
    max-width: 320px;
}

.dropzone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.dropzone-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dropzone-tag.danger {
    background: rgba(233, 82, 91, 0.1);
    color: #ff757b;
    border-color: rgba(233, 82, 91, 0.25);
}

.dropzone-file-input {
    display: none !important;
}

/* Live Preview Areas */
.preview-container-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.preview-badge-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-badge-label .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    box-shadow: 0 0 6px var(--green);
}

.avatar-preview-wrapper {
    position: relative;
}

.avatar-preview-display {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid var(--panel);
    background: linear-gradient(145deg, #282d36, #11141a);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    transition: all 0.2s ease;
}

.avatar-preview-fallback {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: linear-gradient(145deg, #282d36, #11141a);
    border: 3px solid var(--panel);
    display: grid;
    place-items: center;
    color: var(--accent-bright);
    font-size: 40px;
    font-weight: 900;
}

.avatar-mini-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.avatar-mini-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-border);
}

/* Banner Live Preview Card */
.banner-preview-card {
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 120px;
    background: #11141a;
    border: 1px solid var(--line);
}

.banner-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-preview-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
    background: repeating-linear-gradient(45deg, #15181e, #15181e 10px, #1a1e25 10px, #1a1e25 20px);
}

.banner-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(13, 15, 19, 0.85) 100%);
    pointer-events: none;
}

.banner-preview-profile-mock {
    position: absolute;
    bottom: 10px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.banner-preview-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid #fff;
    object-fit: cover;
}

.banner-preview-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.btn-recrop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.btn-recrop:hover {
    background: var(--panel);
    border-color: var(--accent-border);
    color: var(--accent-bright);
}

.crop-status-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* Cropper Modal */
.cropper-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 6, 9, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cropper-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cropper-modal-window {
    background: #15181e;
    border: 1px solid var(--line);
    border-radius: 16px;
    width: 100%;
    max-width: 660px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cropper-modal-overlay.active .cropper-modal-window {
    transform: scale(1) translateY(0);
}

.cropper-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #12151a;
}

.cropper-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cropper-close-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cropper-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.cropper-canvas-box {
    height: 380px;
    max-height: 52vh;
    background: #090b0e;
    position: relative;
    overflow: hidden;
}

.cropper-canvas-box img {
    display: block;
    max-width: 100%;
}

.cropper-toolbar-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #101319;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
}

.cropper-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--raised);
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cropper-tool-btn:hover {
    background: var(--line);
    color: var(--accent-bright);
    border-color: var(--accent-border);
}

.cropper-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 20px;
    background: #12151a;
}

/* Floating Toast Notification */
.settings-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100002;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #15181e;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.settings-toast.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.settings-toast.success {
    border-color: rgba(47, 201, 105, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(47, 201, 105, 0.2);
}

.settings-toast.error {
    border-color: rgba(233, 82, 91, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(233, 82, 91, 0.2);
}

.settings-toast-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.settings-toast.success .settings-toast-icon {
    background: rgba(47, 201, 105, 0.2);
    color: var(--green);
}

.settings-toast.error .settings-toast-icon {
    background: rgba(233, 82, 91, 0.2);
    color: var(--red);
}

.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: settings-spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes settings-spin {
    to { transform: rotate(360deg); }
}

/* Legacy support styles */
.upload-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--field);
}

.upload-preview-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.upload-preview-img.banner-img {
    width: 200px;
    height: 50px;
}

.upload-preview-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: var(--raised);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--accent-bright);
    font-size: 28px;
    font-weight: 900;
}

.banner-placeholder {
    width: 200px;
    height: 50px;
    font-size: 11px;
    color: var(--muted);
}

.upload-info {
    flex: 1;
}

.upload-info p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.file-input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--field);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
}

.file-input:hover {
    border-color: var(--accent-border);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
}

/* Hero avatar */
.hero-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 9px;
    border: 1px solid var(--accent-border);
    object-fit: cover;
    z-index: 1;
}

.hero-avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 9px;
    border: 1px solid var(--accent-border);
    background: linear-gradient(145deg, #282d36, #11141a);
    display: grid;
    place-items: center;
    color: var(--accent-bright);
    font-size: 28px;
    font-weight: 900;
    z-index: 1;
}

/* How to donate */
.how-to-donate {
    display: grid;
    gap: 14px;
}

.htd-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--raised);
}

.htd-num {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    font-size: 14px;
    font-weight: 900;
    flex: 0 0 auto;
}

.htd-step strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 2px;
}

.htd-step p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

/* ===================== PROFILE SOCIAL ===================== */
.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.profile-actions form{margin:0}
.profile-more{position:relative}
.profile-more summary{list-style:none;cursor:pointer}
.profile-more summary::-webkit-details-marker{display:none}
.profile-more-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:20;min-width:180px;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 10px 30px rgba(0,0,0,.4)}
.profile-more-menu button{width:100%;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#ff9ca1;font:inherit;font-size:.83rem;text-align:left;cursor:pointer}
.profile-more-menu button:hover{background:var(--raised)}
.profile-follow-stat{color:var(--muted);font-size:.82rem;text-decoration:none}
.profile-follow-stat strong{color:var(--text)}
a.profile-follow-stat:hover strong{color:var(--accent-bright)}
.profile-mutuals{display:flex;align-items:center;gap:8px;margin-top:8px;color:var(--muted);font-size:.78rem}
.profile-mutuals a{color:var(--text);font-weight:600;text-decoration:none}
.profile-mutual-avatars{display:inline-flex}
.profile-mutual-avatars img{width:20px;height:20px;border-radius:50%;border:2px solid var(--panel);margin-left:-6px;object-fit:cover;background:var(--field)}
.profile-mutual-avatars img:first-child{margin-left:0}
.profile-about{margin-bottom:14px}
.profile-about .pp-body{padding:14px 18px}
.profile-bio{margin:0 0 10px;color:var(--text);font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
.profile-about-links{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:.82rem}
.profile-about-links span,.profile-about-links a{display:inline-flex;align-items:center;gap:6px}
.profile-about-links a{color:var(--accent-bright);text-decoration:none}
.stat-value a{color:inherit;text-decoration:none;border-bottom:1px dashed var(--line)}
.stat-value a:hover{color:var(--accent-bright)}

/* Profile header: name, meta, social, actions as separate rows */
.profile-info{display:flex;flex-direction:column;gap:7px}
.profile-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.profile-name-row .profile-name{margin:0;line-height:1.15}
.profile-info .profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.profile-pvp-badge{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border:1px solid #e8637d45;border-radius:4px;background:#e8637d18;color:#e8637d;font-size:10px;font-weight:800;text-transform:uppercase}
.profile-pvp-rank{opacity:.8}
.profile-social{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:.82rem}
.profile-follow-stat{color:var(--muted);text-decoration:none}
.profile-follow-stat strong{color:var(--text);font-weight:800;margin-right:2px}
a.profile-follow-stat:hover,a.profile-follow-stat:hover strong{color:var(--accent-bright)}
.profile-social .profile-mutuals{display:inline-flex;align-items:center;gap:7px;margin:0;padding-left:16px;border-left:1px solid var(--line);font-size:.78rem}
.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px}
.profile-actions .btn{display:inline-flex;align-items:center;gap:6px}
@media (max-width:780px){
    .profile-name-row,.profile-info .profile-meta,.profile-social,.profile-actions{justify-content:center}
    .profile-social .profile-mutuals{padding-left:0;border-left:0;width:100%;justify-content:center}
    .profile-more-menu{left:auto;right:0}
}
