/* panel-tyres styles (all scoped to #panelTyres / .gph-tyres-*) */
#panelTyres .gph-tyres{min-width:0}
#panelTyres .gph-tyres .section-head.compact{margin-bottom:16px}
#panelTyres .gph-tyres-chip{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:#1a1d1f;border:3px solid var(--tc,#9a9d9b);color:#fff;font:700 11px/1 'Barlow Condensed',sans-serif;box-sizing:border-box}
#panelTyres .gph-tyres-dist{display:grid;gap:7px;margin-bottom:18px}
#panelTyres .gph-tyres-dist-row{display:flex;align-items:center;gap:9px;min-width:0}
#panelTyres .gph-tyres-dist-track{flex:1 1 auto;min-width:0;height:8px;border-radius:4px;background:var(--line);overflow:hidden}
#panelTyres .gph-tyres-dist-bar{display:block;height:100%;background:var(--tc,#9a9d9b);border-radius:4px;transition:width .4s ease}
#panelTyres .gph-tyres-c-hard .gph-tyres-dist-bar{box-shadow:inset 0 0 0 1px #8c8c86}
#panelTyres .gph-tyres-dist-val{flex:0 0 auto;min-width:52px;text-align:right;font:500 13px/1 'Barlow Condensed',sans-serif;color:var(--muted)}
#panelTyres .gph-tyres-dist-val b{color:var(--ink);font-size:15px;font-weight:700}
#panelTyres .gph-tyres-strat{list-style:none;margin:0;padding:0;display:grid;gap:4px}
#panelTyres .gph-tyres-row{display:flex;align-items:center;gap:8px;min-width:0}
#panelTyres .gph-tyres-row.gph-tyres-out{opacity:.45}
#panelTyres .gph-tyres-tla{flex:0 0 34px;font:700 14px/1 'Barlow Condensed',sans-serif;letter-spacing:.02em}
#panelTyres .gph-tyres-stints{flex:1 1 auto;min-width:0;display:flex;gap:1px;height:16px;background:var(--paper);border-radius:3px;overflow:hidden}
#panelTyres .gph-tyres-seg{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:3px;height:100%;background:var(--tc,#9a9d9b);color:#111315;font:700 11px/1 'Barlow Condensed',sans-serif;overflow:hidden;box-sizing:border-box}
#panelTyres .gph-tyres-c-soft.gph-tyres-seg,#panelTyres .gph-tyres-c-wet.gph-tyres-seg,#panelTyres .gph-tyres-c-intermediate.gph-tyres-seg{color:#fff}
#panelTyres .gph-tyres-c-hard.gph-tyres-seg{border:1px solid #8c8c86}
#panelTyres .gph-tyres-seg.gph-tyres-cur{border-radius:0 3px 3px 0}
#panelTyres .gph-tyres-seg.gph-tyres-cur::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 2px rgba(17,19,21,.6);animation:gph-tyres-pulse 1.8s ease-in-out infinite;pointer-events:none}
#panelTyres .gph-tyres-age{flex:0 0 auto;min-width:44px;text-align:right;font:600 13px/1 'Barlow Condensed',sans-serif;color:var(--ink);white-space:nowrap}
#panelTyres .gph-tyres-new{font-style:normal;font-size:10px;font-weight:700;text-transform:uppercase;color:#111315;background:var(--lime);padding:1px 3px;border-radius:2px;margin-left:2px}
#panelTyres .gph-tyres-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:16px;font-size:11px;color:var(--muted)}
#panelTyres .gph-tyres-leg{display:inline-flex;align-items:center;gap:5px}
#panelTyres .gph-tyres-leg .gph-tyres-chip{width:16px;height:16px;font-size:9px;border-width:2px}
@keyframes gph-tyres-pulse{0%,100%{opacity:1}50%{opacity:.2}}
@media (prefers-reduced-motion:reduce){#panelTyres .gph-tyres-seg.gph-tyres-cur::after{animation:none}}
@media (max-width:420px){
  #panelTyres .gph-tyres-row{gap:5px}
  #panelTyres .gph-tyres-tla{flex-basis:28px;font-size:13px}
  #panelTyres .gph-tyres-age{min-width:38px;font-size:12px}
  #panelTyres .gph-tyres-new{font-size:9px}
}
