/* 启动屏：暖白纸面 + 像素方块加载动画
   规则：无渐变、无发光、无模糊阴影、圆角为 0 */

.boot {
  --paper: #F7F5F2;
  --ink: #2C241E;
  --ink-2: #6B6157;
  --accent: #C85F28;

  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' shape-rendering='crispEdges'%3E%3Cpath d='M16 0H0v16' fill='none' stroke='%23EDE8E0' stroke-width='1'/%3E%3C/svg%3E");
  transition: opacity .45s steps(6, end);
}
.boot.is-leaving { opacity: 0; pointer-events: none; }

.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(92vw, 520px);
  text-align: center;
}

.boot-mark {
  display: flex;
  color: var(--ink);
}

.boot-title {
  font-family: var(--font-pixel);
  font-size: clamp(30px, 8vw, 52px);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}
.boot-title-en { color: var(--ink-2); }

.boot-sub {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--ink-2);
}

/* ── 进度条：像素凹槽，填充为实色 ── */
.boot-bar {
  width: 100%;
  height: 16px;
  margin-top: 32px;
  background: #EDE8E0;
  border: 2px solid var(--ink);
  border-radius: 0;
  overflow: hidden;
}
.boot-bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .18s steps(6, end);
}

.boot-pct {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--ink);
}

/* ── 像素方块跳动 ── */
.boot-blocks {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.boot-blocks i {
  width: 8px;
  height: 8px;
  background: var(--accent);
  animation: boot-hop 1.1s steps(2, end) infinite;
}
.boot-blocks i:nth-child(2) { animation-delay: .15s; }
.boot-blocks i:nth-child(3) { animation-delay: .3s; }
@keyframes boot-hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.boot-tip {
  font-size: 13px;
  color: var(--ink-2);
  min-height: 20px;
}

.boot-ver {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #A79E92;
}
