/* Operation Slipper — a small, self-contained, touch and keyboard friendly game. */
.pest-game{--game-ink:#24372d;--game-muted:#617367;--game-orange:#e96937;position:fixed;right:24px;bottom:24px;width:326px;z-index:40;background:#fffdf5ed;color:var(--game-ink);border:1px solid #d7decd;border-radius:17px;box-shadow:0 12px 45px #24372d24,0 2px 5px #24372d0a;backdrop-filter:blur(20px);font-family:Arial,Helvetica,sans-serif;overflow:hidden;transition:box-shadow .25s}
.game-top{display:flex;align-items:center;justify-content:space-between;padding:12px 15px 10px;gap:12px;background:#f0f1e7b3}.game-title{display:flex;align-items:center;gap:7px;font:700 10px/1.4 'Courier New',monospace;letter-spacing:1.05px}.game-signal{width:6px;height:6px;border-radius:50%;background:var(--game-orange);box-shadow:0 0 0 4px #e9693712}.game-collapse{background:none;color:var(--game-ink);border:1px solid #bfcab8;border-radius:50%;width:28px;height:28px;font:20px/1 Arial;padding:0;flex-shrink:0}.game-collapse:hover{background:#e2e8db}.game-body{padding:17px 16px 13px}.game-body[hidden]{display:none}.game-intro{display:flex;align-items:center;gap:12px}.game-slipper-art{width:44px;min-width:44px;height:62px;transform:rotate(-17deg);filter:drop-shadow(3px 5px 2px #65442d22)}.game-slipper-art svg{width:100%;height:100%}.game-intro strong{font-size:16px;line-height:1.3;letter-spacing:-.4px;display:block}.game-intro em{font-style:normal;color:#b94421;display:block}.game-intro p{font-size:12px;line-height:1.5;margin:6px 0 0;color:var(--game-muted)}.game-scorebar{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:18px;font-size:10px;color:var(--game-muted)}.game-scorebar>span{white-space:nowrap}.game-score{font:700 20px/1 'Courier New',monospace;color:var(--game-ink);vertical-align:-1px}.game-sound{font-size:10px;padding:7px 0;border:0;border-bottom:1px dotted #a8b49e;color:var(--game-muted);background:transparent;min-height:32px}.game-play{border:1px solid #bfcbb5;background:#eef0e3;color:var(--game-ink);font-size:11px;font-weight:700;padding:9px;border-radius:6px;min-height:34px;white-space:nowrap}.game-play:hover{background:#dfe6d5}.game-play:disabled{opacity:.45;cursor:default}.game-divider{height:1px;background:#dce2d4;margin:15px 0}.game-protection{display:flex;align-items:center;gap:9px;width:100%;padding:12px 10px;background:linear-gradient(130deg,#315842,#193d2d);color:#fff9e8;border:1px solid #244431;border-radius:10px;text-align:left;box-shadow:inset 0 1px 0 #ffffff26,0 4px 10px #224d2c16;transition:background .2s,box-shadow .2s}.game-protection:hover{box-shadow:inset 0 1px 0 #ffffff26,0 5px 18px #224d2c30}.game-shield{width:29px;height:29px;flex-shrink:0}.game-shield svg{width:100%;height:100%}.game-protection strong{font-size:13px;letter-spacing:-.3px;display:block}.game-protection small{display:block;font:8px/1.5 'Courier New',monospace;letter-spacing:.6px;margin-top:3px;color:#c3d6b7}.game-switch{position:relative;margin-left:auto;flex-shrink:0;width:31px;height:18px;border:1px solid #e6f0d744;background:#122c22;border-radius:20px}.game-switch:before{content:'';position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:#a2b6a3;transition:transform .25s,background .25s}.game-protection[aria-pressed=true] .game-switch{background:#e0edaa;border-color:#e0edaa}.game-protection[aria-pressed=true] .game-switch:before{transform:translateX(13px);background:#2c5138}.is-protected .game-signal{background:#527d38;box-shadow:0 0 0 4px #527d3819}.is-protected .game-top{background:#e8eedc}.game-body #game-protection-description{font-size:11px;line-height:1.5;color:#5b6d5c;margin:8px 0 0;text-align:center}.game-footnote{font-size:10px;line-height:1.5;margin:11px 2px 0;color:#768370;text-align:center}.pest-game.is-collapsed{width:245px}.is-collapsed .game-top{padding:10px 12px}.game-effects{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:32;contain:strict}.game-roach{position:absolute;left:-40px;top:-52px;width:80px;height:104px;border:0;background:none;padding:0;pointer-events:auto;cursor:none;touch-action:none;outline-offset:4px;border-radius:50%;-webkit-tap-highlight-color:transparent;will-change:transform}.roach-model{position:absolute;width:60px;height:86px;left:10px;top:9px;filter:drop-shadow(3px 6px 2px #23150d55);transform-origin:50% 50%;transition:filter .15s}.roach-model svg{width:100%;height:100%;overflow:visible}.roach-shadow{position:absolute;width:27px;height:50px;left:27px;top:31px;border-radius:50%;background:#2f281e3b;filter:blur(5px);transform:rotate(30deg)}.roach-leg{transform-origin:45px 65px;animation:roach-scuttle .13s ease-in-out infinite alternate}.roach-leg:nth-child(even){animation-delay:-.13s}.roach-antenna{transform-origin:45px 28px;animation:roach-feel .6s ease-in-out infinite alternate}.roach-antenna:last-child{animation-delay:-.6s}.roach-target-ring{position:absolute;inset:5px -7px;border:1px dashed #c45e2e;border-radius:50%;opacity:0;transform:scale(.85);transition:opacity .15s,transform .15s}.is-targeted .roach-target-ring,.is-focused .roach-target-ring{opacity:.8;transform:scale(1)}.game-roach.is-obstructed{opacity:.25;pointer-events:none}.game-roach.is-focused .roach-leg,.game-roach.is-hovered .roach-leg{animation-duration:.3s}.game-roach.is-squashed{cursor:default}.is-squashed .roach-model{filter:drop-shadow(1px 1px 0 #23150d33);scale:1.22 .58;opacity:.65;transition:scale .12s}.is-squashed .roach-body{transform:translateY(3px)}.is-squashed .roach-leg{animation:none;transform:rotate(18deg)}.is-squashed .roach-leg:nth-child(even){transform:rotate(-18deg)}.is-squashed .roach-antenna{animation:none}.is-squashed .roach-shadow{background:#674e2c26;width:55px;left:13px;height:29px;top:37px;filter:blur(3px)}.is-squashed .roach-target-ring{display:none}.game-cursor{display:none;position:fixed;left:0;top:0;width:49px;height:70px;z-index:80;pointer-events:none;filter:drop-shadow(5px 10px 4px #39251944);will-change:transform}.game-cursor.is-visible{display:block}.game-cursor svg{width:100%;height:100%}.game-impact{position:absolute;pointer-events:none;width:140px;height:140px;transform:translate(-50%,-50%);display:grid;place-items:center;z-index:3}.impact-ring{position:absolute;inset:28px;border:3px solid #e67c3c;border-radius:50%;animation:game-shock .65s ease-out forwards}.impact-slipper{position:absolute;width:64px;height:90px;filter:drop-shadow(5px 8px 2px #23150d33);animation:game-slap .45s ease-out both}.impact-slipper svg{width:100%;height:100%}.game-impact strong{position:absolute;left:90px;top:1px;color:#b64b24;text-shadow:1px 1px #fff8e9;font:900 italic 26px/1 Arial;transform:rotate(-9deg);animation:game-points 1s ease-out both;white-space:nowrap}.game-impact small{display:block;color:#36523b;font:700 16px/1.5 'Courier New',monospace}.game-toast{position:fixed;bottom:31px;left:50%;max-width:min(440px,calc(100vw - 32px));padding:14px 22px;border:1px solid #c3ceb6;border-radius:40px;background:#fffdf5f5;color:#284631;box-shadow:0 9px 30px #16281924;font:600 14px/1.45 Arial,sans-serif;z-index:81;pointer-events:none;opacity:0;transform:translate(-50%,12px);transition:opacity .25s,transform .25s;text-align:center}.game-toast.is-visible{opacity:1;transform:translate(-50%,0)}.game-smoke{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:60}.game-roach.is-static *{animation:none!important}.game-roach:focus-visible{outline:2px solid #b94d27;background:#ffebbb44}
@keyframes roach-scuttle{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}@keyframes roach-feel{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}@keyframes game-shock{0%{transform:scale(.3);opacity:.9}100%{transform:scale(2.2);opacity:0}}@keyframes game-slap{0%{transform:translate(15px,-36px) rotate(-30deg) scale(1.4);opacity:0}20%{opacity:1}38%{transform:translate(0,0) rotate(-15deg) scale(.8)}60%{transform:translate(0,-5px) rotate(-20deg) scale(.95);opacity:1}100%{transform:translate(30px,-60px) rotate(-35deg);opacity:0}}@keyframes game-points{0%{opacity:0;translate:0 8px}20%,65%{opacity:1}100%{opacity:0;translate:0 -25px}}
@media(max-width:800px){.pest-game{right:14px;bottom:14px;width:310px}.pest-game.is-collapsed{width:228px}.game-title{font-size:9px}.game-toast{bottom:84px;font-size:12px}.game-roach{width:84px;height:108px}.game-cursor{display:none!important}}
@media(max-width:520px){body:has(.mobile-plan.has-selection) .pest-game{bottom:88px}.pest-game{max-width:calc(100vw - 28px)}.game-top{min-height:44px}.game-collapse{width:30px;height:30px}.game-scorebar button{min-height:40px}.game-toast{bottom:146px}.game-intro p{font-size:12px}.game-protection{min-height:60px}.game-protection strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.game-cursor{display:none!important}.game-roach{cursor:pointer}.game-impact .impact-slipper{display:none}.game-impact strong{animation:none;opacity:1}.impact-ring{animation:none;opacity:.3}.game-toast,.game-switch:before{transition:none}}

@media(hover:hover) and (pointer:fine){body.game-aiming,body.game-aiming a,body.game-aiming button{cursor:none!important}}

.game-collapse{position:relative}.game-collapse::before{content:"";position:absolute;inset:-8px}.game-sound{min-height:44px}.game-play{min-height:44px}

/* Points land on the scoreboard: the number pops and "+10" floats up. */
.game-scorebar>span{position:relative}
.game-score{display:inline-block;transform-origin:50% 80%}
.game-score.is-bumping{animation:score-bump .5s cubic-bezier(.2,1.6,.4,1)}
.game-score-float{position:absolute;left:0;bottom:100%;font:800 15px/1 'Courier New',monospace;color:#ed612e;pointer-events:none;white-space:nowrap;animation:score-float .9s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes score-bump{0%{transform:scale(1)}35%{transform:scale(1.45) translateY(-3px);color:#ed612e}100%{transform:scale(1)}}
@keyframes score-float{0%{opacity:0;transform:translateY(6px) scale(.8)}20%{opacity:1;transform:translateY(-2px) scale(1.1)}100%{opacity:0;transform:translateY(-26px) scale(1)}}
@media(prefers-reduced-motion:reduce){.game-score.is-bumping,.game-score-float{animation:none}.game-score-float{display:none}}

/* Interruptor de som: ligado por padrão */
.game-scorebar .game-sound{display:inline-flex;align-items:center;gap:6px;padding:0 12px 0 10px;min-height:44px;border:1.5px solid #9fb59f;border-radius:999px;background:#e6f0e3;color:#1f5b43;font-size:12px;font-weight:700;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.game-sound .sound-off{display:none}
.game-sound.is-off{background:#f1eee6;border-color:#cfc8b8;color:#7b8174}
.game-sound.is-off .sound-waves{display:none}.game-sound.is-off .sound-off{display:inline}
.game-sound.is-off .game-sound-text{text-decoration:line-through}
.game-sound:focus-visible{outline:2px solid #ed612e;outline-offset:2px}
