/* The Store retains a fixed header/footer and one accessible scrolling region. */
.store-content{background:linear-gradient(180deg,#071d3599 0%,#0b2b4190 25%,#21333577 43%,#523d2060 56%,#21170770 70%);padding:12px 4px 24px;scroll-behavior:smooth;overscroll-behavior:contain}
.menu-currencies button:hover{transform:none}
.rubies-section,.ruby-exchanges{color:#bdefff;padding:12px;border-radius:14px;background:linear-gradient(135deg,#081e36bb,#0b345077);margin-bottom:20px}.rubies-section h2,.ruby-exchanges h2{color:#8ae3ff}
.ruby-product{background:linear-gradient(145deg,#092443,#061624);border:1px solid #35bafb;box-shadow:inset 0 0 25px #36baff0a;color:#bdefff}.ruby-product b{color:#c2edff}.ruby-product button,.ruby-exchanges button{background:linear-gradient(#4bcfff,#1684c3);color:#051b2b;border:1px solid #80e3ff;box-shadow:0 0 14px #25bbf522}.ruby-product button:disabled{background:#113a54;color:#81cce9;opacity:.85}
.exchange-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exchange-grid article{display:flex;align-items:center;justify-content:space-around;flex-wrap:wrap;gap:10px;padding:18px 12px;background:#061b2de6;border:1px solid #237aa5;border-radius:12px}.inline-ruby{width:24px;height:24px;vertical-align:middle;object-fit:contain}.exchange-cost{color:#85dfff;white-space:nowrap}.exchange-cash{color:#68ff9d;white-space:nowrap}.exchange-grid button{padding:9px 15px;font-weight:800}.exchange-status{min-height:1em}.cash-section{padding:14px 0}.cash-section h2{color:#ffe1a0}.daily-rubies-section,.mission-keys-section{margin:20px 0}.mission-key-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mission-key-art{width:110px;height:85px;object-fit:contain;flex-shrink:0}.mission-key-confirm{display:block;width:140px;height:110px;object-fit:contain;margin:auto}.store-content>.premium-product{margin:16px 0}.premium-card-actions{flex-shrink:0}.mission-record{position:absolute;bottom:9px;right:12px;line-height:1.4;font-size:11px;text-align:right;color:#d4eff7;text-shadow:0 1px 3px #000}.mission-key-option{position:absolute;bottom:9px;left:10px;right:10px;display:flex;align-items:center;justify-content:center;gap:5px;background:#103449e8;border:1px solid #52c6e7;padding:5px;border-radius:5px;color:#cef3ff;font-size:10px;font-weight:800}.mission-key-option img{width:32px;height:25px;object-fit:contain}.mission-card.completed .mission-label{max-width:64%}
.menu-bg>.modern-defense-structure{left:2.5vw;top:14px;transform:none;width:clamp(220px,27vw,450px);animation:menuLogoLeftFloat 6s ease-in-out infinite}.menu-bg>.modern-defense-structure img{width:100%}@keyframes menuLogoLeftFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.menu-currencies{position:absolute!important;z-index:3!important;top:24px;right:290px;display:flex;align-items:center;gap:7px;max-width:calc(70vw - 300px)}.menu-currencies>span{display:flex;align-items:center;gap:6px;height:38px;padding:4px 9px;font-size:13px;white-space:nowrap;border-radius:20px}.menu-currencies button{border:0;background:#ffffff18;min-width:23px;width:23px;height:23px;padding:0;border-radius:50%;font-weight:800;color:inherit}.menu-coins{color:#ffd967;border:1px solid #9d742b;background:#211b0def}.menu-disclaimer{position:absolute!important;bottom:3px;left:50%;transform:translateX(-50%);font-size:10px;line-height:1.2;margin:0;color:#ccdadccc;white-space:nowrap;pointer-events:none}.menu-stack{margin-bottom:14px}
.ruby-bomb{position:absolute;z-index:5;right:14px;top:65px;width:75px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px;background:linear-gradient(#132b3fe8,#06121eee);border:1px solid #3da7d4;border-radius:12px;box-shadow:0 3px 16px #0007}.ruby-bomb>img{width:51px;height:51px;object-fit:contain}.ruby-bomb>span{display:flex;gap:5px;align-items:center;color:#9be6ff;font-weight:800}.ruby-bomb .inline-ruby{width:19px;height:19px}.ruby-bomb.selected{border-color:#bdefff;box-shadow:0 0 18px #39ccff88}.game-confirm{z-index:10000!important}.game-confirm button:focus-visible{outline:3px solid #85dfff;outline-offset:3px}
@media(max-width:1150px){.menu-currencies{top:85px;right:20px;max-width:70vw}.menu-bg>.modern-defense-structure{width:29vw;min-width:210px}.exchange-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.menu-currencies{top:72px;right:12px;gap:3px;max-width:none}.menu-currencies>span{height:32px;padding:3px 6px;font-size:11px;gap:3px}.menu-currencies .inline-ruby{width:18px;height:18px}.menu-bg>.modern-defense-structure{top:8px;width:210px;min-width:0;max-width:calc(100vw - 245px)}.mission-key-products{grid-template-columns:1fr}.mission-record{font-size:9px;right:7px}.ruby-bomb{width:60px;height:68px;top:74px;right:10px}.ruby-bomb>img{width:42px;height:42px}.menu-disclaimer{font-size:9px}.menu-bg>.menu-stack{bottom:22px}}
@media(max-width:440px){.exchange-grid{grid-template-columns:1fr}.menu-currencies{top:65px;right:8px;left:8px;justify-content:center}.menu-bg>.modern-defense-structure{width:130px;max-width:40vw;top:9px}.ruby-bomb{top:144px}.mission-key-art{width:70px}.premium-product{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.store-content{scroll-behavior:auto}.menu-bg>.modern-defense-structure{animation:none}}
[data-reduce-motion="true"] .modern-defense-structure{animation:none!important}
.reduce-motion .menu-bg>.modern-defense-structure{animation:none!important}
.ruby-product h3{color:#b6edff}.menu-bg>.menu-currencies{right:320px}.game>.ruby-bomb{top:112px}
@media(max-width:1150px){.menu-bg>.menu-currencies{right:20px}}
@media(max-width:760px){.menu-bg>.menu-currencies{right:12px}.game>.ruby-bomb{top:140px}}
@media(max-width:440px){.menu-bg>.menu-currencies{right:8px}.game>.ruby-bomb{top:144px}}

/* Keep the small-screen currency row below language and Store controls. */
@media(max-width:440px){.menu-bg>.menu-currencies{top:85px}}
