#playerProfileDialog{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #bda66c;border-radius:24px;background:#153528;color:#f2e6c7;padding:22px;font:400 1rem/1.5 Arial,sans-serif}#playerProfileDialog::backdrop{background:#061b14b8}.player-profile-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.player-profile-head h2{font:400 1.8rem Georgia;margin:0}.player-profile-head button{width:44px;height:44px;min-width:44px;border:1px solid #c2ae7966;border-radius:50%;background:none;color:inherit;font-size:26px}.player-profile-summary{display:flex;align-items:center;gap:16px;margin:24px 0 16px}.player-profile-avatar{display:grid;place-items:center;flex:none;width:76px;height:76px;border-radius:50%;background:linear-gradient(135deg,#e0c989,#867044);color:#143728;font-size:2.3rem;box-shadow:0 4px 8px #071e1a55}.player-profile-summary strong{font:400 1.5rem Georgia;overflow-wrap:anywhere}.player-profile-summary p{margin:6px 0;color:#ddcb98}.player-profile-progress progress{width:100%;height:9px;accent-color:#dfc383}.player-profile-progress p{font-size:.875rem;color:#cad3bf;margin:8px 0 24px}#playerProfileForm label,#playerProfileForm legend{font-size:1rem}#playerProfileInput{box-sizing:border-box;width:100%;min-height:46px;margin-top:8px;padding:10px 12px;border:1px solid #78927a;border-radius:12px;background:#10291f;color:#f2e6c7;font:inherit}.player-profile-note{font-size:.875rem;color:#bdcbb7;line-height:1.5}.player-profile-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}#playerProfileForm fieldset{border:0;padding:0;margin:22px 0}.player-profile-options button{min-height:54px;border:1px solid #637e63;border-radius:14px;background:#214331;color:#f2dfac;font-size:1.6rem}.player-profile-options button[aria-pressed=true]{border:2px solid #e5c984;background:#3b5737}.player-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.player-profile-actions button{min-height:46px;border:1px solid #b5a16e;border-radius:22px;font:inherit;background:none;color:#efddb0}.player-profile-actions .gold{background:#e9d49c;color:#193b2b}#playerProfileStatus{font-size:.875rem;min-height:21px}#playerProfileDialog :focus-visible{outline:2px solid #f4dc95;outline-offset:3px}#playerProfileDialog button:disabled{opacity:.6}

.player-profile-inventory{display:block;width:100%;margin-top:16px;min-height:44px;background:none;border:0;border-top:1px solid #9b996144;border-radius:0;color:#e5d6b0;font:inherit;padding-top:14px}#playerProfileStatus:empty{display:none}@media(max-height:700px){#playerProfileDialog{padding:16px}.player-profile-head h2{font-size:1.5rem}.player-profile-summary{margin:14px 0 12px;gap:12px}.player-profile-avatar{width:56px;height:56px;font-size:1.8rem}.player-profile-summary strong{font-size:1.3rem}.player-profile-progress p{margin:5px 0 14px}.player-profile-note{margin:8px 0}.player-profile-options button{min-height:46px}#playerProfileForm fieldset{margin:14px 0}.player-profile-inventory{margin-top:8px;padding-top:8px}}

.player-profile-head{position:sticky;top:-22px;z-index:2;background:#153528;padding:4px 0}@media(max-height:700px){.player-profile-head{top:-16px}}
