#attributes{width:880px;max-width:calc(100vw - 16px);padding:18px;background:#1c1732;border-color:#a595d4;color:#eee9ff}#attribute-context{font-size:12px;color:#d3c2ff}.attribute-layout{display:grid;grid-template-columns:344px 1fr;gap:20px;align-items:start}.native-attributes{position:relative;width:344px;height:283px;background:url('assets/ui/0161-0000.png') no-repeat;image-rendering:pixelated;flex-shrink:0}.native-attributes>span{position:absolute;text-align:center;line-height:16px;font:11px/16px 'Microsoft JhengHei';color:white;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#attribute-portrait{position:absolute;left:5px;top:27px;width:82px;height:100px;object-fit:contain;image-rendering:pixelated}#attribute-level{left:208px;top:34px;width:29px}#attribute-name{left:207px;top:53px;width:125px}#attribute-account{left:207px;top:72px;width:125px}#attribute-title{left:207px;top:91px;width:125px}#attribute-experience{left:34px;top:132px;width:92px}#attribute-next{left:140px;top:132px;width:91px}#attribute-cap{display:none}.native-attribute-row{position:absolute;left:0;height:16px;width:162px;color:white;font:11px/16px 'Microsoft JhengHei'}.native-attribute-row>span{position:absolute;left:45px;width:65px;text-align:center}.native-attribute-row>small{position:absolute;left:129px;width:33px;text-align:center;font:11px/16px 'Microsoft JhengHei'}.native-stat-plus{position:absolute;left:114px;top:1px;width:15px;height:14px;padding:0;border:0;border-radius:0;background:transparent url('assets/ui/0161-0004.png') center no-repeat;image-rendering:pixelated}.native-stat-plus:hover{filter:brightness(1.5)}.native-stat-plus:disabled{opacity:.25;cursor:default}#attribute-hp,#attribute-mp,#attribute-sp,#attribute-weight,#attribute-seed,#attribute-points,#attribute-fame{left:207px;width:128px}#attribute-hp{top:163px}#attribute-mp{top:178px}#attribute-sp{top:193px}#attribute-weight{top:208px}#attribute-seed{top:223px}#attribute-points{top:238px}#attribute-fame{top:253px}#attribute-preview{font-size:11px;line-height:2;white-space:pre-line;color:#d5c7ec;background:#352b50;padding:12px;border:1px solid #685480}.attribute-option{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #72618d55}.attribute-option strong{font-size:12px;font-weight:400}.attribute-option small{display:block;font-size:10px;color:#b9abcb;line-height:1.7;margin-top:4px}.attribute-option>div:last-child{display:flex;gap:5px;flex-shrink:0}.attribute-option button{width:32px;height:34px;padding:0;background:#4a3d68;border-color:#9d82b9;color:white;font-size:18px}.attribute-option button:disabled{opacity:.3}.attribute-footer{display:flex;gap:10px;align-items:center;position:sticky;bottom:0;background:#211a38;padding:12px 0;border-top:1px solid #8a70a655;flex-wrap:wrap}.attribute-footer strong{font-size:13px;margin-right:auto}.attribute-footer button{font-size:12px;padding:10px 14px}#attribute-message{font-size:12px;line-height:1.7;color:#f1dcb0}#attributes .dialog-note{font-size:10px;line-height:1.8}
@media(max-width:730px){.attribute-layout{display:flex;flex-direction:column;align-items:center}.attribute-layout>div{max-width:100%;width:100%}.native-attributes{margin:auto}#attributes{padding:12px}#attribute-options{width:100%}.attribute-option button{width:40px;height:40px}.attribute-footer{gap:7px}.attribute-footer strong{width:100%}.attribute-footer button{flex:1}}@media(max-width:400px){.native-attributes{zoom:.9}#attribute-preview{font-size:10px}}@media(max-height:600px) and (orientation:landscape){#attributes{max-height:calc(100svh - 12px)}.attribute-layout{display:grid;grid-template-columns:344px 1fr}.attribute-footer{position:sticky}}

.attribute-permanent{display:block;margin-top:12px;font-size:10px;color:#c7b4e0}

/* Keep the status window itself at the original bitmap size. */
#attributes.native-frame-only{width:344px;height:283px;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;box-shadow:none}
#attributes.native-frame-only>.dialog-head,#attributes.native-frame-only>#attribute-context,#attributes.native-frame-only>.attribute-footer,#attributes.native-frame-only>.dialog-note,#attributes.native-frame-only #attribute-options,#attributes.native-frame-only .attribute-permanent,#attributes.native-frame-only #attribute-preview{display:none}
#attributes.native-frame-only .attribute-layout{display:block;position:relative;width:344px;height:283px;margin:0;padding:0}
#attributes.native-frame-only .attribute-layout>div{width:344px;max-width:none}
#attributes.native-frame-only .native-attributes{position:absolute;left:0;top:0;margin:0;zoom:1;transform-origin:top left}
#attributes.native-frame-only .native-attributes button{min-height:0;box-sizing:border-box;touch-action:none}
#attributes.native-frame-only .native-stat-plus{left:111px;top:0;width:20px;height:15px}
#attributes.native-frame-only .native-stat-minus{position:absolute;left:135px;top:0;width:25px;height:15px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font:bold 14px/15px sans-serif}
#attributes.native-frame-only .native-stat-minus:hover{background:#9888ca55}
#attributes.native-frame-only .native-stat-minus:disabled{opacity:.25;cursor:default}
#attributes.native-frame-only .attribute-planned{color:#fff1a1}
#attributes.native-frame-only #attribute-fame{display:none}
#attributes.native-frame-only #attribute-apply,#attributes.native-frame-only #attribute-reset{position:absolute;top:257px;width:74px;height:17px;min-height:0;padding:0;border:1px solid #8d7bbd;border-radius:2px;background:linear-gradient(#7664a8,#413365);box-shadow:none;color:#fff;font:11px/14px 'Microsoft JhengHei';letter-spacing:0}
#attributes.native-frame-only #attribute-apply{left:177px}
#attributes.native-frame-only #attribute-reset{left:257px}
#attributes.native-frame-only #attribute-apply:disabled,#attributes.native-frame-only #attribute-reset:disabled{opacity:.45;cursor:default}
#attributes.native-frame-only #attribute-message{position:absolute;left:148px;top:113px;width:187px;height:15px;margin:0;padding:0;border:0;background:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff0b5;font:10px/15px 'Microsoft JhengHei'}
#attributes.native-frame-only .native-attributes-close{position:absolute;z-index:2;right:7px;top:4px;width:16px;height:15px;min-height:0;padding:0;border:0;border-radius:2px;background:#6f60a194;color:#32294f;font:bold 16px/14px sans-serif;box-shadow:none}
#attributes.native-frame-only .native-attributes-close:hover{background:#dfd5ff}
#attributes.native-frame-only button:focus-visible{outline:1px solid #fff3b4;outline-offset:0}

#attributes.native-frame-only .native-attribute-row .native-stat-cost{position:absolute;left:129px;top:0;width:23px;height:14px;background:#6a5aab;border-radius:7px;color:#fff;text-align:center;font:11px/14px 'Microsoft JhengHei';pointer-events:none}

#attributes.native-frame-only .native-stat-plus{width:16px}#attributes.native-frame-only .native-stat-minus{left:153px;width:11px;font-size:11px}

.native-attribute-row>span:first-child{display:flex;justify-content:center;gap:2px;white-space:nowrap;font-size:10px;letter-spacing:-.5px}.attribute-gear-bonus{color:#fff133;font-size:9px;font-weight:bold;letter-spacing:-.6px}
