@font-face{font-family:"M PLUS Rounded 1c";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/m-plus-rounded-1c-latin-400-normal-GF9lDfTs.woff2)format("woff2"),url(/assets/m-plus-rounded-1c-latin-400-normal-cOmgXqvf.woff)format("woff")}@font-face{font-family:"M PLUS Rounded 1c";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/m-plus-rounded-1c-latin-700-normal-BYs1YzuX.woff2)format("woff2"),url(/assets/m-plus-rounded-1c-latin-700-normal-DpYetMpZ.woff)format("woff")}@font-face{font-family:"M PLUS Rounded 1c";font-style:normal;font-display:swap;font-weight:800;src:url(/assets/m-plus-rounded-1c-latin-800-normal-941enk6N.woff2)format("woff2"),url(/assets/m-plus-rounded-1c-latin-800-normal-B5F1WBCU.woff)format("woff")}@font-face{font-family:"M PLUS Rounded 1c";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/m-plus-rounded-1c-cyrillic-400-normal-324p26JZ.woff2)format("woff2"),url(/assets/m-plus-rounded-1c-cyrillic-400-normal-B0FndfLk.woff)format("woff")}@font-face{font-family:"M PLUS Rounded 1c";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/m-plus-rounded-1c-cyrillic-700-normal-BKkNNS7o.woff2)format("woff2"),url(/assets/m-plus-rounded-1c-cyrillic-700-normal-BOHbqNNP.woff)format("woff")}@font-face{font-family:"M PLUS Rounded 1c";font-style:normal;font-display:swap;font-weight:800;src:url(/assets/m-plus-rounded-1c-cyrillic-800-normal-D_r6yFHG.woff2)format("woff2"),url(/assets/m-plus-rounded-1c-cyrillic-800-normal-DF2fs6TK.woff)format("woff")}:root{--paper:#fffaf0;--paper-veil:#fffaf0e6;--paper-shadow:#e8d8c4;--stitch:#e7cfb8;--ink:#5a4050;--ink-soft:#8a7080;--coral:#ef8f7e;--coral-shadow:#c9675a;--beige:#f3e6d6;--beige-shadow:#dcc6ae;--mint:#bfe6c4;--tape:#ffd6aacc;--sky:#bfe6f5;--on-coral:#fff;--paper-drop:#5a3c5040;color:var(--ink);background:var(--sky);font-synthesis:none;font-family:"M PLUS Rounded 1c",ui-rounded,system-ui,sans-serif;line-height:1.2}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}.app-shell{place-items:center;width:100%;height:100%;display:grid;position:relative}.app-stage{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1440'%20height='610'%20viewBox='0%200%201440%20610'%3e%3cdefs%3e%3clinearGradient%20id='sky'%20x1='0'%20y1='0'%20x2='0'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%235fb4e8'/%3e%3cstop%20offset='1'%20stop-color='%23bfe6f5'/%3e%3c/linearGradient%3e%3cradialGradient%20id='light'%20cx='0.2'%20cy='0'%20r='0.6'%3e%3cstop%20offset='0'%20stop-color='%23ffffff'%20stop-opacity='0.28'/%3e%3cstop%20offset='1'%20stop-color='%23ffffff'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='haze'%20x1='0'%20y1='0'%20x2='0'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%23ffffff'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23ffffff'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20width='1440'%20height='610'%20fill='url(%23sky)'/%3e%3crect%20width='1440'%20height='610'%20fill='url(%23light)'/%3e%3crect%20y='460'%20width='1440'%20height='150'%20fill='url(%23haze)'/%3e%3c/svg%3e") 0 0 / 1440px 610px no-repeat, url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1440'%20height='290'%20viewBox='0%200%201440%20290'%3e%3cdefs%3e%3clinearGradient%20id='sea'%20x1='0'%20y1='0'%20x2='0'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%234fc0c4'/%3e%3cstop%20offset='1'%20stop-color='%232a8fa8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='shine'%20x1='0'%20y1='0'%20x2='0'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%23bdf0ee'%20stop-opacity='0.55'/%3e%3cstop%20offset='1'%20stop-color='%23bdf0ee'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20width='1440'%20height='290'%20fill='url(%23sea)'/%3e%3crect%20width='1440'%20height='26'%20fill='url(%23shine)'/%3e%3crect%20width='1440'%20height='2'%20fill='%23d6f6f2'%20opacity='0.7'/%3e%3cg%20fill='none'%20stroke='%23bdf0ee'%20stroke-width='2'%20stroke-linecap='round'%20opacity='0.6'%3e%3cpath%20d='M1177%2021q8%20-3%2016%200'/%3e%3cpath%20d='M776%2078q10%20-4%2020%200'/%3e%3cpath%20d='M351%2083q10%20-4%2021%200'/%3e%3cpath%20d='M72%2094q11%20-4%2022%200'/%3e%3cpath%20d='M237%20121q12%20-4%2024%200'/%3e%3cpath%20d='M1312%20130q12%20-5%2025%200'/%3e%3cpath%20d='M1046%20150q13%20-5%2026%200'/%3e%3cpath%20d='M120%20176q14%20-5%2028%200'/%3e%3cpath%20d='M442%20176q14%20-5%2028%200'/%3e%3cpath%20d='M1219%20178q14%20-5%2029%200'/%3e%3cpath%20d='M840%20209q15%20-6%2031%200'/%3e%3cpath%20d='M683%20229q16%20-6%2033%200'/%3e%3cpath%20d='M1388%20234q16%20-6%2033%200'/%3e%3cpath%20d='M164%20239q17%20-6%2034%200'/%3e%3cpath%20d='M674%20269q18%20-7%2036%200'/%3e%3c/g%3e%3c/svg%3e") 0 610px / 1440px 290px no-repeat, var(--sky);transform-origin:0 0;position:absolute;overflow:hidden}.app-stage__phaser,.app-stage__overlay{position:absolute;inset:0}.app-stage__overlay{pointer-events:none}.viewport-message,.rotate-message{text-align:center;background:var(--paper);outline:2px dashed var(--stitch);outline-offset:-10px;max-width:32rem;box-shadow:0 6px 0 var(--paper-shadow), 0 16px 40px var(--paper-drop);border-radius:18px;padding:2rem;font-size:1.125rem;display:none}.app-shell--unsupported .app-stage{visibility:hidden}.app-shell--unsupported .viewport-message{display:block}.app-shell--unsupported .app-touch,.app-shell--rotate .app-stage,.app-shell--rotate .app-touch{visibility:hidden}.app-shell--rotate .rotate-message{display:block}.app-stage canvas{width:1440px;height:900px;display:block}.app-stage__hud,.app-stage__screen,.app-stage__dialog{position:absolute;inset:0}.app-stage__hud{pointer-events:none}.app-stage__screen,.app-stage__dialog{pointer-events:none;place-items:center;display:grid}.app-stage__screen>*,.app-stage__dialog>*{pointer-events:auto}.screen{width:min(960px,100% - 120px);max-height:calc(100% - 96px);color:var(--ink);background:var(--paper);outline:2px dashed var(--stitch);outline-offset:-10px;box-shadow:0 6px 0 var(--paper-shadow), 0 16px 40px var(--paper-drop);border-radius:18px;padding:44px 52px;position:relative;overflow:auto}.screen:before{content:"";background:var(--tape);width:96px;height:22px;margin-left:-48px;position:absolute;top:6px;left:50%;transform:rotate(-3deg)}.screen--start,.screen--result,.screen--error,.screen--dialog{text-align:center;max-width:620px}.screen h1{margin:4px 0 20px;font-size:48px;font-weight:800;line-height:1.1}.screen h2{font-size:28px;font-weight:700;line-height:1.2}.button,.screen button{color:var(--ink);background:var(--beige);box-shadow:0 3px 0 var(--beige-shadow);font:inherit;cursor:pointer;border:0;border-radius:999px;margin:10px 6px 0;padding:12px 24px;font-size:17px;font-weight:700;line-height:1.2}.button:active,.screen button:active{box-shadow:0 1px 0 var(--beige-shadow);transform:translateY(2px)}.button:focus-visible,.screen button:focus-visible{outline:3px solid var(--coral);outline-offset:2px}.button--primary,.screen button.button--primary{color:var(--on-coral);background:var(--coral);box-shadow:0 3px 0 var(--coral-shadow)}.button--primary:active,.screen button.button--primary:active{box-shadow:0 1px 0 var(--coral-shadow)}.audio-controls{background:var(--beige);accent-color:var(--coral);border:0;border-radius:14px;gap:10px;margin:28px auto 0;padding:18px;display:grid}.audio-controls label{text-align:left;grid-template-columns:90px 1fr;align-items:center;gap:12px;display:grid}.screen__notice{background:var(--mint);border-radius:12px;padding:10px 16px}.game-hud{color:var(--ink);font-size:17px;position:absolute;inset:0}.game-hud>*{transition:opacity .4s}.game-hud--won>*{opacity:0}.game-hud__construction,.game-hud__score{background:var(--paper);outline:2px dashed var(--stitch);outline-offset:-6px;width:302px;box-shadow:0 3px 0 var(--paper-shadow);border-radius:14px;padding:22px;position:absolute;top:96px}.game-hud__construction{left:104px}.game-hud__score{right:104px}.game-hud h2{margin:0 0 18px;font-size:27px;font-weight:800;line-height:1.2}.game-hud__footer{text-align:center;background:var(--paper-veil);box-shadow:0 3px 0 var(--paper-shadow);border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;padding:8px 20px;font-size:15px;display:grid;position:absolute;bottom:20px;left:370px;right:370px}.game-hud kbd{font:inherit;background:var(--beige);box-shadow:0 2px 0 var(--beige-shadow);border-radius:6px;padding:0 6px;display:inline-block}.game-hud__footer p{margin:0}.game-hud__footer p:nth-child(-n+2){grid-column:1/-1}.piece-miniature{font-weight:700}.stats-summary{grid-template-columns:repeat(3,1fr);gap:8px 20px;display:grid}.screen--stats section{margin-top:28px}.screen--stats ol{margin:0;padding-left:0;list-style:none}.screen--stats li{padding:5px 8px}.screen--stats [aria-current=true]{color:var(--ink);background:var(--mint);border-radius:8px}.app-touch{z-index:2;pointer-events:none;position:fixed;inset:0}.touch-controls{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:absolute;inset:0}.touch-controls [hidden]{display:none}.touch-button{border:2px solid var(--beige-shadow);width:48px;height:48px;color:var(--ink);background:var(--paper-veil);box-shadow:0 3px 0 var(--paper-shadow);pointer-events:auto;touch-action:none;border-radius:50%;justify-content:center;align-items:center;padding:0;font:700 18px/1 "M PLUS Rounded 1c",ui-rounded,system-ui,sans-serif;display:flex;position:absolute}.touch-button:active{box-shadow:0 1px 0 var(--paper-shadow);transform:translateY(2px)}.touch-button--hold,.touch-button--pause,.touch-button--undo{width:36px;height:36px;font-size:14px}.touch-button--left{top:calc(50% - 24px);left:4px}.touch-button--right{top:calc(50% - 24px);left:52px}.touch-button--down{top:calc(50% + 30px);left:28px}.touch-button--hold{top:12px;left:34px}.touch-button--rotate-left{top:calc(50% - 10px);right:52px}.touch-button--rotate-right{top:calc(50% - 40px);right:4px}.touch-button--pause{top:12px;right:34px}.touch-button--undo{top:56px;right:34px}.touch-button--drop{width:80px;height:44px;color:var(--on-coral);background:var(--coral);border-color:var(--coral-shadow);box-shadow:0 3px 0 var(--coral-shadow);border-radius:14px;font-size:14px;top:calc(50% + 44px);right:12px}.touch-controls__surface{pointer-events:auto;touch-action:none;position:absolute;inset:0}
