.profile-center{max-width:780px;margin:28px auto 0;color:var(--ink)}
.profile-center-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:8px}
:root body .profile-center-tabs button{flex:1;max-width:160px;min-height:32px;padding:6px 10px;background:transparent;border:0;border-radius:8px;font-size:12px;font-weight:400;color:var(--muted)}
:root body .profile-center-tabs button.active{color:var(--accent);background:var(--soft)}
.profile-center-panel{margin-top:20px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.profile-center-panel h2{margin:0 0 12px;font-size:15px;font-weight:500;line-height:1.4}
.profile-image-management{display:flex;gap:20px;align-items:center}
.profile-small-photo{width:80px;height:104px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--soft);overflow:hidden;border:1px solid var(--line)}
.profile-small-photo img{width:100%;height:100%;object-fit:contain;display:block}
.profile-small-photo svg{width:26px;height:26px;color:var(--muted)}
.profile-image-management p,.profile-help{font-size:12px;line-height:1.8;color:var(--muted)}
.profile-image-management p{margin:0 0 12px}.profile-help{margin:16px 0 0}
.profile-actions,.profile-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.profile-account-details{margin:0}
.profile-account-details>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}
.profile-account-details>div:first-child{padding-top:0}.profile-account-details dt{color:var(--muted);flex:none}.profile-account-details dd{margin:0;overflow-wrap:anywhere;text-align:right}
.profile-account-actions{margin-top:20px}
.profile-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:24px}
.profile-balance span{font-size:11px;color:var(--muted)}
.profile-balance strong{display:block;margin-top:8px;font-size:28px;font-weight:500;line-height:1.2}
.profile-balance strong small{font-size:11px;font-weight:400;color:var(--muted);margin-left:6px}
.profile-bill-list{list-style:none;margin:0 0 26px;padding:0}
.profile-bill-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}
.profile-bill-list li>div{min-width:0}.profile-bill-list strong{display:block;font-size:12px;font-weight:400;overflow-wrap:anywhere}
.profile-bill-list small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}
.profile-bill-list li>span{flex:none;font-size:11px}.profile-point-change.positive{color:var(--accent)}
.profile-preferences{display:grid;gap:0}
.profile-setting{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}
.profile-setting:first-child{padding-top:0}.profile-setting:last-child{border-bottom:0;padding-bottom:0}
.profile-setting select{width:140px;max-width:60%;height:30px;padding:4px 8px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink);font:inherit;font-size:11px}
.profile-center button:focus-visible,.profile-setting select:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.profile-generated-title{margin:28px 0 12px!important;display:flex;align-items:center;gap:8px}
.profile-generated-title small{font-size:10px;font-weight:400;color:var(--muted)}
.profile-generated-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px}
.profile-generated-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
.profile-generated-open{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in;overflow:hidden}
.profile-generated-open img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:var(--page);transition:transform .24s ease}
.profile-generated-open:hover img{transform:scale(1.035)}
.profile-generated-open:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.profile-generated-card>div{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px}
.profile-generated-card>div>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:var(--ink)}
.profile-generated-card small{display:block;margin-top:4px;font-size:9px;color:var(--muted)}
.profile-generated-card .icon-button{width:28px;height:28px;flex:none}
.profile-photo-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(10,7,9,.64);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);overscroll-behavior:contain}
.profile-photo-modal{position:relative;display:flex;flex-direction:column;width:min(520px,calc(100vw - 36px));max-height:calc(100dvh - 36px);overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:#211a1d;box-shadow:0 28px 90px rgba(0,0,0,.48);color:#fff;will-change:transform}
.profile-photo-large{display:block;width:100%;height:auto;max-height:calc(100dvh - 112px);object-fit:contain;background:#151114}
.profile-photo-modal.is-fullscreen{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;background:#090809;box-shadow:none}
.profile-photo-modal.is-fullscreen .profile-photo-large{flex:1;min-height:0;width:100%;height:100%;max-height:none;cursor:zoom-out}
.profile-photo-modal.is-fullscreen .profile-photo-caption{display:none}
.profile-photo-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;color:#f7edf2}
.profile-photo-caption strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
.profile-photo-caption small{flex:none;font-size:10px;color:#cbbbc3}
.profile-photo-close{position:absolute;top:10px;right:10px;z-index:1;width:34px;height:34px;padding:0;border:1px solid rgba(255,255,255,.34);border-radius:50%;background:rgba(28,21,25,.68);color:#fff;font:300 24px/1 sans-serif;cursor:pointer;backdrop-filter:blur(8px)}
.profile-photo-close:focus-visible{outline:2px solid #fff;outline-offset:3px}
.item-art img[data-item-zoom]{cursor:zoom-in}
@media(max-width:600px){.profile-photo-overlay{padding:12px}.profile-photo-modal{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border-radius:14px}.profile-photo-large{max-height:calc(100dvh - 84px)}.profile-photo-caption{padding:11px 14px}}
@media(prefers-reduced-motion:reduce){.profile-generated-open img{transition:none}}
:root body.mobile-app .profile-center{margin:18px 0 0;max-width:none}
:root body.mobile-app .profile-center-tabs{gap:4px}
:root body.mobile-app .profile-center-tabs{position:sticky;top:0;z-index:3;padding-top:8px;background:var(--page)}
:root body.mobile-app .profile-center-tabs button{min-height:30px;font-size:10.5px;padding:5px 8px}
:root body.mobile-app .profile-center-panel{margin-top:16px;padding:18px 16px;border-radius:12px}
:root body.mobile-app .profile-image-management{gap:14px}
:root body.mobile-app .profile-small-photo{width:64px;height:84px;border-radius:8px}
:root body.mobile-app .profile-center-panel h2{font-size:13px}
:root body.mobile-app .profile-image-management p,:root body.mobile-app .profile-help{font-size:11px}
