<style>
.rc-widget {
  --rc-bg: #ffffff;
  --rc-ink: #171717;
  --rc-muted: #5f6368;
  --rc-line: rgba(23, 23, 23, 0.12);
  --rc-soft: rgba(23, 23, 23, 0.045);
  --rc-a: #111111;
  --rc-b: #585858;
  --rc-c: #8a8a8a;
  --rc-d: #c7c7c7;
  --rc-e: #eeeeee;
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin: 24px auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--rc-line);
  border-radius: 28px;
  background: var(--rc-bg);
  color: var(--rc-ink);
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.rc-widget *,
.rc-widget *::before,
.rc-widget *::after {
  box-sizing: border-box;
}

.rc-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.rc-kicker {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--rc-line);
  border-radius: 999px;
  background: var(--rc-soft);
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rc-card-head h2 {
  margin: 0;
  color: var(--rc-ink);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.rc-card-head p {
  max-width: 760px;
  margin: 0;
  color: var(--rc-muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
}

.rc-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rc-info-item {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--rc-line);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f7f7f7);
  color: var(--rc-ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rc-info-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--rc-muted);
  font-size: 13px;
  font-weight: 700;
}

.rc-info-item strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.rc-info-item:hover,
.rc-info-item:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.35);
  background: #111111;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  outline: none;
}

.rc-info-item:hover span,
.rc-info-item:focus-visible span {
  color: rgba(255, 255, 255, 0.68);
}

.rc-donut-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.rc-donut {
  width: min(310px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.rc-bonus-donut {
  background: conic-gradient(
    var(--rc-a) 0deg 126deg,
    var(--rc-b) 126deg 205deg,
    var(--rc-c) 205deg 270deg,
    var(--rc-d) 270deg 317deg,
    var(--rc-e) 317deg 360deg
  );
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, 0.65), 0 22px 40px rgba(0, 0, 0, 0.14);
}

.rc-bonus-donut:hover {
  transform: scale(1.035) rotate(8deg);
  filter: contrast(1.08);
}

.rc-donut-centre {
  position: absolute;
  display: grid;
  place-items: center;
  width: min(158px, 42vw);
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.rc-donut-centre strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.rc-donut-centre span {
  display: block;
  margin-top: 6px;
  color: var(--rc-muted);
  font-size: 13px;
  line-height: 1.25;
}

.rc-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.rc-legend-item {
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--rc-line);
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.rc-legend-item span {
  width: 30px;
  height: 8px;
  border-radius: 999px;
}

.rc-legend-item strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.rc-legend-item em {
  color: var(--rc-muted);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.rc-l1 span { background: var(--rc-a); }
.rc-l2 span { background: var(--rc-b); }
.rc-l3 span { background: var(--rc-c); }
.rc-l4 span { background: var(--rc-d); }
.rc-l5 span { background: var(--rc-e); border: 1px solid var(--rc-line); }

.rc-legend-item:hover,
.rc-legend-item:focus-visible {
  transform: translateY(-4px);
  background: #111111;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  outline: none;
}

.rc-legend-item:hover em,
.rc-legend-item:focus-visible em {
  color: rgba(255, 255, 255, 0.7);
}

.rc-bars {
  display: grid;
  gap: 16px;
}

.rc-bar-row {
  display: grid;
  grid-template-columns: minmax(130px, 190px) 1fr 48px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--rc-line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--rc-ink);
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rc-bar-label {
  color: var(--rc-ink);
  font-size: 15px;
  font-weight: 800;
}

.rc-bar-track {
  position: relative;
  display: grid;
  gap: 7px;
}

.rc-bar-track::before,
.rc-bar-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  border-radius: 999px;
  background: var(--rc-soft);
}

.rc-bar-track::before {
  top: 0;
}

.rc-bar-track::after {
  bottom: 0;
}

.rc-bar {
  position: relative;
  display: block;
  height: 12px;
  border-radius: 999px;
  z-index: 1;
  transform-origin: left center;
  animation: rc-grow 0.9s ease both;
}

.rc-brand-bar {
  width: var(--rc-score);
  background: #111111;
}

.rc-market-bar {
  width: var(--rc-market);
  background: #bdbdbd;
}

.rc-bar-row strong {
  font-size: 22px;
  font-weight: 900;
  text-align: right;
}

.rc-bar-row:hover,
.rc-bar-row:focus-visible {
  transform: translateX(6px);
  border-color: rgba(0, 0, 0, 0.34);
  background: #fafafa;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  outline: none;
}

.rc-bar-row:hover .rc-brand-bar,
.rc-bar-row:focus-visible .rc-brand-bar {
  filter: brightness(0.8);
}

.rc-bar-row:hover .rc-market-bar,
.rc-bar-row:focus-visible .rc-market-bar {
  background: #d9d9d9;
}

.rc-market-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--rc-muted);
  font-size: 14px;
  font-weight: 700;
}

.rc-market-key span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rc-market-key i {
  display: inline-block;
  width: 26px;
  height: 8px;
  border-radius: 999px;
}

.rc-key-brand {
  background: #111111;
}

.rc-key-market {
  background: #bdbdbd;
}

@keyframes rc-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .rc-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-legend-item:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .rc-widget {
    border-radius: 22px;
    margin: 18px auto;
  }

  .rc-info-grid {
    grid-template-columns: 1fr;
  }

  .rc-info-item {
    min-height: auto;
  }

  .rc-legend {
    grid-template-columns: 1fr;
  }

  .rc-legend-item,
  .rc-legend-item:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .rc-bar-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rc-bar-row strong {
    text-align: left;
  }
}
</style>