/* Opening film: keep original media proportions and existing site theme. */
#pads-intro:not([open]) { display: none; }
#pads-intro[open] { display: flex; flex-direction: column; gap: .65rem; }
#pads-intro { box-sizing: border-box; position: fixed; inset: 0; margin: auto; padding: clamp(12px, 2.4vw, 24px); width: min(94vw, 820px); max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; background: #10100f; color: #f3f0e8; border: 1px solid #ffca4e; border-radius: 16px; box-shadow: 0 22px 80px #000b; font-family: system-ui, sans-serif; }
#pads-intro::backdrop { background: rgba(0,0,0,.88); }
#pads-intro .intro-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#pads-intro h2 { margin: 0; font: 800 clamp(15px, 3vw, 21px)/1.25 system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
#pads-intro .intro-film { display: block; width: 100%; height: auto; max-height: min(59vh, 510px); max-height: min(59dvh, 510px); aspect-ratio: 512/322; object-fit: contain; background: #000; border: 0; border-radius: 8px; }
#pads-intro .intro-play, #pads-intro .intro-skip, #pads-intro .intro-help { min-height: 44px; padding: 10px 15px; border-radius: 8px; font: 700 14px/1.3 system-ui, sans-serif; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
#pads-intro .intro-skip { color: #f3f0e8; background: #222; border: 1px solid #b8b5ad; }
#pads-intro .intro-play { color: #14120d; background: #ffca4e; border: 1px solid #ffca4e; width: 100%; }
#pads-intro .intro-play[hidden], #pads-intro [hidden] { display: none !important; }
#pads-intro .intro-help { color: #ffca4e; border: 1px solid #ffca4e88; }
#pads-intro .intro-note { margin: 0; max-width: none; font: 400 13px/1.45 system-ui,sans-serif; color: #d4d0c7; }
#pads-intro button:focus-visible, #pads-intro a:focus-visible { outline: 3px solid #ffca4e; outline-offset: 3px; }
html.pads-intro-open { overflow: hidden; }
@media (max-height: 500px) and (orientation: landscape) { #pads-intro { gap: .35rem; padding: 8px 12px; } #pads-intro .intro-film { max-height: 48dvh; } #pads-intro .intro-note { font-size: 12px; } }
