/* R14. One line dissolves directly. Copy and logo share a single 5-second clock. */
.pnm-home-hero {position:relative;}
.pnm-opening {display:none;}
html.pnm-opening-pending .pnm-home-hero .pnm-opening[hidden] {display:block!important;}
html.pnm-opening-pending .pnm-opening,.pnm-opening.is-preparing,.pnm-opening.is-running {position:absolute;inset:0 0 auto;height:var(--pnm-height,calc(100svh - 88px));z-index:20;display:block;overflow:hidden;pointer-events:none;}
.pnm-opening__art {position:absolute;inset:0;isolation:isolate;}
.pnm-opening__backdrop {position:absolute;inset:0;background:radial-gradient(ellipse 64% 26% at 50% 61%,#fff 0%,#edf6fb 58%,#48677e 83%,#07131c 100%);}
.pnm-opening__halo {position:absolute;inset:40% 4% 8%;background:radial-gradient(ellipse at 50% 50%,#fff 0,#f5fcffb0 28%,transparent 69%);filter:blur(18px);}
.pnm-opening__particles {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
/* Never wrap, reorder, or translate the solid opening sentence. */
.pnm-opening__copy {position:absolute;left:50%;top:29%;width:max-content;max-width:none;white-space:nowrap!important;font:700 clamp(16px,4.2vw,60px)/1.3 PnmNotoR10,'Noto Sans JP',sans-serif;letter-spacing:.025em;color:#80c9f5;transform:translateX(-50%);opacity:0;will-change:opacity;}
/* R14: literal final-heading styling, inline on one baseline. The backdrop is dark
   behind the supplied pale-blue/gold letter faces and bright behind the official blue logo. */
.pnm-home-hero[data-pnm-hero] .pnm-opening__copy > .pnm-r10-head-line {display:inline-block;width:auto;max-width:none;vertical-align:baseline;margin:0;padding:0;}
.pnm-home-hero[data-pnm-hero] .pnm-opening__copy > .pnm-r10-head-last {display:inline-flex;align-items:baseline;font-size:.666666667em;margin:0;}
.pnm-home-hero[data-pnm-hero] .pnm-opening__copy .pnm-r10-core {font-size:1.5em;}
/* Readiness never paints an unfinished copy. Late font completion cannot swap glyphs mid-flight. */
.pnm-opening.is-preparing .pnm-opening__copy,.pnm-opening.is-preparing .pnm-opening__brand {opacity:0!important;}
.pnm-opening-font-fallback .pnm-opening__copy,.pnm-opening-font-fallback .pnm-home-hero__copy h1,.pnm-opening-font-fallback .pnm-home-hero__copy h1 * {font-family:'Noto Sans CJK JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif!important;}
.pnm-opening__brand {position:absolute;left:50%;top:57%;width:clamp(300px,62vw,880px);max-width:88%;transform:translate(-50%,-50%);opacity:0;will-change:opacity;mix-blend-mode:multiply;}
.pnm-opening__brand img {display:block;width:100%;height:auto;}

.pnm-opening__logo-crop {position:relative;width:100%;aspect-ratio:1622/329;overflow:hidden;}
.pnm-opening__brand .pnm-opening__logo-crop img {position:absolute;display:block;width:126.263871763%;max-width:none;height:auto;left:-9.186189889%;top:-196.352583587%;}
/* Only a 2% margin surrounds the official mark. The beam cannot run across the page. */
.pnm-opening__gleam {position:absolute;inset:-3px -2%;overflow:hidden;pointer-events:none;mix-blend-mode:screen;}
.pnm-opening__gleam::before {content:'';position:absolute;top:-12%;height:124%;left:-14%;width:14%;opacity:0;background:linear-gradient(105deg,transparent 0%,#dff7ff80 28%,#ffffffd9 48%,#e4f8ff80 68%,transparent 100%);}
.pnm-opening.is-running .pnm-opening__gleam::before {animation:pnm-logo-gleam-r14 5000ms linear both;}
@keyframes pnm-logo-gleam-r14 {0%,8%{left:-14%;opacity:0}12%{opacity:.78}42%{opacity:.78}46%,100%{left:102%;opacity:0}}
.pnm-opening__skip {position:absolute;right:24px;bottom:24px;min-width:88px;min-height:44px;padding:10px 18px;border:1px solid #7e9bb1;border-radius:30px;background:#fffffff0;color:#1a3e58;font:500 12px/1.5 sans-serif;cursor:pointer;pointer-events:auto;}
.pnm-opening__skip:focus-visible {outline:3px solid #143dc7!important;outline-offset:4px;}
html.pnm-opening-pending .pnm-home-hero__copy h1 {opacity:0;}
.pnm-home-hero[data-pnm-opening-active] .pnm-home-hero__copy h1 {opacity:var(--pnm-opening-title-alpha,0);}
@media(max-width:767px){.pnm-opening__copy{top:28%;font-size:clamp(16px,5.5vw,32px);}.pnm-opening__backdrop{background:radial-gradient(ellipse 85% 25% at 50% 57%,#fff 0%,#edf6fb 58%,#48677e 83%,#07131c 100%);}.pnm-opening__brand{top:53%;width:88%;max-width:none;}.pnm-opening__skip{right:16px;bottom:16px;}}
.reduced-motion .pnm-opening {display:none!important;}
.reduced-motion .pnm-home-hero__copy h1 {opacity:1!important;}
@media(prefers-reduced-motion:reduce){.pnm-opening{display:none!important;}.pnm-home-hero__copy h1{opacity:1!important;}}
@media(forced-colors:active){.pnm-opening__copy,.pnm-opening__copy .pnm-r10-ice,.pnm-opening__copy .pnm-r10-core{background:none!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;filter:none!important;}}


/* Replay R3: one row at the video controls; no extra strip after the stage. */
.pnm-home-hero[data-pnm-hero] .pnm-hero-playback {
 display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px;
 align-self:center; order:2; margin:0 auto 24px; padding-inline:6px; box-sizing:border-box; max-width:100%;
}
.pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-home-hero__toggle,
.pnm-home-hero[data-pnm-hero][data-pnm-r10][data-pnm-r16]:not(.is-compact) .pnm-hero-playback > .pnm-home-hero__toggle {
 position:static; inset:auto; transform:none; align-self:center; margin:0; order:0;
}
.pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-home-hero__fullscreen {
 margin:0; align-self:center; order:2; white-space:nowrap;
}
.pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-opening-replay {
 order:1; display:inline-flex; align-items:center; justify-content:center; gap:11px;
 min-height:54px; min-width:148px; padding:12px 20px; box-sizing:border-box;
 border:1px solid #78accb; border-radius:999px; margin:0;
 background:linear-gradient(180deg,#294d63,#0d2537 49%,#081b29 51%,#183e56);
 box-shadow:inset 0 1px 0 #adcde45c,0 3px 8px #0007;
 font:700 18px/1.3 PnmNotoR10,'Noto Sans JP',sans-serif;
 color:#9bceec; cursor:pointer; white-space:nowrap;
}
.pnm-opening-replay svg{flex:none;}
.pnm-hero-playback > .pnm-opening-replay:focus-visible{outline:3px solid #fff;outline-offset:4px;}
@media(hover:hover) and (pointer:fine){
 .pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-opening-replay:hover{color:#ffe0a4;border-color:#e2aa62;}
}
.pnm-home-hero[data-pnm-hero] .pnm-hero-playback > button[hidden],
.pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-opening-replay:disabled{display:none!important;}
.pnm-hero-playback:not(:has(>button:not([hidden]))){display:none!important;}
html.pnm-opening-pending .pnm-home-hero .pnm-hero-playback,
.pnm-home-hero[data-pnm-opening-active] .pnm-hero-playback{visibility:hidden;}
@media(min-width:1024px) and (min-height:601px){
 .pnm-home-hero[data-pnm-hero]:not(.is-compact) .pnm-hero-playback {
  position:absolute; left:50%; bottom:3.2%; z-index:3; transform:translateX(-50%); margin:0;
 }
}
@media(max-width:1023px),(max-height:600px){
 .pnm-home-hero[data-pnm-hero] .pnm-hero-playback{gap:8px;}
 .pnm-home-hero[data-pnm-hero][data-pnm-r10][data-pnm-r16] .pnm-hero-playback > .pnm-home-hero__toggle[data-pnm-r16-action],
 .pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-opening-replay {
  min-height:44px; min-width:104px; padding:8px 11px; gap:8px;
 }
 .pnm-home-hero[data-pnm-hero][data-pnm-r10][data-pnm-r16] .pnm-hero-playback > .pnm-home-hero__toggle[data-pnm-r16-action]::after,
 .pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-opening-replay{font-size:14px;}
}
@media(forced-colors:active){
 .pnm-home-hero[data-pnm-hero] .pnm-hero-playback > .pnm-opening-replay{
  color:ButtonText;background:ButtonFace;border-color:ButtonText;box-shadow:none;
 }
 .pnm-hero-playback > .pnm-opening-replay:focus-visible{outline-color:Highlight;}
}
