*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}body{height:100dvh;margin:0;font-family:Verdana,Helvetica,Arial,sans-serif;line-height:1.5;overflow-x:clip}:not(dialog){margin:0}@media (prefers-reduced-motion:no-preference){html{interpolate-size:allow-keywords}}body{-webkit-font-smoothing:antialiased;line-height:1.5}img,picture,video,canvas,svg{max-width:100%;display:block}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}:root{--bg:url("data:image/svg+xml,%3Csvg width='1920' height='1080' viewBox='0 0 1920 1080' xmlns='http://www.w3.org/2000/svg' style='width: 100%25; height: auto;'%3E%3Crect x='0' y='0' width='1920' height='1080' fill='%235AA1D8' /%3E%3Crect x='0' y='540' width='1920' height='540' fill='%234F9900' /%3E%3C/svg%3E%0A");--marble:url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='displacementFilter'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.01' numOctaves='10' result='turbulence' /%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0' /%3E%3CfeFuncG type='linear' slope='0' /%3E%3CfeFuncB type='linear' slope='0' /%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect x='0' y='0' width='100' height='100' filter='url(%23displacementFilter)' opacity='.4' /%3E%3C/svg%3E%0A");--gem:url("data:image/svg+xml,%3Csvg width='15' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CradialGradient id='stroke' r='.7'%3E%3Cstop offset='50%25' stop-color='%23fedb37' /%3E%3Cstop offset='100%25' stop-color='%238a6e2f' /%3E%3C/radialGradient%3E%3CradialGradient id='fill' fx='.25' fy='.25'%3E%3Cstop offset='50%25' stop-color='%2377f' /%3E%3Cstop offset='100%25' stop-color='%23008' /%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='7.5' cy='7.5' r='6.5' stroke='url(%23stroke)' stroke-width='2' fill='url(%23fill)' /%3E%3C/svg%3E%0A");--unicorn-body:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg width=\"37.238823\" height=\"50.637024\" viewBox=\"0 0 9.8527717 13.397712\" version=\"1.1\" id=\"svg1\" xml:space=\"preserve\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cdefs id=\"defs1\"%3E%3ClinearGradient id=\"linearGradient5\"%3E%3Cstop style=\"stop-color:%23ff0000;stop-opacity:1;\" offset=\"0\" id=\"stop5\" /%3E%3Cstop style=\"stop-color:%23ffa500;stop-opacity:1;\" offset=\"0.2\" id=\"stop7\" /%3E%3Cstop style=\"stop-color:%23ffff00;stop-opacity:1;\" offset=\"0.40000001\" id=\"stop8\" /%3E%3Cstop style=\"stop-color:%23008000;stop-opacity:1;\" offset=\"0.60000002\" id=\"stop9\" /%3E%3Cstop style=\"stop-color:%230000ff;stop-opacity:1;\" offset=\"0.80000001\" id=\"stop10\" /%3E%3Cstop style=\"stop-color:%23800080;stop-opacity:1;\" offset=\"1\" id=\"stop6\" /%3E%3C/linearGradient%3E%3ClinearGradient xlink:href=\"%23linearGradient5\" id=\"linearGradient31\" x1=\"2.2746634\" y1=\"2.084358\" x2=\"3.4651825\" y2=\"4.3423786\" gradientUnits=\"userSpaceOnUse\" /%3E%3ClinearGradient xlink:href=\"%23linearGradient5\" id=\"linearGradient34\" x1=\"5.4722881\" y1=\"3.9436395\" x2=\"7.3666716\" y2=\"8.275589\" gradientUnits=\"userSpaceOnUse\" /%3E%3ClinearGradient xlink:href=\"%23linearGradient5\" id=\"linearGradient36\" x1=\"9.6607904\" y1=\"9.2780542\" x2=\"11.622663\" y2=\"12.208117\" gradientUnits=\"userSpaceOnUse\" /%3E%3C/defs%3E%3Cg id=\"layer1\" transform=\"translate(-2.0339842,-1.884734)\"%3E%3Cpath style=\"fill:url(%23linearGradient36);stroke:none;stroke-width:0.132292;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1\" d=\"M 9.3265624,9.1281249 C 12.166301,8.1240826 12.016473,11.768864 11.757422,12.518099 11.273976,13.916334 11.185658,9.7250503 9.6554574,9.5134789 Z\" id=\"path34\" /%3E%3Cpath style=\"fill:url(%23linearGradient34);stroke:none;stroke-width:0.132292;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1\" d=\"M 4.8058401,3.6950012 C 6.8649175,3.3020625 7.4788704,6.9885094 8.0915848,8.8516326 l -1.2043834,0.011693 z\" id=\"path31\" /%3E%3Cpath style=\"mix-blend-mode:normal;fill:url(%23linearGradient31);stroke:none;stroke-width:0.132292;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1\" d=\"m 3.17951,4.8100278 c 0,0 -1.2202532,-2.763089 -1.0109211,-2.918627 C 2.377921,1.7358628 3.913243,4.353483 3.913243,4.353483 Z\" id=\"path5\" /%3E%3Cpath style=\"fill:%23ececec;fill-opacity:1;stroke:%23b3b3b3;stroke-width:0.132292;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none\" d=\"M 3.913243,4.2882621 C 3.780405,2.6093495 5.0423827,2.9932827 4.7448072,3.8969378 Z\" id=\"path3\" /%3E%3Cpath style=\"display:inline;fill:%23f2f2f2;fill-opacity:1;stroke:%23b3b3b3;stroke-width:0.132292;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none\" d=\"m 3.8100911,7.4289563 0.501943,2.6017117 c -2.3778694,1.323249 -1.6614721,2.29372 -0.9726746,3.172831 0.4031028,0.514479 1.6305909,0.605387 0.7651437,-0.636341 L 3.5741459,11.806211 4.578032,11.316617 5.0960403,14.15823 c 0.2263198,1.241512 0.9859927,1.086541 0.9223602,-0.04612 l -0.1152951,-2.052252 2.1906058,0.07337 -0.1152951,1.840525 c -0.1018447,1.625808 0.5810647,0.810423 0.7840062,0.23059 l 0.6456521,-1.844721 0.4842391,2.236724 C 10.055561,15.3504 10.857834,15.576826 10.741301,14.352253 10.488205,11.692615 11.054391,8.3462907 7.0099377,8.7393633 L 5.1652175,4.2428572 C 5.9613714,2.9954906 4.5512457,2.8784993 4.3581521,4.1275621 2.4636623,4.6624484 0.66737231,7.841317 3.8100911,7.4289563 Z\" id=\"path1\" /%3E%3Cpath style=\"display:inline;fill:%23666666;fill-opacity:0;stroke:%23b3b3b3;stroke-width:0.132292;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none\" d=\"M 5.0499224,6.6986411 C 4.6731245,6.9829853 4.464927,7.2787643 3.8162654,7.4249999\" id=\"path2\" /%3E%3C/g%3E%3C/svg%3E");--unicorn-eye:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg width=\"37.238823\" height=\"50.637024\" viewBox=\"0 0 9.8527717 13.397712\" version=\"1.1\" id=\"svg1\" xml:space=\"preserve\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cg id=\"layer1\" transform=\"translate(-2.0339842,-1.884734)\"%3E%3Cpath style=\"display:inline;fill:%23000000;fill-opacity:1;stroke:none;stroke-width:0.486275;stroke-linecap:round;stroke-linejoin:round\" id=\"path4-6\" d=\"m 0.82950441,6.5226595 a 0.28814539,0.28229886 0 0 1 0.085296,0.3897497 0.28814539,0.28229886 0 0 1 -0.3975536,0.084781 0.28814539,0.28229886 0 0 1 -0.0877766,-0.3892207 0.28814539,0.28229886 0 0 1 0.3970059,-0.08721 L 0.67262006,6.7594476 Z\" transform=\"rotate(-30.318161)\" /%3E%3C/g%3E%3C/svg%3E");--unicorn-eye-angry:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg width=\"37.238823\" height=\"50.637024\" viewBox=\"0 0 9.8527717 13.397712\" version=\"1.1\" id=\"svg1\" xml:space=\"preserve\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cg id=\"layer1\" transform=\"translate(-2.0339842,-1.884734)\"%3E%3Cpath style=\"fill:%23000000;fill-opacity:1;stroke:none;stroke-width:0.486057;stroke-linecap:round;stroke-linejoin:round\" id=\"path4\" d=\"M 0.96302301,6.7596016 A 0.2879532,0.28223449 0 0 1 0.6808593,7.041779 0.2879532,0.28223449 0 0 1 0.38734941,6.7709483\" transform=\"matrix(0.86303847,-0.5051382,0.50446441,0.86343249,0,0)\" /%3E%3C/g%3E%3C/svg%3E");--gnome:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Ccircle style=\"fill:%23f0b6c1;stroke:%23000000;stroke-width:0px\" cx=\"22.065001\" cy=\"35.900002\" r=\"3\" /%3E%3Ccircle style=\"fill:%23f0b6c1;stroke:%23000000;stroke-width:0px\" cx=\"30.264999\" cy=\"35.105999\" r=\"8\" /%3E%3Cpath d=\"M 40.438482,14.744572 37.320585,39.157151 22.675978,31.779498 Z\" style=\"fill:%23c73030;stroke:%23c73030;stroke-linecap:round;stroke-linejoin:round;paint-order:fill\"/%3E%3Cellipse style=\"fill:%23533019;stroke:%23000000;stroke-width:0px\" cx=\"22.541\" cy=\"63.332001\" rx=\"4.3390002\" ry=\"2.348\"/%3E%3Cpath style=\"fill:%234672da;stroke:%234672da\" d=\"m 30.284,40.67 c -12.213,0.392 -8.116876,22.783255 -8.222876,22.783255 -0.105,0 16.863876,0.134745 16.863876,-0.01825 0,-0.153 3.252,-23.146 -8.641,-22.765 z\" /%3E%3C/svg%3E");--gnome-bag:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cpath d=\"m 24.510005,40.841833 c 0,0 17.821771,-2.382003 22.157608,5.054557 C 53.25513,57.194892 42.360534,63.282786 39.860793,58.9768 34.613822,49.938512 24.510005,40.841833 24.510005,40.841833 Z\" style=\"fill:%23803300;stroke:%23803300;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:fill\" /%3E%3C/svg%3E");--gnome-beard:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cpath d=\"m 20.317093,55.226285 c -0.273209,-6.003157 0.617498,-9.86221 3.090621,-16.076623 3.401177,0.984543 5.955973,0.05803 8.260306,-1.617123 -1.738971,8.439373 -5.464184,14.439088 -11.350927,17.693746 z\" style=\"display:inline;fill:%23b3b3b3;stroke:%23b3b3b3;stroke-linecap:round;stroke-linejoin:round;paint-order:fill\"/%3E%3C/svg%3E");--gnome-shield-1:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Ccircle style=\"fill:%23aa4400;stroke:%23803300;stroke-opacity:1\" cx=\"24.398258\" cy=\"50.595467\" r=\"9.1071844\" /%3E%3C/svg%3E");--gnome-shield-2:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cpath style=\"fill:%23808080;stroke:%234d4d4d;stroke-width:1.352;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1\" d=\"M 34.895923,60.362076 V 43.689029 l -18.639586,0.04803 0.387902,16.673048 8.931891,2.697744 z\"/%3E%3C/svg%3E");--gnome-spear:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Crect style=\"fill:%23aa4400;stroke:none;stroke-width:0.59851;stroke-opacity:1\" width=\"1\" height=\"27.713436\" x=\"24.452223\" y=\"16.406998\" /%3E%3Cpath style=\"fill:%23666666;stroke:none;stroke-opacity:1\" d=\"M 6.9167703,-9.1689808 18.434631,-0.80076471 14.035199,12.739293 -0.20165983,12.739292 -4.6010909,-0.80076533 Z\" transform=\"matrix(0.06945734,0,0,0.22822428,24.46958,13.492584)\" /%3E%3C/svg%3E");--gnome-sword:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cpath style=\"display:inline;fill:%23666666;stroke:none;stroke-opacity:1\" d=\"M 12.74554,33.654529 23.028331,47.19204 26.213628,44.77256 15.930837,31.235049 12.659595,30.234885 Z\" /%3E%3C/svg%3E");--gnome-staff:url("data:image/svg+xml,%3C%3Fxml version=\"1.0\" encoding=\"UTF-8\"%3F%3E%3Csvg viewBox=\"0 0 64 64\" version=\"1.1\" width=\"64\" height=\"64\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\"%3E%3Cdefs%3E%3ClinearGradient id=\"linearGradient9\"%3E%3Cstop style=\"stop-color:%237777ff;stop-opacity:1;\" offset=\"0\" id=\"stop9\" /%3E%3Cstop style=\"stop-color:%23000088;stop-opacity:1;\" offset=\"0.79542792\" id=\"stop11\" /%3E%3Cstop style=\"stop-color:%233b3bc3;stop-opacity:1;\" offset=\"1\" id=\"stop10\" /%3E%3C/linearGradient%3E%3CradialGradient xlink:href=\"%23linearGradient9\" id=\"radialGradient10\" cx=\"6.7975154\" cy=\"21.187578\" fx=\"6.7975154\" fy=\"21.187578\" r=\"2.7428572\" gradientUnits=\"userSpaceOnUse\" gradientTransform=\"translate(6.8881181,1.4174153)\" /%3E%3C/defs%3E%3Cpath style=\"fill:none;fill-opacity:1;stroke:%23aa4400;stroke-width:1.352;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1\" d=\"M 13.626189,22.88011 C 17.395517,34.206961 24.824505,45.936173 28.691024,57.726775 22.732851,44.443538 19.609166,36.176347 13.626189,22.88011 Z\"/%3E%3Ccircle style=\"display:inline;fill:url(%23radialGradient10);stroke:none;stroke-width:1.352;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1\" cx=\"13.685634\" cy=\"22.604992\" r=\"2.7428572\" /%3E%3C/svg%3E")}@property --btn-cp1{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --btn-cp2{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --btn-cp3{syntax:"<length-percentage>";inherits:false;initial-value:100%}.btn{--btn-cp1:0%;--btn-cp2:50%;background:radial-gradient(farthest-corner circle at 25% 25%,#6060ff var(--btn-cp1), #228 var(--btn-cp2), #005);color:#fff;border:3px solid;border-image:radial-gradient(#fedb37 50%,#8a6e2f) 1;margin:5px;padding:10px;font-family:sans-serif;transition:all .3s,--btn-cp1 .3s,--btn-cp2 .3s;position:relative;box-shadow:inset 0 0 10px 2px #6060ff}.btn:is(:hover,:focus){--btn-cp1:20%;--btn-cp2:90%}.btn:before{content:"";background:no-repeat;background-image:var(--gem), var(--gem), var(--gem), var(--gem);pointer-events:none;background-position:0 0,100% 0,100% 100%,0 100%;display:block;position:absolute;inset:-6px}.btn.full{width:calc(100% - 10px)}@media (orientation:portrait) or (height<480px){.btn{padding:5px 10px}}fieldset{border:none;margin-top:10px;padding:0}legend,label{color:#fff}.radio{--radio-cp1:#666;--radio-cp2:#000;align-items:center;gap:5px;margin:0;transition:all .3s,--radio-cp1 .3s,--radio-cp2 .3s;display:flex}.radio:before{content:"";background-image:radial-gradient(70% 70% at 25% 25%, var(--radio-cp1) 50%, var(--radio-cp2)), radial-gradient(#fedb37 50%, #8a6e2f);background-origin:border-box;background-clip:content-box,border-box;border:2px solid #0000;border-radius:50%;width:15px;height:15px;display:block}.radio input{-webkit-appearance:none;appearance:none;background-color:#0000;margin:0}.radio:has(input:checked){--radio-cp1:#f55;--radio-cp2:#800}.progress{--cValue:0;--cTargetValue:30;color:#fff;counter-reset:cTargetValue var(--cTargetValue);background-color:#000;background-image:linear-gradient(#000),radial-gradient(#fedb37 50%,#8a6e2f);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:border-box;background-clip:content-box,border-box;border:3px solid #0000;border-radius:1rem;height:1.5rem;font-size:.75rem;display:flex;position:relative;overflow:hidden}.progress[c=red]{--c:red}.progress[c=orange]{--c:orange}.progress[c=yellow]{--c:yellow}.progress[c=green]{--c:green}.progress[c=blue]{--c:blue}.progress[c=purple]{--c:purple}*+.progress{margin-top:.25rem}.progress:before{content:"";width:calc(var(--cValue) / var(--cTargetValue) * 100%);background:var(--c);border-radius:1rem;height:100%;transition:width .5s;display:block;box-shadow:inset 0 .25rem .25rem #fffa,inset 0 -.25rem .25rem #000a}.progress:after{counter-reset:cValue var(--cValue);content:counter(cValue) "/" counter(cTargetValue);z-index:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (orientation:portrait) or (height<480px){.progress{border-width:2px;height:1rem;font-size:.5rem}}dialog{background:var(--marble) repeat center / cover;opacity:0;width:900px;max-width:calc(100svw - 30px);max-height:100svh;transition:all .5s allow-discrete;background-color:#333;border:3px solid;border-image:radial-gradient(#fedb37 50%,#8a6e2f) 1;padding:20px;overflow:visible;transform:translateY(100%)}dialog.narrow{width:360px}dialog:before{content:"";background:no-repeat;background-image:var(--gem), var(--gem), var(--gem), var(--gem);pointer-events:none;background-position:0 0,100% 0,100% 100%,0 100%;display:block;position:absolute;inset:-6px}dialog:open{opacity:1;transform:translateY(0%)}@starting-style{dialog:open{opacity:0;transform:translateY(100%)}}dialog::backdrop{transition:all .5s allow-discrete;background-color:#0000}dialog:open::backdrop{background-color:#0009}@starting-style{dialog:open::backdrop{background-color:#0000}}dialog h1{color:#fff;text-align:center;margin:0 0 .5rem;font-size:1.75rem}dialog .content{color:#fff;text-align:center}dialog footer{color:#fff;text-align:center;margin-top:.75rem}dialog a{color:#77f;text-decoration:none;transition:all .3s}dialog a:is(:hover,:focus){color:#ccf}@media (orientation:portrait) or (height<480px){dialog{padding:5px}}.panel{background:var(--marble) repeat center / cover;background-color:#333;border:3px solid;border-image:radial-gradient(#fedb37 50%,#8a6e2f) 1;padding:20px;position:relative}.panel:before{content:"";background:no-repeat;background-image:var(--gem), var(--gem), var(--gem), var(--gem);pointer-events:none;background-position:0 0,100% 0,100% 100%,0 100%;display:block;position:absolute;inset:-6px}@media (orientation:portrait) or (height<480px){.panel{padding:5px}}.game{background:var(--bg) no-repeat center / cover;position:relative;overflow:hidden}.game-area{opacity:1;grid-template-columns:minmax(100px,1fr) 2fr minmax(100px,1fr);gap:20px;width:100%;height:100dvh;padding:20px;transition:opacity .3s,transform .5s;display:grid;transform:translateY(0%)}.game .center{align-content:end}.game .left{flex-direction:column;align-content:end;gap:20px;display:flex}.game .left-btns{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));display:grid}.game.hide-game-area .game-area{opacity:0;pointer-events:none;transition:none;transform:translateY(100%)}.game.game-over [cmd*=resume-game]{display:none}@media (orientation:portrait) or (height<480px){.game-area{padding:5px}}@media (orientation:portrait){.game-area{grid-template-rows:auto minmax(0,1fr) 200px;grid-template-columns:1fr;gap:5px;padding:5px;display:grid}.game .center{position:relative}}.board-container{aspect-ratio:1;border:3px solid;border-image:radial-gradient(#fedb37 50%,#8a6e2f) 1;max-width:100%;max-height:calc(100vh - 40px);margin:auto;position:relative}.board-container:before{content:"";background:no-repeat;background-image:var(--gem), var(--gem), var(--gem), var(--gem);pointer-events:none;background-position:0 0,100% 0,100% 100%,0 100%;display:block;position:absolute;inset:-6px}.board{aspect-ratio:1;background:var(--marble) repeat center / cover;background-color:#333;align-items:end;max-width:100%;max-height:calc(100vh - 40px);display:flex;overflow:hidden}.col{flex-direction:column;justify-content:flex-end;width:16.6667%;display:flex;container-type:inline-size}.col .item{--dw:calc(100% + 4px);--dr:0;padding:5px;position:relative}.item:is(.dn,.dne,.de,.dse,.ds,.dsw,.dw,.dnw):after{content:"";width:var(--dw);transform-origin:3px;height:6px;transform:translate(-3px, -50%) rotate(var(--dr));z-index:2;pointer-events:none;background:#fff;border-radius:3px;display:block;position:absolute;top:50%;left:50%}.item:is(.dne,.dse,.dsw,.dnw){--dw:calc((100% + 4px) * sqrt(2))}.item.dn{--dr:-90deg}.item.dne{--dr:-45deg}.item.dse{--dr:45deg}.item.ds{--dr:90deg}.item.dsw{--dr:135deg}.item.dw{--dr:180deg}.item.dnw{--dr:225deg}.col .item:has(.orb.remove){animation:.5s ease-in forwards remove-item}@keyframes remove-item{0%{opacity:1}50%{opacity:0;height:100cqw}to{opacity:0;height:0}}@media (orientation:portrait){.board-container{height:100%;position:absolute;top:0;left:50%;transform:translate(-50%)}}.orb{aspect-ratio:1;background:var(--c);background:radial-gradient(circle at 40% 40%, hsl(from var(--c) h s calc(l * 1.5)), var(--c), hsl(from var(--c) h s calc(l * .6)) 100%);border:1px solid var(--c);opacity:1;text-align:center;cursor:pointer;filter:grayscale(0);border-radius:50%;width:100%;padding:0;transition:all .3s;position:relative}.orb:before{content:var(--i);text-box-trim:trim-both;color:#0000;text-shadow:0px 2px 5px hsl(from var(--c) h s calc(l * .8));background-color:hsl(from var(--c) h s calc(l * .6));background-clip:text;font-size:50cqw;line-height:1}.orb.selected{border-color:hsl(from var(--c) h s calc(l * .6));box-shadow:0 0 10px #fffa}.orb.disabled{filter:grayscale();pointer-events:none;animation:5s disable-orb}.orb[c=red]{--c:red;--i:"❤"}.orb[c=orange]{--c:orange;--i:"🔥"}.orb[c=yellow]{--c:yellow;--i:"☀"}.orb[c=green]{--c:green;--i:"☘"}.orb[c=blue]{--c:blue;--i:"🌧"}.orb[c=purple]{--c:purple;--i:"🌙"}.board[c=red] .orb:not([c=red]),.board[c=orange] .orb:not([c=orange]),.board[c=yellow] .orb:not([c=yellow]),.board[c=green] .orb:not([c=green]),.board[c=blue] .orb:not([c=blue]),.board[c=purple] .orb:not([c=purple]){opacity:.5;pointer-events:none}@keyframes disable-orb{0%{opacity:1}to{opacity:1}}.unicorn{--bg:var(--unicorn-eye-angry), var(--unicorn-body);background:bottom/contain no-repeat;background-image:var(--bg);flex:1;width:100%;transform:scaleX(-1)}@media (orientation:portrait){.unicorn{display:none}}.enemy-list{grid:repeat(3,1fr)/repeat(2,1fr);gap:10px;display:grid}.enemy{cursor:pointer;background:0 0;border:none;border-radius:0;flex-direction:column;width:100%;height:100%;padding:0;display:flex}.enemy:before{content:"";background:bottom/contain no-repeat;background-image:var(--bg);transform-origin:bottom;flex:1;animation:.5s ease-in enemy-appear;display:block}.enemy span:before{content:"";background:var(--c);border:1px solid #000;border-radius:50%;width:10px;height:10px;display:inline-block}.enemy span:after{content:"x" var(--hp)}.enemy.attack{animation:var(--asp) ease-in var(--aDelay) infinite enemy-attack}.enemy.remove{animation:.2s ease-in forwards enemy-remove}.enemy.remove:before{animation:.2s ease-in forwards enemy-sprite-remove}.game:is(.paused,.game-over) .enemy{animation-play-state:paused}.enemy[t=gnome]{--asp:5s;--aDelay:10s;--hp:"1";--bg:var(--gnome)}.enemy[t=thief]{--asp:3s;--aDelay:5s;--hp:"1";--bg:var(--gnome-bag), var(--gnome)}.enemy[t=warrior]{--asp:4s;--aDelay:8s;--hp:"2";--bg:var(--gnome-shield-1), var(--gnome), var(--gnome-spear)}.enemy[t=knight]{--asp:6s;--aDelay:10s;--hp:"4";--bg:var(--gnome-shield-2), var(--gnome), var(--gnome-sword)}.enemy[t=wizzard]{--asp:6s;--aDelay:10s;--hp:"3";--bg:var(--gnome-beard), var(--gnome), var(--gnome-staff)}.enemy[c=red]{--c:red}.enemy[c=orange]{--c:orange}.enemy[c=yellow]{--c:yellow}.enemy[c=green]{--c:green}.enemy[c=blue]{--c:blue}.enemy[c=purple]{--c:purple}@keyframes enemy-appear{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes enemy-attack{0%{transform:translate(0)}75%{transform:translate(0)}80%{transform:translate(10%)}90%{transform:translate(-15%)}to{transform:translate(0)}}@keyframes enemy-remove{0%{opacity:1}66%{opacity:1}to{opacity:0}}@keyframes enemy-sprite-remove{0%{opacity:1;transform:translate(0)rotate(0)}10%{transform:translate(0)rotate(8deg)}50%{opacity:1}to{opacity:0;transform:translate(50%,-25%)rotate(80deg)}}@media (orientation:portrait){.enemy-list{grid:repeat(2,1fr)/repeat(3,1fr);gap:5px}}
/*$vite$:1*/