/* One role palette shared by pace maps, profiles, and the current result board. */
.horse-role-key{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;align-items:center}
.horse-role-key span{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:7px;font-size:.86rem;font-weight:800;line-height:1.4;border:1px solid}
.role-key-axis{background:#fff4c9;color:#6d4b08;border-color:#d2b55b!important}
.role-key-hole{background:#e9f7ff;color:#155e77;border-color:#88bbcc!important}
.role-key-other{background:#fff;color:#54635d;border-color:#c8d3cd!important}
.horse-role-key span:before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}
.pace-figure>.horse-role-key{padding:14px 18px;margin:0;background:#fff;border-bottom:1px solid #d8e0d6}
body.site-readable-v182 .prediction-article .horse-profile.is-role-axis{background:#fffbeb!important;border:1px solid #d9bd68!important;border-left:7px solid #ae8222!important;box-shadow:0 9px 24px rgba(124,92,24,.08)!important}
body.site-readable-v182 .prediction-article .horse-profile.is-role-hole{background:#f0faff!important;border:1px solid #8fbdce!important;border-left:7px solid #237c99!important;box-shadow:0 9px 24px rgba(20,90,119,.08)!important}
body.site-readable-v182 .prediction-article .horse-profile.is-role-other{background:#fff!important;border:1px solid #cdd7d2!important;border-left:5px solid #b3c2ba!important}
body.site-readable-v182 .prediction-article .is-role-axis>h3:before{background:#f4e1a4!important;color:#75520c!important}
body.site-readable-v182 .prediction-article .is-role-hole>h3:before{background:#d3eef8!important;color:#19677f!important}
.horse-role-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 22px}
.horse-role-badge{display:inline-block;border-radius:6px;padding:7px 15px;line-height:1.4;font-size:1rem;font-weight:850;border:1px solid}
.horse-role-badge.role-axis{background:#866113;color:#fff;border-color:#866113}
.horse-role-badge.role-hole{background:#196d8b;color:#fff;border-color:#196d8b}
.horse-role-badge.role-other{background:#edf1ee;color:#4a5d53;border-color:#ccd6cf}
.horse-lane-note{font-size:.87rem;color:#64746b}
.horse-role-line .personal-pick-badge{margin:0}
.pace-horse.is-role-axis{background:#fff1b8!important;border:2px solid #ae8222!important;color:#684b13!important}
.pace-horse.is-role-hole{background:#e4f5ff!important;border:2px solid #237c99!important;color:#175b75!important}
.pace-horse.is-role-other{background:#fff!important;border-color:#c4d3c2!important}
.pace-horse.is-role-axis .pace-number,.pace-horse.is-role-axis .pace-role-label{background:#866113!important;color:#fff!important}
.pace-horse.is-role-hole .pace-number,.pace-horse.is-role-hole .pace-role-label{background:#196d8b!important;color:#fff!important}
.pace-horse.is-role-hole .pace-name{color:#175b75!important}
.pace-horse.is-role-axis .pace-role-label,.pace-horse.is-role-hole .pace-role-label{position:absolute;top:-9px;right:6px;font-size:.66rem;line-height:1.3;padding:3px 6px;border-radius:4px;font-weight:850}
.pace-horse.is-role-hole,.pace-horse.is-role-axis{position:relative}
.hole-candidates{border-left-color:#237c99!important;background:#f0faff!important}
.hole-candidate-list li{border-color:#b7d5e1!important}
body.site-readable-v182 .personal-watch-card[data-personal-kind="個人的注目馬"]{border-left-color:#ae8222!important}
body.site-readable-v182 .personal-watch-card[data-personal-kind="個人的注目穴馬"]{border-left-color:#237c99!important}
.results-board-link{scroll-margin-top:90px}
#results-board{scroll-margin-top:95px}
.role-board .home-v146-board-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:440px}
.role-board .home-v146-board-tabs button{min-height:36px;font-weight:800}
.role-board .home-v146-board-tabs button span{font-size:.8em;margin-left:4px}
.role-board #results-axis-tab[aria-selected="true"]{background:#f5dda0!important;color:#624713!important;border-color:#e6c576!important;text-shadow:none}
.role-board #results-hole-tab[aria-selected="true"]{background:#ceecf8!important;color:#125c77!important;border-color:#94c5da!important;text-shadow:none}
.role-board .role-board-panel{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;padding-top:7px}
.role-board .role-board-panel[hidden]{display:none!important}
.role-results-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#719280 #203b2e;scrollbar-width:thin;flex:1;border-top:1px solid #6c8267}
.role-results-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.88rem;line-height:1.5;color:#fffdf0;text-shadow:none}
.role-results-table th,.role-results-table td{padding:8px 9px;border-bottom:1px solid #526850;vertical-align:middle;text-align:left}
.role-results-table thead{position:sticky;top:0;z-index:1;background:#19372b}
.role-results-table thead th{color:#e6deb8;font-size:.78rem;font-weight:700}
.role-results-table th:nth-child(1){width:16%}.role-results-table th:nth-child(2){width:47%}.role-results-table th:nth-child(3){width:19%}.role-results-table th:nth-child(4){width:18%}
.role-results-table tbody th{font-weight:700;overflow-wrap:anywhere}
.role-results-table a{color:#fffdf0;text-decoration:none;border-bottom:1px solid #809c83}
.role-results-table td small{display:inline-block;margin-left:5px;font-size:.68rem;color:#cfdbcc}
.role-results-table .board-finish{display:inline-block;font-size:.82rem;line-height:1.45;font-weight:750;color:#f4f7ef;padding:3px 7px;border:1px solid #7b9279;border-radius:5px;white-space:nowrap;background:#284535}
.role-results-table .board-finish.is-top3{background:#f2df9b;color:#4e3c0b;border-color:#e0c987}
.role-board .role-board-note{flex:none;font-size:.7rem;line-height:1.45;color:#d9e3d4;margin:7px 0 0;text-shadow:none}
@media(max-width:1100px){.role-board{height:560px!important;min-height:0!important}.role-results-table{font-size:.83rem}}
@media(max-width:620px){
 .horse-role-badge{font-size:.88rem;padding:7px 12px}.horse-role-line{gap:7px;margin:13px 0 18px}.horse-role-key{gap:6px}.horse-role-key span{font-size:.76rem;padding:6px 9px}.pace-figure>.horse-role-key{padding:12px 9px}
 body.site-readable-v182 .prediction-article .horse-profile.is-role-axis,body.site-readable-v182 .prediction-article .horse-profile.is-role-hole{border-left-width:5px!important}
 .role-board{height:570px!important}.role-board .home-v146-board-heading h2{font-size:1.13rem!important}.role-board .role-board-note{font-size:.7rem}
 .role-results-table,.role-results-table tbody{display:block;width:100%}.role-results-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .role-results-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:3px 8px;padding:9px 5px;border-bottom:1px solid #526850}
 .role-results-table tbody th,.role-results-table tbody td{display:block;width:auto!important;border:0;padding:0;min-width:0}
 .role-results-table tbody td:first-child{grid-column:1/-1;grid-row:1;font-size:.69rem;color:#d2dbc9}
 .role-results-table tbody th{grid-column:1;grid-row:2;font-size:.8rem;align-self:center}
 .role-results-table tbody td:nth-child(3){grid-column:2;grid-row:2;font-size:.71rem;align-self:center;white-space:nowrap}
 .role-results-table tbody td:nth-child(4){grid-column:3;grid-row:2;align-self:center}.role-results-table .board-finish{font-size:.72rem;padding:3px 5px}
}
