/* v28 entry: hidden door styles. Only active while the hero is in night mode. */
.hero-sky.is-door-ready { pointer-events:auto; }
.hero-sky.is-door-ready .dipper-star { cursor:pointer; r:5; }
.hero-sky.is-door-ready .dipper-star:focus-visible { outline:none; stroke:#f6c96c; stroke-width:2; }
.hero-sky .dipper-hit { fill:transparent; pointer-events:none; }
.hero-sky.is-door-ready .dipper-hit { pointer-events:all; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.hero-sky .dipper-star.is-hit { fill:#ef7d32; }
.hero-sky .dipper.is-open .dipper-line { stroke:#ef7d32; stroke-width:2; stroke-dashoffset:0; animation:doorFlash .9s ease both; }
.hero-sky .dipper.is-open .dipper-star { animation:none; opacity:1; }
@keyframes doorFlash { 0% { opacity:1; stroke:#ef7d32; } 100% { opacity:.8; stroke:#f6c96c; } }
.room-door { position:absolute; left:0; right:0; top:100%; margin-top:6px; text-align:center; font:700 12px/1 ui-monospace,monospace; letter-spacing:.14em; color:#ef7d32; text-decoration:none; }
.room-door::before { content:"→ "; }
.room-door:hover, .room-door:focus-visible { color:#f6c96c; outline-color:#f6c96c; }
.room-door[hidden] { display:none; }
/* 指で押しやすい高さを確保（見た目の文字サイズは変えない）。 */
.room-door { position:absolute; display:block; top:100%; padding:14px 0; margin:38px 0 0; min-height:44px; }
/* v40: 夜空が見えている間はスマホのページ内メニューを退避（星・扉との重なり防止）。 */
@media (max-width:1100px) {
  .section-nav { transition: opacity .2s, visibility .2s; }
  body.sky-focus .section-nav { opacity:0; visibility:hidden; pointer-events:none; }
}
@media (prefers-reduced-motion:reduce) { .section-nav { transition:none; } }
/* v37: 夜だけの短い案内と、星の操作反応。 */
.sky-help { position:absolute; left:0; right:0; top:100%; margin:8px 0 0; color:#dce5f3; font:12px/1.6 "Hiragino Sans",sans-serif; text-align:right; letter-spacing:.03em; text-shadow:0 1px 6px rgba(11,19,38,.9); }
.sky-help[hidden] { display:none; }
.hero-sky.is-door-ready .dipper-star { transition:fill .18s, filter .18s; }
.hero-sky.is-door-ready .dipper-star.is-target,
.hero-sky.is-door-ready .dipper-star:hover,
.hero-sky.is-door-ready .dipper-star:focus-visible { fill:#f6c96c; stroke:#f6c96c; stroke-width:3; filter:drop-shadow(0 0 5px #f6c96c); }
.hero-sky.is-door-ready .dipper-star:focus-visible { stroke-width:5; }
@media (prefers-reduced-motion:reduce) { .hero-sky.is-door-ready .dipper-star { transition:none; } }
.not-found .dipper-door { display:block; width:200px; margin:0 0 30px auto; }
.not-found .dipper-door .dipper { margin:0; }
.not-found .dipper-door:focus-visible { outline:3px solid #f6c96c; outline-offset:6px; }
.not-found .dipper-door:hover .dipper-line { stroke:#ef7d32; }
@media (prefers-reduced-motion: reduce) { .hero-sky .dipper.is-open .dipper-line { animation:none; stroke:#ef7d32; } }
