/* ===== Menú 3.0 (navideño) ===== */
.m2bg{background:linear-gradient(125deg,#0d1a52,#0b2a6b 35%,#3a1a7a 65%,#0a3a5a)!important;background-size:300% 300%}
.m2snow{position:absolute;inset:0;width:100%;height:100%}
.m2lights{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-around;pointer-events:none;z-index:6;height:18px}
.m2lights i{width:8px;height:12px;margin-top:2px;border-radius:50% 50% 60% 60%;animation:spl 1.6s ease-in-out infinite;box-shadow:0 0 9px currentColor}
.m2lights i:nth-child(4n+1){color:#ff3b3b;background:#ff3b3b}.m2lights i:nth-child(4n+2){color:#ffd23d;background:#ffd23d;animation-delay:.4s}.m2lights i:nth-child(4n+3){color:#4fc3ff;background:#4fc3ff;animation-delay:.8s}.m2lights i:nth-child(4n){color:#7dfcd0;background:#7dfcd0;animation-delay:1.2s}
@keyframes spl{50%{opacity:.35;transform:scale(.85)}}
#menu .m2main{overflow-y:auto!important;overflow-x:hidden}
.m2grid{grid-template-columns:repeat(auto-fit,minmax(clamp(98px,18vw,150px),1fr))!important}
.m2grid .tile{height:clamp(58px,13vh,92px)!important;position:relative;overflow:hidden;transition:transform .15s,box-shadow .2s}
.m2grid .tile::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,#fff5,transparent);transform:skewX(-20deg);transition:left .6s}
.m2grid .tile:hover::after{left:130%}.m2grid .tile:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 10px 22px #0008}.m2grid .tile:active{transform:translateY(2px) scale(.97)}
.m2grid .tile.season{background:linear-gradient(150deg,#e8283a,#7a0b1c 55%,#0f5a2a);border-color:#fff;animation:m2in .55s .3s both,evg 2.4s 1s ease-in-out infinite}
.m2grid .tile.season .ti{filter:drop-shadow(0 0 10px #7dfcd0)}
.m2grid .tile.rank{background:linear-gradient(150deg,#22d3ee,#0b3a66)}
.m2grid .tile.train{background:linear-gradient(150deg,#ff9a3c,#8a2a00)}
.m2grid .tile .bdg[hidden]{display:none}
.m2grid .tile.play{order:-3}.m2grid .tile.season{order:-2}.m2grid .tile.rank{order:-1}
.m2lg{display:flex;align-items:center;gap:5px;padding:5px 10px;border-radius:12px;background:#0d1240cc;border:2px solid var(--lc,#4a5ad8);color:#fff;font:9px 'Press Start 2P',monospace;cursor:pointer;box-shadow:0 0 12px var(--lc,#4a5ad8)55}
.m2lg span{font-size:15px}.m2lg i{font-style:normal;font-size:14px}.m2lg:hover{filter:brightness(1.2)}
@media (orientation:portrait){.m2grid{grid-template-columns:repeat(2,1fr)!important}.m2grid .tile.season{grid-column:span 2}}
@media (prefers-reduced-motion:reduce){.m2lights i,.m2grid .tile{animation:none!important}}

/* ===== Rediseño 2: escenario + cuadrícula compacta ===== */
#menu .m2hero{display:none!important}
#menu .m2main{display:flex!important;flex-direction:row!important;gap:clamp(6px,1.4vw,12px)!important;overflow:hidden!important;padding:2px!important}
#menu .m2grid{flex:1 1 0;min-width:0;min-height:0;display:grid!important;grid-template-columns:repeat(4,1fr)!important;grid-auto-rows:1fr;gap:clamp(4px,1vh,8px)!important;align-content:stretch}
#menu .m2grid .tile{height:auto!important;min-height:0;padding:3px 4px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
#menu .m2grid .tile .ti{font-size:clamp(14px,5.4vh,28px)!important;line-height:1}
#menu .m2grid .tile b{font-size:clamp(6px,2vh,10px)!important;line-height:1.1;text-align:center}
#menu .m2grid .tile small{font-size:clamp(4.5px,1.5vh,7px)!important;line-height:1.1;text-align:center;opacity:.9}
#menu .m2grid .tile.play{grid-column:span 2}
#menu .m2grid .tile .bdg{position:absolute;top:2px;right:3px;font-size:clamp(5px,1.5vh,7px)}
@media (max-height:360px){#menu .m2grid .tile small{display:none}}
@media (orientation:portrait){#menu .m2main{flex-direction:column!important;overflow-y:auto!important}#menu .xst{flex:0 0 150px}#menu .m2grid{grid-template-columns:repeat(2,1fr)!important;grid-auto-rows:84px}}

#menu .m2grid .tile.play{order:-4}#menu .m2grid .tile.season{order:-3}#menu .m2grid .tile.rank{order:-2}
#menu .m2grid #b-3v3{order:1}#menu .m2grid #b-gacha{order:2}#menu .m2grid #b-team{order:3}#menu .m2grid .tile.train{order:4}#menu .m2grid #b-event{order:5}#menu .m2grid #b-barrio{order:6}#menu .m2grid #b-modes{order:7}#menu .m2grid #b-clan{order:8}

#menu .m2grid .tile b{text-shadow:0 1px 0 #0007!important}
#menu .m2grid #b-clan{grid-column:span 2}
