.ov-root {
  display: inline-block;
  padding: 8px;
  transform: scale(var(--ov-scale, 1));
  transform-origin: 0 0;
}
.ov {
  --tc: #6d6b67;
  --bgp: 100%;
  --glowp: 40%;
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  width: 550px;
  overflow: hidden;
  border-radius: 16px;
  color: var(--text);
  font-family: var(--font-body);
  background: color-mix(in srgb, var(--surface) var(--bgp), transparent);
  border: none;
  box-shadow: none;
  text-shadow: none;
}
.ov-main {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px 10px;
}
.ov-main > * {
  position: relative;
}
.ov-emblem {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ov-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--ov-emblem-zoom, 3.8));
}
.ov-emblem svg {
  width: 56px;
  height: 56px;
}
.ov-info {
  min-width: 0;
}
.ov-name {
  font: 700 1.5rem/1.1 var(--font-head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ov-tag {
  margin-left: 6px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 1.2rem;
}
.ov-tier {
  margin-top: 2px;
  font: 400 3.3rem/1 var(--font-display);
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    var(--tc),
    color-mix(in srgb, var(--tc) 50%, #fff)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: none;
}
.ov-lp {
  display: flex;
  gap: 4px 12px;
  align-items: baseline;
  color: var(--text);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  min-height: 1.15em;
}
.ov-delta.up {
  color: #5fd07a;
}
.ov-delta.down {
  color: #ff6b6b;
}
.ov-stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-self: stretch;
}
.ov-stats > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 14px;
  text-align: center;
}
.ov-stats b {
  display: block;
  font: 400 2.7rem/1 var(--font-display);
  letter-spacing: 0.01em;
}
.ov-stats span {
  display: block;
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.ov-games-all {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;
  width: 0;
  min-width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 20px 10px;
  border-top: 1px solid var(--line);
}
.ov-g {
  --ov-hex-border: var(--line);
  --ov-hex-fill: rgba(255, 255, 255, 0.06);
  position: relative;
  width: 36px;
  height: 41.57px;
  display: grid;
  place-items: center;
  flex: none;
  clip-path: polygon(
    46% 2%,
    54% 2%,
    96% 24%,
    100% 32%,
    100% 68%,
    96% 76%,
    54% 98%,
    46% 98%,
    4% 76%,
    0 68%,
    0 32%,
    4% 24%
  );
  background: var(--ov-hex-border);
  color: var(--text-faint);
  font: 700 1.4rem var(--font-head);
  border-radius: 4px;
  isolation: isolate;
}
.ov-g::before {
  content: "";
  position: absolute;
  inset: 2px 1.73px;
  clip-path: polygon(
    46% 2%,
    54% 2%,
    96% 24%,
    100% 32%,
    100% 68%,
    96% 76%,
    54% 98%,
    46% 98%,
    4% 76%,
    0 68%,
    0 32%,
    4% 24%
  );
  background: var(--ov-hex-fill);
  border-radius: 3px;
  z-index: -1;
}
.ov-g > span {
  position: relative;
  z-index: 1;
}
.ov-g.has {
  color: var(--text);
}
.ov-g.p1,
.ov-g.p2,
.ov-g.p3 {
  --ov-hex-border: var(--edge);
  --ov-hex-fill: linear-gradient(
    160deg,
    var(--hi) 0%,
    var(--c) 48%,
    var(--lo) 100%
  );
  font-weight: 700;
}
.ov-g.p1 {
  --hi: #fff4a6;
  --c: #ffcc1f;
  --lo: #f0a000;
  --edge: #ffe66b;
  color: #4a3000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.ov-g.p2 {
  --hi: #ffffff;
  --c: #dbe3ec;
  --lo: #a3b1c0;
  --edge: #f6f9fc;
  color: #2b3540;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.ov-g.p3 {
  --hi: #ffb98a;
  --c: #ee8340;
  --lo: #c0581c;
  --edge: #ffa468;
  color: #fff;
  text-shadow: 0 1px 2px rgba(80, 30, 0, 0.7);
}
.ov-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 10px;
  border-top: 1px solid var(--line);
}
.ov-foot-label {
  font: 700 1.3rem/1 var(--font-head);
  white-space: nowrap;
}
.ov-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 30px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
}
.ov-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  transition: width 0.8s ease;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--tc) 55%, #000),
    color-mix(in srgb, var(--tc) 88%, #000)
  );
}
.ov-bar-txt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff;
  font: 700 1.3rem/1 var(--font-head);
  white-space: nowrap;
  text-shadow: none;
}
.ov-bar-txt span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ov-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: none;
  font: 700 1.2rem/1 var(--font-head);
  white-space: nowrap;
}
.ov-logo svg {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
}
.ov-msg {
  width: 460px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--text-dim);
  font-size: 1.05rem;
}
