/* Las horas de papá · V5. The world carries the story; controls stay quiet. */
.lhp-game.lhp-car-world{position:relative;isolation:isolate;width:100%;height:100svh;min-height:100svh;margin:0;padding:0;overflow:hidden;background:#ec9d64;color:#304035;font-family:Arial,Helvetica,sans-serif}.lhp-car-world>canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline-offset:-5px}.lhp-car-world [hidden]{display:none!important}.lhp-game-playing{overflow:hidden}.lhp-car-world button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}.lhp-car-world button:focus-visible,.lhp-car-world a:focus-visible,.lhp-car-world canvas:focus-visible{outline:3px solid #35513e;outline-offset:4px}.v4-hud{position:absolute;inset:0;z-index:4;pointer-events:none}.v4-eyebrow{display:block;font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.1em;text-transform:uppercase}.v4-mission{position:absolute;top:27px;left:30px;width:min(330px,calc(100% - 190px));pointer-events:none}.v4-mission>.v4-eyebrow{color:#63482e;margin-bottom:8px}.v4-mission h1{font:700 26px/1.08 Arial,sans-serif;letter-spacing:-.045em;color:#304035;margin:0;max-width:320px}.v4-mission p,.v4-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.v4-progress,.v4-driving{display:none}.v4-start{margin:16px 0 0;display:inline-flex;align-items:center;justify-content:center;min-width:126px;min-height:44px;padding:10px 22px;border:1px solid #304035;border-radius:25px;background:#304035;color:#fff1db!important;font-size:14px!important;font-weight:700!important;pointer-events:auto;transition:background .15s}.v4-start:hover{background:#4f6249}.v5-control-hint{display:block;margin-top:12px;font-size:12px;line-height:1.5;color:#63482e}.v5-control-hint>span+span{display:none}.v5-running .v5-control-hint{display:none}.v4-tools{position:absolute;top:78px;right:24px;display:flex;flex-direction:row;align-items:flex-start;gap:7px;max-width:150px;pointer-events:auto}.v4-tools button{min-width:44px;min-height:44px;border:1px solid #30403520;border-radius:25px;background:#fff0d8a6;padding:10px 14px;font-size:14px}.v4-tools button[aria-pressed=true]{background:#304035;color:#fff1db}.v4-tools [data-car-recover]{font-size:24px;padding:4px;width:44px;order:1}.v4-tools [data-car-options]{font-size:21px;padding:4px;width:44px;order:2}.v4-tools [data-car-pause],.v4-tools [data-car-map],.v4-tools [data-car-sound],.v4-tools [data-car-trial],.v4-tools [data-car-paint],.v4-tools [data-car-free]{display:none}.v4-tools.is-expanded{width:260px;max-width:260px;display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px;border:1px solid #fff4df80;border-radius:14px;background:#fff1d8ec;max-height:calc(100svh - 190px);overflow:auto;backdrop-filter:blur(8px)}.v4-tools.is-expanded button{display:block;min-height:44px;width:100%;font-size:14px}.v4-tools.is-expanded [data-car-recover]{font-size:24px}.v4-tools.is-expanded [data-car-options]{font-size:21px}.v4-tools [data-car-pause]{order:3}.v4-tools [data-car-map]{order:4}.v4-tools [data-car-sound]{order:5}.v4-tools [data-car-trial]{order:6}.v4-tools [data-car-paint]{order:7}.v4-tools [data-car-free]{order:8}.v4-speed{position:absolute;right:30px;bottom:28px;display:grid;grid-template-columns:auto 23px;align-items:center;gap:5px 9px;text-align:center;color:#304035;min-width:70px}.v4-speed>b{font:700 29px/.95 Arial,sans-serif;letter-spacing:-.055em;grid-column:1;grid-row:1;font-variant-numeric:tabular-nums}.v4-speed>span{font:12px Arial,sans-serif;grid-column:1;grid-row:2}.v4-speed>i{grid-column:2;grid-row:1/3;font:normal 12px Arial,sans-serif;border:1px solid #3040353b;border-radius:5px;padding:5px}.v4-speed>small{grid-column:1/-1;font-size:12px;min-height:0}.v4-speed>small:empty{display:none}.v4-stick{position:absolute;left:20px;bottom:23px;width:104px;height:104px;border-radius:50%;border:1px solid #fff0d8aa;background:#fff0d852;box-shadow:inset 0 0 0 20px #fff0d82a;touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:auto;display:none}.v4-stick>span{position:absolute;left:30px;top:30px;width:42px;height:42px;border:2px solid #fff0d8b8;border-radius:50%;background:#3e5945da;pointer-events:none;box-shadow:0 3px 10px #4b3d1b25}.v4-brake{position:absolute;right:20px;bottom:27px;width:68px;height:68px;border-radius:50%;border:1px solid #fff0d899;background:#304035d9;color:#fff1d8!important;font-size:12px!important;font-weight:700!important;letter-spacing:.06em;pointer-events:auto;touch-action:none!important;user-select:none;display:none}.v4-brake:active{background:#7e513c;transform:translateY(2px)}.v4-toast{position:absolute;bottom:32px;left:50%;max-width:min(550px,calc(100% - 320px));transform:translate(-50%,8px);background:#304035ee;border:1px solid #fff1d835;border-radius:10px;padding:12px 18px;color:#fff1d8;font-size:14px;line-height:1.45;text-align:center;opacity:0;pointer-events:none;z-index:9;transition:opacity .2s,transform .2s}.v4-toast.visible{opacity:1;transform:translate(-50%,0)}.v4-pause{position:absolute;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);max-width:85%;width:370px;background:#fff1dbf2;padding:32px;border:1px solid #fff1db;border-radius:15px;text-align:center;pointer-events:auto;box-shadow:0 20px 70px #4d39252b;backdrop-filter:blur(12px)}.v4-pause>.v4-eyebrow{font-size:12px;color:#9a643e;margin-bottom:20px}.v4-pause h2{font:700 33px/1.05 Arial,sans-serif;letter-spacing:-.05em;margin:0 0 25px}.v4-pause button{border:0;border-radius:25px;background:#304035;color:#fff1db;padding:12px 22px;font-size:14px;min-height:44px;font-weight:700}.v4-error{position:absolute;z-index:12;left:50%;top:50%;transform:translate(-50%,-50%);padding:30px;border:1px solid #fff1db;border-radius:13px;background:#fff1db;pointer-events:auto;width:min(420px,85%);font-size:16px;line-height:1.6;text-align:center}.v4-error a{display:inline-block;min-height:44px;background:#304035;color:#fff1db;border-radius:25px;padding:12px 20px;text-decoration:none;font-size:14px;margin-top:10px}.lhp-car-world [data-game-skip]:not([data-club-entry]),.lhp-car-world [data-enter-site]:not([data-club-entry]){position:absolute;z-index:8;right:24px;top:136px;min-height:44px;font-size:12px;color:#304035;padding:10px 0;text-decoration:none;pointer-events:auto}.v5-challenge{position:absolute;left:30px;bottom:25px;max-width:310px;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;border:1px solid #fff2d7a0;border-radius:12px;background:#fff1d8d4;padding:11px 14px;pointer-events:auto;color:#304035}.v5-challenge>b{font-size:25px;font-variant-numeric:tabular-nums}.v5-challenge>span{font-size:13px;line-height:1.4}.v5-challenge>button{min-height:44px;font-size:13px;border:1px solid #30403530;border-radius:22px;background:#fff9ed;padding:9px 11px}.v4-recovering>canvas{opacity:.6;filter:blur(2px)}
@media(max-width:900px){.v4-mission{top:23px;left:24px;width:calc(100% - 180px)}.v4-mission h1{font-size:25px}.v4-tools{top:77px;right:24px}.v4-speed{right:25px;bottom:25px}.v4-toast{max-width:calc(100% - 240px)}}
@media(pointer:coarse){.v4-stick,.v4-brake{display:block}.v5-control-hint>span:first-child{display:none}.v5-control-hint>span+span{display:block}.v4-speed{left:52%;right:auto;bottom:27px;transform:translateX(-50%)}.v4-toast{bottom:151px;max-width:calc(100% - 38px)}.v5-challenge{bottom:151px}.v4-speed>b{font-size:27px}}
@media(max-width:600px){.v4-mission{top:19px;left:19px;width:calc(100% - 90px);max-width:300px}.v4-mission>.v4-eyebrow{font-size:12px;margin-bottom:7px;letter-spacing:.07em}.v4-mission h1{font-size:23px;max-width:270px}.v4-start{font-size:13px!important;min-width:116px;margin-top:13px;padding:10px 20px}.v5-control-hint{max-width:235px;line-height:1.4}.v4-tools{top:75px;right:16px;max-width:44px;flex-direction:column}.v4-tools.is-expanded{top:131px;right:16px;max-width:260px;width:min(260px,calc(100% - 32px));max-height:calc(100svh - 295px);grid-template-columns:1fr 1fr;display:grid}.v4-tools.is-expanded button{font-size:13px}.v4-tools.is-expanded [data-car-recover],.v4-tools.is-expanded [data-car-options]{font-size:22px}.v4-speed{left:52%;right:auto;bottom:27px;transform:translateX(-50%);min-width:66px;gap:3px 7px}.v4-speed>b{font-size:27px}.v4-toast{bottom:151px;max-width:calc(100% - 38px);width:calc(100% - 38px);font-size:13px;padding:11px 14px}.v4-pause{padding:27px 24px}.v4-pause h2{font-size:31px}.lhp-car-world [data-game-skip]:not([data-club-entry]),.lhp-car-world [data-enter-site]:not([data-club-entry]){right:17px;top:183px;max-width:110px;font-size:12px;padding:9px 0}.v5-challenge{left:16px;bottom:151px;max-width:calc(100% - 32px);padding:11px;gap:6px}.v5-challenge>button{font-size:12px}.v5-challenge>b{font-size:21px}.v5-challenge>span{font-size:12px}}
@media(max-height:550px){.lhp-game.lhp-car-world{height:100svh;min-height:100svh}.v4-mission{top:17px;left:21px;width:calc(100% - 180px);max-width:320px}.v4-mission h1{font-size:24px}.v4-tools{top:75px;right:18px;max-width:100px;flex-direction:row}.v4-tools.is-expanded{top:75px;right:18px;max-width:260px;width:260px;max-height:calc(100svh - 175px);display:grid;grid-template-columns:1fr 1fr}.v4-speed{bottom:23px;right:auto;left:52%;transform:translateX(-50%)}.v4-speed>b{font-size:27px}.v4-toast{bottom:145px;width:calc(100% - 280px);max-width:500px;font-size:13px}.v4-pause{padding:23px;max-height:90svh}.v4-pause h2{font-size:30px;margin-bottom:18px}.v5-challenge{left:20px;bottom:135px;max-width:calc(100% - 250px);grid-template-columns:1fr 1fr}.lhp-car-world [data-game-skip]:not([data-club-entry]),.lhp-car-world [data-enter-site]:not([data-club-entry]){right:20px;top:128px;font-size:12px}.v5-running .v4-mission h1{font-size:23px}}
@media(max-width:600px) and (max-height:550px){.v4-mission{left:15px;max-width:255px}.v4-mission h1{font-size:22px}.v4-tools{right:16px;max-width:44px;flex-direction:column}.v4-tools.is-expanded{top:129px;right:15px;max-width:250px;width:250px;max-height:calc(100svh - 250px)}.v4-toast{bottom:151px;width:calc(100% - 30px);max-width:calc(100% - 30px)}.v5-challenge{left:15px;max-width:calc(100% - 30px);bottom:151px}.lhp-car-world [data-game-skip]:not([data-club-entry]),.lhp-car-world [data-enter-site]:not([data-club-entry]){top:183px;right:16px}}
@media(prefers-reduced-motion:reduce){.lhp-car-world *{transition:none!important;scroll-behavior:auto!important}.v4-recovering>canvas{filter:none;opacity:1}}

.v4-tools button>svg{display:block;width:24px;height:24px;margin:auto;pointer-events:none}

.lhp-car-world,.lhp-car-world *,.lhp-car-world *::before,.lhp-car-world *::after{box-sizing:border-box}.v4-tools{z-index:5}.v5-challenge{z-index:2}
@media(max-height:420px) and (min-width:560px){.v5-challenge{left:auto;right:18px;bottom:125px;width:260px;max-width:calc(100% - 300px)}}
@media(max-height:420px) and (max-width:559px){.v5-challenge{top:86px;bottom:auto;left:15px;right:auto;width:calc(100% - 30px);max-width:calc(100% - 30px)}.v5-challenge>b{font-size:18px}}
