#world-vitals{--vitals-width:264px;--avatar-size:48px;display:grid;grid-template-columns:var(--avatar-size) minmax(0,1fr) 18px;gap:8px;width:var(--vitals-width);height:62px;padding:5px;top:8px;left:8px;border:1px solid #77776f;background:#1b1c1ee8;pointer-events:auto;z-index:5}#world-vitals[hidden]{display:none}#world-vitals[data-size=tiny]{--vitals-width:159px}#world-vitals[data-size=small]{--vitals-width:224px}#world-vitals[data-size=large]{--vitals-width:303px}.portrait-shell{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;height:auto;align-self:center;border:1px solid #89846d;background:#131416;overflow:visible}.portrait-shell>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;image-rendering:auto}.portrait-shell>img[data-default=true]{object-fit:contain;padding:5px;image-rendering:pixelated}.portrait-shell .avatar-placeholder{width:24px;height:24px;color:#8e9196}.portrait-shell>img[hidden]{display:none}#portrait-open{position:absolute;right:-5px;bottom:-4px;width:18px;height:18px;min-height:18px;padding:1px;background:#242528;border:1px solid #999b9e;border-radius:0;z-index:1}#portrait-open svg{width:14px;height:14px}.portrait-name-row{display:flex;gap:5px;align-items:center;height:16px;margin:0}.portrait-name-row #player{flex:1;min-width:0;font-size:12px;margin:0;line-height:16px;color:#fff}.portrait-name-row>span{flex:none;font-size:11px;white-space:nowrap}.portrait-vitals-body{min-width:0;align-self:center;display:grid;grid-template-rows:repeat(3,16px);height:48px}#world-vitals .life-bar{height:13px;margin:0;align-self:center}#world-vitals .life-bar span{font-size:10px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vitals-zoom{display:grid;grid-template-rows:repeat(3,16px);height:48px;align-self:center}.vitals-zoom .icon:first-child{grid-row:2}.vitals-zoom .icon:last-child{grid-row:3}.vitals-zoom .icon{width:17px;height:16px;min-height:16px;padding:1px;border-radius:0;background:#333538;color:#fff}.vitals-zoom svg{width:13px;height:13px}.portrait-vitals-body{grid-template-columns:minmax(0,1fr)}.portrait-name-row,#world-vitals .life-bar{min-width:0}#selected-player{position:absolute;z-index:5;left:50%;top:8px;transform:translateX(-50%);display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;width:226px;height:54px;padding:5px;border:1px solid #77776f;background:#1b1c1ee8;pointer-events:none}#selected-player[hidden]{display:none}#selected-player>div:last-child{min-width:0}#selected-name{display:block;font-size:12px;line-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#selected-player .life-bar{height:15px;margin:6px 0 0}.hp-gauge meter::-webkit-meter-optimum-value{background:#ab262f}.mp-gauge meter::-webkit-meter-optimum-value{background:#2562ac}.life-bar:has(meter[hidden]){background:repeating-linear-gradient(135deg,#17181a 0 4px,#202124 4px 8px);border:1px solid #575b64}#player-profile-window{width:310px;left:calc(50% - 155px);top:104px;padding:8px 10px 12px;z-index:24;background:#1b1c1ef5;border:1px solid #77776f}#player-profile-window .window-title{margin:-8px -10px 10px;padding:0 5px 0 10px;height:28px}#player-profile-window h2{font-size:13px;color:#fff}.profile-summary{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px}.profile-summary>div:last-child{min-width:0}#profile-name{display:block;font-size:12px;line-height:18px;overflow-wrap:anywhere}#profile-level{font-size:11px;color:#b8b9bc;line-height:17px;margin:2px 0 6px}.profile-summary .life-bar{height:15px;margin:5px 0}.profile-summary .life-bar span{font-size:11px;line-height:15px}#profile-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin:18px 0 0}#profile-attributes>div{display:flex;gap:4px;justify-content:space-between;min-width:0}#profile-attributes dt{font-size:11px;color:#b8b9bc}#profile-attributes dd{font-size:11px;margin:0;color:#fff;white-space:nowrap}#portrait-editor{width:326px;max-width:calc(100% - 12px);left:calc(50% - 163px);top:92px;z-index:36;background:#1b1c1efc;border:1px solid #77776f}#portrait-editor h2{font-size:13px}.portrait-editor-body{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;padding:8px 0}#portrait-preview{width:120px;height:120px;border:1px solid #89846d;background:#131416}.portrait-editor-body>div{display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0}#portrait-status{font-size:11px;color:#bbb;margin:0;overflow-wrap:anywhere}#portrait-editor button:not(.icon){height:27px;min-height:27px;padding:0 8px;font-size:12px;border-radius:0;background:#303134;color:#fff}.portrait-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:12px}.portrait-actions button{width:72px}#viewport:has(#portrait-editor:not([hidden]))>:not(#portrait-editor){pointer-events:none!important}#player-context,#party-context{width:156px;background:#1c1d1f;border-color:#5e6065;color:#fff}#player-context button,#party-context button{font-size:12px;color:#fff;min-height:28px}#player-context button:hover,#party-context button:hover,#player-context button:focus-visible,#party-context button:focus-visible{background:#414347;color:#fff}#player-context button:disabled,#party-context button:disabled{color:#888}.portrait-shell:has(>img:not([hidden]))>.avatar-placeholder{visibility:hidden}#world-vitals{z-index:2;isolation:isolate;user-select:none;top:8px;left:8px}#self-avatar{pointer-events:none}#world-vitals{border:0;background:#111315;color:#eee6d5}#world-vitals .vitals-skin{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}#world-vitals>:not(.vitals-skin){position:relative;z-index:1}#world-vitals .portrait-shell{border-color:#96804e;box-shadow:inset 0 0 0 1px #181b1c;background:#0c0e10}#world-vitals :is(#portrait-open,.vitals-zoom .icon){border:1px solid #96804e;background:#171a1c;box-shadow:inset 0 0 0 1px #35332a;border-radius:0;color:#efe3c5}#world-vitals #portrait-open{position:absolute}#world-vitals :is(#portrait-open,.vitals-zoom .icon):hover:not(:disabled){background:#342d20;border-color:#e0c47c}#world-vitals button:focus-visible{outline:1px solid #ffe19a;outline-offset:-2px}#world-vitals .life-bar{background:#96804e;clip-path:polygon(4px 0,calc(100% - 4px) 0,100% 50%,calc(100% - 4px) 100%,4px 100%,0 50%)}#world-vitals .life-bar meter{inset:1px;width:calc(100% - 2px);height:calc(100% - 2px);clip-path:polygon(3px 0,calc(100% - 3px) 0,100% 50%,calc(100% - 3px) 100%,3px 100%,0 50%)}#world-vitals meter::-webkit-meter-bar{background:#080a0b;border:0;border-radius:0}#world-vitals #hp::-webkit-meter-optimum-value{background:linear-gradient(#d14f50,#ab262f 55%,#781b21)}#world-vitals #mp::-webkit-meter-optimum-value{background:linear-gradient(#4889cc,#2562ac 55%,#194478)}#world-vitals meter::-moz-meter-bar{border:0;border-radius:0}#world-vitals{grid-template-areas:"avatar name name" "avatar gauges zoom";grid-template-rows:auto 32px;column-gap:8px;row-gap:0;padding:6px;height:auto;min-height:62px;align-content:center}#world-vitals>.portrait-name-row{grid-area:name;display:flex;flex-wrap:wrap;gap:0 6px;align-items:start;height:auto;min-height:16px}#world-vitals #player{flex:1 1 auto;max-width:100%;font-size:12px;line-height:16px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-weight:600}#world-vitals #self-level{flex:0 0 42px;margin-left:auto;line-height:16px;text-align:right;color:#eee6d5}#world-vitals>.portrait-shell{grid-area:avatar}#world-vitals>.portrait-vitals-body{grid-area:gauges;grid-template-rows:repeat(2,16px);height:32px;align-content:center}#world-vitals>.vitals-zoom{grid-area:zoom;grid-template-rows:repeat(2,16px);height:32px;align-content:center}#world-vitals .vitals-zoom .icon:first-child{grid-row:1}#world-vitals .vitals-zoom .icon:last-child{grid-row:2}#world-vitals #vitals-restore{display:none;width:20px;height:20px;min-height:20px;padding:2px;border:1px solid #96804e;border-radius:0;background:#171a1c;color:#efe3c5}#vitals-restore svg{width:14px;height:14px}#world-vitals[data-size=collapsed]{width:20px;height:20px;min-height:20px;padding:0;background:none;grid-template-areas:none;grid-template-rows:20px;grid-template-columns:20px}#world-vitals[data-size=collapsed]>:not(#vitals-restore){display:none}#world-vitals[data-size=collapsed] #vitals-restore{display:grid;place-items:center}.party-class{width:21px;height:21px;position:relative;overflow:hidden}#party-floating[data-extended=true] .party-class{width:27px;height:27px}.party-class .party-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;image-rendering:auto}.party-class .party-portrait[data-default=true]{object-fit:contain;padding:2px;image-rendering:pixelated}.party-class:has(>img:not([hidden]))>svg{visibility:hidden}@media(max-width:600px){#selected-player{left:8px;top:88px;transform:none}#player-profile-window{top:146px}#portrait-editor{top:76px}}@media(orientation:landscape) and (max-height:600px){#player-profile-window{top:66px;max-height:calc(100% - 72px);overflow-y:auto}#portrait-editor{top:6px;max-height:calc(100% - 12px);overflow-y:auto}.portrait-editor-body{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:0}#portrait-preview{width:88px;height:88px}.portrait-actions{margin-top:6px}}