/* Mascot chest shop — RouteCoin only, transparent adaptive odds. */
.mascot-chests{padding:17px 16px;margin:0 0 16px;border-radius:21px;
  background:linear-gradient(155deg,#24334d,#24334a 55%,#292b4e);
  border:1px solid #6478a6;color:#edf7ff}
.mascot-chests-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-bottom:6px}
.mascot-chests-head h2{font-size:21px;line-height:1.2;margin:0;color:#fff}
.mascot-chests-head span{font-size:12px;font-weight:800;background:#1f4b48;color:#d9ffeb;padding:8px 11px;border-radius:12px}
.mascot-chests-intro{font-size:12px;line-height:1.55;color:#d6e4f9;margin:6px 0 13px}
.mascot-chest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mascot-chest-card{position:relative;min-width:0;display:flex;flex-direction:column;
  padding:14px 12px;border-radius:17px;border:1px solid #7d92c7;
  background:linear-gradient(145deg,#364d70,#293a60);color:#fff}
.mascot-chest-card.chest-polar{background:linear-gradient(145deg,#225e70,#2a4774);border-color:#76d0e2}
.mascot-chest-card.chest-aurora{background:linear-gradient(145deg,#623a7c,#50386b,#513f54);border-color:#d4a6ef}
.mascot-chest-icon{font-size:42px;line-height:1.2;margin:2px 0 7px;filter:drop-shadow(0 7px 6px #111b3280)}
.mascot-chest-card h3{font-size:16px;line-height:1.3;margin:1px 0 4px;color:#fff}
.mascot-chest-card p{font-size:11px;line-height:1.45;margin:0 0 10px;color:#e8e9f9}
.mascot-chest-odds{font-size:11px;line-height:1.55;color:#e9f7ff;margin:0 0 12px;flex:1}
.mascot-chest-card button{font-weight:900;font-size:12px;line-height:1.3;min-height:46px;padding:8px;
  border-radius:12px;border:1px solid #f9e8a1;background:#ffdda0;color:#3a2f20;cursor:pointer}
.mascot-chest-card button:hover:not(:disabled){background:#ffefb9}
.mascot-chest-card button:disabled{opacity:.5;cursor:default}
.mascot-chest-card button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.mascot-chest-progress{color:#d2e0f2;font-size:12px;line-height:1.45;margin:12px 0 0}
.mascot-chest-result{margin-top:12px;border:1px solid #96d7ba;background:#234b4d;
  border-radius:15px;padding:14px;font-size:14px;line-height:1.55;font-weight:850;color:#fff;
  animation:mascot-chest-pop .3s ease-out}
.mascot-chest-result[hidden]{display:none}
.mascot-chest-result.rarity-epic{background:#5b3273;border-color:#e4adff}
.mascot-chest-result.rarity-legendary{background:#705018;border-color:#ffe3a1}
@keyframes mascot-chest-pop{from{opacity:.2;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:649px){
  .mascot-chests{padding:14px 11px}
  .mascot-chests-head h2{font-size:19px}
  .mascot-chest-grid{grid-template-columns:1fr;gap:9px}
  .mascot-chest-card{display:grid;grid-template-columns:51px 1fr;gap:0 10px;padding:11px 12px}
  .mascot-chest-icon{grid-row:1 / span 3;font-size:36px;align-self:center}
  .mascot-chest-card h3{margin:0}
  .mascot-chest-card p{margin:1px 0 6px}
  .mascot-chest-odds{grid-column:1 / -1;margin:7px 0 12px}
  .mascot-chest-card button{grid-column:1 / -1}
}
@media(prefers-reduced-motion:reduce){.mascot-chest-result{animation:none}}
