/* Phone home HUD only: reclaim scene height without shrinking readable text. */
@media(max-width:600px){
 .pocket-shell>.pocket-hud.hud-two-rows{grid-template-columns:minmax(0,32%) minmax(0,1fr);padding:3px 5px;gap:2px 3px}
 .pocket-shell .hud-two-rows>.hud-player{gap:3px;padding-right:3px;min-width:0}
 .pocket-shell .hud-two-rows .hud-player>.atlas-character{width:20px!important}
 .pocket-shell .hud-two-rows .hud-player>div{min-width:0}
 .pocket-shell .hud-two-rows .hud-player b{font-size:10px;line-height:10px}
 .pocket-shell .hud-two-rows .hud-player small{font-size:7px;line-height:8px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pocket-shell .hud-two-rows .hud-player span{font-size:7px;line-height:8px;gap:2px;margin-top:0}
 .pocket-shell .hud-two-rows .hud-player em{font-size:8px;line-height:8px;width:17px}
 .pocket-shell .hud-two-rows .hud-meter{height:4px;min-width:10px}
 .pocket-shell .hud-two-rows>.hud-abilities{row-gap:1px}
 .pocket-shell .hud-two-rows .hud-ability,.pocket-shell .hud-two-rows .hud-ability:nth-child(n+6){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:9px 21px;align-items:center;column-gap:2px;padding:0 2px}
 .pocket-shell .hud-two-rows .hud-ability:nth-child(n+6){padding-top:1px}
 .pocket-shell .hud-two-rows .hud-ability>small{grid-column:1/-1;grid-row:1;font-size:7px;line-height:9px;letter-spacing:-.3px}
 .pocket-shell .hud-two-rows .hud-ability>b{grid-column:1;grid-row:2;justify-self:end;font-size:21px;line-height:21px}
 .pocket-shell .hud-two-rows .hud-ability>span{grid-column:2;grid-row:2;justify-self:start;font-size:10px;line-height:12px}
 .pocket-shell .hud-two-rows>.hud-life{align-self:end;padding:0 2px 0 0}
 .pocket-shell .hud-two-rows>.hud-life>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:0 3px}
 .pocket-shell .hud-two-rows>.hud-life>div:first-child>small{display:block;font-size:7px;line-height:9px;margin:0}
 .pocket-shell .hud-two-rows>.hud-life>div:first-child>b{display:block;font-size:14px;line-height:15px;letter-spacing:-.5px}
 .pocket-shell .hud-two-rows>.hud-life>div:first-child>span{grid-column:1/-1;font-size:7px;line-height:8px;margin:0}
 .pocket-shell .hud-two-rows .hud-run-status{min-height:0;padding:2px 0 0;gap:3px;font-size:8px}
 .pocket-shell .hud-two-rows .hud-run-status>span{padding:1px 4px;line-height:12px;border-radius:3px;gap:3px}
 .pocket-shell .hud-two-rows .hud-run-status b{font-size:10px;line-height:12px}
 .pocket-shell .hud-two-rows .hud-run-status small{font-size:7px;line-height:9px}
 .pocket-shell .mobile-friend-meter>meter{font-size:7px}
 .pocket-shell .hud-revealed{display:none}
 .pocket-shell .mobile-friend-rail:has(.has-paired-stats){grid-template-rows:minmax(42px,1.2fr) repeat(4,minmax(0,1fr))}
 .pocket-shell .mobile-friend-meter.has-paired-stats{grid-template-rows:18px 20px;row-gap:2px}
 .pocket-shell .has-paired-stats>.relation-face{grid-row:1}
 .pocket-shell .has-paired-stats>b{grid-row:1}
 .pocket-shell .idol-read-stats{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;text-align:center}
 .pocket-shell .idol-read-stats>span{display:flex;flex-direction:column;align-items:center;min-width:0}
 .pocket-shell .idol-read-stats small{font-size:7px;line-height:9px;white-space:nowrap}
 .pocket-shell .idol-read-stats b{font-size:10px;line-height:11px}
 /* Raise every remaining small home label to at least 7px. */
 .pocket-shell .hud-player .hud-player-name>em.budget-badge,.pocket-shell .hud-player .hud-player-name>em.connection-badge,.pocket-shell .hud-player-name>.all-attendance-badge{font-size:7px}
 .pocket-shell .pocket-calendar button,.pocket-shell .pocket-calendar b small,.pocket-shell .pocket-calendar em{font-size:7px;line-height:9px}
 .pocket-shell .pocket-dateboard>small,.pocket-shell .pocket-dateboard>div,.pocket-shell .pocket-dateboard>div>small{font-size:7px;line-height:9px}
 .pocket-shell .pocket-dateboard>div{padding-top:3px}
 .pocket-shell .pocket-dateboard>div>b{font-size:14px;line-height:16px}
 .pocket-shell .pocket-location,.pocket-shell .pocket-narration>b,.pocket-shell .idol-friend-meter>b,.pocket-shell .idol-suspension-stamp,.pocket-shell .command-caption>button,.pocket-shell .pocket-action>em,.pocket-shell>.pocket-menubar>button{font-size:7px}
}
@media(max-width:600px) and (max-height:599px){
 .pocket-shell .pocket-dateboard>strong,.pocket-shell .pocket-dateboard>small{display:none}
 .pocket-shell .pocket-world-actors{inset:3px 3% 54px}
 .pocket-shell .pocket-location{top:4px;padding:2px 5px;line-height:9px}
}
