:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:#090514;width:100%;height:100dvh;margin:0;padding:0;overflow:hidden}.saga-header{padding-top:var(--safe-top);z-index:45!important;position:relative!important}#game-wrapper,.game-play-area{width:100%;min-height:0;padding:4px 8px calc(76px + var(--safe-bottom)) 8px;flex-direction:column;flex:auto;justify-content:center;align-items:center;display:flex}#rescue-hud{z-index:15;background:linear-gradient(135deg,#2e1065f5,#13082af5);border:2px solid #fde047a6;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:min(94vw,420px);padding:5px 12px;position:relative;box-shadow:0 6px 18px #00000080,inset 0 1px #ffffff29;margin:4px auto 6px!important;display:flex!important}.rescue-hud-title{letter-spacing:.8px;text-transform:uppercase;color:#fde047;text-shadow:0 1px 3px #000000d9;font-size:11px;font-weight:900}.rescue-pill{color:#fff;background:#ffffff1a;border:1px solid #ffffff38;border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:13.5px;font-weight:800;transition:transform .2s,background .2s;display:inline-flex}.rescue-animal-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:18px;line-height:1}.rescue-pill.done{color:#fff;background:linear-gradient(135deg,#16a34a,#22c55e);border-color:#86efac}.rescue-pill.pop{transform:scale(1.2)}#game-container{z-index:8;touch-action:none;background:linear-gradient(145deg,#a855f766,#f472b647);border-radius:18px;width:min(95vw,425px,100dvh - 300px);height:min(95vw,425px,100dvh - 300px);margin:2px auto;padding:4px;position:relative;box-shadow:0 10px 30px #000000a6,0 0 16px #a855f759}#game-container canvas{touch-action:none;border-radius:14px;display:block;width:100%!important;height:100%!important}.audio-volume-group{background:#0f172aa6;border:1px solid #a855f759;border-radius:14px;flex-direction:column;gap:10px;margin-top:10px;padding:12px;display:flex}.audio-slider-row{color:#f8fafc;justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:700;display:flex}.audio-slider-row input[type=range]{accent-color:#ec4899;cursor:pointer;flex:1}.saga-modal::-webkit-scrollbar{width:5px}.chat-feed::-webkit-scrollbar{width:5px}#lab-items-list::-webkit-scrollbar{width:5px}.saga-modal::-webkit-scrollbar-track{background:#0f172a66;border-radius:10px}.chat-feed::-webkit-scrollbar-track{background:#0f172a66;border-radius:10px}#lab-items-list::-webkit-scrollbar-track{background:#0f172a66;border-radius:10px}.saga-modal::-webkit-scrollbar-thumb{background:linear-gradient(#f472b6,#a855f7);border-radius:10px}.chat-feed::-webkit-scrollbar-thumb{background:linear-gradient(#f472b6,#a855f7);border-radius:10px}#lab-items-list::-webkit-scrollbar-thumb{background:linear-gradient(#f472b6,#a855f7);border-radius:10px}.bottom-nav{padding-bottom:var(--safe-bottom);z-index:40!important}.bottom-nav .nav-btn.active{color:#fff!important;border-top:3px solid #ff1e7e!important;box-shadow:0 -4px 12px #ff1e7ed9,0 0 10px #f472b6a6!important}
