/* ==========================================================================
   Worms Online - Personal Center (个人中心 现代高质感设计系统)
   复用首页 Glassmorphism 毛玻璃体系、流光边框、胶囊组件与现代表单系统
   ========================================================================== */

.personal-center-document { scroll-snap-type: none !important; }
.personal-center-page { min-height: 100vh; overflow-y: auto; overflow-x: hidden; }
.personal-center-page::after {
    content: "";
    position: fixed;
    inset: var(--header-height, 88px) 0 0;
    z-index: 0;
    pointer-events: none;
    background: url("../images/heroes/personal-center-scene-wide-2d-v2.jpg?v=20260722a") center top / cover no-repeat;
    opacity: 0.85;
}

/* 1. 主容器与页面标头 */
.pc-main {
    position: relative;
    z-index: 2;
    width: min(var(--content-width, 1460px), calc(100% - (var(--page-gutter, 72px) * 2)));
    max-width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0 auto;
    padding: calc(var(--header-height, 88px) + 24px) 0 60px;
}
.pc-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}
.pc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan-soft, #78e8ff);
    font-size: 15px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(8, 45, 120, 0.4);
    border: 1px solid rgba(120, 232, 255, 0.24);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}
.pc-back-link:hover {
    color: #fff;
    background: rgba(14, 75, 185, 0.7);
    border-color: var(--cyan, #12d8ff);
    box-shadow: 0 0 16px rgba(18, 216, 255, 0.3);
    transform: translateX(-2px);
}

/* 2. 门禁加载与登录提醒 */
.pc-gate {
    min-height: 540px;
    padding: 40px;
    border-radius: 20px;
    background: var(--glass-bg, linear-gradient(150deg, rgba(6, 38, 122, 0.74) 0%, rgba(2, 22, 80, 0.82) 100%));
    border: 1px solid var(--glass-border, rgba(120, 232, 255, 0.28));
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--glass-shadow, 0 16px 40px -8px rgba(0, 14, 56, 0.6));
}
.pc-gate .loading-row {
    display: grid;
    min-height: 440px;
    place-items: center;
    font-size: 18px;
    color: var(--cyan-soft, #78e8ff);
    letter-spacing: 1px;
}
.pc-gate-content {
    display: grid;
    justify-items: center;
    min-height: 440px;
    align-content: center;
    text-align: center;
}
.pc-gate-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    place-items: center;
    border: 2px solid var(--cyan, #12d8ff);
    border-radius: 50%;
    color: var(--yellow, #ffe100);
    font-size: 38px;
    box-shadow: 0 0 28px rgba(18, 216, 255, 0.4);
    background: rgba(3, 20, 68, 0.6);
}
.pc-gate-content h1 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}
.pc-gate-content > p:not(.eyebrow) {
    margin: 0 0 28px;
    color: var(--muted, #a3cbf5);
    font-size: 15px;
}

/* 3. 个人中心主外壳 (Modern Glass Shell) */
.pc-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 720px;
    padding: 36px;
    border-radius: 20px;
    background: var(--glass-bg, linear-gradient(150deg, rgba(6, 38, 122, 0.74) 0%, rgba(2, 22, 80, 0.82) 100%));
    border: 1px solid var(--glass-border, rgba(120, 232, 255, 0.28));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--glass-shadow, 0 16px 40px -8px rgba(0, 14, 56, 0.6));
    box-sizing: border-box;
}

/* 4. 左侧边栏与玩家名片 */
.pc-sidebar {
    display: flex;
    min-width: 0;
    padding: 4px 32px 4px 2px;
    border-right: 1px solid rgba(120, 232, 255, 0.18);
    flex-direction: column;
}
.pc-player-card {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(120, 232, 255, 0.2);
}
.pc-avatar {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 144px !important;
    height: 180px !important;
    aspect-ratio: auto !important;
    margin: 0 auto 16px !important;
    transform: none !important;
    filter: drop-shadow(0 8px 24px rgba(0, 16, 56, 0.5));
}
.pc-avatar:hover {
    transform: none !important;
}
.pc-player-copy h1 {
    max-width: 100%;
    margin: 0 0 14px 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.pc-player-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}
