.mtrr-game{min-height:100svh;overflow:hidden;padding:24px 14px 44px;color:#153f47;background:linear-gradient(180deg,#dff8ff,#eefcf4 48%,#fff6d5)}.mtrr-heading{width:min(1120px,100%);margin:0 auto 17px;text-align:center}.mtrr-heading p,.mtrr-heading span{display:block;margin:0;color:#166d77;font-weight:900;text-shadow:none}.mtrr-heading p{font-size:13px;letter-spacing:.16em;text-transform:uppercase}.mtrr-heading h1{margin:2px 0 4px;color:#c94d3e;font-size:clamp(2rem,4.2vw,3.8rem);font-weight:1000;line-height:1;letter-spacing:-.045em;text-shadow:0 3px 0 #fff8d8,0 6px 0 rgb(92 78 47/18%)}.mtrr-heading span{font-size:clamp(.88rem,1.8vw,1.05rem)}.mtrr-stage{position:relative;isolation:isolate;width:min(1180px,100%);min-height:clamp(735px,calc(100svh - 170px),790px);margin:0 auto;overflow:hidden;border:6px solid #fff;border-radius:38px;background:#7bcfdb;box-shadow:0 22px 48px rgb(27 78 84/25%)}.mtrr-background{z-index:-3;object-fit:cover;object-position:center;filter:none!important}.mtrr-sky-wash{position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(180deg,rgb(223 250 255/74%),transparent 29%,transparent 72%,rgb(20 75 66/28%))}.mtrr-prompt{position:absolute;z-index:30;top:18px;left:50%;display:flex;width:min(650px,calc(100% - 390px));min-height:74px;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 17px;transform:translateX(-50%);border:3px solid #fff;border-radius:20px;color:#153f47;background:rgb(255 252 230/96%);box-shadow:0 7px 0 #d8a936,0 12px 22px rgb(41 70 60/22%)}.mtrr-prompt h2{margin:0;font-size:clamp(.87rem,1.45vw,1.14rem);font-weight:950;line-height:1.25;text-wrap:balance}.mtrr-prompt button{display:flex;min-width:96px;min-height:52px;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;padding:7px 13px;touch-action:manipulation;border:3px solid #fff;border-bottom:6px solid #0a6d74;border-radius:16px;color:#fff;background:linear-gradient(180deg,#37bdc2,#16878e);font-weight:950}.mtrr-prompt button svg{width:21px;height:21px}.mtrr-hud{position:absolute;z-index:31;top:18px;right:16px;display:grid;width:180px;min-height:72px;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:9px 10px;border:3px solid #fff;border-radius:18px;color:#14464c;background:rgb(239 255 246/96%);box-shadow:0 7px 0 #4ca66d,0 12px 20px rgb(29 73 57/20%);font-size:12px;font-weight:1000}.mtrr-hud>span,.mtrr-hud>strong{display:flex;align-items:center;gap:3px;white-space:nowrap}.mtrr-hud svg{width:16px;height:16px;color:#168a66}.mtrr-hud>div{display:grid;grid-template-columns:repeat(5,1fr);gap:2px}.mtrr-hud i{height:7px;border-radius:999px;background:#bdd8cb}.mtrr-hud i.current{background:#ef9858;outline:2px solid #fff}.mtrr-hud i.done{background:#2bb885}.mtrr-route{position:absolute;z-index:12;top:170px;left:50%;display:grid;width:min(860px,calc(100% - 190px));min-height:340px;grid-template-columns:1fr .85fr 1.08fr .85fr 1fr;align-items:center;gap:8px;padding:150px 18px 18px;transform:translateX(-50%);border:3px solid rgb(255 255 255/90%);border-radius:42px;background:linear-gradient(180deg,rgb(246 255 246/87%),rgb(217 247 230/82%));box-shadow:0 16px 34px rgb(26 73 58/24%);backdrop-filter:blur(3px)}.mtrr-rail{position:absolute;z-index:0;top:69%;left:8%;width:84%;height:13px;overflow:hidden;transform:translateY(-50%);border:3px solid #fff;border-radius:999px;background:#779494}.mtrr-rail span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f5b33e,#ec654e);transition:width .65s ease}.mtrr-rail span.at-checkpoint{width:50%}.mtrr-rail span.at-finish{width:100%}.mtrr-change,.mtrr-stop{position:relative;z-index:3;display:grid;min-width:0;min-height:92px;place-items:center;align-content:center;gap:4px;padding:10px 6px;border:3px solid #fff;border-radius:22px;text-align:center;box-shadow:0 7px 14px rgb(34 74 63/20%)}.mtrr-stop{color:#174950;background:linear-gradient(180deg,#fff9cf,#f2c858)}.mtrr-stop.checkpoint{background:linear-gradient(180deg,#dcfff2,#75d5ad)}.mtrr-stop.finish{background:linear-gradient(180deg,#e8f3ff,#86bee8)}.mtrr-stop.reached{outline:5px solid #fff170;outline-offset:2px}.mtrr-change{min-height:74px;color:#fff;background:rgb(24 110 115/94%)}.mtrr-change.up{background:rgb(24 132 94/95%)}.mtrr-change.down{background:rgb(193 80 69/95%)}.mtrr-stop svg{width:20px;height:20px}.mtrr-change small,.mtrr-stop small{font-size:10px;font-weight:1000;letter-spacing:.08em}.mtrr-change strong,.mtrr-stop strong{max-width:100%;font-size:clamp(.9rem,1.75vw,1.3rem);font-weight:1000;white-space:nowrap}.mtrr-tram{position:absolute;z-index:2;top:-58px;left:7%;width:230px;aspect-ratio:1;transform:translateX(0);transition:transform .7s cubic-bezier(.2,.9,.25,1.1);pointer-events:none}.mtrr-tram.at-checkpoint{transform:translateX(137%)}.mtrr-tram.at-finish{transform:translateX(274%)}.mtrr-tram img{object-fit:contain;filter:none!important}.mtrr-task{position:absolute;z-index:22;top:520px;left:50%;display:flex;width:min(620px,calc(100% - 400px));min-height:49px;align-items:center;justify-content:center;gap:8px;padding:8px 14px;transform:translateX(-50%);border:3px solid #fff;border-radius:999px;color:#fff;background:rgb(18 80 83/94%);box-shadow:0 7px 16px rgb(20 55 58/23%);text-align:center}.mtrr-task svg{width:18px;height:18px;color:#ffe46b}.mtrr-task strong{font-size:clamp(.86rem,1.6vw,1.05rem)}.mtrr-choices{position:absolute;z-index:24;top:580px;left:50%;display:grid;width:min(710px,calc(100% - 390px));grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;transform:translateX(-50%);border:0}.mtrr-choices legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mtrr-choices button{position:relative;display:grid;min-height:76px;place-items:center;touch-action:manipulation;border:3px solid #fff;border-bottom:7px solid #9b5627;border-radius:18px;color:#533318;background:linear-gradient(180deg,#fff4c9,#f1b75d);box-shadow:0 8px 16px rgb(44 65 55/22%)}.mtrr-choices button:nth-of-type(2n){border-bottom-color:#17757c;color:#164b4d;background:linear-gradient(180deg,#ecfffb,#74d6cc)}.mtrr-choices button:disabled{opacity:1;cursor:default}.mtrr-choices button strong{font-size:clamp(1rem,1.9vw,1.42rem);font-weight:1000;white-space:nowrap}.mtrr-choices button>svg{position:absolute;top:8px;right:8px;width:21px;height:21px;color:#0d795e;stroke-width:4}.mtrr-choices button.wrong-choice{border-bottom-color:#9b3036;color:#642a2d;background:linear-gradient(180deg,#ffe4dc,#ef8a82);animation:mtrr-shake .28s ease}.mtrr-choices button.correct-choice{outline:5px solid #fff16d;outline-offset:2px}.mtrr-feedback{position:absolute;z-index:25;bottom:10px;left:50%;display:flex;width:min(620px,calc(100% - 420px));min-height:48px;align-items:center;justify-content:center;padding:8px 14px;transform:translateX(-50%);border:2px solid #fff;border-radius:17px;color:#fff;background:rgb(18 76 73/95%);text-align:center}.mtrr-feedback p{margin:0;font-size:clamp(.78rem,1.4vw,.98rem);font-weight:900;line-height:1.25}.mtrr-stage.is-wrong .mtrr-feedback{background:rgb(132 49 58/96%)}.mtrr-stage.is-correct .mtrr-feedback{background:rgb(16 119 78/96%)}.mtrr-mascot{position:absolute;z-index:20;bottom:4px;left:12px;width:clamp(156px,18.2vw,221px);aspect-ratio:1;pointer-events:none}.mtrr-mascot img{object-fit:contain;filter:none!important}.mtrr-game :where(p,span,strong,small,button,h2),.mtrr-success,.mtrr-success *,body:has([data-game=mountain-tram-route-rescue]) .how-to-panel,body:has([data-game=mountain-tram-route-rescue]) .how-to-panel *{text-shadow:none!important;-webkit-text-stroke:0!important;paint-order:normal!important}.mtrr-stage button,.mtrr-success button,body:has([data-game=mountain-tram-route-rescue]) .how-to-panel button,body:has([data-game=mountain-tram-route-rescue]) .how-to-trigger{filter:none!important}body:has([data-game=mountain-tram-route-rescue]) .how-to-panel button{min-width:48px;min-height:48px}.mtrr-stage button:focus-visible{outline:5px solid #fff25c!important;outline-offset:3px}@keyframes mtrr-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@media (max-width:960px){.mtrr-prompt{left:14px;width:calc(100% - 225px);transform:none}.mtrr-route{top:170px;width:calc(100% - 50px)}.mtrr-task{width:min(610px,calc(100% - 270px))}.mtrr-choices{left:56%;width:min(690px,calc(100% - 260px))}.mtrr-feedback{left:54%;width:min(610px,calc(100% - 300px))}.mtrr-mascot{width:156px}}@media (max-width:700px){.mtrr-game{padding:68px 6px 28px}.mtrr-heading{margin-bottom:12px;padding:0 8px}.mtrr-heading p{font-size:10px}.mtrr-heading h1{font-size:clamp(1.7rem,8vw,2.35rem)}.mtrr-heading span{font-size:.78rem;line-height:1.25}.mtrr-stage{min-height:max(980px,calc(100svh - 138px));border-width:4px;border-radius:28px}.mtrr-background{object-position:46% center}.mtrr-sky-wash{background:linear-gradient(180deg,rgb(225 250 255/82%),transparent 42%,rgb(19 76 66/27%))}.mtrr-prompt{top:118px;left:8px;width:calc(100% - 16px);min-height:89px;padding-left:12px;transform:none;border-radius:17px}.mtrr-prompt h2{font-size:clamp(.77rem,3.45vw,.94rem)}.mtrr-prompt button{min-width:52px;min-height:52px;padding:6px}.mtrr-prompt button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.mtrr-hud{top:10px;right:8px;width:min(218px,calc(100% - 88px));min-height:50px;padding:6px 8px}.mtrr-route{top:225px;width:calc(100% - 16px);min-height:450px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"start first" "checkpoint second" "finish finish";gap:12px;padding:150px 12px 18px;border-radius:28px}.mtrr-rail{top:95px;left:8%;width:84%}.mtrr-change,.mtrr-stop{min-height:79px;border-radius:17px}.mtrr-stop.start{grid-area:start}.mtrr-change.first{grid-area:first}.mtrr-stop.checkpoint{grid-area:checkpoint}.mtrr-change.second{grid-area:second}.mtrr-stop.finish{grid-area:finish}.mtrr-change strong,.mtrr-stop strong{font-size:clamp(.88rem,4.4vw,1.18rem)}.mtrr-tram{top:-10px;left:5%;width:150px;transform:translateX(0)}.mtrr-tram.at-checkpoint{transform:translateX(65%)}.mtrr-tram.at-finish{transform:translateX(130%)}.mtrr-task{top:705px;width:calc(100% - 18px);min-height:48px;border-radius:16px}.mtrr-choices{top:767px;left:50%;width:calc(100% - 18px);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mtrr-choices button{min-height:66px;border-radius:15px}.mtrr-choices button strong{font-size:clamp(.95rem,5vw,1.2rem)}.mtrr-feedback{top:923px;bottom:auto;left:50%;width:calc(100% - 20px);min-height:54px}.mtrr-mascot{top:6px;bottom:auto;left:4px;width:101.4px}}@media (max-width:360px){.mtrr-stage{min-height:max(990px,calc(100svh - 138px))}.mtrr-route{top:229px;min-height:457px}.mtrr-task{top:708px}.mtrr-choices{top:770px}.mtrr-feedback{top:926px}}@media (prefers-reduced-motion:reduce){.mtrr-stage *,.mtrr-stage :after,.mtrr-stage :before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}