/* 番台別パターン分析（bandai.html） */
.bd-pat{display:inline-flex;gap:3px;vertical-align:middle;white-space:nowrap}
.bd-c{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 4px;border-radius:6px;background:var(--g);color:#fff;font-weight:800;font-size:.8rem;line-height:1}
.bd-c.z{background:transparent;color:var(--faint);border:1px dashed var(--line)}
.bd-head{display:inline-flex;gap:3px;font-size:.68rem;color:var(--muted);white-space:nowrap}
.bd-head span{min-width:22px;text-align:center}
table.bd-band td,table.bd-band th{vertical-align:top;line-height:1.35}
table.bd-band td{min-width:64px}
table.bd-mini td,table.bd-mini th{text-align:center}
.bd-bar{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.bd-bar:last-child{border-bottom:0}
.bd-bl{display:flex;align-items:center;gap:8px}
.bd-rk{display:inline-flex;width:22px;justify-content:center;font-weight:800;color:var(--muted)}
.bd-track{height:9px;border-radius:5px;background:var(--surface-2);margin:3px 0;overflow:hidden}
.bd-track i{display:block;height:100%;border-radius:5px}
.bd-track i.a{background:var(--g)}
.bd-track i.t{background:var(--faint);opacity:.6}
.bd-bn{text-align:right;min-width:92px;line-height:1.3}
.bd-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.8rem;color:var(--muted)}
.bd-legend i{display:inline-block;width:12px;height:9px;border-radius:3px;margin-right:4px;vertical-align:middle}
#bd-table th.sort{cursor:pointer;white-space:nowrap}
#bd-table th.sort::after{content:' ⇅';opacity:.35;font-size:.8em}
#bd-table th.sort.on::after{opacity:1}
#bd-table td{white-space:nowrap}
.bd-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bd-form input{flex:1 1 220px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:var(--surface);color:var(--text)}
table.bd-band th:first-child{position:sticky;left:0;background:var(--surface);z-index:1}
@media (max-width:600px){.bd-bar{grid-template-columns:1fr auto;gap:2px 8px}.bd-bv{grid-column:1/-1;order:3}.bd-bn{min-width:0}}
.bd-recent-t td{white-space:nowrap}.bd-recent-t .nums{flex-wrap:nowrap}
