#character-reset{position:absolute;inset:0;z-index:150;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;background:#0008;touch-action:manipulation;overscroll-behavior:contain}#character-reset[hidden]{display:none}.reset-window{position:relative;isolation:isolate;box-sizing:border-box;width:min(640px,calc(100% - 16px));height:min(516px,calc(100% - 16px));padding:22px 36px 26px;display:grid;grid-template-rows:32px 32px 30px minmax(90px,1fr) 25px 32px 34px 22px;gap:5px;color:#eee0c1;font:14px/1.4 'Microsoft JhengHei',serif;outline:0}.reset-window h2{margin:0;text-align:center;font-size:22px;line-height:32px;font-weight:500;color:#f5dfac;text-shadow:0 2px 3px #000}.reset-window>.system-skin{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}.reset-window{min-width:0;min-height:0}.reset-phases{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;text-align:center;font-size:13px;color:#8d897f}.reset-phases li{padding:4px 0;border-bottom:1px solid #514b3e}.reset-phases [aria-current=step]{color:#ffe5a4;border-bottom:2px solid #c49d4a}.reset-window p{margin:0;text-align:center;min-width:0}.reset-summary{font-variant-numeric:tabular-nums;align-self:center;color:#f0e9d8}.reset-scroll{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#9d8860 #171817}.reset-window table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:center;font-variant-numeric:tabular-nums}.reset-window th{font-weight:400;color:#d0bf9b}.reset-window thead th{height:26px;font-size:12px;border-bottom:1px solid #796644}.reset-window tbody tr{height:34px;border-bottom:1px solid #62564066;background:#0b101080}.reset-window tbody tr{height:32px}.reset-window tbody tr:nth-child(even){background:#292a2533}.reset-window td:nth-child(2){font-size:18px;color:#fff5d7}.reset-window th:last-child{width:108px}.reset-window button{min-width:0;min-height:0;box-sizing:border-box;padding:0;border:1px solid #86734e;border-radius:0;box-shadow:none;background:#1c2020;color:#f2e1b8;font:inherit;cursor:pointer}.reset-window td button{width:32px;height:24px;margin:2px 6px;font-size:19px;line-height:22px}.reset-window button:hover:not(:disabled){filter:brightness(1.3);color:#fff3bd}.reset-window button:disabled{opacity:.45;cursor:default}.reset-window button:focus-visible{outline:2px solid #f2cf7d;outline-offset:2px}.reset-budget{color:#f0cc77;align-self:center;font-size:14px}.reset-status{color:#c6bda9;font-size:12px;line-height:16px;overflow:auto}.reset-actions{display:flex;justify-content:center;gap:8px;min-width:0}.reset-actions button{position:relative;isolation:isolate;flex:1;max-width:142px;min-width:0;height:32px;font-size:12px;white-space:nowrap}.reset-actions button[hidden]{display:none}.reset-actions .action-button-skin{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}.reset-actions svg{width:12px;height:12px;vertical-align:middle;margin-right:3px}.reset-limits{align-self:center;font-size:11px;color:#b8aa90}@media(max-width:500px){.reset-window{padding-inline:24px;font-size:12px}.reset-phases{font-size:11px}.reset-actions{gap:3px}.reset-actions button{font-size:11px}.reset-window th:last-child{width:84px}.reset-window td button{width:29px;margin:3px}.reset-summary{font-size:12px}}@media(max-height:360px){.reset-window{padding-top:17px;padding-bottom:18px;grid-template-rows:26px 25px 22px minmax(40px,1fr) 22px 22px 28px 18px;gap:2px}.reset-window h2{font-size:18px;line-height:26px}.reset-actions button{height:27px}.reset-phases{font-size:11px}}