/* —— 个人主页 —— */
.xgt-profile {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #161823;
    min-height: 100vh;
    background: transparent;
}

.xgt-profile-wrap {
    max-width: 1800px;
    margin: 0 auto;
    padding: 24px 24px 48px;
}

.xgt-profile-head {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 24px;
}

.xgt-profile-avatar {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    margin-top: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    background: #f2f2f2;
}

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

.xgt-profile-info {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.xgt-profile-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.xgt-profile-name {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #091d2e;
}

.xgt-verify-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.xgt-profile-group-name {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(64, 158, 255, 0.1);
    color: #409eff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.xgt-profile-id {
    margin: 0 0 8px;
    font-size: 12px;
    color: #94a3b8;
}

.xgt-profile-bio {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    max-width: 720px;
}

.xgt-profile-bio--empty {
    color: #94a3b8;
}

.xgt-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.xgt-tag {
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.xgt-profile-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 24px;
    margin: 0 0 10px;
}

.xgt-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
}

.xgt-stat strong {
    font-size: 16px;
    font-weight: 600;
    color: #091d2e;
}

.xgt-profile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.xgt-profile-actions--mobile {
    display: none;
}

.xgt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: auto;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-family: inherit;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s;
}

.xgt-btn .fa,
.xgt-btn .fa-solid {
    font-size: 12px;
}

.xgt-btn:hover {
    text-decoration: none;
}

.xgt-btn-primary {
    background: #409eff;
    color: #fff;
    border-radius: 4px;
}

.xgt-btn-primary:hover {
    background: #66b1ff;
    color: #fff;
}

.xgt-btn-outline {
    background: rgba(22, 24, 35, 0.06);
    color: #161823;
    border-radius: 4px;
}

.xgt-btn-outline:hover {
    opacity: 0.88;
}

.xgt-profile-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #e8edf3;
    margin-bottom: 0;
}

.xgt-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 0;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    vertical-align: middle;
    transition: color 0.2s ease;
}

.xgt-tab i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    font-size: 17px;
    line-height: 1;
}

.xgt-tab-label {
    display: inline-block;
    font-size: 16px;
    line-height: 1.2;
}

.xgt-tab:hover {
    color: #409eff;
}

.xgt-tab.active {
    color: #091d2e;
    font-weight: 600;
}

.xgt-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 28px;
    height: 3px;
    margin-left: -14px;
    border-radius: 2px;
    background: #409eff;
}

.xgt-profile-works {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    padding-top: 16px;
}

.xgt-work-item {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px -4px rgba(54, 163, 247, 0.12);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.xgt-work-item:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.xgt-work-thumb-loader {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    pointer-events: none;
}

.xgt-work-thumb-loader img {
    width: 28px;
    height: 28px;
}

.xgt-work-item.is-loaded .xgt-work-thumb-loader {
    display: none;
}

.xgt-work-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.xgt-work-item.is-loaded .xgt-work-thumb {
    opacity: 1;
}

.xgt-work-item:hover .xgt-work-thumb {
    transform: scale(1.04);
}

.xgt-work-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    line-height: 1.3;
}

.xgt-work-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 8px 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.xgt-work-meta {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.xgt-work-meta i {
    margin-right: 3px;
    font-size: 11px;
}

.xgt-works-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 20px;
    color: #94a3b8;
}

.xgt-works-empty i {
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.35;
}

.xgt-works-empty p {
    margin: 0 0 16px;
    font-size: 14px;
}

.xgt-profile-works.xgt-profile-works--forum {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 14px;
    padding-top: 16px;
    width: 100%;
}

.xgt-user-forum-item {
    width: 100%;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.xgt-user-forum-item:hover {
    border-color: #c6e2ff;
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.1);
}

.xgt-user-forum-link {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
}

.xgt-user-forum-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 28px;
}

.xgt-user-forum-main {
    flex: 1;
    min-width: 0;
}

.xgt-user-forum-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.xgt-user-forum-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.xgt-user-forum-item:hover .xgt-user-forum-title {
    color: #409eff;
}

