#mu-storm-shop,#mu-storm-shop-confirm{color:#ede1be;background:linear-gradient(150deg,#30291e,#131511 50%,#11130f);border:1px solid #b79550;box-shadow:0 0 0 3px #141510,0 0 0 4px #6b5832,0 25px 90px #000b;font:15px/1.45 system-ui,sans-serif;padding:0;max-width:none}
#mu-storm-shop{width:min(1120px,calc(100vw - 32px));height:min(850px,calc(100dvh - 38px));max-height:calc(100dvh - 38px);overflow:hidden}
#mu-storm-shop[open]{display:flex;flex-direction:column}
#mu-storm-shop::backdrop,#mu-storm-shop-confirm::backdrop{background:#0009}
#mu-storm-shop *{box-sizing:border-box}
#mu-storm-shop button,#mu-storm-shop select,#mu-storm-shop-confirm button{border:1px solid #927644;background:linear-gradient(#3c3020,#1c1912);color:#ecd395;padding:10px 15px;font:700 15px Georgia,serif;cursor:pointer;min-height:44px}
#mu-storm-shop button:hover,#mu-storm-shop-confirm button:hover{border-color:#e5c575;background:linear-gradient(#594426,#292114)}
#mu-storm-shop button:focus-visible,#mu-storm-shop select:focus-visible,#mu-storm-shop input:focus-visible,#mu-storm-shop-confirm button:focus-visible{outline:2px solid #f6d681;outline-offset:3px}
#mu-storm-shop button:disabled,#mu-storm-shop-confirm button:disabled{opacity:.45;cursor:default}
#mu-storm-shop button[aria-pressed=true]{border-color:#f1d183;box-shadow:inset 0 -3px #d8b463;background:linear-gradient(#5a452a,#29231a)}
#mu-storm-shop .ss-head{padding:23px 26px 16px;border-bottom:1px solid #665333;background:linear-gradient(#41372a99,#1b1913bb);flex:none;position:relative}
#mu-storm-shop .ss-kicker{margin:0 0 3px;text-transform:uppercase;letter-spacing:.16em;font:700 11px Georgia,serif;color:#bba171}
#mu-storm-shop h2{font:700 34px Georgia,serif;color:#f2d58b;margin:0 0 6px}
#mu-storm-shop p{margin:6px 0;color:#bfbba8}
#mu-storm-shop .ss-wallet{position:absolute;right:85px;top:25px;text-align:right;font-size:12px;color:#b7a783}
#mu-storm-shop .ss-wallet strong{display:block;font:700 26px Georgia,serif;color:#f2d58b}
#mu-storm-shop [data-close]{position:absolute;right:20px;top:18px;font:26px/1 Georgia,serif;width:44px;padding:5px}
#mu-storm-shop .ss-tools{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}
#mu-storm-shop .ss-tools [data-recharge]{color:#2a2011;background:linear-gradient(135deg,#ffe7a3,#d7a94f)}
#mu-storm-shop .ss-body{padding:15px 18px 20px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}
#mu-storm-shop .ss-tabs{display:flex;gap:6px;overflow-x:auto;padding:1px 1px 8px;scrollbar-width:thin}
#mu-storm-shop .ss-tabs button{white-space:nowrap;flex:none;min-width:95px}
#mu-storm-shop .ss-classes{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:8px 0 14px}
#mu-storm-shop .ss-classes button{padding:0 0 7px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;font-size:12px;overflow:hidden;min-height:110px;background:#161813}
#mu-storm-shop .ss-classes img{width:100%;height:86px;object-fit:cover;object-position:top;margin-bottom:5px}
#mu-storm-shop .ss-all-mark{font:700 35px Georgia,serif;color:#bca166;flex:1;display:grid;place-items:center}
#mu-storm-shop .ss-search{display:flex;align-items:center;gap:13px;margin:12px 0}
#mu-storm-shop input{background:#0c100d;color:#eee4c9;border:1px solid #7a673f;padding:13px 15px;font:15px system-ui;min-width:0;width:100%;border-radius:0}
#mu-storm-shop [data-count]{color:#c2ad7e;white-space:nowrap;font-size:12px}
#mu-storm-shop .ss-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
#mu-storm-shop .ss-card{min-width:0;display:flex;flex-direction:column;border:1px solid #625332;background:linear-gradient(#202219,#12160f);padding:12px}
#mu-storm-shop .ss-art{height:130px;display:flex;align-items:center;justify-content:center;gap:3px;overflow:hidden;border:1px solid #4f482b;background:radial-gradient(ellipse,#3a402443,transparent 75%),repeating-linear-gradient(0deg,transparent 0 25px,#92935a0d 26px 27px),repeating-linear-gradient(90deg,transparent 0 25px,#92935a0d 26px 27px),#0c110c;margin-bottom:10px}
#mu-storm-shop .ss-art img{max-height:112px;max-width:95%;object-fit:contain;filter:drop-shadow(0 5px 7px #0008)}
#mu-storm-shop .ss-art:has(img:nth-child(2)) img{max-width:45%;max-height:98px}
#mu-storm-shop .ss-art .ss-symbol{font:700 40px Georgia,serif;color:#bca166;opacity:.8}
#mu-storm-shop h3{font:700 20px/1.2 Georgia,serif;color:#e8ce8a;margin:0 0 8px}
#mu-storm-shop .ss-description{font-size:13px;margin:0 0 9px}
#mu-storm-shop .ss-meta{font-size:11px;color:#aaa68f;margin:3px 0}
#mu-storm-shop .ss-options{color:#77cf91;font-size:12px;margin:6px 0}
#mu-storm-shop .ss-footer{display:flex;justify-content:space-between;align-items:end;gap:10px;border-top:1px solid #45402a;padding-top:11px;margin-top:auto}
#mu-storm-shop .ss-price{font:700 29px Georgia,serif;color:#f0ce77}
#mu-storm-shop .ss-price small{display:block;font:12px system-ui;color:#cab98f}
#mu-storm-shop .ss-card [data-detail]{border:0;background:none;box-shadow:none;padding:4px 0;margin:0 0 12px;align-self:start;text-decoration:underline;text-underline-offset:5px;min-height:34px;font-size:13px}
#mu-storm-shop .ss-empty{padding:45px 15px;text-align:center;color:#c6bb9d;grid-column:1/-1;border:1px solid #4e462e}
#mu-storm-shop [data-status]{flex:none;padding:9px 20px;margin:0;border-top:1px solid #494029;background:#10140e;min-height:42px;color:#d3c39d;font-size:13px}
#mu-storm-shop [data-status][data-tone=error]{color:#ffada0}
#mu-storm-shop [data-status][data-tone=success]{color:#8cdaa2}
#mu-storm-shop .ss-pages{display:flex;gap:15px;align-items:center;justify-content:center;padding-top:18px}
#mu-storm-shop [hidden],#mu-storm-shop-confirm [hidden]{display:none!important}
#mu-storm-shop-confirm{width:min(530px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:25px}
#mu-storm-shop-confirm h2{font:700 26px Georgia,serif;color:#efd48e;margin:0 0 15px}
#mu-storm-shop-confirm h3{font:700 18px Georgia,serif;color:#dfc688;margin-bottom:6px}
#mu-storm-shop-confirm p{color:#c4bba2}
#mu-storm-shop-confirm .ss-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
#mu-storm-shop-confirm .ss-detail-piece{border-top:1px solid #51452b;padding:8px 0;font-size:13px}
@media(max-width:700px){#mu-storm-shop{width:calc(100vw - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}#mu-storm-shop .ss-head{padding:15px}#mu-storm-shop h2{font-size:28px}#mu-storm-shop .ss-head>p{font-size:12px;max-width:65%}#mu-storm-shop .ss-wallet{right:62px;top:16px}#mu-storm-shop .ss-wallet strong{font-size:22px}#mu-storm-shop [data-close]{right:10px;top:12px}#mu-storm-shop .ss-body{padding:10px}#mu-storm-shop .ss-tools{gap:6px;margin-top:12px}#mu-storm-shop .ss-tools button,#mu-storm-shop .ss-tools select{padding:9px;font-size:13px}#mu-storm-shop .ss-classes{display:flex;overflow:auto;gap:6px;padding:0 1px 7px}#mu-storm-shop .ss-classes button{flex:none;width:81px;min-height:100px}#mu-storm-shop .ss-classes img{height:74px}#mu-storm-shop .ss-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#mu-storm-shop .ss-card{padding:9px}#mu-storm-shop h3{font-size:17px}#mu-storm-shop .ss-art{height:108px}#mu-storm-shop .ss-art img{max-height:95px}#mu-storm-shop .ss-description{font-size:12px}#mu-storm-shop .ss-price{font-size:24px}#mu-storm-shop .ss-footer{gap:5px}#mu-storm-shop .ss-footer button{padding:9px;font-size:13px}}
@media(max-width:380px){#mu-storm-shop .ss-grid{grid-template-columns:1fr}}
@media(max-height:500px){#mu-storm-shop .ss-head{padding:10px 18px}#mu-storm-shop .ss-head>p{display:none}#mu-storm-shop h2{font-size:25px}#mu-storm-shop .ss-tools{margin-top:6px}#mu-storm-shop .ss-wallet{top:10px}#mu-storm-shop .ss-classes button{min-height:70px}#mu-storm-shop .ss-classes img{height:52px}}

/* HTML dialogs render above the native game cursor. Use the original PC cursor here. */
#mu-storm-shop,#mu-storm-shop *,#mu-storm-shop-confirm,#mu-storm-shop-confirm *,#mu-storm-coins,#mu-storm-coins *{cursor:url("/play/compat/mu-shop-cursor.png") 0 0,auto!important}
#mu-storm-shop input,#mu-storm-shop-confirm input{cursor:text!important}
#mu-storm-shop button:disabled,#mu-storm-shop-confirm button:disabled{cursor:not-allowed!important}

/* Phones in landscape (touch + short viewport): compact store. Desktop/PC (fine pointer) is untouched. */
@media (pointer:coarse) and (max-height:520px){
#mu-storm-shop{width:calc(100vw - 12px - env(safe-area-inset-left) - env(safe-area-inset-right));height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);border-width:1px}
#mu-storm-shop .ss-head{padding:6px 12px 7px;display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-height:0}
#mu-storm-shop .ss-kicker,#mu-storm-shop .ss-head>p{display:none}
#mu-storm-shop h2{font-size:20px;margin:0;flex:none}
#mu-storm-shop .ss-tools{margin:0 auto 0 4px;gap:5px;flex-wrap:nowrap}
#mu-storm-shop button,#mu-storm-shop select{min-height:32px;padding:4px 10px;font-size:12px}
#mu-storm-shop .ss-tools button,#mu-storm-shop .ss-tools select{padding:4px 11px;font-size:12px;min-height:32px}
#mu-storm-shop .ss-wallet{position:static;display:flex;align-items:baseline;gap:6px;font-size:10px;margin-left:auto;text-align:right;white-space:nowrap}
#mu-storm-shop .ss-wallet strong{display:inline;font-size:18px}
#mu-storm-shop [data-close]{position:static;flex:none;width:34px;min-height:32px;padding:2px;font-size:20px}
#mu-storm-shop .ss-body{padding:6px 8px 8px}
#mu-storm-shop .ss-tabs{gap:4px;padding:0 0 5px}
#mu-storm-shop .ss-tabs button{min-width:0;padding:3px 9px;font-size:11px;min-height:28px}
#mu-storm-shop .ss-classes{gap:4px;margin:2px 0 6px;padding:0 0 4px}
#mu-storm-shop .ss-classes button{width:52px;min-height:46px;padding:0 0 3px;font-size:9px}
#mu-storm-shop .ss-classes img{height:34px;margin-bottom:2px}
#mu-storm-shop .ss-all-mark{font-size:20px}
#mu-storm-shop .ss-search{margin:4px 0 7px;gap:8px}
#mu-storm-shop input{padding:6px 10px;font-size:13px}
#mu-storm-shop [data-count]{font-size:11px}
#mu-storm-shop .ss-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:6px}
#mu-storm-shop .ss-card{padding:6px}
#mu-storm-shop .ss-art{height:66px;margin-bottom:5px}
#mu-storm-shop .ss-art img{max-height:58px}
#mu-storm-shop .ss-art:has(img:nth-child(2)) img{max-height:52px}
#mu-storm-shop .ss-art .ss-symbol{font-size:26px}
#mu-storm-shop h3{font-size:12px;line-height:1.2;margin:0 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}
#mu-storm-shop .ss-description{font-size:10px;line-height:1.3;margin:0 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#mu-storm-shop .ss-meta{display:none}
#mu-storm-shop .ss-options{font-size:10px;margin:2px 0}
#mu-storm-shop .ss-card [data-detail]{display:none}
#mu-storm-shop .ss-footer{padding-top:5px;gap:4px;align-items:center}
#mu-storm-shop .ss-price{font-size:16px;line-height:1}
#mu-storm-shop .ss-price small{font-size:9px}
#mu-storm-shop .ss-footer button{padding:3px 9px;min-height:28px;font-size:11px}
#mu-storm-shop .ss-pages{padding-top:8px;gap:10px}
#mu-storm-shop [data-status]{padding:4px 12px;min-height:24px;font-size:11px}
#mu-storm-shop-confirm{width:min(470px,calc(100vw - 24px));max-height:94dvh;padding:12px 16px}
#mu-storm-shop-confirm h2{font-size:20px;margin:0 0 8px}
#mu-storm-shop-confirm h3{font-size:15px}
#mu-storm-shop-confirm p{margin:4px 0;font-size:12px}
#mu-storm-shop-confirm .ss-detail-piece{padding:5px 0;font-size:12px}
#mu-storm-shop-confirm button{min-height:34px;padding:4px 12px;font-size:13px}
#mu-storm-shop-confirm .ss-confirm-actions{margin-top:10px}
}

/* VIP controls stay in the shop flow, independent of the launcher's absolute-position toggle. */
#mu-storm-shop #mu-shop-vip-controls{box-sizing:border-box;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;margin:0 0 14px;padding:14px 16px;border:1px solid #75603a;border-radius:9px;background:linear-gradient(120deg,#292419,#1b1b14);color:#f0dfae}
#mu-shop-vip-controls[hidden],#mu-shop-vip-controls [hidden],#mu-shop-vip-controls .hidden{display:none!important}
#mu-shop-vip-controls .mu-vip-reset,#mu-shop-vip-controls .mu-vip-travel{min-width:0;margin:0}
#mu-storm-shop #mu-shop-vip-controls .rewards-vip-autoreset{box-sizing:border-box;position:relative;inset:auto;display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:0;font:600 14px/1.35 system-ui;color:#f1dfac;opacity:1;white-space:normal}
#mu-shop-vip-controls .rewards-vip-autoreset-track{box-sizing:border-box;width:40px;height:23px;border-radius:13px;flex:0 0 40px}
#mu-shop-vip-controls .rewards-vip-autoreset-track::after{width:17px;height:17px;top:2px;left:2px}
#mu-shop-vip-controls .rewards-vip-autoreset input:checked+.rewards-vip-autoreset-track::after{transform:translateX(17px)}
#mu-shop-vip-controls .mu-vip-reset-note{display:block;max-width:none;margin:4px 0 0;color:#cdbf9d;font:12px/1.45 system-ui}
#mu-shop-vip-controls .mu-vip-travel-title{display:flex;align-items:center;min-height:44px;margin:0;font:600 14px/1.35 system-ui;color:#f1dfac}
#mu-shop-vip-controls .mu-vip-travel-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;margin-top:4px}
#mu-storm-shop #mu-shop-vip-controls select{box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:44px;margin:0;padding:9px 30px 9px 11px;border:1px solid #8c7442;border-radius:5px;background:#121610 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23d6bd79%27 stroke-width=%271.5%27/%3E%3C/svg%3E") no-repeat right 11px center;-webkit-appearance:none;appearance:none;color-scheme:dark;color:#f3dfaa;font:14px/1.3 system-ui}
#mu-storm-shop #mu-shop-vip-controls button{box-sizing:border-box;min-height:44px;margin:0;padding:9px 15px;border:1px solid #b79852;border-radius:5px;background:linear-gradient(#c9ab62,#ac8a42);color:#17150e;font:700 14px/1.3 system-ui;white-space:nowrap}
#mu-shop-vip-controls :is(select,button):focus-visible{outline:2px solid #efd38e;outline-offset:3px}
@media(max-width:640px){#mu-storm-shop #mu-shop-vip-controls{grid-template-columns:minmax(0,1fr);gap:10px;padding:10px 12px;margin-bottom:10px}#mu-shop-vip-controls .mu-vip-travel{border-top:1px solid #6a573444;padding-top:6px}#mu-shop-vip-controls .mu-vip-travel-title{min-height:28px}#mu-shop-vip-controls .mu-vip-travel-fields{margin-top:3px}}
@media(max-height:500px) and (min-width:641px){#mu-storm-shop #mu-shop-vip-controls{gap:16px;padding:8px 12px;margin-bottom:8px}#mu-shop-vip-controls .mu-vip-reset-note{font-size:11px;line-height:1.35}}


/* Travel moved to the M menu; the shop only contains auto-reset. */
#mu-storm-shop #mu-shop-vip-controls{grid-template-columns:minmax(0,1fr)}
