/* Door colours/content, Room for Me / Little Thread watch layout and controls. */
body.door-adventure #watchScreen .welcome-photo,body.door-adventure #watchScreen #welcome{display:none!important}
body.door-adventure #watchScreen .adv-watch-copy .gold{width:min(100%,300px)!important;min-height:48px!important;border:0!important;border-radius:16px!important;box-sizing:border-box!important}
body.door-adventure #watchScreen .adv-watch-copy{gap:14px!important;align-items:flex-start!important}
@media(max-width:700px) and (orientation:portrait){body.door-adventure #watchScreen .adv-watch-copy .gold{justify-self:center!important}}
/* Two physical spelling actions: LOAD, then PULL. */
.machine-word-rack{pointer-events:auto!important;width:max-content;gap:8px!important;z-index:12!important}
.machine-slot{display:grid!important;place-items:center;width:var(--machine-tile-size,48px)!important;height:54px!important;min-height:44px!important;padding:0!important;border:2px dashed #a78954!important;border-radius:13px!important;background:linear-gradient(#fff0cbaa,#d9bb7caa)!important;color:#826e4d!important;font:400 34px/1 Froople,'Trebuchet MS',sans-serif!important;box-shadow:inset 0 0 0 2px #fff6,0 4px #a38652!important;pointer-events:auto!important}
.machine-slot.collected{background:linear-gradient(#e7fcff,#87d0e8)!important;color:#235b74!important;border:2px solid #d6fbff!important;box-shadow:0 4px #3e8caa,0 0 19px #8ce6ff66!important}
.machine-tile-tray{position:absolute;display:flex;gap:12px;transform:translate(-50%,-50%);z-index:13}
.machine-tile{position:relative!important;width:var(--machine-tile-size,48px)!important;height:56px!important;min-width:44px;min-height:44px!important;padding:0!important;display:grid!important;place-items:center;border:2px solid #fff1c6!important;border-radius:13px!important;background:linear-gradient(145deg,#ffedb1,#e6b85a)!important;box-shadow:inset 0 0 0 2px #cdab6a66,0 5px #a77a37,0 9px 14px #75572e22!important;color:#315965!important;font:400 36px/1 Froople,'Trebuchet MS',sans-serif!important;touch-action:none}
.machine-tile.tile-selected{outline:4px solid #69cde4;outline-offset:4px}.machine-tile.tile-dragging{z-index:30;filter:drop-shadow(0 12px 9px #63432944);outline:none}.machine-tile.tile-used{opacity:0!important;pointer-events:none}
.workshop-world .machine-tile:not(:disabled):active,.machine-word-rack .machine-slot:not(:disabled):active{transform:none!important;translate:none}
.machine-locked .precision-handle{opacity:.25;filter:grayscale(.7)}.machine-load-step .precision-handle{visibility:hidden}.machine-load-step .precision-flight-svg path,.machine-load-step .precision-mouth-ring{opacity:0!important}
.machine-word-rack:has(.machine-slot:not(.collected)) .machine-slot:not(.collected){animation:machine-space-breathe 2s ease-in-out infinite alternate}
@keyframes machine-space-breathe{to{border-color:#f8edcf;box-shadow:inset 0 0 0 2px #fff9,0 4px #a38652,0 0 14px #ffedac66}}
/* Follow the Footprints: one rhythmic journey through three new environments. */
.footprint-adventure{background:linear-gradient(#e2eee1,#f4e8bf);--foot-ink:#285d61}.footprint-river{background:linear-gradient(#d7eeeb,#d4ece5)}.footprint-bridge{background:linear-gradient(#f5e9c8,#e4eacb)}
.footprint-adventure .workshop-word{display:none}.footprint-environment{position:absolute;left:0;right:0;background-position:50% 80%;background-size:100% auto;background-repeat:no-repeat;overflow:visible;z-index:2}
.footprint-forest .footprint-environment{background-image:url('../art/footprints-v2/forest.webp')}.footprint-river .footprint-environment{background-image:url('../art/footprints-v2/river.webp')}.footprint-bridge .footprint-environment{background-image:url('../art/footprints-v2/bridge.webp')}
.footprint-dinosaur{transform:translate(-50%,-92%) scaleX(-1);z-index:6;filter:drop-shadow(0 7px 4px #31482944);will-change:left,top}
.footprint-trail-mark{position:absolute;translate:-50% -75%;width:clamp(36px,5vw,66px);height:clamp(40px,6vw,75px);display:grid;place-items:center;color:#fef3c8a6;border-radius:50%;z-index:3;filter:drop-shadow(0 2px 2px #34584155);transition:color .18s,background .18s}
.stomp-print{display:block;width:70%;height:80%;pointer-events:none}.foot-left{transform:scaleX(-1) rotate(-7deg)}.foot-right{transform:rotate(7deg)}
.trail-cue{color:#fff5a1;background:#ffdc6c88;box-shadow:0 0 26px #fff4bd}.trail-done{color:#c2ffe4;background:#7dc9b388;box-shadow:0 0 14px #aaf7cd88}
.footprint-sequence{position:absolute;top:5%;left:50%;transform:translateX(-50%);display:flex;gap:12px;z-index:7}
.footprint-beat{width:clamp(38px,4.8vw,58px);height:clamp(48px,5.5vw,68px);border:2px solid #fff8dc;background:linear-gradient(#edf2d8,#c7d6b6);box-shadow:0 4px #8fa68e;border-radius:19px;display:grid;place-items:center;color:#709c93;transition:background .15s,color .15s;pointer-events:none}
.footprint-beat.beat-cue{color:#4f6c47;background:#ffe19a;box-shadow:0 4px #b3a166,0 0 21px #ffedab;scale:1.08}.footprint-beat.beat-done{background:#b8e4ce;color:#326a59;box-shadow:0 4px #71a48a}
.footprint-controls{position:absolute;left:50%;bottom:3%;transform:translateX(-50%);display:flex;gap:clamp(20px,5vw,65px);z-index:9}
.footprint-pad{width:112px;height:98px;min-height:54px!important;border:3px solid #fff2cf!important;border-radius:28px!important;background:linear-gradient(#cbe8d6,#78b39f)!important;box-shadow:inset 0 0 0 3px #a9d4bd,0 7px #497d70,0 12px 20px #55745d22!important;color:#295f63!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:6px 9px!important;font:400 25px/1 Froople,'Trebuchet MS',sans-serif!important}
.footprint-pad .stomp-print{width:42px;height:53px}.footprint-pad.pad-cue{background:#ffe09b!important;box-shadow:inset 0 0 0 3px #fff0bf,0 7px #b69b50,0 0 25px #ffe9a0!important}.workshop-world .footprint-pad:not(:disabled):active{transform:translateY(3px);translate:none}
.footprint-pad:disabled{opacity:.7}
@media(max-width:700px) and (orientation:portrait){.machine-word-rack{gap:6px!important}.machine-slot{height:48px!important;font-size:30px!important}.machine-tile-tray{gap:9px}.machine-tile{height:52px!important;font-size:33px!important}.footprint-sequence{gap:8px}.footprint-beat{width:36px;height:46px;border-radius:14px}.footprint-pad{width:100px;height:95px}.footprint-controls{gap:30px;bottom:4%}}
@media(max-height:520px) and (orientation:landscape){.machine-slot{height:44px!important;font-size:29px!important}.machine-tile{height:44px!important;font-size:31px!important}.machine-tile-tray{gap:10px}.footprint-environment{background-position:50% 65%}.footprint-sequence{top:3px;gap:8px}.footprint-beat{width:28px;height:32px;border-radius:10px}.footprint-controls{gap:24px;bottom:3%}.footprint-pad{width:103px;height:52px;flex-direction:row!important;border-radius:20px!important;font-size:23px!important;gap:5px!important}.footprint-pad .stomp-print{width:30px;height:38px}.footprint-trail-mark{width:33px;height:40px}}

.machine-load-step .precision-flight-svg{opacity:0}

.footprint-cave{position:absolute;transform:translate(-50%,-94%);background:url('../art/footprints-v2/cave.webp') center/contain no-repeat;z-index:5;filter:drop-shadow(0 5px 5px #374b3333);pointer-events:none}

@media(max-height:520px) and (orientation:landscape){.footprint-pad{width:134px;font-size:20px!important}.footprint-pad .stomp-print{width:27px}}

@media(orientation:portrait) and (max-width:900px){body.door-adventure #watchScreen .adv-watch-copy{grid-template-columns:minmax(0,1fr)!important}body.door-adventure #watchScreen .adv-watch-copy #skipVideo{grid-column:1/-1!important;justify-self:center!important;width:min(100%,300px)!important}body.door-adventure #watchScreen #filmFallback{grid-column:1/-1;justify-self:center}}

.footprint-pad span{white-space:nowrap;font:400 21px/1 Froople,'Trebuchet MS',sans-serif!important}
@media(max-width:700px) and (orientation:portrait){.footprint-pad{width:112px}}
@media(max-height:520px) and (orientation:landscape){.footprint-pad span{font-size:19px!important}}

.machine-tile.sound-group,.machine-slot.sound-group{font-size:30px!important;letter-spacing:-.02em}
@media(max-width:700px) and (orientation:portrait){.machine-tile.sound-group,.machine-slot.sound-group{font-size:26px!important}}
