@font-face {
  font-family: MiSans;
  src: url(assets/MiSans-Bold.ttf?v=4.009-full) format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Kuaishou Sans;
  src: url(assets/KuaishouSansVF.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
html { color-scheme: light; }
body { margin: 0; background: #e5e7eb; }
.frame-window {
  width: min(100%, 414px);
  height: min(100dvh, var(--frame-height, 896px));
  margin-inline: auto;
  overflow: auto;
  scrollbar-width: none;
}
.frame-layout { width: 414px; height: 896px; }
.frame-layout[data-level="100"] { overflow: hidden; }
.frame-art { font-family: "PingFang SC", sans-serif; }
.frame-art [class*="MiSans:Bold"] { font-family: MiSans, "PingFang SC", sans-serif; font-weight: 700; }
.frame-art [class*="PingFang_SC:Regular"] { font-family: "PingFang SC", sans-serif; font-weight: 400; }
.frame-art [class*="PingFang_SC:Medium"] { font-family: "PingFang SC", sans-serif; font-weight: 500; }
.frame-art [class*="Kuaishou_Sans:medium"] { font-family: "Kuaishou Sans", sans-serif; font-weight: 500; }
.frame-art [class*="Kuaishou_Sans:SemiBold"] { font-family: "Kuaishou Sans", sans-serif; font-weight: 600; }
.frame-art [class*="SF_Pro:Semibold"] { font-family: -apple-system, system-ui, sans-serif; }
.frame-art { overflow-x: clip; }

/* Figma draws the search outline inside the box without using layout space. */
.frame-art [data-name="搜索框"] {
  border: 0;
  box-shadow: inset 0 0 0 1.4px #ff2020;
}
.frame-art [data-name="Time"] { transform: translateX(-2px); }
.frame-art [data-name="Levels"] { transform: translateX(-1px); }
.game-slot {
  width: 100%;
  min-height: 0;
  flex: 1 1 0;
}

/* Standalone archive pages use the same fixed artboard layout as the overview. */
.frame-scaled-area { position: relative; overflow: hidden; }
.frame-scaled-area > .frame-layout { transform-origin: top left; }

:focus,:focus-visible{outline:none}
