@media(max-width:600px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .modal{inset:0;width:100vw;max-width:100vw;padding:10px;overflow-x:hidden;overflow-y:auto;place-items:center}
  .modal-card{width:100%;max-width:410px;min-width:0;margin:auto;padding:24px 16px 18px;border-radius:17px;overflow:hidden}
  .close{right:12px;top:8px;font-size:27px}
  .reward-icon{width:54px;height:54px;border-radius:14px;font-size:23px}
  .success{margin-top:17px}
  .modal h2{font-size:28px;line-height:1.1;margin:7px 0}
  .modal-card>p{font-size:11px;line-height:1.45;margin:8px 0 14px}
  .promo-row{width:100%;padding:11px 10px 11px 13px;gap:8px;margin-top:9px}
  .promo-row>div{min-width:0}.promo-row strong{font-size:14px;letter-spacing:1px}
  .promo-row small{font-size:9px}.copy{flex:0 0 auto;padding:10px 9px;font-size:9px}
  .modal-login{height:50px;margin-top:13px;font-size:14px}.fineprint{line-height:1.35;margin-top:10px}

  .modes{padding-top:48px}.section-heading.left{margin-bottom:24px}.section-heading.left h2{font-size:31px;line-height:1.08}.section-heading.left p{font-size:12px;line-height:1.55}
  .mode-grid{gap:12px}.mode-card,.mode-card.cases,.mode-card.upgrade,.mode-card.battle{min-height:300px;padding:23px;border-radius:16px}
  .mode-copy h3{font-size:25px;margin:9px 0}.mode-copy p{max-width:100%;font-size:11px;line-height:1.5}.mode-copy b{margin-top:14px}
  .case-single,.upgrade-showcase,.battle-arena{position:absolute;left:10px;right:10px;bottom:5px;width:auto;height:135px}
  .case-single{display:grid;place-items:center}.case-single:before{content:"";position:absolute;width:190px;height:90px;border-radius:50%;background:radial-gradient(circle,#8e5cf052,transparent 70%)}.case-single img{position:relative;width:165px;height:150px;object-fit:contain;filter:drop-shadow(0 14px 16px #000b)}
  .upgrade-showcase{display:flex;align-items:center;justify-content:center;gap:6px}.upgrade-showcase>div{width:105px;height:92px;display:grid;place-items:center;border:1px solid #7254ae;border-radius:13px;background:radial-gradient(circle,#7653b94f,#19132a 72%);transform:rotate(-3deg)}.upgrade-showcase>div.rare{border-color:#c99d48;background:radial-gradient(circle,#9b702e55,#21182b 72%);transform:rotate(3deg)}.upgrade-showcase img{width:95px;height:76px;object-fit:contain;filter:drop-shadow(0 9px 11px #000)}.upgrade-showcase>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#8f62ed;font-weight:900;z-index:2}
  .battle-arena{display:flex;align-items:center;justify-content:center;gap:2px}.fighter{width:102px;height:103px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.fighter.blue{border:1px solid #5f7ce3;background:radial-gradient(circle at 50% 35%,#557be75c,#171a38 72%)}.fighter.pink{border:1px solid #c6539a;background:radial-gradient(circle at 50% 35%,#e053a45c,#2b152c 72%)}.fighter img{width:93px;height:70px;object-fit:contain;filter:drop-shadow(0 8px 9px #000)}.fighter small{font-size:7px;letter-spacing:1px;color:#b9acd0;font-weight:900}.battle-core{width:48px;display:flex;flex-direction:column;align-items:center;z-index:3}.battle-core strong{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#6987f2,#db58a1);font-size:13px}.battle-core span{font-size:7px;margin-top:6px;color:#a898c3}
}
