.helper-window{width:380px;max-width:calc(100% - 12px);height:514px;max-height:calc(100% - 16px);left:16px;top:8px;z-index:28;padding:12px 13px 10px;background:#141614;border:1px solid #94815b;color:#eee9d7;display:grid;grid-template-rows:32px 61px minmax(0,1fr) 32px;gap:7px;isolation:isolate;font-family:PMingLiU,'Microsoft JhengHei UI',serif}.helper-window[hidden]{display:none}.helper-window>.ornate-skin{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}.helper-window>.window-title{height:32px;margin:0;padding:0;border:0;display:grid;grid-template-columns:88px minmax(0,1fr) 26px;gap:6px}.helper-window h2{font-family:PMingLiU,serif;font-size:19px;line-height:28px;text-align:center;margin:0;color:#fff2cb}.helper-window button{border-radius:0;cursor:pointer;min-height:0;font-family:inherit;letter-spacing:0}.helper-switch{height:27px;padding:0 5px;font-size:12px;background:#222723;border:1px solid #8b805f;color:#ded7c7}.helper-switch:before{content:'';display:inline-block;width:24px;height:15px;border:1px solid #948969;border-radius:10px;vertical-align:middle;margin-right:5px;background:#4b4f4e;box-shadow:inset 0 0 0 3px #292e2b}.helper-switch[aria-pressed=true]:before{background:#92bd75}.helper-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,28px);gap:4px}.helper-tabs button{padding:0;font-size:13px;background:#232725;border:1px solid #75674d;box-shadow:inset 0 0 0 2px #121513;color:#e8dfc9}.helper-tabs button[aria-selected=true],.helper-mode button[aria-pressed=true]{background:#7a6131;border-color:#e0bd6c;color:#fff5cf;box-shadow:inset 0 0 7px #ad884d}.helper-list{overflow:auto;min-height:0;padding:0 3px 8px;scrollbar-color:#8c7953 #101410;border-top:1px solid #5b5845;border-bottom:1px solid #5b5845}.helper-section{font-size:15px;font-weight:400;margin:9px 0 5px;display:flex;align-items:center;gap:8px;color:#f1e9cc;line-height:19px}.helper-section:after{content:'';height:1px;flex:1;background:#676450}.helper-row{position:relative;min-height:43px;display:flex;align-items:center;gap:5px;padding:3px 0;border-bottom:1px solid #46483b;cursor:default}.helper-row[hidden]{display:none}.helper-row.selected{background:#34392d}.helper-row>input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#b9a16b}.helper-window input,.helper-window select{border:1px solid #8c805e;border-radius:0;background:#171d19;color:#f2ebd6;min-height:24px;font-size:12px;letter-spacing:0;padding:1px 3px;min-width:0}.helper-window input[type=number]{width:52px;height:25px;flex:0 0 52px}.helper-slot{width:36px;height:36px;flex:0 0 36px;padding:0;background:#0d120e;border:1px solid #b69a5c;box-shadow:inset 0 0 0 2px #11180f;display:grid;place-items:center;overflow:hidden;position:relative}.helper-slot.drag-over{outline:2px solid #f5db91}.helper-slot img{max-width:32px;max-height:32px;image-rendering:pixelated;pointer-events:none}.helper-slot svg{width:21px;height:21px;color:#d3c18a}.helper-item-name{font-size:12px;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.helper-quantity{font-size:11px;min-width:18px;text-align:right}.helper-supply-row>span:first-of-type{font-size:12px;min-width:49px}.helper-supply-row>span:nth-of-type(2){font-size:12px;width:12px}.helper-mode{display:flex;gap:5px;align-items:center;margin-top:10px;font-size:13px}.helper-mode>span{margin-right:auto}.helper-mode button{height:25px;min-width:76px;padding:0 5px;font-size:12px;border:1px solid #7d704f;background:#252920;color:#ece2c6}.helper-result{font-size:10px;color:#c6c2a7;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.helper-status-row,.helper-special-row,.helper-items-row,.helper-chat-row{padding-bottom:16px}.helper-status-row>.helper-result,.helper-special-row>.helper-result,.helper-items-row>.helper-result,.helper-chat-row>.helper-result{position:absolute;left:22px;bottom:1px;max-width:calc(100% - 24px);height:13px;line-height:13px}.helper-status-row{min-height:53px}.helper-status-row select{width:80px;flex:0 0 80px}.helper-self{width:38px;font-size:12px;text-align:center}.helper-list>input[type=search]{margin-top:8px;width:100%;height:24px}.helper-columns{font-size:11px;margin:8px 0 4px;color:#e3dbbd;white-space:nowrap;overflow:hidden}.helper-actions{display:flex;gap:7px;margin:8px 0}.helper-icon{width:25px;height:25px;flex:0 0 25px;padding:3px;background:#252920;color:#e5d2a2;border:1px solid #a18a55;display:grid;place-items:center}.helper-icon svg{width:17px;height:17px}.helper-timer-row{min-height:45px}.helper-timer-row>.helper-result{width:56px;flex:0 0 56px;font-size:10px}.helper-timer-row>span:not(.helper-item-name){font-size:11px}.helper-special-row>input[type=text]{width:102px;flex:0 0 102px}.helper-special-row{min-height:55px}.helper-items-row select{width:51px;flex:0 0 51px}.helper-chat-add{display:flex;gap:5px;margin:8px 0}.helper-chat-add input{flex:1;width:0}.helper-chat-add button{padding:0 8px}.helper-chat-row>input[type=text]{flex:1;width:0}.helper-chat-row select{width:53px}.helper-hotkey-row>span:first-of-type{width:24px;font-size:13px}.helper-footer{display:flex;gap:7px;align-items:center;padding-top:3px}.helper-footer>button{width:64px;height:27px;padding:0;border:1px solid #ac925c;color:#f2e6c2;background:#3a3828;box-shadow:inset 0 0 5px #756344;font-size:13px}.helper-save-state{margin-right:auto;font-size:11px;color:#d2d3b6;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}.helper-save-state:before{content:'';display:inline-block;width:8px;height:8px;border:1px solid #6a9b5c;border-radius:50%;background:#83b66c;box-shadow:0 0 4px #709b58;margin-right:5px}.helper-save-state.dirty:before{background:#c4a35a;border-color:#c4a35a;box-shadow:none}.helper-confirm{width:300px;max-width:calc(100% - 12px);left:calc(50% - 150px);top:60px;z-index:50;background:#171e17;border:1px solid #b5985e;padding:14px;color:#eee5cb;max-height:calc(100% - 20px);overflow:auto}.helper-confirm h2{font-size:16px;margin:0 0 8px}.helper-confirm p{font-size:12px;overflow-wrap:anywhere}.helper-confirm>div{display:flex;justify-content:flex-end;gap:8px}.helper-confirm button{padding:4px 10px}.helper-window :disabled{opacity:.45}#viewport:has(#helper-confirm)>:not(#helper-confirm){pointer-events:none!important}@media(orientation:landscape) and (max-height:600px){.helper-window{height:calc(100% - 12px);top:6px}.helper-confirm{top:6px}}.helper-slot.unavailable img{filter:grayscale(1);opacity:.55}.helper-slot.unavailable{border-color:#726e61}.helper-timer-columns{grid-template-columns:17px minmax(0,1fr) 76px 89px!important}.helper-window .helper-chat-add button,.helper-confirm button{border:1px solid #a18b59;background:#303426;color:#f2e6c2;box-shadow:inset 0 0 0 2px #151b14}.helper-window button:hover:not(:disabled){border-color:#e0bd6c;background-color:#45472e}.helper-window button:focus-visible{outline:1px solid #f3d99a;outline-offset:2px}.helper-window{width:420px;height:568px;padding:19px 20px 16px;grid-template-rows:32px 70px minmax(0,1fr) 32px;gap:11px;color-scheme:dark}.helper-window>.window-title{gap:9px}.helper-tabs{grid-template-rows:repeat(2,32px);gap:6px}.helper-tabs button{font-size:14px}.helper-list{padding:4px 6px 10px}.helper-section{margin:9px 0 7px;font-size:16px}.helper-row{min-height:48px;gap:8px;padding:5px 0}.helper-actions{gap:9px;margin:12px 0}.helper-icon{background:#252c22;border:1px solid #b29a62;box-shadow:inset 0 0 0 2px #151b14;color:#e9d8ab}.helper-footer{gap:9px}.helper-footer>button{width:72px;height:28px}.helper-switch{border:1px solid #a18b59;box-shadow:inset 0 0 0 2px #151b14}.helper-status-row{min-height:68px}.helper-status-row select{width:86px;flex-basis:86px}.helper-status-row>input[type=number]{position:absolute;right:0;bottom:3px;width:86px;height:23px}.helper-status-row>.helper-result{max-width:calc(100% - 116px)}.helper-special-row,.helper-items-row,.helper-chat-row{min-height:61px}.helper-timer-row{min-height:50px}.helper-columns{display:grid;grid-template-columns:17px minmax(0,1fr) 38px 86px;gap:8px;padding:6px 0 3px;margin:6px 0;font-size:12px}.helper-columns>span{white-space:nowrap}.helper-status-row .helper-self{width:38px;flex:0 0 38px}