.hm-game-stats {
  position: relative;
  isolation: isolate;
  margin-top: 22px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--hm-accent) 34%, rgba(255,255,255,.18));
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)),
    color-mix(in srgb, var(--hm-panel) 90%, #101522 10%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 42px rgba(7,11,20,.18);
  color: #fff;
}

.hm-game-stats::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  inset: -95px -55px auto auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hm-accent) 24%, transparent);
  filter: blur(8px);
  pointer-events: none;
}

.hm-game-stats::after {
  content: "";
  position: absolute;
  inset: 0 22px auto;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--hm-accent), transparent);
  opacity: .72;
}

.hm-game-stats svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hm-game-stats__heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.hm-game-stats__heading > svg {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  box-sizing: border-box;
  background: linear-gradient(145deg, color-mix(in srgb, var(--hm-accent) 74%, #fff 8%), color-mix(in srgb, var(--hm-accent) 42%, transparent));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--hm-accent) 22%, transparent), inset 0 1px 0 rgba(255,255,255,.18);
}

.hm-game-stats__eyebrow,
.hm-game-stats__title {
  display: block;
  color: #fff !important;
}

.hm-game-stats__eyebrow {
  margin-bottom: 3px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .16em;
  opacity: .62;
  text-transform: uppercase;
}

.hm-game-stats__title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.015em;
}

.hm-game-stats__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.hm-game-stat {
  --hm-stat-tone: var(--hm-accent);
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  min-width: 0;
  min-height: 116px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 24px rgba(5,9,17,.12);
}

.hm-game-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--hm-stat-tone), color-mix(in srgb, var(--hm-stat-tone) 22%, transparent));
}

.hm-game-stat::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  inset: auto -45px -45px auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hm-stat-tone) 11%, transparent);
  pointer-events: none;
}

.hm-game-stat > svg {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--hm-stat-tone) 38%, rgba(255,255,255,.15));
  border-radius: 13px;
  background: color-mix(in srgb, var(--hm-stat-tone) 24%, rgba(255,255,255,.07));
  color: color-mix(in srgb, var(--hm-stat-tone) 58%, #fff 42%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.hm-game-stat--chapter {
  grid-column: 1 / -1;
  --hm-stat-tone: var(--hm-accent);
  min-height: 104px;
  grid-template-columns: 48px minmax(0,1fr);
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--hm-accent) 18%, transparent), transparent 58%),
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
}

.hm-game-stat--chapter > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 15px;
}

.hm-game-stat--words { --hm-stat-tone: color-mix(in srgb, var(--hm-accent) 54%, #6ed5ff 46%); }
.hm-game-stat--images { --hm-stat-tone: color-mix(in srgb, var(--hm-accent) 54%, #c9a2ff 46%); }

.hm-game-stat__copy,
.hm-game-stat__label,
.hm-game-stat__value,
.hm-game-stat__note {
  display: block;
  min-width: 0;
  color: #fff !important;
}

.hm-game-stat__copy {
  position: relative;
  z-index: 1;
}

.hm-game-stat__label {
  margin-bottom: 7px;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .11em;
  opacity: .64;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hm-game-stat__value {
  font-size: clamp(27px, 2.2vw, 34px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.hm-game-stat--chapter .hm-game-stat__value { font-size: clamp(34px, 3vw, 44px); }

.hm-game-stat__note {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 650;
  opacity: .62;
  overflow-wrap: anywhere;
}

.hm-game-stat__note:empty { display: none; }

.hm-game-stat.is-pending {
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
}

.hm-game-stat.is-pending .hm-game-stat__value,
.hm-game-stat.is-pending .hm-game-stat__note {
  opacity: .48;
}

.hm-game-stat.is-pending::before {
  opacity: .42;
}

.hm-game-stats__updated {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  gap: 8px;
  margin: 14px 0 0 auto;
  padding: 7px 11px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.7);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.hm-game-stats__updated svg {
  width: 15px;
  height: 15px;
}

.hm-game-stats__updated time {
  color: #fff;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
  .hm-game-stat { min-height: 108px; }
}

@media (max-width: 960px) {
  .hm-game-stats { margin-top: 18px; }
}

@media (max-width: 620px) {
  .hm-game-stats { padding: 16px; border-radius: 16px; }
  .hm-game-stats__heading { margin-bottom: 15px; }
  .hm-game-stats__title { font-size: 18px; }
  .hm-game-stats__grid { grid-template-columns: 1fr; }
  .hm-game-stat,
  .hm-game-stat--chapter {
    grid-column: auto;
    min-height: 94px;
    grid-template-columns: 42px minmax(0,1fr);
    padding: 14px;
  }
  .hm-game-stat > svg,
  .hm-game-stat--chapter > svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 13px;
  }
  .hm-game-stats__updated {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}
