.mc-crayon-portrait {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: radial-gradient(ellipse at 52% 39%, #f9f6fc 0%, #ece6f4 42%, #ccbbdf 100%);
}
.mc-crayon-float {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(52%, 230px);
  height: 52px;
  transform: translate(-50%, -50%) rotate(-28deg);
  animation: mc-hover 4.4s ease-in-out infinite;
  filter: drop-shadow(0 6px 4px #15151545);
}
.mc-crayon-wax, .mc-crayon-tip, .mc-crayon-wrapper {position:absolute;display:block}
.mc-crayon-wax {
  inset: 0;
  border-radius: 12px 5px 5px 12px;
  background: repeating-linear-gradient(3deg,#dddddd14 0 1px,transparent 1.5px 4px),
    linear-gradient(#151515,#555555 22%,#292929 52%,#101010 91%,#343434);
  box-shadow: inset 4px 0 6px #101010, inset 1px 2px #b7b7b750;
}
.mc-crayon-tip {
  inset: 2px -21% 2px 92%;
  clip-path: polygon(0 0, 39% 0, 100% 41%, 100% 59%, 39% 100%, 0 100%);
  background: repeating-linear-gradient(29deg,#bbbbbb20 0 1px,transparent 1px 4px),
    linear-gradient(#1d1d1d,#515151 29%,#2b2b2b 57%,#111111);
}
.mc-crayon-wrapper {
  inset: -2px 14% -2px 10%;
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: #e7e7e7;
  background: linear-gradient(90deg,transparent 7%,#d3d3d3 7% 9%,transparent 9% 12%,#d3d3d3 12% 14%,transparent 14% 86%,#d3d3d3 86% 88%,transparent 88% 91%,#d3d3d3 91% 93%,transparent 93%),
    repeating-linear-gradient(91deg,#ffffff08 0 1px,transparent 1px 4px),
    linear-gradient(#272727,#4c4c4c 29%,#343434 58%,#1b1b1b);
  box-shadow: 0 1px 4px #111111aa;
}
.mc-crayon-wrapper span {font: 750 21px/1 system-ui,sans-serif;letter-spacing:.13em;background:repeating-linear-gradient(91deg,#e8e8e8 0 1px,#bdbdbd 1px 1.5px,#e8e8e8 1.5px 4px);background-clip:text;-webkit-background-clip:text;color:transparent}
.mc-crayon-shadow {
  position: absolute;
  top: 76%;
  left: 50%;
  width: 56%;
  height: 16px;
  border-radius: 50%;
  background: #37213f77;
  filter: blur(8px);
  transform: translateX(-50%) rotate(-5deg);
  animation: mc-shadow 4.4s ease-in-out infinite;
}
@keyframes mc-hover {50% {transform:translate(-50%,-66%) rotate(-25deg)}}
@keyframes mc-shadow {50% {opacity:.6;transform:translateX(-50%) rotate(-5deg) scale(.86)}}
@media (prefers-reduced-motion:reduce) {.mc-crayon-float,.mc-crayon-shadow {animation:none}}
.game-preview-tile {align-self:stretch;display:grid;grid-template-rows:1fr auto}
.game-preview-tile .mc-crayon-portrait {min-height:280px}

.mc-doodles {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.mc-doodles path {
  fill:none;
  stroke:#242123;
  stroke-width:3.6px;
  filter:drop-shadow(0 0 1px #392b4d);
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1;
  opacity:.88;
  animation:mc-doodle-reveal 7s var(--doodle-wait) ease-in-out infinite both;
}
@keyframes mc-doodle-reveal {
  0% {stroke-dashoffset:1;stroke:#242123;opacity:0}
  5% {opacity:.86}
  30%,43% {stroke-dashoffset:0;stroke:#242123;opacity:.86}
  48%,89% {stroke-dashoffset:0;stroke:var(--doodle-color);opacity:1}
  100% {stroke-dashoffset:0;stroke:var(--doodle-color);opacity:0}
}
@media (prefers-reduced-motion:reduce) {
  .mc-doodles path {animation:none;stroke:var(--doodle-color);stroke-dasharray:none}
}
