.personal-center-document { scroll-snap-type: none !important; }
.personal-center-page { min-height: 100vh; overflow-y: auto; }
.personal-center-page::after {
    content: "";
    position: fixed;
    inset: var(--header-height) 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: 1;
}

.pc-main {
    position: relative;
    z-index: 2;
    width: min(1460px, calc(100% - (var(--page-gutter) * 2)));
    min-height: 100vh;
    margin: 0 auto;
    padding: calc(var(--header-height) + 20px) 0 42px;
}
.pc-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.pc-back-link { color: var(--cyan-soft); font-size: 17px; transition: color .18s ease; }
.pc-back-link:hover { color: var(--yellow); }

.pc-gate { min-height: 560px; padding: 38px; }
.pc-gate .loading-row { display: grid; min-height: 480px; place-items: center; font-size: 18px; }
.pc-gate-content { display: grid; justify-items: center; min-height: 480px; align-content: center; text-align: center; }
.pc-gate-icon { display: grid; width: 74px; height: 74px; margin-bottom: 18px; place-items: center; border: 2px solid var(--cyan); border-radius: 50%; color: var(--yellow); font-size: 38px; box-shadow: 0 0 24px rgba(18, 216, 255, .34); }
.pc-gate-content h1 { margin: 0 0 10px; font-size: 34px; }
.pc-gate-content > p:not(.eyebrow) { margin: 0 0 26px; color: var(--muted); }

