*,:before,:after{box-sizing:border-box;touch-action:manipulation;margin:0;padding:0}html,body{color:#e8c49a;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#1a0d00;width:100%;height:100dvh;min-height:100dvh;font-family:Inter,sans-serif;overflow:hidden}#rotate-notice{z-index:9999;text-align:center;touch-action:none;background:#1a0d00;flex-direction:column;justify-content:center;align-items:center;padding:32px;display:none;position:fixed;inset:0}#rotate-notice .icon{margin-bottom:16px;font-size:4rem;animation:2s ease-in-out infinite spin}#rotate-notice p{color:#bf6b38;font-size:1.1rem;font-weight:600}@keyframes spin{0%,to{transform:rotate(0)}50%{transform:rotate(90deg)}}@media (orientation:portrait) and (width<=1024px),(orientation:portrait) and (hover:none){#rotate-notice{display:flex}#phaser-container{visibility:hidden!important;pointer-events:none!important}#hud,.overlay{display:none!important}}#phaser-container{z-index:1;touch-action:none;width:100vw;height:100dvh;position:fixed;inset:0}#phaser-container canvas{touch-action:none;display:block}.btn-ghost-home{color:#e8c49a99;font-size:1rem;font-weight:600;text-decoration:none;transition:color .2s;position:absolute;top:30px;left:30px}.btn-ghost-home:hover{color:#e8c49a}#hud{z-index:20;pointer-events:none;position:fixed;inset:0}#hud.hidden{display:none}#hud-topleft{top:calc(env(safe-area-inset-top,0px) + 10px);left:calc(env(safe-area-inset-left,0px) + 52px);flex-direction:column;gap:2px;display:flex;position:absolute}.hud-levelname{color:#e8c49ae6;text-transform:uppercase;letter-spacing:1px;font-size:1.4rem;font-weight:900}.hud-location{color:#d45a1a;text-transform:uppercase;font-size:.8rem;font-weight:600}#hud-projectcard{display:none}.pc-sublabel{letter-spacing:.1em;text-transform:uppercase;color:#d45a1a;margin-bottom:2px;font-size:.55rem;font-weight:700}.pc-name{color:#e8c49a;font-size:.82rem;font-weight:800;line-height:1.2}.pc-progbar-track{background:#e8c49a1f;border-radius:3px;width:100%;height:5px;margin-top:6px;overflow:hidden}.pc-progbar-fill{background:linear-gradient(90deg,#8a4822,#d45a1a);border-radius:3px;width:0%;height:100%;transition:width .4s}.pc-row{color:#e8c49a73;margin-top:4px;font-size:.6rem}#hud-topright{top:calc(env(safe-area-inset-top,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 15px);pointer-events:auto;align-items:center;gap:10px;display:flex;position:absolute}#fullscreenBtn,#pauseBtn,#helpBtn,.hud-back-btn{pointer-events:auto;color:#e8c49a;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#5c2d0ea6;border:1px solid #d45a1a73;border-radius:50px;padding:6px 16px;font-family:Inter,sans-serif;font-size:.78rem;font-weight:600;text-decoration:none;transition:background .2s,transform .1s}#fullscreenBtn{padding:6px 12px;font-size:.85rem}.hud-back-btn{top:calc(env(safe-area-inset-top,0px) + 10px);left:calc(env(safe-area-inset-left,0px) + 10px);z-index:99999;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:1.1rem;display:flex;position:absolute}#fullscreenBtn:hover,#pauseBtn:hover,#helpBtn:hover,.hud-back-btn:hover{background:#8a4822d9;transform:translateY(-1px)}.mobile-controls{pointer-events:none;z-index:25;display:none;position:fixed;inset:0}@media (hover:none) and (pointer:coarse),(height<=600px),(width<=1024px){.mobile-controls{display:block}}body.force-mobile-controls .mobile-controls{display:block}.mobile-drop-btn{left:calc(20px + env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));pointer-events:auto;-webkit-user-select:none;user-select:none;touch-action:none;cursor:pointer;background:radial-gradient(circle at 35% 30%,#ff8c1a 0%,#d45a1a 50%,#8a2e05 100%);border:3px solid #fc6;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:82px;height:82px;transition:transform 80ms,box-shadow 80ms,filter 80ms;display:flex;position:absolute;box-shadow:0 8px 24px #000000a6,inset 0 2px 4px #ffffffb3,inset 0 -3px 8px #0009,0 0 16px #d45a1a66}.mobile-drop-btn:active,.mobile-drop-btn.btn-active{filter:brightness(1.15);background:radial-gradient(circle at 35% 30%,#f70 0%,#b84310 50%,#681f02 100%);transform:scale(.9);box-shadow:0 3px 10px #00000080,inset 0 3px 6px #000c,0 0 24px #ff8c1ab3}.mobile-drop-icon{color:#fff;text-shadow:0 2px 5px #000000b3;pointer-events:none;font-size:1.65rem;line-height:1;transform:translateY(1px)}.mobile-drop-text{letter-spacing:.08em;color:#fff9e6;text-shadow:0 1px 3px #000000e6;pointer-events:none;font-size:.75rem;font-weight:900}@media (height<=380px){.mobile-drop-btn{width:72px;height:72px;left:calc(14px + env(safe-area-inset-left,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px))}.mobile-drop-icon{font-size:1.4rem}.mobile-drop-text{font-size:.68rem}}.hint-card{text-align:center;background:linear-gradient(145deg,#241207,#130900);border:1px solid #d45a1a99;border-radius:20px;flex-direction:column;align-items:center;width:90%;max-width:480px;padding:28px 24px;animation:.35s cubic-bezier(.175,.885,.32,1.275) hintPopIn;display:flex;box-shadow:0 20px 60px #000000bf,0 0 30px #d45a1a33}@keyframes hintPopIn{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}.hint-icon{filter:drop-shadow(0 4px 10px #d45a1a66);margin-bottom:8px;font-size:3rem;animation:2.5s ease-in-out infinite floatIcon}@keyframes floatIcon{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.hint-card h2{color:#e8c49a;text-transform:uppercase;letter-spacing:1px;margin-bottom:18px;font-size:1.5rem;font-weight:900}.hint-steps{text-align:left;touch-action:pan-y;-webkit-overflow-scrolling:touch;flex-direction:column;gap:12px;width:100%;margin-bottom:20px;display:flex}.hint-step-item{background:#2c1508a6;border:1px solid #e8c49a26;border-radius:12px;align-items:center;gap:14px;padding:12px 16px;display:flex}.hint-step-badge{color:#fff;background:linear-gradient(135deg,#d45a1a,#8a4822);border-radius:10px;justify-content:center;align-items:center;width:42px;min-width:42px;height:42px;font-size:1.25rem;display:flex;box-shadow:0 4px 12px #d45a1a4d}.hint-step-text{color:#e8c49a;font-size:.92rem;line-height:1.4}.hint-step-text strong{color:#fff;margin-bottom:2px;font-size:.98rem;display:block}.builder-loader{z-index:2500000;pointer-events:auto;opacity:1;visibility:visible;background:radial-gradient(circle,#2e1709 0%,#1a0d00 100%);justify-content:center;align-items:center;padding:20px;transition:opacity .35s,visibility .35s;display:flex;position:fixed;inset:0}.builder-loader.hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.loader-card{text-align:center;-webkit-backdrop-filter:blur(10px);background:#1e0f06c7;border:1.5px solid #ffd70059;border-radius:20px;flex-direction:column;align-items:center;gap:12px;max-width:380px;padding:24px 28px;display:flex;box-shadow:0 16px 45px #000000bf,0 0 25px #d45a1a40}.loader-badge{filter:drop-shadow(0 4px 10px #d45a1a80);font-size:2.4rem;line-height:1;animation:1.8s ease-in-out infinite loaderPulse}@keyframes loaderPulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.loader-spinner{border:3.5px solid gold;border-color:gold #ff9d00 #ffd70033 #ffd70033;border-radius:50%;width:44px;height:44px;animation:.8s linear infinite loaderSpin;box-shadow:0 0 14px #ffd70059}@keyframes loaderSpin{to{transform:rotate(360deg)}}.loader-text{color:gold;letter-spacing:.04em;text-shadow:0 2px 6px #000c;font-size:1.15rem;font-weight:800}.loader-subtext{color:#e8c49a;opacity:.85;font-size:.82rem;font-weight:600}.loader-progress-wrap{background:#e8c49a26;border:1px solid #ffd70040;border-radius:3px;width:180px;height:6px;margin-top:4px;overflow:hidden}.loader-progress-bar{background:linear-gradient(90deg,#ff9d00,gold);border-radius:3px;width:15%;height:100%;transition:width .2s}@media (height<=380px){.loader-card{gap:8px;padding:14px 20px}.loader-badge{font-size:1.8rem}.loader-spinner{border-width:3px;width:32px;height:32px}.loader-text{font-size:.95rem}.loader-subtext{font-size:.72rem}.loader-progress-wrap{width:140px;height:5px}}.start-overlay{z-index:2000000;-webkit-backdrop-filter:blur(14px);opacity:1;visibility:visible;background:radial-gradient(circle,#261307f0 0%,#0c0602fa 100%);justify-content:center;align-items:center;padding:16px;transition:opacity .35s,visibility .35s;display:flex;position:fixed;inset:0}.start-overlay.hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.start-card{text-align:center;background:linear-gradient(155deg,#2e1709f7,#140a03fc);border:2px solid #d45a1ab3;border-radius:24px;flex-direction:column;align-items:center;gap:14px;width:90%;max-width:440px;padding:30px 24px;animation:.4s cubic-bezier(.175,.885,.32,1.25) startCardPop;display:flex;box-shadow:0 25px 70px #000000d9,0 0 40px #d45a1a47,inset 0 1px #ffffff1f}@keyframes startCardPop{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}.start-badge{filter:drop-shadow(0 4px 12px #d45a1a73);font-size:2.8rem;line-height:1;animation:2.4s ease-in-out infinite startFloat}@keyframes startFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.start-title{color:#fff;text-shadow:0 2px 10px #0009;letter-spacing:.5px;margin:0;font-family:Anek Telugu,Inter,sans-serif;font-size:1.8rem;font-weight:900}.start-subtitle{color:#e8c49a;opacity:.95;margin:0;font-family:Anek Telugu,Inter,sans-serif;font-size:.95rem;line-height:1.45}.btn-start{color:#fff;cursor:pointer;text-transform:uppercase;background:linear-gradient(135deg,#d45a1a 0%,#ff7b2b 100%);border:2px solid #ffd700bf;border-radius:50px;justify-content:center;align-items:center;gap:10px;margin-top:4px;padding:13px 32px;font-size:1.15rem;font-weight:900;transition:transform .15s,box-shadow .15s,background .2s;animation:2s infinite startBtnPulse;display:inline-flex;position:relative;box-shadow:0 8px 24px #d45a1a80,0 0 20px #ffd70059}@keyframes startBtnPulse{0%,to{transform:scale(1);box-shadow:0 8px 24px #d45a1a80,0 0 20px #ffd70059}50%{transform:scale(1.03);box-shadow:0 10px 30px #ff7b2bbf,0 0 28px #ffd70099}}.btn-start:hover{background:linear-gradient(135deg,#ff7b2b 0%,#ff954d 100%);transform:translateY(-2px)scale(1.04);box-shadow:0 12px 32px #ff7b2bcc,0 0 32px #ffd700b3}.btn-start:active,.btn-start.btn-pressed{filter:brightness(.95);transform:translateY(2px)scale(.96)!important;box-shadow:0 4px 14px #d45a1a66,0 0 10px #ffd7004d!important}.btn-start.loading{pointer-events:none;opacity:.92}.btn-start-spinner{vertical-align:middle;border:2.5px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite loaderSpin;display:inline-block}.btn-start-icon{font-size:1.1rem}.start-meta{flex-direction:column;align-items:center;gap:6px;margin-top:2px;display:flex}.start-audio-badge{color:gold;background:#ffd7001f;border:1px solid #ffd7004d;border-radius:20px;align-items:center;gap:6px;padding:4px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.start-key-hint{color:#d4af37;opacity:.85;letter-spacing:.5px;font-size:.74rem}@media (height<=520px){.start-card{border-radius:16px;gap:7px;max-width:440px;padding:12px 18px}.start-badge{font-size:1.6rem}.start-title{font-size:1.2rem}.start-subtitle{font-size:.8rem;line-height:1.25}.btn-start{padding:8px 24px;font-size:.95rem}.start-audio-badge{padding:2px 8px;font-size:.72rem}.start-key-hint{display:none}}@media (height<=340px){.start-card{gap:5px;max-width:400px;padding:8px 14px}.start-badge{display:none}.start-title{font-size:1.05rem}.start-subtitle{font-size:.75rem}.btn-start{padding:6px 18px;font-size:.88rem}}.overlay{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0a0500d1;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.overlay.hidden{display:none}.win-card{text-align:center;background:linear-gradient(145deg,#2c1508,#1a0d00);border:1px solid #d45a1a80;border-radius:20px;flex-direction:column;width:90%;max-width:600px;display:flex;overflow:hidden;box-shadow:0 30px 80px #000c}.win-header{background:linear-gradient(#70b8df 0%,#a9d9f5 100%);height:240px;position:relative;overflow:hidden}.win-bldg{opacity:.95;object-fit:contain;width:auto;height:200px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.win-people{z-index:2;object-fit:contain;width:auto;height:105px;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)}.win-content{flex-direction:column;padding:20px 24px;display:flex}.win-content h2{color:gold;text-shadow:0 2px 8px #00000080;margin-bottom:12px;font-size:1.6rem;font-weight:900}#win-burdhas-container{text-align:left;touch-action:pan-y;-webkit-overflow-scrolling:touch;background:#00000059;border:1px solid #e8c49a33;border-radius:10px;max-height:220px;margin:6px 0 16px;padding:12px;overflow-y:auto}.win-buradha-item{border-bottom:1px solid #ffffff1a;margin-bottom:12px;padding-bottom:12px}.win-buradha-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.win-buradha-claim{color:#e8c49a;margin:0 0 4px;font-size:.95rem;font-weight:700}.win-buradha-claim-text{color:#ff6b6b}.win-buradha-fact{color:#e8c49ae6;margin:0 0 6px;font-size:.85rem;line-height:1.45}.win-buradha-link{color:#4a9eff;font-size:.75rem;font-weight:600;text-decoration:none;transition:color .15s;display:inline-block}.win-buradha-link:hover{color:#8ac0ff;text-decoration:underline}.win-actions{gap:10px;margin-top:4px;display:flex}#win-burdhas-container::-webkit-scrollbar{width:6px}#win-burdhas-container::-webkit-scrollbar-track{background:#0003;border-radius:4px}#win-burdhas-container::-webkit-scrollbar-thumb{background:#d45a1a99;border-radius:4px}#win-burdhas-container::-webkit-scrollbar-thumb:hover{background:#d45a1acc}.btn-primary{color:#e8c49a;cursor:pointer;background:linear-gradient(135deg,#d45a1a,#8a4822);border:none;border-radius:12px;width:100%;margin-top:14px;padding:13px 32px;font-family:Inter,sans-serif;font-size:.95rem;font-weight:800;transition:transform .1s,box-shadow .1s;box-shadow:0 4px 20px #d45a1a66}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 28px #d45a1a8c}.btn-ghost{color:#e8c49a8c;cursor:pointer;text-align:center;background:0 0;border:1px solid #e8c49a33;border-radius:10px;width:100%;margin-top:8px;padding:10px 24px;font-family:Inter,sans-serif;font-size:.85rem;text-decoration:none;transition:border-color .2s,color .2s;display:block}.btn-ghost:hover{color:#e8c49a;border-color:#e8c49a66}@media (height<=600px),(width<=900px){#hud-topright{top:max(6px, env(safe-area-inset-top));right:max(10px, env(safe-area-inset-right));gap:6px}#hud-topleft{top:max(6px, env(safe-area-inset-top));left:max(45px, calc(env(safe-area-inset-left) + 40px));flex-direction:row;align-items:center;gap:10px}.hud-levelname{white-space:nowrap;font-size:.9rem}.hud-progress-wrapper{margin-top:0!important}.hud-back-btn{top:max(6px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left))}#fullscreenBtn,#pauseBtn,#helpBtn{padding:4px 10px;font-size:.7rem}.hint-card{max-width:440px;max-height:88vh;padding:14px 16px;overflow-y:auto}.hint-icon{margin-bottom:4px;font-size:2rem}.hint-card h2{margin-bottom:10px;font-size:1.15rem}.hint-step-item{gap:8px;padding:6px 10px}.hint-step-badge{width:28px;min-width:28px;height:28px;font-size:.9rem}.hint-step-text{font-size:.75rem}.hint-step-text strong{font-size:.8rem}.btn-primary{margin-top:8px;padding:8px 16px;font-size:.82rem}}@media (orientation:landscape) and (height<=600px),(height<=520px){.win-card{border:1px solid #d45a1a73;border-radius:14px;flex-direction:row;align-items:stretch;width:95%;max-width:680px;max-height:92vh;overflow:hidden;box-shadow:0 16px 50px #000000d9}.win-header{background:linear-gradient(#62a8cf 0%,#95cbec 100%);border-radius:13px 0 0 13px;flex:0 0 34%;width:34%;max-width:220px;height:auto;min-height:100%}.win-bldg{opacity:.95;height:75%;max-height:180px;bottom:0}.win-people{height:45%;max-height:95px;bottom:-2px}.win-content{text-align:left;flex-direction:column;flex:1;justify-content:space-between;min-width:0;padding:8px 14px;display:flex}.win-content h2{color:gold;margin:0 0 4px;font-size:.95rem;line-height:1.3}#win-burdhas-container{background:#00000073;border:1px solid #e8c49a26;border-radius:8px;flex:1;max-height:120px;margin:2px 0 6px;padding:6px 8px}.win-buradha-item{border-bottom:1px solid #ffffff14;margin-bottom:6px;padding-bottom:6px}.win-buradha-claim{margin:0 0 2px;font-size:.76rem;line-height:1.25}.win-buradha-fact{color:#e8c49ae0;margin:0 0 3px;font-size:.7rem;line-height:1.32}.win-buradha-link{font-size:.68rem}.win-actions{margin-top:0}.win-actions .btn-primary{border-radius:8px;margin-top:0;padding:6px 14px;font-size:.78rem}html[lang=te] .win-content h2{line-height:1.35}html[lang=te] .win-buradha-claim{line-height:1.3}html[lang=te] .win-buradha-fact{line-height:1.35}}@media (orientation:landscape) and (height<=350px),(height<=350px){.win-card{border-radius:12px;max-width:640px;max-height:94vh}.win-header{flex:0 0 30%;width:30%}.win-bldg{height:72%}.win-people{height:42%}.win-content{padding:6px 10px}.win-content h2{margin-bottom:2px;font-size:.85rem}#win-burdhas-container{max-height:90px;margin:2px 0 4px;padding:4px 6px}.win-buradha-claim{font-size:.7rem}.win-buradha-fact{font-size:.66rem;line-height:1.25}.win-buradha-link{font-size:.64rem}.win-actions .btn-primary{padding:5px 10px;font-size:.74rem}}@media (width<=600px) and (orientation:portrait){.win-card{border-radius:16px;flex-direction:column;width:90%;max-width:380px;max-height:88vh}.win-header{border-radius:15px 15px 0 0;width:100%;height:130px}.win-bldg{height:110px}.win-people{height:60px}.win-content{padding:12px 14px}.win-content h2{margin-bottom:6px;font-size:1.15rem}#win-burdhas-container{max-height:180px;margin:4px 0 10px;padding:8px 10px}.win-buradha-claim{font-size:.82rem}.win-buradha-fact{font-size:.76rem}.win-buradha-link{font-size:.72rem}.win-actions .btn-primary{padding:8px 16px;font-size:.82rem}}html[lang=te],html[lang=te] body{word-break:keep-all;overflow-wrap:break-word;font-family:Anek Telugu,Inter,sans-serif}html[lang=te] .hud-levelname,html[lang=te] .hud-location,html[lang=te] button,html[lang=te] #fullscreenBtn,html[lang=te] #pauseBtn,html[lang=te] #helpBtn,html[lang=te] .hud-back-btn,html[lang=te] .btn-primary,html[lang=te] .btn-ghost,html[lang=te] .hint-card,html[lang=te] .hint-card h2,html[lang=te] .hint-step-text,html[lang=te] .hint-step-text strong,html[lang=te] .menu-card,html[lang=te] .win-card,html[lang=te] h2,html[lang=te] h3,html[lang=te] p,html[lang=te] span{letter-spacing:normal;text-transform:none;font-family:Anek Telugu,Inter,sans-serif;line-height:1.55}html[lang=te] .hud-levelname{font-size:1.25rem;font-weight:800}html[lang=en] body,html[lang=en] button,html[lang=en] .hud-levelname,html[lang=en] .btn-primary,html[lang=en] .btn-ghost,html[lang=en] .hint-card{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}
