*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:#5ac0c8}.stage{position:absolute;width:1920px;height:1080px;transform-origin:top left}.scene-image,button,.sand,#time,#drops{position:absolute}.scene-image{display:block}.board{left:20px;top:19px;width:1881px;height:1042px;pointer-events:none}.hourglass{left:758px;top:108px;width:405px;height:764px}.sand{left:815px;width:290px;overflow:hidden;pointer-events:none}.sand img{display:block;position:absolute;left:0;width:auto;max-width:none;height:201px}.upper{top:292px;height:201px}.lower{top:582px;width:291px;height:201px}.credit{left:24px;top:970px;width:336px;height:80px}.credit img{display:block;width:100%;height:100%}.minute-label{left:628px;top:970px;width:272px;height:80px}.second-label{left:1005px;top:970px;width:271px;height:80px}button{display:block;border:0;padding:0;background:transparent center/100% 100% no-repeat;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;width:81px;height:85px;top:968px}button:focus-visible,a:focus-visible{outline:3px solid #173f53;outline-offset:3px}button.minus{background-image:url('assets/spr_min.png')}button.plus{background-image:url('assets/spr_plus.png')}.minute-minus{left:590px}.minute-plus{left:870px}.second-minus{left:970px}.second-plus{left:1250px}#reset{left:1550px;width:80px;background-image:url('assets/spr_reset.png')}#pause{left:1640px;top:967px;height:86px;background-image:url('assets/spr_pause.png')}#start{left:1730px;top:967px;height:86px;background-image:url('assets/spr_start.png')}#fullscreen{left:1820px;width:80px;background-image:url('assets/spr_fullscreen.png')}html:fullscreen #fullscreen{background-image:url('assets/spr_fullscreen-1.png')}#time{left:960px;top:848px;height:112px;width:0}#digits{position:absolute;top:0;height:112px}#digits img{position:absolute;top:0;max-width:none}#drops{inset:0;pointer-events:none}#drops img{position:absolute;width:16px;height:22px;left:952px}.stage.started .settings{visibility:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.surface{position:absolute;inset:0;width:1920px;height:1080px;display:none;pointer-events:none}.painted .surface{display:block}.painted .scene-image,.painted .sand,.painted #digits,.painted #drops{opacity:0}.painted button{background-image:none!important}
button[aria-pressed="true"]{opacity:.5}
#truckScene{position:absolute;left:400px;top:270px;width:1120px;height:530px}#chassis{position:absolute;left:0;bottom:0;width:1000px;height:440px;object-fit:contain}#tipper{position:absolute;left:440px;top:130px;width:570px;height:260px;transform-origin:450px 260px;transition:transform 1.7s cubic-bezier(.4,0,.2,1)}#tipper img{width:100%;height:100%;object-fit:fill}.stage.finished #tipper{transform:rotate(36deg)}#cargo{position:absolute;inset:0;pointer-events:none}.load-item{position:absolute;width:85px;height:85px;object-fit:contain;left:948px;top:340px;opacity:0}#truckScene:after{content:'';position:absolute;left:0;bottom:0;width:1120px;height:7px;border-radius:50%;background:#dce9e8;z-index:-1}@media(prefers-reduced-motion:reduce){#tipper{transition-duration:.1s}}

/* Dorpsachtergrond: banden op het wegdek; rustige onderstrook voor de bediening. */
.board{left:20px;top:19px;width:1881px;height:1042px;object-fit:fill;border-radius:24px}#truckScene{top:295px}#truckScene:after{display:none}



/* De laadbak begint achter de cabine; het achterwiel staat ervoor. */
#chassis{z-index:1}#tipper{z-index:2}.rear-wheel{position:absolute;left:0;bottom:0;width:1000px;height:440px;object-fit:contain;clip-path:circle(86px at 756px 345px);z-index:3;pointer-events:none}#cargo{z-index:4}


/* Vast scharnier achteraan het chassis: (890,390) in truckScene. */
#tipper:after{content:'';position:absolute;left:440px;top:248px;width:20px;height:24px;background:#52575a;border-radius:8px;z-index:-1}


/* Het landschap eindigt boven logo en knoppen; de turquoise basis blijft zichtbaar. */
.board{clip-path:inset(0 0 101px 0 round 24px)}


.landscape{position:absolute;left:20px;top:19px;width:1881px;height:941px;overflow:hidden;border-radius:24px;pointer-events:none}.landscape-base,#sceneryMotion,#sceneryMotion>svg{position:absolute;left:0;top:0;width:1881px;height:1042px}#sceneryMotion .cloud,#sceneryMotion .rotor{animation-play-state:paused}.stage.running #sceneryMotion .cloud,.stage.running #sceneryMotion .rotor{animation-play-state:running}


/* Tijdsbalk volgens het screenshot: volle landschapsbreedte, vlak en bovenaan. */
#timeLabel{position:absolute;left:20px;top:28px;width:1881px;text-align:center;font:46px 'Trebuchet MS',sans-serif;letter-spacing:3px;color:#000;pointer-events:none}
#timeBar{position:absolute;left:20px;top:88px;width:1881px;height:72px;background:#e5e5e5;border:0;border-radius:0;overflow:hidden;pointer-events:none}
#timeBarFill{position:absolute;inset:0;background:#c0c0c0;transform:scaleX(1);transform-origin:left center}
#time{left:960px;top:124px;height:72px;z-index:1;transform:scale(.8);transform-origin:center top}#digits{top:-60px;height:87px}

/* Cijferbestanden bevatten bovenruimte: zichtbare inkt y34–86, midden y60. */


/* Houd alle bewegende SVG-lagen onder de ondoorzichtige tijdsbalk. */
.landscape{isolation:isolate;z-index:0}#timeBar{z-index:10}#timeLabel,#time{z-index:11}

