#rescue-beacon[hidden]{display:none!important}#rescue-beacon{width:76px;height:76px;flex:0 0 76px;border:3px solid #f7d17b;border-radius:50%;background:#3f3026;box-shadow:0 0 16px #eebc62;overflow:hidden;padding:0;cursor:pointer;animation:rescue-pulse 2.7s infinite}#rescue-beacon img{width:100%;height:100%;object-fit:cover;object-position:50% 16%;transform:scale(1.5);transform-origin:50% 20%}#rescue-beacon:focus-visible{outline:3px solid #7ee6dc;outline-offset:4px}#rescue-beacon.rescue-quiet{animation:none}.rescue-dialog{max-width:780px;color:inherit}.rescue-story{display:flex;gap:20px;align-items:center}.rescue-story>img{width:190px;max-height:260px;object-fit:contain}.rescue-story p,.rescue-dialog>p{line-height:1.65}.rescue-dungeon{position:relative;margin:18px 0;border:2px solid #967447;border-radius:12px;overflow:hidden}.rescue-dungeon>img{display:block;width:100%;height:230px;object-fit:cover}.rescue-dungeon>div{position:absolute;bottom:0;left:0;right:0;padding:18px;background:linear-gradient(transparent,#1b1716);color:#ffe4a0}.rescue-dungeon span{display:block;margin-top:5px;font-size:12px}.rescue-track{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.rescue-track span{display:grid;place-items:center;height:32px;border:1px solid #9b7849;border-radius:6px;background:#352a22;color:#ebd6ab}.rescue-track .done{background:#426c59;color:#fff2b0}.rescue-medal{width:100px;height:100px;object-fit:contain}.rescue-discount{padding:12px 16px;border:1px solid #c9a35c;border-radius:8px;background:#f3dfb5;color:#47331b;font-weight:bold;line-height:1.5}@keyframes rescue-pulse{0%,75%,100%{box-shadow:0 0 8px #eebc6277;transform:translateX(0)}80%,90%{box-shadow:0 0 24px #ffd986;transform:translateX(-2px)}85%,95%{box-shadow:0 0 18px #ffd986;transform:translateX(2px)}}@media(prefers-reduced-motion:reduce){#rescue-beacon{animation:none}}@media(max-width:600px){#rescue-beacon{width:54px;height:54px;flex-basis:54px}.rescue-story{gap:10px;align-items:flex-start}.rescue-story>img{width:100px}.rescue-dungeon>img{height:170px}.rescue-track{gap:3px}.rescue-track span{font-size:11px}.player-overview{flex-wrap:wrap}}

#shop-items>.rescue-discount{grid-column:1/-1}

.rescue-foes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}.rescue-foes>div{text-align:center;border:1px solid #9b784966;border-radius:8px;padding:8px 3px}.rescue-foes img{width:100%;height:88px;object-fit:contain}.rescue-foes b,.rescue-foes small{display:block;font-size:11px;margin-top:5px}@media(max-width:500px){.rescue-foes{grid-template-columns:repeat(3,minmax(0,1fr))}}

.rescue-cycle{padding:12px;border:1px solid #aa8750;border-radius:8px;line-height:1.6}.rescue-locked #leave-battle,.rescue-locked #restart{opacity:.55;cursor:not-allowed}
