@font-face{font-family:Manuelle;src:url(/font/Manuale-Regular.ttf)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{height:100%;margin:0;padding:0;overflow:hidden;background:url(/img/bg_menu.jpg);background-size:cover;background-position:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:7px}::-webkit-scrollbar-track{background:#0d0d0c}::-webkit-scrollbar-thumb{background-color:#12201c;border-radius:5px;border:1px solid #12201c}#bulkSellBtn{position:absolute;right:0;top:0;z-index:9}::-webkit-scrollbar-thumb:hover{background-color:#12201c;border:1px solid #695842}ul,ol{list-style:none}a{text-decoration:none;color:inherit}button{border:none;background:none;padding:0;margin:0;cursor:pointer;font-family:inherit;font-size:inherit;color:inherit}input,textarea,select{font-family:inherit;font-size:inherit;border:none;outline:none}img{max-width:100%;height:auto;display:block}table{border-collapse:collapse;border-spacing:0}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:inherit;margin:0}p{margin:0}.one_field{display:inline-block;width:90px;height:90px;border:1px solid gray;font-size:75px;box-sizing:border-box;cursor:pointer;vertical-align:top;text-align:center}#bulkSellBtn{position:absolute;right:0;top:0}.leaders{width:100%;margin:14px;width:calc(100% - 28px)}.leaders .leader{font-size:15px;width:100%;color:#fff}#save_result{color:green;font-size:12px;position:absolute;right:40px;bottom:188px}#menu_header{font-size:30px;color:#cea171;position:relative;text-transform:uppercase;margin-bottom:46px}.profile_page #menu_header{margin-bottom:18px}#user_gold{font-size:23px;color:gold;text-transform:uppercase;position:absolute;top:180px;left:40px}#result_message p{font-size:24px;width:300px;text-align:center;margin:auto auto 15px;color:#fff}p{font-size:16px;color:#fff}#myCanvas{background:transparent;position:absolute;width:1152px;height:calc(100% + 48px);left:-48px;right:0;margin:auto;top:-48px}.new_game_container{z-index:2}.game #myCanvas{display:block}.game-input-overlay{position:absolute;inset:0;pointer-events:auto}#overCanvas{background:transparent;position:absolute;background:#01010180;width:100%;height:100%;left:0;top:0;margin:auto;max-width:100%;max-height:100%}.overflow{margin-left:30%;width:40%;position:absolute;left:0;height:100%;background:gray;height:500px;top:20%;border:1px solid black;border-radius:15px;padding:16px}.overflow h2{color:#fff;font-size:32px;text-align:center}.overflow p{color:#fff;font-size:18px}.close_button{position:absolute;right:6px;top:5px;border-radius:50%;border:1px solid red;cursor:pointer;color:red;font-size:17px}#root{width:100%;margin:auto;height:100%;overflow:hidden;position:relative}.one_field:hover{background:#faebd7}#cur_turn_data{font-size:16px}.won{background:#faebd7}#root .inner_wrap .tile.hero{opacity:1}#root .inner_wrap .tile.wasvisibletrue{opacity:.5}#root .inner_wrap .tile.visibletrue{opacity:1}#root .inner_wrap{width:1652px;padding:600px}#root .wrap{max-width:1200px;padding:0 15px;margin:auto}#root .wrap{height:100%;overflow:hidden}.left_block{color:red;position:absolute;left:10px;font-size:25px;z-index:9;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left_block>span{max-width:330px;display:inline-block}.left_block>span.task{font-size:20px}.right_block{color:#fff;position:absolute;right:10px;font-size:25px;z-index:9;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.x{position:absolute;top:0;left:3px;color:#ff0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.y{position:absolute;top:0;right:3px;color:#ff0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.live span.x,.live span.y{font-size:10px}#root .inner_wrap .tile:hover{z-index:9}#root .inner_wrap .tile:hover:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;border:1px solid #ccc}.header{text-align:center;margin:0;padding-top:5px;padding-bottom:5px;border-bottom:1px solid gray;color:wheat;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9;position:relative;background:#000}.header button,.header a{background:#000;border:2px solid #ccc;border-radius:5px;color:#fff;font-size:15px;padding:5px 22px;margin-left:12px;margin-right:12px;cursor:pointer}.logs{color:#fff;border:1px solid #ccc;padding:9px;height:206px;overflow-y:scroll;width:305px}.logs p{margin:0}.hp_bar{background:red;display:inline-block;height:3px;position:absolute;bottom:0}.crit{color:red}.magic{color:#0ff}.plus{position:absolute;left:-42px;border:1px solid red;width:36px;text-align:right;cursor:pointer;padding-right:3px}.spell_plus{position:absolute;top:252px;left:325px;color:#fff;font-size:19px;border:1px solid red;padding:3px;cursor:pointer}.missed{color:green}.gold{color:gold}span.item{position:absolute;width:100%;height:100%;top:0;left:0;z-index:8}.inventory{position:relative;width:323px;border:1px solid #ccc;height:75px;overflow-y:scroll}.inventory.equipment{height:33px;overflow-y:hidden}.inventory_view.equipment span.item,.inventory_view.inventory span.item{width:32px;height:32px}.inventory_view span.item{width:48px;height:48px;border:1px solid #aaa;position:relative;float:left;cursor:pointer}.inventory_view span.item:hover{background-color:#fff3}.inventory_view span.item.selected{background-color:#ffffff4d}.inventory_view span.item img{width:100%;height:100%;object-fit:contain;position:absolute;top:0;left:0}span.item .item_amount{position:absolute;bottom:0;right:3px;font-size:12px;color:#fff}span.spell{width:28px;height:28px;border:1px solid #aaa;position:relative;float:left;cursor:pointer;color:#ff0;font-size:12px;padding-left:3px;box-sizing:border-box}span.spell img{width:100%;height:100%;object-fit:contain;position:absolute;top:0;left:0}span.spell .spell_cooldown{position:absolute;top:0;left:3px;font-size:12px;color:#ff0}span.skill{width:28px;height:28px;border:1px solid #aaa;position:relative;float:left;cursor:pointer;color:#ff0;font-size:12px;padding-left:3px;box-sizing:border-box}span.skill img{width:100%;height:100%;object-fit:contain;position:absolute;top:0;left:0}span.skill .skill_level{position:absolute;top:0;left:3px;font-size:12px;color:#ff0}span.actfalse{-webkit-filter:grayscale(100%);filter:grayscale(100%)}#root .inner_wrap{display:none}#root .inner_wrap.wrap_new{width:1152px;display:block;margin:auto;padding:0}#game_finished{position:absolute;margin:auto;width:300px;background:#ffffff80;border-radius:10px;border:2px solid #ccc;padding:10px;text-align:center;color:#f0f8ff;inset:0;height:140px;z-index:999;max-width:90%}.price_start{color:gold;font-size:24px}.description_start{height:40px;display:inline-block}.divider{clear:both}#game_finished p{font-size:25px}#game_finished button{background:#000;color:#fff;padding:5px 25px;border-radius:5px;border:2px solid #ccc;outline:none;cursor:pointer}#mobile_switch{display:none;z-index:99}#auto_button,#auto_stop_enemy_button,#suicide_button{display:block}.skills_list{clear:both;display:block;height:250px;width:calc(100% - 40px);border-radius:5px;margin:20px;border:1px solid gray;overflow:auto}.user_skill{font-size:19px;border-bottom:1px solid gray;text-align:left;color:#fff;margin-bottom:10px;padding:10px}.user_skill .skill_name{border-bottom:1px solid;display:inline-block;width:100%;text-align:center;margin-bottom:5px}.user_skill .skill_level{width:100%;display:inline-block;border-bottom:1px solid;text-align:center;margin-bottom:5px}.user_skill .skill_price{width:100%;display:inline-block;text-align:center}#menu .user_skill .skill_actions button{overflow:hidden;width:calc(100% - 30px);height:23px;padding:0;background:#000;line-height:17px;border:1px solid gray;border-radius:5px;margin-left:15px;margin-top:7px}#skill_buy_error{color:red;font-size:12px;position:absolute;top:188px;right:21px}.description{font-size:18px;color:bisque;border-top:1px solid;margin-top:10px;word-wrap:break-word;height:403px}.description>div{margin-top:7px;display:inline-block;width:100%;color:#fff8dc}.select_start h3{font-size:25px;margin:0;color:beige}.select_start span{font-size:26px;display:block;height:34px;position:relative;padding-left:38px;text-align:left;margin-top:5px;cursor:pointer}.select_start span:hover,.select_start span.selected{background:#ccc}.select_start span img{display:inline-block;height:32px;width:32px;position:absolute;left:1px;top:1px}.select_start{float:left;width:49%}.select_start.class{float:right}.select_start.class span{text-align:right;padding-left:1px;padding-right:38px}.select_start.class span img{left:auto;right:0}.inventory.inventory_view.spells,.inventory.inventory_view.skills{height:28px;overflow:visible}.inventory.inventory_view.consumables{height:34px;overflow:visible}.inventory.inventory_view.consumables span{font-size:12px;color:#fff}#hover_skill{position:absolute;top:5px;left:340px;background:#000;border:1px solid #ccc;border-radius:5px;width:100%;padding:0 10px;box-sizing:border-box}#hover_skill h3{margin:0;color:#ffebcd;font-size:22px}#hover_skill p{margin:0;color:wheat}span.spell.lvlUp:after{content:"+1";width:100%;height:100%;position:absolute;background:#000c;text-align:center;left:0;padding-top:5px;box-sizing:border-box}.select_items_anvil_text{margin-bottom:2px}.anvil_slots{text-align:center;width:232px;display:block;height:48px;margin:10px auto auto}.anvil_slots .anvil_slot{width:48px;height:48px;border:1px solid #aaa;position:static;float:left;cursor:pointer;margin-left:10px;margin-right:10px}.anvil_result{text-align:center;width:48px;display:block;height:48px;margin:auto}.anvil_result .anvil_slot{width:48px;height:48px;border:1px solid #aaa;position:static;float:left;cursor:pointer}.anvil_inventory{text-align:center;width:100%;display:block;margin:auto;clear:both;height:auto;overflow:hidden;overflow-y:auto;max-height:103px}.anvil_inventory span.item{width:48px;height:48px;border:1px solid #aaa;position:relative;float:left;cursor:pointer}.anvil_inventory span.item.anvil_selected{background-color:#ffffff4d}#cur_profile_name{font-size:15px;color:#fff;position:absolute;top:188px;right:41px;cursor:pointer}.game-toggle-buttons-toggle{display:none}.game-toggle-buttons{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;gap:10px;z-index:1000}.game-toggle-button{padding:5px 10px;background-color:#2d2d2de6;color:#e0e0e0;border:2px solid #555;border-radius:6px;cursor:pointer;font-size:14px;font-weight:700;transition:all .3s;min-width:120px}.game-toggle-button:hover{background-color:#3c3c3ce6;border-color:#4caf50}.game-toggle-button.active{background-color:#4caf50e6;border-color:#4caf50;color:#fff}@media only screen and (max-width:800px){#mobile_switch{display:block}.game-toggle-buttons-toggle{display:block;position:fixed;bottom:20px;right:20px;width:40px;height:40px;background-color:#2d2d2de6;color:#e0e0e0;border:2px solid #555;border-radius:50%;cursor:pointer;font-size:18px;font-weight:700;z-index:1001;display:flex;align-items:center;justify-content:center;transition:all .3s}.game-toggle-buttons-toggle:hover{background-color:#3c3c3ce6;border-color:#4caf50}.game-toggle-buttons{bottom:70px}.left_block span,.logs,.right_block,.left_block br{display:none}.mob_inv .right_block{display:block}.mob_inv .left_block,.mob_hide_all .left_block,.right_block{display:none}.inventory span{display:inline-block}#overCanvas .overflow{margin-left:10%;width:80%}#hover_skill{position:fixed;top:240px;left:10px;width:300px;height:fit-content}.select_start span{font-size:21px!important}}.gold_text{color:#dbb589}.yellow_text{color:#ecdf40}.red_text{color:red}.gray_text{color:#858585}.white_text{color:#fff}.black_text{color:#000}@media screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){body{background:url(/img/bg_menu.jpg);background-size:cover;background-position:center}}.button_green{position:relative;display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;font-family:Manuale;font-size:16px;font-style:normal;font-weight:700;line-height:16px;text-transform:uppercase;border:none;text-decoration:none;height:50px;width:100%;padding:0 20px;background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(90deg,#0f1c17,#0a5b40 49.52%,#0f1c17);background-repeat:no-repeat;background-position:top left,top right,bottom left,bottom right,left,right,top,bottom,center;background-size:17px 17px,17px 17px,17px 17px,17px 17px,17px 100%,17px 100%,100% 17px,100% 17px,100% 100%;transition:background-color .25s cubic-bezier(.4,0,.2,1);cursor:pointer}.button_green_element:after{content:"";position:absolute;top:50%;right:15px;width:9px;height:9px;transform:translateY(-50%);background-image:url(/img/frames/el-bg-text.png);background-size:9px 9px;background-repeat:no-repeat}.button_green_element:before{content:"";position:absolute;top:50%;left:15px;width:9px;height:9px;background-image:url(/img/frames/el-bg-text.png);background-size:9px 9px;background-repeat:no-repeat;transform:translateY(-50%)}.button_green.button_green_element{color:#dbdbdb;text-align:center;text-shadow:0 0 5px #000;font-family:Manuale;font-size:16px;font-style:normal;font-weight:500;line-height:16px;height:40px;text-transform:none;cursor:auto;background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(90deg,#0f1c17,#254239 49.52%,#0f1c17)}.button_green.button_green_element:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(90deg,#0f1c17,#254239 49.52%,#0f1c17)}.button_green.button_green_element .button_gradient{height:12px}.button_green.green_text{background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(180deg,#172823,#0e1a16);cursor:auto}.button_green.light_green{background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(90deg,#0f1c17,#295b0a 49.52%,#0f1c17)}.button_green.green_text:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(180deg,#172823,#0e1a16)}.button_green.light_green:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(90deg,#0f1c17,#457e21 49.52%,#0f1c17)}.button_green:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),linear-gradient(90deg,#0f1c17,#15845f 49.52%,#0f1c17)}.button_green:disabled{opacity:.5;cursor:not-allowed}.button_gradient{position:absolute;top:8px;left:8px;right:8px;height:17px;background:linear-gradient(180deg,#d9d9d9,#737373);background-size:100% 100%;background-repeat:no-repeat;background-position:top;z-index:0;opacity:.15}.button_green.green_text .button_gradient{background:transparent}@media screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){.button_green{background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/2x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),linear-gradient(90deg,#0f1c17,#0a5b40 49.52%,#0f1c17)}.button_green_element{background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),linear-gradient(90deg,#0f1c17,#254239 49.52%,#0f1c17)}.button_green.green_text:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/2x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),linear-gradient(180deg,#172823,#0e1a16)}.button_green.light_green:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/2x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),linear-gradient(90deg,#0f1c17,#457e21 49.52%,#0f1c17)}.button_green.light_green:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/2x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),linear-gradient(90deg,#0f1c17,#457e21 49.52%,#0f1c17)}.button_green.button_green_element:hover:not(:disabled){background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/2x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),linear-gradient(90deg,#0f1c17,#254239 49.52%,#0f1c17)}}.input_text{text-align:start;cursor:text}.error_span{color:red;font-size:16px;margin-top:5px}.main_frame{display:flex;flex-direction:column;width:100%;height:100%;min-height:100px;padding:8px;background-image:url(/img/frames/frame_type_01/1x/top_left.png),url(/img/frames/frame_type_01/1x/top_right.png),url(/img/frames/frame_type_01/1x/bottom_left.png),url(/img/frames/frame_type_01/1x/bottom_right.png),url(/img/frames/frame_type_01/1x/left_center.png),url(/img/frames/frame_type_01/1x/right_center.png),url(/img/frames/frame_type_01/1x/top_center.png),url(/img/frames/frame_type_01/1x/bottom_center.png),url(/img/frames/frame_type_01/1x/tile_bg_2.png);background-repeat:no-repeat;background-position:top left,top right,bottom left,bottom right,left,right,top,bottom,center;background-size:17px 17px,17px 17px,17px 17px,17px 17px,17px 100%,17px 100%,100% 17px,100% 17px,100% 100%}@media screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){.main_frame{background-image:url(/img/frames/frame_type_01/2x/top_left.png),url(/img/frames/frame_type_01/2x/top_right.png),url(/img/frames/frame_type_01/2x/bottom_left.png),url(/img/frames/frame_type_01/2x/bottom_right.png),url(/img/frames/frame_type_01/2x/left_center.png),url(/img/frames/frame_type_01/2x/right_center.png),url(/img/frames/frame_type_01/2x/top_center.png),url(/img/frames/frame_type_01/2x/bottom_center.png),url(/img/frames/frame_type_01/2x/tile_bg_2.png)}}.menu_wrap{display:flex;flex-direction:column;justify-content:center;height:100%}.menu_logo{display:block;margin:0 auto}.menu_title{background:linear-gradient(180deg,#daaf7e 0% 25%,#debe9a 50%,#8e7151,#745d43);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;font-size:24px;font-weight:900;line-height:1.2;text-align:center;text-transform:uppercase;letter-spacing:.05em;margin:0;padding:0}.menu_subtitle{background:linear-gradient(180deg,#daaf7e 0% 25%,#debe9a 50%,#8e7151,#745d43);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent;background-clip:text;text-fill-color:transparent;font-size:16px;font-weight:300;line-height:1.2;text-align:center;text-transform:uppercase;letter-spacing:.05em;margin:0 0 30px;padding:0}.menu_content{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:356px;width:100%;margin:0 auto}.menu_content_inner{display:grid;grid-template-columns:1fr;gap:10px;padding:28px}.main_frame_sm{display:flex;flex-direction:column;justify-content:space-between;width:100%;max-width:1200px;max-height:840px;height:100%;min-height:100px;padding:8px;margin:0 auto;overflow:auto;background-image:url(/img/frames/frame_type_02/1x/top_left.png),url(/img/frames/frame_type_02/1x/top_right.png),url(/img/frames/frame_type_02/1x/bottom_left.png),url(/img/frames/frame_type_02/1x/bottom_right.png),url(/img/frames/frame_type_02/1x/left_center.png),url(/img/frames/frame_type_02/1x/right_center.png),url(/img/frames/frame_type_02/1x/top_center.png),url(/img/frames/frame_type_02/1x/bottom_center.png),url(/img/frames/frame_type_02/1x/tile_bg.png);background-repeat:no-repeat;background-position:top left,top right,bottom left,bottom right,left,right,top,bottom,center;background-size:17px 17px,17px 17px,17px 17px,17px 17px,17px 100%,17px 100%,100% 17px,100% 17px,100% 100%}@media screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){.main_frame_sm{background-image:url(/img/frames/frame_type_02/2x/top_left.png),url(/img/frames/frame_type_02/2x/top_right.png),url(/img/frames/frame_type_02/2x/bottom_left.png),url(/img/frames/frame_type_02/2x/bottom_right.png),url(/img/frames/frame_type_02/2x/left_center.png),url(/img/frames/frame_type_02/2x/right_center.png),url(/img/frames/frame_type_02/2x/top_center.png),url(/img/frames/frame_type_02/2x/bottom_center.png),url(/img/frames/frame_type_02/2x/tile_bg.png)}}.new_game_container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:1230px;max-height:1030px;width:100%;height:100%;padding:15px}.new_game_header{display:flex;align-items:center;justify-content:space-between;background-color:#0d0d0c;border-bottom:1px solid #2b251f;padding:10px 20px}.new_game_header_left{display:flex;align-items:center;gap:10px}.new_game_header_logo{margin:0}.new_game_header_title{display:flex;flex-direction:column;align-items:flex-start;font-size:18px}.new_game_header_subtitle{font-size:14px;margin:0}.new_game_header_right{display:flex;width:150px;height:50px;padding:0 33px;background-image:url(/img/game/bg_gold_info.png);background-size:100% 100%;background-position:center;background-repeat:no-repeat}.gold_amount{display:flex;align-items:center;gap:10px;justify-content:space-between;color:#ecdf40;text-shadow:0 0 5px #000;font-size:17px;font-weight:700;line-height:17px;margin:0;width:100%;text-transform:none}.new_game_content{display:grid;grid-template-columns:minmax(400px,753px) minmax(268px,371px);height:100%;min-height:100px;gap:20px;padding:20px;justify-content:center}.new_game_wrapper_race_icon{position:relative;display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:5px;background:linear-gradient(180deg,#173c30,#0c1f19);padding:3px}.new_game_wrapper_race_icon:before{content:"";position:absolute;inset:1px;border-radius:4px;background:#121211;pointer-events:none}.new_game_race_icon{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:3px;padding:1px;background:linear-gradient(180deg,#27604e,#16362c)}.new_game_race_icon:before{content:"";position:absolute;inset:1px;border-radius:2px;background:transparent;pointer-events:none}.new_game_race_icon_img{position:relative;z-index:1;border-radius:2px}.new_game_race_icon_img_logo{position:relative;z-index:1;opacity:.2}.new_game_wrapper_races{display:grid;grid-template-columns:minmax(230px,304px) minmax(330px,374px);gap:10px;padding:8px;min-height:100px;overflow:auto}.new_game_list_races_wrapper{max-height:660px;height:100%;min-height:100px;overflow:hidden;display:flex;flex-direction:column}.new_game_list_races{display:flex;flex-direction:column;gap:10px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding-right:10px}.new_game_item_race{position:relative;display:flex;align-items:center;gap:15px;border-radius:3px;background:linear-gradient(180deg,#173c30,#0c1f19);padding:10px;cursor:pointer}.new_game_item_race.empty{display:flex;align-items:center;justify-content:center}.new_game_item_race:before{content:"";position:absolute;inset:1px;border-radius:2px;background:#121211;pointer-events:none}.new_game_wrapper_race_info{position:relative;z-index:1}.new_game_race_info_title{color:#858585;text-shadow:0 0 5px #000;font-family:Manuale;font-size:16px;font-style:normal;font-weight:700;line-height:16px;margin-bottom:7px}.new_game_race_info_value{color:#fff}.new_game_item_race.active{position:relative;border-radius:3px;background:linear-gradient(180deg,#dbb589,#403528);padding:10px}.new_game_item_race.active:before{content:"";position:absolute;inset:1px;border-radius:2px;background:linear-gradient(180deg,#172823,#0e1a16);pointer-events:none}.new_game_item_race:hover{position:relative;border-radius:3px;background:linear-gradient(180deg,#dbb589,#403528);padding:10px}.new_game_item_race:hover:before{content:"";position:absolute;inset:1px;border-radius:2px;background:linear-gradient(180deg,#172823,#0e1a16);pointer-events:none}.wrapper_race_icon_img{position:relative;border-radius:3px;background:linear-gradient(180deg,#dbb589,#403528);padding:1px;margin-bottom:18px}.wrapper_race_icon_img:before{content:"";position:absolute;inset:1px;border-radius:2px;pointer-events:none}.new_game_race_full_icon_img{border-radius:2px}.new_game_content_left,.new_game_content_right{display:grid;gap:6px;grid-template-rows:40px 1fr;padding:6px;height:100%}.new_game_content_right_stats_scroll{overflow:hidden;padding:8px}.new_game_content_right_stats_wrapper{overflow:auto;max-height:100%;height:100%;min-height:100px;padding-right:3px}.new_game_content_right_stats{display:grid;gap:8px;padding:8px}.new_game_stats_title{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-content:center;gap:8px;color:#dbdbdb;text-align:center;font-family:Manuale;font-size:16px;font-style:normal;font-weight:500;line-height:16px;width:100%;white-space:nowrap}.new_game_stats_title:before{content:"";display:block;width:100%;height:1px;background:#173b30}.new_game_stats_title:after{content:"";display:block;width:100%;height:1px;background:#173b30}.new_game_stats_item{position:relative;display:flex;align-items:center;border-radius:5px;background:linear-gradient(180deg,#173c30,#0c1f19);padding:1px}.new_game_stats_item:before{content:"";position:absolute;inset:1px;border-radius:4px;background:#121211;pointer-events:none}.new_game_stats_item>*{position:relative;z-index:1;margin:3px}.new_game_stats_item>*:first-child{margin-left:4px}.new_game_stats_item>*:last-child{margin-right:4px}.wrapper_stats_item_icon{position:relative;display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;border-radius:3px;background:linear-gradient(180deg,#dbb589,#403528);margin-right:10px;padding:1px}.wrapper_stats_item_icon:before{content:"";position:absolute;inset:1px;border-radius:2px;background:linear-gradient(180deg,#172823,#0e1a16);pointer-events:none}.wrapper_stats_item_icon>*{position:relative;z-index:1}.new_game_stats_item_text{display:flex;align-items:center;justify-content:space-between;color:#cea171;font-family:Manuale;font-size:16px;font-style:normal;font-weight:500;line-height:16px;margin:0;width:100%}.new_game_stats_item_value{color:#ecdf40}.new_game_footer{display:grid;grid-template-columns:minmax(400px,753px) minmax(268px,371px);align-items:center;justify-content:space-between;gap:20px;background-color:#0d0d0c;border-top:1px solid #2b251f;padding:15px 20px}.new_game_footer_text{color:#fff;text-shadow:0 0 5px #000;font-family:Manuale;font-size:18px;font-style:normal;font-weight:500;line-height:18px;text-transform:none}.new_game_footer_buttons{display:flex;align-items:center;justify-content:flex-end;gap:10px}@media screen and (min-device-pixel-ratio:2),screen and (min-resolution:192dpi),screen and (min-resolution:2dppx){.new_game_header_right{background-image:url(/img/game/bg_gold_info2x.png)}}@media screen and (max-width:768px){.new_game_content,.new_game_footer{grid-template-columns:1fr}}.admin-page{width:100%;min-height:100vh;padding:20px;box-sizing:border-box}.admin-content-wrapper{display:flex;gap:20px;width:100%}.admin-main-content{flex:1;min-width:0}.admin-side-panel{width:200px;min-width:200px;background-color:#2d2d2df2;border-radius:8px;padding:20px;box-sizing:border-box;height:fit-content;position:sticky;top:20px}.admin-side-panel-header{margin-bottom:15px}.admin-side-panel-header h3{color:#e0e0e0;margin:0;font-size:16px;font-weight:700}.admin-side-panel-buttons{display:flex;flex-direction:column;gap:10px}.admin-nav-button{width:100%;padding:12px 16px;background-color:#1a1a1a;color:#e0e0e0;border:1px solid #444;border-radius:4px;cursor:pointer;font-size:14px;font-weight:700;transition:all .3s;text-align:left}.admin-nav-button:hover{background-color:#252525;border-color:#555}.admin-nav-button.active{background-color:#4caf50;border-color:#4caf50;color:#fff}.admin-nav-button.active:hover{background-color:#45a049}@media(max-width:768px){.admin-side-panel{display:none}.admin-content-wrapper{gap:0}}.admin-header{margin-bottom:20px}.admin-header h2{color:#fff;margin-bottom:10px}.admin-header p{color:#fff;margin-bottom:15px}.admin-return-link{display:inline-block;margin-bottom:20px}.admin-table-container{width:100%;overflow-x:auto;overflow-y:auto;max-height:calc(100vh - 60px);background-color:#2d2d2df2;border-radius:8px;padding:20px;box-sizing:border-box}.admin-table{width:100%;border-collapse:collapse;margin-top:20px;background-color:#2d2d2d}.admin-table thead{background-color:#1a1a1a}.admin-table th{padding:12px;border:1px solid #444;text-align:left;color:#e0e0e0;font-weight:700;background-color:#1a1a1a;font-size:12px}.admin-table th:first-child,.admin-table th.short{width:60px;min-width:60px;max-width:60px}.admin-table th.w-150{width:150px;min-width:150px}.admin-sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s}.admin-sortable-header:hover{background-color:#252525}.admin-sort-indicator{margin-left:5px;color:#4caf50;font-weight:700}.admin-filter-row th{padding:8px;background-color:#1a1a1a}.admin-filter-input{width:100%;padding:6px;border:1px solid #555;border-radius:4px;background-color:#2d2d2d;color:#e0e0e0;font-size:11px;box-sizing:border-box}.admin-filter-input:focus{outline:none;border-color:#4caf50;background-color:#333}.admin-filter-input::placeholder{color:#888}.admin-table td{padding:12px;border:1px solid #444;color:#e0e0e0;background-color:#2d2d2d;font-size:12px}.admin-table tbody tr{border-bottom:1px solid #444}.admin-table tbody tr:hover{background-color:#3a3a3a}.img-tiles img{cursor:pointer}.admin-tile-image{border:1px solid #555;image-rendering:pixelated;display:inline-block;margin-right:3px}.admin-tile-placeholder{width:32px;height:32px;border:1px solid #555;display:flex;align-items:center;justify-content:center;font-size:8px;color:#888;background-color:#1a1a1a}.admin-error{color:#f44!important}.admin-loading{color:#fff}.admin-add-button{background-color:#4caf50;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:700;transition:background-color .3s}.admin-add-button:hover{background-color:#45a049}.admin-modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.admin-modal{background-color:#2d2d2d;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 6px #00000080}.admin-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #444}.admin-modal-header h3{margin:0;color:#e0e0e0}.admin-modal-close{background:none;border:none;font-size:28px;cursor:pointer;color:#999;padding:0;width:30px;height:30px;line-height:30px;text-align:center}.admin-modal-close:hover{color:#e0e0e0}.admin-modal-body{padding:20px;background-color:#2d2d2d}.admin-form-group{margin-bottom:20px}.admin-form-group label{display:block;margin-bottom:8px;color:#e0e0e0;font-weight:700;font-size:14px}.admin-form-input{width:100%;padding:10px;border:1px solid #555;border-radius:4px;font-size:14px;box-sizing:border-box;background-color:#1a1a1a;color:#e0e0e0}.admin-form-input:focus{outline:none;border-color:#4caf50;background-color:#252525}.admin-form-input::placeholder{color:#888}.admin-paste-hint{padding:40px;border:2px dashed #555;border-radius:4px;text-align:center;color:#888;background-color:#1a1a1a}.admin-image-preview{position:relative;display:inline-block;width:100%}.admin-image-preview img{max-width:200px;max-height:200px;border:1px solid #555;border-radius:4px;display:block;image-rendering:pixelated}.admin-remove-image{margin-top:10px;background-color:#f44336;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:12px}.admin-remove-image:hover{background-color:#da190b}.admin-image-data{margin-top:10px;display:flex;align-items:center;gap:10px;width:100%}.admin-image-data-string{flex:1;padding:8px;background-color:#1a1a1a;border:1px solid #555;border-radius:4px;color:#888;font-size:11px;font-family:monospace;word-break:break-all;max-height:60px;overflow-y:auto}.admin-copy-button{background-color:#4caf50;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:12px;white-space:nowrap}.admin-copy-button:hover{background-color:#45a049}.admin-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px;border-top:1px solid #444;background-color:#2d2d2d}.admin-button{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:700;transition:background-color .3s}.admin-button:disabled{opacity:.6;cursor:not-allowed}.admin-button-cancel{background-color:#f44336;color:#fff}.admin-button-cancel:hover:not(:disabled){background-color:#da190b}.admin-button-save{background-color:#4caf50;color:#fff}.admin-button-save:hover:not(:disabled){background-color:#45a049}.admin-delete-button{background-color:#f44336;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;font-weight:700;transition:background-color .3s}.admin-edit-button{background-color:#2196f3;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;font-weight:700;transition:background-color .3s}.admin-delete-button:hover{background-color:#da190b}.admin-play-button{background-color:#2196f3;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;font-weight:700;transition:background-color .3s}.admin-play-button:hover{background-color:#1976d2}.admin-select-container{position:relative;width:100%}.admin-select-button{width:100%;padding:10px;border:1px solid #555;border-radius:4px;background-color:#1a1a1a;color:#e0e0e0;cursor:pointer;font-size:14px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center}.admin-select-dropdown{position:absolute;top:100%;left:0;right:0;background-color:#1a1a1a;border:1px solid #555;border-radius:4px;margin-top:4px;max-height:300px;overflow-y:auto;z-index:1000;box-shadow:0 4px 6px #00000080}.admin-select-search{width:100%;padding:8px;border:none;border-bottom:1px solid #555;border-radius:4px 4px 0 0;background-color:#2d2d2d;color:#e0e0e0;font-size:14px;box-sizing:border-box}.admin-select-search:focus{outline:none;background-color:#333}.admin-select-items{max-height:250px;overflow-y:auto}.admin-select-item{padding:10px;cursor:pointer;color:#e0e0e0;border-bottom:1px solid #333;background-color:transparent;transition:background-color .2s;font-size:12px}.admin-select-item:hover{background-color:#252525}.admin-select-item.selected,.admin-select-item.selected:hover{background-color:#4caf50}.admin-select-no-items{padding:10px;color:#888;text-align:center}.admin-actions-container{display:flex;gap:8px}.admin-header-row{display:flex;gap:10px;margin-bottom:20px;justify-content:space-between;align-items:center}.admin-header-title{margin:0;color:#fff}.admin-header-actions{display:flex;gap:10px}.admin-params-display{max-width:300px;overflow:auto;font-size:11px;font-family:monospace;white-space:pre-wrap;word-break:break-all}.admin-params-list{margin-top:10px;display:flex;flex-direction:column;gap:8px}.admin-param-item{display:flex;align-items:center;gap:8px;padding:8px;background-color:#1a1a1a;border:1px solid #555;border-radius:4px}.admin-param-name{color:#e0e0e0;font-weight:700;min-width:120px;font-size:12px}.admin-param-value-input{flex:1;padding:6px;border:1px solid #555;border-radius:4px;background-color:#2d2d2d;color:#e0e0e0;font-size:12px;box-sizing:border-box}.admin-param-value-input:focus{outline:none;border-color:#4caf50;background-color:#333}.admin-param-value-textarea{flex:1;padding:6px;border:1px solid #555;border-radius:4px;background-color:#2d2d2d;color:#e0e0e0;font-size:12px;font-family:monospace;box-sizing:border-box;resize:vertical;min-height:60px}.admin-param-value-textarea:focus{outline:none;border-color:#4caf50;background-color:#333}.admin-param-value-textarea::placeholder{color:#888}.admin-param-remove-button{background-color:#f44336;color:#fff;border:none;padding:4px 10px;border-radius:4px;cursor:pointer;font-size:16px;font-weight:700;line-height:1;min-width:28px;height:28px}.admin-param-remove-button:hover{background-color:#da190b}
