/* MiSans（小米），和 banka 产品同一套中文黑体。只含页面用字的子集，由 tools/subset-fonts.py 生成。 */
@font-face {
  font-family: "MiSans";
  src: url("../assets/fonts/misans-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 特粗：只给第二部分横穿卡片的超大规律名用。 */
@font-face {
  font-family: "MiSans";
  src: url("../assets/fonts/misans-heavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Archivo Condensed（OFL，© The Archivo Project Authors，许可见 assets/fonts/Archivo-OFL.txt）：
   首屏左边那张代码排的海报里的英文。和 banka 引擎自带的是同一份文件。 */
@font-face {
  font-family: "Archivo Condensed";
  src: url("../assets/fonts/archivocond-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Condensed";
  src: url("../assets/fonts/archivocond-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Condensed";
  src: url("../assets/fonts/archivocond-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Condensed";
  src: url("../assets/fonts/archivocond-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #080808;
  --ink: #fafafa;
  --ink-dim: #6e6e6e; /* 实色灰：等于 42% 白叠在黑底上的颜色。不用半透明，否则背后的鼠标点阵会从字里透出来 */
  --sans: "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --sans-en: "SF Pro Display", "Helvetica Neue", Inter, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --edge: 28px; /* 页面四周留白 */
  --bar-h: 72px; /* 顶栏高度（含底下细线） */
  --line: rgba(250, 250, 250, 0.14); /* 细线颜色 */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* 隐藏页面右侧滚动条（照常能滚）：Firefox 用 scrollbar-width，Chrome / Safari 用 ::-webkit-scrollbar。 */
html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ───────── 顶栏 ───────── */

/* 顶栏不固定，跟着页面一起滚走。底下一根通栏细线（参考 Builders Table）。 */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-h);
  padding: 0 var(--edge);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
  isolation: isolate; /* 让波纹底层留在顶栏内部的最下面 */
}

/* 顶栏底：抖动波纹铺满这一条（细线以上）。 */
.topbar__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #101113;
}

.topbar__bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.topbar > * {
  pointer-events: auto;
}

.brand img {
  display: block;
  height: 30px;
  width: auto;
}

/* 登录按钮：沿用 banka 编辑器里「再次抽卡」的渐变（左青、右粉、底部一团白光）。 */
.signin {
  position: fixed; /* 滚动时一直留在右上角，位置和原来在顶栏里时一样 */
  top: calc((var(--bar-h) - 38px) / 2 + var(--follow, 0px)); /* --follow：停进卡里后跟着卡片往上走（main.js），不过渡 */
  right: var(--edge);
  z-index: 100; /* 压在首屏图片（11）、卡片等所有内容上面 */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 19px 0 16px;
  border-radius: 999px;
  color: #15181a;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background:
    radial-gradient(58% 135% at 50% 110%, #ffffff 0%, #ffffffe6 26%, #ffffff00 64%),
    radial-gradient(46% 150% at 100% 50%, #f3b3fb 0%, #edc0f6d0 36%, #e8d0f000 76%),
    radial-gradient(42% 150% at 2% 50%, #45f1ff 0%, #6cf5fb 30%, #9afbe700 70%),
    linear-gradient(90deg, #9ef8e4 0%, #b0fcce 32%, #c9e4d8 55%, #d6cde6 76%, #e9c3f3 100%);
  transition: filter 0.25s ease, transform 0.25s ease, translate 0.5s cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* 卡片滚上来后，按钮挪进卡片右上角停住（离卡片右 28，高度 --dock-y 由 main.js 按每张卡算好），不再骑在卡片上沿。
   用 translate，不和悬停的 scale 打架。 */
.signin.is-docked {
  translate: -28px calc(var(--dock-y, 58px) - (var(--bar-h) - 38px) / 2);
}

.signin:hover {
  filter: brightness(1.04) saturate(1.06);
  transform: scale(1.03);
}

.signin__icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* ───────── 第一部分 ───────── */

/* 第一部分整层压在顶栏（z-index 10）上面，图才能越过顶栏交错。
   区块本身不接鼠标，只有图、标题、年份接，顶栏的 logo 和登录按钮照常能点。 */
.hero {
  position: relative;
  z-index: 11;
  pointer-events: none;
  isolation: isolate;
  height: 100vh;
  min-height: 720px;
  /* 只裁左右；上下不裁，滚动时落在后面的图可以越过区块底边，压到下一部分上。 */
  overflow-x: clip;
}

/* 左上大标题：logo 下方，中文一行（亮），英文一行（暗）。字号随视口宽度走，1440 宽时约 430px 宽。
   中文字面比拉丁字母大，取英文的 0.88 倍，两行看起来才一样重。 */
.hero__title {
  --size: clamp(48px, 3.75vw, 80px);
  position: absolute;
  top: calc(var(--bar-h) + 32px);
  left: var(--edge);
  z-index: 1;
  margin: 0;
  font-weight: 500;
  pointer-events: auto;
}

.hero__zh,
.hero__en {
  display: block;
  white-space: nowrap;
}

.hero__zh {
  font-size: calc(var(--size) * 0.88);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero__en {
  font-family: var(--sans);
  font-size: var(--size);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--ink-dim);
}

/* 右下年份 */
.hero__year {
  position: absolute;
  right: var(--edge);
  bottom: var(--edge);
  margin: 0;
  font-family: var(--sans-en);
  font-size: 13px;
  color: var(--ink-dim);
}

/* 点阵层：铺满顶栏以下的整个首屏（往下多 40vh，给滚动错层留余量），在点阵方块底板上、其它图下面。 */
.hero__spot {
  position: absolute;
  inset: var(--bar-h) 0 -40vh;
  pointer-events: none;
}

.hero__spot canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 散落的竖图：全部 2:3，大小和位置各不相同，绝对定位，压在标题下层。
   位置写在 HTML 的 --x / --y / --h 上，单位用 vw / vh，屏幕变化时整体构图不散。 */
.scatter {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tile {
  translate: 0 var(--py, 0px); /* 滚动错层的位移，由 js/parallax.js 更新 */
  position: absolute;
  left: var(--x);
  top: var(--y);
  height: var(--h);
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: auto;
  background: var(--tone, #161616);
}

.tile:nth-child(2n) { --tone: #1c1c1c; }
.tile:nth-child(3n) { --tone: #191919; }

/* 不是 2:3 的方块（代码窗、波纹）：宽高都直接给。 */
.tile--free {
  width: var(--w);
  aspect-ratio: auto;
}

/* 16:9 横图：只给宽度，高度按比例。 */
.tile--wide {
  width: var(--w);
  height: auto;
  aspect-ratio: 16 / 9;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左边那张代码排的海报（js/poster-morph.js）：一张 600×900 的 SVG，元素用 transform 摆位。
   字体量好之前先藏着，避免先用替代字体闪一下。 */
.poster {
  display: block;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.poster.is-ready {
  visibility: visible;
}

.poster text {
  fill: #10110c;
}

.poster__big text {
  font: 800 100px "Archivo Condensed", var(--sans-en);
}

.poster__small text {
  font: 600 13px "Archivo Condensed", var(--sans-en);
}

.poster__tiny text {
  font: 600 11px "Archivo Condensed", var(--sans-en);
}

.poster__han text {
  font: 900 100px var(--sans);
}

.poster__rule,
.poster__dot {
  fill: #10110c;
}

/* 切换时闪一下的网格线：样式和节奏照搬 banka 编辑器（apps/web/src/editor/styles.css 的 .layout-grid）。
   出现 140ms，消失 1150ms。 */
.slides-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1150ms ease;
}

.slides-grid.is-visible {
  opacity: 1;
  transition: opacity 140ms ease-out;
}

.slides-grid path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.slides-grid__shadow {
  stroke: #123b24;
  stroke-opacity: 0.17;
  stroke-width: 1.4;
}

.slides-grid__light {
  stroke: #6ddd94;
  stroke-opacity: 0.57;
  stroke-width: 0.65;
}

.slides-grid__labels {
  fill: #8de8ac;
  opacity: 0.7;
  font: 7px Arial, sans-serif;
  letter-spacing: 1px;
}

.tile__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5em;
  font: 500 20px / 1 var(--mono);
  letter-spacing: 0.08em;
  color: rgba(250, 250, 250, 0.55);
}

.tile__ph small {
  font-size: 0.6em;
  color: rgba(250, 250, 250, 0.3);
}

/* ───────── 第二部分：彩色步骤卡 ───────── */

/* 每张卡 sticky 停在离顶 --edge 的位置，高度一屏减上下留白；下外边距补回 2×--edge，所以每张卡在文档里正好占一屏，
   下一张从屏幕底边升到顶的这一屏里，上一张一直停着被盖（变形在 js/card-stack.js）。 */
.stack {
  position: relative;
}

.stack__card {
  position: sticky;
  top: var(--edge);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--edge) * 2);
  min-height: 600px;
  margin: 0 var(--edge) calc(var(--edge) * 2);
  padding: 28px 40px 40px;
  overflow: hidden;
  border-radius: 20px;
  will-change: transform;
}

/* 配色取 banka 自己的颜色：一张绿（banka 绿往下渐亮），一张蓝到登录按钮的粉。 */
.stack__card--1 {
  color: #0d1a11;
  background: linear-gradient(180deg, #17c964 0%, #79e88f 45%, #c6ff9e 100%);
}

.stack__card--2 {
  color: #fafafa;
  /* 上蓝下黄。在 oklab 里插值，中段不会像 sRGB 那样发灰；不支持的浏览器退回第一行。 */
  /* 交界大约在 55% 高度（样张上半截），下面是高饱和的黄。 */
  background: linear-gradient(180deg, #3a54ff 0%, #6a82ff 42%, #b6b3bd 54%, #ffd91a 66%, #ffd000 100%);
  background: linear-gradient(in oklab 180deg, #3a54ff 0%, #6a82ff 42%, #ffd91a 66%, #ffd000 100%);
}

.stack__tag {
  margin: 0;
  text-align: center;
  font: 500 15px / 1 var(--sans-en);
  opacity: 0.55;
}

/* 大号编号：贴卡片右侧，故意比标题低一截、不和标题对齐，用 MiSans。 */
.stack__tag--big {
  position: absolute;
  top: calc(28px + clamp(48px, 4.4vw, 88px) * 1.2);
  right: 36px;
  font: 500 calc(clamp(48px, 4.4vw, 88px) * 2.3) / 1 var(--sans);
  letter-spacing: -0.04em;
  text-align: right;
  opacity: 0.6;
}

.stack__title {
  --size: clamp(48px, 4.4vw, 88px);
  margin: 0;
  font-weight: 500;
}

.stack__zh,
.stack__en {
  display: block;
  white-space: nowrap;
}

.stack__zh {
  font-size: calc(var(--size) * 0.88);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.stack__en {
  font-size: var(--size);
  line-height: 1.1;
  letter-spacing: -0.045em;
  opacity: 0.6;
}

/* ── 卡 01：评测驱动 × 设计师主导 ──
   上：大号 (01) 贴左、和标题顶对齐（卡 02 的 (02) 在右、低一截），标题从内容区 22% 处起排（右边要给登录按钮留位）；
   中：两栏，一栏讲评测驱动，一栏讲设计师主导；
   下：一串评测分数用超大字横穿卡片，两头被卡边裁掉，不过线的分数划掉。
   --drop：标题和 (01) 一起往下挪的距离——首屏作品集那张图会越过顶栏压到这张卡的上沿，标题要让开它。 */
.rules {
  --drop: clamp(110px, 16.5vh, 165px);
}

.rules__num {
  top: calc(28px + var(--drop) - 30px); /* 和标题顶对齐（标题也上提 30px）；两者字顶在框内的偏移恰好都约 6px */
  right: auto;
  left: 34px; /* 和右边 (02) 的 36px 一样，扣掉括号自带的左侧空白 */
  text-align: left;
}

.rules__title {
  margin: calc(var(--drop) - 30px) 0 0 22%;
}

/* 横穿条：左右各伸出卡片内边距，贴到卡边被裁切。 */
.rules__band {
  margin: auto -40px 0; /* 上边距 auto：分数条始终贴在卡片底部 */
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.rules__line {
  flex: none;
  margin: 0;
  font: 500 clamp(110px, 20vh, 230px) / 1.08 var(--sans-en);
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: #fbfff5;
}

/* 不及格的稿：一道粗线划掉，颜色退成卡片的深绿。 */
.rules__line s {
  color: #0d1a11;
  opacity: 0.22;
  text-decoration-thickness: 0.06em;
}

/* 分数之间的分隔：一个实心圆点，坐在数字中间高度。 */
.rules__line i {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin: 0 0.42em;
  vertical-align: 0.3em;
  border-radius: 50%;
  background: #0d1a11;
}

/* 下面两栏：细线隔开，各自「标题 + 一句话 + 一个小证据」。 */
.rules__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(80px, 14vh, 140px); /* 跟着标题走：标题下移多少，两栏也下移多少 */
  gap: 0 clamp(32px, 4vw, 72px);
}

.point {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 26, 17, 0.28);
}

.point__head {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
}

.point__head i {
  margin-left: 10px;
  font-family: var(--sans-en);
  font-style: normal;
  opacity: 0.5;
}

.point__text {
  max-width: 30em;
  margin: 10px 0 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  opacity: 0.8;
}

/* ── 卡 02：排版细节 ──
   上：标题；下：四张正方形白样张一排，各循环演示一条排版规律（js/rule-demos.js），下面一行名字（中英）。 */
/* 四格样张上方一行小字，列出更多规律门类。放在第一格的 stage 里：stage 是尺寸容器，
   样张边长 = min(100cqw, 100cqh)，所以底边定在「样张高度 + 44px」就落在样张上方，横向可以越过几格。 */
.detail__more {
  position: absolute;
  bottom: calc(min(100cqw, 100cqh) + 44px);
  left: 0;
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.55;
}

.detail__grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto; /* 样张一行、说明一行：四张样张底边始终对齐 */
  gap: 0 clamp(16px, 1.6vw, 28px);
  min-height: 0;
  margin-top: clamp(20px, 3vh, 40px);
  counter-reset: demo;
}

.demo {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  counter-increment: demo;
}

/* 样张按格子的宽和高取小的那个，始终正方形，贴底放，多出的空留在上面。 */
.demo__stage {
  display: flex;
  flex: 1;
  align-items: flex-end;
  position: relative;
  min-height: 0;
  container-type: size;
}

.demo__sheet {
  display: block;
  width: min(100cqw, 100cqh);
  height: auto;
  aspect-ratio: 1;
  border-radius: 20px; /* 和首屏卡片同一个圆角 */
  background: #fafafa;
}

.demo figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 23, 71, 0.3);
  color: #1d1747; /* 卡片下半截渐变到浅粉，白字看不清，说明用深色字 */
}

.demo figcaption b {
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 500;
}

.demo figcaption b::before {
  content: counter(demo, decimal-leading-zero);
  margin-right: 12px;
  font: 500 0.7em / 1 var(--sans-en);
  vertical-align: 0.15em;
}

.demo figcaption i {
  margin-left: 10px;
  font: 500 0.95em / 1 var(--sans-en);
  font-style: normal;
  letter-spacing: -0.02em;
  opacity: 0.55;
}

/* 样张里：网格和占位蓝、量尺和标注品红、字黑。 */
.demo__sheet line,
.demo__sheet path {
  fill: none;
  stroke-width: 0.75;
}

.demo__note {
  font: 500 8px var(--sans);
  letter-spacing: 0.02em;
  fill: #e0119d;
}

.demo__sheet text:not(.demo__note) {
  font-family: var(--sans-en);
  font-weight: 500;
  fill: #111;
}

/* ① 网格系统 */
.gd-grid line {
  stroke: #3a54ff;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.gd-grid .demo__note {
  fill: #3a54ff;
}

.gd-cell {
  fill: rgba(58, 84, 255, 0.1);
}

.gd-head text {
  font-size: 40px;
  letter-spacing: -0.045em;
}

.gd-small text {
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* ② 占位先行 */
.pd-box rect {
  fill: rgba(58, 84, 255, 0.08);
  stroke: #3a54ff;
  stroke-dasharray: 3 2;
}

.pd-box .demo__note {
  font-size: 7px;
  fill: #3a54ff;
}

.pd-head {
  font-size: 50px;
  letter-spacing: -0.045em;
}

.pd-sub {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.pd-small {
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* ③ 间距按字高 */
.sp-head {
  font-size: 48px;
  letter-spacing: -0.045em;
}

.sp-sub {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.sp-small text {
  font-size: 9px;
  letter-spacing: 0.02em;
}

.sp-measure path,
.sp-strike {
  stroke: #e0119d;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* ④ 视觉均衡 */
.bd-cross,
.bd-tie {
  stroke: #e0119d;
  stroke-width: 0.75;
}

.bd-tie {
  stroke-dasharray: 2 2;
}

.bd-weight circle {
  fill: #e0119d;
}

.bd-head text {
  font-size: 64px;
  letter-spacing: -0.05em;
}

.bd-unit {
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* 页脚：只有一行等宽小字，紧跟在最后一张卡下面露出一点。
   三段：左靠左、邮箱居页面正中、右靠右（两侧等宽，中间才是真居中）。 */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  margin-top: calc(var(--edge) * -2 + 20px); /* 卡片自带 2·edge 的下边距，收回来，只留 20px */
  padding: 0 var(--edge) 22px;
  font: 400 14px / 1.6 var(--mono);
  letter-spacing: -0.03em;
}
.footer > :nth-child(3) { justify-self: end; }
.footer__end {
  display: flex;
  gap: 32px;
}
.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--ink-dim);
}

/* 代码窗：顶上一行文件名 + 细线，下面逐字打出来的代码。 */
.tile--code {
  display: flex;
  flex-direction: column;
  background: #111213;
  font-family: var(--mono);
}

.code__head {
  flex: none;
  padding: 11px 16px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.5);
}

.code__body {
  flex: 1;
  margin: 0;
  padding: 14px 16px;
  overflow: hidden;
  font: 500 clamp(11px, 0.85vw, 14px) / 1.7 var(--mono);
  white-space: pre;
  color: #e6e6e6;
}

.tok-str { color: #c6ff9e; } /* 字符串：banka 绿 */
.tok-num { color: #f3b3fb; } /* 数字：登录按钮里的粉 */
.tok-kw { color: #6cf5fb; } /* 关键字：登录按钮里的青 */
.tok-key { color: #e6e6e6; }
.tok-com { color: rgba(250, 250, 250, 0.35); }

.code__cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: #c6ff9e;
  animation: cursor-blink 1s steps(1) infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* 流动点阵方块：深底，画布铺满。 */
.tile--dots {
  background: #0e0f10;
}

.tile--dots canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 悬停揭示（柠檬女孩）：鼠标在上面时是小手、柔和放大到 103%，移开缩回。
   用单独的 scale 属性，不和滚动错层写的 transform 打架。放大时浮到最上层，缩回结束后才回原层级。 */
.tile.is-hoverable {
  cursor: pointer;
  transition: scale 0.5s cubic-bezier(0.22, 0.7, 0.2, 1), z-index 0s 0.5s;
}

.tile.is-hoverable:hover {
  scale: 1.03;
  z-index: 2;
  transition: scale 0.5s cubic-bezier(0.22, 0.7, 0.2, 1), z-index 0s;
}

/* 完成图叠在原图上，平时完整显示；扫光画布盖在最上面。 */

.tile .reveal__after {
  position: absolute;
  inset: 0;
}

.reveal__scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
