.m8-exchange-title{
  position:absolute;left:50%;top:7px;transform:translateX(-50%);width:74px;height:auto;pointer-events:none
}
.m8-exchange>.m8-exchange-inner{position:absolute;left:29px;top:89px}
.m8-exchange-tabs{position:absolute;left:49px;top:60px;display:flex;gap:13px}
.m8-account .m8-exchange-tab,.m8-account .m8-exchange-commit,.m8-account .m8-exchange-pager button{
  position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:0;border-radius:0;
  box-shadow:none;background:transparent;text-shadow:none
}
.m8-account .m8-exchange-tab{
  width:91px;height:30px;color:#fff;font:bold 13px/1 Tahoma,sans-serif;text-transform:uppercase;
  text-shadow:0 1px 2px #095a86,0 -1px #095a86;
  background:url('/rez/zh_CN/gui_summer/controls/shop/14998c62c91e5e1269545bb4b51023db.png') center/100% 100% no-repeat
}
.m8-account .m8-exchange-tab[aria-pressed=true]{
  background-image:url('/rez/zh_CN/gui_summer/controls/shop/ac76e0bdc3d83bda40383d25f6b36801.png')
}
.m8-exchange-tab img{max-width:77px;max-height:26px;object-fit:contain}
.m8-exchange-cards{
  position:absolute;inset:10px 17px auto 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 7px
}
.m8-exchange-card{
  display:grid;grid-template-columns:minmax(0,1fr) 45px 102px;align-items:center;height:118px;padding:8px 9px 5px 12px;box-sizing:border-box;
  background:url('/rez/zh_CN/gui_summer/controls/shop/ce82569c87c1ca120ebd896158e99e2c.png') center/100% 100% no-repeat
}
.m8-exchange-costs{display:flex;align-items:flex-start;align-self:start;gap:11px;margin-top:9px;min-width:0}
.m8-exchange-costs:has(.is-compact){display:grid;grid-template-columns:repeat(3,1fr);gap:2px 5px;margin-top:0}
.m8-exchange-slot{display:grid;justify-items:center;align-content:start;width:64px;color:white;text-align:center;font:bold 12px/14px Tahoma,sans-serif}
.m8-exchange-slot.is-result{width:102px;min-height:99px}
.m8-exchange-slot.is-tank .m8-exchange-slot-label{color:#ff75ff}
.m8-exchange-slot[data-moonstone-quality="2"] .m8-exchange-slot-label{color:#67e638}
.m8-exchange-slot[data-moonstone-quality="3"] .m8-exchange-slot-label{color:#42eaff}
.m8-exchange-slot[data-moonstone-quality="4"] .m8-exchange-slot-label{color:#ff75ff}
.m8-exchange-slot.is-compact{width:100%;min-width:0}
.m8-exchange-icon{position:relative;display:grid;place-items:center;width:64px;height:64px}
.m8-exchange-slot.is-result .m8-exchange-icon{width:79px;height:79px}
.m8-exchange-slot.is-compact .m8-exchange-icon{width:37px;height:37px}
.m8-exchange-slot-bg,.m8-exchange-quality{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.m8-exchange-quality{inset:3px;width:calc(100% - 6px);height:calc(100% - 6px)}
.m8-exchange-item{position:relative;width:90%;height:90%;object-fit:contain}
.m8-exchange-slot.is-currency .m8-exchange-item{width:67%;height:67%}
.m8-exchange-missing-icon{position:relative;overflow:hidden;max-height:100%;font-size:10px}
.m8-exchange-slot-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px #154b74}
.m8-exchange-slot.is-compact .m8-exchange-slot-label{font-size:10px;line-height:10px}
.m8-exchange-slot.is-result .m8-exchange-slot-label{max-width:96px}
.m8-account .m8-exchange-commit{width:45px;height:45px}
.m8-exchange-commit img,.m8-exchange-pager img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.m8-account .m8-exchange-commit:disabled,.m8-account .m8-exchange-pager button:disabled{opacity:1}
.m8-exchange-pager{position:absolute;top:472px;left:30px;right:30px;height:30px;display:flex;justify-content:center;align-items:center;gap:4px}
.m8-account .m8-exchange-pager button{width:28px;height:27px}
.m8-account .m8-exchange-pager .m8-exchange-page{width:24px;height:24px;color:#172230;font:bold 12px/1 Tahoma,sans-serif}
.m8-exchange-page span{position:absolute}
.m8-account .m8-exchange-page[aria-current=page]{color:#1479c3}
.m8-exchange-recovery{position:absolute;top:98px;left:41px;right:41px;z-index:3}
.m8-account[data-section=exchange] .m8-account-status{bottom:-11px}
.m8-exchange-slot:focus-visible{outline:2px solid #ffe682;outline-offset:1px}
.m8-exchange-companion-tip .m81317-tip-identity h4{color:#10def2}
.m8-exchange-cards[data-tab=event] .m8-exchange-card{height:178px}
.m8-exchange-cards[data-tab=event] .m8-exchange-costs{align-self:center;margin-top:0}
.m8-exchange-cards[data-tab=tank] .m8-exchange-card{
  grid-template-columns:minmax(0,1fr) 58px 104px;gap:7px;padding:8px 10px;
  border:1px solid #61a4ce;border-radius:8px;
  background:linear-gradient(112deg,#133c60 61%,#174d70 61.2%,#123758);
}
.m8-exchange-cards[data-tab=tank] .m8-exchange-costs{align-self:center;margin-top:0}
.m8-exchange-cards[data-tab=tank] .m8-exchange-slot.is-tank .m8-exchange-slot-label{
  color:#ffe295;max-width:102px
}
.m8-exchange-cards[data-tab=tank] .m8-exchange-commit{
  width:58px;height:28px;border:1px solid #ffdc73;border-radius:6px;
  color:#13273a;background:linear-gradient(#ffe597,#e5a637);font:700 13px/1 Tahoma,sans-serif;
}
.m8-exchange-cards[data-tab=tank] .m8-exchange-commit:disabled{
  border-color:#5d7a91;background:#253e55;color:#b5c9d7
}
.m8-exchange-cards[data-tab=tank] .m8-exchange-commit:focus-visible{
  outline:2px solid #ffdc73;outline-offset:2px
}
.m8-exchange-dialog-overlay{background:#07192780;box-shadow:0 0 0 100vmax #07192780}
.m8-exchange-dialog-overlay input.m8-exchange-quantity{padding:0 10px;border:0;border-radius:20px;background:transparent no-repeat center/100% 100%;color:#fff;box-sizing:border-box;text-align:center;font:700 20px Arial,sans-serif}
.m8-exchange-dialog-overlay input.m8-exchange-quantity[aria-invalid=true]{color:#fff198}
.m8-exchange-dialog-cost{display:grid;gap:4px;align-content:start;overflow:auto}
.m8-exchange-dialog-price{display:flex;align-items:center;gap:4px;min-height:24px;border-radius:16px;padding:0 10px;background:#0078b1;color:#fff;font:bold 13px Tahoma,sans-serif}
.m8-exchange-dialog-price img{width:20px;height:20px;object-fit:contain}
.m8-exchange-dialog-price span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m8-exchange-dialog-price strong{color:#ffe655}
.m8-exchange-dialog-status{text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font:bold 12px Tahoma,sans-serif;text-shadow:0 1px #0071a5}
