.cvre { margin-bottom: 2rem; }
.cvre-muted { color: #6b7280; font-size: .9em; }
.cvre-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cvre-fieldset { border: 1px solid #d9dde3; border-radius: 4px; padding: 1rem 1rem .5rem; margin: 0 0 1.25rem; }
.cvre-fieldset legend { font-weight: 700; padding: 0 .5rem; }
.cvre-driver { border: 1px solid #e5e7eb; border-radius: 4px; padding: .75rem .75rem .25rem; margin-bottom: .75rem; background: rgba(0,0,0,.02); }
.cvre-notice ul { margin: 0 0 0 1.25rem; }
.cvre-status--approved { background: #2e8540; }
.cvre-status--pending { background: #b7791f; }
.cvre-status--rejected { background: #b3261e; }

.cvre-stats { margin-bottom: 1.5rem; }
.cvre-stat { text-align: center; padding: 1rem .5rem; border: 1px solid #d9dde3; border-radius: 4px; margin-bottom: 1rem; }
.cvre-stat__n { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.cvre-stat__l { text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; color: #6b7280; }

.cvre-bar { margin-bottom: .6rem; }
.cvre-bar__label { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; }
.cvre-bar__track { background: #e5e7eb; height: .5rem; border-radius: .25rem; overflow: hidden; }
.cvre-bar__fill { background: #c0392b; height: 100%; }

.cvre-team { margin: 1.5rem 0; }
.cvre-team[hidden] { display: none; }
.cvre-entry { border-top: 1px solid #e5e7eb; padding-top: 1rem; margin-top: 1rem; }
.cvre-livery__img { max-width: 100%; height: auto; border-radius: 4px; }

.cvre-table-wrap { overflow-x: auto; }
.cvre-table { width: 100%; }
.cvre-table__thumb { width: 90px; }
.cvre-table__thumb img { max-width: 80px; height: auto; }
.cvre-class-title { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

.cvre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; margin-bottom: 2rem; }
.cvre-card { display: flex; flex-direction: column; background: #222; color: #fff; text-decoration: none; border-radius: 3px; overflow: hidden; }
.cvre-card:hover { background: #333; color: #fff; }
.cvre-card__head { display: flex; align-items: center; gap: .5rem; padding: 0; background: #111; }
.cvre-card__no { background: #444; min-width: 2.2rem; text-align: center; padding: .25rem; font-weight: 700; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.cvre-card__class { font-size: .7rem; letter-spacing: .05em; color: #e0b050; }
.cvre-card__team { font-weight: 700; flex: 1; text-align: center; padding-right: 2.2rem; }
.cvre-card__car { text-align: center; font-size: .8rem; padding: 0 .5rem .25rem; background: #111; }
.cvre-card__img img { display: block; width: 100%; height: auto; }
.cvre-card__drivers { font-size: .75rem; padding: .35rem .5rem; color: #ddd; }
.cvre-card__foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .35rem .5rem; }
.cvre-card__drivers { display: flex; flex-direction: column; font-size: .75rem; color: #ddd; }
.cvre-card__foot .cvre-community-logo { max-height: 28px; width: auto; flex: none; }
.cvre-card__class { color: #e0b050; font-weight: 700; margin-right: .25rem; }
.cvre-flag { vertical-align: middle; }
.cvre-community-logo { max-height: 32px; width: auto; vertical-align: middle; }
.cvre-no { background: #e0a93b; color: #111; padding: 0 .4rem; border-radius: 3px; }
.cvre-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.cvre-chart { border: 1px solid #d9dde3; border-radius: 4px; padding: .5rem 1rem 1rem; }
.cvre-chart__body { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cvre-donut { width: 160px; height: 160px; flex: none; }
.cvre-donut circle { transform-origin: 21px 21px; }
.cvre-donut__total { font-size: 7px; font-weight: 700; fill: currentColor; }
.cvre-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 140px; max-height: 190px; overflow-y: auto; font-size: .8rem; }
.cvre-legend li { display: flex; align-items: center; gap: .4rem; }
.cvre-legend__label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvre-dot { width: .7rem; height: .7rem; border-radius: 50%; flex: none; }
.cvre .button.secondary,
.cvre .button.secondary:hover,
.cvre .button.secondary:focus { color: #fff; }

.cvre-accordion { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.cvre-accordion::after { content: "\25BE"; margin-left: .4rem; display: inline-block; transition: transform .15s; }
.cvre-accordion[aria-expanded="true"]::after { transform: rotate(180deg); }
.cvre-accordion:hover, .cvre-accordion:focus-visible { text-decoration: underline; }
.cvre-car-details[hidden] { display: none; }
.cvre-specs { list-style: none; margin: .5rem 0 0; padding: 0; columns: 2 220px; }
