/* One viewport, readable panels, and one purse at a time instead of a long list. */
body.compact.stats-page{height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
.compact.stats-page .site-shell{height:100%;min-height:0;max-width:1120px;padding-inline:clamp(12px,3vw,32px)}
.compact.stats-page .masthead{height:64px;min-height:0}
.compact.stats-page main{flex:1;min-height:0;max-width:960px;gap:10px;padding:8px 0;justify-content:center}
.compact.stats-page .screen-heading{flex:none}
.compact.stats-page .screen-heading .eyebrow{display:none}
.compact.stats-page .screen-heading h1{font-size:26px;line-height:1.2;margin:0}
.compact.stats-page .profile-card{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;max-height:540px;margin:0;padding:16px;gap:12px}
.compact.stats-page .profile-name{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;min-width:0;flex:none}
.compact.stats-page .profile-name>.eyebrow{display:none}
.compact.stats-page .profile-name h3{font-size:24px;line-height:1.15;margin:0;min-width:0;overflow-wrap:anywhere}
.compact.stats-page .profile-name>p{width:100%;font-size:12px;line-height:1.3}
.compact.stats-page .profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0}
.compact.stats-page :is(.profile-actions,.profile-tabs,.profile-purses,.profile-deeper) :is(button,a){font:700 12px/1.2 var(--body);letter-spacing:0;min-height:40px;margin:0;padding:8px 12px;text-align:center}
.compact.stats-page .profile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}
.compact.stats-page .profile-tabs [role=tab]{display:flex;align-items:center;justify-content:center;border:1px solid #63784f;border-radius:4px;color:var(--cream);background:transparent;text-decoration:none}
.compact.stats-page .profile-tabs [aria-selected=true]{background:var(--lime);color:#14200e;border-color:var(--lime)}
.compact.stats-page .profile-metrics{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;gap:16px 10px}
.compact.stats-page .profile-metrics>div{min-width:0;padding:12px 8px;background:#111c14;border:1px solid #3a4930;border-radius:5px;text-align:center}
.compact.stats-page .profile-metrics strong{font:700 clamp(18px,2.5vw,28px)/1.2 var(--mono);margin-bottom:6px;overflow-wrap:anywhere}
.compact.stats-page .profile-metrics span{font:11px/1.2 var(--body);letter-spacing:.3px}
.compact.stats-page .profile-purses{flex:1;min-height:0;margin:0;padding:0;border:0;display:flex;flex-direction:column;justify-content:center;gap:8px}
.compact.stats-page .profile-purse-heading{flex:none;flex-wrap:nowrap;gap:8px}
.compact.stats-page .profile-purse-heading h3{font:700 13px/1.2 var(--body);margin:0}
.compact.stats-page .profile-purse-heading button{width:auto;min-height:40px}
.compact.stats-page .profile-purses>p{font:13px/1.35 var(--body);margin:0;min-height:18px}
.compact.stats-page .profile-purse-grid{display:block;flex:none}
.compact.stats-page .profile-purse{display:grid;grid-template-columns:70px minmax(0,1fr) auto;grid-template-rows:repeat(3,auto);gap:3px 12px;align-items:center;padding:12px;min-width:0}
.compact.stats-page .profile-purse img{grid-column:1;grid-row:1/4;width:64px;height:64px;margin:0}
.compact.stats-page .profile-purse h4{grid-column:2;grid-row:1;margin:0;font:700 16px/1.2 var(--body);overflow-wrap:anywhere}
.compact.stats-page .profile-purse p{grid-column:2;font:13px/1.3 var(--body);margin:0;overflow-wrap:anywhere}
.compact.stats-page .profile-purse button{grid-column:3;grid-row:1/4;width:auto;max-width:150px}
.compact.stats-page .profile-purse-pagination{display:flex;align-items:center;justify-content:center;gap:18px;flex:none}
.compact.stats-page .profile-purse-pagination button{min-width:44px;min-height:40px;background:#152018;color:var(--cream);border:1px solid #63784f;border-radius:4px;font-size:20px;padding:4px}
.compact.stats-page .profile-purse-pagination span{font:13px var(--mono)}
.compact.stats-page .profile-deeper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;flex:none}
.compact.stats-page .profile-deeper a{width:auto;min-width:0}
.compact.stats-page .page-footer{height:48px;min-height:0;margin:0;padding:6px 0;flex:none}
.compact.stats-page [hidden]{display:none!important}
@media(max-width:600px){
 .compact.stats-page .masthead{flex-direction:row;flex-wrap:nowrap;padding:6px 0;gap:8px}
 .compact.stats-page .masthead .brand span{display:none}
 .compact.stats-page .masthead>.site-nav{width:auto;order:initial;flex:1;min-width:0}
 .compact.stats-page .masthead .nav-button{overflow:hidden;text-overflow:ellipsis;min-width:0}
 .compact.stats-page .masthead{height:64px}.compact.stats-page .profile-card{padding:12px;gap:10px}
 .compact.stats-page .profile-name h3{font-size:22px}.compact.stats-page .profile-actions{gap:6px}
 .compact.stats-page .profile-name{gap:8px}.compact.stats-page .profile-deeper{grid-template-columns:1fr 1fr;gap:6px}
 .compact.stats-page .profile-metrics>div{padding:10px 4px}.compact.stats-page .profile-metrics{gap:8px}
 .compact.stats-page .profile-purse{grid-template-columns:56px minmax(0,1fr);padding:10px;gap:3px 10px}
 .compact.stats-page .profile-purse img{width:52px;height:52px}
 .compact.stats-page .profile-purse button{grid-column:1/-1;grid-row:4;max-width:none;width:100%;margin-top:6px}
 .compact.stats-page .profile-purse-heading h3{display:none}.compact.stats-page .profile-purse-heading{justify-content:flex-end}
}
@media(max-height:700px) and (max-width:600px){
 .compact.stats-page .masthead{height:52px}.compact.stats-page .screen-heading h1{font-size:22px}
 .compact.stats-page main{gap:6px;padding:4px 0}.compact.stats-page .profile-card{padding:10px;gap:6px}
 .compact.stats-page .profile-purses{gap:5px}.compact.stats-page .profile-purses>p{font-size:12px;line-height:1.25}
 .compact.stats-page .profile-purse{padding:7px}.compact.stats-page .profile-purse h4{font-size:14px}
 .compact.stats-page .profile-purse p{font-size:12px}.compact.stats-page .page-footer{height:44px}
 .compact.stats-page .profile-name h3{font-size:20px}
 .compact.stats-page .profile-metrics{gap:6px}
 .compact.stats-page .profile-metrics>div{padding:6px 3px}
 .compact.stats-page .profile-metrics strong{font-size:16px;margin-bottom:3px}
 .compact.stats-page #guest-register{min-height:40px;padding:8px 12px;font:700 12px/1.2 var(--body)}
 .compact.stats-page .profile-purse{grid-template-columns:42px minmax(0,1fr) 86px;gap:2px 6px}
 .compact.stats-page .profile-purse img{width:40px;height:40px}
 .compact.stats-page .profile-purse button{grid-column:3;grid-row:1/4;font-size:10px;padding:6px;margin:0}
}
@media(max-height:500px) and (min-width:601px){
 .compact.stats-page .masthead{height:44px;padding:4px 0}.compact.stats-page .page-footer{height:44px;padding:2px 0}
 .compact.stats-page main{gap:6px;padding:4px 0}.compact.stats-page .screen-heading{display:none}
 .compact.stats-page .profile-card{display:grid;grid-template-columns:minmax(145px,.7fr) minmax(0,2fr);grid-template-rows:auto 1fr;gap:8px 16px;padding:10px}
 .compact.stats-page .profile-name{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:8px}
 .compact.stats-page .profile-name h3{font-size:21px}.compact.stats-page .profile-actions{flex-direction:column;gap:6px}
 .compact.stats-page .profile-tabs{grid-column:2;grid-row:1}
 .compact.stats-page .profile-metrics,.compact.stats-page .profile-purses{grid-column:2;grid-row:2}
 .compact.stats-page .profile-metrics{gap:6px}.compact.stats-page .profile-metrics>div{padding:6px 4px}
 .compact.stats-page .profile-metrics strong{font-size:19px;margin:0}.compact.stats-page .profile-metrics span{font-size:10px}
 .compact.stats-page .profile-purses{position:relative;padding-top:0;gap:4px;justify-content:center}
 .compact.stats-page .profile-purse-heading{position:absolute;right:0;top:-48px;background:#182219}
 .compact.stats-page .profile-purse-heading h3{display:none}.compact.stats-page .profile-tabs{padding-right:144px}
 .compact.stats-page .profile-tabs :is(button,a){padding:5px;font-size:10px}
 .compact.stats-page .profile-purse{padding:6px;grid-template-columns:48px minmax(0,1fr) auto;gap:2px 8px}
 .compact.stats-page .profile-purse img{width:44px;height:44px}.compact.stats-page .profile-purse h4{font-size:14px}.compact.stats-page .profile-purse p{font-size:12px}
 .compact.stats-page .profile-purses>p{font-size:12px;line-height:1.2}
 .compact.stats-page .profile-purse-pagination{gap:14px}.compact.stats-page .profile-purse-pagination button{min-height:32px}
}
