/* Tempo sizing pass: one spacing scale, readable data, bounded content. */
:root{--tempo-gap:16px;--tempo-gutter:24px}header{height:58px;padding:10px var(--tempo-gutter);gap:24px}.brand{font-size:21px}nav#navigation{padding:8px var(--tempo-gutter);gap:7px;min-height:54px}#navigation button{font-size:13px;padding:8px 12px}main{width:100%;max-width:1648px;padding:20px var(--tempo-gutter) 28px;min-width:0}h1{font-size:27px}h2{font-size:16px}.panel{padding:18px}.top{margin-bottom:18px}.note{font-size:12px;line-height:1.55}.profilegrid{grid-template-columns:248px minmax(0,1fr);gap:18px}.profilesummary>.panel{padding:17px}.profilesummary .bigstat{font-size:26px}.profilesub{gap:6px;margin:15px 0}.profilesub button{padding:8px 11px;font-size:12px}.historycard{width:100%;min-width:0;margin-bottom:10px}.historycontext{padding:10px 14px 0;font-size:11px}.historybody{padding:12px 14px;gap:12px}.historycombat>strong{font-size:20px}.historycombat>small{font-size:11px}.historymetric{font-size:12px}.historymetric small{font-size:10px}.historyfooter{padding:8px 14px;min-height:36px}.historyfooter .tempotag{font-size:10px;padding:3px 6px}.historyplayer>small{font-size:10px}.historyteams{gap:8px}.historydamage{font-size:10px}.historylist{min-width:0}.matchscreenheading{margin-bottom:14px}.matchscreenheading h1{font-size:23px}.matchcommandtop{gap:16px;grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr)}.matchcommandtop>.panel{min-height:225px;padding:20px}.matchplanheading{margin-bottom:10px}.matchplansteps{gap:10px}.matchplansteps p{font-size:12px;line-height:1.5}.matchbuildheading{gap:8px;margin-bottom:12px}.matchbuildsets{gap:8px}.matchbuildsets>div{padding:10px}.matchteam{width:100%;max-width:1154px;margin:24px auto 0}.matchplayergrid{max-width:100%;min-width:0}.matchplayercard{width:210px;height:367px;min-height:367px;max-height:367px;flex:0 0 210px}.posthero{padding:20px;gap:16px;min-height:150px}.postchampion{width:66px;height:66px}.posthero h1{font-size:28px}.postbadges{padding-top:12px}.postareas{gap:12px;margin-top:16px;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}.postarea{padding:18px}.postareatop>strong{font-size:28px}.postmeter{margin:13px 0}.postnumbers{min-height:58px;gap:8px}.postnumbers small{font-size:12px}.postnumbers b{font-size:13px}.postscorenote{margin:10px 0 16px;font-size:11px}.postscoreboard{padding:16px;margin-top:16px}.postscoreboard .fullscore td{font-size:12px;padding:10px 9px}.postscoreboard .fullscore th{font-size:10px;padding:10px 9px}.postscoreboard .scoreplayer b{font-size:12px}.postscoreboard .scoreplayer small{font-size:10px}.postscoreboard .scoreportrait{width:38px;height:38px}.layout{gap:14px;grid-template-columns:minmax(0,1fr) minmax(230px,.82fr) minmax(0,1fr)}.layout>.panel{padding:14px}.slot{min-height:76px;margin:6px 0;padding:9px;gap:10px}.slot img{width:42px;height:42px}.slot b{font-size:13px}.slot .role{font-size:10px}.slot .tag{font-size:10px}.layout .identity{font-size:25px}.recommend,.picker{padding:18px;margin-top:16px}.recommendworkspace{min-width:0}.recommendcards{gap:7px}.candidateinspect{min-height:80px;padding:10px}.detailpanel{padding:16px}.detailpanel h2{font-size:23px}.detailpanel p,.detailpanel li{font-size:12px;line-height:1.55}.plansteps{gap:14px}.plansteps p{font-size:12px}.scopebar{padding:14px;gap:10px}.tablewrap{max-width:100%;overflow-x:auto}.tablewrap td{font-size:12px}.patchcard{margin:14px 0}#accountview>*{min-width:0}
@media(min-width:1750px){main{max-width:1720px}.profilegrid{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:1100px){.matchcommandtop{grid-template-columns:1fr}.matchcommandtop>.panel{min-height:0}.matchplansteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.profilegrid{grid-template-columns:220px minmax(0,1fr)}.postareas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){:root{--tempo-gutter:16px}.profilegrid{grid-template-columns:1fr}.profilesummary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profilesummary>.panel{margin:0}.posthero{padding:16px}.postscoreboard{padding:12px}.layout{grid-template-columns:1fr 1fr}.layout>.analysis{grid-column:1/-1;grid-row:2}.layout>.enemy{grid-column:2;grid-row:1}.matchplansteps{display:flex}.scopebar{position:static}}
@media(max-width:550px){:root{--tempo-gutter:12px}.profilesummary{grid-template-columns:1fr}.postareas{grid-template-columns:1fr}.postcontext{gap:9px}.posthero h1{font-size:25px}.layout{grid-template-columns:1fr}.layout>.analysis,.layout>.enemy{grid-column:auto;grid-row:auto}.historycontext{flex-wrap:wrap}.postscoreboard .scoreplayer{min-width:150px}header{gap:14px}.brand{font-size:18px}header>small{font-size:9px}}

.formpanel{padding:16px;margin-bottom:16px}.formpanel .planhead{margin-bottom:8px}.formcolumns{margin:12px 0;gap:16px}.formcolumns>div{gap:5px}.formcolumns strong{font-size:25px;line-height:1.15}.formpanel .note{margin:8px 0 0}.formpanel h2{margin-top:4px}
