/* PROBIAS 出走表「基本情報」V5 (loaded after header-v4.integrated.css).
   Display only: player name size, grade emphasis. Column widths, backgrounds, alignment, wrapping and the 10-column / 6-boat layout are V4. */

/* 1. player name 13px at every width (V4: PC 12px, <=740px 11px). Weight, line-height, centring and wrapping stay as V4. */
html body.compact-race #cardBasic .basic-table .basic-name-cell strong{font-size:13px}
@media(max-width:740px){
 html body.compact-race #cardBasic .basic-table .basic-name-cell strong{font-size:13px}
}

/* 2. grade (A1/A2/B1/B2) bold + colour on the grade text only; the branch <small> below keeps its own colour/weight/size.
   Unknown values and the "—" placeholder keep the inherited colour. */
html body.compact-race #cardBasic .basic-table .basic-class{font-weight:700}
html body.compact-race #cardBasic .basic-table .basic-class[data-grade=A1]{color:var(--pb-grade-a1,#f2c66d)}
html body.compact-race #cardBasic .basic-table .basic-class[data-grade=A2]{color:var(--pb-grade-a2,#75b8ff)}
html body.compact-race #cardBasic .basic-table .basic-class[data-grade=B1]{color:var(--pb-grade-b1,#70d9a0)}
html body.compact-race #cardBasic .basic-table .basic-class[data-grade=B2]{color:var(--pb-grade-b2,#a9b4c4)}

/* 3. 勝率 header rule (with basic-v5.js): on PC the lower header row needs 1px more than (H-1)/2 with 2px padding,
   which pushed the header 1px taller. PC only, the 勝率 group cells' vertical padding 2px -> 1.5px (as designed in the
   V5 research), applied only while balanced: basic-v5.js measures the natural V4 height first, so the header height stays V4's.
   Font size, rule width/colour and column widths unchanged. */
@media(min-width:741px){
 html body.compact-race #cardBasic .basic-table.pb-head-balanced thead tr:first-child th[colspan],
 html body.compact-race #cardBasic .basic-table.pb-head-balanced thead tr:last-child th{padding-top:1.5px!important;padding-bottom:1.5px!important}
}
