/* Readable block shapes and controls for fingers as well as a mouse. */
.block-cube{display:block;position:relative;width:38px;height:40px;margin:auto;filter:drop-shadow(0 4px 3px #0003);flex-shrink:0}.block-cube i,.block-cube b,.block-cube em{position:absolute;display:block;inset:0;background:var(--block);font-style:normal}.block-cube i{clip-path:polygon(50% 0,100% 24%,50% 50%,0 24%);filter:brightness(1.22)}.block-cube b{clip-path:polygon(0 24%,50% 50%,50% 100%,0 74%);filter:brightness(.95)}.block-cube em{clip-path:polygon(50% 50%,100% 24%,100% 74%,50% 100%);filter:brightness(.67)}
#platform-label{display:inline-block;margin:0 0 14px;padding:5px 9px;border:1px solid #ffffff28;border-radius:7px;color:#d6e5c5;font-size:10px}.menu-main-actions{display:flex;gap:8px;margin:12px 0 18px}.menu-main-actions button{flex:1;font-size:12px}.menu-details{border-top:1px solid #fff2;padding:12px 0;color:#d7e4d2;font-size:12px}.menu-details summary{cursor:pointer;font-weight:650;padding:3px 0}.menu-grid{margin-bottom:0}.native-app .back{display:none}#app-note{font-size:11px;color:#bdd4b1;line-height:1.5}.menu-card{padding:25px 29px}.brand-cube{margin-top:13px}#menu h1{font-size:42px}#menu .intro{margin-bottom:13px}.tools button{min-height:46px}#help-button{color:#e6faac}.top .pill{background:#163b34eb}
#selected-block{position:fixed;left:50%;bottom:108px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;background:#16382fed;box-shadow:0 5px 20px #0002;border:1px solid #edffc044;border-radius:13px;padding:7px 9px;color:#f1f6de;pointer-events:auto;font-size:13px;max-width:94vw}#selected-icon .block-cube{width:26px;height:28px}#selected-block small{display:block;font-size:9px;color:#c1d5bc;letter-spacing:.05em}#selected-name{display:block;min-width:95px;white-space:nowrap}#catalog-button{font-size:12px;color:#e4ffab;padding:10px 13px;background:#c4e69e20;border-radius:9px}#hotbar{bottom:max(19px,env(safe-area-inset-bottom));gap:6px;padding:7px;overflow:visible}.slot{height:70px;width:69px;padding:4px;border-radius:11px;display:flex;flex-direction:column;justify-content:center;gap:3px}.slot .block-cube{width:31px;height:32px}.slot-name{display:block;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;color:#f0f4df;font-weight:550}.slot small{left:3px;top:1px;bottom:auto;color:#e7fac4;font-size:9px}#desktop-help{bottom:24px;font-size:10px}#first-tip{position:fixed;top:94px;left:50%;transform:translateX(-50%);font-size:12px;padding:8px 10px 8px 15px;border:1px solid #e8ffc050;border-radius:30px;background:#163a2fdc;max-width:90vw;white-space:nowrap}#first-tip button{border:0;padding:2px 7px;font-size:18px;margin-left:7px;background:transparent}
dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #d7edb94d;border-radius:23px;background:#183e33;color:#eef4dd;padding:25px;box-shadow:0 20px 100px #0006;overflow:auto}dialog::backdrop{background:#08251dcc;backdrop-filter:blur(7px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.dialog-head small{font-size:9px;letter-spacing:.15em;color:#bad095}.dialog-head h2{font-size:27px;margin:6px 0;text-transform:none;color:#edf6d8;letter-spacing:-.03em}.dialog-head button{width:43px;height:43px;padding:0;font-size:25px;flex-shrink:0}#block-search{width:100%;border-radius:11px;padding:13px 15px;border:1px solid #fff3;background:#102f26;color:#eef4dd;font-size:14px;outline-color:#defa9e}#block-search::placeholder{color:#adc5ad}#block-categories{display:flex;gap:7px;overflow-x:auto;margin:14px 0}#block-categories button{padding:10px 12px;font-size:11px;flex:none}#block-categories button[aria-pressed=true]{background:#d8f797;color:#173d34;border-color:#d8f797}#block-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.block-card{min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 7px;gap:8px;background:#244e3f;border:1px solid #d5edc625}.block-card:hover{background:#315e4a}.block-card[aria-pressed=true]{border-color:#dcf89c;background:#d2f19722}.block-card strong{font-size:12px;font-weight:650}.block-card small{color:#adc8ad;font-size:9px}dialog footer{margin-top:18px;color:#bdd2ad;font-size:11px;line-height:1.5}#block-empty{padding:25px 0;color:#cee0bd;font-size:14px}.guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.guide-steps section{padding:18px 14px;background:#244e3f;border-radius:13px}.guide-steps b{font-size:25px;color:#daf399}.guide-steps h3{font-size:15px;margin:12px 0}.guide-steps p,.guide-note{font-size:12px;line-height:1.7;color:#c5d8bc}.guide-note{margin:20px 0}.phone-guide{display:none}body.touch .phone-guide{display:block}body.touch .computer-guide{display:none}
body.touch #selected-block{bottom:max(100px,calc(env(safe-area-inset-bottom) + 86px));font-size:12px}body.touch #selected-name{min-width:80px}body.touch #hotbar{gap:5px;padding:6px;bottom:max(12px,env(safe-area-inset-bottom))}body.touch .slot{width:58px;height:62px}body.touch .slot .block-cube{width:29px;height:30px}body.touch .slot-name{font-size:8px}body.touch .touch-actions{grid-template-columns:72px 72px;gap:8px;bottom:max(110px,env(safe-area-inset-bottom));right:max(20px,env(safe-area-inset-right))}body.touch .touch-actions button{min-height:61px;padding:7px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #e3f5cc50;border-radius:17px;background:#173d33e8}body.touch .touch-actions button b{font-size:25px;line-height:1.1}body.touch .touch-actions button span{font-size:11px;font-weight:600}body.touch #place{background:#d8f797;color:#183b2b;border-color:#e6ffb4}body.touch #down:disabled{opacity:.4;cursor:default}body.touch #joystick{bottom:125px;left:max(25px,env(safe-area-inset-left));width:110px;height:110px;border:2px solid #e0efcf60;background:#193e3299}#joystick>span{position:absolute;top:118px;left:0;width:100%;text-align:center;font-size:9px;letter-spacing:.18em;color:#edf8de;text-shadow:0 1px 3px #123a2b}body.touch .look-hint{bottom:255px;right:20px;font-size:9px}body.touch #first-tip{top:78px;font-size:10px;padding:4px 6px 4px 12px}body.touch .tools button{font-size:11px;min-height:43px}body.touch .top .pill{font-size:11px}.tools button span{margin-left:3px}
@media(max-width:650px){#block-grid{grid-template-columns:repeat(3,1fr)}dialog{padding:19px}.guide-steps{grid-template-columns:1fr}.guide-steps section{padding:13px;display:grid;grid-template-columns:38px 1fr;gap:0 8px}.guide-steps h3{margin:0 0 5px}.guide-steps b{grid-row:span 2}.guide-steps p{margin:0}.tools button span{display:none}body.touch #selected-block{bottom:91px;gap:6px;padding:5px 7px}body.touch #catalog-button{padding:9px;font-size:11px}body.touch #selected-name{min-width:75px}body.touch .slot{width:48px;height:60px}body.touch #hotbar{gap:3px}body.touch .touch-actions{right:14px;grid-template-columns:64px 64px;bottom:180px}body.touch #joystick{left:17px;bottom:200px}body.touch .look-hint{bottom:324px;right:15px}.top .pill{padding:9px!important}.top .pill .leaf{display:none}.tools{gap:4px}body.touch #first-tip{top:76px;max-width:95vw}#desktop-help{display:none}#selected-block{bottom:110px}.slot{width:47px}.menu-card{padding:25px;width:min(390px,100%)}.menu-card h1{font-size:40px}}
@media(max-height:500px){#menu{padding:12px 20px;align-items:flex-start}.menu-card{width:min(420px,100%);padding:20px 25px}.menu-card .eyebrow,.menu-card .brand-cube,.menu-card .intro{display:none}.menu-card h1{font-size:30px!important;margin-top:0}.menu-card h1 br{display:none}.menu-card h1 span:before{content:' '}.menu-card #platform-label{margin-bottom:10px}.menu-card .primary{padding:12px}.menu-main-actions{margin:9px 0}.menu-details{padding:9px 0}.menu-hint{margin:12px 0!important}body.touch #selected-block{bottom:92px;padding:5px 8px}body.touch .slot{height:59px}body.touch #first-tip{top:72px}body.touch .look-hint{display:none}.dialog-head{margin-bottom:10px}.dialog-head h2{font-size:23px}#block-grid{grid-template-columns:repeat(6,1fr)}.block-card{min-height:96px;padding:10px 5px}.block-card strong{font-size:10px}#block-categories{margin:10px 0}.guide-steps{grid-template-columns:repeat(3,1fr)}.guide-steps section{display:block}.guide-steps p{font-size:11px}}
@media(max-width:740px) and (max-height:500px){body.touch #selected-block{bottom:87px}body.touch .touch-actions{grid-template-columns:62px 62px;right:12px;bottom:108px}body.touch #joystick{left:17px;bottom:120px}.tools button{padding:10px!important}.pill{max-width:195px}#block-grid{grid-template-columns:repeat(4,1fr)}}

@media(max-width:360px){body.touch .slot{width:43px}body.touch #hotbar{gap:2px;padding:5px}body.touch .slot-name{font-size:7px}body.touch #first-tip{font-size:9px;padding-left:8px}body.touch .tools button{font-size:10px;padding:8px!important}.top .pill small{font-size:8px}}