.pc-shell {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    min-height: 690px;
    padding: 34px 38px;
}
.pc-sidebar { display: flex; min-width: 0; padding: 4px 28px 4px 2px; border-right: 1px solid rgba(93, 181, 255, .28); flex-direction: column; }
.pc-player-card { text-align: center; }
.pc-avatar {
    position: relative;
    width: 144px;
    height: 180px;
    margin: 0 auto 13px;
    overflow: hidden;
    background: url("../images/ui/fashion-stage.png") center / 100% 100% no-repeat;
    filter: drop-shadow(0 0 13px rgba(0, 210, 255, .36));
}
.pc-avatar::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: url("../images/ui/fashion-frame.png") center / 100% 100% no-repeat; }
.pc-avatar .avatar-canvas { position: absolute; inset: 5px 4px; overflow: hidden; }
.pc-avatar .avatar-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.pc-player-copy h1 { max-width: 100%; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 25px; }
.pc-player-guild-name { margin-right: .45em; color: var(--cyan-soft); }
.pc-player-nickname { color: #fff; }
.pc-nav { display: grid; gap: 9px; margin-top: 25px; }
.pc-nav button {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    min-height: 66px;
    padding: 10px 14px;
    border: 1px solid rgba(86, 177, 255, .25);
    border-radius: 10px;
    color: #dbeeff;
    background: rgba(1, 42, 128, .3);
    cursor: pointer;
    text-align: left;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.pc-nav-alert { position: absolute; top: -7px; right: -7px; width: 15px; height: 15px; border: 2px solid #ff9a9a; border-radius: 50%; background: #ff3e4d; box-shadow: 0 0 0 3px rgba(36, 77, 171, .95), 0 0 11px rgba(255, 62, 77, .8); pointer-events: none; }
.pc-nav button > span { grid-row: 1 / 3; align-self: center; color: #74caff; font-size: 22px; }
.pc-nav button b { align-self: end; font-size: 17px; }
.pc-nav button small { align-self: start; color: #82afd9; font-size: 12px; }
.pc-nav button:hover, .pc-nav button.active { border-color: #59d8ff; background: linear-gradient(90deg, rgba(12, 106, 226, .82), rgba(6, 73, 178, .5)); box-shadow: inset 3px 0 0 var(--cyan), 0 0 16px rgba(0, 162, 255, .18); }
.pc-nav button.active > span, .pc-nav button.active small { color: #fff; }
.pc-logout { margin-top: 12px; min-height: 42px; border: 0; color: #9bcdf5; background: transparent; cursor: pointer; font-size: 15px; }
.pc-logout:hover { color: #fff; }

.pc-content { min-width: 0; padding: 4px 4px 6px 38px; }
.pc-view-heading { display: flex; min-height: 83px; align-items: start; justify-content: space-between; gap: 24px; padding: 3px 4px 18px; border-bottom: 1px solid rgba(95, 180, 255, .24); }
.pc-view-heading h2 { margin: 0; font-size: 31px; }
.pc-view-heading p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.pc-status-badge, .pc-identity-badge { display: inline-flex; min-height: 30px; align-items: center; padding: 0 13px; border: 1px solid rgba(91, 222, 255, .68); border-radius: 16px; color: #9ceeff; background: rgba(7, 99, 187, .4); font-size: 13px; white-space: nowrap; }
.pc-status-badge.safe { border-color: rgba(91, 255, 192, .55); color: #94ffd0; }
.pc-identity-badge.creator { border-color: rgba(255, 215, 72, .75); color: #ffe878; background: rgba(145, 94, 0, .32); }

.pc-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 20px 0; }
.pc-stat-card { min-width: 0; min-height: 92px; padding: 16px 17px; border: 1px solid rgba(82, 177, 255, .28); border-radius: 11px; background: rgba(1, 42, 124, .34); }
.pc-stat-card small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.pc-stat-card strong { display: block; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; font-size: 24px; }
.pc-stat-card strong.cyan { color: var(--cyan-soft); }
.pc-stat-card .rank-cell { justify-content: flex-start; }
.pc-section-card { margin-top: 16px; padding: 19px 21px; border: 1px solid rgba(82, 177, 255, .28); border-radius: 13px; background: rgba(1, 35, 105, .34); }
.pc-card-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pc-card-title h3 { margin: 0; font-size: 18px; }
.pc-card-title span { color: var(--muted); font-size: 13px; }
.pc-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pc-info-item { min-width: 0; padding: 12px 14px; border-bottom: 1px solid rgba(90, 168, 244, .2); }
.pc-info-item small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.pc-info-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.pc-worm-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pc-worm { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid rgba(82, 177, 255, .22); border-radius: 9px; background: rgba(8, 71, 160, .24); }
.pc-worm i { color: var(--yellow); font-style: normal; }
.pc-worm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pc-security-card, .pc-qq-card { max-width: 690px; margin-top: 24px; }
.pc-security-card form, .pc-qq-card form { display: grid; gap: 17px; max-width: 560px; }
.pc-security-card label, .pc-qq-card label, .pc-inline-form label, .pc-search-form label { display: grid; gap: 8px; color: #dcecff; font-size: 15px; }
.pc-security-card label small, .pc-qq-card label small { color: var(--muted); }
.pc-security-card input, .pc-qq-card input, .pc-inline-form input, .pc-search-form input, .pc-member-role {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    outline: none;
    border-image-source: url("../images/ui/input-border.png?v=20260722a");
    border-image-slice: 14;
    border-image-width: 9px;
    border-image-repeat: stretch;
    color: #fff;
    background: url("../images/ui/input-fill-inset.png?v=20260722a") center / 100% 100% no-repeat;
}
.pc-member-role { padding-right: 36px; appearance: none; -webkit-appearance: none; background: url("../images/ui/select-arrow.png") right 13px center / 15px 10px no-repeat, url("../images/ui/input-fill-inset.png?v=20260722a") center / 100% 100% no-repeat; }
.pc-member-role option { color: #fff; background: #092b78; }
.pc-form-actions { display: flex; justify-content: flex-start; margin-top: 4px; }
.pc-form-actions .button { min-width: 190px; }

.pc-guild-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 19px; }
.pc-guild-heading-main { display: flex; min-width: 0; align-items: center; gap: 13px; flex-wrap: wrap; }
.pc-guild-rename-button { min-width: 150px; min-height: 45px; flex: 0 0 auto; padding-inline: 22px; font-size: 16px; }
.pc-guild-emblem { display: grid; width: 54px; height: 60px; flex: 0 0 auto; place-items: center; color: #fff0a3; font-size: 29px; text-shadow: 0 2px 0 #6b3900; background: radial-gradient(circle, #ffcf3c, #9f6200 68%, transparent 70%); }
.pc-guild-name { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; line-height: 1.8; }
.pc-guild-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.pc-guild-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0; }
.pc-inline-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 12px; margin-top: 15px; }
.pc-inline-form .button { min-height: 48px; font-size: 16px; }
.pc-callout { padding: 17px 18px; border: 1px solid rgba(91, 205, 255, .42); border-radius: 11px; color: #dceeff; background: rgba(4, 58, 149, .32); line-height: 1.7; }
.pc-callout strong { color: var(--cyan-soft); }
.pc-callout.pending { border-color: rgba(255, 215, 75, .5); background: rgba(104, 75, 0, .2); }
.pc-callout.rejected { border-color: rgba(255, 123, 123, .5); background: rgba(111, 28, 35, .2); }
.pc-empty-actions { display: flex; gap: 12px; margin-top: 15px; flex-wrap: wrap; }

.pc-subtabs { display: flex; gap: 6px; margin: 17px 0 0; border-bottom: 1px solid rgba(93, 181, 255, .3); }
.pc-subtabs button { position: relative; min-height: 45px; padding: 0 22px; border: 0; color: #9bc7ef; background: transparent; cursor: pointer; }
.pc-subtabs button.active { color: #fff; font-weight: 700; }
.pc-subtabs button.active::after { content: ""; position: absolute; right: 8px; bottom: -1px; left: 8px; height: 3px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pc-count { display: inline-grid; min-width: 20px; height: 20px; margin-left: 6px; place-items: center; border-radius: 10px; color: #fff; background: #e74747; font-size: 11px; }
.pc-list-scroll { width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: rgba(91, 216, 255, .8) rgba(3, 44, 124, .4); }
.pc-list-scroll::-webkit-scrollbar { height: 8px; }
.pc-list-scroll::-webkit-scrollbar-track { background: rgba(3, 44, 124, .4); }
.pc-list-scroll::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(91, 216, 255, .8); }
.pc-list { margin-top: 6px; }
.pc-member-row, .pc-application-row, .pc-directory-row { display: grid; min-height: 55px; align-items: center; gap: 12px; border-bottom: 1px solid rgba(90, 168, 244, .22); }
.pc-member-row { grid-template-columns: minmax(120px,.9fr) minmax(150px,1.25fr) minmax(120px,.9fr) .65fr .8fr 82px; }
.pc-application-row { grid-template-columns: minmax(150px, 1.5fr) .8fr 1fr 120px 150px; }
.pc-directory-row { grid-template-columns: minmax(150px, 1.5fr) 1fr .65fr 1fr 100px; }
.pc-list-head { min-height: 42px; color: #a9d2f5; font-size: 13px; }
.pc-member-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cyan-soft); }
.pc-member-row > span, .pc-application-row > span, .pc-directory-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-member-position { overflow: visible !important; }
.pc-member-row > span:nth-child(3) { text-align: center; }
.pc-member-rank .rank-cell { justify-content: center; }
.pc-member-list-body { height: 550px; overflow: hidden; }
.pc-member-list-body .pc-member-row { height: 55px; min-height: 55px; }
.pc-small-button,.pc-directory-pager button,.pc-member-pager button { position: relative; z-index: 0; isolation: isolate; overflow: hidden; border: 0; border-radius: 0; color: #fff; background: none; cursor: pointer; }
.pc-small-button { min-height: 35px; padding: 0 13px; }
.pc-small-button::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 100% 480%; background-position: center 52.631579%; }
.pc-small-button:hover::before { background-position-y: 78.947368%; }
.pc-small-button.danger { color: #ffd7d7; }
.pc-small-button:disabled { opacity: .48; cursor: default; }
.pc-review-actions { display: flex; gap: 7px; }
.pc-list-empty { padding: 42px 15px; text-align: center; color: var(--muted); }
.pc-search-form { display: grid; grid-template-columns: minmax(220px, 400px) auto; align-items: end; gap: 12px; margin-bottom: 10px; }
.pc-search-form .button { min-height: 48px; font-size: 16px; }
.pc-directory-pager,.pc-member-pager { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 13px; }
.pc-directory-pager button,.pc-member-pager button { width: 42px; height: 39px; font-size: 23px; }
.pc-directory-pager button::before,.pc-member-pager button::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 374.347826px 304.744186px; background-position: 0 -263.023256px; }
.pc-directory-pager button:hover:not(:disabled)::before,.pc-member-pager button:hover:not(:disabled)::before { background-position: -42px -263.023256px; }
.pc-directory-pager button:disabled::before,.pc-member-pager button:disabled::before { background-position: -84px -263.023256px; }
.pc-directory-pager button:disabled,.pc-member-pager button:disabled { opacity: .4; cursor: default; }

@media (max-width: 1180px) {
    .pc-main { width: calc(100% - 40px); }
    .pc-shell { grid-template-columns: 238px minmax(0, 1fr); padding: 30px 28px; }
    .pc-sidebar { padding-right: 22px; }
    .pc-content { padding-left: 28px; }
    .pc-info-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-worm-list { grid-template-columns: repeat(2, 1fr); }
    .pc-member-row { min-width: 440px; grid-template-columns: minmax(92px,1fr) minmax(105px,1.25fr) 52px 50px 78px 66px; gap: 6px; font-size: 14px; }
}

@media (max-width: 820px) {
    .pc-main { width: calc(100% - 28px); padding-bottom: 28px; }
    .pc-page-heading { margin-bottom: 8px; }
    .pc-back-link { font-size: 14px; }
    .pc-shell { display: block; padding: 25px 22px; }
    .pc-sidebar { display: grid; grid-template-columns: 1fr; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(93, 181, 255, .28); }
    .pc-player-card { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 15px; text-align: left; }
    .pc-avatar { width: 82px; height: 103px; margin: 0; }
    .pc-player-copy h1 { font-size: 22px; }
    .pc-nav { grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 16px; }
    .pc-nav button { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 7px; padding: 8px; text-align: center; }
    .pc-nav button > span { font-size: 17px; }
    .pc-nav button small { display: none; }
    .pc-logout { position: static; margin-top: 10px; }
    .pc-content { padding: 24px 0 0; }
    .pc-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-application-row, .pc-directory-row { min-width: 720px; }
}

@media (max-width: 560px) {
    .personal-center-page .site-nav { justify-content: flex-start; gap: 2px; }
    .personal-center-page .site-nav a { flex: 0 0 76px; min-width: 76px; }
    .pc-main { padding-top: calc(var(--header-height) + 10px); }
    .pc-page-heading .section-title i { display: none; }
    .pc-page-heading .section-title span, .pc-page-heading .section-title h2 { font-size: 27px; }
    .pc-page-heading .section-title { min-height: 54px; }
    .pc-shell { padding: 21px 15px; }
    .pc-player-card { padding-right: 62px; }
    .pc-logout { margin-top: 10px; font-size: 13px; }
    .pc-nav button { font-size: 14px; }
    .pc-nav button > span { display: none; }
    .pc-nav { grid-template-columns: repeat(2, 1fr); }
    .pc-view-heading { min-height: 75px; }
    .pc-view-heading h2 { font-size: 26px; }
    .pc-view-heading > .pc-status-badge { display: none; }
    .pc-stat-card strong { font-size: 20px; }
    .pc-info-grid, .pc-worm-list { grid-template-columns: 1fr; }
    .pc-card-title { align-items: start; flex-direction: column; }
    .pc-section-card { padding: 17px 14px; }
    .pc-inline-form, .pc-search-form { grid-template-columns: 1fr; }
    .pc-guild-heading { align-items: flex-start; flex-direction: column; }
    .pc-guild-heading-main { align-items: flex-start; }
    .pc-guild-rename-button { width: 100%; }
    .pc-guild-name { max-width: calc(100vw - 130px); font-size: 24px; }
    .pc-form-actions .button { width: 100%; }
}
