/* V1.0.61 — mode menu, mobile lobby, ghosts and final report. */
.v161Eyebrow{font-size:10px;letter-spacing:.22em;color:#b8736c;margin-bottom:14px}.v28MenuEntry small{display:block;color:#a6aaab;font-size:10px;font-weight:400;letter-spacing:.02em;margin-top:5px}.v28MainMenu .v28MenuEntry{min-height:67px;align-items:center}
#v161AutoPanel h2,#v161QuickPanel h2{font-size:clamp(26px,4vw,39px);line-height:1.1}#v161AutoPanel p,#v161QuickPanel p{font-size:13px;color:#b6b7b5;line-height:1.7}
.v161ProfileCards,.v161LaunchChoices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.v161ProfileCards button,.v161LaunchChoices button{padding:17px 14px;border:1px solid #394044;background:#10171a;color:#e3d7cc;text-align:left;border-radius:9px;cursor:pointer}.v161ProfileCards b,.v161LaunchChoices b{font-size:12px;letter-spacing:.06em;display:block}.v161ProfileCards small,.v161LaunchChoices small{font-size:11px;line-height:1.6;color:#a2aaad;display:block;margin-top:7px}.v161ProfileCards .selected{border-color:#ac493c;background:linear-gradient(120deg,#48221e,#151b1e);box-shadow:inset 3px 0 #ac493c}
.v161CountPicker{padding:17px 0;margin:18px 0;border-block:1px solid #3c3f3f}.v161CountPicker>span{font-size:13px}.v161CountPicker>div{display:flex;gap:24px;align-items:center;margin:16px 0}.v161CountPicker button,.v161LobbyAdjust button{border:1px solid #665048;background:#171c1f;color:#e9ddd2;width:44px;height:44px;border-radius:50%;font-size:24px;cursor:pointer}.v161CountPicker output{font:48px Georgia,serif;min-width:60px;text-align:center;color:#e1c7b5}.v161CountPicker small{color:#9ca4a7;font-size:10px}.v161NameLabel{display:block;font-size:11px;letter-spacing:.12em;margin:21px 0;text-transform:uppercase;color:#acb0ae}.v161NameLabel input{display:block;width:100%;padding:14px;margin-top:9px;font-size:16px;background:#10181d;border:1px solid #3a464b;border-radius:7px;color:#ece0d4}.v161ModeNote{font-size:11px!important;color:#96a2a6!important;line-height:1.6}
#v161Lobby{display:none;width:100%;max-width:650px;margin:22px auto;padding:24px 18px;background:rgba(7,12,15,.95);border:1px solid #3a4246;border-radius:12px;box-sizing:border-box}.v161AutonomousLobby #v161Lobby:not([hidden]){display:block}.v161AutonomousLobby #playerView .v28PlayerCenter,.v161AutonomousLobby #playerView .v28PlayerBottom,.v161AutonomousLobby #playerView .v28PlayerMeta,.v161AutonomousLobby #v1LobbyExperience{display:none!important}
#v161Lobby h2{font:38px/1.08 Georgia,serif;margin:10px 0 25px}.v161RoomCode{display:flex;flex-wrap:wrap;gap:15px;align-items:center;padding-bottom:18px;border-bottom:1px solid #384249}.v161RoomCode>span{flex-basis:100%;font-size:9px;letter-spacing:.18em;color:#a2afb3}.v161RoomCode strong{font:34px monospace;letter-spacing:.12em;color:#e0c8b4}.v161RoomCode button{background:#19262d;border:1px solid #45545d;border-radius:5px;color:#bfcacc;padding:11px 15px;font-size:10px;cursor:pointer;margin-left:auto}.v161LobbyCount{display:flex;gap:16px;align-items:center;margin:23px 0}.v161LobbyCount b{font-size:27px;color:#d4bda8}.v161LobbyCount span{font-size:12px;color:#a9b3b6}.v161LobbyRoster{max-height:300px;overflow:auto}.v161LobbyRoster>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #29363b}.v161LobbyRoster span{font-size:14px}.v161LobbyRoster b{font-size:10px;align-self:center;color:#b58e74}.v161LobbyRoster .ready{color:#94b59d}#v161Lobby>p,.v161LobbyAdjust p{font-size:12px;line-height:1.7;color:#a9b4b6;margin:23px 0}.v161LobbyAdjust{font-size:12px;color:#aab2b5;margin-top:20px}.v161LobbyAdjust>div{display:flex;align-items:center;gap:24px;padding:15px 0}
.v161Eliminated #playerView .v28PlayerMain #buzzBtn,.v161Eliminated #playerView .v28PlayerMain #progressDots,.v161Eliminated #playerView .v28PlayerMain #v41FragmentBadge,.v161Eliminated #playerView .v28PlayerMain #playerBonusBadge,.v161Eliminated #playerView .v28PlayerMain #v154ProtectionHelp,.v161Quick #playerView .v28PlayerMain #v41FragmentBadge,.v161Quick #playerView .v28PlayerMain #playerBonusBadge,.v161Quick #playerView .v28PlayerMain #v154ProtectionHelp{display:none!important}
.v161Eliminated #redlightState,.v161Eliminated #redlightBar,.v161Eliminated #sensorCard,.v161Eliminated #v114ObjectiveHelp,.v161Eliminated #v114MissionTracker,.v161Eliminated #v1GhostButton,.v161Quick #v114ObjectiveHelp,.v161Quick #v114MissionTracker,.v161Quick #v161EvidenceBoard,.v161Quick #v114SecondaryHost,.v161Quick #hostPanelStory,.v161Quick #v41MissionCard{display:none!important}
.v161Quick #hostView [onclick*="Story"],.v161Quick #hostView [onclick*="launchFinaleProtocol"],.v161Quick #hostView [onclick*="startLobbyRitual"]{display:none!important}
.v161Eliminated #playerView,.v161AutonomousLobby #playerView{overflow-y:auto!important;overscroll-behavior:contain!important}.v161Eliminated #playerView .v28PlayerMain,.v161AutonomousLobby #playerView .v28PlayerMain{height:auto!important;min-height:calc(100dvh - 70px)!important;overflow:visible!important;display:flex!important;flex-direction:column!important;gap:14px!important}.v161Eliminated #playerView .v28PlayerCenter{height:auto!important;min-height:0!important;overflow:visible!important;padding:16px 0 8px!important;flex:0!important}.v161Eliminated #playerView .v28PlayerMessage{font-size:32px!important}.v161Eliminated #playerView .v28PlayerBottom{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;padding-bottom:35px!important}
#v161ArchivePanel{background:rgba(8,15,18,.94);border:1px solid #454b46;border-radius:10px;padding:22px;width:100%;box-sizing:border-box}#v161ArchivePanel[hidden],#v161ArchiveChoices[hidden],#v161Receipt[hidden]{display:none!important}#v161ArchivePanel h3{font:23px Georgia,serif;margin:8px 0 14px}#v161ArchivePanel p,#v161ArchiveState{font-size:12px;line-height:1.7;color:#b9c1bb}#v161ArchiveState{padding:12px 0;color:#d2b99e}#v161ArchiveChoices{display:grid;gap:10px;grid-template-columns:1fr 1fr}#v161ArchiveChoices button,.v161ConclusionChoices button{background:#152127;border:1px solid #49585e;border-radius:7px;color:#e1dfd8;padding:15px 12px;min-height:52px;font-size:14px;text-align:left;cursor:pointer}#v161ArchiveChoices button:disabled,.v161ConclusionChoices button:disabled{opacity:.5}#v161MemorySeal{padding:25px 10px;font-size:30px;letter-spacing:.16em;text-align:center;color:#dec4a2}
#v161EvidenceBoard{width:100%;padding:18px;border:1px solid #3d4848;border-radius:8px;box-sizing:border-box;color:#b1bec0;font-size:12px}#v161EvidenceBoard summary{font-size:11px;letter-spacing:.1em;color:#d3c6b4;cursor:pointer}#v161EvidenceBoard p{line-height:1.7}#v161EvidenceList article{padding:14px 0;border-top:1px solid #354343}#v161GhostStatus{color:#bdb5aa;font-size:11px;line-height:1.7}#v161Receipt{padding:13px 15px;margin-top:15px;border-left:2px solid #9b7d62;background:#101b20;color:#b9c4c7;text-align:left;font-size:12px;line-height:1.65}#v161Receipt b{color:#d5bfa4}
#v161EndPanel{display:none;position:fixed;inset:0;z-index:2147483000;overflow:auto;box-sizing:border-box;padding:clamp(16px,4vw,50px);background:rgba(3,7,10,.99);color:#e1d7c9}#v161EndPanel.on{display:block}.v161EndCard{max-width:780px;margin:4vh auto;padding:clamp(23px,5vw,48px);border:1px solid #454b49;border-radius:12px;background:#0c1418 url('bg_pages_v28.webp') center/cover;box-shadow:0 20px 80px #000}.v161EndCard h2{font:clamp(35px,8vw,58px)/1.1 Georgia,serif;margin:15px 0}.v161EndCard>p{font-size:12px;line-height:1.7;color:#adb9b8}.v161SummaryGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:30px 0}.v161SummaryGrid>div{border-top:1px solid #55594f;padding-top:14px}.v161SummaryGrid span{font-size:10px;color:#9eaeaf;display:block}.v161SummaryGrid strong{display:block;font:30px Georgia,serif;color:#d8bd9d;margin-top:10px}.v161EndCard details{font-size:12px;line-height:1.8}.v161EndCard summary{cursor:pointer;color:#cecabd}.v161EndActions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.v161EndActions button{padding:13px 17px;border:1px solid #575d52;border-radius:6px;color:#ded8c9;background:#222c2f;font-size:10px;cursor:pointer}.v161EndNote{font-size:11px!important;color:#97a8a9!important}.v161ConclusionChoices{display:grid;gap:10px}#v161EndInvestigation h3{font:22px Georgia,serif;margin-top:26px}#v161EndInvestigation p{font-size:12px;color:#b2bdbb;line-height:1.7}.v161Ranking p{display:flex;justify-content:space-between;border-bottom:1px solid #344347;padding:12px 0;font-size:13px}
@media(max-width:600px){.v28MainMenu .v28MenuEntry{min-height:62px}.v161ProfileCards,.v161LaunchChoices{gap:8px}.v161ProfileCards button,.v161LaunchChoices button{padding:13px 10px}.v161SummaryGrid{grid-template-columns:1fr 1fr}#v161ArchiveChoices{grid-template-columns:1fr}.v161EndCard{margin:12px auto}#v161Lobby h2{font-size:33px}#v161ArchivePanel{padding:18px}}
/* Override the fixed V54 player layout for lobby and spectator reading. */
html body.v161Eliminated #playerView.v154Player:not(.hidden),html body.v161AutonomousLobby #playerView.v154Player:not(.hidden){overflow-y:auto!important;overscroll-behavior:contain!important;touch-action:pan-y!important}
html body.v161Eliminated #playerView.v154Player .v28PlayerMain,html body.v161AutonomousLobby #playerView.v154Player .v28PlayerMain{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;height:auto!important;min-height:calc(100dvh - 80px)!important;max-height:none!important;overflow:visible!important;gap:16px!important}
html body.v161Eliminated #playerView.v154Player .v28PlayerCenter{overflow:visible!important;min-height:0!important;flex:0 0 auto!important;padding:18px 0 8px!important}
html body.v161Eliminated #playerView.v154Player .v28PlayerBottom{display:flex!important;flex-direction:column!important;gap:16px!important;max-height:none!important;overflow:visible!important;padding-bottom:30px!important}
html body.v161Eliminated #playerView.v154Player .v154Resources,html body.v161Quick #playerView.v154Player .v154Resources,html body.v161Eliminated #playerView.v154Player #sensorCard,html body.v161Eliminated #playerView.v154Player #redlightState,html body.v161Eliminated #playerView.v154Player #redlightBar{display:none!important}
html body.v161AutonomousLobby #playerView.v154Player .v28PlayerMeta,html body.v161AutonomousLobby #playerView.v154Player .v28PlayerCenter,html body.v161AutonomousLobby #playerView.v154Player .v28PlayerBottom{display:none!important}

/* The archived window screamer has a poster only; animate it without a missing GIF request. */
#gifScareImage.v161MotionPoster{animation:v161WindowApproach 3s cubic-bezier(.16,.75,.16,1) both;transform-origin:50% 44%}
@keyframes v161WindowApproach{0%{transform:scale(1.02)}12%{transform:scale(1.24)}23%{transform:scale(1.18)}100%{transform:scale(1.3)}}

.v161LobbySensors{margin-top:20px;font-size:12px;color:#aab5b7}.v161LobbySensors p{font-size:11px;line-height:1.7}.v161LobbySensors button{min-height:44px;padding:10px 14px;color:#dcd2c5;border:1px solid #576568;background:#17232a;border-radius:6px;font-size:11px}
.v161EndCard{background:linear-gradient(rgba(7,13,16,.89),rgba(7,13,16,.95)),url('bg_pages_v28.webp') center/cover}
