/* Player dashboard: real game art, private to the authenticated account. */
body[data-page=profile]{background:radial-gradient(ellipse at 15% 10%,#513f2526,transparent 50%),#100e0d}
body[data-page=profile] .player-portal,body[data-page=profile] .season-strip{display:none}
.profile-page.profile-dialog{width:min(1440px,94vw);max-width:1440px;margin:30px auto 70px;padding:32px;border:0;background:none;max-height:none;overflow:visible}
.profile-page>h2{font:clamp(28px,4vw,44px)/1.4 var(--display);margin-bottom:26px}
.profile-page .profile-layout{grid-template-columns:minmax(380px,.95fr) minmax(0,1fr);gap:34px;align-items:start}
.profile-page .character-stage{position:sticky;top:100px;border:1px solid #6e5537;background:linear-gradient(160deg,#282118,#141311 60%);padding:22px}
.character-identity{display:flex;gap:16px;align-items:center;border-bottom:1px solid #e4cfaa25;padding-bottom:20px}
.character-identity #profile-face{width:58px;height:58px;border:1px solid #9f7b42;background:#12110f;object-fit:contain}
.character-identity h3{font:27px/1.3 var(--display);margin:5px 0;overflow-wrap:anywhere}
.character-identity p{margin:0;font-size:11px;letter-spacing:1px;color:#caa570}
.character-identity span{font-size:11px;color:#bcae9a}
.paperdoll{display:grid;grid-template-columns:65px minmax(0,1fr) 65px;gap:8px;align-items:center;margin-top:20px;direction:ltr}
.equipment-rail{display:grid;gap:9px}
.equipment-slot{border:0;background:none;padding:0;display:grid;justify-items:center;gap:4px;color:#c5ae89;min-width:0;cursor:pointer}
.equipment-slot:disabled{cursor:default;opacity:.5}
.equipment-slot small{font-size:9px;line-height:1.25;text-align:center;min-height:12px;max-width:70px;overflow-wrap:anywhere}
.slot-icon{display:grid;place-items:center;position:relative;width:48px;height:48px;background:linear-gradient(145deg,#31281c,#0d0e0e);border:1px solid #685033;box-shadow:inset 0 0 0 3px #0b0b0b66}
.equipped .slot-icon{border-color:#bb8c45;box-shadow:inset 0 0 8px #b6882f28}
.equipped:hover .slot-icon{border-color:#f2d6a4;transform:translateY(-2px)}
.slot-icon img{width:40px;height:40px;object-fit:contain;image-rendering:auto}
.slot-icon b{position:absolute;bottom:0;right:2px;font-size:11px;color:#f2d6a4;text-shadow:1px 1px #000}
.slot-icon>span{color:#806340;font-size:22px}
.character-model{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;background:#202228;min-height:430px;overflow:hidden;border:1px solid #61503940}
.character-model .profile-portrait{width:100%;height:auto;max-height:480px;max-width:480px;object-fit:contain!important;border:0;margin:0}
.character-model #model-status{position:absolute;inset:auto 8px 38px;font-size:11px;text-align:center;background:#202228d9;padding:8px}
.character-model #model-status:empty{display:none}
.model-caption{position:absolute;bottom:12px;text-align:center;font-size:8px;letter-spacing:1px;color:#a39073}
.profile-page #profile-snapshot-note{font-size:11px;margin:18px 0 0;line-height:1.8}
.profile-page .profile-tabs{margin-top:0;gap:6px;border-color:#5c492f}
.profile-page .profile-tabs button{font:12px var(--font);padding:10px 12px;border-color:#5b4933}
.profile-page .profile-tabs button[aria-selected=true]{background:#c7a46b;color:#17120c}
.profile-page .profile-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-page .profile-summary>div{padding:16px 12px;background:#201b15;border:1px solid #4d3c28}
.profile-page .profile-summary dt{font-size:11px}.profile-page .profile-summary dd{font-size:22px;overflow-wrap:anywhere}
.profile-page .profile-actions{justify-content:flex-end;margin:-54px 0 24px}.profile-page .profile-actions button{font:12px var(--font)}
.profile-page .profile-select{width:100%;margin:0 0 22px;padding:12px}
.profile-page .profile-login{margin:40px auto;max-width:430px;background:#1c1712;padding:28px;border:1px solid #705333}
.profile-page #profile-intro{margin:0 0 24px}.profile-page #profile-status{text-align:center}
.skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.skill-card{border:1px solid #5b4933;background:#1d1914;display:flex;align-items:center;gap:12px;padding:16px;min-width:0}
.skill-card img{width:40px;height:40px;object-fit:contain}.skill-card>div{display:grid;gap:7px;min-width:0}.skill-card strong{font-size:13px;overflow-wrap:anywhere;color:#e4cfaa}.skill-card small{font-size:11px;color:#bcae9a}
.item-detail img{width:64px;height:64px;object-fit:contain}.profile-page .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.profile-page .profile-layout{grid-template-columns:minmax(350px,.9fr) minmax(0,1fr);gap:20px}.profile-page.profile-dialog{padding:20px 4px}.profile-page .character-stage{padding:15px}.profile-page .profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.profile-page .profile-layout{grid-template-columns:1fr}.profile-page .character-stage{position:static;max-width:570px;width:100%;margin:auto}.character-model{min-height:430px}.profile-page .profile-actions{margin:0 0 20px}.profile-page .profile-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-page .profile-tabs{margin-top:10px}}
@media(max-width:480px){.profile-page.profile-dialog{width:94vw;margin-top:8px}.profile-page .character-stage{padding:12px}.paperdoll{grid-template-columns:52px minmax(0,1fr) 52px;gap:4px}.slot-icon{width:42px;height:42px}.slot-icon img{width:36px;height:36px}.equipment-slot small{font-size:8px;max-width:52px}.character-model{min-height:400px}.character-model .profile-portrait{width:140%;max-width:none;flex:none}.profile-page .profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-page .profile-summary dd{font-size:19px}.skill-grid{grid-template-columns:1fr}}
