/* Side-view helper town: modular vehicle kits and direct scene interaction. */

#helper-town .hs-header{display:flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;flex-wrap:wrap;padding:3px 8px;margin:0}#helper-town .hs-header h1{font-size:clamp(23px,2.6vw,36px);margin:0}#helper-town .hs-header>strong{padding:3px 10px;border:1px solid var(--line);border-radius:15px;background:var(--surface);font-size:14px}.hs-header>span{font-size:13px;font-weight:800;color:var(--teal)}.hs-instruction{flex:0 0 auto;text-align:center;font-size:clamp(13px,1.4vw,18px);font-weight:700;line-height:1.3;margin:4px 6px 6px;min-height:20px}.hs-rounds{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;margin:5px auto 0;flex-wrap:wrap}.hs-rounds button{position:relative;width:29px;height:29px;border:1px solid #9dc5d0;border-radius:50%;background:var(--surface);color:var(--ink);font-size:12px;font-weight:800;padding:0}.hs-rounds button[aria-current=step]{background:#ffe197;border-color:#d8a444;color:#785224}.hs-rounds .hs-complete{border-color:#66aa83}.hs-rounds small{position:absolute;right:-4px;top:-6px;border-radius:50%;width:14px;height:14px;line-height:14px;background:#dcf1d8;color:#438562;font-size:10px}.hs-build{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;flex:1 1 0;min-height:0;width:100%;max-width:1400px;margin:auto;border:2px solid #a4cedc;border-radius:22px;background:radial-gradient(ellipse at 45% 35%,#fffdf2,#e5f5f7);overflow:hidden}.hs-blueprint{position:relative;grid-column:1;grid-row:1;aspect-ratio:1000/540;width:min(100%,calc((100dvh - 230px)*1000/540));max-width:850px;margin:auto;border:2px dashed #98c3ce;border-radius:18px;background-image:linear-gradient(#b7d9d94d 1px,transparent 1px),linear-gradient(90deg,#b7d9d94d 1px,transparent 1px);background-size:25px 25px;overflow:hidden}.hs-reference,.hs-built{position:absolute;inset:0;pointer-events:none}.hs-reference{opacity:.15;filter:grayscale(1)}.hs-reference>svg,.hs-built>svg{width:100%;height:100%;display:block}.hs-build-progress{position:absolute;right:6px;top:4px;padding:1px 8px;border:1px solid #acd0da;border-radius:12px;background:#fffff4;color:#31697a;font-size:12px;font-weight:800}.hs-slot{position:absolute;left:clamp(15px,var(--x),calc(100% - 15px));top:clamp(15px,var(--y),calc(100% - 15px));translate:-50% -50%;width:clamp(28px,3vw,40px);height:clamp(28px,3vw,40px);padding:0;border:2px dashed #58a0b2;border-radius:50%;color:#418a9d;background:#ffffffe8;font-size:24px;line-height:1}.hs-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;grid-column:2;grid-row:1}.hs-part{position:relative;height:clamp(80px,15dvh,140px);padding:5px;border:2px solid #a1c9d6;border-radius:12px;background:#fffefa;display:flex;align-items:center;flex-direction:column;overflow:hidden;min-width:0;touch-action:none}.hs-part>img{flex:1 1 0;width:100%;height:0;min-height:0;object-fit:contain;pointer-events:none;-webkit-user-drag:none}.hs-part>span{flex:0 0 auto;font-size:13px;font-weight:700;line-height:1.15;margin:4px 0 0;color:#2c6177;overflow-wrap:anywhere}.hs-part:disabled{opacity:.6;background:#e8f1e6;cursor:default}.hs-part>i{position:absolute;right:4px;top:4px;width:18px;height:18px;border-radius:50%;background:#6cb68a;color:white;font-size:12px;line-height:18px;font-style:normal}.hs-part.hs-selected{border-color:#cf9b36;box-shadow:0 0 0 3px #ffe7ad;background:#fff3ce}.hs-build-hint{grid-column:1/-1;grid-row:2;line-height:1.3;min-height:22px;margin:0;text-align:center;color:#2c6177;font-size:14px}.hs-scene{position:relative;flex:1 1 0;min-height:0;width:100%;overflow:hidden;border:2px solid #98c9bf;border-radius:17px;background:#82d3e7;isolation:isolate;touch-action:none}.hs-background{position:absolute;inset:0;background-image:url('/games/media/helper-side/street.webp');background-repeat:repeat-x;background-size:auto 100%;pointer-events:none}.hs-world{position:absolute;left:0;top:0;width:9600px;height:650px;transform-origin:0 0;will-change:transform}.hs-car{position:absolute;z-index:8;transform-origin:50% 90%;pointer-events:none;will-change:left,top,transform}.hs-car>svg{width:100%;height:100%;display:block}.hs-bed-target{position:absolute;left:4%;top:16%;width:58%;height:64%;pointer-events:auto}.hs-building{position:absolute;width:465px;height:390px;pointer-events:none;z-index:3}.hs-building>svg{width:100%;height:100%}.hs-park{position:absolute;width:450px;height:235px;z-index:3;pointer-events:none}.hs-park>svg{width:100%;height:100%}.hs-park-flowers{position:absolute;bottom:0;left:40px;display:flex;gap:0}.hs-park-flowers>svg{display:block;flex:none;width:145px;height:118px}.hs-park-flowers>svg+svg{margin-left:-5px}.hs-pump{position:absolute;width:160px;height:210px;pointer-events:none;z-index:4}.hs-pump>svg{width:100%;height:100%}.hs-site{position:absolute;width:470px;height:350px;pointer-events:none;z-index:3}.hs-site>svg{width:100%;height:100%}.hs-recycling{position:absolute;width:400px;height:240px;pointer-events:none;z-index:3}.hs-recycling>svg{width:100%;height:100%}.hs-stop-post{position:absolute;width:80px;height:185px;display:flex;justify-content:center;pointer-events:none;z-index:3}.hs-stop-post:after{content:'';position:absolute;top:70px;bottom:0;width:12px;background:#ad8b69}.hs-stop-post>span{position:relative;z-index:1;width:76px;height:76px;border:5px solid #fff6da;border-radius:50%;background:#7bbbd0;display:grid;place-items:center;font-size:45px;line-height:1}.hs-object{position:absolute;width:85px;height:115px;border:0;background:transparent;padding:0;cursor:pointer;z-index:12;touch-action:none;filter:drop-shadow(0 0 5px #fff8bd);transform-origin:center bottom}.hs-object>svg{width:100%;height:100%;display:block;pointer-events:none}.hs-object-extinguish{width:95px;height:140px;animation:hs-flame .7s ease-in-out infinite}.hs-object-water{width:100px;height:155px}.hs-object-crane{width:170px;height:65px}.hs-object-hook,.hs-object-repair{width:200px;height:115px}.hs-object:focus-visible{outline:5px solid #f3c75a;outline-offset:3px;border-radius:15px}.hs-drop-zone{position:absolute;width:180px;height:120px;z-index:9;pointer-events:auto}.hs-drop-zone>svg{width:100%;height:100%;pointer-events:none}.hs-water-jet{position:absolute;inset:0;width:9600px;height:650px;opacity:0;pointer-events:none;z-index:15;overflow:visible}.hs-water-hose{fill:none;stroke:#6494a7;stroke-width:10;stroke-linecap:round}.hs-water-stream{fill:none;stroke:#b0efff;stroke-width:14;stroke-linecap:round;stroke-dasharray:10 7;filter:drop-shadow(0 2px 1px #5baac4);animation:hs-water .4s linear infinite}.hs-smoke{position:absolute;left:110px;top:-70px;width:230px;height:170px;pointer-events:none}.hs-smoke>i{position:absolute;width:110px;height:90px;background:#7d889099;border-radius:50%;filter:blur(4px);animation:hs-smoke 2s ease-out infinite}.hs-smoke>i:nth-child(2){left:65px;top:30px;animation-delay:.6s}.hs-smoke>i:nth-child(3){left:120px;top:-20px;animation-delay:1.2s}.hs-road-clue{position:absolute;width:68px;height:77px;padding:0;border:5px solid var(--clue-color);border-radius:12px;background:#fff9e6;box-shadow:0 3px 0 #708f72;color:#315168;display:grid;place-items:center;z-index:11;cursor:pointer;font-size:43px;line-height:1}.hs-road-clue:after{content:'';position:absolute;top:100%;width:10px;height:50px;background:#a48460;z-index:-1}.hs-road-clue small{position:absolute;top:-17px;left:-14px;width:25px;height:25px;line-height:25px;border-radius:50%;background:var(--clue-color);color:#244254;font-size:17px}.hs-road-clue.hs-found{background:#fffef5}.hs-mission-progress{position:absolute;left:12px;top:12px;display:flex;gap:7px;padding:5px 9px;background:#fffdf0e8;border-radius:22px;z-index:20}.hs-mission-progress>span{width:29px;height:29px;display:grid;place-items:center;border:2px solid #bdd1cc;border-radius:50%;font-weight:800;font-size:17px;color:#638b83;background:#f5faf1}.hs-mission-progress .hs-current{border-color:#d7aa49;background:#ffe9a1;color:#8d6429}.hs-mission-progress .hs-done{border-color:#70b78a;background:#d7f0da;color:#3b8c62}.hs-pedal{position:absolute;bottom:14px;width:82px;height:72px;border:3px solid #f5efca;border-radius:20px;background:linear-gradient(#5d9faeeb,#29647fea);box-shadow:0 4px 0 #1c4d68,0 5px 15px #25483455;color:#fffbe1;font-size:37px;line-height:1;padding:0;z-index:22;touch-action:none}.hs-pedal-left{left:14px}.hs-pedal-right{right:14px}.hs-pedal:active{translate:0 3px;background:#e5b45c}.hs-start{position:absolute;left:50%;bottom:20px;translate:-50% 0;z-index:22;font-size:18px;min-width:190px}.hs-round-success{position:absolute;left:50%;top:20%;translate:-50% 0;z-index:23;text-align:center;padding:18px 25px;border-radius:22px;background:#fffef1eb;box-shadow:0 4px 20px #25483444}.hs-round-success h2{font-size:clamp(25px,3vw,42px);color:#197893;margin:0 0 10px}.hs-garage{position:absolute;width:650px;height:430px;z-index:9;pointer-events:none}.hs-garage-roof{position:absolute;left:-25px;right:-25px;top:-20px;height:75px;background:#b37855;border-radius:40% 40% 5px 5px;border:8px solid #9d674d;box-shadow:inset 0 9px #e5b086}.hs-garage-interior{position:absolute;inset:40px 20px 0;background:linear-gradient(#34525a,#1c353e);border:20px solid #f2d49f;border-bottom-width:7px;border-radius:16px 16px 0 0}.hs-garage-door{position:absolute;left:42px;right:42px;top:60px;bottom:6px;background:repeating-linear-gradient(#b9cad0 0 22px,#8fa8b3 22px 26px);border:8px solid #6a8a98;box-shadow:inset 0 0 0 4px #d9e6e6;transition:transform .8s ease-in-out;transform-origin:top center;pointer-events:auto}.hs-open .hs-garage-door{transform:translateY(-93%);pointer-events:none}.hs-garage-frame{position:absolute;left:0;right:0;top:40px;bottom:0;border:22px solid #edc78e;border-bottom:0;border-radius:18px 18px 0 0;pointer-events:none;box-shadow:inset 0 0 0 5px #a88058}.hs-garage-keypad{position:absolute;right:45px;top:15px;width:280px;padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:5px solid #83929c;border-radius:16px;background:linear-gradient(135deg,#596870,#273943);box-shadow:0 4px 10px #152c35;pointer-events:auto}.hs-code-display{grid-column:1/-1;height:47px;line-height:39px;border:4px solid #91afb4;border-radius:7px;background:#173b44;color:#a5f9de;font-size:35px;letter-spacing:7px;text-align:center;font-weight:800}.hs-garage-keypad button{height:61px;border:3px solid #aebac0;border-top-color:#e4eced;border-bottom:6px solid #152d3a;border-radius:8px;color:#fffcde;background:linear-gradient(#7d8c96,#3f5665);box-shadow:0 2px 0 #142a36;font-size:36px;font-weight:700;padding:0;line-height:1;touch-action:manipulation}.hs-garage-keypad button[data-digit=ENT],.hs-garage-keypad button[data-digit=ESC]{font-size:23px}.hs-garage-keypad button:active:enabled{translate:0 3px;box-shadow:none}.hs-garage-keypad button:disabled{opacity:.4}.hs-garage-easy{position:absolute;right:80px;top:100px;width:120px;height:120px;border:5px solid #dcebe5;border-radius:15px;background:#6ca1a9;font-size:64px;pointer-events:auto}.hs-code-clues{flex:0 0 auto;display:flex;justify-content:center;gap:5px;margin:2px auto 6px}.hs-code-clues>span{position:relative;display:grid;place-items:center;width:42px;height:29px;border:3px solid var(--clue-color);border-radius:8px;background:#fffcf1;color:#25566b;font-size:20px}.hs-code-clues small{position:absolute;left:-6px;top:-8px;width:13px;height:13px;line-height:13px;border-radius:50%;font-size:9px;background:var(--clue-color)}.hs-ending{flex:1 1 0;min-height:0;max-width:1100px;width:100%;margin:auto;text-align:center;overflow:hidden}.hs-fleet{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:auto;max-width:1000px}.hs-fleet>span{display:block;aspect-ratio:1000/540;padding:3px;border-radius:13px;background:#e2f1ef}.hs-fleet svg{width:100%;height:100%}.hs-ending h2{margin:15px 0;font-size:clamp(23px,3vw,38px)}.hs-ending p:empty{display:none}.hs-flight,.hs-drag-ghost{position:fixed;pointer-events:none;z-index:2147483645;filter:drop-shadow(0 4px 4px #31525c55)}.hs-drag-ghost{width:150px;height:110px;translate:-50% -60%}.hs-drag-ghost svg,.hs-drag-ghost img,.hs-flight svg,.hs-flight img{width:100%;height:100%;object-fit:contain;display:block}.hs-drag-source{opacity:.3}.hs-fireworks{border-radius:18px;--radius:min(160px,20vw,23dvh)}

