
@media(max-width:899px){
  .hero.agent-hero{grid-template-columns:repeat(2,minmax(0,round(down,calc((100% - 16px)/2),2px)));
    justify-content:space-between;gap:20px 16px;align-items:start;padding-top:32px}
  .agent-hero .hero-copy{display:contents}
  .agent-hero .hero-copy>.tag{position:static;grid-column:1;grid-row:1;justify-self:start;align-self:start;margin:0}
  .agent-hero .hero-copy>.giant{grid-column:1;grid-row:2;margin:0}
  .agent-hero .hero-copy>.lead{grid-column:1;grid-row:3;margin:0}
  .agent-hero .hero-copy>.loadout{grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,round(down,calc((100% - 12px)/2),2px)));
    grid-auto-flow:row;grid-auto-columns:auto;justify-content:space-between;gap:12px;width:100%;margin:0}
  .agent-hero .hero-copy>.ctas{grid-column:1/-1;grid-row:5;display:grid;
    grid-template-columns:repeat(2,minmax(0,round(down,calc((100% - 12px)/2),2px)));justify-content:space-between;gap:12px;margin:4px 0 0}
  .agent-hero .ctas .btn{width:100%;min-width:0;gap:8px}
  .agent-hero .hero-copy>.incl{grid-column:1/-1;grid-row:6;margin:0}
  .agent-hero .hstage{grid-column:2;grid-row:1/5;min-width:0;width:100%;gap:16px;container-type:inline-size;--rw:100%}
  .agent-hero .hmeta{min-height:24px;flex-wrap:nowrap;gap:0}
  .agent-hero .online{gap:8px}
  .agent-hero .hero-r .pic{--hero-frame-width:round(down,100cqw,4px)}
  .agent-hero .hquote{font-size:16px;line-height:24px;width:100%;max-width:100%;min-width:0;padding:0 4px}
  .agent-hero .hprice{flex-direction:column;gap:16px;margin:0}
  .agent-hero .hp{padding:0;margin:0;border:0;justify-content:center;column-gap:4px}
  .agent-hero .hp span{justify-content:center;gap:8px;flex-wrap:wrap}

  #max .roster-wrap{width:min(480px,100%);container-type:inline-size;
    --picw:round(down,min(320px,calc(100cqw - 48px)),2px);
    --pich:round(down,calc(var(--picw)*4/3),2px)}
  #max .roster{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:100%;gap:0;touch-action:pan-y pinch-zoom}
  #max .agent{gap:16px;min-width:0}
  #max .agent .pic{width:var(--picw);height:var(--pich);max-width:none}
  #max .agent .pic canvas{touch-action:pan-y pinch-zoom}
  #max .roster .agent .pic .nmi{font-size:24px}
  #max .agent .pwr{height:24px}
  #max .agent .pwr .role{font-size:16px;line-height:24px}
  #max .agent .srow{font-size:16px;line-height:24px;padding:10px 0;gap:16px}
  #max .agent .srow>span{min-width:0}
  #max .rbtn{display:flex;width:44px;height:44px}
  #max .rcount{display:flex;margin-top:20px;font-size:16px;line-height:24px}

  
  .hero.agent-hero[data-mobile-hero="stacked"]{grid-template-columns:minmax(0,1fr);gap:24px;padding-top:32px}
  .agent-hero[data-mobile-hero="stacked"] .hero-copy>.tag{grid-column:1;grid-row:1}
  .agent-hero[data-mobile-hero="stacked"] .hero-copy>.giant{grid-column:1;grid-row:2}
  
  html body #top.agent-hero[data-mobile-hero="stacked"] .hero-copy>.giant{margin-bottom:-12px}
  .agent-hero[data-mobile-hero="stacked"] .hero-copy>.lead{grid-column:1;grid-row:3}
  .agent-hero[data-mobile-hero="stacked"] .hstage{grid-column:1;grid-row:4;width:100%;gap:16px}
  .agent-hero[data-mobile-hero="stacked"] .hero-r .pic{--hero-frame-width:round(down,min(356px,calc(100vw - 40px)),4px)}
  .agent-hero[data-mobile-hero="stacked"] .hprice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}
  .agent-hero[data-mobile-hero="stacked"] .hp{min-width:0}
  .agent-hero[data-mobile-hero="stacked"] .hp:first-child{border-right:1px solid var(--line)}
  .agent-hero[data-mobile-hero="stacked"] .hero-copy>.loadout{grid-column:1;grid-row:5;
    grid-template-columns:repeat(4,minmax(0,round(down,calc((100% - 36px)/4),2px)));justify-content:start}
  .agent-hero[data-mobile-hero="stacked"] .hero-copy>.ctas{grid-column:1;grid-row:6;margin:0}
  .agent-hero[data-mobile-hero="stacked"] .ctas>.full{grid-column:2;grid-row:1}
  .agent-hero[data-mobile-hero="stacked"] .ctas>.btn:not(.full){grid-column:1;grid-row:1}
  .agent-hero[data-mobile-hero="stacked"] .ctas .btn{height:56px}
  .agent-hero[data-mobile-hero="stacked"] .hero-copy>.incl{grid-column:1;grid-row:7}
}