.xgt-user-forum-badge {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    height: 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.xgt-user-forum-badge--top {
    background: #fdf6ec;
    color: #e6a23c;
}

.xgt-user-forum-badge--essence {
    background: #fef0f0;
    color: #f56c6c;
}

.xgt-user-forum-badge--pending {
    background: #fdf6ec;
    color: #e6a23c;
    border: 1px solid #faecd8;
}

.xgt-user-forum-summary {
    margin: 10px 0 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xgt-user-forum-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 88px;
    text-align: right;
}

.xgt-user-forum-time {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

.xgt-user-forum-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
}

.xgt-user-forum-stats i {
    margin-right: 4px;
    width: 14px;
    text-align: center;
}

.xgt-user-forum-cat {
    padding: 2px 10px;
    border-radius: 4px;
    background: #ecf5ff;
    color: #409eff;
    font-size: 12px;
    font-weight: 500;
}

/* —— 创作者列表（与首页统一色系） —— */
.xgt-list {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1e293b;
    font-weight: normal;
    min-height: 100vh;
    background: transparent;
}

.xgt-list-header {
    margin-bottom: 20px;
    padding-top: 0;
}

.xgt-list-title {
    margin: 0 0 4px;
    font-size: 22px;
    color: #091d2e;
    letter-spacing: -0.01em;
    font-weight: 600;
    line-height: 1.35;
}

.xgt-list-subtitle {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.xgt-list-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 20px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e8edf3;
}

.xgt-list-filter-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.xgt-list-filter-label {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.xgt-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.xgt-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.xgt-filter-btn:hover,
.xgt-filter-btn.active {
    background: #409eff;
    color: #fff;
    text-decoration: none;
}

.xgt-list-filter-action {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.xgt-list .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.xgt-list .pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.xgt-list .pagination a:hover,
.xgt-list .pagination a.active {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
}

/* 用户列表搜索（与首页 home-search 一致） */
.xgt-list-search-form {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 360px;
    max-width: 100%;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.xgt-list-search-form:focus-within {
    border-color: #409eff;
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.12);
}

.xgt-list-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 13px;
    color: #334155;
    background: transparent;
}

.xgt-list-search-input::placeholder {
    color: #94a3b8;
}

.xgt-list-search-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: #409eff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.xgt-list-search-btn:hover {
    background: #337ecc;
}

.xgt-list-search-btn img {
    filter: brightness(0) invert(1);
}

.xgt-list-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.xgt-list-loader {
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.xgt-list-loader.is-visible {
    display: flex;
}

.xgt-list-loader:not(.is-append) {
    min-height: 120px;
    padding: 24px 0;
}

.xgt-list-loader.is-append {
    padding: 16px 0 8px;
}

.xgt-list-loader img {
    width: 24px;
    height: 24px;
    display: block;
}

.xgt-list-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    box-shadow: 0 4px 16px -4px rgba(54, 163, 247, 0.1);
    padding: 28px 32px;
    min-height: 280px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xgt-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.xgt-list-card-content {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    min-height: 220px;
}

.xgt-list-card-left {
    width: 520px;
    min-width: 520px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
}

.xgt-list-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.xgt-list-card-avatar-wrap {
    flex-shrink: 0;
    cursor: pointer;
}

.xgt-list-card-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
    display: block;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.12);
}

.xgt-lazy-img[data-src],
.xgt-lazy-img.is-loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
}

.xgt-lazy-img.is-loading {
    animation: xgt-lazy-shimmer 1.2s ease-in-out infinite;
}

.xgt-lazy-img.is-loaded {
    animation: none;
    background: transparent;
}

@keyframes xgt-lazy-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.xgt-list-card-info {
    flex: 1;
    min-width: 0;
}

.xgt-list-card-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    min-width: 0;
}

.xgt-list-card-name {
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    color: #1e293b;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xgt-list-card-name:hover {
    color: #409eff;
}

.xgt-list-card-name .xgt-verify-icon {
    width: 20px;
    height: 20px;
}

.xgt-list-card-uid {
    font-size: 13px;
    color: #94a3b8;
}

.xgt-list-card-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
}

.xgt-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    flex-shrink: 0;
}

.xgt-badge-primary {
    background: rgba(64, 158, 255, 0.12);
    color: #409eff;
}

.xgt-badge-warning {
    background: rgba(230, 162, 60, 0.12);
    color: #e6a23c;
}

.xgt-badge-success {
    background: rgba(103, 194, 58, 0.12);
    color: #67c23a;
}

.xgt-list-card-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 8px;
    align-items: center;
}

.xgt-list-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.xgt-list-card-btn-order {
    background: #409eff;
    color: #fff;
}

.xgt-list-card-btn-order:hover {
    background: #66b1ff;
    color: #fff;
    text-decoration: none;
}

.xgt-list-card-btn-view {
    background: #fff;
    color: #409eff;
    border: 1px solid #409eff;
}

.xgt-list-card-btn-view:hover {
    background: rgba(64, 158, 255, 0.08);
    color: #409eff;
    text-decoration: none;
}

.xgt-list-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.xgt-list-card-metric {
    position: relative;
    padding: 18px 12px 16px;
    text-align: center;
    min-width: 0;
}

.xgt-list-card-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    opacity: 0.85;
}

.xgt-list-card-metric:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22%;
    right: 0;
    width: 1px;
    height: 56%;
    background: linear-gradient(180deg, transparent, #dbe3ec 18%, #dbe3ec 82%, transparent);
}

