/* Mobile game arrangement; original purple, lime and pixel-cut visual language. */
html,body{height:100%;overflow:hidden}body{min-height:0}.shell,.in-telegram .shell{width:100%;max-width:500px;height:100dvh;margin:0 auto;padding:0;display:flex;flex-direction:column;background:var(--ink);border-inline:1px solid #51366366;box-shadow:0 0 100px #08011088;overflow:hidden}.in-telegram .shell{padding-top:var(--tg-content-safe-area-inset-top,0px)}
.topbar{flex-shrink:0;min-height:65px;padding:10px 17px;gap:10px;background:#1b082bf5}.brand{font-size:24px;gap:10px;letter-spacing:-1px}.brand small{font-size:7px;letter-spacing:1px;margin-top:5px}.brand-mark{width:29px;height:29px}.brand-mark:after{left:6px;top:13px;width:5px;height:5px;box-shadow:12px 0 var(--ink)}.header-right{gap:10px;min-width:0}.menu-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--line);background:#2c113e;color:var(--white);font-size:30px;line-height:1;clip-path:var(--cut)}.menu-button svg{width:21px;height:21px}.wallet{max-width:135px;padding:8px;font-size:12px;gap:5px;overflow:hidden}.wallet b{overflow:hidden;text-overflow:ellipsis}.wallet svg{width:16px;height:16px}.shell[data-screen=play] .wallet{display:none}
#game-main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#75419d #210b35}.shell[data-screen=play] #game-main{overflow:hidden}#play{height:100%;min-height:0}.arena,.arena.turbo-active{height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;box-shadow:none;display:flex;flex-direction:column;padding:0 17px;width:100%;overflow:hidden}.arena.turbo-active{box-shadow:inset 0 0 0 2px var(--lime)}.arena>.scene{inset:0;background-position:center}.arena>.scene-shade{background:linear-gradient(#180824fa 0%,#1b092ad9 24%,#17072244 43%,#17072211 63%,#16071fe8 87%,#16071f 100%)}
.play-top{flex-shrink:0;padding-top:12px}.status-row{display:flex;align-items:center;gap:18px;margin-bottom:13px}.level-summary{display:block;text-align:left;flex:1;min-width:0;background:none;border:0;padding:0;color:var(--white);min-height:38px}.level-summary .row{gap:8px}.level-summary b{font-size:13px;font-weight:700}.level-summary small{font-size:10px;color:#c6afd6;white-space:nowrap}.level-summary .progress-track{display:block;margin:8px 0 0;height:5px;background:#57316a}.level-summary .progress-track i{background:var(--lime);box-shadow:0 0 10px #d5ff3244}.click-income{min-width:86px;text-align:right}.click-income strong{display:block;font-size:20px;color:var(--lime);white-space:nowrap}.click-income strong span{display:block;font-size:11px;font-weight:400;color:#c6afd6;margin-top:2px}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;gap:6px;min-width:0;border:0;background:linear-gradient(145deg,#4d1c6b,#2a103e);clip-path:var(--cut);padding:10px 3px;color:var(--white)}.quick-card:before{content:'';position:absolute;left:20%;right:20%;top:0;height:2px;background:#9950c5}.quick-card svg{width:22px;height:22px;color:var(--lime)}.quick-card strong{font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap}.quick-card small{font-size:11px;line-height:1.15;color:#c9aedb;white-space:nowrap}.quick-card:disabled{opacity:.65}.quick-card:disabled svg{color:#d4b9e4}.quick-card:hover:not(:disabled){background:linear-gradient(145deg,#63258a,#3d1857)}
.balance-stage{flex-shrink:0;text-align:center;padding:19px 0 0}.balance-stage>.eyebrow{font-size:9px;letter-spacing:2px;color:#d4bddf}.balance-stage .big-balance{justify-content:center;gap:11px;margin:5px 0 6px}.balance-stage .big-balance svg{color:var(--lime);width:34px;height:34px;filter:drop-shadow(0 0 14px #d5ff3222)}.balance-stage .big-balance strong{font-size:clamp(32px,9vw,47px);letter-spacing:-1.8px;line-height:1.1;overflow-wrap:anywhere;max-width:calc(100% - 50px);text-shadow:0 3px 10px #15071b}.location-link{display:inline-flex;gap:7px;align-items:center;justify-content:center;background:#200d33b3;border:1px solid #af7eb94d;color:#f0def6;padding:7px 12px;font-size:12px;min-height:32px;max-width:100%}.location-link svg{width:14px;height:14px;color:var(--lime)}
.character-zone{position:relative;flex:1;min-height:0;isolation:isolate;container-type:size}.tap-hint{position:absolute;top:11px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:2px;color:#efdef3a6;pointer-events:none}.character-zone .dog{width:min(100%,360px);width:min(100%,105cqh,380px);max-width:none;bottom:-8px;z-index:1}.character-zone .dog:focus-visible{outline-offset:-8px}.character-zone .scene-props{z-index:2}.character-zone .scene-prop{bottom:0;width:28%;max-width:130px}.character-zone .scene-prop.left{left:-12px}.character-zone .scene-prop.right{right:-12px}.character-zone .collector-title{top:auto;bottom:3px;left:50%;right:auto;transform:translateX(-50%);max-width:95%;font-size:11px;white-space:nowrap;z-index:3}.character-zone #particles{z-index:4}.character-zone .scene-challenge{top:6px;left:0;right:0;z-index:4;text-align:center;font-size:12px;padding:8px}.character-zone:has(.scene-challenge:not([hidden])) .tap-hint{display:none}.character-zone .sebek-speech{top:27px;right:0;font-size:12px;max-width:190px;padding:10px 12px}.character-zone .level-up{top:20px}.character-zone .level-up>span{font-size:12px}
.play-bottom{position:relative;flex-shrink:0;padding-bottom:12px}.scene-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px}.scene-tools button{display:flex;gap:7px;align-items:center;padding:7px 9px;min-height:36px;background:#190b27cc;border:1px solid #ab78bd55;font-size:12px;color:#e6d5ee;max-width:75%}.scene-tools svg{width:17px;height:17px;color:var(--lime)}.scene-tools button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combo-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;margin-bottom:7px;color:#bc9fcb}.combo-strip #combo-label{color:var(--lime);font:10px ui-monospace,monospace;white-space:nowrap}.combo-strip #combo-label.hot{color:#e9ff90;text-shadow:0 0 8px #d5ff3266}.play-bottom .combo-track{position:static;height:3px;background:#5f316766}.boost-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px}.charge-summary{display:flex;gap:9px;align-items:center;background:none;border:0;text-align:left;padding:0;min-height:44px;flex:1}.charge-summary>svg{color:var(--lime);width:24px;height:29px}.charge-summary>span{display:block;min-width:95px}.charge-summary small{display:block;font-size:8px;letter-spacing:1px;color:#bda3cc}.charge-summary strong{font:16px ui-monospace,monospace;display:block;margin-top:3px}.charge-track{display:block;width:100%;height:3px;background:#512967;margin-top:5px}.charge-track i{display:block;background:var(--lime);height:100%;width:0;transition:width .1s}.boost-button.button{width:auto;min-width:145px;justify-content:center;min-height:47px;font-size:15px;padding:12px 16px;gap:7px}.boost-button svg{width:19px;height:19px}.boost-button.ready{filter:drop-shadow(0 0 8px #d5ff3277)}
.tabs{position:relative;inset:auto;z-index:5;flex-shrink:0;margin:0;padding:0 0 max(env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px));border:0;border-top:1px solid #684078;background:#190925;gap:0;min-height:76px}.tabs button{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:11px 2px 10px;gap:7px;background:#210c30;font-size:11px;font-weight:600;border:0;border-right:1px solid #51366355}.tabs button:last-child{border-right:0}.tabs button svg{width:23px;height:23px}.tabs button.active{background:#341448;color:var(--lime)}.tabs button.active:before{content:'';position:absolute;left:20%;right:20%;top:0;height:3px;background:var(--lime);box-shadow:0 0 14px #d5ff3255}.tabs button>span{display:none}.tabs .quest-dot:not([hidden]){display:block;position:absolute;right:11px;top:7px;font:9px ui-monospace,monospace;padding:2px 4px;margin:0}.tabs button.active .quest-dot{background:var(--lime);color:var(--ink)!important}
.page:not(#play){padding:0 16px 24px}.page-heading{margin:25px 0 22px;gap:10px}.page-heading h1{font-size:36px;letter-spacing:-1.2px}.page-heading p{font-size:14px}.page-heading .eyebrow{font-size:8px;line-height:1.6;letter-spacing:1px}.collection-count{font-size:19px;padding-top:26px}.outfit-grid,.props-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.world-grid,.quests-layout,.bundles-grid,.collection-faq{grid-template-columns:1fr}.outfit-info{padding:13px 11px}.outfit-info h2,.prop-card .outfit-info h2{font-size:17px}.outfit-info p,.prop-card .outfit-info p{font-size:13px}.outfit-info .button,.prop-card .outfit-info .button{flex-wrap:wrap;justify-content:center;font-size:14px;padding:12px 8px}.filters button{font-size:13px;padding:9px 11px}.world-info{padding:18px}.world-info h2{font-size:24px}.world-info .eyebrow{font-size:9px}.stars-hero{grid-template-columns:1fr}.stars-hero-art{height:180px;order:1}.stars-hero-art img{width:210px}.stars-hero-copy{padding:22px;order:2}.stars-hero h2{font-size:30px}.stars-hero .stars-eyebrow{font-size:8px}.stars-hero small{font-size:12px}.hero-orbit{width:165px}.hero-rarity{bottom:6px}.prop-arrangement>.row{align-items:flex-start}.prop-arrangement h2{font-size:20px}.prop-arrangement .text-button{max-width:125px;font-size:13px}.prop-slot-select{min-height:240px;padding-bottom:38px}.prop-slot-select strong{font-size:14px}.prop-slot-select small{font-size:8px}.prop-slot-select em{font-size:11px}.collection-overview{font-size:12px;gap:15px;flex-wrap:wrap}.collection-progress{flex-basis:100%}.bundle-actions{grid-template-columns:1fr 1fr}.collection-faq{gap:0}.quest-card{padding:16px}.quest-card h3{font-size:16px}.quest-card p{font-size:13px}.quest-card .reward{font-size:13px}.section-heading small{font-size:11px}
.game-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(500px,100%);max-width:100%;max-height:85dvh;padding:0 0 env(safe-area-inset-bottom,0px);color:var(--white);border:1px solid #8d4db0;border-bottom:0;background:var(--ink);box-shadow:0 -16px 70px #08011066;overflow-y:auto;overscroll-behavior:contain}.game-sheet::backdrop{background:#0d031ab8;backdrop-filter:blur(5px)}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;position:sticky;top:0;background:#200b30;z-index:1;border-bottom:1px solid var(--line)}.sheet-header h2{font-size:22px;margin:0;letter-spacing:-.5px}.sheet-content{padding:20px 18px}.sheet-content .upgrade-card,.sheet-content .turbo-card,.sheet-content .challenge-card,.sheet-content .mastery-card{display:block;margin:0 0 16px;padding:18px}.sheet-content .upgrade-card h2{font-size:20px}.sheet-content .upgrade-card .bolt{display:block}.sheet-content .upgrade-values{display:grid;grid-template-columns:1fr 1fr;margin:18px 0}.sheet-content .upgrade-values small{display:block;font-size:12px;margin:0}.sheet-content .upgrade-card p{font-size:14px;margin:12px 0}.sheet-content .button{font-size:16px}.sheet-content .challenge-card .row{flex-wrap:wrap}.sheet-content .next-goal{width:100%;padding:10px 0}.total-clicks{color:var(--muted);font-size:14px;margin:0 0 20px}.total-clicks b{color:var(--white)}.sheet-content .soundbar{flex-wrap:wrap;gap:13px;padding:15px}.sheet-content .track-info{flex-basis:calc(100% - 90px)}.sheet-content .track-info b{font-size:15px}.sheet-content .track-info small{font-size:10px}.sheet-content .music-toggle{order:3;flex-basis:100%;justify-content:center;font-size:15px}.sheet-content .audio-settings-toggle{font-size:13px;padding-left:0}.sheet-content .audio-settings{padding:15px;gap:15px}.sheet-content .audio-settings label{flex-basis:100%;min-width:0}.sheet-content .audio-settings button{width:100%}.sheet-content .audio-settings p{font-size:13px;line-height:1.6}.sheet-content .arena-help{font-size:13px}.sheet-content footer{font-size:12px;margin-top:20px;padding-top:18px}.sheet-content footer button{font-size:13px;min-height:44px}.footer-mark{display:none}.sheet-content .help-trigger{width:40px;height:40px;min-width:40px}.sheet-content .help-panel{font-size:14px}.sheet-content .mastery-card .eyebrow{display:none}#toast{bottom:95px;font-size:14px;z-index:15}
@media(max-height:740px){.topbar{min-height:56px;padding-block:6px}.play-top{padding-top:8px}.status-row{margin-bottom:8px;gap:14px}.quick-card{min-height:74px;gap:4px;padding:7px 2px}.quick-card svg{width:19px;height:19px}.balance-stage{padding-top:11px}.balance-stage .big-balance strong{font-size:38px}.balance-stage .big-balance{margin:3px 0 5px}.balance-stage>.eyebrow{display:none}.location-link{min-height:28px;padding:5px 9px}.play-bottom{padding-bottom:9px}.scene-tools{margin-bottom:6px}.scene-tools button{min-height:32px;padding:5px 8px}.boost-row{padding-top:8px}.boost-button.button{min-height:44px;padding-block:10px}.tabs{min-height:67px}.tabs button{padding-block:8px;gap:5px}.tabs button svg{width:21px;height:21px}.character-zone .dog{width:min(100%,108cqh,330px)}.tap-hint{top:5px;font-size:7px}.character-zone .sebek-speech{top:10px;font-size:11px}}
@media(max-height:580px){.quick-card{min-height:62px;display:grid;grid-template-columns:22px auto;gap:1px 5px;padding:8px}.quick-card svg{grid-row:1/3}.quick-card strong{font-size:11px}.quick-card small{font-size:9px}.balance-stage{padding-top:6px}.balance-stage .big-balance strong{font-size:29px}.balance-stage .big-balance svg{width:24px;height:24px}.balance-stage .big-balance{margin:0 0 4px}.scene-tools{display:none}.combo-strip{margin-top:3px}.tap-hint{display:none}.location-link{min-height:24px;font-size:11px}.character-zone .dog{width:min(100%,120cqh,280px)}}
@media(max-width:360px){.arena{padding-inline:12px}.topbar{padding-inline:12px}.brand small{font-size:6px}.quick-actions{gap:6px}.quick-card strong{font-size:12px}.quick-card small{font-size:10px}.status-row{gap:10px}.click-income{min-width:70px}.level-summary small{font-size:9px}.tabs button{font-size:10px}.boost-button.button{min-width:135px}.boost-row{gap:12px}.page:not(#play){padding-inline:12px}.bundle-actions{grid-template-columns:1fr}}
