body{font-family:Inter,sans-serif;margin:0;background-color:#1a1a1a;color:#f0f0f0;overflow:hidden;display:flex;justify-content:center;align-items:center;height:100vh}#root{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.game-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative;background-color:#333;align-items:center}.top-info{height:clamp(60px,10vh,100px);padding:0 20px;background:#00000080;position:absolute;top:0;left:0;right:0;z-index:10;display:flex;justify-content:flex-start;align-items:center;font-size:.9em;color:#ccc}#game-title-container{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:clamp(50px,8vh,80px);display:flex;align-items:center;justify-content:center}#game-title-logo{height:100%;width:auto;object-fit:contain}.version-tag{position:absolute;bottom:-5px;right:-10px;background:linear-gradient(to right,#f39c12,#d35400);color:#fff;font-size:10px;font-weight:800;padding:2px 6px;border-radius:4px;box-shadow:0 2px 5px #00000080;border:1px solid #a04000;text-shadow:1px 1px 0 rgba(0,0,0,.5);letter-spacing:.5px;white-space:nowrap;font-family:Inter,sans-serif;z-index:5;transform:rotate(-5deg)}.top-info-right{display:flex;gap:10px;align-items:center;margin-left:auto}.help-button{background:#0009;border:1px solid #888;color:#fff;padding:0 12px;height:30px;border-radius:15px;cursor:pointer;display:grid;place-items:center;font-size:.9em;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s}.help-button:hover{background:#000c;border-color:#aaa}#registration-container{display:flex;gap:5px}#registration-container input{border:1px solid #7f8c8d;background-color:#1a1a1a;color:#f0f0f0;border-radius:3px;padding:4px 8px}#registration-container button{padding:4px 12px;border:none;background-color:#3498db;color:#fff;border-radius:3px;cursor:pointer}.main-content{flex-grow:1;display:flex;justify-content:center;align-items:center;overflow:hidden;width:100%;margin-top:clamp(50px,10vh,100px);position:relative}#effect-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:5}.floating-icon{position:absolute;width:40px;height:40px;transform:translate(-50%);animation:floatUp 1.5s ease-out forwards}#channeling-container{display:none;position:absolute;bottom:150px;left:50%;transform:translate(-50%);width:200px;height:15px;background-color:#00000080;border:1px solid #ddd;border-radius:5px;z-index:100}#channeling-bar{width:0%;height:100%;background-color:#3498db;border-radius:4px}@keyframes floatUp{0%{transform:translate(-50%);opacity:1}to{transform:translate(-50%,-80px);opacity:0}}#game-canvas{border:2px solid #222;background-color:#5a8a5a;width:100%;height:100%;object-fit:contain}#game-canvas.build-mode{cursor:crosshair;border:2px solid #3498db}#game-canvas.teleport-mode{cursor:crosshair;border:2px solid #9b59b6}.bottom-ui{pointer-events:none;position:absolute;bottom:0;left:0;right:0;padding:20px;display:flex;justify-content:space-between;align-items:flex-end}.bottom-ui>*{pointer-events:auto}#chat-container{position:absolute;bottom:80px;left:20px;background:#0009;padding:8px;border-radius:8px;width:300px;display:flex;flex-direction:column}#chat-messages{height:120px;overflow-y:auto;margin-bottom:5px;font-size:.9em;display:flex;flex-direction:column-reverse}#chat-input{width:calc(100% - 10px);background:#222;border:1px solid #444;color:#fff;padding:5px;border-radius:4px}.player-hud-container{position:absolute;left:50%;transform:translate(-50%);bottom:8px;display:flex;flex-direction:column;align-items:center;gap:8px}#player-hud-bottom{display:flex;align-items:center;gap:20px;background:#000000b3;padding:8px 20px;border-radius:20px;border:1px solid #555}.hp-display,.resonance-display{display:flex;align-items:center;gap:8px;font-size:1.2em;width:200px}#health-bar-container,#resonance-bar-container{width:100%;height:20px;background-color:#333;border-radius:10px;border:1px solid #555;position:relative;overflow:hidden}#health-bar{width:100%;height:100%;border-radius:8px;background-color:#4caf50;transition:width .5s ease-out,background-color .5s ease-out}#resonance-bar{width:100%;height:100%;border-radius:8px;background-color:#3498db;transition:width .5s ease-out}#health-bar-text,#resonance-bar-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:.8em;font-weight:700;text-shadow:1px 1px 2px rgba(0,0,0,.8)}.hud-icon{height:1.8em;vertical-align:middle;margin-right:4px}#player-name-display,#player-coords{font-weight:700}.right-hud-container{display:flex;align-items:flex-end;gap:10px;flex-direction:column;pointer-events:none}.info-panels{position:relative;height:var(--info-panels-max-height, calc(100vh - clamp(60px, 10vh, 100px) - 20px) );max-height:var(--info-panels-max-height, calc(100vh - clamp(60px, 10vh, 100px) - 20px) );overflow:visible;width:max-content;pointer-events:none}.info-panels>*{position:absolute;right:0;pointer-events:auto}.action-bar{display:flex;gap:10px;align-items:flex-end;pointer-events:auto}.action-button{width:60px;height:60px;background:#0009;border:1px solid #888;border-radius:50%;cursor:pointer;display:grid;place-items:center;font-size:1.5em;transition:all .2s ease-out}.action-button.selected{border:2px solid #fff;background:#282828cc}.action-button.glow{box-shadow:0 0 10px 3px #ff0c;animation:glow-pulse 2s ease-in-out infinite}@keyframes glow-pulse{0%,to{box-shadow:0 0 10px 3px #ff0c}50%{box-shadow:0 0 15px 5px #ff0}}.action-button img{width:100%;height:100%;object-fit:contain}#teleport-button img{height:80%;width:80%}.info-panel{width:clamp(320px,25vw,340px)!important;min-height:15vh;overflow-y:auto;background-color:#0009;border-radius:10px;border:1px solid #444;padding:10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;overflow-x:hidden;flex-wrap:wrap;scrollbar-width:thin;scrollbar-color:#888 #333;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.info-panel::-webkit-scrollbar{width:8px}.info-panel::-webkit-scrollbar-track{background:#333;border-radius:4px}.info-panel::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px;border:2px solid #333}.info-panel h2{width:100%;margin:0 0 10px;padding-bottom:5px;font-size:1.2em;color:#fff;border-bottom:1px solid #555}.panel-header{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:0;border-bottom:1px solid #555;padding-bottom:5px}.panel-header h2{margin:0;border-bottom:none}.panel-header .close-button{font-size:24px;cursor:pointer;color:#aaa;display:inline-flex;align-items:center;justify-content:center;padding:6px 0 6px 6px;min-width:22px;min-height:2px;transition:color .2s ease}.panel-header .close-button:hover{color:#fff}.centered-panel{position:absolute;z-index:20}.info-panels>.centered-panel{right:auto}#bank-view{width:570px!important}#bank-view .inventory-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;width:100%;margin-top:5px}#echo-well-view{width:350px!important}#shop-view{width:auto!important;min-width:400px;max-width:90vw}.echo-well-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;width:100%;margin-top:5px}.echo-well-send-all-button{margin-top:10px;padding:8px 16px;width:100%;background-color:#4a5568;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.echo-well-send-all-button:hover{background-color:#5a6578}.inventory-grid{display:flex;flex-wrap:wrap;gap:10px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}#inventory-view,#crafting-view{display:flex;flex-direction:column;gap:0;width:100%;align-items:flex-start}#inventory-view .inventory-grid{display:flex;flex-direction:row;gap:10px;flex-wrap:wrap;width:100%;align-items:flex-start;margin-top:5px}#crafting-view>*:not(.panel-header){margin-top:5px}#crafting-view .crafting-recipes-container{display:flex;flex-direction:row;gap:10px;flex-wrap:wrap;width:100%}#gear-view{display:flex;flex-direction:column;gap:10px;width:100%}.gear-panel-content{display:flex;flex-direction:row;gap:20px;align-items:flex-start}.gear-slots-container{display:flex;flex-direction:column;gap:10px;align-items:center}.gear-row{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:center}.gear-slot-placeholder{width:60px;height:60px}.gear-slot-placeholder-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.player-stats-container{display:flex;flex-direction:column;gap:10px;min-width:150px}.player-stats-title{margin:0;font-size:1em;color:#f0f0f0;font-weight:700}.player-stats-list{display:flex;flex-direction:column;gap:5px}.player-stat{font-size:.9em;color:#f0f0f0}.player-stat-empty{font-size:.85em;color:#888;font-style:italic}#quest-view{display:flex;flex-direction:column;gap:10px;width:100%}#experience-view{display:flex;flex-direction:column;gap:15px;width:100%}.experience-columns{display:flex;flex-direction:row;gap:20px;align-items:flex-start}.experience-column{display:flex;flex-direction:column;gap:15px;flex:1}#runes-view{display:flex;flex-direction:column;gap:0;width:100%;align-items:flex-start}#runes-view .runes-container{display:flex;flex-direction:row;gap:10px;flex-wrap:wrap;width:100%;margin-top:5px}.rune-button{display:flex;align-items:center;justify-content:center;width:60px;height:60px;padding:8px;background-color:#444;border:1px solid #666;border-radius:50%;cursor:pointer;transition:all .2s ease-out;color:#f0f0f0;font-size:1em}.rune-button:hover{background-color:#555;border-color:#888}.rune-button.selected{background-color:#3498db;border-color:#fff;color:#fff}.rune-button img{width:100%;height:100%;object-fit:contain}.skill-display{display:flex;align-items:center;gap:10px}.skill-icon{font-size:2em;width:40px;height:40px;text-align:center;display:flex;align-items:center;justify-content:center}.skill-icon img{max-width:100%;max-height:100%;object-fit:contain}.skill-info{flex-grow:1}.skill-name{font-weight:700;font-size:.9em;color:#eee;margin-bottom:4px}.skill-bar-container{width:100%;height:12px;background-color:#333;border-radius:6px;border:1px solid #555;overflow:hidden}.skill-bar{height:100%;background-color:#3498db;border-radius:5px;transition:width .5s ease-out}.skill-xp-text{font-size:.8em;color:#aaa;margin-top:2px}.quest{margin-bottom:10px}.quest h3{margin:0 0 5px;font-size:1.1em;color:#fff}.quest-complete{color:#2ecc71;font-style:italic}.quest-objectives{list-style:none;padding-left:15px;margin:0}.quest-objectives li{color:#ccc;margin-bottom:3px;text-decoration:none}.quest-objectives li.completed{color:#2ecc71;text-decoration:line-through}.quest-tips{margin-top:10px;padding:8px;background-color:#ffff001a;border-left:3px solid #ffd700;border-radius:4px}.quest-tips h4{margin:0 0 5px;font-size:.9em;color:gold}.quest-tips ul{margin:0;padding-left:20px;list-style-type:disc}.quest-tips li{font-size:.85em;color:#ddd;font-style:italic}.inventory-slot{width:60px;height:60px;background-color:#444;border:1px solid #666;border-radius:4px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.2em;padding:5px;box-sizing:border-box;text-align:center;word-break:break-word;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.inventory-slot.equippable,.inventory-slot.edible,.inventory-slot.unequippable,.inventory-slot.buildable{cursor:pointer}.inventory-slot.equippable:hover,.inventory-slot.edible:hover,.inventory-slot.unequippable:hover,.inventory-slot.buildable:hover{background-color:#555;border-color:#888}.item-icon{font-size:1.8em;line-height:1;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.item-icon img{max-width:100%;max-height:100%;object-fit:contain}.item-name{font-size:.7em;margin-bottom:4px}.item-quantity{position:absolute;bottom:2px;right:4px;font-size:.8em;background:#000000b3;padding:1px 3px;border-radius:3px}#shop-view .inventory-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding:10px}.shop-price-badge{position:absolute;bottom:2px;left:2px;font-size:.75em;background:#ffd700e6;color:#000;padding:2px 5px;border-radius:3px;font-weight:700}.shop-quantity-badge{position:absolute;top:2px;right:2px;font-size:.7em;background:#6496ffe6;color:#fff;padding:2px 5px;border-radius:3px;font-weight:700}.inventory-slot button{font-size:.7em;padding:3px 6px;margin-top:5px;background-color:#555;border:1px solid #777;border-radius:4px;color:#fff;cursor:pointer;transition:background-color .2s;max-width:90%;align-self:center}.inventory-slot button:hover{background-color:#666}.crafting-recipe-wrapper{position:relative;display:inline-block}.crafting-recipe{width:60px;height:60px;background-color:#444;border:1px solid #666;border-radius:4px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.2em;padding:5px;box-sizing:border-box;text-align:center;word-break:break-word;color:#fff;cursor:pointer;gap:5px}.crafting-recipe .item-name{font-size:.6em}.crafting-recipe.disabled,.crafting-recipe:disabled{background-color:#333;cursor:not-allowed;color:#888}.crafting-recipe.new-recipe{box-shadow:0 0 10px 3px #ff0c;animation:glow-pulse-recipe 2s ease-in-out infinite}@keyframes glow-pulse-recipe{0%,to{box-shadow:0 0 10px 3px #ff0c}50%{box-shadow:0 0 15px 5px #ff0}}.inventory-tooltip{position:absolute;background-color:#141414e6;border:1px solid #555;border-radius:5px;padding:10px;z-index:100;color:#f0f0f0;font-size:.9em;width:180px;pointer-events:none}.inventory-tooltip .tooltip-title{font-size:1.1em;font-weight:700;margin-bottom:8px;color:#fff}.inventory-tooltip hr{border:none;border-top:1px solid #444;margin:8px 0}.inventory-tooltip .tooltip-action{color:#3498db;margin:5px 0 0;padding:0}.inventory-tooltip .tooltip-stat{color:#2ecc71;margin:5px 0 0;padding:0;font-size:.9em}.inventory-tooltip .tooltip-flavor-text{color:#fff8dc;margin:5px 0 0;padding:0;font-size:.9em;font-style:italic}.inventory-tooltip .tooltip-expiration{color:#e74c3c;font-weight:700}.crafting-tooltip{position:absolute;background-color:#141414e6;border:1px solid #555;border-radius:5px;padding:10px;z-index:100;color:#f0f0f0;font-size:.9em;width:180px;pointer-events:none}.crafting-tooltip .tooltip-title{font-size:1.1em;font-weight:700;margin-bottom:8px;color:#fff}.crafting-tooltip hr{border:none;border-top:1px solid #444;margin:8px 0}.crafting-tooltip h4{margin-top:0;margin-bottom:8px;font-size:1em;color:#aaa;border-bottom:1px solid #444;padding-bottom:5px}.crafting-tooltip .tooltip-item{display:flex;align-items:center;gap:8px;margin-bottom:5px}.crafting-tooltip .tooltip-item .item-icon{width:32px;height:32px;font-size:1.5em}.crafting-tooltip .tooltip-item img{width:100%;height:100%}.crafting-tooltip .special-req{color:#e67e22;margin-top:10px;font-style:italic;font-size:.85em}#dialog-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;z-index:99}#dialog-overlay.active{display:block}.dialog-popup{display:none;position:fixed;background-color:#2a2a2a;padding:20px;border:1px solid #888;width:90%;max-width:600px;min-width:280px;max-height:90vh;border-radius:10px;z-index:100;box-shadow:0 5px 15px #00000080;overflow-y:auto;overflow-x:hidden}@media (min-width: 1200px){.dialog-popup{max-width:700px}}@media (min-width: 1200px){.dialog-popup{max-width:800px}}.dialog-popup.active{display:block}#dialog-text{margin-bottom:20px;line-height:1.6}#dialog-options{display:flex;flex-direction:column;gap:10px}#dialog-options button{padding:10px 15px;border:1px solid #7f8c8d;background-color:#34495e;color:#ecf0f1;border-radius:3px;cursor:pointer;text-align:left;transition:background-color .2s}#dialog-options button:hover{background-color:#4a627a}.controls-panel{position:absolute;top:clamp(70px,11vh,110px);right:20px;width:clamp(600px,25vw,700px);z-index:20}.controls-modal-content{background-color:#2a2a2a;border:1px solid #888;border-radius:10px;padding:15px;box-shadow:0 5px 15px #00000080}.controls-modal-body{margin-top:15px}.controls-modal-body table{width:100%;border-collapse:collapse}.controls-modal-body td{padding:8px 5px;border-bottom:1px solid #444}.controls-modal-body tr:last-child td{border-bottom:none}.controls-modal-body td:first-child{font-weight:700;color:#fff;width:35%}.controls-modal-body .tips{margin-top:20px;padding-top:15px;border-top:1px solid #555}.controls-modal-body .tips h3{margin:0 0 10px;color:#fff}.controls-modal-body .tips ul{list-style-type:none;padding-left:0;margin:0}.controls-modal-body .tips li{margin-bottom:5px;color:#ccc}.controls-modal-mobile .controls-modal-content{padding:10px}.controls-modal-mobile .modal-header h2{font-size:18px;margin:0}.controls-modal-mobile .controls-modal-body{margin-top:10px}.controls-modal-mobile .controls-modal-body table{font-size:12px}.controls-modal-mobile .controls-modal-body td{padding:4px 3px;font-size:12px;line-height:1.3}.controls-modal-mobile .controls-modal-body td:first-child{font-size:11px;width:30%}.controls-modal-mobile .controls-modal-body .tips{margin-top:12px;padding-top:10px}.controls-modal-mobile .controls-modal-body .tips h3{font-size:14px;margin:0 0 6px}.controls-modal-mobile .controls-modal-body .tips ul{font-size:11px}.controls-modal-mobile .controls-modal-body .tips li{margin-bottom:3px;line-height:1.4}.settings-modal{max-width:800px!important;width:90%!important}.settings-modal-content{background-color:#2a2a2a;border:1px solid #888;border-radius:10px;padding:0;box-shadow:0 5px 15px #00000080;display:flex;flex-direction:column;height:100%;max-height:80vh}.settings-modal-body{display:flex;flex:1;overflow:hidden}.settings-tabs{display:flex;flex-direction:column;width:180px;background-color:#1e1e1e;border-right:1px solid #444;padding:10px 0;overflow-y:auto}.settings-tab{padding:12px 20px;background:none;border:none;color:#ccc;text-align:left;cursor:pointer;transition:background-color .2s,color .2s;font-size:14px;border-left:3px solid transparent}.settings-tab:hover{background-color:#2a2a2a;color:#fff}.settings-tab.active{background-color:#2a2a2a;color:#fff;border-left-color:#3498db;font-weight:700}.settings-content{flex:1;padding:20px;overflow-y:auto}.graphics-settings h3{margin:0 0 20px;color:#fff;font-size:18px;border-bottom:1px solid #444;padding-bottom:10px}.setting-item{margin-bottom:25px}.setting-item label{display:block;color:#fff;margin-bottom:8px;font-size:14px;font-weight:500}.complexity-slider{width:100%;height:6px;border-radius:3px;background:#444;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.complexity-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#3498db;cursor:pointer;border:2px solid #fff;box-shadow:0 2px 4px #0000004d}.complexity-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#3498db;cursor:pointer;border:2px solid #fff;box-shadow:0 2px 4px #0000004d}.complexity-slider::-webkit-slider-thumb:hover{background:#2980b9}.complexity-slider::-moz-range-thumb:hover{background:#2980b9}.setting-item.checkbox-item{margin-top:20px;padding-top:15px;border-top:1px solid #444}.checkbox-item label{display:flex;align-items:center;cursor:pointer;margin-bottom:0}.checkbox-item input[type=checkbox]{width:20px;height:20px;margin-right:10px;cursor:pointer;accent-color:#3498db}.checkbox-item span{color:#fff;font-size:14px;-webkit-user-select:none;user-select:none}.help-tooltip{max-width:350px;min-width:250px;pointer-events:auto}.help-tooltip-content{background-color:#2a2a2a;border:2px solid #4a627a;border-radius:8px;padding:16px;box-shadow:0 4px 12px #00000080}.help-tooltip-header{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #4a627a}.help-tooltip-header h3{margin:0;color:#fff;font-size:18px;font-weight:700}.help-tooltip-body{color:#ddd;font-size:14px;line-height:1.8}.help-tooltip-item{margin:8px 0;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.help-tooltip-item b{color:#fff;font-weight:700;margin-right:4px}.modal{display:none;position:fixed;z-index:100;left:0;top:0;width:100%;height:100%;background-color:#000000b3;justify-content:center;align-items:center}.modal.active{display:flex}.modal-content{background-color:#2a2a2a;padding:20px;border:1px solid #888;width:80%;max-width:400px;border-radius:10px}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #555;padding-bottom:10px;padding-left:20px;padding-right:20px;margin-bottom:15px}.close-button{color:#aaa;font-size:28px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px 0 6px 6px;min-width:22px;min-height:2px;transition:color .2s ease}.close-button:hover{color:#fff}.context-menu{position:absolute;max-width:fit-content;background-color:#2a2a2a;border:1px solid #888;border-radius:5px;padding:5px;z-index:101}.context-menu-mobile{max-width:130px;width:200px}.context-menu button{display:block;width:100%;padding:8px 12px;border:none;background:none;color:#f0f0f0;text-align:left;cursor:pointer}.context-menu button:hover{background-color:#4a627a}@media (max-width: 1200px){.context-menu button{padding:4px 8px;font-size:.75em!important}}.context-menu-tooltip{padding:6px 8px;border-bottom:1px solid #555;margin-bottom:3px;color:#f0f0f0;font-size:.8em}.context-menu-tooltip .tooltip-title{font-size:.95em;font-weight:700;margin-bottom:4px;color:#fff}.context-menu-tooltip .tooltip-stat{color:#2ecc71;margin:2px 0 0;padding:0;font-size:.8em}.context-menu-tooltip .tooltip-action{color:#3498db;margin:2px 0 0;padding:0;font-size:.8em}.context-menu-tooltip .tooltip-flavor-text{color:#fff8dc;margin:2px 0 0;padding:0;font-size:.75em;font-style:italic}.context-menu-tooltip hr{border:none;border-top:1px solid #444;margin:4px 0}.context-menu-tooltip .tooltip-expiration{color:#e74c3c;font-weight:700;font-size:.8em}.buff-icon{transition:transform .2s ease;width:44px;height:44px;border-radius:6px;font-size:24px}.buff-icon.is-debuff{border:2px solid #f87171}.buff-icon.is-buff{border:2px solid #4ade80}.buff-bounce{animation:buffBounce .5s ease infinite}@keyframes buffBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.landscape-prompt{position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#111,#2a2a2a);color:#fff;z-index:9999;display:none;align-items:center;justify-content:center;text-align:center;padding:20px;box-sizing:border-box}.landscape-content{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:400px;width:100%}.landscape-logo{max-width:80%;height:auto;margin-bottom:30px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}.landscape-icon-container{margin:20px 0;height:80px;display:flex;align-items:center;justify-content:center}.phone-icon{width:40px;height:70px;border:3px solid #fff;border-radius:4px;position:relative;animation:phone-rotate 2s ease-in-out infinite alternate}.phone-icon:after{content:"";position:absolute;bottom:5px;left:50%;transform:translate(-50%);width:4px;height:4px;background:#fff;border-radius:50%}@keyframes phone-rotate{0%{transform:rotate(0)}30%{transform:rotate(0)}70%{transform:rotate(-90deg)}to{transform:rotate(-90deg)}}.landscape-prompt h2{margin:20px 0 10px;font-family:Inter,sans-serif;font-weight:600;letter-spacing:1px;color:#3498db;text-transform:uppercase;font-size:1.4rem}.landscape-prompt p{color:#ccc;line-height:1.5;margin-bottom:30px;font-size:.95rem}.landscape-fullscreen-btn{background:linear-gradient(to bottom,#3498db,#2980b9);color:#fff;border:1px solid #3498db;padding:12px 30px;font-size:1rem;font-weight:600;border-radius:25px;cursor:pointer;box-shadow:0 4px 15px #3498db66;transition:all .2s ease;text-transform:uppercase;letter-spacing:1px}.landscape-fullscreen-btn:hover{background:linear-gradient(to bottom,#4aa3df,#3498db);transform:translateY(-2px);box-shadow:0 6px 20px #3498db99}.landscape-fullscreen-btn:active{transform:translateY(0);box-shadow:0 2px 10px #3498db66}@media (orientation: portrait){.landscape-prompt{display:flex}.mobile-device.game-container{display:none}}.mobile-device .top-info{height:50px;padding:0 10px}.mobile-device #game-title-container{height:40px}.mobile-device .help-button{height:24px;padding:0 8px;font-size:.8em}.mobile-device .action-bar{flex-direction:column-reverse;gap:8px;position:fixed;right:10px;top:50%;transform:translateY(-50%);pointer-events:auto}.mobile-device .action-button{width:42px;height:42px;font-size:1.1em}.mobile-device .bottom-ui{padding:10px 60px 10px 10px}.mobile-device .right-hud-container{position:absolute;right:0;bottom:0;width:auto;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;padding-right:10px;pointer-events:none}.mobile-device .info-panels{position:fixed;top:60px;bottom:auto;right:60px}.mobile-device .info-panel{width:240px!important;padding:5px}.mobile-device .info-panel h2{font-size:.9em;margin-bottom:2px;padding-bottom:0}.mobile-device .panel-header{padding-bottom:0}.mobile-device .panel-header h2{font-size:.8em}.mobile-device .panel-header .close-button{font-size:18px}.mobile-device .info-panel,.mobile-device .info-panel h2,.mobile-device .info-panel h3,.mobile-device .info-panel h4,.mobile-device .player-stats-title{font-size:.85em}.mobile-device .player-stat-empty{font-size:.75em}.mobile-device .quest h3{font-size:.9em}.mobile-device .quest-objectives li,.mobile-device .quest-tips h4{font-size:.8em}.mobile-device .quest-tips li{font-size:.75em}.mobile-device .skill-name{font-size:.8em}.mobile-device .skill-xp-text{font-size:.7em}.mobile-device .item-name{font-size:.6em}.mobile-device .item-quantity{font-size:.7em}.mobile-device .inventory-tooltip{font-size:.8em}.mobile-device .inventory-tooltip .tooltip-title{font-size:.95em}@media screen and (max-width: 1200px){.crafting-tooltip{font-size:.8em}.crafting-tooltip .tooltip-title{font-size:.95em}}.mobile-device .inventory-grid,.mobile-device #inventory-view .inventory-grid{gap:4px}.mobile-device .inventory-slot{width:42px;height:42px;font-size:.9em;padding:2px}.mobile-device .item-icon{font-size:1.3em}.mobile-device .inventory-slot button{font-size:.6em;padding:1px 3px}.mobile-device .crafting-recipe{width:45px;height:45px;font-size:1em}.mobile-device #crafting-view{font-size:.85em}.mobile-device #crafting-view h2{font-size:.8em}.mobile-device .crafting-recipe .item-name{font-size:.5em}body:has(.mobile-device) .crafting-tooltip h4{font-size:.85em}body:has(.mobile-device) .crafting-tooltip .tooltip-item{font-size:.85em}body:has(.mobile-device) .crafting-tooltip .special-req{font-size:.75em}.mobile-device .rune-button{width:45px;height:45px;padding:5px}.mobile-device .centered-panel{position:static!important;transform:none!important;top:auto!important;left:auto!important}.mobile-device .gear-panel-content{flex-direction:column;align-items:center;gap:10px}.mobile-device .gear-slots-container{width:100%}.mobile-device .player-stats-container{width:100%;min-width:unset;border-top:1px solid #555;padding-top:10px}.mobile-device .player-stats-list{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px}.mobile-device .player-stat{font-size:.8em;background:#0000004d;padding:2px 5px;border-radius:3px}.mobile-device .gear-slot-placeholder{width:45px;height:45px}.mobile-device #bank-view.info-panel{width:280px!important;position:absolute;box-sizing:border-box;padding:5px;max-height:80vh;min-height:280px;overflow:hidden;min-width:0;display:flex;flex-direction:column;align-items:stretch}.mobile-device #bank-view .inventory-slot{box-sizing:border-box;max-width:100%}.mobile-device #bank-view .panel-header{flex-shrink:0;width:100%;box-sizing:border-box}.mobile-device #bank-view .inventory-grid{display:grid!important;grid-template-columns:repeat(6,1fr);gap:3px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:1px;flex:1 1 0;overflow-y:auto;overflow-x:hidden;min-height:0}.mobile-device #bank-view .inventory-grid .inventory-slot{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.mobile-device #shop-view{min-width:300px;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;min-height:230px;box-sizing:border-box;padding:5px}.mobile-device #shop-view .panel-header{flex-shrink:0;width:100%;box-sizing:border-box}.mobile-device #shop-view .inventory-grid{display:grid!important;grid-template-columns:repeat(6,1fr);gap:3px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:1px;flex:1 1 0;overflow-y:auto;overflow-x:hidden;min-height:0}.mobile-device #shop-view .inventory-grid .inventory-slot{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.mobile-device #echo-well-view{width:280px!important;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;min-height:280px;box-sizing:border-box;padding:5px}.mobile-device #echo-well-view .panel-header{flex-shrink:0;width:100%;box-sizing:border-box}.mobile-device #echo-well-view .echo-well-grid{display:grid!important;grid-template-columns:repeat(5,1fr);gap:3px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:1px;flex:1 1 0;overflow-y:auto;overflow-x:hidden;min-height:0}.mobile-device #echo-well-view .echo-well-grid .inventory-slot{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.mobile-device #player-hud-bottom{padding:4px 10px;gap:10px;font-size:.8em}.mobile-device .hp-display,.mobile-device .resonance-display{width:120px;font-size:1em}.mobile-device #health-bar-container,.mobile-device #resonance-bar-container{height:14px}.mobile-device .buff-icon{width:30px;height:30px;font-size:16px}.mobile-device #chat-container{position:fixed;top:60px;left:0;bottom:auto;width:250px;background:#000c;z-index:100;border:1px solid #555}.mobile-device #player-coords{white-space:nowrap}.mobile-device .modal-content{font-size:.9em;width:90%}.mobile-device .modal-header{margin-bottom:10px;padding-bottom:5px}@media (display-mode: fullscreen){body{overflow:hidden;position:fixed;width:100%;height:100%}}.mobile-device,.mobile-device body{min-height:-webkit-fill-available}@supports (-webkit-touch-callout: none){.mobile-device{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}}.ios-fullscreen-attempt{position:fixed;width:100%;height:100%;overflow:hidden}@supports (-webkit-touch-callout: none){.mobile-device.game-container{min-height:100vh;min-height:-webkit-fill-available}}.touch-drag-ghost{pointer-events:none;opacity:.7;z-index:10000;transform:scale(1.1);transition:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}.inventory-slot.touch-dragging{opacity:.5;transform:scale(.95);transition:opacity .1s,transform .1s}.inventory-slot.touch-drag-target{outline:2px solid #4a9eff;outline-offset:-2px;background-color:#4a9eff33;transition:background-color .1s,outline .1s}.error-messages-container{position:fixed;top:20%;left:50%;transform:translate(-50%);pointer-events:none;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:8px}.error-message{position:relative;color:#e74c3c;font-size:24px;font-family:Inter,sans-serif;font-weight:500;text-align:center;white-space:nowrap;animation:errorMessageFloat 4s ease-out forwards}@keyframes errorMessageFloat{0%{opacity:1;transform:translateY(0)}to{opacity:.3;transform:translateY(-80px)}}.notification-container{position:fixed;top:80px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:10px;pointer-events:none}.notification{min-width:300px;max-width:400px;background-color:#1e1e1ef2;border:1px solid #555;border-radius:6px;padding:12px 16px;box-shadow:0 4px 12px #0000004d;pointer-events:auto;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.notification-content{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.notification-message{flex:1;color:#f0f0f0;font-size:.9em;line-height:1.4}.notification-close{background:none;border:none;color:#aaa;font-size:24px;line-height:1;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:color .2s}.notification-close:hover{color:#f0f0f0}.notification-echo_well_items{border-left:3px solid #3498db}.notification-echo_drop{border-left:3px solid #9b59b6}.notification-info{border-left:3px solid #3498db}.notification-warning{border-left:3px solid #f39c12}.notification-error{border-left:3px solid #e74c3c}.dpad-container{position:fixed;bottom:20px;left:20px;width:150px;height:150px;z-index:90;touch-action:none;user-select:none;-webkit-user-select:none}.dpad-button{position:absolute;background-color:#0000;border:2px solid rgba(243,236,213,.6);border-radius:8px;box-sizing:border-box;pointer-events:none;transition:background-color .1s}.dpad-button.active{background-color:#ffffff4d;box-shadow:0 0 10px #ffffff4d}.dpad-up{top:0;left:50px;width:50px;height:51px;border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.dpad-down{bottom:0;left:50px;width:50px;height:51px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.dpad-left{top:50px;left:0;width:51px;height:50px;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.dpad-right{top:50px;right:0;width:51px;height:50px;border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.dpad-center{position:absolute;top:50px;left:50px;width:50px;height:50px;background-color:#0000}.dpad-button.dpad-tutorial-glow{animation:dpad-glow-pulse 3s ease-in-out infinite}@keyframes dpad-glow-pulse{0%,to{background-color:#ffffff26}50%{background-color:#ffffff59}}.highscores-container{min-height:100vh;background-color:#1a1a1a;color:#f0f0f0;display:flex;flex-direction:column;align-items:center;padding:40px 20px;font-family:Inter,sans-serif}.highscores-header{margin-bottom:40px;text-align:center}.highscores-logo{height:80px;max-width:100%;object-fit:contain}.highscores-content{width:100%;max-width:1200px}.highscores-loading,.highscores-error{text-align:center;padding:40px;font-size:1.2em;color:#ccc}.highscores-error{color:#ff6b6b}.highscores-table{width:100%;border-collapse:collapse;background-color:#2a2a2a;border-radius:8px;overflow:hidden;box-shadow:0 4px 6px #0000004d}.highscores-table thead{background-color:#333}.highscores-table th{padding:16px;text-align:left;font-weight:600;color:#f0f0f0;border-bottom:2px solid #444;text-transform:uppercase;font-size:.9em;letter-spacing:.5px}.highscores-table th:first-child{text-align:center;width:80px}.highscores-table th:nth-child(2){min-width:150px}.highscores-table th:nth-child(n+3){text-align:right}.highscores-table tbody tr{border-bottom:1px solid #3a3a3a;transition:background-color .2s}.highscores-table tbody tr:hover{background-color:#333}.highscores-table tbody tr:last-child{border-bottom:none}.highscores-table tbody tr:nth-child(2n){background-color:#252525}.highscores-table tbody tr:nth-child(2n):hover{background-color:#333}.highscores-table td{padding:14px 16px;color:#e0e0e0}.highscores-table .rank-cell{text-align:center;font-weight:600;color:#3498db;font-size:1.1em}.highscores-table .player-cell{font-weight:500;color:#f0f0f0}.highscores-table td:nth-child(n+3){text-align:right;font-family:Courier New,monospace;color:#ccc}.highscores-empty{text-align:center;padding:40px;color:#888;font-style:italic}@media (max-width: 768px){.highscores-container{padding:20px 10px}.highscores-logo{height:60px}.highscores-table{font-size:.9em}.highscores-table th,.highscores-table td{padding:10px 8px}.highscores-table th:first-child{width:60px}}.admin-panel{min-height:100vh;background-color:#1a1a1a;color:#f0f0f0;padding:20px;font-family:Inter,sans-serif}.admin-login{max-width:400px;margin:100px auto;padding:40px;background:#ffffff0d;border-radius:8px;border:1px solid rgba(255,255,255,.1)}.admin-login h1{margin-top:0;margin-bottom:30px;text-align:center;color:#fff}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.1)}.admin-header h1{margin:0;color:#fff}.logout-button{padding:8px 16px;background-color:#e74c3c;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.logout-button:hover{background-color:#c0392b}.admin-content{max-width:800px;margin:0 auto}.status-section,.commands-section{background:#ffffff0d;border-radius:8px;padding:20px;margin-bottom:20px;border:1px solid rgba(255,255,255,.1)}.status-section h2,.commands-section h2{margin-top:0;margin-bottom:20px;color:#fff;font-size:1.5em}.status-info{display:flex;flex-direction:column;gap:15px}.status-item{display:flex;justify-content:space-between;align-items:center;padding:10px;background:#0003;border-radius:4px}.status-label{font-weight:600;color:#ccc}.status-value{font-weight:700;color:#fff}.status-value.downtime-enabled{color:#e74c3c}.status-value.downtime-disabled{color:#27ae60}.command-buttons{display:flex;flex-direction:column;gap:15px}.command-button{padding:15px 20px;border:none;border-radius:6px;cursor:pointer;font-size:16px;font-weight:600;transition:all .2s}.command-button:disabled{opacity:.5;cursor:not-allowed}.command-button-danger{background-color:#e74c3c;color:#fff}.command-button-danger:hover:not(:disabled){background-color:#c0392b}.command-button-warning{background-color:#f39c12;color:#fff}.command-button-warning:hover:not(:disabled){background-color:#d68910}.command-button-success{background-color:#27ae60;color:#fff}.command-button-success:hover:not(:disabled){background-color:#229954}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#ccc;font-weight:500}.form-group input{width:100%;padding:10px;border:1px solid rgba(255,255,255,.2);background-color:#0000004d;color:#f0f0f0;border-radius:4px;font-size:14px;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#3498db}form button[type=submit]{width:100%;padding:12px;background-color:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:600}form button[type=submit]:hover:not(:disabled){background-color:#2980b9}form button[type=submit]:disabled{opacity:.5;cursor:not-allowed}.message{padding:12px 16px;border-radius:4px;margin-bottom:20px;font-weight:500}.message-success{background-color:#27ae6033;border:1px solid #27ae60;color:#27ae60}.message-error{background-color:#e74c3c33;border:1px solid #e74c3c;color:#e74c3c}.loading,.error{padding:20px;text-align:center;color:#ccc}.error{color:#e74c3c}
