/* Full illustrated clearings share one fixed 1672 × 941 play surface. */
.gorilla-trail-scene{position:relative;isolation:isolate;box-sizing:border-box;width:100%;height:100%;min-height:0;padding:0;overflow:hidden;background:#061d18;container-type:inline-size;font-family:var(--game-font);color:#fff1c6}
.gorilla-trail-scene *{box-sizing:border-box}
.gorilla-trail-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.gorilla-trail-backgrounds,.gorilla-trail-art,.gorilla-trail-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none}
.gorilla-trail-backgrounds{z-index:0;overflow:hidden}
.gorilla-trail-art{object-fit:fill}
.gorilla-trail-shade{z-index:1;background:linear-gradient(180deg,#00100a16,transparent 30%,transparent 77%,#00170aba 100%)}
.gorilla-trail-title,.gorilla-trail-panel,.gorilla-trail-scene .gorilla-trail-path{position:absolute;left:var(--trail-left);top:var(--trail-top);width:var(--trail-width);height:var(--trail-height)}
.gorilla-trail-title{z-index:5;object-fit:contain;pointer-events:none;user-select:none;filter:drop-shadow(0 .25cqw .18cqw #03140570)}
.gorilla-trail-panel{z-index:4;margin:0;padding:0;background-image:var(--gorilla-panel-art);background-size:100% 100%;background-repeat:no-repeat;pointer-events:none;filter:drop-shadow(0 .2cqw .25cqw #07130880);text-align:center}
.gorilla-trail-panel-label{position:absolute;left:17%;top:28%;width:66%;font-size:.71cqw;line-height:1.3;color:#f6d697;text-shadow:0 2px 2px #161507;white-space:nowrap}
.gorilla-trail-prize-value,.gorilla-trail-prize-amount,.gorilla-trail-stake-value{position:absolute;display:block;font-family:var(--game-font);font-weight:400;color:#fff0b9;margin:0;padding:0}
.gorilla-trail-prize-value{left:18%;top:40%;width:64%;height:19%}
.gorilla-trail-prize-amount{left:18%;top:60%;width:64%;height:9%}
.gorilla-trail-stake-value{left:18%;top:44%;width:64%;height:20%}
.gorilla-trail-star-boost{position:absolute;left:-10%;top:104%;width:120%;font-size:.68cqw;line-height:1.3;color:#ffe19e;text-shadow:0 2px 3px #001709}
.gorilla-trail-star-boost[hidden]{display:none}
.gorilla-trail-directions{position:absolute;z-index:4;left:31.45933%;top:12.22104%;width:37.08134%;height:auto;aspect-ratio:1672/941;text-align:center;pointer-events:none;text-shadow:0 2px 2px #24180d;transform-origin:50% 4%;will-change:transform}
.gorilla-trail-sign-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.gorilla-trail-stage-name{position:absolute;left:15%;top:51.5%;width:70%;margin:0;font-size:.8cqw;line-height:1.4;color:#edd49c;letter-spacing:.03em}
.gorilla-trail-instruction{position:absolute;display:flex;align-items:center;justify-content:center;left:15%;top:60%;width:70%;height:12%;margin:0;font-size:1.05cqw;line-height:1.35;color:#fff0bf}
.gorilla-trail-feature-layer{position:absolute;z-index:2;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.gorilla-trail-feature,.gorilla-trail-feature-moving,.gorilla-trail-feature-image{pointer-events:none}
/* Revealed scenery stays below the hanging sign and prize panels. */
.gorilla-trail-paths{position:absolute;z-index:3;inset:0;pointer-events:none}
.gorilla-trail-scene .gorilla-trail-path{display:block;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none;font:inherit;color:inherit;cursor:pointer;opacity:1;transform:none;filter:none;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;isolation:isolate}
.gorilla-trail-scene .gorilla-trail-path::before,.gorilla-trail-scene .gorilla-trail-path::after{content:none}
.gorilla-trail-scene .gorilla-trail-path:disabled{cursor:default;opacity:1;filter:none;transform:none}
.gorilla-trail-scene .gorilla-trail-path:not(:disabled):hover,.gorilla-trail-scene .gorilla-trail-path:not(:disabled):active{background:transparent;box-shadow:none;filter:none;transform:none}
.gorilla-trail-path-glow{position:absolute;z-index:1;inset:-4%;border-radius:45%;background:radial-gradient(ellipse at 50% 85%,#fff5af57,transparent 64%);opacity:0;transition:opacity .22s ease-out;pointer-events:none;mix-blend-mode:screen}
.gorilla-trail-path:not(:disabled):hover .gorilla-trail-path-glow,.gorilla-trail-path:focus-visible .gorilla-trail-path-glow{opacity:.8}
.gorilla-trail-scene .gorilla-trail-path:focus-visible{outline:2px solid #ffe5a2;outline-offset:5px;border-radius:45% 45% 12% 12%}
.gorilla-trail-path-foot{position:absolute;bottom:-2.5%;left:17%;width:66%;height:3%;border-radius:50%;background:radial-gradient(ellipse,#ffdd8870,transparent 72%);opacity:.5;pointer-events:none}
.gorilla-trail-path-label{position:absolute;z-index:4;left:-10%;width:120%;top:101%;font-size:1.14cqw;line-height:1.5;letter-spacing:.04em;text-align:center;color:#fae5ae;text-shadow:0 2px 3px #02190b,0 0 10px #001e11;pointer-events:none}
.gorilla-trail-path:focus-visible .gorilla-trail-path-label,.gorilla-trail-path:not(:disabled):hover .gorilla-trail-path-label{color:#fff8df}
.gorilla-trail-path.is-chosen .gorilla-trail-path-label{color:#fff2a5}
.gorilla-trail-path.is-empty .gorilla-trail-path-label{color:#dabd96}
.gorilla-trail-path-art{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.gorilla-trail-mobile-art{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.gorilla-trail-reveal{animation:none;filter:none;position:absolute;z-index:3;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.gorilla-trail-gorilla{filter:none;pointer-events:none}
.gorilla-trail-progress{position:absolute;z-index:4;left:8.133971%;bottom:.75%;width:83.732057%;height:auto;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));align-items:center;gap:0;list-style:none;margin:0;padding:0}
.gorilla-trail-progress::before{content:none}
.gorilla-trail-step{position:relative;min-width:0;width:100%;height:auto;aspect-ratio:1;display:block;text-align:center;color:#ded0a3;text-shadow:0 2px 2px #171c12;background-image:var(--gorilla-cabinet-art);background-size:100% 100%;background-repeat:no-repeat}
.gorilla-trail-step-index{position:absolute;left:17%;top:18%;width:66%;height:9%;display:flex;align-items:center;justify-content:center;font-size:.72cqw;line-height:1;color:#ebd7a7}
.gorilla-trail-step-icon{position:absolute;left:23%;top:24%;width:54%;height:54%;background-image:var(--gorilla-level-icons);background-size:500% 200%;background-position:var(--gorilla-icon-x) var(--gorilla-icon-y);background-repeat:no-repeat;filter:brightness(.68) saturate(.6)}
.gorilla-trail-step-prize{position:absolute;left:10%;top:73%;width:80%;height:9%;font-size:.74cqw;line-height:1;white-space:nowrap;color:#d5ccae}
.gorilla-trail-step.is-achieved .gorilla-trail-step-icon{filter:brightness(1.03) saturate(1.1)}
.gorilla-trail-step.is-achieved .gorilla-trail-step-prize{color:#ffdf91}
.gorilla-trail-step.is-current .gorilla-trail-step-icon{filter:brightness(1.15) drop-shadow(0 0 .3cqw #ffe78b88)}
.gorilla-trail-step.is-current .gorilla-trail-step-index,.gorilla-trail-step.is-current .gorilla-trail-step-prize{color:#fff4c9;text-shadow:0 1px 2px #150e02,0 0 8px #c99046}
.gorilla-trail-scene[data-gorilla-phase='transition'] .gorilla-trail-path-label{opacity:.5}
.gorilla-trail-scene .fl-bonus-recovery{z-index:40}
#game.bonus-mode:has(>#bonus-scene.gorilla-trail-host)>.topbar{background:none;border:0;box-shadow:none;z-index:30}
#game.bonus-mode:has(>#bonus-scene.gorilla-trail-host) #dev-mode-indicator{display:none}
body:has(#game.bonus-mode>#bonus-scene.gorilla-trail-host)>.dev-tools{display:none}
body.reduced-motion .gorilla-trail-path-glow{transition:none}


.gorilla-trail-demo-badge{position:absolute;z-index:8;top:12px;left:12px;padding:5px 9px;border:1px solid #e4c26a;border-radius:5px;background:#092217ed;color:#ffe3a0;font-size:11px;line-height:1.2;letter-spacing:.04em;pointer-events:none}
.gorilla-trail-demo-badge[hidden]{display:none}


.gorilla-trail-reveal-view{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.gorilla-trail-reveal-mobile{display:none}



/* Soft light has no image mask, outline, or hard rectangular edge. */
.gorilla-trail-choice-light{position:absolute;z-index:1;left:var(--gorilla-light-left,-10%);top:var(--gorilla-light-top,-10%);width:var(--gorilla-light-width,120%);height:var(--gorilla-light-height,120%);border-radius:50%;background:radial-gradient(ellipse at center,#ffe4a3a6 0%,#ffd47760 24%,#ffcd661c 48%,#ffcd6600 72%);mix-blend-mode:screen;opacity:0;pointer-events:none;user-select:none}
.gorilla-trail-scene .gorilla-trail-choice-arrow{display:block;position:absolute;z-index:2;left:var(--gorilla-guide-left,50%);top:var(--gorilla-guide-top);width:auto;height:var(--gorilla-guide-height);max-width:none;object-fit:contain;overflow:visible;transform:translateX(-50%);filter:drop-shadow(0 3px 2px #24150399);pointer-events:none;user-select:none}
.gorilla-trail-scene .gorilla-trail-choice-arrow[hidden]{display:none}
.gorilla-trail-scene[data-gorilla-guidance='hidden'] .gorilla-trail-choice-arrow{display:none}





/* One continuous registered scene in every orientation. */
.gorilla-trail-art{object-fit:contain}
.gorilla-trail-backgrounds{opacity:1}
.gorilla-trail-path-art,.gorilla-trail-mobile-art,.gorilla-trail-reveal-mobile,.gorilla-trail-portrait-features,.gorilla-trail-reveal-portrait{display:none}
.gorilla-trail-reveal{inset:0;width:100%;height:100%;mask-image:none;-webkit-mask-image:none;overflow:visible}
.gorilla-trail-reveal-view{overflow:visible}
.gorilla-trail-scene[data-gorilla-portrait="true"] .gorilla-trail-feature-layer:not(.gorilla-trail-portrait-features),.gorilla-trail-scene[data-gorilla-portrait="true"] .gorilla-trail-reveal-desktop{display:none}
.gorilla-trail-scene[data-gorilla-portrait="true"] .gorilla-trail-portrait-features,.gorilla-trail-scene[data-gorilla-portrait="true"] .gorilla-trail-reveal-portrait{display:block}
