.profile-page {
    padding: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.profile-header {
    position: relative;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);

    overflow: hidden;

    margin-bottom: 20px;
}

.profile-banner-wrap {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;
}

.profile-banner {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--color-bg-tertiary);
}

.profile-banner-empty {
    background:
        linear-gradient(135deg, var(--color-bg-tertiary), var(--color-surface-hover));
}

.profile-banner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;

    padding: 12px 14px;

    pointer-events: none;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.profile-banner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    pointer-events: auto;
}

.profile-banner-badge {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    height: 26px;

    padding: 0 10px;

    color: #ffffff;
    background: rgba(20, 24, 30, 0.6);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;

    white-space: nowrap;
    text-decoration: none;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.profile-banner-badge i {
    font-size: 11px;
}

.profile-banner-badge-link {
    cursor: pointer;
}

.profile-banner-badge-link:hover {
    background: rgba(20, 24, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

.profile-banner-badge[data-tooltip]::after {
    content: attr(data-tooltip);

    position: absolute;
    z-index: 300;

    top: calc(100% + 10px);
    left: 0;

    padding: 7px 10px;

    max-width: 260px;
    width: max-content;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    box-shadow: var(--shadow);

    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    text-align: left;
    text-shadow: none;

    pointer-events: none;
    opacity: 0;

    transform: translateY(-4px);

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.profile-banner-badge[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.profile-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-left: auto;

    pointer-events: auto;
    flex-shrink: 0;
}

.profile-banner-btn {
    height: 28px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 0 12px;

    color: #ffffff;
    background: rgba(20, 24, 30, 0.6);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    font-size: 11.5px;
    font-weight: 600;

    cursor: pointer;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.profile-banner-btn i {
    font-size: 11px;
}

.profile-banner-btn:hover {
    background: rgba(20, 24, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.35);
}

.profile-banner-btn.danger:hover {
    color: #ffd7d7;
    background: rgba(160, 32, 32, 0.75);
    border-color: rgba(255, 120, 120, 0.55);
}

.profile-banner-btn.success:hover {
    color: #d7ffe1;
    background: rgba(32, 120, 60, 0.75);
    border-color: rgba(120, 220, 160, 0.55);
}

.profile-banner-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.profile-banner-clans {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    min-width: 0;
}

.profile-banner-clan {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    height: 28px;

    padding: 0 10px 0 4px;

    color: #ffffff;
    background: rgba(20, 24, 30, 0.6);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    text-decoration: none;

    font-size: 11.5px;
    font-weight: 600;

    white-space: nowrap;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.profile-banner-clan:hover {
    background: rgba(20, 24, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    text-decoration: none;
}

.profile-banner-clan-avatar {
    width: 22px;
    height: 22px;
    flex-shrink: 0;

    border-radius: 50%;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.profile-banner-clan-info {
    display: flex;
    align-items: center;
    gap: 6px;

    min-width: 0;
    max-width: 200px;
}

.profile-banner-clan-name-row {
    display: flex;
    align-items: center;
    gap: 4px;

    min-width: 0;
}

.profile-banner-clan-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    max-width: 140px;

    color: #ffffff;
}

.profile-banner-clan-verified {
    width: 12px;
    height: 12px;
    flex-shrink: 0;

    object-fit: contain;
}

.profile-banner-clan-role {
    display: inline-flex;
    align-items: center;
    gap: 3px;

    height: 16px;
    padding: 0 6px;

    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;

    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.02em;

    white-space: nowrap;

    max-width: 100px;

    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-banner-clan-role i {
    font-size: 8px;
    flex-shrink: 0;
}

.profile-banner-clan[data-tooltip]::after {
    content: attr(data-tooltip);

    position: absolute;
    z-index: 300;

    top: calc(100% + 10px);
    right: 0;

    padding: 7px 10px;

    max-width: 260px;
    width: max-content;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    box-shadow: var(--shadow);

    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    text-align: left;
    text-shadow: none;

    pointer-events: none;
    opacity: 0;

    transform: translateY(-4px);

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.profile-banner-clan[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.profile-actions {
    position: relative;
}

.profile-actions-dropdown {
    position: absolute;
    z-index: 100;

    top: calc(100% + 6px);
    right: 0;

    min-width: 200px;

    padding: 6px;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px) scale(0.98);

    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast);
}

.profile-actions.open .profile-actions-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.profile-actions-item {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px 10px;

    color: var(--color-text-secondary);
    background: transparent;

    border: 0;
    border-radius: var(--radius-small);

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    text-align: left;
    text-decoration: none;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast);
}

.profile-actions-item i {
    width: 14px;
    font-size: 11px;
    text-align: center;
}

.profile-actions-item:hover {
    color: var(--color-text);
    background: var(--color-surface-hover);
    text-decoration: none;
}

.profile-actions-item.danger {
    color: var(--color-danger);
}

.profile-actions-item.danger:hover {
    color: var(--color-danger);
    background: rgba(220, 85, 85, 0.1);
}

.profile-actions-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.profile-actions-divider {
    height: 1px;

    margin: 6px 0;

    background: var(--color-border);
}

.profile-header-inner {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 0 24px 22px;
    margin-top: 0;
}

.profile-header-inner > .profile-avatar-wrap {
    margin-top: -60px;
}

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

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

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

    display: block;

    object-fit: cover;
    border-radius: 50%;

    border: 4px solid var(--color-surface);

    background: var(--color-bg-tertiary);

    position: relative;
    z-index: 1;
}

.profile-avatar-frame {
    position: relative;

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    overflow: visible;
}

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

.profile-avatar-frame-image {
    overflow: visible;
}

.profile-avatar-frame-overlay-wrap {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 124px;
    height: 124px;

    transform: translate(-50%, -50%);

    overflow: hidden;

    pointer-events: none;
    user-select: none;
    z-index: 2;
}

.profile-avatar-frame-overlay {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    pointer-events: none;
    user-select: none;
}

.profile-avatar-frame-css {
    overflow: visible;
}

.profile-avatar-banned {
    position: absolute;
    right: 4px;
    bottom: 4px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--color-danger);
    color: #fff;

    border: 3px solid var(--color-surface);
    border-radius: 50%;

    font-size: 11px;

    z-index: 3;
}

.profile-header-body {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 8px;

    padding-top: 12px;
}

.profile-header-info {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 0;

    padding-top: 0;
    padding-bottom: 0;
}

.profile-username-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    min-width: 0;
}

.profile-username {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;

    word-break: break-word;

    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-username-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    vertical-align: middle;
}

.profile-badge-img {
    width: 24px;
    height: 24px;

    display: inline-block;

    object-fit: contain;

    vertical-align: middle;

    user-select: none;
    pointer-events: none;
}

.profile-roles {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-role {
    display: inline-flex;
    align-items: center;

    height: 22px;

    padding: 0 10px;

    color: var(--color-text-secondary);
    background: var(--color-bg-tertiary);

    border: 1px solid var(--color-border);
    border-radius: 11px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;

    white-space: nowrap;
}

.profile-status {
    margin-top: 4px;
    color: var(--color-text-secondary);
    font-size: 13px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;

    margin-top: 10px;

    color: var(--color-text-muted);
    font-size: 12px;
}

.profile-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-meta i {
    font-size: 11px;
}

.profile-meta-badge {
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.achievement-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    align-self: flex-end;

    margin-left: auto;
    padding-bottom: 4px;

    max-width: 260px;

    justify-content: flex-end;

    overflow: visible;
}

.achievement-badge {
    position: relative;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--ach-color, #ffffff);
    background: var(--color-bg-tertiary);

    border: 1px solid var(--color-border);
    border-radius: 50%;

    font-size: 12px;

    cursor: help;

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.achievement-badge:hover {
    transform: translateY(-2px);
    border-color: var(--ach-color, var(--color-border-light));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.achievement-badge::after {
    content: attr(data-tooltip);

    position: absolute;
    z-index: 300;

    bottom: calc(100% + 10px);
    right: 0;

    padding: 7px 10px;

    max-width: 240px;
    width: max-content;

    white-space: normal;
    word-wrap: break-word;

    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    box-shadow: var(--shadow);

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;

    pointer-events: none;
    opacity: 0;

    transform: translateY(4px);

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.achievement-badge:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-section {
    padding: 20px;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
}

.profile-section h2 {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.1px;
}

.profile-bio {
    color: var(--color-text-secondary);
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.profile-bio-empty {
    color: var(--color-text-muted);
    font-style: italic;
}

.profile-about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;

    align-items: start;
}

.profile-about-text {
    min-width: 0;
}

.profile-section-about.has-music .profile-about-text {
    padding-right: 20px;

    border-right: 1px solid var(--color-border);
}

.profile-music {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 14px;

    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    transition: border-color var(--transition-fast);
}

.profile-music.playing {
    border-color: var(--color-border-light);
}

.profile-music-cover {
    position: relative;

    height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #4f93e0;
    background:
        radial-gradient(circle at 30% 30%, rgba(79, 147, 224, 0.18), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(79, 147, 224, 0.12), transparent 55%),
        var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    font-size: 26px;

    overflow: hidden;
}

.profile-music-wave {
    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 12px;

    height: 14px;

    display: flex;
    align-items: flex-end;
    gap: 3px;

    opacity: 0.6;
}

.profile-music-wave span {
    flex: 1;

    height: 30%;

    background: currentColor;

    border-radius: 2px;

    transition: height 0.25s ease;
}

.profile-music.playing .profile-music-wave span {
    animation: profile-music-wave 1.05s infinite ease-in-out;
}

.profile-music-wave span:nth-child(1) { animation-delay: 0s; }
.profile-music-wave span:nth-child(2) { animation-delay: 0.15s; }
.profile-music-wave span:nth-child(3) { animation-delay: 0.3s; }
.profile-music-wave span:nth-child(4) { animation-delay: 0.45s; }
.profile-music-wave span:nth-child(5) { animation-delay: 0.6s; }

@keyframes profile-music-wave {
    0%, 100% { height: 25%; }
    50%      { height: 95%; }
}

.profile-music-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-music-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
}

.profile-music-subtitle {
    color: var(--color-text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.profile-music-progress {
    position: relative;

    height: 6px;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: 3px;

    overflow: hidden;

    cursor: pointer;
}

.profile-music-progress-bar {
    height: 100%;
    width: 0%;

    background: var(--color-text);
    border-radius: 3px;

    transition: width 0.1s linear;
}

.profile-music-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-music-btn {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--color-text-secondary);
    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: 50%;

    font-size: 12px;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.profile-music-btn:hover {
    color: var(--color-text);
    background: var(--color-surface-hover);
    border-color: var(--color-border-light);
}

.profile-music-btn[data-music-toggle] {
    color: var(--color-primary-text);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.profile-music-btn[data-music-toggle]:hover {
    opacity: 0.9;
    color: var(--color-primary-text);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.profile-empty {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px;

    color: var(--color-text-muted);
    font-size: 12px;

    background: var(--color-bg-tertiary);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
}

.profile-empty i {
    font-size: 14px;
}

.profile-blocked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 50px 30px;

    text-align: center;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
}

.profile-blocked-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-danger);
    background: rgba(220, 85, 85, 0.08);

    border: 1px solid rgba(220, 85, 85, 0.25);
    border-radius: 50%;

    font-size: 24px;
}

.profile-blocked h2 {
    font-size: 17px;
    font-weight: 700;
}

.profile-blocked p {
    max-width: 400px;

    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.profile-blocked .forum-post-action-btn {
    margin-top: 6px;
}

.profile-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 30px;

    text-align: center;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
}

.profile-error-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-danger);
    background: rgba(220, 85, 85, 0.08);

    border: 1px solid rgba(220, 85, 85, 0.25);
    border-radius: 50%;

    font-size: 22px;
}

.profile-error h2 {
    font-size: 16px;
    font-weight: 700;
}

.profile-error p {
    max-width: 360px;

    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.profile-error .forum-post-action-btn {
    margin-top: 6px;
}

.forum-post-action-btn {
    height: 36px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0 16px;

    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);

    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    font-size: 13px;
    font-weight: 600;

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        opacity var(--transition-fast);
}

.forum-post-action-btn i {
    font-size: 12px;
}

.forum-post-action-btn:hover {
    color: var(--color-text);
    background: var(--color-surface-hover);
    border-color: var(--color-border-light);
}

.forum-post-action-btn.primary {
    background: var(--color-primary);
    color: var(--color-primary-text);
    border-color: var(--color-primary);
}

.forum-post-action-btn.primary:hover {
    opacity: 0.9;
    background: var(--color-primary);
    color: var(--color-primary-text);
    border-color: var(--color-primary);
}

.profile-loading {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    overflow: hidden;
}

.profile-skeleton-banner {
    position: relative;
    height: 220px;
    background: var(--color-bg-tertiary);
    overflow: hidden;
}

.profile-skeleton-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 0 24px 22px;
    margin-top: 0;
}

.profile-skeleton-header .profile-skeleton-avatar {
    margin-top: -60px;
}

.profile-skeleton-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;

    background: var(--color-bg-tertiary);
    border: 4px solid var(--color-surface);

    position: relative;
    overflow: hidden;
}

.profile-skeleton-info {
    flex: 1;
    padding-top: 12px;
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-skeleton-line {
    height: 12px;
    background: var(--color-bg-tertiary);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.profile-skeleton-name {
    width: 180px;
    height: 20px;
}

.profile-skeleton-status {
    width: 120px;
    height: 10px;
}

.profile-skeleton-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 100%);
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

.report-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.7);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.12s ease,
        visibility 0.12s ease;
}

.report-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.report-modal {
    width: 100%;
    max-width: 480px;

    display: flex;
    flex-direction: column;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow);

    transform: translateY(-8px);

    transition: transform 0.12s ease;
}

.report-modal-overlay.active .report-modal {
    transform: translateY(0);
}

.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 16px;

    border-bottom: 1px solid var(--color-border);
}

.report-modal-header h2 {
    font-size: 14px;
    font-weight: 700;
}

.report-modal-close {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-text-secondary);
    background: var(--color-bg-tertiary);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    font-size: 12px;

    cursor: pointer;

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.report-modal-close:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-light);
}

