@font-face{font-family:XuMallLD;src:url('./native/ld-roboto-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
/* Native u145.ui is 360 x 360 units, rendered at 1.5 in LD's 960 x 540 game. */
#xuMall{position:fixed;inset:50% auto auto 50%;margin:0;width:540px;max-width:none;height:540px;max-height:none;box-sizing:border-box;padding:0;border:2px solid #83a8a2;border-radius:0;background:#083031;color:#fff;overflow:visible;font:28px/30px XuMallLD,Arial,sans-serif;letter-spacing:0;text-shadow:1px 1px #102829;transform:translate(-50%,-50%) scale(var(--xu-mall-scale,1));transform-origin:center;box-shadow:none}
#xuMall[open]{display:flex;flex-direction:column}
#xuMall::backdrop{background:transparent}
#xuMall *,#xuMall *::before,#xuMall *::after{box-sizing:border-box}
#xuMall button{font:inherit;letter-spacing:0}
#xuMall button:focus{outline:none}
#xuMall header{position:relative;flex:none;height:33px;min-height:33px;margin:0;padding:0;background:#639a94;border-bottom:2px solid #93b5ac;display:flex;justify-content:center;align-items:center;overflow:hidden}
#xuMall header::before,#xuMall header::after{content:"";position:absolute;top:0;bottom:0;width:120px;background:url('./native/apk-title-cloud.png') left center/cover no-repeat;pointer-events:none}
#xuMall header::before{left:0}
#xuMall header::after{right:0;transform:scaleX(-1)}
#xuMall h2{position:relative;z-index:1;margin:0;padding:0;font:28px/31px XuMallLD,Arial,sans-serif;text-align:center;color:#e4eee0;text-shadow:1px 2px #4a7972;white-space:nowrap}
.xu-mall-tabs{display:flex;align-items:center;flex:none;background:#31715a;border-bottom:2px solid #548e80;height:60px;box-sizing:border-box}
.xu-mall-tabs button{flex:0 0 127.5px;min-width:0;height:51px;margin:0;padding:0 4px;border:0;border-radius:0;background:transparent;color:#e6e1b5;font-size:28px;line-height:36px;text-shadow:1px 2px #334c40;box-shadow:none}
.xu-mall-tabs button[aria-selected=true]{background:#315952;color:#e6e1b5;box-shadow:inset 0 0 0 3px #71958b}
.xu-mall-tabs button:disabled{opacity:.6;cursor:default}
#xuMall[data-stage=quantity] .xu-mall-tabs button:disabled,#xuMall[data-stage=sale] .xu-mall-tabs button:disabled,#xuMall[data-stage=pending] .xu-mall-tabs button:disabled{opacity:1}
.xu-mall-money{display:grid;grid-template-columns:202.5px 180px 1fr;align-items:center;flex:none;height:40px;min-height:40px;box-sizing:border-box;padding:0 3px;border-bottom:3px solid #70a0a3;background:#18494a;color:#00a4ef;font-size:16px;line-height:16px;text-shadow:none}
.xu-mall-money>span{display:flex;align-items:center;gap:3px;min-width:0;height:100%;overflow:hidden;white-space:nowrap}
.xu-mall-money .native-item-icon{display:inline-block;flex:none;width:33px;height:33px;margin:0;border:0;border-radius:0;image-rendering:pixelated}
.xu-mall-digits{display:inline-flex;flex:none;height:12px;vertical-align:middle}
.xu-mall-digits i{display:block;flex:none;width:10.5px;height:12px;background-image:var(--xu-mall-digits);background-size:178.5px 12px;background-position:calc(var(--digit) * -10.5px) 0;background-repeat:no-repeat;image-rendering:pixelated}
.xu-mall-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;background:#083031}
.xu-mall-content::-webkit-scrollbar{display:none}
.xu-mall-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;background:#083031}
.xu-mall-scroll::-webkit-scrollbar{display:none}
.xu-mall-scroll>.xu-mall-content{flex:none;min-height:0;overflow:visible}
.xu-mall-row{display:grid;grid-template-columns:42px minmax(0,1fr) 189px;align-items:center;gap:0;width:100%;height:60px;min-height:60px;box-sizing:border-box;margin:0;padding:0 3px;border:0;border-bottom:2px solid #10393b;border-radius:0;background:#18494a;color:#e2e8e2;text-align:left;font:28px/30px XuMallLD,Arial,sans-serif;text-shadow:1px 2px #142a2b;box-shadow:inset 0 -1px #24575a}
.xu-mall-row:nth-child(even){background:#18555a}
.xu-mall-row.selected{background:#18494a;color:#e2e8e2;box-shadow:inset 0 0 0 3px #a4c9c2}
.xu-mall-row:nth-child(even).selected{background:#18555a}
.xu-mall-row>span{min-width:0;overflow:hidden;white-space:nowrap;line-height:30px}
.xu-mall-name>span{display:inline-block;min-width:100%;white-space:nowrap;transform:translateX(0)}
.xu-mall-name.overflowing>span{animation:xu-mall-name-scroll var(--xu-mall-name-duration,30s) linear var(--xu-mall-name-delay,0s) infinite}
@keyframes xu-mall-name-scroll{from{transform:translateX(var(--xu-mall-name-window,300px))}to{transform:translateX(calc(-1 * var(--xu-mall-name-width,300px)))}}
.xu-mall-price{text-align:right}
.xu-mall-row>.native-item-icon{display:inline-block;width:32px;height:32px;border:1px solid #bac8bc;border-radius:0;background-color:#0c292c;image-rendering:pixelated}
/* Match LD's 22px item/frame together at 1.5x, without an extra inset or border. */
#xuMall .xu-mall-row>.equipment-icon,#xuMall .xu-mall-inspection h3>.equipment-icon{width:33px;height:33px;overflow:visible;line-height:0}
#xuMall .equipment-icon::after{left:0;top:0}
#xuMall .equipment-icon>.native-item-icon{display:block;flex:none;width:33px;height:33px;border:0;border-radius:0;background-color:#0c292c;image-rendering:pixelated}
.xu-mall-item{position:relative;display:flex;align-items:center;width:34px;height:54px;overflow:visible!important}
.xu-mall-item>.native-item-icon{display:inline-block;width:32px;height:32px;border:1px solid #bac8bc;border-radius:0;background-color:#0c292c;image-rendering:pixelated}
.xu-mall-item small{position:absolute;right:0;bottom:0;height:11px;padding:0 1px;background:#242828;color:#eee9ce;font:bold 10px/11px monospace;text-shadow:none}
.xu-mall-menu{position:absolute;left:268px;top:var(--xu-mall-menu-y,136px);z-index:3;width:246px;box-sizing:border-box;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.xu-mall-menu button{display:flex;justify-content:center;align-items:center;width:100%;height:60px;min-height:60px;box-sizing:border-box;margin:0;padding:0 4px;border:4px ridge #7b9592;border-radius:0;background:#2b3e42ed;color:#fff;font:28px/30px XuMallLD,Arial,sans-serif;text-align:center;text-shadow:1px 2px #172b2d;box-shadow:none}
.xu-mall-menu button:first-child{background:#7b9694ed;color:#f00}
.xu-mall-menu button:disabled{color:#cfddce;opacity:.65;cursor:default}
.xu-mall-menu button[data-inspect]{color:#fff}
.xu-mall-key{display:inline-block;flex:none;width:12px;min-width:12px;height:18px;margin:0 4px 0 0;padding:0;border:1px solid #fff294;background:#fff078;color:#ef4300;font:16px/16px XuMallLD,Arial,sans-serif;text-align:center;text-shadow:none}
#xuMall footer{position:absolute;top:241px;left:663px;width:74px;display:flex;flex-direction:column;gap:46px;margin:0;padding:0;border:0;transform:none;background:transparent}
#xuMall footer .native-button{position:static;flex:none;width:74px;height:74px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background-color:transparent;background-position:center;background-size:100% 100%;background-repeat:no-repeat;box-shadow:none}
#xuMall .native-button[data-art=confirm]{background-image:url('./native/confirm.png')}
#xuMall .native-button[data-art=back]{background-image:url('./native/back.png')}
#xuMall .native-button:disabled{opacity:.5;cursor:default}
.xu-mall-inspection{box-sizing:border-box;padding:8px 5px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:28px;line-height:30px;color:#fff}
.xu-mall-inspection h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:inherit}
.xu-mall-empty{padding:12px 5px;font-size:28px;line-height:30px;color:#fff;margin:0;overflow-wrap:anywhere}
.xu-mall-text-white{color:#fff}.xu-mall-text-red{color:#f00}.xu-mall-text-green{color:#0f0}.xu-mall-text-cyan{color:#0ff}.xu-mall-text-label{color:#ffff99}
.xu-mall-quantity{position:absolute;z-index:4;left:28px;top:111px;width:480px;height:276px;box-sizing:border-box;margin:0;padding:0;border:2px solid #9cb5ab;background:#083031;box-shadow:none;color:#fff;text-shadow:1px 1px #000}
#xuMallPurchaseTitle{position:absolute;left:52px;right:42px;top:8px;margin:0;padding:0;overflow:hidden;font:28px/34px XuMallLD,Arial,sans-serif;white-space:nowrap}
#xuMallPurchaseTitle span{color:#f00}
.xu-mall-quantity>label{position:absolute;left:52px;right:42px;top:62px;margin:0;padding:0;font:28px/34px XuMallLD,Arial,sans-serif;white-space:nowrap}
#xuMallQuantity{position:absolute;left:52px;top:113px;width:380px;height:64px;min-height:0;margin:0;padding:0 2px;border:1px solid #789187;border-radius:0;background:#fff;color:#000;font:28px/62px XuMallLD,Arial,sans-serif;text-align:left;text-shadow:none;outline:none;appearance:textfield}
#xuMallQuantity::-webkit-inner-spin-button,#xuMallQuantity::-webkit-outer-spin-button{margin:0;appearance:none}
.xu-mall-quantity-actions{position:absolute;left:52px;right:42px;top:183px;display:flex;justify-content:space-between;margin:0;padding:0}
.xu-mall-quantity-actions button{display:flex;justify-content:center;align-items:center;flex:none;width:90px;height:60px;min-height:0;margin:0;padding:0;border:4px ridge #5d7375;border-radius:0;background:#293c42;color:#fff;font:28px/48px XuMallLD,Arial,sans-serif;white-space:nowrap;text-align:center;text-shadow:1px 2px #142a2b;overflow:hidden;box-shadow:none}
.xu-mall-quantity-actions button:disabled{opacity:.6;cursor:default}
.xu-mall-message{position:absolute;z-index:5;left:-1px;right:-1px;top:50%;transform:translateY(-50%);box-sizing:border-box;min-height:44px;margin:0;padding:4px 14px;border:2px solid #9cb5ab;background:#083031;color:#fff;font:28px/30px XuMallLD,Arial,sans-serif;text-shadow:1px 1px #000;white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;pointer-events:none}
#xuMall[data-stage=pending] .xu-mall-quantity{pointer-events:none}
#xuMall [hidden]{display:none!important}

/* Xu mall keeps the native four columns and the xu price marker at x560. */
.xu-mall-tabs button{flex:1 1 25%;overflow:hidden;padding:0}.xu-mall-tab-label{display:block;width:100%;overflow:hidden;white-space:nowrap}.xu-mall-tab-label>span{display:inline-block;min-width:100%;white-space:nowrap}.xu-mall-tab-label.overflowing>span{animation:xu-mall-name-scroll var(--xu-mall-name-duration,30s) linear var(--xu-mall-name-delay,0s) infinite}
.xu-mall-row{grid-template-columns:42px 303px minmax(0,1fr)}.xu-mall-price{display:flex;align-items:center;text-align:left;gap:0;overflow:visible!important}.xu-mall-price>.native-item-icon{display:inline-block;flex:none;width:33px;height:33px;border:0;border-radius:0;image-rendering:pixelated;align-self:flex-start;transform:translateY(-12px)}.xu-mall-price>span:last-child{transform:translateY(3px)}
.xu-mall-inspection{padding:12px 14px;word-break:break-all;line-break:anywhere;overflow-wrap:anywhere}.xu-mall-inspection h3{gap:10px;margin-bottom:22px;min-height:33px}.xu-mall-inspection h3>.native-item-icon{display:inline-block;flex:none;width:33px;height:33px;border:1px solid #bac8bc;border-radius:0;image-rendering:pixelated}.xu-mall-inspection h3>span:last-child{min-width:0}.xu-mall-inspection>div{white-space:pre-wrap}
.xu-mall-inspection{padding-top:19px}.xu-mall-inspection h3{padding-left:8px;margin-bottom:8px}.xu-mall-stars{display:inline-flex;align-items:center;height:30px;vertical-align:top;white-space:nowrap}.xu-mall-stars i{display:block;flex:none;width:19.5px;height:19.5px;background-size:39px 19.5px;background-repeat:no-repeat;image-rendering:pixelated}
.xu-mall-tabs button{flex:0 0 127.5px}.xu-mall-row{padding-left:8px;grid-template-columns:37px 303px minmax(0,1fr)}
.xu-mall-inspection{padding-left:15px;padding-right:21px}.xu-mall-inspection h3{padding-left:7px;margin-bottom:13px}.xu-mall-inspection>div{line-height:28.5px}
.xu-mall-inspection h3{margin-bottom:14px}.xu-mall-inspection>div{font-size:28.5px;line-height:28.5px}
.xu-mall-inspection{padding-right:26px}.xu-mall-inspection>div{font-size:28px;line-height:28.5px}
#xuMall footer .native-button:disabled{opacity:1}
.xu-mall-scroll-hint{position:absolute;z-index:2;left:50%;bottom:0;width:29px;height:17px;transform:translateX(-50%);background:url("./native/ld-scroll-down.png") center/29px 17px no-repeat;pointer-events:none;image-rendering:pixelated}
.xu-mall-scroll-hint{bottom:-1px}

.xu-mall-discount{font-size:16px;color:#ffe75b;line-height:20px;white-space:nowrap}.xu-mall-bundle{font-size:18px;color:#c9e1d8}.xu-mall-total{font-size:18px;line-height:26px;color:#fcffb4;margin:8px 0 0;text-align:center}.xu-mall-price{gap:5px}

.xu-mall-price{position:relative;align-items:flex-start;min-height:48px;padding-top:4px}.xu-mall-price>.native-item-icon{transform:none;align-self:flex-start}.xu-mall-price>span{transform:none!important;font-size:24px;line-height:30px}.xu-mall-price>.xu-mall-discount{position:absolute;left:33px;top:32px;font-size:14px;line-height:14px}.xu-mall-total{position:absolute;left:24px;right:24px;top:153px;margin:0;font-size:17px;line-height:22px}

/* Native inventory pagination: three tabs and an ellipsis, no horizontal strip. */
.xu-mall-category-nav{display:block;flex:none;height:60px;min-height:60px;background:#31715a}
.xu-mall-category-nav>.xu-mall-tabs{display:flex;align-items:center;gap:0;height:60px;min-height:60px;overflow:hidden;border-bottom:2px solid #548e80;background:#31715a}
.xu-mall-tabs button{flex:0 0 24%;height:51px;min-width:0;padding:0 4px;font:28px/36px XuMallLD,Arial,sans-serif;scroll-snap-align:none}
.xu-mall-tabs button[hidden]{display:none}
.xu-mall-tabs .xu-mall-tab-overflow{flex-basis:8%;font-size:24px;background:transparent;box-shadow:none}
#xuMall .xu-mall-tabs button:focus-visible{outline:2px solid #e6e1b5;outline-offset:-3px}
