.public-mobile-menu{display:none}
@media(max-width:760px){
html:has(body.public-mobile){scrollbar-gutter:auto;overflow-y:auto}
/* One shared first-screen portrait, independent of document height. */
body.public-mobile:not(.mobile-tierlist-page){background-color:#080809;background-image:url('../fondo-negro-textura-2.png');background-size:100% auto;background-position:center bottom;background-repeat:repeat-y;background-attachment:scroll}
/* Preserve the texture's existing attachment; this no longer contains the portrait. */
body.public-mobile:is(.home-page,.mobile-compact-page):not(.perk-roulette-page),
body.public-mobile:is(.perks-menu-page,.one-vs-one-page):not(.mobile-config-open){background-attachment:fixed}
body.public-mobile:not(.mobile-tierlist-page)::before,
body.public-site.public-mobile .splash::before{
 content:'';display:block!important;position:absolute;inset:0 0 auto;height:100svh;
 z-index:0;pointer-events:none;
 background-color:transparent;background-image:url('../fondo-sanlean-mobile2.png');
 background-size:cover;background-position:center top;background-repeat:no-repeat;background-attachment:scroll;
}
body.public-site.public-mobile .splash{background-image:none}
body.public-mobile .header-inner{height:76px;width:calc(100% - 32px)}
body.public-mobile #mainNav{display:none!important}
body.public-mobile #menuToggle{display:flex;width:44px;height:44px;padding:10px;gap:5px;border:0;border-radius:9px;background:transparent;align-items:center;justify-content:center;flex-direction:column}
body.public-mobile #menuToggle span{width:22px;height:2px;margin:0;transform:none;opacity:1;background:#fff}
body.public-mobile #menuToggle.is-open{padding:6px}
body.public-mobile #menuToggle.is-open span{display:none}
body.public-mobile #menuToggle.is-open:before{content:'';width:32px;height:32px;border-radius:8px;background:linear-gradient(45deg,transparent calc(50% - 1px),#fff calc(50% - 1px),#fff calc(50% + 1px),transparent calc(50% + 1px)) center/16px 16px no-repeat,linear-gradient(-45deg,transparent calc(50% - 1px),#fff calc(50% - 1px),#fff calc(50% + 1px),transparent calc(50% + 1px)) center/16px 16px no-repeat #ff003c}
body.public-menu-open{overflow:hidden}
body.public-mobile .public-mobile-menu:not([hidden]){display:grid;grid-template-columns:32% minmax(0,1fr);height:240px;max-height:calc(100dvh - 76px);overflow:auto;position:absolute;left:0;width:100%;z-index:49;background:#09090b;border-block:1px solid #29292e;overscroll-behavior:contain}
.public-mobile-groups{background:#060608;border-right:1px solid #29292e}
.public-mobile-menu :is(button,a){display:flex;align-items:center;width:100%;height:48px;padding:6px 14px;border:0;border-bottom:1px solid #29292e;border-radius:0;color:#fff;background:transparent;text-decoration:none;text-align:left;font:600 11px/1.45 Montserrat,Arial,sans-serif;overflow-wrap:anywhere;cursor:pointer}
/* Expanded/current are semantic states, not persistent touch selections. */
.public-mobile-menu :is(button,a):active{color:#ff003c}
.public-mobile-menu :is(button,a):focus-visible{outline:2px solid white;outline-offset:-4px}
body.public-mobile.mobile-compact-page:not(.mobile-config-open){height:100dvh;min-height:0;overflow:hidden}
body.public-mobile.mobile-compact-page:not(.mobile-config-open)>main{height:calc(100dvh - 76px);min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 0!important}
body.public-mobile :is(.roulette-page,.placeholder,.credits-wrap){padding-top:16px!important}
/* Public mobile title and spacing tokens; Tier List is the reference. */
body.public-mobile{--public-title-size:clamp(40px,12.3vw,48px);--public-space:16px;--public-section-gap:32px;--killer-card-width:clamp(144px,42vw,184px)}
body.public-mobile :is(.roulette-page h1,.tierlist-title,.tournament-hero h1,.perk-choice-title,.placeholder h1,.credits-wrap h1,.killer-perks-title,.home-title){font-family:var(--head);font-size:var(--public-title-size)!important;font-weight:400;line-height:1.04!important;letter-spacing:-.5px;text-align:center!important;text-wrap:balance;width:100%;max-width:100%;margin:0 auto var(--public-section-gap)!important;overflow-wrap:normal}
body.public-mobile :is(.roulette-page,.tierlist-page,.one-vs-one-main,.perk-choice-page,.home-content,.credits-wrap){padding-top:var(--public-section-gap)!important}
body.public-mobile:is(.mobile-compact-page,.public-legal-page):not(.mobile-config-open)>main{padding-top:var(--public-section-gap)!important;padding-bottom:var(--public-section-gap)!important}
body.public-mobile .build-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px;min-height:0;margin:0 auto}
body.public-mobile .build-slot{--perk-size:min(34vw,18svh,145px);height:calc(var(--perk-size) + 64px);min-height:0}
body.public-mobile .build-slot:before{width:var(--perk-size);height:var(--perk-size);top:0}
body.public-mobile .reel-canvas{height:var(--perk-size);max-width:100%}
body.public-mobile .reel-name{min-height:38px;margin-top:6px;font-size:14px;line-height:1.3;padding:0 3px}
body.public-mobile :is(.perk-spin-controls,.killer-spin-controls){margin:20px auto 12px;height:48px;min-height:48px}
body.public-mobile :is(.perk-spin-controls,.killer-spin-controls)>.btn{height:48px;padding:10px 36px;font-size:20px}
body.public-mobile .perk-gear-btn{width:50px;height:50px;font-size:30px;right:0}
body.public-mobile .mobile-killer-stage{min-height:calc(100svh - 92px);display:flex;flex-direction:column;justify-content:center;scroll-margin-top:16px}
body.public-mobile .killer-reel{height:calc(var(--killer-card-width) * 1.43 * 1.22 + 64px);flex-shrink:0;width:100%}
body.public-mobile .killer-track{height:calc(var(--killer-card-width) * 1.43);gap:10px}
body.public-mobile .killer-card{flex:0 0 var(--killer-card-width);width:var(--killer-card-width);height:calc(var(--killer-card-width) * 1.43)}
body.public-mobile .perk-spin-controls #spinBtn{margin:0}
body.public-mobile #menuToggle{border:0!important;box-shadow:none!important}
body.public-mobile .killer-perks-section{min-height:100svh;margin-top:0;padding:28px 0;display:flex;flex-direction:column;justify-content:center}
body.public-mobile .killer-perks-section .build-grid{width:100%}
body.public-mobile .killer-page{padding-bottom:0}
body.public-mobile .mobile-killer-stage .killer-spin-controls{margin:12px auto 8px}
html:has(body.public-mobile.killer-page-bg:not(.mobile-config-open)){scroll-snap-type:y proximity}
body.public-mobile:not(.mobile-config-open) :is(.mobile-killer-stage,.killer-perks-section){scroll-snap-align:start}
body.public-mobile.mobile-config-open>main{height:auto;overflow:visible}
body.public-mobile .config-section.gear-visible{margin-top:28px}
body.public-mobile .placeholder{height:100%;display:flex;flex-direction:column;justify-content:center!important}
body.public-mobile.mobile-credits-page .credits-wrap{padding:0 0 24px!important}
body.public-mobile.mobile-credits-page .credits-wrap p{font-size:14px;line-height:1.6;margin-bottom:16px}
@media(max-height:450px) and (orientation:landscape){
body.public-mobile .build-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.public-mobile .build-slot{--perk-size:min(16vw,25svh)}
}
}

/* Shared public mobile layout. No desktop or private-platform selectors. */
@media(max-width:760px){
body.public-mobile.home-page{height:auto;min-height:100dvh;overflow-y:auto}
body.public-mobile.home-page.no-scroll{overflow:hidden}
body.public-mobile.home-page .home-main{height:auto;min-height:calc(100svh - 76px);overflow:visible}
body.public-mobile .splash-content{width:calc(100% - 32px);max-width:560px;display:flex;flex-direction:column;align-items:center;gap:16px;transform:none;margin:0 auto 56px;text-align:center}
body.public-mobile .splash{align-items:flex-end}
body.public-mobile .splash-copy{flex:0 1 auto;width:100%;min-width:0}
body.public-mobile .splash-content img{width:80px;height:80px}
body.public-mobile .splash-title{font-size:clamp(72px,22.1vw,86px);line-height:1;letter-spacing:-1.6px}
body.public-mobile .splash-text{width:100%;max-width:38ch;margin:16px auto 0;font-size:14px;line-height:1.5;text-wrap:pretty}
body.public-mobile :is(.splash-text,.home-title,.home-feature p,.perk-choice-copy p) br{display:none}
body.public-mobile .home-content{max-width:calc(100% - 32px);padding-bottom:32px}
body.public-mobile .home-options{width:100%;margin:0 auto;display:grid;gap:32px}
body.public-mobile :is(.home-feature,.perk-choice-card){width:100%;margin:0 auto;padding:0;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
body.public-mobile :is(.home-feature .question-icon,.perk-choice-icon){width:94px;height:94px}
body.public-mobile :is(.home-feature h3,.perk-choice-copy h3){font-size:32px;line-height:1.08;text-align:center}
body.public-mobile :is(.home-feature p,.perk-choice-copy p){font-size:15px;line-height:1.5;max-width:32ch;margin:8px auto 0;text-wrap:pretty}
body.public-mobile .perk-choice-list{display:grid;gap:32px}
body.public-mobile .placeholder{align-items:center;text-align:center}
body.public-mobile .placeholder p{font-size:15px;line-height:1.5}

body.public-mobile .killer-reel{margin-bottom:16px}
body.public-mobile :is(.perk-spin-controls,.killer-spin-controls){height:50px;min-height:50px;margin:32px auto 16px}
body.public-mobile .mobile-killer-stage .killer-spin-controls{margin:16px auto}
body.public-mobile .killer-perks-section{padding:32px 0}
body.public-mobile .build-grid{row-gap:16px}
@media(max-height:500px) and (orientation:landscape){
body.public-mobile .splash-content{flex-direction:row;align-items:center;margin:auto;gap:16px}
body.public-mobile .splash-title{font-size:86px}
}
}

/* Public mobile refinements: navigation, readable copy and shared backgrounds. */
@media(max-width:760px){
body.public-mobile .splash-brand-mark{display:none}
body.public-mobile :is(p,h1,h2,h3){word-spacing:normal;hyphens:none}
body.public-mobile :is(.home-feature,.perk-choice-card) h3{color:var(--red)}
body.public-mobile :is(.home-feature,.perk-choice-card) p{color:#fff}
body.public-mobile .home-feature:focus-visible{outline:2px solid var(--red);outline-offset:8px;border-radius:12px}
body.public-mobile.killer-page-bg{background-color:#080809;background-image:url('../fondo-negro-textura-2.png');background-size:100% auto;background-repeat:repeat-y;background-position:center top;background-attachment:scroll}
body.public-mobile.mobile-tierlist-page{background-color:#080809;background-image:url('../fondo-negro-textura-2.png');background-size:100% auto;background-repeat:repeat-y;background-position:center top;background-attachment:scroll}
body.public-mobile .config-grid.open::before{background:url('../fondo-negro-textura-2.png') center top/cover no-repeat}
body.public-mobile .tier-tabs{justify-content:center;flex-wrap:wrap;padding:0 44px;gap:8px}
body.public-mobile .tier-tab{padding-inline:12px}
body.public-mobile .perk-gear-btn{padding:0;text-shadow:none}
body.public-mobile .mobile-gear-icon{width:30px;height:30px;display:block;flex-shrink:0;color:#fff}
body.public-mobile .killer-reel .reel-marker-top{top:9px}
body.public-mobile .killer-reel .reel-marker-bottom{bottom:9px}
body.public-mobile.public-menu-open{overflow:hidden}
body.public-mobile.public-menu-open>main{overflow:hidden!important}
}

/* Keep the hero stable; configuration owns only the background below its heading. */
@media(max-width:760px){
body.public-mobile.public-menu-surface .site-header{background:#09090b}
body.public-mobile .site-header{transition:background-color 220ms ease}
body.public-mobile:is(.perk-roulette-page,.killer-page-bg){background:#080809 url('../fondo-negro-textura-2.png') center top/100% auto repeat-y; background-attachment:scroll}
body.public-mobile .config-section.gear-visible{position:relative;isolation:isolate;padding-top:16px}
body.public-mobile .config-section.gear-visible::before{content:'';position:absolute;z-index:-1;top:0;bottom:-34px;left:50%;width:100vw;transform:translateX(-50%);background:#080809 url('../fondo-negro-textura-2.png') center top/100% auto repeat-y;pointer-events:none}
body.public-mobile .config-grid.open::before{display:none}
body.public-mobile .tier-tab{border:1px solid var(--red)}
body.public-mobile .killer-reel{width:100vw;max-width:none;align-self:center;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
body.public-mobile .killer-reel .reel-edge{width:18px}
@media(prefers-reduced-motion:reduce){body.public-mobile .site-header{transition:none}}
}

/* Public touch feedback and existing card sizes, isolated from desktop. */
@media(max-width:760px){
 body.public-mobile .tier-card{-webkit-tap-highlight-color:transparent}
 body.public-mobile .tier-card.tier-selected{outline:2px solid var(--red);outline-offset:1px}
 body.public-mobile .tier-card:focus-visible:not(.tier-selected){outline:none;filter:none}
 body.public-mobile .tier-pool{display:grid;grid-template-columns:repeat(auto-fill,66px);justify-content:center}
 body.public-mobile .halloween-selector .tier-pool{grid-template-columns:repeat(auto-fill,80px)}
 body.public-mobile .tier-empty{grid-column:1/-1}
 body.public-mobile :is(.perk-gear-btn,.killer-gear-btn)::after{display:none}
}
@media(min-width:701px) and (max-width:760px){
 body.public-mobile .tier-pool{grid-template-columns:repeat(auto-fill,88px)}
 body.public-mobile .tier-perk-pool{grid-template-columns:repeat(auto-fill,66px)}
 body.public-mobile .halloween-selector .tier-pool{grid-template-columns:repeat(auto-fill,105px)}
}