.report-modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 16px;
}

.report-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-field > span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.report-field select,
.report-field textarea {
    width: 100%;

    padding: 8px 10px;

    color: var(--color-text);
    background: var(--color-bg-tertiary);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;

    outline: 0;

    transition: border-color var(--transition-fast);
}

.report-field textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 220px;
}

.report-field select:focus,
.report-field textarea:focus {
    border-color: var(--color-primary);
}

.report-select-wrap {
    position: relative;

    width: 100%;
}

.report-select-wrap::after {
    content: "\f078";

    position: absolute;
    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    color: var(--color-text-muted);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;

    pointer-events: none;
}

.report-select-wrap select {
    width: 100%;

    padding: 8px 34px 8px 10px;

    color: var(--color-text);
    background: var(--color-bg-tertiary);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);

    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;

    outline: 0;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.report-select-wrap select:hover {
    border-color: var(--color-border-light);
}

.report-select-wrap select:focus {
    border-color: var(--color-primary);
}

.report-select-wrap select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.report-select-wrap select option {
    color: var(--color-text);
    background: var(--color-surface);

    padding: 6px;
}

.report-select-wrap select optgroup {
    color: var(--color-text-muted);
    background: var(--color-surface);
}

.report-field-counter {
    align-self: flex-end;

    color: var(--color-text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.report-field-counter.limit {
    color: var(--color-danger);
}

.report-error {
    padding: 8px 10px;

    color: var(--color-danger);
    background: rgba(220, 85, 85, 0.08);

    border: 1px solid rgba(220, 85, 85, 0.25);
    border-radius: var(--radius-small);

    font-size: 12px;
}

.report-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    padding: 20px 16px;

    text-align: center;
}

.report-success-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-success, #4caf7d);
    background: rgba(76, 175, 125, 0.1);

    border: 1px solid rgba(76, 175, 125, 0.3);
    border-radius: 50%;

    font-size: 20px;
}

