/* AzArrow — 起動画面（azboot 文法・このタイトルの世界で演じる）
   世界：星図の盤面（深い藍の空＋淡い格子）。全ステージこの世界の中。 */
.azboot {
  position: fixed; inset: 0; z-index: 60;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  color: #eef4ff;
  background:
    radial-gradient(120% 90% at 50% 0%, #1d2b52 0%, #131c3a 55%, #0b1128 100%);
  opacity: 0; transition: opacity .35s ease;
}
.azboot.live { opacity: 1; }
.azboot.done { opacity: 0; pointer-events: none; }
.azb-stage {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 24px max(20px, env(safe-area-inset-bottom));
  text-align: center;
}
.azb-stage.on { display: flex; }

/* スプラッシュ（静かに） */
.azb-splash .azb-mark { width: 54px; height: 54px; object-fit: contain; opacity: .95; }
.azb-word { margin-top: 14px; font-size: 17px; font-weight: 700; letter-spacing: .42em; text-indent: .42em; }
.azb-sub { margin-top: 6px; font-size: 10px; letter-spacing: .55em; text-indent: .55em; color: #93a5d8; }

/* カード（ご注意・データ確認） */
.azb-dim { background: rgba(5, 8, 20, .45); }
.azb-card {
  width: min(330px, 100%);
  background: rgba(21, 30, 61, .72);
  border: 1px solid rgba(147, 165, 216, .28);
  border-radius: 18px;
  padding: 22px 20px 18px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}
.azb-kicker { font-size: 10px; letter-spacing: .3em; color: #7dd3fc; font-weight: 700; }
.azb-h { margin: 8px 0 12px; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.azb-body { margin: 0 0 16px; padding-left: 1.1em; font-size: 12.5px; line-height: 1.75; color: #c9d6f5; }
.azb-body li { margin-bottom: 6px; }
.azb-btn {
  display: block; width: 100%; padding: 12px; margin-top: 8px;
  border: 1px solid rgba(147, 165, 216, .35); border-radius: 999px;
  background: linear-gradient(180deg, #2f9df4, #1d7fe0);
  color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
}
.azb-btn.ghost { background: rgba(147, 165, 216, .12); }
.azb-btn.danger { background: rgba(244, 63, 94, .16); border-color: rgba(244, 63, 94, .45); color: #fda4af; }

/* タイトル */
.azb-world { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.azb-world::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(125, 211, 252, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 60% at 50% 42%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 42%, #000 30%, transparent 75%);
}
.azb-ghost { position: absolute; color: rgba(125, 211, 252, .13); font-size: 44px; }
.azb-ghost.g1 { top: 16%; left: 12%; transform: rotate(-90deg); }
.azb-ghost.g2 { top: 24%; right: 10%; transform: rotate(90deg); font-size: 30px; }
.azb-ghost.g3 { bottom: 20%; left: 18%; transform: rotate(180deg); font-size: 24px; }
.azb-brand { font-size: 10px; letter-spacing: .4em; text-indent: .4em; color: #93a5d8; font-weight: 700; margin: 0 0 18px; }
.azb-emblem {
  width: 84px; height: 84px; border-radius: 24px;
  background: linear-gradient(145deg, #2f9df4, #1e40af);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(29, 127, 224, .45), inset 0 1px 0 rgba(255,255,255,.35);
}
.azb-emblem svg { width: 52px; height: 52px; }
.azb-game { margin: 18px 0 0; font-size: 40px; font-weight: 900; letter-spacing: .02em; }
.azb-game-jp { margin: 2px 0 0; font-size: 13px; letter-spacing: .5em; text-indent: .5em; color: #a9bde8; }
.azb-catch { margin: 14px 0 26px; font-size: 13px; color: #c9d6f5; }
.azb-start {
  min-width: 210px; padding: 15px 34px; border: none; border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8, #1d7fe0);
  color: #fff; font-size: 17px; font-weight: 900; letter-spacing: .28em; text-indent: .28em;
  cursor: pointer; box-shadow: 0 12px 30px rgba(29, 127, 224, .5), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .18s cubic-bezier(.22,.8,.3,1);
}
.azb-start:active { transform: scale(.96); }
.azb-ver { position: absolute; left: 18px; bottom: max(14px, env(safe-area-inset-bottom)); font-size: 10px; color: #7c8fc4; margin: 0; }
.azb-repair {
  position: absolute; right: 14px; bottom: max(10px, env(safe-area-inset-bottom));
  background: none; border: none; color: #7c8fc4; font-size: 10.5px; padding: 6px 4px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* データ確認 */
.azb-checks { list-style: none; margin: 0 0 14px; padding: 0; font-size: 13.5px; color: #c9d6f5; }
.azb-checks li { display: flex; gap: 10px; padding: 6px 0; }
.azb-ck-st { width: 1.2em; text-align: center; color: #7dd3fc; font-weight: 800; }
.azb-bar { height: 6px; border-radius: 3px; background: rgba(147, 165, 216, .2); overflow: hidden; }
.azb-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #38bdf8, #7dd3fc); transition: width .3s ease; }
.azb-pct { margin: 8px 0 0; text-align: right; font-size: 12px; color: #93a5d8; font-variant-numeric: tabular-nums; }

/* データ修復シート */
.azb-sheet-wrap { position: absolute; inset: 0; z-index: 5; }
.azb-sheet-wrap[hidden] { display: none; }
.azb-sheet-back { position: absolute; inset: 0; background: rgba(4, 6, 16, .55); }
.azb-sheet {
  position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(340px, calc(100% - 28px));
  background: rgba(21, 30, 61, .92); border: 1px solid rgba(147, 165, 216, .3);
  border-radius: 18px; padding: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.azb-sheet-h { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.azb-sheet-note { margin: 0 0 10px; font-size: 12px; line-height: 1.7; color: #c9d6f5; text-align: left; }
