.next-header{color:#c9f534!important;font-size:.8rem!important;font-weight:800;letter-spacing:.16em}
.container>nav{flex-wrap:wrap;flex-direction:row}.container>nav .nav-btn{flex:1 1 130px}
.chapter-label{display:block;font-size:.72rem;font-weight:800;letter-spacing:.2em;color:#5e735f;margin-bottom:16px}
.mystery-hero{position:relative;isolation:isolate;overflow:hidden;text-align:center;background:#101b15;border-radius:18px;padding:60px 24px 38px;color:#fff}
.mystery-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 75% 30%,#334824 0,transparent 55%),linear-gradient(110deg,transparent 70%,#c9f53408 70%)}
.mystery-hero .chapter-label,.registration-closed .chapter-label{color:#c9f534}
.mystery-mark{position:absolute;right:3%;top:-45px;font-size:360px;line-height:1;font-weight:900;color:#c9f5340b;z-index:-1}
.mystery-hero h2{font-size:clamp(2.3rem,6.5vw,4.8rem);line-height:1.04;letter-spacing:-.04em;margin-bottom:24px;color:#fff}
.mystery-hero h2 span{color:#c9f534}.mystery-hero>p{max-width:590px;margin:0 auto 26px;line-height:1.7;color:#d5dfd6}
.mystery-details{display:flex;justify-content:center;flex-wrap:wrap;gap:30px;margin:32px auto;font-size:.68rem;letter-spacing:.15em;color:#a5b6a7}
.mystery-details strong{display:block;font-size:1rem;letter-spacing:.05em;color:#f5f8f4;margin-top:8px}
.action-primary,.action-secondary{display:inline-block;border-radius:9px;padding:14px 22px;text-decoration:none;font:700 .95rem 'Segoe UI',sans-serif;cursor:pointer;border:1px solid transparent}
.action-primary{color:#132014;background:#c9f534}.action-primary:hover{background:#d8ff62}
.action-secondary{color:#254735;background:#edf4ef;border-color:#c8d8cd}.action-secondary:hover{background:#ddece1}
.mystery-hero .hero-note{font-size:.78rem;margin:18px auto 0;color:#98ac9b}
.memory-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:28px;border:1px solid #dfe8df;border-radius:14px;background:#f7faf6}
.memory-card .chapter-label{margin-bottom:8px}.memory-card h3{font-size:1.3rem;color:#1f3829;margin-bottom:9px}.memory-card p{color:#5f7265;line-height:1.6}
.registration-closed .action-secondary{display:block;width:fit-content;margin:20px auto 0;border-color:#586949;background:transparent;color:#c9f534}
.gallery-heading{text-align:center;margin:10px 0 28px}.gallery-heading h2{font-size:clamp(1.7rem,4vw,2.6rem);color:#1b3324;margin-bottom:12px}.gallery-heading>p{color:#526858;line-height:1.65}
.gallery-heading .gallery-description{margin-top:12px}.gallery-status{text-align:center;padding:16px;color:#526858}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photo-card{border:1px solid #dfe8df;border-radius:12px;overflow:hidden;background:#fff}
.photo-open{display:block;border:0;padding:0;width:100%;background:#edf4ef;cursor:zoom-in;aspect-ratio:4/3;overflow:hidden}.photo-open img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.photo-open:hover img{transform:scale(1.04)}
.photo-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px;font-size:.85rem;color:#526858}.photo-footer a{font-weight:700;color:#254735;text-decoration:none;padding:5px}.photo-footer a:hover{text-decoration:underline}
.gallery-more{display:flex;justify-content:center;gap:12px;margin:28px 0}.gallery-more [hidden]{display:none}
.photo-viewer{background:#111b15;color:#fff;width:min(1100px,96vw);max-width:96vw;max-height:94vh;margin:auto;padding:16px;border:1px solid #57634a;border-radius:14px}.photo-viewer::backdrop{background:#000d}
.viewer-header,.viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewer-header{margin-bottom:12px}.viewer-header p{font-size:.85rem;color:#d6e3d7}.viewer-image{display:block;width:100%;height:min(65vh,750px);object-fit:contain;background:#0a110c}
.viewer-footer{margin-top:14px;flex-wrap:wrap}.viewer-button{color:#fff;background:#26372a;border:1px solid #62745b;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}.viewer-button:disabled{opacity:.35;cursor:default}
.photo-viewer .action-primary{padding:10px 16px}button:focus-visible,a:focus-visible{outline:3px solid #638e19;outline-offset:4px}
@media(max-width:800px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-card{flex-direction:column;text-align:center}.mystery-hero{padding-top:45px}.container>nav .nav-btn{padding:13px 9px;font-size:.85rem;flex:1 1 40%}.container>nav .nav-btn.active{border-left:0;border-bottom:3px solid #667eea}}
@media(max-width:480px){body{padding:10px}.gallery-grid{grid-template-columns:1fr}.mystery-details{gap:20px}.memory-card{padding:22px 16px}.viewer-footer{justify-content:center}.viewer-header p{max-width:75%}}
@media(prefers-reduced-motion:reduce){.padel-ball{animation:none}.photo-open img{transition:none}}
