/* Retrato: cartões. Paisagem: súmula com referência fixa. */
@media screen and (orientation:landscape){
 .scroll{max-height:68vh;max-height:68dvh;overflow:auto;isolation:isolate;border:1px solid #38516c;border-radius:10px;scroll-padding-top:60px}
 .sheet{min-width:1080px}
 .sheet .row{grid-template-columns:45px 180px repeat(3,minmax(76px,1fr)) 90px repeat(3,minmax(76px,1fr)) 80px 55px;margin:0;border-radius:0;border-width:0 0 1px;padding:0;gap:0;min-height:64px}
 .sheet .row>*{padding:8px;min-width:0}
 .sheet .row.hdr{display:grid;position:sticky;top:0;z-index:5;min-height:56px;background:#18304a}
 .sheet .row>:first-child{position:sticky;left:0;z-index:2;background:#102033;align-self:stretch;display:flex;align-items:center;justify-content:center}
 .sheet .row>:nth-child(2){position:sticky;left:45px;z-index:2;background:#102033;align-self:stretch;display:flex;justify-content:center;flex-direction:column;box-shadow:2px 0 #38516c}
 .sheet .row.hdr>:first-child,.sheet .row.hdr>:nth-child(2){background:#18304a;z-index:6}
 .sheet .try input{font-size:16px;min-height:44px;padding:8px 2px}
 .sheet .try:before,.sheet .best:before,.sheet .best-three:before,.sheet .pos:before{content:none}
}
.vertical-heading,.vertical-history{display:none}
@media screen and (orientation:landscape){
 #athletes{display:block;overflow:auto;max-height:68vh;max-height:68dvh;border:1px solid #38516c;border-radius:10px;isolation:isolate;scroll-padding-top:56px}
 #athletes .vertical-heading,#athletes .athlete{display:grid;grid-template-columns:190px 210px 210px minmax(320px,1fr) 180px;gap:0;min-width:1110px;width:100%;margin:0;padding:0;border-radius:0;border-width:0 0 1px}
 #athletes .vertical-heading{position:sticky;top:0;z-index:5;background:#18304a;min-height:54px;align-items:center;font-size:14px;font-weight:bold}
 #athletes .vertical-heading>*{padding:12px}
 #athletes .athlete>*{padding:12px;min-width:0;margin:0}
 #athletes .vertical-identity,#athletes .vertical-heading>:first-child{position:sticky;left:0;z-index:2;background:#102033;box-shadow:2px 0 #38516c}
 #athletes .vertical-heading>:first-child{background:#18304a;z-index:6;align-self:stretch;display:flex;align-items:center}
 #athletes .vertical-identity{grid-column:1;grid-row:1}
 #athletes .vertical-attempt{grid-column:2;grid-row:1}
 #athletes .metrics{grid-column:3;grid-row:1;display:block;font-size:13px}
 #athletes .metrics span{display:block;margin:3px 0;padding:5px}
 #athletes .vertical-history{grid-column:4;grid-row:1;display:flex;gap:8px;align-items:start;overflow-x:auto}
 #athletes .vertical-history div{flex:0 0 62px;text-align:center;background:#07111f;border:1px solid #38516c;border-radius:8px;padding:10px 3px}
 #athletes .vertical-history strong,#athletes .vertical-history span{display:block}
 #athletes .vertical-history strong{font-size:13px;margin-bottom:10px}
 #athletes .vertical-history .current-height{border-color:#fbbf24}
 #athletes details{grid-column:5;grid-row:1}
 #athletes .symbols{gap:6px}
 #athletes .symbols button{padding:10px;min-width:44px}
 #athletes .vertical-attempt>p{margin:0;font-weight:bold;color:#fbbf24}
 #athletes .athlete h2{font-size:16px}
 #athletes .secondary{font-size:13px}
}
@media screen and (orientation:landscape) and (max-height:600px){
 main,main.wrap{padding:10px}
 h1,h2{font-size:20px}
 .toolbar{gap:8px;margin-top:8px;align-items:end}
 .toolbar label{max-width:220px}
 .toolbar form{gap:8px}
 #notice,.info{font-size:13px;padding:8px}
}
@media print{.vertical-heading,.vertical-history{display:none!important}}
