.qanat-module__rfBsqW__game{--ink:#244d48;--sand:#f4e5c6;z-index:2147483000;background:radial-gradient(ellipse at 10% 110%,#6d9873 0,transparent var(--garden)),radial-gradient(ellipse at 100% 0,#d9b87e 0,transparent 55%),linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0);color:var(--ink);overscroll-behavior:contain;font-family:var(--font-vazir),sans-serif;padding:max(12px,env(safe-area-inset-top)) 12px max(20px,env(safe-area-inset-bottom));position:fixed;inset:0;overflow:auto}.qanat-module__rfBsqW__game button,.qanat-module__rfBsqW__game a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.qanat-module__rfBsqW__game button:focus-visible,.qanat-module__rfBsqW__game a:focus-visible,.qanat-module__rfBsqW__game summary:focus-visible{outline-offset:3px;outline:3px solid #146f7a}.qanat-module__rfBsqW__game button:disabled{opacity:.4;cursor:not-allowed}.qanat-module__rfBsqW__shell{width:min(100%,660px);margin:0 auto}.qanat-module__rfBsqW__header{justify-content:space-between;align-items:center;gap:10px;padding:4px 0 16px;display:flex}.qanat-module__rfBsqW__header h1{letter-spacing:-1px;font-size:34px;font-weight:900;line-height:1.35}.qanat-module__rfBsqW__header h1 span{letter-spacing:0;border-inline-start:1px solid #819580;margin-inline-start:8px;padding-inline-start:10px;font-size:13px;font-weight:500}.qanat-module__rfBsqW__eyebrow{letter-spacing:1px;color:#526b59;font-size:10px}.qanat-module__rfBsqW__iconButton{background:#fff7df66;border:1px solid #a0ad8c;border-radius:50%;place-items:center;width:46px;height:46px;font-size:27px;text-decoration:none;display:grid}.qanat-module__rfBsqW__tabs{background:#f8efd25c;border:1px solid #abbaa0;border-radius:30px;gap:4px;padding:4px;display:flex}.qanat-module__rfBsqW__tabs button{border-radius:26px;flex:1;min-height:44px;font-size:12px;font-weight:700}.qanat-module__rfBsqW__tabs button[aria-pressed=true]{color:#fff2ce;background:#295d57;box-shadow:0 3px 10px #254d4820}.qanat-module__rfBsqW__levelHeader{justify-content:space-between;align-items:center;margin:20px 4px 14px;display:flex}.qanat-module__rfBsqW__levelHeader h2,.qanat-module__rfBsqW__map h2{font-size:27px;font-weight:800;line-height:1.6}.qanat-module__rfBsqW__levelBadge{clip-path:polygon(18% 0,82% 0,100% 18%,100% 82%,82% 100%,18% 100%,0 82%,0 18%);background:#f5e6bd;border:1px solid #b79f68;flex-direction:column;justify-content:center;align-items:center;width:55px;height:59px;font-size:23px;font-weight:800;display:flex}.qanat-module__rfBsqW__levelBadge small{font-size:10px;font-weight:500}.qanat-module__rfBsqW__stats{border-top:1px solid #8b9e7944;border-bottom:1px solid #8b9e7944;justify-content:space-around;padding:10px 4px;font-size:11px;display:flex}.qanat-module__rfBsqW__stats span{align-items:center;gap:5px;display:flex}.qanat-module__rfBsqW__stats b{color:#266d67;font-size:16px}.qanat-module__rfBsqW__instruction{text-align:center;place-items:center;min-height:46px;margin:10px 5px;font-size:12px;line-height:1.9;display:grid}.qanat-module__rfBsqW__boardFrame{background:#2b6768;border-radius:20px;padding:12px;position:relative;box-shadow:0 16px 32px #385b4230,0 2px #143e3f,inset 0 0 0 2px #d3bb7d}.qanat-module__rfBsqW__border{pointer-events:none;opacity:.75;border-radius:20px;position:absolute;inset:0}.qanat-module__rfBsqW__boardScroll{scrollbar-width:thin;scrollbar-color:#e8d3a3 #547c72;overscroll-behavior-x:contain;background:#b58c5c;border-radius:9px;position:relative;overflow:auto}.qanat-module__rfBsqW__board{--cell:44px;grid-template-columns:repeat(var(--size),minmax(var(--cell),1fr));min-width:calc(var(--size)*var(--cell));gap:0;padding:2px;display:grid}.qanat-module__rfBsqW__tile{min-width:var(--cell);min-height:var(--cell);aspect-ratio:1;-webkit-user-select:none;user-select:none;border-radius:8px;padding:0;position:relative;touch-action:pan-x!important}.qanat-module__rfBsqW__tile[aria-disabled=true]{cursor:default}.qanat-module__rfBsqW__tile:focus-visible{z-index:2;outline-offset:-3px!important}.qanat-module__rfBsqW__tileArt{width:100%;height:100%;display:block;overflow:visible}.qanat-module__rfBsqW__rotor{transition:transform .15s ease-out}.qanat-module__rfBsqW__shimmer{animation:1.8s linear infinite qanat-module__rfBsqW__water}.qanat-module__rfBsqW__dry{opacity:.5;filter:saturate(.2)}.qanat-module__rfBsqW__plantArt{pointer-events:none;background:50%/contain no-repeat;transition:opacity .3s,filter .3s;position:absolute;inset:6%}.qanat-module__rfBsqW__rose{background-image:url(../media/target-rose.18y-o7t6k4vr1.png)}.qanat-module__rfBsqW__pomegranate{background-image:url(../media/target-pomegranate.2q7gyex9nzq5r.png)}.qanat-module__rfBsqW__cypress{background-image:url(../media/target-cypress.3bw0rk0537fxc.png)}.qanat-module__rfBsqW__plantArt.qanat-module__rfBsqW__bloom{transform-origin:50% 80%;animation:.4s cubic-bezier(.2,1.7,.4,1) qanat-module__rfBsqW__grow}.qanat-module__rfBsqW__steam{animation:1.4s ease-in-out infinite qanat-module__rfBsqW__steam}.qanat-module__rfBsqW__selected{z-index:1;box-shadow:inset 0 0 0 4px #1b6978}.qanat-module__rfBsqW__hint{outline-offset:-4px;z-index:2;outline:3px solid #fff4ba;animation:1s ease-in-out 5 qanat-module__rfBsqW__hint}.qanat-module__rfBsqW__hand{color:#fff3cc;filter:drop-shadow(0 2px 2px #294f42);pointer-events:none;z-index:3;font-size:34px;line-height:1;animation:1s ease-in-out infinite qanat-module__rfBsqW__point;position:absolute;bottom:-10px;right:2px}.qanat-module__rfBsqW__panNote{text-align:center;color:#586b58;margin:9px 0 0;font-size:10px}.qanat-module__rfBsqW__flowNote{text-align:center;min-height:28px;margin:13px 0 7px;font-size:12px;line-height:1.8}.qanat-module__rfBsqW__controls{justify-content:center;gap:12px;display:flex}.qanat-module__rfBsqW__controls button{background:#f8edcfb8;border:1px solid #aeb994;border-radius:16px;justify-content:center;align-items:center;gap:7px;min-width:80px;min-height:48px;padding:9px 12px;font-size:12px;font-weight:650;display:flex}.qanat-module__rfBsqW__controls button span{color:#427a6b;font-size:24px}.qanat-module__rfBsqW__controls small{font-size:10px}.qanat-module__rfBsqW__swapButton{border:1px solid #a8b18b;border-radius:12px;min-height:44px;margin:10px auto;padding:4px 12px;font-size:11px;display:block}.qanat-module__rfBsqW__swapButton[aria-pressed=true]{color:#fff0c9;background:#2f6961}.qanat-module__rfBsqW__notice{text-align:center;min-height:24px;margin:10px 0;font-size:12px}.qanat-module__rfBsqW__help{background:#f5ebcd88;border:1px solid #a6b28c66;border-radius:16px;padding:0 14px;font-size:12px;line-height:1.9}.qanat-module__rfBsqW__help summary{cursor:pointer;align-items:center;min-height:44px;font-weight:700;display:flex}.qanat-module__rfBsqW__help p{margin-bottom:12px}.qanat-module__rfBsqW__footer{color:#536b56;flex-wrap:wrap;justify-content:center;gap:7px 16px;margin:18px 8px;font-size:10px;line-height:1.8;display:flex}.qanat-module__rfBsqW__footer a{align-items:center;min-height:44px;text-decoration:underline;display:flex}.qanat-module__rfBsqW__connection{white-space:nowrap}.qanat-module__rfBsqW__worlds{gap:6px;padding:12px 0;display:flex;overflow:auto}.qanat-module__rfBsqW__worlds button{border:1px solid #a6b28c;border-radius:14px;flex-shrink:0;min-height:44px;padding:8px 12px;font-size:12px}.qanat-module__rfBsqW__worlds button[aria-pressed=true]{color:#fff1d0;background:#2d665a}.qanat-module__rfBsqW__map{text-align:center}.qanat-module__rfBsqW__map>p{font-size:12px}.qanat-module__rfBsqW__path{flex-direction:column;align-items:center;gap:15px;padding:25px 0;display:flex;position:relative;overflow:hidden}.qanat-module__rfBsqW__pathLine{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.qanat-module__rfBsqW__path button{background:linear-gradient(#fdf1cf,#e4d8ae);border:2px solid #94a979;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:64px;height:64px;line-height:1.2;display:flex;position:relative;box-shadow:0 5px #7d977378}.qanat-module__rfBsqW__path button span{font-size:22px;font-weight:800}.qanat-module__rfBsqW__path button small{color:#a66e1e;font-size:13px}.qanat-module__rfBsqW__win{text-align:center;background:#f6edcdcc;border:1px solid #92b18c;border-radius:20px;padding:8px 15px 18px;position:relative}.qanat-module__rfBsqW__win h2{font-size:23px;font-weight:800}.qanat-module__rfBsqW__win p{margin:6px 0 12px;font-size:12px}.qanat-module__rfBsqW__winStars{letter-spacing:6px;color:#be8b28;text-shadow:0 2px #fff6c9;font-size:38px}.qanat-module__rfBsqW__win button{border-radius:16px;min-height:44px;padding:10px 20px;font-size:13px;position:relative}.qanat-module__rfBsqW__primary{color:#fff3d7;background:#2b6b5e;margin:4px 10px;font-weight:750}.qanat-module__rfBsqW__petals{pointer-events:none;width:100%;height:360px;position:absolute;inset:auto 0 0;overflow:visible}.qanat-module__rfBsqW__petals g{animation:qanat-module__rfBsqW__petals 1.5s var(--delay) ease-out both}.qanat-module__rfBsqW__confirm{background:#fff0c9;border-radius:15px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:10px 0;padding:12px;font-size:12px;display:flex}.qanat-module__rfBsqW__confirm button{border:1px solid #758e76;border-radius:10px;min-height:44px;padding:8px 14px}@keyframes qanat-module__rfBsqW__water{to{stroke-dashoffset:-30px}}@keyframes qanat-module__rfBsqW__grow{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes qanat-module__rfBsqW__steam{50%{opacity:.6;transform:translateY(-5px)}}@keyframes qanat-module__rfBsqW__hint{50%{filter:brightness(1.25)}}@keyframes qanat-module__rfBsqW__point{50%{transform:translateY(-7px)}}@keyframes qanat-module__rfBsqW__petals{0%{opacity:0;transform:translate(0)}15%{opacity:1}to{opacity:0;transform:translate(var(--x),-260px) rotate(45deg)}}@media (min-width:760px){.qanat-module__rfBsqW__game{padding:24px}.qanat-module__rfBsqW__shell{max-width:600px}.qanat-module__rfBsqW__header h1{font-size:40px}.qanat-module__rfBsqW__boardFrame{padding:16px}.qanat-module__rfBsqW__instruction{font-size:14px}.qanat-module__rfBsqW__controls button{min-width:120px}.qanat-module__rfBsqW__levelHeader{margin:14px 4px}.qanat-module__rfBsqW__footer{font-size:12px}}@media (prefers-reduced-motion:reduce){.qanat-module__rfBsqW__game *,.qanat-module__rfBsqW__game :before,.qanat-module__rfBsqW__game :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.qanat-module__rfBsqW__petals,.qanat-module__rfBsqW__shimmer{display:none}}@media (max-width:759px){.qanat-module__rfBsqW__header{padding:0 0 8px}.qanat-module__rfBsqW__header h1{font-size:26px}.qanat-module__rfBsqW__iconButton{width:42px;height:42px;font-size:22px}.qanat-module__rfBsqW__tabs button{min-height:40px}.qanat-module__rfBsqW__levelHeader{margin:10px 4px 8px}.qanat-module__rfBsqW__levelHeader h2{font-size:21px;line-height:1.4}.qanat-module__rfBsqW__levelBadge{width:46px;height:48px;font-size:19px}.qanat-module__rfBsqW__stats{padding:6px 4px}.qanat-module__rfBsqW__instruction{min-height:34px;margin:6px 4px;font-size:11.5px}.qanat-module__rfBsqW__boardFrame{padding:8px}.qanat-module__rfBsqW__flowNote{margin:8px 0 6px}.qanat-module__rfBsqW__board{--cell:max(30px,calc((100vw - 52px) / var(--size)))}}.qanat-module__rfBsqW__winLayer{z-index:5;padding:16px 12px max(18px,env(safe-area-inset-bottom));background:linear-gradient(#0000 35%,#1d3f3a55);place-items:end center;animation:.35s both qanat-module__rfBsqW__fadeIn;display:grid;position:fixed;inset:0}.qanat-module__rfBsqW__winLayer .qanat-module__rfBsqW__win{background:#fbf3dc;width:min(100%,440px);animation:.45s cubic-bezier(.2,1.4,.4,1) both qanat-module__rfBsqW__rise;box-shadow:0 18px 40px #1d3f3a55}.qanat-module__rfBsqW__winLayer .qanat-module__rfBsqW__winStars span{animation:.5s cubic-bezier(.2,1.6,.4,1) both qanat-module__rfBsqW__pop;display:inline-block}.qanat-module__rfBsqW__winLayer .qanat-module__rfBsqW__winStars span:nth-child(2){animation-delay:.15s}.qanat-module__rfBsqW__winLayer .qanat-module__rfBsqW__winStars span:nth-child(3){animation-delay:.3s}@keyframes qanat-module__rfBsqW__fadeIn{0%{opacity:0}}@keyframes qanat-module__rfBsqW__rise{0%{opacity:0;transform:translateY(60px)}}@keyframes qanat-module__rfBsqW__pop{0%{opacity:0;transform:scale(0)rotate(-40deg)}}.qanat-module__rfBsqW__splash{z-index:6;text-align:center;color:#244d48;background:url(../media/splash.10-3azeqc66pj.jpg) bottom/cover no-repeat,radial-gradient(at 50% 120%,#5e9a6c 0,#0000 60%),radial-gradient(at 50% -10%,#e9c98a 0,#0000 55%),linear-gradient(170deg,#f6ead0,#e4d6ae 60%,#a9c49b);flex-direction:column;justify-content:flex-start;align-items:center;gap:14px;padding:max(9vh,40px) 24px max(7vh,32px);display:flex;position:fixed;inset:0}.qanat-module__rfBsqW__splash h1{letter-spacing:-2px;text-shadow:0 3px #fff4d4;font-size:64px;font-weight:900;line-height:1.1}.qanat-module__rfBsqW__splash p{max-width:22rem;font-size:14px;line-height:2}.qanat-module__rfBsqW__splash .qanat-module__rfBsqW__primary{border-radius:30px;min-height:56px;padding:12px 42px;font-size:18px;animation:2.4s ease-in-out infinite qanat-module__rfBsqW__breathe;box-shadow:0 6px #1b4a40}.qanat-module__rfBsqW__splash small{background:#fbf3dccc;border-radius:12px;padding:4px 12px;font-size:11px}.qanat-module__rfBsqW__splash .qanat-module__rfBsqW__primary{margin-top:auto}@keyframes qanat-module__rfBsqW__breathe{50%{box-shadow:0 6px #1b4a40,0 0 0 10px #2b6b5e2e}}.qanat-module__rfBsqW__world1{background:url(../media/world-1.3_aq4bsl6-vhm.jpg) 50%/cover no-repeat,linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0)}.qanat-module__rfBsqW__world2{background:url(../media/world-2.288v0ha9a79fd.jpg) 50%/cover no-repeat,linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0)}.qanat-module__rfBsqW__world3{background:url(../media/world-3.3szut5ql23a8k.jpg) 50%/cover no-repeat,linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0)}.qanat-module__rfBsqW__world4{background:url(../media/world-4.1aug3laqe8zrq.jpg) 50%/cover no-repeat,linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0)}.qanat-module__rfBsqW__world5{background:url(../media/world-5.1sprjkklhz4l3.jpg) 50%/cover no-repeat,linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0)}.qanat-module__rfBsqW__world6{background:url(../media/world-6.2rxmohy91jx4j.jpg) 50%/cover no-repeat,linear-gradient(155deg,#f5e8cc,#e1d6b2 62%,#b5c5a0)}.qanat-module__rfBsqW__instruction,.qanat-module__rfBsqW__flowNote,.qanat-module__rfBsqW__panNote,.qanat-module__rfBsqW__footer{background:#fbf3dcd9;border-radius:12px;padding:4px 10px}
