body.whiteout-recovery-lock{overflow:hidden!important}
.wr-overlay{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:clamp(14px,3vw,40px);font-family:Inter,"Segoe UI",sans-serif;color:#edfaff;background:rgba(1,8,14,.76);backdrop-filter:blur(13px) saturate(.7);-webkit-backdrop-filter:blur(13px) saturate(.7)}
.wr-overlay[hidden]{display:none!important}.wr-backdrop-art{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 23% 44%,rgba(47,204,191,.13),transparent 27%),radial-gradient(circle at 78% 22%,rgba(62,142,210,.15),transparent 25%),linear-gradient(180deg,rgba(1,12,20,.08),rgba(1,8,14,.44))}
.wr-card{position:relative;width:min(920px,96vw);overflow:hidden;border:1px solid #2d718d;border-radius:24px;background:linear-gradient(145deg,#071b29 0%,#06131e 62%,#071925 100%);box-shadow:0 34px 90px rgba(0,0,0,.62),inset 0 1px rgba(164,235,255,.1)}
.wr-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,rgba(47,218,191,.05),transparent 40%),repeating-linear-gradient(90deg,transparent 0 31px,rgba(255,255,255,.012) 32px)}
.wr-header{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid #1a465a;background:rgba(4,17,27,.78)}
.wr-kicker,.wr-lock{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.12em}.wr-kicker{color:#68dfc0}.wr-kicker i{width:8px;height:8px;border-radius:50%;background:#ff6573;box-shadow:0 0 0 5px rgba(255,101,115,.1),0 0 18px rgba(255,101,115,.7)}.wr-lock{padding:7px 10px;border-radius:999px;color:#91aab6;background:#0b2735}.wr-lock img{width:17px;height:17px;image-rendering:pixelated;filter:grayscale(1)}
.wr-body{position:relative;z-index:1;display:grid;grid-template-columns:minmax(290px,.8fr) minmax(360px,1.2fr);min-height:500px}.wr-scene{position:relative;display:flex;align-items:center;justify-content:center;min-height:500px;overflow:hidden;border-right:1px solid #1b4455;background:radial-gradient(circle at 50% 45%,rgba(63,172,171,.2),transparent 34%),linear-gradient(160deg,#0b2837,#071720)}
.wr-scene:before{content:"";position:absolute;width:290px;height:78px;left:50%;bottom:90px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(0,0,0,.55),transparent 70%)}.wr-lead-aura{position:absolute;width:245px;height:245px;border:1px solid rgba(89,224,202,.22);border-radius:50%;box-shadow:0 0 0 28px rgba(67,196,183,.025),0 0 70px rgba(53,190,183,.12)}
.wr-lead{position:relative;width:210px;height:210px;object-fit:contain;image-rendering:pixelated;filter:grayscale(.82) saturate(.35) brightness(.73);transform:rotate(-5deg);animation:wr-faint-float 3.2s ease-in-out infinite}.wr-sleep{position:absolute;z-index:2;color:#83e6d2;font-weight:900;text-shadow:0 0 18px rgba(93,232,211,.55);animation:wr-sleep 2.4s ease-out infinite}.wr-sleep-one{left:65%;top:25%;font-size:28px}.wr-sleep-two{left:71%;top:18%;font-size:18px;animation-delay:.65s}
.wr-roster{position:absolute;left:20px;right:20px;bottom:20px;display:flex;justify-content:center;gap:6px}.wr-roster-mon{position:relative;display:grid;place-items:center;width:48px;height:54px;border-radius:11px;background:rgba(5,18,27,.88);border:1px solid #244b5d}.wr-roster-mon img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated;filter:grayscale(1) brightness(.65)}.wr-roster-mon i{position:absolute;right:5px;top:5px;width:7px;height:7px;border-radius:50%;background:#ff6471}.wr-roster-mon b{display:none}
.wr-copy{display:flex;flex-direction:column;justify-content:center;padding:34px clamp(24px,4vw,48px)}.wr-eyebrow{color:#63dcbf;font-size:11px;font-weight:900;letter-spacing:.16em}.wr-copy h1{margin:8px 0 12px;font-size:clamp(30px,4.3vw,48px);line-height:1.02;letter-spacing:-.035em}.wr-copy>p{max-width:560px;margin:0;color:#9fb8c3;font-size:15px;line-height:1.6}
.wr-timer-row{display:flex;align-items:center;gap:16px;margin:24px 0;padding:14px;border:1px solid #244c5d;border-radius:16px;background:#081f2c}.wr-timer{position:relative;display:grid;place-items:center;width:84px;height:84px;flex:none;border-radius:50%;background:conic-gradient(#58d9b9 var(--wr-timer-progress),#183746 0);box-shadow:0 0 25px rgba(63,216,183,.12)}.wr-timer:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#071822}.wr-timer span,.wr-timer small{position:relative;z-index:1}.wr-timer span{font-size:19px;font-weight:900;font-variant-numeric:tabular-nums}.wr-timer small{margin-top:-18px;color:#6c929f;font-size:8px;font-weight:900;letter-spacing:.13em}.wr-timer-row>div:last-child{display:grid;gap:5px}.wr-timer-row strong{font-size:14px}.wr-timer-row small{color:#8fa7b2;font-size:11px;line-height:1.45}
.wr-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wr-actions button{min-height:70px;display:flex;align-items:center;justify-content:flex-start;gap:11px;padding:11px 14px;border-radius:14px;text-align:left;color:#eefcff;transition:.18s ease}.wr-actions img{width:39px;height:39px;object-fit:contain;image-rendering:pixelated}.wr-actions span{display:grid;gap:4px}.wr-actions b{font-size:12px;letter-spacing:.04em}.wr-actions small{font-size:10px;color:inherit;opacity:.72}.wr-primary{border:1px solid #55d8b6;background:linear-gradient(135deg,#168d78,#1b6b72);box-shadow:0 9px 25px rgba(17,139,119,.22);cursor:pointer}.wr-primary:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.1)}.wr-primary:disabled{cursor:not-allowed;filter:grayscale(.5);opacity:.45}.wr-secondary{border:1px solid #31566a;background:#0b2432;opacity:.68}
.wr-warning{margin:10px 0 0!important;padding:9px 11px;border-radius:10px;color:#ffc6c9!important;background:rgba(155,43,56,.18);font-size:11px!important}.wr-remote{display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:11px;margin-top:16px;padding:12px 14px;border:1px solid #244757;border-radius:13px;background:rgba(7,26,37,.76)}.wr-remote img{width:35px;height:35px;object-fit:contain;image-rendering:pixelated}.wr-remote div{display:grid;gap:3px}.wr-remote b{font-size:11px}.wr-remote span{color:#829da9;font-size:9px;line-height:1.35}.wr-remote em{color:#64d9bd;font-size:8px;font-style:normal;font-weight:900;letter-spacing:.09em}
@keyframes wr-faint-float{50%{transform:translateY(5px) rotate(-5deg)}}@keyframes wr-sleep{0%{transform:translateY(8px) scale(.75);opacity:0}30%{opacity:1}100%{transform:translateY(-18px) scale(1.12);opacity:0}}
@media(max-width:760px){.wr-overlay{padding:0}.wr-card{width:100%;height:100dvh;border:0;border-radius:0;overflow:auto}.wr-header{padding:12px 14px}.wr-lock{font-size:9px}.wr-body{grid-template-columns:1fr;min-height:0}.wr-scene{min-height:240px;border-right:0;border-bottom:1px solid #1b4455}.wr-lead{width:150px;height:150px}.wr-lead-aura{width:180px;height:180px}.wr-scene:before{bottom:45px}.wr-roster{bottom:10px}.wr-copy{justify-content:flex-start;padding:23px 17px 28px}.wr-copy h1{font-size:32px}.wr-timer-row{margin:18px 0}.wr-actions{grid-template-columns:1fr}.wr-remote{grid-template-columns:34px 1fr}.wr-remote em{display:none}}
@media(max-height:680px) and (min-width:761px){.wr-card{max-height:96vh}.wr-body{min-height:420px}.wr-scene{min-height:420px}.wr-copy{padding-top:22px;padding-bottom:22px}.wr-timer-row{margin:14px 0}.wr-lead{width:175px;height:175px}.wr-remote{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.wr-lead,.wr-sleep{animation:none}}

/* O motivo da derrota permanece junto das ações, sem atrasar o resgate. */
.wr-card{max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain}
.wr-battle-recap{margin-top:16px;padding:13px 15px;border:1px solid #694654;border-radius:13px;background:rgba(66,25,40,.24)}
.wr-battle-opponent{display:flex;align-items:center;gap:10px}.wr-battle-opponent>img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}
.wr-battle-opponent span{font-size:9px;font-weight:800;letter-spacing:.12em;color:#e9aab6}.wr-battle-opponent h2{margin:3px 0 0;font-size:16px;line-height:1.3;text-transform:uppercase}.wr-battle-opponent h2 small{font-size:10px;color:#a6bac6;white-space:nowrap}
.wr-fatal-mon{margin:9px 0 5px;color:#c6d4dd;font-size:12px}.wr-fatal-hit{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:5px 0;font-size:12px;line-height:1.45}.wr-fatal-hit b{color:#ffd4dc;overflow-wrap:anywhere}.wr-fatal-hit span{color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.wr-batch-result{margin:10px 0 0;color:#94c5bd;font-size:11px}.wr-combat-log{margin-top:10px}.wr-combat-log summary{color:#adcfde;font-size:12px;cursor:pointer;padding:5px 0;min-height:24px}.wr-combat-log summary:focus-visible{outline:2px solid #68dfc0;outline-offset:3px;border-radius:3px}
.wr-combat-log ol{max-height:190px;overflow:auto;overscroll-behavior:contain;margin:8px 0 0;padding:0 0 0 20px;color:#adc0cd;font-size:11px;line-height:1.55}.wr-combat-log li{padding:4px 5px}.wr-combat-log .wr-combat-received{color:#ffc2cc}.wr-combat-log .wr-combat-heal{color:#79e0bd}.wr-combat-log .wr-combat-move{color:#e0edf6}
@media(max-width:760px){.wr-card{max-height:100dvh}.wr-battle-recap{padding:12px}.wr-combat-log summary{padding:10px 0}.wr-scene{min-height:180px}.wr-lead{width:125px;height:125px}.wr-lead-aura{width:145px;height:145px}}
