.xiefu-home-hub .home-play-link {
  --play-tint: #faeee0;
  --play-sign: #785124;
  gap: 5px;
  background: linear-gradient(120deg, #fffdf6 49%, var(--play-tint) 160%);
  box-shadow: 0 3px 9px #243f2b0c;
}

.xiefu-home-hub .home-play-link--bedrock {
  --play-tint: #e9f2e8;
  --play-sign: #375e46;
}

.xiefu-home-hub .home-play-link--mini {
  --play-tint: #f1eaf6;
  --play-sign: #604376;
}

.home-play-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 5px 9px;
}

.xiefu-home-hub .home-play-link h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-play-edition {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--play-tint);
  color: var(--play-sign);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
}

.xiefu-home-hub .home-play-link p {
  margin-bottom: 3px;
}

.xiefu-home-hub .home-play-link > span {
  color: var(--play-sign);
}

.home-play-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--play-tint);
  color: var(--play-sign);
}

.home-play-icon::before {
  display: block;
  width: 18px;
  height: 18px;
  content: '';
  background: currentColor;
}

.home-play-link--java .home-play-icon::before {
  clip-path: polygon(0 0, 77% 0, 77% 22%, 100% 22%, 100% 66%, 77% 66%, 77% 44%, 55% 44%, 55% 66%, 33% 66%, 33% 89%, 11% 89%, 11% 66%, 33% 66%, 33% 44%, 55% 44%, 55% 22%, 0 22%);
}

.home-play-link--bedrock .home-play-icon::before {
  clip-path: polygon(39% 0, 61% 0, 61% 22%, 78% 22%, 78% 43%, 91% 43%, 91% 75%, 61% 75%, 61% 100%, 39% 100%, 39% 75%, 9% 75%, 9% 43%, 22% 43%, 22% 22%, 39% 22%);
}

.home-play-link--mini .home-play-icon::before {
  clip-path: polygon(33% 6%, 67% 6%, 67% 33%, 94% 33%, 94% 67%, 67% 67%, 67% 94%, 33% 94%, 33% 67%, 6% 67%, 6% 33%, 33% 33%);
}

.xiefu-home-hub .home-utility a {
  padding-inline: 11px;
  border: 1px solid #d2ddd0;
  border-radius: 7px;
  background: #ffffff55;
  text-decoration: none;
}

.xiefu-home-hub .home-utility a:hover {
  border-color: #8aa58e;
  background: #fcfbf4;
}

@media (max-width: 650px) {
  .xiefu-home-hub .home-play-link { gap: 3px; }
  .xiefu-home-hub .home-utility { gap: 7px; }
  .xiefu-home-hub .home-utility a { font-size: 12px; padding-inline: 8px; }
  .home-play-icon { flex-basis: 25px; width: 25px; height: 25px; border-radius: 7px; }
  .home-play-icon::before { width: 14px; height: 14px; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .xiefu-home-hub .home-play-link { transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
  .xiefu-home-hub .home-play-link:hover { transform: translateY(-2px); box-shadow: 0 8px 16px #243f2b16; }
}
