.games-profile-v63 {
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 20px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(82, 207, 255, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(39, 128, 255, .18), transparent 42%),
    linear-gradient(145deg, rgba(10, 29, 61, .94), rgba(4, 10, 25, .96));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .3);
}

.games-profile-summary,
.games-continue {
  min-width: 0;
}

.games-profile-summary h2 {
  margin: 10px 0 8px;
  max-width: 620px;
  font-size: clamp(1.8rem, 4.5vw, 3.15rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.games-profile-summary > p {
  max-width: 590px;
  margin: 0;
  color: var(--games-muted);
  line-height: 1.6;
}

.games-level {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
}

.games-level > strong {
  font-size: 1.06rem;
}

.games-level > span {
  color: #80e5ff;
  font-size: .9rem;
  font-weight: 850;
}

.games-level > div,
.games-continue-progress {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.games-level i,
.games-continue-progress i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #26d7ff, #8d5cff);
  box-shadow: 0 0 16px rgba(38, 215, 255, .4);
  transition: width .55s ease;
}

.games-profile-stats {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.games-profile-stats span {
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: var(--games-muted);
  background: rgba(255, 255, 255, .04);
  font-size: .82rem;
}

.games-profile-stats b { color: #fff; }

.games-continue {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: #071226;
  isolation: isolate;
}

.games-continue::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(3, 7, 19, .1), rgba(3, 7, 19, .96) 72%);
}

.games-continue > span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(3, 7, 19, .76);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .1em;
}

.games-continue > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.games-continue > div {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.games-continue small {
  display: block;
  overflow-wrap: anywhere;
  color: #b9cae1;
}

.games-continue h3 {
  margin: 4px 0 10px;
  overflow-wrap: anywhere;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1;
}

.games-continue-progress { margin-bottom: 12px; }

.games-continue a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #8be8ff;
  font-weight: 900;
  text-decoration: none;
}

.games-achievements {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.games-achievements span {
  min-width: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  color: #75869f;
  background: rgba(0, 0, 0, .18);
  text-align: center;
  overflow-wrap: anywhere;
  font-size: .72rem;
  font-weight: 850;
}

.games-achievements span.is-earned {
  border-color: rgba(85, 226, 255, .48);
  color: #eafbff;
  background: rgba(22, 200, 255, .1);
  box-shadow: inset 0 0 20px rgba(22, 200, 255, .08);
}

.games-achievements span.is-earned::before {
  margin-right: 5px;
  content: "✓";
  color: #55e2ff;
}

.game-favorite {
  position: absolute !important;
  top: 14px;
  right: 14px;
  z-index: 4 !important;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 7, 19, .78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.game-favorite[aria-pressed="true"] {
  color: #ffd76a;
  border-color: rgba(255, 215, 106, .62);
  background: rgba(76, 50, 6, .88);
}

.game-card .game-status {
  max-width: calc(100% - 50px);
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .games-profile-v63 { grid-template-columns: 1fr; }
  .games-achievements { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .games-profile-v63 { margin-inline: -2px; padding: 18px; border-radius: 20px; }
  .games-level { grid-template-columns: minmax(0, 1fr) auto; }
  .games-profile-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-profile-stats span { border-radius: 10px; text-align: center; overflow-wrap: anywhere; }
  .games-achievements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-continue { min-height: 230px; }
}

@media (max-width: 370px) {
  .games-profile-stats { grid-template-columns: 1fr; }
  .games-achievements { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .games-level i,
  .games-continue-progress i { transition: none; }
}