.report-success h3 {
    font-size: 14px;
    font-weight: 700;
}

.report-success p {
    max-width: 320px;

    color: var(--color-text-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.report-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    padding: 12px 16px;

    border-top: 1px solid var(--color-border);
}

.report-btn {
    height: 34px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 0 14px;

    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);

    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    font-size: 12.5px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        opacity var(--transition-fast);
}

.report-btn:hover {
    color: var(--color-text);
    background: var(--color-surface-hover);
    border-color: var(--color-border-light);
}

.report-btn.primary {
    color: var(--color-primary-text);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.report-btn.primary:hover {
    opacity: 0.9;
}

.report-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .profile-about-grid {
        grid-template-columns: 1fr;
    }

    .profile-section-about.has-music .profile-about-text {
        padding-right: 0;
        padding-bottom: 16px;

        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }
}

@media (max-width: 700px) {
    .profile-page {
        padding: 14px;
    }

    .profile-banner-wrap,
    .profile-banner,
    .profile-skeleton-banner {
        height: 150px;
    }

    .profile-banner-overlay {
        padding: 8px 10px;
    }

    .profile-banner-badge {
        height: 24px;
        padding: 0 8px;
        font-size: 10.5px;
    }

    .profile-banner-btn {
        height: 26px;
        padding: 0 10px;
        font-size: 10.5px;
    }

    .profile-banner-badge[data-tooltip]::after {
        font-size: 11.5px;
        max-width: 220px;
    }

    .profile-banner-clan {
        height: 24px;
        padding: 0 8px 0 3px;
        gap: 6px;
        font-size: 10.5px;
    }

    .profile-banner-clan-avatar {
        width: 18px;
        height: 18px;
    }

    .profile-banner-clan-info {
        max-width: 120px;
        gap: 4px;
    }

    .profile-banner-clan-name {
        max-width: 90px;
    }

    .profile-banner-clan-role {
        display: none;
    }

    .profile-banner-clan-verified {
        width: 10px;
        height: 10px;
    }

    .profile-banner-clan[data-tooltip]::after {
        font-size: 11.5px;
        max-width: 220px;
    }

    .profile-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 16px 20px;
        margin-top: 0;
    }

    .profile-header-inner > .profile-avatar-wrap {
        margin-top: -48px;
    }

    .profile-header-body {
        width: 100%;
        padding-top: 10px;
    }

    .profile-header-info {
        width: 100%;
    }

    .profile-avatar-wrap,
    .profile-avatar,
    .profile-avatar-frame,
    .profile-avatar-frame .profile-avatar {
        width: 96px;
        height: 96px;
    }

    .profile-avatar-frame-overlay-wrap {
        width: 100px;
        height: 100px;
    }

    .profile-skeleton-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 16px 20px;
    }

    .profile-skeleton-header .profile-skeleton-avatar {
        margin-top: -48px;
    }

    .profile-skeleton-avatar {
        width: 96px;
        height: 96px;
    }

    .profile-skeleton-info {
        width: 100%;
        padding-top: 10px;
    }

    .profile-username {
        font-size: 22px;
    }

    .achievement-strip {
        align-self: flex-start;
        justify-content: flex-start;

        max-width: 100%;
        margin-left: 0;
        margin-top: 8px;
        padding-bottom: 0;
    }

    .profile-section {
        padding: 16px;
    }

    .profile-music-cover {
        height: 84px;
        font-size: 22px;
    }

    .profile-blocked {
        padding: 36px 20px;
    }

    .profile-blocked-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .profile-actions-dropdown {
        right: auto;
        left: 0;
    }

    .profile-badge-img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 600px) {
    .report-modal-body {
        padding: 14px;
    }

    .report-modal-footer {
        padding: 10px 14px;
    }
}