/* A compact viewport-bottom scene, with input only on the character and controls. */
.thanksgiving-detail{background:#0e161c;color:#cfdae0;padding:16px 7%;border-top:1px solid #ffffff18}.gnome-heading{display:flex;justify-content:flex-end}.gnome-heading p{display:none}.gnome-heading label{font:9px Arial;letter-spacing:1px;color:#a0b2bf;display:flex;gap:12px;align-items:center}.gnome-heading select{background:#17252d;border:1px solid #546c7c;color:#dbe5ea;padding:9px;font:10px Arial}.gnome-stage{position:fixed;left:max(0px,env(safe-area-inset-left));bottom:max(8px,env(safe-area-inset-bottom));width:calc(100% - 150px - env(safe-area-inset-left));height:145px;max-width:1100px;z-index:35;overflow:hidden;isolation:isolate;pointer-events:none}.gnome-stage[hidden]{display:none}.gnome-ground{position:absolute;bottom:18px;left:8px;right:0;height:1px;background:linear-gradient(90deg,#82979b66,#82979b22,transparent);pointer-events:none}.gnome-props{position:absolute;width:155px;height:135px;object-fit:contain;object-position:bottom left;bottom:6px;left:3px;z-index:3;pointer-events:none;filter:drop-shadow(0 4px 4px #0005)}.gnome-actor{position:absolute;width:96px;height:96px;left:109px;bottom:18px;z-index:4;background:transparent;border:0;padding:0;cursor:pointer;touch-action:manipulation;pointer-events:auto;transform:translateX(0);will-change:transform}.gnome-actor:focus-visible{outline:2px dashed #d2e8f2;outline-offset:1px;border-radius:8px}.gnome-sprite{display:block;width:100%;height:100%;background-image:url('assets/seasonal/tile-gnome-classic-v3.png');background-repeat:no-repeat;background-size:400% 200%;background-position:0 0;filter:drop-shadow(0 3px 2px #0005);transform-origin:50% 85%}.gnome-actor.returning .gnome-sprite{transform:scaleX(-1)}.laid-tile{position:absolute;bottom:17px;height:12px;background:linear-gradient(135deg,#e7e5da,#a7b8bd 75%,#d1d4cc);border:1px solid #e5e7db;box-shadow:0 3px 0 #53656d,0 5px 8px #0004;opacity:0;transform:translateY(-9px) rotate(-5deg);transition:opacity .2s,transform .3s;z-index:1;pointer-events:none}.laid-tile.placed{opacity:1;transform:translateY(0) rotate(0)}.gnome-message{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.gnome-tools{position:fixed;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 126px);left:12px;display:flex;gap:6px;z-index:36;pointer-events:none}.gnome-tools button{background:#10212de8;color:#d3e4ed;border:1px solid #829dad;padding:8px 12px;font:10px Arial;min-height:36px;pointer-events:auto}.gnome-tools button[hidden]{display:none}.gnome-notes{font:9px/1.8 Arial;color:#8097a6;text-align:right;margin:10px 0 0}.gnome-stage.loading .gnome-actor,.gnome-stage.loading .gnome-props{visibility:hidden}.gnome-stage.running .gnome-actor{cursor:default}.gnome-stage.running .gnome-props{z-index:0}.gnome-hide{position:absolute;left:0;top:0;width:44px;height:36px;border:0;color:#c9dce7;background:#10212d88;font:18px Arial;pointer-events:auto;z-index:5;border-radius:6px;opacity:.55}.gnome-hide:hover,.gnome-hide:focus-visible{opacity:1}.modal-open .gnome-stage,.modal-open .gnome-tools{visibility:hidden}#thanksgiving-gnome{scroll-margin-top:90px}@media(max-width:700px){.thanksgiving-detail{padding:14px 6%}.gnome-stage{width:calc(100% - 132px - env(safe-area-inset-left));height:118px;bottom:max(7px,env(safe-area-inset-bottom))}.gnome-props{width:95px;height:105px}.gnome-actor{width:80px;height:80px;left:67px}.gnome-tools{bottom:calc(max(7px,env(safe-area-inset-bottom)) + 112px);left:4px}.gnome-tools button{min-height:36px;font-size:9px;padding:7px 9px}.gnome-hide{height:30px;width:36px;font-size:16px}.gnome-notes{font-size:8px}.gnome-heading{justify-content:flex-start}#thanksgiving-gnome{scroll-margin-top:80px}}@media(prefers-reduced-motion:reduce){.laid-tile{transition:none}.gnome-actor{will-change:auto}}
.gnome-stage.loading{visibility:hidden}.hero-location{visibility:hidden}@media(max-width:700px){.hero{height:100svh;min-height:700px}.hero-copy{bottom:250px}.hero-footer{bottom:120px}.hero h1{margin:20px 0}.hero-copy .text-link{margin-top:8px}}
.gnome-hide{opacity:0;pointer-events:none}.gnome-stage:hover .gnome-hide,.gnome-stage:focus-within .gnome-hide{opacity:.75;pointer-events:auto}.gnome-tools{left:auto;right:max(12px,env(safe-area-inset-right));bottom:calc(max(8px,env(safe-area-inset-bottom)) + 64px)}

/* Larger supplies, unchanged 96px / 80px character; three shallow tile rows. */
.gnome-stage{height:180px}.gnome-props{width:220px;height:170px}@media(max-width:700px){.gnome-stage{width:calc(100% - 92px - env(safe-area-inset-left));height:150px}.gnome-props{width:140px;height:140px}}
@media(min-width:701px){.hero-footer{bottom:150px}}

/* A second corner, independent from the working craftsman and clear of page input. */
.gnome-helper-stage{position:fixed;left:max(0px,env(safe-area-inset-left));right:max(0px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));height:160px;pointer-events:none;z-index:34;overflow:hidden;isolation:isolate}.gnome-helper-stage[hidden],.gnome-helper-stage.loading{display:none}.gnome-pumpkins{position:absolute;right:9px;bottom:5px;width:120px;height:135px;pointer-events:auto;border:0;background:none;padding:0;cursor:pointer;touch-action:manipulation;z-index:3}.gnome-pumpkins img{width:100%;height:100%;object-fit:contain;object-position:bottom right;filter:drop-shadow(0 4px 3px #0004)}.gnome-pumpkins:focus-visible{outline:2px dashed #bdd8e7;outline-offset:-4px;border-radius:12px}.gnome-helper-actor{position:absolute;left:0;bottom:18px;width:96px;height:96px;pointer-events:none;z-index:2;will-change:transform}.gnome-helper-actor[hidden]{display:none}.gnome-helper-sprite{display:block;width:100%;height:100%;background:url('assets/seasonal/helper-phone-gnome.png') no-repeat;background-size:400% 200%;filter:drop-shadow(0 3px 2px #0004)}.gnome-helper-actor.returning .gnome-helper-sprite{transform:scaleX(-1)}.modal-open .gnome-helper-stage{visibility:hidden}.gnome-tools{bottom:calc(max(8px,env(safe-area-inset-bottom)) + 145px)}@media(max-width:700px){.gnome-helper-stage{height:135px;bottom:max(7px,env(safe-area-inset-bottom))}.gnome-pumpkins{right:5px;width:80px;height:105px}.gnome-helper-actor{width:80px;height:80px}.gnome-tools{bottom:calc(max(7px,env(safe-area-inset-bottom)) + 115px)}}@media(prefers-reduced-motion:reduce){.gnome-helper-actor{will-change:auto}}
/* Keep pause above the supply corner, away from the hero's right-side photo controls. */
.gnome-tools{left:8px;right:auto;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 180px)}@media(max-width:700px){.gnome-tools{left:4px;bottom:calc(max(7px,env(safe-area-inset-bottom)) + 150px)}}
@media(max-width:700px){.gnome-tools{bottom:calc(max(7px,env(safe-area-inset-bottom)) + 178px)}}

/* Helper runs visibly above the floor; footfall lift follows laid rows. */
.gnome-helper-stage{z-index:36}.gnome-tools{z-index:38}.gnome-stage{z-index:35}.laid-tile.placed.ruffled{transform:translateX(var(--nudge,0px)) rotate(var(--skew,0deg));transition:transform .16s ease-out}.gnome-actor.annoyed .gnome-sprite{background-image:url('assets/seasonal/tile-gnome-annoyed-v1.png');background-size:400% 100%;transform-origin:50% 90%}@media(prefers-reduced-motion:reduce){.laid-tile.placed.ruffled{transform:none}}
.gnome-helper-stage{height:215px}@media(max-width:700px){.gnome-helper-stage{height:190px}}
.gnome-actor.annoyed .gnome-sprite{width:75%;margin-left:12.5%}
/* Shared edge-to-edge Thanksgiving ground and gentle, noninteractive leaves. */
.thanksgiving-portfolio .gnome-stage,.thanksgiving-portfolio .gnome-helper-stage{bottom:0}html:has(body.thanksgiving-portfolio){background:#0e161c}.gnome-leaves{position:fixed;inset:0;pointer-events:none;z-index:32;overflow:hidden}.gnome-leaves[hidden]{display:none}.gnome-leaves i{position:absolute;top:-40px;left:var(--left,8%);width:var(--size,18px);height:24px;background:url('assets/seasonal/autumn-leaf.svg') center/contain no-repeat;opacity:0;animation:jaw-leaf-drift var(--speed,20s) linear infinite;animation-delay:var(--delay,0s);will-change:transform}.gnome-leaves i:nth-child(1){--left:4%;--speed:19s;--delay:-4s}.gnome-leaves i:nth-child(2){--left:18%;--speed:24s;--delay:-16s;--size:14px}.gnome-leaves i:nth-child(3){--left:35%;--speed:22s;--delay:-8s;--size:16px;filter:hue-rotate(12deg)}.gnome-leaves i:nth-child(4){--left:53%;--speed:27s;--delay:-21s;--size:15px}.gnome-leaves i:nth-child(5){--left:72%;--speed:18s;--delay:-11s;--size:21px;filter:hue-rotate(-12deg)}.gnome-leaves i:nth-child(6){--left:91%;--speed:23s;--delay:-3s;--size:17px}.gnome-leaves i:nth-child(7){--left:10%;--speed:29s;--delay:-23s;--size:13px}.gnome-leaves i:nth-child(8){--left:84%;--speed:26s;--delay:-18s;--size:15px}.gnome-leaves.paused i,.modal-open .gnome-leaves i{animation-play-state:paused}.modal-open .gnome-leaves{visibility:hidden}@keyframes jaw-leaf-drift{0%{transform:translate(0,-20px) rotate(-35deg);opacity:0}8%{opacity:.65}30%{transform:translate(22px,30vh) rotate(90deg)}60%{transform:translate(-15px,65vh) rotate(210deg)}92%{opacity:.6}100%{transform:translate(10px,calc(100vh + 50px)) rotate(320deg);opacity:0}}@media(max-width:700px){.gnome-leaves i:nth-child(n+6){display:none}.gnome-leaves i{max-width:17px}}@media(prefers-reduced-motion:reduce){.gnome-leaves{display:none}}
