/* Enemy selection only. Both subjects share identical tracks; battle screens are untouched. */
#arithmeticBattleScreen.arith-normal:is(.psb-menu,.iqb-menu)[data-normal-phase=menu][data-op]{grid-template-rows:48px 28px 20px minmax(0,1fr) 64px;gap:8px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-enemies{gap:12px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-card{grid-template-rows:minmax(64px,1fr) 26px 20px 28px 20px 22px;gap:3px;padding:8px;align-items:center;align-content:stretch;text-align:center}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-card>*{min-width:0;margin:0}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-card .nb-art{align-self:stretch;width:100%;height:100%}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-name{font-size:17px;line-height:24px;white-space:nowrap}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.nb-description,.nb-rounds,.nb-record){font-size:14px;line-height:20px;white-space:nowrap}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-example{font-size:22px;line-height:28px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-record{font-weight:700;align-self:center}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry,.iqb-entry){height:100%;min-height:0;padding:6px 12px;gap:12px;align-items:center}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry,.iqb-entry)>span{min-width:0;gap:3px}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry,.iqb-entry) strong{font-size:19px;line-height:24px}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry,.iqb-entry) small{font-size:14px;line-height:20px;white-space:nowrap}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry-icon,.iqb-entry-icon){width:46px;height:48px;flex:none}
@media(min-width:650px){
#arithmeticBattleScreen.arith-normal:is(.psb-menu,.iqb-menu)[data-normal-phase=menu][data-op]{grid-template-rows:54px 34px 22px minmax(0,1fr) 76px;gap:10px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-enemies{gap:16px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-card{grid-template-rows:minmax(100px,1fr) 34px 26px 36px 26px 28px;gap:4px;padding:12px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-name{font-size:23px;line-height:30px}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.nb-description,.nb-rounds,.nb-record){font-size:17px;line-height:24px}
#arithmeticBattleScreen[data-normal-phase=menu] .nb-example{font-size:28px;line-height:36px}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry,.iqb-entry) strong{font-size:23px;line-height:30px}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry,.iqb-entry) small{font-size:17px;line-height:24px}
#arithmeticBattleScreen[data-normal-phase=menu] :is(.psb-entry-icon,.iqb-entry-icon){width:58px;height:58px}
}

/* Keep the complete hit area under a finger, including wide boss-card edges. */
#arithmeticBattleScreen[data-normal-phase=menu] :is(.nb-card,.psb-entry,.iqb-entry).tux-down{scale:1;filter:brightness(.96)}
