.roblox-tile-back {
  overflow: visible;
  background: transparent;
}

.roblox-tile[data-open="false"]:not([data-turning]) .tile-back,
.roblox-tile[data-open="true"]:not([data-turning]) .tile-front {
  visibility: hidden;
}

.roblox-tile .artworkFrame:has(.tileCompositionFull) {
  overflow: visible;
  border-radius: 0;
}

.roblox-back-art.tile-back-content {
  position: absolute;
  inset: 0;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #040505;
  /* Composite the art and shade together before rounding their outer edge. */
  -webkit-mask-image: linear-gradient(#fff, #fff);
  mask-image: linear-gradient(#fff, #fff);
  color: #fff;
  font: 900 5.178cqw / normal 'Home Topic Inter', Inter, sans-serif;
  white-space: nowrap;
}

.roblox-back-art > * {
  position: absolute;
}

.roblox-back-art > :not(button) {
  pointer-events: none;
}

.roblox-back-image {
  display: block;
  max-width: none;
  object-fit: cover;
  user-select: none;
}

.roblox-back-scene {
  /* A small bleed covers fractional device pixels at the artwork clip. */
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: fill;
  /* Clear bright source pixels where the lower shade is already black. */
  -webkit-mask-image: linear-gradient(#fff 92%, transparent 96%);
  mask-image: linear-gradient(#fff 92%, transparent 96%);
}

.roblox-back-dollar {
  opacity: 0;
  transition: opacity var(--tile-flip-duration) cubic-bezier(.22, .72, .12, 1);
}

.topic.tile[data-open="true"] .roblox-back-dollar {
  opacity: 1;
  transition-timing-function: cubic-bezier(.42, 0, .58, 1);
}

.roblox-back-art h2,
.roblox-back-art p {
  margin: 0;
  font-weight: inherit;
}

.roblox-back-large {
  font-size: 7.767cqw;
}

.roblox-back-title {
  text-transform: uppercase;
}

.roblox-back-shade {
  inset: auto -1px -1px;
  height: 20%;
  background: linear-gradient(to bottom, transparent, #000 72%);
}

.roblox-back-currency {
  color: #60ca77;
}

.showcase-guide-open {
  --guide-depth: clamp(2px, 1.5cqw, 4px);
  display: grid;
  place-items: center;
  height: clamp(44px, 12.4%, 64px);
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: clamp(12px, 8.2cqw, 21px);
  background:
    var(--guide-face, linear-gradient(180deg, #292f2d, #161c1a 48%, #090d0c)) padding-box,
    var(--guide-edge, linear-gradient(155deg, #919d98, #53625a 27%, #28352c 66%, #67916d)) border-box;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .14),
    inset 0 -1px 0 rgb(0 0 0 / .65),
    0 var(--guide-depth) 0 var(--guide-base, #101614),
    0 calc(var(--guide-depth) + 1px) 0 var(--guide-seam, #030604),
    0 calc(var(--guide-depth) + 4px) 12px rgb(0 0 0 / .64);
  color: inherit;
  opacity: 1;
  font-size: 7.25cqw;
  text-shadow: 0 1px 1px rgb(0 0 0 / .7);
  white-space: nowrap;
  transform: translateY(var(--guide-offset, 0px));
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.roblox-back-open {
  --guide-offset: -50%;
}

.showcase-guide-open:focus-visible {
  outline: 2px solid var(--guide-focus, #83bc92);
  outline-offset: 2px;
}

.showcase-guide-open:enabled:active {
  transform: translateY(calc(var(--guide-offset, 0px) + var(--guide-depth)));
  box-shadow: inset 0 2px 5px rgb(0 0 0 / .6), 0 1px 0 var(--guide-seam, #030604);
  filter: brightness(.9);
  transition-duration: 65ms;
}

@media (hover: hover) and (pointer: fine) {
  .showcase-guide-open:enabled:hover:not(:active) {
    filter: brightness(1.13);
  }
}

@media (prefers-reduced-motion: reduce) {
  .roblox-back-dollar,
  .showcase-guide-open {
    transition: none;
  }
}
