.original-profile {
  --profile-px: .653333333px;
  max-width: 490px;
  margin: 32px auto 0;
  overflow: hidden;
  background: #f8fafb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.original-profile :is(h1, h2, p) { margin: 0; }

@media (max-width: 767px) {
  .original-profile {
    --profile-px: .133333333vw;
    max-width: none;
    margin: 0;
    min-height: calc(100vh - var(--aq-mobile-nav-height) - var(--aq-mobile-header-height));
    min-height: calc(100dvh - var(--aq-mobile-nav-height) - var(--aq-mobile-header-height));
  }
}

.profile-header {
  position: relative;
  padding-inline: calc(32 * var(--profile-px));
  background:
    radial-gradient(calc(520 * var(--profile-px)) calc(400 * var(--profile-px)) at 85% 30%, rgba(255, 236, 190, .75), transparent 70%),
    radial-gradient(calc(600 * var(--profile-px)) calc(440 * var(--profile-px)) at 10% 10%, rgba(190, 240, 228, .95), transparent 70%),
    linear-gradient(180deg, #d7f5ee 0%, #eaf9f5 60%, #f8fafb 100%);
}

.profile-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(32 * var(--profile-px));
  height: calc(88 * var(--profile-px));
  padding-top: calc(12 * var(--profile-px));
}

.profile-actions > a { position: relative; display: block; }
.profile-actions > a::after { position: absolute; inset: -8px; content: ""; }
.profile-actions img {
  display: block;
  width: calc(48 * var(--profile-px));
  height: calc(48 * var(--profile-px));
}

.profile-mascot {
  position: absolute;
  top: calc(72 * var(--profile-px));
  right: calc(-8 * var(--profile-px));
  z-index: 1;
  width: calc(272 * var(--profile-px));
  height: auto;
  pointer-events: none;
}

.profile-guest {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: calc(28 * var(--profile-px));
  min-height: calc(144 * var(--profile-px));
  margin-top: calc(20 * var(--profile-px));
  text-decoration: none;
}

.profile-avatar {
  width: calc(144 * var(--profile-px));
  height: calc(144 * var(--profile-px));
  flex: none;
  border: calc(6 * var(--profile-px)) solid #fff;
  border-radius: 50%;
  background: #ddf6f0;
  object-fit: cover;
}

.profile-guest h1 {
  color: #14201d;
  font-size: calc(42 * var(--profile-px));
  font-weight: 600;
  line-height: calc(56 * var(--profile-px));
}

.profile-guest p {
  margin-top: calc(4 * var(--profile-px));
  color: #5a6b67;
  font-size: calc(24 * var(--profile-px));
  line-height: calc(34 * var(--profile-px));
}

.profile-amounts {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: calc(36 * var(--profile-px));
  padding-block: calc(24 * var(--profile-px));
  border-radius: calc(32 * var(--profile-px));
  background: #fff;
}

.profile-amounts > a {
  flex: 1;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

.profile-amounts > a + a { border-left: 1px solid rgba(20, 32, 29, .08); }

@font-face {
  font-family: "Profile Outfit Num";
  src: url("/mobile-original/home/outfit-num.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

.profile-amounts b {
  display: block;
  color: #14201d;
  font: 700 calc(34 * var(--profile-px))/calc(48 * var(--profile-px)) "Profile Outfit Num", "Helvetica Neue", sans-serif;
}

.profile-amounts span { color: #5a6b67; font-size: calc(22 * var(--profile-px)); }

.profile-body {
  position: relative;
  z-index: 3;
  padding: calc(26 * var(--profile-px)) calc(32 * var(--profile-px)) 0;
}

.profile-memberships {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(22 * var(--profile-px));
}

.profile-memberships > a {
  position: relative;
  height: calc(150 * var(--profile-px));
  padding: calc(30 * var(--profile-px)) calc(108 * var(--profile-px)) 0 calc(32 * var(--profile-px));
  overflow: hidden;
  border-radius: calc(32 * var(--profile-px));
  background: #fff;
  text-decoration: none;
}

.profile-memberships :is(b, span) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-memberships b {
  color: #1f2121;
  font-size: calc(33 * var(--profile-px));
  font-weight: 600;
  line-height: calc(44 * var(--profile-px));
}

.profile-memberships span {
  margin-top: calc(10 * var(--profile-px));
  color: #595b5b;
  font-size: calc(25 * var(--profile-px));
  line-height: calc(32 * var(--profile-px));
}

.profile-memberships img {
  position: absolute;
  inset: calc(34 * var(--profile-px)) calc(22 * var(--profile-px)) auto auto;
  width: calc(82 * var(--profile-px));
  height: calc(82 * var(--profile-px));
}

.profile-card {
  margin-top: calc(26 * var(--profile-px));
  padding: calc(26 * var(--profile-px)) calc(32 * var(--profile-px)) calc(30 * var(--profile-px));
  border-radius: calc(32 * var(--profile-px));
  background: #fff;
}

.profile-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(48 * var(--profile-px));
}

.profile-card-heading h2 {
  color: #1f2121;
  font-size: calc(34 * var(--profile-px));
  font-weight: 600;
}

.aq-website .profile-card-heading a {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--profile-px));
  min-height: 44px;
  color: #8e9192;
  font-size: calc(26 * var(--profile-px));
  line-height: 1;
  text-decoration: none;
}

.profile-card-heading svg {
  width: calc(26 * var(--profile-px));
  height: calc(26 * var(--profile-px));
  stroke-width: 2;
  transform: translateY(-.1em);
}

.profile-games {
  display: flex;
  gap: calc(18 * var(--profile-px));
  margin: calc(24 * var(--profile-px)) calc(-32 * var(--profile-px)) 0 0;
  padding-right: calc(32 * var(--profile-px));
  overflow-x: auto;
  scrollbar-width: none;
}

.profile-games::-webkit-scrollbar { display: none; }
.profile-games > a { flex: none; }

.profile-games :is(img, span) {
  display: block;
  width: calc(90 * var(--profile-px));
  height: calc(90 * var(--profile-px));
  flex: none;
  border-radius: calc(20 * var(--profile-px));
  object-fit: cover;
}

.profile-game-skeleton span { background: #eef2f1; }

.profile-no-games {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(8 * var(--profile-px));
  color: #8a9a96;
  font-size: calc(26 * var(--profile-px));
}

.profile-no-games img {
  width: calc(144 * var(--profile-px));
  height: calc(116 * var(--profile-px));
}

.profile-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: calc(40 * var(--profile-px));
  margin: calc(28 * var(--profile-px)) calc(-32 * var(--profile-px)) calc(8 * var(--profile-px));
}

.aq-website .profile-tools > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(12 * var(--profile-px));
  padding-inline: calc(6 * var(--profile-px));
  color: #1f2121;
  font-size: calc(24 * var(--profile-px));
  line-height: calc(34 * var(--profile-px));
  text-align: center;
  text-decoration: none;
}

.profile-tools svg {
  width: calc(60 * var(--profile-px));
  height: calc(60 * var(--profile-px));
  stroke-width: 1.6;
}
