#rescue-section[hidden], #rescue-section [hidden] { display: none !important; }
#rescue-section { width: min(100%, 470px); margin: auto; padding: 8px 24px max(12px, env(safe-area-inset-bottom)); color: #fff3da; }
#rescue-section .rescue-hud { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; background: #141722; border: 1px solid #977546; border-radius: 12px 12px 0 0; color: #ffe3a2; font-weight: 750; font-variant-numeric: tabular-nums; }
#rescue-section .rescue-hp { display: flex; align-items: center; gap: 4px; }
#rescue-section .rescue-hp-bar { display: block; width: 48px; height: 10px; background: #3a1414; border: 1px solid #977546; border-radius: 5px; overflow: hidden; }
#rescue-hp-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #57c84d, #a8d84d); transition: width .15s; }
#rescue-section .rescue-hp.low #rescue-hp-fill { background: linear-gradient(90deg, #e5484d, #ff7a45); }
#rescue-section .rescue-hp.hit { animation: rescueHpHit .3s; }
@keyframes rescueHpHit { 0% { filter: brightness(2.2); } 100% { filter: brightness(1); } }
#rescue-section .rescue-mute { flex: none; width: 30px; height: 30px; min-height: 30px; padding: 0; border: 1px solid #977546; border-radius: 50%; background: #141722; color: #ffe3a2; font-size: 15px; line-height: 1; cursor: pointer; }
#rescue-section .rescue-mute.off { opacity: .75; filter: grayscale(.6); }
#rescue-arena { display: block; width: 100%; height: clamp(256px, calc(100dvh - 260px), 540px); background: #15191b; border: 1px solid #977546; border-top: 0; border-radius: 0 0 12px 12px; touch-action: none; user-select: none; }
#rescue-arena:focus-visible { outline: 2px solid #fff3da; outline-offset: -3px; }
#rescue-section #rescue-status { margin: 8px 0; line-height: 1.4; font-size: 14px; color: #ffdda0; }
#rescue-section .rescue-actions { display: flex; gap: 8px; }
#rescue-section button { min-height: 44px; flex: 1; touch-action: manipulation; }
#rescue-board { margin-top: 8px; padding: 10px 12px; background: #141722; border: 1px solid #977546; border-radius: 10px; }
#rescue-board h3 { margin: 0; font-size: 15px; color: #ffe3a2; }
#rescue-board ol { margin: 5px 0 0; padding-left: 26px; font-variant-numeric: tabular-nums; }
