/* Shared styles for the stats tool pages (venues, preview, match). Load after record-lens.css. */

/* Detail-page heading: a small label, then the name in normal case. The big poster-style
   .tool-heading is kept for section pages such as "Venues" or "Match Charts". */
.cricket-tools h1.detail-head { display: grid; gap: 12px; margin: 8px 0 14px; font: inherit; text-transform: none; max-width: none; width: 100%; }
.cricket-tools .detail-head .eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12px/1.2 var(--ds-font), system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold, rgb(var(--ds-accent-rgb))); }
.cricket-tools .detail-head .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.cricket-tools .detail-head .title { font: 800 clamp(34px, 5.2vw, 62px)/1.02 var(--ds-num), Impact, sans-serif; letter-spacing: .01em; color: var(--chalk, rgb(var(--ds-ink-rgb))); text-wrap: balance; max-width: 22ch; }
.cricket-tools .detail-head .title em { font-style: normal; color: var(--gold, rgb(var(--ds-accent-rgb))); font-weight: 700; font-size: .62em; vertical-align: .18em; margin: 0 .12em; }
.cricket-tools .detail-head .sub { max-width: none; font: 500 15px/1.5 var(--ds-font), system-ui, sans-serif; color: var(--muted, var(--ds-muted)); letter-spacing: 0; text-transform: none; }
.cricket-tools .tool-pills[hidden] { display: none; }
.cricket-tools .detail-head .sub a { color: inherit; text-decoration-color: rgba(var(--ds-ink-rgb), .251); text-underline-offset: 3px; }
