/* ============================================================
   CHRONOLO 起動時演出 (jojo-intro.css)
   出動モード(警戒レベル高)でページを開いた瞬間に1回だけ流れる
   マンガ風オープニング。jojo-intro.js から動的に生成される
   #jojo-intro-overlay に対して適用される。
   既存ページのbody/レイアウトには一切触れない。
   ============================================================ */

#jojo-intro-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle, #1a0b2e 0%, #05030a 90%);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  font-family: 'Impact', 'Arial Black', 'Hiragino Kaku Gothic ProN', sans-serif;
}
#jojo-intro-overlay.active {
  opacity: 1;
  pointer-events: auto;
  animation: jojoIntroShake 0.12s ease-in-out 0.8s 2;
}
.jojo-intro-speed-lines {
  position: absolute; width: 100%; height: 100%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.12) 0deg 1.5deg, transparent 1.5deg 3deg);
  mask-image: radial-gradient(circle, transparent 20%, black 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 20%, black 70%);
}
.jojo-intro-panel {
  position: absolute; top: 12%; left: -5%; width: 110%; height: 140px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(220,220,255,0.9));
  transform: rotate(-3deg); border-top: 4px solid #000; border-bottom: 4px solid #000;
  box-shadow: 0 0 20px rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 2;
}
.jojo-intro-phrase1 {
  font-size: 2.2rem; color: #000; font-weight: 900; letter-spacing: 2px;
  opacity: 0; transform: scale(0.8) rotate(3deg); transition: all 0.15s ease-out;
}
.jojo-intro-phrase1.show { opacity: 1; transform: scale(1) rotate(3deg); }
.jojo-intro-character {
  position: absolute; bottom: -4%; right: 0%; height: 86vh; max-width: none; z-index: 5;
  filter: brightness(0); opacity: 0; transition: filter 0.2s ease, opacity 0.2s ease;
}
.jojo-intro-character.show-silhouette { opacity: 0.6; }
.jojo-intro-character.show-full {
  opacity: 1; filter: brightness(1) drop-shadow(-8px 8px 15px rgba(0, 0, 0, 0.9));
}
.jojo-intro-phrase2-container { position: absolute; top: 38%; left: 5%; z-index: 10; }
.jojo-intro-phrase2 {
  font-size: 3.2rem; font-weight: 900; color: #facc15; transform: rotate(-4deg) scale(0.2); opacity: 0;
  text-shadow:
    4px 4px 0 #000, -4px -4px 0 #000, 4px -4px 0 #000, -4px 4px 0 #000,
    0 6px 0 #000, 6px 0 0 #000, 0 -6px 0 #000, -6px 0 0 #000,
    0 0 20px rgba(250, 204, 21, 0.6);
}
.jojo-intro-phrase2.bounce {
  opacity: 1; animation: jojoIntroPopImpact 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.jojo-intro-sfx { position: absolute; font-weight: 900; color: rgba(168, 85, 247, 0.4); user-select: none; text-shadow: 2px 2px 0 #000; }
.jojo-intro-sfx-dodo { top: 5%; left: 3%; font-size: 4rem; transform: rotate(-10deg); }
.jojo-intro-sfx-gogo { bottom: 8%; left: 8%; font-size: 3rem; }
.jojo-intro-don {
  position: absolute; bottom: 18%; left: 30%; font-size: 5.5rem; color: #dc2626; font-weight: 900;
  opacity: 0; transform: scale(2.5) rotate(-8deg); z-index: 20;
  text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000, 0 0 15px #000;
}
.jojo-intro-don.show { animation: jojoIntroDonFlash 0.15s ease-out forwards; }
.jojo-intro-flash { position: absolute; width: 100%; height: 100%; background: #fff; opacity: 0; z-index: 30; pointer-events: none; }
.jojo-intro-flash.flash { animation: jojoIntroFlashAnim 0.15s ease-out; }

@keyframes jojoIntroPopImpact { 0% { opacity: 0; transform: rotate(-4deg) scale(0.3); } 70% { transform: rotate(-4deg) scale(1.1); } 100% { opacity: 1; transform: rotate(-4deg) scale(1); } }
@keyframes jojoIntroDonFlash { 0% { opacity: 0; transform: scale(2.5) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes jojoIntroShake { 0% { transform: translate(0, 0); } 25% { transform: translate(-4px, 4px); } 50% { transform: translate(4px, -3px); } 75% { transform: translate(-3px, -4px); } 100% { transform: translate(0, 0); } }
@keyframes jojoIntroFlashAnim { 0% { opacity: 0.8; } 100% { opacity: 0; } }