.xgt-list-card-metric-label {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.xgt-list-card-metric-value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    line-height: 1.2;
    color: var(--metric-accent, #409eff);
}

.xgt-list-card-metric-num {
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.xgt-list-card-metric-unit {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.75;
}

.xgt-list-card-metric--score .xgt-list-card-metric-num {
    font-size: 22px;
}

.xgt-list-card-right {
    min-width: 0;
    max-width: 100%;
    border-left: 1px solid #e8edf3;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.xgt-list-card-works-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    font-family: STXingkai, "优设标题黑", cursive;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;

}

.xgt-list-card-works-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #409eff, rgba(3, 104, 255, 0.03));
    border-radius: 3px;
}

.xgt-list-card-works {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.xgt-list-card-work {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #f1f5f9;
}

.xgt-list-card-work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    display: block;
}

.xgt-list-card-work:hover img {
    transform: scale(1.05);
}

.xgt-list-card-work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.xgt-list-card-work:hover .xgt-list-card-work-overlay {
    opacity: 1;
}

.xgt-list-card-about {
    margin-top: auto;
    padding-top: 4px;
}

.xgt-list-card-about p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xgt-list-card-works-empty {
    grid-column: 1 / -1;
    padding: 32px 24px;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #e2e8f0;
}

.xgt-list-body > .xgt-works-empty {
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px -4px rgba(54, 163, 247, 0.1);
}

.u-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 13100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.u-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.u-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #e8edf3;
}

.u-modal-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #091d2e;
}

.u-modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #909399;
}

.u-modal-body {
    padding: 16px 18px 20px;
    text-align: left;
    line-height: 1.7;
    color: #475569;
    font-size: 13px;
}

.u-modal-body p {
    margin: 0 0 10px;
}

.u-modal-body p:last-child {
    margin-bottom: 0;
}

.u-modal-body strong {
    color: #091d2e;
    font-weight: 600;
}

@media (max-width: 1400px) {
    .xgt-profile-works {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .xgt-list-card-works {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .xgt-profile-works {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xgt-list-card-content {
        grid-template-columns: 1fr;
    }

    .xgt-list-card-left {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .xgt-list-card-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e8edf3;
        padding-top: 20px;
    }

    .xgt-list-card-works {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .xgt-profile-wrap {
        padding: 20px 16px 32px;
    }

    .xgt-profile-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
    }

    .xgt-profile-info {
        padding-top: 12px;
        width: 100%;
    }

    .xgt-profile-name-row {
        flex-direction: column;
        align-items: center;
    }

    .xgt-profile-bio {
        max-width: none;
    }

    .xgt-profile-name {
        font-size: 20px;
        justify-content: center;
    }

    .xgt-profile-group-name {
        font-size: 11px;
    }

    .xgt-profile-stats {
        justify-content: center;
        gap: 16px 20px;
    }

    .xgt-stat strong {
        font-size: 15px;
    }

    .xgt-profile-actions--desktop {
        display: none;
    }

    .xgt-profile-actions--mobile {
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }

    .xgt-profile-tabs {
        justify-content: center;
        gap: 20px;
    }

    .xgt-tab {
        padding: 12px 0;
        font-size: 15px;
    }

    .xgt-tab-label {
        font-size: 15px;
    }

    .xgt-tab i {
        width: 17px;
        height: 17px;
        font-size: 16px;
    }

    .xgt-user-forum-row {
        flex-direction: column;
        gap: 12px;
    }

    .xgt-user-forum-side {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .xgt-user-forum-stats {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .xgt-user-forum-title {
        font-size: 17px;
    }

    .xgt-profile-works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 12px;
    }

    .xgt-list-title {
        font-size: 20px;
    }

    .xgt-list-subtitle {
        font-size: 12px;
    }

    .xgt-list-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .xgt-list-filter-action {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .xgt-list-search-form {
        width: 100%;
    }

    .xgt-list-filter-action .xgt-btn {
        width: 100%;
    }

    .xgt-list-card-header {
        gap: 12px;
    }

    .xgt-list-card-avatar {
        width: 72px;
        height: 72px;
    }

    .xgt-list-card-name-row {
        flex-wrap: wrap;
    }

    .xgt-list-card-name {
        flex: 1 1 100%;
        white-space: normal;
        flex-wrap: wrap;
    }

    .xgt-list-card-badges {
        flex-wrap: wrap;
    }

    .xgt-list-card-actions {
        flex: 1 1 100%;
        flex-wrap: nowrap;
    }

    .xgt-list-card-actions .xgt-list-card-btn {
        flex: 1;
    }

    .xgt-list-card {
        padding: 20px 16px;
        min-height: auto;
    }

    .xgt-list-card-metrics {
        padding-top: 16px;
        border-radius: 10px;
    }

    .xgt-list-card-metric {
        padding: 14px 8px 12px;
    }

    .xgt-list-card-metric-num {
        font-size: 20px;
    }

    .xgt-list-card-metric--score .xgt-list-card-metric-num {
        font-size: 18px;
    }

    .xgt-list-card-metric-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .xgt-list-card-works {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}
