/* PHOENIX'S ENTRANCE (js/phoenix-intro.js): the cover and the film over the front page. A stylesheet of its own,
   linked in phoenix/index.html's head before the script, because the Content-Security-Policy allows no inline style
   (PX-4 of the 2026-10-06 review); the script used to add these rules as a <style> element. The fade (900ms) is the
   script's FADE_MS: change both together. */
html.ph-intro-up, html.ph-intro-up body { overflow: hidden !important; }
html.ph-intro-wait body { visibility: hidden; }
.ph-intro { position: fixed; inset: 0; z-index: 2147483000; background: #0b0608; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 900ms ease; visibility: visible; }
.ph-intro.out { opacity: 0; pointer-events: none; }
.ph-intro video { width: 100%; height: 100%; object-fit: cover; background: #0b0608; }
.ph-intro .ph-intro-bar { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 16px; transition: opacity .4s; }
.ph-intro.ending .ph-intro-bar { opacity: 0; }
.ph-intro button { font: 600 15px/1 system-ui, sans-serif; letter-spacing: .02em; color: #fff3e0; background: rgba(11, 6, 8, .62); border: 1px solid rgba(255, 170, 90, .45); border-radius: 999px; padding: 11px 20px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ph-intro button:hover, .ph-intro button:focus-visible { background: rgba(48, 16, 8, .82); outline: none; border-color: #ffb36b; }
.ph-intro button[hidden] { display: none; }
@media (max-width: 480px) { .ph-intro .ph-intro-bar { gap: 8px; } .ph-intro button { font-size: 14px; padding: 10px 14px; } }
