#shop-button{background:#f7cf52;color:#21112f;border:1px solid #fff0b0;box-shadow:inset 0 -2px 0 #aa7429;font-weight:700;letter-spacing:.5px}
#shop-button:disabled{opacity:.45;cursor:not-allowed}
#laser-shop{--laser-color:#ff684f;position:fixed;inset:12px 12px calc(var(--ad-content-height,48px) + 70px);margin:auto;width:760px;max-width:calc(100% - 24px);height:fit-content;max-height:calc(100dvh - var(--ad-content-height,48px) - 82px);padding:0;border:2px solid #ab85da;border-radius:12px;color:#f9f3ff;background:#211533;box-shadow:0 8px 0 #10091b,0 24px 80px #080411aa;overflow:hidden}
#laser-shop[open]{display:flex;flex-direction:column}
#laser-shop::backdrop{background:#090510a8;backdrop-filter:blur(4px)}
.shop-header{display:flex;align-items:center;gap:18px;flex:none;padding:17px 20px;border-bottom:2px solid #51346b;background:#34204b}
.shop-kicker{font-size:12px;font-weight:600;letter-spacing:1.5px;color:#b89acf}
.shop-header h2{font-size:30px;line-height:1;margin:4px 0 0;text-shadow:2px 3px #12091f;letter-spacing:0}
.shop-wallet{display:flex;align-items:center;gap:6px;margin-left:auto;padding:8px 10px;background:#170f24;border:1px solid #806039;border-radius:6px;color:#ffdb62;white-space:nowrap}
.shop-wallet>span{font-size:23px}.shop-wallet b{font-size:22px;line-height:1}.shop-wallet small{font-size:11px}
#shop-close{flex:none;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #b98dd9;border-radius:5px;background:#603e7f;color:#fff;font-size:29px;line-height:1;box-shadow:0 3px #130b20}
.shop-content{display:grid;grid-template-columns:1.05fr 1fr;gap:22px;padding:22px;overflow:auto;min-height:0;overscroll-behavior:contain}
.shop-preview-panel,.shop-selection{min-width:0}
#laser-preview{height:145px;position:relative;overflow:hidden;border:1px solid #4c3b61;border-radius:7px;background:#130e20;isolation:isolate}
.preview-grid{position:absolute;inset:0;background:linear-gradient(#43325333 1px,transparent 1px),linear-gradient(90deg,#43325333 1px,transparent 1px);background-size:24px 24px;transform:perspective(160px) rotateX(35deg) scale(1.4);opacity:.65}
#laser-preview>small{position:absolute;bottom:12px;left:14px;font-size:10px;color:#9c8bac;letter-spacing:1px}
.preview-blaster{position:absolute;left:24px;top:48px;width:80px;height:37px;background:#585469;border:3px solid #0b0910;border-radius:4px 8px 5px 4px;box-shadow:inset 0 7px #8b879c,inset 0 -7px #302d3d;transform:rotate(-8deg);z-index:2}
.preview-blaster:before{content:'';position:absolute;left:10px;top:30px;width:19px;height:23px;border:3px solid #0b0910;background:#393447;transform:skew(-10deg);border-radius:0 0 4px 4px}
.preview-blaster:after{content:'';position:absolute;right:-15px;top:4px;width:17px;height:23px;background:#aaa5ba;border:3px solid #0b0910;border-radius:2px}
.preview-blaster i{position:absolute;left:23px;top:10px;width:25px;height:6px;background:var(--laser-color);box-shadow:0 0 10px var(--laser-color)}
.preview-beam{position:absolute;left:107px;right:27px;top:58px;height:7px;transform:rotate(-8deg);transform-origin:left;background:#fff;box-shadow:0 0 0 3px var(--laser-color),0 0 13px 4px var(--laser-color),0 0 28px var(--laser-color);border-radius:8px;z-index:1}
.preview-impact{position:absolute;right:21px;top:36px;width:10px;height:10px;background:#fff;box-shadow:0 0 0 4px var(--laser-color),0 0 25px 8px var(--laser-color);border-radius:50%}
.laser-details{padding-top:17px}.laser-details h3{font-size:30px;line-height:1;margin:5px 0 9px}.laser-details p{font-size:14px;line-height:1.35;color:#cbbbdc;margin:0 0 16px;min-height:38px}
#laser-purchase{width:100%;min-height:43px;padding:10px;border:2px solid #f6ffb1;background:#bdef43;color:#182007;font-size:16px;font-weight:700;border-radius:6px;box-shadow:0 4px #526d16}
#laser-purchase:disabled{background:#3b314b;border-color:#6b587f;color:#c3b5ce;box-shadow:0 3px #110c1b;cursor:default;opacity:1}
#shop-message{min-height:18px;margin:12px 0 0;color:#d7fca1;font-size:13px}
.shop-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.shop-section-title h3{margin:0;font-size:14px}.shop-section-title>span{font-size:11px;color:#ac93c4}
#laser-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.laser-swatch{position:relative;overflow:hidden;text-align:left;min-height:80px;padding:11px 12px 9px;border:2px solid #59406e;border-radius:6px;background:#30203f;color:#f9f3ff;cursor:pointer;box-shadow:0 3px #110b1a}
.laser-swatch[aria-pressed=true]{border-color:#ebdbff;background:#4c3265;box-shadow:0 3px #ae81dc}
.laser-swatch strong{display:block;font-size:16px;font-weight:600;line-height:1.1;margin-top:14px}.laser-swatch small{display:block;font-size:11px;line-height:1.2;margin-top:4px;color:#dacbea}
.laser-swatch-beam{display:block;width:100%;height:3px;background:#fff;box-shadow:0 0 0 1px var(--laser-color),0 0 9px 2px var(--laser-color);border-radius:4px}
[data-laser=rgb] .preview-beam,[data-laser=rgb] .preview-impact,[data-laser=rgb] .preview-blaster i,[data-laser=rgb] .laser-swatch-beam{animation:laser-spectrum 4s linear infinite}
@keyframes laser-spectrum{from{filter:hue-rotate(0deg)}to{filter:hue-rotate(360deg)}}
#shop-help{font-size:14px;line-height:1.4;color:#c6b5d7;margin:18px 0 10px}#shop-help b{color:#ffe082;font-weight:600}
.shop-save-note{font-size:11px;line-height:1.4;color:#a88fbc;margin:0}
#laser-shop button:focus-visible{outline:3px solid #67e7ff;outline-offset:3px}
@media(max-width:620px){
  .shop-header{padding:12px;gap:10px}.shop-header h2{font-size:24px}.shop-wallet{gap:4px;padding:6px}.shop-wallet small{display:none}.shop-wallet b{font-size:20px}.shop-kicker{font-size:10px}.shop-content{grid-template-columns:1fr;padding:14px;gap:18px}
  .shop-preview-panel{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start}#laser-preview{height:141px}.preview-blaster{left:-22px;top:51px;transform:scale(.75) rotate(-8deg)}.preview-beam{left:48px;right:15px;top:62px;height:4px}.preview-impact{right:11px;top:52px;width:6px;height:6px}#laser-preview>small{font-size:8px;left:10px;bottom:10px}
  .laser-details{padding-top:0}.laser-details h3{font-size:24px;margin-top:4px}.laser-details p{font-size:12px;min-height:0;margin-bottom:10px}#laser-purchase{min-height:36px;font-size:12px;padding:7px}#shop-message{font-size:11px;margin-top:8px;min-height:0}
  #laser-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.laser-swatch{padding:10px 8px;min-height:74px}.laser-swatch strong{font-size:14px}.laser-swatch small{font-size:9px}#shop-help{margin-top:14px;font-size:13px}
}
@media(max-height:500px){.shop-header{padding:8px 14px}.shop-header h2{font-size:22px}.shop-header .shop-kicker{display:none}.shop-content{padding:12px;gap:14px}#laser-preview{height:100px}.laser-details{padding-top:10px}.laser-details h3{font-size:24px}.laser-details p{min-height:0;margin-bottom:10px}#laser-catalog{gap:8px}.laser-swatch{min-height:64px;padding:8px}.laser-swatch strong{margin-top:10px}#shop-help{margin-top:12px}}
@media(prefers-reduced-motion:reduce){[data-laser=rgb] .preview-beam,[data-laser=rgb] .preview-impact,[data-laser=rgb] .preview-blaster i,[data-laser=rgb] .laser-swatch-beam{animation:none;background:linear-gradient(90deg,#ff657b,#ffda60,#50ffa9,#60bcff,#b27bff)}}
