*{box-sizing:border-box}html,body{margin:0;height:100%;background:#10151d;color:#e5e7eb;font-family:Segoe UI,system-ui,sans-serif;overflow:hidden}#app{display:flex;flex-direction:column;height:100%}#game{flex:1;min-height:0}body:not(.inicio):not(.editor) #app{width:min(100%,max(780px,calc((100vh - 196px)*1.6)));margin:0 auto}body{--lado: 0px}body:not(.inicio):not(.editor){--lado: max(0px, (100vw - max(780px, (100vh - 196px) * 1.6)) / 2)}body:not(.inicio):not(.editor) .overlay{left:var(--lado);right:var(--lado)}#hud{height:196px;display:grid;grid-template-columns:minmax(160px,1fr) 168px minmax(400px,1.25fr);gap:12px;padding:8px 12px;background:linear-gradient(#34343a,#26262c 40%,#1e1e24);border-top:4px solid #5a5a62;box-shadow:inset 0 2px #1a1a1e,inset 0 4px #8a7a5a}.hidden{display:none!important}.hud-chat{display:flex;flex-direction:column;min-width:0;min-height:0}.hud-chat-head{display:flex;justify-content:space-between;gap:8px;font-size:13px;padding:0 2px 4px;white-space:nowrap;overflow:hidden}.map-coords{color:#c9c0a8;font-size:12px}.hud-center{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.minimap{width:132px;height:132px;border-radius:50%;border:3px solid #8a7a5a;box-shadow:0 0 0 3px #1a1a1e,0 0 0 6px #5a5a62,0 0 0 7px #000;background:#0b1220;cursor:pointer}#minimap-tip{position:fixed;z-index:200;pointer-events:none;padding:3px 8px;border-radius:4px;background:#111827eb;color:#e5e7eb;font-size:13px;white-space:nowrap}.hud-heart{position:absolute;top:-12px;left:50%;transform:translate(-50%);z-index:1;width:84px;height:66px;overflow:hidden;background:#3a0a0a;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 66' preserveAspectRatio='none'%3E%3Cpath d='M42 64 C 18 48, 2 36, 2 21 C 2 9, 12 2, 22 2 C 31 2, 38 7, 42 13 C 46 7, 53 2, 62 2 C 72 2, 82 9, 82 21 C 82 36, 66 48, 42 64 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 66' preserveAspectRatio='none'%3E%3Cpath d='M42 64 C 18 48, 2 36, 2 21 C 2 9, 12 2, 22 2 C 31 2, 38 7, 42 13 C 46 7, 53 2, 62 2 C 72 2, 82 9, 82 21 C 82 36, 66 48, 42 64 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;font:800 14px Nunito,sans-serif;color:#fff;text-shadow:0 1px 2px #000,0 0 4px #000}.hud-heart:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 66' preserveAspectRatio='none'%3E%3Cpath d='M42 64 C 18 48, 2 36, 2 21 C 2 9, 12 2, 22 2 C 31 2, 38 7, 42 13 C 46 7, 53 2, 62 2 C 72 2, 82 9, 82 21 C 82 36, 66 48, 42 64 Z' fill='none' stroke='%23e8c66a' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat}.hud-heart-fill{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(#ff7a7a,#c81e1e 60%,#8a1010);transition:height .3s}.hud-heart span{position:relative;margin-top:-8px;white-space:nowrap}.hud-heart.long{font-size:11px}.hud-heart.xlong{font-size:9.5px}.hud-center .stats{position:absolute;bottom:-4px}.hud-right{display:flex;flex-direction:column;gap:6px;min-width:0;position:relative}.hud-top-right{display:flex;align-items:center;justify-content:space-between;gap:10px}.hud-level{min-width:0;flex:1;max-width:220px}.hud-level .xp-bar{margin-top:2px;border-color:#8a7a5a}.hud-level .xp-fill{background:linear-gradient(90deg,#c84a1c,#f0a040)}.explore-class{font-size:12px;font-weight:700;color:#e8c66a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-menu{display:flex;gap:5px}.menu-btn{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;border:2px solid #5a3a14;background:radial-gradient(circle at 40% 30%,#ffd870,#c8962a 55%,#8a5a1c);box-shadow:inset 0 -3px #00000059,0 0 0 2px #1a1a1e,0 2px 0 2px #000;font:inherit;font-size:20px;line-height:1;cursor:pointer}.menu-btn:hover:not(:disabled){filter:brightness(1.15);transform:translateY(-1px)}.menu-btn:disabled{opacity:.4;cursor:not-allowed}.menu-btn .badge{position:absolute;top:-6px;right:-8px;margin:0;font-size:11px;box-shadow:0 0 0 2px #1a1a1e}.hud-bottom-right{flex:1;display:flex;gap:6px;align-items:stretch;min-height:0}.hud-tabs{display:flex;flex-direction:column;gap:3px;flex:none}.hud-tab{writing-mode:vertical-rl;font-size:11px;font-weight:700;color:#8a8a92;padding:6px 3px;background:#1a1a1e;border:1px solid #5a5a62;border-radius:0 4px 4px 0}.hud-tab.on{color:#2a1a04;background:linear-gradient(90deg,#f0c050,#a87818);border-color:#8a7a5a}.hud-right .status-line{position:absolute;bottom:-6px;left:0;margin:0}.fighter-info{position:absolute;top:0;right:0;bottom:-2px;left:0;z-index:5;display:flex;gap:10px;padding:6px 8px;border-radius:8px;background:#172030;border:1px solid #374151;border-top:3px solid #60a5fa}.fighter-info.enemy{border-top-color:#ef4444}.fi-effects{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.fi-effects-title{font-size:13px;font-weight:700;color:#d1d5db;text-align:center}.fi-effects-list{flex:1;border-radius:6px;background:#0f1724;border:1px solid #2b3647;padding:6px 8px;font-size:12px;color:#6b7280;overflow:hidden}.fi-main{flex-shrink:0;width:270px;display:grid;grid-template-columns:1fr 72px;grid-template-rows:auto 1fr auto auto;column-gap:10px;align-items:center}.fi-text{text-align:right;align-self:start;padding-top:4px}.fi-name{font-size:17px;font-weight:800;color:#f3f4f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fi-level{font-size:13px;color:#9ca3af}.fi-portrait{grid-column:2;grid-row:1 / 3;width:72px;height:72px;border-radius:8px;image-rendering:pixelated;background:radial-gradient(ellipse at 50% 75%,rgba(255,255,255,.14),transparent 70%),#0b1220}.fi-stats{grid-column:1 / 3;grid-row:3;display:flex;justify-content:space-between;gap:10px;margin-top:4px;font-size:16px;white-space:nowrap}.fi-stats b{font-weight:800}.fi-hp{color:#f87171}.fi-pa{color:#60a5fa}.fi-pm{color:#4ade80}.fi-bar{grid-column:1;grid-row:2;align-self:end;height:8px}.fi-res{grid-column:1 / 3;grid-row:4;display:flex;justify-content:space-between;gap:4px;margin-top:2px;font-size:12px;color:#d1d5db;white-space:nowrap}.fi-res b{font-weight:800;color:#f3f4f6}.fi-res b.neg{color:#f87171}.fi-res b.pos{color:#4ade80}.hp-bar{height:12px;border-radius:6px;background:#0b1220;overflow:hidden;border:1px solid #374151}.hp-fill{height:100%;background:linear-gradient(#f87171,#dc2626);transition:width .3s}.xp-bar{height:6px;margin-top:5px;border-radius:3px;background:#0b1220;overflow:hidden;border:1px solid #374151}.xp-bar.big{height:12px;border-radius:6px}.xp-fill{height:100%;background:linear-gradient(#fcd34d,#d97706);transition:width .4s}.xp-text{font-size:11px;color:#fcd34d;margin-top:2px;font-variant-numeric:tabular-nums}.badge{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:9px;background:#dc2626;color:#fff;font-size:12px}.badge.hidden{display:none}.overlay .panel.start-panel{width:min(940px,100%)}.servers{display:flex;flex-direction:column;align-items:center;gap:12px}.servers.hidden,.creation.hidden{display:none}.srv-title{margin:4px 0 0;font-size:15px;color:#fde68a;letter-spacing:.5px}.server-list{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.overlay button.server-card{position:relative;width:168px;height:236px;padding:0;overflow:hidden;border-radius:10px;border:3px solid #4b5563;background:#111827;box-shadow:0 6px 18px #00000080}.overlay button.server-card.selected{border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b59,0 6px 18px #00000080}.server-card img{width:100%;height:100%;object-fit:cover;display:block}.server-card .srv-label{position:absolute;left:0;right:0;bottom:0;padding:18px 8px 8px;background:linear-gradient(transparent,#000000d9 45%);display:flex;flex-direction:column;align-items:center;gap:2px}.srv-name{font-size:17px;font-weight:800;color:#fde68a;text-shadow:0 1px 3px #000}.srv-status{font-size:11px;font-weight:800;letter-spacing:.5px}.srv-status.on{color:#4ade80}.srv-status.off{color:#f87171}.char-slots{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.overlay button.char-slot{position:relative;width:124px;padding:0;border:none;background:none;display:flex;flex-direction:column;align-items:center;font-weight:400}.char-slot .cs-stage{position:relative;width:124px;height:132px;display:flex;justify-content:center}.char-slot .cs-pedestal{position:absolute;left:14px;right:14px;bottom:4px;height:30px;border-radius:50%;background:radial-gradient(ellipse at 50% 40%,#6b7280,#374151 60%,#1f2937);box-shadow:0 4px 8px #0009,inset 0 -3px #111827}.char-slot.selected .cs-pedestal{background:radial-gradient(ellipse at 50% 40%,#fdba74,#f59e0b 55%,#b45309);box-shadow:0 0 14px #f59e0b99,inset 0 -3px #92400e}.char-slot .cs-figure{position:absolute;left:50%;transform:translate(-50%);bottom:12px;height:112px;width:auto;filter:drop-shadow(0 3px 2px rgba(0,0,0,.5))}.char-slot .cs-initial{position:absolute;left:50%;transform:translate(-50%);bottom:22px;width:56px;height:80px;border-radius:28px 28px 10px 10px;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:#fff}.char-slot .cs-bar{width:100%;padding:4px 6px 5px;border-radius:6px;background:#e5e7eb;color:#111827;text-align:left}.char-slot.selected .cs-bar{background:#fde68a}.char-slot .cs-name{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:14px}.char-slot .cs-info{font-size:11px;color:#4b5563}.char-slot .cs-del{position:absolute;right:4px;bottom:18px;width:16px;height:16px;border-radius:50%;font-size:13px;font-weight:800;line-height:15px;text-align:center;color:#6b7280;cursor:pointer}.char-slot .cs-del:hover{background:#dc2626;color:#fff}.overlay button.char-slot.empty{cursor:default}.char-slot.empty .cs-pedestal{opacity:.35}.char-slot.empty .cs-bar{background:#1f293799;color:#4b5563;text-align:center;font-size:12px}.overlay button.play-btn{background:#16a34a;font-size:17px;padding:10px 44px}.overlay button.play-btn:hover:not(:disabled){background:#15803d}.overlay button.create-btn{background:#2563eb;color:#fff;font-size:17px;padding:10px 28px}.overlay button.create-btn:hover:not(:disabled){background:#1d4ed8}.overlay button.play-btn:disabled,.overlay button#create-btn:disabled{opacity:.4;cursor:not-allowed}.create-server{display:flex;align-items:center;gap:8px;color:#9ca3af;font-size:13px}.create-server-list{display:flex;gap:6px}.overlay button.server-chip{display:flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border:2px solid #f59e0b;background:#111827;color:#fde68a;font-size:13px}.server-chip img{width:26px;height:26px;border-radius:4px;object-fit:cover;object-position:top}.overlay button.creation-back{margin-top:14px}.overlay .panel.login-panel{width:min(380px,100%)}body.inicio #hud{display:none}.login-form{display:flex;flex-direction:column;gap:10px}.login-form.hidden{display:none}.login-form h2{margin:0 0 4px;font-size:18px;color:#d1d5db}.login-switch{margin:6px 0 0;color:#9ca3af;font-size:13px}.overlay input{padding:10px 12px;border-radius:8px;border:1px solid #4b5563;background:#111827;color:#f3f4f6;font:inherit}.overlay input:focus{outline:none;border-color:#60a5fa}.login-msg{min-height:1.2em;color:#f87171;font-size:13px}.login-msg.ok{color:#9ca3af}.captcha{min-height:65px;color:#9ca3af;font-size:13px}.captcha.hidden,.overlay button.link-btn.hidden{display:none}.overlay button:disabled{opacity:.5;cursor:wait}.overlay button.link-btn{background:none;padding:4px;color:#93c5fd;font-weight:400;font-size:13px}.overlay button.link-btn:hover{text-decoration:underline}.account-bar{color:#9ca3af;font-size:13px;margin:-16px 0 12px}.account-bar.hidden,.new-character.hidden,.import-local.hidden{display:none}.new-character{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:8px}.new-character h1{margin-bottom:4px}.new-character input{width:min(280px,100%);text-align:center;font-size:16px}.import-local{display:flex;flex-direction:column;align-items:center;gap:4px;color:#9ca3af;font-size:13px}.end-rewards{margin:-6px 0 18px;display:flex;flex-direction:column;gap:4px}.end-rewards .xp{color:#fcd34d;font-weight:700;font-size:18px}.end-rewards .levelup{color:#4ade80;font-weight:700;font-size:16px}.end-rewards .note{color:#d1d5db;font-size:13px}.overlay .panel.forge{position:relative;text-align:left;color:#e8e2d4;padding:14px;border-radius:4px;background:linear-gradient(135deg,#3a3a40,#26262c 40%,#2e2e34 70%,#1e1e24);border:8px solid #5a5a62;box-shadow:inset 0 0 0 2px #1a1a1e,inset 0 0 40px #000000b3,0 20px 50px #000c}.forge .rivet{position:absolute;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#c8c8d0,#5a5a62 60%,#222)}.forge .rivet.tl{left:6px;top:6px}.forge .rivet.tr{right:6px;top:6px}.forge .rivet.bl{left:6px;bottom:6px}.forge .rivet.br{right:6px;bottom:6px}.forge-head{font:700 22px Metamorphous,serif;color:#e8c66a;text-align:center;margin-bottom:10px;text-shadow:0 2px 0 #000;letter-spacing:1px}.overlay button.forge-x{position:absolute;right:12px;top:10px;padding:0 4px;background:none;color:#a0a0a8;font-size:16px}.overlay button.forge-x:hover{color:#fff}.forge-sec{font:700 20px Metamorphous,serif;color:#e8c66a;margin:12px 0 6px;display:flex;align-items:center;gap:8px}.forge-sec .rune{font-size:20px;color:#7ad0ff;font-family:Segoe UI Historic,serif}.forge-foot{margin-top:10px;padding:8px;display:flex;justify-content:center;gap:8px;font-weight:800;background:#1a1a1e;border:1px solid #8a7a5a;color:#e8c66a}.overlay .forge button.brass{padding:0;width:22px;height:22px;display:grid;place-items:center;font-weight:900;background:linear-gradient(#f0c050,#a87818);color:#2a1a04;border-radius:3px;box-shadow:0 2px #000}.overlay .forge button.brass:disabled{opacity:.3;cursor:not-allowed}.overlay .panel.char-panel{width:min(440px,100%)}.char-top{display:grid;grid-template-columns:48px 118px 1fr;gap:10px;align-items:center}.char-side{display:grid;gap:10px;align-self:start}.overlay button.char-sq{position:relative;width:48px;height:48px;padding:0;display:grid;place-items:center;font-size:26px;border-radius:0;background:linear-gradient(#1a1a1e,#2a2a30);border:2px solid #8a7a5a;box-shadow:inset 0 0 12px #000}.overlay button.char-sq:hover{border-color:#e8c66a;box-shadow:inset 0 0 12px #000,0 0 10px #e8c66a80}.char-sq svg{width:34px;height:34px}.char-sq:after{content:attr(data-tip);position:absolute;left:56px;top:4px;z-index:5;white-space:pre;text-align:left;display:none;background:#1a1a1e;border:2px solid #e8c66a;color:#fff;font-weight:700;font-size:14px;line-height:1.3;padding:5px 10px;box-shadow:0 6px 16px #000000b3}.char-sq:hover:after{display:block}.char-pic{height:118px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:linear-gradient(#1a1a1e,#2a2a30);border:2px solid #8a7a5a;box-shadow:inset 0 0 20px #000}.char-pic img{max-height:112px;max-width:112px;image-rendering:pixelated}.char-pic img.hidden{display:none}.char-name{font:700 24px Metamorphous,serif;color:#fff}.char-level{color:#c9c0a8;margin:2px 0 8px}.char-panel .xp-bar{margin:0;border:2px solid #8a7a5a;border-radius:0;background:#111}.char-panel .xp-fill{background:linear-gradient(90deg,#c84a1c,#f0a040)}.char-panel .xp-text{font-size:13px;color:#c9c0a8;margin-top:4px}.char-rows{margin-top:10px}.char-stat{display:flex;align-items:center;gap:9px;padding:5px 10px;background:#00000040;margin-bottom:3px;border-left:4px solid #5a5a62}.char-stat.main{border-left-color:#e8c66a;font-weight:800;font-size:17px}.char-stat .icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:14px;background:#4b5563}.char-stat .label{flex:1;min-width:0}.char-stat .value{margin-left:auto;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.char-stat .value small{opacity:.75;font-size:.85em;margin-left:4px}.char-stat .brass{margin-left:10px}.char-stat.spending{border-left-color:#e8c66a;background:#e8c66a1a;margin-bottom:0}.char-spend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px 8px 14px;margin-bottom:3px;background:#e8c66a0f;border-left:4px solid #e8c66a;font-size:13px}.char-spend>.muted{margin-right:auto}.overlay .forge .char-spend button.brass{margin:0}.overlay .forge .char-spend button[data-spend-max],.overlay .forge .char-spend button[data-spend-ok]{width:auto;padding:0 9px;font-size:12px}.overlay .forge .char-spend button[data-spend-ok]{height:24px;padding:0 14px}.overlay .char-spend input{width:60px;height:24px;padding:0 4px;text-align:center;font:inherit;font-weight:700;color:#f5ecd6;background:#111;-moz-appearance:textfield}.char-spend input::-webkit-inner-spin-button,.char-spend input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.char-spend-out{flex:1 0 60%;white-space:nowrap}.char-derived{margin-top:10px;font-size:13px;color:#c9c0a8;line-height:1.6}.char-spell{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 10px;margin-bottom:3px;background:#00000040;border-left:4px solid #5a5a62;font-size:13px}.char-spell.locked{color:#8a8a92}.char-spell .lvl{color:#c9c0a8;white-space:nowrap}.char-points.forge-foot{margin-top:10px}.secondary-btn{background:#4b5563;color:#e5e7eb}.overlay .panel.map-panel{width:min(1080px,100%);padding:24px}.world-grid{height:min(64vh,680px);overflow:hidden;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;margin:0 auto 10px;border-radius:10px;border:2px solid #1f2937;background:#2c6a8e}.world-grid.dragging{cursor:grabbing}.world-grid svg{display:block}.world-grid .wm-cell{cursor:inherit}.world-grid .wm-cell:hover{stroke:#fff;stroke-width:2.5}.world-grid .wm-place{transition:transform .16s ease-out}.world-grid .wm-region{font:700 17px system-ui,sans-serif;fill:#fff;text-anchor:middle;pointer-events:none;stroke:#1e160cd9;stroke-width:4px;paint-order:stroke;letter-spacing:.02em}.world-grid .wm-band{font-size:13px;fill:#fde68a}.world-grid .wm-far{font-size:40px;fill:#e5e7eb;font-style:italic;stroke-width:6px}.world-grid .wm-far-note{font-size:22px;fill:#cbd5e1;font-style:italic;stroke-width:5px}.world-modes{display:flex;gap:6px;justify-content:center;margin-bottom:10px}.overlay .world-modes button{padding:4px 14px;font-size:13px;background:#374151;color:#d1d5db}.overlay .world-modes button.on{background:#f59e0b;color:#111827}.world-info{min-height:20px;font-size:13px;color:#d1d5db;margin-bottom:6px}.world-info b{color:#fff}.easy{color:#4ade80}.fair{color:#fcd34d}.hard{color:#f87171}.map-legend{font-size:12px;color:#9ca3af;margin-bottom:16px}.map-legend .legend-note{color:#6b7280}.overlay .panel.inv-panel{width:min(940px,100%);text-align:left}.inv-panel h1{text-align:center;margin-bottom:12px}.inv-panel h2{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;margin:0 0 8px}.inv-tabs{display:flex;gap:6px;justify-content:center;margin-bottom:14px}.overlay .inv-tab{background:#374151;color:#d1d5db;padding:6px 16px}.overlay .inv-tab.active{background:#3b82f6;color:#fff}.inv-body{min-height:260px;margin-bottom:16px}.inv-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.inv-row{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #374151}.inv-icon{width:26px;text-align:center;font-size:18px;flex-shrink:0}.inv-label{flex:1;min-width:0;display:flex;flex-direction:column}.inv-label small{color:#9ca3af}.bonus{color:#4ade80!important;font-size:12px}.muted{color:#6b7280;font-size:13px}.overlay button.small{padding:4px 12px;font-size:13px}.overlay button.small:disabled{opacity:.35;cursor:not-allowed}.inv-set{font-size:13px;padding:3px 0}.inv-total{margin-top:12px;font-size:13px;color:#d1d5db}.inv-resources{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.inv-res{display:flex;align-items:center;gap:8px;background:#111827;border:1px solid #374151;border-radius:8px;padding:6px 10px;font-size:13px}.inv-res span:nth-child(2){flex:1}.inv-craftset{border:1px solid #374151;border-radius:8px;padding:6px 12px;margin-bottom:8px;background:#111827}.inv-craftset summary{cursor:pointer;padding:4px 0}.inv-craftset .set-bonuses{margin:4px 0 6px;font-size:12px}.inv-craftset .ok{color:#4ade80}.inv-craftset .missing{color:#f87171}.end-rewards .drops{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:4px}.end-rewards .drops span{background:#111827;border:1px solid #374151;border-radius:6px;padding:3px 8px;font-size:13px}.char-stat .value small{margin-left:3px}.rig-panel{position:fixed;left:12px;bottom:12px;display:flex;flex-wrap:wrap;gap:8px;max-width:calc(100% - 24px)}.rig-panel button{padding:8px 14px;border-radius:8px;border:2px solid #374151;background:#1e293b;color:#e5e7eb;font:inherit;font-weight:700;cursor:pointer}.rig-panel button:hover{border-color:#60a5fa}.rig-panel button.on{border-color:#f59e0b;background:#3b2a12}.turn-portrait{position:fixed;top:12px;left:calc(var(--lado) + 12px);z-index:40;display:flex;align-items:flex-start;gap:8px;pointer-events:none}.tp-frame{width:150px;height:180px;border-radius:10px;border:3px solid #a16207;background:radial-gradient(circle at 50% 40%,#f5ecd7,#d9c8a2);box-shadow:0 6px 18px #00000073;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.turn-portrait.enemy .tp-frame{border-color:#b91c1c}.turn-portrait.ally .tp-frame{border-color:#1d4ed8}.tp-frame img{max-width:92%;max-height:92%;object-fit:contain;margin-bottom:6px}.tp-frame canvas{width:150px;height:150px}.tp-info{min-width:150px;padding:6px 10px 8px;border-radius:8px;background:#111827eb;border:2px solid #374151}.tp-name{font-weight:800;font-size:15px}.tp-level{font-size:12px;color:#93c5fd;margin:1px 0 5px}.tp-hptext{font-size:11px;color:#fca5a5;margin-top:2px}.tp-tag{font-size:11px;color:#fde047;margin-top:3px;min-height:14px}.turn-order{position:fixed;right:calc(var(--lado) + 16px);bottom:206px;z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:calc(100% - 32px)}.turn-cards{display:flex;align-items:flex-end;gap:4px;padding-top:12px;overflow:hidden}.tcard{position:relative;width:44px;flex:none;border-radius:6px;border:2px solid #4b5563;background:#f5ecd7;box-shadow:0 3px 8px #00000073;cursor:default}.tcard.ally{border-bottom:5px solid #2563eb}.tcard.enemy{border-bottom:5px solid #dc2626}.tcard.current{width:54px;border-color:#f59e0b;border-bottom-width:5px}.tcard.ally.current{border-bottom-color:#2563eb}.tcard.enemy.current{border-bottom-color:#dc2626}.tcard.current:before{content:"";position:absolute;top:-11px;left:50%;transform:translate(-50%);border:6px solid transparent;border-top:7px solid #f59e0b}.tcard.hover{outline:2px solid #fff}.tcard.ready:after{content:"✓";position:absolute;top:-8px;right:-6px;width:18px;height:18px;border-radius:50%;background:#22c55e;color:#fff;font-size:12px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 1px 3px #00000080}.tc-face{position:relative;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px 4px 0 0;color:#fff;font-weight:800}.tcard.current .tc-face{height:56px}.tc-face img{width:100%;height:100%;object-fit:cover;object-position:top}.tc-clock{position:absolute;left:0;right:0;bottom:0;background:#f59e0b80;border-top:2px solid #f59e0b;transition:height .1s linear;pointer-events:none}.tc-clock.low{background:#ef444480;border-top-color:#ef4444}.tc-hp{height:4px;background:#111827}.tc-hp div{height:100%;background:#22c55e}.turn-timer{position:relative;width:220px;height:12px;border-radius:6px;background:#111827e6;border:1px solid #374151;overflow:hidden}.turn-timer-fill{height:100%;background:#f59e0b;transition:width .1s linear}.turn-timer-fill.low{background:#ef4444}.turn-timer-text{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;font-size:10px;line-height:12px;font-weight:700;color:#fff;text-shadow:0 1px 2px #000}.target-card{position:fixed;right:calc(var(--lado) + 12px);bottom:208px;display:flex;gap:10px;padding:10px;min-width:230px;border-radius:10px;background:#111827f0;border:2px solid #374151;pointer-events:none;z-index:50;box-shadow:0 6px 20px #0006}.target-card.hidden{display:none}.target-card.enemy{border-color:#b91c1c}.target-card.ally{border-color:#1d4ed8}.target-card canvas{border-radius:8px;flex-shrink:0}.target-name{font-weight:700;font-size:15px;margin-bottom:4px}.target-info{font-size:12px;min-width:0}.target-info .row{display:flex;gap:6px;margin-top:4px}.target-info .hp-bar{width:130px;height:10px}.target-info .member{margin-top:3px;color:#d1d5db}.target-info .tag{color:#9ca3af;font-size:11px}.end-text{color:#d1d5db;margin:-8px 0 18px}.turn{font-weight:700;font-size:13px}.turn.player{color:#60a5fa}.turn.enemy{color:#f87171}.stats{display:flex;gap:6px}.stat{padding:2px 8px;border-radius:6px;font-weight:700;font-size:13px;background:#0b1220;border:1px solid #374151}.stat.hp{color:#f87171}.stat.pa{color:#60a5fa}.stat.pm{color:#4ade80}.spells{flex:1;display:grid;grid-template-columns:repeat(auto-fill,44px);grid-template-rows:44px 44px;grid-auto-rows:44px;gap:4px;align-content:start;overflow-y:auto;padding:4px;background:#00000059;border:1px solid #5a5a62;box-shadow:inset 0 0 12px #000}.spell{position:relative;padding:0;border-radius:3px;border:2px solid #8a7a5a;background:radial-gradient(circle at 50% 40%,#3a3a44,#141418);color:#e8e2d4;display:grid;place-items:center;cursor:pointer;font:inherit}.spell:hover:not(:disabled){border-color:#e8c66a;box-shadow:0 0 8px #e8c66a80}.spell.active{border-color:#ffd870;background:radial-gradient(circle at 50% 40%,#6a4a14,#2a1a04);box-shadow:0 0 10px #e8c66a}.spell:disabled{opacity:.4;cursor:not-allowed}.spell .name{font:700 15px Metamorphous,serif;color:#fff;letter-spacing:-.5px;text-shadow:0 1px 0 #000}.spell .name .spell-lvl{position:absolute;bottom:1px;left:3px;font:700 9px Nunito,sans-serif;color:#e8c66a}.spell .info{position:absolute;bottom:0;right:2px;font-size:10px;font-weight:800;color:#7ad0ff;text-shadow:0 1px 0 #000}.spell .hotkey{position:absolute;top:0;left:3px;font-size:9px;color:#8a8a92}.end-turn{position:absolute;right:-4px;bottom:6px;z-index:2;width:46px;height:46px;padding:0;border-radius:50%;border:3px solid #78350f;background:radial-gradient(circle at 35% 30%,#fdba74,#f97316 60%,#c2410c);color:#fff;font:inherit;font-size:24px;font-weight:900;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 2px 6px #00000080;cursor:pointer}.end-turn:hover:not(:disabled){filter:brightness(1.12)}.end-turn:disabled{opacity:.4;cursor:not-allowed}.ready-btn{padding:10px 34px;border-radius:10px;border:2px solid #78350f;background:linear-gradient(#fb923c,#ea580c);color:#fff;font:inherit;font-size:17px;font-style:italic;font-weight:700;cursor:pointer;box-shadow:0 3px 8px #00000073}.ready-btn small{font-size:11px;font-style:normal;font-weight:400;opacity:.85}.ready-btn:disabled{background:#4b5563;border-color:#374151;cursor:wait}.turn-ring{position:absolute;width:150px;height:150px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-90deg);pointer-events:none}.turn-ring circle{fill:none;stroke-width:6}.turn-ring .ring-bg{stroke:#00000059}.turn-ring .ring-fill{stroke:#f97316;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.turn-ring.low .ring-fill{stroke:#ef4444}.log{flex:1;min-height:0;overflow-y:auto;font-size:12px;color:#c9c0a8;background:#00000073;border:1px solid #5a5a62;border-radius:3px;box-shadow:inset 0 0 12px #000;padding:6px 10px}.log .dmg{color:#fca5a5}.log .info{color:#93c5fd}.log .heal{color:#86efac}.log .death{color:#fbbf24;font-weight:700}.log .chat{color:#e5e7eb;overflow-wrap:anywhere}.log .chat b{color:#c4b5fd}.log .chat.mine b{color:#fde047}.log .chat.party b{color:#60a5fa}.log .chat.party{color:#bfdbfe}.log .chat.dm b{color:#f472b6}.log .chat.dm{color:#fbcfe8}.chat-form{margin-top:4px;display:flex;gap:4px}.chat-form select{flex:0 1 92px;min-width:48px;max-width:92px;padding:2px 4px;border-radius:6px;border:1px solid #5a5a62;background:#1a1a1e;color:#e8e2d4;font:inherit;font-size:11px}.chat-form .chat-filter{flex:none;padding:0 6px;border-radius:6px;border:1px solid #5a5a62;background:#1a1a1e;color:#e8e2d4;cursor:pointer;font-size:13px}.chat-form .chat-filter:hover{border-color:#e8c66a}.chat-form input{flex:1 1 60px;min-width:0;width:100%;box-sizing:border-box;padding:4px 8px;border-radius:6px;border:1px solid #5a5a62;background:#1a1a1e;color:#e8e2d4;font:inherit;font-size:12px}.chat-form input:focus{outline:none;border-color:#e8c66a}.status-line{margin-top:6px;font-size:12px;color:#fde68a;min-height:16px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:16px;background:#0009;z-index:100}.overlay.hidden{display:none}.overlay .panel{background:#1f2937;padding:32px 40px;border-radius:12px;text-align:center;border:2px solid #374151;max-height:100%;overflow-y:auto}.overlay h1{margin:0 0 20px}.overlay .buttons{display:flex;gap:10px;justify-content:center}.overlay button{padding:10px 20px;border-radius:8px;border:none;background:#3b82f6;color:#fff;font:inherit;font-weight:700;cursor:pointer}.overlay button.secondary{background:#4b5563}.class-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:10px;max-height:62vh;overflow-y:auto;padding:2px 6px 2px 2px}.overlay .class-card{padding:12px;border-radius:10px;border:2px solid #374151;background:#111827;color:inherit;text-align:left;font-weight:400;display:flex;flex-direction:column;justify-content:flex-start}.overlay .class-card:hover:not(:disabled){border-color:#60a5fa;background:#172033}.overlay .class-card:disabled{opacity:.45;cursor:not-allowed}.class-card .icon{font-size:26px}.class-card .name{font-size:18px;font-weight:700;margin:4px 0}.class-card .desc{font-size:12px;color:#d1d5db}.class-card .cstats{font-size:12px;color:#9ca3af;margin-top:8px}.class-card .cspells{font-size:12px;color:#93c5fd;margin-top:6px}.party-box{position:fixed;right:calc(var(--lado) + 10px);top:44px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;z-index:40}.party-box.hidden{display:none}.party-level{width:44px;height:24px;margin-right:0;display:flex;align-items:center;justify-content:center;border-radius:3px;background:linear-gradient(#f4f4f4,#c9c9c9);border:1px solid #6b6b6b;box-shadow:0 2px 5px #00000073;font-size:15px;line-height:1;cursor:default}#party-tip{position:fixed;z-index:60;padding:7px 11px;border-radius:4px;background:#101012cc;color:#f2f2f2;font-size:14px;line-height:1.4;white-space:nowrap;pointer-events:none}#party-tip>b:first-child{display:block;font-size:15px}#party-tip small{display:block;margin-top:3px;color:#c9c9c9;font-size:12px}.watch-btn{position:absolute;right:-6px;bottom:14px;z-index:2;width:36px;height:30px;padding:0;border:0;background:none;font-size:24px;line-height:1;cursor:pointer;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.watch-btn:hover{filter:drop-shadow(0 0 4px #fff) brightness(1.15)}.watch-btn.hidden{display:none}#fights-win{position:fixed;left:50%;top:50%;transform:translate(-50%,-54%);z-index:70;width:560px;max-width:calc(100vw - 32px);font-size:14px;color:#4a3f33}#fights-win.hidden{display:none}#fights-win .fw-box{border:4px solid #fff;border-radius:16px;background:#d5ccad;overflow:hidden;box-shadow:0 6px 20px #00000080}#fights-win .fw-title{position:relative;padding:7px 12px;background:#514538;color:#fff;font-weight:700;font-size:16px}#fights-win .fw-sub{margin-top:0}#fights-win .fw-x{position:absolute;right:8px;top:6px;width:22px;height:22px;padding:0;border:1px solid #fff;border-radius:3px;background:#f07a1a;color:#fff;font-size:12px;font-weight:900;cursor:pointer}#fights-win .fw-head,#fights-win .fw-row{display:grid;grid-template-columns:1fr 150px}#fights-win .fw-head{background:#8b7d6b;color:#fff}#fights-win .fw-head span{padding:6px 10px;text-align:center}#fights-win .fw-head span+span{border-left:1px solid #6f6354}#fights-win .fw-list{max-height:170px;overflow-y:auto}#fights-win .fw-row{min-height:32px;border-bottom:1px solid #c4b996;background:#cbc2a3;cursor:pointer}#fights-win .fw-row:nth-child(2n){background:#d5ccad}#fights-win .fw-row.empty{cursor:default}#fights-win .fw-row.sel{background:#f59a1e;color:#3a2a12}#fights-win .fw-row>span{display:flex;align-items:center;padding:4px 10px}#fights-win .fw-count{gap:8px;justify-content:space-around}#fights-win .fw-count b{font-size:18px}#fights-win .fw-time{justify-content:center;border-left:1px solid #a99d7f}#fights-win .fw-team{font-style:normal;padding:0 3px 2px;border-bottom:3px solid;border-radius:50%}#fights-win .fw-team.red{border-color:#d42020}#fights-win .fw-team.blue{border-color:#2040d4}#fights-win .fw-fighters{min-height:150px}#fights-win .fw-hint{padding:52px 16px;text-align:center}#fights-win .fw-cols{display:grid;grid-template-columns:1fr 1fr}#fights-win .fw-colhead{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#8b7d6b;color:#fff}#fights-win .fw-colhead+.fw-colhead{border-left:2px solid #6f6354}#fights-win .sq{width:14px;height:14px;display:inline-block}#fights-win .sq.red{background:#e00}#fights-win .sq.blue{background:#00e}#fights-win .fw-col+.fw-col{border-left:2px solid #a99d7f}#fights-win .fw-f{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:6px;padding:4px 10px;border-bottom:1px solid #c4b996}#fights-win .fw-face{width:24px;height:24px;background-size:300%;background-position:50% 20%;background-repeat:no-repeat;image-rendering:pixelated}#fights-win .fw-f b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#fights-win .fw-dead{font-size:18px;text-align:center}#fights-win .fw-buttons{display:flex;justify-content:space-between;gap:24px;padding:0 28px}#fights-win .fw-buttons button{flex:1;margin-top:-2px;padding:7px;border:3px solid #fff;border-top:0;border-radius:0 0 12px 12px;background:#ef6a10;color:#fff;font:inherit;font-size:16px;cursor:pointer}#fights-win .fw-buttons button:disabled{background:#b98a6a;cursor:default}.party-member{display:flex;gap:3px;cursor:pointer}.party-member.away{opacity:.6}.pm-hp{position:relative;width:7px;height:52px;border-radius:3px;background:#111827;border:1px solid #000;overflow:hidden}.pm-hp div{position:absolute;left:0;right:0;bottom:0;background:#dc2626}.pm-face{position:relative;width:52px;height:52px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;border:2px solid #4b5563;background:#f5ecd7;box-shadow:0 3px 8px #00000073;color:#fff;font-weight:800}.party-member.me .pm-face{border-color:#f59e0b}.party-member.following .pm-face{border-color:#2563eb}.party-member:hover .pm-face{outline:2px solid #fff}.pm-face img{width:100%;height:100%;object-fit:cover;object-position:top}.pm-badge{position:absolute;right:1px;bottom:0;font-size:12px;text-shadow:0 1px 2px #000}.player-menu{position:fixed;display:flex;flex-direction:column;min-width:150px;padding:0;border-radius:2px;background:#26262c;border:2px solid #8a7a5a;z-index:110;box-shadow:0 0 0 1px #000,0 6px 20px #0009}.player-menu.hidden{display:none}.player-menu b{padding:5px 10px;color:#e8c66a;font:700 15px Metamorphous,serif;background:#1a1a1e;border-bottom:1px solid #5a5a62}.player-menu button{border:none;background:none;color:#e8e2d4;text-align:left;padding:6px 10px;border-radius:0;font:inherit;font-size:14px;cursor:pointer}.player-menu button:hover{background:linear-gradient(#f0c050,#a87818);color:#2a1a04}.prompt{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-width:min(400px,calc(100vw - 32px));max-width:min(560px,calc(100vw - 32px));padding:22px 28px 20px;border-radius:4px;background:linear-gradient(135deg,#3a3a40,#26262c 40%,#2e2e34 70%,#1e1e24);border:8px solid #5a5a62;box-shadow:inset 0 0 0 2px #1a1a1e,inset 0 0 40px #000000b3,0 20px 50px #000c;color:#e8e2d4;font-size:18px;line-height:1.4;z-index:95;text-align:center}.prompt:before,.prompt:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 35% 35%,#c8c8d0,#5a5a62 60%,#222)}.prompt:before{left:6px;top:6px}.prompt:after{right:6px;bottom:6px}.prompt.hidden{display:none}.prompt-buttons{display:flex;gap:16px;justify-content:center;margin-top:18px}.prompt button{min-width:120px;border:none;border-radius:3px;padding:9px 22px;font:inherit;font-size:17px;font-weight:700;color:#2a1a04;background:linear-gradient(#f0c050,#a87818);box-shadow:0 2px #000;cursor:pointer}.prompt button:hover{background:linear-gradient(#ffd870,#c08a20)}.prompt button.secondary{background:linear-gradient(#f0c050,#a87818)}.prompt button.secondary:hover{background:linear-gradient(#ffd870,#c08a20)}#trade.overlay{background:#00000059}.overlay .panel.trade-panel{width:min(840px,100%);text-align:left;padding:10px 14px 14px}.trade-top{position:relative}.trade-top h1{margin:0 0 10px}.overlay button.trade-x{position:absolute;right:0;top:-2px;width:28px;height:28px;padding:0;font-size:14px;line-height:1;background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;box-shadow:none}.overlay button.trade-x:hover{background:#7a1e1e;color:#fff;border-color:#c04040}.trade-sides{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:stretch}.trade-swap{align-self:center;text-align:center;font-size:22px;color:#8a7a5a;text-shadow:0 2px 0 #000}.trade-side,.trade-inv{padding-bottom:8px;border-radius:3px;background:#00000047;border:2px solid #8a7a5a;box-shadow:inset 0 0 0 1px #1a1a1e,inset 0 0 18px #0009;transition:border-color .2s,box-shadow .2s}.trade-side.ready{border-color:#6ec04a;box-shadow:inset 0 0 0 1px #1a1a1e,inset 0 0 18px #0009,0 0 12px #6ec04a73}.trade-side header,.trade-inv header{display:flex;align-items:center;gap:8px;padding:5px 10px;margin-bottom:8px;background:linear-gradient(#4a4a52,#2a2a30);border-bottom:1px solid #8a7a5a}.trade-side header b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 16px Metamorphous,serif;color:#e8c66a;text-shadow:0 2px 0 #000}.trade-state{font-size:12px;color:#a8a090;white-space:nowrap}.trade-side.ready .trade-state{color:#8ee060;font-weight:700}.trade-goldrow{display:flex;align-items:center;gap:6px;padding:0 8px 8px}.trade-gold{display:flex;align-items:center;gap:7px;width:160px;height:30px;padding:0 8px;box-sizing:border-box;flex-shrink:0;background:#121216;border:2px solid #5a5a62;border-radius:3px;box-shadow:inset 0 2px 4px #0009;font-weight:700;font-size:15px;color:#f0c860}.trade-gold>span{flex:1;text-align:right}label.trade-gold{border-color:#8a7a5a;cursor:text}label.trade-gold:focus-within{border-color:#e8c66a}.overlay .trade-gold input{flex:1;min-width:0;width:100%;padding:0;border:0;background:none;outline:none;text-align:right;font:inherit;color:#f0c860}.coin{display:inline-block;flex-shrink:0;width:16px;height:16px;border-radius:50%;vertical-align:-3px;background:radial-gradient(circle at 35% 30%,#fff6c0,#f0c040 38%,#b07812 72%,#6a4208);border:1px solid #4a2e06;box-shadow:inset 0 0 0 2px #ffe68c4d}.overlay button.trade-max{padding:4px 8px;font-size:12px;background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;box-shadow:none}.overlay button.trade-max:hover{border-color:#e8c66a;color:#fff;background:#2e2e34}.trade-lock{flex:1;height:8px;overflow:hidden;border-radius:4px;background:#121216;border:1px solid #4a4a52}.trade-lock i{display:block;width:100%;height:100%;background:#3a3a42}.trade-lock.waiting i{background:linear-gradient(#f0c860,#a87818)}.trade-side.ready .trade-lock i{background:linear-gradient(#a0f070,#3f8f22)}.trade-cells{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:0 8px}.overlay .tcell{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:0;min-width:0;font-size:20px;color:inherit;border-radius:2px;background:linear-gradient(#2a2a30,#1a1a1e);border:1px solid #4a4a52;box-shadow:inset 0 1px #ffffff0d,inset 0 -3px 5px #00000080;cursor:default;-webkit-user-select:none;user-select:none}.overlay .tcell.empty{background:#00000040;border-color:#2e2e34;box-shadow:inset 0 2px 4px #00000080}.overlay button.tcell[data-trade]{cursor:pointer}.overlay button.tcell[data-trade]:hover{border-color:#e8c66a;background:linear-gradient(#3a362a,#24221c)}.overlay button.tcell:hover:not([data-trade]){border-color:#8a7a5a;background:linear-gradient(#2a2a30,#1a1a1e)}.tcell .item-icon{width:86%;height:86%}.tcell .qty{position:absolute;top:1px;left:3px;font-size:10px;color:#fff;text-shadow:0 1px 2px #000,0 0 2px #000;pointer-events:none}.trade-buttons{margin:10px 0;gap:14px}.trade-buttons button{min-width:150px}.overlay #trade-ready.ready{background:linear-gradient(#a0f070,#3f8f22);color:#0f2a05}.overlay #trade-ready:disabled{opacity:.5;cursor:wait}.trade-inv header h2{margin:0;font-size:16px}.trade-filters{display:flex;gap:4px;margin-left:8px}.overlay button.tfilter{padding:3px 10px;font-size:12px;background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;box-shadow:none}.overlay button.tfilter small{color:#8a8070;font-weight:400}.overlay button.tfilter.active{background:linear-gradient(#f0c050,#a87818);color:#2a1a04;border-color:#8a7a5a}.overlay button.tfilter.active small{color:#4a3410}.trade-purse{margin-left:auto;display:flex;align-items:center;gap:6px;font-weight:700;color:#f0c860}.trade-bag{grid-template-columns:repeat(16,minmax(0,1fr));max-height:196px;overflow-y:auto}.trade-detail{display:flex;align-items:center;gap:10px;min-height:40px;margin:8px 8px 0;padding:4px 10px;box-sizing:border-box;background:#0000004d;border:1px solid #3a3a40;font-size:13px}.trade-detail b{color:#e8e2d4;white-space:nowrap}.trade-detail .bonus{color:#8ee08a}.td-icon{width:30px;height:30px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:20px}.td-icon .item-icon{width:30px;height:30px}@media(max-width:640px){.trade-sides{grid-template-columns:1fr;gap:8px}.trade-swap{display:none}.trade-bag{grid-template-columns:repeat(8,minmax(0,1fr))}.trade-inv header{flex-wrap:wrap}}.target-card.node #target-portrait{display:none}.target-card.node{border-color:#22c55e}.target-card.node.blocked{border-color:#6b7280}.inv-gold{margin-left:auto;align-self:center;font-weight:700;color:#fde047;padding-right:4px}.inv-res button.small{margin-left:6px}.char-spell small{display:block;color:#c9c0a8;font-size:11px}.spell-lvl{color:#fde047;font-size:11px;font-weight:700}#challenges{position:fixed;left:calc(var(--lado) + 12px);top:206px;z-index:40;display:flex;gap:8px}.ch-item{display:flex;flex-direction:column;align-items:center;gap:2px;cursor:help}.ch-icon{position:relative;width:44px;height:44px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#f6d27a,#b7791f);border:2px solid #5b3a0e;box-shadow:inset 0 2px #ffffff59,0 3px 8px #00000073}.ch-emoji{font-size:24px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}.ch-badge{position:absolute;right:2px;bottom:0;font-size:15px;font-weight:900;color:#fff;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}.ch-item.fail .ch-icon{filter:grayscale(.7) brightness(.8)}.ch-mark{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900}.ch-mark.fail{color:#ef4444;text-shadow:0 0 3px #000,0 0 2px #000}.ch-mark.ok{color:#22c55e;text-shadow:0 0 3px #000,0 0 2px #000;font-size:26px}.ch-pct{font-size:11px;font-weight:800;color:#fde68a;background:#111827d9;border:1px solid #5b3a0e;border-radius:6px;padding:0 6px}.ch-item.fail .ch-pct{color:#9ca3af;text-decoration:line-through}#ch-tip{position:fixed;z-index:200;width:240px;padding:8px 10px;border-radius:8px;pointer-events:none;background:#111827f5;border:1px solid #b7791f;color:#e5e7eb;font-size:12px;box-shadow:0 6px 18px #00000080}#ch-tip b{color:#fde047;font-size:13px}#ch-tip p{margin:3px 0 5px;color:#d1d5db}#ch-tip .pct{color:#fde68a;font-weight:700}#ch-tip .ok{color:#4ade80;font-weight:700}#ch-tip .fail{color:#f87171;font-weight:700}#ch-tip .run{color:#93c5fd;font-weight:700}#ch-toast{position:fixed;left:50%;top:90px;z-index:60;transform:translate(-50%);opacity:0;pointer-events:none;padding:10px 22px;border-radius:10px;background:#450a0aeb;border:2px solid #ef4444;color:#fecaca;text-align:center;box-shadow:0 8px 24px #00000080}#ch-toast b{display:block;font-size:16px;color:#fff}#ch-toast.show{animation:ch-toast 2.8s ease forwards}@keyframes ch-toast{0%{opacity:0;transform:translate(-50%,-10px)}10%,80%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%)}}#end.board .panel{width:min(760px,100%);text-align:left}#end.board h1{text-align:center}#end.board .end-rewards{margin:0 0 14px}.eb-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:13px;color:#d1d5db;padding-bottom:8px;border-bottom:1px solid #374151}.eb-head .eb-ch{margin-left:auto;display:flex;align-items:center;gap:6px}.eb-head .ch-icon{width:32px;height:32px;border-radius:7px}.eb-head .ch-emoji{font-size:17px}.eb-head .ch-mark{font-size:22px}.eb-head .ch-badge{font-size:11px}.eb-section{margin:12px 0 4px;font-weight:800;color:#fde68a;font-size:14px}.eb-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.eb-table th{text-align:left;font-size:11px;color:#9ca3af;font-weight:600;padding:3px 6px;border-bottom:1px solid #374151}.eb-table td{padding:5px 6px;border-bottom:1px solid #1f2937;vertical-align:middle}.eb-table tr.player td{background:#3b82f60f}.eb-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eb-skull{margin-right:5px}.eb-bar{display:flex;height:8px;border-radius:4px;background:#111827;border:1px solid #374151;overflow:hidden}.eb-bar span{display:block;height:100%}.eb-bar .before{background:linear-gradient(90deg,#b45309,#f59e0b)}.eb-bar .gained{background:linear-gradient(90deg,#4ade80,#a3e635)}.eb-drops{display:flex;flex-wrap:wrap;gap:4px}.eb-drops span{position:relative;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;background:#111827;border:1px solid #374151;border-radius:5px;font-size:15px}.eb-drops span{cursor:pointer}.eb-drops span:hover{border-color:#60a5fa}.eb-drops span[data-name]:hover:after{content:attr(data-name);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);padding:3px 8px;border-radius:4px;background:#f9fafb;color:#111827;font-size:12px;font-weight:600;white-space:nowrap;box-shadow:0 2px 6px #0006;pointer-events:none;z-index:5}.eb-drops span .item-icon{width:22px;height:22px}.eb-drops small{position:absolute;right:1px;bottom:-2px;font-size:9px;font-weight:800;color:#fff;text-shadow:0 0 2px #000}#end.board .note{color:#d1d5db;font-size:13px;margin-top:6px}.challenge-ok{color:#fde047}#fight-options{position:fixed;right:calc(var(--lado) + 12px);top:12px;z-index:5;display:flex;flex-direction:column;gap:6px}#fight-options button{padding:6px 12px;border-radius:8px;border:1px solid #4b5563;background:#111827e6;color:#e5e7eb;font-size:13px;cursor:pointer;text-align:left}#fight-options button.on{border-color:#f59e0b;color:#fde047}#fight-options button:disabled{opacity:.45;cursor:not-allowed}.log .chat.general b{color:#fdba74}.log .chat.trade b{color:#4ade80}.log .chat.trade{color:#bbf7d0}.log .chat.recruit b{color:#22d3ee}.log .chat.recruit{color:#a5f3fc}.hide-ch-map .log [data-ch=map],.hide-ch-general .log [data-ch=general],.hide-ch-trade .log [data-ch=trade],.hide-ch-recruit .log [data-ch=recruit],.hide-ch-party .log [data-ch=party],.hide-ch-guild .log [data-ch=guild],.hide-ch-dm .log [data-ch=dm]{display:none}.overlay .panel.friends-panel{width:min(440px,100%);text-align:left}.friends-panel h1{text-align:center}.friend-form{display:flex;gap:6px;margin:10px 0 12px}.friend-form input{flex:1;min-width:0;padding:6px 10px;border-radius:6px;border:1px solid #374151;background:#0b1220;color:#f3f4f6;font:inherit}.friend-list{max-height:320px;overflow-y:auto}.friend-row{display:flex;align-items:center;gap:8px;padding:6px 4px;border-bottom:1px solid #374151}.friend-dot{flex:none;width:10px;height:10px;border-radius:50%;background:#4b5563}.friend-row.on .friend-dot{background:#22c55e;box-shadow:0 0 6px #22c55e}.friend-label{flex:1;min-width:0;display:flex;flex-direction:column}.friend-label small{color:#9ca3af;font-size:12px}.friend-row.off .friend-label b{color:#9ca3af}.overlay .panel.report-panel{width:min(460px,100%);text-align:left;position:relative}.report-panel h1{text-align:center;font-size:20px}.report-row{display:flex;flex-direction:column;gap:4px;margin:0 0 10px;font-size:13px;color:#d1d5db}.report-row select,.report-row textarea{padding:6px 10px;border-radius:6px;border:1px solid #374151;background:#0b1220;color:#f3f4f6;font:inherit;resize:vertical}.report-msgs{max-height:150px;overflow-y:auto;font-size:13px;background:#0b1220;border-radius:6px;padding:6px 10px;margin-bottom:8px;overflow-wrap:anywhere}.report-msgs small{color:#9ca3af}.report-note{font-size:12px;margin:6px 0}.report-status{min-height:18px;font-size:13px;color:#fca5a5}#npc-dialog.overlay{align-items:flex-start;justify-content:flex-start;padding:8px 0 0 12px;background:none;pointer-events:none}.npc-talk{position:relative;width:min(470px,calc(100vw - 24px));pointer-events:none}.npc-bust{position:relative;width:240px;height:210px;overflow:hidden;pointer-events:none;z-index:1}.npc-bust img{display:none;position:absolute;image-rendering:pixelated;filter:drop-shadow(0 4px 6px rgba(0,0,0,.6))}.npc-bust.bust img{display:block;left:4px;bottom:0;height:100%;image-rendering:auto;filter:none}.npc-bust.body img{display:block;left:50%;top:0;height:380px;transform:translate(-50%)}.npc-badge{display:none}.npc-bust.none .npc-badge{position:absolute;left:60px;top:70px;width:110px;height:110px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font:700 54px Metamorphous,serif;border:4px solid #e8c66a;box-shadow:0 6px 16px #0009}.overlay .panel.npc-panel{margin-top:0;width:100%;text-align:left;pointer-events:auto;padding-top:12px}.npc-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding-right:22px}.overlay .npc-head h1{margin:0;font-size:20px;text-align:left}.npc-head small{color:#c9c0a8}.npc-text{margin:10px 0 12px;color:#e8e2d4;line-height:1.45;white-space:pre-line}.npc-options{display:flex;flex-direction:column;gap:6px}.overlay button.npc-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#1f2937;border:1px solid #374151}.overlay button.npc-option:hover:not(:disabled){border-color:#fde047;background:#273449}.overlay button.npc-option:disabled{opacity:.5;cursor:not-allowed}.npc-option small{color:#9ca3af;font-weight:400}.overlay .panel.quests-panel{width:min(480px,100%);text-align:left}.quests-panel h1{text-align:center}.quest-list{max-height:360px;overflow-y:auto}.quest-story{display:flex;flex-direction:column;gap:2px;padding:8px 10px;margin-bottom:6px;border:1px solid #a16207;border-radius:6px;background:#422006;font-size:13px}.quest-story b{color:#fde047}.quest-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 4px;border-bottom:1px solid #374151}.quest-row small{grid-column:1 / -1;color:#d1d5db;font-size:12px}.quest-row small.muted{color:#9ca3af}.quest-state{font-size:12px;color:#93c5fd}.quest-row.ready .quest-state{color:#fde047;font-weight:700}.quest-row.done{opacity:.6}.quest-row.done .quest-state{color:#4ade80}.inv-row.pet-active{background:#7c3aed26;border-radius:8px}.overlay .panel.bank-panel{width:min(760px,100%);text-align:left}.bank-panel h1{text-align:center}.bank-note{text-align:center;margin:0 0 10px}.bank-gold{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px}.bank-gold span{flex:1;min-width:200px}.bank-gold input{width:100px;padding:4px 8px;border-radius:6px;border:1px solid #374151;background:#0b1220;color:#f3f4f6;font:inherit}.bank-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bank-list{max-height:300px;overflow-y:auto}.bank-row{display:flex;align-items:center;gap:6px;padding:4px 2px;border-bottom:1px solid #374151;font-size:13px}.bank-name{flex:1;min-width:0;display:flex;flex-direction:column}.bank-status{min-height:18px;margin-top:8px;text-align:center;color:#fde68a;font-size:13px}@media(max-width:640px){.bank-cols{grid-template-columns:1fr}}.overlay .panel.market-panel{width:min(820px,100%);text-align:left}.market-panel h1{text-align:center}.market-top{display:flex;align-items:center;gap:8px}.market-top .inv-tabs{margin-bottom:0}.market-body{max-height:380px;overflow-y:auto}.market-search{width:100%;box-sizing:border-box;margin-bottom:8px;padding:6px 10px;border-radius:6px;border:1px solid #374151;background:#0b1220;color:#f3f4f6;font:inherit}.market-row{display:flex;align-items:center;gap:6px;padding:5px 2px;border-bottom:1px solid #374151;font-size:13px}.market-row.sold{background:#fde04714}.market-price{color:#fde047;white-space:nowrap}.market-sold{color:#4ade80;font-weight:700}.market-sell{display:grid;grid-template-columns:1fr 1fr;gap:14px}.market-sell h2{margin-top:0}.market-collect{margin-bottom:6px;background:#ca8a04!important}.market-row input{width:64px;padding:3px 6px;border-radius:6px;border:1px solid #374151;background:#0b1220;color:#f3f4f6;font:inherit;font-size:12px}.market-row input.market-price-in{width:84px}@media(max-width:680px){.market-sell{grid-template-columns:1fr}}.log .chat.guild b{color:#a78bfa}.log .chat.guild{color:#ddd6fe}.overlay .panel.guild-panel{width:min(760px,100%);text-align:left}.guild-panel h1{text-align:left;padding-right:30px}.guild-head{display:grid;grid-template-columns:96px 150px 1fr;gap:12px;align-items:center;margin-bottom:10px}.guild-emblem{width:96px;height:96px;border-radius:50%;display:grid;place-items:center;filter:drop-shadow(0 2px 6px #000)}.overlay button.guild-emblem{padding:0;background:none;border:0;box-shadow:none;cursor:pointer}.overlay button.guild-emblem:hover{filter:drop-shadow(0 0 8px rgba(232,198,106,.8))}.guild-lv b{font:700 18px Metamorphous,serif;color:#e8c66a;display:block;margin-bottom:4px}.guild-lv small{display:block;font-size:11px;margin-top:3px}.guild-motd{position:relative;min-height:74px;padding:8px 34px 18px 10px;background:#0000004d;border:1px solid #5a5a62;font-size:13px;white-space:pre-wrap;word-break:break-word}.guild-motd-text{max-height:72px;overflow-y:auto}.guild-when{position:absolute;right:34px;bottom:3px;font-size:10px;color:#c9c0a8}.overlay button.guild-pen{position:absolute;right:4px;top:4px;width:24px;height:24px;padding:0;font-size:14px}.guild-textarea{width:100%;min-height:70px;resize:vertical;font:inherit;font-size:13px;padding:6px;background:#1a1a1e;border:2px solid #8a7a5a;color:#e8e2d4}.guild-info-edit .guild-textarea{min-height:260px}.guild-edit-btns{display:flex;gap:6px;justify-content:flex-end;margin-top:6px}.guild-tabs{display:flex;gap:4px;margin:10px 0 0}.overlay button.guild-tab{flex:1;padding:6px 10px;border-radius:3px 3px 0 0;background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;border-bottom:0;box-shadow:none}.overlay button.guild-tab.active{background:linear-gradient(#f0c050,#a87818);color:#2a1a04;border-color:#8a7a5a}.overlay button.guild-tab:disabled{opacity:.45;cursor:not-allowed}.guild-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;background:#1a1a1e;border:1px solid #5a5a62;font-size:13px;color:#c9c0a8}.guild-bar.foot{border-top:0}.guild-scroll{max-height:320px;overflow-y:auto;background:#00000040;border:1px solid #5a5a62;border-top:0;border-bottom:0}.guild-info{padding:10px 12px;min-height:200px;white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.5}.guild-table{width:100%;border-collapse:collapse;font-size:14px}.guild-table th{text-align:left;font-weight:700;color:#e8c66a;padding:5px 8px;background:#00000059;border-bottom:1px solid #5a5a62;font-size:13px}.guild-table td{padding:5px 8px;border-bottom:1px solid rgba(138,122,90,.3);vertical-align:middle}.guild-table tr.off td{color:#8a8a92}.guild-table .gt-name{font-weight:700;color:#fff}.guild-table tr.off .gt-name{color:#a0a0a8}.guild-table .gt-num{text-align:right;font-variant-numeric:tabular-nums}.guild-table .gt-where{font-size:12px;color:#c9c0a8}.guild-table .gt-acts{text-align:right;white-space:nowrap}.guild-table .gt-acts button{padding:1px 7px;font-size:13px;margin-left:2px}.guild-table .gt-acts.gt-left{width:52px;text-align:left;padding-right:0}.overlay .guild-table button.gt-dots,.overlay .guild-table button.gt-x{width:20px;height:18px;padding:0;margin:0 2px 0 0;font:700 13px/1 sans-serif;color:#fff;border-radius:2px;box-shadow:0 0 0 1px #000;background:linear-gradient(#f07a1a,#a84a08)}.overlay .guild-table button.gt-dots{line-height:10px;letter-spacing:-1px}.overlay .guild-table button.gt-x{background:linear-gradient(#e0442a,#9a1f0e)}.gt-face{display:inline-block;width:22px;height:22px;margin-right:7px;vertical-align:middle;overflow:hidden;border-radius:50%;background:#2a2a30;border:1px solid #8a7a5a;text-align:center;font-size:12px;line-height:20px;color:#8a8a92}.gt-face img{width:44px;height:auto;margin:-2px 0 0 -11px;image-rendering:pixelated}.gt-face.off img{filter:grayscale(1);opacity:.6}.guild-table tr.me td{background:#e8c66a14}.gt-showoff{display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}.gt-showoff input{width:16px;height:16px;accent-color:#f07a1a}.market-row>svg.emblem{flex:none}.em-editor{display:flex;gap:14px;align-items:flex-start;margin:6px 0 10px}.em-preview{display:flex;flex-direction:column;align-items:center;gap:8px;flex:none}.em-preview svg{filter:drop-shadow(0 2px 6px #000)}.em-rows{display:flex;flex-direction:column;gap:6px;min-width:0}.em-row>span{display:block;font-size:12px;color:#e8c66a;margin-bottom:2px}.em-row>div{display:flex;flex-wrap:wrap;gap:3px}.overlay button.em-opt{padding:2px;width:36px;height:36px;display:grid;place-items:center;background:#1a1a1e;border:1px solid #5a5a62;border-radius:4px;box-shadow:none}.overlay button.em-opt:hover{border-color:#c9a85a}.overlay button.em-opt.active{border-color:#fde047;background:#2e2e34;box-shadow:0 0 0 1px #fde047}.em-row:nth-child(2) button.em-opt,.em-row:nth-child(4) button.em-opt{width:24px;height:24px}.em-swatch{width:16px;height:16px;border-radius:3px;border:1px solid rgba(0,0,0,.6)}.guild-em-box{margin-top:10px;padding:8px 10px;background:#0000004d;border:1px solid #5a5a62}@media(max-width:560px){.em-editor{flex-direction:column;align-items:center}}#px-name-tip{position:fixed;z-index:40;pointer-events:none;transform:translate(-50%,-100%);display:flex;align-items:center;gap:8px;padding:5px 12px 5px 6px;background:#1c1e24db;border-radius:4px;font:700 14px/1.2 system-ui,sans-serif;color:#fff;white-space:nowrap;box-shadow:0 2px 6px #0006}#px-name-tip.solo{padding:4px 10px}#px-name-tip .who{font-weight:700;color:#fff}#px-name-tip .who.npc{color:#7fd6ff}#px-name-tip .gtitle{font-weight:600;color:#f2f2f2}#px-name-tip .gname{font-weight:800;color:#aab8ff}#px-name-tip svg{flex:none}#px-name-tip.group{flex-direction:column;gap:1px;padding:6px 14px 7px;text-align:center;background:#181a20e6}#px-name-tip .glevel{font-weight:800;font-size:15px;color:#cfe3ff;margin-bottom:3px}#px-name-tip .gm{font-weight:700;font-size:14px;color:#f4f4f4}#px-name-tip .gm.size{font-weight:600;font-size:13px;color:#b8bcc8}#px-name-tip .gm.mine{color:#8ee08a}#px-name-tip .gm.price{color:#f0c860}.prompt.house-price input{display:block;width:100%;box-sizing:border-box;margin-top:14px;padding:8px 10px;font:inherit;font-size:20px;font-weight:700;text-align:center;color:#f0c860;background:#16161a;border:2px solid #5a5a62;border-radius:3px;outline:none}.prompt.house-price input:focus{border-color:#c8a040}#px-name-tip.fighter{flex-direction:column;gap:3px;padding:5px 12px 6px;text-align:center;background:#181a20e6}#px-name-tip .fbar{width:100%;min-width:120px;height:14px;border-radius:3px;background:#3a0a0a;border:1px solid #1a0505;position:relative}#px-name-tip .fbar i{position:absolute;top:0;right:0;bottom:0;left:0;width:var(--w, 100%);background:linear-gradient(#e03535,#a81e1e);border-radius:2px}#px-name-tip .fbar b{position:relative;display:block;line-height:14px;font-size:12px;color:#fff;text-shadow:0 1px 1px #000}.pm-boot{display:inline-block;width:15px;height:15px;vertical-align:-2px;margin-right:1px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%234ade80' stroke='%23166534' stroke-width='1' d='M4.5 1.5h5v6.2l4.3 3.3c.5.4.7.9.7 1.5v2H2.5v-2.8l2-2.2z'/%3E%3Cpath fill='%23166534' d='M2.5 13h12v1.5h-12z'/%3E%3C/svg%3E") no-repeat center / contain}.guild-actions{margin-top:10px;text-align:right}#inventory.overlay{align-items:stretch;justify-content:flex-end;padding:6px 6px 0;bottom:196px;background:none;pointer-events:none;container-type:inline-size}.inv-wrap{display:flex;align-items:flex-start;gap:6px;min-width:0;height:100%}#inventory .panel{pointer-events:auto;max-height:100%;overflow:hidden;padding:10px 12px 12px;text-align:left}#inventory .panel.inv-panel{width:880px;height:100%;box-sizing:border-box;flex:0 1 auto;min-width:0;display:flex;flex-direction:column}.inv-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid rgba(138,122,90,.45)}#inventory .inv-head h1{flex:1;margin:0;font-size:20px;text-align:left}#inventory .inv-tabs{margin:0;gap:4px}#inventory .inv-tab{padding:4px 14px;font-size:13px}#inventory button.inv-x{width:28px;height:28px;padding:0;font-size:14px;line-height:1;background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;box-shadow:none}#inventory button.inv-x:hover{background:#7a1e1e;color:#fff;border-color:#c04040}#inventory .inv-body{flex:1;min-height:0;margin:0;overflow-y:auto}.inv-craft-gold{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-bottom:6px;font-weight:700;color:#f0c860}.inv-layout{display:grid;grid-template-columns:minmax(0,1fr) 262px;grid-template-rows:minmax(0,1fr);gap:8px;height:100%;min-height:520px}.inv-left{display:flex;flex-direction:column;gap:8px;min-width:0}#inventory .inv-box{position:relative;padding:0;border-radius:3px;background:#00000047;border:2px solid #8a7a5a;box-shadow:inset 0 0 0 1px #1a1a1e,inset 0 0 18px #0009}#inventory .inv-cell{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:22px;-webkit-user-select:none;user-select:none;border-radius:2px;background:linear-gradient(#2a2a30,#1a1a1e);border:1px solid #4a4a52;box-shadow:inset 0 1px #ffffff0d,inset 0 -3px 5px #00000080}#inventory .inv-cell.empty{background:#00000040;border-color:#2e2e34;box-shadow:inset 0 2px 4px #00000080}#inventory .inv-cell[data-sel]{cursor:pointer}#inventory .inv-cell[data-sel]:hover{border-color:#e8c66a;background:linear-gradient(#3a362a,#24221c)}#inventory .inv-cell.sel{border-color:#f0a040;box-shadow:0 0 0 1px #f0a040,0 0 8px #f0a0408c;background:linear-gradient(#3a3022,#221c14)}#inventory .inv-cell.locked{opacity:.45}.inv-cell .qty{position:absolute;top:1px;left:3px;font-size:10px;color:#fff;text-shadow:0 1px 2px #000,0 0 2px #000;pointer-events:none}.inv-cell .ghost{opacity:.22;filter:grayscale(1)}#inventory .inv-equip{height:calc(335px * var(--s));flex:none;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,rgba(232,198,106,.08),transparent 62%),#00000059}.inv-ghost{position:absolute;left:50%;top:0;width:250px;height:300px;transform:translate(-50%);pointer-events:none;color:#d8d2c4;fill:currentColor;opacity:.2}.inv-ghost .limb{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}#inventory .inv-slot{position:absolute;width:52px;height:52px;aspect-ratio:auto;font-size:26px;background:#1414188c;border-color:#6a6a72;box-shadow:inset 0 0 10px #000000bf}#inventory .inv-slot.full{border-color:#8a7a5a;background:linear-gradient(#2e2b24b3,#1a1a1eb3)}#inventory .inv-equip{--s: 1;--cx: calc(50% - 20px * var(--s))}#inventory .inv-equip .inv-ghost{left:var(--cx);top:calc(4px * var(--s));width:calc(250px * var(--s));height:calc(300px * var(--s))}#inventory .inv-slot.at-arma{top:calc(8px * var(--s));left:calc(var(--cx) + 66px * var(--s));width:calc(72px * var(--s));height:calc(72px * var(--s));font-size:calc(34px * var(--s))}#inventory .inv-slot.at-amuleto{top:calc(40px * var(--s));left:calc(var(--cx) - 20px * var(--s));width:calc(40px * var(--s));height:calc(40px * var(--s));font-size:calc(22px * var(--s))}#inventory .inv-slot.at-cinturon{top:calc(122px * var(--s));left:calc(var(--cx) - 30px * var(--s));width:calc(60px * var(--s));height:calc(60px * var(--s));font-size:calc(30px * var(--s))}#inventory .inv-slot.at-botas{top:calc(232px * var(--s));left:calc(var(--cx) - 32px * var(--s));width:calc(64px * var(--s));height:calc(64px * var(--s));font-size:calc(32px * var(--s))}#inventory .inv-slot.at-anillo{top:calc(99px * var(--s));left:calc(var(--cx) - 124px * var(--s));width:calc(54px * var(--s));height:calc(54px * var(--s));font-size:calc(28px * var(--s))}#inventory .inv-slot.at-anillo2{top:calc(99px * var(--s));left:calc(var(--cx) + 70px * var(--s));width:calc(54px * var(--s));height:calc(54px * var(--s));font-size:calc(28px * var(--s))}#inventory .inv-slot.at-sombrero,#inventory .inv-slot.at-capa,#inventory .inv-slot.at-mascota{left:auto;right:calc(12px * var(--s));width:calc(68px * var(--s));height:calc(68px * var(--s));font-size:calc(34px * var(--s))}#inventory .inv-slot.at-sombrero{top:calc(12px * var(--s))}#inventory .inv-slot.at-capa{top:calc(90px * var(--s))}#inventory .inv-slot.at-mascota{top:calc(168px * var(--s))}#inventory .inv-slot.later{background:#14141873;border-style:dashed;border-color:#4a4a52;cursor:help}.inv-purse{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:7px;padding:4px 10px;background:#121216;border:2px solid #5a5a62;border-radius:3px;box-shadow:inset 0 2px 4px #0009;font-weight:700;font-size:15px;color:#f0c860}#inventory .inv-detail{flex:1;min-height:214px;display:flex;flex-direction:column;overflow:hidden}.inv-bar{display:flex;align-items:center;gap:8px;min-height:30px;padding:4px 10px;box-sizing:border-box;background:linear-gradient(#4a4a52,#2a2a30);border-bottom:1px solid #8a7a5a}.inv-bar b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 16px Metamorphous,serif;color:#e8c66a;text-shadow:0 2px 0 #000}.inv-bar span{font-weight:800;color:#fff;white-space:nowrap}.inv-detail-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;font-size:15px}.inv-detail-empty small{font-size:12px;opacity:.75}.inv-det{flex:1 1 0;min-height:120px;display:grid;grid-template-columns:120px minmax(0,1fr)}.inv-det-pic{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px;border-right:1px solid rgba(138,122,90,.35);min-height:0}.inv-det-pic small{color:#c9c0a8;font-size:12px;text-align:center}.inv-det-icon{width:84px;height:84px;flex:none;display:grid;place-items:center;font-size:56px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.6))}.inv-det-icon .item-icon{width:84px;height:84px}.inv-det-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin-top:auto}#inventory .inv-det-actions button{padding:3px 10px;font-size:12.5px}.inv-det-info{display:flex;flex-direction:column;min-height:0;min-width:0}.inv-det-tabs{display:flex;gap:2px;padding:5px 6px 0}#inventory .inv-det-tabs button{padding:3px 12px;font-size:12px;font-weight:700;border-radius:3px 3px 0 0;box-shadow:none;background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;border-bottom:0}#inventory .inv-det-tabs button.active{background:linear-gradient(#f0c050,#a87818);color:#2a1a04;border-color:#8a7a5a}.inv-det-rows{flex:1;min-height:0;overflow-y:auto;border-top:1px solid #8a7a5a;background:#0000002e}.inv-fx{display:flex;align-items:center;gap:8px;min-height:26px;padding:2px 8px;font-size:13.5px;font-weight:700;color:#8ee08a}.inv-fx:nth-child(odd){background:#ffffff0b}.inv-fx span{flex:1;min-width:0}.inv-fx i{flex:none;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;font-style:normal;font-size:11px;background:#4b5563;box-shadow:0 1px #000}.inv-fx.ok{color:#8ee08a}.inv-fx.missing{color:#f87171}.inv-fx.ok i,.inv-fx.missing i{background:none;box-shadow:none;font-size:13px}.inv-fx.muted{color:#c9c0a8;font-weight:400}.inv-det-desc{flex:none;min-height:58px;max-height:120px;box-sizing:border-box;overflow-y:auto;padding:6px 10px;font-size:13px;line-height:1.5;background:#0000004d;border-top:1px solid #8a7a5a}.inv-det-desc u{color:#e8c66a;text-decoration:none;font-weight:700}.inv-det-desc p{margin:0}.det-bar{height:6px;background:#1a1a1e;border-radius:3px;margin:6px 8px;overflow:hidden}.det-bar span{display:block;height:100%;background:#a855f7}#inventory .inv-bag{display:flex;flex-direction:column;padding:6px 8px 8px;contain:size;min-height:300px}#inventory h2.inv-title{margin:0 0 6px;text-align:center;font-size:17px}.inv-title small{font:400 12px system-ui,sans-serif;color:#c9c0a8}#inventory .inv-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:6px}#inventory .inv-filter{height:32px;padding:0;display:grid;place-items:center;font-size:17px;border-radius:4px;background:linear-gradient(#2a2a30,#1a1a1e);border:1px solid #5a5a62;box-shadow:inset 0 -2px 4px #00000080}#inventory .inv-filter:hover{border-color:#e8c66a}#inventory .inv-filter.active{background:linear-gradient(#f0c050,#a87818);border-color:#e8c66a;box-shadow:0 0 6px #e8c66a80}.inv-search{display:flex;align-items:center;gap:4px;margin-bottom:6px}#inventory .inv-search input{flex:1;min-width:0;padding:4px 8px;font-size:13px}.inv-search span{width:30px;height:28px;flex:none;display:grid;place-items:center;font-size:14px;border-radius:3px;background:linear-gradient(#f0c050,#a87818);box-shadow:0 2px #000}#inventory .inv-cells .inv-cell{font-size:30px}#inventory .inv-cells{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;align-content:start;overflow-y:auto;padding-right:2px}.inv-side{display:flex;flex-direction:column;gap:6px;width:200px;flex:none;max-height:100%;min-height:0}#inventory .panel.inv-preview{width:100%;box-sizing:border-box;flex:0 1 auto;min-height:0;padding:10px;display:flex;flex-direction:column}#inventory .panel.inv-setwin{width:100%;box-sizing:border-box;flex:none;padding:8px;display:flex;flex-direction:column}.inv-setwin .inv-bar b{font-size:14px;white-space:normal}.inv-set-sub{padding:3px 8px;font-size:13px;font-weight:700;color:#e8e2d4;background:linear-gradient(#3a3a42,#26262c);border-top:1px solid #5a5a62;border-bottom:1px solid #5a5a62}.inv-set-fx{max-height:132px;overflow-y:auto;background:#0003}#inventory .inv-set-fx .inv-fx{font-size:12.5px;min-height:24px}.inv-set-pieces{display:grid;grid-template-columns:repeat(4,40px);gap:4px;padding:8px 4px 2px}#inventory .inv-set-pieces .inv-cell{font-size:20px}#inventory .inv-set-pieces .inv-cell.missing>*{opacity:.7;filter:grayscale(.7)}#inventory .inv-set-pieces .inv-cell.missing:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;pointer-events:none;background:linear-gradient(45deg,transparent 47%,rgba(224,42,42,.9) 47% 53%,transparent 53%),linear-gradient(-45deg,transparent 47%,rgba(224,42,42,.9) 47% 53%,transparent 53%)}.inv-figure{position:relative;height:190px;flex:none;display:flex;align-items:flex-end;justify-content:center;padding-bottom:20px;box-sizing:border-box;background:radial-gradient(ellipse at 50% 40%,rgba(232,198,106,.1),transparent 65%),linear-gradient(#1a1a1e,#2a2a30);border:2px solid #8a7a5a;box-shadow:inset 0 0 20px #000}.inv-figure:after{content:"";position:absolute;left:50%;bottom:10px;width:120px;height:28px;transform:translate(-50%);border-radius:50%;background:radial-gradient(ellipse,#46464e 0 50%,#26262c 52% 66%,rgba(0,0,0,.5) 68%,transparent 72%)}.inv-figure img{position:relative;z-index:1;height:150px;max-width:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}.inv-figure>.ghost{position:relative;z-index:1;font-size:90px;opacity:.2}#inventory .inv-rot{position:absolute;bottom:6px;z-index:2;width:26px;height:26px;padding:0;border-radius:50%;font-size:14px;line-height:1}#inventory .inv-rot.left{left:6px}#inventory .inv-rot.right{right:6px}#inventory .inv-rot:hover{border-color:#e8c66a;color:#fff}.inv-name{margin:6px 0 2px;text-align:center;font:700 15px Metamorphous,serif;color:#fff}.inv-totals{min-height:0;overflow-y:auto;font-size:12px;border-color:#8a7a5a59}.inv-totals h3{margin:8px 0 3px;font:700 13px Metamorphous,serif;color:#e8c66a}#inventory .inv-totals .inv-fx{min-height:20px;padding:1px 4px;font-size:12px}#inventory .inv-totals .inv-fx i{width:16px;height:16px;font-size:9px}.inv-set-line{margin-bottom:4px}@container (max-width: 1100px){.inv-side{display:none}}@container (max-width: 860px){#inventory .inv-equip{--s: .78}#inventory .inv-purse{top:10px;bottom:auto}}@container (max-width: 712px){.inv-wrap,#inventory .panel.inv-panel{width:100%}.inv-layout{height:auto;min-height:0;grid-template-columns:1fr;grid-template-rows:none}#inventory .inv-bag{contain:none}#inventory .inv-cells{flex:none;max-height:220px}}@media(max-height:820px){#inventory .inv-equip{--s: .78}#inventory .inv-purse{top:10px;bottom:auto}.inv-layout{min-height:0}#inventory .inv-detail{min-height:180px}.inv-det{min-height:100px}.inv-det-icon,.inv-det-icon .item-icon{width:54px;height:54px;font-size:36px}.inv-det-desc{min-height:0;padding:4px 10px;line-height:1.35}}@container (max-width: 712px){.inv-left{display:contents}#inventory .inv-equip{order:1}#inventory .inv-bag{order:2;min-height:0}#inventory .inv-detail{order:3;flex:none;height:250px;min-height:0}#inventory .inv-detail:has(.inv-detail-empty){height:auto}#inventory .inv-detail:has(.inv-detail-empty) .inv-bar{display:none}.inv-detail-empty{padding:8px;font-size:13px}}@container (max-width: 480px){#inventory .inv-equip{--s: .62}#inventory .inv-head h1{font-size:15px;white-space:nowrap}#inventory .inv-tab{padding:4px 9px}#inventory h2.inv-title{font-size:15px;margin-bottom:4px}#inventory .inv-filters{grid-template-columns:repeat(10,1fr);gap:3px}#inventory .inv-filter{height:30px;font-size:15px}#inventory .inv-cells{grid-template-columns:repeat(6,minmax(0,1fr));max-height:128px}#inventory .inv-cells .inv-cell{font-size:24px}}@media(max-width:760px){#inventory.overlay{bottom:286px}#inventory .panel{max-height:calc(100vh - 292px)}}.chat-name{cursor:pointer}.chat-name:hover{text-decoration:underline}.overlay .panel.shortcuts-panel{width:min(520px,100%);text-align:left}.shortcuts-panel h1{text-align:center}.shortcuts-panel>p{font-size:12px;margin:-6px 0 10px;text-align:center}.shortcut-list{max-height:60vh;overflow-y:auto;margin-bottom:14px}.shortcut-list h2{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;margin:10px 0 4px}.sc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #1f2937;font-size:14px}.overlay .sc-key{min-width:86px;padding:3px 10px;font-size:13px;background:#111827;border:1px solid #4b5563;color:#fde68a}.overlay .sc-key.waiting{border-color:#f59e0b;color:#fff;background:#3b2a12}body.editor #app{flex-direction:row;overflow:hidden}body.editor #game{flex:1;min-width:0}body.editor #hud{display:none}#editor-panel input{background:#1f2937;color:#e5e7eb;border:1px solid #374151;border-radius:6px;padding:4px;font-size:12px}#editor-panel{width:300px;flex-shrink:0;overflow-y:auto;padding:12px;background:#111827;border-left:1px solid #374151;color:#e5e7eb;font-size:13px;display:flex;flex-direction:column;gap:6px}#editor-panel h2{margin:0 0 4px;font-size:17px}#editor-panel h3{margin:10px 0 2px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af}#editor-panel h4{margin:6px 0 3px;font-size:11px;font-weight:400;color:#6b7280}#editor-panel label{display:flex;flex-direction:column;gap:3px;color:#9ca3af;font-size:12px}#editor-panel select{background:#1f2937;color:#e5e7eb;border:1px solid #374151;border-radius:6px;padding:4px;font-size:12px;max-width:100%}#editor-panel button{background:#1f2937;color:#e5e7eb;border:1px solid #374151;border-radius:6px;padding:4px 8px;font-size:12px;cursor:pointer}#editor-panel button:hover{border-color:#60a5fa}#editor-panel button.active{background:#1e3a8a;border-color:#60a5fa;color:#fff}#editor-panel button.primary{background:#2563eb;border-color:#2563eb;color:#fff;font-weight:700}.ed-tools{display:flex;flex-wrap:wrap;gap:4px}.ed-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ed-row select{flex:1;min-width:0}.ed-members{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ed-status{font-size:12px;display:flex;flex-direction:column;gap:2px;padding:6px;background:#0b1220;border-radius:6px}.ed-status .ok{color:#4ade80}.ed-status .warn{color:#fde047}.ed-status .bad{color:#f87171}.ed-help{color:#9ca3af;font-size:11px;margin:8px 0 0}.ed-exit{color:#93c5fd;font-size:12px}.creation .cc-title{text-align:center;margin:0 0 6px}.cc-top{display:flex;align-items:center;justify-content:center;gap:8px}.overlay .cc-arrow{width:40px;height:40px;border-radius:50%;padding:0;font-size:26px;line-height:1;font-weight:900;background:linear-gradient(#f59e0b,#b45309);color:#fff;border:2px solid #78350f;box-shadow:0 3px 8px #0006}.cc-carousel{display:flex;align-items:center;justify-content:center;gap:10px;min-height:150px}.overlay .cc-face{position:relative;padding:0;border-radius:50%;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;cursor:pointer;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--cc-color) 40%,#f5ecd7),color-mix(in srgb,var(--cc-color) 55%,#3b2a12));border:3px solid #a16207;box-shadow:0 4px 12px #00000073;transition:transform .15s}.cc-face img{position:absolute;left:50%;top:8%;height:150%;width:auto;transform:translate(-50%)}.cc-face-icon{font-size:40px;align-self:center}.overlay .cc-face.center{width:146px;height:146px;border-width:4px;border-color:#fbbf24}.overlay .cc-face.center .cc-face-icon{font-size:64px}.overlay .cc-face.near{width:96px;height:96px;opacity:.85}.overlay .cc-face.far{width:64px;height:64px;opacity:.55}.overlay .cc-face:hover{transform:scale(1.06);opacity:1}.cc-icons{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;margin:8px 0 10px}.overlay .cc-icon{width:34px;height:34px;padding:0;font-size:18px;border-radius:50%;background:#1f2937;border:2px solid #374151}.overlay .cc-icon.active{border-color:#fbbf24;background:#3b2a12}.cc-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}.cc-info{background:#0f172a;border:1px solid #374151;border-radius:10px;padding:12px;text-align:left}.cc-name{font-size:20px;font-weight:800;color:#fde68a;display:flex;align-items:center;gap:8px}.cc-name-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#3b2a12;border:2px solid #a16207;font-size:18px}.cc-desc{margin:6px 0 8px;color:#d1d5db;font-size:13px}.cc-roles{display:grid;grid-template-columns:1fr 1fr;gap:3px 14px;margin-bottom:10px;font-size:12px}.cc-role{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#9ca3af}.cc-dots{display:flex;gap:3px}.cc-dots i{width:9px;height:9px;border-radius:50%;background:#374151}.cc-dots i.on{background:#fbbf24;box-shadow:0 0 4px #fbbf2499}.cc-tabs{display:flex;gap:6px;margin-bottom:6px}.overlay .cc-tab{padding:4px 12px;font-size:13px;background:#1f2937;border:1px solid #374151;color:#d1d5db}.overlay .cc-tab.active{background:linear-gradient(#f59e0b,#b45309);border-color:#78350f;color:#fff}.cc-tab-body{max-height:150px;overflow-y:auto;font-size:13px;color:#d1d5db;padding-right:4px}.cc-tab-body p{margin:0;line-height:1.45}.cc-spell{padding:5px 0;border-bottom:1px solid #1f2937}.cc-spell-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.cc-spell-head b{color:#93c5fd}.cc-spell-head small{color:#9ca3af;white-space:nowrap}.cc-spell-desc{font-size:12px;color:#d1d5db}.cc-figure-box{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:6px}.cc-figure{position:relative;z-index:1;height:220px;width:240px}.cc-figure img{position:absolute;left:50%;bottom:0;height:210px;width:auto;transform:translate(-50%);filter:drop-shadow(0 6px 8px rgba(0,0,0,.5))}.cc-figure img.pixel{height:300px;bottom:-36px;image-rendering:pixelated}.cc-face img.pixel{height:210%;top:-10%;image-rendering:pixelated}.char-slot .cs-figure.pixel{height:160px;bottom:-8px;image-rendering:pixelated}.cc-figure .cc-figure-ph{position:absolute;left:50%;bottom:0;transform:translate(-50%)}.cc-figure-ph{width:120px;height:190px;border-radius:60px 60px 12px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:54px;background:color-mix(in srgb,var(--cc-color) 45%,#111827);border:2px dashed #6b7280}.cc-figure-ph small{font-size:11px;color:#d1d5db;margin-top:6px}.cc-pedestal{width:190px;height:44px;margin-top:-26px;border-radius:50%;background:radial-gradient(ellipse at 50% 40%,#8b7355,#4a3b28 70%);border:3px solid #a16207;box-shadow:0 6px 14px #00000080}.creation .new-character{margin-top:10px}.cc-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:12px}.cc-name-field{flex:1;max-width:340px;display:flex;flex-direction:column;gap:3px;text-align:center}.cc-name-field label{font-size:12px;color:#9ca3af}.cc-name-field>div{display:flex;gap:6px}.cc-name-field input{flex:1;min-width:0}.overlay #cc-random{padding:4px 10px;font-size:18px;background:#1f2937;border:1px solid #4b5563}.overlay .cc-back{background:#4b5563}.overlay .cc-create{background:linear-gradient(#f59e0b,#b45309);border:2px solid #78350f;font-weight:800}@media(max-width:760px){.cc-main{grid-template-columns:1fr}.overlay .cc-face.far{display:none}}.ed-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.ed-grid-big{grid-template-columns:repeat(3,1fr)}#editor-panel .ed-thumb{height:58px;padding:3px;display:flex;align-items:center;justify-content:center;background:#1f2937;overflow:hidden}.ed-grid-big .ed-thumb{height:74px}.ed-thumb img{max-width:100%;max-height:100%;object-fit:contain}.ed-emoji{font-size:24px}#editor-panel .ed-floor{background-size:220%;background-position:center;align-items:flex-end}.ed-floor span{font-size:10px;background:#0009;color:#fff;padding:0 4px;border-radius:4px;margin-bottom:2px}.overlay.info-overlay{background:#00000073;z-index:120}.info-box{width:min(360px,100%);color:#e8e2d4;background:linear-gradient(135deg,#3a3a40,#26262c 60%,#1e1e24);border:6px solid #5a5a62;border-radius:4px;box-shadow:inset 0 0 0 2px #1a1a1e,inset 0 0 30px #000000b3,0 20px 50px #000000e6;text-align:center}.info-head{font:700 20px Metamorphous,serif;color:#e8c66a;padding:10px;border-bottom:2px solid #1a1a1e;text-shadow:0 2px 0 #000}.info-body{padding:18px 22px 4px;font-size:15px;line-height:1.5}.info-body p{margin:0 0 14px}.overlay button.info-ok{margin:0 0 16px;padding:7px 44px;color:#2a1a04;background:linear-gradient(#f0c050,#a87818);border-radius:3px;box-shadow:0 3px #000}.srv-sign{display:contents}.srv-logo{display:none}.servers .srv-buttons{order:1;flex-direction:row-reverse}.classic-banner{margin:0 0 12px;padding:8px 12px;font-size:13px;line-height:1.35;text-align:center;color:#e8e2d4;background:#fde68a1a;border:1px solid rgba(253,230,138,.35);border-radius:6px}.classic-banner a,.classic-note a{color:#fde68a}.classic-note{margin:14px 0 0;font-family:VT323,monospace;font-size:19px;line-height:1;color:#b8a888}body.clasico #create-btn{display:none}#storm{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99;background:#05070c}#storm canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%;image-rendering:pixelated}body.px-start #login,body.px-start #class-select{background:transparent}body.px-start .overlay .panel.login-panel,body.px-start #creation{background:#20160e;border:0;border-radius:0;box-shadow:inset 0 0 0 4px #120c06,inset 0 6px #33241a,0 0 0 4px #000,8px 8px #000}body.px-start .login-panel h1{font-family:Pixelify Sans,sans-serif;font-weight:700;font-size:52px;color:#d8c49a;text-shadow:4px 4px 0 #000}body.px-start .overlay .panel.start-panel{position:fixed;top:0;right:0;bottom:0;left:0;width:auto;max-height:none;padding:0;background:transparent;border:0;border-radius:0;overflow:hidden}body.px-start .account-bar{position:absolute;top:10px;right:16px;margin:0;color:#6a7488;z-index:2}body.px-start #class-error{position:absolute;left:0;right:0;top:46%;color:#ff8a7a;text-shadow:0 2px 0 #000}body.px-start .servers{position:absolute;top:0;right:0;bottom:0;left:0;display:block}body.px-start .srv-title{display:none}body.px-start .srv-sign{display:block;position:absolute;left:4vw;top:5vh;padding:18px 24px 20px;text-align:left;transform:rotate(-2deg);background:#2a1e14;box-shadow:inset 0 0 0 4px #1a120a,inset 0 6px #3a2a1c,0 0 0 4px #000,8px 8px #000}body.px-start .srv-sign:before,body.px-start .srv-sign:after{content:"";position:absolute;top:10px;width:8px;height:8px;background:#6a5a4a;box-shadow:0 0 0 2px #000}body.px-start .srv-sign:before{left:10px}body.px-start .srv-sign:after{right:10px}body.px-start .srv-logo{display:block;font-family:Pixelify Sans,sans-serif;font-weight:700;font-size:66px;line-height:1;color:#d8c49a;text-shadow:4px 4px 0 #000}body.px-start .server-list{justify-content:flex-start;margin-top:10px}body.px-start .overlay button.server-card{display:flex;align-items:center;gap:12px;width:auto;height:auto;padding:0;background:none;border:0;box-shadow:none;cursor:default;transform:none}body.px-start .server-card img{width:54px;height:54px;object-fit:cover;object-position:50% 25%;box-shadow:0 0 0 3px #000,0 0 0 5px #6a5a3a}body.px-start .server-card .srv-label{position:static;background:none;padding:0;text-align:left}body.px-start .srv-name{font-family:VT323,monospace;font-size:28px;font-weight:400;line-height:.9;color:#d8c49a;text-shadow:none}body.px-start .srv-status{font-family:VT323,monospace;font-size:22px;font-weight:400;letter-spacing:0}body.px-start .servers .srv-buttons{flex-direction:row;justify-content:flex-start;gap:12px;margin-top:16px}body.px-start .overlay button.play-btn,body.px-start .overlay button.create-btn{font-family:Pixelify Sans,sans-serif;font-weight:700;font-size:19px;padding:8px 14px;border-radius:0;white-space:nowrap;box-shadow:inset 0 -4px #00000059,0 0 0 3px #000}body.px-start .overlay button.play-btn{background:#c8a050;color:#1a120a}body.px-start .overlay button.play-btn:hover:not(:disabled){background:#e0b860}body.px-start .overlay button.create-btn{background:#3a2a1c;color:#a89070}body.px-start .overlay button.create-btn:hover:not(:disabled){background:#4a3828}body.px-start .char-slots{position:absolute;left:0;right:0;bottom:3vh;gap:22px;flex-wrap:nowrap}body.px-start .overlay button.char-slot{width:170px;padding:0;background:none;border:0;box-shadow:none;border-radius:0}body.px-start .char-slot .cs-stage{width:170px;height:170px}body.px-start .char-slot .cs-pedestal{left:20px;right:20px;height:30px;bottom:0;background:#00000059;box-shadow:none;border:0}body.px-start .char-slot.selected .cs-pedestal{background:radial-gradient(ellipse,#ffc85a8c,#ffaa3c00 70%);box-shadow:none}body.px-start .char-slot .cs-figure.pixel{height:180px;bottom:-10px;filter:brightness(.82)}body.px-start .char-slot.selected .cs-figure.pixel,body.px-start .char-slot:hover .cs-figure.pixel{filter:none}body.px-start .char-slot .cs-bar{margin:2px 12px 0;padding:5px 8px 6px;border-radius:0;text-align:left;background:#3a2a1c;color:#e8d8b0;box-shadow:inset 0 0 0 3px #22180e,0 0 0 3px #000;font-family:Pixelify Sans,sans-serif}body.px-start .char-slot .cs-name{font-size:17px;font-weight:700}body.px-start .char-slot .cs-info{font-family:VT323,monospace;font-size:17px;color:#8a7a5a}body.px-start .char-slot.selected .cs-bar{background:#c8a050;box-shadow:inset 0 0 0 3px #8a6a2a,0 0 0 3px #000}body.px-start .char-slot.selected .cs-name{color:#1a120a}body.px-start .char-slot.selected .cs-info{color:#4a3418}body.px-start .char-slot .cs-del{background:none;color:#6a5a4a;font-family:VT323,monospace;font-size:20px}body.px-start .char-slot.empty{opacity:.6}body.px-start .char-slot.empty .cs-pedestal{opacity:1}body.px-start .char-slot.empty .cs-bar{background:#1a140e;color:#4a3e30;text-align:left;font-family:Pixelify Sans,sans-serif;font-size:17px;font-weight:700}body.px-start #creation{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(940px,94vw);max-height:94vh;overflow-y:auto;padding:24px 32px}body.px-start .creation .cc-title{font-family:Pixelify Sans,sans-serif;font-weight:700;color:#d8c49a;text-shadow:3px 3px 0 #000}.entrando{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#000;color:#fff;font:700 26px Pixelify Sans,sans-serif;letter-spacing:.03em;text-shadow:0 2px 0 #000}.entrando.hidden{display:none}#cargando{display:none!important}#app{visibility:visible}.overlay .panel{position:relative;color:#e8e2d4;padding:14px 16px;border-radius:4px;background:linear-gradient(135deg,#3a3a40,#26262c 40%,#2e2e34 70%,#1e1e24);border:8px solid #5a5a62;box-shadow:inset 0 0 0 2px #1a1a1e,inset 0 0 40px #000000b3,0 20px 50px #000c}.overlay .panel:before,.overlay .panel:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 35% 35%,#c8c8d0,#5a5a62 60%,#222)}.overlay .panel:before{left:6px;top:6px}.overlay .panel:after{right:6px;bottom:6px}.overlay .panel.forge:before,.overlay .panel.forge:after{display:none}.overlay h1{font:700 22px Metamorphous,serif;color:#e8c66a;text-shadow:0 2px 0 #000;letter-spacing:1px;margin:0 0 12px;text-align:center}.overlay h2,.inv-panel h2{font:700 17px Metamorphous,serif;color:#e8c66a;text-transform:none;letter-spacing:0;margin:0 0 8px}.overlay button{background:linear-gradient(#f0c050,#a87818);color:#2a1a04;border-radius:3px;box-shadow:0 2px #000;padding:8px 18px}.overlay button:hover:not(:disabled){background:linear-gradient(#ffd870,#c08a20)}.overlay button.secondary,.overlay .inv-tab,.overlay .inv-filter,.overlay .world-modes button,.overlay .cc-tab,.guild-emblems button,.overlay .sc-key,.overlay #cc-random,.overlay .inv-rot,.overlay .cc-icon{background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62;box-shadow:none}.overlay .inv-tab.active,.overlay .world-modes button.on,.overlay .cc-tab.active{background:linear-gradient(#f0c050,#a87818);color:#2a1a04;border-color:#8a7a5a}.overlay .inv-filter.active,.guild-emblems button.active,.overlay .cc-icon.active{border-color:#e8c66a;color:#fff;background:#2e2e34}.overlay input,.friend-form input,.market-search{background:#1a1a1e;border:2px solid #8a7a5a;color:#e8e2d4;border-radius:3px}.overlay input:focus{border-color:#e8c66a}.overlay .muted,.inv-label small,.friend-label small,.char-slot .cs-info,.map-legend{color:#c9c0a8}.inv-box,.inv-res,.inv-craftset,.inv-slot,.inv-cell,.end-rewards .drops span,.quest-row{background:#0000004d;border-color:#5a5a62}.inv-cell.empty{background:#0000002e;border-color:#3a3a40}.inv-cell[data-sel]:hover{border-color:#e8c66a;background:#e8c66a14}.inv-cell.sel{border-color:#e8c66a;box-shadow:0 0 0 2px #e8c66a59;background:#e8c66a1f}.inv-row,.friend-row,.char-spell,.inv-totals{border-color:#8a7a5a59}.inv-gold,.quest-row b{color:#e8c66a}.overlay button.npc-option{background:#1a1a1e;color:#e8e2d4;border:1px solid #5a5a62}.overlay button.npc-option:hover:not(:disabled){border-color:#e8c66a;background:#2e2e34}#character.overlay{align-items:flex-start;justify-content:flex-end;padding:6px 6px 0 0;bottom:196px;background:none;pointer-events:none}.overlay.dock{align-items:flex-end;justify-content:flex-end;padding:6px 6px 0 0;bottom:196px;background:none;pointer-events:none}.overlay.dock>*{pointer-events:auto}.overlay.dock .panel{max-height:100%;box-sizing:border-box;border-bottom-left-radius:0;border-bottom-right-radius:0}.overlay.dock .panel.friends-panel,.overlay.dock .panel.guild-panel{height:100%;display:flex;flex-direction:column;overflow:hidden}.overlay.dock .friends-panel .friend-list{flex:1;min-height:0;max-height:none}.overlay.dock .guild-panel #guild-body{flex:1;min-height:0;display:flex;flex-direction:column}.overlay.dock .guild-panel #guild-body>.guild-scroll{flex:1;min-height:0;max-height:none;overflow-y:auto}.overlay.dock .panel.jobs-panel,.overlay.dock .panel.quests-panel{height:100%;display:flex;flex-direction:column;overflow:hidden}.overlay.dock .jobs-layout{flex:1;min-height:0}.overlay.dock .jobs-list{max-height:none;height:100%}.overlay.dock .jobs-detail{min-height:0;overflow-y:auto}.overlay.dock .quests-layout{flex:1;min-height:0;align-items:stretch}.overlay.dock .quests-layout>div:first-child{display:flex;flex-direction:column;min-height:0}.overlay.dock .quest-list{flex:1;min-height:0;max-height:none}.overlay.dock .quest-detail{min-height:0;overflow-y:auto}.overlay.dock.dock-center{justify-content:center;padding:6px 6px 0;pointer-events:auto}.overlay.dock>.spells-layout{pointer-events:none}.overlay.dock>.spells-layout>.panel{pointer-events:auto}#character .panel{pointer-events:auto;max-height:none;overflow:hidden}#character .char-stat{padding-top:4px;padding-bottom:4px}#world-map.overlay{bottom:196px;padding:0;background:none}.overlay .panel.map-panel{width:100%;height:100%;max-height:none;padding:8px 12px;border-radius:0;border-width:0 0 2px;display:flex;flex-direction:column;overflow:hidden}.map-panel h1{margin:0 0 6px;font-size:20px}.map-panel .world-modes{margin-bottom:6px}.map-panel .world-grid{flex:1;min-height:0;height:auto;width:100%;margin:0 0 6px;border-radius:4px}.map-panel .world-info{margin-bottom:2px}.map-panel .map-legend{margin-bottom:6px}.map-panel .buttons{position:absolute;top:8px;right:12px}.map-panel{position:relative}#spells-win.overlay.dock{align-items:stretch}.spells-layout{display:flex;align-items:flex-start;gap:6px;height:100%;min-width:0}.overlay .panel.spells-panel{width:400px;flex:none;height:100%;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;text-align:left}.spells-panel .spells-side{flex:1;min-height:0;display:flex;flex-direction:column}.spells-panel .sp-list{flex:1;min-height:0;height:auto}.overlay .panel.spells-detail{width:500px;flex:0 1 auto;min-width:0;max-height:100%;overflow-y:auto;box-sizing:border-box;padding:10px 14px 12px;color:#e8e0cc;text-align:left}.spells-detail.hidden{display:none}.overlay button.spd-x{width:24px;height:24px;margin-left:10px;padding:0;border:1px solid #5a5a62;border-radius:3px;background:#1a1a1e;color:#e8e2d4;font-size:13px;cursor:pointer}.overlay button.spd-x:hover{background:#7a1e1e;border-color:#c04040;color:#fff}.spd-tabs{display:flex;justify-content:flex-end;align-items:center;gap:2px;font-size:13px;color:#c9c0a8;margin-bottom:6px}.spd-tabs span{margin-right:6px}.spd-tabs button{width:26px;height:24px;border:1px solid transparent;background:none;color:#c9c0a8;font-weight:700;cursor:pointer;border-radius:3px}.spd-tabs button.have{color:#fff;border-color:#6b6b74}.spd-tabs button.on{color:#ff9d3a;border-color:#ff9d3a;background:#ff9d3a1f}.spd-head{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center}.spd-head .sp-icon{width:48px;height:48px;font-size:26px}.spd-title b{display:block;font-size:18px;color:#fff}.spd-title small,.spd-cost small{display:block;color:#c9c0a8;font-size:13px}.spd-cost{text-align:right}.spd-desc{margin:10px 0 4px;font-size:14px;line-height:1.35}.spells-detail h3{margin:12px 0 4px;font-size:14px;color:#e8c66a}.spd-effects div{padding:5px 8px;font-size:14px;background:#ffffff0d;border-bottom:1px solid rgba(138,122,90,.25)}.spd-other{display:grid;grid-template-columns:1.35fr 1fr;gap:0 14px;font-size:13px}.spd-yes{padding-left:14px;border-left:1px solid rgba(138,122,90,.35)}.spd-other>div>div{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid rgba(138,122,90,.2)}.spd-other b{text-align:right}.spd-other b{color:#fff}.spd-other i{font-style:normal;font-weight:700}.spd-other i.yes{color:#5ee08a}.spd-other i.no{color:#e05a5a}.sp-row{cursor:pointer}.sp-row.sel{background:#e8c66a29;outline:1px solid #8a7a5a}@media(max-width:760px){.spells-layout{grid-template-columns:1fr}}.spells-panel h1,.jobs-panel h1,.quests-panel h1,.friends-panel h1{text-align:left;padding-right:30px}.sp-capital{display:flex;justify-content:space-between;align-items:center;padding:4px 10px 10px;font-size:15px;color:#c9c0a8}.sp-capital b{font-size:20px;color:#e8c66a}.sp-list{height:min(440px,60vh);overflow-y:auto;border:1px solid #5a5a62;border-top:0;background:#00000040}.sp-row{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:1px;align-items:center;padding:5px 8px;border-bottom:1px solid rgba(138,122,90,.3)}.sp-l{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.sp-row:nth-child(2n){background:#ffffff08}.sp-row .sp-icon{grid-row:1 / 3;width:36px;height:36px}.sp-name{min-width:0;font-size:15px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-lvl{flex:none;font-size:13px;color:#e8c66a}.sp-pa{color:#c9c0a8;font-size:12px;white-space:nowrap}.sp-next{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:5px;color:#c9c0a8;font-size:12px;white-space:nowrap}.overlay button.sp-up{width:17px;height:17px;min-width:0;padding:0;display:grid;place-items:center;font:700 14px/1 sans-serif;color:#fff;background:linear-gradient(#ff9d3a,#d9620e);border:1px solid #8a3a06;border-radius:2px;box-shadow:none;cursor:pointer}.overlay button.sp-up:hover:not(:disabled){background:linear-gradient(#ffb866,#ec7a20)}.overlay button.sp-up:disabled{background:#4a4a50;border-color:#2a2a2e;color:#8a8a92;cursor:default}.sp-empty{padding:12px}.sp-filter{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 10px 8px;font-size:14px;color:#c9c0a8}.sp-filter select{min-width:170px;padding:3px 6px;font-size:13px;color:#e8e0cc;background:#1a1a1f;border:1px solid #8a7a5a;border-radius:3px}.sp-row.locked{opacity:.45}.sp-icon{width:40px;height:40px;display:grid;place-items:center;font-size:22px;background:radial-gradient(circle at 50% 40%,#2e2e34,#0e0e12);border:2px solid #8a7a5a}.overlay .panel.jobs-panel{width:min(820px,100%);text-align:left}.jobs-layout{display:grid;grid-template-columns:300px 1fr;gap:12px}.jobs-list{max-height:460px;overflow-y:auto;border:1px solid #5a5a62;background:#00000040}.overlay button.job-row{display:flex;align-items:center;gap:10px;width:100%;padding:7px 10px;text-align:left;border-radius:0;background:none;color:#e8e2d4;box-shadow:none;border-bottom:1px solid rgba(138,122,90,.3)}.overlay button.job-row:hover:not(:disabled){background:#e8c66a14}.overlay button.job-row.active{background:linear-gradient(#f0c050,#a87818);color:#2a1a04}.job-row b{display:block;font-size:15px}.job-row small{display:block;font-size:12px;opacity:.8}.job-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:22px;flex:none;background:radial-gradient(circle at 50% 40%,#2e2e34,#0e0e12);border:3px solid #8a7a5a}.job-icon.big{width:64px;height:64px;font-size:32px}.job-head{display:flex;align-items:center;gap:12px}.job-head b{font:700 22px Metamorphous,serif;color:#fff;flex:1}.job-lv{color:#e8c66a;font-weight:700}.job-xp{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin:10px 0 12px;font-size:14px;color:#c9c0a8}.job-xp .xp-bar{margin:0;border:2px solid #8a7a5a;border-radius:0;background:#111}.job-xp .xp-fill{background:linear-gradient(90deg,#c84a1c,#f0a040)}.job-skills{border:1px solid #5a5a62;border-top:0;background:#00000040;min-height:200px}.job-skill{display:flex;justify-content:space-between;padding:7px 12px;border-bottom:1px solid rgba(138,122,90,.3);font-size:14px}.job-skill.locked{color:#8a8a92}.overlay .panel.quests-panel{width:min(880px,100%);text-align:left}.quests-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;align-items:start}.quest-list{max-height:380px;overflow-y:auto;border:1px solid #5a5a62;border-top:0;background:#00000040}.overlay button.q-row{display:flex;align-items:center;gap:12px;width:100%;padding:7px 10px;text-align:left;border-radius:0;background:none;color:#e8e2d4;box-shadow:none;border-bottom:1px solid rgba(138,122,90,.3);font-weight:400}.overlay button.q-row:hover:not(:disabled){background:#e8c66a14}.overlay button.q-row.active{background:linear-gradient(#f0c050,#a87818);color:#2a1a04}.overlay button.q-row.done{color:#8a8a92}.q-dots{font-size:11px;letter-spacing:-1px;width:34px;text-align:center;flex:none;color:#f0a040}.q-dots.ready{color:#4ade80}.q-dots.done{color:#8a8a92}.q-row.active .q-dots{color:#2a1a04}.q-empty{padding:10px}.quests-done{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:14px;color:#c9c0a8;border:1px solid #5a5a62;border-top:0}.quest-detail{border:1px solid #5a5a62;background:#0003;min-height:300px}.quest-detail .q-title{font-size:18px;padding:8px 10px 4px;margin:0;text-align:left}.quest-detail .guild-tabs{margin:4px 10px 0}.q-text{display:flex;gap:10px;padding:10px 12px;font-size:14px;line-height:1.45}.q-text .q-book{font-size:28px}.q-text p{margin:0}.q-obj{padding:8px 12px;font-size:14px}.q-obj.ok{color:#8a8a92;text-decoration:line-through}.overlay .panel.friends-panel{width:min(760px,100%)}.friend-form{display:flex;align-items:center;gap:10px;margin:6px 0 12px;padding:8px 12px;background:#0000004d;border:1px solid #5a5a62;border-radius:30px;font-size:14px;color:#c9c0a8}.friend-form input{flex:1}.friend-form button{border-radius:20px}.fr-cols{display:grid;grid-template-columns:1.4fr 1fr;gap:12px}.fr-sub{color:#c9c0a8;font-size:14px;padding:6px 2px}.fr-table{background:#00000040;border:1px solid #5a5a62}.fr-table .gt-name small{display:block;font-weight:400;font-size:11px;color:#c9c0a8}.overlay button.fr-x{width:20px;height:20px;padding:0;font-size:11px;border-radius:3px;background:linear-gradient(#f07a1a,#a84a08);color:#fff;box-shadow:0 0 0 1px #000}.friend-list{max-height:420px;overflow-y:auto}.overlay button.fr-pen{width:20px;height:20px;padding:0;margin-left:4px;font-size:12px;border-radius:3px;background:linear-gradient(#f07a1a,#a84a08);color:#fff;box-shadow:0 0 0 1px #000}.fr-table .gt-name small.fr-note{color:#e8c66a;font-style:italic}.fr-info{border:1px solid #5a5a62;background:#00000040;font-size:14px;color:#e8e0cc;align-self:start}.fr-info-head{padding:6px 10px;background:#00000059;border-bottom:1px solid #5a5a62;color:#e8c66a;font-weight:700;text-align:center}.fr-info p{margin:8px 10px;line-height:1.35}.fr-notify{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:14px;color:#c9c0a8;cursor:pointer}.fr-notify input{width:16px;height:16px;accent-color:#f07a1a}body.px-start .overlay .panel.login-panel,body.px-start #creation,body.px-start .srv-sign{background:linear-gradient(135deg,#3a3a40,#26262c 40%,#2e2e34 70%,#1e1e24);border:8px solid #5a5a62;border-radius:4px;box-shadow:inset 0 0 0 2px #1a1a1e,inset 0 0 40px #000000b3,0 20px 50px #000c}body.px-start .srv-sign{transform:none}body.px-start .srv-sign:before,body.px-start .srv-sign:after{width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#c8c8d0,#5a5a62 60%,#222);box-shadow:none;top:6px}body.px-start .srv-sign:before{left:6px}body.px-start .srv-sign:after{right:6px}body.px-start .login-panel h1,body.px-start .srv-logo,body.px-start .creation .cc-title{font-family:Metamorphous,serif;font-weight:700;color:#e8c66a;text-shadow:0 3px 0 #000,0 0 18px rgba(232,198,106,.35);letter-spacing:2px}body.px-start .login-panel h1{font-size:46px}body.px-start .srv-logo{font-size:58px}body.px-start .srv-name{font-family:Metamorphous,serif;font-size:20px;color:#fff}body.px-start .srv-status{font-family:Nunito,sans-serif;font-size:13px;font-weight:800}body.px-start .server-card img{box-shadow:0 0 0 2px #1a1a1e,0 0 0 4px #8a7a5a}body.px-start .overlay button.play-btn,body.px-start .overlay button.create-btn{font-family:Nunito,sans-serif;font-weight:800;font-size:16px;padding:8px 22px;border-radius:3px;box-shadow:0 3px #000}body.px-start .overlay button.play-btn{background:linear-gradient(#f0c050,#a87818);color:#2a1a04}body.px-start .overlay button.play-btn:hover:not(:disabled){background:linear-gradient(#ffd870,#c08a20)}body.px-start .overlay button.create-btn{background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62}body.px-start .overlay button.create-btn:hover:not(:disabled){background:#2e2e34;color:#fff}body.px-start .char-slot .cs-bar{background:#1a1a1e;color:#e8e2d4;box-shadow:inset 0 0 0 2px #5a5a62,0 0 0 2px #000;font-family:Nunito,sans-serif}body.px-start .char-slot .cs-name{font-family:Metamorphous,serif;font-weight:700}body.px-start .char-slot .cs-info{font-family:Nunito,sans-serif;font-size:12px;color:#c9c0a8}body.px-start .char-slot.selected .cs-bar{background:linear-gradient(#f0c050,#a87818);box-shadow:inset 0 0 0 2px #8a7a5a,0 0 0 2px #000}body.px-start .char-slot .cs-del{font-family:Nunito,sans-serif;font-size:14px;color:#8a8a92}body.px-start .char-slot.empty .cs-bar{background:#1a1a1e;color:#5a5a62;font-family:Nunito,sans-serif;font-size:13px}.cc-info{background:#0000004d;border:1px solid #5a5a62;border-radius:4px}.cc-name{font-family:Metamorphous,serif;color:#e8c66a}.cc-name-icon{background:#1a1a1e;border-color:#8a7a5a}.cc-desc,.cc-tab-body,.cc-spell-desc{color:#e8e2d4}.cc-role,.cc-spell-head small,.cc-name-field label,.cc-figure-ph small{color:#c9c0a8}.cc-dots i{background:#3a3a40}.cc-dots i.on{background:#e8c66a;box-shadow:0 0 4px #e8c66a99}.cc-spell{border-bottom-color:#8a7a5a4d}.cc-spell-head b{color:#e8c66a}.overlay .cc-face{border-color:#8a7a5a}.overlay .cc-face.center{border-color:#e8c66a}.cc-pedestal{background:radial-gradient(ellipse at 50% 40%,#5a5a62,#26262c 70%);border-color:#8a7a5a}.cc-figure-ph{border-color:#5a5a62}.overlay .cc-arrow{background:#1a1a1e;color:#e8c66a;border:1px solid #5a5a62}.overlay .cc-back{background:#1a1a1e;color:#c9c0a8;border:1px solid #5a5a62}.overlay .cc-create{background:linear-gradient(#f0c050,#a87818);border:0;color:#2a1a04}.login-form h2{color:#e8c66a;font-family:Metamorphous,serif}.login-switch,.account-bar,.create-server{color:#c9c0a8}.overlay .panel.zaaps-panel{width:min(720px,100%);text-align:left}.zaaps-panel h1{text-align:left;padding-right:30px}.zaap-table{display:block;max-height:360px;overflow-y:auto;background:#00000040;border:1px solid #5a5a62}.zaap-table thead,.zaap-table tbody{display:table;width:100%;table-layout:fixed}.zaap-table thead th:nth-child(1),.zaap-table td:nth-child(1){width:44%}.zaap-table thead th:nth-child(3),.zaap-table td:nth-child(3),.zaap-table thead th:nth-child(4),.zaap-table td:nth-child(4){width:15%;text-align:right}.zaap-table tbody tr{cursor:pointer}.zaap-table tbody tr:hover td{background:#e8c66a14}.zaap-table tbody tr.sel td{background:linear-gradient(#f0c050,#a87818);color:#2a1a04}.zaap-table tbody tr.sel .gt-name{color:#2a1a04}.zaap-table tbody tr.here{cursor:default}.zaap-table tbody tr.here td{color:#8a8a92;background:none}.zaap-table tbody tr.poor td:nth-child(4){color:#f87171}.zaap-table .gt-name small{font-weight:400;color:#c9c0a8}#zaaps-search{width:200px;padding:3px 8px;font-size:13px}.zaaps-buttons{display:flex;gap:8px;margin-top:10px}.zaaps-buttons button{flex:1}.overlay .zaaps-buttons button:disabled{opacity:.45;cursor:not-allowed}.hud-level{display:none}.hud-top-right{justify-content:flex-end}.weapon-slot{flex:none;display:flex;align-items:flex-start;padding:4px;background:#00000059;border:1px solid #5a5a62;box-shadow:inset 0 0 12px #000}.weapon-slot .spell{width:44px;height:44px}.spell.weapon{border-color:#f0a040;background:radial-gradient(circle at 50% 40%,#5a3a14,#1a1006)}.spell.weapon .name{font-size:20px}.hud-tip{position:fixed;z-index:300;pointer-events:none;max-width:320px;white-space:pre-line;padding:4px 9px;font-size:12px;line-height:1.35;color:#e8e2d4;background:#1a1a1e;border:1px solid #8a7a5a;box-shadow:0 0 0 1px #000,0 4px 12px #0009}.hud-top-right .hud-menu{flex:1;justify-content:space-between;margin-left:-6px}.menu-btn{width:48px;height:48px;border:0;background:none;box-shadow:none;border-radius:50%}.menu-btn img{width:48px;height:48px;display:block;filter:drop-shadow(0 2px 2px rgba(0,0,0,.6))}.hud-top-right .hud-menu{min-width:0}.hud-top-right .menu-btn{flex:0 1 48px;min-width:0;height:auto;aspect-ratio:1}.hud-top-right .menu-btn img{width:100%;height:auto}.menu-btn:hover:not(:disabled){filter:brightness(1.18);transform:translateY(-1px)}.hud-bottom-right{align-items:flex-start;flex:none}#hud{grid-template-columns:minmax(160px,1fr) 168px minmax(400px,470px)}.hud-bottom-right .spells{flex:1;min-width:0;height:102px;overflow:hidden;gap:4px;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:45px 45px;grid-auto-rows:0;align-content:start}.hud-bottom-right .spells>*{width:100%;height:45px;min-width:0;box-sizing:border-box}.spells .drop{outline:2px solid #f0a040;outline-offset:-2px}.spells .spell[draggable],.sp-row[draggable]{cursor:grab}.weapon-slot{height:102px}.slot-empty{width:44px;height:44px;border-radius:3px;border:1px solid #3a3a42;background:#00000047;box-shadow:inset 0 0 6px #000}.items-bar.hidden,.spells.hidden{display:none}.hud-tabs{height:102px}.hud-tab{flex:1;cursor:pointer;font:inherit;font-size:11px;font-weight:700}.spi{width:100%;height:100%;display:block}.spi .ol{fill:var(--ol);stroke:var(--ol);stroke-width:3.4;stroke-linejoin:round;stroke-linecap:round}.spi .ol .l{fill:none;stroke-width:6}.spi .ol .t{fill:none;stroke-width:3.6}.spi .ol :is(.c,.h,.d,.p){display:none}.spi .fg{fill:var(--fg);stroke:none}.spi .fg .l{fill:none;stroke:var(--fg);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.spi .fg .t{fill:none;stroke:var(--fg);stroke-width:1.4;stroke-linecap:round}.spi .fg .c{fill:var(--hole)}.spi .fg .h{fill:none;stroke:var(--hole);stroke-width:1.8;stroke-linecap:round}.spi .fg .d{fill:none;stroke:var(--ol);stroke-width:1.4;stroke-linecap:round}.spi .fg .p{fill:var(--ol)}.spi .ol.mini{stroke-width:5.4}.spi .ol.mini .l{stroke-width:9.6}.spi .ol.mini .t{stroke-width:5.8}.spi .fg.mini .l{stroke-width:3.6}.spi .fg.mini .t{stroke-width:2.2}.sp-icon:has(.spi){background:none;border:0}.spell.has-icon{background:#141418;overflow:hidden}.spell.has-icon .spi{position:absolute;top:0;right:0;bottom:0;left:0}.spell.has-icon .hotkey{color:#fff}.spell.has-icon .hotkey,.spell.has-icon .info,.spell.has-icon .name .spell-lvl{z-index:1;text-shadow:0 0 2px #000,0 1px 1px #000}.spell.has-icon.active .spi{filter:brightness(1.25) drop-shadow(0 0 3px #ffd870)}.top-menu{position:fixed;top:6px;right:calc(var(--lado) + 8px);z-index:30;display:flex;gap:4px}body.inicio .top-menu,body.editor .top-menu{display:none}.top-btn{width:26px;height:26px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 30%,#ffd870,#c08a20 55%,#7a5410);border:2px solid #2a1a04;box-shadow:0 2px #000,inset 0 1px #ffffff59;color:#2a1a04;cursor:pointer}.top-btn:hover{background:radial-gradient(circle at 35% 30%,#ffe8a0,#d89c30 55%,#8a6418)}.top-btn svg{width:15px;height:15px;fill:#2a1a04;stroke:#2a1a04;stroke-width:0}#open-main-menu svg{fill:none;stroke-width:3.2;stroke-linecap:round}.top-btn b{font:800 15px/1 Georgia,serif}body.no-coords #map-coords{display:none}.overlay .panel.options-panel{width:min(560px,100%);text-align:left;display:flex;flex-direction:column}.options-panel .guild-tabs{margin:0}.options-list{background:#0000004d;border:1px solid #5a5a62;padding:6px 14px 12px;height:340px;overflow-y:auto}.options-top{display:flex;gap:10px;margin:6px 0 2px}.options-group{font:700 15px Metamorphous,serif;color:#e8c66a;margin:12px 0 4px}.options-row{display:flex;align-items:center;gap:10px;padding:4px 0 4px 6px;font-size:14px;color:#e8e2d4;cursor:pointer}.options-row input{width:16px;height:16px;accent-color:#e8c66a;margin:0}.options-slider{cursor:default}.options-slider input[type=range]{flex:1;width:auto;min-width:120px;margin-left:4px;cursor:pointer}.options-slider span{width:44px;text-align:right;color:#c9bfa8;font-size:13px}.options-panel .buttons{justify-content:flex-end;margin-top:12px}.overlay .panel.main-menu-panel{width:min(360px,100%)}.main-menu-buttons{display:flex;flex-direction:column;gap:10px;margin-top:6px}.main-menu-buttons button{width:100%}.main-menu-buttons .secondary{margin-top:10px}.help-text{text-align:left;font-size:14px;line-height:1.45}.help-text p{margin:0 0 8px}.item-icon{width:1.5em;height:1.5em;object-fit:contain;vertical-align:middle;pointer-events:none}.inv-cell .item-icon{width:86%;height:86%}.det-icon .item-icon{width:40px;height:40px}.inv-icon:has(.item-icon){width:36px}.inv-icon .item-icon{width:36px;height:36px}.char-slot .cs-figure.pixel.dressed{height:200px}body.px-start .char-slot .cs-figure.pixel.dressed{height:225px}@media(max-width:760px){#hud{height:286px;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:146px 1fr;gap:6px 8px;padding:6px 8px}.hud-right{grid-column:1 / -1;grid-row:1;gap:4px}.hud-top-right{height:40px}.hud-top-right .hud-menu{margin-left:0;gap:3px}.hud-top-right .menu-btn{flex-basis:40px}.hud-chat{grid-column:1;grid-row:2;min-height:0}.hud-center{grid-column:2;grid-row:2}.minimap{width:92px;height:92px}.hud-heart{width:62px;height:48px;top:-8px;font-size:12px}.hud-heart.long{font-size:9.5px}.hud-heart.xlong{font-size:8px}.turn-ring{width:108px;height:108px}.end-turn{width:40px;height:40px;font-size:20px;right:-8px;bottom:0}.hud-center .stats{bottom:-8px}.chat-form select{display:none}.turn-order{bottom:296px}.target-card{bottom:298px;min-width:0}#challenges{top:auto;bottom:296px}#character.overlay,#world-map.overlay,.overlay.dock{bottom:286px}.overlay.dock{padding:4px 4px 0}.overlay .panel.spells-detail{display:none}.overlay .panel.spells-panel{width:100%;flex:1}.tp-frame{width:90px;height:108px}.tp-frame canvas{width:90px;height:90px}.tp-info{min-width:120px}}#cartel-combate{position:fixed;left:var(--lado);right:var(--lado);top:calc((100vh - 196px)/2);z-index:55;display:flex;align-items:center;justify-content:center;gap:18px;padding:14px 16px;transform:translateY(-50%);pointer-events:none;opacity:0;background:linear-gradient(90deg,#0c0a0800,#0c0a08c7 14%,#0c0a08c7 86%,#0c0a0800);border-top:2px solid rgba(216,196,154,.55);border-bottom:2px solid rgba(216,196,154,.55);animation:cartel-combate 2.6s ease forwards}#cartel-combate b{font-family:Pixelify Sans,sans-serif;font-weight:700;font-size:clamp(22px,3.4vw,36px);letter-spacing:.04em;color:#d8c49a;text-shadow:3px 3px 0 #000;white-space:nowrap;animation:cartel-combate-txt 2.6s ease forwards}#cartel-combate .cc-esp{font-size:clamp(18px,2.6vw,28px);color:#c0392b;text-shadow:2px 2px 0 #000}@keyframes cartel-combate{0%{opacity:0;clip-path:inset(0 50% 0 50%)}12%{opacity:1;clip-path:inset(0 0 0 0)}82%{opacity:1;clip-path:inset(0 0 0 0)}to{opacity:0;clip-path:inset(0 0 0 0)}}@keyframes cartel-combate-txt{0%,8%{transform:translate(-24px);opacity:0}20%{transform:translate(0);opacity:1}to{transform:translate(0);opacity:1}}
