body{margin:0;background-color:#050505;color:#e2e8f0;font-family:Courier New,Courier,monospace,Microsoft YaHei;overflow-x:hidden}.spooky-game-container{min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;background-color:#080808;background-image:radial-gradient(circle,#141414cc,#000000f2);position:relative;transition:background .3s ease}.light-on .flashlight-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background:radial-gradient(circle 350px at 50% 50%,#fffddc1f,#000000eb 80%);z-index:1;mix-blend-mode:screen}.light-off .flashlight-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background:#000000fa;z-index:1}.game-header{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;background:#0f0f0fe6;border-bottom:2px solid #222;z-index:10}.logo-area{display:flex;align-items:center;gap:10px}.icon-ghost{width:28px;height:28px;filter:drop-shadow(0 0 8px #ef4444)}.title-text{font-size:1.2rem;font-weight:700;letter-spacing:2px;color:#ef4444;text-shadow:0 0 5px rgba(239,68,68,.5)}.status-bars{display:flex;gap:20px}.status-item{display:flex;align-items:center;gap:8px}.icon-status{width:18px;height:18px}.bar-bg{width:100px;height:10px;background:#222;border-radius:5px;overflow:hidden;border:1px solid #444}.bar-fill{height:100%;transition:width .5s ease}.status-val{font-size:.85rem;font-weight:700;width:35px}.control-buttons{display:flex;align-items:center;gap:12px}.btn-icon{background:#1a1a1a;border:1px solid #333;color:#888;padding:8px;border-radius:6px;cursor:pointer;transition:all .2s ease}.btn-icon:hover{color:#fff;border-color:#666}.btn-icon.active{color:#ef4444;border-color:#ef4444;background:#ef44441a}.btn-rules{display:flex;align-items:center;gap:6px;background:#ef4444;color:#fff;border:none;padding:8px 14px;border-radius:6px;font-weight:700;cursor:pointer;font-size:.9rem;transition:background .2s ease}.btn-rules:hover{background:#dc2626}.game-main{flex-grow:1;display:flex;justify-content:center;align-items:center;padding:40px 20px;z-index:5}.scenario-card{background:#0a0a0ad9;border:1px solid #333;box-shadow:0 10px 30px #000c;border-radius:12px;padding:30px;max-width:650px;width:100%;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.scenario-header{display:flex;align-items:center;gap:12px;margin-bottom:20px;border-bottom:1px solid #222;padding-bottom:12px}.scenario-header h2{font-size:1.4rem;color:#f87171;margin:0}.scenario-desc{font-size:1.05rem;line-height:1.7;color:#cbd5e1;margin-bottom:24px;letter-spacing:.5px}.ai-whisper-box{margin-bottom:20px}.btn-whisper{display:flex;align-items:center;gap:8px;background:#9333ea26;border:1px solid rgba(147,51,234,.4);color:#c084fc;padding:10px 16px;border-radius:8px;cursor:pointer;width:100%;justify-content:center;font-size:.9rem;transition:all .2s ease}.btn-whisper:hover:not(:disabled){background:#9333ea4d;border-color:#a855f7}.btn-whisper:disabled{opacity:.6;cursor:not-allowed}.choices-list{display:flex;flex-direction:column;gap:12px}.btn-choice{display:flex;align-items:center;background:#151515;border:1px solid #333;border-radius:8px;padding:14px 18px;cursor:pointer;text-align:left;transition:all .2s ease;color:#e2e8f0}.btn-choice:hover{background:#222;border-color:#ef4444;transform:translate(4px)}.choice-number{background:#ef4444;color:#fff;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:.85rem;font-weight:700;margin-right:14px;flex-shrink:0}.choice-text{flex-grow:1;font-size:.95rem}.choice-arrow{color:#ef4444;opacity:0;transition:opacity .2s ease}.btn-choice:hover .choice-arrow{opacity:1}.btn-restart{display:flex;align-items:center;justify-content:center;gap:10px;background:#ef4444;color:#fff;border:none;border-radius:8px;padding:16px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background .2s ease;margin-top:10px}.btn-restart:hover{background:#dc2626}.game-footer{background:#0b0b0b;border-top:1px solid #222;padding:15px 24px;font-size:.85rem;color:#666;max-height:120px;overflow-y:auto;z-index:10}.log-title{font-weight:700;color:#999;margin-bottom:6px}.log-content{display:flex;flex-direction:column;gap:4px}.log-line{display:flex;gap:8px}.log-bullet{color:#ef4444}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;justify-content:center;align-items:center;z-index:100;padding:20px}.modal-content{background:#111;border:2px solid #ef4444;border-radius:12px;max-width:550px;width:100%;padding:24px;box-shadow:0 0 30px #ef44444d}.modal-header{display:flex;align-items:center;gap:10px;margin-bottom:16px;border-bottom:1px solid #333;padding-bottom:10px}.modal-header h3{margin:0;color:#ef4444;font-size:1.2rem}.warning-text{color:#94a3b8;font-size:.9rem;line-height:1.5;margin-bottom:16px}.rules-list{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow-y:auto;margin-bottom:20px;padding-right:6px}.rule-card{background:#181818;border-left:3px solid #ef4444;padding:10px 14px;border-radius:0 6px 6px 0}.rule-card p{margin:0;font-size:.88rem;line-height:1.5;color:#e2e8f0}.btn-close-modal{width:100%;background:#ef4444;color:#fff;border:none;padding:12px;border-radius:6px;font-weight:700;cursor:pointer;transition:background .2s}.btn-close-modal:hover{background:#dc2626}.jumpscare-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;display:flex;justify-content:center;align-items:center;z-index:200}.jumpscare-content{text-align:center}.ghost-jumpscare{width:250px;height:250px;filter:drop-shadow(0 0 30px #ef4444);animation:shake .1s infinite alternate}.jumpscare-text{font-size:3rem;color:#ef4444;font-weight:900;margin-top:20px;letter-spacing:5px;text-shadow:0 0 15px rgba(239,68,68,.8);animation:shake .15s infinite alternate}@keyframes shake{0%{transform:translate(2px,1px) rotate(0)}10%{transform:translate(-1px,-2px) rotate(-1deg)}20%{transform:translate(-3px) rotate(1deg)}30%{transform:translateY(2px) rotate(0)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,2px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0)}70%{transform:translate(2px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(2px,2px) rotate(0)}to{transform:translate(1px,-2px) rotate(-1deg)}}
