#trade-request-overlay[hidden],#trade-window[hidden]{display:none}#trade-request-overlay{position:fixed;inset:0;z-index:12;display:grid;place-items:center;pointer-events:auto}#trade-request-dialog{position:relative;width:min(290px,calc(100vw - 16px));aspect-ratio:290 / 110;background:transparent;color:#fff05a;font:11px Arial,sans-serif;cursor:url(./cursors/Normal.png) 0 0,default}#trade-request-dialog:before{content:"";position:absolute;inset:0;box-sizing:border-box;border:8px solid transparent;border-image:url(./ui/trade/TradeRequestFrame.png) 7 fill / 7px stretch;pointer-events:none}#trade-request-copy{position:absolute;top:15.45%;left:3.1%;right:3.1%;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#trade-request-dialog button{position:absolute;top:65.45%;width:13.1%;height:18.18%;padding:0;border:0;border-radius:0;background:transparent center / 100% 100% no-repeat;cursor:url(./cursors/Button.png) 0 0,pointer}#trade-request-dialog button img{display:block;width:100%;height:100%}#trade-request-accept{left:51.38%;background-image:url(./ui/trade/RequestOKHover.png)!important}#trade-request-cancel{left:75.52%;background-image:url(./ui/trade/RequestCancelHover.png)!important}#trade-request-dialog button:hover img,#trade-request-dialog button:focus-visible img{visibility:hidden}#trade-window{position:fixed;inset:0;z-index:10;display:grid;align-items:center;justify-items:start;padding:8px;box-sizing:border-box;pointer-events:none}.trade-window-frame{position:relative;width:min(336px,calc(100vw - 16px));aspect-ratio:336 / 296;pointer-events:auto;color:#f1dfa9;font-family:Georgia,serif}.trade-window-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none}.trade-close-x{position:absolute;top:3.38%;left:90.48%;width:4.76%;height:5.41%;padding:0;border:0;background:url(./ui/trade/CloseBtnS.png) center / 100% 100% no-repeat;font-size:0;cursor:url(./cursors/Button.png) 0 0,pointer}.trade-close-x:hover,.trade-close-x:focus-visible{background-image:url(./ui/trade/CloseBtnSclick.png)}.trade-player-name,.trade-player-level,.trade-player-rank,.trade-self-name{position:absolute;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:11px/16px Arial,sans-serif}.trade-player-name{left:5.95%;top:9.46%;width:37%;color:#f3c9ff}.trade-player-level{left:45.24%;top:9.46%;width:20%;color:#fff15a}.trade-player-rank{top:16.89%;left:69.64%;width:22.62%;height:8.11%;display:flex;align-items:center;gap:5px}.trade-player-rank[hidden]{display:none}.trade-rank-medal{width:20px;height:24px;object-fit:contain}.trade-rank-title{max-width:49px;max-height:22px;object-fit:contain}.trade-self-name{top:54.05%;left:77.68%;width:14.58%;color:#f5c95f}.trade-slot-grid{position:absolute;left:6.25%;width:37.8%;height:27.7%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px}.trade-partner-grid{top:19.93%}.trade-own-grid{top:57.09%}.trade-item-slot{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;overflow:hidden;border:0;background:transparent;cursor:url(./cursors/Normal.png) 0 0,default;touch-action:none}.trade-item-slot[data-trade-side=self][data-trade-uid]{cursor:url(./cursors/Button.png) 0 0,pointer}.trade-item-slot .item-effect-frame{width:100%;height:100%}.trade-item-icon,.trade-item-slot .inventory-icon-frame img,.trade-drag-ghost .inventory-icon-frame img{max-width:100%;max-height:100%;object-fit:contain;pointer-events:none}.trade-item-plus{position:absolute;right:1px;top:0;color:#fff15f;font:700 9px Arial,sans-serif}.trade-amount{position:absolute;left:63.69%;width:27.08%;height:5.41%;box-sizing:border-box;padding:0 2px;border:0;border-radius:0;outline:none;color:#f4f3e8;background:transparent;font:11px/16px Arial,sans-serif;text-align:left}.trade-partner-money{top:26.35%}.trade-partner-cps{top:33.78%}.trade-own-money{top:64.53%}.trade-own-cps{top:72.97%}.trade-button{position:absolute;left:55.95%;width:19.05%;height:7.43%;box-sizing:border-box;padding:0;border:0;background:transparent;cursor:url(./cursors/Button.png) 0 0,pointer}.trade-partner-ready{top:41.89%;background:url(./ui/trade/TradeOK.png) center / 100% 100% no-repeat;color:#e8dfbe;font:12px Georgia,serif;cursor:default}.trade-partner-ready.is-ready{background-image:url(./ui/trade/TradeOKHover.png);color:#071018}.trade-confirm{top:78.72%;background:url(./ui/shop-confirm/NewLoginMesConfirm1.png) center / 100% 100% no-repeat}.trade-confirm:hover:not(:disabled),.trade-confirm:focus-visible,.trade-confirm:disabled{background-image:url(./ui/shop-confirm/NewLoginMesConfirm2.png)}.trade-confirm-art,.trade-confirm-waiting{display:none!important}.trade-button:disabled{cursor:default}.trade-help{position:absolute;left:7.74%;top:89.19%;color:#dfd0a6;font:13px/18px Georgia,serif}.trade-footer-close{position:absolute;left:72.02%;top:89.86%;height:7.43%;display:grid;place-items:center;padding:0;border:0;color:#e9d7ab;background:transparent;font:13px/22px Georgia,serif;cursor:url(./cursors/Button.png) 0 0,pointer}.trade-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:560px){body.trade-open #inventory-panel{top:auto;right:50%;bottom:max(6px,env(safe-area-inset-bottom));height:min(390px,calc(100dvh - 350px));min-height:190px;transform:translate(50%)}#trade-window{align-items:start;padding-top:max(6px,env(safe-area-inset-top))}.trade-window-frame{width:min(336px,calc(100vw - 12px))}.trade-player-name,.trade-player-level,.trade-player-rank,.trade-self-name{font-size:clamp(8px,2.8vw,11px)}.trade-amount{font-size:clamp(9px,3vw,12px)}}@media(max-height:520px)and (min-width:561px){#trade-window{justify-items:start;padding-left:8px}.trade-window-frame{width:min(336px,calc(100dvh - 12px))}body.trade-open #inventory-panel{top:50%;right:8px;bottom:auto;width:min(316px,calc(100vw - min(336px,100dvh) - 28px));height:calc(100dvh - 12px);min-height:0;max-height:calc(100dvh - 12px);transform:translateY(-50%)}}.trade-page-arrow{position:absolute;left:45.54%;width:5.65%;height:6.42%;padding:0;border:0;border-radius:0;appearance:none;background-color:transparent;background-position:center;background-size:100% 100%;background-repeat:no-repeat;cursor:url(./cursors/Button.png) 0 0,pointer}.trade-page-up{background-image:url(./ui/shop/QuerySkillBtnU.png)}.trade-page-down{background-image:url(./ui/shop/QuerySkillBtnD.png)}.trade-page-up:hover:not(:disabled),.trade-page-up:focus-visible{background-image:url(./ui/shop/QuerySkillBtnUClick.png)}.trade-page-down:hover:not(:disabled),.trade-page-down:focus-visible{background-image:url(./ui/shop/QuerySkillBtnDClick.png)}.trade-page-arrow:disabled{cursor:default}.trade-partner-page-up{top:19.26%}.trade-partner-page-down{top:40.54%}.trade-self-page-up{top:56.76%}.trade-self-page-down{top:78.04%}.trade-own-drop-area{position:absolute;left:5.36%;top:55.74%;width:87.8%;height:25%}.trade-footer-ok{position:absolute;left:33.33%;top:89.86%;width:19.05%;height:7.43%;padding:0;border:0;background:url(./ui/trade/TradeOK.png) center / 100% 100% no-repeat;color:#e8dfbe;font:12px Georgia,serif;cursor:url(./cursors/Button.png) 0 0,pointer}.trade-footer-ok:hover:not(:disabled),.trade-footer-ok:focus-visible{background-image:url(./ui/trade/TradeOKHover.png);color:#071018}#trade-window .inventory-drop-target{outline:none!important;box-shadow:none!important}.trade-item-slot.inventory-drop-target{background:url(./ui/trade/TradeSlotHover.png) center / 100% 100% no-repeat}.trade-drag-ghost{position:fixed;width:40px;height:40px;z-index:110;pointer-events:none}.trade-drag-ghost .item-effect-frame{width:100%;height:100%}body.trade-open .inventory-drag-ghost{width:40px;height:40px;border:0;background:transparent;box-shadow:none}body.trade-open .inventory-drag-ghost img{max-width:100%;max-height:100%}.trade-window-frame{cursor:url(./cursors/Normal.png) 0 0,default;user-select:none}.trade-amount{cursor:url(./cursors/Normal.png) 0 0,text;user-select:text}.trade-partner-ready img,.trade-footer-ok img{display:block;width:100%;height:100%;pointer-events:none}.trade-partner-ready.is-ready img,.trade-footer-ok:hover:not(:disabled) img,.trade-footer-ok:focus-visible img{visibility:hidden}.trade-button,.trade-footer-ok,.trade-footer-close,.trade-close-x,.trade-page-arrow{cursor:url(./cursors/Button.png) 0 0,pointer}.trade-button:disabled,.trade-footer-ok:disabled,.trade-page-arrow:disabled{cursor:url(./cursors/Normal.png) 0 0,default}.trade-offer-count{position:absolute;left:2.68%;width:3%;color:#fff2b5;font:11px/14px Arial,sans-serif;text-align:center}.trade-partner-count{top:20.27%}.trade-self-count{top:57.43%}.trade-item-slot[data-trade-side=self][data-trade-uid]{cursor:url(./cursors/Button.png) 0 0,pointer}#trade-window button,#trade-request-dialog button{appearance:none;-webkit-appearance:none;border-radius:0}