.pc-player-guild-name {
    margin-right: 0.45em;
    color: var(--cyan-soft, #78e8ff);
    font-weight: 600;
}
.pc-player-nickname {
    color: #fff;
}

/* 侧边栏导航 (Modern Navigation Buttons) */
.pc-nav {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}
.pc-nav button {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid rgba(120, 232, 255, 0.18);
    border-radius: 12px;
    color: #c5e1ff;
    background: rgba(3, 24, 76, 0.45);
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pc-nav-alert {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ff3e4d;
    box-shadow: 0 0 10px rgba(255, 62, 77, 0.8);
    pointer-events: none;
}
.pc-nav button > span {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--cyan, #12d8ff);
    font-size: 20px;
}
.pc-nav button b {
    align-self: end;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.pc-nav button small {
    align-self: start;
    color: #8bb6e0;
    font-size: 12px;
    margin-top: 2px;
}
.pc-nav button:hover {
    border-color: var(--cyan-soft, #78e8ff);
    background: rgba(8, 48, 130, 0.65);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 16, 60, 0.35);
}
.pc-nav button.active {
    border-color: var(--cyan, #12d8ff);
    background: linear-gradient(135deg, rgba(18, 216, 255, 0.22) 0%, rgba(14, 116, 230, 0.42) 100%);
    box-shadow: inset 3px 0 0 var(--cyan, #12d8ff), 0 4px 18px rgba(18, 216, 255, 0.25);
    transform: translateX(4px);
}
.pc-nav button.active b {
    color: #fff;
}
.pc-nav button.active small {
    color: var(--cyan-soft, #78e8ff);
}
.pc-nav button:disabled {
    opacity: 0.55;
    cursor: wait;
}

/* 5. 右侧视图与顶栏 (Content Views) */
.pc-content {
    min-width: 0;
    padding: 4px 4px 6px 40px;
}
.pc-view-heading {
    display: flex;
    min-height: 84px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(120, 232, 255, 0.18);
}
.pc-heading-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.pc-view-heading h2 {
    margin: 4px 0 0;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}
.pc-view-heading p:last-child {
    margin: 6px 0 0;
    color: var(--muted, #a3cbf5);
    font-size: 14px;
}
.pc-view-heading .eyebrow {
    color: var(--cyan, #12d8ff);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* 状态药丸徽章 */
.pc-status-badge, .pc-identity-badge {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(120, 232, 255, 0.5);
    border-radius: 9999px;
    color: var(--cyan-soft, #78e8ff);
    background: rgba(6, 48, 130, 0.5);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 16, 50, 0.3);
}
.pc-status-badge.safe {
    border-color: rgba(16, 185, 129, 0.6);
    color: #a7f3d0;
    background: rgba(6, 78, 59, 0.4);
}
.pc-identity-badge.creator {
    border-color: rgba(255, 215, 0, 0.7);
    color: #ffe878;
    background: rgba(145, 94, 0, 0.35);
}

/* 6. 数据统计指标卡片网格 (Stats Grid) */
.pc-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.pc-stat-card {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid rgba(120, 232, 255, 0.22);
    border-radius: 14px;
    background: rgba(3, 24, 76, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 10, 44, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.pc-stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--cyan, #12d8ff);
    box-shadow: 0 8px 24px rgba(18, 216, 255, 0.15);
}
.pc-stat-card small {
    display: block;
    margin-bottom: 8px;
    color: #8dbbf2;
    font-size: 13px;
    font-weight: 500;
}
.pc-stat-card strong {
    display: block;
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.pc-stat-card strong.cyan {
    color: var(--cyan, #12d8ff);
}

/* 7. 分区卡片 (Section Cards) */
.pc-section-card {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid rgba(120, 232, 255, 0.2);
    border-radius: 16px;
    background: rgba(3, 24, 76, 0.45);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}
.pc-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(120, 232, 255, 0.14);
}
.pc-card-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.pc-card-title span {
    color: var(--muted, #a3cbf5);
    font-size: 13px;
}

/* 账号信息三列网格 */
.pc-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.pc-info-item {
    min-width: 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(2, 16, 54, 0.4);
    border: 1px solid rgba(120, 232, 255, 0.12);
}
.pc-info-item small {
    display: block;
    margin-bottom: 5px;
    color: #8dbbf2;
    font-size: 12px;
}
.pc-info-item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

/* 虫虫小队 */
.pc-worm-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.pc-worm {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(120, 232, 255, 0.2);
    border-radius: 10px;
    background: rgba(6, 44, 120, 0.35);
    font-size: 14px;
    font-weight: 600;
}
.pc-worm i {
    color: var(--yellow, #ffe100);
    font-style: normal;
}
.pc-worm span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 8. 现代表单与输入系统 (Modern Inputs & Forms) */
.pc-security-card, .pc-qq-card {
    max-width: 680px;
    margin-top: 24px;
}
.pc-security-card form, .pc-qq-card form {
    display: grid;
    gap: 20px;
    max-width: 560px;
}
.pc-security-card label, .pc-qq-card label, .pc-inline-form label, .pc-search-form label, .pc-guild-create-form label {
    display: grid;
    gap: 8px;
    color: #e2f1ff;
    font-size: 14px;
    font-weight: 600;
}
.pc-security-card label small, .pc-qq-card label small {
    color: var(--muted, #a3cbf5);
    font-size: 12px;
    font-weight: normal;
}

/* 全新现代深海微光输入框 (取代老旧的九宫格图片输入框) */
.pc-security-card input, .pc-qq-card input, .pc-qq-card textarea, .pc-inline-form input, .pc-search-form input, .pc-guild-create-form input, .pc-member-role {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(120, 232, 255, 0.28);
    border-radius: 10px;
    outline: none;
    color: #fff;
    background: rgba(2, 16, 54, 0.72);
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}
.pc-security-card input:focus, .pc-qq-card input:focus, .pc-qq-card textarea:focus, .pc-inline-form input:focus, .pc-search-form input:focus, .pc-guild-create-form input:focus, .pc-member-role:focus {
    border-color: var(--cyan, #12d8ff) !important;
    box-shadow: 0 0 0 3px rgba(18, 216, 255, 0.22), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
.pc-member-role {
    padding-right: 38px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2378e8ff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}
.pc-member-role option {
    color: #fff;
    background: #06236b;
}

.pc-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
}
.pc-form-actions .button {
    min-width: 190px;
    height: 46px;
    font-size: 15px;
}
.pc-section-card label small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted, #a3cbf5);
}

/* QQ binding keeps the existing card skin and wraps controls on narrow screens. */
.pc-qq-card .pc-form-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}
.pc-qq-card .pc-form-actions .button {
    flex: 1 1 180px;
    min-width: 0;
    min-height: 46px;
    height: auto;
    white-space: normal;
}
.pc-qq-card textarea {
    height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: none;
    font-family: Consolas, monospace;
    line-height: 1.5;
    word-break: break-all;
}
#pcQqView .pc-view-heading {
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 560px) {
    .pc-qq-card .pc-form-actions .button { flex-basis: 100%; }
    .pc-qq-card textarea { font-size: 13px; }
    #pcQqStatus { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
}

/* 9. 军团系统样式 (Guild System) */
.pc-guild-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(120, 232, 255, 0.18);
}
.pc-guild-heading-main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}
.pc-guild-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}
.pc-guild-actions .button {
    min-width: 150px;
    height: 44px;
    padding-inline: 18px;
    font-size: 15px;
    font-weight: 700;
}
.guild-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    background-image: url("../images/guild/guild-icons.gif?v=2026072612");
    background-repeat: no-repeat;
    background-size: 1600% 1000%;
    image-rendering: pixelated;
}
.guild-icon.small {
    width: 26px;
    height: 26px;
}
.guild-icon.muted {
    opacity: 0.46;
    filter: grayscale(0.45);
}
.pc-guild-emblem {
    width: 64px;
    height: 64px;
    padding: 6px;
    border: 1px solid rgba(120, 232, 255, 0.5);
    border-radius: 14px;
    background-color: rgba(5, 48, 130, 0.6);
    box-shadow: 0 0 16px rgba(18, 216, 255, 0.2);
    background-origin: content-box;
    background-clip: content-box;
}
.pc-guild-name {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.pc-guild-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* 军团子导航 */
.pc-subtabs {
    display: flex;
    gap: 8px;
    margin: 20px 0 0;
    border-bottom: 1px solid rgba(120, 232, 255, 0.22);
}
.pc-subtabs button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    color: #9bc7ef;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.pc-subtabs button:hover {
    color: #fff;
}
.pc-subtabs button.active {
    color: #fff;
    font-weight: 700;
}
.pc-subtabs button.active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 3px;
    border-radius: 999px;
    background: var(--cyan, #12d8ff);
    box-shadow: 0 0 12px var(--cyan, #12d8ff);
}
.pc-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 8px;
    border-radius: 9999px;
    color: #fff;
    background: linear-gradient(135deg, #ff4757 0%, #eb2f06 100%);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
    font-size: 11px;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

/* 军团列表与成员表格 (PC 版规范) */
.pc-list-scroll {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
}
.pc-member-row, .pc-application-row, .pc-directory-row {
    display: grid;
    min-height: 52px;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(120, 232, 255, 0.12);
    transition: background-color 0.15s ease;
}
.pc-member-row:hover, .pc-application-row:hover, .pc-directory-row:hover {
    background-color: rgba(12, 64, 160, 0.25);
}
.pc-list-head {
    min-height: 44px;
    color: var(--cyan-soft, #78e8ff);
    font-size: 13px;
    font-weight: 700;
    background: rgba(4, 28, 90, 0.4);
    border-bottom: 1px solid rgba(120, 232, 255, 0.22);
}

/* PC 下隐藏卡片分割线与微标签 */
.pc-card-label, .pc-card-divider {
    display: none;
}

/* 成员列表 PC 网格与对齐 */
.pc-member-row {
    grid-template-columns: 110px minmax(130px, 1.4fr) 80px 80px 100px 84px;
}
.pc-member-row.pc-list-head span:nth-child(3),
.pc-member-row.pc-list-head span:nth-child(4),
.pc-member-row.pc-list-head span:nth-child(5),
.pc-member-row.pc-list-head span:nth-child(6) {
    text-align: center;
}
.pc-mem-pos {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.pc-member-position {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #e2eeff;
}
.pc-role-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(120, 232, 255, 0.35);
    border-radius: 6px;
    background: rgba(8, 48, 130, 0.6);
    color: var(--cyan, #12d8ff);
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
}
.pc-role-edit-button:hover {
    background: rgba(18, 216, 255, 0.25);
    border-color: var(--cyan, #12d8ff);
    color: #fff;
    box-shadow: 0 0 8px rgba(18, 216, 255, 0.35);
}
.pc-mem-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
.pc-mem-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-mem-rank .rank-icon {
    vertical-align: middle;
}
.pc-mem-win, .pc-mem-exp {
    text-align: center;
    color: #d8e8ff;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}
.pc-mem-act {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-member-action-empty {
    color: rgba(160, 200, 255, 0.4);
}

/* 军团目录 PC 网格与对齐 */
.pc-directory-row {
    grid-template-columns: minmax(140px, 1.5fr) 120px 90px 110px 100px;
}
.pc-directory-row.pc-list-head span:nth-child(3),
.pc-directory-row.pc-list-head span:nth-child(4),
.pc-directory-row.pc-list-head span:nth-child(5) {
    text-align: center;
}
.pc-col-members, .pc-col-exp {
    text-align: center;
    color: #d8e8ff;
    font-size: 13px;
}
.pc-col-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 申请列表 PC 网格与对齐 */
.pc-application-row {
    grid-template-columns: minmax(130px, 1.3fr) 80px 100px 140px 130px;
}
.pc-application-row.pc-list-head span:nth-child(2),
.pc-application-row.pc-list-head span:nth-child(3),
.pc-application-row.pc-list-head span:nth-child(4),
.pc-application-row.pc-list-head span:nth-child(5) {
    text-align: center;
}
.pc-app-win, .pc-app-exp, .pc-app-time {
    text-align: center;
    color: #d8e8ff;
    font-size: 13px;
}
.pc-app-act {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-review-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 全新现代科技蓝胶囊分页器 (Modern Cyber Pager) */
.pc-member-pager,
.pc-directory-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 32px auto 12px;
    padding: 6px 18px;
    width: fit-content;
    border-radius: 9999px;
    background: rgba(3, 22, 74, 0.72);
    border: 1px solid rgba(120, 232, 255, 0.28);
    box-shadow: 0 4px 18px rgba(0, 12, 44, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.pc-member-pager button,
.pc-directory-pager button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 0 3px 0;
    border: 1px solid rgba(120, 232, 255, 0.45);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(14, 116, 230, 0.8) 0%, rgba(8, 70, 160, 0.95) 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 20, 60, 0.35);
    transition: all 0.2s ease;
}
.pc-member-pager button:hover:not(:disabled),
.pc-directory-pager button:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(24, 140, 255, 0.95) 0%, rgba(10, 90, 200, 1) 100%);
    border-color: var(--cyan, #12d8ff);
    box-shadow: 0 0 14px rgba(18, 216, 255, 0.5);
    transform: translateY(-1px);
}
.pc-member-pager button:disabled,
.pc-directory-pager button:disabled {
    opacity: 0.35;
    background: rgba(10, 40, 100, 0.45);
    border-color: rgba(120, 232, 255, 0.15);
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.pc-member-pager span,
.pc-directory-pager span {
    font-size: 14px;
    font-weight: 600;
    color: #d8ebff;
    letter-spacing: 0.5px;
    padding: 0 8px;
    user-select: none;
    font-variant-numeric: tabular-nums;
}

/* 小型现代操作按钮 */
.pc-small-button {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(120, 232, 255, 0.4);
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, rgba(14, 116, 230, 0.7) 0%, rgba(8, 70, 160, 0.85) 100%);
    box-shadow: 0 2px 8px rgba(0, 16, 50, 0.3);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.18s ease;
}
.pc-small-button:hover {
    background: linear-gradient(135deg, rgba(20, 140, 255, 0.85) 0%, rgba(10, 90, 200, 0.95) 100%);
    border-color: var(--cyan, #12d8ff);
    box-shadow: 0 4px 12px rgba(18, 216, 255, 0.3);
    transform: translateY(-1px);
}
.pc-small-button.danger {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.75) 0%, rgba(185, 28, 28, 0.85) 100%);
    border-color: rgba(248, 113, 113, 0.6);
}
.pc-small-button.danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 0.95) 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* 10. 移动端全响应式深度适配 (Responsive Breakpoints) */
@media (max-width: 1180px) {
    .pc-main {
        width: calc(100% - 40px);
    }
    .pc-shell {
        grid-template-columns: 240px minmax(0, 1fr);
        padding: 30px;
    }
    .pc-sidebar {
        padding-right: 24px;
    }
    .pc-content {
        padding-left: 28px;
    }
    .pc-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-worm-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .pc-main {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        box-sizing: border-box;
        margin: 0 auto;
        padding-bottom: 40px;
    }
    .pc-shell {
        display: block;
        padding: 20px 16px;
        border-radius: 16px;
        box-sizing: border-box;
        max-width: 100%;
    }
    .pc-sidebar {
        display: contents;
    }
    .pc-player-card {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        text-align: left;
        padding-bottom: 16px;
        border-bottom: 1px dashed rgba(120, 232, 255, 0.2);
        margin-bottom: 10px;
    }
    .pc-avatar {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 86px !important;
        height: 108px !important;
        aspect-ratio: auto !important;
        margin: 0 !important;
        transform: none !important;
    }
    .pc-player-copy h1 {
        font-size: 22px;
        margin-bottom: 8px !important;
    }
    .pc-player-tags {
        justify-content: flex-start;
        margin-top: 4px;
        gap: 6px;
    }
    .pc-nav {
        position: sticky;
        top: var(--header-height, 118px);
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin: 0 -16px 14px -16px;
        padding: 10px 16px;
        background: rgba(3, 22, 74, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(120, 232, 255, 0.22);
        box-shadow: 0 8px 24px rgba(0, 10, 44, 0.55);
        box-sizing: border-box;
    }
    .pc-nav button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 42px;
        padding: 6px 4px;
        border-radius: 9px;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
    }
    .pc-nav button:hover,
    .pc-nav button.active {
        transform: none !important;
    }
    .pc-nav button > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center !important;
        font-size: 14px;
        line-height: 1;
        flex-shrink: 0;
    }
    .pc-nav button b {
        display: inline-flex;
        align-items: center;
        align-self: center !important;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.2px;
        margin: 0;
    }
    .pc-nav button small {
        display: none;
    }
    .pc-nav-alert {
        top: -3px;
        right: -3px;
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }
    .pc-content {
        padding: 20px 0 0;
        min-width: 0;
        box-sizing: border-box;
    }
    .pc-view-heading {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        gap: 12px;
        padding-bottom: 16px;
    }
    .pc-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .pc-stat-card strong {
        font-size: 22px;
    }

    /* 移动端顶栏操作按钮自适应 */
    .pc-heading-actions {
        width: 100%;
        margin-top: 6px;
        gap: 10px;
        display: flex;
        box-sizing: border-box;
    }
    .pc-heading-actions .button {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        padding: 0 12px;
        font-size: 13.5px;
        height: 38px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .pc-list-scroll {
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    .pc-list-head {
        display: none !important;
    }
    .pc-card-row {
        position: relative;
        height: auto !important;
        padding: 16px 18px !important;
        margin-bottom: 12px;
        border: 1px solid rgba(120, 232, 255, 0.25) !important;
        border-radius: 14px !important;
        background: rgba(4, 28, 88, 0.62) !important;
        box-shadow: 0 4px 18px rgba(0, 10, 40, 0.45) !important;
    }
    .pc-member-list-body {
        height: auto !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .pc-card-label {
        display: inline-block !important;
        font-size: 11px;
        color: var(--cyan-soft, #78e8ff);
        margin-right: 6px;
        opacity: 0.85;
    }

    /* 成员卡片手机端 */
    .pc-member-row.pc-card-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "pos act"
            "name rank"
            "win exp" !important;
        gap: 8px 12px !important;
        width: 100% !important;
    }
    .pc-mem-pos {
        grid-area: pos !important;
        align-self: center;
    }
    .pc-mem-act {
        grid-area: act !important;
        justify-self: end;
        align-self: center;
    }
    .pc-mem-name {
        grid-area: name !important;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        align-self: center;
    }
    .pc-mem-rank {
        grid-area: rank !important;
        justify-self: end;
        align-self: center;
    }
    .pc-mem-win {
        grid-area: win !important;
        display: flex !important;
        align-items: center;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(120, 232, 255, 0.12);
        text-align: left !important;
    }
    .pc-mem-exp {
        grid-area: exp !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(120, 232, 255, 0.12);
        text-align: right !important;
    }

    /* 军团目录手机端 */
    .pc-directory-row.pc-card-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "guild act"
            "leader mems"
            "exp exp" !important;
        gap: 8px 12px !important;
        width: 100% !important;
    }
    .pc-col-guild { grid-area: guild !important; }
    .pc-col-action { grid-area: act !important; justify-self: end; }
    .pc-col-leader {
        grid-area: leader !important;
        display: flex !important;
        align-items: center;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(120, 232, 255, 0.12);
    }
    .pc-col-members {
        grid-area: mems !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(120, 232, 255, 0.12);
    }
    .pc-col-exp {
        grid-area: exp !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-top: 4px;
    }

    /* 申请列表手机端 */
    .pc-application-row.pc-card-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "name act"
            "time time"
            "win exp" !important;
        gap: 8px 12px !important;
        width: 100% !important;
    }
    .pc-app-name { grid-area: name !important; font-size: 16px; font-weight: 700; color: #fff; }
    .pc-app-act { grid-area: act !important; justify-self: end; }
    .pc-app-time {
        grid-area: time !important;
        font-size: 12px;
        color: var(--muted, #a3cbf5);
        display: flex !important;
        align-items: center;
    }
    .pc-app-win {
        grid-area: win !important;
        display: flex !important;
        align-items: center;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(120, 232, 255, 0.12);
    }
    .pc-app-exp {
        grid-area: exp !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(120, 232, 255, 0.12);
    }
}

@media (max-width: 560px) {
    .pc-page-heading {
        flex-wrap: wrap;
        gap: 12px;
    }
    .pc-page-heading .section-title h2 {
        font-size: 26px;
    }
    .pc-view-heading h2 {
        font-size: 24px;
    }
    .pc-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pc-info-grid, .pc-worm-list {
        grid-template-columns: 1fr;
    }
    .pc-section-card {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .pc-guild-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    .pc-guild-actions {
        width: 100%;
    }
    .pc-guild-actions .button {
        flex: 1;
        min-width: 0;
    }
    .pc-form-actions .button {
        width: 100%;
    }
}