@keyframes hs-flame{50%{rotate:4deg;scale:1.04}}@keyframes hs-smoke{to{translate:10px -80px;opacity:0;scale:1.5}}@keyframes hs-water{to{stroke-dashoffset:-34}}

@media(max-width:700px){.hs-header{gap:5px!important;padding:2px 4px!important}.hs-header h1{font-size:22px!important}.hs-header .icon-btn{width:32px;height:32px;font-size:20px}.hs-header>strong{font-size:12px!important;padding:2px 7px!important}.hs-instruction{font-size:13px;line-height:1.25;margin:3px 4px 5px}.hs-build{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:8px;padding:10px}.hs-blueprint{grid-column:1;grid-row:1;width:min(100%,calc((100dvh - 410px)*1000/540));min-width:170px}.hs-parts{grid-column:1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hs-part{height:clamp(72px,12dvh,96px);padding:4px}.hs-part>span{font-size:10px;line-height:1.1;min-height:21px;margin-top:2px}.hs-build-hint{grid-column:1;grid-row:3;font-size:12px;min-height:26px}.hs-slot{width:29px;height:29px;font-size:21px}.hs-rounds{gap:4px}.hs-rounds button{width:27px;height:27px;font-size:11px}.hs-scene{border-radius:13px}.hs-pedal{width:64px;height:61px;font-size:31px;bottom:10px;border-radius:16px}.hs-pedal-left{left:10px}.hs-pedal-right{right:10px}.hs-mission-progress{top:8px;left:8px;padding:4px 7px;gap:5px}.hs-mission-progress>span{width:24px;height:24px;font-size:14px}.hs-start{min-height:44px;min-width:155px;font-size:16px;bottom:18px}.hs-fleet{gap:4px}.hs-ending{padding:12px}.hs-ending h2{font-size:24px}.hs-round-success{padding:12px 16px;max-width:90%;width:max-content}.hs-round-success h2{font-size:25px}}

@media(min-width:701px) and (max-height:550px){.hs-header{gap:6px!important;padding:1px!important}.hs-header h1{font-size:23px!important}.hs-header .icon-btn{width:29px;height:29px;font-size:19px}.hs-header>strong{font-size:12px!important;padding:2px 7px!important}.hs-instruction{font-size:12px;margin:2px 3px 4px;min-height:16px}.hs-rounds{margin-top:4px;gap:5px}.hs-rounds button{width:24px;height:24px;font-size:11px}.hs-build{padding:7px;gap:7px;grid-template-columns:minmax(0,1fr) minmax(330px,1fr)}.hs-blueprint{width:min(100%,calc((100dvh - 220px)*1000/540))}.hs-parts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hs-part{height:65px;padding:3px}.hs-part>span{font-size:10px;line-height:1.05;margin-top:2px;min-height:20px}.hs-build-hint{min-height:14px;font-size:11px}.hs-slot{width:27px;height:27px;font-size:20px}.hs-pedal{width:56px;height:49px;bottom:7px;font-size:26px;border-radius:12px}.hs-pedal-left{left:8px}.hs-pedal-right{right:8px}.hs-mission-progress{top:6px;left:6px;padding:3px 7px}.hs-mission-progress>span{width:22px;height:22px;font-size:13px}.hs-start{bottom:12px;min-height:35px;font-size:13px}.hs-round-success{top:10%;padding:8px 16px}.hs-round-success h2{font-size:23px}.hs-ending{padding:8px}.hs-fleet{max-width:700px;gap:4px}.hs-fleet>span{max-height:55px}.hs-ending h2{margin:7px 0;font-size:23px}.hs-ending .button{min-height:34px;padding:5px 14px}}



.hs-towed{position:absolute;width:300px;height:160px;z-index:7;pointer-events:none}.hs-towed>svg{width:100%;height:100%}.hs-object-fill{width:110px;height:130px}.hs-object-fill:active{scale:.95}



.hs-background{background:none;overflow:hidden}.hs-backdrop{position:absolute;top:0;left:0;height:100%;width:max-content;display:flex;pointer-events:none;will-change:transform}.hs-backdrop>img{height:100%;width:auto;aspect-ratio:3;flex:none}.hs-backdrop>img:nth-child(even){transform:scaleX(-1)}.hs-road-clue:after{display:none}



#helper-town[data-side-mode="parking"] .hs-car,#helper-town[data-side-mode="success"] .hs-car{z-index:10}



/* Action cues keep the clickable area still while the light and artwork move. */

.hs-part:not(:disabled){animation:hs-action-glow 2.1s ease-in-out infinite}

.hs-part:not(:disabled)>img{animation:hs-part-invite 2.1s ease-in-out infinite}

.hs-part.hs-selected{animation:none}

.hs-part.hs-selected>img{animation:none}

.hs-slot.hs-target{border-style:solid;border-color:#239a79;background:#e9fff1;color:#147556;animation:hs-target-glow 1.35s ease-in-out infinite;z-index:2}

.hs-blueprint:has(.hs-target) .hs-slot:not(.hs-target){opacity:.4}

#helper-town[data-side-mode="drive"] .hs-pedal-right,.hs-road-clue:not(.hs-found),.hs-garage-keypad button:enabled,.hs-garage-easy,.hs-round-success .button{animation:hs-action-glow 1.7s ease-in-out infinite}

.hs-object[data-hs="object"]:after{content:'';position:absolute;inset:-7px;border:3px solid #ffdb65;border-radius:24px;box-shadow:0 0 11px #ffe990a6;pointer-events:none;animation:hs-object-invite 1.5s ease-out infinite}

.hs-object[data-hs="object"]:active:after{animation:none;opacity:1;border-color:#85e3d0}

.hs-part.hs-drag-source{animation:none}.hs-part.hs-drag-source>img{animation:none}

@keyframes hs-action-glow{0%,100%{box-shadow:0 0 0 0 #ffd45f00}50%{box-shadow:0 0 0 4px #ffd45f99,0 0 17px #ffe79b99}}

@keyframes hs-target-glow{0%,100%{box-shadow:0 0 0 1px #56d7b333}50%{box-shadow:0 0 0 7px #56d7b366,0 0 15px #8ff8bcaa}}

@keyframes hs-part-invite{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

@keyframes hs-object-invite{0%{transform:scale(.94);opacity:.85}80%,100%{transform:scale(1.15);opacity:.12}}

@media(prefers-reduced-motion:reduce){.hs-part:not(:disabled),.hs-part:not(:disabled)>img,.hs-slot.hs-target,#helper-town[data-side-mode="drive"] .hs-pedal-right,.hs-road-clue:not(.hs-found),.hs-garage-keypad button:enabled,.hs-garage-easy,.hs-round-success .button,.hs-object[data-hs="object"]:after{animation:none}.hs-object[data-hs="object"]:after{opacity:.75}.hs-slot.hs-target{box-shadow:0 0 0 5px #56d7b366}}



/* Controls are mounted on the vehicle and on the objects they operate. */

.hs-drive-touch,.hs-tool {

 position:absolute;

 z-index:3;

 pointer-events:auto;

 touch-action:none;

 border:0;

 padding:0;

 background:transparent;

 cursor:pointer;

}

.hs-drive-touch {top:10%;bottom:0;width:48%;border-radius:28px;color:#fff9df}

.hs-drive-left {left:0;cursor:w-resize}

.hs-drive-right {right:0;cursor:e-resize}

.hs-drive-touch>span {

 display:grid;place-items:center;

 position:absolute;bottom:18%;left:50%;translate:-50% 0;

 width:60px;height:60px;border:4px solid #fff4d6;border-radius:50%;

 background:#324b4de8;font:800 54px/1 Roboto,sans-serif;

 opacity:0;transition:opacity .2s;pointer-events:none;

}

.hs-drive-touch:is(.hs-show-direction,:hover,:active,:focus-visible)>span {opacity:1}

.hs-drive-touch:focus-visible,.hs-tool:focus-visible,.hs-garage-door:focus-visible {

 outline:6px solid #ffe49a;outline-offset:4px;

}

.hs-tool {display:grid;place-items:center;width:90px;height:90px;border-radius:18px;left:23%;bottom:28%}

.hs-tool>svg {width:100%;height:100%;pointer-events:none}

.hs-scene-action {

 outline:4px dashed #ffe19c;

 outline-offset:5px;

 box-shadow:0 0 22px #ffce5499;

}

.hs-tool.hs-engaged {outline:5px solid #a3e9f3;box-shadow:0 0 28px #5cdef6;--tank-level:0deg}

.hs-tool.hs-engaged::after {

 content:"";position:absolute;inset:-9px;border-radius:50%;pointer-events:none;

 background:conic-gradient(#bdf6ff var(--tank-level,0deg),transparent 0);

 mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 0);

}

.hs-vehicle-door {

 left:auto;right:15%;bottom:16%;width:68px;height:117px;

 background:linear-gradient(#577d86a0 0 40%,#254355b0 40% 100%);

 border:4px solid #e7cf9b;transform-origin:right;transition:transform .26s ease;

}

.hs-vehicle-door:after {content:"";position:absolute;left:9px;top:57%;width:18px;height:6px;background:#f3d592;border-radius:8px}

.hs-vehicle-door.hs-door-open {transform:perspective(150px) rotateY(61deg);background:#273e49}

.hs-cargo-action {background:#36585cdb;border:4px solid #ffdfa0;color:#fff5d1;font-size:45px;line-height:1}

.hs-object:is(.hs-object-extinguish,.hs-object-water) {pointer-events:none}

.hs-object-fill {outline:5px dashed #ffde94;border-radius:45%;outline-offset:2px}

.hs-road-clue {cursor:default;pointer-events:none}

.hs-road-clue.hs-found {box-shadow:0 0 26px #ffdc72;color:#4b5846;animation:hs-sign-found .55s ease}

@keyframes hs-sign-found {50%{scale:1.18}}

.hs-garage {z-index:auto}

.hs-garage-interior {z-index:7}

.hs-garage-roof,.hs-garage-frame {z-index:14}

.hs-gate-track {position:absolute;inset:59px 41px 7px;overflow:hidden;z-index:13;border-radius:7px;pointer-events:none}

.hs-gate-track .hs-garage-door {inset:0;width:100%;height:100%;padding:0;cursor:pointer}

.hs-gate-track .hs-garage-door:disabled {pointer-events:none;opacity:1}

.hs-gate-track .hs-garage-door.hs-scene-action {outline-offset:-8px}

.hs-gate-handle {position:absolute;left:50%;bottom:13%;translate:-50% 0;width:120px;height:29px;border:9px solid #f6d880;border-radius:18px;background:#657786;box-shadow:0 5px 5px #435667}

.hs-gate-digits {display:flex;justify-content:center;gap:18px;position:absolute;left:0;right:0;top:19%}

.hs-gate-digits>b {display:grid;place-items:center;color:#fff6cb;background:#304953;border:4px solid #e2c580;border-radius:10px;width:57px;height:64px;font:600 42px/1 Roboto,sans-serif}

.hs-open .hs-garage-door {transform:translateY(-102%)}

.hs-walker {transform-origin:center bottom}

.hs-walker>svg {transform:scaleX(var(--facing,1))}

.hs-walker :is(.hs-walker-leg,.hs-walker-arm) {transform-box:fill-box;transform-origin:center top;animation:hs-walking .24s alternate infinite ease-in-out}

.hs-walker .hs-walker-limb-b {animation-delay:-.24s}

@keyframes hs-walking {from{rotate:-24deg}to{rotate:24deg}}

@media(prefers-reduced-motion:reduce){

 .hs-walker :is(.hs-walker-leg,.hs-walker-arm),.hs-road-clue.hs-found {animation:none}

}



.hs-parking-lines {position:absolute;left:13%;right:13%;height:18%;bottom:4%;border-inline:8px dashed #f5d680;opacity:.9;transform:perspective(230px) rotateX(46deg)}



/* Garage console, vehicle-specific doors and visible loading bays. */

.hs-home-garage .hs-garage-roof {left:-11px;right:-11px;top:-42px;display:grid;place-items:center}

.hs-gate-code {display:flex;align-items:center;justify-content:center;gap:10px}

.hs-gate-code>b {display:grid;place-items:center;width:45px;height:44px;border-radius:7px;background:#fff3d2;color:#4d3928;font:750 38px/1 Roboto,sans-serif;border:2px solid #a3734c}

.hs-gate-console {

 position:absolute;z-index:15;left:90px;top:66px;width:466px;

 padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;

 color:#fff8e6;background:#38505a;border:7px solid #c8a67b;border-radius:20px;

 box-shadow:0 9px 0 #24363e;pointer-events:auto;

}

.hs-gate-readout {

 grid-column:1/-1;display:grid;place-items:center;height:48px;border-radius:7px;

 background:#212f35;color:#e2f5cf;letter-spacing:13px;font:700 39px/1 Roboto,sans-serif

}

.hs-gate-console button {

 min-height:58px;border:2px solid #a5b5b6;border-bottom:5px solid #263b43;border-radius:9px;

 background:#e2ddd0;color:#263840;font:700 43px/1 Roboto,sans-serif;cursor:pointer;padding:0

}

.hs-gate-console button[data-digit="✓"]{background:#b9e0a4;color:#223d28}

.hs-gate-console button:active{translate:0 2px}

.hs-gate-console button:focus-visible{outline:5px solid #ffdf79}

.hs-garage .hs-garage-door {pointer-events:none}

.hs-door-ambulance {left:9%;right:auto;bottom:17%;width:70px;height:121px;transform-origin:left}

.hs-door-ambulance.hs-door-open {transform:perspective(150px) rotateY(-62deg)}

.hs-door-bus {right:15%;bottom:15%;width:61px;height:124px}

.hs-tool.hs-cargo-action {left:auto;right:9%;bottom:31%}

.hs-tool:disabled {opacity:.5;box-shadow:none;outline:0;cursor:default}

.hs-object:is(.hs-object-load-crop,.hs-object-load-bricks,.hs-object-load-parcels,.hs-object-trash,.hs-object-unload-crop,.hs-object-dump,.hs-object-recycle,.hs-object-deliver) {width:112px;height:139px;filter:drop-shadow(0 1px 5px #f8cb64)}

.hs-delivered-goods {position:absolute;width:98px;height:109px;z-index:6;pointer-events:none}

.hs-delivered-goods>svg,.hs-loader>svg {display:block;width:100%;height:100%}

.hs-loader {position:absolute;z-index:10;width:174px;height:115px;pointer-events:none}

.hs-carried-cargo {transform-origin:center center}

.hs-fire-intro {position:absolute;left:12%;bottom:1%;width:82px;height:105px;pointer-events:none}

.hs-fire-intro svg {width:100%;height:100%;animation:hs-clear-fire 1.65s ease-in forwards}

.hs-fire-intro :is(.hs-walker-leg,.hs-walker-arm) {transform-box:fill-box;transform-origin:center top;animation:hs-walking .24s alternate infinite ease-in-out}

.hs-fire-intro .hs-walker-limb-b {animation-delay:-.24s}

.hs-ember {position:absolute;top:96%;left:110%;width:22px;height:13px;border-radius:50%;background:#e97446;box-shadow:0 0 24px #fca648}

@keyframes hs-clear-fire {0%,15%{transform:translateX(0)}90%,100%{transform:translateX(-170px);opacity:0}}

@media(prefers-reduced-motion:reduce){.hs-fire-intro svg,.hs-fire-intro :is(.hs-walker-leg,.hs-walker-arm){animation:none}}



.hs-ember {width:35px;height:7px;background:#b68b62;border-radius:4px;box-shadow:none;rotate:-12deg}

.hs-ember::after {content:"";position:absolute;right:-3px;top:-2px;width:12px;height:10px;border-radius:50%;background:#e86d42;box-shadow:0 0 14px #e5924b}



/* Facing is applied to the artwork; the touch controls stay on the chosen screen side. */

.hs-car>svg {transform:scaleX(1);transition:transform .28s ease-in-out}

.hs-car[data-heading="-1"]>svg {transform:scaleX(-1)}

.hs-car[data-heading="-1"] .hs-bed-target {left:auto;right:4%}

.hs-car[data-heading="-1"] .hs-hose {left:auto;right:23%}

.hs-car[data-heading="-1"] .hs-cargo-action {right:auto;left:9%}

.hs-car[data-heading="-1"] .hs-door-bus {right:auto;left:15%;transform-origin:left}

.hs-car[data-heading="-1"] .hs-door-ambulance {left:auto;right:9%;transform-origin:right}

.hs-car[data-heading="-1"] .hs-door-bus.hs-door-open {transform:perspective(150px) rotateY(-61deg)}

.hs-car[data-heading="-1"] .hs-door-ambulance.hs-door-open {transform:perspective(150px) rotateY(62deg)}



.hs-route-map {

 position:absolute;top:12px;left:12px;z-index:19;width:min(280px,calc(100% - 42px));height:49px;

 padding:0 19px;pointer-events:none;border:1px solid #dcc69b;border-radius:15px;background:#fff8e8e8;

 box-shadow:0 2px 4px #55573922;

}

.hs-route-track {position:absolute;left:18px;right:18px;top:20px;height:4px;background:#b5bba5;border-radius:5px}

.hs-map-pin,.hs-map-car {position:absolute;left:calc(var(--pin-position,0%) + var(--pin-offset,18px));translate:-50% 0}

.hs-map-pin {

 top:8px;width:27px;height:27px;border-radius:50%;

 display:grid;place-items:center;color:#5e6954;background:#fffdf4;border:1px solid #aeb6a0;font-size:15px;

}

.hs-map-pin.hs-pin-next {background:#ffe1a0;color:#694423;border-color:#d5913e}

.hs-map-pin.hs-pin-done {background:#d8eed6;color:#315e45;border-color:#80aa78}

.hs-map-car {top:36px;width:10px;height:7px;margin-left:0;background:#3a7271;border-radius:4px;transform:none}

.hs-map-car::after {content:"";position:absolute;left:3px;top:-4px;width:0;height:0;border-inline:2px solid transparent;border-bottom:4px solid #3a7271}



.hs-fire-story {

 position:absolute;z-index:25;inset:8% 6%;overflow:hidden;

 border:3px solid #f6d6a2;border-radius:21px;background:linear-gradient(#89cad6 0 60%,#bbd387 60%);

 box-shadow:0 0 0 200px #33282270,0 12px 30px #2d342446;

}

.hs-fire-story-house {position:absolute;left:26%;top:3%;width:61%;height:81%}

.hs-fire-story-house>svg,.hs-fire-story-child>svg,.hs-fire-story-flame>svg{display:block;width:100%;height:100%}

.hs-fire-story-child {

 position:absolute;left:38%;bottom:17%;width:17%;height:39%;

 animation:hs-story-child 4.1s var(--story-offset) ease-in-out both;

}

.hs-fire-story-child :is(.hs-walker-leg,.hs-walker-arm) {

 transform-box:fill-box;transform-origin:center top;

 animation:hs-walking .24s alternate infinite ease-in-out;

}

.hs-fire-story-child .hs-walker-limb-b {animation-delay:-.24s}

.hs-fire-story-ember {

 position:absolute;left:54%;bottom:19%;width:28px;height:10px;

 animation:hs-story-ember 4.1s var(--story-offset) ease-in both;

}

.hs-fire-story-ember .hs-ember {left:0;top:0;width:24px}

.hs-fire-story-flame {

 position:absolute;left:53%;bottom:17%;width:17%;height:38%;transform-origin:bottom center;

 animation:hs-story-flame 4.1s var(--story-offset) ease-in both;

}

.hs-fire-story>strong {

 position:absolute;bottom:0;left:0;right:0;text-align:center;

 padding:8px 12px;background:#fff6e3ee;color:#683e32;font-size:clamp(14px,2vw,23px);

}

@keyframes hs-story-child {

 0%{transform:translateX(-70%)}24%,41%{transform:translateX(0)}

 79%,100%{transform:translateX(-155%)}

}

@keyframes hs-story-ember {

 0%,16%{opacity:0;transform:translate(-16px,-48px)}23%{opacity:1;transform:translate(-16px,-48px)}

 34%,53%{opacity:1;transform:translate(0,0)}64%,100%{opacity:0;transform:translate(0,0)}

}

@keyframes hs-story-flame {

 0%,33%{opacity:0;scale:.17}41%{opacity:1;scale:.32}61%{scale:.7}83%,100%{scale:1}

}

@media (prefers-reduced-motion: reduce) {

 .hs-car>svg{transition:none}

 .hs-fire-story-child,.hs-fire-story-child :is(.hs-walker-leg,.hs-walker-arm),.hs-fire-story-ember,.hs-fire-story-flame{animation:none}

 .hs-fire-story[data-stage="0"] .hs-fire-story-flame,.hs-fire-story[data-stage="1"] .hs-fire-story-ember{visibility:hidden}

 .hs-fire-story[data-stage="1"] .hs-fire-story-child{transform:translateX(-120%)}

}



/* One world-space surface for tyres, the roadside and the bridge. */

.hs-scene {overflow:clip;background:linear-gradient(#82d3e7 0 63%,#95bb51 63%)}

.hs-backdrop {clip-path:inset(0 0 29% 0)}

.hs-terrain {

 position:absolute;left:0;top:0;width:100%;height:1150px;

 pointer-events:none;overflow:visible;z-index:0;

}

.hs-road-dashes {opacity:.86}



.hs-dispatch-call {

 position:absolute;z-index:26;inset:5% 5%;display:grid;

 grid-template-columns:minmax(54px,19%) minmax(0,1fr);align-items:center;

 gap:clamp(10px,2vw,26px);padding:clamp(10px,2vw,24px);

 border-radius:18px;background:#24333caa;pointer-events:auto;

}

.hs-caller {

 position:relative;align-self:center;aspect-ratio:1;

 border:3px solid #f2d5a4;border-radius:50%;background:linear-gradient(#e1d1a7,#f6e8c5);

}

.hs-caller svg {display:block;width:100%;height:100%}

.hs-caller span {

 position:absolute;right:-10px;top:-12px;display:grid;place-items:center;

 width:clamp(27px,4vw,46px);aspect-ratio:1;border-radius:50%;background:#397167;

 color:#fff5d9;font-size:clamp(15px,2.5vw,27px);animation:hs-ring .65s ease-in-out 4;

}

@keyframes hs-ring {20%{rotate:-14deg}65%{rotate:13deg}}

.hs-call-bubble {

 position:relative;height:min(88%,510px);min-height:0;display:grid;

 grid-template-rows:auto minmax(0,1fr) auto;gap:5px;padding:10px;

 border:3px solid #f0d5ac;border-radius:17px;background:#fff5decf;color:#53372e;text-align:center;

}

.hs-call-bubble::before {

 content:"";position:absolute;left:-15px;top:47%;width:20px;height:20px;

 background:#fff5de;border-left:3px solid #f0d5ac;border-bottom:3px solid #f0d5ac;rotate:45deg;

}

.hs-call-bubble>strong {font-size:clamp(15px,2.1vw,25px)}

.hs-call-bubble>p {margin:0;font-size:clamp(13px,1.7vw,19px);line-height:1.26}

.hs-call-incident {position:relative;min-height:0;overflow:hidden;border-radius:10px;background:#f9ddab}

.hs-call-regular {display:grid;place-items:center;background:#edddb9}

.hs-call-regular>svg {display:block;width:80%;height:100%;max-height:100%;object-fit:contain}

.hs-call-fire {background:linear-gradient(#8fccda 0 61%,#b7cc8b 61%)}

.hs-call-fire .hs-fire-story-house {left:28%;width:61%;height:88%;top:0}

.hs-call-fire .hs-fire-story-child {left:32%;bottom:13%;height:47%;width:24%}

.hs-call-fire .hs-fire-story-ember {left:55%;bottom:14%}

.hs-call-fire .hs-fire-story-flame {left:55%;bottom:13%;height:41%;width:19%}

.hs-call-matchbox {

 position:absolute;left:47%;bottom:13%;width:8%;aspect-ratio:1.6;

 background:linear-gradient(20deg,#d7b179 0 35%,#c4643f 35% 70%,#faebba 70%);

 box-shadow:0 2px 2px #58463886;border:1px solid #8f5940;border-radius:2px;rotate:-12deg;

}

.hs-dispatch-call[data-stage="0"] .hs-call-matchbox {opacity:.3}

.hs-object:is(.hs-object-load-crop,.hs-object-load-bricks,.hs-object-load-parcels,.hs-object-trash,.hs-object-unload-crop,.hs-object-dump,.hs-object-recycle,.hs-object-deliver) {width:134px;height:156px}

.hs-delivered-goods {width:118px;height:126px}

.hs-loader {width:203px;height:136px}

@media (prefers-reduced-motion: reduce) {

 .hs-caller span {animation:none}

 .hs-dispatch-call[data-stage="0"] .hs-fire-story-flame,.hs-dispatch-call[data-stage="1"] .hs-fire-story-ember{visibility:hidden}

 .hs-dispatch-call[data-stage="1"] .hs-fire-story-child{transform:translateX(-103%)}

}



/* Independently painted town scenery and a slower, readable dispatch scene. */

.hs-building>img.hs-painted-building,.hs-fire-story-house>img.hs-painted-building {

 display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;

 filter:drop-shadow(0 8px 3px #4b4e4140);

}

.hs-yard {opacity:.97}

.hs-car::after {

 content:"";position:absolute;z-index:-1;left:6%;right:6%;bottom:1%;height:9%;

 background:#24282148;border-radius:50%;filter:blur(5px);pointer-events:none;

}

.hs-drive-touch>span {opacity:0!important}

.hs-drive-touch.hs-show-direction>span {opacity:1!important}

.hs-part>.hs-chassis-art {flex:1 1 0;min-height:0;width:100%;height:0;display:block;pointer-events:none}

.hs-dispatch-call {

 grid-template-columns:minmax(120px,31%) minmax(0,1fr);

 gap:clamp(15px,3vw,36px);background:linear-gradient(135deg,#204754e8,#334455d9);

}

.hs-caller {

 width:100%;height:min(84%,390px);aspect-ratio:auto;align-self:center;

 border:0;background:radial-gradient(ellipse at 48% 58%,#ffdfb1e6,#9bbeb42f 68%,transparent 74%);

}

.hs-caller>img {

 display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;

 filter:drop-shadow(0 8px 8px #223b4a52);

}

.hs-caller span {right:4%;top:8%;box-shadow:0 2px 8px #3b3c39}

.hs-call-bubble {

 height:min(93%,550px);grid-template-rows:auto minmax(0,1fr) auto auto;

 background:#fff2d7;color:#503a2b;border-width:2px;padding:clamp(8px,1.1vw,16px);

}

.hs-call-bubble>strong {text-align:left}

.hs-call-bubble>p {font-weight:550}

.hs-call-incident {border:1px solid #cfb389}

.hs-call-fire .hs-fire-story-child,.hs-call-fire .hs-fire-story-ember,.hs-call-fire .hs-fire-story-flame {animation-duration:6.6s}

.hs-call-fire .hs-fire-story-house {left:25%;width:69%;height:90%;top:0}

.hs-call-fire .hs-fire-story-child {left:27%;height:47%;width:26%}

.hs-call-fire .hs-call-matchbox {

 left:45%;bottom:12%;width:16%;height:18%;aspect-ratio:auto;z-index:2;

 object-fit:contain;background:none;border:0;box-shadow:none;rotate:0deg;

 filter:drop-shadow(0 3px 2px #46352472);

}

.hs-dispatch-call[data-stage="0"] .hs-call-matchbox {opacity:1}

.hs-accept-call {justify-self:center;margin:2px 0 0;min-height:40px}

@media(max-width:650px){

 .hs-dispatch-call {

  inset:4% 3%;grid-template-columns:minmax(0,1fr);

  grid-template-rows:minmax(82px,.40fr) minmax(0,1fr);gap:4px;padding:8px;

 }

 .hs-caller {justify-self:center;width:min(45%,160px);height:100%}

 .hs-caller span {right:0;top:1%}

 .hs-call-bubble {height:100%;gap:4px;padding:7px}

 .hs-call-bubble::before {left:calc(50% - 10px);top:-8px;width:14px;height:14px;rotate:135deg}

 .hs-call-bubble>strong {text-align:center}

}



/* The workshop art stays on the scene while the roller door and console move. */

.hs-home-garage {width:780px;height:430px}

.hs-garage-facade {

 position:absolute;inset:0;width:100%;height:100%;display:block;

 z-index:6;object-fit:contain;object-position:center bottom;pointer-events:none

}

.hs-home-garage .hs-garage-interior {background:none;border:0;inset:44% 20% 1%;pointer-events:none}

.hs-home-garage .hs-garage-roof {inset:25% 21% auto;height:45px;background:none;box-shadow:none;border:0}

.hs-home-garage .hs-garage-frame {border:0;box-shadow:none}

.hs-home-garage .hs-gate-track {inset:44% 20% 3%}

.hs-home-garage .hs-gate-console {
 left:50%;top:70.5%;width:50%;translate:-50% -50%;
 gap:4px;padding:6px;border-width:4px;border-radius:15px;
 box-shadow:0 5px 0 #24363e;
}

.hs-home-garage .hs-gate-console button {min-height:35px;font-size:32px;border-bottom-width:3px}

.hs-home-garage .hs-gate-readout {height:31px;font-size:29px}

.hs-scene > .hs-garage-build {
 position:absolute;inset:0;display:block;z-index:19;
 width:100%;max-width:none;padding:0;margin:0;border:0;
 border-radius:0;background:none;pointer-events:none;overflow:visible;
}
.hs-scene .hs-blueprint {
 position:absolute;min-width:0;max-width:none;margin:0;
 border:0;background:none;overflow:visible;
}
.hs-scene .hs-reference {opacity:.25;filter:none}
.hs-scene .hs-slot {pointer-events:auto;animation:none}
.hs-scene .hs-build-progress {top:auto;bottom:-24px;right:0}
.hs-scene .hs-parts {
 position:absolute;left:50%;top:7px;transform:translateX(-50%);
 display:grid;grid-template-columns:repeat(var(--part-count,6),minmax(0,1fr));gap:4px;
 width:min(calc(var(--part-count,6) * 108px),100% - 14px);padding:5px;border-radius:12px;
 background:#3d493bbd;pointer-events:auto;
}
.hs-scene .hs-part {min-height:0;padding:3px 2px}
.hs-scene .hs-part :is(img,svg) {height:clamp(20px,5.5vh,48px);max-width:100%}
.hs-scene .hs-part span {display:block;font-size:clamp(8px,1.2vw,12px);line-height:1.1;overflow-wrap:anywhere}
.hs-scene .hs-build-hint {
 position:absolute;left:50%;top:auto;bottom:4px;transform:translateX(-50%);width:max-content;max-width:96%;
 padding:3px 10px;border-radius:12px;background:#fff1d5e8;color:#493927;
}
.hs-scene .hs-slot.hs-target {box-shadow:0 0 0 3px #56d7b366}
.hs-dispatch-call {animation:hs-call-arriving .53s cubic-bezier(.2,.65,.3,1) both}

.hs-dispatch-call.hs-call-leaving {animation:hs-call-leaving .36s ease both;pointer-events:none}

.hs-round-success {animation:hs-call-arriving .43s ease both}



@keyframes hs-call-arriving {from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}

@keyframes hs-call-leaving {from{opacity:1;transform:none}to{opacity:0;transform:translateY(6px) scale(.99)}}

@media(max-width:700px){

 .hs-garage-build {background-position:52% center}

}

@media(prefers-reduced-motion:reduce){

 .hs-dispatch-call,.hs-round-success {animation:none}

}


.hs-object[data-crop-index] {filter:none;cursor:default;pointer-events:none}
.hs-object-unload-crop[data-crop-index] {visibility:hidden}
.hs-car[data-braking]::after {
 content:"";position:absolute;left:6.2%;bottom:35%;width:2.3%;height:3.6%;
 border-radius:3px;background:#fb5144;box-shadow:0 0 10px 3px #fa5249a8;
 pointer-events:none;
}
.hs-call-fire .hs-fire-story-child {left:12%;width:30%;height:54%;animation-name:hs-fire-child-clear}
.hs-call-fire .hs-call-matchbox {left:37%;bottom:15%;width:18%;height:23%}
@keyframes hs-fire-child-clear {
 0% {transform:translateX(-22%)}
 22%,45% {transform:translateX(8%)}
 75%,100% {transform:translateX(-20%)}
}
.hs-walker>svg {animation:hs-passenger-step .36s ease-in-out alternate infinite}
@keyframes hs-passenger-step {
 to {transform:scaleX(var(--facing,1)) translateY(-4%) rotate(2deg)}
}
.hs-car .hs-vehicle-door {
 background:none;border:0;outline:2px dashed #ffd487;outline-offset:0;box-shadow:none;
 padding:0;border-radius:12%;margin:0;transform:none;overflow:visible;perspective:180px;
}
.hs-car .hs-vehicle-door::after {display:none}
.hs-car .hs-door-ambulance {left:16%;top:17.5%;right:auto;bottom:auto;width:12.1%;height:52.5%}
.hs-car .hs-door-bus {left:65.2%;right:auto;top:23%;bottom:auto;width:11.95%;height:41.5%}
.hs-car .hs-vehicle-door.hs-door-open {
 background:linear-gradient(140deg,#193139,#354a46 72%,#72583b);
 outline:none;transform:none;box-shadow:inset 0 0 5px 2px #202c2c;
}
.hs-door-panel {
 position:absolute;inset:0;display:block;opacity:0;overflow:hidden;border-radius:inherit;
 transform-origin:left center;transition:transform .42s ease;pointer-events:none;
}
.hs-door-panel svg {width:100%;height:100%}
.hs-door-open .hs-door-panel {opacity:1;transform:rotateY(-68deg);box-shadow:2px 2px 5px #23252588}
.hs-door-bus .hs-door-panel {transform-origin:right center}
.hs-door-bus.hs-door-open .hs-door-panel {transform:rotateY(65deg)}
@media(prefers-reduced-motion:reduce) { .hs-walker>svg {animation:none} }

.hs-object.hs-object-water {width:145px;height:118px;filter:none}
.hs-object:is(.hs-object-pickup,.hs-object-board,.hs-object-care,.hs-object-school)[data-hs="object"]::after {display:none}

.hs-home-garage .hs-gate-plaque {
 position:absolute;z-index:12;top:42%;right:6.5%;left:auto;display:block;
 padding:2px 8px;border:3px solid #815b37;border-radius:7px;
 background:#f6e1ae;color:#563719;font:600 28px/1.13 Roboto,sans-serif;
 letter-spacing:.12em;box-shadow:0 2px 3px #462e3a55;
}


.hs-loader-crop > svg {overflow:visible}
.hs-loader-extension {transform-origin:146px 108px;transform-box:view-box}

.hs-object:is(.hs-object-care,.hs-object-school) {opacity:0;pointer-events:none}

.hs-beacon {visibility:hidden;fill:var(--beacon-color)}
.hs-car[data-siren] .hs-beacon {
 visibility:visible;
 rx:27px;
 ry:14px;
 stroke:#fffde9;
 stroke-width:4px;
 animation:hs-siren-beacon 1.26s ease-in-out var(--beacon-delay) infinite;
 filter:drop-shadow(0 0 14px var(--beacon-color)) drop-shadow(0 0 27px var(--beacon-color));
}
@keyframes hs-siren-beacon {
 0%,58%,100% {opacity:.32}
 16%,34% {opacity:1}
}
@media(prefers-reduced-motion:reduce) {
 .hs-car[data-siren] .hs-beacon {animation:none;opacity:.9}
}

/* Exhaust trails follow the vehicle and never intercept driving controls. */
#helper-town .hs-car[data-exhaust="forward"],
#helper-town .hs-car[data-exhaust="reverse"] {
 --exhaust-drift: -66px;
}
#helper-town .hs-car[data-exhaust="reverse"] { --exhaust-drift: 42px; }
#helper-town .hs-car:is([data-exhaust="forward"], [data-exhaust="reverse"]) > .hs-exhaust::before,
#helper-town .hs-car:is([data-exhaust="forward"], [data-exhaust="reverse"]) > .hs-exhaust::after {
 content: "";
 position: absolute;
 left: var(--exhaust-left);
 top: var(--exhaust-top);
 width: 23px;
 height: 19px;
 border-radius: 50%;
 background: radial-gradient(ellipse, #c9c7be 14%, #b0aca266 58%, transparent 74%);
 animation: hs-exhaust-drift 850ms ease-out infinite;
 pointer-events: none;
}
#helper-town .hs-car:is([data-exhaust="forward"], [data-exhaust="reverse"]) > .hs-exhaust::after {
 animation-delay: -425ms;
}
@keyframes hs-exhaust-drift {
 from { transform: translate(-50%, -20%) scale(.45); opacity: .76; }
 to { transform: translate(var(--exhaust-drift), -48px) scale(2.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
 #helper-town .hs-car:is([data-exhaust="forward"], [data-exhaust="reverse"]) > .hs-exhaust::before,
 #helper-town .hs-car:is([data-exhaust="forward"], [data-exhaust="reverse"]) > .hs-exhaust::after { display: none; }
}

.hs-caller > img.hs-caller-portrait {
 width: 100%;
 height: auto;
 max-height: 100%;
 aspect-ratio: 1;
 object-fit: contain;
 border-radius: 18px;
}

.hs-loader > svg {overflow:visible}
.hs-mail-shutter {transition:transform .55s ease-in-out}
#helper-town[data-hs-mail-open] .hs-mail-shutter {transform:translateY(-218px)}
.hs-delivered-goods.hs-mail-pallet {width:48px;height:44px}
@media(prefers-reduced-motion:reduce){.hs-mail-shutter {transition-duration:.1s}}
.hs-cargo-button > svg {opacity:0}
.hs-crane-rig {position:absolute;left:0;top:0;height:650px;z-index:14;pointer-events:none;overflow:visible}
.hs-delivered-goods.hs-delivered-beam {width:170px;height:65px;z-index:7}
.hs-winch-cable {position:absolute;height:3px;background:#43484b;transform-origin:right;z-index:12;pointer-events:none}
.hs-repaired-car {position:absolute;z-index:6;pointer-events:none}

.hs-tow-moving,.hs-tow-winch {position:absolute;left:0;top:0;z-index:10;pointer-events:none}
.hs-tow-moving {z-index:11;transform-origin:50% 99.6%;will-change:transform}
.hs-tow-winch {width:1px;height:1px;overflow:visible}
#helper-town[data-tow-transfer] :is(.hs-object-hook,.hs-platform-car) {visibility:hidden}
.hs-road-bin,.hs-waste-container,.hs-waste-motion {position:absolute;pointer-events:none}
.hs-road-bin,.hs-waste-container {z-index:6}
.hs-road-bin {width:78px;height:105px}
.hs-waste-container {width:276px;height:134px}
.hs-waste-motion {width:1px;height:1px;left:0;top:0;z-index:10;overflow:visible}
.hs-road-bin-empty .hs-waste-lid {transform-box:fill-box;transform-origin:left center;rotate:-6deg}
#helper-town[data-lifting-bin="0"] [data-hs-bin="0"],
#helper-town[data-lifting-bin="1"] [data-hs-bin="1"],
#helper-town[data-lifting-bin="2"] [data-hs-bin="2"] {visibility:hidden}
.hs-bin-arm-shadow,.hs-bin-arm {fill:none;stroke-linecap:round;stroke-linejoin:round}
.hs-bin-arm-shadow {stroke:#303c36;stroke-width:14}
.hs-bin-arm {stroke:#9da99a;stroke-width:8}
.hs-service-yard {position:absolute;width:440px;height:125px;z-index:3;border-radius:16px 16px 4px 4px;background:linear-gradient(165deg,#667c71 0 11%,#b4b8a7 11% 15%,#838b81 15% 100%);border-bottom:16px solid #5b6860;color:#f5f1db;text-align:center;font-size:44px;pointer-events:none}
.hs-police-yard {background:linear-gradient(165deg,#416784 0 14%,#d9e5ee 14% 20%,#7499b1 20% 100%)}
.hs-border-post {position:absolute;width:450px;height:90px;z-index:3;pointer-events:none;background:repeating-linear-gradient(12deg,#b98b60 0 4px,#caa27b 4px 13px);border:3px solid #8b6546;border-radius:12px}
.hs-border-post span {position:absolute;top:-72px;left:8px;width:22px;height:90px;color:transparent;background:repeating-linear-gradient(0deg,#e5e9d9 0 15px,#9f4b43 15px 29px)}
.hs-border-post i {position:absolute;top:-33px;left:27px;width:95px;height:10px;background:repeating-linear-gradient(135deg,#e5e9d9 0 12px,#9f4b43 12px 24px)}
.hs-object-border-check {width:75px;height:75px}
.hs-object-police-stop {width:100px;height:158px}

.hs-border-landscape {position:absolute;width:920px;height:410px;z-index:4;pointer-events:none}
.hs-border-landscape svg {width:100%;height:100%}
.hs-border-dog {width:74px;height:50px;object-fit:contain;object-position:bottom;transform-origin:bottom}
.hs-object-border-stop {width:100px;height:158px}

.hs-border-runner {position:absolute;width:100px;height:158px;z-index:7;pointer-events:none}
.hs-border-runner svg {width:100%;height:100%}
.hs-border-runner.hs-run-moving svg {animation:hs-border-run .34s ease-in-out infinite alternate}
@keyframes hs-border-run {from{transform:translateY(0) rotate(-6deg)}to{transform:translateY(-9px) rotate(6deg)}}
@media(prefers-reduced-motion:reduce){.hs-border-runner.hs-run-moving svg{animation:none}}

.hs-city-block {position:absolute;width:820px;height:353px;z-index:3;pointer-events:none}
.hs-city-block svg {width:100%;height:100%}

.hs-home-garage:is(.hs-garage-border,.hs-garage-police) .hs-garage-facade {object-fit:fill}
.hs-home-garage:is(.hs-garage-border,.hs-garage-police) .hs-gate-track {inset:var(--service-door-top) var(--service-door-side) var(--service-door-bottom,2%);border-radius:0}
.hs-garage-border {--service-door-top:35.5%;--service-door-side:22%;--service-garage-color:#4b5a35}
.hs-garage-police {--service-door-top:32%;--service-door-side:23%;--service-garage-color:#235986}
.hs-home-garage:is(.hs-garage-border,.hs-garage-police) .hs-gate-console {top:calc((100% + var(--service-door-top) - var(--service-door-bottom,2%)) / 2);width:50%}
.hs-service-garage-sign {position:absolute;z-index:8;top:13%;left:50%;translate:-50% 0;padding:4px 17px;border-radius:4px;background:var(--service-garage-color);color:white;font-size:25px;letter-spacing:.12em;font-weight:700;pointer-events:none}

.hs-service-garage-sign {display:flex;align-items:center;gap:8px}
.hs-service-garage-sign svg {width:27px;height:27px;flex:none}
.hs-garage-border .hs-service-garage-sign svg {filter:hue-rotate(306deg)}

.hs-part > .hs-patrol-part {display:block;flex:1 1 0;width:100%;height:0;min-height:0;pointer-events:none}

#helper-town .hs-road-dust {
 position:absolute;left:18%;top:91%;z-index:-1;pointer-events:none;
 opacity:0;transition:opacity .55s ease-out;
}
#helper-town .hs-car:is([data-exhaust="forward"],[data-exhaust="reverse"]) .hs-road-dust {opacity:.92}
#helper-town .hs-road-dust i {
 position:absolute;width:36px;height:24px;border-radius:50%;
 background:radial-gradient(ellipse,#c49a67 12%,#bf985d80 50%,transparent 73%);
 animation:hs-dirt-trail 950ms ease-out infinite;
}
#helper-town .hs-road-dust i:nth-child(2) {animation-delay:-310ms}
#helper-town .hs-road-dust i:nth-child(3) {animation-delay:-620ms}
#helper-town .hs-car[data-exhaust="reverse"] .hs-road-dust {left:77%;scale:-1 1}
@keyframes hs-dirt-trail {from{transform:translate(0,0) scale(.5);opacity:.8}to{transform:translate(-100px,-31px) scale(3);opacity:0}}
@media(prefers-reduced-motion:reduce){#helper-town .hs-road-dust i {animation:none}}

.hs-border-base {position:absolute;width:320px;height:385px;z-index:4;pointer-events:none}

.hs-track-patrol {position:absolute;left:0;top:0;width:123px;height:0;z-index:15;pointer-events:none}
.hs-track-patrol :is(img,svg) {position:absolute;display:block;object-fit:contain;object-position:center bottom}
.hs-patrol-station {position:absolute;width:470px;height:285px;z-index:5;pointer-events:none;filter:drop-shadow(0 4px 3px #39312655)}
.hs-patrol-station svg {width:100%;height:100%;display:block}
.hs-station-door {transition:transform .45s ease}
.hs-patrol-station[data-door-open] .hs-station-door {transform:translateX(68px)}
.hs-track-escort-person {width:68px;height:158px;left:29px;bottom:0}
.hs-patrol-escort {transform-origin:0 0}
.hs-patrol-escort .hs-track-dog {left:-87px}
@media(prefers-reduced-motion:reduce){.hs-station-door {transition-duration:0s}}
.hs-track-guard {width:68px;height:154px;left:-26px;bottom:0}
.hs-track-dog {width:83px;height:62px;left:23px;bottom:0}
