.mj-game{position:relative;max-width:1100px;margin:0 auto;padding:0 10px;color:#314d42;font:14px/1.35 Arial,sans-serif}
.mj-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 5px;min-height:60px}
.mj-heading>div{position:relative;min-width:280px;max-width:calc(100% - 120px);padding:14px 35px 15px;border:0;background:transparent url("assets/origami-control-compact.png") center/100% 155% no-repeat;filter:drop-shadow(0 3px 2px rgba(91,64,34,.18))}
.mj-eyebrow{margin:0 0 4px;color:#744c2b;font-size:9px;font-weight:bold;letter-spacing:1.7px;text-shadow:0 1px 0 #fff0c9}
.mj-heading h2{margin:0;font:25px/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.6px;color:#254f45;text-shadow:0 1px 0 rgba(255,247,221,.9)}
.mj-counter{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:106px;min-height:54px;margin-left:12px;padding:8px 13px;border:2px solid #b28b48;border-radius:50%;background:#f5dda1;background:linear-gradient(165deg,#fff0bd,#dac18c);box-shadow:inset 0 0 0 3px #eed5a2,inset 0 0 0 4px rgba(145,108,50,.25),0 3px 0 #9c8052,0 6px 9px rgba(67,48,27,.2);font-size:11px;font-weight:bold;text-align:center;color:#59452a}
.mj-journey-line{display:flex;align-items:center;justify-content:flex-end;min-height:21px;margin:0 0 4px;padding:0 12px;color:#4d5f3b;font-size:10px;text-shadow:0 1px 0 rgba(255,245,216,.8)}
.mj-journey-line>span:first-child{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mj-stars{font-family:Georgia,serif;font-size:20px;line-height:1;letter-spacing:3px;color:#986321;text-shadow:0 1px 0 #fff5c1,0 0 7px rgba(255,227,124,.6);white-space:nowrap}
.mj-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 4px}
.mj-picker,.mj-level-label{display:flex;align-items:center}
.mj-level-label{font-size:0;color:#3d5543}
.mj-level{min-height:44px;max-width:205px;margin:0;padding:8px 25px 8px 21px;border:0;border-radius:8px;background:transparent url("assets/origami-control-compact.png") center/100% 155% no-repeat;filter:drop-shadow(0 2px 2px rgba(91,64,34,.18));color:#4b472c;font:12px Arial,sans-serif;cursor:pointer}
.mj-map-open{min-height:44px;min-width:44px;margin-left:6px;padding:8px 10px;border:1px solid #927240;border-bottom:3px solid #806037;border-radius:11px 6px 12px 6px;background:#e5c78b;background:linear-gradient(145deg,#f4dfa9,#d7b576);box-shadow:inset 0 1px 0 #fff0c6,0 3px 7px rgba(62,44,25,.14);color:#5c4325;font-size:12px;font-weight:bold;cursor:pointer}
.mj-tools{display:flex;align-items:center;flex-wrap:wrap;margin-left:4px}
.mj-tools button{position:relative;min-width:44px;min-height:44px;margin-left:6px;padding:8px 9px;border:1px solid #7b9b76;border-bottom:3px solid #517057;border-radius:14px 7px 13px 7px;background:#d8e8bc;background:linear-gradient(160deg,#eff0c8,#c4d8a8);box-shadow:inset 0 1px 0 #fff9d8,0 3px 6px rgba(33,63,41,.18);color:#2b5141;font-size:12px;font-weight:bold;cursor:pointer;touch-action:manipulation}
.mj-tools button:before{content:"";position:absolute;top:3px;left:5px;width:3px;height:3px;background:#b08a36;transform:rotate(45deg)}
.mj-tools button[data-mj-action=hint]{border-color:#b98b3d;border-bottom-color:#936526;background:#f5d47c;background:linear-gradient(155deg,#ffe9a5,#e8bd62);color:#6b4318}
.mj-tools button[data-mj-action=new]{width:auto;min-width:92px;padding:8px 10px;font:700 12px/1.2 Arial,sans-serif}
.mj-stock{display:inline-flex;align-items:center;justify-content:center;min-width:19px;min-height:19px;margin-left:4px;padding:1px 4px;border:1px solid rgba(92,83,42,.24);border-radius:50%;background:rgba(255,248,212,.56);box-shadow:inset 0 1px 2px rgba(87,68,30,.12);font-size:10px;color:inherit}
.mj-tools button:active,.mj-map-open:active{transform:translateY(2px);box-shadow:inset 0 1px 0 rgba(255,255,230,.65),0 1px 2px rgba(49,65,36,.2)}
.mj-rule{margin:4px 0 6px;padding:0 2px;color:#3a5847;font-size:11px;line-height:1.35;text-align:center;text-shadow:0 1px 0 rgba(255,247,218,.8)}
.mj-stage{position:relative;overflow:auto;isolation:isolate;max-width:100%;margin-left:auto;margin-right:auto;padding:12px 10px 13px;border:1px solid #876c46;border-bottom:6px solid #9a744a;border-right:4px solid #b18b57;border-radius:13px 8px 18px 10px;background-color:#ddc399;background-image:linear-gradient(145deg,rgba(255,237,193,.92),rgba(200,174,128,.88)),repeating-linear-gradient(16deg,transparent 0,transparent 3px,rgba(104,75,39,.12) 4px,transparent 5px);box-shadow:inset 0 2px 0 #fff0cd,inset 0 0 0 4px rgba(245,222,173,.75),0 7px 0 rgba(91,72,42,.25),0 15px 25px rgba(48,52,35,.24);-webkit-overflow-scrolling:touch}
.mj-stage:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;z-index:-1;border:1px solid rgba(126,94,53,.33);border-radius:9px 5px 11px 6px;box-shadow:inset 0 0 14px rgba(85,68,42,.14);pointer-events:none}
.mj-stage:after{content:"";position:absolute;top:1px;right:1px;width:0;height:0;border-style:solid;border-width:0 21px 21px 0;border-color:transparent #bc9865 transparent transparent;filter:drop-shadow(-1px 2px 1px rgba(96,68,32,.22));pointer-events:none}
.mj-board{position:relative;min-height:214px;margin:0 auto;transform-origin:50% 55%}
.mj-tile{position:absolute;min-width:44px;min-height:44px;box-sizing:border-box;margin:0;padding:0;border:1px solid #aa8a55;border-bottom:6px solid #9f7c45;border-right:4px solid #b39258;border-radius:9px 7px 10px 7px;background:#f3dba9;color:#3a543e;box-shadow:inset 0 1px 0 #fff9d9,1px 3px 0 rgba(95,69,35,.26),2px 6px 5px rgba(83,63,34,.24);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transform-origin:50% 60%;transition:transform .16s ease-out,box-shadow .16s ease-out}
.mj-tile-face{position:absolute;top:3px;right:3px;bottom:2px;left:3px;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;border:1px solid #d0b583;border-radius:5px 4px 7px 4px;background:#fff1cd;background-image:linear-gradient(140deg,#fff8df 0%,#fcecc3 67%,#d7bc89 68%,#f2dbad 83%);box-shadow:inset 0 1px 0 #fffdf0,inset 0 -2px 2px rgba(142,101,45,.11)}
.mj-tile-face:after{content:"";position:absolute;top:0;left:-35%;width:30%;height:110%;background:linear-gradient(90deg,transparent,rgba(255,255,240,.5),transparent);transform:skewX(-25deg);pointer-events:none}
.mj-tile svg{display:block;flex-shrink:1;width:74%;height:68%;max-height:58px;filter:drop-shadow(0 1px 0 rgba(255,255,236,.8)) drop-shadow(0 1px 1px rgba(110,79,42,.12))}
.mj-tile-name{position:relative;max-width:100%;overflow:hidden;margin-top:1px;color:#4d4e35;font:700 9px/11px Arial,sans-serif;white-space:nowrap;letter-spacing:.05px;text-shadow:0 1px 0 #fff7dc}
.mj-tile-blocked{border-top-color:#9a946c;border-left-color:#979267;border-right-color:#8f9067;border-bottom-color:#747f55;background:#bdc39b;box-shadow:1px 3px 0 rgba(50,66,43,.2),2px 5px 4px rgba(49,65,43,.22)}
.mj-tile-blocked .mj-tile-face{border-color:#a8ae82;background:#c4cba5;background-image:linear-gradient(135deg,#d6dcb7,#b4bf92);box-shadow:inset 0 1px 0 #e8e9c8}
.mj-tile-blocked svg{opacity:.57;filter:none}
.mj-tile-blocked .mj-tile-name{color:#56624a;text-shadow:0 1px 0 #dfe2bb}
.mj-tile-selected{z-index:80!important;outline:2px solid #ca6c3a;outline-offset:2px;transform:translateY(-4px) rotate(-2deg) scale(1.055);box-shadow:0 0 0 5px rgba(255,202,112,.42),0 0 19px rgba(255,231,161,.9),2px 9px 7px rgba(69,49,27,.28)}
.mj-tile-selected .mj-tile-face{background:#ffe4aa;background-image:linear-gradient(135deg,#fff8cd,#ffda91);border-color:#d69c45}
.mj-tile-hint{outline:2px solid #d49c32;outline-offset:2px;box-shadow:0 0 0 4px rgba(255,228,138,.7),0 0 18px rgba(255,239,173,.9),2px 6px 5px rgba(83,63,34,.24)}
.mj-tile-hint .mj-tile-face{background:#fff0ab;background-image:linear-gradient(145deg,#fffbd1,#ffdf85)}
.mj-tile-selected.mj-tile-hint{outline-color:#b95a30}
.mj-notice{display:flex;align-items:center;justify-content:center;min-height:32px;margin:8px 0 0;padding:4px 13px;border-radius:4px 12px;background:rgba(255,239,201,.88);box-shadow:0 2px 4px rgba(71,65,39,.1);color:#284f3c;font-size:11px;line-height:1.4;text-align:center;text-shadow:0 1px 0 rgba(255,246,212,.85)}
.mj-notice-attention{color:#7b3f1c;font-weight:bold}
.mj-finish{position:absolute;top:15px;right:12px;bottom:15px;left:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#35533a;text-shadow:0 1px 0 rgba(255,246,204,.9)}
.mj-finish>span{font:40px/1 Georgia,serif;letter-spacing:6px;color:#ad7427;text-shadow:0 2px 0 #fff3b4,0 0 20px #ffe293}
.mj-finish h3{margin:10px 0 5px;font:28px/1.1 Georgia,serif}
.mj-finish p{margin:0 0 14px;font-size:14px}
.mj-finish button{min-width:44px;min-height:46px;padding:10px 22px;border:1px solid #254e39;border-bottom:4px solid #234b37;border-radius:14px 7px;background:#39734f;background:linear-gradient(155deg,#6a9860,#2e6645);box-shadow:inset 0 1px 0 #a5bd78,0 4px 8px rgba(53,74,40,.23);color:#fff1c4;font-size:15px;font-weight:bold;text-shadow:0 1px 0 #2a553d;cursor:pointer;touch-action:manipulation}
.mj-finish .mj-replay{min-height:44px;margin-top:4px;padding:6px 16px;border:0;background:transparent;box-shadow:none;color:#725031;font-size:12px;font-weight:normal;text-decoration:underline;text-shadow:0 1px 0 #fff1cb}
.mj-game button:focus,.mj-level:focus{outline:3px solid #bc6a31;outline-offset:3px}
.mj-game button:focus:not(:focus-visible){outline:none}
.mj-game button.mj-tile-selected:focus{outline:2px solid #ca6c3a;outline-offset:2px}
.mj-game button.mj-tile-hint:focus{outline:2px solid #d49c32;outline-offset:2px}
.mj-game button:disabled{opacity:.42;cursor:default;box-shadow:inset 0 1px 0 rgba(255,251,220,.4)}
.mj-loading{padding:40px 20px;text-align:center;color:#45634d;font:24px Georgia,serif}
/* World materials keep the same geometry and touch targets. */
.mj-game[data-mj-world=nimboria]{color:#4d3556}
.mj-game[data-mj-world=nimboria] .mj-heading>div{background-image:url("assets/nimboria-control-compact.png");padding-left:36px;padding-right:36px}
.mj-game[data-mj-world=nimboria] .mj-heading h2{color:#48203b;text-shadow:0 1px 0 #f8b9ce}
.mj-game[data-mj-world=nimboria] .mj-eyebrow{color:#48203b;text-shadow:0 1px 0 #f2b5c9}
.mj-game[data-mj-world=nimboria] .mj-journey-line{color:#735040}
.mj-game[data-mj-world=nimboria] .mj-counter{border-color:#b98a51;background:linear-gradient(145deg,#ffe3c5,#d9b18b);color:#663e3e}
.mj-game[data-mj-world=nimboria] .mj-level{background-image:url("assets/nimboria-control-compact.png");color:#48203b;text-shadow:0 1px 0 #f2b5c9}
.mj-game[data-mj-world=nimboria] .mj-level option,.mj-game[data-mj-world=nimboria] .mj-level optgroup{color:#573344;background:#ffe3d1;text-shadow:none}
.mj-game[data-mj-world=nimboria] .mj-map-open{border-color:#b08355;border-bottom-color:#946147;background:linear-gradient(145deg,#f9d9ca,#dfb3b1);color:#663e55}
.mj-game[data-mj-world=nimboria] .mj-tools button{border-color:#a77470;border-bottom-color:#885559;background:linear-gradient(145deg,#f7d8c5,#dca4ad);color:#653553;box-shadow:inset 0 1px 0 #fff1d7,0 3px 6px rgba(94,45,76,.2)}
.mj-game[data-mj-world=nimboria] .mj-tools button[data-mj-action=hint]{border-color:#b78b3e;border-bottom-color:#90652b;background:linear-gradient(145deg,#fff0ad,#e8c374);color:#71502c}
.mj-game[data-mj-world=nimboria] .mj-rule,.mj-game[data-mj-world=nimboria] .mj-notice{color:#5c3c51;text-shadow:0 1px 0 #ffe8d4}
.mj-game[data-mj-world=nimboria] .mj-notice{background:rgba(255,228,210,.9)}
.mj-game[data-mj-world=nimboria] .mj-stage{border-color:#a47b42;border-bottom-color:#956347;border-right-color:#be9060;border-radius:22px 10px 23px 11px;background-color:#dab4bb;background-image:linear-gradient(145deg,rgba(249,223,199,.93),rgba(207,157,176,.87)),repeating-linear-gradient(45deg,transparent 0,transparent 2px,rgba(122,74,92,.14) 3px,transparent 4px);box-shadow:inset 0 2px 0 #ffe8bb,inset 0 0 0 4px rgba(224,183,113,.65),0 7px 0 rgba(122,73,85,.27),0 15px 26px rgba(76,41,69,.23)}
.mj-game[data-mj-world=nimboria] .mj-stage:before{border-color:rgba(143,90,52,.5);border-style:dashed;border-radius:17px 7px 18px 8px}
.mj-game[data-mj-world=nimboria] .mj-stage:after{border-right-color:#c79c61}
.mj-game[data-mj-world=nimboria] .mj-tile{border-color:#c89b76;border-right-color:#b48767;border-bottom-color:#a0755d;background:#f4d9b8;border-radius:12px 8px 12px 8px}
.mj-game[data-mj-world=nimboria] .mj-tile-face{border-color:#e2bda5;border-radius:8px 5px;background:linear-gradient(135deg,#fff4d9,#f8dfcd 65%,#e7bfbc);box-shadow:inset 0 1px 0 #fffbee,inset 0 0 0 2px rgba(255,243,207,.48)}
.mj-game[data-mj-world=nimboria] .mj-tile-blocked{border-color:#a49986;border-bottom-color:#7c8175;background:#bdbdaa}
.mj-game[data-mj-world=nimboria] .mj-tile-blocked .mj-tile-face{border-color:#acac93;background:linear-gradient(145deg,#dbd8bd,#b7bc9f)}
.mj-game[data-mj-world=nimboria] .mj-tile-selected{outline-color:#be638a;box-shadow:0 0 0 5px #ffd5c46b,0 0 20px #ffdcc3,2px 9px 7px #57304e44}
.mj-game[data-mj-world=nimboria] .mj-tile-hint .mj-tile-face{background:linear-gradient(145deg,#fff4c4,#f1d38b)}
.mj-game[data-mj-world=auroria]{color:#ead7ef}
.mj-game[data-mj-world=auroria] .mj-heading>div{background-image:url("assets/auroria-control-compact.png");padding-left:37px;padding-right:37px}
.mj-game[data-mj-world=auroria] .mj-heading h2{color:#57396c;text-shadow:0 1px 0 #f8e0eb}
.mj-game[data-mj-world=auroria] .mj-eyebrow{color:#684a71;text-shadow:0 1px 0 #f6deeb}
.mj-game[data-mj-world=auroria] .mj-journey-line{color:#ffdfb0;text-shadow:0 1px 3px #533666}
.mj-game[data-mj-world=auroria] .mj-stars{color:#ffe2a0;text-shadow:0 1px 0 #88643a,0 0 9px #ffbf72}
.mj-game[data-mj-world=auroria] .mj-counter{border-color:#d6b578;background:linear-gradient(145deg,#c5a1dc,#8c6bac);box-shadow:inset 0 1px 0 #f4d9ff,0 2px 0 #674c86,0 5px 9px #3f255833;color:#fff0ca}
.mj-game[data-mj-world=auroria] .mj-level{background-image:url("assets/auroria-control-compact.png");color:#4d3268}
.mj-game[data-mj-world=auroria] .mj-map-open{border-color:#c6a66f;border-bottom-color:#866493;background:linear-gradient(145deg,#e3c8e8,#b494cf);color:#4d3268}
.mj-game[data-mj-world=auroria] .mj-tools button{border-color:#d2b47b;border-bottom-color:#80628c;border-radius:16px 6px;background:linear-gradient(150deg,#e0c6e8,#a688cb);box-shadow:inset 0 1px 0 #ffe6ed,0 3px 7px #42275244;color:#503168}
.mj-game[data-mj-world=auroria] .mj-tools button[data-mj-action=hint]{border-color:#d2ac63;border-bottom-color:#93704b;background:linear-gradient(155deg,#ffe5b5,#d2aac6);color:#654063}
.mj-game[data-mj-world=auroria] .mj-rule,.mj-game[data-mj-world=auroria] .mj-notice{color:#fff0d3;text-shadow:0 1px 3px #493064}
.mj-game[data-mj-world=auroria] .mj-notice{background:rgba(85,59,116,.88)}
.mj-game[data-mj-world=auroria] .mj-stage{border-color:#d9b988;border-bottom-color:#76588e;border-right-color:#ac86b2;border-radius:13px 25px 14px 23px;background-color:#aa91bf;background-image:linear-gradient(145deg,rgba(217,202,239,.88),rgba(136,115,175,.86)),repeating-linear-gradient(135deg,transparent 0,transparent 35px,rgba(249,228,255,.25) 36px,transparent 38px);box-shadow:inset 0 2px 0 #fff3d9,inset 0 0 0 4px rgba(217,184,233,.65),inset 0 0 32px rgba(246,219,255,.3),0 7px 0 rgba(84,58,121,.35),0 15px 28px rgba(53,30,88,.3)}
.mj-game[data-mj-world=auroria] .mj-stage:before{border-color:rgba(246,222,171,.65);border-radius:9px 20px 10px 18px;box-shadow:inset 0 0 18px rgba(112,77,158,.25)}
.mj-game[data-mj-world=auroria] .mj-stage:after{border-right-color:#dbbdc8}
.mj-game[data-mj-world=auroria] .mj-tile{border-color:#af8cb0;border-right-color:#a080aa;border-bottom-color:#836793;background:#e3cbe4;border-radius:8px 11px 9px 12px;box-shadow:inset 0 1px 0 #fff4f0,1px 3px 0 #806c9455,2px 6px 5px #49375b44}
.mj-game[data-mj-world=auroria] .mj-tile-face{border-color:#ceafcf;border-radius:4px 7px;background:linear-gradient(140deg,#fff1e0,#f2ddeb 62%,#c9b4dc 63%,#e8d3ea 83%);box-shadow:inset 0 1px 0 #fff9eb,inset 0 0 4px rgba(255,249,246,.65)}
.mj-game[data-mj-world=auroria] .mj-tile-name{color:#594b61;text-shadow:0 1px 0 #fff0dd}
.mj-game[data-mj-world=auroria] .mj-tile-blocked{border-color:#9588ad;border-bottom-color:#6d6489;background:#b1a6c6}
.mj-game[data-mj-world=auroria] .mj-tile-blocked .mj-tile-face{border-color:#aaa0ba;background:linear-gradient(140deg,#d0c5d9,#aaa5c0);box-shadow:inset 0 1px 0 #e5dce9}
.mj-game[data-mj-world=auroria] .mj-tile-selected{outline-color:#f0b766;box-shadow:0 0 0 5px #ffdfb766,0 0 22px #ffeac8,2px 9px 7px #49355f66}
.mj-game[data-mj-world=auroria] .mj-tile-selected .mj-tile-face,.mj-game[data-mj-world=auroria] .mj-tile-hint .mj-tile-face{background:linear-gradient(145deg,#fff9d5,#f3d3df);border-color:#d9ad67}
.mj-game[data-mj-world=auroria] .mj-finish{color:#50376a;text-shadow:0 1px 0 #f1dcf0}
.mj-game[data-mj-world=auroria] .mj-finish button{border-color:#8e6a91;border-bottom-color:#6c4b7a;background:linear-gradient(150deg,#b28bc7,#76578f);box-shadow:inset 0 1px 0 #e2b9df,0 4px 8px #58376b44;color:#fff0ca}
/* The engine positions these particles; CSS supplies material and transition fallbacks. */
.mj-fx-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:120;overflow:visible;pointer-events:none}
.mj-pair-ghost{position:absolute;z-index:121!important;opacity:1;pointer-events:none;transform-origin:center;will-change:transform,opacity;transition:transform .4s cubic-bezier(.2,.7,.25,1),opacity .2s ease-out;box-shadow:0 0 15px rgba(255,230,155,.9),2px 6px 8px rgba(71,47,21,.25)}
.mj-burst{position:absolute;z-index:124;width:1px;height:1px;pointer-events:none}
.mj-burst i{position:absolute;top:0;left:0;width:7px;height:13px;opacity:1;border-radius:1px 60% 1px 60%;background:#ffe8a2;box-shadow:0 0 7px rgba(255,238,179,.85);transform-origin:center;transition:transform .6s ease-out,opacity .6s ease-out}
.mj-burst i:nth-child(3n){background:#e79963}
.mj-burst i:nth-child(3n+1){background:#a4d2b9}
.mj-feedback{position:absolute;z-index:125;left:50%;top:42%;padding:8px 17px;border:1px solid #a67b3d;border-radius:30px;background:#ffedbc;background:linear-gradient(155deg,#fff5cf,#e8c784);box-shadow:0 5px 15px rgba(57,55,32,.22);color:#6e4c27;font:bold 18px Georgia,serif;text-align:center;white-space:nowrap;pointer-events:none;transform:translate(-50%,-50%)}
.mj-game[data-mj-motion=on] .mj-dealing .mj-tile{animation:mj-deal-in .55s cubic-bezier(.18,.8,.23,1) both}
.mj-game[data-mj-motion=on] .mj-shuffling .mj-tile{animation:mj-shuffle .65s cubic-bezier(.25,.7,.2,1) both}
.mj-game[data-mj-motion=on] .mj-tile-selected .mj-tile-face:after{animation:mj-glint .85s ease-out both}
.mj-game[data-mj-motion=on] .mj-tile-hint{animation:mj-hint-glow 1.15s ease-in-out infinite}
.mj-game[data-mj-motion=on] .mj-tile-error{animation:mj-tile-error .3s ease-out}
.mj-game[data-mj-motion=on] .mj-board-error{animation:mj-board-error .3s ease-out}
.mj-game[data-mj-motion=on] .mj-feedback{animation:mj-feedback-up .95s ease-out both}
.mj-game[data-mj-motion=on] .mj-victory{animation:mj-victory-glow 1.3s ease-out}
@keyframes mj-deal-in{0%{opacity:0;transform:translateY(-28px) rotate(-8deg) scale(.88)}65%{opacity:1;transform:translateY(3px) rotate(1deg) scale(1.02)}100%{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes mj-shuffle{0%,100%{transform:translate(0,0) rotate(0) scale(1)}25%{transform:translate(-7px,-11px) rotate(-8deg) scale(.92)}60%{transform:translate(6px,3px) rotate(6deg) scale(.96)}}
@keyframes mj-glint{0%{left:-40%;opacity:0}20%{opacity:1}100%{left:125%;opacity:0}}
@keyframes mj-hint-glow{0%,100%{box-shadow:0 0 0 3px rgba(255,225,124,.55),0 0 11px rgba(255,238,164,.7),2px 6px 5px rgba(83,63,34,.22)}50%{box-shadow:0 0 0 5px rgba(255,229,141,.85),0 0 24px rgba(255,238,164,1),2px 6px 5px rgba(83,63,34,.22)}}
@keyframes mj-tile-error{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px) rotate(-3deg)}75%{transform:translateX(4px) rotate(3deg)}}
@keyframes mj-board-error{0%,100%{transform:translateX(0)}30%{transform:translateX(-3px)}70%{transform:translateX(3px)}}
@keyframes mj-feedback-up{0%{opacity:0;transform:translate(-50%,-25%) scale(.8)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}70%{opacity:1;transform:translate(-50%,-70%) scale(1)}100%{opacity:0;transform:translate(-50%,-105%) scale(.95)}}
@keyframes mj-victory-glow{0%,100%{filter:none}40%{filter:drop-shadow(0 0 20px #ffdfa6) brightness(1.12)}}
.mj-map{position:relative;padding:18px 16px 20px;border:1px solid #a0824b;border-bottom:5px solid #997242;border-radius:20px 8px;background:#ead4a7;background:linear-gradient(145deg,rgba(253,231,187,.95),rgba(213,185,141,.94));box-shadow:inset 0 1px 0 #fff1ce,0 9px 25px rgba(77,54,31,.22);color:#40543c}
.mj-map-heading{display:flex;align-items:center;justify-content:space-between}
.mj-map-heading h2{margin:3px 0 6px;font:28px Georgia,serif;color:#3a543c}
.mj-map-heading p{margin:0 0 9px;font-size:12px}
.mj-map-heading button,.mj-map-worlds button{min-width:44px;min-height:44px;padding:9px 13px;border:1px solid #9c8c52;border-bottom:3px solid #7b7247;border-radius:13px 6px;background:linear-gradient(145deg,#ecdfb0,#c7ce9f);color:#405837;font-size:12px;font-weight:bold;cursor:pointer}
.mj-map-worlds{display:flex;margin:12px -4px}
.mj-map-worlds button{flex:1;margin:0 4px}
.mj-map-worlds button[aria-pressed=true]{border-color:#477154;border-bottom-color:#35573e;background:linear-gradient(145deg,#7aa36d,#3f6e4e);color:#fff1c5}
.mj-map-chapter{margin:21px 0 9px;padding:0 0 7px;border-bottom:1px dashed #a38e56;color:#80582f;font:21px Georgia,serif}
.mj-map-grid{position:relative;display:flex;flex-wrap:wrap;margin:-4px}
.mj-map-level{position:relative;width:calc(20% - 8px);min-width:44px;min-height:130px;margin:4px;padding:9px 5px;border:1px solid rgba(161,126,66,.35);border-radius:18px 5px;background:rgba(251,230,185,.55);text-align:center;color:#3e5b40;cursor:pointer}
.mj-map-number{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0 auto 7px;border:2px solid #c8a16a;border-radius:50%;background:linear-gradient(145deg,#fff0bd,#d3b279);box-shadow:0 3px 0 #a48651,0 5px 7px rgba(94,71,32,.17);color:#7c4f23;font:23px Georgia,serif}
.mj-map-level strong,.mj-map-level small,.mj-map-level .mj-stars{display:block}
.mj-map-level strong{min-height:31px;font-size:11px;line-height:1.4}
.mj-map-level small{margin-top:5px;font-size:9px;line-height:1.35}
.mj-map-level .mj-stars{margin-top:7px;font-size:17px;letter-spacing:1px}
.mj-map-level:disabled{opacity:.5;background:rgba(172,164,126,.22);cursor:default}
.mj-map-level.is-complete .mj-map-number{border-color:#97ab69;background:linear-gradient(145deg,#d9e5a2,#759e67);box-shadow:0 3px 0 #607b4b,0 5px 7px rgba(94,71,32,.17);color:#315337}
.mj-map-level.is-current{border-color:#bc8047;background:rgba(255,238,188,.84);box-shadow:0 0 0 2px rgba(205,147,62,.4)}
.mj-map-chest{display:block;margin-top:7px;padding:4px 2px;border:1px solid #cfaa61;border-radius:8px 3px;background:#f6dc91;color:#8a5c20;font-size:9px}
@media(max-width:1100px){.mj-game{padding:0 6px}.mj-heading h2{font-size:24px}.mj-counter{font-size:11px;padding:8px 10px}.mj-level{max-width:188px;font-size:11px}.mj-tools button{padding-left:8px;padding-right:8px;font-size:11px}.mj-stock{min-width:17px;min-height:17px;font-size:9px}.mj-map-open{font-size:11px}.mj-stage{padding:10px 8px 11px}}
@media(max-height:720px) and (min-width:761px){.mj-heading{min-height:40px;margin-bottom:3px}.mj-heading h2{font-size:23px}.mj-eyebrow{font-size:8px;margin-bottom:3px}.mj-journey-line{min-height:20px;margin-bottom:3px;font-size:9px}.mj-stars{font-size:18px}.mj-rule{font-size:10px;margin:3px 0 5px}.mj-stage{padding-top:9px;padding-bottom:9px}.mj-notice{font-size:10px;margin-top:6px}.mj-finish h3{font-size:26px}}
@media(max-width:760px){.mj-game{padding:0 5px}.mj-heading h2{font-size:24px}.mj-counter{margin-left:8px;font-size:11px}.mj-level{max-width:190px}.mj-toolbar{justify-content:center}.mj-tools{margin-top:7px;margin-left:-6px}.mj-tools button{padding:8px 12px;font-size:12px}.mj-rule{font-size:11px}.mj-stage{padding:10px 7px}.mj-notice{font-size:11px}.mj-map-level{width:calc(25% - 8px)}}
@media(max-width:500px){.mj-heading{flex-wrap:nowrap}.mj-game .mj-heading>div{min-width:0;max-width:calc(100% - 104px);padding-left:25px;padding-right:25px}.mj-heading h2{font-size:23px}.mj-counter{width:96px;margin:0 0 0 6px;padding:6px 10px;min-height:46px}.mj-journey-line{font-size:9px}.mj-picker{width:100%;justify-content:space-between}.mj-level-label{flex:1}.mj-level{width:100%;max-width:none}.mj-tools{width:100%;justify-content:center}.mj-tools button{flex:1 1 0;margin-left:6px;padding:8px 4px;font-size:11px;white-space:nowrap}.mj-tools button[data-mj-action=new]{flex:1 1 0;min-width:0;padding:8px 4px;font-size:11px;white-space:normal}.mj-stage{border-right-width:3px;border-bottom-width:5px;border-radius:10px 6px 15px 8px}.mj-rule{font-size:10px}.mj-notice{font-size:11px}.mj-map{padding:14px 11px}.mj-map-heading{display:block}.mj-map-heading button{width:100%;margin-top:7px}.mj-map-level{width:calc(33.333% - 8px)}.mj-map-worlds button{padding-left:7px;padding-right:7px;font-size:11px}.mj-finish h3{font-size:24px}.mj-finish>span{font-size:34px}}
