.power-meter strong{font-size:clamp(12px,1.5vw,18px)}

.usage-meter{left:2%;bottom:7%;display:flex;align-items:center;gap:3px;flex-direction:row-reverse}

.usage-meter img:first-child{width:clamp(60px,8vw,103px);height:auto}

.usage-meter img:last-child{width:clamp(42px,5.6vw,72px);height:auto}

.meter:nth-child(2){bottom:2%;left:2%;transform:none}

.meter:nth-child(3){bottom:7%;left:2%;transform:none}

.hidden{display:none!important}


@media (orientation:portrait){.menu-screen{background-size:auto 42%;background-position:right top;background-repeat:no-repeat;background-color:#000}.menu-screen:before{background:linear-gradient(90deg,#000 0%,#000e 42%,#0005 78%,transparent 100%)}.scene-image{object-fit:cover;object-position:center}.sprite-control{height:22%;max-width:11vw;top:40%}.fan-frame{left:45%;top:53%;width:12%;height:27%;mix-blend-mode:screen}.power-meter{bottom:2%}.usage-meter{bottom:7%}.left-light-control,.right-light-control{height:16%;top:45%}.monitor-handle{width:min(70vw,600px);height:auto;aspect-ratio:10/1}.camera-map>img{width:min(54vw,240px);right:1%;bottom:2%}.camera-map .camgrid{width:min(54vw,240px);height:min(54vw,240px);right:1%;bottom:2%}.menu-layout{padding:16px}.menu-options{margin-top:clamp(165px,38vh,320px)}.menu-star{left:clamp(170px,48vw,220px);top:clamp(345px,45vh,440px);width:36px}.menu-option{font-size:clamp(17px,4vw,24px)}}


@media (orientation:landscape) and (max-height:500px){.menu-layout{padding:12px 24px}.menu-options{margin-top:22vh}.menu-option{font-size:clamp(14px,3vh,20px);padding:1px 0}.menu-footer{padding-top:2px}.monitor-handle{height:auto;aspect-ratio:10/1}.sprite-control{height:30%;top:35%}.left-light-control,.right-light-control{height:23%;top:39%}}


@media (max-aspect-ratio:3/4){.scene-image{object-position:center}.camview img{object-fit:contain}}


@media (prefers-reduced-motion:reduce){.newspaper,.night-card{animation:none!important}}


/* Title-screen correction: no invented full-screen white glitch flashes. */
/* glitch enabled for title blip */.menu-freddy-frame{mix-blend-mode:screen;opacity:.58}

.menu-grain{opacity:.018;animation:none}

.menu-scanbar{opacity:.025;box-shadow:none}


/* Use the extracted title logo and original pixel-text button sprites. */
.menu-logo{width:201px;height:212px;min-height:0;flex:0 0 auto;margin:0 0 8px}

.menu-logo-art{display:block;width:201px;height:212px;object-fit:contain;image-rendering:pixelated;opacity:.96}

.menu-options{margin-top:4px;gap:0}

.menu-option{min-width:0;min-height:29px;padding:1px 0 1px 0;display:flex;align-items:center;line-height:1.2;color:#ddd;text-shadow:none}

.menu-option:before{flex:0 0 auto;background-size:contain;width:0;height:20px}

.menu-option-image{width:220px;height:39px;justify-content:flex-start}

.menu-option-image img{display:block;width:203px;height:33px;object-fit:contain;object-position:left center;image-rendering:pixelated;filter:brightness(.8)}

.menu-option-image:hover img,.menu-option-image:focus-visible img{filter:brightness(1.15)}

.menu-option-image:before{position:absolute;margin-left:-26px}

.menu-option-image:first-child:before{width:22px;margin-right:4px;opacity:1}

.menu-option-text{font-family:monospace;font-size:clamp(15px,1.8vw,21px);font-weight:700;letter-spacing:0;text-transform:none;padding-left:2px}

.menu-option-text:before{background-image:url('/fnaf1/assets/fnaf/Images/Title/Selector.webp')}

.menu-option-text:hover:before,.menu-option-text:focus-visible:before{width:22px;margin-right:4px}

.menu-footer{margin-top:auto}

.menu-freddy-frame{object-fit:cover;object-position:center;opacity:.58;mix-blend-mode:screen}

.menu-screen:before{background:linear-gradient(90deg,#000 0%,#000b 24%,#0005 48%,transparent 72%)}


@media (pointer:coarse) and (max-width:900px){.menu-logo{width:151px;height:159px}.menu-logo-art{width:151px;height:159px}.menu-options{margin-top:4px}.menu-option-image{width:190px;height:35px}.menu-option-image img{width:180px;height:30px}.menu-option-text{font-size:18px}}



.sprite-control{display:none!important}

.sprite-panel{position:absolute;top:40%;height:24%;width:auto;max-width:8vw;aspect-ratio:92/247;object-fit:contain;z-index:1;pointer-events:none}

.left-panel{left:0}

.right-panel{right:0}

.control-hit{position:absolute;width:min(8vw,92px);height:12%;padding:0;border:0;background:transparent;box-shadow:none;z-index:2;touch-action:manipulation}

.control-hit:focus-visible{outline:2px solid #ddd}

.left-door-hit{left:0;top:40%}

.left-light-hit{left:0;top:52%}

.right-door-hit{right:0;top:40%}

.right-light-hit{right:0;top:52%}

@media (orientation:portrait){.sprite-panel{max-width:11vw;height:22%;top:40%}.control-hit{width:11vw;height:11%}.left-door-hit,.right-door-hit{top:40%}.left-light-hit,.right-light-hit{top:51%}}



/* Reconstruct the 1280x720 Clickteam composition responsively; keep scenery and overlays in their own coordinate spaces. */
.menu-layout{width:100%;height:100%;min-height:100dvh;padding:clamp(24px,4.2vw,58px);padding-top:clamp(26px,5vh,54px)}


.menu-logo{width:201px;height:212px;min-height:0;flex:0 0 auto;margin:0 0 0}


.menu-logo-art{width:201px;height:212px;object-fit:contain;object-position:left top}


.menu-options{margin-top:clamp(96px,17vh,145px);gap:0}


.menu-option-image{height:38px;width:224px}


.menu-option-image img{width:203px;height:33px;object-fit:contain;object-position:left center}


.menu-option-text{font-size:19px;min-height:32px}


.menu-freddy-frame{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.5;mix-blend-mode:screen}


.menu-screen:before{background:linear-gradient(90deg,#000 0%,#000b 25%,#0006 52%,transparent 78%)}


.menu-footer{margin-top:auto}
